[go: up one dir, main page]

JP3850859B2 - Hall management system - Google Patents

Hall management system Download PDF

Info

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
Application number
JP2005001241A
Other languages
Japanese (ja)
Other versions
JP2006187438A (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 JP2005001241A priority Critical patent/JP3850859B2/en
Publication of JP2006187438A publication Critical patent/JP2006187438A/en
Application granted granted Critical
Publication of JP3850859B2 publication Critical patent/JP3850859B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

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.

端末装置は、遊技者に対して大当たり回数などのデータを提供するデータ表示装置としての機能や、貸玉を行なう貸玉装置としての機能を持つ。こうした機能の拡張や改良を行なうために、しばしば端末装置のバージョンアップ(プログラム改訂)が行なわれる。端末装置のバージョンアップは、通常、管理コンピュータから一括して行なう仕組みになっている。すなわち、管理コンピュータは、端末装置に新しいバージョンのプログラムファイルを転送する。
特開2004−187868号公報
The terminal device has a function as a data display device that provides data such as the number of jackpots to a player and a function as a ball rental device that performs ball rental. In order to expand and improve such functions, the terminal device is often upgraded (program revision). The terminal device is usually upgraded in a batch from a management computer. That is, the management computer transfers a new version of the program file to the terminal device.
JP 2004-187868 A

ところで、遊技店によっては端末装置の数が非常に多い場合がある。管理コンピュータは、多数の端末装置にファイルを転送しなければならない。しかも、ファイルはプログラムにかかるものなので比較的大きいサイズを持つ。そのため、従来のファイル転送方法だと、全ての端末装置をバージョンアップするのに長い時間を要する。   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.

課題を解決するための手段および発明の効果Means for Solving the Problems and Effects of the Invention

上記課題を解決するためのこの発明は、パチンコ機やスロットマシン等の遊技台に関するデータを表示する機能と、遊技台に関するデータを収集する機能と、貸出機能との少なくとも一つを備え、遊技台に付随して設けられる端末装置と、管理コンピュータとが相互に通信可能に接続されてネットワークを形成しているホール管理システムであって、管理コンピュータは、所定条件の成立に応じて通信可能状態にある全ての端末装置をリストアップし、リストアップした端末装置をグループに振り分け、複数の端末装置が属する複数のグループを設定するグループ設定を行うとともに、各グループ内の所定数の端末装置を親ノードに指定するグループ化手段と、グループ化手段が設定した同一グループに属する端末装置を特定するための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 hall management system 100 includes a management computer 1 and a terminal device 3. The terminal device 3 is installed one-to-one on a large number of game machines 4 installed in the game store. The game table 4 is a pachinko machine. The management computer 1 and the terminal device 3, and the terminal devices 3 and 3 are interconnected by a communication network 10. The communication network 10 is an Ethernet cable. A hub 5 is arranged on a communication path between the management computer 1 and the terminal device 3. For convenience of space, FIG. 1 shows only a few game tables 4 and terminal devices 3, but an actual game store has, for example, 1000 or more game tables 4 and terminal devices 3 installed. All the terminal devices 3 and the management computer 1 form a computer network.

ハブ5はスイッチングハブであるが、リピータとして働く通常のハブであってもよい。また、図1の実施形態ではハブ5,5同士はカスケード接続されている。相当数の端末機3をホール管理システム100のネットワークに接続するときは、ハブ5,5をスタック接続する構成も好適である。また、遊技台4はスロットマシンの場合もある。また、本実施形態はネットワーク層にイーサネット(米国XEROX社の登録商標)を採用しているが、バス型でノードIDを持ったネットワークを組めれば、CAN(Controller Area Network)やMOST(Media Oriented Systems Transport)等の他のLAN規格を採用してもよい。   The hub 5 is a switching hub, but may be a normal hub that functions as a repeater. In the embodiment of FIG. 1, the hubs 5 and 5 are cascade-connected. When a considerable number of terminals 3 are connected to the network of the hall management system 100, a configuration in which the hubs 5 and 5 are connected in a stack is also suitable. The game table 4 may be a slot machine. In this embodiment, Ethernet (registered trademark of XEROX, USA) is used for the network layer. However, if a network with a bus type and node ID is assembled, CAN (Controller Area Network) or MOST (Media Oriented) is used. Other LAN standards such as Systems Transport) may be adopted.

端末装置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 terminal device 3 from the corresponding gaming table 4. By inputting these signals, the terminal device 3 obtains data relating to the operating status of the corresponding game machine 4 and the payout balance. Further, the terminal device 3 has a function as a ball lending device. The ball lending amount is totaled, or the number of balls (game media) corresponding to the amount with respect to the ball replenishing device built in the game stand 4 Or order them to be lent. Data (operation data) regarding the gaming table 4 obtained by the terminal device 3 is sent to the management computer 1. The management computer 1 records the operation data obtained from the terminal device 3 in a database, and manages data related to the game such as the payout balance, the number of jackpots, and the rent amount for each gaming table 4.

ホール管理システム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 hall management system 100, the management computer 1 and the terminal device 3 implement a common protocol stack to form a computer network. The computer network is a TCP / IP network. That is, the management computer 1 and the terminal device 3 each have a protocol stack for forming a TCP / IP network. Further, in order to perform file transfer (data transmission), the management computer 1 and the terminal device 3 each implement FTP as an upper layer of TCP / IP. Since the FTP service provides highly reliable data transmission / reception to the network (hole management system 100), it is suitable for transmission / reception of large files. For example, when the program revision (version upgrade) of the terminal device 3 is performed, the program file is transferred from the management computer 1 to the terminal device 3 by FTP. Further, the operation data obtained from the game machine 4 by the terminal device 3 is sent to the management computer 1 in real time. Since the operating data is smaller than the program file, the operating data is opened by opening a connection (communication path) using a socket at the time of system startup and communicating using read / write for normal file input / output. Send and receive. Of course, the FTP service may be used for transmission / reception of operation data. FTP is suitable for transmission / reception of various setting files, image files, backup files, and the like.

図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 hall management system 100 of FIG. The management computer 1 includes a CPU 101, a ROM 102, a RAM 103, and an HDD 104 (hard disk drive). These devices communicate over the bus. A drive circuit including an input / output interface 105 (I / O) is connected to the internal bus. Input / output devices such as a monitor 106, a CD-R drive 107, and a mouse / keyboard 108 are connected to the input / output interface 105. The input / output interface 105 includes an Ethernet adapter. The management computer 1 is connected to the network through this Ethernet adapter.

HDD104には、各遊技台の稼働データを管理するための遊技台データベース104aのほか、基本プログラム104b、データ管理プログラム104cおよびバージョンアッププログラム104d等が格納されている。基本プログラム104bは、オペレーティングシステムの各動作を提供する。TCP/IPやFTP等のプロトコルスタック、TCP/IPにおいて利用するネットワーク用APIは、この基本プログラム104bに含まれる。データ管理プログラム104cは、端末装置3から各遊技台4の稼働データを取得して遊技台データベース104aを構築し、これを運用する機能を提供する。バージョンアッププログラム104dは、データ管理プログラム104cのバージョンアップや、後述する端末装置3のプログラムのバージョンアップを行なうための機能を提供する。   The HDD 104 stores a basic program 104b, a data management program 104c, a version upgrade program 104d, and the like, in addition to a gaming table database 104a for managing operating data of each gaming table. The basic program 104b provides each operation of the operating system. The basic program 104b includes a protocol stack such as TCP / IP and FTP, and a network API used in TCP / IP. The data management program 104c provides a function of acquiring operation data of each gaming machine 4 from the terminal device 3 to construct a gaming machine database 104a and operating it. The upgrade program 104d provides functions for upgrading the data management program 104c and upgrading the program of the terminal device 3 to be described later.

端末装置3は、CPU71、ROM74およびRAM73を有する。これらのデバイスはバスを通じて通信する。内部バスには、入出力インターフェイス75(I/O)を含むドライブ回路が接続する。入出力インターフェイス75には、遊技客向けのタッチパネルモニタ76、貸玉カードリーダ77等の入出力装置が接続する。入出力インターフェイス75はイーサネットアダプタを含む。端末装置3は、イーサネットアダプタを通じてホール管理システム100のネットワークに接続する。また、端末装置3には遊技台4が接続している。具体的には、端末装置3の入出力インターフェイス75はパラレル入出力インターフェイスを含むものとして構成され、そのパラレル入出力インターフェイスに遊技台4の外部出力端子群が接続する。遊技台4の外部出力端子群は、セーフ信号端子、アウト信号端子、大当たり信号端子、確変信号端子、稼働信号端子等の各種信号端子で構成される。   The terminal device 3 includes a CPU 71, a ROM 74, and a RAM 73. These devices communicate over the bus. A drive circuit including an input / output interface 75 (I / O) is connected to the internal bus. The input / output interface 75 is connected to input / output devices such as a touch panel monitor 76 for a player and a ball rental card reader 77. The input / output interface 75 includes an Ethernet adapter. The terminal device 3 is connected to the network of the hall management system 100 through an Ethernet adapter. In addition, a gaming table 4 is connected to the terminal device 3. Specifically, the input / output interface 75 of the terminal device 3 is configured to include a parallel input / output interface, and an external output terminal group of the game machine 4 is connected to the parallel input / output interface. The external output terminal group of the game table 4 includes various signal terminals such as a safe signal terminal, an out signal terminal, a jackpot signal terminal, a probability variation signal terminal, and an operation signal terminal.

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 ROM 74 stores a basic program 74a, a game management program 74b, a ball rental program 74c, a version upgrade program 74d, and the like. The ROM 74 is a storage device that can rewrite the storage contents, such as a flash ROM or an EEPROM. While the ROM 74 is used exclusively for booting, an IDE standard HDD may be provided to store each of the above-described program groups. The basic program 74a provides each operation of the operating system. A protocol stack such as TCP / IP and FTP, and a network API used in TCP / IP are included in the basic program 74a. The game management program 74b monitors signals relating to the operation state of the game table 4 such as an out signal, a safe signal, and a jackpot signal sent from the game table 4 side, and detects those signals based on the signals. Provides functions to manage the payout balance and operating status of The ball lending program 74c notifies the ball replenishing device (not shown) of the prepaid card read by the ball lending card reader 77 to provide a player with a function of lending a ball. The upgrade program 74d provides a function for upgrading other application programs of the terminal device 3 such as the game management program 74b and the ball rental program 74c. Further, the version upgrade program 74d provides a function of transferring the program file received from the management computer 1 to another terminal device 3 in the network. That is, the terminal device 3 has both client and server functions.

図14は、管理コンピュータ1と端末装置3のバージョンアッププログラム104d,74dの詳細を記した概念図である。管理コンピュータ1側のバージョンアッププログラム104dは、バージョンチェックジョブ、タイマジョブ、一括操作ジョブ、グループ化ジョブ、プログラムファイル送信ジョブの各ジョブにかかるプログラムモジュールである。端末装置3側のバージョンアッププログラム74dは、バージョンチェックジョブ、プログラムファイル受信ジョブ、プログラムファイル送信ジョブおよびプログラム書換ジョブの各ジョブにかかるプログラムモジュールである。   FIG. 14 is a conceptual diagram illustrating details of the upgrade programs 104 d and 74 d of the management computer 1 and the terminal device 3. The upgrade program 104d on the management computer 1 side is a program module related to each job of a version check job, a timer job, a batch operation job, a grouping job, and a program file transmission job. The upgrade program 74d on the terminal device 3 side is a program module related to each job of a version check job, a program file reception job, a program file transmission job, and a program rewriting job.

上記のごときバージョンアッププログラム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 upgrade programs 104d and 74d as described above in cooperation with the management computer 1 and the terminal device 3, the program revision of the terminal device 3 is performed collectively from the management computer 1. A new version program to be transferred to the terminal device 3 is input from the CD-R drive 107 to the management computer 1 and temporarily stored in the RAM 103 or the HDD 107. Then, when a predetermined command is input from a keyboard or the like, the CPU 101 of the management computer 1 calls the upgrade program 104 d from the HDD 104 to the RAM 103 and executes it. FIG. 3 is a general flowchart of processing executed by the management computer 1 when upgrading the program of the terminal device 3. The management computer 1 executes each job of the upgrade program 104d having the contents shown in FIG. 14 as each process in the flowchart of FIG. Before explaining the details of each process, the file transfer method employed by the hole management system 100 will be described with reference to the conceptual diagram of FIG.

図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 terminal devices 3 that request a new version of the program file and distributes them to a plurality of groups. A plurality of terminals 3 belong to each group, one of which is designated as a parent node and the rest is designated as a child node. The management computer 1 transfers the program file only to the terminal device 3 designated as the parent node. Transfer of the program file to the terminal device 3 which is a child node is handled by the terminal device 3 of the parent node belonging to the same group. Although only a small number of terminal devices 3 are shown in FIG. 15 for the sake of space, in an actual game store, the number of terminal devices 3 may reach 1000 or more. Under such circumstances, it takes a considerable amount of time to transfer files directly from the management computer 1 to all the terminal devices 3, but the distributed processing shown in FIG. 15A can greatly reduce the time. The burden on the management computer 1 is greatly reduced.

次に、図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 destination terminal device 3 can receive data. If reception is possible, an FTP TCP connection (for control and data transfer) is established, and data (file) is sent. When the data has been sent, the FTP TCP connection is released (disconnected). On the other hand, as shown at the left end of FIG. 15B, communication is impossible if there is no answer to the inquiry from the terminal device 3. In this case, the management computer 1 ignores the terminal device 3 incapable of communication, and attempts grouping only with the terminal device 3 capable of communication. Except for the last group that collects fractions, a certain number (for example, 21) of terminal devices 3 belong to each group, so there is no vacant seat in the group. Then, the terminal device 3 having the head ID in the group is designated as the parent node.

このように、動的グループ化と分散処理とが協働することにより、プログラムファイルのようなサイズの大きいファイルを相当数の端末装置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 terminal devices 3. Is possible. Further, even if a certain terminal device 3 falls into a communication disabled state, it does not affect other terminal devices 3.

なお、図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 terminal device 3 that is the parent node in the group. Grouping may be performed such that a plurality of parent nodes (for example, a predetermined number smaller than the number of terminal devices 3 belonging to the same group) exist in one group.

以上の説明を踏まえて各処理の詳細を説明していく。
図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 terminal devices 3 connected to the network. A unique ID is assigned in advance to all the terminal devices 3. This unique ID corresponds to the machine number of the game machine 4 and serves as an identification mark when a certain terminal device 3 and the management computer 1 communicate with each other. The version check process is performed for each ID of the terminal device 3 that the management computer 1 has in advance.

図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 terminal device 3 using the RAM 103 and is a flag for identifying whether or not communication with a certain terminal device 3 is possible. When the communication flag is off, the process proceeds to S12, and it is determined again whether or not communication is possible. When the management computer 1 is activated when the power is turned on, it prepares to receive data from the terminal device 3. The terminal device 3 sends a version request signal to the management computer 1 periodically (for example, every one minute) until communication becomes possible when the terminal device 3 is activated when the power is turned on. By receiving this version request signal, the management computer 1 determines that the communication is started, and switches on the communication flag to secure the communication path (S12, S13). When the communication flag is switched on, version information is transmitted to inquire whether the program needs to be revised (S14). The version information is information held by the management computer 1 and specifies the version of the program that the terminal device 3 should own. For example, it is described in a comment of a new program for the terminal device 3 taken into the management computer 1 from the CD-R drive 107.

一方、通信フラグがオフでない場合には、それまで通信可能だったことを表わすので、特定の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 terminal device 3 having a specific ID. Therefore, in S15 following S11, it is determined whether a communication failure has occurred and communication is not possible. Specifically, a health check signal is sent from the terminal device 3 to the management computer 1 every predetermined time (for example, every 5 minutes), and the management computer 1 sends the health check signal to a specified time (5 minutes or 5 minutes + α). If no more is received, it is determined that there is a communication failure. Data may be transmitted every time there is a change in the operation data, and the health check may be performed when the operation data does not change within a specified time after the data transmission.

通信障害が無いことを確かめた後、バージョンアップ用のプログラムファイルを要求する旨の信号(ファイル転送要求信号)が端末装置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 terminal device 3 that has sent the signal is turned on (S17). The temporary rewrite flag is a flag managed based on the ID for each terminal device 3 using the RAM 103, and is a flag for listing the terminal devices 3 participating in the grouping process.

図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 terminal devices 3. However, with this method, there is a possibility that the time for waiting for a response from the terminal device 3 becomes longer. Therefore, in some cases, it is more efficient to adopt a method to be described later (S3 in FIG. 3) for sending a file to all the terminal devices 3 regardless of whether the file is necessary or not.

他の一つの方法は、一定台数(たとえば20台)の端末装置3からファイルの要求があったら、それらを一つのグループとして設定するという方法である。ファイルの要求があった端末装置3の台数は、カウンタ等の計測手段で逐次監視すればよい。設定したグループには、ファイル転送を開始することができるので、管理コンピュータ1の待ち時間を短縮できる。   Another method is a method of setting a file request from a certain number (for example, 20) of terminal devices 3 as a group. The number of terminal devices 3 that have requested a file may be sequentially monitored by a measuring means such as a counter. Since the file transfer can be started to the set group, the waiting time of the management computer 1 can be shortened.

他の一つの方法は、図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 terminal device 3 at regular intervals. In the grouping process of FIG. 6, every time a certain time (for example, 30 seconds) measured by the timer process elapses, the terminal devices 3 that have received a response requesting a file are listed and grouped. . Then, the files are transferred sequentially in the order of grouping. According to such a method, since the waiting time of the management computer 1 can be reduced, the computer resources can be effectively used and the time required for file transfer to all the terminal devices 3 can be shortened.

図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 terminal device 3 having an ID for which the temporary rewrite flag is on (S22). By looking at the on / off state of the temporary rewrite flag associated with the ID, it is possible to identify the terminal device 3 that has responded to request a file. When the terminal device 3 whose temporary rewrite flag is on is found, the rewrite flag of the terminal device 3 is turned on (S23). Thus, preparation for executing the grouping process is completed. When the rewrite flag is turned on, the temporary rewrite flag is turned off and the timer is restarted (S24, S25). From the above description, it can be seen that the temporary rewrite flag is a flag indicating a waiting time-up state of the timer.

なお、図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 communicable terminal devices 3 are subject to file transfer. And That is, the rewrite flag of the terminal device 3 whose communication flag is on is turned on (S31, S32). The rewrite flag is associated with an ID unique to the terminal device 3 and managed in the RAM 103. Instead of the operation of the batch download button, the program file that the terminal device 3 should have is fetched, and when the version information is updated, it is determined that the predetermined condition is satisfied, and the process of S32 may be performed.

図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 RAM 103 and is kept on while the program file is transferred to any one of the terminal devices 3. While the FTP session is continuing, that is, when the FTP connection is established, the transmission flag is on. If it is confirmed that the file is not being transferred, the terminal device 3 whose rewrite flag is turned on is found based on the ID with reference to the RAM 103 (S42). Further, it is determined whether or not the found terminal device 3 has already been grouped (S43). The determination in S43 depends on, for example, whether each terminal device 3 is associated with a group ID or a layer ID. The terminal device 3 whose rewrite flag is on and which does not yet belong to the group is listed based on the ID (S44). The rewrite flag is a flag indicating a state of waiting for grouping, or a state in which grouping is performed but file transfer preparation is not ready.

次に、書換フラグがオンである端末装置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 terminal devices 3 whose rewrite flag is on is greater than a predetermined number N (N: natural number) (S45). The predetermined number N is preferably set using the maximum number of simultaneous FTP sessions as a guideline. In this embodiment, the predetermined maximum number N of “20”, which is the maximum number of simultaneous FTP sessions of the management computer 1, is set ( That is, N = 20). When the number of the terminal devices 3 whose rewrite flags are turned on is equal to or less than the predetermined number N, the transmission preparation flags are turned on for all the terminal devices 3 whose rewrite flags are turned on (S52). In this case, the management computer 1 individually transfers the program file to the terminal device 3. If the number of terminal devices 3 to which files are to be transferred (terminal device 3 to which the program is to be upgraded) is small, there is no need to bother grouping. Therefore, as in the present embodiment, the number of terminal devices 3 that require file transfer before grouping is confirmed. If the number is less than a predetermined number N, grouping is not performed and the management computer 1 It is desirable to transfer files to each terminal device 3 individually.

一方、書換フラグがオンである端末装置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 terminal devices 3 whose rewrite flag is on is larger than a predetermined number N, the process proceeds to S46 to perform grouping. As shown in FIG. 16, the terminal devices 3 are grouped by 21 units, but if the number of groups thus divided exceeds 20, the number of FTP simultaneous simultaneous sessions of the management computer 1 will be exceeded. Therefore, in this case, the process proceeds to S48 to perform layer division. That is, layer division is performed for each predetermined group in the form of the second layer from the 21st group and the third layer from the 41st group, and a layer number is assigned to each group. As a result, each group has a group ID (group No.) and a layer ID (layer No.) as information for specifying the group. A method is adopted in which a plurality of hierarchical structures of layers and groups are formed to transfer files to all of the terminal devices 3 of the parent node belonging to the first layer and then start file transfer to the second layer. it can. According to this method, since the division at the time of file transfer is clearly provided, the load on the management computer 1 can be reduced. Note that layering may be performed on the basis that the timer used in the timer processing of FIG.

もちろん、レイヤ分けが必須というわけではない。レイヤ分けを行なわない場合、管理コンピュータ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 terminal device 3 which is the parent node of one group is completed, the parent node of the next group is not waited for the end of the file transfer to the other terminal device 3 during the simultaneous session. The file transfer to the terminal device 3 is started. In this way, by opening the FTP connection between the management computer 1 and the terminal device 3 with the maximum number of sessions at all times, it is possible to effectively use limited computer resources and reduce the file transfer time to the maximum. Become.

また、図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 terminal device 3 with IDs 101 to 120 and 151 to 200 becomes incapable of communication due to maintenance or the like, and is excluded from the group. It can be seen that grouping has been done. All the terminal devices 3 are qualified to become a parent node. Therefore, even if the terminal device 3 with any ID falls into the incommunicable state, the influence of the incommunicable terminal device 3 does not reach the other, and the optimum grouping can always be performed. When the parent node is fixed, if the terminal device which is the parent node becomes unable to communicate, the other terminal devices 3 belonging to the same group are affected. However, according to the present invention, since the group is not fixed and the parent node is not fixed, a dynamic group is formed only by the terminal device 3 that truly requests the file, and the parent node is dynamically specified. It is possible to transfer files efficiently.

図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 terminal device 3 that is the parent node of each group is turned on (S53). Thereby, the terminal device 3 which is the parent node is ready to perform file transfer. The transmission preparation flag is a flag that is managed by using the RAM 103 in association with the ID of the terminal device 3 in order to specify the terminal device 3 to which the file transfer is to be performed. Represent. When the layer division is completed in S48, the transmission preparation flag of the terminal device 3 that is the parent node of the group belonging to the first layer is turned on (S49). In FIG. 16, the transmission preparation flag of the terminal device 3 whose ID number is “1” is turned on. The rewrite flag of the terminal device 3 whose transmission preparation flag is turned on is switched off (S50).

なお、S43で書換フラグがオンの端末装置3がグループ化済みであるとの判断をした場合、前のレイヤへのファイル転送が終了したと判断し、次のレイヤに属するグループの親ノードである端末装置3の送信準備フラグをオンにする。これにより、次のレイヤに属する端末装置3にファイルを転送する準備が整う。次のレイヤとは、書換フラグがオンである端末装置が属するレイヤの中で最も若い番号を持つレイヤのことである。   If it is determined in S43 that the terminal device 3 whose rewrite flag is on has been grouped, it is determined that the file transfer to the previous layer has been completed, and is the parent node of the group belonging to the next layer. The transmission preparation flag of the terminal device 3 is turned on. Thereby, preparation for transferring the file to the terminal device 3 belonging to the next layer is completed. The next layer is a layer having the smallest number among the layers to which the terminal device whose rewrite flag is on belongs.

また、グループ化を行なう場合のソートは、ファイルの要求があった順としてもよいし、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 hubs 5, that is, the terminal devices 3 connected to the same hub 5 are sure to belong to the same group. In this way, an improvement in communication speed can be expected. When the number of groups in the second layer exceeds a predetermined number N, groups belonging to the third layer may be formed as shown in FIG.

図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 terminal device 3 whose transmission preparation flag is on (S63). When there is a terminal device 3 whose transmission preparation flag is on, that is, there is a parent node to which the file is to be transferred, group information is transmitted to the terminal device 3 which is the parent node prior to the transfer of the program file (S64). The group information includes information indicating that the terminal device 3 is a parent node, and information (IDs of other terminal devices) for specifying other terminal devices 3 belonging to the same group. However, when grouping is not performed because the number of terminal devices 3 that require file transfer is small, the group information is information indicating that grouping is not performed, or the group information itself is transmitted. You don't have to.

次に、送信準備フラグがオンになっている端末装置3がグループ化されているかどうかを判断する(S65)。グループ化済みであれば、グループ情報に含めた他の端末装置3の書換フラグをオフする(S66)。そして、送信準備フラグがオンになっている親ノードの端末装置3にプログラムファイルの転送を開始する(S67)。ファイル転送を開始するにあたり、FTPのデータ転送用TCPコネクションを管理コンピュータ1側からアクティブモードにて確立する。そして、ファイル転送を開始した端末装置3にかかる送信準備フラグをオフ、送信中フラグをオンに切り替える(S69)。なお、グループ情報の送信をプログラムファイルの転送とともにFTPで行なうようにしてもよい。なお、S60において送信中フラグがオンであることを確認したら、プログラムファイルを親ノードの端末装置3に転送済みかどうか判断する(S61)。プログラムファイル転送済みであると判断した場合には、送信中フラグをオフする(S62)。   Next, it is determined whether or not the terminal devices 3 whose transmission preparation flag is turned on are grouped (S65). If grouping has been completed, the rewrite flag of the other terminal device 3 included in the group information is turned off (S66). Then, transfer of the program file is started to the terminal device 3 of the parent node whose transmission preparation flag is turned on (S67). In starting file transfer, an FTP data transfer TCP connection is established in the active mode from the management computer 1 side. Then, the transmission preparation flag for the terminal device 3 that has started the file transfer is turned off and the transmission flag is turned on (S69). The group information may be transmitted by FTP together with the program file transfer. If it is confirmed in S60 that the transmission flag is on, it is determined whether the program file has been transferred to the terminal device 3 of the parent node (S61). If it is determined that the program file has been transferred, the transmission flag is turned off (S62).

次に、端末装置3側の処理について説明する。
図9は、管理コンピュータ1が実行する処理に応じて端末装置3が実行する処理のゼネラルフローチャートである。端末装置3は、図14に示す内容のバージョンアッププログラム74dの各ジョブを、図9のフローチャート中の各処理として実行する。以下、各処理を詳細に説明する。
Next, processing on the terminal device 3 side will be described.
FIG. 9 is a general flowchart of processing executed by the terminal device 3 in accordance with processing executed by the management computer 1. The terminal device 3 executes each job of the upgrade program 74d having the contents shown in FIG. 14 as each process in the flowchart of FIG. Hereinafter, each process will be described in detail.

図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 terminal device 3 determines whether or not the received version information matches its own version (T11, T12). That is, the management computer 1 checks whether the version of the program described in the file to be transferred to the terminal device 3 matches the version of the program that the terminal device 3 itself has at that time. Only when the versions do not match, a signal to request file transfer is transmitted to the management computer 1 (T13). If the versions match, the terminal device 3 does not send any response to the management computer 1. However, the signal (response data) transmitted from the terminal device 3 that has received the version information to the management computer 1 may indicate that the file is unnecessary because the versions match.

図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 terminal device 3 determines whether group information has been received. If it is determined that group information has been received, the group flag is switched on (T22). In T23, it is determined whether a file is received. When the file is received, the reception flag is switched on (T24). When the group information is not transmitted to the terminal device 3 that is not grouped, the group information is received when the program file is received or when the group information is not received within a predetermined time after the reception. It can be set as the structure which judges that there is no.

図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 terminal device 3 as a parent node has transferred a file to another terminal device 3 belonging to the same group, and is managed using the RAM 73 (FIG. 2). . If the file transfer process end flag is off, it is necessary to transfer the file to the other terminal devices 3 in the group. Therefore, the process proceeds to T32 and the terminal device 3 determines whether the group flag is on. To do. As described with reference to FIG. 11, the group flag is a flag that is turned on on condition that group information is acquired. If the group flag is on, it is determined whether or not the reception flag is on (T33). As described with reference to FIG. 11, the reception flag is a flag for determining whether or not the program file has been acquired from the management computer 1 (whether or not it has been downloaded). If the program file has been acquired, the process proceeds to T34 to check whether the ID of another terminal device 3 is included in the group information. As a result, the terminal device 3 (see FIG. 15) which is a child node to which file transfer is to be performed is specified. Then, FTP connection is made to the terminal device 3 which is the identified child node, and the file is transferred (T35). When the file transfer is started, the file transfer process end flag is switched on (T36).

図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 terminal device 3. If the file is not being transferred, the program stored in the ROM 74 is rewritten based on the program file obtained from the management computer 1 (T43). The rewriting of the program may be a form in which a part of the program related to a specific job is corrected, or may be a form in which the entire program related to the job is replaced with a new version of the program. When the process of rewriting the program ends, the reception flag, group flag, and file transfer process end flag are turned off (T44, T45, T46). The terminal device 3 which is a parent node executes this program rewriting process after retransferring the program file to another terminal device 3 (child node) belonging to the same group. Thereby, the time required for program rewriting and restart can be thinned out from the time required for file transfer.

以上に説明した方法では、親ノードに指定された端末装置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 terminal device 3 designated as the parent node is configured to transfer the file received from the management computer 1 to all other terminal devices 3 belonging to the same group. However, if the terminal device 3 has the following configuration, it is not necessary to transfer the file acquired from the management computer 1 to all the other terminal devices 3 in the same group. Specifically, as shown in FIG. 17, when the terminal device 3 is designated as a parent node by the management computer 1, the terminal device 3 further distributes other terminal devices 3 belonging to the same group into a plurality of groups. A plurality of second groups to which 3 belongs are set, and one terminal device 3 in each second group is designated as a child node, and a terminal device 3 other than the child node is designated as a grandchild node (second grouping means). The child node corresponds to the second generation parent node. Then, the terminal device 3 corresponding to the first generation parent node specifies the notification that it is designated as a child node (second generation parent node) and specifies another terminal device 3 (grandchild node) belonging to the same second group. The second group information including the ID to be transmitted is transferred to the terminal device 3 designated as the child node together with the file acquired from the management computer 1. In this way, the configuration in which the terminal device 3 is divided into three generations of a parent node, a child node, and a grandchild node and grouped in each layer is particularly suitable for a hall management system for large stores. The second generation grouping may be performed by the management computer 1. In this case, the management computer 1 collectively designates a parent node, a child node, and a grandchild node. Further, there may be a plurality of parent nodes and a plurality of child nodes in the same group.

なお、本実施形態では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 terminal device 3 in the present embodiment, the number is not limited to the same number. For example, when the maximum number of simultaneous FTP sessions of the management computer 1 is 10 and the maximum number of simultaneous FTP sessions of the terminal device 3 is 5, up to 10 groups belong to one layer, The grouping process may be performed so that a maximum of six terminal devices 3 (one parent node and five child nodes) belong.

また、一つのグループに所属する端末装置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 terminal devices 3 belonging to one group is changed as appropriate. That is, the terminal device 3 that has responded to request a file is listed, and the number of the terminal devices 3 listed in the list is counted, and the counted number is set to a predetermined number N (for example, the management computer 1). The number of terminal devices 3 belonging to one group is determined by dividing by the maximum number of simultaneous FTP sessions). Based on the determination, the terminal devices 3 are grouped. For example, when there is a request for file transfer from 60 terminal devices 3, a value (= 3) obtained by dividing the 60 by a predetermined number N (for example, N = 20) belongs to one group. The number is 3. According to such a method, the burden on the terminal device 3 designated as the parent node of the group can be reduced. Therefore, the terminal device 3 does not have to be as sophisticated as the management computer 1.

以上、本実施形態では、玉貸出機能を持った端末装置3を例示したが、玉貸出機能を持たない端末装置であってもよい。つまり、先に例示した機能の全てを端末装置3が持つ必要はない。具体的には、図18に示すごとく、遊技台4ごとに設けられるデータ表示機能付きの呼出ランプ7の二台に対して一つのプログラム基板6(入出力コントローラともいう)が設けられ、その一つのプログラム基板6で二台の呼出ランプ7,7を制御する構成のホール管理システム200は、他の一つの好適な実施形態である。もちろん、端末装置は、玉貸出機能だけを持った端末(台毎の貯玉再プレイ装置等プログラムを変更する可能性のある端末)であってもよい。   As described above, in the present embodiment, the terminal device 3 having the ball lending function is illustrated, but a terminal device having no ball lending function may be used. That is, it is not necessary for the terminal device 3 to have all the functions exemplified above. Specifically, as shown in FIG. 18, one program board 6 (also referred to as an input / output controller) is provided for two of the calling lamps 7 with data display function provided for each gaming machine 4, and one of them is provided. The hall management system 200 configured to control the two calling lamps 7 and 7 with one program board 6 is another preferred embodiment. Of course, the terminal device may be a terminal having only a ball lending function (a terminal that may change a program such as a storage ball replay device for each unit).

