JP3850859B2 - Hall management system - Google Patents
Hall management system Download PDFInfo
- Publication number
- JP3850859B2 JP3850859B2 JP2005001241A JP2005001241A JP3850859B2 JP 3850859 B2 JP3850859 B2 JP 3850859B2 JP 2005001241 A JP2005001241 A JP 2005001241A JP 2005001241 A JP2005001241 A JP 2005001241A JP 3850859 B2 JP3850859 B2 JP 3850859B2
- Authority
- JP
- Japan
- Prior art keywords
- group
- terminal device
- file
- file transfer
- program
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000012546 transfer Methods 0.000 claims description 133
- 238000004891 communication Methods 0.000 claims description 31
- 230000004044 response Effects 0.000 claims description 6
- 125000003944 tolyl group Chemical group 0.000 claims 1
- 238000007726 management method Methods 0.000 description 116
- 238000000034 method Methods 0.000 description 86
- 230000008569 process Effects 0.000 description 64
- 230000005540 biological transmission Effects 0.000 description 29
- 230000006870 function Effects 0.000 description 21
- 238000002360 preparation method Methods 0.000 description 16
- 238000012545 processing Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000008859 change Effects 0.000 description 3
- 230000036541 health Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000004913 activation Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000004904 shortening Methods 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
- Pinball Game Machines (AREA)
- Information Transfer Between Computers (AREA)
Description
本発明は、ネットワークを形成するコンピュータ間でファイル転送を行なう技術に関する。特に、パチンコホール等の遊技店のためのコンピュータシステムに関連が深い。 The present invention relates to a technique for transferring a file between computers forming a network. In particular, it is closely related to computer systems for amusement stores such as pachinko halls.
たとえば下記特許文献1に記載されているように、パチンコ遊技機やスロットマシン等の稼働データを管理するホール管理システムはよく知られている。ホール管理システムは、管理コンピュータと、遊技台毎に設けられた端末装置とを備える。管理コンピュータと端末装置は、たとえばTCP/IPによるネットワークを形成する。 For example, as described in Patent Document 1 below, a hall management system that manages operation data of pachinko gaming machines, slot machines, and the like is well known. The hall management system includes a management computer and a terminal device provided for each game machine. The management computer and the terminal device form a TCP / IP network, for example.
端末装置は、遊技者に対して大当たり回数などのデータを提供するデータ表示装置としての機能や、貸玉を行なう貸玉装置としての機能を持つ。こうした機能の拡張や改良を行なうために、しばしば端末装置のバージョンアップ(プログラム改訂)が行なわれる。端末装置のバージョンアップは、通常、管理コンピュータから一括して行なう仕組みになっている。すなわち、管理コンピュータは、端末装置に新しいバージョンのプログラムファイルを転送する。
ところで、遊技店によっては端末装置の数が非常に多い場合がある。管理コンピュータは、多数の端末装置にファイルを転送しなければならない。しかも、ファイルはプログラムにかかるものなので比較的大きいサイズを持つ。そのため、従来のファイル転送方法だと、全ての端末装置をバージョンアップするのに長い時間を要する。 By the way, depending on the amusement store, the number of terminal devices may be very large. The management computer must transfer the file to a number of terminal devices. Moreover, since the file is related to the program, it has a relatively large size. Therefore, with the conventional file transfer method, it takes a long time to upgrade all the terminal devices.
ファイル転送に要する時間は、管理コンピュータとハブとの間に転送できるデータ量や、FTP(File Transfer Protocol)の同時セッション数などの要因に大きく左右される。そのため、多数の端末装置にファイルを転送するときの所要時間は、1台の端末装置にファイルを転送するときの所要時間と端末装置の台数とから見積もられる時間を上回る。 The time required for file transfer greatly depends on factors such as the amount of data that can be transferred between the management computer and the hub, and the number of FTP (File Transfer Protocol) simultaneous sessions. Therefore, the time required to transfer a file to a large number of terminal devices exceeds the time estimated from the time required to transfer a file to one terminal device and the number of terminal devices.
本発明の課題は、ホール管理システムにおいて、管理コンピュータから多数の端末装置に短時間でファイル転送を行なえるようにすることを一つの課題とする。また、ネットワークシステムにおいて、サーバから多数のクライアントに対して同一ファイルを転送する場合に、短時間でファイル転送を行なえるようにすることを一つの課題とする。 An object of the present invention is to enable file transfer from a management computer to a large number of terminal devices in a short time in a hall management system. Another object is to enable file transfer in a short time when transferring the same file from a server to a large number of clients in a network system.
上記課題を解決するためのこの発明は、パチンコ機やスロットマシン等の遊技台に関するデータを表示する機能と、遊技台に関するデータを収集する機能と、貸出機能との少なくとも一つを備え、遊技台に付随して設けられる端末装置と、管理コンピュータとが相互に通信可能に接続されてネットワークを形成しているホール管理システムであって、管理コンピュータは、所定条件の成立に応じて通信可能状態にある全ての端末装置をリストアップし、リストアップした端末装置をグループに振り分け、複数の端末装置が属する複数のグループを設定するグループ設定を行うとともに、各グループ内の所定数の端末装置を親ノードに指定するグループ化手段と、グループ化手段が設定した同一グループに属する端末装置を特定するためのIDを含むグループ情報と、プログラムファイルとを、親ノードに指定した端末装置に転送するファイル転送手段とを備え、それぞれの端末装置には、 ファイル転送手段からプログラムファイルとグループ情報との双方を取得した場合に、取得したグループ情報に基づいて同一グループに属する他の複数の端末装置に、取得したプログラムファイルを転送する均一のグループ内ファイル転送手段を有し、グループ化手段が行うグループ設定は、当該グループ内の親ノードの数と、グループ内ファイル転送手段が同時にファイル転送を可能とする最大数とに基づき予め定められた設定数に基づいて設定され、管理コンピュータが指定した親ノードの端末装置は、転送された前記プログラムファイルをグループ内ファイル転送手段によってグループ内の全ての端末装置に転送することを特徴とする。また、この時のプログラムファイルは、端末装置のバージョンアップを行なうためのプログラムファイルとすることができる。
The present invention for solving the above problems comprises at least one of a function for displaying data relating to a gaming machine such as a pachinko machine or a slot machine, a function for collecting data relating to a gaming machine, and a lending function. Is a hall management system in which a terminal device provided in association with a management computer is communicably connected to each other to form a network, and the management computer enters a communicable state when a predetermined condition is established and there lists all the terminal devices, the distribution end terminal device that lists the group, performs the group setting for setting a plurality of groups which a plurality of terminal apparatus belongs, a predetermined number of terminals in each group ID for identifying the Heidelberg loop means specifies the parent node, a terminal device belonging to the same group to which the grouping unit has set If the group information including, a program file, and a file transfer unit for transferring to the terminal device specified in the parent node, each of the terminal devices, the acquired both the program files and group information from the file transfer means the, the acquired plurality of other terminals belonging to the same group based on the group information, have a group file transfer means uniform for transferring the acquired program file group setting the grouping means performs the the group The terminal device of the parent node designated by the management computer is set based on a predetermined number based on the number of parent nodes in the file and the maximum number that the file transfer means in the group can simultaneously transfer files. Transfer the program file within the group by the group file transfer means. Wherein the transfer to all terminals. Further, the program file at this time can be a program file for upgrading the terminal device.
上記本発明によれば、グループ化手段は、端末装置にプログラムファイルを転送する前に、プログラムファイルの転送を要する端末装置をリストアップしていくつかのグループに分ける。プログラムファイルの転送が不要な端末装置はグループから除外する。端末装置をいくつかのグループに分けたら、グループ化手段は、グループ内の所定数(好適には1台)の端末装置を親ノードに指定する。グループ内の他の端末装置は子ノードであり、グループ番号等のIDによって親ノードに関連付けられる。そして、ファイル転送手段から直接にプログラムファイルを転送するのはグループ内の親ノードに指定した端末装置のみとする。同一グループ内の他の端末装置には、親ノードに指定された端末装置がファイル転送手段から転送されてきたプログラムファイルを再転送する。つまり、親ノードに指定された端末装置は、ファイル転送手段から見ればクライアントであり、同一グループ内の他の端末装置から見ればサーバである。さらに、グループ化手段によって行なわれるグループ化(親ノードの設定を含む)は、動的(フレキシブル)である。つまり、全ての端末装置が親ノードになる資格を持っている。したがって、プログラムファイルを要求する端末装置がランダムに発生する場合でも、グループ化手段は速やかにグループ化を行なうことができ、各グループに属する端末装置の少なくとも一つを親ノードに指定する。親ノードの端末装置は、ファイル転送手段から送られてきたファイルを同一グループ内の他の端末装置に転送する。このように、端末装置にサーバ機能を分散することにより、ファイルを転送する上での無駄を省くことが可能であり、システム全体でのファイル転送時間の短縮を図ることができる。また、ファイルの最初の転送元であるコンピュータのCPU負荷、ひいてはネットワーク負荷を軽減することができる。 According to the present invention, the grouping means lists the terminal devices that need to transfer the program file and divides them into several groups before transferring the program file to the terminal device. Terminal devices that do not require program file transfer are excluded from the group. When the terminal devices are divided into several groups, the grouping means designates a predetermined number (preferably one) of terminal devices in the group as parent nodes. Other terminal devices in the group are child nodes, and are associated with the parent node by an ID such as a group number. The program file is directly transferred from the file transfer means only to the terminal device designated as the parent node in the group. To the other terminal devices in the same group, the terminal device designated as the parent node retransfers the program file transferred from the file transfer means. That is, the terminal device designated as the parent node is a client when viewed from the file transfer means, and is a server when viewed from other terminal devices in the same group. Further, the grouping (including setting of the parent node) performed by the grouping means is dynamic (flexible). That is, all terminal devices are eligible to become parent nodes. Therefore, even when terminal devices that request program files are generated at random, the grouping means can quickly perform grouping and designate at least one of the terminal devices belonging to each group as a parent node. The terminal device of the parent node transfers the file sent from the file transfer means to another terminal device in the same group. Thus, by distributing the server function to the terminal device, it is possible to eliminate waste in transferring the file, and it is possible to shorten the file transfer time in the entire system. Further, it is possible to reduce the CPU load of the computer that is the first transfer source of the file, and hence the network load.
好適な態様において、本発明のホール管理システムは、端末装置とファイル転送手段とがFTP通信によってファイル転送を行なうコンピュータネットワークを形成しており、所定数は、ファイル転送手段のFTPの最大同時セッション数に基づいて設定され、ファイル転送手段は、一つのグループの親ノードである端末装置へのファイル転送が終了した場合には、ファイル転送待機中である次のグループの親ノードとなる端末装置へのファイル転送を開始し、端末装置とのFTP接続を常時最大セッション数で開くようにファイル転送を行う。 In a preferred embodiment, the hall management system of the present invention forms a computer network in which the terminal device and the file transfer means perform file transfer by FTP communication, and the predetermined number is the maximum number of simultaneous FTP sessions of the file transfer means. When the file transfer to the terminal device that is the parent node of one group is completed, the file transfer means sets the file transfer means to the terminal device that becomes the parent node of the next group waiting for the file transfer. File transfer is started and file transfer is performed so that the FTP connection with the terminal device is always opened with the maximum number of sessions.
上記の構成によれば、ファイル転送に先立って、バージョンチェック手段は、端末装置にプログラムのバージョン情報だけを送る。プログラム改訂にかかるプログラムファイルの要否は、端末装置が有する端末側バージョンチェック手段が判断する。各端末装置が端末側バージョンチェック手段を有していることで、ファイル転送手段は、各端末装置のプログラム改訂にかかるプログラムファイルの要否を判断せずに済む。したがって、ファイル転送手段やグループ化手段を構成するコンピュータの負担減につながり、ひいてはファイル転送時間の短縮に資する。また、上記の構成によれば、全ての端末装置から返答が戻ってくるのを待たずに済むので、グループ化手段は速やかにグループ化および親ノードを指定する処理に移れる。このようにすれば、プログラムファイルを転送する前準備に費やされる時間の短縮に資する。結果として、プログラムファイルの転送にかかる時間の短縮化を実現できる。なお、バージョンチェック手段は、端末装置が通信可能状態かどうかを先に確かめ、通信可能状態である場合にバージョン情報を送信するとよい。 According to the above configuration, prior to file transfer, the version check means sends only the program version information to the terminal device. Whether or not a program file for program revision is necessary is determined by the terminal-side version check means of the terminal device. Since each terminal device has a terminal-side version check unit, the file transfer unit does not need to determine whether or not a program file is required for the revision of the program of each terminal device. Therefore, the burden on the computers constituting the file transfer means and the grouping means is reduced, thereby contributing to the reduction of the file transfer time. Further, according to the above configuration, it is not necessary to wait for the responses to be returned from all the terminal devices, so that the grouping means can quickly move to the process of grouping and designating the parent node. In this way, it contributes to shortening the time spent for preparation before transferring the program file. As a result, the time required for transferring the program file can be shortened. Note that the version check means first confirms whether or not the terminal device is in a communicable state, and transmits version information when the terminal device is in a communicable state.
また、本発明のホール管理システムは、端末装置とファイル転送手段とがFTP通信によってファイル転送を行なうコンピュータネットワークを形成するものとして構成することができる。たとえば、ネットワークに接続された管理コンピュータによって実現されるファイル転送手段は、一つのグループの親ノードである端末装置へのファイル転送が終了した場合には、同時セッション中の他の端末装置へのファイル転送の終了を待たずに、次のグループの親ノードである端末装置へのファイル転送を開始する。FTPサービスは、高い信頼性の通信を提供する。したがって、プログラムファイルのような重要なファイルを確実に端末装置に転送する目的に好適である。また、同時セッション数が制限される問題は、上記のごとく、常時最大セッション数でファイル転送手段と端末装置とのFTP接続を開くことにより改善され、これによりファイル転送時間の短縮を図ることができる。 Further, the hall management system of the present invention can be configured as a computer network in which the terminal device and the file transfer means perform file transfer by FTP communication. For example, a file transfer means realized by a management computer connected to a network can transfer a file to another terminal device during a simultaneous session when the file transfer to the terminal device that is a parent node of one group is completed. The file transfer to the terminal device that is the parent node of the next group is started without waiting for the transfer to end. The FTP service provides highly reliable communication. Therefore, it is suitable for the purpose of reliably transferring an important file such as a program file to the terminal device. Further, as described above, the problem that the number of simultaneous sessions is limited can be improved by opening the FTP connection between the file transfer means and the terminal device with the maximum number of sessions at all times, thereby reducing the file transfer time. .
ところで、端末装置にプログラムファイルの要否を逐一問い合わせるのではなく、通信可能状態かどうかだけ確かめて、通信可能状態である旨の返答を得た全ての端末装置に一括してファイルを転送するようにしてもよい。すなわち、グループ化手段は、所定条件の成立に応じて通信可能状態にある全ての端末装置を、ファイル転送を要する端末装置であると判定する手段として構成することができる。このような構成によれば、転送しようとするプログラムのバージョンチェックを端末装置でする必要がなくなる。ほどんど全ての端末装置のバージョンアップが必要であることが予め分かっているときには、このような手順を採った方がファイル転送時間の短縮化に資する。 By the way, rather than inquiring the terminal device as to whether or not the program file is necessary, it is confirmed only whether it is in a communicable state, and the files are transferred to all the terminal devices that have received a reply that it is communicable. It may be. That is, the grouping unit can be configured as a unit that determines that all terminal devices in a communicable state according to the establishment of a predetermined condition are terminal devices that require file transfer. According to such a configuration, it is not necessary to check the version of the program to be transferred by the terminal device. When it is known in advance that almost all terminal devices need to be upgraded, it is possible to shorten the file transfer time by adopting such a procedure.
次に、本発明にかかるホール管理システムの特徴は、一般のネットワークシステムにも適用することができる。すなわち本発明は、複数の端末装置とサーバコンピュータとが一のプロトコルスタックを実装し、相互に通信可能に接続されてネットワークを形成しているネットワークシステムであって、サーバコンピュータは、端末装置にファイルを転送する前に、端末装置をいくつかのグループに振り分けて複数の端末装置が属する複数のグループを設定するとともに、各グループ内の1台の端末装置を親ノードに指定するグループ化手段と、親ノードに指定する旨の通知と、同一グループに属する端末装置を特定するためのIDとを含むグループ情報を、ファイルとともに親ノードに指定した端末装置に転送するファイル転送手段とを有し、端末装置は、サーバコンピュータからグループ情報を取得して親ノードであることを認識した場合に、そのグループ情報に基づいて同一グループに属する他の端末装置を特定し、特定した他の全ての端末装置にサーバコンピュータから受け取ったファイルを転送するグループ内ファイル転送手段を有することを主要な特徴とする。 Next, the feature of the hall management system according to the present invention can be applied to a general network system. That is, the present invention is a network system in which a plurality of terminal devices and a server computer implement a single protocol stack and are communicably connected to each other to form a network. Grouping means for assigning one terminal device in each group to a parent node, assigning the terminal device to several groups and setting a plurality of groups to which the plurality of terminal devices belong, A file transfer means for transferring group information including a notification of designation to the parent node and an ID for identifying a terminal device belonging to the same group to the terminal device designated as the parent node together with the file; When a device acquires group information from a server computer and recognizes that it is a parent node, the device The main feature is that it has an intra-group file transfer means for specifying other terminal devices belonging to the same group based on the group information and transferring the file received from the server computer to all the other specified terminal devices. .
たとえば、TCP/IPのネットワークでサーバからクライアントにサイズの大きいファイルを転送する場合のアプリケーションは、FTPが一般的である。ファイルの転送時間には、FTPサーバの最大同時セッション数や物理層をなすデバイスのボーレートの問題が関わってくる。すなわち、従来の方法を用いて多数のノードにファイルを転送するときの所要時間は、単一のノードにファイルを転送するときの所要時間に全ノード数を乗じた時間よりも相当大きくなる。ところが本発明によれば、既に説明したごとく、ファイルを転送する上での無駄を省くことが可能であり、システム全体でのファイル転送時間の短縮を図ることができる。また、ファイルの最初の転送元であるサーバコンピュータのCPU負荷、ひいてはネットワーク負荷を軽減することができる。 For example, FTP is generally used as an application for transferring a large file from a server to a client in a TCP / IP network. The file transfer time involves problems such as the maximum number of simultaneous sessions of the FTP server and the baud rate of the device constituting the physical layer. That is, the time required to transfer a file to a large number of nodes using the conventional method is considerably longer than the time required to transfer the file to a single node multiplied by the total number of nodes. However, according to the present invention, as described above, it is possible to eliminate waste in transferring a file, and it is possible to shorten the file transfer time in the entire system. Further, it is possible to reduce the CPU load of the server computer that is the first transfer source of the file, and hence the network load.
なお、本明細書においてコンピュータネットワークとは、単一の技術で相互接続された自律的なコンピュータ群という意味で用いる。すなわち、本発明はインターネットのような広域なネットワークに適用することも可能であるが、遊技店のホール管理システムのようなコンピュータネットワークに本発明を適用する場合に、最も優れた効果を得ることができる。 In this specification, a computer network is used to mean an autonomous computer group interconnected by a single technique. That is, the present invention can be applied to a wide area network such as the Internet, but the most excellent effect can be obtained when the present invention is applied to a computer network such as a hall management system of an amusement shop. it can.
以下、添付の図面を参照しつつ本発明の実施形態について説明する。
図1は、本発明にかかるホール管理システムの全体概略図である。ホール管理システム100は、管理コンピュータ1と、端末装置3とを備える。端末装置3は、遊技店内に設置された多数の遊技台4に一対一で設置されている。遊技台4は、パチンコ機である。管理コンピュータ1と端末装置3、さらに端末装置3,3同士は、通信網10によって相互接続されている。通信網10はイーサネットケーブルである。管理コンピュータ1と端末装置3との通信経路上には、ハブ5が配置されている。スペースの都合上、図1には少数の遊技台4および端末装置3しか示していないが、実際の遊技店には、たとえば1000台ないしそれ以上に及ぶ遊技台4および端末装置3が設置され、全ての端末装置3と管理コンピュータ1とがコンピュータネットワークを形成している。
Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings.
FIG. 1 is an overall schematic diagram of a hall management system according to the present invention. The
ハブ5はスイッチングハブであるが、リピータとして働く通常のハブであってもよい。また、図1の実施形態ではハブ5,5同士はカスケード接続されている。相当数の端末機3をホール管理システム100のネットワークに接続するときは、ハブ5,5をスタック接続する構成も好適である。また、遊技台4はスロットマシンの場合もある。また、本実施形態はネットワーク層にイーサネット(米国XEROX社の登録商標)を採用しているが、バス型でノードIDを持ったネットワークを組めれば、CAN(Controller Area Network)やMOST(Media Oriented Systems Transport)等の他のLAN規格を採用してもよい。
The
端末装置3には、対応する遊技台4からアウト信号、セーフ信号、大当たり信号などの信号が入力される。それらの信号の入力により、端末装置3は対応する遊技台4の稼働状況や出玉収支に関するデータを得る。また、端末装置3は貸玉装置としての機能を有しており、貸玉金額を集計したり、遊技台4に内蔵された玉補給装置に対して金額に応じた数量の玉(遊技媒体)を貸し出すように命令したりする。端末装置3が得た遊技台4に関するデータ(稼働データ)は管理コンピュータ1に送られる。管理コンピュータ1は、端末装置3から得た稼働データをデータベースに記録し、遊技台4ごとの出玉収支、大当たり回数、貸玉金額といった遊技に関するデータを管理する。
Signals such as an out signal, a safe signal, and a jackpot signal are input to the
ホール管理システム100において、管理コンピュータ1と端末装置3とは共通のプロトコルスタックを実装してコンピュータネットワークを形成している。そのコンピュータネットワークはTCP/IPネットワークである。つまり、管理コンピュータ1および端末装置3は、それぞれがTCP/IPネットワークを形成するためのプロトコルスタックを持っている。また、ファイル転送(データ送信)を行なうために、管理コンピュータ1および端末装置3はそれぞれ、TCP/IPの上位層としてFTPを実装している。FTPサービスは、高い信頼性のデータ送受信をネットワーク(ホール管理システム100)に提供するので、サイズの大きいファイルの送受信に適している。たとえば、端末装置3のプログラム改訂(バージョンアップ)を行なう場合には、管理コンピュータ1から端末装置3に対してプログラムファイルをFTPで転送する。また、端末装置3が遊技台4から得た稼働データは、管理コンピュータ1にリアルタイムで送られる。稼働データはプログラムファイルに比べて小サイズなので、システムの起動時にソケットを使ってコネクション(通信路)をオープンし、通常のファイル入出力用のread/writeなどを使って通信することにより、稼働データの送受信を行なう。もちろん、稼働データの送受信にFTPサービスを利用してもよい。各種設定ファイル、画像ファイル、バックアップファイル等の送受信を行なう場合にはFTPが好適である。
In the
図2に示すのは、図1のホール管理システム100のブロック図である。管理コンピュータ1は、CPU101、ROM102、RAM103、HDD104(ハードディスクドライブ)を有する。これらのデバイスはバスを通じて通信する。内部バスには、入出力インターフェイス105(I/O)を含むドライブ回路が接続される。入出力インターフェイス105には、モニタ106、CD−Rドライブ107、マウス/キーボード108等の入出力装置が接続される。また、入出力インターフェイス105はイーサネットアダプタを含むものである。管理コンピュータ1は、このイーサネットアダプタを通じてネットワークに接続している。
FIG. 2 is a block diagram of the
HDD104には、各遊技台の稼働データを管理するための遊技台データベース104aのほか、基本プログラム104b、データ管理プログラム104cおよびバージョンアッププログラム104d等が格納されている。基本プログラム104bは、オペレーティングシステムの各動作を提供する。TCP/IPやFTP等のプロトコルスタック、TCP/IPにおいて利用するネットワーク用APIは、この基本プログラム104bに含まれる。データ管理プログラム104cは、端末装置3から各遊技台4の稼働データを取得して遊技台データベース104aを構築し、これを運用する機能を提供する。バージョンアッププログラム104dは、データ管理プログラム104cのバージョンアップや、後述する端末装置3のプログラムのバージョンアップを行なうための機能を提供する。
The
端末装置3は、CPU71、ROM74およびRAM73を有する。これらのデバイスはバスを通じて通信する。内部バスには、入出力インターフェイス75(I/O)を含むドライブ回路が接続する。入出力インターフェイス75には、遊技客向けのタッチパネルモニタ76、貸玉カードリーダ77等の入出力装置が接続する。入出力インターフェイス75はイーサネットアダプタを含む。端末装置3は、イーサネットアダプタを通じてホール管理システム100のネットワークに接続する。また、端末装置3には遊技台4が接続している。具体的には、端末装置3の入出力インターフェイス75はパラレル入出力インターフェイスを含むものとして構成され、そのパラレル入出力インターフェイスに遊技台4の外部出力端子群が接続する。遊技台4の外部出力端子群は、セーフ信号端子、アウト信号端子、大当たり信号端子、確変信号端子、稼働信号端子等の各種信号端子で構成される。
The
ROM74には、基本プログラム74a、遊技管理プログラム74b、貸玉プログラム74cおよびバージョンアッププログラム74d等が格納されている。ROM74は、フラッシュROMまたはEEPROMのように記憶内容を書き換えることが可能な記憶装置である。ROM74をブート専用に用いる一方、IDE規格のHDDを設け、これに上記した各プログラム群を格納するようにしてもよい。基本プログラム74aは、オペレーティングシステムの各動作を提供する。TCP/IPやFTP等のプロトコルスタック、TCP/IPにおいて利用するネットワーク用APIは、基本プログラム74aに含まれる。遊技管理プログラム74bは、遊技台4側から送られてくるアウト信号、セーフ信号、大当たり信号等の遊技台4の動作状態に関する信号を監視し、それらの信号を検出することに基づいて遊技台4の出玉収支や動作状態を管理する機能を提供する。貸玉プログラム74cは、貸玉カードリーダ77によるプリペイドカードの読み取り結果を遊技台4の玉補給装置(図示省略)に通知し、遊技者に貸玉を行なう機能を提供する。バージョンアッププログラム74dは、遊技管理プログラム74b、貸玉プログラム74c等の端末装置3が持つ他のアプリケーションプログラムのバージョンアップを行なうための機能を提供する。さらに、バージョンアッププログラム74dは、管理コンピュータ1から受け取ったプログラムファイルをネットワーク内の他の端末装置3に転送する機能を提供する。つまり、端末装置3はクライアントとサーバの両方の機能を持つ。
The
図14は、管理コンピュータ1と端末装置3のバージョンアッププログラム104d,74dの詳細を記した概念図である。管理コンピュータ1側のバージョンアッププログラム104dは、バージョンチェックジョブ、タイマジョブ、一括操作ジョブ、グループ化ジョブ、プログラムファイル送信ジョブの各ジョブにかかるプログラムモジュールである。端末装置3側のバージョンアッププログラム74dは、バージョンチェックジョブ、プログラムファイル受信ジョブ、プログラムファイル送信ジョブおよびプログラム書換ジョブの各ジョブにかかるプログラムモジュールである。
FIG. 14 is a conceptual diagram illustrating details of the
上記のごときバージョンアッププログラム104d,74dを管理コンピュータ1と端末装置3とが協働して実行することにより、端末装置3のプログラム改訂が管理コンピュータ1から一括して行なわれる。端末装置3に転送する予定の新しいバージョンのプログラムは、CD−Rドライブ107から管理コンピュータ1に入力されてRAM103またはHDD107に一時的に格納される。そして、予め定められたコマンドがキーボード等から入力されることにより、管理コンピュータ1のCPU101は、HDD104からバージョンアッププログラム104dをRAM103に呼び出して実行する。図3は、端末装置3のプログラムのバージョンアップを行なう際に、管理コンピュータ1が実行する処理のゼネラルフローチャートである。管理コンピュータ1は、図14に示す内容のバージョンアッププログラム104dの各ジョブを、図3のフローチャート中の各処理として実行する。各処理の詳細を説明する前に、ホール管理システム100が採用するファイル転送方法を図15の概念図で説明する。
By executing the
図15(a)(b)に概念的に示すファイル転送方法の特徴は、動的グループ化と、子ノードへのファイル転送を親ノードに担当させる分散処理とにある。図15(a)に示すごとく、管理コンピュータ1はファイルを転送する前に、新しいバージョンのプログラムファイルを要求する端末装置3をリストアップして複数のグループに振り分ける。各グループには複数の端末機3が所属し、そのうちの1台が親ノードに指定され、残りは子ノードに指定される。管理コンピュータ1は、親ノードに指定した端末装置3にだけプログラムファイルを転送する。子ノードである端末装置3へのプログラムファイルの転送は、同一グループ内に属する親ノードの端末装置3が担当する。図15には、スペースの都合で少数の端末装置3しか記していないが、実際の遊技店では端末装置3が1000台以上に及ぶこともある。そのような状況下で、全ての端末装置3に管理コンピュータ1から直接にファイル転送を行なうと時間が相当かかるが、図15(a)に示す分散処理によれば大幅な時間短縮が可能であり、管理コンピュータ1の負担も大幅に減る。
The features of the file transfer method conceptually shown in FIGS. 15A and 15B are dynamic grouping and distributed processing in which the parent node is in charge of file transfer to the child node. As shown in FIG. 15A, before the file is transferred, the management computer 1 lists the
次に、図15(b)でグループ化について説明する。管理コンピュータ1は、FTPでファイル転送を行なうのに先立って、まず送り先の端末装置3がデータを受信可能かどうか問い合わせる。受信可能であればFTPのTCPコネクション(制御用とデータ転送用)を確立し、データ(ファイル)を送る。データを送り終わればFTPのTCPコネクションを開放(切断)する。他方、図15(b)の左端に示すごとく、端末装置3から問い合わせに対する回答が無ければ通信不可である。この場合、管理コンピュータ1は通信不可の端末装置3を無視し、通信可能な端末装置3のみでグループ化を試みる。各グループには、端数を集めた最後のグループを除けば、一定台数(たとえば21台)の端末装置3が所属することになるので、グループ内に空席は存在しないことになる。そして、グループ内の先頭IDを持つ端末装置3を親ノードに指定する。
Next, grouping will be described with reference to FIG. Prior to performing file transfer by FTP, the management computer 1 first inquires whether the
このように、動的グループ化と分散処理とが協働することにより、プログラムファイルのようなサイズの大きいファイルを相当数の端末装置3に転送する場合に、転送時間の大幅な短縮を図ることが可能である。また、ある端末装置3が通信不能状態に陥っても他の端末装置3にその影響が及ばない。
As described above, the dynamic grouping and the distributed processing cooperate to greatly reduce the transfer time when transferring a large file such as a program file to a considerable number of
なお、図15の例では、グループ内の親ノードは一台のみとしているが、グループ内の親ノードである端末装置3が一台であることは必須でない。一つのグループ内に複数台(たとえば同一グループに属する端末装置3の台数よりも少ない所定数)の親ノードが存在するようなグループ化を行なってもよい。
In the example of FIG. 15, there is only one parent node in the group, but it is not essential that there is one
以上の説明を踏まえて各処理の詳細を説明していく。
図4に示すのは、バージョンチェック処理(図3のS1)の詳細なフローチャートである。バージョンチェック処理は、ネットワークに接続されている全ての端末装置3に対して行なわれる。全ての端末装置3には、ユニークなIDが予め付与される。このユニークなIDは、遊技台4の台番号に対応したものであり、ある端末装置3と管理コンピュータ1とが通信を行なう際の識別標識となるものである。バージョンチェック処理は、管理コンピュータ1が予め持っている端末装置3のIDごとに行なわれる。
Based on the above description, the details of each process will be described.
FIG. 4 is a detailed flowchart of the version check process (S1 in FIG. 3). The version check process is performed for all
図4に示すごとく、管理コンピュータ1は、通信フラグがオフかどうかを判断する(S11)。通信フラグは、RAM103を用いて端末装置3ごとにIDに基づいて管理されるフラグであり、ある端末装置3と通信可能かどうかを識別するフラグである。通信フラグがオフのときは、S12に進み、通信が可能になったかどうかを改めて判断する。管理コンピュータ1は電源オンにより起動すると、端末装置3からデータを受け入れる準備を整える。端末装置3は電源オンにより起動すると通信可能となるまで定期的(たとえば1分おき)にバージョン要求信号を管理コンピュータ1に送る。このバージョン要求信号を受け取ることによって管理コンピュータ1は通信開始であると判定し、通信フラグをオンに切り替えて通信路を確保する(S12,S13)。通信フラグをオンに切り替えたらバージョン情報を送信して、プログラムの改訂の要否を問い合わせる(S14)。バージョン情報は、管理コンピュータ1が持っている情報であり、端末装置3が所有するべきプログラムのバージョンを特定するものである。たとえば、CD−Rドライブ107から管理コンピュータ1に取り込まれた端末装置3のための新しいプログラムのコメントに記述されている。
As shown in FIG. 4, the management computer 1 determines whether or not the communication flag is off (S11). The communication flag is a flag managed based on the ID for each
一方、通信フラグがオフでない場合には、それまで通信可能だったことを表わすので、特定のIDの端末装置3には既にバージョン情報を送信していることになる。したがって、S11に続くS15において、通信障害が発生して通信不能状態になっていないかどうかを判断する。具体的には、端末装置3から所定時間おき(たとえば5分おき)にヘルスチェック信号を管理コンピュータ1に送るようにし、そのヘルスチェック信号を管理コンピュータ1が規定時間(5分または5分+α)以上受信しない場合に通信障害ありと判定する。稼働データに変化がある度にデータを送信し、データ送信してから規定時間内に稼働データが変化しない場合にヘルスチェックを行なうようにしてもよい。
On the other hand, if the communication flag is not off, it means that communication has been possible so far, so that the version information has already been transmitted to the
通信障害が無いことを確かめた後、バージョンアップ用のプログラムファイルを要求する旨の信号(ファイル転送要求信号)が端末装置3から送られてきたか否かを判断する(S16)。ファイルを要求する旨の信号を受信した場合には、その信号を送ってきた端末装置3にかかる仮書換フラグをオンにする(S17)。仮書換フラグは、RAM103を用いて端末装置3ごとにIDに基づいて管理されるフラグであり、グループ化処理に参加する端末装置3をリストアップするためのフラグである。
After confirming that there is no communication failure, it is determined whether or not a signal for requesting a program file for version upgrade (file transfer request signal) has been sent from the terminal device 3 (S16). If a signal for requesting a file is received, the temporary rewrite flag for the
図5に示すのは、タイマ処理(図3のS2)の詳細なフローチャートである。このタイマ処理は、以下の説明から明らかとなるように、時間を区切ってグループ化処理を行なうための前段階の処理である。図7のグループ化処理を行なうにあたり、いくつかの方法が考えられる。一つの方法は、全ての端末装置3についてファイルの要否が明らかになってからグループ化処理に移る方法である。ただしこの方法だと、端末装置3からの返答待ちの時間が長くなる可能性がある。そのため、場合によってはファイルの要否をいちいち問わず、全ての端末装置3にファイルを送る後述の方法(図3のS3)を採った方が効率がよい。
FIG. 5 is a detailed flowchart of the timer process (S2 in FIG. 3). As will be apparent from the following description, this timer process is a preceding process for performing the grouping process by dividing time. Several methods are conceivable for performing the grouping process of FIG. One method is a method of moving to the grouping process after the necessity of the file is clarified for all the
他の一つの方法は、一定台数(たとえば20台)の端末装置3からファイルの要求があったら、それらを一つのグループとして設定するという方法である。ファイルの要求があった端末装置3の台数は、カウンタ等の計測手段で逐次監視すればよい。設定したグループには、ファイル転送を開始することができるので、管理コンピュータ1の待ち時間を短縮できる。
Another method is a method of setting a file request from a certain number (for example, 20) of
他の一つの方法は、図5のタイマ処理を導入した方法である。簡単に言うと、返答の有無はさておき、バージョンチェック処理を行なった一定時間が経過したらグループ化処理に移るというものである。具体的には、たとえばバージョンチェック処理(図3のS1)の起動とともに図5のタイマ処理で用いるタイマをスタートする。管理コンピュータ1は、端末装置3からファイルを要求するとの返答を一定時間ごとに区切って待ち受ける処理として、図5のタイマ処理を行なう。図6のグループ化処理では、タイマ処理で計測する一定時間(たとえば30秒)が経過するごとに、ファイルを要求する旨との返答が得られた端末装置3をリストアップし、グループ化を行なう。そしてグループ化を行なった順に、逐次ファイルを転送していく。このような方法によれば、管理コンピュータ1の待ち時間を削減できるため、コンピュータ資源の有効活用を図れるとともに、全端末装置3へのファイル転送に要する時間を短縮化できる。
Another method is a method in which the timer process of FIG. 5 is introduced. To put it simply, aside from the presence or absence of a reply, when a certain time after performing the version check process elapses, the process proceeds to the grouping process. Specifically, for example, the timer used in the timer process in FIG. 5 is started together with the activation of the version check process (S1 in FIG. 3). The management computer 1 performs the timer process of FIG. 5 as a process of waiting for a reply that requests a file from the
図5に示すごとく、S21において、タイマがタイムアップしたか否かを判断する。タイマがタイムアップであると判断した場合には、仮書換フラグがオンになっているIDを持つ端末装置3の有無を判断する(S22)。IDと関連付けられた仮書換フラグのオン/オフを見れば、ファイルを要求する旨の返答をした端末装置3を特定することができる。仮書換フラグがオンの端末装置3を見出したら、その端末装置3の書換フラグをオンにする(S23)。これにより、グループ化処理を実行する準備が整う。書換フラグをオンにしたら、仮書換フラグをオフにしてタイマを再スタートする(S24,S25)。以上の説明から、仮書換フラグがタイマのタイムアップ待ち状態を表わすフラグであることが分かる。
As shown in FIG. 5, in S21, it is determined whether or not the timer has expired. If it is determined that the timer is time-up, it is determined whether or not there is a
なお、図6に示すのは、先に少し触れた一括操作処理(図3のS3)の詳細なフローチャートである。遊技店の管理者によって一括ダウンロードボタンが操作された場合(所定条件の成立)、管理コンピュータ1は、S1のバージョンチェック処理を実行せずに、通信可能な全ての端末装置3をファイル転送の対象とする。つまり、通信フラグがオンである端末装置3の書換フラグをオンにする(S31,S32)。書換フラグは、端末装置3にユニークなIDと関連付けられてRAM103で管理される。一括ダウンロードボタンの操作に代えて、端末装置3が持つべきプログラムファイルを取り込み、バージョン情報の更新を行なったら上記所定条件の成立であると判断して、S32の処理を行なうようにしてもよい。
FIG. 6 is a detailed flowchart of the batch operation process (S3 in FIG. 3) touched a little earlier. When the collective download button is operated by the administrator of the amusement store (predetermined condition is satisfied), the management computer 1 does not execute the version check process of S1, and all the
図7に示すのは、グループ化処理(図3のS4)の詳細なフローチャートである。まず、送信中フラグがオンであるかどうかを確かめる(S41)。送信中フラグは、RAM103で管理されるフラグであり、いずれかの端末装置3にプログラムファイルを転送している間はオンに保持される。FTPのセッションが継続している最中、つまりFTPのコネクションが張られていると送信中フラグがオンである。ファイル転送中でないことを確認したら、RAM103を参照して書換フラグがオンになっている端末装置3をIDに基づいて見出す(S42)。さらに、見出した端末装置3が既にグループ化されているか否かを判断する(S43)。S43の判断は、たとえば、各端末装置3にグループIDやレイヤIDが関連付けられているか否かによる。書換フラグがオンであり、未だグループに属していない端末装置3をIDに基づいてリストアップする(S44)。書換フラグは、グループ化されるのを待っている状態、若しくはグループ化は行なわれているがファイルの転送準備は整っていない状態ことを表わすフラグである。
FIG. 7 is a detailed flowchart of the grouping process (S4 in FIG. 3). First, it is confirmed whether or not the transmission flag is on (S41). The transmission flag is a flag managed by the
次に、書換フラグがオンである端末装置3の台数が、予め定めた所定数N(N:自然数)より大であるか否かを判断する(S45)。この所定数Nは、FTPの最大同時セッション数を目安にして設定するのがよく、本実施形態では管理コンピュータ1のFTP最大同時セッション数である“20”を所定数Nに設定している(つまりN=20)。書換フラグがオンになっている端末装置3の台数が所定数N以下の場合、書換フラグがオンになっているそれらの端末装置3の全部について、送信準備フラグをオンにする(S52)。この場合、管理コンピュータ1は、端末装置3に個別にプログラムファイルを転送することになる。ファイルを転送するべき端末装置3(プログラムのバージョンアップを行なうべき端末装置3)の台数が少ない場合、わざわざグループ化を行なうまでも無い。したがって、本実施形態のごとく、グループ化を行なう前にファイル転送を要する端末装置3の台数を確かめ、その台数が予め定めた所定数N以下の場合にはグループ化を行なわず、管理コンピュータ1から各端末装置3に個別にファイルを転送するようにすることが望ましい。
Next, it is determined whether or not the number of
一方、書換フラグがオンである端末装置3の台数が、予め定めた所定数Nより大の場合には、S46に進みグループ分けを行なう。図16に示すごとく、端末装置3は21台ずつグループ分けされるが、そうして分けられたグループが20を超えた場合は、管理コンピュータ1のFTP最大同時セッション数を超えることになる。したがって、その場合にはS48に進みレイヤ分けを行なう。すなわち、21番目のグループからは第2レイヤ、41番目のグループからは第3レイヤという形で所定グループ毎にレイヤ分けを行ない、各グループにレイヤ番号を割り当てる。この結果、各グループはグループを特定するための情報として、グループID(グループNo.)とレイヤID(レイヤNo.)とを有することとなる。レイヤおよびグループという複数の階層構造を形成することにより、第1レイヤに属する親ノードの端末装置3の全台にファイルを転送し終えてから、第2レイヤへのファイル転送に取り掛かるという方法を採用できる。この方法によれば、ファイル転送時の区切りが明確に設けられるので、管理コンピュータ1に懸かる負荷を軽くできる。なお、図5のタイマ処理で用いるタイマがタイムアップすることを基準に、レイヤ分けを行なうようにしてもよい。
On the other hand, when the number of the
もちろん、レイヤ分けが必須というわけではない。レイヤ分けを行なわない場合、管理コンピュータ1は常時最大セッション数で親ノードへのファイル転送を行なうことができる。つまり、一つのグループの親ノードである端末装置3へのファイル転送が終了した場合には、同時セッション中の他の端末装置3へのファイル転送の終了を待たずに、次のグループの親ノードである端末装置3へのファイル転送を開始する。このように、常時最大セッション数で管理コンピュータ1と端末装置3との間のFTP接続を開くことにより、限られたコンピュータ資源を有効に使い、ファイル転送時間を最大限に短縮することが可能となる。
Of course, layering is not essential. When layering is not performed, the management computer 1 can always perform file transfer to the parent node with the maximum number of sessions. That is, when the file transfer to the
また、図16の第1レイヤに示すごとく、IDが101〜120,151〜200の端末装置3がメンテナンス中等の理由で通信不能になり、グループから除外されているが、生じた空席は詰めてグループ化がなされていることが分かる。また、全ての端末装置3は親ノードになる資格を持っている。したがって、どのIDの端末装置3が通信不能に陥ったとしても、その通信不能の端末装置3の影響が他に及ばず、常に最適なグループ分けを行なうことができる。親ノードを固定する場合、その親ノードである端末装置が通信不能になったりすると、同一グループに属する他の端末装置3に影響が及んでしまう。しかしながら、本発明によればグループが固定ではなく、親ノードも固定ではないため、真にファイルを要求する端末装置3のみで動的なグループを形成し、親ノードを動的に指定することで効率良くファイル転送を行なうことが可能である。
In addition, as shown in the first layer of FIG. 16, the
図7に戻って説明を続ける。S47において、グループの数が所定数N(N=20)以下であると判断した場合には、各グループの親ノードである端末装置3の送信準備フラグをオンにする(S53)。これにより、その親ノードである端末装置3にファイル転送を行なう準備が整う。送信準備フラグは、ファイル転送を行なうべき端末装置3を特定するために、端末装置3が持つIDと関連付けた形でRAM103を用いて管理されるフラグであり、ファイルの転送を待っている状態を表わす。また、S48でレイヤ分けが完了したら、第1レイヤに属するグループの親ノードである端末装置3の送信準備フラグをオンにする(S49)。図16でいうと、ID番号が“1”の端末装置3の送信準備フラグがオンになる。送信準備フラグをオンにした端末装置3の書換フラグをオフに切り替える(S50)。
Returning to FIG. 7, the description will be continued. If it is determined in S47 that the number of groups is equal to or less than the predetermined number N (N = 20), the transmission preparation flag of the
なお、S43で書換フラグがオンの端末装置3がグループ化済みであるとの判断をした場合、前のレイヤへのファイル転送が終了したと判断し、次のレイヤに属するグループの親ノードである端末装置3の送信準備フラグをオンにする。これにより、次のレイヤに属する端末装置3にファイルを転送する準備が整う。次のレイヤとは、書換フラグがオンである端末装置が属するレイヤの中で最も若い番号を持つレイヤのことである。
If it is determined in S43 that the
また、グループ化を行なう場合のソートは、ファイルの要求があった順としてもよいし、ID順としてもよい。さらには、ハブ単位でソートを行なうようにしてもよい。ハブ5をまたがってグループ化を行なわない、つまり同一のハブ5に接続された端末装置3同士は、必ず同一グループに属するようにする。このようにすれば通信速度の向上を見込める。また、第2レイヤのグループ数が所定数Nを超えた場合には、図16に示すごとく、第3レイヤに属するグループを形成していけばよい。
Further, the sorting in the case of grouping may be in the order in which the file is requested or in the ID order. Further, sorting may be performed in units of hubs. The grouping is not performed across the
図8に示すのは、ファイル転送処理(図3のS4)の詳細なフローチャートである。S60において、送信中フラグがオフ、つまりファイル転送中でないことを確認したら、送信準備フラグがオンの端末装置3の有無を判断する(S63)。送信準備フラグがオンの端末装置3、つまりファイルを転送するべき親ノードがある場合、プログラムファイルの転送に先立ち、その親ノードである端末装置3にグループ情報を送信する(S64)。グループ情報は、その端末装置3が親ノードであることを示す情報と、同一グループに属する他の端末装置3を特定するための情報(他の端末装置のID)とを含む。ただし、ファイル転送を要する端末装置3の台数が少ない等の理由でグループ化を行なっていない場合には、グループ情報をグループ化がなされていないことを示す情報とするか、あるいはグループ情報自体を送信しなくてもよい。
FIG. 8 is a detailed flowchart of the file transfer process (S4 in FIG. 3). If it is confirmed in S60 that the transmission flag is off, that is, the file is not being transferred, it is determined whether or not there is a
次に、送信準備フラグがオンになっている端末装置3がグループ化されているかどうかを判断する(S65)。グループ化済みであれば、グループ情報に含めた他の端末装置3の書換フラグをオフする(S66)。そして、送信準備フラグがオンになっている親ノードの端末装置3にプログラムファイルの転送を開始する(S67)。ファイル転送を開始するにあたり、FTPのデータ転送用TCPコネクションを管理コンピュータ1側からアクティブモードにて確立する。そして、ファイル転送を開始した端末装置3にかかる送信準備フラグをオフ、送信中フラグをオンに切り替える(S69)。なお、グループ情報の送信をプログラムファイルの転送とともにFTPで行なうようにしてもよい。なお、S60において送信中フラグがオンであることを確認したら、プログラムファイルを親ノードの端末装置3に転送済みかどうか判断する(S61)。プログラムファイル転送済みであると判断した場合には、送信中フラグをオフする(S62)。
Next, it is determined whether or not the
次に、端末装置3側の処理について説明する。
図9は、管理コンピュータ1が実行する処理に応じて端末装置3が実行する処理のゼネラルフローチャートである。端末装置3は、図14に示す内容のバージョンアッププログラム74dの各ジョブを、図9のフローチャート中の各処理として実行する。以下、各処理を詳細に説明する。
Next, processing on the
FIG. 9 is a general flowchart of processing executed by the
図10に示すのは、バージョンチェック処理(図9のT1)の詳細なフローチャートである。端末装置3は、管理コンピュータ1からバージョン情報を受信した場合、受け取ったバージョン情報が自身のバージョンに一致するか否かを判断する(T11,T12)。すなわち、管理コンピュータ1が端末装置3に転送するべきファイルに記述されたプログラムのバージョンと、端末装置3自身がその時に持っているプログラムのバージョンとが一致するかどうかを確認する。そして、バージョンが一致しない場合にのみ、ファイル転送要求する旨の信号を管理コンピュータ1に対して送信する(T13)。バージョンが一致する場合、端末装置3は管理コンピュータ1に何も返答しない。ただし、バージョン情報を受信した端末装置3が管理コンピュータ1に送信する信号(返答データ)は、バージョンが一致するのでファイルが不要であることを表わすものであってもよい。
FIG. 10 is a detailed flowchart of the version check process (T1 in FIG. 9). When receiving the version information from the management computer 1, the
図11に示すのは、ファイル受信処理(図9のT2)の詳細なフローチャートである。T21において、端末装置3はグループ情報を受信したかどうか判断する。グループ情報を受信したと判断した場合には、グループフラグをオンに切り替える(T22)。T23において、ファイルを受信したかどうかを判断する。ファイルを受信した場合には受信フラグをオンに切り替える(T24)。なお、グループ化されていない端末装置3に対してグループ情報を送信しない構成の場合には、プログラムファイルを受信したとき、あるいは受信してから所定時間内にグループ情報を受信しないときに、グループ情報が無いとの判断をする構成とすることができる。
FIG. 11 is a detailed flowchart of the file reception process (T2 in FIG. 9). In T21, the
図12に示すのは、ファイル転送処理(図9のT2)の詳細なフローチャートである。まず、ファイル転送処理終了フラグがオンであるか否かを判断する(T31)。ファイル転送処理終了フラグは、親ノードである端末装置3が同一グループに属する他の端末装置3にファイルを転送したか否かを判断するフラグであり、RAM73(図2)を用いて管理される。ファイル転送処理終了フラグがオフである場合には、グループ内の他の端末装置3にファイル転送を行なうことが必要なので、T32に進み、端末装置3はグループフラグがオンであるか否かを判断する。図11で説明したように、グループフラグはグループ情報を取得することを条件にオンに切り替わるフラグである。グループフラグがオンの場合には、受信フラグがオンであるか否かを判断する(T33)。図11で説明したように、受信フラグはプログラムファイルを管理コンピュータ1から取得したか否か(ダウンロードしたか否か)を判断するフラグである。プログラムファイルを取得している場合には、T34に進み、グループ情報に他の端末装置3のIDが含まれるかどうかを見る。これにより、ファイル転送を行なうべき子ノードである端末装置3(図15参照)を特定する。そして、特定した子ノードである端末装置3にFTP接続し、ファイルを転送する(T35)。ファイル転送を開始したら、ファイル転送処理終了フラグをオンに切り替える(T36)。
FIG. 12 is a detailed flowchart of the file transfer process (T2 in FIG. 9). First, it is determined whether or not the file transfer process end flag is on (T31). The file transfer process end flag is a flag for determining whether or not the
図13に示すのは、プログラム書換処理(図9のT4)の詳細なフローチャートである。まず、ファイル転送終了フラグがオフかどうかを判断する(T41)。ファイル転送終了フラグがオンの場合には、T42に進み、他の端末装置3にファイル転送中であるかどうかを判断する。ファイル転送中でない場合には、管理コンピュータ1から得たプログラムファイルに基づき、ROM74に格納しているプログラムを書き換える(T43)。プログラムの書き換えは、特定のジョブにかかるプログラムの一部を修正する形であってもよいし、そのジョブにかかるプログラムの全体を新しいバージョンのプログラムに置き換える形であってもよい。プログラムを書き換える処理が終了したら、受信フラグ、グループフラグおよびファイル転送処理終了フラグをそれぞれオフする(T44,T45,T46)。親ノードである端末装置3は、同一グループに属する他の端末装置3(子ノード)にプログラムファイルを再転送したあとでこのプログラム書換処理を実行する。これにより、ファイル転送に要する時間からプログラム書換および再起動に要する時間を間引くことができる。
FIG. 13 shows a detailed flowchart of the program rewriting process (T4 in FIG. 9). First, it is determined whether or not the file transfer end flag is off (T41). If the file transfer end flag is on, the process proceeds to T42, and it is determined whether the file is being transferred to another
以上に説明した方法では、親ノードに指定された端末装置3が、同一グループに属する他の全ての端末装置3に管理コンピュータ1から受け取ったファイルを転送する構成としている。ただし、以下に示す構成を端末装置3が有するならば同一グループ内の他の端末装置3全てに管理コンピュータ1から取得したファイルを転送することを要しない。具体的には、図17に示すごとく、端末装置3は、管理コンピュータ1から親ノードに指定された場合に、同一グループに属する他の端末装置3をさらに複数のグループに振り分け、複数の端末装置3が属する複数の第二グループを設定するとともに、各第二グループ内の1台の端末装置3を子ノード、子ノード以外の端末装置3を孫ノードに指定する(第二グループ化手段)。子ノードは、第二世代の親ノードに相当する。そして、第一世代の親ノードに当たる端末装置3は、子ノード(第二世代の親ノード)に指定する旨の通知と、同一の第二グループに属する他の端末装置3(孫ノード)を特定するためのIDとを含む第二のグループ情報を、管理コンピュータ1から取得したファイルとともに子ノードに指定した端末装置3に転送する。このように、端末装置3を親ノード、子ノード、孫ノードの三世代に階層分けし、それぞれの階層内でグループ化を行なう構成は、大型店舗向けのホール管理システムに特に好適である。なお、第二世代のグループ分けは、管理コンピュータ1が行なうようにしてもよい。この場合、管理コンピュータ1は、親ノード、子ノードおよび孫ノードの指定を一括して行なう。また、同一グループ内において親ノードは複数台であってもよいし、子ノードも複数台であってもよい。
In the method described above, the
なお、本実施形態ではFTPの最大同時セッション数が管理コンピュータ1と端末装置3とで同数(N=20)であるとしたが、同数であることには限定されない。たとえば、管理コンピュータ1のFTP最大同時セッション数が10台であり端末装置3のFTP最大同時セッション数が5台である場合には、一つのレイヤに最大10グループが所属し、一つのグループには最大6台の端末装置3(1台の親ノードと5台の子ノード)が所属するようにグループ化処理を行なうとよい。
Although the maximum number of simultaneous FTP sessions is the same number (N = 20) in the management computer 1 and the
また、一つのグループに所属する端末装置3の台数を適宜変更する構成とすることも可能である。すなわち、ファイルを要求する旨の返答があった端末装置3をリストアップし、そのリストに挙がった端末装置3の台数を計数する一方、その計数した台数を、所定数N(たとえば管理コンピュータ1のFTP最大同時セッション数)で除して一つのグループに所属する端末装置3の台数を決定する。そして、その決定に基づいて各端末装置3をグループ分けする。たとえば、60台の端末装置3からファイル転送の要求があった場合には、その60台を所定数N(たとえばN=20)で除した値(=3台)が一つのグループに属する端末装置3の台数となる。このような方法によれば、グループの親ノードに指定される端末装置3の負担を軽減することができる。したがって、端末装置3を管理コンピュータ1ほど高性能化せずに済む。
It is also possible to adopt a configuration in which the number of
以上、本実施形態では、玉貸出機能を持った端末装置3を例示したが、玉貸出機能を持たない端末装置であってもよい。つまり、先に例示した機能の全てを端末装置3が持つ必要はない。具体的には、図18に示すごとく、遊技台4ごとに設けられるデータ表示機能付きの呼出ランプ7の二台に対して一つのプログラム基板6(入出力コントローラともいう)が設けられ、その一つのプログラム基板6で二台の呼出ランプ7,7を制御する構成のホール管理システム200は、他の一つの好適な実施形態である。もちろん、端末装置は、玉貸出機能だけを持った端末(台毎の貯玉再プレイ装置等プログラムを変更する可能性のある端末)であってもよい。
As described above, in the present embodiment, the
また、管理コンピュータ1がプログラムファイルの転送元でないホール管理システム300(図18)を示すことができる。ホール管理システム300の基本的な構成は、図1に示したホール管理システム100と共通である。相違する点は、入出力コントローラ8がメモリカードリーダ8aを備える点である。すなわち、そのメモリカードリーダ8aから、メモリカートリッジ9に記録されたプログラムファイルを入出力コントローラ8に取り込み、プログラムファイルを取り込んだ入出力コントローラ8が備えるグループ化手段により、他の入出力コントローラ8にかかるグループ化を行ない、プログラムファイルを取り込んだ入出力コントローラ8が備えるファイル転送手段によってファイル転送を行なう。図4等で説明したバージョンチェックは行なってもよいし、行なわなくてもよい。
Further, the hall management system 300 (FIG. 18) in which the management computer 1 is not the program file transfer source can be shown. The basic configuration of the
また、図19のホール管理システム300の変形例として、管理コンピュータ1と入出力コントローラ8との間に島コンピュータを配置する構成を示すことができる。すなわち、その島コンピュータがグループ化処理(グループ分けとグループ情報の送信)を行なう一方、子ノードへのプログラムファイルの転送は親ノードに指定された入出力コントローラ8(端末装置)が行なうという構成を採用できる。このように、プログラムファイルの最初の転送元は管理コンピュータ1に限定されないし、グループ化処理の主体(装置)も管理コンピュータ1に限定されない。また、プログラムファイルを転送する装置と、グループ化処理(グループ情報の送信含む)を行なう装置とが別体であってもよい。
Further, as a modified example of the
また、本明細書では遊技店のホール管理システムを具体例として説明してきたが、他の一般的なネットワークにも発明の思想を取り入れることが可能であることを断っておく。 In this specification, the hall management system of the amusement store has been described as a specific example, but it should be noted that the idea of the invention can be incorporated into other general networks.
1 管理コンピュータ
3 端末装置
6,8 入出力コントローラ(端末装置)
71 CPU(グループ内ファイル転送手段、端末側バージョンチェック手段、プログラム書換手段)
101 CPU(グループ化手段、ファイル転送手段、バージョンチェック手段、タイマ手段)
100,200,300 ホール管理システム
1
71 CPU (in-group file transfer means, terminal-side version check means, program rewrite means)
101 CPU (grouping means, file transfer means, version check means, timer means)
100, 200, 300 Hall management system
Claims (2)
前記管理コンピュータは、
所定条件の成立に応じて通信可能状態にある全ての前記端末装置をリストアップし、リストアップした前記端末装置をグループに振り分け、複数の前記端末装置が属する複数のグループを設定するグループ設定を行うとともに、各グループ内の所定数の前記端末装置を親ノードに指定するグループ化手段と、
前記グループ化手段が設定した同一グループに属する前記端末装置を特定するためのIDを含むグループ情報と、前記プログラムファイルとを、親ノードに指定した前記端末装置に転送するファイル転送手段とを備え、
前記それぞれの端末装置には、
前記ファイル転送手段から前記プログラムファイルと前記グループ情報との双方を取得した場合に、取得したグループ情報に基づいて同一グループに属する他の複数の前記端末装置に、取得した前記プログラムファイルを転送する均一のグループ内ファイル転送手段を有し、
前記グループ化手段が行うグループ設定は、当該グループ内の親ノードの数と、前記グループ内ファイル転送手段が同時にファイル転送を可能とする最大数とに基づき予め定められた設定数に基づいて設定され、
前記管理コンピュータが指定した親ノードの端末装置は、転送された前記プログラムファイルを前記グループ内ファイル転送手段によってグループ内の全ての端末装置に転送することを特徴とするホール管理システム。 A terminal device provided with at least one of a function of displaying data relating to a gaming machine such as a pachinko machine or a slot machine, a function of collecting data relating to the gaming machine, and a lending function, and provided along with the gaming machine; A hall management system in which a management computer and a management computer are communicably connected to form a network,
The management computer is
Lists all of the terminal devices in communicable state in response to satisfaction of a predetermined condition, sorting the previous SL terminal device listed in group, the group setting for setting a plurality of groups which a plurality of the terminal apparatus belongs performs a tolyl loop means specifies the parent node a predetermined number of the terminals in each group,
Group information including an ID for specifying the terminal devices belonging to the same group set by the grouping means, and a file transfer means for transferring the program file to the terminal device designated as a parent node,
Wherein the respective terminal devices,
Uniformly transferring the acquired program file to a plurality of other terminal devices belonging to the same group based on the acquired group information when both the program file and the group information are acquired from the file transfer means. have a group within the file transfer means,
The group setting performed by the grouping unit is set based on a predetermined number based on the number of parent nodes in the group and the maximum number at which the intra-group file transfer unit can simultaneously transfer files. ,
The terminal device of the parent node designated by the management computer transfers the transferred program file to all the terminal devices in the group by the intra-group file transfer means .
前記グループ化手段が行うグループ設定における設定数は、グループ内の親ノードの数と、前記グループ内ファイル転送手段のFTPの最大同時セッション数とに基づいて予め定められた数であることを特徴とする請求項1記載のホール管理システム。 Said group file transfer means, rows that have the file transfer by FTP communication,
Set constant in the group set in which the grouping means performs the, features and the number of the parent node in the group, that based on the maximum number of simultaneous sessions of FTP of the group in the file transfer unit is a predetermined number The hall management system according to claim 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005001241A JP3850859B2 (en) | 2005-01-06 | 2005-01-06 | Hall management system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005001241A JP3850859B2 (en) | 2005-01-06 | 2005-01-06 | Hall management system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006187438A JP2006187438A (en) | 2006-07-20 |
JP3850859B2 true JP3850859B2 (en) | 2006-11-29 |
Family
ID=36795160
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005001241A Expired - Fee Related JP3850859B2 (en) | 2005-01-06 | 2005-01-06 | Hall management system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3850859B2 (en) |
Families Citing this family (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5023596B2 (en) * | 2006-07-26 | 2012-09-12 | 富士通株式会社 | Program distribution device |
JP4992335B2 (en) * | 2006-08-07 | 2012-08-08 | ソニー株式会社 | Policy file distribution method and community system |
JP4573181B2 (en) * | 2006-08-25 | 2010-11-04 | 日本電気株式会社 | Module distribution method, program, and distribution server |
JP2008054833A (en) * | 2006-08-30 | 2008-03-13 | Sayama Precision Ind Co | Island repeater |
JP2008146592A (en) * | 2006-12-13 | 2008-06-26 | Fujitsu Ltd | Distribution method, distribution control device, and program |
JP5218820B2 (en) * | 2008-03-07 | 2013-06-26 | 日本電気株式会社 | Software installation system and method |
WO2010058444A1 (en) * | 2008-11-20 | 2010-05-27 | 富士通株式会社 | Information processing system, information processing system control method, and information processing device |
JP5381108B2 (en) * | 2009-01-13 | 2014-01-08 | 株式会社ナカヨ通信機 | Communication terminal and software update method |
JP2012038056A (en) * | 2010-08-06 | 2012-02-23 | Yokogawa Electric Corp | Method and system for updating memory content of equipment connected to communication bus |
JP5983118B2 (en) * | 2012-07-12 | 2016-08-31 | カシオ計算機株式会社 | Terminal device and program |
JP6375815B2 (en) * | 2014-09-18 | 2018-08-22 | 富士ゼロックス株式会社 | Image forming apparatus and program |
JP6358295B2 (en) * | 2016-08-02 | 2018-07-18 | カシオ計算機株式会社 | Terminal device, information transmission / reception method, and program |
JP6788524B2 (en) * | 2017-02-28 | 2020-11-25 | ダイコク電機株式会社 | Game equipment and playground system |
JP6940343B2 (en) * | 2017-09-12 | 2021-09-29 | 株式会社オービック | Distribution management system and distribution management method |
JP2020003965A (en) * | 2018-06-27 | 2020-01-09 | 株式会社 ハンモック | Information processing system and information processing method |
JP6962570B2 (en) * | 2018-10-04 | 2021-11-05 | Necプラットフォームズ株式会社 | Communication system and method |
JP7484541B2 (en) | 2020-08-05 | 2024-05-16 | 岩崎電気株式会社 | Communication control system and lighting control system |
JP2025099266A (en) * | 2023-12-21 | 2025-07-03 | 株式会社Jvcケンウッド | Electronic device and method for updating electronic device |
-
2005
- 2005-01-06 JP JP2005001241A patent/JP3850859B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2006187438A (en) | 2006-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3850859B2 (en) | Hall management system | |
US7206852B2 (en) | System and method for upgrading software in a distributed computer system | |
US8375001B2 (en) | Master monitoring mechanism for a geographical distributed database | |
US8055735B2 (en) | Method and system for forming a cluster of networked nodes | |
US6892316B2 (en) | Switchable resource management in clustered computer system | |
CN113760447B (en) | Service management method, device, equipment, storage medium and program product | |
US8266301B2 (en) | Deployment of asynchronous agentless agent functionality in clustered environments | |
JP2018156645A (en) | Storage system and operation method thereof | |
US8543692B2 (en) | Network system | |
US20110093743A1 (en) | Method and System of Updating a Plurality of Computers | |
JP2012208605A (en) | Virtual server id management system, integrated monitoring system, virtual server id management program, and integrated monitoring program | |
JP2005512190A (en) | Real composite objects that provide high availability of resources in networked systems | |
JP2019008417A (en) | Information processing apparatus, memory control method, and memory control program | |
US20070266120A1 (en) | System and method for handling instructions in a pre-boot execution environment | |
CN108549542A (en) | A kind of file dispositions method, device and equipment | |
US9424301B2 (en) | System and method for negotiated takeover of storage objects | |
CN109510878B (en) | Long connection session keeping method and device | |
CN111324361A (en) | Application upgrading method and device | |
WO2013132910A1 (en) | Host providing system and host providing method | |
JP2017134772A (en) | License management system, client device, and application program | |
US20120303720A1 (en) | Rapid notification system | |
JP4063220B2 (en) | Computer system, server computer, computer system application update method, program | |
CN116264515B (en) | Virtual desktop resource remote access control method and device | |
JP6051798B2 (en) | Firmware verification system, firmware verification method, and firmware verification program | |
JPH11232233A (en) | Network computer management method and network computer system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20060413 |
|
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: 20060825 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060830 |
|
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: 20090908 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120908 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150908 Year of fee payment: 9 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |