JPH11328334A - Prepaid card system and reader writer - Google Patents

Prepaid card system and reader writer

Info

Publication number
JPH11328334A
JPH11328334A JP10134807A JP13480798A JPH11328334A JP H11328334 A JPH11328334 A JP H11328334A JP 10134807 A JP10134807 A JP 10134807A JP 13480798 A JP13480798 A JP 13480798A JP H11328334 A JPH11328334 A JP H11328334A
Authority
JP
Japan
Prior art keywords
prepaid card
information
reading
gradation distribution
processing means
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
JP10134807A
Other languages
Japanese (ja)
Inventor
Kazuma Nagasawa
一眞 長澤
Toshio Kuroi
俊夫 黒井
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 JP10134807A priority Critical patent/JPH11328334A/en
Publication of JPH11328334A publication Critical patent/JPH11328334A/en
Pending legal-status Critical Current

Links

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To stop a prepaid card medium, which is altered or forged by copying stored information, from being used by accurately detecting it. SOLUTION: A magnetic head 143 reads out magnetically stored information on a prepaid card under the control of a data read write part 142. An optical sensor 146 reads out gradation distribution information such as light and shade gradations at a bar code part of the prepaid card and supplies it to a quantizing process part 145 under the control of a ciphering process part 144. The quantizing process part 145 quantizes the gradation distribution information to generate a cipher key. The ciphering process part 144 when reading and writing the stored information of the prepaid card through the magnetic head by the data read write part 144 ciphers and deciphers the information by using the cipher key obtained by the quantizing process part 145. When information read out through the data read write part 142 with this cipher key is not deciphered correctly, it is decided that the prepaid card is illegal.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、プリペイドカード
を金額消費に応じて処理するシステムに係り、特にプリ
ペイドカードの記憶情報の複写による不正に対処するプ
リペイドカードシステム及び読書装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for processing a prepaid card according to the consumption of money, and more particularly to a prepaid card system and a reading apparatus for dealing with fraudulent copying of stored information of a prepaid card.

【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 a prepaid card system, a service is usually provided in a plurality of stores. For example, each store is provided with a plurality of reading devices and a relay device or the like which is a higher-level processing device of the reading devices. A reading device is a terminal device for using a prepaid card. In this reading device, based on the amount information stored in the prepaid card, the prepaid card is used as a fee for lending game media and selling goods. Consumed. The relay device couples a plurality of reading devices and the like in the store to, for example, a settlement center installed at the issuer of the prepaid card, and communicates with the settlement center to manage the reading devices and process the consumption amount. I do.

【0003】すなわち、プリペイドカードは、例えば店
舗に設置された読書装置を用いることによって、遊技媒
体の貸出等の対価として消費される。このプリペイドカ
ードの消費に際して、読書装置は、消費金額を計上して
決済処理に供し、且つ該消費金額に応じて、プリペイド
カードに記憶される金額情報を更新する。このプリペイ
ドカードの金額情報の更新時に、予め定めた残額範囲に
該当する場合には、プリペイドカードの残額範囲に対応
する所定個所に残額目安パンチ孔の穿孔が行われる。プ
リペイドカードの消費による読書装置の売上情報は、例
えば中継装置によって収集され、該中継装置は、支配下
の各読書装置の売上情報を集計して決済センタに送信す
る。このようにして、プリペイドカードの消費決済が行
われる。
[0003] That is, the prepaid card is consumed as a price for lending game media, for example, by using a reading device installed in a store. When the prepaid card is consumed, the reading device counts the amount of consumption and provides the payment processing, and updates the amount information stored in the prepaid card according to the amount of consumption. When the amount information of the prepaid card is updated, if the amount falls within a predetermined remaining amount range, a remaining amount reference hole is punched at a predetermined location corresponding to the remaining amount range of the prepaid card. The sales information of the reading device due to the consumption of the prepaid card is collected, for example, by a relay device, and the relay device compiles the sales information of each reading device under control and transmits the total to the settlement center. In this way, the prepaid card consumption settlement is performed.

【0004】一方、読書装置においては、金額情報等の
読取時及び更新時に、エラーのチェックを行うと同時
に、変造、偽造及び不正使用等による正常でない不正な
プリペイドカード、すなわち不正プリペイドカード、を
検知するようにしている。このような不正プリペイドカ
ードは、一般に、プリペイドカードの記憶情報及びパン
チ孔情報、並びにそれらの履歴等に矛盾する内容が含ま
れていれば不正であると推定するなどして弁別してい
る。また、当該読書装置において検知された不正プリペ
イドカードの識別情報等の使用カード情報を記憶してお
き、この情報に基づいて過去に検出した不正プリペイド
カードを弁別し、エラー表示とともに排出するなどして
使用を阻止する。
On the other hand, in the reading apparatus, when reading and updating the amount information, etc., an error is checked, and at the same time, an illegal and unauthorized prepaid card, that is, an illegal prepaid card due to falsification, forgery, illegal use, etc., is detected. I am trying to do it. Generally, such fraudulent prepaid cards are discriminated by, for example, presuming that they are fraudulent if the storage information and punch hole information of the prepaid card and their histories and the like include inconsistent contents. In addition, card information such as identification information of an unauthorized prepaid card detected by the reading device is stored, and based on this information, an unauthorized prepaid card detected in the past is discriminated and discharged together with an error display. Prevent use.

【0005】さらに、当該読書装置に結合された中継装
置から通知される他の読書装置で検知された不正プリペ
イドカードに該当するプリペイドカードを弁別して排除
することも行われている。すなわち、同一店舗内の同一
中継装置に結合された複数の読書装置のうちある読書装
置で不正プリペイドカードが検知されると、その読書装
置から該プリペイドカードの識別情報等を含む検知デー
タが使用カード情報として中継装置に送信される。中継
装置が当該不正プリペイドカードを示す通知データを他
の読書装置に送信することにより、他の読書装置でも当
該不正プリペイドカードを弁別して使用を阻止すること
ができる。
Further, a prepaid card corresponding to an unauthorized prepaid card detected by another reading device notified from a relay device connected to the reading device is also discriminated and eliminated. That is, when an unauthorized prepaid card is detected by one of a plurality of reading devices coupled to the same relay device in the same store, detection data including identification information and the like of the prepaid card is detected from the reading device. The information is transmitted to the relay device as information. By transmitting the notification data indicating the unauthorized prepaid card to the other reading device by the relay device, the other reading device can also discriminate the unauthorized prepaid card and prevent its use.

【0006】[0006]

【発明が解決しようとする課題】上述したように、プリ
ペイドカードは、金銭的価値を持っていることから、偽
造、及び変造等による不正が行われる危険がある。不正
の一つの手口として、プリペイドカードを変造又は偽造
することにより、不正にプリペイドカードを使用しよう
とする方法がある。プリペイドカードは、発行時に初期
エンコード情報が記憶されており、その記憶情報に基づ
いて処理されるため、単にプリペイドカード媒体を変造
又は偽造しただけでは使用することはできない。そこ
で、プリペイドカードの記憶情報を、他の正規のプリペ
イドカードから複写して使用しようとすることが行われ
る。
As described above, since the prepaid card has a monetary value, there is a risk that fraudulent or falsification may be caused by falsification. As one method of fraud, there is a method of illegally using the prepaid card by falsifying or forging the prepaid card. The prepaid card stores initial encoding information at the time of issuance and is processed based on the stored information. Therefore, the prepaid card medium cannot be used simply by falsifying or forging the prepaid card medium. Therefore, it is attempted to copy the stored information of the prepaid card from another regular prepaid card and use it.

【0007】他の正規のプリペイドカードの記憶情報を
不正なプリペイドカード媒体に複写した場合、記憶情報
自体に矛盾はないはずである。このような場合、記憶情
報自体のチェックだけで、不正を識別することは容易で
はない。このような不正を防止するため、プリペイドカ
ードを個別に認識し、個々のカード毎の固有の情報を用
いて、記憶情報とプリペイドカードを個別に対応付ける
ようにすることが、カード発行元等より要望されてい
る。このように、プリペイドカード媒体毎に固有の情報
を、記憶情報と対応付けるようにすれば、単に記憶情報
のみを複写した不正なプリペイドカードを識別して、使
用を阻止することができると考えられる。
When the storage information of another regular prepaid card is copied onto an unauthorized prepaid card medium, the storage information itself should not be inconsistent. In such a case, it is not easy to identify impropriety only by checking the stored information itself. In order to prevent such fraud, it is required by card issuers and the like to individually recognize prepaid cards and individually associate stored information with prepaid cards using information unique to each card. Have been. In this way, by associating the information unique to each prepaid card medium with the storage information, it is considered that an unauthorized prepaid card in which only the storage information is copied can be identified and used.

【0008】本発明は、上述した事情に鑑みてなされた
もので、変造又は偽造したプリペイドカードに正規のプ
リペイドカードの記憶情報を複写した不正を的確に検出
弁別し、変造又は偽造によるプリペイドカードの不正使
用を未然に阻止することを可能とするプリペイドカード
システム及び読書装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and accurately detects and discriminates fraudulent copying of stored information of a legitimate prepaid card to a falsified or forged prepaid card, and detects and discriminates a falsified or forged prepaid card. An object of the present invention is to provide a prepaid card system and a reading device that can prevent unauthorized use.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、本発明の第1の観点に係るプリペイドカードシステ
ムは、所定部位にバーコードが印刷され、金銭的価値に
対応する金額情報を磁性層に記憶する記憶媒体からなる
プリペイドカードを用いて金銭的決済を行うプリペイド
カードシステムにおいて、前記プリペイドカードの前記
所定部位に印刷されたバーコード部分の地色を含む階調
分布を光学的に検出し、該階調分布のばらつきに対応す
る検出信号を量子化し、該量子化情報を暗号鍵として、
当該プリペイドカードの読出/書込情報を復号/暗号化
して、前記プリペイドカードの消費金額に応じて前記金
額情報を更新し、且つ該消費金額を含む売上情報を送信
する読書手段と、前記読書手段との間で通信を行って、
前記読書手段から前記プリペイドカードの前記売上情報
及び使用プリペイドカード情報を受信して格納処理する
上位処理手段と、を備える。
In order to achieve the above object, a prepaid card system according to a first aspect of the present invention has a bar code printed on a predetermined portion and stores money amount information corresponding to a monetary value in a magnetic layer. In a prepaid card system for performing a financial settlement using a prepaid card comprising a storage medium for storing in a prepaid card, a gradation distribution including a ground color of a barcode portion printed on the predetermined portion of the prepaid card is optically detected. Quantizing the detection signal corresponding to the variation of the gradation distribution, and using the quantized information as an encryption key,
Reading means for decrypting / encrypting the read / write information of the prepaid card, updating the price information according to the consumption amount of the prepaid card, and transmitting sales information including the consumption amount; and the reading means To communicate with
A high-level processing unit that receives the sales information and the used prepaid card information of the prepaid card from the reading unit and stores the received information.

【0010】このような構成によれば、読書手段は、プ
リペイドカードの媒体毎に固有のバーコード印刷部位の
階調分布のばらつきに対応する階調分布情報を量子化し
て暗号鍵とし、当該プリペイドカードの記憶情報の読出
/書込における復号/暗号化に用いることにより、他の
プリペイドカードの記憶情報の複写による不正使用を的
確に防止することができる。したがって、媒体の変造又
は偽造によるプリペイドカードの不正使用を未然に阻止
することができる。
[0010] According to such a configuration, the reading means quantizes the gradation distribution information corresponding to the variation of the gradation distribution of the bar code printing portion peculiar to each medium of the prepaid card to obtain an encryption key, and By using for decryption / encryption in reading / writing of storage information of the card, it is possible to appropriately prevent unauthorized use by copying storage information of another prepaid card. Therefore, it is possible to prevent unauthorized use of the prepaid card due to falsification or forgery of the medium.

【0011】また、本発明の第2の観点に係るプリペイ
ドカードシステムは、所定部位にバーコードが印刷さ
れ、金銭的価値に対応する金額情報を磁性層に記憶する
記憶媒体からなるプリペイドカードを用いて金銭的決済
を行うプリペイドカードシステムにおいて、プリペイド
カード媒体の前記所定部位に印刷されたバーコード部分
の地色を含む階調分布を光学的に検出し、該階調分布の
ばらつきに対応する検出信号を量子化し、該量子化情報
を暗号鍵として、当該プリペイドカード媒体に所定の初
期情報を暗号化記録して前記プリペイドカードとして発
行する記録手段と、前記プリペイドカードの前記所定部
位における前記バーコード部分の地色を含む階調分布を
光学的に検出し、該階調分布のばらつきに対応する検出
信号を前記記録手段と実質的に共通の量子化方式により
量子化し、該量子化情報を暗号鍵として、当該プリペイ
ドカードの読出/書込情報を復号/暗号化して、前記プ
リペイドカードの消費金額に応じて前記金額情報を更新
し、且つ該消費金額を含む売上情報を送信する読書手段
と、前記読書手段との間で通信を行って、前記読書手段
から前記プリペイドカードの前記売上情報及び使用プリ
ペイドカード情報を受信して格納処理する上位処理手段
と、を備える。
A prepaid card system according to a second aspect of the present invention uses a prepaid card formed of a storage medium in which a barcode is printed on a predetermined portion and amount information corresponding to a monetary value is stored in a magnetic layer. In a prepaid card system for performing financial settlement by means of a method, optically detects a gradation distribution including a ground color of a barcode portion printed on the predetermined portion of the prepaid card medium, and detects the gradation distribution corresponding to the variation of the gradation distribution. Recording means for quantizing a signal, encrypting and recording predetermined initial information on the prepaid card medium using the quantized information as an encryption key, and issuing the same as the prepaid card; and the barcode at the predetermined portion of the prepaid card. Optically detecting a gradation distribution including a ground color of a portion, and outputting a detection signal corresponding to a variation in the gradation distribution to the recording means. The quantized information is quantized by a substantially common quantization method, the read / write information of the prepaid card is decrypted / encrypted using the quantized information as an encryption key, and the amount information is converted according to the amount of consumption of the prepaid card. The reading means for updating and transmitting the sales information including the consumption amount, and performing communication between the reading means, receiving the sales information and the used prepaid card information of the prepaid card from the reading means And a higher-level processing means for performing storage processing.

【0012】このような構成によれば、プリペイドカー
ド発行時に所定のバーコード印刷部位の階調分布に基づ
く階調分布情報を量子化して暗号鍵として用いることに
より、読書手段は、プリペイドカードの記憶情報の読出
/書込に際して当該プリペイドカードの媒体毎に固有の
暗号鍵を用いて復号/暗号化することができ、他のプリ
ペイドカードの記憶情報の複写による不正使用を的確に
防止することができる。したがって、媒体の変造又は偽
造によるプリペイドカードの不正使用を未然に阻止する
ことができる。
According to such a configuration, when the prepaid card is issued, the gradation distribution information based on the gradation distribution of the predetermined barcode printing portion is quantized and used as the encryption key, so that the reading means can store the prepaid card. When reading / writing information, decryption / encryption can be performed by using a unique encryption key for each medium of the prepaid card, and illegal use by copying stored information of another prepaid card can be properly prevented. . Therefore, it is possible to prevent unauthorized use of the prepaid card due to falsification or forgery of the medium.

【0013】前記読書手段は、前記プリペイドカードの
記憶情報の読み書きを行う磁気ヘッドと、前記プリペイ
ドカードの金額情報を含む記憶情報を前記磁気ヘッドを
用いて読出/書込する読書処理手段と、前記プリペイド
カードの前記バーコード部分の地色を含む階調分布を光
学的に検出する光センサと、前記光センサの検出信号に
基づいて前記バーコード部分の階調分布のばらつきに対
応する階調分布情報を量子化処理して暗号鍵を得る量子
化処理手段と、前記量子化処理手段で得られる暗号鍵を
用いて、前記読書処理手段における読出/書込情報を復
号/暗号化する暗号処理手段と、前記プリペイドカード
の消費金額に応じて、前記読書処理手段により前記金額
情報を更新し、且つ該消費金額を含む売上情報を送信す
る消費処理手段と、を含んでいてもよい。
The reading means includes a magnetic head for reading and writing storage information of the prepaid card, a reading processing means for reading / writing storage information including amount information of the prepaid card using the magnetic head, An optical sensor for optically detecting a gradation distribution including a ground color of the barcode portion of the prepaid card; and a gradation distribution corresponding to a variation in the gradation distribution of the barcode portion based on a detection signal of the optical sensor. Quantization processing means for quantizing information to obtain an encryption key; and encryption processing means for decrypting / encrypting the read / write information in the reading processing means using the encryption key obtained by the quantization processing means. Consumption processing means for updating the price information by the reading processing means in accordance with the consumption amount of the prepaid card, and transmitting sales information including the consumption amount; It may contain a.

【0014】本発明の第3の観点に係る読書装置は、所
定部位にバーコードが印刷され、金銭的価値に対応する
金額情報を磁性層に記憶して金銭的決済に供する記憶媒
体からなるプリペイドカードの記憶情報の読み書きを行
う磁気ヘッドと、前記プリペイドカードの金額情報を含
む記憶情報を前記磁気ヘッドを用いて読出/書込する読
書処理手段と、前記プリペイドカードのバーコード部分
の地色を含む階調分布を光学的に検出する光センサと、
前記光センサの検出信号に基づいて前記バーコード部分
の階調分布のばらつきに対応する階調分布情報を量子化
処理して暗号鍵を得る量子化処理手段と、前記量子化処
理手段で得られる暗号鍵を用いて、前記読書処理手段に
おける読出/書込情報を復号/暗号化する暗号処理手段
と、前記プリペイドカードの消費金額に応じて、前記読
書処理手段により前記金額情報を更新し、且つ該消費金
額を含む売上情報を送信する消費処理手段と、を備え
る。
A reading device according to a third aspect of the present invention is a prepaid device comprising a storage medium on which a bar code is printed at a predetermined portion, and money amount information corresponding to a monetary value is stored in a magnetic layer and used for financial settlement. A magnetic head for reading and writing the storage information of the card, reading processing means for reading / writing the storage information including the price information of the prepaid card using the magnetic head, and a ground color of a bar code portion of the prepaid card. An optical sensor for optically detecting a gradation distribution including
A quantization processing unit that quantizes gradation distribution information corresponding to a variation in the gradation distribution of the bar code portion based on the detection signal of the optical sensor to obtain an encryption key; and a quantization processing unit. Encryption processing means for decrypting / encrypting the read / write information in the reading processing means using an encryption key; and updating the price information by the reading processing means in accordance with the consumption amount of the prepaid card; Consumption processing means for transmitting sales information including the consumption amount.

【0015】このような構成によれば、読書装置は、プ
リペイドカード発行時に該プリペイドカードの媒体毎に
固有のバーコード印刷部位の階調分布のばらつきに基づ
く階調分布情報を量子化して暗号鍵とし、当該プリペイ
ドカードの記憶情報の読出/書込における復号/暗号化
に用いることにより、他のプリペイドカードの記憶情報
の複写による不正使用を的確に防止することができる。
したがって、媒体の変造又は偽造によるプリペイドカー
ドの不正使用を未然に阻止することができる。
According to such a configuration, the reading device quantizes the gradation distribution information based on the dispersion of the gradation distribution of the bar code printing portion unique to each medium of the prepaid card when issuing the prepaid card, and encrypts the encryption key. By using it for decryption / encryption in reading / writing the storage information of the prepaid card, it is possible to appropriately prevent unauthorized use by copying the storage information of another prepaid card.
Therefore, it is possible to prevent unauthorized use of the prepaid card due to falsification or forgery of the medium.

【0016】[0016]

【発明の実施の形態】以下、本発明に係るプリペイドカ
ードシステムを、その実施の形態について、図面を参照
して説明する。本発明の実施の形態に係るプリペイドカ
ードシステムの主要部となる読書装置は、図1に示すよ
うに構成されている。図1に示す読書装置1は、通信処
理部11、消費処理部12、記憶部13及びリーダ/ラ
イタ14を備えている。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A prepaid card system according to the present invention will be described below with reference to the accompanying drawings. A reading device as a main part of a prepaid card system according to an embodiment of the present invention is configured as shown in FIG. The reading device 1 illustrated in FIG. 1 includes a communication processing unit 11, a consumption processing unit 12, a storage unit 13, and a reader / writer 14.

【0017】通信処理部11は、消費処理部12と中継
装置2との間の通信を行う。通信処理部11は、例え
ば、中継装置2からの要求コマンドに対するレスポンス
として、読書装置1におけるプリペイドカードの消費金
額情報を含む売上情報を記憶部13から読み出して中継
装置2に送信する。消費処理部12は、遊技媒体等の物
品を提供するなどして消費操作を実行する物販機(図示
していない)等に連動し、遊技媒体等の提供に対応する
プリペイドカードの消費に基づき、リーダ/ライタ14
を介してプリペイドカードの金額情報等の記憶情報を更
新するとともに、消費金額情報を含む売上情報を記憶部
13に蓄積する。記憶部13は、日常の消費処理部12
における消費金額の処理に基づく売上情報を格納蓄積す
る。
The communication processing unit 11 performs communication between the consumption processing unit 12 and the relay device 2. The communication processing unit 11 reads, for example, the sales information including the consumption amount information of the prepaid card in the reading device 1 from the storage unit 13 and transmits the sales information to the relay device 2 as a response to the request command from the relay device 2. The consumption processing unit 12 is linked to a vending machine (not shown) that performs a consumption operation by providing an article such as a game medium or the like, and based on consumption of a prepaid card corresponding to provision of the game medium or the like, Reader / writer 14
The storage information such as the amount information of the prepaid card is updated via the storage device, and the sales information including the amount of consumption information is stored in the storage unit 13. The storage unit 13 stores the daily consumption processing unit 12
Store and accumulate sales information based on the processing of the amount of consumption in.

【0018】リーダ/ライタ14は、プリペイドカード
挿入時には、まず、プリペイドカードの記憶情報を読み
取って、金額情報を消費処理部12に与える。このと
き、リーダ/ライタ14は、所定部位に印刷されている
バーコード部分の濃淡階調等の階調情報を検出して得た
検出情報を所定の量子化方式に従って量子化して暗号鍵
を得る。該暗号鍵は、当該プリペイドカードの記憶情報
の読出/書込における復号/暗号化に用いる。当該プリ
ペイドカードの発行時の初期エンコード情報の書込時に
も、当該暗号鍵を用いているため、該バーコード部分か
ら検出される階調分布情報を量子化した結果による暗号
鍵が、エンコード時の暗号鍵に対応しないときは、記憶
情報を正しく復号化して読出すことができず、不正なプ
リペイドカードが挿入されたと判定する。記憶情報を正
しく復号化して読出すことができたときは、適正なプリ
ペイドカードであるとして、次に残額目安パンチ孔を検
出して、プリペイドカードに記憶されている金額情報と
の間で矛盾がないか否かを確認する。この金額情報は消
費処理部12により処理されて残額情報が記憶部13に
書き込まれる。さらに、該残額情報を消費処理部12に
おける消費金額情報に応じて更新し、同様にプリペイド
カードの金額情報を書き換える。このとき、更新後の残
額に基づき必要に応じて残額目安パンチ孔を穿孔する。
When the prepaid card is inserted, the reader / writer 14 first reads the stored information of the prepaid card, and gives the amount information to the consumption processing unit 12. At this time, the reader / writer 14 obtains an encryption key by quantizing detection information obtained by detecting gradation information such as light and shade gradation of a bar code portion printed on a predetermined portion according to a predetermined quantization method. . The encryption key is used for decryption / encryption in reading / writing of information stored in the prepaid card. Since the encryption key is also used at the time of writing the initial encoding information at the time of issuing the prepaid card, the encryption key based on the quantization result of the gradation distribution information detected from the barcode portion is used for encoding. If it does not correspond to the encryption key, the storage information cannot be correctly decrypted and read, and it is determined that an unauthorized prepaid card has been inserted. If the stored information can be correctly decoded and read, it is determined that the card is an appropriate prepaid card, and the remaining amount of the punch hole is detected next, and inconsistency with the amount information stored in the prepaid card is detected. Check if there is any. This amount information is processed by the consumption processing unit 12, and the remaining amount information is written to the storage unit 13. Further, the balance information is updated according to the consumption amount information in the consumption processing unit 12, and the amount information of the prepaid card is similarly rewritten. At this time, a remaining amount guide punch hole is punched as needed based on the updated remaining amount.

【0019】すなわち、リーダ/ライタ14は、読書制
御部141、データ読書部142、磁気ヘッド143、
暗号処理部144、量子化処理部145及び光センサ1
46を有している。読書制御部141は、リーダ/ライ
タ14における読書動作全体を制御する。データ読書部
142は、読書制御部141の制御に基づき、磁気ヘッ
ド143を介してプリペイドカードに金額情報の更新書
込を行うとともに、残額に基づいて、所定残額時には残
額目安パンチ孔を穿孔する。磁気ヘッド143は、デー
タ読書部142の制御により、プリペイドカード上の金
額情報等の磁気記憶情報を読出す。光センサ146は、
暗号処理部144の制御により、プリペイドカードのバ
ーコード部分の濃淡階調等の階調分布情報を読み取っ
て、量子化処理部145に供給する。量子化処理部14
5は、光センサ146によりバーコード部分から検出し
た階調分布情報を量子化して暗号鍵を生成する。
That is, the reader / writer 14 includes a reading control unit 141, a data reading unit 142, a magnetic head 143,
Encryption processing unit 144, quantization processing unit 145, and optical sensor 1
46. The reading control unit 141 controls the entire reading operation in the reader / writer 14. The data reading unit 142 updates and writes the money amount information on the prepaid card via the magnetic head 143 based on the control of the reading control unit 141, and also punches a remaining amount guide punch hole at the time of the predetermined remaining amount based on the remaining amount. The magnetic head 143 reads magnetic storage information such as money amount information on the prepaid card under the control of the data reading unit 142. The optical sensor 146 is
Under the control of the encryption processing unit 144, it reads out gradation distribution information such as light and shade gradations of the barcode portion of the prepaid card, and supplies it to the quantization processing unit 145. Quantization processing unit 14
Reference numeral 5 quantizes the gradation distribution information detected from the bar code portion by the optical sensor 146 to generate an encryption key.

【0020】暗号処理部144は、データ読書部142
により、磁気ヘッド143を介して行なわれる当該プリ
ペイドカードの金額情報等の記憶情報の読出/書込に際
し、量子化処理部145により得られる暗号鍵を用いて
復号/暗号化する。すなわち、暗号処理部144は、プ
リペイドカード挿入時に、量子化処理部145により得
られる暗号鍵を用いて記憶情報を復号化する。当該暗号
鍵により、データ読書部142を介して読出される情報
が正しく復号化されない場合には、不正プリペイドカー
ドが挿入されたと推定し、異常と判定する。
The encryption processing unit 144 includes a data reading unit 142
Thus, when reading / writing the storage information such as the amount information of the prepaid card performed via the magnetic head 143, the data is decrypted / encrypted using the encryption key obtained by the quantization processing unit 145. That is, the encryption processing unit 144 decrypts the stored information using the encryption key obtained by the quantization processing unit 145 when the prepaid card is inserted. If the information read via the data reading unit 142 is not correctly decrypted by the encryption key, it is assumed that an unauthorized prepaid card has been inserted, and it is determined that there is an abnormality.

【0021】このように構成される読書装置1を含む本
発明の実施の形態に係るプリペイドカードシステムは、
図2に示すように読書装置1、中継装置2、記録装置3
及び決済センタ4を備えている。記録装置3及び決済セ
ンタ4は、カード発行会社及びカード製造工場等のよう
なカード発行元Dに設置されている。一般に、カード発
行元Dに対応する店舗Sは複数存在し、各店舗Sには、
複数個の読書装置1及びこれらの読書装置1を決済セン
タ4に接続する中継装置2が設置されている。中継装置
2は各店舗Sに1個とは限らず、例えば店舗S内の所定
の領域、例えばホール及びフロア毎に中継装置2が1個
ずつ設けられていてもよい。すなわち、中継装置2は、
店舗S毎の複数台の読書装置1、店舗S内のホール毎の
複数台の読書装置1あるいは店舗S内のフロア毎の複数
台の読書装置1と決済センタ4との間に設けられる。
The prepaid card system according to the embodiment of the present invention including the reading device 1 configured as described above,
As shown in FIG. 2, the reading device 1, the relay device 2, and the recording device 3
And a settlement center 4. The recording device 3 and the settlement center 4 are installed at a card issuer D such as a card issuing company and a card manufacturing factory. Generally, there are a plurality of stores S corresponding to the card issuer D, and each store S
A plurality of reading devices 1 and a relay device 2 for connecting the reading devices 1 to a settlement center 4 are provided. The number of the relay devices 2 is not limited to one in each store S. For example, one relay device 2 may be provided for each predetermined area in the store S, for example, for each hall and floor. That is, the relay device 2
A plurality of reading devices 1 for each store S, a plurality of reading devices 1 for each hall in the store S, or a plurality of reading devices 1 for each floor in the store S and the settlement center 4 are provided.

【0022】このプリペイドカードシステムでは、カー
ド発行元Dで製造され発行されたプリペイドカードが店
舗Sに販売され、さらに店舗Sで利用者に販売される。
利用者は、店舗Sにおいて、例えば遊技媒体の貸出等の
ようなサービス提供の対価をプリペイドカードにより支
払うことができる。このサービス提供及び支払いは、店
舗Sに設置された読書装置1を用いて行われ、プリペイ
ドカードに金額情報として記憶されている金額が消費さ
れる。店舗Sは、読書装置1で消費された金額情報を中
継装置2において集計し、カード発行元Dの決済センタ
4に送信する。カード発行元Dは、各店舗Sから決済セ
ンタ4において受信した金額情報に相当する金額を売上
金として各店舗Sに支払う。
In this prepaid card system, a prepaid card manufactured and issued by the card issuer D is sold to the store S, and further sold to the user at the store S.
At the store S, the user can pay for the provision of a service such as lending of a game medium by using a prepaid card. This service provision and payment is performed using the reading device 1 installed in the store S, and the amount stored as the amount information on the prepaid card is consumed. The store S counts the amount information consumed by the reading device 1 in the relay device 2 and transmits the information to the settlement center 4 of the card issuer D. The card issuer D pays each store S an amount corresponding to the amount information received from each store S at the settlement center 4 as sales.

【0023】このプリペイドカードシステムで使用する
プリペイドカードを、図3を参照して説明する。図3に
示すように、プリペイドカードCは、磁性層を用いた磁
気的な情報記憶部Aを持ち、該情報記憶部Aは、金額情
報領域A1及びその他の情報領域A2を有する。金額情
報領域A1には、残額等の金額情報が書込まれている。
そして、その他の情報領域A2には、プリペイドカード
Cのカード識別情報(カードID)、製造元を示す製造
元コード、製造日(エンコード日)情報、及びエラー発
生時におけるエラーコード等が記録される。金額情報領
域A1及びその他の情報領域A2の記憶情報は、当該プ
リペイドカードCのバーコード印刷部位を読み出して取
得した階調分布情報を所定の量子化方式に従って量子化
した量子化情報を暗号鍵として、暗号化されている。
A prepaid card used in the prepaid card system will be described with reference to FIG. As shown in FIG. 3, the prepaid card C has a magnetic information storage unit A using a magnetic layer, and the information storage unit A has a money amount information area A1 and another information area A2. In the money amount information area A1, money amount information such as a balance is written.
In the other information area A2, card identification information (card ID) of the prepaid card C, a manufacturer code indicating a manufacturer, manufacturing date (encoding date) information, an error code when an error occurs, and the like are recorded. The storage information of the money amount information area A1 and the other information area A2 is obtained by using the quantization information obtained by reading out the bar code printing portion of the prepaid card C and quantizing it according to a predetermined quantization method as an encryption key. , Is encrypted.

【0024】記録装置3は、カード発行元Dにおいてプ
リペイドカードCを発行するための装置である。この記
録装置3は、プリペイドカードC発行時に、プリペイド
カードCの金額情報領域A1に初期金額情報を書込み、
その他の情報領域A2にプリペイドカードCのカード識
別情報(カードID)、製造元を示す製造元コード及び
製造日(エンコード日)情報等を書込む。
The recording device 3 is a device for issuing a prepaid card C at the card issuer D. The recording device 3 writes initial amount information in the amount information area A1 of the prepaid card C when the prepaid card C is issued,
In the other information area A2, the card identification information (card ID) of the prepaid card C, the manufacturer code indicating the manufacturer, the manufacturing date (encoding date) information, and the like are written.

【0025】金額情報領域A1及びその他の情報領域A
2への記憶情報の書込みにあたっては、それに先立って
バーコード部分の濃淡階調等の階調分布を光センサによ
り検出して得られる階調分布情報、例えば、アナログ検
出信号をPCM(パルス符号変調)又はその他のA/D
(アナログ−ディジタル)変換により量子化して、暗号
鍵とする。記録装置3は、この暗号鍵を用いて、金額情
報領域A1及びその他の情報領域A2への書込情報を暗
号化する。
Amount information area A1 and other information areas A
Prior to writing the stored information into the data 2, the grayscale distribution information obtained by detecting the grayscale distribution such as the grayscale grayscale of the bar code portion by the optical sensor, for example, the analog detection signal is converted to PCM (pulse code modulation). ) Or other A / D
It is quantized by (analog-digital) conversion to obtain an encryption key. The recording device 3 uses this encryption key to encrypt the write information in the amount information area A1 and the other information area A2.

【0026】すなわち、記録装置3は、図4に示すよう
に、エンコード制御部31、記憶部32、書込処理部3
3、磁気ヘッド34、光センサ35、量子化処理部36
及び暗号処理部37を有している。エンコード制御部3
1は、この記録装置3におけるプリペイドカードのエン
コード、すなわち初期情報の書込みを制御する。記憶部
32は、エンコード制御部31によるエンコード処理に
必要な各種情報及び処理中の一時情報を記憶する。書込
処理部33は、エンコード制御部31により制御されて
磁気ヘッド34を駆動し、所定情報の書込みを行う。
That is, as shown in FIG. 4, the recording device 3 includes an encoding control unit 31, a storage unit 32, and a writing processing unit 3.
3, magnetic head 34, optical sensor 35, quantization processing unit 36
And a cryptographic processing unit 37. Encoding control unit 3
1 controls the encoding of the prepaid card in the recording device 3, that is, the writing of the initial information. The storage unit 32 stores various types of information necessary for the encoding process by the encoding control unit 31 and temporary information being processed. The writing processing unit 33 drives the magnetic head 34 under the control of the encoding control unit 31 to write predetermined information.

【0027】磁気ヘッド34は、書込処理部33により
制御されてプリペイドカードCの金額情報領域A1及び
その他の情報領域A2の磁性層に情報を磁気的に書込
む。また光センサ35は、エンコード制御部31により
制御されて、所定部位に印刷されたバーコード部分の濃
淡階調等の階調分布を検出する。なお、磁気ヘッド34
は、プリペイドカードCの磁気情報の書込み及び読出し
に際して、プリペイドカードCに対して相対的に移動さ
せるが、この場合、磁気ヘッド34を移動させても、プ
リペイドカードCを移動させても、あるいは両者を同時
に相異なる方向に移動させてもよい。また、光センサ3
5も、プリペイドカードCのバーコード部分の階調分布
の検出に際して、プリペイドカードCに対して相対的に
移動させるが、この場合、光センサ35を移動させて
も、プリペイドカードCを移動させても、あるいは両者
を同時に相異なる方向に移動させてもよい。
The magnetic head 34 is controlled by the write processor 33 to magnetically write information into the magnetic layers of the money information area A1 and the other information area A2 of the prepaid card C. The optical sensor 35 is controlled by the encoding control unit 31 to detect a gradation distribution such as a light and shade gradation of a bar code portion printed on a predetermined portion. The magnetic head 34
Is moved relative to the prepaid card C when writing and reading the magnetic information of the prepaid card C. In this case, the magnetic head 34, the prepaid card C, or both are moved. May be simultaneously moved in different directions. Also, the optical sensor 3
5 also moves relative to the prepaid card C when detecting the gradation distribution of the barcode portion of the prepaid card C. In this case, even if the optical sensor 35 is moved, the prepaid card C is moved. Or both may be simultaneously moved in different directions.

【0028】光センサ35は、所定のバーコード印刷部
位の地色を含むバーコード部分の濃淡階調等の階調分布
情報を検出し、量子化処理部36に供給する。量子化処
理部36は、階調分布情報をPCM等によりA/D変換
して量子化し、暗号鍵として、暗号処理部37に供給す
る。暗号処理部37は、書込処理部33による金額情報
領域A1及びその他の情報領域A2への情報書込に際
し、量子化処理部36により得た暗号鍵を用いて書込情
報を暗号化する。エンコード制御部31は、光センサ3
5で階調分布情報が検出された後に、書込処理部33を
介して金額情報領域A1及びその他の情報領域A2へ金
額情報及びその他の情報を書込む。この金額情報及びそ
の他の情報の書込の際に、書込処理部33は、暗号処理
部37による暗号化を施す。
The optical sensor 35 detects gradation distribution information such as light and shade gradation of a bar code portion including a ground color of a predetermined bar code printing portion, and supplies it to a quantization processing unit 36. The quantization processing unit 36 A / D converts the gradation distribution information by PCM or the like, quantizes the information, and supplies the result to the encryption processing unit 37 as an encryption key. The encryption processing unit 37 encrypts the write information using the encryption key obtained by the quantization processing unit 36 when the writing processing unit 33 writes information in the money amount information area A1 and the other information area A2. The encoding control unit 31 includes the optical sensor 3
After the gradation distribution information is detected in step 5, the amount information and other information are written to the amount information area A1 and the other information area A2 via the writing processing unit 33. When writing the money amount information and other information, the write processing unit 33 performs encryption by the encryption processing unit 37.

【0029】読書装置1は、例えば、遊技媒体の貸出等
を行う物販機(図示せず)に接続されており、物販機が
利用者に提供した遊技媒体等の対価をプリペイドカード
Cに記憶されている金額情報における残額から差し引く
ことにより、プリペイドカードCの消費を具体化するた
めの装置である。この読書装置1は、プリペイドカード
Cがセットされると、まず、光センサ146により、当
該プリペイドカードCのバーコード印刷部位の階調分布
情報を検出して、当該検出情報を量子化処理部145に
おいてPCM等により量子化して暗号鍵を生成し、以後
の復号及び暗号化に供する。このとき、記録装置3(の
量子化処理部36)における暗号鍵生成時の量子化方式
と読書装置1(の量子化処理部145)における再生信
号の量子化方式とは同一の量子化方式を用いる。
The reading device 1 is connected to, for example, a vending machine (not shown) for renting out game media, etc., and the prepaid card C stores the value of the game media and the like provided by the vending machine to the user. This is a device for embodying the consumption of the prepaid card C by subtracting it from the remaining amount in the amount information. When the prepaid card C is set, the reading device 1 first detects the gradation distribution information of the barcode printing portion of the prepaid card C by the optical sensor 146, and converts the detected information into the quantization processing unit 145. In step (1), an encryption key is generated by quantizing using PCM or the like, and is used for subsequent decryption and encryption. At this time, the same quantization method is used as the quantization method at the time of generating the encryption key in the recording device 3 (the quantization processing unit 36) and the reproduction signal in the reading device 1 (the quantization processing unit 145). Used.

【0030】読書装置1は、プリペイドカードCの金額
情報領域A1等の金額情報を量子化処理部145による
量子化により得た暗号鍵を用いて暗号処理部144によ
り復号化した結果、正常に復号化することができた場合
には、当該プリペイドカードCは正常であると判定し、
復号化の結果、正常に復号化できていないと判定した場
合には、当該プリペイドカードCは異常であり、不正プ
リペイドカードCであると判定する。このとき、多くの
場合、再生情報には、経時変化によるレベルの低下及び
磁気ヘッド34と143との相違による信号波形のずれ
等が存在する可能性があるため、再生情報を量子化する
ことにより、同一の暗号鍵として利用できるようにして
いる。
The reading apparatus 1 decrypts the money information such as the money information area A1 of the prepaid card C by the encryption processing unit 144 using the encryption key obtained by quantization by the quantization processing unit 145. If the payment is successful, it is determined that the prepaid card C is normal,
As a result of the decryption, when it is determined that the decryption has not been performed normally, the prepaid card C is abnormal and is determined to be an unauthorized prepaid card C. 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 34 and 143. , And can be used as the same encryption key.

【0031】さらに、読書装置1は、プリペイドカード
Cの情報記憶部Aの記憶情報及びパンチ孔情報等に矛盾
があるか否かをチェックし、矛盾があれば、当該プリペ
イドカードCに何らかの不正又は不具合があると判定す
る。不正又は不具合があると判定された場合、読書装置
1は、中継装置2に不正プリペイドカードのカード識別
情報等を含む検知データを送信するとともに、当該プリ
ペイドカードCの使用を阻止して排出する。さらに、読
書装置1は、中継装置2から他の読書装置1で不正プリ
ペイドカードと判定されたプリペイドカード情報の通知
データを受信し、プリペイドカードCが装填されると直
ちに該通知データに基づいて当該プリペイドカードを弁
別し、使用を阻止して排出する。
Further, the reading device 1 checks whether there is any inconsistency in the information stored in the information storage section A of the prepaid card C, the punch hole information, and the like. It is determined that there is a defect. When it is determined that the card is fraudulent or defective, the reading device 1 transmits the detection data including the card identification information and the like of the fraudulent prepaid card to the relay device 2, and blocks the use of the prepaid card C and discharges the card. Further, the reading device 1 receives the notification data of the prepaid card information determined to be an unauthorized prepaid card by the other reading device 1 from the relay device 2, and immediately after the prepaid card C is loaded, based on the notification data, Prepaid cards are discriminated, used and ejected.

【0032】中継装置2は、店舗S内の各読書装置1に
おいて消費金額として処理された金額情報を集約して、
決済センタ4に送信する。
The relay device 2 aggregates the amount information processed as the consumption amount in each reading device 1 in the store S,
Send to settlement center 4.

【0033】次に、上述したプリペイドカードシステム
における処理について、図5〜図8に示すフローチャー
トを参照して説明する。まず、記録装置3におけるエン
コード処理について、図5を参照して説明する。図5に
示すエンコード処理は、記録装置3にプリペイドカード
媒体がセットされるとその都度起動される。プリペイド
カード媒体がセットされると、まず、エンコード制御部
31は、該プリペイドカード媒体の所定の部位に印刷さ
れたバーコードの濃淡階調分布を、光センサ35により
検出する(ステップS1)。バーコードが印刷される所
定の部位とは、例えば、図9に示すように、プリペイド
カードCの裏面の残額目安パンチ孔用の度数値列の近傍
の部位であり、当該部位に、図示するようなバーコード
BCが印刷される。
Next, the processing in the above-described prepaid card system will be described with reference to the flowcharts shown in FIGS. First, the encoding process in the recording device 3 will be described with reference to FIG. The encoding process shown in FIG. 5 is started each time a prepaid card medium is set in the recording device 3. When the prepaid card medium is set, first, the encoding control unit 31 detects the grayscale distribution of the barcode printed on a predetermined portion of the prepaid card medium by the optical sensor 35 (step S1). The predetermined portion on which the barcode is printed is, for example, as shown in FIG. 9, a portion in the vicinity of the frequency value row for the remaining guide punch hole on the back surface of the prepaid card C, and the portion is as shown in the drawing. The bar code BC is printed.

【0034】光センサ35で検出されたバーコードBC
の濃淡階調分布は、量子化処理部36において、PCM
又はその他のA/D変換等によって量子化され、暗号鍵
として暗号処理部37に与えられる(ステップS2)。
エンコード制御部31は、所要のエンコード情報を、書
込処理部33を介して、暗号処理部37により量子化処
理部36で得た暗号鍵を用いて暗号化して、プリペイド
カードCの情報記憶部Aの各領域A1及びA2に書込み
(ステップS3)、エンコード処理を終了する。
The bar code BC detected by the optical sensor 35
The gradation gradation distribution of
Alternatively, it is quantized by other A / D conversion or the like, and given to the encryption processing unit 37 as an encryption key (step S2).
The encoding control unit 31 encrypts required encoding information via the writing processing unit 33 by using the encryption key obtained by the quantization processing unit 36 by the encryption processing unit 37, and stores the encoded information in the information storage unit of the prepaid card C. Writing is performed on each of the areas A1 and A2 of A (step S3), and the encoding process ends.

【0035】次に、上述したプリペイドカードシステム
における消費処理について、図6〜図8に示すフローチ
ャートを参照して説明する。図6に示す消費処理は、読
書装置1のリーダ/ライタ14にプリペイドカードCが
セットされるとその都度起動される。
Next, the consumption processing in the above-described prepaid card system will be described with reference to the flowcharts shown in FIGS. The consumption process shown in FIG. 6 is started each time the prepaid card C is set in the reader / writer 14 of the reading device 1.

【0036】処理が開始されると、リーダ/ライタ14
の暗号処理部144は、セットされたプリペイドカード
Cが正常か否かをチェックする(ステップS11)。す
なわち、まず、リーダ/ライタ14の暗号処理部144
が、光センサ146により、プリペイドカードCの所定
のバーコード印刷部位(バーコードは、ロット番号等と
同様にプリペイドカードCの裏面に印刷される)から階
調分布を検出し、階調分布情報を得て、量子化処理部1
45で量子化して暗号鍵を得る。そして、暗号処理部1
44は、データ読書部142を介して磁気ヘッド143
によりプリペイドカードCの記憶情報、例えば金額情報
領域A1の金額情報、を読出し、暗号鍵を用いて復号化
する。暗号処理部144は、読出した記憶情報が正常に
復号化できたか否かを確認し、正常に復号化できなけれ
ば、セットされたプリペイドカードCは異常であり、不
正な手段により作成されたものであると判定する。
When the processing is started, the reader / writer 14
The encryption processing unit 144 checks whether the set prepaid card C is normal (step S11). That is, first, the encryption processing unit 144 of the reader / writer 14
However, the optical sensor 146 detects a gradation distribution from a predetermined barcode printing portion of the prepaid card C (the barcode is printed on the back surface of the prepaid card C in the same manner as the lot number etc.), and the gradation distribution information And the quantization processing unit 1
Quantization is performed at 45 to obtain an encryption key. And the encryption processing unit 1
Reference numeral 44 denotes a magnetic head 143 via the data reading unit 142.
Thus, the stored information of the prepaid card C, for example, the amount information of the amount information area A1, is read out and decrypted using the encryption key. The encryption processing unit 144 checks whether or not the read storage information has been successfully decrypted. If the storage information cannot be decrypted normally, the prepaid card C that has been set is abnormal and has been created by unauthorized means. Is determined.

【0037】読出した記憶情報が正常に復号化できた場
合には、次に、リーダ/ライタ14の暗号処理部144
により、残額目安パンチ孔の位置及び記憶情報における
矛盾の有無を検出する。このとき、残額目安パンチ孔の
位置及び記憶情報に矛盾が検出された場合には、当該プ
リペイドカードCは異常であるとする。暗号処理部14
4により異常が検出されたか否かが判定され(ステップ
S12)、異常が検出された場合には、プリペイドカー
ドCが不正であるとして、不正又はエラー表示等を行っ
た後、システムの動作を停止するなどの異常/不正処理
を実行する(ステップS13)。
If the read storage information has been successfully decrypted, then the encryption processing unit 144 of the reader / writer 14 is read.
Thus, the presence or absence of inconsistency in the position of the remaining standard punch hole and the stored information is detected. At this time, if inconsistency is detected in the position of the remaining amount guide punch hole and the stored information, it is determined that the prepaid card C is abnormal. Encryption processing unit 14
It is determined whether or not an abnormality is detected in step 4 (step S12). If an abnormality is detected, the prepaid card C is determined to be invalid, and after displaying an invalid or error display, the system operation is stopped. Then, an abnormal / illegal process is performed (step S13).

【0038】ステップS12で、異常が検出されていな
いと判定された場合には、消費処理部12により、リー
ダ/ライタ14(の読書制御部141及びデータ読書部
142)を介してプリペイドカードCの残額を先の暗号
鍵を用いて復号化して確認し、記憶部13に格納する
(ステップS14)。残額があれば、利用者からの終了
スイッチ(図示せず)の押下による終了要求の有無を調
べ(ステップS15)、終了要求がなければ、消費スイ
ッチ(図示せず)による消費要求、例えば遊技媒体の貸
出要求、の有無を調べる(ステップS16)。例えば、
遊技システム等の場合、終了スイッチは、カードの返却
を要求するカード返却スイッチであり、消費スイッチ
は、遊技媒体の貸出を要求する貸出スイッチである。
If it is determined in step S12 that no abnormality has been detected, the consumption processing unit 12 reads the prepaid card C via the reader / writer 14 (the reading control unit 141 and the data reading unit 142). The remaining amount is decrypted and confirmed using the previous encryption key, and stored in the storage unit 13 (step S14). If there is a balance, it is checked whether or not there is an end request from the user by pressing an end switch (not shown) (step S15). If there is no end request, a consumption request by a consumption switch (not shown), for example, a game medium It is checked whether there is a lending request (step S16). For example,
In the case of a game system or the like, the end switch is a card return switch for requesting a card return, and the consumption switch is a lending switch for requesting lending of a game medium.

【0039】ステップS16で、利用者からの消費要求
があれば、利用者に遊技媒体を貸出すなどして、消費を
行わせる(ステップS17)。消費処理部12は、もと
の残額から消費額を減算し、新たな残額として、記憶部
13に記憶されている残額を更新する(ステップS1
8)。そして、更新後の新たな残額が“0”であるか否
かを調べ(ステップS19)、残額が“0”であれば、
その旨のメッセージを表示して(ステップS20)、消
費処理を終了するための終了処理に移行する(ステップ
S21)。終了処理の終了後は消費処理を終了して、待
機状態に戻る。
In step S16, if there is a consumption request from the user, the user consumes the game medium by renting out the game medium (step S17). The consumption processing unit 12 subtracts the consumption amount from the original balance and updates the balance stored in the storage unit 13 as a new balance (step S1).
8). Then, it is determined whether or not the updated balance is “0” (step S19). If the balance is “0”,
A message to that effect is displayed (step S20), and the process proceeds to an end process for ending the consumption process (step S21). After the end processing, the consumption processing ends, and the process returns to the standby state.

【0040】ステップS14において、プリペイドカー
ドCの残額がない場合及び残額が確認できない場合に
は、直ちにステップS21にジャンプして終了処理を実
行する。ステップS15において、終了要求が認識され
た場合にも直ちにステップS21にジャンプして終了処
理を実行する。
In step S14, if there is no remaining amount of the prepaid card C or if the remaining amount cannot be confirmed, the process immediately jumps to step S21 to execute an end process. If the end request is recognized in step S15, the process immediately jumps to step S21 to execute the end process.

【0041】ステップS16において、消費要求がない
場合には、ステップS15に戻り、終了要求又は消費要
求を待つ。ステップS19において、差し引き残額が
“0”にならず、残額が残っている場合にも、ステップ
S15に戻り、終了要求又は消費要求を待つ。
If there is no consumption request in step S16, the flow returns to step S15 to wait for an end request or a consumption request. In step S19, even when the remaining balance does not become “0” and the remaining balance remains, the process returns to step S15 and waits for an end request or a consumption request.

【0042】ステップS11のカードチェック処理の詳
細を図7に示している。カードチェック処理が開始され
ると、まず、読書制御部141は、暗号処理部144に
より光センサ146を介して、プリペイドカードCの所
定のバーコード印刷部位から階調分布を検出する(ステ
ップS31)。量子化処理部145は、この再生信号
に、PCM等による量子化を施して、暗号鍵とする(ス
テップS32)。一方、暗号処理部144は、データ読
書部142により磁気ヘッド143を介してプリペイド
カードCの記憶情報例えば金額情報領域A1から金額情
報を読出し(ステップS33)、先に生成した暗号鍵を
用いて復号化する(ステップS34)。この場合の金額
情報等は、共通の階調分布を検出してPCM等により量
子化された暗号鍵を使用して暗号化されており、システ
ムにおける信号レベル変動等により、当該基準情報の再
生信号が完全に一致していなくても量子化することによ
り実質的に同一の暗号鍵を得ることができる。
FIG. 7 shows the details of the card check process in step S11. When the card check process is started, first, the reading control unit 141 detects a gradation distribution from a predetermined barcode printing portion of the prepaid card C by the encryption processing unit 144 via the optical sensor 146 (step S31). . The quantization processing unit 145 performs quantization on the reproduced signal by PCM or the like, and uses it as an encryption key (step S32). On the other hand, the encryption processing unit 144 reads out the storage information of the prepaid card C, for example, the amount information from the amount information area A1 via the magnetic head 143 by the data reading unit 142 (step S33), and decrypts using the encryption key generated earlier. (Step S34). In this case, the money amount information and the like are encrypted using an encryption key quantized by PCM or the like by detecting a common gradation distribution, and the reproduction signal of the reference information is changed due to a signal level fluctuation in the system. Even if they do not completely match, substantially the same encryption key can be obtained by quantizing.

【0043】復号の結果、金額情報が正常に復号化され
たか否かが判定され(ステップS35)、正常に復号化
されたと判定されれば、暗号処理部144は、次に、金
額情報及びその他の情報相互間、及びこれらと残額目安
パンチ孔の穿孔状況等との間に矛盾があるか否かを検出
する(ステップS36)。矛盾がなければ(ステップS
37)、暗号処理部144は、当該プリペイドカードC
が正常であるとし(ステップS38)、処理を終了し
て、図6の消費処理に戻る。
As a result of the decryption, it is determined whether or not the amount information has been normally decrypted (step S35). If it is determined that the amount information has been decrypted normally, the encryption processing unit 144 next proceeds to the amount information and other information. It is detected whether or not there is any inconsistency between the information and the remaining information and the state of punching the remaining standard punch holes (step S36). If there is no contradiction (step S
37), the encryption processing unit 144 determines that the prepaid card C
Is normal (step S38), the process ends, and the process returns to the consumption process in FIG.

【0044】ステップS35において、正常に復号化さ
れていないと判定された場合には、異常と判定し(ステ
ップS39)、処理を終了して、図6の消費処理に戻
る。また、ステップS37において、矛盾が存在すると
判定した場合にも、ステップS39に移行し、処理を終
了して、図6の消費処理に戻る。
If it is determined in step S35 that the data has not been decoded normally, it is determined that the data is abnormal (step S39), the processing is terminated, and the flow returns to the consumption processing in FIG. If it is determined in step S37 that there is a contradiction, the process proceeds to step S39, ends the process, and returns to the consumption process in FIG.

【0045】図6に示したステップS21の終了処理の
詳細を図8に示している。終了処理が開始されると、そ
の時点で記憶部13に記憶されている最終残額に基づい
て、プリペイドカードCの金額情報領域A1の残額を先
に述べた暗号鍵を用いて暗号化して更新記録し(ステッ
プS41)、該更新後の残額が残額目安パンチ孔の穿孔
が必要な金額か否かを調べる(ステップS42)。残額
目安パンチ孔の穿孔が必要な金額とは、プリペイドカー
ドCに度数値として印刷された残額領域のうちの従前の
領域とは異なる領域に新たに入る金額である。このよう
な金額であるときは、リーダ/ライタ14のデータ読書
部142により、残額目安パンチ孔が穿孔される(ステ
ップS43)。残額目安パンチ孔の穿孔後は、リーダ/
ライタ14からプリペイドカードCを排出する(ステッ
プS44)。そして、処理を終了し、消費処理に戻る。
FIG. 8 shows details of the end processing in step S21 shown in FIG. When the termination process is started, the remaining amount in the amount information area A1 of the prepaid card C is encrypted using the above-mentioned encryption key and updated and recorded based on the final remaining amount stored in the storage unit 13 at that time. Then, it is checked whether or not the remaining amount after the update is the amount required for punching the remaining amount punch hole (step S42). The amount of money required for punching the remaining amount of reference punch holes is an amount of money newly entering an area of the remaining amount area printed on the prepaid card C as a frequency value, which is different from the previous area. If the amount is such an amount, the data reading unit 142 of the reader / writer 14 punches a remaining amount guide punch hole (step S43). After punching the remaining holes,
The prepaid card C is discharged from the writer 14 (step S44). Then, the process ends, and the process returns to the consumption process.

【0046】また、ステップS42で、更新後の残額が
残額目安パンチ孔の穿孔が必要な金額でないと判定され
た場合には、ステップS43をスキップしてステップS
44に移行し、プリペイドカードCを排出する。
If it is determined in step S42 that the remaining amount after the update is not the amount required for punching the remaining amount guide punch hole, step S43 is skipped and step S43 is skipped.
The process proceeds to 44, and the prepaid card C is discharged.

【0047】図9に示すように、プリペイドカードCの
背面にはバーコードBCが印刷されており、通常の場
合、読書装置1におけるバーコードBCの認識は、地色
とバーコード部分との相対出力差に基づいて行う。すな
わち、プリペイドカードCの背面は、地色が灰色となっ
ているが、製造の際には同一のプリペイドカードC内で
あっても地色である灰色の濃度のばらつきが生じる。
As shown in FIG. 9, a bar code BC is printed on the back of the prepaid card C. In a normal case, the reading device 1 recognizes the bar code BC by comparing the background color with the bar code portion. This is performed based on the output difference. In other words, the ground color of the back surface of the prepaid card C is gray, but the density of the gray color, which is the ground color, varies during manufacturing even within the same prepaid card C.

【0048】バーコードBCは、プリペイドカード媒体
のこのような濃度のばらつきがある地色の面に印刷され
る。バーコードBCの印刷の濃度にもばらつきが生じる
が、仮にバーコードBCの印刷濃度が一定で、ばらつき
がなかったとしても、地色の位置によるばらつきに起因
して、バーコードBCの検出される濃度が変動する。例
えば、プリペイドカードCの地色が濃い部分ではバーコ
ードBCは相対的に淡く検出され、カードの地色が薄い
箇所ではバーコードBCは相対的に濃く検出される。こ
のように、バーコード部分は、同一のプリペイドカード
Cにおいても、濃淡等の階調にばらつきが生じる。
The bar code BC is printed on a ground color surface of the prepaid card medium having such a density variation. Variations also occur in the printing density of the barcode BC, but even if the printing density of the barcode BC is constant and there is no variation, the barcode BC is detected due to the variation due to the position of the ground color. The concentration fluctuates. For example, the barcode BC is detected relatively light in a portion of the prepaid card C where the background color is dark, and the barcode BC is detected relatively dark in a portion where the background color of the card is light. As described above, in the barcode portion, even in the same prepaid card C, the gradation such as shading varies.

【0049】このバーコード部分の濃淡等の階調のばら
つきというのは、プリペイドカードCの製造時に発生
し、制御できない乱数的なばらつきとなる。既に述べた
ように、従来より一般にバーコードは、地色部分との濃
淡階調の差異による相対値に基づいて認識していた。つ
まり、図10に示すように、濃度が高く濃い色のバー、
濃度が低く淡い色のバー(バーの濃度が低い場合ばかり
でなく、バーの濃度は同じで地色が高い濃度つまり濃い
色である場合もある)及び両者の中間の濃度の通常の色
のバーがある場合、これらの地色との相対値に基づく検
出信号は、図11に示すように、それぞれ異なる振幅の
波形となる。従来から行なわれているバーコードの認識
においては、このような波形からバーコードを抽出する
のに、図11のように一定の基準レベルRLよりも振幅
の大きい部分を抽出して図12のような波形を得てバー
の存在を認識している。
The variation in gradation such as shading of the bar code portion occurs at the time of manufacturing the prepaid card C and is a random number variation that cannot be controlled. As described above, conventionally, a barcode has been generally recognized based on a relative value based on a difference in density gradation from a ground color portion. That is, as shown in FIG.
Bars with low density and light color (not only with low density of bars but also with the same density of bars and sometimes high density or dark color of the ground color) and bars of normal color intermediate between the two In the case where there is, the detection signals based on these relative values with the ground color have waveforms having different amplitudes as shown in FIG. In the conventional barcode recognition, a barcode is extracted from such a waveform by extracting a portion having a larger amplitude than a predetermined reference level RL as shown in FIG. Recognize the presence of the bar by obtaining a simple waveform.

【0050】これに対して、本発明では、地色を含めバ
ーコード部分の濃淡等の階調の分布を詳細に識別するこ
とにより、個々のプリペイドカードCに固有の情報を得
る。すなわち、プリペイドカードCの製造時に、図13
に示すようにバーコード部分の濃淡等を例えば8階調で
分析し且つ変位(位置、すなわち基準点からの距離)を
例えば16区域に分割して検出する。このようにして得
られる地色及びバーコード部分の図14に示すような階
調分布情報GDを量子化して、暗号鍵とする。当該プリ
ペイドカードCに対する金額情報等の記憶情報を、図1
5に示すように、該暗号鍵を用いて暗号化して情報記憶
部Aに書込む。
On the other hand, in the present invention, information unique to each prepaid card C is obtained by identifying the distribution of gradations such as shading of the bar code portion including the ground color in detail. That is, at the time of manufacturing the prepaid card C, FIG.
As shown in (1), the shading of the bar code portion is analyzed in, for example, 8 gradations, and the displacement (position, that is, the distance from the reference point) is detected by dividing it into, for example, 16 sections. The gradation distribution information GD as shown in FIG. 14 of the ground color and the barcode portion obtained in this way is quantized to obtain an encryption key. The stored information such as the amount information for the prepaid card C is shown in FIG.
As shown in FIG. 5, the data is encrypted using the encryption key and written into the information storage unit A.

【0051】このようにして、読書装置1で磁気記憶情
報の読み取り時において、光センサ146で検出して量
子化処理部145で量子化した(地色及びバーコード部
の階調分布情報に基づく)暗号鍵を用いて、当該プリペ
イドカードCの記憶情報を復号化することができるか否
かをチェックし、復号化することができた場合には、正
常なプリペイドカードCとして使用させる。バーコード
印刷部位における階調分布情報に基づき量子化処理部1
45で量子化して得た暗号鍵を用いて磁気記憶情報を復
号解読することができなかった場合には、磁気記憶情報
のみを他のプリペイドカードCから複写した可能性があ
るため、使用させないようにする。
As described above, when the magnetic recording information is read by the reading apparatus 1, it is detected by the optical sensor 146 and quantized by the quantization processing section 145 (based on the ground color and the gradation distribution information of the bar code section). ) It is checked whether or not the storage information of the prepaid card C can be decrypted by using the encryption key. If the storage information can be decrypted, the card is used as a normal prepaid card C. Quantization processing unit 1 based on gradation distribution information in a barcode printing area
If the magnetic storage information could not be decrypted and decrypted using the encryption key obtained by quantizing in step 45, there is a possibility that only the magnetic storage information was copied from another prepaid card C. To

【0052】しがたって、プリペイドカードCの媒体毎
に固有のバーコード部分の階調分布情報を量子化した情
報を暗号鍵として用いて、プリペイドカードC発行時に
コード情報を暗号化して記憶させ、読書装置1は、プリ
ペイドカードCから実測して得た階調分布情報を量子化
して暗号鍵を再生し、当該プリペイドカード媒体に記憶
された記憶情報の読出し/書込みに、該暗号鍵を用いて
復号/暗号化することにより、他のプリペイドカードC
の記憶情報の複写による不正を的確に検出し、使用を阻
止する。したがって、正規のプリペイドカードCの記憶
情報を複写することにより変造又は偽造したプリペイド
カード媒体を使用しようとする不正を、事前に的確に阻
止し、変造又は偽造によるプリペイドカードの不正使用
を未然に防止することが可能となる。
Accordingly, the code information is encrypted and stored at the time of issuing the prepaid card C using information obtained by quantizing the gradation distribution information of the bar code portion unique to each medium of the prepaid card C as an encryption key, The reading device 1 reproduces an encryption key by quantizing the gradation distribution information actually measured from the prepaid card C, and reads / writes the storage information stored in the prepaid card medium using the encryption key. By decrypting / encrypting, another prepaid card C
Unauthorized detection by duplicating the stored information of a person is accurately detected and the use is prevented. Therefore, fraudulent attempts to use a falsified or forged prepaid card medium by copying stored information of a regular prepaid card C are accurately prevented in advance, and improper use of the prepaid card due to falsification or forgery is prevented beforehand. It is possible to do.

【0053】本発明のプリペイドカードシステムは、専
用のプリペイドカードシステムとして構成することな
く、通常のコンピュータシステムを用いて実現すること
ができる。例えば、コンピュータシステムに上述の動作
を実行するためのプログラムを格納した媒体(フロッピ
ーディスク、CD−ROM等)から該プログラムをイン
ストールすることにより、上述の処理を実行するシステ
ムを構築することができる。インストールによって、当
該プログラムは、コンピュータシステム内のハードディ
スク等の媒体に格納されて、システムを構成し、実行に
供される。また、コンピュータにプログラムを供給する
ための媒体は、狭義の記憶媒体に限らず、通信回線、通
信ネットワーク及び通信システムのように、一時的且つ
流動的にプログラム等の情報を保持する通信媒体等を含
む広義の記憶媒体であってもよい。
The prepaid card system of the present invention can be realized by using an ordinary computer system without configuring a dedicated prepaid card system. For example, by installing a computer system from a medium (floppy disk, CD-ROM, or the like) storing a program for executing the above-described operation, a system for executing the above-described processing can be constructed. By the installation, the program is stored in a medium such as a hard disk in the computer system, configures the system, and is provided for execution. The medium for supplying the program to the computer is not limited to a storage medium in a narrow sense, but may be a communication medium that temporarily and fluidly holds information such as a program, such as a communication line, a communication network, and a communication system. It may be a storage medium in a broad sense.

【0054】例えば、インターネット等の通信ネットワ
ーク上に設けたFTP(File Transfer Protocol)サー
バに当該プログラムを登録し、FTPクライアントにネ
ットワークを介して配信してもよく、通信ネットワーク
の電子掲示板(BBS:Bulletin Board System)等に
該プログラムを登録し、これをネットワークを介して配
信してもよい。そして、このプログラムを起動し、OS
(Operating System)の制御下において実行することに
より、上述の処理を達成することができる。さらに、通
信ネットワークを介してプログラムを転送しながら起動
実行することによっても、上述の処理を達成することが
できる。
For example, the program may be registered in an FTP (File Transfer Protocol) server provided on a communication network such as the Internet, and distributed to an FTP client via the network. An electronic bulletin board (BBS: Bulletin) of the communication network may be used. The program may be registered in a board system or the like and distributed via a network. Then start this program and run the OS
The above processing can be achieved by executing under the control of the (Operating System). Furthermore, the above-described processing can also be achieved by starting and executing the program while transferring the program via the communication network.

【0055】[0055]

【発明の効果】以上説明したように、本発明によれば、
プリペイドカード発行時に所定のバーコード印刷部位の
階調分布に基づく階調分布情報を量子化して暗号鍵とし
て用いることにより、当該プリペイドカードの記憶情報
の読出/書込に際して、プリペイドカードの媒体毎に固
有の暗号鍵を用いて復号/暗号化することができ、他の
プリペイドカードの記憶情報の複写による不正使用を的
確に検出弁別して防止することができ、変造又は偽造に
よるプリペイドカードの不正使用を未然に阻止すること
を可能とするプリペイドカードシステム及び読書装置を
提供することができる。
As described above, according to the present invention,
When the prepaid card is issued, the gradation distribution information based on the gradation distribution of a predetermined bar code printing portion is quantized and used as an encryption key, so that when reading / writing the storage information of the prepaid card, each medium of the prepaid card is read and written. It can be decrypted / encrypted using a unique encryption key, and can accurately detect and discriminate against unauthorized use by copying stored information of other prepaid cards, and prevent unauthorized use of prepaid cards by alteration or forgery. It is possible to provide a prepaid card system and a reading device that can prevent the user from blocking beforehand.

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

【図1】本発明の第1の実施の形態に係るプリペイドカ
ードシステムの主要部である読書装置の構成を模式的に
示すブロック図である。
FIG. 1 is a block diagram schematically showing a configuration of a reading device as a main part of a prepaid card system according to a first embodiment of the present invention.

【図2】図1の構成が組み込まれたプリペイドカードシ
ステムの構成を模式的に示すブロック図である。
FIG. 2 is a block diagram schematically showing a configuration of a prepaid card system into which the configuration of FIG. 1 is incorporated.

【図3】図1のプリペイドカードシステムで使用される
プリペイドカードを模式的に示す図である。
FIG. 3 is a diagram schematically showing a prepaid card used in the prepaid card system of FIG. 1;

【図4】図1のプリペイドカードシステムにおける記録
装置の構成を模式的に示すブロック図である。
FIG. 4 is a block diagram schematically showing a configuration of a recording device in the prepaid card system of FIG. 1;

【図5】図1のプリペイドカードシステムにおけるエン
コード処理を説明するためのフローチャートである。
FIG. 5 is a flowchart for explaining an encoding process in the prepaid card system of FIG. 1;

【図6】図1のプリペイドカードシステムにおける消費
処理を説明するためのフローチャートである。
FIG. 6 is a flowchart for explaining consumption processing in the prepaid card system of FIG. 1;

【図7】図1のプリペイドカードシステムにおけるカー
ドチェック処理を説明するためのフローチャートであ
る。
FIG. 7 is a flowchart illustrating a card check process in the prepaid card system of FIG. 1;

【図8】図1のプリペイドカードシステムにおける終了
処理を説明するためのフローチャートである。
FIG. 8 is a flowchart for explaining an end process in the prepaid card system of FIG. 1;

【図9】図1のプリペイドカードシステムにおけるバー
コードの配置の一例を模式的に説明する図である。
FIG. 9 is a diagram schematically illustrating an example of a barcode arrangement in the prepaid card system of FIG. 1;

【図10】図1のプリペイドカードシステムにおける地
色を含むバーコード部分のばらつきを説明するためのバ
ーコードの模式図である。
FIG. 10 is a schematic diagram of a bar code for explaining variation of a bar code portion including a ground color in the prepaid card system of FIG. 1;

【図11】プリペイドカードシステムにおけるバーコー
ド部分の検出に従来より使用されている地色との相対振
幅波形を説明するための模式図である。
FIG. 11 is a schematic diagram for explaining a relative amplitude waveform with a ground color conventionally used for detecting a barcode portion in a prepaid card system.

【図12】図11によるバーコード部分の抽出波形を説
明するための模式図である。
FIG. 12 is a schematic diagram for explaining an extracted waveform of a barcode portion according to FIG. 11;

【図13】図1のプリペイドカードシステムにおける地
色を含むバーコード部分の階調波形の階調及び変位の分
析を説明するための模式図である。
13 is a schematic diagram for explaining analysis of gradation and displacement of a gradation waveform of a bar code portion including a ground color in the prepaid card system of FIG. 1;

【図14】図1のプリペイドカードシステムにおける地
色を含むバーコード部分の階調波形の階調及び変位の分
析波形を説明するための模式図である。
FIG. 14 is a schematic diagram for explaining an analysis waveform of gradation and displacement of a gradation waveform of a bar code portion including a ground color in the prepaid card system of FIG. 1;

【図15】図1のプリペイドカードシステムに用いられ
るプリペイドカードのバーコード及び暗号化情報記憶部
を模式的に示す図である。
FIG. 15 is a diagram schematically showing a barcode and encrypted information storage unit of the prepaid card used in the prepaid card system of FIG. 1;

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

1 読書装置 2 中継装置 3 記録装置 4 決済センタ 11 通信処理部 12 消費処理部 13 記憶部 14 リーダ/ライタ 31 エンコード制御部 32 記憶部 33 書込処理部 34 磁気ヘッド 35 光センサ 36 量子化処理部 37 暗号処理部 141 読書制御部 142 データ読書部 143 磁気ヘッド 144 暗号処理部 145 量子化処理部 146 光センサ C プリペイドカード D カード発行元 S 店舗 REFERENCE SIGNS LIST 1 reading device 2 relay device 3 recording device 4 settlement center 11 communication processing unit 12 consumption processing unit 13 storage unit 14 reader / writer 31 encoding control unit 32 storage unit 33 write processing unit 34 magnetic head 35 optical sensor 36 quantization processing unit 37 encryption processing unit 141 reading control unit 142 data reading unit 143 magnetic head 144 encryption processing unit 145 quantization processing unit 146 optical sensor C prepaid card D card issuer S store

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI G09C 1/00 640 G07F 7/08 C ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code FI G09C 1/00 640 G07F 7/08 C

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】所定部位にバーコードが印刷され、金銭的
価値に対応する金額情報を磁性層に記憶する記憶媒体か
らなるプリペイドカードを用いて金銭的決済を行うプリ
ペイドカードシステムにおいて、 前記プリペイドカードの前記所定部位に印刷されたバー
コード部分の地色を含む階調分布を光学的に検出し、該
階調分布のばらつきに対応する検出信号を量子化し、該
量子化情報を暗号鍵として、当該プリペイドカードの読
出/書込情報を復号/暗号化して、前記プリペイドカー
ドの消費金額に応じて前記金額情報を更新し、且つ該消
費金額を含む売上情報を送信する読書手段と、 前記読書手段との間で通信を行って、前記読書手段から
前記プリペイドカードの前記売上情報及び使用プリペイ
ドカード情報を受信して格納処理する上位処理手段と、
を備えることを特徴とするプリペイドカードシステム。
1. A prepaid card system in which a barcode is printed on a predetermined portion and a monetary settlement is made by using a prepaid card made of a storage medium for storing amount information corresponding to a monetary value in a magnetic layer. Optically detects a gradation distribution including a ground color of a barcode portion printed on the predetermined portion of the above, quantizes a detection signal corresponding to the variation of the gradation distribution, and uses the quantized information as an encryption key, Reading means for decrypting / encrypting the read / write information of the prepaid card, updating the price information according to the consumption amount of the prepaid card, and transmitting sales information including the consumption amount; Upper-level processing for performing communication with the storage device and receiving the sales information and the used prepaid card information of the prepaid card from the reading means and storing the received information. And the stage,
A prepaid card system comprising:
【請求項2】所定部位にバーコードが印刷され、金銭的
価値に対応する金額情報を磁性層に記憶する記憶媒体か
らなるプリペイドカードを用いて金銭的決済を行うプリ
ペイドカードシステムにおいて、 プリペイドカード媒体の前記所定部位に印刷されたバー
コード部分の地色を含む階調分布を光学的に検出し、該
階調分布のばらつきに対応する検出信号を量子化し、該
量子化情報を暗号鍵として、当該プリペイドカード媒体
に所定の初期情報を暗号化記録して前記プリペイドカー
ドとして発行する記録手段と、 前記プリペイドカードの前記所定部位における前記バー
コード部分の地色を含む階調分布を光学的に検出し、該
階調分布のばらつきに対応する検出信号を前記記録手段
と実質的に共通の量子化方式により量子化し、該量子化
情報を暗号鍵として、当該プリペイドカードの読出/書
込情報を復号/暗号化して、前記プリペイドカードの消
費金額に応じて前記金額情報を更新し、且つ該消費金額
を含む売上情報を送信する読書手段と、 前記読書手段との間で通信を行って、前記読書手段から
前記プリペイドカードの前記売上情報及び使用プリペイ
ドカード情報を受信して格納処理する上位処理手段と、
を備えることを特徴とするプリペイドカードシステム。
2. A prepaid card system in which a barcode is printed on a predetermined portion and a monetary settlement is made using a prepaid card comprising a storage medium for storing amount information corresponding to a monetary value in a magnetic layer. Optically detects a gradation distribution including a ground color of a barcode portion printed on the predetermined portion of the above, quantizes a detection signal corresponding to the variation of the gradation distribution, and uses the quantized information as an encryption key, Recording means for encrypting and recording predetermined initial information on the prepaid card medium and issuing the same as the prepaid card; and optically detecting a gradation distribution including a ground color of the barcode portion in the predetermined portion of the prepaid card. Then, the detection signal corresponding to the variation of the gradation distribution is quantized by a substantially common quantization method with the recording unit, and the quantized information is Reading / reading means for decrypting / encrypting the read / write information of the prepaid card as a number key, updating the price information according to the consumption amount of the prepaid card, and transmitting sales information including the consumption amount; An upper-level processing unit that performs communication with the reading unit, receives the sales information and the used prepaid card information of the prepaid card from the reading unit, and stores the received information.
A prepaid card system comprising:
【請求項3】前記読書手段は、 前記プリペイドカードの記憶情報の読み書きを行う磁気
ヘッドと、 前記プリペイドカードの金額情報を含む記憶情報を前記
磁気ヘッドを用いて読出/書込する読書処理手段と、 前記プリペイドカードの前記バーコード部分の地色を含
む階調分布を光学的に検出する光センサと、 前記光センサの検出信号に基づいて前記バーコード部分
の階調分布のばらつきに対応する階調分布情報を量子化
処理して暗号鍵を得る量子化処理手段と、 前記量子化処理手段で得られる暗号鍵を用いて、前記読
書処理手段における読出/書込情報を復号/暗号化する
暗号処理手段と、 前記プリペイドカードの消費金額に応じて、前記読書処
理手段により前記金額情報を更新し、且つ該消費金額を
含む売上情報を送信する消費処理手段と、を含むことを
特徴とする請求項1又は2に記載のプリペイドカードシ
ステム。
3. The reading means comprises: a magnetic head for reading and writing storage information of the prepaid card; and a reading processing means for reading / writing storage information including amount information of the prepaid card using the magnetic head. An optical sensor that optically detects a gradation distribution including a ground color of the barcode portion of the prepaid card; and a floor corresponding to a variation in the gradation distribution of the barcode portion based on a detection signal of the optical sensor. Quantization processing means for quantizing the key distribution information to obtain an encryption key; and encryption for decrypting / encrypting the read / write information in the reading processing means using the encryption key obtained by the quantization processing means. Processing means; and a consumption processing means for updating the price information by the reading processing means in accordance with the consumption amount of the prepaid card and transmitting sales information including the consumption amount. Prepaid card system according to claim 1 or 2, characterized in that it comprises a and.
【請求項4】所定部位にバーコードが印刷され、金銭的
価値に対応する金額情報を磁性層に記憶して金銭的決済
に供する記憶媒体からなるプリペイドカードの記憶情報
の読み書きを行う磁気ヘッドと、 前記プリペイドカードの金額情報を含む記憶情報を前記
磁気ヘッドを用いて読出/書込する読書処理手段と、 前記プリペイドカードのバーコード部分の地色を含む階
調分布を光学的に検出する光センサと、 前記光センサの検出信号に基づいて前記バーコード部分
の階調分布のばらつきに対応する階調分布情報を量子化
処理して暗号鍵を得る量子化処理手段と、 前記量子化処理手段で得られる暗号鍵を用いて、前記読
書処理手段における読出/書込情報を復号/暗号化する
暗号処理手段と、 前記プリペイドカードの消費金額に応じて、前記読書処
理手段により前記金額情報を更新し、且つ該消費金額を
含む売上情報を送信する消費処理手段と、を備えること
を特徴とする読書装置。
4. A magnetic head for printing a bar code on a predetermined portion, reading and writing stored information of a prepaid card comprising a storage medium for storing money amount information corresponding to a monetary value in a magnetic layer for monetary settlement. Reading processing means for reading / writing the storage information including the price information of the prepaid card using the magnetic head; and light for optically detecting a gradation distribution including a ground color of a bar code portion of the prepaid card. A sensor, quantization processing means for quantizing a gradation distribution information corresponding to a variation in the gradation distribution of the bar code portion based on a detection signal of the optical sensor to obtain an encryption key, and the quantization processing means An encryption processing means for decrypting / encrypting the read / write information in the reading processing means using an encryption key obtained in The writing processing unit updates the amount information, and reading apparatus comprising: a, a consumption processing means for transmitting a sales information including digestion costs money.
JP10134807A 1998-05-18 1998-05-18 Prepaid card system and reader writer Pending JPH11328334A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10134807A JPH11328334A (en) 1998-05-18 1998-05-18 Prepaid card system and reader writer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10134807A JPH11328334A (en) 1998-05-18 1998-05-18 Prepaid card system and reader writer

Publications (1)

Publication Number Publication Date
JPH11328334A true JPH11328334A (en) 1999-11-30

Family

ID=15136986

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10134807A Pending JPH11328334A (en) 1998-05-18 1998-05-18 Prepaid card system and reader writer

Country Status (1)

Country Link
JP (1) JPH11328334A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260614A (en) * 2004-03-12 2005-09-22 Dainippon Printing Co Ltd Encryption device
JP2007318699A (en) * 2006-05-23 2007-12-06 Chaosware Inc Encryption transmission system, transmitter, receiver, transmission method, receiving method, and program
JP2008507788A (en) * 2004-07-27 2008-03-13 株式会社カラージップメディア HYBRID TAG INTERFACE SYSTEM AND METHOD USING HYBRID TAG INTERFACE
DE102009031132A1 (en) 2008-07-04 2010-03-11 Sumitomo Chemical Company, Limited Process for producing a propylene block copolymer
CN106203223A (en) * 2016-08-29 2016-12-07 河北南昊高新技术开发有限公司 A kind of integrated form card reader

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005260614A (en) * 2004-03-12 2005-09-22 Dainippon Printing Co Ltd Encryption device
JP2008507788A (en) * 2004-07-27 2008-03-13 株式会社カラージップメディア HYBRID TAG INTERFACE SYSTEM AND METHOD USING HYBRID TAG INTERFACE
JP2007318699A (en) * 2006-05-23 2007-12-06 Chaosware Inc Encryption transmission system, transmitter, receiver, transmission method, receiving method, and program
DE102009031132A1 (en) 2008-07-04 2010-03-11 Sumitomo Chemical Company, Limited Process for producing a propylene block copolymer
CN106203223A (en) * 2016-08-29 2016-12-07 河北南昊高新技术开发有限公司 A kind of integrated form card reader

Similar Documents

Publication Publication Date Title
US7970708B2 (en) Value information management system, recording medium, printer device, account adjusting device, electronic data printing method, and computer program
JPH11328334A (en) Prepaid card system and reader writer
JP3483792B2 (en) Prepaid card system, reading device and variable information updating method
JP3472179B2 (en) Prepaid card system, reading device and usage permission method
JP2002102525A (en) Authorization system for card-operated pachinko machine and card-operated pachinko machine
JPH11328505A (en) Prepaid card system and reader/writer
JPH11328333A (en) Prepaid card system and reader writer
JP3486746B2 (en) Prepaid card system, reading device and card identification method
JP3410381B2 (en) Prepaid card system, reading device and variable information updating method
JP3467205B2 (en) Prepaid card system, reading device and variable information updating method
JPH10247229A (en) Magnetic card system
JP2000268308A (en) Prepaid card system, reading and writing apparatus, and method for identifying card
JP2000030125A (en) Prepaid card system, reader, writer and illegal card use preventing method
JP3572214B2 (en) Prepaid card system, initial recording device and settlement device
JPH11328503A (en) Prepaid card system, recorder, reader/writer, ticket issuing machine and illegal card use prevention method
JP3376309B2 (en) Prepaid card system, reading device, recording device, and variable information updating method
JP2000030130A (en) Prepaid card system, reader and illegal card use preventing method
JP2000030124A (en) Prepaid card system, reader and password transaction method
JP2000030131A (en) Prepaid card system, reader and illegal card use preventing method
JP2000259917A (en) Prepaid card system, reading and writing device and variable information updating method
JP2000259909A (en) Prepaid card system, recording device, reading device and card discriminating method
JP2000259919A (en) Prepaid card system, recording device, reading and writing device and card discriminating method
JP2000030126A (en) Prepaid card system, reader, writer and illegal card use preventing method
JP3301988B2 (en) Prepaid card system, reading device and variable information updating method
JPH10326333A (en) Prepaid card, and forgery discriminating device therefor