また、管理コンピュータ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 hall management system 300 is the same as that of the hall management system 100 shown in FIG. The difference is that the input / output controller 8 includes a memory card reader 8a. That is, the program file recorded in the memory cartridge 9 is taken into the input / output controller 8 from the memory card reader 8a, and applied to the other input / output controller 8 by the grouping means provided in the input / output controller 8 that has taken in the program file. Grouping is performed, and file transfer is performed by the file transfer means provided in the input / output controller 8 that has fetched the program file. The version check described with reference to FIG. 4 may or may not be performed.

また、図19のホール管理システム300の変形例として、管理コンピュータ1と入出力コントローラ8との間に島コンピュータを配置する構成を示すことができる。すなわち、その島コンピュータがグループ化処理(グループ分けとグループ情報の送信)を行なう一方、子ノードへのプログラムファイルの転送は親ノードに指定された入出力コントローラ8(端末装置)が行なうという構成を採用できる。このように、プログラムファイルの最初の転送元は管理コンピュータ1に限定されないし、グループ化処理の主体(装置)も管理コンピュータ1に限定されない。また、プログラムファイルを転送する装置と、グループ化処理(グループ情報の送信含む)を行なう装置とが別体であってもよい。   Further, as a modified example of the hall management system 300 of FIG. 19, a configuration in which an island computer is arranged between the management computer 1 and the input / output controller 8 can be shown. That is, the island computer performs grouping processing (grouping and transmission of group information), while the program file transfer to the child node is performed by the input / output controller 8 (terminal device) designated as the parent node. Can be adopted. Thus, the initial transfer source of the program file is not limited to the management computer 1, and the subject (device) of the grouping process is not limited to the management computer 1. In addition, the apparatus that transfers the program file and the apparatus that performs the grouping process (including transmission of group information) may be separate.

また、本明細書では遊技店のホール管理システムを具体例として説明してきたが、他の一般的なネットワークにも発明の思想を取り入れることが可能であることを断っておく。   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.

ホール管理システムの全体概略図。Overall schematic of the hall management system. 図1のホール管理システムの構成を示すブロック図。The block diagram which shows the structure of the hall | hole management system of FIG. 端末装置のプログラム改訂時に管理コンピュータが実行する処理のゼネラルフローチャート。The general flowchart of the process which a management computer performs at the time of the program revision of a terminal device. 図3中のバージョンチェック処理のフローチャート。The flowchart of the version check process in FIG. 図3中のタイマ処理のフローチャート。The flowchart of the timer process in FIG. 図3中の一括操作処理のフローチャート。The flowchart of the batch operation process in FIG. 図3中のグループ化処理のフローチャート。The flowchart of the grouping process in FIG. 図3中のファイル転送処理のフローチャート。The flowchart of the file transfer process in FIG. 端末装置がプログラム改訂時に実行する処理のゼネラルフローチャート。The general flowchart of the process which a terminal device performs at the time of program revision. 図9中のバージョンチェック処理のフローチャート。The flowchart of the version check process in FIG. 図9中のファイル受信処理のフローチャート。The flowchart of the file reception process in FIG. 図9中のファイル転送処理のフローチャート。The flowchart of the file transfer process in FIG. 図9中のプログラム書換処理のフローチャート。The flowchart of the program rewriting process in FIG. 管理コンピュータと端末装置のバージョンアッププログラムの詳細を記述した概念図。The conceptual diagram which described the detail of the version upgrade program of a management computer and a terminal device. 本発明のホール管理システムが採用するファイル転送方法の説明図。Explanatory drawing of the file transfer method which the hole management system of this invention employ | adopts. グループ化処理を視覚的に説明するための概念図。The conceptual diagram for demonstrating a grouping process visually. ホール管理システムで採用できるファイル転送方法の変形例の説明図。Explanatory drawing of the modification of the file transfer method employable with a hole management system. ホール管理システムの他の実施形態を示す概略図。Schematic which shows other embodiment of a hall | hole management system. 同じく、ホール管理システムの他の実施形態を示す概略図。Similarly, the schematic which shows other embodiment of a hall | hole management system.

符号の説明Explanation of symbols

1 管理コンピュータ
3 端末装置
6,8 入出力コントローラ(端末装置)
71 CPU(グループ内ファイル転送手段、端末側バージョンチェック手段、プログラム書換手段)
101 CPU(グループ化手段、ファイル転送手段、バージョンチェック手段、タイマ手段)
100,200,300 ホール管理システム
1 Management computer 3 Terminal devices 6 and 8 Input / output controller (terminal device)
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通信によってファイル転送を行ない、
前記グループ化手段が行うグループ設定における設定数は、グループ内の親ノードの数と、前記グループ内ファイル転送手段の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.
JP2005001241A 2005-01-06 2005-01-06 Hall management system Expired - Fee Related JP3850859B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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