JP3832881B2 - Issuing device - Google Patents

Issuing device Download PDF

Info

Publication number
JP3832881B2
JP3832881B2 JP30516395A JP30516395A JP3832881B2 JP 3832881 B2 JP3832881 B2 JP 3832881B2 JP 30516395 A JP30516395 A JP 30516395A JP 30516395 A JP30516395 A JP 30516395A JP 3832881 B2 JP3832881 B2 JP 3832881B2
Authority
JP
Japan
Prior art keywords
card
game
flag
data
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
JP30516395A
Other languages
Japanese (ja)
Other versions
JPH09122342A (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 JP30516395A priority Critical patent/JP3832881B2/en
Publication of JPH09122342A publication Critical patent/JPH09122342A/en
Application granted granted Critical
Publication of JP3832881B2 publication Critical patent/JP3832881B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Pinball Game Machines (AREA)
  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、装置本体に収納してある遊技情報媒体(例えばICカード)の発行をその遊技情報媒体の認証を経て行う発行装置に関するものである。
【0002】
【従来の技術】
近年、金額データ、遊技データ(遊技球数データや遊技コイン数データ)等の各種情報の記憶およびその書き換えが可能なICカードを用い、そのICカードに記憶の金額データの範囲内で変換した遊技データに基づいて、またはそのICカードに予め記憶されている遊技データに基づいて遊技を行い、遊技の結果獲得した特典(賞球数データ、賞コインデータすなわち遊技データ)を当該ICカードに反映し、ICカードの遊技データを更新するようにした遊技システムが提案されている。
このような遊技システムにおいて、遊技者は新規にICカードを購入したいときは、カード発行機に所定金額を投入することにより新しいICカードの発行を受けることができる。
そして、このカード発行機では、通常、発行単価以上の金額投入があったことを受けて、ICカードのセキュリティ確保のための認証処理や、その後の遊技で必要となる初期情報のICカードへの書き込み処理を行っており、これらの手順を経た後に遊技者の手元にICカードが発行されるようになっている。
【0003】
【発明が解決しようとする課題】
しかし、上記のように、金額投入がなされた後にICカードの認証処理や初期情報の書き込み処理を行っていると、発行までに時間を要してしまい、ICカード購入の際に遊技者を待たせる結果となっていた。
そこで、このような状況を解消するために、カード発行の前に予め認証処理やICカードへの初期情報の書き込み処理を行っておき、金額投入があれば直ちに発行することで、待ち時間を短くしようとする提案がある。
ところが、ICカードには、セキュリティの面から、また、その日に獲得した持ち球数は当店当日限りとしその日に精算させている関係から、初期情報に日付情報を含めており、上述のような手法を行うと、その翌日に発行される最初のICカードには、前日の日付情報が書き込まれていることになるので、その最初の1枚は使用できず無駄になってしまうという問題点を有していいた。
しかも、このICカードは、磁気カードなどに比べて一枚当たりの価格が高額であり、そのICカードを使用できないとなると経済的な損失も大きくなってしまう。
【0004】
この発明は上記に鑑み提案されたもので、遊技情報媒体(例えばICカード)の発行を速やかに、かつ一枚も無駄にすることなく発行できる発行装置を提供することを目的とする。
【0005】
【課題を解決するための手段】
上記目的を達成するために、この発明の発行装置は、装置本体に収納してある遊技情報媒体を発行する発行装置において、上記遊技情報媒体は、上記装置本体から受け取った情報に基づいて当該装置本体が正当なものであるか否かの第1の認証を行う第1の認証手段を備え、上記装置本体は、遊技情報媒体の所定位置への装着を指令する装着指令手段と、装着後の遊技情報媒体から受け取った情報に基づいて当該遊技情報媒体が正当なものであるか否かの第2の認証を行う第2の認証手段と、上記第1の認証および第2の認証による相互認証を経た上で当該遊技情報媒体に対して初期情報の書き込および待機を行わせる発行準備手段と、当該装置本体に投入された有価価値を認識する投入有価価値認識手段と、上記有価価値が所定有価価値以上のとき上記待機中で初期情報がすでに書き込まれている遊技情報媒体に対して時間情報を書き込みその遊技情報媒体を発行する発行手段と、を備えるようにした。
【0006】
【発明の実施の形態】
以下にこの発明の実施の形態を図面に基づいて詳細に説明する。
図1はこの発明の発行装置の原理ブロック図である。図1において、この発明の発行装置は、装置本体1Aに収納してある遊技情報媒体1Bを発行する発行装置において、遊技情報媒体1Bの所定位置への装着を指令する装着指令手段1Cと、上記装置本体1Aが、装着された遊技情報媒体1Bから受け取った情報に基づいて当該遊技情報媒体1Bが正当なものであるか否かの認証を行う認証手段1Dと、上記認証で当該遊技情報媒体1Bが正当なものと判別したとき、当該遊技情報媒体1Bに対して初期情報の書き込みおよび待機を行わせる発行準備手段1Eと、装置本体1Aに投入された有価価値を認識する投入有価価値認識手段1Fと、上記有価価値が所定有価価値以上のとき上記待機中で初期情報がすでに書き込まれている遊技情報媒体に対して時間情報を書き込みその遊技情報媒体1Bを発行する発行手段1Gと、を備えるようにした。
【0007】
上記の発行装置によれば、有価価値の投入の前に予め遊技情報媒体1Bの認証および時間情報以外の初期情報の書き込みが完了しており、有価価値の投入があった後は、時間情報を書き込んで発行するだけである。したがって、遊技情報媒体1Bの発行に際して発行を受ける操作者をほとんど待たせることなく速やかに発行することができる。また、時間情報は発行時と同一になるので、日付が異なってしまうようなことは発生せず、遊技情報媒体1Bを一枚も無駄にすることなく発行することができる。
【0008】
図2はこの発明が適用される通信システムにおける遊技店とカード会社とのデータ通信系を示す図である。図において、遊技店70に設置した経営分析装置71および管理装置72は、同様に店内に設置してあるATM交換機73との間を光ファイバ伝送路70aでそれぞれ接続してあり、遊技店70全体には、店内に設置してあるその他の各種装置(図3)も含めて、このATM交換機73を経由して情報の送受を行うATM(asynchronous transfer mode,非同期転送モード)通信によるネットワークが構成してある。
【0009】
また、経営分析装置71および管理装置72は、ATM交換機73を介して店外のカード会社74に電話回線70bで接続してある。この電話回線70bには例えば広帯域ISDNのディジタル回線が使用される。カード会社74は、当該遊技店70だけでなく他の遊技店75とも電話回線70bでATM交換機を介して結ばれており、ATM通信で複数の遊技店70,75等をネットワーク化している。
【0010】
上記のATM通信は広帯域ISDNの基盤技術として導入され普及しつつある通信方式であり、回線帯域を効率よく利用できるパケット交換と、高速交換が可能な回線交換(時分割多重)との双方の利点を備え、送りたい情報をディジタル化して短い固定長ブロック(セル)に分割し、その先頭に宛先などを示すヘッダを付けて順次送り出すようになっている。上記のATM交換機73では、送り出されてきたセルのヘッダを参照し高速にセルを振り分けそれぞれの宛先に送り届ける。このATM通信では、情報の取り扱い単位を固定長として網内のプロトコル処理を簡素化したため、155Mbpsといった高速、広帯域通信が可能となり、音声、データ、画像などすべてのメディアを同一種類のセルとして交換・転送可能としている。
【0011】
図3は遊技店内でのデータ通信系を示す図である。遊技店70内の全体も、上述したようにATM通信でネットワーク化してあり、ATM交換機73には上記の経営分析装置71および管理装置72の他に、景品POS(point of sales)76および光中継器90がそれぞれ光ファイバ伝送路70aで接続してある。
【0012】
光中継器90には、光通信が可能な位置でその光中継器90に対しては2番目の階層に相当する位置に、2つの光中継器91および92が配置してあり、遊技店70の全域を光通信でカバーできるようになっている。光中継器90は光中継器91に送信可能であり、その光中継器91は光中継器92に送信可能であり、さらに光中継器92は光中継器90に送信可能となっている。すなわち、情報は光中継器90→光中継器91→光中継器92→光中継器90の一方向に伝送される。このように、トークンリングを使うことにより、各光中継器90,91,92間の伝送制御を行え、一定期間内にデータを伝送する機会が保証されることにより、確実なデータ伝送が行われることになる。
【0013】
光中継器91には、その下方でやはり光通信で互いに送受信が可能となる位置に島設備80に設けてある各遊技機82…およびその島設備80の一端側に設けてある大型金額付加機87が配置してあり、一方の光中継器92には、その下方で同様に光通信で互いに送受信が可能となる位置に、更新機85およびカード発行機1が配置してある。
【0014】
上記の光通信は例えば赤外線による光通信であり、その赤外線の送受信は、光中継器90,91および92の各下端側に設けた光送受信部90a,91a,92a、並びにカード発行機1、更新機85、大型金額付加機87、遊技機82…の各上端側に設けた光送受信部1a,85a,87aおよび82a…を経由して行われる。
【0015】
このような構成において、島設備80の遊技機82…および大型金額付加機87が管理装置72に情報を送信するときは、その情報は光中継器91→光中継器92→光中継器90→ATM交換機73の順で送られ、逆に管理装置72から受信するときは、その情報はATM交換機73→光中継器90→光中継器91の順で送られてくる。
【0016】
また、カード発行機1および更新機85が管理装置72に情報を送信するときは、その情報は光中継器92→光中継器90→ATM交換機73の順で送られ、逆に管理装置72から受信するときは、その情報はATM交換機73→光中継器90→光中継器91→光中継器92の順で送られてくる。
【0017】
遊技店70内の上記の各装置は、ATM交換機73を経由して相互にアクセス可能となるとともに、電話回線70bを使って遊技店70外のカード会社74に対してもアクセス可能となる。
【0018】
図4はこの発明が適用される通信システム全体の構成を示すブロック図である。この通信システムでは、遊技店70内では光によるATM通信を用いることにより高速、広帯域通信が可能であり、例えばATM交換機73と管理装置72や光中継器90との間では、光ファイバ伝送路70aを経由して155Mbpsという大容量情報の通信が可能であり、またATM交換機73と経営分析装置71や景品POS76との間では100Mbpsの情報量がやはり光ファイバ伝送路70aを経由して通信可能となる。さらに、光中継器90と2番目の階層に相当する位置の光中継器91や光中継器92との間では光信号によって16Mbpsの情報量が、その光中継器91,92とカード発行機1等の最下層の各装置との間では同様に光信号によって1Mbpsの情報量が、それぞれ通信可能となるように構成してある。
【0019】
このように構築した通信システムにおいて、カード会社74と遊技店70との間、また遊技店70内の各装置間では、後述するような遊技カード使用に伴う各種情報や遊技機82…での遊技情報等の送受を高速にリアルタイムで行うことができ、各装置間での情報伝達が密接に行われている。
【0020】
上記の図2、図3および図4に示す通信システムにおいて、カード会社74は遊技情報媒体1Bの一例としての遊技カード(例えばICカード)C(図9)を遊技店70に発行するものであり、カード会社74のオペレータは遊技カードCを遊技店70に納入し遊技店70に備えてあるカード発行機1のカードタンクに装填する。カード会社74が納入するこの遊技カードCのメモリ部分には、後述するように、この遊技カードCの制御処理手順を記載した各種プログラムや遊技カードCのカード番号、セキュリティコード、仮のカード発行機識別番号などが予め記憶してある。
【0021】
遊技店70に設置してあるカード発行機1は、遊技カードCを所持していない遊技者に遊技カードCを発行するためのものであり、遊技者が遊技カードCを購入すべくカード発行機1に所定の金額を投入し、かつ発行のための最終確認の操作を行ったとき、カード発行機1ではカードタンクから一枚の遊技カードCを取り出し、所定の手順を経た上で遊技者に発行する。このカード発行機1の詳細は後述する。
【0022】
大型金額付加機87は、遊技者が購入した遊技カードCに所望の金額を付加するためのものであり、遊技者がこの大型金額付加機87に遊技カードCを装着すると、遊技者が投入した金額の範囲内で選択した金額を遊技カードCに付加しその遊技カードCを遊技者に返却する。
【0023】
遊技機82は、パチンコ球を遊技媒体とするパチンコ機やメダルを遊技媒体とするパチスロ等であり、遊技者が当該遊技機82に遊技カードCを装着したときその遊技カードCに記憶してある有価価値を読み取ってその有価価値の範囲内で変換して得られた遊技媒体に基づいて遊技者に所定の遊技を行わせるものであり、その遊技の結果として獲得した遊技媒体は持ち球数として遊技カードCに記憶される。ここで、有価価値とは例えば球貸し金額や貯球金額であり、球貸し金額は上記の大型金額付加機87を用いて遊技カードCに付加した金額で遊技媒体に変換されていないものをいい、貯球金額は持ち球数のうちから所望数量の遊技媒体を金額に変換したものをいう。遊技カードCには、これらの球貸し金額、貯球金額、および持ち球数が記憶され表示されるようになっている。
【0024】
この遊技機82…の各々には隣接する遊技機との間に台間金額付加機86…(図3)が備えてあり、遊技者はこの台間金額付加機86…に遊技カードCを装着することにより、遊技カードCに所望の金額を付加でき、遊技中には大型金額付加機87まで行かなくてもその場で簡易に金額を付加できるようになっている。なお、設置スペース等の関係で台間金額付加機86で使用できる貨幣は千円紙幣に限られている。
【0025】
景品POS76は、遊技店70のカウンタに配置してあり遊技カードCに記憶してある持ち球数情報に基づいて遊技媒体を現金や景品に変換したり、所定の交換率で貯球金額に変換したりする操作を、遊技者の希望に応じて行うものである。
【0026】
更新機85は遊技カードCを支障なく使用するために、所定の有効期限(例えば1年間)を過ぎた遊技カードCを新しい遊技カードに交換するためのもので、遊技者が更新機85に更新したい遊技カードCを挿入すると、その遊技カードCが正規のものであることを判別した上で自動的に新しい遊技カードCを発行するようにしている。これにより、遊技カードCの機能の劣化により発生するトラブルを防止することができ、遊技カードCの高い安全性を維持することができる。
【0027】
管理装置72は、図2に示すように、コンピュータ、ディスプレィ、キーボード、プリンタ、大容量記憶装置等から構成され、遊技店70内の上記各装置を管理したり監視したりするものである。例えば、多数の遊技機82…から必要なデータを収集し各種遊技状態でのデータを整理して各遊技機82…の動作状態を管理し監視している。
【0028】
この管理装置72は、カード会社74から上記の電話回線70bを経由してカード発行機1、大型金額付加機87、遊技機82…、景品POS76、および更新機85の各識別番号や、遊技カードCのセキュリティコード等を受け取り、これらの情報を光中継器90、光中継器91および光中継器92を経由してカード発行機1に初期データとして送信する。また、カード発行機1以外のその他の各装置に対してはその装置の識別番号や遊技カードCのセキュリティコードなどを初期データとして送信する。
なお、この場合、カード発行機1に送信された初期データのうち、自分自身の識別番号となるカード発行機の識別番号にはこの時点では仮の識別番号と真の識別番号の2つが設定されている。
【0029】
カード発行機1は、カードタンクから取り出した一枚の遊技カードCとの間で次のような処理を経てその遊技カードCを発行する。すなわち、先ず管理装置72から送られてきて記憶している自分自身のカード発行機1の仮の識別番号を遊技カードCに送る。遊技カードCは、送られてきた仮の識別番号と、遊技カードCに予め記憶してある仮の識別番号とを照合し、一致するとカード発行機1は正当なものであると認証し、今度はカード発行機1に自分のセキュリティコードを送る。カード発行機1は、送られてきたセキュリティコードと、管理装置72から送られてきて記憶している遊技カードCのセキュリティコードとを照合し、一致すると遊技カードCは正当なものであると認証する。
カード発行機1では、このような遊技カードCとの間での相互認証を行った上で、遊技カードCに各装置の識別番号等を書き込ませる。その際に、納入時点で遊技カードCに予め書き込んであったカード発行機1の仮の識別番号には真の識別番号が上書きされる。
上記の相互認証による遊技カードCの発行処理手順については、詳細に後述する。
【0030】
以後、遊技者が上記の通信システム(遊技システム)において遊技カードCを大型金額付加機87や遊技機82…その他の各装置に装着したとき、遊技カードCには各装置の識別番号や遊技カードCのセキュリティコードが記憶してあり、各装置には自分自身の識別番号と遊技カードCのセキュリティコードとが初期データとして記憶してあるので、遊技カードCとその各装置との間でもそれらの情報を用いて相互認証を行い、この相互認証を経た上で遊技カードCとその各装置との間の送受信を行うようにしている。
【0031】
経営分析装置71は、管理装置72と同様にコンピュータ、ディスプレィ、キーボード、プリンタ、大容量記憶装置等から構成され、管理装置72、遊技機82…等から収集したデータに基づき演算等を行って営業情報、遊技情報、景品の交換情報などを割り出す処理を実行し、またそれらの情報の画面表示や印刷を行う。
【0032】
次に、この発明の発行装置の一例としてのカード発行機の構成について図5〜図9を用いて説明する。
【0033】
図5はカード発行機1の正面操作盤の構成を示す図、図6はカード発行機1の正面側内部構成を示す図、図7はカード発行機1の裏面側内部構成の概略を示す図である。カード発行機1は、スタンドボックスタイプの筐体100の内部に後述する主要機器が収納してあり、その筐体100前面の一側縁には正面操作盤101が開閉可能に軸着してある。
【0034】
正面操作盤101は前方方向に全体的に湾曲した形状になっており、この正面操作盤101の前に立って操作する遊技者(使用者)が操作しやすい構成になっている。
【0035】
正面操作盤101には、図5に示すように、その上部中央でちょうど遊技者の目の高さに相当する位置にCRT表示画面104が、またその左側にスピーカ105が配置してあり、このCRT表示画面104とスピーカ105とはガイダンス部103を構成し、遊技者に遊技カードCを発行する際のガイダンスを行う。
【0036】
CRT表示画面104の右側には、遊技者が遊技カードCの発行を最終的に確認して要求するための発行スイッチ107と、遊技カードCの発行をキャンセルするためのキャンセルスイッチ108とから成る操作スイッチ部106が配置してある。これらの発行スイッチ107とキャンセルスイッチ108には、タッチプレートに触れることによりオンとなるタッチ式センサを用いてある。また、そのタッチプレートに遊技者が触れるとそのスイッチ107,108の周りが明るく発光するように確認用としての発行スイッチランプ22とキャンセルスイッチ23とが設けてあり、遊技者はその発行スイッチランプ22,キャンセルスイッチランプ23の点灯によってオン状態を確認できるようになっている。
【0037】
正面操作盤101の中央で操作スイッチ部106の下方に紙幣を挿入するための紙幣挿入口109が、またその紙幣挿入口109の左側でCRT表示画面104の下方に硬貨投入口110がそれぞれ設けてあり、さらにその硬貨投入口110から左下方向に向けて返却レバー111とカード発行口112とが順に配置してある。このカード発行口112は、発行される遊技カードCを容易に取れるように遊技者の胸または腰に相当する高さに配置してある。
【0038】
正面操作盤101の下部には、右側から順に紙幣返却口113、硬貨返却口114およびレシート発行口115が配置してある。遊技者が上記返却レバー111を回転させると投入した硬貨が硬貨返却口114に払い出される。また、遊技者がキャンセルスイッチ108をオンさせたときは、それまでに投入された紙幣、硬貨の合計金額に相当する分を上記の紙幣返却口113や硬貨返却口114に払い出して遊技者に返却するようになっている。レシート発行口115からは、遊技カードCと同時に発行されるレシートRがプリンタ21で印字されて出てくるようになっている。
【0039】
正面操作盤101の左側側縁にはこの正面操作盤101を筐体100側にロックして施錠するための施錠装置116が設けてある。また、正面操作盤101の上端側には、レンズタイプの照明部102が設けてあり、内部に設けてある蛍光灯118の照明光を効果的に照射するようになっている。さらに、正面操作盤1の下端部中央には、人体検出センサ35が設けてあり、遊技カードCの発行を受けるべくこのカード発行機1の正面に立つ人を検出できるようになっている。
【0040】
筐体100の内部は、図6および図7に示すように正面側と裏面側とに隔壁で二分してあり、その各空間に各種機器が収納してある。また正面操作盤101の裏側にも各種機器が設けてある。
筐体100内部の正面左側では、その下端面150にプリンタ21が配置してあり、プリンタ21は、上述したようにレシートRに印字してそのレシートRをレシート発行口115から排出している。その印字内容については後述する。
【0041】
プリンタ21の上端側にカード発行部29が載置し固定してある。このカード発行部29は、後述する主制御装置1M(図7)からの指令を受けて遊技カードCを発行するものであり、カード会社74から納入された遊技カードCを保管するカードタンク(図示省略)、そのカードタンクから取り出した1枚の遊技カードCからデータを読み取ったりその遊技カードCにデータを書き込んだりするカードR/W制御装置291、カードタンクからカードR/W制御装置291まで遊技カードCを搬送する搬送路(図示省略)、発行される遊技カードCをカード発行口112まで導くカード排出口292、およびカードR/W制御装置291において不良であると判別された遊技カードCを回収し保管するための不良回収ボックス(図示省略)から構成されている。
【0042】
一方、筐体100内部の正面右側には紙幣装置24が配置してある。この紙幣装置24には、5千円紙幣および1万円紙幣を回収して保管する回収タンク241と、千円紙幣を回収して保管する回収タンク242とが備えてある。紙幣挿入口109に挿入され案内通路244を介して紙幣装置24に入ってきた紙幣のうち、5千円紙幣および1万円紙幣は上方の回収タンク241に保管され、千円紙幣は下方の回収タンク242に保管される。なお、千円紙幣は釣り銭用として使用されるので、回収タンク242は釣り銭供給用タンクとしての機能も果たしており、その釣り銭用の千円紙幣は回収タンク242に開口して設けた案内通路243を介して紙幣返却口113から払い出され遊技者に返却される。この紙幣装置24の内部には紙幣制御装置25(図8)が収納してあり、紙幣制御装置25は主制御装置1Mからの指令を受けて紙幣装置24全体の動作を制御している。
【0043】
また、筐体100内部の正面側中央の奥には、小型入力装置28が隔壁に懸架して配備してある。この小型入力装置28は、カード発行機1専用のデータ端末器であり、接続コード(図示省略)で主制御装置1Mに接続してあり、筐体100の内部からオペレータが取り出して使用できるようになっている。小型入力装置28には入力キーと16桁のLCD表示器が備えてあり、例えば入力キーに割り付けてある「売上」キーを押すと、カード発行機1での売上集計をそのLCD表示器に表示するようになっており、この小型入力装置28を用いてカード発行機1での売り上げ集計や釣り銭入力の管理を簡易的に行うことができ、またエラーモニタとしても使用することができる。
【0044】
さらに、筐体100内部の正面側中央の奥で小型入力装置28の上方に、エラー解除スイッチ38(図8)およびモードスイッチ40(図8)が設けてある。エラー解除スイッチ38は、異常発生後オペレータがその対応処置を施したときにエラー解除を行うためのスイッチであり、モードスイッチ40は、例えばこのカード発行機1を遊技店70に導入した際の導入テスト時にプリンタ21やカードR/W制御装置291などの各端末装置の動作確認を行うためのスイッチである。なお、これらのスイッチ38,40は、筐体100の裏面側内部にも設けてありオペレータが裏面側からも使用できるようになっている。
【0045】
正面操作盤101の裏面側で中央列の上部には、画像表示制御装置20が配置してあり、主制御装置1Mからの指令を受けて上記のCRT表示画面104での画面表示とスピーカ105による音声出力とを制御している。また、中央列の下部には、硬貨投入口110から入ってきた硬貨を回収して保管するとともに釣り硬貨の払い出しを行う硬貨装置26が配置してある。この釣り硬貨の払い出しは、硬貨装置26の下端側に開設した案内通路261を介して硬貨返却口114から行われる。この硬貨装置26の内部には硬貨制御装置27(図8)が収納してあり、硬貨制御装置27は主制御装置1Mからの指令を受けて硬貨装置26全体の動作を制御している。
【0046】
正面操作盤101の裏面側に設けた上記画像表示制御装置20および硬貨装置26は、正面操作盤101を閉じたとき、筐体100内部の正面中央列に形成した間隙に丁度収まるように配置してある。
【0047】
筐体100の前面下部に操作盤ドアスイッチ36が設けてあり、この操作盤ドアスイッチ36は正面操作盤101を閉じたときオンして、正面操作盤101が不正に開けられるのを監視できるようにしてある。
【0048】
筐体100の裏面側ドア(図示省略)を開くと、図7に概略的に示すようにいくつかの機器が収納され配置してある。すなわち、裏面左側には、このカード発行機1に電源を供給する電源装置(電源回路)31が設けてあり、裏面右側には、このカード発行機1全体の動作を制御する主制御装置1Mと、管理装置72などの他の装置との間での通信制御を行う通信制御装置41とが設けてある。
【0049】
この通信制御装置41は、筐体100の上端部分に突出して設けた光送受信部1aを経由して、他の装置との間での情報の送受信を行っている。
通信制御装置41の近傍に発行機番号スイッチ39が設けてある。この発行機番号スイッチ39は例えばディップスイッチタイプのもので、管理装置72に対して当該カード発行機1のアドレスを認識させるためのものである。
【0050】
また、裏面下部には、無停電電源装置(UPS)32が設けてあり、上記の電源回路31は、電源スイッチ311をオンすることにより商用100ボルトの電源供給を無停電電源装置32を介して受け取り、所定の直流電圧に変換した後その直流電圧をカード発行機1の各部に供給する。そして、商用電源の停電時には、無停電電源装置32が単独で作動し、必要に応じてカード発行機1の各部に電力供給を行い、電源をオフできる状態に移行した時点でシャットダウンする。
【0051】
さらに、裏面上部には裏面側ドアスイッチ37が設けてあり、この裏面側ドアスイッチ37は裏面側ドアを閉じたときオンして、裏面側ドアが不正に開けられるのを監視できるようにしてある。
【0052】
図8はカード発行機の動作を制御する制御機構の全体構成を示すブロック図である。図において、カード発行機1の動作を制御する制御機構は、主制御装置1Mを主要部とし、上記のカードR/W制御装置291その他の各種機器を周辺端末として構成される。
【0053】
主制御装置1MはCPU2を中心に構成され、このCPU2と他の部位とは、データバス、アドレスバス、制御バスを含むシステムバス11を介して相互に接続してあり、システムバス11を経由して互いに必要な情報の転送を行っている。
【0054】
CPU2は、電源投入時あるいはリセット時に、所定のプログラムを記憶するROM8から適宜にプログラムを読み出すと共に、制御に必要な情報等をワークRAM4から読み出すなどしてして所定の初期化処理を行う。そして、クロック9からの基準クロック信号や割込コントローラ6からの割込信号を受け、これらの制御信号の入力タイミングに基づいて所定のプログラムを順次実行し、その実行時には必要に応じて随時RAM7に対する情報の書き込みや読取りを行う。
【0055】
主制御装置1Mには、上述したように無停電電源装置32が接続してあり、電源スイッチ311のオンにより無停電電源装置32から電源回路31を介して所定の電圧(例えば5V、12V、24V)がCPU2等に印加される。
【0056】
停電発生時には無停電電源装置32が作動して一時的に電力を供給するとともに、無停電電源装置32はCPU2に割込信号を出力し、CPU2はその割込信号に基づいて保存すべき諸データをワークRAM4に退避させバックアップを行う。このワークRAM4はバックアップ電源の供給を受けてデータを常時保存可能なメモリであり、通常は電源回路31からの電源を電源切替回路3を介してバックアップ電源としているが、電源オフ時や停電発生時にはCPU2からの制御信号を電源切替回路3が受けてワークRAM4専用に設けてある電池に切り替えその電池をバックアップ電源として用いている。
【0057】
上記のシステムバス11にはPIO(パラレル入出力ポート)15が接続してあり、このPIO15には下記の各装置が接続してある。
すなわち、PIO15には画像表示インターフェイス12を介して画像表示制御装置20が接続してあり、画像表示制御装置20はCPU2からの指令を受けてCRT表示画面104やスピーカ105を動作させ遊技者に遊技カードC発行のためのガイダンスや報知を行う。
【0058】
また、PIO15にはプリンタ21が接続してあり、プリンタ21はCPU2からの指令を受けて所定の印字を行う。
さらに、PIO15にはドライバ13を介して発行スイッチランプ22およびキャンセルスイッチランプ23が接続してあり、これらのランプ22,23はCPU2からの指令を受けて点滅するようになっている。
【0059】
また、PIO15には紙幣制御装置25を介して紙幣装置24が接続してあり、紙幣装置24は紙幣制御装置25経由でCPU2からの指令を受けて動作し、また紙幣装置24からの情報をCPU2に伝えている。同様に、PIO15には硬貨制御装置27を介して硬貨装置26が接続してあり、硬貨装置26は硬貨制御装置27経由でCPU2からの指令を受けて動作し、また硬貨装置26からの情報をCPU2に伝えている。
【0060】
上記システムバス11にはSIO(シリアル入出力ポート)16およびRS−422レシーバドライバ14を介して小型入力装置28が接続してあり、小型入力装置28とCPU2との間での情報の送受信を行えるようになっている。
さらに、システムバス11にはLボード17が接続してある。このLボード17はカードR/W制御装置291側に設けたLボード293とともに、通信インターフェイスとしての機能を果たしており、CPU2とカードR/W制御装置291とは、このLボード17および293を経由して互いに情報の送受信を行っている。
このカードR/W制御装置291は、上述したようにカード発行部29に内蔵してあり、CPU2からの指令を受けて制御され、カードR/W制御装置291に装着された遊技カードCへの情報の書き込みや遊技カードCの情報の読み取り等を行う。またカードR/W制御装置291からCPU2に情報を伝えている。
【0061】
また、上記のシステムバス11にはPIO(パラレル入出力ポート)18が接続してあり、このPIO18には下記のセンサおよびスイッチが接続してある。すなわち、PIO18にはタッチ回路19を介して、発行スイッチ107およびキャンセルスイッチ108に採用したタッチプレートタイプの発行センサ33およびキャンセルセンサ34が接続してあり、発行スイッチ107やキャンセルスイッチ108のオンを各センサ33,34が検出したときの検出信号が、タッチ回路19およびPIO18を経由してCPU2に送られるようになっている。
【0062】
また、PIO18には操作盤ドアスイッチ36および裏面側ドアスイッチ37が接続してあり、これらのスイッチ36および37がオンしたときのオン信号がPIO18を経由してCPU2に送られ、上述したように正面操作盤101や裏面側ドアスイッチ37の開閉状態を監視できるようになっている。さらに、PIO18にはエラー解除スイッチ38、発行機番号スイッチ39およびモードスイッチ40が接続してあり、これらのスイッチ38,39および40がオンしたときのオン信号がPIO18を経由してCPU2に送られ、そのオン信号に応じてそれぞれエラーの解除、管理装置72へのアドレス設定、および各端末装置の動作確認を行う。
【0063】
システムバス11にはさらに通信制御装置41が接続してある。通信制御装置41はシステムバス11を介してCPU2との間で情報転送を行うとともに、光送受信部1aの行う通信を制御する。
光送受信部1aは、上記のようにカード発行機1の上部に配置され、光中継器92との間でデータ転送のための赤外線通信を行うもので、赤外線を発光する光送信部と赤外線を受信する光受信部とを有する。
通信制御装置41は、例えば通信インターフェイス回路、通信ドライバ/レシーバ、通信コントローラ、メモリ、マイクロプロセッサ、クロック回路、メモリ、デュアルポートRAM(双方向メモリ)を有して構成され、光送受信部1aに送信されてきた管理装置72等の外部装置からの情報をメモリに一時的に格納しその格納した情報を読み出してデュアルポートRAMに書き込んだり、あるいはCPU2がデュアルポートRAMに書き込んだ情報を読み出してメモリに格納することにより、すなわちデュアルポートRAMを介してカード発行機1と外部装置との双方からの情報の書き込みを可能にすることにより、情報の転送を通信(光送信)タイミングの制約を受けずにスムーズに行えるようになっている。
【0064】
リアルタイムクロック(R.T.C)10は、小型入力装置28の時刻表示に利用される。
【0065】
この実施例では、遊技カードCはカードタンクから取り出されてカードR/W制御装置291に装着され、CPU2との間での情報の授受などの所定の手順を経た上で発行される。そこで、以下に遊技カードCおよびカードR/W制御装置291の構成および遊技カードCをカードR/W制御装置291に装着したときの作用を図9を用いて説明する。
【0066】
図9は遊技カードおよびカードR/W制御装置の構成を示すブロック図である。図において、遊技カードCは、CPU213とROM214、RAM215、EEPROM216の各メモリとを内蔵しデータの記憶およびデータ処理機能を有するICカードとして構成され、例えば薄いプラスチックカード内に一体的に形成してあるため、データのセキュリティ性は極めて高いものとなっている。なお、遊技カードCとして、ICカードでなく、同様にセキュリティ保護が十分になされている光カードを用いるようにしてもよい。その場合には、カードR/W制御装置等の必要部分は光カードに対応したものが使用される。
【0067】
ROM214には、所定の制御処理手順を記載した各種プログラムが格納してある。
【0068】
不揮発性で書き換え可能なEEPROM216は電源供給が断たれてもデータを保持可能であり、このEEPROM216には、遊技カードCのセキュリティコードや球貸し金額、貯球金額、持ち球数、各端末装置の識別番号(例えばカード発行機1、大型金額付加機87、遊技機82…、景品POS76、および更新機85の各識別番号)等の保持する必要のある各種情報が格納してある。
【0069】
遊技カードCが単体で動作するときには、CPU213は、クロック206からの基準クロック信号をクロック切替回路207を介して受信し、その基準クロック信号の入力タイミングに基づいて、ROM214に記憶してある所定のプログラムを実行する。その実行時には必要に応じて随時RAM215やEEPROM216に対する情報の書き込みや読み取りを行っている。
【0070】
CPU213は遊技者がキースイッチ217をオンしたときのそのオン信号を検出すると、LCDドライバ211を介してLCD(液晶ディスプレイ)212に所定の情報を表示する。例えば、キースイッチ217から最初のオン信号を検出すると球貸し金額(残金)を表示し、次のオン信号で持ち球数を表示し、さらに次のオン信号で貯球金額を表示するというようにオン信号を検出する度に表示内容を変更する。
LCD212は、小型で細長い液晶ディスプレイであり、複数の数字や記号等を使用して1行で必要な情報(例えば球貸し金額、持ち球数、貯球金額等)を表示可能なモノクロタイプのものが用いられる。カラータイプの液晶ディスプレイを用いてもよい。
【0071】
太陽電池209は外部の太陽光や室内光を受けて直流電力を発生し、遊技カードCが単体で動作するときに必要な電力を各部に供給するものであり、より高い制御電圧を要するLCD212には特に昇圧回路210で一旦昇圧した上でLCDドライバ211を介して供給している。
【0072】
遊技カードCがカードタンクから搬送路を運ばれてカードR/W制御装置291に装着されると、遊技カードCの送受信平面コイル201は、電磁波による電磁結合でカードR/W制御装置291との間で信号の送受を行うとともに、カードR/W制御装置291から電力の供給を受け、その電磁波に基づく電流をクロック取出回路202、直流化回路203および復調回路205に出力する。
クロック取出回路202は、送受信平面コイル201を介して捕捉したカードR/W制御装置291からの電磁波に含まれる信号から基準クロック信号を抽出し、その基準クロック信号でCPU213を動作させるべくクロック切替回路207にクロック信号の切り替えを行わせる。
【0073】
また、直流化回路203は送受信平面コイル201を介して捕捉したカードR/W制御装置291からの電磁波から遊技カードCへの供給電力になる電磁エネルギーを取り出して直流変換し、電力切替回路208および送信回路204に供給する。電力切替回路208は遊技カードCへの電力供給を直流化回路203あるいは太陽電池209に切り替えるもので、遊技カードCがカードR/W制御装置291に装着されて送受信平面コイル296および201が電磁結合しているときは直流化回路203からの直流電力をCPU213等に供給し、一方カードR/W制御装置291に装着されずに単体で動作するときは太陽電池209からの直流電力をCPU213等に供給する。送信回路204はCPU213の出力信号に基づいて直流化回路203から供給される直流電力を消費することで、間接的にカードR/W制御装置291側に遊技カードCからの信号を伝達する。
復調回路205は、送受信平面コイル201を介して捕捉したカードR/W制御装置291からの電磁波に含まれる信号を復調して必要なデータを取り出す処理を行い、取り出したデータをCPU213に出力する。
【0074】
カードR/W制御装置291は、CPU294、変調回路295、受信回路297、送受信平面コイル296およびLボード293を有している。CPU294は、遊技カードCからのデータの読み出しや遊技カードCへのデータの書き込みに必要なデータ処理を行い、カードR/W制御装置291の動作を制御している。
【0075】
変調回路295は送受信平面コイル296に向けて、電力供給信号に制御信号とデータとを重畳した変調信号をCPU294の出力信号に基づき送っている。すなわち、遊技カードCの動作電力となる電源の供給や、基準クロック信号などの制御信号の送信およびデータの送信を、内蔵した電力増幅器(図示省略)で増幅して行っている。
【0076】
送受信平面コイル296は変調回路295の出力に基づいて駆動し、遊技カードC側の送受信平面コイル201に対して電磁結合により遊技カードCの動作電力、制御信号およびデータを送信する。
受信回路297は送受信平面コイル296に向けて供給される変調回路295の出力がどのように変化するか、すなわち電磁的に結合した送受信平面コイル296および送受信平面コイル201間では、遊技カードCの送信回路204によって送信すべきデータに応じて電磁波が変化するので、それに対応して変調回路295の出力電圧波形がどのように変化するかを監視することにより、間接的に遊技カードCからのデータに対応した信号変化を検出する。この信号変化の検出は遊技カードCからのデータを受信することに相当する。
付属のLボード293はカードR/W制御装置291に対して電源供給を行うとともに、CPU294との間でデータの転送を行う。
【0077】
上記の遊技カードCおよびカードR/W制御装置291から成る構成において、主制御装置1Mから遊技カードCに向けてデータを転送する場合は、先ず主制御装置1Mが主制御装置1M側のLボード17内のデュアルポートRAM(図示省略)にそのデータを書き込む。そのデータはカードR/W制御装置291側のLボード293間で転送されてLボード293内のデュアルポートRAM(図示省略)に書き込まれるので、カードR/W制御装置291のCPU294はそのデータを読み取り、変調回路295および送受信平面コイル296を経由して遊技カードC側に出力する。
【0078】
逆に遊技カードCから主制御装置1Mに向けてデータを転送する場合は、先ずCPU213がそのデータを送信回路204および送受信平面コイル201経由でカードR/W制御装置291に間接的に出力する。カードR/W制御装置291では、受信回路297がそのデータに応じた信号変化を遊技カードCからのデータに相当するものとして検出しCPU294に送る。CPU294がLボード293内のデュアルポートRAMにそのデータを書き込むと、そのデータは主制御装置1M側のLボード17間で転送されてLボード17内のデュアルポートRAMに書き込まれ、主制御装置1Mがそのデータを読み取る。
【0079】
なお、上記の送受信平面コイル296および201は電磁的に結合しており、遊技カードCはカードR/W制御装置291に対して非接触で情報の送受信を行うことができるので、カードR/W制御装置291との接触による損傷を受けず、また静電気による誤動作も防止することができるので、遊技カードCの信頼性も向上させることができる。
【0080】
遊技カードCがカードR/W制御装置291に装着されると、遊技カードCと主制御装置1Mとの間では上記の構成のもとで情報の送受信が行われるが、上述したようにその情報の送受信時には先ず相手の正当性を認識するべく相互認証を行っている。次に、この相互認証について図10を用いて説明する。
【0081】
なお、この段階、すなわち遊技カードCがカード発行機1から発行される前の段階では上述したように、遊技カードCには自分自身のセキュリティコードやカード番号、この遊技カードCの制御処理手順を記載した各種プログラム、カード発行機1の仮の識別番号などが、カード会社74による納入時に予め書き込んである。
一方の主制御装置1Mには当該カード発行機1の識別番号(仮の識別番号と真の識別番号)を含む各装置の識別番号や、遊技カードCのセキュリティコードなどが管理装置72からの初期データとして書き込んである。
【0082】
図10は遊技カードとカード発行機の主制御装置との間で行われる相互認証の説明図である。遊技カードCがカードR/W制御装置291に装着されると、その装着の通知が主制御装置1Mに送られる。そのとき主制御装置1Mは遊技カードCに向けて、図に示すように自分の方からカード発行機1の仮の識別番号を送信し、同時に遊技カードCのセキュリティコードを送ってくるように要求コマンドを送信する。
【0083】
遊技カードCでは、予め格納してあるカード発行機1の仮の識別番号と主制御装置1Mから送られてきた識別番号とを照合(チェック)し、一致するとき相手のカード発行機1は正当であると認証し、今度は受信した要求コマンドに応答して自分のセキュリティコードを主制御装置1Mに送信する。
【0084】
主制御装置1Mでは、予め格納してある遊技カードCのセキュリティコードと遊技カードCから送られてきたセキュリティコードとを照合し、一致するとき相手の遊技カードCは正当であると認証し、この相互間での認証を完了した上で次の情報を遊技カードCに送信する。
すなわち、遊技カードCがカード発行機1のカードR/W制御装置291に装着されると、先ず相手の正当性を互いに認証する相互認証を行い、この相互認証を経た上で遊技カードCとその各装置との間の次の送受信を行うようにしている。
【0085】
上述したように、この実施例では遊技カードCはカード発行機1を認証し、カード発行機1は遊技カードCを認証し、互いに相手の認証を行った上で遊技カードCとの情報の送受を行う。この相互認証は、カード発行機1と遊技カードCとの間だけで情報の送受を行い、相手から受け取ったその情報を照合すればよいので簡易に行えるが、たとえ簡易であっても双方が相手を確実に認証できるので、遊技カードCの高セキュリティ性と相俟ってシステムとしてのセキュリティ性を高度に保持することができ、カード発行機1としての信頼性を向上させることができる。
【0086】
また、その相互認証において管理装置72のような第3者的な装置は介在しないので、情報の送受を速やかに行うことができ、このカード発行機1を使用する遊技者も、遊技カードCの発行を速やかに受けることができる。
【0087】
次に、遊技カードCをカード発行機1に装着したときの双方での制御内容について説明する。
【0088】
遊技カードCが実行する制御内容を、図11および図12のフローチャートに基づいて説明する。
図11および図12は遊技カードでの処理手順を示すフローチャートである。図において、遊技カードCは、先ずステップS1において電力供給信号(電磁波の供給)が有るか否かを判別する。電力供給信号は遊技カードCをカード発行機1のカードR/W制御装置291に装着したとき、カードR/W制御装置291から無線によって供給されるものである。
【0089】
ステップS1において電力供給信号が有ると判別したときは、遊技カードCがカードR/W21に装着してある場合であり、この場合は先ずカードR/W制御装置291からの情報を受信する処理を行い(ステップS2)、次いでカード発行機1からの識別番号を確認する処理を行う(ステップS3)。これは、カード発行機1の識別番号が正規のものであるかどうかを確認するものである。
続いてステップS4において識別番号がOKであるか否かの判別を行い、OKでなければステップS1に戻って処理を繰り返し、識別番号がOKであればカード発行機1からセキュリティコードの要求があるか否かの判別を行う(ステップS5)。セキュリティコードの要求があればセキュリティコードをカード発行機1に送信し、ステップS1に戻る。これにより、遊技カードCとカード発行機1との間で相互認証が行われる。
【0090】
相互認証が終了すると、ステップS5の判別結果はNOとなるので、ステップS6に進み、カード発行機1から情報の書き込み要求があるか否かの判別を行い、書き込み要求があれば情報の書き込みを行い(ステップS9)、ステップS1に戻る。これにより、カード発行機1からの情報が遊技カードCに書き込まれる。
【0091】
このとき遊技カードCに書き込まれる情報は、上述したように各装置の識別番号(カード発行機1、大型金額付加機87、遊技機82…、景品POS76、更新機85等の各識別番号)、遊技カードCのセキュリティコードや球貸し金額、貯球金額および持ち玉数の記載データ(この時点ではいずれも「0」)などである。カード発行機1から送信してくるカード発行機1の識別番号は真の識別番号であり、遊技カードCに予め書き込んであったカード発行機1の仮の識別番号はこのとき上書きされ真の識別番号となる。
【0092】
ステップS6で書き込み要求がなければステップS7に進み、遊技カードCが記憶している情報の読み出し要求があるか否かを判別し、読み出し要求があれば、要求のあった情報を送信する処理を行い(ステップS10)、ステップS1に戻る。これにより、カード発行機1から読み出し要求のあった遊技カードC内の対応情報がカード発行機1に送信される。
【0093】
一方、ステップS1において、電力供給信号が存在しないときは、遊技カードCが単体で動作する場合であり、先ずキースイッチ217をオンしたか否かを判別し(ステップS13)、キースイッチ217がオンしてなければステップS13に待機し、オンしていればそのオン信号の回数をカウントアップし(ステップS14)、そのカウント値が最大になればそのカウント値をクリアし(ステップS15,S16)、そうでなければカウント値に応じて、「0」であればそのLCD212に球貸し金額(残金)を表示し、「1」であれば持ち球数を表示し、「2」であれば貯球金額を表示し、「3」であればその遊技者の本日の遊技結果に対応した収支状況を表示し、また「4」であればその遊技カードCの有効期限を表示するというようにキースイッチ217のオン信号に応じて表示内容を変更させる(ステップS17〜S26)。
【0094】
次にカード発行機1の主制御装置1Mが実行する制御内容を、図13〜図50のフローチャートに基づいて説明する。
図13、図14および図15はカード発行機の主制御装置でのメイン処理の手順を示すフローチャートである。このメイン処理はカード発行機1の電源投入と同時に開始される。
【0095】
メイン処理が開始すると、先ずステップS31でCPU2やPIO15、PIO18、SIO16などの入出力ポートの初期化を行い、次にステップS32でデータやフラグなどの変数の初期化、周辺装置の初期化、およびワークRAM4やRAM7、Lボード17のデュアルポートRAMなどのワークエリアの初期化を行う。
【0096】
続いてステップS33でカードR/W制御装置291の初期化を行い、次にステップS34でネットワークの回線テストパケットを受信したか否かを判別する。これは、ネットワークを管理している管理装置72からの回線テストパケットを受信したか否かを判断するものであり、回線テストパケットを受信していなければ、ステップS41に進んでインターバル処理を実行した後このステップS34に戻り、回線テストパケットを受信するまで待機する。
【0097】
なお、ステップS41や後述するステップS42等におけるインターバル処理は、警告エラーの調査やその処理、小型入力装置28からの受信処理、停電検出時の処理などを行うものであり、その詳細は図50を用いて後述する。ここで、警告エラーとは、硬貨釣り銭不足のようなその後の発行動作が引き続き可能な程度のエラーをいい、釣り銭補充などによりその警告エラーは解消される。
ステップS34で回線テストパケットを受信すると、ステップS35に進んで回線テスト処理を行う。これは、回線がつながると管理装置72に対してカード発行機1からOKのACKを返すものである。
【0098】
次に、ステップS36で管理装置72から初期データを受信したか否かを判別する。初期データとしては、上述したようにカード発行機1、大型金額付加機87、遊技機82…、景品POS76、および更新機85の各識別番号や、遊技カードCのセキュリティコード、時間情報などがある。カード発行機1の識別番号としては、この時点では仮の識別番号と真の識別番号とがある。初期データを受信していなければ、ステップS42に進んでインターバル処理を実行した後このステップS36に戻り、初期データを受信するまで待機する。初期データを受信すると、ステップS37に進んで初期データ処理を行い、受信した初期データをカード発行機1のメモリ(RAM7)に書き込む。そして、この初期データは後述するカードデータ前期書込処理(図33のステップS1070)およびカードデータ後期書込処理(図44のステップS411)において、カード発行機1から認証済みの遊技カードCに初期値(遊技関連情報)として書き込まれる。
このように、初期データについては管理装置72側から送信してカード発行機1のメモリに記憶する。すなわち、遊技カードCに書き込むことになるデータについては管理装置72側から送信するようにしたので、その後の遊技システムにおいて重要となるデータの信頼性を十分に確保することができる。
【0099】
次に、ステップS38で稼働データを設定して管理装置72に送信する。これは、カード発行機1の稼働データを通信制御装置41のデュアルポートRAMに書き込むことにより、光送受信部1aを経由して赤外線通信により管理装置72に送信するものである。この稼働データは、例えば、後述の各処理で発生しカード発行機1の状態を示す「発行機状態」や、遊技カードCの発行枚数、不良カードの枚数、紙幣や硬貨の入金枚数、出金枚数、釣り銭硬貨の枚数などである。
このように、カード発行機1での稼働データを随時管理装置72に送信するようにしたので、管理装置72側ではリアルタイムにカード発行機1の稼働状況を把握することができ、経営上適切な処置を直ちにとれるようになる。
【0100】
次いで、ステップS39で開店を指示する開店パケットを受信したか否かを判別する。開店パケットを受信していなければ、ステップS43に進んでインターバル処理を実行した後このステップS39に戻り、開店パケットを受信するまで待機する。開店パケットを受信すると、ステップS40に進んで開店処理を行い、その後ステップS44に進む。この開店処理によりカード発行機1が開店状態となる。
【0101】
ところで、この実施例では、詳細は後述するように、遊技カードCを発行すると、次に発行操作を行う人がいなくても、カードタンクから次の遊技カードCを搬送してカードR/W制御装置291に装着し、その装着状態で遊技カードCを待機させる発行準備処理を採用している。したがって、カード発行機1が開店状態となったときには、すでに遊技カードCが装着されていることになる。
ステップS44では、L送信エリア(Lボード17のデュアルポートRAM)にカードデータリードコマンドを書き込み、上記のように開店状態となったときにすでに装着されている遊技カードCのデータを読み取るべく、カードR/W制御装置291に指令する。この指令を行った後、次のステップS45に進む。なお、この時点で遊技カードCに書き込んであるデータは、後述するように、時間情報以外の初期値(以下、「メイン初期値」という」)である。
【0102】
ステップS45ではリードACKフラグがオンであるか否かを判別する。このリードACKフラグは、装着してある遊技カードCがカードR/W制御装置291経由で主制御装置1Mからのカードデータリードコマンドを正常に受信したことを主制御装置1Mに通知してきたときに、後述するL受信割込処理(図26のステップS185,S193)においてセット(オン)されるものであり、リードACKフラグがオンであればステップS50に進む。
【0103】
ステップS50ではリードACKフラグをクリアし、次のステップS51に進む。
ステップS51では、エラー発生か否かを判別し、エラー発生でなければステップS52に進む。
【0104】
ステップS52では、リードレスポンスフラグがオンであるか否かを判別する。このリードレスポンスフラグは、カードR/W制御装置291が主制御装置1Mからのカードデータリードコマンドに応じて遊技カードCのデータを読み取り主制御装置1Mに送ってきたときに、後述するL受信割込処理(図27のステップS200,S206)においてセットされるものである。
【0105】
リードレスポンスフラグがオンでないときは、ステップS51に戻りステップS51およびS52を再度実行して待機する。ステップS52でリードレスポンスフラグがオンとなったときは、ステップS53に進む。
【0106】
ステップS53では、遊技カードCから読み取られ送られてきているデータ(メイン初期値)のチェック処理を行う。このチェック処理は、そのデータに関して、余分のデータが入っていないか、データに不足がないか、正確なデータであるかといったチェックである。
【0107】
ステップS53でのチェック処理の完了後は、ステップS54でそのデータチェックにおいてエラーが有ったか否かの判別を行い、エラーが無い、すなわちデータチェックの結果が正常であればステップS48に進む。
【0108】
一方、上記のステップS51でエラー発生のとき、あるいは上記のステップS54でエラーすなわちデータチェックの結果が異常のときは、ステップS55でエラーフラグをセットした後、ステップS47の発行準備処理を実行し、その後ステップS48に進む。
【0109】
また、上記のステップS45でリードACKフラグがオンでない、すなわち遊技カードCがカードR/W制御装置291経由のカードデータリードコマンドを正常に受信していないときは、ステップS46で待機時間としての1秒が経過したか否かを判別し、1秒が経過してもリードACKフラグがオンにならないときは、上記の場合と同様にステップS55でエラーフラグをセットした後、ステップS47の発行準備処理を実行し、その後ステップS48に進む。
【0110】
ステップS47の発行準備処理では、ステップS55でエラーフラグがセット(オン)されていることを受けて、詳細は後述するように、当該遊技カードCを回収するとともに、次の遊技カードCを搬送装着し、その装着した遊技カードCに対して認証とメイン初期値の書き込みとを行っている。
【0111】
このように、カード発行機1を立ち上げて開店状態としたときには、すでに装着してある遊技カードCが主制御装置1Mからのカードデータリードコマンドを正常に受信したかどうかを確認し、また装着してある遊技カードCに書き込まれているメイン初期値が正常であるかどうかを確認するようにしたので、例えば前日に装着してあって時間が経過した遊技カードCであってもそのセキュリティを確実に確保することができる。
【0112】
その際に、遊技カードCがカードデータリードコマンドを正常に受信しなかったり、メイン初期値に異常があるときは、その遊技カードCを回収して直ちに次の遊技カードCの装着、認証、およびメイン初期値の書き込みを行うようにしたので、遊技カードCの発行を受けようとする遊技者がカード発行機1の前に立つときには、正常な遊技カードCが待機している状態となる。したがって、立ち上げ時の遊技カードCに異常があっても、遊技者に速やかに遊技カードCを発行することができる。
【0113】
上記のステップS48ではリジェクトフラグをクリアし、次にステップS49で、リジェクトカウンタをクリアする。
【0114】
続いてステップS56で、後述の各処理で発生するステータス(例えば上記の「発行機状態」や各種フラグ)のチェックを行う。そのステータスが閉店でもなくまた致命的エラーでもないときは、カード発行機1が正常であるとして、ステップS57に進み人体検出処理を実行する。ここで、致命的エラーとは、例えばカードR/W制御装置291にトラブルが発生しその後の発行動作を行えないような動作不能エラーをいう。
【0115】
ステップS57の人体検出処理は、人体検出センサ35が遊技カードCの発行操作を行おうとする人を検出したときに行う処理であり、遊技カードCの発行を受けようとする人が貨幣を投入しさらに発行スイッチ107を押すことで発行スイッチフラグがオンとなるまでの各処理を行う。その詳細は図34〜図40を用いて後述する。
【0116】
次のステップS58では、人体検出処理の実行時に発生したステータスのチェックを行い、その結果、上記の人体検出処理が正常に実行され致命的エラーが発生していないと判別したときはステップS59に進み、カード発行処理を実行する。
このカード発行処理では、発行スイッチフラグがオンとなったことを受けて、その時点ですでに装着してあってメイン初期値も書き込んである遊技カードCにさらに時間情報を書き込んでその遊技カードCを発行するとともに、レシートRの発行を行い、そのとき釣り銭があれば釣り銭を払い出す一連の処理を行う。その詳細は図41〜図49を用いて後述する。
ステップS59でのカード発行処理が完了したときは、ステップS47の発行準備処理に戻る。この発行準備処理では、次の遊技カードCをカードタンクから搬送してカードR/W制御装置291に装着し、その装着した遊技カードCに対して認証とメイン初期値の書き込みとを行い、次の発行に備えて待機させ、その後上記のステップS57の人体検出処理を実行する。
このように、発行準備処理、人体検出処理、およびカード発行処理を繰り返し実行することで、遊技カードCの発行を継続して行っている。
【0117】
一方、上記のステップS56でステータスが閉店または致命的エラーのとき、また上記のステップS58でステータスが致命的エラーのときは、ステップS60に進む。
【0118】
ステップS60では、ステータスが閉店であるか否かを判別し、閉店でなければステータスが致命的エラーのときなのでステップS62に進みエラー処理を行う。このエラー処理では、管理装置72に対してエラー発生パケットを送信し、その後ステップS34に戻って管理装置72からの回線テストパケットの受信を待つことになる。カード発行機1でのエラーを解除した後、この回線テストパケットが管理装置72からカード発行機1へ送られてくることになる。
一方、ステップS60でステータスが閉店であるときは、ステップS61で閉店処理を行う。これによりカード発行機1は閉店状態となり、その後このメイン処理を終了する。
【0119】
次に、上記のメイン処理ルーチンに対して割り込みで実行する割込処理ルーチンを図16〜図27を用いて説明する。この割込処理は、停電割込処理、16msタイマ割込処理、100msタイマ割込処理、硬貨装置割込処理、紙幣装置割込処理、小型入力装置受信割込処理、光受信割込処理、およびL受信割込処理の各処理である。
【0120】
図16は停電割込処理を示すフローチャートである。停電検出が行われると、メイン処理に関係なくこの停電割込処理がスタートする。停電が検出されると、先ずステップS65で停電通知フラグがセットされる。この停電通知フラグはインターバル処理(図50)で使用される。
【0121】
次にステップS66において、ステータスでカード発行機1の動作状態のチェックを行い、ステータスが「キャンセル中」、「カード発行中」、「カード書込中」、「貨幣投入中」、「貨幣払出中」のいずれかであるときは、そのまま今回の停電割込処理を終了し復帰する。すなわち、カード発行機1がこれらの「キャンセル中」、「カード発行中」、「カード書込中」、「貨幣投入中」、「貨幣払出中」の動作状態にあるときは、無停電電源装置32によるバックアップに入り、その動作状態が終了するまで電源を保っている。
一方、ステータスが上記のいずれの動作状態でないときは、ステップS67でワークRAM4にデータをバックアップしその時点での状態を記憶させ、次のステップS68で無停電電源装置32を強制的にオフしてこの停電割込処理を終了する。
【0122】
図17および図18は16msタイマ割込処理のフローチャートである。このタイマ割込処理はメイン処理ルーチンに対して16ms毎にタイマ割り込みで実行するものであり、この割込処理では、先ずステップS71において、画像表示制御装置20の表示処理に関するデータ用としてRAM7内に割り当ててある表示エリアに記載されたコマンド(モード)の読み込み編集を行う。その各モードは、人体検出処理およびカード発行処理の各サブルーチンにおいて発生するものである。
【0123】
そして、その表示エリアに客待ちの状態で貨幣の投入を許可している「普段動作モード」が有るか否かを判別し(ステップS72)、「普段動作モード」が有ればモード01という表示用のモード番号とその対応データを画像表示制御装置20に送出する(ステップS81)。画像表示制御装置20では、その情報を画像表示インターフェイス12を経由して受け取り、後述するようにそれに対応する画像や音声を出力することになる。一方、ステップS72で「普段動作モード」が無ければ次のステップS73に進み、カードの発行手順を説明する「動作説明モード」が有るか否かを判別し、「動作説明モード」が有ればモード02というモード番号とその対応データを画像表示制御装置20に送出する(ステップS82)。
【0124】
以下同様にして、金額の投入を促す「金額投入促進モード」が有ればモード03とその対応データを送出し(ステップS74,S83)、カード発行をキャンセルする「キャンセルモード」が有ればモード04とその対応データを送出し(ステップS75,S84)、各装置の識別番号等の初期値を遊技カードCに書き込む「カード書込中モード」が有ればモード05とその対応データを送出し(ステップS76,S85)、さらに、その書き込みが終了したときの「カード書込完了モード」が有ればモード07とその対応データを送出する(ステップS77,S86)。
【0125】
上記ステップS71に基づく画像表示制御装置20への送信処理が終了すると、次にステップS78で小型入力装置28への送信処理を行う。次に、ステップS79のイベントカウンタ処理を行うことにより他の処理で利用される16ms倍数の時間を作成し、続いてステップS80で紙幣装置24および硬貨装置26の制御処理を行う。さらに、ステップS87で発行スイッチランプ22およびキャンセルスイッチランプ23に対して所定の点滅処理を指令し、ステップS88でそのランプ22,23の点滅時間や点灯時間を計数するタイマカウンタのインクリメント処理を行い、その後この16msタイマ割込処理を終了してメイン処理ルーチンに復帰する。
【0126】
図19は100msタイマ割込処理のフローチャートである。このタイマ割込処理はメイン処理ルーチンに対して100ms毎にタイマ割り込みで実行するものであり、この割込処理では、先ずステップS91においてエラー処理を行う。このエラー処理は、エラーの有無やセンサの状態を監視してフラグをセットしたり、モニタランプを点灯させたりするものである。
【0127】
次のステップS92では、人体検出センサ35がオンしたか否かの判別を行い、オンしていればステップS93で人体検出フラグをセットし、そうでなければステップS104で人体検出フラグをクリアし、その後それぞれステップS94に進む。
【0128】
ステップS94では時刻カウントが許可されているか否かの判別を行う。この時刻カウントは、管理装置72からの初期データを受信することにより許可されるものである。時刻カウントが許可であれば、次のステップS95に進んで100msカウンタで計数し、続いてステップS96で1秒経過したかの判別を行う。1秒経過であればステップS97に進んで現在時刻を計数し、さらにステップS98で定時としての10秒間が経過したか否かの判別を行い、10秒経過であれば、ステップS99で稼働データ送信依頼フラグをセットし、ステップS100に進む。ステップS98で定時としての10秒が経過していなければステップS99をスキップしてステップS100に進む。ステップS100では、100msカウンタをリセットする。すなわち、定時に到達したときは、100msカウンタをリセットした上で次のステップS101に進む。
【0129】
また、上記のステップS94で時刻カウントが許可でないとき、およびステップS96で1秒が経過していないときも、それぞれステップS101に進む。
ステップS101では、イベントカウンタ処理を行うことにより他の処理で利用される100ms倍数の時間を作成し、次にステップS102で稼働データ送信依頼フラグがオンであるか否かの判別を行う。稼働データ送信依頼フラグがオンであれば、ステップS103で通信制御装置送信処理を行う。
【0130】
この通信制御装置送信処理は、稼働データを通信制御装置41のデュアルポートRAMに書き込むことにより、光送受信部1aを経由して赤外線通信により管理装置72に10秒毎の定時データとして送信するものである。また、このとき稼働データ送信依頼フラグはオフされる。この稼働データは、上述したように、カード発行機1の状態を示す「発行機状態」や、遊技カードCの発行枚数、不良カードの枚数、紙幣や硬貨の入金枚数、出金枚数、釣り銭硬貨の枚数などである。
【0131】
ステップS103での通信制御装置送信処理の後、またはステップS102で稼働データ送信フラグがオンでないときは、そのままこの100msタイマ割込処理を終了してメイン処理ルーチンに復帰する。
【0132】
図20は硬貨装置割込処理のフローチャートである。この硬貨装置割込処理は、硬貨投入時および硬貨1枚払出終了時にメイン処理ルーチンに対して割り込みで実行するものである。
【0133】
この硬貨装置割込処理では、先ずステップS110において、割込要因が何であるかを判別し、割込要因が硬貨投入時であれば、ステップS111でその検知信号を硬貨の種別毎に識別してバッファ(RAM7の所定エリア)にストアし、続いてステップS112で硬貨受付禁止信号を硬貨装置26に送出してこの硬貨装置割込処理を終了しメイン処理ルーチンに復帰する。
【0134】
一方、ステップS110における判別で割込要因が硬貨1枚払出終了時であれば、ステップS113に進み、払出終了通知フラグをセットした後この硬貨装置割込処理を終了しメイン処理ルーチンに復帰する。
【0135】
図21は紙幣装置割込処理のフローチャートである。この紙幣装置割込処理は、紙幣挿入時、紙幣払出枚数転送終了時および紙幣払出枚数転送エラー時にメイン処理ルーチンに対して割り込みで実行するものである。
【0136】
この紙幣装置割込処理では、先ずステップS120において、割込要因が何であるかを判別し、割込要因が紙幣挿入であれば、ステップS121でその検知信号を紙幣の種別毎に識別してバッファ(RAM7の所定エリア)にストアし、続いてステップS122で紙幣受付禁止信号を紙幣装置24に送出してこの紙幣装置割込処理を終了しメイン処理ルーチンに復帰する。
【0137】
一方、ステップS120における判別で、割込要因が紙幣払出枚数転送終了時および紙幣払出枚数転送エラー時であれば、ステップS123に進んで、さらに紙幣払出枚数転送終了時であるか否かの判別を行い、紙幣払出枚数転送終了時であればステップS124で転送終了通知フラグをセットし、そうでなければ割込要因が紙幣払出枚数転送エラー時であるのでステップS125でエラーフラグをセットし、それぞれのフラグセットの終了後この紙幣装置割込処理を終了しメイン処理ルーチンに復帰する。
【0138】
図22は小型入力装置受信割込処理のフローチャートである。この小型入力装置受信割込処理は小型入力装置28からのデータをRS−422レシーバドライバ14およびSIO16を経由して主制御装置1Mが受信して行う処理であり、メイン処理ルーチンに対して割り込みで実行される。
【0139】
この割込処理では、先ずステップS130において受信バッファ(RAM7の所定エリア)がFULLの状態であるか否かの判別をバッファポインタのポイント値に基づいて行い、FULLでなければ次のステップS131でSIO16まで送られてきているデータを受信して受信バッファに書き込み、続いてステップS132でバッファポインタによるポイント値をインクリメントし、ステップS133に進む。一方、ステップS130で受信バッファがFULLのときは、ステップS131、ステップS132をスキップしてステップS133に進む。
【0140】
ステップS133では、受信データフラグをセットしてこの小型入力装置割込処理を終了しメイン処理ルーチンに復帰する。
【0141】
図23は光受信割込処理のフローチャートである。この光受信割込処理は管理装置72がカード発行機1の光送受信部1aにデータを送って来ると、通信制御装置41がそのデータをデュアルポートRAMに書き込むので、そのとき主制御装置1Mがそのデータを読み取って行う処理であり、メイン処理ルーチンに対して割り込みで実行される。
【0142】
この割込処理では、先ずステップS140において割込コードの解析を行う。これは、割込コードが以下のステップに示すようにパケット、ステータス、コマンドのいずれであるかを解析するものである。なお、パケットは管理装置72からのデータであり、ステータスおよびコマンドは通信制御装置41からのデータである。
【0143】
ステップS141では、割込コードの解析結果からパケットコードであるか否かを判別し、パケットコードのときはステップS142に進んで受信ステータスの読込処理を行う。これは、管理装置72より受信したデータの信頼性を確認するものである。例えば、受信したデータを通信制御装置41でCRCチェックして「OK」あるいは「NG」のデータを内部のデュアルポートRAMに書き込むので、そのチェックデータの確認を行うものである。
【0144】
次にステップS143で、受信したパケットを読み込んでそのパケットの情報をメモリに記憶し、次のステップS144に進む。この受信パケットは、例えば管理装置72からの開店パケット、初期データパケット、閉店パケット、動作中止要求パケット、動作再開要求パケット、稼働データACKパケットなどである。
【0145】
一方、上記のステップS141において、割込コードがパケットでないと判別したときは、ステップS145に分岐し、通信制御装置41からのステータス読込要求であるか否かの判別を行う。なお、ステップS145に分岐するのは割込コードがステータスあるいはコマンドの場合に相当し、これらのステータスおよびコマンドは通信制御装置41からのデータである。
ステータス読込要求であれば、次のステップS146で、受信したステータスを読み込んでそのステータスの情報を解析し、その受信ステータスに応じた処理を実行した後、ステップS144に進む。
【0146】
一方、上記のステップS145でステータス読込要求でないと判別したときは、ステップS147に進んで通信制御装置41からのコマンド読込要求であるか否かの判別を行う。コマンド読込要求であれば、次のステップS148で、受信したコマンドを読み込んでそのコマンドの情報を解析し、その受信コマンドに応じた処理を実行した後、ステップS144に進む。また、ステップS147でコマンド読込要求でないと判別したときは、割込コードはパケット、ステータス、コマンドのいずれでもないため、このようなときはエラー発生であるとしてステップS149でステータスを通信エラーとしてセットしステップS144に進む。
【0147】
ステップS144では、管理装置41に対してパケットを受け取ったことを知らせるべく、光送信エリア(通信制御装置41のデュアルポートRAM)に処理確認コードを書き込み、通信制御装置41、光送受信部1aを経由して管理装置72へ送信する。その後この光受信割込処理を終了しメイン処理ルーチンに復帰する。
【0148】
図24、図25、図26および図27はL受信割込処理のフローチャートであり、図25〜図27はそのL受信割込処理中のパケット受信処理サブルーチンを示している。このL受信割込処理はLボード17のデュアルポートRAMに書き込まれたカードR/W制御装置291からのデータを主制御装置1Mが読み取って行う処理であり、メイン処理ルーチンに対して割り込みで実行される。
【0149】
この割込処理では先ずステップS160において、Lボード17のデュアルポートRAMのデータの読み込みを行う。
次に、ステップS161において、カードR/W制御装置291の初期化処理が終了しているか否かの判別を行う。この判別は、カードR/W制御装置291から初期化の要求があったかどうかで行っている。初期化処理が終了していなければ、ステップS162でカードR/W制御装置291の初期化処理を実行してステップS163に進む。初期化処理が終了しているときは、ステップS162をスキップしてステップS163に進む。
【0150】
ステップS163では、カードR/W制御装置291からのR/W状態情報が有るか否かを判別し、R/W状態情報が有るときは状態受信処理を実行してその動作を監視し(ステップS164)、その後カードR/W制御装置291からのパケットデータ受信に基づくパケット受信処理を行う(ステップS165)。
また、ステップS163でR/W状態情報が無いときはステップS164をスキップして直接ステップS165のパケット受信処理に入る。
【0151】
図25〜図27のパケット受信処理では、先ずステップS170において、パケットデータが有るか否かの判別を行い、パケットデータが無いときはそのままこのL受信割込処理を終了する。パケットデータが有るときはパケットデータの解析を行い(ステップS171)、パケットが回線テストACKであるか否かを判別する(ステップS172)。この回線テストACKは、主制御装置1MからカードR/W制御装置291に回線テストパケットを送ったときカードR/W制御装置291がその回線テストパケットを正常に受信したことを主制御装置1Mに通知する確認のための情報である。パケットが回線テストACKであれば回線テストACK受信処理を行い、回線テストACK受信に対応するフラグをセットして他の処理での使用に供する(ステップS177)。パケットが回線テストACKでなければ開店ACKであるか否かを判別する(ステップS173)。
【0152】
以下、同様にして開店ACKであれば開店ACK受信処理を行い(ステップS178)、開店ACKでなければ閉店ACKであるか否かを判別する(ステップS174)。閉店ACKであれば閉店ACK受信処理を行い(ステップS179)、閉店ACKでなければ停電復旧ACKであるか否かを判別する(ステップS175)。停電復旧ACKであれば停電復旧ACK受信処理を行い(ステップS180)、停電復旧ACKでなければ停電退避ACKであるか否かを判別する(ステップS176)。
【0153】
受信パケットが停電退避ACKであれば停電退避ACK受信処理を行い(ステップS181)、停電退避ACKでなければ開店準備ACKであるか否かを判別する(ステップS182)。開店準備ACKであれば開店準備ACK受信処理を行い(ステップS190)、開店準備ACKでなければEJECTACKであるか否かを判別する(ステップS183)。ここで、EJECTACKとは遊技カードCのヘッド部分をカード発行口112から出せとの指令に対するACKである。
【0154】
受信パケットがEJECTACKであればEJECTACK受信処理を行い(ステップS191)、EJECTACKでなければカードデータライトACKであるか否かを判別する(ステップS184)。カードデータライトACKであればライトACK受信処理を行い(ステップS192)、カードデータライトACKでなければカードデータリードACKであるか否かを判別する(ステップS185)。
【0155】
カードデータリードACKであればリードACK受信処理を行い(ステップS193)、カードデータリードACKでなければEJECTレスポンスであるか否かを判別する(ステップS186)。ここで、EJECTレスポンスとは、遊技者が遊技カードCを抜いて遊技カードCが発行された状態であることを示すためのカードR/W制御装置291からの応答である。EJECTレスポンスであればEJECTレスポンス受信処理を行ってカード発行完了フラグをセットし(ステップS194)、EJECTレスポンスでなければカードIN(遊技カードCが装着された状態)であるか否かを判別する(ステップS187)。カードINであればカードIN受信処理を行ってカード装着フラグをセットし(ステップS195)、カードINでなければエラーパケット(カード詰まり等のエラーが発生した状態)であるか否かを判別する(ステップS188)。
【0156】
受信パケットがエラーパケットであればエラーパケット受信処理を行い(ステップS196)、エラーパケットでなければR/Wステータス(カードR/W制御装置291の現在の状態報告:例えば、遊技カードCのデータの読み出し中、遊技カードCの搬送中など)であるか否かを判別する(ステップS189)。R/WステータスであればR/Wステータス受信処理を行い(ステップS197)、R/WステータスでなければリジェクトACKであるか否かを判別する(ステップS198)。ここで、リジェクトACKとは、カード回収指令に対するACKである。リジェクトACKであればリジェクトACK受信を行ってリジェクトACKフラグをセットし(ステップS204)、リジェクトACKでなければリジェクトレスポンスであるか否かを判別する(ステップS199)。ここで、リジェクトレスポンスとは、カード回収完了を知らせるカードR/W制御装置291からのレスポンスである。
【0157】
受信パケットがリジェクトレスポンスであればリジェクトレスポンス受信処理を行ってリジェクトレスポンスフラグをセットし(ステップS205)、リジェクトレスポンスでなければカードデータリードレスポンス(遊技カードCから読み出したデータ)であるか否かを判別する(ステップS200)。カードデータリードレスポンスであればカードデータリードレスポンス受信処理を行う(ステップS206)。このカードデータリードレスポンス受信処理では、Lボード17のデュアルポートRAMを経由して受け取った情報を自メモリに書き込み他の処理での使用に供する。
【0158】
受信パケットがカードデータリードレスポンスでなければカードデータライトレスポンス(遊技カードCへの書き込み完了応答)であるか否かを判別する(ステップS201)。カードデータライトレスポンスであればカードデータライトレスポンス受信処理を行ってレスポンス受信フラグをセットし(ステップS207)、カードデータライトレスポンスでなければID受信であるか否かを判別する(ステップS202)。ここで、ID受信とは、遊技カードC側で当該カード発行機1が正当なものであるか否かの認証を仮の識別番号に基づいて行い、正当であると認証したとき、今度はその遊技カードCが自分の正当性を判別してもらうためにセキュリティコードとカード番号をカード発行機1に通知してくるので、そのセキュリティコードとカード番号を受信することをいう。
【0159】
ID受信であればID受信処理を行う(ステップS208)。このID受信処理では、ID受信フラグをセットするとともに、遊技カードCからセキュリティコードやカード番号を受信して自メモリに書き込み、カード発行機1側での認証処理に供する。ID受信でなければ再度パケットデータが有るか否かの判別を行い(ステップS203)、パケットデータが無いときはこのL受信割込処理を終了し、パケットデータが有るときは上記のステップS171に戻る。
【0160】
なお、上記のステップS177〜ステップS181、ステップS190〜ステップS197、ステップS204〜ステップS208ではそれぞれの処理を行った後ステップS203の判別処理を行うようになっている。
【0161】
次に、図13、図14および図15のメイン処理ルーチンに戻って、ステップS47での発行準備処理サブルーチン、ステップS57での人体検出処理サブルーチン、ステップS59でのカード発行処理サブルーチン、およびステップS41等でのインターバル処理サブルーチンについて順に説明する。
【0162】
先ず発行準備処理サブルーチンから説明する。発行準備処理サブルーチンは、上述したように、遊技カードCが発行されたことを受けて引き続き行う処理であり、カードタンクにある遊技カードCをカードR/W制御装置291まで搬送して装着し、相互認証と、メイン初期値の書き込みとを行う。この発行準備処理によって、次に遊技カードCの発行を受ける人がカード発行機1の前に立ったときは、発行される遊技カードCは、すでに装着状態にあり、その遊技カードCとの間での相互認証および遊技カードCへのメイン初期値の書き込みも完了していることになる。
【0163】
図28〜図33は発行準備処理サブルーチンを示すフローチャートである。この発行準備処理サブルーチンでは、先ずステップS1001において、動作ステータス(発行機状態)を「カード書込中」とし、次のステップS1002に進む。
ステップS1002ではエラーフラグが有るか否かを判別し、エラーフラグが無ければ次のステップS1010に進む。この場合のエラーフラグは、図14のステップS55でセットされたものであり、カード発行機1が開店状態となったけれども、装着してあった遊技カードCに対する読み取りが正常に行われなかったときなどにセットされるフラグである。
ステップS1010では詳細は後述するIDチェック処理を行う。このIDチェック処理では、カード搬送および相互認証を行い、ステータスとして認証結果OK、認証結果NG、または致命的エラーを検出するまでの処理を行う。
【0164】
次のステップS1011ではステータスをチェックし、ステータスが致命的エラーであれば、ステップS1023に進む。
一方、ステップS1011でステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS1012に進み、認証結果OKであるか否かを判別する。認証結果OKであれば詳細は後述するカードデータ前期書込処理(図33)を実行して、遊技カードCにメイン初期値を書き込む処理を行い、その後、ステップS1023に進む。このカードデータ前期書込処理の詳細は後述する。
ステップS1023では、エラーフラグが有るか否かを判別し、エラーフラグが無ければそのままこの発行準備処理サブルーチンを終了する。この場合のエラーフラグは、遊技カードCへのメイン初期値の書き込みが正常に行われなかったときなどにセットされたフラグである。
ステップS1012で、認証結果がOKでない、すなわち認証結果NGのときは、次のステップS1013に進む。
【0165】
ステップS1013では、光送信エリア(通信制御装置41のデュアルポートRAM)にカード不良コマンドを書き込んで管理装置72に不良カード発生のパケットを送信するための処理を行い、次のステップS1014に進む。
このように、相互認証が正常に行われなかったときにその異常発生の情報を管理装置72に送信するようにしたので、管理装置72側で随時不良カードの発生状況を把握することができ、遊技店70では、カード会社74に連絡するなど適切にその異常に対応することができる。
【0166】
ステップS1014では、L送信エリア(Lボード17のデュアルポートRAM)にリジェクトコマンドを書き込んでカードR/W制御装置291に対してカード回収を指令し、次のステップS1015に進む。Lボード17のデュアルポートRAMにコマンドを書き込むことにより、Lボード17、Lボード29を経由してカードR/W制御装置291にそのコマンドが送信される。
【0167】
ステップS1015では、リジェクトACKフラグがオンであるか否かを判別する。このリジェクトACKフラグは、上記のL受信割込処理のステップS204でセットされたものであり、カードR/W制御装置291が主制御装置1Mからのリジェクトコマンドを正常に受信したことを主制御装置1Mに通知してきたときにセットされるものである。
【0168】
リジェクトACKフラグがオンでないときは、ステップS1016で待機時間としての1秒が経過したか否かを判別し、1秒が経過してもリジェクトACKフラグがオンでないときはカードR/W制御装置291への送信が不良であるとしてステップS1017で致命的エラーをセットし、その後ステップS1010に戻る。
【0169】
一方、ステップS1015でリジェクトACKフラグがオンであると判別したときは、ステップS1018に進んでリジェクトACKフラグをクリアし、次のステップS1019でエラー発生であるか否かを判別する。エラー発生であれば上記のステップS1017で致命的エラーをセットし、その後ステップS1010に戻る。
【0170】
ステップS1019でエラー発生でなければ、ステップS1020に進み、リジェクトレスポンスフラグがオンであるか否かを判別する。このリジェクトレスポンスフラグは、上記のL受信割込処理のステップS205でセットされたものであり、カードR/W制御装置291が主制御装置1Mからのリジェクトコマンドに応じてカード回収を行い、それが正常に完了したことを主制御装置1Mにレスポンスしてきたときにセットされるものである。
【0171】
リジェクトレスポンスフラグがオンでないときは、ステップS1019に戻って待機し、一方、リジェクトレスポンスフラグがオンのときは、ステップS1021に進んでリジェクトレスポンスフラグをクリアした後、上記のステップS1010に戻り、後述するように次に待機している遊技カードCの搬送装着を指令する。
【0172】
一方、上記のステップS1002でエラーフラグ(遊技カードCからのメイン初期値読み取り時のエラー)が有ると判別したとき、また上記のステップS1023でエラーフラグ(遊技カードCへのメイン初期値書き込み時のエラー)が有ると判別したときは、ステップS1024に進む。ステップS1024ではエラーフラグをクリアし、その後上記のステップS1013に進む。
【0173】
このように、装着した遊技カードCが正当なものでないときや、カード発行機1立ち上げ時の遊技カードCのメイン初期値が正常でないとき、また遊技カードCへのメイン初期値書き込みが正常に行えないときは、その遊技カードCを回収し、次に待機している遊技カードCを装着して認証とメイン初期値の書き込みとを行い、発行準備処理を完了させるようにしたので、そのような事態が発生しても直ちに対応でき、カード発行を受ける操作者がカード発行機1の前にたつときには、正常な遊技カードCがすでに待機しており、速やかに遊技カードCの発行を行うことができる。
【0174】
次に、上記の発行準備処理におけるステップS1010でのIDチェック処理について説明する。
図30はIDチェック処理を示すフローチャートである。このIDチェック処理では、遊技カードCの搬送装着および相互認証を行い、ステータスとして認証結果OK、認証結果NG、または致命的エラーを検出するまでの処理を行う。
先ずステップS1030においてステータスをチェックし、ステータスが致命的エラーであれば、そのままこのIDチェック処理を終了する。ステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS1031に進む。
【0175】
ステップS1031では、L送信エリア(Lボード17のデュアルポートRAM)にカード搬送コマンドを書き込んでカードR/W制御装置291に対して遊技カードCをカードタンクから取り出し装着する指令を出し、次のステップS1032に進む。
【0176】
ステップS1032では、カード装着フラグがオンであるか否かを判別する。このカード装着フラグは、上記のL受信割込処理のステップS195でセットされたものであり、カードR/W制御装置291が主制御装置1Mからのカード搬送コマンドに応じて遊技カードCの搬送装着を行い、それが正常に完了したことを主制御装置1Mに知らせてきたときにセットされるものである。
【0177】
カード装着フラグがオンでないときは、ステップS1033で待機時間としての10秒が経過したか否かを判別し、10秒が経過してもカード装着フラグがオンでないときはカードR/W制御装置291側の不良であるとしてステップS1034で致命的エラーをセットし、次のステップS1035に進む。
一方、ステップS1032でカード装着フラグがオンであると判別したときは、ステップS1033、ステップS1034をスキップして直接ステップS1035に進む。
【0178】
ステップS1035では、L送信エリア(Lボード17のデュアルポートRAM)にID要求コマンドおよび当該カード発行機1の仮の識別番号を書き込んでカードR/W制御装置291に送信するための処理を行い、次のステップS1036に進む。
ステップS1036ではIDチェック受信待ち処理を行う。このIDチェック受信待ち処理は、遊技カードC側で当該カード発行機1が正当なものであるか否かの認証を仮の識別番号に基づいて行い、正当なものであると認証したとき、今度はその遊技カードCが自分の正当性を判別してもらうためにセキュリティコードとカード番号をカード発行機1に送ってくるので、そのセキュリティコードとカード番号の受け取りをチェックする処理である。
【0179】
このIDチェック受信待ち処理を図31を用いて説明すると、先ずステップS1050においてステータスをチェックし、ステータスが致命的エラーであれば、そのままこのIDチェック処理を終了し、ステータスが致命的エラーでなければ正常であるとして次のステップS1051に進む。
【0180】
ステップS1051では、ID受信フラグがオンであるか否かを判別する。このID受信フラグは、遊技カードC側で当該カード発行機1が正当であると認証したとき、今度はその遊技カードCが自分の正当性を判別してもらうためにセキュリティコードとカード番号をカード発行機1に送ってくるので、そのセキュリティコードとカード番号を上記のL受信割込処理で取り込んだ場合にセットされるフラグである(図27のステップS208)。
【0181】
ステップS1051でID受信フラグがオンであると判別したときは、ID受信フラグをクリアしてそのままこのIDチェック受信待ち処理を終了し、IDチェック処理に復帰する。
一方、ID受信フラグがオンでないときは、ステップS1052でインターバル処理を行い、次のステップS1053で待機時間としての1秒が経過したか否かを判別し、1秒が経過しないときはステップS1050に戻ってステップS1290以降を繰り返し実行し、1秒が経過してもID受信フラグがオンでないときはリトライ要求フラグをセットしてそのままこのIDチェック受信待ち処理を終了し、IDチェック処理に復帰する。
【0182】
図30のIDチェック処理に戻って、ステップS1036のIDチェック受信待ち処理が終了すると、次のステップS1037に進む。
ステップS1037ではステータスをチェックし、ステータスが致命的エラーであれば、そのままこのIDチェック処理を終了し、ステータスが致命的エラーでなければ正常であるとして次のステップS1038に進む。
【0183】
ステップS1038では、リトライ要求フラグがオンであるか否かを判別する。リトライ要求フラグがオンでないときは、遊技カードC側がカード発行機1を正当と認証したときであり、このときはステップS1039で、遊技カードCから受信したカード番号とセキュリティコードを読み込み、続いてステップS1040でセキュリティコード認証処理を行ってこのIDチェック処理を終了する。ここで、セキュリティコード認証処理は、カード発行機1が、遊技カードCから受け取ったセキュリティコードに基づいて当該遊技カードCが正当なものであるか否かの認証を行う処理である。
【0184】
このセキュリティコード認証処理を図32を用いて説明すると、先ずステップS1060においてセキュリティコードの先頭文字を読み込み、次にステップS1061で認証結果OKをセットし、次のステップS1062でセキュリティコード文字列の終端に達したか否かを判別する。セキュリティコード文字列の終端に達していなければ、ステップS1063に進み、現時点で読み込んでいる文字が、予めカード発行機1側で認識している文字(管理装置72からカード発行機1に初期データとして送られてきているセキュリティコード)と一致するかどうかの認証チェックを行う。認証チェックが正常であれば次のステップS1064で次の文字を読み込みステップS1062に戻り、ステップS1062、S1063、S1064を繰り返し実行する。そして、ステップS1063の認証チェックに異常があれば、ステップS1065に進んで認証結果NGをセットしてこのセキュリティコード認証処理を終了し、その後IDチェック処理もそのまま終了する。
【0185】
また、ステップS1062で文字列の終端に達したときは、全文字(例えば8バイト)にわたって認証チェックが正常であり、このときは認証結果OKにセットしたままでこのセキュリティコード認証処理を終了し、その後IDチェック処理もそのまま終了する。
【0186】
図30のIDチェック処理に戻って、ステップS1038でリトライ要求フラグがオンのときは、遊技カードC側がカード発行機1を正当でないと認証したときであり、このときはステップS1041でリトライ要求フラグをクリアし、次のステップS1042で認証結果NGをセットし、その後このIDチェック処理を終了する。
【0187】
次に、上記の発行準備処理におけるステップS1022でのカードデータ前期書込処理について説明する。
図33はカードデータ前期書込処理を示すフローチャートである。このカードデータ前期書込処理では、先ずステップS1070においてL送信エリア(Lボード17のデュアルポートRAM)に、遊技カードCへの書き込みを指令するカードデータライトコマンドを書き込むとともに、「更新機85の識別番号」、「カード発行機1の真の識別番号」、「大型金額付加機87の識別番号」、「遊技機82の識別番号」、「景品POS176の識別番号」、「最終ホール名」および「最終ホールの識別番号」をメイン初期値として書き込む。この処理により、これらのメイン初期値が遊技カードCに書き込まれる。
【0188】
この遊技カードCへの書き込みは、図29のステップS1012での認証結果がOKであることを受けて行うものである。すなわち、遊技カードCには、相互認証を完了し正当と判断されたものにのみ、その後の遊技システムで必要となるメイン初期値を書き込んで発行するようにし、正当でない遊技カードCには書き込まれないこととなるので、メイン初期値のような重要情報が不用意に流出するのを防止することができる。
【0189】
次のステップS1071では、カードデータライトレスポンス(遊技カードCへの書き込み完了応答)を受けてセットされるレスポンス受信フラグが有るか否かを判別する。
【0190】
レスポンス受信フラグが有るときは、遊技カードCへのメイン初期値の書き込みが正常に行われた場合であり、この場合はステップS1075でレスポンス受信フラグをクリアし、次のステップS1076でステータスをチェックし、ステータスが正常であればそのままこのカードデータ前期書込処理を終了する。
【0191】
ステップS1076でステータスが致命的エラーであれば、次のステップS1074でエラーフラグをセットした後、このカードデータ前期書込処理を終了する。
【0192】
一方、ステップS1071でレスポンス受信フラグが無いときは、ステップS1072でインターバル処理を行い、続いてステップS1073で待機時間としての1秒が経過したか否かを判別し、1秒が経過しないときはステップS1071に戻ってステップS1071以降を繰り返し実行し、1秒が経過してもレスポンス受信フラグが無いときは、遊技カードCへのメイン初期値の書き込みに異常があるとして、ステップS1074でエラーフラグをセットしそのままこのカードデータ前期書込処理を終了する。
【0193】
このように、上記の発行準備処理では、次に遊技カードCの発行を受ける人が操作を行うときには、発行される遊技カードCは、すでに装着状態にあり、その遊技カードCとの間での相互認証および遊技カードCへのメイン初期値の書き込みは完了していることになる。発行を受ける操作者による金額の投入があったときは、後述するように、時間情報を書き込んで発行するだけである。したがって、遊技カードCの発行に際して発行を受ける人をほとんど待たせることなく速やかに発行することができる。
また、時間情報は、カード発行の直前に遊技カードCに書き込むことになり、発行時と同一となるので、日付が異なってしまうようなことは発生せず、遊技カードCを一枚も無駄にすることなく発行することができる。
さらに、遊技カードCはプロセッサを内蔵しているため、磁気カードなどに比べて一枚当たりの価格が高額であるが、その高価格の遊技カードCを一枚も無駄にしないので、その経済的効果も高いものとなる。
【0194】
次にメイン処理ルーチン(図13〜図15)に戻ってステップS57での人体検出処理サブルーチンについて説明する。
人体検出処理サブルーチンは、上述したようにカード発行機1の前に立った客を検出し、その客が貨幣を投入し発行スイッチ107を押すまでの各処理を行うものである。発行スイッチ107が押されると、次のカード発行処理サブルーチンに進む。
この人体検出処理サブルーチンに基づくカード発行機1の動作は、概略次のようになる。
【0195】
すなわち、カード発行機1は最初に普段動作(貨幣投入を許可し客待ちをしている状態)を実行し、人体を検出したときに普段動作から説明動作(ガイダンス部103で当該遊技システムでの遊技手順を概略的に説明し案内するシステムガイダンスを行っている状態)に移行し貨幣の投入を待つ。この説明動作時に貨幣の投入があると、貨幣投入動作に移行し、受け付けた投入金額をCRT表示画面104に表示し、投入金額が「発行単価」以上に達すると、貨幣投入を禁止し、発行スイッチ107がオンとなるのを待つ。なお、「発行単価」は、遊技カードC一枚の購入価格であり、例えば千円に設定される。
【0196】
発行スイッチ107がオンになると、カード発行機1は上記のカード発行処理サブルーチンに基づくカード発行動作に移行する。
発行スイッチ107でなく、キャンセルスイッチ108または返却レバー111がオンになると、それまでに投入された金額を返却し、普段動作に戻る。
なお、普段動作時に貨幣投入があると、直接貨幣投入動作に移行することになる。また、人体検出が有っても、貨幣投入がされていない状態で客が立ち去り、人体検出がオフになると、再び普段動作に戻る。
【0197】
図34〜図40は人体検出処理サブルーチンを示すフローチャートである。この人体検出処理サブルーチンでは、先ず図34のステップS220においてステータスのチェックを行い、ステータスが閉店または致命的エラーであるときは、そのままこの人体検出処理を終了する。ステータスが閉店でもなくまた致命的エラーでもないときは、カード発行機1が正常であるとして、ステップS221に進み人体検出待ち処理を実行する。
【0198】
ステップS221の人体検出待ち処理は、詳細は後述するように人体を検出しその客に上記のシステムガイダンスを行い、ステータスが発行スイッチフラグオン、キャンセルスイッチフラグオン、閉店または致命的エラーであること検出するまでの処理を行う。
【0199】
次のステップS222では貨幣投入禁止処理を行って一連の処理が終了するまでの貨幣の投入を禁止する。
続いてステップS223で再度ステータスチェックを行う。このステータスチェックは上記ステップS221での人体検出待ち処理の実行時に発生したステータスのチェックであり、ステータスが発行スイッチフラグオン、閉店、致命的エラーのいずれかであるときは、この人体検出処理サブルーチンを終了する。
【0200】
一方、ステータスがキャンセルスイッチフラグオンであればステップS224に進み、詳細は後述する投入金額払戻処理を実行してキャンセルに伴う払い戻し処理を行い、キャンセルスイッチフラグをクリアした後ステップS220に戻る。
【0201】
次に、上記ステップS221での人体検出待ち処理について図35〜図39を用いて説明する。
図35は人体検出待ち処理を示すフローチャートである。この人体検出待ち処理は人体を検出しその客にシステムガイダンスを行い、ステータスが発行スイッチフラグオン、キャンセルスイッチフラグオン、閉店または致命的エラーであることを検出するまでの処理を行う。
【0202】
先ずステップS230およびステップS231においてRAM7内のデータの初期化を行う。すなわち、ステップS230においてカード番号とセキュリティコードとをクリアし、次のステップS231において投入金額を0に設定する。続いてステップS232でステータスチェックを行い、ステータスが閉店でもなく致命的エラーでもないときは、カード発行機1は正常であるとして次のステップS233に進む。
【0203】
ステップS233では、詳細は後述する検出待ち処理を実行し、貨幣の投入を許可した状態で普段動作を継続しつつ人体の検出を待ち、ステータスが貨幣投入有り、人体検出フラグ有り、閉店、または致命的エラーであることを検出するまでの処理を行う。この検出待ち処理の後、次のステップS234に進む。
【0204】
ステップS234では再度ステータスのチェックを行う。このステータスチェックは上記ステップS233での検出待ち処理の実行時に発生したステータスのチェックであり、ステータスが貨幣投入有り、閉店、致命的エラーのいずれでもなく、したがってステータスが人体検出フラグ有りのとき、次のステップS235に進む。
ステップS235では、詳細は後述する動作説明処理を実行する。この動作説明処理は、システムガイダンスを行いつつ、ステータスが貨幣投入有り、人体検出フラグオフ(人体の検出なし)、閉店または致命的エラーであることを検出するまでの処理を行う。この動作説明処理を終了すると、上記のステップS232に戻る。
【0205】
一方、上記のステップS234で、ステータスが貨幣投入有り、閉店、致命的エラーのいずれかであるときは、ステップS236に分岐して再びステータスのチェックを行い、ステータスが貨幣投入有りのときは、ステップS237で動作ステータス(発行機状態)を「貨幣投入中」とする。
続いてステップS238で、詳細は後述する貨幣投入処理を実行して貨幣投入に応じた処理を行う。この貨幣投入処理では、ステータスが発行スイッチフラグオン、キャンセルスイッチフラグオンまたは致命的エラーであることを検出するまでの処理を行い、この貨幣投入処理を終了すると人体検出待ち処理も終了し人体検出処理に復帰する。
【0206】
また、ステップS236でステータスが閉店または致命的エラーのときは、ステップS237およびステップS238をスキップしてそのままこの人体検出待ち処理を終了し人体検出処理に復帰する。
【0207】
次に、上記の人体検出待ち処理(図35)におけるステップS233での検出待ち処理、ステップS235での動作説明処理、およびステップS238での貨幣投入処理について順に説明する。
図36は検出待ち処理を示すフローチャートである。この検出待ち処理は、貨幣の投入を許可した状態で普段動作を継続しつつ人体の検出を待ち、ステータスが貨幣投入有り、人体検出フラグ有り、閉店、または致命的エラーであること検出するまでの処理を行う。
【0208】
先ずステップS240において、動作ステータスを「普段動作中」として次のステップS241に進む。
ステップS241では、RAM7の表示エリアに普段動作モードと書き込んで、客待ち状態であることを示す普段動画をCRT表示画面104で表示するための処理を行う。
続いてステップS242において普段動作中であることを示すランプ点滅パターンをRAM7に書き込んでランプ点滅のための処理を行い、さらにステップS243において貨幣投入禁止フラグをクリアする。
【0209】
次にステップS244においてステータスをチェックし、ステータスが閉店でも致命的エラーでもなく正常なときは、ステップS245で貨幣投入有りであるか否かの判別を行い、貨幣投入有りでないときすなわち貨幣が投入されていないと判別したときは、ステップS246でインターバル処理を行い、その後ステップS247で人体検出フラグが有るか否かを判別する。
ステップS247で人体検出フラグが無いすなわち人体を検出していないと判別したときは、ステップS244に戻り、ステップS244以降を繰り返し実行する。
一方、ステップS244でステータスが閉店または致命的エラーのとき、ステップS245で貨幣投入有りと判別したとき、およびステップS247で人体検出フラグ有りと判別したときは、そのままこの検出待ち処理を終了する。
【0210】
図37は動作説明処理を示すフローチャートである。この動作説明処理は、システムガイダンスを行いつつ、ステータスが貨幣投入有り、人体検出フラグオフ(人体の検出なし)、閉店または致命的エラーであることを検出するまでの処理を行う。
【0211】
先ずステップS250においてステータスのチェックを行い、ステータスが致命的エラーでなく正常なとき、ステップS251において動作ステータスを「説明動作中」とし、次のステップS252に進む。
ステップS252では、RAM7の表示エリアに動作説明モードと書き込み、システムガイダンスを行う説明動画をCRT表示画面104で表示するための処理を行う。
【0212】
次にステップS253においてステータスをチェックし、ステータスが閉店でも致命的エラーでもなく正常なときは、ステップS254で貨幣投入有りであるか否かの判別を行い、貨幣投入有りでないときすなわち貨幣が投入されていないと判別したときは、ステップS255でインターバル処理を行い、その後ステップS256で人体検出フラグが有るか否かを判別する。
ステップS256で人体検出フラグが有るすなわち人体を検出していると判別したときは、ステップS253に戻り、ステップS253以降を繰り返し実行する。
【0213】
一方、ステップS253でステータスが閉店または致命的エラーのとき、ステップS254で貨幣投入有りと判別したとき、およびステップS256で人体検出フラグ無しと判別したときは、そのままこの動作説明処理を終了する。
【0214】
図38は貨幣投入処理を示すフローチャートである。この貨幣投入処理は、貨幣投入に応じて行う実行する処理であり、ステータスが発行スイッチフラグオン、キャンセルスイッチフラグオンまたは致命的エラーであることを検出するまでの処理を行う。
【0215】
先ずステップS260において、貨幣が投入された状態(貨幣投入中)であることを示すランプ点滅パターンをRAM7に書き込み、ランプ点滅のための処理を行う。
次にステップS261においてステータスのチェックを行い、ステータスが発行スイッチフラグオン、キャンセルスイッチフラグオン、致命的エラーのいずれでもないとき、次のステップS262で釣り銭金額を算出する。
続いてステップS263でRAM7の表示エリアに金額投入モードと書き込み、また投入金額および上記ステップS262で求めた釣り銭金額を書き込んで表示のための処理を行う。
【0216】
次のステップS264では、投入金額が「発行単価」以上であるか否かを判別し、「発行単価」以上であるときはステップS265で貨幣投入禁止フラグがオンであるか否かを判別し、貨幣投入禁止フラグがまだオンになっていないときはステップS266で貨幣投入禁止フラグをセットし、その後ステップS267に進む。
一方、ステップS264で投入金額が「発行単価」に達していないとき、またステップS265で貨幣投入禁止フラグがすでにオンになっているときも、ステップS267に進む。
【0217】
ステップS267ではキャンセルスイッチ処理を行う。このキャンセルスイッチ処理を図39を用いて説明すると、先ずステップS270においてステータスをチェックし、ステータスが致命的エラーでなければ次のステップS271でインターバル処理を行う。
続いてステップS272でキャンセルスイッチ108がオンであるか否かを判別する。キャンセルスイッチ108がオンであるときは、ステップS279に分岐してキャンセルスイッチフラグをセットしてステップS276に進む。
【0218】
キャンセルスイッチ108がオンでなければステップS273で投入金額が「発行単価」に達しているか否かを判別し、「発行単価」に達していればステップS274で発行スイッチ107がオンであるか否かを判別する。発行スイッチ107がオンであれば次のステップS275で発行スイッチフラグをセットしてステップS276に進む。
【0219】
ステップS273で投入金額が「発行単価」に達していないとき、またステップS274で発行スイッチ107がオンでないときも、それぞれステップS276に進む。
【0220】
ステップS276では貨幣の追加有りであるか否かを判別し、貨幣の追加が無ければ次のステップS277およびステップS278で発行スイッチフラグがオンであるか否か、またキャンセルスイッチフラグがオンであるか否かを判別し、いずれのフラグもオンでないときはステップS270に戻って、ステップS270以降を繰り返し実行する。
【0221】
一方、ステップS270でステータスが致命的エラーであるとき、ステップS276で貨幣の追加有りのとき、ステップS277で発行スイッチフラグがオンのとき、またはステップS278でキャンセルスイッチフラグがオンのときは、それぞれこのキャンセルスイッチ処理を終了し、上記図38の貨幣投入処理に復帰しそのステップS261以降を実行する。
【0222】
図38に戻って、ステップS261でステータスが発行スイッチフラグオン、キャンセルスイッチフラグオン、致命的エラーのいずれかであるときは、この貨幣投入処理を終了する。
【0223】
次に人体検出処理(図34)のステップS224での投入金額払戻処理サブルーチンについて、図40を用いて説明する。
図40は投入金額払戻処理を示すフローチャートである。この投入金額払戻処理は、上述したようにキャンセルに伴う払い戻し処理を行うものであり、先ずステップS290において動作ステータスを「キャンセル中」とし、次のステップS291に進む。
ステップS291ではRAM7の表示エリアにキャンセルモードと書き込んで表示のための処理を行う。続いてステップS292で貨幣の払い戻しを示すランプ点滅パターンをRAM7に書き込んでランプ点滅のための処理を行う。
さらにステップS293で貨幣の払い出しを開始し、次のステップS294に進む。
【0224】
ステップS294ではステータスをチェックし、ステータスが致命的エラーでなければ次のステップS295でインターバル処理を行い、続いてステップS296で貨幣の払い出しが終了したか否かを判別する。貨幣の払い出しが終了していなければ上記のステップS294に繰り返し戻って払い出し終了となるまで待機し、払い出しが終了すると次のステップS297に進む。
【0225】
ステップS297ではキャンセルスイッチフラグをクリアし、次のステップS298で詳細は後述する釣り銭受取時間待ち処理を行って客が釣り銭を受け取るための待機時間を確保し、続いてステップS299でボタンランプを切り替えてその表示パターンを切り替え、その後この投入金額払戻処理を終了する。
【0226】
次にメイン処理ルーチン(図13〜図15)に戻ってステップS47でのカード発行処理サブルーチンについて説明する。
カード発行処理サブルーチンは、上述したように発行スイッチフラグがオンとなったことを受けて、すでに装着してあって認証とメイン初期値書き込みとが完了している遊技カードCに対して、さらに時間情報を書き込み、その後その遊技カードCの発行とレシートRの発行とを行い、そのとき釣り銭があれば釣り銭を払い出す一連の処理を行うものである。
【0227】
上記カード発行処理サブルーチンに基づくカード発行機1の動作は、概略次のようになる。
すなわち、発行単価以上の金額投入と発行スイッチ107のオンがあったとき、カード発行機1は、すでに装着してあって認証処理とメイン初期値書き込みが完了している遊技カードCに対して、さらに時間情報を書き込み、そのメイン初期値と時間情報とから成る全初期値が書き込んである遊技カードCを発行する一連のカード発行動作を行い、そのカード発行動作が終了すると、プリンタ21からレシートRを出力する。
レシートRの出力後、釣り銭があれば硬貨装置26や紙幣装置24から釣り銭額分の貨幣を払い出す釣り銭払出動作を行い、その後普段動作に移行する。また、釣り銭がないときは釣り銭払出動作を行わないで、そのまま普段動作に移行する。
【0228】
このように、カード発行を受ける遊技者が発行単価以上の金額を投入しかつ発行スイッチ107を押したとき初めてカード発行のための具体的な処理に入るようにした。すなわち、金額投入後は自動的に遊技カードCが発行されるのではなく、遊技者のハッキリした意志表明のもとで発行されることとなる。金額投入後であっても、カード発行を望まなくなったときは上述したように、キャンセルすることもできる。この点で、このカード発行機1は、遊技者サイドに立って納得のいく分かりやすい装置として構成されており、カード発行時に生じやすい無用なトラブルも未然に防止できるようになっている。
【0229】
図41〜図49はカード発行処理サブルーチンを示すフローチャートである。このカード発行処理サブルーチンでは、先ず図41のステップS310においてRAM7の表示エリアにカード書込モードと書き込み、また投入金額および釣り銭金額を書き込んで表示のための処理を行う。
続いてステップS311でカード発行を示すランプ点滅パターンをRAM7に書き込み、ランプ点滅のための処理を行う。
その後ステップS312でカード書込処理を行う。このカード書込処理では、詳細は後述するように、時間情報の書き込みを行った上でその遊技カードCを発行する。
【0230】
そして、次のステップS313に進んでステータスのチェックを行い、ステータスが致命的エラーでなく正常であれば、次のステップS314でレシートRの発行を行い、ステップS315に進む。ステータスが致命的エラーであればステップS314をスキップしてレシートRを発行せずに、ステップS315に進む。
【0231】
このレシートRには、図54に示すように、発行遊技店(ホール)名、発行日の日付、有効期限、当該遊技システムでの遊技手順についての概略的かつ明瞭な説明が記載されており、また領収書としても使用できるように所定事項が記載してある。
このように、遊技カードCの発行時に、当該遊技システムでの遊技手順を印字したレシートRも発行するので、初めての遊技者であっても当該遊技システムの全体を簡単に把握することができ、スムーズに遊技に入ることができる。
さらに、そのレシートRは、領収書としても使用できるので、客は別途領収書の発行を遊技店に要求する煩雑さから解放され、また遊技店側にとっても領収書発行のための手間を省くことができ、双方にとって便宜が図られている。
【0232】
ステップS315では、詳細は後述する釣り銭計算処理を行って釣り銭を計算するとともに、貨幣別での釣り銭払い戻し数を設定し、次のステップS316に進む。
ステップS316では詳細は後述する釣り銭払出開始処理を行って釣り銭としての硬貨および紙幣の払い出しを行い、次のステップS317に進む。
【0233】
ステップS317ではステータスをチェックし、ステータスが致命的エラーであれば、そのままこのカード発行処理を終了する。
ステータスが致命的エラーでなければ次のステップS318でインターバル処理を行い、続いてステップS319で釣り銭の払い出しが終了したか否かを判別する。釣り銭の払い出しが終了していなければ上記のステップS317に繰り返し戻って払い出し終了となるまで待機し、払い出しが終了すると次のステップS320に進む。
【0234】
ステップS320では発行スイッチフラグをクリアし、次のステップS321で詳細は後述する釣り銭受取時間待ち処理を行って客が釣り銭を受け取るための待機時間を確保し、その後このカード発行処理を終了する。
【0235】
次に、上記ステップS312でのカード書込処理について図43〜図46を用いて説明する。
図43はカード書込処理を示すフローチャートである。このカード書込処理では、先ずステップS330で動作ステータスを「カード書込中」とする。
続いてステップS331でステータスをチェックし、ステータスが致命的エラーであれば、そのままこのカード書込処理を終了する。ステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS332に進む。
【0236】
ステップS332では、詳細は後述するカードデータ後期書込処理(図44、図45)を実行し、遊技カードCへの時間情報の書き込みやステータスにリジェクトフラグをセットするなどの処理を行う。このカードデータ後期書込処理の後、次のステップS333に進む。
【0237】
ステップS333では、リジェクトフラグがオンであるか否かを判別し、リジェクトフラグがオンでなければ、遊技カードCへの時間情報の書き込みに異常があったため、遊技カードCが回収された場合に相当するので、ステップS339に分岐して上述した発行準備処理(図28〜図33)を実行し、遊技カードCの搬送装着、認証およびメイン初期値の書き込みを行う。そして、このステップS339の実行後は、上記のステップS331に戻り、ステップS331、ステップS332を実行して時間情報の書き込みを新たに行う。
【0238】
このように、時間情報の書き込みに異常があるときは、すでに装着してある遊技カードCを回収し、直ちに次の遊技カードCの装着、認証、メイン初期値の書き込みおよび時間情報の書き込みを行い、そのような異常事態に速やかに対処するようにしたので、カード発行機1に金額を投入した遊技者をそれ程待たせることなく、円滑にカード発行を行うことができる。
【0239】
リジェクトフラグがオンであれば正常に遊技カードCへの書き込みが終了している場合に相当し、この場合は次のステップS334でリジェクトフラグをクリアし、続いてステップS335で詳細は後述するカード排出処理(図46)を行い、遊技カードCを排出し発行するための処理を行う。
なお、リジェクトフラグがオンとなるのは、上記の遊技カードCへの書き込みが正常に終了したときだけでなく、時間情報の書き込み異常が許容限度を越えて発生した場合もリジェクトフラグがオンとなるが(ステップS425)、この場合はエラーセットとなるため(ステップS426)、その後回収されることになる。
【0240】
そして、次のステップS336でステータスをチェックし、ステータスが致命的エラーであれば、そのままこのカード書込処理を終了する。ステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS337に進む。
【0241】
ステップS337では、光送信エリア(通信制御装置41のデュアルポートRAM)に遊技カードCの発行情報を書き込んで管理装置72に送信するための処理を行い、次のステップS338に進む。
【0242】
ステップS338では、ワークRAM4のクリア等のカード発行機1の後処理を行い、その後このカード書込処理を終了する。
【0243】
次に、カード書込処理(図43)のステップS332におけるカードデータ後期書込処理の詳細について、図44および図45を用いて説明する。
図44および図45はカードデータ後期書込処理を示すフローチャートである。このカードデータ後期書込処理では、遊技カードCへの時間情報の書き込みやステータスにリジェクトフラグをセットするなどの処理を行う。
【0244】
先ずステップS410において、遊技カードCの発行日すなわち使用年月日とその発行日から換算した有効期限(例えば1年後の年月日)とを設定し、次のステップS411でL送信エリア(Lボード17のデュアルポートRAM)に遊技カードCへの書き込みを指令するカードデータライトコマンドを書き込むとともに、そのL送信エリア(Lボード17のデュアルポートRAM)に「使用年月日」および「有効期限」を時間情報として書き込む。遊技カードCには、先にメイン初期値が書き込んであり、そのメイン初期値と今回の時間情報とですべての初期値(遊技関連情報)が書き込まれたことになる。
【0245】
次のステップS412では、カードデータライトレスポンス(遊技カードCへの書き込み完了応答)を受けてセットされるレスポンス受信フラグが有るか否かを判別する。
【0246】
レスポンス受信フラグが有るときは、遊技カードCへの時間情報の書き込みが正常に行われた場合であり、この場合はステップS417でレスポンス受信フラグをクリアし、次のステップS418でステータスをチェックし、ステータスが正常であればステップS424でリジェクトフラグをセットしそのままこのカードデータ後期書込処理を終了する。
【0247】
ステップS418でステータスが致命的エラーであれば、次のステップS419でエラーセットし、ステップS420に進む。
【0248】
一方、ステップS412でレスポンス受信フラグが無いときは、ステップS413でインターバル処理を行い、続いてステップS414で待機時間としての1秒が経過したか否かを判別し、1秒が経過しないときはステップS412に戻ってステップS412以降を繰り返し実行し、1秒が経過してもレスポンス受信フラグが無いときはリジェクトカウンタに「1」を加算し、その後ステップS416でリジェクトカウンタでのカウント値が「3」を越えたか否かを判別する。
【0249】
リジェクトカウンタでのカウント値が「3」を越えていないときはステップS420に進む。
ステップS416でリジェクトカウンタでのカウント値が「3」を越えているときは、時間情報の書き込み異常が許容限度を越えて4枚の遊技カードCに対して発生した場合であり、この場合はステップS425でリジェクトフラグをセットし、続いてステップS426でエラーセットしてそのままこのカードデータ後期書込処理を終了する。
【0250】
ステップS420では、遊技カードCへの時間情報の書き込みが正常に行われていないことを受けて、L送信エリア(Lボード17のデュアルポートRAM)にリジェクトコマンドを書き込んで、カードR/W制御装置291にカード回収を指令する。そして、この場合はリジェクトフラグがオンでないため、ステップS339の発行準備処理に進むことになり、引き続いて次に待機している遊技カードCを装着し、認証とメイン初期値および時間情報の書き込みとを実行することになる。
【0251】
次のステップS421では、リジェクトACKフラグがオンであるか否かを判別する。このリジェクトACKフラグは、カードR/W制御装置291が主制御装置1Mからのリジェクトコマンドを正常に受信したことを主制御装置1Mに通知してきたときにセットされるものである。
【0252】
リジェクトACKフラグがオンでないときは、ステップS422で待機時間としての1秒が経過したか否かを判別し、1秒が経過してもリジェクトACKフラグがオンでないときはカードR/W制御装置291への送信が不良であるとしてステップS423でエラーセットし、そのままこのカードデータ後期書込処理を終了する。
【0253】
一方、ステップS421でリジェクトACKフラグがオンであると判別したときは、ステップS427に進んでリジェクトACKフラグをクリアし、次のステップS428でエラー発生であるか否かを判別する。エラー発生であれば上記のステップS423でエラーセットし、そのままこのカードデータ後期書込処理を終了する。
【0254】
ステップS428でエラー発生でなければ、ステップS429に進み、リジェクトレスポンスフラグがオンであるか否かを判別する。このリジェクトレスポンスフラグは、カードR/W制御装置291が主制御装置1Mからのリジェクトコマンドに応じてカード回収を行い、それが正常に完了したことを主制御装置1Mにレスポンスしてきたときにセットされるものである。
リジェクトレスポンスフラグがオンでないときは、ステップS428に戻って待機し、一方、リジェクトレスポンスフラグがオンのときは、ステップS430に進んでリジェクトレスポンスフラグをクリアした後、このカードデータ後期書込処理を終了する。
【0255】
次に、カード書込処理(図43)のステップS332におけるカード排出処理の詳細について、図46を用いて説明する。
図46はカード排出処理を示すフローチャートである。このカード排出処理は、遊技カードCを排出し発行する処理であり、先ずステップS440においてステータスをチェックし、ステータスが致命的エラーであれば、そのままこのカード排出処理を終了し、ステータスが致命的エラーでなければ正常であるとして次のステップS441に進む。
【0256】
ステップS441では動作ステータスを「カード排出中」として次のステップS442に進む。
ステップS442ではRAM7の表示エリアに書込完了モードと書き込み、また投入金額および釣り銭金額を書き込んで表示のための処理を行う。続いて、ステップS443でL送信エリア(Lボード17のデュアルポートRAM)にEJECTコマンドを書き込んで遊技カードCの排出を指令し、次のステップS444に進む。
【0257】
ステップS444では、再度ステータスをチェックし、ステータスが致命的エラーであれば、そのままこのカード排出処理を終了し、ステータスが致命的エラーでなければ正常であるとして次のステップS445に進む。
【0258】
ステップS445では、カード発行完了フラグが有るか否かを判別する。このカード発行完了フラグは、L受信割込処理のステップS194(図26)においてセットされたものであり、カードR/W制御装置291が主制御装置1MからのEJECTコマンドに応じてカードを排出し、遊技者がその遊技カードCを抜いて遊技カードCが正常に発行されたことを主制御装置1Mに通知してきたときにセットされるものである。
【0259】
ステップS445でカード発行完了フラグが無いと判別したときは、ステップS446でインターバル処理を行った後、ステップS444に戻り、ステップS444以降を実行してカード発行完了フラグがオンとなるのを待つ。
【0260】
一方、ステップS445でカード発行完了フラグが有ると判別したときは、正常に遊技カードCが発行された場合であり、この場合はステップS447でカード発行完了フラグをクリアし、ステップS448で発行カード枚数をインクリメントし、その後このカード排出処理を終了する。なお、この発行カード枚数は、上記のステップS340において管理装置72に送信される。
【0261】
次に、カード発行処理(図41)におけるステップS315の釣り銭計算処理サブルーチンについて説明する。
図47は釣り銭計算処理を示すフローチャートである。この釣り銭計算処理は、カード発行時の投入金額が「発行単価」以上のとき釣り銭を貨幣別に設定する処理であり、先ずステップS450でステータスをチェックし、ステータスが致命的エラーであれば、そのままこの釣り銭計算処理を終了する。ステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS451に進む。
【0262】
ステップS451では釣り銭額を計算し、次のステップS452でその釣り銭額を500円硬貨で払い戻すとしたときの釣り銭払戻枚数を求め、ステップS453でその500硬貨での釣り銭払戻枚数が500円硬貨投入枚数より多いか否かを判別する。
500円硬貨での釣り銭払戻枚数が500円硬貨投入枚数より多いときは、ステップS454で当該500円硬貨投入枚数を500円硬貨での釣り銭枚数とし、次のステップS455に進む。一方、500円硬貨での釣り銭払戻枚数が500円硬貨投入枚数より少ないときは、ステップS452で求めた500硬貨での釣り銭払戻枚数をそのまま払い戻し可能とし、ステップS454をスキップして直接ステップS455に進む。
【0263】
ステップS455では、釣り銭を先ず上記のステップS452またはS454で設定した払戻枚数分だけ500円硬貨で払い出したときの残りの釣り銭額を求める。
【0264】
次のステップS456ではその残りの釣り銭額を1000円紙幣で払い戻すとしたときの釣り銭払戻枚数を求め、ステップS457でその1000紙幣での釣り銭払戻枚数が1000円紙幣投入枚数より多いか否かを判別する。
1000円紙幣での釣り銭払戻枚数が1000円紙幣投入枚数より多いときは、ステップS458で当該1000円紙幣投入枚数を1000円紙幣での釣り銭枚数と、次のステップS459に進む。一方、1000円紙幣での釣り銭払戻枚数が1000円紙幣投入枚数より少ないときは、ステップS456で求めた1000紙幣での釣り銭払戻枚数をそのまま払い戻し可能とし、ステップS458をスキップして直接ステップS459に進む。
【0265】
ステップS459では、ステップS455で求めた釣り銭を上記のステップS456またはS458で設定した払戻枚数分だけ1000円紙幣で払い出したときの残りの釣り銭額を求める。
【0266】
次のステップS460ではその残りの釣り銭額を100円硬貨で払い戻すとしたときの釣り銭払戻枚数を求め、さらにステップS461では貨幣別での釣り銭払戻枚数を設定してそのままこの釣り銭計算処理を終了する。
【0267】
このように、釣り銭を払い戻す際には投入枚数を限度にして払い戻すようにしたので、釣り銭硬貨や釣り銭紙幣の不足発生を防止することができる。また、100円硬貨で払い戻すと払戻枚数が多くなるので、払い戻しの優先順位を500円硬貨、1000円紙幣、そして100円硬貨の順とし、釣り銭用に多くの予備を持たなくても済むようにしてある。
【0268】
次に、カード発行処理(図41)におけるステップS316の釣り銭払出開始処理サブルーチンについて説明する。
図48は釣り銭払出開始処理を示すフローチャートである。この釣り銭払出開始処理は、上記の釣り銭計算処理で設定した貨幣別の払戻枚数に基づいて払い出す処理であり、先ずステップS470でステータスをチェックし、ステータスが致命的エラーであれば、そのままこの釣り銭払出開始処理を終了する。ステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS471に進む。
【0269】
ステップS471では、払戻枚数が「0」であるか否かを判別し、「0」でなければステップS472で硬貨での払戻枚数を読み込み、次のステップS473で硬貨装置26に硬貨の種別毎に設けてある釣り銭補給筒のうち当該払い出す硬貨の筒を指定し、その釣り銭補給筒からの払い出しを開始し、次のステップS474に進む。
【0270】
ステップS474では紙幣での払戻枚数を読み込み、続いてステップS475で紙幣払出処理を開始し、その後この釣り銭払出開始処理を終了する。また、上記のステップS471で払戻枚数が「0」となったときもこの釣り銭払出開始処理を終了する。
【0271】
次に、カード発行処理(図42)におけるステップS321の釣り銭受取時間待ち処理サブルーチンについて説明する。
図49は釣り銭受取時間待ち処理を示すフローチャートである。この釣り銭受取時間待ち処理は、カード発行に際しての釣り銭受取時間(ここでは10秒)を監視する処理であり、先ずステップS480でイベントタイマの10秒をスタートさせる。
【0272】
次のステップS481ではステータスをチェックし、ステータスが致命的エラーであれば、ステップS484に進んでイベントタイマの10秒を停止させてそのままこの釣り銭受取時間待ち処理を終了する。ステータスが致命的エラーでなければカード発行機1は正常であるとして次のステップS482に進む。
【0273】
ステップS482では、先にスタートした10秒の計時がタイムアップしたか否かを判別し、タイムアップしていなければステップS483で人体検出フラグがオンであるか否か、すなわち客が釣り銭を受け取って立ち去ったか否かを判別する。人体検出フラグがオンで客がまだ立ち去っていないときは、ステップS481に戻ってステップS481以降を繰り返し実行する。一方、人体検出フラグがオンでなく客が釣り銭を受け取って立ち去ったときは、上記のステップS484でイベントタイマの10秒を停止させそのままこの釣り銭受取時間待ち処理を終了する。
【0274】
次に、メイン処理ルーチン(図13)におけるステップS41,S42,S43やその他の各ステップS246,S255,S271,S295,S318,S1052,S413,S446で実行されるインターバル処理について説明する。
【0275】
図50はインターバル処理を示すフローチャートである。このインターバル処理は、警告エラーの調査や小型入力装置28からの受信処理、停電検出時の処理などを行うものであり、先ずステップS490で警告エラーの調査・処理を行う。すなわち、カードR/W制御装置291や硬貨装置26、紙幣装置27などの各端末装置での警告エラーの発生を監視し、警告エラー発生のときはステータスを変更するなどの処理を行う。
【0276】
次のステップS491では、小型入力装置28からデータを受信したときの受信処理を行い、続いてステップS492では、貨幣の投入枚数や払出枚数を種別毎に監視する貨幣投入状態監視処理を行う。
【0277】
そして、次のステップS493では、停電割込処理(図16)のステップS65でセットした停電通知フラグがオンであるか否かを判別する。
停電通知フラグがオンでなければ、ステップS497に進み、押しボタンスイッチがオンされたときの読込処理を行い、その後このインターバル処理を終了する。すなわち、エラー解除スイッチ38またはモードスイッチ40が押されていればそれに対応した所定の処理を行った後、インターバル処理を終了する。
【0278】
一方、停電通知フラグがオンであれば、ステップS494においてステータスのチェックを行い、ステータスが「キャンセル中」、「カード発行中」、「カード書込中」、「貨幣投入中」、「貨幣払出中」のいずれかであるときは、上記のステップS497での押しボタンスイッチ読込処理を行い、その後このインターバル処理を終了する。すなわち、カード発行機1がこれらの「キャンセル中」、「カード発行中」、「カード書込中」、「貨幣投入中」、「貨幣払出中」の動作状態にあるときは、無停電電源装置32によるバックアップに入り、その動作状態が終了するまで電源を保つとともに、その際にエラー解除スイッチ38またはモードスイッチ40が押されていればそれに対応した所定の処理を行った後、インターバル処理を終了する。
【0279】
また、ステップS494でステータスが上記のいずれの動作状態でもないときは、ステップS495でワークRAM4にデータをバックアップしその時点での状態を記憶させ、その後ステップS496で無停電電源装置32を強制的にオフしてこのインターバル処理を終了する。このときは、このインターバル処理だけでなく、メイン処理ルーチンその他のすべての処理が終了することになる。
【0280】
次に、画像表示制御装置20が行う制御処理内容を、図51、図52および図53を用いて説明する。
図51および図52は画像表示制御装置が行う画像制御処理のフローチャートを示す図、また図53は画像表示制御装置が音声によるガイダンスを行う際の、音声データ番号とそのアナウンス例を示す図である。
【0281】
画像表示制御装置20は主制御装置1Mから送信してきた情報を画像表示インターフェイス12を経由して受信し、その情報に従ってCRT表示画面104やスピーカ105の動作を制御し画面表示によるガイダンスや音声によるガイダンスを行う。すなわち、主制御装置1Mは図17に示した16msタイマ割込処理において各種のモード番号とその対応データを画像表示制御装置20に送信するので、画像表示制御装置20は、それらのデータを受信して以下の各ステップを実行する。
【0282】
先ず、ステップS500において初期化処理を行った後、ステップS501においてモード01の受信が有るか否かの判別を行い、モード01を受信しているときは、ステップS510で普段動画の表示処理を行いCRT表示画面104で客待ちの状態であることを示す画面を表示する。
ステップS501でモード01を受信していないとき、または上記ステップS510で表示処理を行った後は、ステップS502に進みモード02の受信が有るか否かの判別を行う。
【0283】
モード02を受信しているときはステップS511で説明動画の表示処理を行い、ガイダンス部103で当該遊技システムでの遊技手順を概略的に説明し案内するシステムガイダンスを行う。また、そのシステムガイダンスに見合った音声の出力を行う。このときの音声出力は、図53の動作説明音声に示すように、例えば”ようこそAICシステムへ”から始まって”さあ、あなたもAICシステムで楽しもうよ”までシステムガイダンスの画面に合わせて15ステップ用意してあり、順次出力される。
ステップS502でモード02を受信していないとき、または上記ステップS511で表示処理と音声出力を行った後は、ステップS503に進みモード03の受信が有るか否かの判別を行う。
【0284】
モード03を受信しているときは金額が投入された場合であり、この場合はステップS512で投入金額が「発行単価」に達しているか否かを判別する。投入金額が「発行単価」に達していれば、ステップS513で発行スイッチ107を押すことを促す発行スイッチ促進動画の表示処理を行ってCRT表示画面104にその促進動画を表示させ、また、ステップS514でその促進動画に見合った音声の出力、例えば図53のスイッチ促進音声に示すように、”いらっしゃいませ。””スイッチを押して下さい。”というの音声の出力を行う。
【0285】
一方、投入金額が「発行単価」に達していなければ、ステップS516で金額の投入を促す金額投入促進動画の表示処理を行ってCRT表示画面104にその促進動画を表示させ、また、ステップS517でその促進動画に見合った音声の出力、例えば図53の金額投入促進音声に示すように、”いらっしゃいませ。”という音声の出力を行う。
ステップS503でモード03を受信していないとき、または上記ステップS513,S514,S516,S517でそれぞれの表示処理や音声出力を行った後は、ステップS504に進みモード04の受信が有るか否かの判別を行う。
【0286】
モード04の受信が有るときはキャンセルスイッチ108が押された場合であり、この場合はキャンセルを示すキャンセル動画の表示処理を行い、また、そのキャンセル動画に見合った音声の出力、例えば図53のキャンセル音声に示すように、”お金をお取り下さい。”という音声の出力を行う。
【0287】
ステップS504でモード04を受信していないとき、または上記ステップS515で表示処理と音声出力とを行った後は、ステップS505に進みモード05の受信が有るか否かの判別を行う。
【0288】
モード05の受信が有るときは遊技カードCに書込中であることを示すカード書込動画の表示処理を行い、また、そのカード書込動画に見合った音声の出力、例えば図53の書込中音声に示すように、”しばらくお待ち下さい。”という音声の出力を行う。
【0289】
ステップS505でモード05を受信していないとき、または上記ステップS518で表示処理と音声出力とを行った後は、ステップS506に進みモード07の受信が有るか否かの判別を行う。
【0290】
モード07の受信が有るときは遊技カードCへの書込完了であることを示すカード書込完了動画の表示処理を行い、次のステップS520で釣り銭が有るか否かの判別を行い、釣り銭が有ればステップS521でカード排出および釣り銭排出を行うので、それに見合った音声の出力、例えば図53の釣り銭排出音声に示すように、”カードをお取り下さい。””お金をお取り下さい。””ありがとうございました。”という音声の出力を行う。
一方、ステップS520で釣り銭が無いときは、ステップS522でカード排出に見合った音声の出力、例えば図53のカード排出音声に示すように、”カードをお取り下さい。””ありがとうございました。”という音声の出力を行う。そして、ステップS506でモード07を受信していないとき、またはステップS521あるいはステップS522で音声出力を行った後は、上記のステップS501に戻って、ステップS501以降の制御処理を繰り返し実行する。
【0291】
上述したように、この実施例では、操作者の金額投入の前に予め遊技カードCの認証および時間情報以外の初期値(メイン初期値)の書き込みを完了しておき、金額投入があった後は、時間情報のみを書き込んで発行するようにしたので、遊技カードCの発行に際して発行を受ける操作者をほとんど待たせることなく速やかに発行することができる。
【0292】
また、時間情報は、カード発行の直前に遊技カードCに書き込むことになり、発行時と同一となるので、日付が異なってしまうようなことは発生せず、遊技カードCを一枚も無駄にすることなく発行することができる。
【0293】
さらに、遊技カードCはプロセッサ等を内蔵しているため、磁気カードなどに比べて一枚当たりの価格が高額であるが、その高価格の遊技カードCを一枚も無駄にしないので、経済的効果も高いものとなる。
【0294】
また、遊技カードCをカードR/W制御装置291に装着した状態で待機させていると、そのときの遊技カードCはカード排出口292に近い位置にあるので、ピアノ線などを用いて遊技カードCが抜き取られるような事態が発生することも考えられるが、この実施例では、待機中の遊技カードCには時間情報が書き込まれておらず、そのような遊技カードCを抜き取って使用しても、当該遊技システムでは受け付けない。このため、カード発行時に時間情報を書き込みという構成は、遊技カードCの保安という観点からも有効に機能し、遊技カードCのセキュリティも高度に保つことができる。
【0295】
さらに、カード発行機1を立ち上げて開店状態としたときには、すでに装着してある遊技カードCに書き込まれているメイン初期値が正常であるかどうかを確認するようにしたので、例えば前日に装着してあって時間が経過した遊技カードCであってもそのセキュリティを確実に確保することができる。
【0296】
その際にメイン初期値に異常があれば回収して直ちに次の遊技カードCの装着、認証、およびメイン初期値の書き込みを行うようにしたので、発行を受ける遊技者がカード発行機1の前に立つときには、正常な遊技カードCが待機している状態となる。したがって、立ち上げ時の遊技カードCに異常があっても、遊技者に速やかに遊技カードCを発行することができる。
【0297】
また、時間情報の書き込みに異常があるときも、すでに装着してある遊技カードCを回収し、直ちに次の遊技カードCの装着、認証、メイン初期値の書き込みおよび時間情報の書き込みを行うようにしたので、時間情報の書き込みに異常が発生しても、速やかに対処でき、カード発行機1に金額を投入した遊技者をそれ程待たせることなく、円滑にカード発行を行うことができる。
【0298】
上記のカード発行機1では、金額投入後に発行スイッチ107を押すようにしたので、遊技者のハッキリした意志表明のもとで遊技カードCが発行されることとなり、金額投入後であっても、カード発行を望まなくなったときはキャンセルすることもでき、この点で、このカード発行機1は、遊技者サイドに立って納得のいく分かりやすい装置として構成されている。
一方、発行単価以上の金額の投入があれば発行スイッチ107を押さなくとも、自動的に時間情報の書き込みを行い発行するようにしてもよい。このようにすることで、カード発行機1の構成をより簡単なものとすることができる。
【0299】
また、上記の説明では、カード発行機1は、遊技カードCとの間での相互認証を経た後に、カード発行を行うようにしたが、相互認証でなく、カード発行機1側だけが遊技カードCの真偽を判定し遊技カードCが正当なものであると判定(認証)したときカード発行を行うようにしてもよい。このようにすることにより、より簡易な構成の下でカードの自動発行を行うことができる。
【0300】
さらに、上記の説明では、遊技カードCに書き込む初期値のうち、メイン初期値(時間情報以外の初期値)はカードデータ前期書込処理において書き込み、時間情報はカードデータ後期書込処理において書き込むようにしたが、初期値のうち任意に選択したデータをカードデータ前期書込処理において書き込み、それ以外の初期値をカードデータ後期書込処理において書き込むように構成してもよい。
【0301】
このようにカード発行に際して初期値を前期と後期の2回に分けて書き込むという構成を採用することにより、金額投入後の書き込みデータを低減でき、それだけカード発行を短時間に速やかに行うことができる。
【0302】
また、遊技カードCをカードR/W制御装置291に装着した状態で待機させていると、上述したように、そのときの遊技カードCはカード排出口292に近い位置にあるので、ピアノ線などを用いて遊技カードCが抜き取られるような事態が発生することも考えられるが、カード発行に際して初期値を前期と後期の2回に分けて書き込むことにより、待機中の遊技カードCには、その後の遊技システムにおいて必要となるすべての初期値が書き込まれておらず、そのような遊技カードCを抜き取って使用しても、当該遊技システムでは受け付けない。したがって、遊技カードCの保安という観点からも有効に機能し、遊技カードCのセキュリティも高度に保つことができる。
【0303】
次に、カード発行機1の第2の実施例として上記相互認証を暗号化のもとで行う場合について、図55を用いて説明する。
【0304】
この第2の実施例の場合、カード会社74が納入しカード発行機1から発行される前の遊技カードCには、上述した諸データ、すなわち自分自身のセキュリティコード、カード番号、この遊技カードCでの制御処理手順を記載した各種プログラム、カード発行機1の仮の識別番号などに加えてさらに、暗号化プログラムおよび暗号化情報(暗号化鍵)が予め書き込んである。
【0305】
一方のカード発行機1には、上述した初期データ、すなわち当該カード発行機1の識別番号(仮の識別番号と真の識別番号)を含む各装置の識別番号、遊技カードCのセキュリティコードなどに加えてさらに、暗号化プログラムおよび暗号化情報(暗号化鍵)が管理装置72から送信されて書き込んである。
さらに、カード発行機1以外の各装置にも、上述した初期データ、すなわちその装置の識別番号、遊技カードCのセキュリティコードなどに加えてさらに、暗号化プログラムおよび暗号化情報(暗号化鍵)が管理装置72から送信されてきて書き込んである。これらの情報は、カード会社74より管理装置72に送られてきている。
【0306】
図55は図10での相互認証を暗号化処理および復号化処理に基づいて行う場合の説明図である。先ず主制御装置1Mは遊技カードCに向けて、カード発行機1の仮の識別番号および遊技カードCのセキュリティコードの要求コマンドを暗号化情報に基づいて所定のアルゴリズムで暗号化し送信する。
【0307】
遊技カードCでは、受信した情報(仮の識別番号および要求コマンド)を暗号化情報に基づき所定のアルゴリズムで復号化して解析し、予め格納してあるカード発行機1の仮の識別番号と復号化した仮の識別番号とを照合し、一致するとき相手のカード発行機1は正当であると認証し、要求コマンドに応答して自分のセキュリティコードを暗号化情報に基づき所定のアルゴリズムで暗号化して主制御装置1Mに送信する。
【0308】
主制御装置1Mでは、受信した情報(セキュリティコード)を暗号化情報に基づき所定のアルゴリズムで復号化して解析し、予め格納してある遊技カードCのセキュリティコードと復号化したセキュリティコードとを照合し、一致するとき相手の遊技カードCは正当であると認証し、この相互間での認証を完了した上で次の情報を遊技カードCに送信する。
【0309】
上記図55での暗号化処理および復号化処理において、所定のアルゴリズムとして例えば排他的論理和演算を用いる場合は、送信するときは送信情報と暗号化情報(暗号鍵)との排他的論理和を求めることにより暗号情報を作成して送信し、その暗号情報を受信したときは暗号情報と暗号化情報との排他的論理和を求めて復号化することにより元の送信情報を得るようにする。アルゴリズムとして排他的論理和演算を用いると、暗号化および復号化を簡単な構成で行うことができるが、安全性や信頼性の要求度合いに応じてより高度のアルゴリズムを用いるようにしてもよい。
【0310】
このように、この第2の実施例では相互認証を暗号に基づいて行うようにしたので、遊技カードCの偽造や記載データの改竄はほとんど不可能となり、カード発行機1としての信頼性を一層向上させることができる。
【0311】
【発明の効果】
以上説明したようにこの発明の発行装置によれば、有価価値投入の前に予め遊技情報媒体の認証および時間情報以外の初期情報の書き込みを完了しておき、金額投入があった後は、時間情報のみを書き込んで発行するようにしたので、遊技情報媒体の発行に際して発行を受ける操作者をほとんど待たせることなく速やかに発行することができる。
【0312】
また、時間情報は、遊技情報媒体発行の直前に遊技情報媒体に書き込むことになり、発行時と同一となるので、日付が異なってしまうようなことは発生せず、遊技情報媒体を一枚も無駄にすることなく発行することができる。
【0313】
さらに、遊技情報媒体はプロセッサ等を内蔵しているため、磁気カードなどに比べて一枚当たりの価格が高額であるが、その高価格の遊技情報媒体を一枚も無駄にしないので、経済的効果も高いものとなる。
【0314】
また、遊技情報媒体を装着した状態で待機させていると、そのときの遊技情報媒体はカード排出口に近い位置にあるので、ピアノ線などを用いて遊技情報媒体が抜き取られるような事態が発生することも考えられるが、この発明では、待機中の遊技情報媒体には時間情報が書き込まれておらず、そのような遊技情報媒体を抜き取って使用しても、当該遊技システムでは受け付けない。このため、遊技情報媒体の保安という観点からも有効に機能し、遊技情報媒体のセキュリティも高度に保つことができる。
さらに、遊技情報媒体は装置本体を認証し、装置本体は遊技情報媒体を認証し、互いに相手の認証を行った上で遊技情報媒体との情報の送受を行うので、遊技情報媒体と装置本体の双方が相手を確実に認証できるようになり、遊技情報媒体の高セキュリティ性と相俟ってシステムとしてのセキュリティ性を高度に保持することができ、発行装置としての信頼性を向上させることができる。
【図面の簡単な説明】
【図1】この発明の発行装置の原理ブロック図である。
【図2】この発明が適用される通信システムにおける遊技店とカード会社とのデータ通信系を示す図である。
【図3】遊技店内でのデータ通信系を示す図である。
【図4】この発明が適用される通信システム全体の構成を示すブロック図である。
【図5】カード発行機の正面操作盤の構成を示す図である。
【図6】カード発行機の内部構成を示す図である。
【図7】カード発行機の裏面側内部構成を示す図である。
【図8】カード発行機の動作を制御する制御機構の全体構成を示すブロック図である。
【図9】遊技カードおよびカードR/W制御装置の構成を示すブロック図である。
【図10】遊技カードとカード発行機の主制御装置との間で行われる相互認証の説明図である。
【図11】遊技カードでの処理手順を示すフローチャートである。
【図12】遊技カードでの処理手順を示すフローチャートである。
【図13】カード発行機の主制御装置でのメイン処理の手順を示すフローチャートである。
【図14】カード発行機の主制御装置でのメイン処理の手順を示すフローチャートである。
【図15】カード発行機の主制御装置でのメイン処理の手順を示すフローチャートである。
【図16】停電割込処理を示すフローチャートである。
【図17】16msタイマ割込処理のフローチャートである。
【図18】16msタイマ割込処理のフローチャートである。
【図19】100msタイマ割込処理のフローチャートである。
【図20】硬貨装置割込処理のフローチャートである。
【図21】紙幣装置割込処理のフローチャートである。
【図22】小型入力装置割込処理のフローチャートである。
【図23】光受信割込処理のフローチャートである。
【図24】L受信割込処理のフローチャートである。
【図25】L受信割込処理のフローチャートである。
【図26】L受信割込処理のフローチャートである。
【図27】L受信割込処理のフローチャートである。
【図28】発行準備処理サブルーチンを示すフローチャートである。
【図29】発行準備処理サブルーチンを示すフローチャートである。
【図30】発行準備処理サブルーチンを示すフローチャートである。
【図31】発行準備処理サブルーチンを示すフローチャートである。
【図32】発行準備処理サブルーチンを示すフローチャートである。
【図33】発行準備処理サブルーチンを示すフローチャートである。
【図34】人体検出処理サブルーチンを示すフローチャートである。
【図35】人体検出処理サブルーチンを示すフローチャートである。
【図36】人体検出処理サブルーチンを示すフローチャートである。
【図37】人体検出処理サブルーチンを示すフローチャートである。
【図38】人体検出処理サブルーチンを示すフローチャートである。
【図39】人体検出処理サブルーチンを示すフローチャートである。
【図40】人体検出処理サブルーチンを示すフローチャートである。
【図41】メイン処理中のカード発行処理サブルーチンのフローチャートである。
【図42】カード発行処理サブルーチンを示すフローチャートである。
【図43】カード発行処理サブルーチンを示すフローチャートである。
【図44】カード発行処理サブルーチンを示すフローチャートである。
【図45】カード発行処理サブルーチンを示すフローチャートである。
【図46】カード発行処理サブルーチンを示すフローチャートである。
【図47】カード発行処理サブルーチンを示すフローチャートである。
【図48】カード発行処理サブルーチンを示すフローチャートである。
【図49】カード発行処理サブルーチンを示すフローチャートである。
【図50】メイン処理中のインターバル処理サブルーチンのフローチャートである。
【図51】画像表示制御装置が行う画像制御処理のフローチャートを示す図である。
【図52】画像表示制御装置が行う画像制御処理のフローチャートを示す図である。
【図53】両像表示制御装置が音声によるガイダンスを行う際のアナウンス例を示す図である。
【図54】レシートの一例を示す図である。
【図55】図10の相互認証を暗号に基づいて行うときの説明図である。
【符号の説明】
1A 発行装置本体
1B 遊技情報媒体
1C 装着指令手段
1D 認証手段
1E 発行準備手段
1F 投入有価価値認識手段
1G 発行手段
1 カード発行機
1a,82a,85a,87a,90a,91a,92a 光送受信部
1M 主制御装置
2 CPU
3 電源切替回路
4 ワークRAM
5 タイマ
6 割込コントローラ
7 RAM
8 ROM
9 クロック
10 リアルタイムクロック
11 システムバス
12 画像表示インターフェイス
13 ドライバ
14 RS−422レシーバ/ドライバ
15,18 PIO
16 SIO
17 Lボード
19 タッチ回路
20 画像表示制御装置
21 プリンタ
22 発行スイッチランプ(確認用ランプ)
23 キャンセルスイッチ(確認用ランプ)
24 紙幣装置
25 紙幣制御装置
26 硬貨装置
27 硬貨制御装置
28 小型入力装置
31 電源回路
32 無停電電源装置
33 発行センサ
34 キャンセルセンサ
35 人体検出センサ
36 操作盤ドアスイッチ
37 裏面側ドアスイッチ
38 エラー解除スイッチ
39 発行機番号スイッチ
40 モードスイッチ
41 通信制御装置
70,75 遊技店
70a 光ファイバ伝送路
70b 電話回線
71 経営分析装置
72 管理装置
73 ATM交換機
74 カード会社
76 景品POS
80 島設備
82 遊技機
83 装飾ランプ
85 更新機
86 台間金額付加機
87 大型金額付加機
90,91,92 光中継器
100 筐体
101 正面操作盤
102 照明部
103 ガイダンス部
104 CRT表示画面
105 スピーカ
106 操作スイッチ部
107 発行スイッチ
108 キャンセルスイッチ
109 紙幣挿入口
110 硬貨投入口
111 返却レバー
112 カード発行口
113 紙幣返却口
114 硬貨返却口
115 レシート発行口
121 スピーカ
122 CRT表示画面
201 遊技カードの送受信平面コイル
202 クロック抽出回路
203 直流化回路
204 送信回路
205 復調回路 205
206 クロック
207 クロック切替回路
208 電力切替回路
209 太陽電池
211 ドライバ
212 LCD
213 CPU
214 ROM
215 RAM
216 EEPROM
217 キースイッチ
241,242 回収タンク
243,261 案内通路
291 カードR/W制御装置
293 Lボード
294 CPU
295 変調回路
296 カードR/W制御装置の送受信平面コイル
297 受信回路
C 遊技カード
R レシート
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an issuing device for issuing a game information medium (for example, an IC card) stored in the device body through authentication of the game information medium.
[0002]
[Prior art]
In recent years, an IC card that can store and rewrite various types of information such as monetary data, game data (game ball number data and game coin number data), and the like has been converted to the IC card within the range of the monetary amount data stored. Based on the data or based on the game data stored in advance in the IC card, the game (the prize ball number data, the prize coin data, that is, the game data) acquired as a result of the game is reflected in the IC card. A game system has been proposed in which game data of an IC card is updated.
In such a gaming system, when a player wants to purchase a new IC card, the player can receive a new IC card by inserting a predetermined amount into the card issuing machine.
In this card issuing machine, usually, in response to the input of an amount more than the issue unit price, authentication processing for ensuring the security of the IC card, and initial information required for the subsequent game to the IC card A writing process is performed, and after these procedures, an IC card is issued to the player.
[0003]
[Problems to be solved by the invention]
However, as described above, if the IC card authentication process or the initial information writing process is performed after the amount has been inserted, it takes time to issue the IC card, and the player has to wait for the IC card purchase. It was a result.
Therefore, in order to solve such a situation, the waiting time is shortened by performing the authentication process and the initial information writing process to the IC card in advance before issuing the card, and issuing the money immediately when the money is input. There are suggestions to try.
However, the IC card includes date information in the initial information from the security aspect, and the number of balls acquired on that day is limited to the day of the store and is settled on that day. If this is done, the date information of the previous day will be written on the first IC card issued the next day, so that the first one cannot be used and is wasted. I did it.
Moreover, this IC card has a higher price per card than a magnetic card or the like, and if the IC card cannot be used, an economic loss will increase.
[0004]
The present invention has been proposed in view of the above, and an object of the present invention is to provide an issuing device that can issue a game information medium (for example, an IC card) promptly and without wasting one piece.
[0005]
[Means for Solving the Problems]
  To achieve the above object, the issuing device of the present invention is a issuing device for issuing a game information medium stored in the device main body.The game information medium includes first authentication means for performing first authentication as to whether or not the device main body is legitimate based on information received from the device main body.Mounting command means for commanding mounting of the game information medium at a predetermined position;After installationWhether the gaming information medium is legitimate based on the information received from the gaming information mediumSecondAuthenticateSecondAuthentication means;After mutual authentication by the first authentication and the second authenticationWrite initial information to the game information mediumOnlyAnd issuance preparation means for making them wait,ConcernedThe input valuable value recognition means for recognizing the valuable value input to the main body of the apparatus, and when the valuable value is equal to or greater than the predetermined valuable value, the time information is written to the game information medium in which the initial information is already written in the standby state. Issuing means for issuing the game information medium.
[0006]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.
FIG. 1 is a block diagram showing the principle of the issuing apparatus according to the present invention. In FIG. 1, the issuing device of the present invention is an issuing device for issuing a game information medium 1B stored in the device main body 1A, and a mounting command means 1C for instructing mounting of the game information medium 1B at a predetermined position; The apparatus body 1A authenticates whether the game information medium 1B is legitimate based on the information received from the attached game information medium 1B, and the game information medium 1B by the authentication. Is determined to be legitimate, issuance preparation means 1E for writing and waiting for initial information to the game information medium 1B, and input value recognition means 1F for recognizing the value input to the apparatus main body 1A. When the valuable value is greater than or equal to a predetermined valuable value, the time information is written into the gaming information medium in which the initial information is already written during the standby, and the gaming information medium 1 And issuing means 1G to issue was to comprise a.
[0007]
According to the above issuing device, the authentication of the game information medium 1B and the writing of initial information other than the time information are completed in advance before the valuable value is input. Just write and issue. Therefore, it is possible to issue the game information medium 1B promptly with almost no waiting for the operator who is issued. Further, since the time information is the same as when it is issued, the date does not change, and the game information medium 1B can be issued without wasting one piece.
[0008]
FIG. 2 is a diagram showing a data communication system between a game store and a card company in a communication system to which the present invention is applied. In the figure, the management analysis device 71 and the management device 72 installed in the amusement store 70 are similarly connected to the ATM switch 73 installed in the store by an optical fiber transmission line 70a. Includes an ATM (asynchronous transfer mode) communication network that transmits and receives information via the ATM exchange 73, including other various devices installed in the store (FIG. 3). It is.
[0009]
The management analysis device 71 and the management device 72 are connected to a card company 74 outside the store via a telephone line 70b via an ATM exchange 73. For example, a broadband ISDN digital line is used for the telephone line 70b. The card company 74 is connected not only to the game store 70 but also to other game stores 75 via an ATM switch via a telephone line 70b, and a plurality of game stores 70, 75, etc. are networked by ATM communication.
[0010]
The above-mentioned ATM communication is a communication method that has been introduced and spread as a basic technology of broadband ISDN, and has the advantages of both packet switching that allows efficient use of line bandwidth and circuit switching that enables high-speed switching (time division multiplexing). The information to be sent is digitized and divided into short fixed-length blocks (cells), and a header indicating a destination or the like is attached to the head of the information to send it out sequentially. In the above-mentioned ATM exchange 73, cells are sorted at high speed with reference to the headers of the cells that have been sent out, and delivered to their respective destinations. In this ATM communication, the information handling unit is fixed length and protocol processing in the network is simplified, so high-speed and broadband communication such as 155 Mbps is possible, and all media such as voice, data, and images are exchanged as the same type of cell. It can be transferred.
[0011]
FIG. 3 is a diagram showing a data communication system in the game store. The entire amusement store 70 is also networked by ATM communication as described above, and the ATM exchange 73 includes a prize POS (point of sales) 76 and an optical relay in addition to the management analysis device 71 and the management device 72 described above. Each device 90 is connected by an optical fiber transmission line 70a.
[0012]
The optical repeater 90 is provided with two optical repeaters 91 and 92 at a position corresponding to the second level with respect to the optical repeater 90 at a position where optical communication is possible. The entire area can be covered by optical communication. The optical repeater 90 can transmit to the optical repeater 91, the optical repeater 91 can transmit to the optical repeater 92, and the optical repeater 92 can transmit to the optical repeater 90. That is, the information is transmitted in one direction from the optical repeater 90 → the optical repeater 91 → the optical repeater 92 → the optical repeater 90. As described above, by using the token ring, transmission control between the optical repeaters 90, 91, and 92 can be performed, and an opportunity to transmit data within a certain period is guaranteed, so that reliable data transmission is performed. It will be.
[0013]
In the optical repeater 91, each gaming machine 82 provided in the island facility 80 at a position where it is possible to transmit and receive each other by optical communication below the optical repeater 91, and a large amount of money adding machine provided on one end side of the island facility 80 87 is disposed, and in one optical repeater 92, the renewing device 85 and the card issuing device 1 are disposed at a position below which transmission and reception are possible in the same manner.
[0014]
The above optical communication is, for example, optical communication using infrared rays. The infrared transmission / reception is performed by optical transmission / reception units 90a, 91a, and 92a provided on the lower ends of the optical repeaters 90, 91, and 92, and the card issuing machine 1. This is performed via the optical transceivers 1a, 85a, 87a, 82a,.
[0015]
In such a configuration, when the gaming machine 82 of the island facility 80 and the large-scale money adding machine 87 transmit information to the management device 72, the information is the optical repeater 91 → the optical repeater 92 → the optical repeater 90 → When it is sent in the order of the ATM switch 73 and conversely received from the management device 72, the information is sent in the order of the ATM switch 73 → the optical repeater 90 → the optical repeater 91.
[0016]
When the card issuing machine 1 and the updating machine 85 transmit information to the management device 72, the information is sent in the order of the optical repeater 92 → the optical repeater 90 → the ATM switch 73, and conversely from the management device 72. When receiving the information, the information is sent in the order of the ATM switch 73 → the optical repeater 90 → the optical repeater 91 → the optical repeater 92.
[0017]
Each of the above-mentioned devices in the game store 70 can be accessed from each other via the ATM switch 73, and can also be accessed to the card company 74 outside the game store 70 using the telephone line 70b.
[0018]
FIG. 4 is a block diagram showing the configuration of the entire communication system to which the present invention is applied. In this communication system, high-speed and wide-band communication is possible by using optical ATM communication in the amusement store 70. For example, an optical fiber transmission line 70a is connected between the ATM switch 73 and the management device 72 or the optical repeater 90. 155 Mbps of high-volume information can be communicated via the network, and 100 Mbps of information can be communicated between the ATM switch 73 and the management analyzer 71 and the prize POS 76 via the optical fiber transmission line 70a. Become. Furthermore, between the optical repeater 90 and the optical repeater 91 and the optical repeater 92 at the position corresponding to the second layer, an information amount of 16 Mbps is obtained by the optical signal, and the optical repeaters 91 and 92 and the card issuer 1 Similarly, an information amount of 1 Mbps can be communicated with each lower-layer apparatus such as 1 by an optical signal.
[0019]
In the communication system constructed in this way, between the card company 74 and the game store 70, and between the devices in the game store 70, various types of information associated with the use of a game card as described later and games at the gaming machines 82. Information and the like can be transmitted and received in real time at high speed, and information transmission between devices is closely performed.
[0020]
In the communication system shown in FIG. 2, FIG. 3 and FIG. 4, the card company 74 issues a game card (for example, an IC card) C (FIG. 9) as an example of the game information medium 1B to the game store 70. The operator of the card company 74 delivers the game card C to the game store 70 and loads it into the card tank of the card issuing machine 1 provided in the game store 70. In the memory portion of the game card C delivered by the card company 74, as will be described later, various programs describing the control processing procedure of the game card C, the card number of the game card C, a security code, a temporary card issuing machine An identification number or the like is stored in advance.
[0021]
The card issuing machine 1 installed in the gaming store 70 is for issuing a gaming card C to a player who does not have the gaming card C, and the card issuing machine is for the player to purchase the gaming card C. Insert a predetermined amount into 1 and perform final confirmation operation for issuanceWasAt this time, the card issuing machine 1 takes out one game card C from the card tank, and issues it to the player after passing through a predetermined procedure. Details of the card issuing machine 1 will be described later.
[0022]
The large amount adding machine 87 is for adding a desired amount to the game card C purchased by the player. When the player inserts the game card C into the large amount adding machine 87, the player inserts it. The amount selected within the amount range is added to the game card C, and the game card C is returned to the player.
[0023]
The gaming machine 82 is a pachinko machine using a pachinko ball as a game medium, a pachislot machine using a medal as a game medium, or the like, and is stored in the game card C when the player attaches the game card C to the game machine 82. The player is allowed to play a predetermined game based on the game medium obtained by reading the valuable value and converting it within the range of the valuable value, and the game medium obtained as a result of the game is the number of balls It is stored in the game card C. Here, the valuable value is, for example, a ball lending amount or a storage amount, and the ball lending amount is an amount that is added to the game card C using the above-described large amount adding machine 87 and is not converted into a game medium. The amount of stored balls refers to a value obtained by converting a desired amount of game media from the number of balls held. The game card C stores and displays these ball lending amounts, stored ball amounts, and the number of balls held.
[0024]
Each of the gaming machines 82 is provided with an inter-bank amount adding machine 86 (FIG. 3) between adjacent gaming machines, and the player attaches a gaming card C to the inter-table amount adding machine 86. By doing so, a desired amount can be added to the game card C, and the amount can be easily added on the spot without going to the large amount addition machine 87 during the game. Note that the currency that can be used by the inter-bed amount adding machine 86 is limited to the thousand yen bill due to the installation space and the like.
[0025]
The prize POS 76 is arranged at the counter of the game store 70 and converts the game medium into cash or a prize based on the number of possession balls stored in the game card C, or converts it into a stored amount at a predetermined exchange rate. The operation to perform is performed according to the player's wishes.
[0026]
The renewing machine 85 is used for exchanging a gaming card C that has passed a predetermined expiration date (for example, one year) with a new gaming card in order to use the gaming card C without any trouble. When a desired game card C is inserted, it is determined that the game card C is genuine and a new game card C is automatically issued. Thereby, the trouble which generate | occur | produces by deterioration of the function of the game card C can be prevented, and the high safety | security of the game card C can be maintained.
[0027]
As shown in FIG. 2, the management device 72 includes a computer, a display, a keyboard, a printer, a large-capacity storage device, and the like, and manages and monitors each of the above devices in the game store 70. For example, necessary data is collected from a large number of gaming machines 82, and data in various gaming states is organized to manage and monitor the operating state of each gaming machine 82.
[0028]
This management device 72 receives the identification numbers of the card issuing machine 1, the large-sized money adding machine 87, the gaming machine 82..., The prize POS 76, and the updating machine 85 from the card company 74 via the telephone line 70b. The security code of C is received, and this information is transmitted as initial data to the card issuing machine 1 via the optical repeater 90, the optical repeater 91, and the optical repeater 92. Further, the identification number of the device, the security code of the game card C, etc. are transmitted as initial data to other devices other than the card issuing machine 1.
In this case, of the initial data transmitted to the card issuing machine 1, two identification numbers, that is, a temporary identification number and a true identification number are set as the identification number of the card issuing machine that is the identification number of itself. ing.
[0029]
The card issuing machine 1 issues the game card C through the following processing with a single game card C taken out from the card tank. That is, first, the temporary identification number of the card issuing machine 1 sent from the management device 72 and stored therein is sent to the game card C. The game card C collates the temporary identification number sent to the temporary identification number stored in advance in the game card C, and if they match, the card issuing machine 1 authenticates that it is valid. Sends his security code to the card issuing machine 1. The card issuing machine 1 collates the security code sent to the security code of the game card C sent from the management device 72 and stores it, and if they match, it is authenticated that the game card C is legitimate. To do.
In the card issuing machine 1, after performing mutual authentication with such a game card C, the identification number of each device is written in the game card C. At that time, the true identification number is overwritten on the temporary identification number of the card issuing machine 1 that has been written in advance on the game card C at the time of delivery.
The issuance processing procedure of the game card C by the above mutual authentication will be described later in detail.
[0030]
Thereafter, when the player places the game card C in the communication system (game system) in the large-value-added machine 87, the game machine 82, or other devices, the game card C has an identification number or a game card. The security code of C is stored, and each device stores its own identification number and the security code of the game card C as initial data. Therefore, even between the game card C and each device thereof, Mutual authentication is performed using the information, and transmission / reception is performed between the game card C and each device after the mutual authentication.
[0031]
The management analysis device 71 is composed of a computer, a display, a keyboard, a printer, a large-capacity storage device, etc., similar to the management device 72, and operates based on data collected from the management device 72, gaming machines 82, etc. Processing for determining information, game information, prize exchange information, etc. is executed, and screen display and printing of the information is performed.
[0032]
Next, the configuration of a card issuing machine as an example of the issuing device of the present invention will be described with reference to FIGS.
[0033]
5 is a diagram showing the configuration of the front operation panel of the card issuing machine 1, FIG. 6 is a diagram showing the front side internal configuration of the card issuing machine 1, and FIG. 7 is a diagram showing the outline of the back side internal configuration of the card issuing machine 1. It is. The card issuing machine 1 houses main devices, which will be described later, inside a stand box type housing 100, and a front operation panel 101 is pivotally mounted on one side edge of the front surface of the housing 100 so as to be opened and closed. .
[0034]
The front operation panel 101 has an overall curved shape in the forward direction, and is configured to be easily operated by a player (user) standing and operating in front of the front operation panel 101.
[0035]
As shown in FIG. 5, the front operation panel 101 has a CRT display screen 104 at a position corresponding to the height of the eyes of the player in the upper center, and a speaker 105 on the left side. The CRT display screen 104 and the speaker 105 constitute a guidance unit 103, which performs guidance when issuing the game card C to the player.
[0036]
On the right side of the CRT display screen 104, an operation comprising an issue switch 107 for the player to finally confirm and request the issue of the game card C, and a cancel switch 108 for canceling the issue of the game card C. A switch unit 106 is arranged. These issuance switch 107 and cancel switch 108 are touch type sensors that are turned on by touching the touch plate. Also, an issue switch lamp 22 and a cancel switch 23 are provided for confirmation so that when the player touches the touch plate, the surroundings of the switches 107 and 108 emit light brightly. The ON state can be confirmed by lighting the cancel switch lamp 23.
[0037]
A bill insertion slot 109 for inserting a bill at the center of the front operation panel 101 is provided below the operation switch unit 106, and a coin insertion slot 110 is provided on the left side of the bill insertion slot 109 below the CRT display screen 104. In addition, a return lever 111 and a card issuing slot 112 are arranged in this order from the coin slot 110 toward the lower left. The card issuing slot 112 is arranged at a height corresponding to the chest or waist of the player so that the issued gaming card C can be easily taken.
[0038]
A bill return port 113, a coin return port 114, and a receipt issue port 115 are arranged in this order from the right side at the lower part of the front operation panel 101. When the player rotates the return lever 111, the inserted coin is paid out to the coin return port 114. Also, when the player turns on the cancel switch 108, the amount corresponding to the total amount of banknotes and coins inserted so far is paid out to the banknote return slot 113 and the coin return slot 114 and returned to the player. It is supposed to be. A receipt R issued at the same time as the game card C is printed out by the printer 21 from the receipt issuing port 115 and comes out.
[0039]
On the left side edge of the front operation panel 101, a locking device 116 for locking the front operation panel 101 to the housing 100 side and locking is provided. In addition, a lens-type illumination unit 102 is provided on the upper end side of the front operation panel 101 so that illumination light from the fluorescent lamp 118 provided therein is effectively irradiated. Furthermore, a human body detection sensor 35 is provided at the center of the lower end of the front operation panel 1 so that a person standing in front of the card issuing machine 1 can be detected in order to receive a game card C.
[0040]
As shown in FIGS. 6 and 7, the inside of the housing 100 is divided into two parts by a partition wall on the front side and the back side, and various devices are accommodated in the respective spaces. Various devices are also provided on the back side of the front operation panel 101.
The printer 21 is disposed on the lower end surface 150 on the front left side inside the housing 100, and the printer 21 prints on the receipt R as described above and discharges the receipt R from the receipt issuing port 115. The print contents will be described later.
[0041]
A card issuing unit 29 is placed and fixed on the upper end side of the printer 21. The card issuing unit 29 issues a game card C in response to a command from a main controller 1M (FIG. 7) described later, and stores a card tank (not shown) that stores the game card C delivered from the card company 74. Omitted), a card R / W control device 291 that reads data from and writes data to one game card C taken out of the card tank, and a game from the card tank to the card R / W control device 291 A conveyance path (not shown) for conveying the card C, a card discharge port 292 for guiding the issued gaming card C to the card issuing port 112, and a gaming card C determined to be defective in the card R / W control device 291 It consists of a defective collection box (not shown) for collecting and storing.
[0042]
On the other hand, a banknote device 24 is arranged on the front right side inside the housing 100. The banknote device 24 includes a recovery tank 241 for recovering and storing 5,000 yen bills and 10,000 yen banknotes, and a recovery tank 242 for recovering and storing 1000 yen banknotes. Among the banknotes inserted into the banknote insertion slot 109 and entering the banknote device 24 through the guide passage 244, the 5,000 yen banknote and the 10,000 yen banknote are stored in the upper collection tank 241 and the thousand yen banknote is collected in the lower part. It is stored in the tank 242. Since the thousand yen bill is used for change, the collection tank 242 also functions as a change supply tank. The change thousand yen bill is provided with a guide passage 243 provided in the collection tank 242 so as to open. Through the bill return port 113 and returned to the player. A banknote control device 25 (FIG. 8) is housed inside the banknote device 24, and the banknote control device 25 controls the operation of the entire banknote device 24 in response to a command from the main control device 1M.
[0043]
In addition, a small input device 28 is suspended from a partition wall in the middle of the front side inside the housing 100. The small input device 28 is a data terminal dedicated to the card issuing machine 1 and is connected to the main control device 1M with a connection cord (not shown) so that an operator can take it out from the inside of the housing 100 and use it. It has become. The small input device 28 is provided with an input key and a 16-digit LCD display. For example, when the “sales” key assigned to the input key is pressed, the sales total of the card issuing machine 1 is displayed on the LCD display. By using this small input device 28, it is possible to easily manage the sales aggregation and change input in the card issuing machine 1, and it can also be used as an error monitor.
[0044]
Further, an error release switch 38 (FIG. 8) and a mode switch 40 (FIG. 8) are provided at the back of the center of the front side inside the housing 100 and above the small input device 28. The error cancel switch 38 is a switch for canceling the error when the operator takes a countermeasure after the occurrence of an abnormality. The mode switch 40 is introduced when the card issuing machine 1 is introduced into the amusement store 70, for example. This is a switch for confirming the operation of each terminal device such as the printer 21 and the card R / W control device 291 during the test. These switches 38 and 40 are also provided inside the rear surface side of the housing 100 so that the operator can use them from the rear surface side.
[0045]
The image display control device 20 is arranged on the back side of the front operation panel 101 and in the upper part of the center row. Upon receiving a command from the main control device 1M, the screen display on the CRT display screen 104 and the speaker 105 are used. Controls audio output. In addition, a coin device 26 that collects and stores coins that have entered from the coin insertion slot 110 and dispenses fishing coins is disposed at the lower part of the center row. The fishing coins are paid out from the coin return port 114 via a guide passage 261 opened on the lower end side of the coin device 26. A coin control device 27 (FIG. 8) is accommodated in the coin device 26, and the coin control device 27 controls the operation of the entire coin device 26 in response to a command from the main control device 1M.
[0046]
The image display control device 20 and the coin device 26 provided on the rear surface side of the front operation panel 101 are arranged so as to fit in the gap formed in the front central row inside the housing 100 when the front operation panel 101 is closed. It is.
[0047]
An operation panel door switch 36 is provided at the lower front of the casing 100. The operation panel door switch 36 is turned on when the front operation panel 101 is closed so that it can be monitored that the front operation panel 101 is illegally opened. It is.
[0048]
When the rear door (not shown) of the housing 100 is opened, several devices are accommodated and arranged as schematically shown in FIG. That is, a power supply device (power supply circuit) 31 that supplies power to the card issuing machine 1 is provided on the left side of the back surface, and a main controller 1M that controls the operation of the entire card issuing machine 1 is provided on the right side of the back surface. A communication control device 41 that performs communication control with other devices such as the management device 72 is provided.
[0049]
The communication control device 41 transmits / receives information to / from other devices via an optical transmission / reception unit 1a provided protruding from the upper end portion of the casing 100.
An issuer number switch 39 is provided in the vicinity of the communication control device 41. The issuing machine number switch 39 is of a dip switch type, for example, and is used to make the management device 72 recognize the address of the card issuing machine 1.
[0050]
In addition, an uninterruptible power supply (UPS) 32 is provided at the bottom of the back surface, and the power supply circuit 31 supplies a commercial 100-volt power supply via the uninterruptible power supply 32 by turning on the power switch 311. After receiving and converting to a predetermined DC voltage, the DC voltage is supplied to each part of the card issuing machine 1. When the commercial power supply fails, the uninterruptible power supply 32 operates alone, supplies power to each part of the card issuing machine 1 as necessary, and shuts down when the power is turned off.
[0051]
In addition, a back side door switch 37 is provided at the upper part of the back side, and this back side door switch 37 is turned on when the back side door is closed so that it can be monitored that the back side door is illegally opened. .
[0052]
FIG. 8 is a block diagram showing the overall configuration of a control mechanism that controls the operation of the card issuing machine. In the figure, the control mechanism for controlling the operation of the card issuing machine 1 is composed of the main control device 1M as a main part and the card R / W control device 291 and other various devices as peripheral terminals.
[0053]
The main controller 1M is configured with a CPU 2 as a center. The CPU 2 and other parts are connected to each other via a system bus 11 including a data bus, an address bus, and a control bus. The necessary information is transferred to each other.
[0054]
When the power is turned on or reset, the CPU 2 appropriately reads out the program from the ROM 8 storing the predetermined program and reads out information necessary for control from the work RAM 4 to perform predetermined initialization processing. Then, it receives a reference clock signal from the clock 9 and an interrupt signal from the interrupt controller 6 and sequentially executes a predetermined program based on the input timings of these control signals. Write and read information.
[0055]
As described above, the uninterruptible power supply 32 is connected to the main controller 1M. When the power switch 311 is turned on, a predetermined voltage (for example, 5V, 12V, 24V) is supplied from the uninterruptible power supply 32 via the power supply circuit 31. ) Is applied to the CPU 2 and the like.
[0056]
When a power failure occurs, the uninterruptible power supply 32 operates and temporarily supplies power, and the uninterruptible power supply 32 outputs an interrupt signal to the CPU 2, and the CPU 2 stores various data to be stored based on the interrupt signal. Is backed up to the work RAM 4 for backup. The work RAM 4 is a memory that can always store data upon receiving a backup power supply. Normally, the power supply from the power supply circuit 31 is used as a backup power supply via the power supply switching circuit 3, but when the power supply is turned off or a power failure occurs. The power supply switching circuit 3 receives a control signal from the CPU 2 and switches to a battery provided exclusively for the work RAM 4 to use the battery as a backup power source.
[0057]
A PIO (parallel input / output port) 15 is connected to the system bus 11, and the following devices are connected to the PIO 15.
That is, the image display control device 20 is connected to the PIO 15 via the image display interface 12, and the image display control device 20 operates the CRT display screen 104 and the speaker 105 in response to an instruction from the CPU 2, and causes the player to play a game. Guidance and notification for card C issuance.
[0058]
In addition, a printer 21 is connected to the PIO 15, and the printer 21 receives a command from the CPU 2 and performs predetermined printing.
Furthermore, an issue switch lamp 22 and a cancel switch lamp 23 are connected to the PIO 15 via a driver 13, and these lamps 22 and 23 blink in response to a command from the CPU 2.
[0059]
Moreover, the banknote apparatus 24 is connected to PIO15 via the banknote control apparatus 25, the banknote apparatus 24 operate | moves in response to the instruction | command from CPU2 via the banknote control apparatus 25, and the information from the banknote apparatus 24 is sent to CPU2. To tell. Similarly, a coin device 26 is connected to the PIO 15 via a coin control device 27, and the coin device 26 operates in response to a command from the CPU 2 via the coin control device 27, and receives information from the coin device 26. It tells CPU2.
[0060]
A small input device 28 is connected to the system bus 11 via an SIO (serial input / output port) 16 and an RS-422 receiver driver 14, and information can be transmitted and received between the small input device 28 and the CPU 2. It is like that.
Further, an L board 17 is connected to the system bus 11. The L board 17 functions as a communication interface together with the L board 293 provided on the card R / W control device 291 side. The CPU 2 and the card R / W control device 291 pass through the L boards 17 and 293. And they send and receive information to each other.
The card R / W control device 291 is built in the card issuing unit 29 as described above, is controlled in response to an instruction from the CPU 2, and is applied to the game card C attached to the card R / W control device 291. Write information, read game card C information, and the like. Information is transmitted from the card R / W control device 291 to the CPU 2.
[0061]
A PIO (parallel input / output port) 18 is connected to the system bus 11, and the following sensors and switches are connected to the PIO 18. That is, the touch plate type issue sensor 33 and the cancel sensor 34 adopted for the issue switch 107 and the cancel switch 108 are connected to the PIO 18 via the touch circuit 19, and each of the issue switch 107 and the cancel switch 108 is turned on. A detection signal when the sensors 33 and 34 detect is sent to the CPU 2 via the touch circuit 19 and the PIO 18.
[0062]
Further, an operation panel door switch 36 and a back side door switch 37 are connected to the PIO 18, and an ON signal when these switches 36 and 37 are turned on is sent to the CPU 2 via the PIO 18, as described above. The open / closed state of the front operation panel 101 and the back side door switch 37 can be monitored. Further, an error release switch 38, an issuer number switch 39 and a mode switch 40 are connected to the PIO 18, and an ON signal when these switches 38, 39 and 40 are turned on is sent to the CPU 2 via the PIO 18. In response to the ON signal, error cancellation, address setting to the management device 72, and operation check of each terminal device are performed.
[0063]
A communication control device 41 is further connected to the system bus 11. The communication control device 41 transfers information to and from the CPU 2 via the system bus 11 and controls communication performed by the optical transmission / reception unit 1a.
The optical transmission / reception unit 1a is arranged at the top of the card issuing machine 1 as described above, and performs infrared communication for data transfer with the optical repeater 92. The optical transmission / reception unit 1a and the optical transmission unit And an optical receiver for receiving.
The communication control device 41 includes, for example, a communication interface circuit, a communication driver / receiver, a communication controller, a memory, a microprocessor, a clock circuit, a memory, and a dual port RAM (bidirectional memory), and transmits to the optical transmission / reception unit 1a. The stored information from the external device such as the management device 72 is temporarily stored in the memory, and the stored information is read and written in the dual port RAM, or the information written by the CPU 2 in the dual port RAM is read and stored in the memory. By storing, that is, by enabling writing of information from both the card issuing machine 1 and the external device via the dual port RAM, information transfer can be performed without being restricted by communication (optical transmission) timing. It can be done smoothly.
[0064]
The real-time clock (RTC) 10 is used for time display of the small input device 28.
[0065]
In this embodiment, the game card C is taken out from the card tank, mounted on the card R / W control device 291, and issued after a predetermined procedure such as exchange of information with the CPU 2. Therefore, the configuration of the game card C and the card R / W control device 291 and the operation when the game card C is mounted on the card R / W control device 291 will be described below with reference to FIG.
[0066]
FIG. 9 is a block diagram showing the configuration of the game card and the card R / W control device. In the figure, a game card C is constructed as an IC card having a CPU 213 and ROM 214, RAM 215, and EEPROM 216 built-in and having data storage and data processing functions, and is formed integrally in a thin plastic card, for example. Therefore, data security is extremely high. In addition, as the game card C, an optical card that is similarly sufficiently protected for security may be used instead of an IC card. In that case, a necessary part such as a card R / W control device corresponding to the optical card is used.
[0067]
The ROM 214 stores various programs describing predetermined control processing procedures.
[0068]
The nonvolatile and rewritable EEPROM 216 can retain data even when the power supply is cut off. The EEPROM 216 stores the security code of the game card C, the rented amount of the ball, the amount of stored balls, the number of balls held, Various information that needs to be stored, such as identification numbers (for example, identification numbers of the card issuing machine 1, the large-sized money adding machine 87, the gaming machine 82..., The prize POS 76, and the updating machine 85) are stored.
[0069]
When the game card C operates alone, the CPU 213 receives the reference clock signal from the clock 206 via the clock switching circuit 207, and stores the predetermined clock stored in the ROM 214 based on the input timing of the reference clock signal. Run the program. During the execution, information is written to and read from the RAM 215 and the EEPROM 216 as needed.
[0070]
When the CPU 213 detects an on signal when the player turns on the key switch 217, the CPU 213 displays predetermined information on an LCD (liquid crystal display) 212 via the LCD driver 211. For example, when the first on signal is detected from the key switch 217, the ball lending amount (remaining balance) is displayed, the number of balls held is displayed by the next on signal, and the stored ball amount is displayed by the next on signal. The display content is changed every time an ON signal is detected.
The LCD 212 is a small and long liquid crystal display, and is of a monochrome type capable of displaying necessary information (for example, the lent amount of balls, the number of balls held, the amount of stored balls, etc.) in one line using a plurality of numbers and symbols. Is used. A color type liquid crystal display may be used.
[0071]
The solar battery 209 receives external sunlight and room light, generates DC power, and supplies power necessary for the game card C to operate alone, to the LCD 212 that requires a higher control voltage. In particular, the voltage is boosted once by the booster circuit 210 and then supplied via the LCD driver 211.
[0072]
When the game card C is transported from the card tank and attached to the card R / W control device 291, the transmission / reception planar coil 201 of the game card C is connected to the card R / W control device 291 by electromagnetic coupling using electromagnetic waves. In addition to transmitting and receiving signals, the power supply from the card R / W control device 291 is received, and a current based on the electromagnetic waves is output to the clock extraction circuit 202, the DC circuit 203, and the demodulation circuit 205.
The clock extraction circuit 202 extracts a reference clock signal from a signal included in electromagnetic waves from the card R / W control device 291 captured via the transmission / reception planar coil 201, and operates a clock switching circuit to operate the CPU 213 with the reference clock signal. 207 causes the clock signal to be switched.
[0073]
Further, the direct current circuit 203 takes out electromagnetic energy to be supplied power to the game card C from the electromagnetic wave from the card R / W control device 291 captured via the transmission / reception planar coil 201 and converts it into direct current, This is supplied to the transmission circuit 204. The power switching circuit 208 switches power supply to the game card C to the DC circuit 203 or the solar battery 209. The game card C is mounted on the card R / W control device 291 and the transmission / reception planar coils 296 and 201 are electromagnetically coupled. The DC power from the DC circuit 203 is supplied to the CPU 213 and the like, while the DC power from the solar cell 209 is supplied to the CPU 213 and the like when operating alone without being attached to the card R / W control device 291. Supply. The transmission circuit 204 consumes the DC power supplied from the DC circuit 203 based on the output signal of the CPU 213, thereby indirectly transmitting the signal from the game card C to the card R / W control device 291 side.
The demodulation circuit 205 performs a process of extracting necessary data by demodulating a signal included in the electromagnetic wave from the card R / W control device 291 captured via the transmission / reception planar coil 201, and outputs the extracted data to the CPU 213.
[0074]
The card R / W control device 291 includes a CPU 294, a modulation circuit 295, a reception circuit 297, a transmission / reception planar coil 296, and an L board 293. The CPU 294 performs data processing necessary for reading data from the game card C and writing data to the game card C, and controls the operation of the card R / W control device 291.
[0075]
The modulation circuit 295 sends a modulation signal in which a control signal and data are superimposed on the power supply signal to the transmission / reception planar coil 296 based on the output signal of the CPU 294. That is, the supply of power as the operating power of the game card C, the transmission of control signals such as a reference clock signal, and the transmission of data are amplified by a built-in power amplifier (not shown).
[0076]
The transmission / reception planar coil 296 is driven based on the output of the modulation circuit 295, and transmits operating power, control signals and data of the game card C to the transmission / reception planar coil 201 on the game card C side by electromagnetic coupling.
The reception circuit 297 changes the output of the modulation circuit 295 supplied to the transmission / reception planar coil 296, that is, between the transmission / reception planar coil 296 and the transmission / reception planar coil 201 that are electromagnetically coupled, Since the electromagnetic wave changes according to the data to be transmitted by the circuit 204, by monitoring how the output voltage waveform of the modulation circuit 295 changes correspondingly, the data from the game card C is indirectly changed. Detect corresponding signal changes. The detection of this signal change corresponds to receiving data from the game card C.
The attached L board 293 supplies power to the card R / W control device 291 and transfers data to and from the CPU 294.
[0077]
In the configuration composed of the game card C and the card R / W control device 291 described above, when data is transferred from the main control device 1M toward the game card C, the main control device 1M first has an L board on the main control device 1M side. The data is written in a dual port RAM (not shown) in the circuit 17. Since the data is transferred between the L boards 293 on the card R / W control device 291 side and written to the dual port RAM (not shown) in the L board 293, the CPU 294 of the card R / W control device 291 stores the data. Read and output to the game card C side via the modulation circuit 295 and the transmission / reception planar coil 296.
[0078]
Conversely, when data is transferred from the game card C to the main control device 1M, the CPU 213 first outputs the data indirectly to the card R / W control device 291 via the transmission circuit 204 and the transmission / reception planar coil 201. In the card R / W control device 291, the receiving circuit 297 detects a signal change corresponding to the data as corresponding to the data from the game card C and sends it to the CPU 294. When the CPU 294 writes the data to the dual port RAM in the L board 293, the data is transferred between the L boards 17 on the main controller 1M side and written to the dual port RAM in the L board 17, and the main controller 1M. Reads the data.
[0079]
The transmission / reception planar coils 296 and 201 are electromagnetically coupled, and the gaming card C can transmit / receive information to / from the card R / W control device 291 in a contactless manner, so that the card R / W Since it is not damaged by contact with the control device 291 and malfunction due to static electricity can be prevented, the reliability of the game card C can be improved.
[0080]
When the game card C is inserted into the card R / W control device 291, information is transmitted and received between the game card C and the main control device 1 M under the above configuration. First, mutual authentication is performed to recognize the legitimacy of the other party. Next, this mutual authentication will be described with reference to FIG.
[0081]
At this stage, that is, before the game card C is issued from the card issuing machine 1, as described above, the game card C has its own security code and card number, and the control processing procedure of the game card C. The various programs described, the temporary identification number of the card issuing machine 1 and the like are written in advance at the time of delivery by the card company 74.
On one main control device 1M, the identification number of each device including the identification number (temporary identification number and true identification number) of the card issuing machine 1, the security code of the game card C, etc. are initially received from the management device 72. It is written as data.
[0082]
FIG. 10 is an explanatory diagram of mutual authentication performed between the game card and the main controller of the card issuing machine. When the game card C is attached to the card R / W control device 291, a notice of the attachment is sent to the main control device 1M. At that time, the main controller 1M sends a temporary identification number of the card issuing machine 1 to the game card C as shown in the figure, and requests to send the security code of the game card C at the same time. Send a command.
[0083]
In the game card C, the preliminarily stored temporary identification number of the card issuing machine 1 is collated (checked) with the identification number sent from the main control unit 1M. This time, in response to the received request command, its own security code is transmitted to the main controller 1M.
[0084]
The main control device 1M collates the security code of the game card C stored in advance with the security code sent from the game card C, and authenticates that the opponent's game card C is valid when they match. After completing the mutual authentication, the next information is transmitted to the game card C.
That is, when the gaming card C is inserted into the card R / W control device 291 of the card issuing machine 1, first, mutual authentication is performed to mutually authenticate the other party's legitimacy, and after this mutual authentication, the gaming card C and its The next transmission / reception with each device is performed.
[0085]
As described above, in this embodiment, the gaming card C authenticates the card issuing machine 1, and the card issuing machine 1 authenticates the gaming card C and mutually authenticates the other party before sending and receiving information to and from the gaming card C. I do. This mutual authentication can be performed simply because the information is sent and received only between the card issuing machine 1 and the game card C and the information received from the other party can be collated. Therefore, the security of the system can be maintained at a high level in combination with the high security of the game card C, and the reliability of the card issuing machine 1 can be improved.
[0086]
In addition, since there is no third party device such as the management device 72 in the mutual authentication, information can be sent and received quickly, and a player using this card issuing machine 1 can also play the game card C. Can be issued promptly.
[0087]
Next, the control contents in both cases when the game card C is mounted on the card issuing machine 1 will be described.
[0088]
The control contents executed by the game card C will be described based on the flowcharts of FIGS. 11 and 12.
FIG. 11 and FIG. 12 are flowcharts showing the processing procedure in the game card. In the figure, the game card C first determines in step S1 whether or not there is a power supply signal (electromagnetic wave supply). The power supply signal is supplied wirelessly from the card R / W control device 291 when the gaming card C is mounted on the card R / W control device 291 of the card issuing machine 1.
[0089]
When it is determined in step S1 that there is a power supply signal, the game card C is attached to the card R / W 21. In this case, first, processing for receiving information from the card R / W control device 291 is performed. Is performed (step S2), and then processing for confirming the identification number from the card issuing machine 1 is performed (step S3). This is to confirm whether or not the identification number of the card issuing machine 1 is genuine.
In step S4, it is determined whether or not the identification number is OK. If the identification number is not OK, the process returns to step S1 and the process is repeated. If the identification number is OK, the card issuing machine 1 requests a security code. Is determined (step S5). If there is a request for the security code, the security code is transmitted to the card issuing machine 1, and the process returns to step S1. Thereby, mutual authentication is performed between the game card C and the card issuing machine 1.
[0090]
When the mutual authentication is completed, the determination result in step S5 is NO. Therefore, the process proceeds to step S6, where it is determined whether there is an information write request from the card issuing machine 1, and if there is a write request, the information is written. Perform (step S9) and return to step S1. As a result, information from the card issuing machine 1 is written into the game card C.
[0091]
At this time, the information written in the game card C includes the identification numbers of the respective devices (identification numbers of the card issuing machine 1, the large-scale money adding machine 87, the gaming machine 82..., The prize POS 76, the updating machine 85, etc.), as described above. The security code of the game card C, the lent amount of the ball, the stored amount of the sphere, and the description data of the number of balls (all are “0” at this time). The identification number of the card issuing machine 1 transmitted from the card issuing machine 1 is a true identification number, and the temporary identification number of the card issuing machine 1 previously written in the game card C is overwritten at this time and the true identification number is written. Number.
[0092]
If there is no write request in step S6, the process proceeds to step S7, where it is determined whether or not there is a read request for information stored in the game card C, and if there is a read request, processing for transmitting the requested information is performed. Perform (step S10), and return to step S1. Thereby, the correspondence information in the game card C requested to be read from the card issuing machine 1 is transmitted to the card issuing machine 1.
[0093]
On the other hand, when there is no power supply signal in step S1, it is a case where the game card C operates alone. First, it is determined whether or not the key switch 217 is turned on (step S13), and the key switch 217 is turned on. If not, the process waits in step S13, and if it is on, the number of times of the on signal is counted up (step S14). If the count value becomes maximum, the count value is cleared (steps S15 and S16). Otherwise, according to the count value, if it is “0”, the lending amount (remaining amount) is displayed on the LCD 212, if it is “1”, the number of possessed balls is displayed, if it is “2”, the stored ball The amount of money is displayed. If it is “3”, the balance status corresponding to the game result of the player today is displayed, and if it is “4”, the expiration date of the game card C is displayed. To change the display contents in accordance with the ON signal of the key switch 217 (step S17~S26).
[0094]
Next, the control contents executed by the main controller 1M of the card issuing machine 1 will be described based on the flowcharts of FIGS.
FIG. 13, FIG. 14 and FIG. 15 are flowcharts showing the procedure of the main process in the main controller of the card issuing machine. This main process is started at the same time when the card issuing machine 1 is turned on.
[0095]
When the main process starts, first, input / output ports such as CPU2, PIO15, PIO18, and SIO16 are initialized in step S31. Next, in step S32, variables such as data and flags are initialized, peripheral devices are initialized, and The work areas such as the work RAM 4 and the RAM 7 and the dual port RAM of the L board 17 are initialized.
[0096]
Subsequently, in step S33, the card R / W control device 291 is initialized, and then in step S34, it is determined whether or not a network line test packet has been received. This is to determine whether or not a line test packet has been received from the management device 72 managing the network. If no line test packet has been received, the process proceeds to step S41 and interval processing is executed. Thereafter, the process returns to step S34 and waits until a line test packet is received.
[0097]
Note that the interval processing in step S41, step S42 described later, and the like performs investigation of warning errors and processing thereof, reception processing from the small input device 28, processing at the time of power failure detection, and the like. Will be described later. Here, the warning error refers to an error that allows a subsequent issuing operation such as a lack of coin change to continue, and the warning error is eliminated by replenishment of change or the like.
When a line test packet is received in step S34, the process proceeds to step S35 to perform line test processing. This is to return an OK ACK from the card issuing machine 1 to the management device 72 when the line is connected.
[0098]
Next, it is determined whether or not initial data has been received from the management device 72 in step S36. As described above, the initial data includes the identification numbers of the card issuing machine 1, the large-scale money adding machine 87, the gaming machine 82, the prize POS 76, and the updating machine 85, the security code of the gaming card C, time information, and the like. . The identification number of the card issuing machine 1 includes a temporary identification number and a true identification number at this point. If the initial data has not been received, the process proceeds to step S42 to execute interval processing, and then returns to step S36 to wait until initial data is received. When the initial data is received, the process proceeds to step S37 to perform initial data processing, and the received initial data is written in the memory (RAM 7) of the card issuing machine 1. This initial data is initially transferred from the card issuing machine 1 to the authenticated gaming card C in the card data early writing process (step S1070 in FIG. 33) and the card data late writing process (step S411 in FIG. 44) described later. It is written as a value (game related information).
As described above, the initial data is transmitted from the management device 72 side and stored in the memory of the card issuing machine 1. That is, since the data to be written in the game card C is transmitted from the management device 72 side, the reliability of data important in the subsequent game system can be sufficiently ensured.
[0099]
Next, operation data is set and transmitted to the management device 72 in step S38. In this case, the operation data of the card issuing machine 1 is written in the dual port RAM of the communication control device 41, and is transmitted to the management device 72 by infrared communication via the optical transmission / reception unit 1a. For example, the operation data is generated by each processing described later and indicates an “issuing machine state” indicating the state of the card issuing machine 1, the number of issued gaming cards C, the number of defective cards, the number of banknotes and coins deposited, the withdrawal The number of sheets, the number of change coins, and the like.
As described above, since the operation data in the card issuing machine 1 is transmitted to the management apparatus 72 as needed, the management apparatus 72 can grasp the operation status of the card issuing machine 1 in real time and is appropriate for management. You can take action immediately.
[0100]
Next, in step S39, it is determined whether or not a store opening packet instructing the store opening has been received. If the store opening packet has not been received, the process proceeds to step S43 to execute interval processing, and then returns to step S39 to wait until the store opening packet is received. When the store opening packet is received, the process proceeds to step S40 to perform a store opening process, and then proceeds to step S44. With this store opening process, the card issuing machine 1 enters the store opening state.
[0101]
By the way, in this embodiment, as will be described in detail later, when the game card C is issued, the next game card C is transported from the card tank and the card R / W control is performed even if there is no person who performs the next issue operation. An issue preparation process is employed in which the game card C is put on the device 291 and the game card C is kept in the attached state. Therefore, when the card issuing machine 1 is opened, the gaming card C is already installed.
In step S44, a card data read command is written to the L transmission area (the dual port RAM of the L board 17), and the card is read in order to read the data of the game card C already installed when the store is opened as described above. Commands the R / W control device 291. After performing this command, the process proceeds to the next step S45. Note that the data written to the game card C at this point is an initial value other than time information (hereinafter referred to as “main initial value”), as will be described later.
[0102]
In step S45, it is determined whether or not the read ACK flag is on. The read ACK flag is used when the attached game card C notifies the main control device 1M that the card data read command from the main control device 1M has been normally received via the card R / W control device 291. These are set (turned on) in an L reception interrupt process (steps S185 and S193 in FIG. 26) to be described later. If the read ACK flag is on, the process proceeds to step S50.
[0103]
In step S50, the read ACK flag is cleared, and the process proceeds to the next step S51.
In step S51, it is determined whether or not an error has occurred. If no error has occurred, the process proceeds to step S52.
[0104]
In step S52, it is determined whether or not the read response flag is on. When the card R / W control device 291 reads the data of the game card C in response to the card data read command from the main control device 1M and sends it to the main control device 1M, this read response flag is an L reception index which will be described later. Is set in the loading process (steps S200 and S206 in FIG. 27).
[0105]
If the read response flag is not on, the process returns to step S51, and steps S51 and S52 are executed again to stand by. When the read response flag is turned on in step S52, the process proceeds to step S53.
[0106]
In step S53, the data (main initial value) read from the game card C and sent is checked. This check process is a check on whether there is no extra data, no shortage of data, or correct data.
[0107]
After completion of the check process in step S53, it is determined in step S54 whether or not there is an error in the data check. If there is no error, that is, if the data check result is normal, the process proceeds to step S48.
[0108]
On the other hand, when an error occurs in step S51 or when an error, that is, the result of the data check is abnormal in step S54, an error flag is set in step S55, and then the issuance preparation process in step S47 is executed. Thereafter, the process proceeds to step S48.
[0109]
If the read ACK flag is not on in step S45, that is, if the game card C has not normally received the card data read command via the card R / W control device 291, 1 is set as the waiting time in step S46. If the read ACK flag is not turned on after 1 second has elapsed, the error flag is set in step S55 as in the above case, and then the issue preparation process in step S47 After that, the process proceeds to step S48.
[0110]
In the issuance preparation process in step S47, in response to the fact that the error flag is set (turned on) in step S55, the game card C is collected and the next game card C is transported and mounted as will be described in detail later. Then, authentication and writing of the main initial value are performed on the attached game card C.
[0111]
As described above, when the card issuing machine 1 is started up and opened, it is confirmed whether or not the already installed gaming card C has normally received the card data read command from the main controller 1M. Since the main initial value written in the game card C is normal, it is confirmed that the security of the game card C that has been installed the previous day and has passed the time has been increased. It can be surely secured.
[0112]
At that time, if the gaming card C does not normally receive the card data read command or there is an abnormality in the main initial value, the gaming card C is collected and immediately inserted, authenticated, and Since the main initial value is written, when a player who wants to receive the game card C stands in front of the card issuing machine 1, the normal game card C is in a standby state. Therefore, even if there is an abnormality in the game card C at the time of start-up, the game card C can be issued promptly to the player.
[0113]
In step S48, the reject flag is cleared, and in step S49, the reject counter is cleared.
[0114]
Subsequently, in step S56, a status (for example, the “issuer state” and various flags described above) generated in each process described later is checked. If the status is neither closed nor a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to step S57 to execute human body detection processing. Here, the fatal error refers to an inoperable error in which, for example, a trouble occurs in the card R / W control device 291 and a subsequent issuing operation cannot be performed.
[0115]
The human body detection process in step S57 is a process performed when the human body detection sensor 35 detects a person who is going to issue the game card C, and a person who wants to receive the game card C issues money. Further, each process until the issue switch flag is turned on by pressing the issue switch 107 is performed. Details thereof will be described later with reference to FIGS.
[0116]
In the next step S58, the status generated during the execution of the human body detection process is checked. As a result, when it is determined that the human body detection process is normally executed and no fatal error has occurred, the process proceeds to step S59. Execute card issue processing.
In this card issuance process, in response to the issuance switch flag being turned on, the time information is further written into the game card C that has already been installed and the main initial value has been written, and the game card C Is issued, and a receipt R is issued. If there is a change at that time, a series of processing for paying the change is performed. Details thereof will be described later with reference to FIGS.
When the card issuance process in step S59 is completed, the process returns to the issuance preparation process in step S47. In this issuance preparation process, the next game card C is transported from the card tank and loaded into the card R / W control device 291, and authentication and main initial value writing are performed on the loaded game card C. In preparation for issuance of the human body, and then the human body detection process in step S57 is executed.
In this way, the game card C is continuously issued by repeatedly executing the issuance preparation process, the human body detection process, and the card issuance process.
[0117]
On the other hand, if the status is closed or a fatal error in step S56, or if the status is fatal error in step S58, the process proceeds to step S60.
[0118]
In step S60, it is determined whether or not the status is closed. If the store is not closed, the status is a fatal error, and the process proceeds to step S62 to perform error processing. In this error processing, an error occurrence packet is transmitted to the management apparatus 72, and then the process returns to step S34 to wait for reception of a line test packet from the management apparatus 72. After the error in the card issuing machine 1 is canceled, this line test packet is sent from the management device 72 to the card issuing machine 1.
On the other hand, if the status is closed in step S60, the closing process is performed in step S61. As a result, the card issuing machine 1 is closed, and then the main process is terminated.
[0119]
Next, an interrupt processing routine executed by interrupting the main processing routine will be described with reference to FIGS. This interrupt process includes a power failure interrupt process, a 16 ms timer interrupt process, a 100 ms timer interrupt process, a coin apparatus interrupt process, a bill apparatus interrupt process, a small input device reception interrupt process, an optical reception interrupt process, and Each process of the L reception interrupt process.
[0120]
FIG. 16 is a flowchart showing a power failure interruption process. When a power failure is detected, the power failure interrupt process starts regardless of the main process. When a power failure is detected, a power failure notification flag is first set in step S65. This power failure notification flag is used in interval processing (FIG. 50).
[0121]
In step S66, the status of the card issuing machine 1 is checked based on the status, and the status is “cancelled”, “card issuance”, “card is being written”, “money being inserted”, “money being paid out”. ”, The current power interruption processing is terminated and returned. That is, when the card issuing machine 1 is in the operation state of “cancel”, “card issuance”, “card writing”, “money being inserted”, and “money being paid out”, the uninterruptible power supply The backup by 32 is entered, and the power is kept until the operation state is finished.
On the other hand, if the status is not one of the above operating states, the data is backed up in the work RAM 4 in step S67 and the current state is stored, and the uninterruptible power supply 32 is forcibly turned off in the next step S68. This power failure interruption process is terminated.
[0122]
17 and 18 are flowcharts of the 16 ms timer interrupt process. This timer interrupt process is executed by timer interruption every 16 ms with respect to the main process routine. In this interrupt process, first, in step S71, data for display processing of the image display control device 20 is stored in the RAM 7. Read and edit commands (modes) described in the assigned display area. Each mode occurs in each subroutine of human body detection processing and card issuance processing.
[0123]
Then, it is determined whether or not the display area has a “normal operation mode” that permits the insertion of money while waiting for a customer (step S72). If there is a “normal operation mode”, a display of mode 01 is displayed. Mode number and corresponding data are sent to the image display control device 20 (step S81). The image display control device 20 receives the information via the image display interface 12 and outputs a corresponding image and sound as will be described later. On the other hand, if there is no “ordinary operation mode” in step S72, the process proceeds to the next step S73, where it is determined whether or not there is an “operation explanation mode” for explaining the card issuing procedure. The mode number of mode 02 and the corresponding data are sent to the image display control device 20 (step S82).
[0124]
Similarly, if there is a “money insertion promotion mode” for prompting the insertion of money, mode 03 and corresponding data are transmitted (steps S74 and S83), and if there is a “cancel mode” for canceling card issuance, 04 and the corresponding data are transmitted (steps S75 and S84), and if there is a “card writing mode” for writing the initial value such as the identification number of each device to the game card C, the mode 05 and the corresponding data are transmitted. (Steps S76 and S85) Further, if there is a “card writing completion mode” when the writing is completed, the mode 07 and the corresponding data are transmitted (Steps S77 and S86).
[0125]
When the transmission process to the image display control device 20 based on step S71 is completed, a transmission process to the small input device 28 is performed in step S78. Next, by performing the event counter process in step S79, a time of a multiple of 16 ms used in other processes is created. Subsequently, in step S80, the banknote device 24 and the coin device 26 are controlled. Further, a predetermined blinking process is instructed to the issue switch lamp 22 and the cancel switch lamp 23 in step S87, and a timer counter increment process for counting the blinking time and lighting time of the lamps 22 and 23 is performed in step S88. Thereafter, the 16 ms timer interrupt process is terminated and the process returns to the main process routine.
[0126]
FIG. 19 is a flowchart of the 100 ms timer interrupt process. This timer interrupt process is executed with a timer interrupt every 100 ms with respect to the main process routine. In this interrupt process, error processing is first performed in step S91. In this error processing, the presence or absence of an error or the state of a sensor is monitored, a flag is set, or a monitor lamp is turned on.
[0127]
In the next step S92, it is determined whether or not the human body detection sensor 35 is turned on. If it is turned on, the human body detection flag is set in step S93. Otherwise, the human body detection flag is cleared in step S104. Thereafter, the process proceeds to step S94.
[0128]
In step S94, it is determined whether time counting is permitted. This time count is permitted by receiving initial data from the management device 72. If the time count is permitted, the process proceeds to the next step S95, where it is counted with a 100 ms counter, and then it is determined whether 1 second has elapsed in step S96. If 1 second has elapsed, the process proceeds to step S97, where the current time is counted. Further, in step S98, it is determined whether or not 10 seconds has elapsed, and if 10 seconds have elapsed, operation data is transmitted in step S99. A request flag is set, and the process proceeds to step S100. If 10 seconds as a fixed time have not elapsed in step S98, step S99 is skipped and the process proceeds to step S100. In step S100, the 100 ms counter is reset. That is, when the scheduled time is reached, the 100 ms counter is reset and the process proceeds to the next step S101.
[0129]
In addition, when the time count is not permitted in step S94 and when one second has not elapsed in step S96, the process proceeds to step S101.
In step S101, an event counter process is performed to create a time of 100 ms multiple used in other processes, and then in step S102, it is determined whether or not the operation data transmission request flag is on. If the operation data transmission request flag is on, communication control device transmission processing is performed in step S103.
[0130]
In this communication control device transmission process, operation data is written in the dual port RAM of the communication control device 41, and is transmitted to the management device 72 as scheduled data every 10 seconds by infrared communication via the optical transceiver 1a. is there. At this time, the operation data transmission request flag is turned off. As described above, the operation data includes the “issuing machine state” indicating the state of the card issuing machine 1, the number of issued gaming cards C, the number of defective cards, the number of banknotes and coins received, the number of withdrawals, the change coins The number of sheets.
[0131]
After the communication control device transmission processing in step S103 or when the operation data transmission flag is not on in step S102, the 100 ms timer interruption processing is terminated as it is, and the processing returns to the main processing routine.
[0132]
FIG. 20 is a flowchart of the coin device interrupt process. This coin device interruption process is executed by interrupting the main process routine when coins are inserted and when one coin is dispensed.
[0133]
In this coin apparatus interrupt process, first, in step S110, it is determined what the interrupt factor is. If the interrupt factor is at the time of coin insertion, the detection signal is identified for each type of coin in step S111. The data is stored in the buffer (a predetermined area of the RAM 7). Subsequently, in step S112, a coin acceptance prohibition signal is sent to the coin device 26, the coin device interrupt process is terminated, and the process returns to the main processing routine.
[0134]
On the other hand, if it is determined in step S110 that the interruption factor is at the end of the payout of one coin, the process proceeds to step S113, and after setting the payout completion notification flag, the coin apparatus interruption process is terminated and the process returns to the main process routine.
[0135]
FIG. 21 is a flowchart of banknote device interrupt processing. This banknote device interruption process is executed by interrupting the main processing routine at the time of banknote insertion, at the end of banknote payout number transfer, and at the time of banknote payout number transfer error.
[0136]
In this banknote device interrupt process, first, in step S120, it is determined what the interrupt factor is, and if the interrupt factor is a banknote insertion, the detection signal is identified and buffered for each banknote type in step S121. In step S122, the banknote acceptance prohibition signal is sent to the banknote device 24, the banknote device interrupt process is terminated, and the process returns to the main processing routine.
[0137]
On the other hand, if it is determined in step S120 that the interrupt factor is at the end of the bill payout number transfer and at the time of the bill payout number transfer error, the process proceeds to step S123 to determine whether it is at the end of the bill payout number transfer. If the bill payout number transfer ends, the transfer end notification flag is set in step S124. Otherwise, the interrupt factor is a bill payout number transfer error, so an error flag is set in step S125. After the flag set is completed, the banknote device interrupt process is terminated and the process returns to the main process routine.
[0138]
FIG. 22 is a flowchart of the small-sized input device reception interrupt process. This small input device reception interrupt process is a process performed by the main controller 1M receiving data from the small input device 28 via the RS-422 receiver driver 14 and the SIO 16, and interrupting the main processing routine. Executed.
[0139]
In this interrupt process, first, in step S130, whether or not the reception buffer (a predetermined area of the RAM 7) is in a FULL state is determined based on the point value of the buffer pointer. If it is not FULL, the SIO 16 is determined in the next step S131. Is received and written to the reception buffer, and in step S132, the point value by the buffer pointer is incremented, and the process proceeds to step S133. On the other hand, when the reception buffer is FULL in step S130, step S131 and step S132 are skipped and the process proceeds to step S133.
[0140]
In step S133, the reception data flag is set, the small input device interrupt process is terminated, and the process returns to the main process routine.
[0141]
FIG. 23 is a flowchart of the optical reception interrupt process. In this optical reception interrupt process, when the management device 72 sends data to the optical transmission / reception unit 1a of the card issuing machine 1, the communication control device 41 writes the data in the dual port RAM. This processing is performed by reading the data, and is executed by interrupting the main processing routine.
[0142]
In this interrupt process, first, an interrupt code is analyzed in step S140. This analyzes whether the interrupt code is a packet, status, or command as shown in the following steps. The packet is data from the management device 72, and the status and command are data from the communication control device 41.
[0143]
In step S141, it is determined whether or not it is a packet code from the analysis result of the interrupt code. If it is a packet code, the process proceeds to step S142 to perform reception status reading processing. This is to confirm the reliability of the data received from the management device 72. For example, the received data is CRC-checked by the communication control device 41 and “OK” or “NG” data is written in the internal dual port RAM, so that the check data is confirmed.
[0144]
Next, in step S143, the received packet is read and the information of the packet is stored in the memory, and the process proceeds to the next step S144. The received packet is, for example, a store opening packet, an initial data packet, a store closing packet, an operation stop request packet, an operation resumption request packet, an operation data ACK packet, or the like from the management device 72.
[0145]
On the other hand, if it is determined in step S141 that the interrupt code is not a packet, the process branches to step S145 to determine whether the request is a status read request from the communication control device 41. The branching to step S145 corresponds to the case where the interrupt code is a status or a command, and these status and command are data from the communication control device 41.
If it is a status read request, in the next step S146, the received status is read, the status information is analyzed, and the process corresponding to the received status is executed. Then, the process proceeds to step S144.
[0146]
On the other hand, if it is determined in step S145 that the request is not a status read request, the process proceeds to step S147 to determine whether the request is a command read request from the communication control device 41. If it is a command read request, in the next step S148, the received command is read, the information of the command is analyzed, and the process corresponding to the received command is executed. Then, the process proceeds to step S144. If it is determined in step S147 that the request is not a command read request, the interrupt code is not a packet, status, or command. In such a case, an error has occurred and the status is set as a communication error in step S149. The process proceeds to step S144.
[0147]
In step S144, a processing confirmation code is written in the optical transmission area (dual port RAM of the communication control device 41) to inform the management device 41 that the packet has been received, and the communication control device 41 passes through the optical transmission / reception unit 1a. To the management device 72. Thereafter, the optical reception interrupt process is terminated and the process returns to the main process routine.
[0148]
24, 25, 26, and 27 are flowcharts of the L reception interrupt process, and FIGS. 25 to 27 show a packet reception process subroutine during the L reception interrupt process. This L reception interrupt process is a process performed by the main control device 1M reading data from the card R / W control device 291 written in the dual port RAM of the L board 17, and is executed by interrupting the main processing routine. Is done.
[0149]
In this interrupt process, first, in step S160, data in the dual port RAM of the L board 17 is read.
Next, in step S161, it is determined whether or not the initialization process of the card R / W control device 291 has been completed. This determination is made based on whether or not the card R / W control device 291 has requested initialization. If the initialization process is not completed, the initialization process of the card R / W control device 291 is executed in step S162, and the process proceeds to step S163. When the initialization process is finished, step S162 is skipped and the process proceeds to step S163.
[0150]
In step S163, it is determined whether or not there is R / W status information from the card R / W control device 291. If there is R / W status information, status reception processing is executed and its operation is monitored (step S163). After that, a packet reception process based on reception of packet data from the card R / W control device 291 is performed (step S165).
If there is no R / W state information in step S163, step S164 is skipped and the packet reception process in step S165 is entered directly.
[0151]
In the packet reception process of FIGS. 25 to 27, first, in step S170, it is determined whether or not there is packet data. If there is no packet data, the L reception interrupt process is terminated as it is. When there is packet data, the packet data is analyzed (step S171), and it is determined whether or not the packet is a line test ACK (step S172). This line test ACK indicates to the main controller 1M that the card R / W controller 291 has normally received the line test packet when the line test packet is sent from the main controller 1M to the card R / W controller 291. Information for confirmation to be notified. If the packet is a line test ACK, a line test ACK reception process is performed, and a flag corresponding to the line test ACK reception is set for use in other processes (step S177). If the packet is not a line test ACK, it is determined whether it is a store opening ACK (step S173).
[0152]
Thereafter, similarly, if the store is OPEN, a store ACK reception process is performed (step S178), and if it is not the store ACK, it is determined whether the store is ACK (step S174). If it is a closed ACK, a closed ACK reception process is performed (step S179), and if it is not a closed ACK, it is determined whether or not it is a power failure recovery ACK (step S175). If it is a power failure recovery ACK, a power failure recovery ACK reception process is performed (step S180), and if it is not a power failure recovery ACK, it is determined whether it is a power failure evacuation ACK (step S176).
[0153]
If the received packet is a power failure saving ACK, a power failure saving ACK reception process is performed (step S181), and if it is not a power failure saving ACK, it is determined whether or not it is a store opening preparation ACK (step S182). If it is a store opening preparation ACK, a store opening preparation ACK reception process is performed (step S190), and if it is not a store opening preparation ACK, it is determined whether it is EJECT ACK (step S183). Here, EJECTACK is an ACK in response to an instruction to remove the head portion of the game card C from the card issuing slot 112.
[0154]
If the received packet is EJECTACK, EJECTACK reception processing is performed (step S191), and if it is not EJECTACK, it is determined whether or not it is a card data write ACK (step S184). If it is card data write ACK, write ACK reception processing is performed (step S192), and if it is not card data write ACK, it is determined whether or not it is card data read ACK (step S185).
[0155]
If it is a card data read ACK, a read ACK reception process is performed (step S193), and if it is not a card data read ACK, it is determined whether it is an EJECT response (step S186). Here, the EJECT response is a response from the card R / W control device 291 for indicating that the player has pulled out the game card C and has issued the game card C. If it is an EJECT response, an EJECT response reception process is performed to set a card issuance completion flag (step S194), and if it is not an EJECT response, it is determined whether or not the card IN (game card C is mounted) ( Step S187). If it is a card IN, a card IN reception process is performed and a card insertion flag is set (step S195), and if it is not a card IN, it is determined whether or not it is an error packet (a state where an error such as a card jam has occurred) Step S188).
[0156]
If the received packet is an error packet, error packet reception processing is performed (step S196). If the received packet is not an error packet, the R / W status (current status report of the card R / W control device 291: for example, the data of the game card C It is determined whether or not the game card C is being read or not (step S189). If it is the R / W status, R / W status reception processing is performed (step S197), and if it is not the R / W status, it is determined whether or not it is a reject ACK (step S198). Here, the reject ACK is an ACK for the card collection command. If it is a reject ACK, a reject ACK is received and a reject ACK flag is set (step S204), and if it is not a reject ACK, it is determined whether or not it is a reject response (step S199). Here, the reject response is a response from the card R / W control device 291 notifying completion of card collection.
[0157]
If the received packet is a reject response, a reject response reception process is performed and a reject response flag is set (step S205). If the received packet is not a reject response, it is determined whether or not it is a card data read response (data read from the game card C). It discriminate | determines (step S200). If it is a card data read response, a card data read response reception process is performed (step S206). In this card data read response reception process, the information received via the dual port RAM of the L board 17 is written into its own memory for use in other processes.
[0158]
If the received packet is not a card data read response, it is determined whether or not it is a card data write response (write completion response to the game card C) (step S201). If it is a card data write response, a card data write response reception process is performed and a response reception flag is set (step S207). If it is not a card data write response, it is determined whether or not an ID is received (step S202). Here, the ID reception means that when the gaming card C side authenticates whether the card issuing machine 1 is valid based on the temporary identification number and authenticates it as valid, this time, Since the game card C notifies the card issuing machine 1 of the security code and the card number in order to determine its legitimacy, it means receiving the security code and the card number.
[0159]
If it is ID reception, ID reception processing is performed (step S208). In this ID reception process, an ID reception flag is set, and a security code and a card number are received from the game card C and written in its own memory to be used for authentication processing on the card issuing machine 1 side. If the ID is not received, it is determined again whether there is packet data (step S203). If there is no packet data, the L reception interrupt process is terminated. If there is packet data, the process returns to step S171. .
[0160]
In addition, in said step S177-step S181, step S190-step S197, and step S204-step S208, after performing each process, the discrimination | determination process of step S203 is performed.
[0161]
Next, returning to the main processing routine of FIG. 13, FIG. 14 and FIG. 15, the issuance preparation processing subroutine in step S47, the human body detection processing subroutine in step S57, the card issuance processing subroutine in step S59, step S41, etc. The interval processing subroutine in FIG.
[0162]
First, the issue preparation processing subroutine will be described. As described above, the issuance preparation process subroutine is a process that is continuously performed after the game card C is issued. The game card C in the card tank is transported to the card R / W control device 291 and mounted. Mutual authentication and main initial value writing are performed. When the next person who is issued the game card C stands in front of the card issuing machine 1 by this issuance preparation process, the game card C to be issued is already in the mounted state, and between the game card C This means that the mutual authentication and the writing of the main initial value to the game card C have been completed.
[0163]
28 to 33 are flowcharts showing an issue preparation processing subroutine. In this issuance preparation processing subroutine, first, in step S1001, the operation status (issuing machine state) is set to “card writing in progress”, and the process proceeds to the next step S1002.
In step S1002, it is determined whether or not there is an error flag. If there is no error flag, the process proceeds to the next step S1010. The error flag in this case is set in step S55 of FIG. 14, and when the card issuing machine 1 is opened, the reading of the game card C that has been installed is not normally performed. It is a flag set to.
In step S1010, an ID check process described later in detail is performed. In this ID check processing, card conveyance and mutual authentication are performed, and processing is performed until an authentication result OK, an authentication result NG, or a fatal error is detected as a status.
[0164]
In the next step S1011, the status is checked. If the status is a fatal error, the process proceeds to step S1023.
On the other hand, if the status is not a fatal error in step S1011, it is determined that the card issuing machine 1 is normal, and the process proceeds to the next step S1012 to determine whether or not the authentication result is OK. If the authentication result is OK, a card data first half write process (FIG. 33), which will be described later in detail, is executed to write the main initial value to the game card C, and then the process proceeds to step S1023. The details of the card data first half writing process will be described later.
In step S1023, it is determined whether or not there is an error flag. If there is no error flag, the issuance preparation processing subroutine is terminated as it is. The error flag in this case is a flag that is set when the main initial value is not normally written to the game card C.
If the authentication result is not OK in step S1012, that is, if the authentication result is NG, the process proceeds to the next step S1013.
[0165]
In step S1013, a process for writing a defective card command in the optical transmission area (dual port RAM of the communication control device 41) and transmitting a defective card occurrence packet to the management device 72 is performed, and the process proceeds to the next step S1014.
As described above, when the mutual authentication is not normally performed, the information on the occurrence of the abnormality is transmitted to the management device 72. Therefore, the management device 72 can grasp the occurrence status of the defective card at any time, At the amusement store 70, it is possible to appropriately deal with the abnormality such as contacting the card company 74.
[0166]
In step S1014, a reject command is written in the L transmission area (the dual port RAM of the L board 17) to instruct card recovery to the card R / W control device 291 and the process proceeds to the next step S1015. By writing a command to the dual port RAM of the L board 17, the command is transmitted to the card R / W control device 291 via the L board 17 and the L board 29.
[0167]
In step S1015, it is determined whether or not the reject ACK flag is on. The reject ACK flag is set in step S204 of the L reception interrupt process described above, and the main control device indicates that the card R / W control device 291 has normally received the reject command from the main control device 1M. It is set when 1M is notified.
[0168]
If the reject ACK flag is not on, it is determined in step S1016 whether or not 1 second as a standby time has elapsed. If the reject ACK flag is not on even after 1 second has elapsed, the card R / W control device 291 In step S1017, a fatal error is set on the assumption that the transmission to is bad, and then the process returns to step S1010.
[0169]
On the other hand, if it is determined in step S1015 that the reject ACK flag is on, the process proceeds to step S1018 to clear the reject ACK flag, and in the next step S1019, it is determined whether an error has occurred. If an error has occurred, a fatal error is set in step S1017 described above, and then the process returns to step S1010.
[0170]
If no error has occurred in step S1019, the process advances to step S1020 to determine whether or not the reject response flag is on. This reject response flag is set in step S205 of the L reception interrupt processing described above, and the card R / W control device 291 performs card collection in response to a reject command from the main control device 1M. It is set when it has returned to the main control device 1M that it has completed normally.
[0171]
If the reject response flag is not on, the process returns to step S1019 and waits. On the other hand, if the reject response flag is on, the process proceeds to step S1021, clears the reject response flag, and returns to step S1010, which will be described later. As such, the next game card C is instructed to be transported and mounted.
[0172]
On the other hand, when it is determined in step S1002 that there is an error flag (error when reading the main initial value from the game card C), and in step S1023, an error flag (when the main initial value is written to the game card C) is determined. If it is determined that there is an error), the process proceeds to step S1024. In step S1024, the error flag is cleared, and then the process proceeds to step S1013.
[0173]
As described above, when the attached gaming card C is not valid, when the main initial value of the gaming card C when the card issuing machine 1 is started up is not normal, and when the main initial value is written to the gaming card C normally. When it is not possible, the game card C is collected, the game card C that is waiting next is mounted, the authentication and the main initial value are written, and the issuance preparation process is completed. If an operator who receives a card is issued in front of the card issuing machine 1, the normal gaming card C is already on standby and issues the gaming card C immediately. Can do.
[0174]
Next, the ID check process in step S1010 in the above issue preparation process will be described.
FIG. 30 is a flowchart showing the ID check process. In this ID check processing, the game card C is transported and mutually authenticated, and processing is performed until an authentication result OK, an authentication result NG, or a fatal error is detected as a status.
First, in step S1030, the status is checked. If the status is a fatal error, the ID check process is terminated as it is. If the status is not a fatal error, it is determined that the card issuing machine 1 is normal and the process proceeds to the next step S1031.
[0175]
In step S1031, a card transfer command is written in the L transmission area (the dual port RAM of the L board 17), and a command is given to the card R / W control device 291 to take out and attach the game card C from the card tank. The process proceeds to S1032.
[0176]
In step S1032, it is determined whether or not the card attachment flag is on. This card attachment flag is set in step S195 of the L reception interrupt process described above, and the card R / W control device 291 conveys and attaches the gaming card C in response to a card conveyance command from the main control device 1M. Is set when the main controller 1M is informed that it has been completed normally.
[0177]
If the card attachment flag is not on, it is determined in step S1033 whether or not 10 seconds as the standby time has elapsed. If the card attachment flag is not on even after 10 seconds, the card R / W control device 291 is determined. In step S1034, a fatal error is set and the process proceeds to the next step S1035.
On the other hand, if it is determined in step S1032 that the card mounting flag is on, the process skips steps S1033 and S1034 and directly proceeds to step S1035.
[0178]
In step S1035, an ID request command and a temporary identification number of the card issuing machine 1 are written in the L transmission area (the dual port RAM of the L board 17) and transmitted to the card R / W control device 291. Proceed to the next Step S1036.
In step S1036, ID check reception waiting processing is performed. This ID check reception waiting process is performed when the game card C side authenticates whether or not the card issuing machine 1 is legitimate based on the temporary identification number and authenticates the legitimate one. Is a process for checking the receipt of the security code and the card number because the game card C sends the security code and the card number to the card issuing machine 1 in order to determine its legitimacy.
[0179]
This ID check reception waiting process will be described with reference to FIG. 31. First, in step S1050, the status is checked. If the status is a fatal error, the ID check process is terminated as it is, and if the status is not a fatal error. The process proceeds to the next step S1051 because it is normal.
[0180]
In step S1051, it is determined whether or not the ID reception flag is on. When the card issuing machine 1 authenticates that the card issuing machine 1 is valid on the side of the game card C, this ID reception flag indicates that the game card C has a security code and a card number in order to determine its validity. Since it is sent to the issuing machine 1, it is a flag that is set when the security code and the card number are taken in by the L reception interrupt process (step S208 in FIG. 27).
[0181]
If it is determined in step S1051 that the ID reception flag is on, the ID reception flag is cleared, the ID check reception waiting process is terminated, and the process returns to the ID check process.
On the other hand, if the ID reception flag is not on, interval processing is performed in step S1052, and it is determined in step S1053 whether or not 1 second as a standby time has elapsed, and if 1 second has not elapsed, the process proceeds to step S1050. Step S1290 and the subsequent steps are repeated, and if the ID reception flag is not on even after 1 second has elapsed, the retry request flag is set and the ID check reception waiting process is terminated as it is, and the process returns to the ID check process.
[0182]
Returning to the ID check process in FIG. 30, when the ID check reception waiting process in step S1036 is completed, the process proceeds to the next step S1037.
In step S1037, the status is checked. If the status is a fatal error, the ID check processing is terminated as it is. If the status is not a fatal error, it is assumed that the status is normal and the process proceeds to the next step S1038.
[0183]
In step S1038, it is determined whether or not the retry request flag is on. When the retry request flag is not on, the game card C side has authenticated the card issuing machine 1 as valid. In this case, the card number and the security code received from the game card C are read in step S1039, and then the step In step S1040, a security code authentication process is performed, and the ID check process ends. Here, the security code authentication process is a process in which the card issuing machine 1 authenticates whether or not the game card C is legitimate based on the security code received from the game card C.
[0184]
This security code authentication process will be described with reference to FIG. 32. First, in step S1060, the first character of the security code is read. Next, in step S1061, the authentication result OK is set. In the next step S1062, the security code character string is terminated. It is determined whether or not it has been reached. If the end of the security code character string has not been reached, the process proceeds to step S1063, where the character currently read is a character that is recognized in advance by the card issuing machine 1 (from the management device 72 to the card issuing machine 1 as initial data). Check if it matches the security code sent to you. If the authentication check is normal, the next character is read in the next step S1064, the process returns to step S1062, and steps S1062, S1063, and S1064 are repeatedly executed. If there is an abnormality in the authentication check in step S1063, the process proceeds to step S1065, the authentication result NG is set and the security code authentication process is terminated, and then the ID check process is also terminated as it is.
[0185]
When the end of the character string is reached in step S1062, the authentication check is normal over all characters (for example, 8 bytes). At this time, the security code authentication process is terminated with the authentication result OK set, Thereafter, the ID check process is also terminated.
[0186]
Returning to the ID check process of FIG. 30, when the retry request flag is on in step S1038, the gaming card C side has authenticated the card issuing machine 1 as invalid, and in this case, the retry request flag is set in step S1041. The authentication result NG is set in the next step S1042, and then this ID check process is terminated.
[0187]
Next, the card data first half writing process in step S1022 in the above-described issue preparation process will be described.
FIG. 33 is a flowchart showing the card data first half writing process. In this card data previous period writing process, first, in step S1070, a card data write command for instructing writing to the game card C is written in the L transmission area (dual port RAM of the L board 17), "Number", "true identification number of card issuing machine 1", "identification number of large-scale money adding machine 87", "identification number of gaming machine 82", "identification number of premium POS 176", "final hole name" and " The “last hole identification number” is written as the main initial value. By this processing, these main initial values are written into the game card C.
[0188]
This writing to the game card C is performed in response to the fact that the authentication result in step S1012 of FIG. 29 is OK. In other words, the game card C is written and issued with the main initial value necessary for the subsequent gaming system only for those that have been determined to be valid after mutual authentication has been completed, and are written to the game card C that is not valid. Therefore, it is possible to prevent important information such as the main initial value from being inadvertently leaked.
[0189]
In the next step S1071, it is determined whether or not there is a response reception flag that is set in response to the card data write response (write completion response to the game card C).
[0190]
When the response reception flag is present, the main initial value is normally written to the game card C. In this case, the response reception flag is cleared in step S1075, and the status is checked in the next step S1076. If the status is normal, the card data previous period writing process is terminated as it is.
[0191]
If the status is a fatal error in step S1076, the error flag is set in the next step S1074, and then the card data first half writing process is terminated.
[0192]
On the other hand, when there is no response reception flag in step S1071, interval processing is performed in step S1072, and then in step S1073, it is determined whether or not 1 second as a standby time has elapsed. Returning to S1071, step S1071 and subsequent steps are repeatedly executed. If there is no response reception flag even after one second has elapsed, it is determined that there is an abnormality in writing the main initial value to the game card C, and an error flag is set in step S1074. Then, the card data first half writing process is finished as it is.
[0193]
In this way, in the above issuance preparation process, when the next person who issues the game card C performs an operation, the game card C to be issued is already in the mounted state, The mutual authentication and writing of the main initial value to the game card C is completed. When an amount of money is input by an operator receiving the issue, the time information is simply written and issued as will be described later. Therefore, when the game card C is issued, the game card C can be issued promptly with almost no waiting.
In addition, the time information is written in the game card C immediately before the card issuance, and is the same as when it is issued. Therefore, the date does not change and one game card C is wasted. Can be issued without
Furthermore, since the game card C has a built-in processor, the price per card is higher than that of a magnetic card or the like. However, since the high-priced game card C is not wasted, it is economical. The effect is also high.
[0194]
Next, returning to the main processing routine (FIGS. 13 to 15), the human body detection processing subroutine in step S57 will be described.
As described above, the human body detection processing subroutine detects a customer standing in front of the card issuing machine 1, and performs each process from when the customer inserts money and presses the issuing switch 107. When the issuance switch 107 is pressed, the process proceeds to the next card issuance processing subroutine.
The operation of the card issuing machine 1 based on this human body detection processing subroutine is roughly as follows.
[0195]
That is, the card issuing machine 1 first executes a normal operation (a state in which money is allowed and waits for a customer), and when a human body is detected, the normal operation is explained from the normal operation (the guidance unit 103 uses the gaming system). The system shifts to a state in which system guidance for schematically explaining and guiding the gaming procedure is performed, and waits for the insertion of money. If money is inserted during this explanation operation, the operation shifts to money insertion operation, and the accepted amount of money is displayed on the CRT display screen 104. When the amount of money reaches the “issue unit price” or more, money insertion is prohibited and issued. Wait for the switch 107 to turn on. The “issue unit price” is the purchase price of one gaming card C, and is set to, for example, 1,000 yen.
[0196]
When the issuing switch 107 is turned on, the card issuing machine 1 shifts to a card issuing operation based on the card issuing process subroutine.
When the cancel switch 108 or the return lever 111 is turned on instead of the issue switch 107, the amount that has been inserted so far is returned and the normal operation is resumed.
In addition, if there is money insertion during normal operation, it will shift directly to money insertion operation. Moreover, even if there is human body detection, if the customer leaves in a state where no coin is inserted and the human body detection is turned off, the normal operation is resumed.
[0197]
34 to 40 are flowcharts showing the human body detection processing subroutine. In this human body detection processing subroutine, first, the status is checked in step S220 of FIG. 34, and if the status is closed or a fatal error, the human body detection processing is terminated as it is. If the status is neither closed nor a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to step S221 to execute human body detection waiting processing.
[0198]
The human body detection waiting process in step S221 detects a human body and gives the customer the above system guidance as will be described in detail later, and detects that the status is an issue switch flag on, a cancel switch flag on, a store closing or a fatal error. Perform the process up to.
[0199]
In the next step S222, money insertion prohibition processing is performed and money insertion is prohibited until a series of processing ends.
Subsequently, a status check is performed again in step S223. This status check is a check of the status that occurred during the execution of the human body detection waiting process in step S221. When the status is one of the issue switch flag ON, the store closing, and a fatal error, this human body detection processing subroutine is executed. finish.
[0200]
On the other hand, if the status of the cancel switch flag is ON, the process proceeds to step S224, and details are executed as described below, and a refund process for canceling is performed to clear the cancel switch flag. After the cancel switch flag is cleared, the process returns to step S220.
[0201]
Next, the human body detection waiting process in step S221 will be described with reference to FIGS.
FIG. 35 is a flowchart showing human body detection waiting processing. In this human body detection waiting process, a human body is detected, system guidance is given to the customer, and processing is performed until it is detected that the status is an issue switch flag ON, a cancel switch flag ON, a store closing or a fatal error.
[0202]
First, in step S230 and step S231, data in the RAM 7 is initialized. That is, the card number and the security code are cleared in step S230, and the amount to be inserted is set to 0 in the next step S231. Subsequently, a status check is performed in step S232. If the status is neither a store closing nor a fatal error, it is determined that the card issuing machine 1 is normal and the process proceeds to the next step S233.
[0203]
In step S233, a detection waiting process, which will be described later in detail, is executed, and the human body detection is waited for while continuing the normal operation in a state in which the insertion of money is permitted, and the status is money insertion, human body detection flag is present, closed, or deadly Process until it is detected that the error is a static error. After this detection waiting process, the process proceeds to the next step S234.
[0204]
In step S234, the status is checked again. This status check is a check of the status that occurred during the execution of the detection waiting process in step S233, and when the status is neither money input, closing, or a fatal error, and when the status has a human body detection flag, The process proceeds to step S235.
In step S235, an operation explanation process described later in detail is executed. In this operation explanation process, while the system guidance is performed, the process is performed until it is detected that the status is money inserted, the human body detection flag is off (no human body is detected), the store is closed, or a fatal error is detected. When this operation explanation process ends, the process returns to step S232 described above.
[0205]
On the other hand, if the status is any of coin insertion, closing, and fatal error in step S234, the process branches to step S236 to check the status again. If the status is money insertion, In S237, the operation status (issuing machine state) is set to “Money insertion”.
Subsequently, in step S238, a money insertion process, which will be described later in detail, is executed to perform a process corresponding to the money insertion. In this money insertion process, processing is performed until it is detected that the status is an issue switch flag ON, a cancel switch flag ON or a fatal error. Return to.
[0206]
If the status is closed or a fatal error is determined in step S236, step S237 and step S238 are skipped, and the human body detection waiting process is terminated and the process returns to the human body detection process.
[0207]
Next, the detection waiting process in step S233, the operation explanation process in step S235, and the money insertion process in step S238 in the human body detection waiting process (FIG. 35) will be described in order.
FIG. 36 is a flowchart showing the detection wait process. This detection waiting process waits for the detection of the human body while continuing normal operation in the state where the insertion of money is permitted, and until the status is detected that there is money insertion, the human body detection flag is present, the store is closed, or a fatal error is detected. Process.
[0208]
First, in step S240, the operation status is set to “normally operating”, and the process proceeds to the next step S241.
In step S241, the normal operation mode is written in the display area of the RAM 7, and a process for displaying a normal moving image indicating that the customer is waiting on the CRT display screen 104 is performed.
Subsequently, in step S242, a lamp blinking pattern indicating the normal operation is written in the RAM 7 to perform processing for blinking the lamp, and in step S243, the money insertion prohibition flag is cleared.
[0209]
Next, in step S244, the status is checked. If the status is normal without closing or a fatal error, it is determined in step S245 whether or not money has been inserted. If it is determined that it is not, an interval process is performed in step S246, and then it is determined whether or not a human body detection flag is present in step S247.
If it is determined in step S247 that there is no human body detection flag, that is, no human body is detected, the process returns to step S244, and step S244 and subsequent steps are repeatedly executed.
On the other hand, when the status is closed or a fatal error is determined at step S244, when it is determined at step S245 that money is inserted, and when it is determined at step S247 that a human body detection flag is present, this detection waiting process is terminated.
[0210]
FIG. 37 is a flowchart showing the operation explanation processing. In this operation explanation process, while the system guidance is performed, the process is performed until it is detected that the status is money inserted, the human body detection flag is off (no human body is detected), the store is closed, or a fatal error is detected.
[0211]
First, in step S250, the status is checked, and when the status is normal rather than a fatal error, the operation status is set to “under explanation operation” in step S251, and the process proceeds to the next step S252.
In step S 252, processing for displaying an operation explanation mode and writing in the display area of the RAM 7, and an explanation movie for performing system guidance on the CRT display screen 104 is performed.
[0212]
Next, in step S253, the status is checked. If the status is normal without closing or a fatal error, it is determined in step S254 whether or not money has been inserted. If it is determined that it is not, an interval process is performed in step S255, and then it is determined whether or not a human body detection flag is present in step S256.
If it is determined in step S256 that the human body detection flag is present, that is, that a human body is detected, the process returns to step S253, and step S253 and subsequent steps are repeatedly executed.
[0213]
On the other hand, when the status is closed or a fatal error is determined at step S253, when it is determined at step S254 that money is inserted, and when it is determined at step S256 that there is no human body detection flag, the operation explanation process is terminated.
[0214]
FIG. 38 is a flowchart showing money insertion processing. This money insertion process is a process executed in response to money insertion, and performs a process until it is detected that the status is an issue switch flag on, a cancel switch flag on, or a fatal error.
[0215]
First, in step S260, a lamp blinking pattern indicating that money is inserted (money being inserted) is written in the RAM 7 and processing for lamp blinking is performed.
Next, the status is checked in step S261, and when the status is not any of the issue switch flag ON, the cancel switch flag ON, or a fatal error, the change amount is calculated in the next step S262.
Subsequently, in step S263, the amount input mode is written in the display area of the RAM 7, and the input amount and the change amount obtained in step S262 are written to perform processing for display.
[0216]
In the next step S264, it is determined whether or not the input amount is “issue unit price” or more, and if it is “issue unit price” or more, it is determined whether or not the money input prohibition flag is turned on in step S265. If the money insertion prohibition flag has not been turned on, the money insertion prohibition flag is set in step S266, and then the process proceeds to step S267.
On the other hand, when the input amount has not reached the “issue unit price” in step S264, and also when the money input prohibition flag is already turned on in step S265, the process proceeds to step S267.
[0217]
In step S267, cancel switch processing is performed. This cancel switch process will be described with reference to FIG. 39. First, the status is checked in step S270, and if the status is not a fatal error, the interval process is performed in the next step S271.
Subsequently, in step S272, it is determined whether or not the cancel switch 108 is on. If the cancel switch 108 is on, the process branches to step S279, the cancel switch flag is set, and the process proceeds to step S276.
[0218]
If the cancel switch 108 is not on, it is determined in step S273 whether or not the input amount has reached the “issue price”. If it has reached the “issue price”, whether or not the issue switch 107 is on in step S274. Is determined. If the issue switch 107 is on, the issue switch flag is set in the next step S275, and the process proceeds to step S276.
[0219]
When the input amount has not reached the “issue price” in step S273, and also when the issue switch 107 is not turned on in step S274, the process proceeds to step S276.
[0220]
In step S276, it is determined whether or not money is added. If there is no money added, whether or not the issue switch flag is turned on in the next steps S277 and S278, and whether or not the cancel switch flag is turned on. If no flag is turned on, the process returns to step S270, and step S270 and subsequent steps are repeatedly executed.
[0221]
On the other hand, when the status is a fatal error at step S270, when money is added at step S276, when the issue switch flag is turned on at step S277, or when the cancel switch flag is turned on at step S278, respectively. The cancel switch process is terminated, and the process returns to the money insertion process shown in FIG. 38 to execute step S261 and subsequent steps.
[0222]
Returning to FIG. 38, when the status is any one of the issue switch flag ON, the cancel switch flag ON, and a fatal error in step S261, the money insertion process is ended.
[0223]
Next, the investment amount withdrawal processing subroutine in step S224 of the human body detection processing (FIG. 34) will be described with reference to FIG.
FIG. 40 is a flowchart showing the input money amount refund process. As described above, this inserted amount refund process is a refund process associated with cancellation. First, in step S290, the operation status is set to “cancelled”, and the process proceeds to the next step S291.
In step S291, a cancel mode is written in the display area of the RAM 7, and processing for display is performed. Subsequently, in step S292, a lamp blinking pattern indicating the return of money is written in the RAM 7 to perform a process for blinking the lamp.
Further, in step S293, payout of money is started, and the process proceeds to the next step S294.
[0224]
In step S294, the status is checked, and if the status is not a fatal error, an interval process is performed in the next step S295, and then in step S296, it is determined whether or not the payout of money has been completed. If the payout of money is not completed, the process returns to the above step S294 repeatedly to wait until the payout is completed, and when the payout is completed, the process proceeds to the next step S297.
[0225]
In step S297, the cancel switch flag is cleared, and in next step S298, a waiting time for receiving a change is secured by performing a change receipt time waiting process, which will be described in detail later, and then the button lamp is switched in step S299. The display pattern is switched, and then the investment amount withdrawal process is terminated.
[0226]
Next, returning to the main processing routine (FIGS. 13 to 15), the card issuing processing subroutine in step S47 will be described.
In response to the issue switch flag being turned on as described above, the card issuance processing subroutine further applies time to the game card C that has already been installed and the authentication and main initial value writing have been completed. The information is written, and thereafter, the game card C is issued and the receipt R is issued. If there is a change at that time, a series of processing for paying the change is performed.
[0227]
The operation of the card issuing machine 1 based on the card issuing process subroutine is roughly as follows.
In other words, when the amount of money more than the issue unit price is input and the issue switch 107 is turned on, the card issuing machine 1 applies to the gaming card C that has already been installed and the authentication process and main initial value writing have been completed. Further, the time information is written, and a series of card issuing operations for issuing the game card C in which all the initial values including the main initial value and the time information are written are performed. When the card issuing operation is completed, the receipt R is received from the printer 21. Is output.
After the receipt R is output, if there is a change, a change payout operation for paying out the change amount of money from the coin device 26 or the banknote device 24 is performed, and then the routine proceeds to a normal operation. Also, when there is no change, the change payout operation is not performed, and the routine immediately shifts to the normal operation.
[0228]
In this way, a specific process for issuing a card is started only when the player who receives the card is issued an amount equal to or higher than the issue unit price and presses the issue switch 107. That is, after the money is inserted, the game card C is not automatically issued, but is issued based on the player's clear statement of will. Even after the amount has been entered, if it is no longer desired to issue a card, it can be canceled as described above. In this respect, the card issuing machine 1 is configured as an easy-to-understand device that stands on the player's side, and can prevent unnecessary troubles that tend to occur when issuing a card.
[0229]
41 to 49 are flowcharts showing a card issuing process subroutine. In this card issuance processing subroutine, first, in step S310 in FIG. 41, the card writing mode and writing are written in the display area of the RAM 7, and the insertion amount and change amount are written to perform processing for display.
In step S311, a lamp blinking pattern indicating card issuance is written in the RAM 7 and processing for lamp blinking is performed.
Thereafter, a card writing process is performed in step S312. In this card writing process, as will be described in detail later, the game card C is issued after writing time information.
[0230]
Then, the process proceeds to the next step S313 to check the status. If the status is normal rather than a fatal error, the receipt R is issued in the next step S314, and the process proceeds to step S315. If the status is a fatal error, step S314 is skipped and the receipt R is not issued, and the process proceeds to step S315.
[0231]
In this receipt R, as shown in FIG. 54, an issuance game hall (hall) name, date of issuance date, expiration date, and a rough and clear explanation about a game procedure in the game system are described. In addition, certain items are described so that they can be used as receipts.
Thus, since the receipt R which printed the game procedure in the said game system is also issued when the game card C is issued, even the first player can easily grasp the entire game system, You can enter the game smoothly.
Furthermore, since the receipt R can also be used as a receipt, the customer is freed from the trouble of requiring the amusement store to separately issue a receipt, and the amusement store can also save time and effort for issuing the receipt. This is convenient for both parties.
[0232]
In step S315, a change calculation process, which will be described in detail later, is performed to calculate the change, and the number of change refunds for each currency is set, and the process proceeds to the next step S316.
In step S316, a change dispensing start process, which will be described in detail later, is performed to dispense coins and bills as change, and the process proceeds to the next step S317.
[0233]
In step S317, the status is checked, and if the status is a fatal error, the card issuing process is terminated as it is.
If the status is not a fatal error, an interval process is performed in the next step S318, and then it is determined in step S319 whether or not the change has been paid out. If the change has not been paid out, the process returns to step S317 and waits until the payout is completed, and when the payout is completed, the process proceeds to the next step S320.
[0234]
In step S320, the issuance switch flag is cleared, and in next step S321, a waiting time for change receiving time, which will be described later in detail, is performed to secure a waiting time for the customer to receive change, and then this card issuance processing is terminated.
[0235]
Next, the card writing process in step S312 will be described with reference to FIGS.
FIG. 43 is a flowchart showing the card writing process. In this card writing process, first, in step S330, the operation status is set to “card writing in progress”.
In step S331, the status is checked. If the status is a fatal error, the card writing process is terminated as it is. If the status is not a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to the next step S332.
[0236]
In step S332, card data late writing processing (FIGS. 44 and 45), which will be described in detail later, is executed, and processing such as writing time information to the game card C and setting a reject flag in the status is performed. After this card data late writing process, the process proceeds to the next step S333.
[0237]
In step S333, it is determined whether or not the reject flag is on. If the reject flag is not on, there is an abnormality in writing the time information to the game card C, which corresponds to the case where the game card C is collected. Therefore, the process branches to step S339 to execute the above-described issue preparation process (FIGS. 28 to 33), and the game card C is loaded and authenticated, and the main initial value is written. And after execution of this step S339, it returns to said step S331 and performs step S331 and step S332, and newly writes time information.
[0238]
As described above, when there is an abnormality in the writing of time information, the game card C that is already mounted is collected, and the next game card C is immediately mounted, authenticated, main initial value is written, and time information is written. Since such an abnormal situation is dealt with promptly, it is possible to issue a card smoothly without causing the player who has inserted the money into the card issuing machine 1 to wait so much.
[0239]
If the reject flag is on, this corresponds to the case where the writing to the game card C has been completed normally. In this case, the reject flag is cleared in the next step S334, and then the card discharge described in detail later in step S335. Processing (FIG. 46) is performed, and processing for discharging and issuing the game card C is performed.
The reject flag is turned on not only when the writing to the game card C is normally completed, but also when the writing error of the time information exceeds the allowable limit. (Step S425), in this case, it becomes an error set (Step S426), and is collected thereafter.
[0240]
Then, the status is checked in the next step S336, and if the status is a fatal error, the card writing process is terminated as it is. If the status is not a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to the next step S337.
[0241]
In step S337, processing for writing the issuance information of the game card C in the light transmission area (dual port RAM of the communication control device 41) and transmitting it to the management device 72 is performed, and the process proceeds to the next step S338.
[0242]
In step S338, post-processing of the card issuing machine 1, such as clearing the work RAM 4, is performed, and then the card writing processing is terminated.
[0243]
Next, details of the card data late writing process in step S332 of the card writing process (FIG. 43) will be described with reference to FIGS. 44 and 45. FIG.
44 and 45 are flowcharts showing the card data late writing process. In this card data late writing process, processing such as writing time information to the game card C and setting a reject flag in the status is performed.
[0244]
First, in step S410, the issuance date of the game card C, that is, the date of use and the expiration date converted from the issuance date (for example, the date after one year) are set. In the next step S411, the L transmission area (L A card data write command for instructing writing to the game card C is written into the dual-port RAM of the board 17, and “use date” and “expiration date” are written into the L transmission area (the dual-port RAM of the L board 17). Is written as time information. A main initial value is written in the game card C first, and all initial values (game-related information) are written in the main initial value and current time information.
[0245]
In the next step S412, it is determined whether or not there is a response reception flag that is set in response to the card data write response (write completion response to the game card C).
[0246]
When the response reception flag is present, the time information is normally written to the game card C. In this case, the response reception flag is cleared in step S417, and the status is checked in the next step S418. If the status is normal, the reject flag is set in step S424, and the card data late writing process is terminated as it is.
[0247]
If the status is a fatal error in step S418, an error is set in the next step S419, and the process proceeds to step S420.
[0248]
On the other hand, when there is no response reception flag in step S412, interval processing is performed in step S413. Subsequently, in step S414, it is determined whether or not 1 second as a standby time has elapsed. Returning to S412, step S412 and the subsequent steps are repeatedly executed. If there is no response reception flag even after 1 second has elapsed, “1” is added to the reject counter, and then the count value at the reject counter is “3” in step S416. It is determined whether or not.
[0249]
When the count value at the reject counter does not exceed “3”, the process proceeds to step S420.
If the count value in the reject counter exceeds “3” in step S416, it is a case where an abnormal writing of time information has occurred on the four gaming cards C exceeding the allowable limit. In step S425, a reject flag is set. Subsequently, in step S426, an error is set, and the card data late writing process is terminated as it is.
[0250]
In step S420, in response to the fact that the time information is not normally written to the game card C, a reject command is written to the L transmission area (the dual port RAM of the L board 17), and the card R / W control device Command 291 to collect cards. In this case, since the reject flag is not on, the process proceeds to the issuance preparation process in step S339. Subsequently, the next waiting game card C is mounted, and authentication, main initial value, and writing of time information are performed. Will be executed.
[0251]
In the next step S421, it is determined whether or not the reject ACK flag is on. This reject ACK flag is set when the card R / W control device 291 notifies the main control device 1M that it has normally received the reject command from the main control device 1M.
[0252]
If the reject ACK flag is not on, it is determined whether or not 1 second as a standby time has elapsed in step S422. If the reject ACK flag is not on even after 1 second has elapsed, the card R / W control device 291 In step S423, the card data late writing process is terminated.
[0253]
On the other hand, if it is determined in step S421 that the reject ACK flag is on, the process proceeds to step S427 to clear the reject ACK flag, and in the next step S428, it is determined whether or not an error has occurred. If an error has occurred, the error is set in step S423, and the card data late writing process is terminated as it is.
[0254]
If no error has occurred in step S428, the process proceeds to step S429, and it is determined whether or not the reject response flag is on. The reject response flag is set when the card R / W control device 291 collects a card in response to a reject command from the main control device 1M and responds to the main control device 1M that it has been normally completed. Is.
If the reject response flag is not on, the process returns to step S428 and waits. On the other hand, if the reject response flag is on, the process proceeds to step S430 to clear the reject response flag, and then the card data late writing process is terminated. To do.
[0255]
Next, details of the card ejection process in step S332 of the card writing process (FIG. 43) will be described with reference to FIG.
FIG. 46 is a flowchart showing the card ejection process. This card discharge process is a process for discharging and issuing the game card C. First, in step S440, the status is checked, and if the status is a fatal error, the card discharge process is terminated as it is, and the status is a fatal error. Otherwise, it is normal and the process proceeds to the next step S441.
[0256]
In step S441, the operation status is set to “card ejecting”, and the process proceeds to the next step S442.
In step S442, the writing completion mode and writing, and the input amount and change amount are written in the display area of the RAM 7, and processing for display is performed. Subsequently, in step S443, an EJECT command is written in the L transmission area (dual port RAM of the L board 17) to instruct to eject the game card C, and the process proceeds to the next step S444.
[0257]
In step S444, the status is checked again. If the status is a fatal error, the card ejection processing is terminated as it is. If the status is not a fatal error, it is assumed that the status is normal and the process proceeds to the next step S445.
[0258]
In step S445, it is determined whether there is a card issue completion flag. This card issuance completion flag is set in step S194 (FIG. 26) of the L reception interrupt process, and the card R / W control device 291 ejects the card in response to the EJECT command from the main control device 1M. This is set when the player notifies the main control device 1M that the game card C has been normally issued by pulling out the game card C.
[0259]
If it is determined in step S445 that there is no card issuance completion flag, interval processing is performed in step S446, and then the process returns to step S444 to execute step S444 and subsequent steps to wait for the card issuance completion flag to be turned on.
[0260]
On the other hand, when it is determined in step S445 that the card issuance completion flag is present, the game card C is normally issued. In this case, the card issuance completion flag is cleared in step S447, and the number of issued cards is determined in step S448. Is incremented, and then the card ejection process is terminated. The number of issued cards is transmitted to the management device 72 in the above step S340.
[0261]
Next, the change calculation processing subroutine of step S315 in the card issuing process (FIG. 41) will be described.
FIG. 47 is a flowchart showing change calculation processing. This change calculation process is a process of setting change according to currency when the amount of money inserted at the time of card issuance is “issue unit price” or more. First, in step S450, the status is checked. The change calculation process is terminated. If the status is not a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to the next step S451.
[0262]
In step S451, the change amount is calculated, and in the next step S452, the change amount is calculated when the change amount is refunded with a 500 yen coin. In step S453, the change amount is changed to 500 yen. Determine whether there are more.
If the amount of change paid out with 500 yen coins is larger than the number of coins inserted into 500 yen coins, the number of coins inserted into 500 yen coins is set as the number of coins changed with 500 yen coins in step S454, and the process proceeds to the next step S455. On the other hand, when the amount of change paid out with 500 yen coins is less than the number of coins inserted into 500 yen coins, the amount of change paid out with 500 coins determined in step S452 can be refunded as it is, skipping step S454 and proceeding directly to step S455. .
[0263]
In step S455, the remaining change amount is calculated when the change is first paid out with a 500 yen coin for the number of payouts set in step S452 or S454.
[0264]
In the next step S456, a change amount is calculated when the remaining change amount is refunded with a 1000 yen bill. In step S457, it is determined whether or not the change amount in 1000 bills is larger than the 1000 yen bill insertion number. To do.
If the change amount of 1000 yen bills is larger than the 1000 yen bill insertion number, the 1000 yen bill insertion number is changed to the change number of 1000 yen bills in step S458, and the process proceeds to the next step S459. On the other hand, when the change amount of 1000 yen bills is smaller than the 1000 yen bill insertion number, the change amount of 1000 change bills obtained in step S456 can be refunded as it is, skipping step S458 and proceeding directly to step S459. .
[0265]
In step S459, the remaining change amount is calculated when the change obtained in step S455 is paid out with a 1000-yen banknote for the number of payouts set in step S456 or S458.
[0266]
In the next step S460, the change amount is calculated when the remaining change amount is refunded with 100 yen coins. Further, in step S461, the change amount is set for each currency, and the change calculation process is finished as it is.
[0267]
As described above, when the change is paid back, the change is made with the number of inserted coins being limited, so that the shortage of change coins and change bills can be prevented. In addition, since the number of refunds increases when 100 yen coins are refunded, the priority of the refund is 500 yen coins, 1000 yen banknotes, and 100 yen coins in this order, so that it is not necessary to have many reserves for change. .
[0268]
Next, the change payout start processing subroutine of step S316 in the card issuing process (FIG. 41) will be described.
FIG. 48 is a flowchart showing a change dispensing start process. This change payout start process is a process of paying out based on the number of payouts by money set in the change calculation process described above. First, in step S470, the status is checked, and if the status is a fatal error, the change is changed as it is. The payout start process is terminated. If the status is not a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to the next step S471.
[0269]
In step S471, it is determined whether or not the payout number is “0”. If it is not “0”, the payout number in coins is read in step S472, and in the next step S473, the coin device 26 is read for each type of coin. A coin cylinder to be paid out is designated from among the change supply cylinders provided, the payout from the change supply cylinder is started, and the process proceeds to the next step S474.
[0270]
In step S474, the number of payouts in banknotes is read. Subsequently, in step S475, the banknote payout process is started, and then the change payout start process is ended. The change payout start process is also terminated when the number of payouts becomes “0” in step S471.
[0271]
Next, the change receipt time waiting process subroutine of step S321 in the card issuing process (FIG. 42) will be described.
FIG. 49 is a flowchart showing the change receipt time waiting process. This change receipt time waiting process is a process for monitoring the change receipt time (here, 10 seconds) upon card issuance. First, in step S480, the event timer 10 seconds is started.
[0272]
In the next step S481, the status is checked, and if the status is a fatal error, the process proceeds to step S484, where the 10 seconds of the event timer is stopped, and the change receipt time waiting process is ended as it is. If the status is not a fatal error, it is determined that the card issuing machine 1 is normal, and the process proceeds to the next step S482.
[0273]
In step S482, it is determined whether or not the time measurement for 10 seconds started earlier has timed up. If the time has not expired, it is determined in step S483 whether or not the human body detection flag is on, that is, the customer receives change. Determine if you have left. When the human body detection flag is on and the customer has not left, the process returns to step S481 and step S481 and subsequent steps are repeatedly executed. On the other hand, when the human body detection flag is not turned on and the customer has received change and left, the event timer 10 seconds is stopped in step S484, and the change receipt time waiting process is ended as it is.
[0274]
Next, the interval process executed in steps S41, S42, S43 and other steps S246, S255, S271, S295, S318, S1052, S413, S446 in the main process routine (FIG. 13) will be described.
[0275]
FIG. 50 is a flowchart showing the interval process. This interval process is a process for investigating a warning error, receiving from the small input device 28, processing at the time of detecting a power failure, etc. First, a warning error is investigated and processed in step S490. That is, the occurrence of a warning error in each terminal device such as the card R / W control device 291, the coin device 26, and the bill device 27 is monitored, and processing such as changing the status is performed when a warning error occurs.
[0276]
In the next step S491, a reception process when data is received from the small input device 28 is performed. Subsequently, in a step S492, a money insertion state monitoring process for monitoring the number of coins inserted and dispensed for each type is performed.
[0277]
Then, in the next step S493, it is determined whether or not the power failure notification flag set in step S65 of the power failure interruption process (FIG. 16) is on.
If the power failure notification flag is not on, the process proceeds to step S497, where reading processing when the push button switch is turned on is performed, and then this interval processing is ended. That is, if the error release switch 38 or the mode switch 40 is pressed, a predetermined process corresponding to that is performed, and then the interval process is terminated.
[0278]
On the other hand, if the power failure notification flag is on, the status is checked in step S494, and the status is “cancelled”, “card issuance”, “card writing”, “money being inserted”, “money being paid out”. ”, The push button switch reading process in step S497 is performed, and then this interval process is terminated. That is, when the card issuing machine 1 is in the operation state of “cancel”, “card issuance”, “card writing”, “money being inserted”, and “money being paid out”, the uninterruptible power supply 32, the power supply is maintained until the operation state ends, and if the error release switch 38 or the mode switch 40 is pressed at that time, the predetermined processing corresponding to that is performed, and then the interval processing is ended. To do.
[0279]
If the status is not any of the above operating states in step S494, the data is backed up to the work RAM 4 in step S495 and the state at that time is stored, and then the uninterruptible power supply 32 is forced in step S496. Turns off and ends this interval process. At this time, not only the interval process but also the main process routine and all other processes are completed.
[0280]
Next, the contents of control processing performed by the image display control device 20 will be described with reference to FIGS. 51, 52, and 53. FIG.
51 and 52 are flowcharts showing image control processing performed by the image display control device, and FIG. 53 is a diagram showing an audio data number and an example of the announcement when the image display control device performs voice guidance. .
[0281]
The image display control device 20 receives the information transmitted from the main control device 1M via the image display interface 12, controls the operation of the CRT display screen 104 and the speaker 105 according to the information, and provides screen display guidance and voice guidance. I do. That is, the main control apparatus 1M transmits various mode numbers and corresponding data to the image display control apparatus 20 in the 16 ms timer interruption process shown in FIG. 17, and the image display control apparatus 20 receives these data. Then execute the following steps.
[0282]
First, after the initialization process is performed in step S500, it is determined whether or not the mode 01 is received in step S501. When the mode 01 is received, a normal moving image display process is performed in step S510. A screen indicating that the customer is waiting is displayed on the CRT display screen 104.
When mode 01 is not received in step S501, or after the display process is performed in step S510, the process proceeds to step S502 to determine whether or not mode 02 is received.
[0283]
When the mode 02 is received, the explanation moving image is displayed in step S511, and the guidance unit 103 provides system guidance for schematically explaining and guiding the gaming procedure in the gaming system. It also outputs audio that matches the system guidance. As shown in the operation explanation voice in FIG. 53, the voice output at this time starts from “Welcome to the AIC system”, for example. Prepared and output sequentially.
When mode 02 is not received in step S502, or after display processing and audio output are performed in step S511, the process proceeds to step S503 to determine whether or not mode 03 is received.
[0284]
When the mode 03 is received, it is a case where an amount has been inserted. In this case, it is determined in step S512 whether or not the amount has reached the “issue unit price”. If the input amount has reached the “issue unit price”, in step S 513, an issue switch promotion moving image display process for urging the user to press the issue switch 107 is performed to display the promotion movie on the CRT display screen 104, and step S 514. Then, an audio output corresponding to the promotion video, for example, “Please come in.” “Please press the switch” is output as shown in the switch promotion audio in FIG.
[0285]
On the other hand, if the input amount has not reached the “issue unit price”, in step S516, the amount insertion promotion video for prompting the input of the amount is displayed, and the promotion video is displayed on the CRT display screen 104. In step S517, As shown in the voice input promotion voice in FIG. 53, for example, a voice message “Welcome.” Is output in accordance with the promotion video.
When mode 03 is not received in step S503, or after each display processing and audio output is performed in steps S513, S514, S516, and S517, the process proceeds to step S504 and whether or not mode 04 is received. Make a decision.
[0286]
When the mode 04 is received, the cancel switch 108 is pressed. In this case, a cancel video indicating the cancel is displayed, and an audio corresponding to the cancel video is output, for example, the cancel of FIG. As shown in the voice, it outputs the voice "Please take money".
[0287]
When mode 04 is not received in step S504, or after display processing and audio output are performed in step S515, the process proceeds to step S505 to determine whether or not mode 05 is received.
[0288]
When the mode 05 is received, a card written video indicating that the game card C is being written is displayed, and an audio output corresponding to the card written video is output, for example, the writing shown in FIG. As shown in the middle voice, output the voice "Please wait for a while".
[0289]
When mode 05 is not received in step S505, or after display processing and audio output are performed in step S518, the process proceeds to step S506 to determine whether or not mode 07 is received.
[0290]
When the mode 07 is received, a card writing completion moving image display process indicating that the writing to the game card C is completed is performed, and it is determined whether or not there is a change in the next step S520. If there is, the card is discharged and the change is discharged in step S521. Therefore, as shown in the output of the sound corresponding to it, for example, as shown in the change discharge sound of FIG. 53, “Please take the card.” “Please take the money.” Outputs the voice “Thank you.”
On the other hand, if there is no change in step S520, the voice output corresponding to the card ejection in step S522, for example, “Please take the card.” “Thank you.” Output audio. Then, when mode 07 is not received in step S506, or after audio output is performed in step S521 or step S522, the process returns to step S501 and the control processing after step S501 is repeatedly executed.
[0291]
As described above, in this embodiment, the game card C authentication and the writing of the initial value (main initial value) other than the time information are completed in advance before the operator inputs the money, and after the money is inserted. Since only the time information is written and issued, it is possible to issue the game card C promptly with almost no waiting for the operator who is issued.
[0292]
In addition, the time information is written in the game card C immediately before the card issuance, and is the same as when it is issued. Therefore, the date does not change and one game card C is wasted. Can be issued without
[0293]
Furthermore, since the game card C has a built-in processor or the like, the price per card is higher than that of a magnetic card or the like. However, since the high-priced game card C is not wasted, it is economical. The effect is also high.
[0294]
Further, when the game card C is in a standby state with the card R / W control device 291 mounted, the game card C at that time is in a position close to the card discharge port 292, so that the game card is used using a piano wire or the like. In this embodiment, the time information is not written in the waiting game card C, and such a game card C is extracted and used. Is not accepted by the gaming system. For this reason, the configuration of writing time information when issuing a card functions effectively from the viewpoint of the security of the game card C, and the security of the game card C can be maintained at a high level.
[0295]
Further, when the card issuing machine 1 is started up and opened, it is confirmed whether or not the main initial value written in the already installed gaming card C is normal. Therefore, even the gaming card C whose time has passed can be surely secured.
[0296]
At this time, if there is an abnormality in the main initial value, the next game card C is immediately collected and authenticated, and the main initial value is written. When standing, the normal game card C is in a waiting state. Therefore, even if there is an abnormality in the game card C at the time of start-up, the game card C can be issued promptly to the player.
[0297]
In addition, when there is an abnormality in the writing of time information, the game card C that has already been mounted is collected, and the next game card C is immediately mounted, authenticated, main initial value written, and time information written. Therefore, even if an abnormality occurs in the writing of time information, it can be dealt with promptly, and the card can be issued smoothly without causing the player who has entered the card issuer 1 to wait so much.
[0298]
In the above-mentioned card issuing machine 1, since the issue switch 107 is pushed after the amount is inserted, the game card C is issued based on the player's clear intention expression. When the card issuance is no longer desired, it can be canceled. In this respect, the card issuing machine 1 is configured as an easy-to-understand and understandable device standing on the player side.
On the other hand, if an amount greater than the issue unit price is input, the time information may be automatically written and issued without pressing the issue switch 107. By doing in this way, the structure of the card issuing machine 1 can be made simpler.
[0299]
In the above description, the card issuing machine 1 issues the card after mutual authentication with the gaming card C. However, only the card issuing machine 1 side does not perform the mutual authentication. When the authenticity of C is determined and it is determined (authenticated) that the gaming card C is valid, the card may be issued. In this way, automatic card issuance can be performed with a simpler configuration.
[0300]
Further, in the above description, among the initial values to be written to the game card C, the main initial value (initial value other than the time information) is written in the card data early write process, and the time information is written in the card data late write process. However, data arbitrarily selected from the initial values may be written in the card data early write process, and other initial values may be written in the card data late write process.
[0301]
In this way, by adopting a configuration in which the initial value is written separately in the first and second periods when the card is issued, the write data after the money is inserted can be reduced, and the card can be issued quickly in a short time. .
[0302]
Also, if the game card C is in a standby state with the card R / W control device 291 mounted, as described above, the game card C at that time is located close to the card discharge port 292. It is conceivable that the game card C may be pulled out using the card, but when the card is issued, the initial value is written separately in the first half and the second half so that the waiting game card C All the initial values required in this gaming system are not written, and even if such a gaming card C is extracted and used, the gaming system does not accept it. Therefore, it functions effectively from the viewpoint of the security of the game card C, and the security of the game card C can be maintained at a high level.
[0303]
Next, a case where the above mutual authentication is performed under encryption as a second embodiment of the card issuing machine 1 will be described with reference to FIG.
[0304]
In the case of the second embodiment, the game card C delivered by the card company 74 and issued from the card issuing machine 1 contains the above-mentioned data, that is, its own security code, card number, and this game card C. An encryption program and encryption information (encryption key) are written in advance in addition to the various programs describing the control processing procedure in FIG.
[0305]
On one card issuing machine 1, the initial data described above, that is, the identification number of each device including the identification number (temporary identification number and true identification number) of the card issuing machine 1, the security code of the game card C, etc. In addition, an encryption program and encryption information (encryption key) are transmitted from the management device 72 and written.
In addition to the initial data described above, that is, the identification number of the device, the security code of the game card C, etc., each device other than the card issuing machine 1 further has an encryption program and encryption information (encryption key). It is transmitted from the management device 72 and written. These pieces of information are sent from the card company 74 to the management device 72.
[0306]
FIG. 55 is an explanatory diagram when the mutual authentication in FIG. 10 is performed based on the encryption process and the decryption process. First, main controller 1M encrypts and transmits a temporary identification number of card issuing machine 1 and a request command for a security code of gaming card C to a gaming card C using a predetermined algorithm based on the encryption information.
[0307]
In the gaming card C, the received information (temporary identification number and request command) is decrypted and analyzed by a predetermined algorithm based on the encrypted information, and the temporary identification number of the card issuing machine 1 stored in advance is decrypted. The counterpart card issuing machine 1 authenticates that it is valid when they match, and encrypts its own security code with a predetermined algorithm based on the encryption information in response to the request command. Transmit to main controller 1M.
[0308]
Main controller 1M decrypts the received information (security code) with a predetermined algorithm based on the encrypted information, analyzes it, and collates the security code of game card C stored in advance with the decrypted security code. When the two match, the opponent gaming card C is authenticated as valid, and after the mutual authentication is completed, the next information is transmitted to the gaming card C.
[0309]
In the encryption process and the decryption process in FIG. 55, for example, when an exclusive OR operation is used as a predetermined algorithm, when transmitting, the exclusive OR of the transmission information and the encryption information (encryption key) is calculated. The encryption information is created and transmitted by the request, and when the encryption information is received, the original transmission information is obtained by obtaining and decrypting the exclusive OR of the encryption information and the encryption information. When an exclusive OR operation is used as an algorithm, encryption and decryption can be performed with a simple configuration, but a higher-level algorithm may be used according to the degree of safety or reliability required.
[0310]
As described above, in the second embodiment, since mutual authentication is performed based on encryption, forgery of the gaming card C and falsification of written data are almost impossible, and the reliability as the card issuing machine 1 is further increased. Can be improved.
[0311]
【The invention's effect】
As described above, according to the issuing device of the present invention, the authentication of the gaming information medium and the writing of the initial information other than the time information are completed in advance before the valuable value is input, Since only the information is written and issued, when the game information medium is issued, it can be issued promptly with almost no waiting for the operator who is issued.
[0312]
In addition, the time information is written in the game information medium immediately before the game information medium issuance, and is the same as at the time of issuance, so that the date does not change, and no game information medium is used. Can be issued without wasting.
[0313]
Furthermore, since the game information medium has a built-in processor etc., the price per card is higher than that of a magnetic card, etc., but it is economical because no expensive game information medium is wasted. The effect is also high.
[0314]
  Also, if the game information medium is put on standby with the game information medium attached, the game information medium at that time is located close to the card outlet, so that a situation may occur in which the game information medium is extracted using a piano wire or the like. However, in the present invention, time information is not written in the waiting game information medium, and even if such a game information medium is extracted and used, the game system does not accept it. For this reason, it functions effectively also from the viewpoint of the security of the game information medium, and the security of the game information medium can be maintained at a high level.
  Furthermore, since the game information medium authenticates the apparatus main body, the apparatus main body authenticates the game information medium, authenticates each other, and sends and receives information to and from the game information medium. Both sides can authenticate the other party securely, and the high security of the game information medium can be combined with the high security of the system and the reliability of the issuing device can be improved. .
[Brief description of the drawings]
FIG. 1 is a principle block diagram of an issuing device according to the present invention.
FIG. 2 is a diagram showing a data communication system between a game store and a card company in a communication system to which the present invention is applied.
FIG. 3 is a diagram showing a data communication system in an amusement shop.
FIG. 4 is a block diagram showing the overall configuration of a communication system to which the present invention is applied.
FIG. 5 is a diagram showing a configuration of a front operation panel of the card issuing machine.
FIG. 6 is a diagram showing an internal configuration of a card issuing machine.
FIG. 7 is a diagram showing an internal configuration on the back side of the card issuing machine.
FIG. 8 is a block diagram showing the overall configuration of a control mechanism that controls the operation of the card issuing machine.
FIG. 9 is a block diagram showing a configuration of a game card and a card R / W control device.
FIG. 10 is an explanatory diagram of mutual authentication performed between the game card and the main controller of the card issuing machine.
FIG. 11 is a flowchart showing a processing procedure in a game card.
FIG. 12 is a flowchart showing a processing procedure in a game card.
FIG. 13 is a flowchart showing a procedure of main processing in the main controller of the card issuing machine.
FIG. 14 is a flowchart showing a procedure of main processing in the main controller of the card issuing machine.
FIG. 15 is a flowchart showing a procedure of main processing in the main controller of the card issuing machine.
FIG. 16 is a flowchart showing a power failure interrupt process.
FIG. 17 is a flowchart of 16 ms timer interrupt processing;
FIG. 18 is a flowchart of 16 ms timer interrupt processing.
FIG. 19 is a flowchart of a 100 ms timer interrupt process.
FIG. 20 is a flowchart of a coin device interrupt process.
FIG. 21 is a flowchart of banknote device interrupt processing.
FIG. 22 is a flowchart of a small input device interrupt process;
FIG. 23 is a flowchart of an optical reception interrupt process.
FIG. 24 is a flowchart of an L reception interrupt process.
FIG. 25 is a flowchart of an L reception interrupt process.
FIG. 26 is a flowchart of an L reception interrupt process.
FIG. 27 is a flowchart of L reception interrupt processing;
FIG. 28 is a flowchart illustrating an issue preparation process subroutine.
FIG. 29 is a flowchart showing an issue preparation processing subroutine.
FIG. 30 is a flowchart illustrating an issue preparation process subroutine.
FIG. 31 is a flowchart showing an issue preparation processing subroutine.
FIG. 32 is a flowchart illustrating an issue preparation process subroutine.
FIG. 33 is a flowchart illustrating an issue preparation process subroutine.
FIG. 34 is a flowchart showing a human body detection processing subroutine.
FIG. 35 is a flowchart showing a human body detection processing subroutine.
FIG. 36 is a flowchart showing a human body detection processing subroutine.
FIG. 37 is a flowchart showing a human body detection processing subroutine.
FIG. 38 is a flowchart showing a human body detection processing subroutine.
FIG. 39 is a flowchart showing a human body detection processing subroutine.
FIG. 40 is a flowchart showing a human body detection processing subroutine.
FIG. 41 is a flowchart of a card issuance processing subroutine during main processing.
FIG. 42 is a flowchart showing a card issuing process subroutine.
FIG. 43 is a flowchart showing a card issuance processing subroutine.
FIG. 44 is a flowchart showing a card issuance processing subroutine.
FIG. 45 is a flowchart showing a card issuance processing subroutine.
FIG. 46 is a flowchart showing a card issuance processing subroutine.
FIG. 47 is a flowchart showing a card issuance processing subroutine.
FIG. 48 is a flowchart showing a card issuance processing subroutine.
FIG. 49 is a flowchart showing a card issuance processing subroutine.
FIG. 50 is a flowchart of an interval processing subroutine during main processing.
FIG. 51 is a diagram illustrating a flowchart of image control processing performed by the image display control apparatus.
FIG. 52 is a diagram illustrating a flowchart of image control processing performed by the image display control apparatus.
FIG. 53 is a diagram illustrating an example of announcement when the both-image display control apparatus performs voice guidance.
FIG. 54 is a diagram showing an example of a receipt.
55 is an explanatory diagram when the mutual authentication of FIG. 10 is performed based on encryption.
[Explanation of symbols]
1A Issuing device body
1B game information media
1C Wear command means
1D authentication means
1E Issuance preparation means
1F Input value recognition means
1G issuing means
1 Card issuing machine
1a, 82a, 85a, 87a, 90a, 91a, 92a Optical transceiver
1M Main controller
2 CPU
3 Power supply switching circuit
4 Work RAM
5 Timer
6 Interrupt controller
7 RAM
8 ROM
9 clocks
10 Real time clock
11 System bus
12 Image display interface
13 Drivers
14 RS-422 receiver / driver
15, 18 PIO
16 SIO
17 L board
19 Touch circuit
20 Image display control device
21 Printer
22 Issuing switch lamp (check lamp)
23 Cancel switch (check lamp)
24 Banknote device
25 bill control device
26 coin machine
27 Coin control device
28 Small input device
31 Power supply circuit
32 Uninterruptible power supply
33 Issued sensor
34 Cancel sensor
35 Human Body Detection Sensor
36 Control panel door switch
37 Back side door switch
38 Error release switch
39 Issuing machine number switch
40 Mode switch
41 Communication control device
70,75 amusement store
70a Optical fiber transmission line
70b Telephone line
71 Management analysis equipment
72 Management device
73 ATM switch
74 Card company
76 Premium POS
80 island facilities
82 gaming machines
83 Decorative lamp
85 renewal machine
86 unit price adder
87 Large-scale money adding machine
90, 91, 92 Optical repeater
100 cases
101 Front operation panel
102 Illumination part
103 Guidance Department
104 CRT display screen
105 Speaker
106 Operation switch section
107 Issue switch
108 Cancel switch
109 bill insertion slot
110 Coin slot
111 Return lever
112 Card issuing slot
113 banknote return slot
114 coin return
115 Receipt issuer
121 Speaker
122 CRT display screen
201 Transmission / reception planar coil of game card
202 Clock extraction circuit
203 DC circuit
204 Transmitter circuit
205 demodulation circuit 205
206 clocks
207 Clock switching circuit
208 Power switching circuit
209 Solar cell
211 driver
212 LCD
213 CPU
214 ROM
215 RAM
216 EEPROM
217 Key switch
241,242 Recovery tank
243,261 Guide passage
291 Card R / W control device
293 L board
294 CPU
295 modulation circuit
Transmission / reception planar coil of 296 card R / W controller
297 Receiver circuit
C game card
R receipt

Claims (1)

装置本体に収納してある遊技情報媒体を発行する発行装置において、
上記遊技情報媒体は、上記装置本体から受け取った情報に基づいて当該装置本体が正当なものであるか否かの第1の認証を行う第1の認証手段を備え、
上記装置本体は、
遊技情報媒体の所定位置への装着を指令する装着指令手段と
装着後の遊技情報媒体から受け取った情報に基づいて当該遊技情報媒体が正当なものであるか否かの第2の認証を行う第2の認証手段と、
上記第1の認証および第2の認証による相互認証を経た上で当該遊技情報媒体に対して初期情報の書き込および待機を行わせる発行準備手段と、
当該装置本体に投入された有価価値を認識する投入有価価値認識手段と、
上記有価価値が所定有価価値以上のとき上記待機中で初期情報がすでに書き込まれている遊技情報媒体に対して時間情報を書き込みその遊技情報媒体を発行する発行手段と、
を備えたことを特徴とする発行装置。
In the issuing device that issues the game information medium stored in the device body,
The game information medium includes first authentication means for performing first authentication as to whether or not the device main body is valid based on information received from the device main body,
The device body is
Mounting command means for commanding mounting of the game information medium at a predetermined position ;
A second authentication means for performing a second authentication of whether the gaming information medium is valid based on the information received from the game information medium after mounting,
And issuing preparation means to perform write only and waiting to write the initial information to the game information medium on passing through the mutual authentication by the first authentication and the second authentication,
Recognizing turned negotiable value recognition means valuable resource is put into the apparatus main body,
Issuing means for writing time information to the gaming information medium in which the initial information has already been written in the standby state and issuing the gaming information medium when the valuable value is greater than or equal to a predetermined valuable value;
An issuing device comprising:
JP30516395A 1995-10-31 1995-10-31 Issuing device Expired - Fee Related JP3832881B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30516395A JP3832881B2 (en) 1995-10-31 1995-10-31 Issuing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30516395A JP3832881B2 (en) 1995-10-31 1995-10-31 Issuing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2006034710A Division JP4252581B2 (en) 2006-02-13 2006-02-13 Issuing device

Publications (2)

Publication Number Publication Date
JPH09122342A JPH09122342A (en) 1997-05-13
JP3832881B2 true JP3832881B2 (en) 2006-10-11

Family

ID=17941831

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30516395A Expired - Fee Related JP3832881B2 (en) 1995-10-31 1995-10-31 Issuing device

Country Status (1)

Country Link
JP (1) JP3832881B2 (en)

Also Published As

Publication number Publication date
JPH09122342A (en) 1997-05-13

Similar Documents

Publication Publication Date Title
JP4860046B2 (en) Recording medium processing apparatus
JP4325945B2 (en) Value-added equipment
JP5541768B2 (en) GAME DEVICE AND GAME SYSTEM
JP2775677B2 (en) Valuable data addition device for game cards
JP3832881B2 (en) Issuing device
JP4252581B2 (en) Issuing device
JP3543037B2 (en) Issuing device
JP3761226B2 (en) Issuing device
JP2663147B2 (en) Storage media type game equipment
JP3795937B2 (en) Value-added equipment
JP3766121B2 (en) Value-added equipment
JP5241577B2 (en) Game media lending device
JP3856490B2 (en) Value-added equipment
JP2732105B2 (en) Game management equipment
JP3929051B2 (en) GAME DEVICE AND GAME SYSTEM
JPH09115036A (en) Information medium issuing device
JP2873976B2 (en) Card-type gaming system
JP3727394B2 (en) Update device
JP2779606B2 (en) Game equipment
JP3285859B2 (en) Card-type gaming system
JPH04174693A (en) Settler for card method playing system
JP4223079B2 (en) Amusement park management system
JP2002172266A (en) Recording medium handling device
JP2691290B2 (en) Game management equipment
JP2002143542A (en) Recording medium processing unit

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051213

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060718

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110728

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110728

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130728

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130728

Year of fee payment: 7

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees