JP3643444B2 - Card management system - Google Patents

Card management system Download PDF

Info

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
Application number
JP20292596A
Other languages
Japanese (ja)
Other versions
JPH1027223A (en
Inventor
憲治 山田
Original Assignee
アビリット株式会社
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 アビリット株式会社 filed Critical アビリット株式会社
Priority to JP20292596A priority Critical patent/JP3643444B2/en
Publication of JPH1027223A publication Critical patent/JPH1027223A/en
Application granted granted Critical
Publication of JP3643444B2 publication Critical patent/JP3643444B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

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 claim 1 is a ticket issuing means for writing and issuing predetermined ticket issuing information on a card having an information recording section, and a card processing for receiving a card issued by the ticket issuing means and executing a process according to the ticket issuing information. meansAnd withIn the system, the ticket issuing means and the card processing means store and hold common code information related to encryption processing.In addition, code information generating means for randomly generating second code information related to the encryption processing and transmission / reception means for communicating with each other are provided.
[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 claim 2, theTicketing means and card processing meansIsControl means comprising means for randomly generating the common code informationConnected,The common code information is sent from the control means to the ticket issuing means and the card processing means, respectively.Sent.
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 claim 1, when the ticket issuing means writes the ticket issuing information in the information recording part of the card and when the card issuing information received by the card processing means is rewritten, the second code information is randomly selected. The ticket issue information generated and encrypted with the code information common to the second code information is written in the information recording unit of the card together with the second code information used for the encryption. In addition, the card processing means decrypts the ticket issuing information of the received card using the second code information and the common code information stored in the same card, and then determines whether the decrypted ticket issuing information is appropriate by communication with the ticket issuing means. Will be determined.
[0011]
In the invention of claim 2,The common code information is randomly generated by the control means and transmitted to the ticket issuing means and the card processing means.As a result, it is difficult for a third party to grasp the code information. Moreover, since code information can be easily changed as needed, security is further improved.
[0012]
In the invention of claim 3,By adding and subtracting using each code informationSince the result of generating the conversion code and further adding the conversion code and the ticket issuing information is used as encrypted information, the encryption and decryption processes can be simplified.
[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 device 1 and a medal lending device 2 to a control device 3 via a communication line L1, and the control device 3 generates a first conversion code composed of a random number sequence. To each ticket issuing device 1 and the medal lending device 2. The transmitted code information is stored in the RAM of each device.
[0014]
The ticket issuing device 1 randomly generates second code information within the device at the time of issuing the card, and performs encryption processing of the ticket information using the generated second code information and the first code information. Execute.
In the information recording part of the card issued from the ticket issuing device 1, the second code information is recorded together with the encrypted ticket issuing information, and the medal lending device 2 having inserted this card reads it from the card. Using the second code information and the first code information stored in the RAM, the ticket issue information is decrypted.
[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 control device 3 through bidirectional communication lines L1. Further, the control device 3 is connected to a card company center device 4 via a communication line L2 such as a public line.
[0016]
The ticket issuing apparatus 1 is a card issuing machine and writes predetermined information into an internal storage card when the banknote is inserted into the banknote receiving slot 6, and is carried out to the card issuing slot 7.
[0017]
Each medal lending device 2 is provided adjacent to the slot machine 5, and each slot machine 5 and the medal lending device 2 are electrically connected by a cord 8. Each medal lending device 2 includes a card insertion slot 9, a display unit 10, an operation switch 40, and the like on the front surface of the machine body, and is adjacent when a card inserted from the card insertion slot 9 is determined to be appropriate. A medal lending process to the slot machine 5 is performed.
[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 ticket issuing apparatus 1 as the issuer, and is appropriately transmitted to the control apparatus 3 via the communication line L1.
[0019]
On the other hand, when the medal lending device 2 reads the ticket issuing information recorded on the accepted card, the medal lending device 2 transmits this ticket issuing information to the card issuing device 1 that is the card issuer. Upon receiving this transmission, the ticket issuing device 1 compares the received information with the ticket issuing information stored in the memory, and returns the verification result to the medal lending device 2 that is the information transmission source.
[0020]
When it is determined that the inserted card is appropriate based on the returned verification result, the control unit of the medal lending device 2 deducts the value from the card (hereinafter referred to as “subtraction amount data”). Is converted to a predetermined frequency.
[0021]
Each slot machine 5 is provided with three reels (not shown) each having a plurality of symbols displayed on the peripheral surface, and on the front thereof, a start lever 12, a stop button switch 13 for each reel, and a medal rental A switch 14, a frequency indicator 15, a medal number indicator 16, and the like are provided, and a control circuit unit 17 that electrically controls each component with a CPU as a control body is incorporated in the machine.
[0022]
The frequency display 15 is electrically connected to the control unit of the medal lending device 2, and displays the frequency data when the medal lending device 2 performs frequency conversion processing of the deduction amount data. At this time, when the medal lending switch 14 is pushed by the player, the control circuit unit 17 outputs a control signal to the control unit on the medal lending device 2 side.
[0023]
When this control signal is input, the control unit of the medal lending device 2 rewrites the ticket issuing information stored in the card using the deducted amount data, and the circuit control unit 17 of the slot machine 5 Transmit frequency data. Upon receiving this control signal, the control circuit unit 17 sets the aircraft to a state where medals for the number of times are inserted, and waits for the start of the game.
[0024]
The control device 3 receives and stores the ticket issue information of the card issued by each ticket issue device 1 as well as receives and processes data such as the number of cards used and the card sales amount in each device, and the processing result is obtained. Output to the monitor 11 or the like. Further, the processing result is appropriately transmitted to the card company center device 4 through the communication line L2, and is used for management such as a settlement process.
[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 ticket issuing apparatus 1 or the ticket issuing information rewriting process by the medal lending apparatus 2. .
[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 control device 3 and then transmitted to each medal lending device 2 and the ticket issuing device 1.
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 ticket issuing device 1 or each medal lending device 2. Either numerical value is set.
[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 medal lending device 2, the control unit of this device encrypts using the first code information stored in the memory and the second code information read from the card. The conversion code used in the above is reproduced, and the decryption process of the ticket issuing information is executed.
[0029]
FIG. 2 shows an electrical configuration of the ticket issuing apparatus 1.
In the figure, reference numeral 18 denotes a control unit for setting a CPU 20 which is a main body of control / calculation, a ROM 21 for storing programs, a RAM 22 for storing various data such as the first code information, and second code information. Random number generator 23 and the like. In addition to the display unit 24 on the front of the machine body, the operation switch 25, and the return switch 26 (both shown in FIG. 1), the control unit 18 includes a bill discriminator 27 and a card detector 28 in the apparatus. , A bill take-in mechanism 29, a card transport mechanism 30, a magnetic head 31, a transmission / reception unit 32, and the like are connected.
The random number generator 23 outputs any numerical value from 0 to 255 every predetermined time, and the CPU 20 takes in a random value generated at a predetermined timing and sets it as the second code information. To do.
[0030]
The operation switch 25 is for instructing the card issuing operation, and the return switch 26 is for instructing the return of the inserted bill. The bill discriminator 27 is arranged inside the bill insertion slot 6 and discriminates the authenticity of the inserted bill.
The display unit 24 is for displaying various information such as the amount of the inserted banknote, and the banknote taking-in mechanism 29 is for transporting the inserted banknote to the internal banknote collection unit.
[0031]
The card transport mechanism 30 sequentially takes out the cards stored in the internal stocker and transports them to the card issuing slot 7, and the magnetic head 31 executes information writing processing on the card being transported. The card detector 28 is for detecting the carry-out of the card to the card issuing slot 7.
The transmission / reception unit 32 is used for communicating necessary information with the medal lending device 2 and the control device 3.
[0032]
FIG. 3 shows an electrical configuration of the medal lending device 2.
The control unit 33 of the medal lending device 2 is also composed of a CPU 35, a ROM 36, a RAM 37, a random number generator 38, and the like, as with the ticket issuing device 1, and further via a bus 34, a card detector 39 and an operation switch 40. , A card transport mechanism 41, a magnetic head 42, a transmission / reception unit 43, and the like are connected.
[0033]
The card detector 39 is arranged inside the card slot 9, and detects card insertion. As shown in FIG. 1, the operation switch 40 is provided at an appropriate position on the front surface of the machine body, and is used for instructing taking-in of the inserted card. The card transport mechanism 41 is for carrying in / out the card.
The magnetic head 42 reads / writes information from / to the card being transported, and the display unit 10 displays predetermined information such as an error message described later.
The transmission / reception unit 43 is used to exchange information with the ticket issuing device 1 and the control device 3.
[0034]
FIG. 4 shows an electrical configuration of the control device 3. The control unit 44 including the CPU 45, ROM 46, RAM 47, and random number generator 48 is connected to the input unit 50, the display circuit 51, the transmission / reception unit 52, via the bus 49. 53 and the like are connected.
[0035]
The ROM 46 stores programs related to communication and information processing with other devices and card companies, and the RAM 47 stores various types of data such as card issuance information issued by the ticket issuing device 1. The random number generator 48 is set so as to output an integer value of 0 to 9 every predetermined time.
[0036]
The input unit 50 includes a keyboard and the like, and is used to input data necessary for processing as appropriate. The display circuit 51 is for displaying the data processing result on the monitor 11.
[0037]
The first transmission / reception unit 52 is connected to the communication line L1 and is used for exchanging information with the ticket issuing device 1 and the medal lending device 2. The second transmission / reception unit 53 is connected to the communication line L2 and used for communication with the center device 4 of the card company.
[0038]
When the system is activated, the CPU 45 of the control device 3 samples eight random numbers from the random number generator 48 and sequentially arranges them to create the first code information.
The created first code information is transmitted to each ticket issuing device 1 and the medal lending device 2 via the transmission / reception unit 52 and stored in the RAMs 22 and 37 of each device.
[0039]
FIG. 5 shows a card issuance processing procedure by the ticket issuing device 1.
First, in the first step 1 after starting the device (in the figure, each step is indicated as “ST”), the CPU 20 receives the first code information S from the control device 3 and stores it in the RAM 22.
[0040]
Next, when a bill having a predetermined monetary value is inserted from the bill insertion slot 6, Step 2 becomes “YES” and the process proceeds to Step 3, and the CPU 20 enters the inserted monetary value, issue date, and ticket issue number. 16-byte ticket issue information DT indicating such information is created.
[0041]
Next, the CPU 20 takes in the random number value generated by the random number generator 23 in step 4 and sets it as the second code information R, and then stores the second code information R and the RAM 22 in the subsequent step 5. Then, a conversion code is created from the first code information S, and ticket conversion information is encrypted using this conversion code.
[0042]
When this encryption processing is completed, the CPU 20 drives the magnetic head 31 to send the encrypted ticket issuing information VT (hereinafter referred to as “encrypted information VT”) and the second code information R to the information recording section of the card. (Step 6). Thereafter, the CPU 20 registers the ticket issuing information DT in the RAM 22 and issues the card from the card issuing slot 7 (steps 7 and 8).
[0043]
On the other hand, when ticketing information is transmitted from any medal lending device 2, step 9 becomes “YES”, and the CPU 20 collates this transmission information with the ticketing information registered in the RAM 22 and displays the collation result as information. It returns to the medal lending device 2 of the transmission source (steps 10 and 11).
[0044]
Step 12 is a step of checking whether or not the information related to the ticket issue information update has been received from the medal lending device 2. When this determination is “YES”, the CPU 20 uses the received update information. The corresponding ticket issuing information in the RAM 22 is rewritten (step 13).
[0045]
FIG. 6 shows the detailed procedure of the encryption process in step 5 of FIG.
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 CPU 20 first initializes the counter i to “1” in Step 5-1. In the next step 5-2, the CPU 20 executes an operation of dividing the i-th numerical value S (i) of the first code information, the counter i, and the added value of the second code information R (S (i) + i + R) by 256. Then, the obtained remainder is determined as the i-th data value AD (i) of the conversion code AD.
[0047]
In subsequent step 5-3, the CPU 20 subtracts the random value R from the addition value of the (9-i) th numerical value S (9-i) of the first code information S and the counter i (S (9- i) An operation of dividing + i−R) by 256 is executed, and the obtained remainder is determined as the data value AD (i + 8) of the (i + 8) byte of the conversion code AD.
[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 CPU 20 initializes the carry flag CY to “0” in the next step 5-6, step 5-5 is executed. The counter i is reset to "1" again at -7.
[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 CPU 20 performs the ticket issuing information DT and the conversion in the first step ST5-8 of the loop. Arithmetic processing for adding the data value DT (i), AD (i) of the code AD and the carry flag CY is executed.
[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 medal lending device 2.
First, in step 1, the CPU 35 receives the first code information S transmitted from the control device 3 and stores it in the RAM 37, as with the ticket issuing device 1, and then waits for insertion of a card from the card insertion slot 9.
[0054]
When the card is inserted, step 2 becomes “YES”, and the CPU 35 drives the card transport mechanism 41 and the magnetic head 42, and the encrypted information VT and the second code information R recorded in the information recording section of the card are stored. Read is executed (step 3).
[0055]
In the next step 4, the CPU 35 decrypts the encrypted information VT into the original ticket issuing information DT using the read second code information R and the first code information S stored in the RAM 37, and then In step 5, the decrypted ticket issuing information DT is transmitted to the card issuing device 1 that issued the card. In response to this transmission, if a verification result indicating that the ticket issuing information of the received card is appropriate is returned from the ticket issuing device 1 of the card issuing source, step 6 becomes “YES”, and the difference is determined in the next step 7. The ticket issuing information is updated using the discount amount data.
[0056]
Next, in step 8, the CPU 35 takes in the random value generated by the random number generator 38 at this time as the second code information R ′, and then in step 9, the CPU 35 stores the second code information R ′ and the RAM 37. Using the stored first code information S, the encrypted ticket issue information DT ′ is encrypted, and in step 10, the ticket issue information DT ′ is transmitted to the card issuer ticket issuer 1.
The detailed procedure of the encryption process in step 9 is the same as that shown in FIG.
[0057]
Further, in the next step 11, the CPU 35 rewrites the card recording information with the encrypted information VT ′ generated in the step 9 and the second code information R ′. Thereafter, when the medal lending process to the adjacent slot machine 5 is executed according to the procedure described above, the card is returned to the card slot 9 (steps 13 and 14).
[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 ticket issuing apparatus 1 in response to the transmission of the ticket issuing information in step 5, step 6 is “NO”. The process proceeds to step 14, and the CPU 35 performs a card return process in step 13 after displaying a predetermined error message using the display unit 10.
Instead of the display process in step 14, an audio signal, an alarm buzzer, or the like may be output, or a signal indicating that an error has occurred may be transmitted to the control device 3.
[0059]
FIG. 8 shows the detailed procedure of the decoding process in step 4 of FIG.
First, in the first loop ST4-1 to ST4-5, the CPU 35 uses the first code information S stored in the RAM 37 and the second code information R read from the card to perform step 5 in FIG. -1 to 5-5 are executed. By this process, the conversion code AD used during the ticketing information encryption process is reproduced.
[0060]
Next, the CPU 35 sets the carry flag CY to “0” and the counter i to “1” in steps 4-6 and 4-7, and then the encrypted information read from the card in the next step 4-8. A subtraction operation using the VT i-th byte data VT (i), the conversion code AD i-th byte data AD (i), and the carry flag CY is executed.
[0061]
If the calculation result Y is negative, step 4-9 is “YES”, and the CPU 35 sets the carry flag CY to “1” and adds 10 to the calculation result Y in step 4-10. To do. On the other hand, when the calculation result Y is 0 or more, the routine proceeds to step 4-11, where the carry flag CY is set to “0”.
[0062]
Thereafter, the CPU 35 proceeds to Step 4-12 and determines the value of the calculation result Y as the i-th data DT (i) of the ticket issuing information DT.
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 claim 2,Since the common code information is randomly generated by the control means and is transmitted to the ticket issuing means and the card processing means,It becomes difficult for a third party to grasp the code information, and the code information can be easily changed as necessary, thereby further improving the security of the system.
[0065]
In the invention of claim 3,By adding and subtracting using each code informationSince the conversion code is created and the result of adding the conversion code and the ticket issuing information is used as encrypted information, the encryption and decryption processes can be simplified.
[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 Step 5 in FIG. 5;
FIG. 7 is a flowchart showing a processing procedure of the medal lending device.
FIG. 8 is a flowchart showing a detailed procedure of step 4 in FIG. 7;
[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 .
請求項1に記載されたカード管理システムであって、
前記発券手段およびカード処理手段は、前記共通のコード情報をランダム生成する手段を具備する制御手段に接続されており、前記共通のコード情報は、前記制御手段から発券手段およびカード処理手段にそれぞれ送信されて成るカード管理システム。
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.
前記暗号化手段は、前記共通のコード情報および第2のコード情報を用いた加減演算により変換コードを生成した後、この変換コードと前記発券情報とを加算処理した結果を暗号化された情報として出力する手段である請求項1または2に記載されたカード管理システム。The encryption means generates a conversion code by addition / subtraction operation using the common code information and the second code information, and then adds the conversion code and the ticket issuing information as encrypted information. The card management system according to claim 1, wherein the card management system is a means for outputting.
JP20292596A 1996-07-11 1996-07-11 Card management system Expired - Fee Related JP3643444B2 (en)

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)

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