JP3643444B2 - Card management system - Google Patents
Card management system Download PDFInfo
- Publication number
- JP3643444B2 JP3643444B2 JP20292596A JP20292596A JP3643444B2 JP 3643444 B2 JP3643444 B2 JP 3643444B2 JP 20292596 A JP20292596 A JP 20292596A JP 20292596 A JP20292596 A JP 20292596A JP 3643444 B2 JP3643444 B2 JP 3643444B2
- Authority
- JP
- Japan
- Prior art keywords
- information
- card
- ticket issuing
- code
- code information
- 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.)
- Expired - Fee Related
Links
Images
Description
【0001】
【産業上の利用分野】
この発明は、プリペイドカードなど所定の情報が書き込まれたカードを発行したり、発行されたカードを受け付けてその発券情報に応じた処理を実行するためのカード管理システムに関連する。
【0002】
【従来の技術】
近年、プリペイドカードの普及に伴い、パチンコホールなどの遊戯場でも、プリペイドカードによりパチンコ玉やメダルなどの遊戯媒体を貸し出すようになっている。これらの遊戯場には、金額価値が記録されたプリペイドカードを発行する発券装置やこのプリペイドカードを受け付けて遊戯機に対する遊戯媒体の貸出しを行うカード処理装置が設けられており、顧客が自由に利用できるようになっている。
【0003】
しかしながらこの種のカード処理システムの普及に伴い、カードに記録された情報を解読して偽造カードを作製し、このカードを不正に使用する行為が急増している。この不正行為を防止するには、カード発行時に、発券情報を所定の手順で暗号化することが必要である。
【0004】
【発明が解決しようとする課題】
近年、偽造カードを用いた悪質な不正行為が頻発しているため、発券情報を容易に解読されないように、暗号化処理もますます複雑化されている。このためカード発行や情報読取りにかかる装置制御部の負担が増大し、カード処理に多大な時間がかかるという問題が発生している。
【0005】
この発明は上記問題点に着目してなされたもので、発券手段とカード処理手段との双方で暗号化処理に関わる共通のコード情報を記憶保持するとともに、発券情報の書込み処理時および発券情報の更新時に第2の変換コードをランダム生成し、これら2種類のコード情報を用いて暗号化および復号化の処理を行うことにより、暗号化処理の簡易化およびセキュリティの向上を実現することを目的とする。
【0006】
【課題を解決するための手段】
請求項1の発明は、情報記録部を有するカードに所定の発券情報を書き込んで発行する発券手段と、前記発券手段により発行されたカードを受け付けてその発券情報に応じた処理を実行するカード処理手段とを備えたシステムであって、前記発券手段およびカード処理手段は、暗号化処理に関わる共通のコード情報を記憶保持するとともに、暗号化処理に関わる第2のコード情報をランダム生成するコード情報生成手段と、相互に通信を行うための送受信手段とを備えている。
【0007】
前記発券手段は、発行するカード毎に個別の発券情報を作成する発券情報作成手段と、前記発券情報作成手段が作成した発券情報を登録する登録手段と、前記発券情報作成手段が発券情報を作成する都度、前記コード情報生成手段に第2のコード情報をランダム生成させ、この第2のコード情報と前記共通のコード情報とを用いて前記発券情報を暗号化する暗号化手段と、前記暗号化された発券情報およびその暗号化に使用された第2のコード情報をカードの情報記録部に書き込む情報記録手段と、前記カード処理手段から所定のカードの発券情報を受信したとき、その送信情報を前記登録手段の登録情報と照合し、その照合結果を前記カード処理手段に返送する照合処理手段と、前記カード処理手段から所定のカードの発券情報の更新情報を受信したとき、その送信情報により前記登録手段内の対応する発券情報を書き換える登録情報更新手段とを備えている。また前記カード処理手段は、受け付けたカードの情報記録部から暗号化された発券情報および第2のコード情報を読み取る情報読取り手段と、前記記憶された共通のコード情報とカードから読み取られた第2のコード情報とを用いて、前記暗号化された発券情報を元の発券情報に復号する情報復号手段と、前記情報復号手段により復号した発券情報を発券手段に送信し、その送信に応じて発券手段から返送された照合結果により前記発券情報の適否を判別する判別手段と、前記判別手段が前記発券情報が適正であると判別したことを条件として、前記発券情報を更新する更新手段と、前記発券情報の更新に応じて前記コード情報生成手段に新たな第2のコード情報をランダム生成させ、この第2のコード情報と前記共通のコード情報とを用いて前記更新された発券情報を暗号化する暗号化手段と、前記更新した発券情報を前記発券手段に送信する更新情報送信手段と、前記暗号化手段により暗号化された発券情報およびその暗号化に使用された第2のコード情報により前記受け付けたカードの情報記録部を書き換えるカード情報書換え手段とを備えている。
【0008】
請求項2の発明では、前記発券手段およびカード処理手段は、前記共通のコード情報をランダム生成する手段を具備する制御手段に接続されており、前記共通のコード情報は、前記制御手段から発券手段およびカード処理手段にそれぞれ送信される。
請求項3の発明では、前記暗号化手段は、前記共通のコード情報および第2のコード情報を用いた加減演算により変換コードを生成した後、この変換コードと前記発券情報とを加算処理した結果を暗号化された情報として出力する。
【0010】
【作用】
請求項1の発明によれば、発券手段は、記憶保持していた共通のコード情報と、ランダム生成した第2のコード情報とを用いて発券情報を暗号化し、カードの情報記録部に、暗号化された発券情報と第2のコード情報とを記録する。また、発券手段は、発行したカードの発券情報を登録手段に登録し、カード処理手段からの情報送信に応じて、カード処理手段が受け付けているカードの発券情報を照合したり、登録情報をカード処理手段で更新された内容に書き換える処理を実行する。一方、カードを受け付けたカード処理手段は、発券情報と同様の第1のコード情報と、カードから読み取った第2のコード情報とを用いて発券情報を復号した後、復号した発券情報を発券手段に送信する。ここで返送された照合結果から前記発券情報が適正であると判別すると、カード処理手段は発券情報の更新処理を行う。さらに、カード処理手段は、新たな第2のコード情報をランダム生成し、その第2のコード情報と共通のコード情報とを用いて更新された発券情報を暗号化し、暗号化された発券情報およびその暗号化に使用された第2のコード情報により前記カードの情報記録部を書き換える処理を実行する。
すなわち、請求項1の発明によれば、発券手段がカードの情報記録部に発券情報を書き込むとき、およびカード処理手段が受け付けたカードの発券情報を書き換えるときに、それぞれ第2のコード情報がランダム生成され、この第2のコード情報と共通のコード情報により暗号化された発券情報がその暗号化に使用された第2のコード情報とともにカードの情報記録部に書き込まれることになる。また、カード処理手段では、受け付けたカードの発券情報を同じカードに記憶された第2のコード情報および共通のコード情報を用いて復号した後、発券手段との通信により、復号した発券情報の適否を判別することになる。
【0011】
請求項2の発明では、制御手段により前記共通のコード情報をランダム生成して発券手段およびカード処理手段に送信するようにしたので、第3者によるコード情報の把握が困難となる。また必要に応じて簡単にコード情報を変更できるので、セキュリティがさらに向上される。
【0012】
請求項3の発明では、各コード情報を用いた加減演算により変換コードを生成し、さらにこの変換コードと発券情報とを加算処理した結果が、暗号化された情報として用いられるので、暗号化および復号処理を簡易化することができる。
【0013】
【発明の実施の形態】
この発明の好適な実施例として、以下に遊戯場におけるプリペイドカードの処理システムを挙げる。
このカード処理システムは、発券装置1とメダル貸出装置2とを通信回線L1を介して制御装置3に接続されて成るもので、制御装置3は、乱数列から成る第1の変換コードを生成して各発券装置1およびメダル貸出装置2に送信する。送信されたコード情報は、各装置のRAM内に記憶される。
【0014】
発券装置1は、カード発行時に、自装置内で第2のコード情報をランダム生成し、この生成された第2のコード情報と前記第1のコード情報とを用いて発券情報の暗号化処理を実行する。
この発券装置1から発行されたカードの情報記録部には、暗号化された発券情報と共に前記第2のコード情報が記録されており、このカードを投入されたメダル貸出装置2は、カードから読み取った第2のコード情報とRAM内に記憶された第1のコード情報とを用いて、発券情報の復号処理を実行する。
【0015】
【実施例】
図1は、この発明の一実施例にかかる遊戯場におけるカード処理システムの構成を示す。
このカード処理システムは、特定の遊戯場において、スロットマシンなどの遊戯機にメダルを貸し出すためのプリペイドカード(以下単に「カード」という)を処理するためのもので、発券装置1とメダル貸出装置2とを、それぞれ複数台配備し、これら装置をそれぞれ双方向型の通信回線L1により制御装置3に電気接続している。さらに制御装置3は、公衆回線などの通信回線L2を介してカード会社のセンター装置4に接続される。
【0016】
前記発券装置1は、カードの発行専用機であって、紙幣受付口6への紙幣の投入により内部の収容カードに所定の情報を書き込んでカード発行口7へと搬出する。
【0017】
前記各メダル貸出装置2は、それぞれスロットマシン5に隣接して設けられており、各スロットマシン5とメダル貸出装置2との間は、コード線8により電気接続されている。各メダル貸出装置2は、機体前面に、カード投入口9,表示部10,操作スイッチ40などを備えており、カード投入口9から投入されたカードが適正なものと判断されたとき、隣接するスロットマシン5へのメダルの貸出処理が行われる。
【0018】
このカード処理システムでは、各発行カードは、この遊戯場において発行当日限り有効になるように設定されており、各カードに書き込まれた金額価値,発行日,発券番号などの情報(以下「発券情報」という)は、発行元の発券装置1のメモリ内に記憶されるほか、通信回線L1を介して適宜制御装置3へと送信される。
【0019】
一方、メダル貸出装置2は、受け付けたカードに記録された発券情報を読み取ると、この発券情報をカード発行元の発券装置1へと送信する。この送信を受けた発券装置1は、受信した情報をメモリ内に記憶された発券情報と照合し、その照合結果を情報送信元のメダル貸出装置2へと返送する。
【0020】
返送された照合結果により、投入されたカードが適正なものであると判定されたとき、メダル貸出装置2の制御部は、このカードから差し引く金額価値(以下これを「差引き金額データ」という)を所定の度数に変換する。
【0021】
各スロットマシン5は、周面に複数の図柄がそれぞれ表示された3個のリール(図示せず)を備えており、その前面には、始動レバー12,リール毎の停止釦スイッチ13,メダル貸出スイッチ14,度数表示器15,メダル枚数表示器16などが設けられるとともに、機内には、CPUを制御主体として構成各部を電気制御する制御回路部17が組み込まれている。
【0022】
前記度数表示器15はメダル貸出装置2の制御部に電気接続されており、メダル貸出装置2で前記差引き金額データの度数変換処理が行われたとき、この度数データを表示する。このとき遊戯者によりメダル貸出スイッチ14が押操作されると、制御回路部17は、メダル貸出装置2側の制御部に制御信号を出力する。
【0023】
この制御信号が入力されると、メダル貸出装置2の制御部では、前記差引き金額データを用いてカードに記憶された発券情報の書換え処理を行うとともに、スロットマシン5の回路制御部17に前記度数データを伝送する。制御回路部17は、この制御信号を受けて機体をこの度数分のメダルが投入された状態に設定し、ゲームの開始に待機する。
【0024】
制御装置3は、各発券装置1で発行されたカードの発券情報を適宜受信して記憶するほか、各装置におけるカード利用数やカード売上金額などのデータを受信して処理し、その処理結果をモニタ11などに出力する。またこの処理結果は、適宜、通信回線L2を介してカード会社のセンター装置4に送信され、精算処理などの管理に利用される。
【0025】
このカード処理システムでは、システムのセキュリティを向上させるために、発券装置1による発券情報の書込み処理、またはメダル貸出装置2による発券情報の書換え処理に先立ち、この発券情報を暗号化するようにしている。
【0026】
この暗号化処理は、2種類のコード情報を組み合わせて生成される変換コードを用いて行われる。これらコード情報のうちの一方(以下「第1コード情報」という)は、制御装置3により生成された後、各メダル貸出装置2や発券装置1に送信される。
なおこの第1コード情報は、10進8桁の乱数列の構成をとり、開店時にシステムを起動させたとき、各桁毎にランダム設定されるもので、営業終了時まで各装置のメモリ内に記憶される。
【0027】
他方のコード情報(以下「第2コード情報」という)は、発券装置1や各メダル貸出装置2において、発券情報の書込み処理,書換え処理の都度、ランダム生成されるもので、0から255までのいずれかの数値が設定される。
【0028】
前記カードの情報記録部には、暗号化された発券情報とともに、暗号化に用いられた2つのコード情報のうちの第2コード情報が記録される。このカードがいずれかメダル貸出装置2に投入されると、この装置の制御部は、メモリ内に記憶された第1コード情報と、カードから読み出された第2コード情報とを用いて暗号化に用いられた変換コードを再生し、発券情報の復号処理を実行する。
【0029】
図2は前記発券装置1の電気的構成を示す。
図中18は制御部であって、制御・演算の主体であるCPU20,プログラムなどが格納されるROM21,前記第1コード情報などの各種データが記憶されるRAM22,第2コード情報を設定するための乱数発生器23などから構成される。またこの制御部18には、バス19を介して、機体前面の表示部24,操作スイッチ25,返却スイッチ26(ともに図1に示す)のほか、装置内部の紙幣判別器27,カード検知器28,紙幣取込機構29,カード搬送機構30,磁気ヘッド31,送受信部32などが接続されている。
なお前記乱数発生器23は、所定の時間毎に、0〜255までのいずれかの数値を出力するもので、CPU20は、所定のタイミングで発生した乱数値を取り込み、前記第2コード情報として設定する。
【0030】
操作スイッチ25はカードの発行動作を、返却スイッチ26は投入された紙幣の返却を、それぞれ指示するためのものである。紙幣判別器27は、前記紙幣投入口6の内側に配備され、投入された紙幣の真偽を判別する。
表示部24は、投入された紙幣の金額など、各種情報を表示するためのもの、紙幣取込機構29は、投入された紙幣を内部の紙幣回収部まで搬送するためのものである。
【0031】
カード搬送機構30は、内部のストッカに収容されたカードを順次取り出してカード発行口7まで搬送し、磁気ヘッド31は、搬送中のカードに対する情報の書込処理を実行する。カード検知器28は、カード発行口7へのカードの搬出を検知するためのものである。
送受信部32は、メダル貸出装置2や制御装置3との間で必要な情報の交信を行うために用いられる。
【0032】
図3は、前記メダル貸出装置2の電気的構成を示す。
このメダル貸出装置2の制御部33も、前記発券装置1と同様、CPU35,ROM36,RAM37,乱数発生器38などから構成されており、さらにバス34を介して、カード検知器39,操作スイッチ40,カード搬送機構41,磁気ヘッド42,送受信部43などが接続されている。
【0033】
カード検知器39は、前記カード投入口9の内側に配備され、カードの投入を検知する。操作スイッチ40は、図1に示すように、機体前面の適所に設けられ、投入されたカードの内部への取込みを指示する際に用いられる。またカード搬送機構41は、カードの搬出入を行うためのものである。
磁気ヘッド42は、搬送途中のカードに対し、情報の読み書きを行い、表示部10は、後述するエラーメッセージなど所定の情報を表示する。
また送受信部43は、発券装置1や制御装置3との間で情報のやりとりを行うために用いられる。
【0034】
図4は、制御装置3の電気的構成を示すもので、CPU45,ROM46,RAM47,乱数発生器48から成る制御部44に、バス49を介して入力部50,表示回路51,送受信部52,53などが接続される。
【0035】
ROM46は、他装置やカード会社との通信や情報処理に関するプログラムなどを記憶し、RAM47内には、発券装置1で発行されたカードの発券情報など、各種データが記憶される。乱数発生器48は、所定の時間毎に0〜9のいずれかの整数値を出力するように設定されている。
【0036】
入力部50は、キーボードなどから成り、適宜、処理に必要なデータを入力するために用いられる。表示回路51は、前記モニタ11にデータ処理結果などを表示させるためのものである。
【0037】
第1の送受信部52は、通信回線L1に接続され、前記発券装置1やメダル貸出装置2との間で情報のやりとりを行うために用いられる。第2の送受信部53は、通信回線L2に接続され、カード会社のセンター装置4との間での交信に用いられる。
【0038】
システム起動時に、制御装置3のCPU45は、乱数発生器48より8個の乱数をサンプリングし、これを順次並べて前記した第1コード情報を作成する。
作成された第1コード情報は、前記送受信部52を介して各発券装置1やメダル貸出装置2へと送信され、各装置のRAM22,37内に格納される。
【0039】
図5は、発券装置1によるカードの発行処理手順を示す。
まず装置起動後の最初のステップ1(図中では各ステップを「ST」と示す)で、CPU20は、制御装置3から第1コード情報Sを受信し、これをRAM22内に記憶する。
【0040】
つぎに紙幣投入口6より所定の金額価値を有する紙幣が投入されると、ステップ2が「YES」となってステップ3へと移行し、CPU20は、投入された金額価値,発行日,発券番号などの情報を示す16バイトの発券情報DTを作成する。
【0041】
つぎにCPU20は、ステップ4で前記乱数発生器23の発生する乱数値を取り込んで、これを第2コード情報Rとして設定した後、続くステップ5でこの第2コード情報RとRAM22内に記憶された第1コード情報Sとから変換コードを作成し、さらにこの変換コードを用いて発券情報の暗号化処理を実行する。
【0042】
この暗号化処理が終了するとCPU20は、前記磁気ヘッド31を駆動して、暗号化された発券情報VT(以下「暗号化情報VT」という)および前記第2コード情報Rを、カードの情報記録部に記録する(ステップ6)。この後、CPU20は、前記発券情報DTをRAM22内に登録するとともに、前記カードをカード発行口7より発行する(ステップ7,8)。
【0043】
一方、いずれかメダル貸出装置2から発券情報の送信を受けると、ステップ9が「YES」となり、CPU20は、この送信情報をRAM22内に登録された発券情報と照合して、その照合結果を情報送信元のメダル貸出装置2へと返送する(ステップ10,11)。
【0044】
またステップ12は、メダル貸出装置2から発券情報の更新にかかる情報を受信したか否かをチェックするステップであって、この判定が「YES」となったとき、CPU20は、受信した更新情報により前記RAM22の該当する発券情報の書換えを行う(ステップ13)。
【0045】
図6は、前記図5のステップ5における暗号化処理の詳細な手順を示す。
なお以下の説明において、ADは前記した変換コードを、CYはキャリーフラグを、それぞれ示す。また変換コードAD,暗号化コードVTは、いずれも発券情報DTと同様の16バイトの構成を取るもので、AD(i),VT(i),DT(i)は、上記各情報中のiバイト目のデータ値(1≦i≦16)を意味する。同様にS(i)は、前記第1コード情報Sにおけるi番目の乱数値を意味する。
【0046】
ステップ5−1〜ステップ5−5の処理は、変換コードADの生成に関わる処理であって、CPU20は、まずステップ5−1で、カウンタiを「1」に初期設定する。つぎのステップ5−2で、CPU20は、第1コード情報のi番目の数値S(i),カウンタi,第2コード情報Rの加算値(S(i)+i+R)を256で割る演算を実行し、得られた剰余を前記変換コードADのi番目のデータ値AD(i)として決定する。
【0047】
続くステップ5−3でCPU20は、第1コード情報Sの(9−i)番目の数値S(9−i)とカウンタiとの加算値から前記乱数値Rを差し引いた値(S(9−i)+i−R)を256で割る演算を実行し、得られた剰余を、変換コードADの(i+8)バイト目のデータ値AD(i+8)として決定する。
【0048】
これらデータ値AD(i),AD(i+8)は、順次RAM22内に格納されるもので、以下、ステップ5−4でiの値をインクリメントしつつ上記ステップ5−2,5−3の各演算処理をiの値が8になるまで繰り返し実行することにより、変換コードADの各バイトのデータ値AD(1)〜AD(16)が求められる。
【0049】
カウンタiが8を上回ると、ステップ5−5が「YES」となって上記ループが終了し、CPU20は、つぎのステップ5−6でキャリーフラグCYを「0」に初期設定した後、ステップ5−7で前記カウンタiを再び「1」にリセットする。
【0050】
以下ステップ5−8〜ステップ5−13のループは発券情報DTを暗号化情報VTに変換するための処理であって、CPU20は、ループの最初のステップST5−8で、発券情報DTおよび前記変換コードADのiバイト目のデータ値DT(i),AD(i),およびキャリーフラグCYを加算する演算処理を実行する。
【0051】
前記データ値DT(i),AD(i)は、ともに0〜9のいずれかの数値となるので、上記の加算演算結果Xは、0〜19のいずれかの値をとることになる。
つぎのステップ5−9は、上記の演算により得られた数値Xが2桁の数値になったか否かをチェックするためのもので、この判定が「YES」のときはキャリーフラグCYに「1」がセットされるとともに、前記演算結果Xが10減算される。またステップ5−9の判定が「NO」のときはステップ5ー11に移行して、キャリーフラグCYに「0」がセットされる。この後、つぎのステップ5−12で、前記Xの値が暗号化情報VTのiバイト目のデータ値VT(i)として決定される。
【0052】
つぎのステップ5−13でカウンタiがインクリメントされ、以下、上記のループをカウンタiが16になるまで繰り返し実行することにより、暗号化情報VTの各バイトのデータ値が決定される。
【0053】
図7は、前記メダル貸出装置2によるカード処理手順を示す。
CPU35は、まずステップ1で、前記発券装置1と同様、制御装置3から送信された第1コード情報Sを取り込んでRAM37に記憶した後、カード投入口9からのカードの投入に待機する。
【0054】
カードが投入されるとステップ2が「YES」となり、CPU35は、前記カード搬送機構41および磁気ヘッド42を駆動し、カードの情報記録部に記録された暗号化情報VTおよび第2コード情報Rの読取りを実行する(ステップ3)。
【0055】
つぎのステップ4で、CPU35は、読み取られた第2コード情報RとRAM37内に記憶された第1コード情報Sとを用いて、暗号化情報VTを元の発券情報DTに復号し、さらにつぎのステップ5で、この復号された発券情報DTをカード発行元の発券装置1へと送信する。この送信に対し、カード発行元の発券装置1から、受け付けたカードの発券情報が適正であることを示す照合結果が返送されると、ステップ6が「YES」となり、つぎのステップ7で前記差引き金額データを用いた発券情報の更新処理が行われる。
【0056】
つぎにCPU35は、ステップ8で、この時点で前記乱数発生器38が発生した乱数値を第2コード情報R´として取り込んだ後、続くステップ9で、この第2コード情報R´とRAM37内に記憶された第1コード情報Sとを用いて、更新された発券情報DT´の暗号化処理を実行し、さらにステップ10で、この発券情報DT´をカード発行元の発券装置1に送信する。
なおこのステップ9の暗号化処理の詳細な手順は、前記図6に示したものと同様である。
【0057】
さらにCPU35は、つぎのステップ11で、カードの記録情報を、前記ステップ9で生成された暗号化情報VT´と前記第2コード情報R´に書き換える。この後、前記した手順で、隣接するスロットマシン5へのメダルの貸出処理が実行されると、カードは、カード投入口9に返却される(ステップ13,14)。
【0058】
一方、ステップ5での発券情報の送信に対し、カード発行元の発券装置1より、読み取られた発券情報が不適正であることを示す照合結果が返送されてきたときは、ステップ6が「NO」となってステップ14へと移行し、CPU35は、前記表示部10を用いて所定のエラーメッセージの表示を行った後、ステップ13のカードの返却処理を実行する。
なおステップ14の表示処理に代えて、音声信号や警報ブザーなどを出力したり、エラーが生じたことを示す信号を制御装置3に送信するようにしても良い。
【0059】
図8は、前記図7のステップ4における復号処理の詳細な手順を示す。
まず最初のループST4−1〜ST4−5で、CPU35は、RAM37内に記憶されていた第1コード情報Sとカードから読み取られた第2コード情報Rとを用いて、前記図6のステップ5−1〜ステップ5−5と同様の処理を実行する。この処理により、発券情報の暗号化処理時に用いられた変換コードADが再生されることになる。
【0060】
つぎにCPU35は、ステップ4−6,4−7でキャリーフラグCYを「0」に、カウンタiを「1」にそれぞれ設定した後、続くステップ4−8で、カードから読み取られた暗号化情報VTのiバイト目のデータVT(i),変換コードADのiバイト目のデータAD(i),およびキャリーフラグCYを用いた減算演算を実行する。
【0061】
上記の演算結果Yが負値を取る場合はステップ4−9が「YES」となり、CPU35は、ステップ4−10で、前記キャリーフラグCYを「1」にセットするとともに前記演算結果Yを10加算する。一方、演算結果Yが0以上である場合にはステップ4−11へと移行し、キャリーフラグCYが「0」にセットされる。
【0062】
この後、CPU35は、ステップ4−12へと移行して、前記演算結果Yの値を発券情報DTのi番目のデータDT(i)として決定する。
上記の処理を、カウンタiが16を上回るまで繰り返し実行することにより、発券情報DTの各バイトのデータが決定されるもので、これによりステップ4−14が「YES」となって復号処理が終了する。
【0063】
【発明の効果】
この発明では、発券手段およびカード処理手段が共通に記憶保持する共通のコード情報と、発券手段またはカード処理手段においてランダム生成した第2のコード情報とを用いて発券情報を暗号化し、暗号化された発券情報をその暗号化に使用された第2のコード情報とともにカードの情報記録部に書き込んでおき、カード処理手段において、カードから読み取った第2のコード情報と共通のコード情報とを用いて暗号化された発券情報を復号するようにしたから、たとえ簡単な手順で暗号化処理を行っても、第3者がカードの記録情報から元の発券情報を解読することは困難となる。よってカード発行や情報読み取りにかかる負担を軽減して処理速度を高めるとともに、セキュリティの高いカード管理システムを提供することができる。
【0064】
請求項2の発明では、制御手段により共通のコード情報をランダム生成して、これを前記発券手段およびカード処理手段に送信するようにしたので、第3者によるコード情報の把握が困難となる上、必要に応じて簡単にコード情報を変更することができ、システムのセキュリティが一層向上する。
【0065】
請求項3の発明では、各コード情報を用いた加減演算により変換コードを作成し、さらにこの変換コードと発券情報とを加算処理した結果を、暗号化された情報として用いるので、暗号化および復号処理の簡易化を実現することができる。
【図面の簡単な説明】
【図1】この発明の一実施例にかかる遊戯場におけるカード処理システムの構成例を示す説明図である。
【図2】発券装置の電気的構成を示すブロック図である。
【図3】メダル貸出装置の電気的構成を示すブロック図である。
【図4】制御装置の電気的構成を示すブロック図である。
【図5】発券装置の処理手順を示すフローチャートである。
【図6】図5のステップ5の詳細な手順を示すフローチャートである。
【図7】メダル貸出装置の処理手順を示すフローチャートである。
【図8】図7のステップ4の詳細な手順を示すフローチャートである。
【符号の説明】
1 発券装置
2 メダル貸出装置
3 制御装置
20,35,45 CPU
23,38,48 乱数発生器[0001]
[Industrial application fields]
In the present invention, predetermined information such as a prepaid card is written.A card management system for issuing cards and receiving issued cards and executing processing according to the ticketing informationis connected with.
[0002]
[Prior art]
In recent years, with the spread of prepaid cards, game media such as pachinko balls and medals have been lent out at pre-paid cards even at playgrounds such as pachinko halls. These playgrounds are equipped with a ticket issuing device that issues a prepaid card with a monetary value recorded, and a card processing device that accepts this prepaid card and lends game media to the game machine. It can be done.
[0003]
However, with the widespread use of this type of card processing system, there has been a rapid increase in the act of illegally using this card by decrypting information recorded on the card to produce a counterfeit card. In order to prevent this fraud, it is necessary to encrypt the ticket issuing information according to a predetermined procedure when the card is issued.
[0004]
[Problems to be solved by the invention]
In recent years, since fraudulent fraudulent acts using counterfeit cards have frequently occurred, encryption processing has become increasingly complex so that ticketing information is not easily deciphered. For this reason, the burden of the apparatus control part concerning a card | curd issuance or information reading increases, and the problem that card processing takes a lot of time has generate | occur | produced.
[0005]
This invention was made paying attention to the above problems,Ticketing means and card processing meansIn addition to storing common code information related to encryption processing in bothWhen the ticketing information is written and when the ticketing information is updatedBy randomly generating the second conversion code and performing encryption and decryption processing using these two types of code information,Simplify and improve securityIt aims to be realized.
[0006]
[Means for Solving the Problems]
The invention of
[0007]
The ticket issuing means is:The ticket issuing information creating means for creating individual ticket issuing information for each issued card, the registering means for registering the ticket issuing information created by the ticket issuing information creating means, and the code each time the ticket issuing information creating means creates the ticket issuing information. The information generating means randomly generates the second code information, and encrypts the ticket issuing information using the second code information and the common code information.Encryption means, the encrypted ticketing information andUsed for that encryptionWrite the second code information to the information recording part of the cardAn information recording means, and a collation processing means for collating the transmission information with the registration information of the registration means when the ticket issuing information of the predetermined card is received from the card processing means, and returning the collation result to the card processing means; A registration information updating means for renewing the corresponding ticket issuing information in the registration means by the transmission information when receiving the update information of the ticket issuing information of the predetermined card from the card processing means;It has. The card processing means includes information reading means for reading the ticket issuing information and the second code information encrypted from the information recording section of the received card, and the stored common code information and the second code read from the card. The encrypted ticket issuing information is decrypted into the original ticket issuing information using the code information ofAn information decoding means; a determination means for transmitting the ticket issuing information decrypted by the information decoding means to the ticket issuing means; and determining the suitability of the ticket issuing information based on a collation result returned from the ticket issuing means in response to the transmission; and the determination means On the condition that the ticketing information is appropriate, the update means for updating the ticketing information and the code information generating means to generate new second code information in response to the update of the ticketing information. And encrypting means for encrypting the updated ticket issuing information using the second code information and the common code information, and an update information transmitting means for transmitting the updated ticket issuing information to the ticket issuing means. Card information for rewriting the information recording part of the received card with the ticket issuing information encrypted by the encryption means and the second code information used for the encryption And recombinant meansI have.
[0008]
In the invention of
According to a third aspect of the present invention, the encryption means generates a conversion code by an addition / subtraction operation using the common code information and the second code information, and then adds the conversion code and the ticket issuing information. Is output as encrypted information.
[0010]
[Action]
According to the first aspect of the present invention, the ticket issuing means encrypts the ticket issuing information using the common code information stored and held and the second code information generated at random, and the information is recorded in the information recording unit of the card. The converted ticket issuing information and the second code information are recorded.Further, the ticket issuing means registers the ticket issuing information of the issued card in the registering means, and collates the ticket issuing information accepted by the card processing means in response to the information transmission from the card processing means, A process of rewriting the contents updated by the processing means is executed. Meanwhile, cardThe card processing means that accepts the ticket information using the first code information similar to the ticket issuing information and the second code information read from the card.After decryption, the decrypted ticket issuing information is transmitted to the ticket issuing means. If it is determined from the collation result returned here that the ticketing information is appropriate, the card processing means performs a ticketing information update process. Further, the card processing means randomly generates new second code information, encrypts the updated ticket issuing information using the second code information and the common code information, and provides encrypted ticket issuing information and A process of rewriting the information recording portion of the card with the second code information used for the encryption is executed.
That is, according to the invention of
[0011]
In the invention of
[0012]
In the invention of
[0013]
DETAILED DESCRIPTION OF THE INVENTION
As a preferred embodiment of the present invention, a prepaid card processing system in an amusement hall will be described below.
This card processing system is formed by connecting a ticket issuing
[0014]
The ticket issuing
In the information recording part of the card issued from the ticket issuing
[0015]
【Example】
FIG. 1 shows a configuration of a card processing system in an amusement hall according to one embodiment of the present invention.
This card processing system is for processing a prepaid card (hereinafter simply referred to as “card”) for lending medals to a gaming machine such as a slot machine in a specific amusement park. And a plurality of these devices are electrically connected to the
[0016]
The
[0017]
Each
[0018]
In this card processing system, each issuance card is set to be valid only on the day of issuance at this amusement hall, and information such as the value of money, issuance date, and ticket number written on each card (hereinafter referred to as “ticketing information” “)” Is stored in the memory of the
[0019]
On the other hand, when the
[0020]
When it is determined that the inserted card is appropriate based on the returned verification result, the control unit of the
[0021]
Each
[0022]
The frequency display 15 is electrically connected to the control unit of the
[0023]
When this control signal is input, the control unit of the
[0024]
The
[0025]
In this card processing system, in order to improve the security of the system, the ticket issuing information is encrypted prior to the ticket issuing information writing process by the
[0026]
This encryption process is performed using a conversion code generated by combining two types of code information. One of these pieces of code information (hereinafter referred to as “first code information”) is generated by the
This first code information takes the structure of a random number sequence of decimal 8 digits, and is randomly set for each digit when the system is activated at the time of opening the store. It is stored in the memory of each device until the end of business. Remembered.
[0027]
The other code information (hereinafter referred to as “second code information”) is randomly generated each time the ticket issuing information is written or rewritten in the
[0028]
In the information recording unit of the card, the second code information of the two pieces of code information used for encryption is recorded together with the encrypted ticket issuing information. When this card is inserted into any
[0029]
FIG. 2 shows an electrical configuration of the
In the figure,
The random number generator 23 outputs any numerical value from 0 to 255 every predetermined time, and the
[0030]
The
The
[0031]
The
The transmission / reception unit 32 is used for communicating necessary information with the
[0032]
FIG. 3 shows an electrical configuration of the
The
[0033]
The
The magnetic head 42 reads / writes information from / to the card being transported, and the
The transmission / reception unit 43 is used to exchange information with the
[0034]
FIG. 4 shows an electrical configuration of the
[0035]
The
[0036]
The
[0037]
The first transmission / reception unit 52 is connected to the communication line L1 and is used for exchanging information with the
[0038]
When the system is activated, the
The created first code information is transmitted to each
[0039]
FIG. 5 shows a card issuance processing procedure by the
First, in the
[0040]
Next, when a bill having a predetermined monetary value is inserted from the
[0041]
Next, the
[0042]
When this encryption processing is completed, the
[0043]
On the other hand, when ticketing information is transmitted from any
[0044]
[0045]
FIG. 6 shows the detailed procedure of the encryption process in
In the following description, AD indicates the above-described conversion code, and CY indicates a carry flag. The conversion code AD and the encryption code VT both have the same 16-byte configuration as the ticket issue information DT, and AD (i), VT (i), and DT (i) are i in the above information. This means the data value of the byte (1 ≦ i ≦ 16). Similarly, S (i) means the i-th random value in the first code information S.
[0046]
The processing of Step 5-1 to Step 5-5 is processing related to generation of the conversion code AD, and the
[0047]
In subsequent step 5-3, the
[0048]
These data values AD (i) and AD (i + 8) are sequentially stored in the RAM 22, and hereinafter the respective operations in the above steps 5-2 and 5-3 while incrementing the value of i in step 5-4. By repeatedly executing the process until the value of i reaches 8, the data values AD (1) to AD (16) of each byte of the conversion code AD are obtained.
[0049]
When the counter i exceeds 8, “YES” is set in step 5-5, and the above-described loop is ended. After the
[0050]
Hereinafter, the loop of step 5-8 to step 5-13 is a process for converting the ticket issuing information DT into the encrypted information VT, and the
[0051]
Since the data values DT (i) and AD (i) are both numerical values from 0 to 9, the above addition calculation result X takes any value from 0 to 19.
The next step 5-9 is for checking whether or not the numerical value X obtained by the above calculation has become a two-digit numerical value. ”Is set, and 10 is subtracted from the operation result X. If the determination at step 5-9 is "NO", the routine proceeds to step 5-11, where "0" is set to the carry flag CY. Thereafter, in the next step 5-12, the value of X is determined as the data value VT (i) of the i-th byte of the encrypted information VT.
[0052]
In the next step 5-13, the counter i is incremented, and the data value of each byte of the encryption information VT is determined by repeatedly executing the above loop until the counter i reaches 16.
[0053]
FIG. 7 shows a card processing procedure by the
First, in
[0054]
When the card is inserted,
[0055]
In the
[0056]
Next, in
The detailed procedure of the encryption process in
[0057]
Further, in the next step 11, the
[0058]
On the other hand, when the verification result indicating that the read ticket issuing information is inappropriate is returned from the card issuing device
Instead of the display process in
[0059]
FIG. 8 shows the detailed procedure of the decoding process in
First, in the first loop ST4-1 to ST4-5, the
[0060]
Next, the
[0061]
If the calculation result Y is negative, step 4-9 is “YES”, and the
[0062]
Thereafter, the
By repeatedly executing the above processing until the counter i exceeds 16, the data of each byte of the ticket issuing information DT is determined. As a result, step 4-14 becomes “YES” and the decryption processing is completed. To do.
[0063]
【The invention's effect】
In this invention, the ticket issuing means and the card processing means store and hold in common.CommonCode information and ticketing meansOr in card processing meansRandomly generatedSecondWith code informationThe ticket issuing information is encrypted, and the encrypted ticket issuing information is written in the information recording part of the card together with the second code information used for the encryption, and the card processing means reads the second code information read from the card. And decrypting the ticketing information encrypted using the common code information,Even if the encryption process is performed with a simple procedure, it is difficult for a third party to decrypt the original ticket issuing information from the recorded information of the card. Therefore, the card issuance and reading information are reduced, the processing speed is increased, and the card is highly secure.managementA system can be provided.
[0064]
In the invention of
[0065]
In the invention of
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a configuration example of a card processing system in an amusement hall according to one embodiment of the present invention.
FIG. 2 is a block diagram showing an electrical configuration of the ticket issuing apparatus.
FIG. 3 is a block diagram showing an electrical configuration of the medal lending device.
FIG. 4 is a block diagram showing an electrical configuration of a control device.
FIG. 5 is a flowchart showing a processing procedure of the ticket issuing apparatus.
6 is a flowchart showing a detailed procedure of
FIG. 7 is a flowchart showing a processing procedure of the medal lending device.
FIG. 8 is a flowchart showing a detailed procedure of
[Explanation of symbols]
1 Ticketing device
2 Medal lending device
3 Control device
20, 35, 45 CPU
23, 38, 48 random number generator
Claims (3)
前記発券手段およびカード処理手段は、暗号化処理に関わる共通のコード情報を記憶保持するとともに、暗号化処理に関わる第2のコード情報をランダム生成するコード情報生成手段と、相互に通信を行うための送受信手段とを備え、
前記発券手段は、
発行するカード毎に個別の発券情報を作成する発券情報作成手段と、
前記発券情報作成手段が作成した発券情報を登録する登録手段と、
前記発券情報作成手段が発券情報を作成する都度、前記コード情報生成手段に第2のコード情報をランダム生成させ、この第2のコード情報と前記共通のコード情報とを用いて前記発券情報を暗号化する暗号化手段と、
前記暗号化された発券情報およびその暗号化に使用された第2のコード情報をカードの情報記録部に書き込む情報記録手段と、
前記カード処理手段から所定のカードの発券情報を受信したとき、その送信情報を前記登録手段の登録情報と照合し、その照合結果を前記カード処理手段に返送する照合処理手段と、
前記カード処理手段から所定のカードの発券情報の更新情報を受信したとき、その送信情報により前記登録手段内の対応する発券情報を書き換える登録情報更新手段とを備え、
前記カード処理手段は、
受け付けたカードの情報記録部から暗号化された発券情報および第2のコード情報を読み取る情報読取り手段と、
前記記憶された共通のコード情報とカードから読み取られた第2のコード情報とを用いて、前記暗号化された発券情報を元の発券情報に復号する情報復号手段と、
前記情報復号手段により復号した発券情報を発券手段に送信し、その送信に応じて発券手段から返送された照合結果により前記発券情報の適否を判別する判別手段と、
前記判別手段が前記発券情報が適正であると判別したことを条件として、前記発券情報を更新する更新手段と、
前記発券情報の更新に応じて前記コード情報生成手段に新たな第2のコード情報をランダム生成させ、この第2のコード情報と前記共通のコード情報とを用いて前記更新された発券情報を暗号化する暗号化手段と、
前記更新した発券情報を前記発券手段に送信する更新情報送信手段と、
前記暗号化手段により暗号化された発券情報およびその暗号化に使用された第2のコード情報により前記受け付けたカードの情報記録部を書き換えるカード情報書換え手段とを備えて成るカード管理システム。In systems with a ticketing means for issuing write the predetermined ticketing information card having an information recording unit, and a card processing means for executing processing corresponding to the ticketing information accepting cards issued by the ticket issuing means There,
The ticket issuing unit and the card processing unit store and hold common code information related to the encryption process, and communicate with the code information generation unit that randomly generates the second code information related to the encryption process. Transmission / reception means,
The ticket issuing means is:
Ticketing information creation means for creating individual ticketing information for each card to be issued;
Registration means for registering the ticketing information created by the ticketing information creating means;
Each time the ticket issuing information creating means creates ticket issuing information, the code information generating means randomly generates second code information and encrypts the ticket issuing information using the second code information and the common code information. and encryption means for reduction,
Information recording means for writing the encrypted ticket issuing information and the second code information used for the encryption into the information recording unit of the card ;
When the ticket issuing information of a predetermined card is received from the card processing means, the transmission information is checked against the registration information of the registration means, and the checking result is returned to the card processing means;
A registration information updating unit that rewrites the corresponding ticketing information in the registration unit by the transmission information when receiving the update information of the ticketing information of the predetermined card from the card processing unit ;
The card processing means
Information reading means for reading the encrypted ticket issuing information and the second code information from the information recording section of the received card;
Using the stored common code information and the second code information read from the card, information decrypting means for decrypting the encrypted ticket issuing information into the original ticket issuing information ;
Determining means for transmitting the ticket issuing information decrypted by the information decrypting means to the ticket issuing means, and determining the suitability of the ticket issuing information based on the collation result returned from the ticket issuing means in response to the transmission;
Update means for updating the ticketing information on the condition that the determining means has determined that the ticketing information is appropriate;
In response to the update of the ticket issuing information, the code information generating means randomly generates new second code information, and encrypts the updated ticket issuing information using the second code information and the common code information. Encryption means
Update information transmitting means for transmitting the updated ticket issuing information to the ticket issuing means ;
A card management system comprising card information rewriting means for rewriting the information recording part of the accepted card with the ticket issuing information encrypted by the encryption means and the second code information used for the encryption .
前記発券手段およびカード処理手段は、前記共通のコード情報をランダム生成する手段を具備する制御手段に接続されており、前記共通のコード情報は、前記制御手段から発券手段およびカード処理手段にそれぞれ送信されて成るカード管理システム。The card management system according to claim 1,
The ticket issuing means and the card processing means are connected to a control means comprising means for randomly generating the common code information, and the common code information is transmitted from the control means to the ticket issuing means and the card processing means, respectively. Card management system consisting of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20292596A JP3643444B2 (en) | 1996-07-11 | 1996-07-11 | Card management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP20292596A JP3643444B2 (en) | 1996-07-11 | 1996-07-11 | Card management system |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH1027223A JPH1027223A (en) | 1998-01-27 |
JP3643444B2 true JP3643444B2 (en) | 2005-04-27 |
Family
ID=16465436
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP20292596A Expired - Fee Related JP3643444B2 (en) | 1996-07-11 | 1996-07-11 | Card management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3643444B2 (en) |
-
1996
- 1996-07-11 JP JP20292596A patent/JP3643444B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH1027223A (en) | 1998-01-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0151874B1 (en) | Prepayment metering system | |
JP3486043B2 (en) | Operating method of software distribution system and software system | |
US5805702A (en) | Method, apparatus, and system for transferring units of value | |
WO2004107343A2 (en) | Storage medium rental system | |
CA2232791A1 (en) | Method, apparatus, system and firmware for secure transactions | |
HUT71560A (en) | Gaming system for wagering, gaming computer, gaming method and method of lottery | |
JP2000511660A (en) | System and method with cryptographically secure communication | |
RU2144695C1 (en) | Method for claiming liability for card-related action by client and for accepting the claim by issuer | |
JP3801535B2 (en) | Amusement media rental system | |
US6163612A (en) | Coding device, decoding device and IC circuit | |
US7406602B2 (en) | Authentication of data for a gaming machine | |
JP3643444B2 (en) | Card management system | |
JP4190771B2 (en) | Amusement facility sales management system | |
JP2002102525A (en) | Authorization system for card-operated pachinko machine and card-operated pachinko machine | |
KR100888529B1 (en) | Method and management system for gaming management between a gaming management center and at least one gaming terminal, gaming management center and gaming terminal | |
JPH10314440A (en) | Game card issuing device and game card managing device | |
JP3622493B2 (en) | Value transfer method | |
JP4286333B2 (en) | Play system | |
JP2003220260A (en) | Game system | |
JP3756975B2 (en) | Prepaid card management system | |
JP3113063B2 (en) | Information processing system | |
JP3571840B2 (en) | IC card and IC card processing system | |
JPH10190648A (en) | Scramble transmission system using ic card | |
JP2007018189A (en) | Money inspection device and sales management system using it | |
JP3074950B2 (en) | IC card issuing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040212 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040309 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040507 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20050111 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20050128 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080204 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090204 Year of fee payment: 4 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090204 Year of fee payment: 4 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100204 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100204 Year of fee payment: 5 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100204 Year of fee payment: 5 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110204 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120204 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |