JP6088621B2 - Game equipment - Google Patents

Game equipment Download PDF

Info

Publication number
JP6088621B2
JP6088621B2 JP2015206261A JP2015206261A JP6088621B2 JP 6088621 B2 JP6088621 B2 JP 6088621B2 JP 2015206261 A JP2015206261 A JP 2015206261A JP 2015206261 A JP2015206261 A JP 2015206261A JP 6088621 B2 JP6088621 B2 JP 6088621B2
Authority
JP
Japan
Prior art keywords
control unit
counting
unit
count
payout
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.)
Active
Application number
JP2015206261A
Other languages
Japanese (ja)
Other versions
JP2016025988A (en
JP2016025988A5 (en
Inventor
小倉 敏男
敏男 小倉
仁 池上
仁 池上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sankyo Co Ltd
Original Assignee
Sankyo Co Ltd
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 Sankyo Co Ltd filed Critical Sankyo Co Ltd
Priority to JP2015206261A priority Critical patent/JP6088621B2/en
Publication of JP2016025988A publication Critical patent/JP2016025988A/en
Publication of JP2016025988A5 publication Critical patent/JP2016025988A5/ja
Application granted granted Critical
Publication of JP6088621B2 publication Critical patent/JP6088621B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、遊技に係る価値情報に関する処理を行う第1処理部と第2処理部とを備え、該第1処理部から第2処理部に対して前記価値情報に関するコマンドデータの送信を行う遊技用装置に関する。   The present invention includes a first processing unit and a second processing unit that perform processing related to value information relating to a game, and a game that transmits command data related to the value information from the first processing unit to a second processing unit. It relates to a device.

従来より、特許文献1に示すように、遊技者の操作を受けて内部抽選及び入賞判定を行うとともに、入賞に応じて遊技媒体の払い出し制御を行うメイン基板と、メイン基板からコマンドを受けて内部抽選の結果を報知したり各種演出を行うサブ基板とを備える遊技機において、メイン基板からサブ基板へのコマンド送信を暗号化し、不正行為を防止するために、例えば電源投入等の所定契機で暗号のキーを生成するとともに当該キーを出力するキー生成部と、メイン基板からコマンドを受け、前記生成された暗号のキーに基づき当該コマンドを暗号化して出力するコマンド暗号処理部とを含む暗号部と、前記キー生成部から受けた暗号のキーを保管するキー管理部と、前記コマンド暗号処理部から暗号化されたコマンドを受け、保管された暗号のキーに基づき当該暗号化されたコマンドを復号し、サブ基板へ送るコマンド復号処理部とを含む復号部と、を備えるものが知られている。   Conventionally, as shown in Patent Document 1, an internal lottery and a winning determination are performed in response to a player's operation, and a game board payout control is performed according to the winning, and a command is received from the main board to receive an internal command. In gaming machines equipped with sub-boards that notify lottery results and perform various effects, the command transmission from the main board to the sub-board is encrypted, and in order to prevent fraud, encryption is performed at a predetermined opportunity such as power-on. A key generation unit that generates the key and outputs the key, and a command encryption processing unit that receives a command from the main board and encrypts and outputs the command based on the generated encryption key; A key management unit for storing an encryption key received from the key generation unit, and an encrypted command received from the command encryption processing unit. The basis of the key to decrypt the encrypted command, which and a decoding section including a command decoding unit for sending to the sub substrate is known.

特開2005−021660号公報JP 2005-021660 A

しかしながら、上記の特許文献1に記載された発明は、所定契機で暗号キーの生成及び保管が行われると、その後の所定契機までは当該暗号キーに基づく暗号化及び復号化が行われるため、当該暗号キーが盗まれると暗号が破られてしまう、セキュリティの低いものであった。   However, in the invention described in Patent Document 1, when the generation and storage of the encryption key is performed at a predetermined opportunity, the encryption and decryption based on the encryption key is performed until the predetermined opportunity thereafter. If the encryption key was stolen, the encryption was broken, and the security was low.

本発明は、このような背景のもとになされたものであり、その目的は、遊技に係る価値情報に関する処理を行う第1処理部と第2処理部とを備え、該第1処理部から第2処理部に対して前記価値情報に関するコマンドデータの送信を行う遊技用装置において、セキュリティの高い通信を実現することにある。   The present invention has been made based on such a background, and an object of the present invention is to include a first processing unit and a second processing unit that perform processing related to value information relating to a game, from the first processing unit. A gaming device that transmits command data related to the value information to the second processing unit is to realize highly secure communication.

本発明は、前記課題を解決するために、次のような手段を採る。なお後述する発明を実施するための最良の形態の説明及び図面で使用した符号を参考のために括弧書きで付記するが、本発明の構成要素は該付記したものには限定されない。   The present invention adopts the following means in order to solve the above problems. The reference numerals used in the description of the best mode for carrying out the invention and the drawings to be described later are appended in parentheses for reference, but the constituent elements of the present invention are not limited to the appended description.

まず手段1に係る発明は、
遊技に係る価値情報(計数値)に関する処理を行う第1処理部(玉貸発券制御部22)と第2処理部(計数制御部31)とを備え、該第1処理部から第2処理部に対して前記価値情報に関するコマンドデータの送信を行う遊技用装置(各台計数ユニット50)であって、
記第1処理部は、識別情報により個々に識別され、
遊技媒体の計数に基づく遊技価値を遊技に使用可能とするための使用可能化処理の実行を要求する使用可能化要求を前記コマンドデータとして送信可能であり、
所定の暗号キーを記憶する第1記憶手段(EEPROM)と、
前記コマンドデータを前記第2処理部に対して送信するにあたり、該送信するコマンドデータを、前記第1記憶手段で記憶している暗号キーに基づいて暗号化する暗号化処理(S2200〜S2203,S2200’)を行う第1暗復号化手段(CPU)と、を有し、
前記第2処理部は、
前記使用可能化要求の受信に基づいて前記使用可能化処理を実行し、
前記第1記憶手段で記憶している暗号キーに対応する暗号キーを記憶する第2記憶手段(EEPROM)と、
前記第1処理部から受信したコマンドデータを、前記第2記憶手段で記憶している暗号キーに基づいて復号化する復号化処理(2220〜S2223,S2220’)を行う第2暗復号化手段(CPU)と、を有し、
前記第1記憶手段及び前記第2記憶手段は、記第1処理部から前記第2処理部に対して送信されたコマンドデータに基づく暗号キーを、たな暗号キーとして記憶(S2260及びS2270,S2231’及びS2232’)
前記第1処理部及び前記第2処理部の少なくとも一方が着脱可能なものであり、
前記第1処理部は、前記使用可能化要求の送信に伴って第1処理情報を更新する第1処理情報更新手段をさらに有し、
前記第2処理部は、
通信対象となった前記第1処理部の識別情報を記憶する識別情報記憶手段と、前記使用可能化要求の受信に基づいて第2処理情報を更新する第2処理情報更新手段と、をさらに有し、
前記第1処理部との通信が成立したときに、前記識別情報記憶手段に記憶している識別情報と、前記第2処理情報と、を前記第1処理部に対して送信することを特徴とする遊技用装置である。
First, the invention according to means 1
A first processing unit (ball lending ticket control unit 22) and a second processing unit (counting control unit 31) that perform processing relating to value information (count value) relating to the game are provided, from the first processing unit to the second processing unit. A gaming device (each unit counting unit 50) for transmitting command data related to the value information,
The first processing unit before SL are individually identified by the identification information,
An enabling request for requesting execution of an enabling process for enabling a game value based on a count of game media to be used in the game can be transmitted as the command data;
First storage means (EEPROM) for storing a predetermined encryption key;
When transmitting the command data to the second processing unit, an encryption process for encrypting the command data to be transmitted based on the encryption key stored in the first storage means (S2200 to S2203, S2200). First encryption / decryption means (CPU) for performing '),
The second processing unit includes:
Performing the enabling process based on receiving the enabling request;
Second storage means (EEPROM) for storing an encryption key corresponding to the encryption key stored in the first storage means;
Second encryption / decryption means (2220 to S2223, S2220 ′) for decrypting the command data received from the first processing unit based on the encryption key stored in the second storage means CPU), and
It said first memory means and said second storage means, before Symbol encryption key based on the transmitted command data to the second processing unit from the first processing unit is stored as a new shelf encryption key (S2260 and S2270, S2231 ′ and S2232 ′) ,
At least one of the first processing unit and the second processing unit is detachable,
The first processing unit further includes first processing information update means for updating first processing information in accordance with transmission of the enabling request,
The second processing unit includes:
An identification information storage unit that stores identification information of the first processing unit that is a communication target; and a second processing information update unit that updates the second processing information based on the reception of the enabling request. And
When communication with the first processing unit is established, the identification information stored in the identification information storage unit and the second processing information are transmitted to the first processing unit. This is a gaming device.

また手段2に係る発明は、
手段1に記載した遊技用装置(各台計数ユニット50)であって、
前記第2暗復号化手段(計数制御部31のCPU)は、前記コマンドデータに対するレスポンスデータを前記第1処理部に対して返信するにあたり、該返信するレスポンスデータを、前記第2記憶手段で記憶している暗号キーに則って暗号化する暗号化処理(S2225〜S2228,S2225’)を行い、
前記第1暗復号化手段(玉貸発券制御部22のCPU)は、前記第2処理部から受信したレスポンスデータを、前記第1記憶手段で記憶している暗号キーに則って復号化する復号化処理(S2240〜S2243,S2240’)を行うことを特徴とする遊技用装置である。
The invention according to means 2
A gaming device (each unit counting unit 50) described in the means 1,
When the second encryption / decryption means (CPU of the counting control unit 31) returns response data for the command data to the first processing unit, the response data to be returned is stored in the second storage unit. Encryption processing (S2225 to S2228, S2225 ′) is performed in accordance with the encryption key being used,
The first encryption / decryption means (the CPU of the ball rental ticket control unit 22) decrypts the response data received from the second processing unit in accordance with the encryption key stored in the first storage means. The gaming apparatus is characterized by performing the process (S2240 to S2243, S2240 ′).

また手段3に係る発明は、
前記第1記憶手段(玉貸発券制御部22のEEPROM)及び前記第2記憶手段(計数制御部31のEEPROM)は、前記第1処理部から前記第2処理部に対するコマンドデータの送信(S2210)及び該第2処理部から第1処理部に対するレスポンスデータの返信(S2230)が完了したことに応じて、前記書換処理(S2260及びS2270,S2231’及びS2232’)を行うことを特徴とする遊技用装置である。
The invention according to means 3 is
The first storage means (EEPROM of the ball lending ticket control unit 22) and the second storage means (EEPROM of the counting control unit 31) transmit command data from the first processing unit to the second processing unit (S2210). And the rewriting process (S2260 and S2270, S2231 ′ and S2232 ′) is performed in response to the completion of the response data response (S2230) from the second processing unit to the first processing unit. Device.

また手段4に係る発明は、
手段1〜3のいずれか1つに記載した遊技用装置であって、
前記第1記憶手段(玉貸発券制御部22のEEPROM)及び前記第2記憶手段(計数制御部31のEEPROM)は、各々対になる認証データ(認証データ1〜8)を複数記憶し、
前記第1処理部(玉貸発券制御部22)と前記第2処理部(計数制御部31)との通信が成立したことに基づいて、
前記第1処理部は、前記第1記憶手段で記憶している認証データを、前記第2処理部に対して不規則に送信し(S2001等)、
前記第2処理部は、前記第1処理部から認証データを受信したことに応じて、前記第2記憶手段で記憶している複数の認証データのうち、該受信した認証データと対になる認証データを、前記第1処理部に対して返信し(S2003等)、
前記第1処理部は、前記送信した認証データと対になる認証データを前記第2処理部から受信したこと(S2074でYES)を条件に正常と認証する認証処理(S2080,S2080’)を行うことを特徴とする遊技用装置である。
The invention according to means 4 is
A gaming device described in any one of means 1 to 3,
The first storage means (EEPROM of the ball lending ticket control unit 22) and the second storage means (EEPROM of the count control unit 31) each store a plurality of pairs of authentication data (authentication data 1 to 8),
Based on the establishment of communication between the first processing unit (ball lending ticket control unit 22) and the second processing unit (counting control unit 31),
The first processing unit irregularly transmits the authentication data stored in the first storage unit to the second processing unit (S2001, etc.)
In response to receiving the authentication data from the first processing unit, the second processing unit is paired with the received authentication data among the plurality of authentication data stored in the second storage unit. Data is returned to the first processing unit (S2003, etc.)
The first processing unit performs an authentication process (S2080, S2080 ′) for authenticating as normal on the condition that the authentication data paired with the transmitted authentication data is received from the second processing unit (YES in S2074). This is a gaming apparatus characterized by the above.

また手段5に係る発明は、
手段4に記載した遊技用装置(各台計数ユニット50)は、
遊技機(パチンコ機10)に対応して設けられ、
遊技媒体(パチンコ玉)を受け入れて計数する計数手段(玉カウンタ35)を有する前記第2処理部(計数部30の計数制御部31)と、
前記対応する遊技機と通信することにより、遊技者が所有する遊技用価値の大きさ(プリペイド残額)に相当する遊技媒体を該遊技機から払い出して貸与するための貸与処理(S21aの玉貸処理)を行う貸与処理手段(CPU)を有し、制御部識別情報(発券部ID)により個々に識別される前記第1処理部(玉貸発券処理部20の玉貸発券制御部22)と、を備え、
該第1処理部及び第2処理部の少なくとも一方が着脱可能なものであり、
前記第2処理部は、
現在装着されている前記第1処理部の識別情報を記憶する識別情報記憶手段(記憶テーブル)と、
前記計数手段による計数の発生に基づいて、自らが記憶している第1計数処理情報(計数通番)を更新して記憶する第1計数処理情報記憶手段(S112の処理を行う計数制御部31及び記憶テーブル)と、
前記第1計数処理情報記憶手段により記憶している第1計数処理情報に対応付けて、前記計数手段による計数遊技媒体数を記憶する第1計数値記憶手段(S111の処理を行う計数制御部31及び記憶テーブル)と、をさらに有し、
前記計数遊技媒体数(計数値)を特定可能な計数情報(S114の動作指示応答B,S119の動作指示応答C)を前記第1処理部に対して送信するにあたり、該送信する計数情報を、前記第2記憶手段で記憶している暗号キーに則って暗号化する暗号化処理を行い、
前記計数手段による計数の終了に基づいて、計数終了通知(S123の動作指示応答D)を前記第1処理部に対して送信し、
前記第1処理部は、
前記第2処理部から受信した計数情報を、前記第1記憶手段で記憶している暗号キーに則って復号化する復号化処理を行い、
前記計数終了通知の受信に基づいて、自らが記憶している第2計数処理情報(計数通番)を更新して記憶する第2計数処理情報記憶手段(S124の処理を行う玉貸発券制御部22及び記憶テーブル)と、
前記第2計数処理情報記憶手段により記憶している第2計数処理情報に対応付けて、前記計数情報から特定される計数遊技媒体数を記憶する第2計数値記憶手段(S115,S120の処理を行う玉貸発券制御部22及び記憶テーブル)と、
前記第2計数値記憶手段により記憶している計数遊技媒体数を景品交換又は他の遊技機での遊技に使用させるために確定させるための確定処理(S26bの管理玉数更新処理)を行う確定処理手段(玉貸発券制御部22)と、をさらに有し、
前記第1処理部と前記第2処理部との通信が成立したことに基づいて、前記認証処理を行った後に、
前記第2処理部は、前記識別情報記憶手段により記憶している識別情報と、前記第1計数処理情報記憶手段により記憶している第1計数処理情報と、前記第1計数値記憶手段により記憶している計数遊技媒体数とを含む接続情報(S1002の接続機器確認応答)を前記第1処理部に対して送信し、
前記第1処理部は、前記接続情報の受信に基づき、該接続情報に含まれる識別情報と自己の識別情報とが一致しないこと(S1010でNO)、又は、該接続情報に含まれる識別情報と自己の識別情報とが一致する(S1010でYES)と共に該接続情報に含まれる第1計数処理情報と前記第2計数処理情報記憶手段により記憶している第2計数処理情報とが一致しないこと(S1011でNO)を条件として、前記接続情報に含まれる計数遊技媒体数を前記第2計数値記憶手段により記憶する(S1031)ことを特徴とする遊技用装置である。
The invention according to means 5 is
The gaming device described in the means 4 (counter counting unit 50)
Provided corresponding to the gaming machine (pachinko machine 10),
The second processing unit (counting control unit 31 of the counting unit 30) having counting means (ball counter 35) for receiving and counting game media (pachinko balls);
Lending process for paying out and lending a gaming medium corresponding to the value of the gaming value owned by the player (prepaid balance) by lending with the corresponding gaming machine (the ball lending process in S21a) The first processing unit (the ball lending ticket control unit 22 of the ball lending ticket processing unit 20) that is individually identified by the control unit identification information (ticketing unit ID); With
At least one of the first processing unit and the second processing unit is detachable,
The second processing unit includes:
Identification information storage means (storage table) for storing identification information of the first processing unit currently mounted;
Based on the occurrence of counting by the counting means, the first counting processing information storage means (the counting control unit 31 for performing the processing of S112 and the first counting processing information storage section that updates and stores the first counting processing information (counting serial number) stored by itself. Storage table)
Corresponding to the first count processing information stored in the first count processing information storage means, first count value storage means for storing the number of game media counted by the counting means (count control unit 31 for performing the processing of S111) And a storage table),
When transmitting the count information (the operation instruction response B of S114 and the operation instruction response C of S119) that can specify the number of count game media (count value) to the first processing unit, the count information to be transmitted is Performing an encryption process for encryption in accordance with the encryption key stored in the second storage means;
Based on the end of counting by the counting means, a count end notification (operation instruction response D in S123) is transmitted to the first processing unit,
The first processing unit includes:
Performing a decryption process for decrypting the count information received from the second processing unit in accordance with an encryption key stored in the first storage unit;
Based on the reception of the count end notification, the second count processing information storage means for updating and storing the second count processing information (counting serial number) stored therein (the ball lending ticket control section 22 for performing the processing of S124). And storage table),
Corresponding to the second count processing information stored in the second count processing information storage means, second count value storage means for storing the number of counting game media specified from the count information (the processing of S115 and S120). A ball rental ticket control unit 22 and a storage table to perform),
Confirmation for confirming the number of counted game media stored in the second count value storage means for use in prize exchange or other gaming machines (management ball number updating process in S26b) Processing means (ball lending ticket control unit 22),
After performing the authentication process based on the establishment of communication between the first processing unit and the second processing unit,
The second processing unit stores the identification information stored in the identification information storage unit, the first count processing information stored in the first count processing information storage unit, and the first count value storage unit. Transmitting connection information including the number of counted game media (connected device confirmation response in S1002) to the first processing unit,
Based on the reception of the connection information, the first processing unit determines that the identification information included in the connection information does not match its own identification information (NO in S1010), or the identification information included in the connection information The self-identification information matches (YES in S1010), and the first count processing information included in the connection information does not match the second count processing information stored in the second count processing information storage means ( On the condition of NO in S1011), the game device is characterized in that the number of counted game media included in the connection information is stored in the second count value storage means (S1031).

また手段6に係る発明は、
手段4又は5に記載した遊技用装置(各台計数ユニット50)は、
遊技機(パチンコ機10)に対応して設けられ、
遊技媒体(パチンコ玉)を受け入れて計数する計数手段(玉カウンタ35)を有する計数部(30)と、
前記計数手段による計数遊技媒体数(計数値)を記憶する計数値記憶手段(記憶テーブル)と、該計数値記憶手段により記憶している計数遊技媒体数の範囲内で遊技媒体を払い出すための払出処理の実行を要求する払出要求(S802の動作指示G)を送信する払出要求送信手段(玉貸発券制御部22)と、前記計数値記憶手段により記憶している計数遊技媒体数を景品交換又は他の遊技機での遊技に使用させるために確定させるための確定処理(S26bの管理玉数更新処理)を行う確定処理手段(玉貸発券制御部22)と、を有し、識別情報(発券部ID)により個々に識別される前記第1処理部(玉貸発券処理部20の玉貸発券制御部22)と、
前記払出要求の受信に基づいて、前記払出処理を行う払出処理手段(計数制御部31)を有する前記第2処理部(計数部30の計数制御部31)と、を備え、
該第2処理部及び第1処理部の少なくとも一方が着脱可能なものであり、
前記第1処理部は、
前記払出要求を前記第2処理部に対して送信するにあたり、該送信する払出要求を、前記第1記憶手段で記憶している暗号キーに則って暗号化する暗号化処理を行い、
該払出要求の送信に伴って、自らが記憶している第1払出処理情報(払出通番)を更新して記憶する第1払出情報記憶手段(S801の処理を行う玉貸発券制御部22及び記憶テーブル)をさらに有し、
前記第2処理部は、
前記第1処理部から受信した払出要求を、前記第2記憶手段で記憶している暗号キーに則って復号化する復号化処理を行い、
現在装着されている前記第1処理部の識別情報を記憶する識別情報記憶手段(記憶テーブル)と、
前記払出要求の受信に基づいて、自らが記憶している第2払出処理情報(払出通番)を更新して記憶する第2払出処理情報記憶手段(S803の処理を行う計数制御部31及び記憶テーブル)と、をさらに有し、
前記第1処理部と前記第2処理部との通信が成立したことに基づいて、前記認証処理を行った後に、
前記第2処理部は、前記識別情報記憶手段により記憶している識別情報と、前記第2払出処理情報記憶手段により記憶している第2払出処理情報とを含む払出接続情報(S1002の接続機器確認応答)を前記第1処理部に対して送信し、
前記第1処理部は、前記払出接続情報の受信に基づき、該払出接続情報に含まれる識別情報と自己の識別情報とが一致しないこと(S1010でNO)、又は、該払出接続情報に含まれる識別情報と自己の識別情報とが一致すると共に該払出接続情報に含まれる第2払出処理情報と前記第1払出処理情報記憶手段により記憶している第1払出処理情報とが一致すること(S1012でYES)を条件として、前記払出処理の実行を要求する払出リカバリ要求(S1041の起動指示B)を前記第2処理部に対して送信することを特徴とする遊技用装置である。
The invention according to means 6 is
The gaming device (each unit counting unit 50) described in the means 4 or 5
Provided corresponding to the gaming machine (pachinko machine 10),
A counting unit (30) having counting means (ball counter 35) for receiving and counting game media (pachinko balls);
Count value storage means (storage table) for storing the number of count game media (count value) by the count means, and for paying out game media within the range of the count game media number stored by the count value storage means A payout request transmitting means (ball lending ticket control unit 22) for transmitting a payout request (operation instruction G in S802) for requesting execution of a payout process, and the number of game media stored in the count value storage means are exchanged for prizes. Or a confirmation processing means (ball lending ticket control unit 22) for performing a confirmation process (a management ball number update process in S26b) for making it final for use in a game on another gaming machine, and identification information ( The first processing unit (the ball lending ticket control unit 22 of the ball lending ticket processing unit 20) individually identified by the ticket issuing unit ID),
The second processing unit (counting control unit 31 of the counting unit 30) having a payout processing means (counting control unit 31) for performing the payout processing based on reception of the payout request;
At least one of the second processing unit and the first processing unit is detachable,
The first processing unit includes:
In transmitting the payout request to the second processing unit, an encryption process is performed to encrypt the payout request to be transmitted in accordance with an encryption key stored in the first storage unit,
Along with the transmission of the payout request, the first payout information storage means (the ball lending ticket control unit 22 for performing the processing of S801 and the storage) that updates and stores the first payout processing information (payout serial number) stored by itself. Table),
The second processing unit includes:
Performing a decryption process for decrypting the payout request received from the first processing unit in accordance with the encryption key stored in the second storage means;
Identification information storage means (storage table) for storing identification information of the first processing unit currently mounted;
Based on the receipt of the payout request, the second payout processing information storage means (the count control unit 31 and the storage table for performing the processing of S803) that updates and stores the second payout processing information (payout serial number) stored by itself. And
After performing the authentication process based on the establishment of communication between the first processing unit and the second processing unit,
The second processing unit includes payout connection information including the identification information stored in the identification information storage means and the second payout process information stored in the second payout process information storage means (connected device in S1002). Confirmation response) to the first processing unit,
Based on the receipt of the payout connection information, the first processing unit does not match the identification information included in the payout connection information with its own identification information (NO in S1010), or is included in the payout connection information The identification information and the self-identification information match, and the second payout process information included in the payout connection information matches the first payout process information stored in the first payout process information storage means (S1012). The game apparatus is characterized in that a payout recovery request (start instruction B in S1041) for requesting execution of the payout process is transmitted to the second processing unit on the condition of YES.

まず手段1に係る遊技用装置によれば、第1処理部から第2処理部に対して送信されたコマンドデータに基づく暗号キーを、新たな暗号キーとして記憶するので、通信のセキュリティを高めることができる。
The first According to the game device according to the unit 1, the encryption key from the first processing unit based on the command data sent to the second processing unit, Runode be stored as a new encryption key, increasing the level of communication security be able to.

また手段2に係る遊技用装置によれば、第2処理部から第1処理部に対して返信するレスポンスデータも暗号化されるので、通信のセキュリティを高めることができる。   Further, according to the gaming device according to the means 2, since the response data sent back from the second processing unit to the first processing unit is also encrypted, the security of communication can be enhanced.

また手段3に係る遊技用装置によれば、第1処理部から第2処理部に対するコマンドデータの送信及び第2処理部から第1処理部に対するレスポンスデータの返信が完了したことに応じて、当該コマンドデータに基づく新たな暗号キーに書き換えられるので、該暗号キーの書換が確実に行われる。   Further, according to the gaming device according to the means 3, in response to the completion of the transmission of command data from the first processing unit to the second processing unit and the return of response data from the second processing unit to the first processing unit, Since the encryption key is rewritten to a new encryption key based on the command data, the encryption key is securely rewritten.

また手段4に係る遊技用装置によれば、通信成立時に認証データが不規則に送信され、該認証データと対になる認証データを受信したことを条件に正常と認証するので、さらに通信のセキュリティを高めることができる。   Further, according to the gaming device according to the means 4, since the authentication data is irregularly transmitted when the communication is established and the authentication data that is paired with the authentication data is received as normal, it is authenticated as normal. Can be increased.

また手段5に係る遊技用装置によれば、第1処理部と第2処理部とが通信不能になっても、該通信が成立した後に、第2処理部が記憶している識別情報と第1処理部の識別情報とが一致しないこと、又は該識別情報は一致しても第2処理部が記憶している第1計数処理情報と第1処理部が記憶している第2計数処理情報とが一致しないことを条件として、第2処理部から送信された計数遊技媒体数が第1処理部において記憶され、該計数遊技媒体数が確定処理の対象となるので、遊技者が不利益を被ることがない。   Further, according to the gaming apparatus according to the means 5, even if the first processing unit and the second processing unit become incapable of communication, the identification information stored in the second processing unit and the first information are stored after the communication is established. The first processing information stored in the first processing unit and the first counting processing information stored in the second processing unit even if the identification information does not match, or the identification information matches. The number of counted game media transmitted from the second processing unit is stored in the first processing unit, and the number of counted game media is subject to a determination process. I do not suffer.

また手段6に係る遊技用装置によれば、第1処理部と第2処理部とが通信不能になっても、該通信が成立した後に、第2処理部が記憶している識別情報と第1処理部の識別情報とが一致しないこと、又は識別情報は一致しても第2処理部が記憶している第2払出処理情報と第1処理部が記憶している第1払出処理情報とが一致することを条件として、払出リカバリ要求が第1処理部から第2処理部に対して送信され、該第2処理部において払出処理が行われるので、遊技者が不利益を被ることがない。   Further, according to the gaming device according to the means 6, even if the first processing unit and the second processing unit become unable to communicate, the identification information stored in the second processing unit and the first information are stored after the communication is established. The identification information of one processing unit does not match, or even if the identification information matches, the second payout processing information stored in the second processing unit and the first payout processing information stored in the first processing unit Since the payout recovery request is transmitted from the first processing unit to the second processing unit and the payout process is performed in the second processing unit on the condition that the two match, the player is not disadvantaged. .

図1は本発明に係る遊技用装置である各台計数ユニットを含む遊技用システムの一例を表す機能ブロック図である。FIG. 1 is a functional block diagram showing an example of a gaming system including each unit counting unit which is a gaming apparatus according to the present invention. 図2は各台計数ユニットの一例を表す図であり、(a)は正面図,(b)は玉貸発券処理部の断面右側面図である。FIG. 2 is a diagram illustrating an example of each unit counting unit, in which (a) is a front view and (b) is a cross-sectional right side view of a ball lending ticket processing unit. 図3は玉貸発券制御部のEEPROMが記憶しているカードテーブルの一例を表す図である。FIG. 3 is a diagram illustrating an example of a card table stored in the EEPROM of the ball lending ticket control unit. 図4は各台計数ユニットのディスプレイに表示されるメイン画面の一例を表す図である。FIG. 4 is a diagram showing an example of a main screen displayed on the display of each unit counting unit. 図5は計数部の一例を表す図であり、(a)は正面図,(b)は外部ユニットの断面正面図,(c)は内部ユニットの断面左側面図である。5A and 5B are diagrams illustrating an example of the counting unit, in which FIG. 5A is a front view, FIG. 5B is a cross-sectional front view of the external unit, and FIG. 5C is a cross-sectional left side view of the internal unit. 図6は流入路及び玉カウンタの構造を示す平面図である。FIG. 6 is a plan view showing the structure of the inflow path and the ball counter. 図7は玉貸発券処理部の玉貸発券制御部が行う営業中処理の一例を表すフローチャートである。FIG. 7 is a flowchart showing an example of the business process performed by the ball lending ticket control unit of the ball lending ticket processing unit. 図8は玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う計数処理の一例を表すフローチャートである。FIG. 8 is a flowchart showing an example of the counting process performed by the ball lending ticket control unit of the ball lending ticket processing unit and the counting control unit of the counting unit. 図9は計数処理においてポーリングの中断を検知した場合の一例を表すフローチャートである。FIG. 9 is a flowchart showing an example of the case where polling interruption is detected in the counting process. 図10は計数制御部が行う異常判定処理における各エラーの種類を表す図である。FIG. 10 is a diagram illustrating the types of errors in the abnormality determination process performed by the counting control unit. 図11は計数制御部が異常判定した場合の一例を表すフローチャートである。FIG. 11 is a flowchart illustrating an example when the count control unit determines that an abnormality has occurred. 図12は計数異常3を説明する図である。FIG. 12 is a diagram for explaining the counting abnormality 3. 図13は玉貸発券制御部が行う計数値異常判定処理における各エラーを説明する図である。FIG. 13 is a diagram illustrating each error in the count value abnormality determination process performed by the ball lending ticket control unit. 図14は玉貸発券制御部が異常判定した場合の一例を表すフローチャートである。FIG. 14 is a flowchart showing an example of a case where the ball rental ticket control unit makes an abnormality determination. 図15は玉貸発券制御部が行う持玉払出処理の一例を表すフローチャートである。FIG. 15 is a flowchart showing an example of the ball payout process performed by the ball lending ticket control unit. 図16は玉貸発券制御部が行う単位払出処理の一例を表すフローチャートである。FIG. 16 is a flowchart showing an example of a unit payout process performed by the ball rental ticket control unit. 図17は玉貸発券制御部が行う単位未満払出処理の一例を表すフローチャートである。FIG. 17 is a flowchart showing an example of the less-unit payout process performed by the ball rental ticket control unit. 図18は玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う払出処理の一例を表すフローチャートである。FIG. 18 is a flowchart showing an example of a payout process performed by the ball lending ticket control unit of the ball lending ticket processing unit and the counting control unit of the counting unit. 図19は玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う電源投入時処理の一例を表すフローチャートである。FIG. 19 is a flowchart illustrating an example of a power-on process performed by the ball lending ticket control unit of the ball lending ticket processing unit and the counting control unit of the counting unit. 図20は計数確定中に電断と計数が発生した際に玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う処理の一例を表すフローチャートである。FIG. 20 is a flowchart showing an example of processing performed by the ball lending ticket control unit of the ball lending ticket processing unit and the count control unit of the counting unit when power interruption and counting occur during counting determination. 図21は計数確定中に電断と計数が発生した際に玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う処理の別例を表すフローチャートである。FIG. 21 is a flowchart showing another example of processing performed by the ball lending ticket control unit of the ball lending ticket processing unit and the count control unit of the counting unit when power interruption and counting occur during counting determination. 図22(a)は玉貸発券制御部及び計数制御部で記憶されている認証テーブルの一例を表す図であり、(b)は電源投入後に玉貸発券制御部と計数制御部との間で行われる起動時認証シーケンスの一例を表すフローチャートである。FIG. 22A is a diagram illustrating an example of an authentication table stored in the ball lending ticket control unit and the counting control unit, and FIG. 22B is a diagram between the ball lending ticket control unit and the counting control unit after the power is turned on. It is a flowchart showing an example of the authentication sequence at the time of starting. 図23は玉貸発券制御部と計数制御部との通信における暗号化・復合化を説明する図であり、(a)は暗号化テーブル、(b)は第1制御部暗号化論理、(c)は第2制御部暗号化論理を説明する図である。FIG. 23 is a diagram for explaining encryption / decryption in the communication between the ball lending ticket control unit and the counting control unit, where (a) is an encryption table, (b) is a first control unit encryption logic, and (c) ) Is a diagram for explaining the second control unit encryption logic. 図24は玉貸発券制御部と計数制御部との通信において実行される暗号化及び復合化の一例を表すフローチャートである。FIG. 24 is a flowchart showing an example of encryption and decryption executed in communication between the ball lending ticket control unit and the counting control unit. 図25は図24の続きである。FIG. 25 is a continuation of FIG. 図26は第2実施形態において玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う電源投入時処理の一例を表すフローチャートである。FIG. 26 is a flowchart illustrating an example of a power-on process performed by the ball lending ticket control unit of the ball lending ticket processing unit and the counting control unit of the counting unit in the second embodiment. 図27は第2実施形態において計数確定中に電断と計数が発生した際に玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う処理の一例を表すフローチャートである。FIG. 27 is a flowchart illustrating an example of processing performed by the ball lending ticket control unit of the ball lending ticket processing unit and the count control unit of the counting unit when power interruption and counting occur during counting determination in the second embodiment. 図28は第2実施形態において計数確定中に電断と計数が発生した際に玉貸発券処理部の玉貸発券制御部及び計数部の計数制御部が行う処理の別例を表すフローチャートである。FIG. 28 is a flowchart showing another example of processing performed by the ball lending ticket control unit of the ball lending ticket processing unit and the count control unit of the counting unit when power interruption and counting occur during counting determination in the second embodiment. . 図29(a)は玉貸発券制御部及び計数制御部で記憶されている認証テーブルの一例を表す図であり、(b)は電源投入後に玉貸発券制御部と計数制御部との間で行われる起動時認証シーケンスの別例を表すフローチャートである。FIG. 29 (a) is a figure showing an example of the authentication table memorize | stored in the ball rental ticket control part and the count control part, (b) is between a ball loan ticket control part and a count control part after power activation. It is a flowchart showing another example of the starting authentication sequence performed. 図24は玉貸発券制御部と計数制御部との通信において実行される暗号化及び復合化の一例を表すフローチャートである。FIG. 24 is a flowchart showing an example of encryption and decryption executed in communication between the ball lending ticket control unit and the counting control unit. 図31は本発明に係る遊技用装置の変形例1を表す図であり、(a)は正面図,(b)は持玉カードユニットの断面右側面図である。FIG. 31 is a view showing a first modification of the gaming apparatus according to the present invention, wherein (a) is a front view and (b) is a cross-sectional right side view of the holding card unit. 図32は本発明に係る遊技用装置の変形例2を表す図であり、(a)は正面図,(b)は玉貸発券処理部の断面右側面図である。FIGS. 32A and 32B are views showing a second modification of the gaming apparatus according to the present invention, in which FIG. 32A is a front view and FIG. 32B is a cross-sectional right side view of a ball lending ticket processing unit.

以下、本発明の実施の形態を、図面を参照して説明する。以下においては、データベースを「DB」,リーダ/ライタを「R/W」,ステップSを「S」と略記する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. In the following, the database is abbreviated as “DB”, the reader / writer is abbreviated as “R / W”, and step S is abbreviated as “S”.

本発明に係る遊技用装置(各台計数ユニット50)は、図1,図2に示すように、遊技機(パチンコ機10)に対応して設けられ、図5,図6に示すように、遊技媒体(パチンコ玉)を受け入れて計数する計数手段(玉カウンタ35)を有する計数部30と、対応する遊技機と通信することにより、遊技者が所有する遊技用価値の大きさ(プリペイド残額)に相当する遊技媒体を該遊技機から払い出して貸与するための貸与処理(玉貸処理)を行う貸与処理手段(玉貸発券制御部22),及び前記計数手段による計数遊技媒体数(計数値)を景品交換又は他の遊技機での遊技に使用させるために確定させるための確定処理(発券処理)を行う確定処理手段(玉貸発券制御部22)を有する制御部(玉貸発券処理部20)とを備える。   The gaming device (each unit counting unit 50) according to the present invention is provided corresponding to the gaming machine (pachinko machine 10) as shown in FIGS. 1 and 2, and as shown in FIGS. The amount of game value possessed by the player (remaining prepaid amount) by communicating with the counting unit 30 having counting means (ball counter 35) for receiving and counting game media (pachinko balls) and the corresponding gaming machine Lending processing means (ball lending ticket control unit 22) for performing lending processing (ball lending process) for paying out and lending game media corresponding to the game machine, and the number of game media counted (count value) by the counting means The control unit (ball lending ticket processing unit 20) has a confirmation processing means (ball lending ticket control unit 22) for performing a confirmation process (ticketing process) for confirming to be used for prize exchange or other gaming machines. ).

また玉貸発券処理部20は、計数手段による計数遊技媒体数(計数値)を記憶する計数値記憶手段(記憶テーブル),及び該計数値記憶手段により記憶している計数遊技媒体数の範囲内で遊技媒体を払い出すための払出処理の実行を要求する払出要求を送信する払出要求送信手段をさらに有し、また計数部30は、前記払出要求の受信に基づいて、前記払出処理を行う払出処理手段を有する払出制御部としても機能するものである。   In addition, the ball lending ticket processing unit 20 includes a count value storage means (storage table) for storing the number of count game media (count value) by the count means, and a count game medium number stored in the count value storage means. A payout request transmitting means for sending out a payout request for requesting execution of a payout process for paying out game media in the game, and the counting unit 30 pays out the payout process based on the reception of the payout request. It also functions as a payout control unit having processing means.

ここで玉貸発券処理部20は、玉貸発券制御部22が記憶している発券部IDにより個々に識別され、計数部30は、計数制御部31が記憶している計数部IDにより個々に識別される。そして各台計数ユニット50においては、計数部30と玉貸発券処理部20とが通信可能である。また各台計数ユニット50においては、該計数部30及び玉貸発券処理部20の少なくとも一方が着脱可能である。即ち各台計数ユニット50は、任意の発券部IDの玉貸発券処理部20と、任意の計数部IDの計数部30との組み合わせからなり、玉貸発券処理部20又は計数部30の一方が故障等の場合には、該故障した玉貸発券処理部20又は計数部30を、故障していない玉貸発券処理部20又は計数部30に取り替えることにより、再び稼働可能となる。   Here, the ball lending ticket processing unit 20 is individually identified by the ticket issuing unit ID stored in the ball lending ticket control unit 22, and the counting unit 30 is individually identified by the counting unit ID stored in the counting control unit 31. Identified. In each unit counting unit 50, the counting unit 30 and the ball lending ticket processing unit 20 can communicate with each other. Further, in each unit counting unit 50, at least one of the counting unit 30 and the ball lending ticket processing unit 20 is detachable. That is, each unit counting unit 50 is composed of a combination of a ball lending ticket processing unit 20 having an arbitrary ticketing unit ID and a counting unit 30 having an arbitrary counting unit ID, and one of the ball lending ticket processing unit 20 and the counting unit 30 is In the case of a failure or the like, the defective ball lending ticket processing unit 20 or the counting unit 30 can be operated again by replacing the defective ball lending ticket processing unit 20 or the counting unit 30 with a non-failed ball lending ticket processing unit 20 or the counting unit 30.

そして本発明に係る各台計数ユニット50では、遊技媒体の計数中や遊技媒体の払出処理中に、故障した玉貸発券処理部20又は計数部30が取り替えられたり、あるいは電断が発生したりして、玉貸発券制御部22による計数値の記憶や計数制御部31による払出処理が正常に行われなかった場合に、一定条件の下に、計数値リカバリ処理や払出リカバリ処理を行うことにより、遊技者が不利益を被ることがないようにする点に特徴がある。ここで本発明には、該計数値リカバリ処理や払出リカバリ処理を行うか否かの判定を、玉貸発券制御部22が行う第1実施形態(図19)と、計数制御部31が行う第2実施形態(図26)とが含まれる。   In each unit counting unit 50 according to the present invention, the broken ball lending ticket processing unit 20 or the counting unit 30 is replaced during the counting of the gaming media or the gaming media payout processing, or a power interruption occurs. Then, when the count value storage by the ball lending ticket control unit 22 and the payout process by the count control unit 31 are not normally performed, the count value recovery process and the payout recovery process are performed under certain conditions. The feature is that the player is not disadvantaged. Here, in the present invention, a determination is made as to whether or not to perform the count value recovery process and the payout recovery process, in the first embodiment (FIG. 19) in which the ball lending ticket control unit 22 performs, and in the first embodiment performed by the count control unit 31. Two embodiments (FIG. 26) are included.

また各台計数ユニット50において、計数部30は、図10〜図12に示すように、玉カウンタ35による計数に関する異常を判定し、図8に示すように、玉カウンタ35により計数された計数値を特定可能な計数情報(動作指示応答)を制御部である玉貸発券処理部20に対して送信し、玉貸発券処理部20は、図13〜図14に示すように、受信した動作指示応答から特定される計数値に基づいて異常を判定し、図11に示すように、計数部30により異常判定されたこと(S301)に基づいて計数異常報知処理(S304,S307,S354)を行い、図14に示すように、玉貸発券処理部20により異常判定されたこと(S401)に基づいて遊技媒体数異常報知処理(S402)を行うことを特徴とするものである。   Further, in each unit counting unit 50, the counting unit 30 determines an abnormality relating to counting by the ball counter 35 as shown in FIGS. 10 to 12, and the count value counted by the ball counter 35 as shown in FIG. Is transmitted to the ball lending ticket processing unit 20 which is the control unit, and the ball lending ticket processing unit 20 receives the received operation instruction as shown in FIGS. Abnormality is determined on the basis of the count value specified from the response, and as shown in FIG. 11, the abnormality determination processing (S304, S307, S354) is performed based on the abnormality determination by the counting unit 30 (S301). As shown in FIG. 14, the game medium number abnormality notification process (S402) is performed based on the abnormality determination by the ball lending ticket processing unit 20 (S401).

以下においては、まず第1実施形態について説明し、次に第2実施形態について第1実施形態と異なる点のみを説明し、最後に変形例について説明する。   In the following, the first embodiment will be described first, then the second embodiment will be described only with respect to differences from the first embodiment, and finally a modification will be described.

[1.第1実施形態に係る各台計数ユニット50]
まず、図1〜図6を参照して、第1実施形態に係る本発明の構成について説明する。本発明に係る遊技用装置である各台計数ユニット50を含む遊技用システム1は、図1に示すように、遊技場内において、複数の遊技島の各々に設けられる島コンピュータ63と、各遊技島に設けられる島コンピュータ63と通信可能であり、当該遊技島に配置される複数のパチンコ機10と、各遊技島に設けられる島コンピュータ63と通信可能であり、当該遊技島に配置される複数のパチンコ機10の各々に対応して設けられる各台計数ユニット50(玉貸発券処理部20+計数部30)と、全ての島コンピュータ63と通信可能な残額管理装置60,会員管理装置61,持玉管理装置62,及びホールコンピュータ70からなる。
[1. Each unit counting unit 50 according to the first embodiment]
First, with reference to FIGS. 1-6, the structure of this invention which concerns on 1st Embodiment is demonstrated. As shown in FIG. 1, a gaming system 1 including each vehicle counting unit 50 that is a gaming apparatus according to the present invention includes an island computer 63 provided on each of a plurality of gaming islands, and each gaming island. Can communicate with the island computer 63 provided on the game island, and can communicate with the plurality of pachinko machines 10 arranged on the game island and the island computer 63 provided on each game island. Each unit counting unit 50 (ball lending ticket processing unit 20 + counting unit 30) provided corresponding to each of the pachinko machines 10, the remaining amount management device 60, the member management device 61, and the holding ball that can communicate with all the island computers 63. It comprises a management device 62 and a hall computer 70.

この遊技用装置及び遊技用システム1では、図2(b)に示すように、会員カード2及びビジターカード3が使用される。以下、会員カード2及びビジターカード3を区別しない場合には、両者を単に「カード」と総称する。これらカードは、長方形状を呈するプラスチック製の薄板における所定の部位に、不揮発性のEEPROMを備える非接触式のICチップを記録領域として備えている。なお、ここでいうカードには、円形状を呈するコインも含まれる。   In the gaming apparatus and gaming system 1, a membership card 2 and a visitor card 3 are used as shown in FIG. Hereinafter, when the membership card 2 and the visitor card 3 are not distinguished, both are simply referred to as “card”. These cards include a non-contact type IC chip having a nonvolatile EEPROM as a recording area at a predetermined portion of a thin plastic plate having a rectangular shape. Incidentally, the card here includes a coin having a circular shape.

会員カード2は、遊技場において会員登録を行った遊技者(会員遊技者)に対して発行される記録媒体であり、該記録媒体を個々に識別可能な情報であるカードIDがICチップに予め記録されている。このカードIDは、会員遊技者を示す頭文字Mと、それに続く5桁のユニークな数字からなり、会員遊技者を個々に識別可能な情報でもある。またICチップには、プリペイド残額も記憶されているが、持玉数及び貯玉数は記憶されていない。この会員カード2が玉貸発券処理部20のカードR/W23で受け付けられると、ICチップに記録されているカードIDに対応付けて会員管理装置61で管理されている暗証番号(図示外)の認証がとれたことを条件として、図1に示すように、該カードIDに対応付けて残額管理装置60で管理されているプリペイド残額を使用した玉貸処理が可能となり、またカードIDに対応付けて会員管理装置61で管理されている貯玉数を使用した貯玉再プレイ処理が可能となり、さらにカードIDに対応付けて持玉管理装置62で管理されている持玉数を使用した持玉払出処理が可能となる。   The membership card 2 is a recording medium issued to a player who has registered as a member at the amusement hall (member player), and a card ID, which is information for individually identifying the recording medium, is pre-installed on the IC chip. It is recorded. This card ID is made up of an initial M indicating a member player, followed by a unique 5-digit number, and is also information that can individually identify the member player. The IC chip also stores the prepaid balance, but does not store the number of possessed balls and the number of stored balls. When the member card 2 is received by the card R / W 23 of the ball lending ticket processing unit 20, the password (not shown) of the password managed by the member management device 61 is associated with the card ID recorded on the IC chip. As shown in FIG. 1, the ball lending process using the prepaid balance managed by the balance management device 60 in association with the card ID can be performed on the condition that the authentication is successful, and the card ID is associated with the card ID. The stored ball replay process using the number of stored balls managed by the member management device 61 becomes possible, and the paid-out processing using the number of held balls managed by the managed ball management device 62 in association with the card ID. Is possible.

ビジターカード3は、遊技場において遊技者(ビジタ遊技者)に対して発行される記録媒体であり、該記録媒体を個々に識別可能な情報であるカードIDがICチップに予め記録されている。このカードIDは、ビジタ遊技者を示す頭文字Vと、それに続く5桁のユニークな数字からなる。またICチップには、プリペイド残額も記憶されているが、持玉数は記憶されていない。このビジターカード3が玉貸発券処理部20のカードR/W23で受け付けられると、図1に示すように、ICチップに記録されているカードIDに対応付けて残額管理装置60で管理されている残額を使用した玉貸処理が可能となり、またカードIDに対応付けて持玉管理装置62で管理されている持玉数を使用した持玉払出処理が可能となる。なおビジタ遊技者は、会員遊技者と異なり、貯玉をしたり貯玉再プレイをしたりすることはできない。   The visitor card 3 is a recording medium issued to a player (visitor player) in a game hall, and a card ID, which is information for individually identifying the recording medium, is recorded in advance on the IC chip. This card ID consists of an initial letter V indicating a visitor player, followed by a unique 5-digit number. The IC chip also stores the prepaid balance, but does not store the number of balls. When this visitor card 3 is received by the card R / W 23 of the ball lending ticket processing unit 20, as shown in FIG. 1, it is managed by the balance management device 60 in association with the card ID recorded on the IC chip. The ball lending process using the remaining amount can be performed, and the ball payout process using the number of balls managed by the ball management device 62 in association with the card ID can be performed. Unlike a member player, a visitor player cannot save money or play again.

ここで残額管理装置60,会員管理装置61,持玉管理装置62,及び島コンピュータ63について、図1を参照して説明する。残額管理装置60は、会員カード2又はビジターカード3のカードIDに対応付けて、遊技者が所有する遊技用価値であって、該遊技者が前払いしたプリペイド価値であるプリペイド残額を管理するものである。この残額管理装置60は、入金処理(図7のS04,S22)を行う玉貸発券処理部20からカードIDと該入金処理に供された入金額とを含む加算要求を受信すると、該カードIDに対応付けて管理しているプリペイド残額に該入金額を加算して、加算完了通知を返信し、また玉貸処理(図7のS21a)を行う玉貸発券処理部20からカードIDと該玉貸処理に使用された使用額とを含む減算要求を受信すると、該カードIDに対応付けて管理しているプリペイド残額から該使用額を減算して、減算完了通知を返信する。   Here, the balance management device 60, the member management device 61, the possession management device 62, and the island computer 63 will be described with reference to FIG. The balance management device 60 manages a prepaid balance that is a prepaid value that is a prepaid value that the player has prepaid in association with the card ID of the member card 2 or the visitor card 3. is there. When the remaining amount management device 60 receives an addition request including the card ID and the deposit amount provided for the deposit process from the ball lending ticket processing unit 20 that performs the deposit process (S04, S22 in FIG. 7), the card ID The payment amount is added to the prepaid balance managed in association with the credit card, the addition completion notification is returned, and the ball ID issuing processing unit 20 that performs the ball lending process (S21a in FIG. 7) returns the card ID and the ball. When a subtraction request including the usage amount used for the lending process is received, the usage amount is subtracted from the prepaid balance managed in association with the card ID, and a subtraction completion notification is returned.

会員管理装置61は、会員カード2のカードIDに対応付けて、遊技者が所有する遊技用価値であって、該遊技者が遊技により獲得した獲得価値(賞球)を貯蓄してなる貯玉数を管理するものである。この貯玉数は、遊技者が獲得した当日のみならず、翌日以降も、景品交換やパチンコ機10での遊技に使用可能である。また会員管理装置61は、図示しないが、カードIDに対応付けて、会員登録の際に登録された当該会員遊技者の個人情報(氏名,郵便番号,住所,及び電話番号等)と暗証番号も管理している。この会員管理装置61は、会員カード2を受け付けて管理貯玉数取得処理(図7のS06)を行う玉貸発券処理部20から、カードIDと暗証番号とを含む貯玉数取得要求を受信すると、該受信した暗証番号が該受信したカードIDに対応付けて記憶している暗証番号と一致する(即ち認証がとれた)ことを条件として、該カードIDに対応付けて管理している貯玉数を含む貯玉数情報を玉貸発券処理部20に対して返信し、また管理玉数更新処理(図7のS26b)を行う玉貸発券処理部20から、カードIDと貯玉数とを含む貯玉数更新要求を受信すると、該カードIDに対応付けて管理している貯玉数を当該受信した貯玉数に更新する。また会員管理装置61は、景品交換処理を行うPOS端末(図示外)からカードIDと景品交換に使用された玉数とを含む景品交換要求を受信すると、該カードIDに対応付けて管理している貯玉数から景品交換に使用された玉数を減算し、また該POS端末からカードIDと貯玉する玉数とを含む貯玉要求を受信すると、該カードIDに対応付けて管理している貯玉数に貯玉する玉数を加算する。   The member management device 61 associates the card ID of the member card 2 with the number of stored balls that is a value for a game possessed by the player and that is obtained by saving the acquired value (prize ball) acquired by the player through the game. Is to manage. This number of stored balls can be used not only for the day of acquisition by the player but also for the game on the pachinko machine 10 after the next day. Although not shown, the member management device 61 also associates the card ID with the personal information (name, zip code, address, telephone number, etc.) and password of the member player registered at the time of member registration. I manage. When this member management device 61 receives a membership card 2 and receives a stored number acquisition request including a card ID and a password from the ball lending ticket processing unit 20 that performs the management stored number acquisition process (S06 in FIG. 7), On the condition that the received personal identification number matches the personal identification number stored in association with the received card ID (that is, authentication has been obtained), the number of stored balls managed in association with the card ID The stored ball number information including the card ID and the stored ball number is returned from the ball issued ticket processing unit 20 which returns the stored ball number information to the ball loaned ticket processing unit 20 and performs the management ball number updating process (S26b in FIG. 7). When the request is received, the number of stored balls managed in association with the card ID is updated to the received number of stored balls. When the member management device 61 receives a free gift exchange request including a card ID and the number of balls used for free gift exchange from a POS terminal (not shown) that performs free gift exchange processing, the member management device 61 manages it in association with the card ID. When the number of balls used for prize exchange is subtracted from the number of stored balls and when a storage request including a card ID and the number of balls to be stored is received from the POS terminal, the number of stored balls managed in association with the card ID Add the number of balls to be stored.

持玉管理装置62は、会員カード2又はビジターカード3のカードIDに対応付けて、遊技者が所有する遊技用価値であって、該遊技者が遊技により獲得した獲得価値(賞球)を計数してなる持玉数を管理するものである。この持玉数は、遊技者が獲得した当日のみ、景品交換やパチンコ機10での遊技に使用可能である。この持玉管理装置62は、会員カード2又はビジターカード3を受け付けて管理持玉数取得処理(図7のS07)を行う玉貸発券処理部20から、カードIDを含む持玉数取得要求を受信すると、該カードIDに対応付けて管理している持玉数を含む持玉数情報を玉貸発券処理部20に対して返信し、また管理玉数更新処理(図7のS26b)を行う玉貸発券処理部20から、カードIDと持玉数とを含む持玉数更新要求を受信すると、該カードIDに対応付けて管理している持玉数を当該受信した持玉数に更新する。また持玉管理装置62は、景品交換処理を行うPOS端末(図示外)からカードIDと景品交換に使用された玉数とを含む景品交換要求を受信すると、該カードIDに対応付けて管理している持玉数から景品交換に使用された玉数を減算する。   The possession management device 62 counts the game value possessed by the player in association with the card ID of the member card 2 or the visitor card 3 and the acquired value (prize ball) acquired by the player through the game. This is to manage the number of possessed balls. The number of possessed balls can be used for prize exchange or games on the pachinko machine 10 only on the day acquired by the player. This possession management device 62 receives a membership card 2 or a visitor card 3 and performs a management possession number acquisition process (S07 in FIG. 7), and issues a possession number acquisition request including the card ID. Upon receipt, the number-of-balls information including the number of balls managed in association with the card ID is returned to the ball lending ticket processing unit 20, and the management ball number update process (S26b in FIG. 7) is performed. When a ball number update request including the card ID and the number of balls is received from the ball lending ticket processing unit 20, the number of balls managed in association with the card ID is updated to the received number of balls. . Further, when receiving the prize exchange request including the card ID and the number of balls used for the prize exchange from the POS terminal (not shown) that performs the prize exchange process, the possession management apparatus 62 manages the prize in association with the card ID. Subtract the number of balls used for prize exchange from the number of balls you have.

なお持玉管理装置62は、当日の営業終了後において、会員カード2のカードID(即ち頭文字がMのカードID)に対応付けられている持玉数を消去すると共に、カードIDと該消去された持玉数とを含む振替要求を会員管理装置61に対して送信し、会員管理装置61は、該振替要求に含まれるカードIDに対応付けて管理している貯玉数に該振替要求に含まれる持玉数を加算更新する。即ち会員カード2のカードID対応付けられている持玉数は、当日の営業終了後に自動的に貯玉数に振り返られて、翌日以降も使用可能になる。また持玉管理装置62は、当日の営業終了後において、ビジターカード3のカードID(即ち頭文字がVのカードID)に対応付けられている持玉数を消去する。即ちビジターカード3のカードIDに対応付けられている持玉数は、当日の営業終了後に自動的に消去されて、無効になる。   The possession management device 62 erases the number of possessions associated with the card ID of the member card 2 (that is, the card ID whose initial is M) after the end of the business day, and also deletes the card ID and the erased card. The transfer request including the number of held balls is transmitted to the member management device 61, and the member management device 61 adds the number of stored balls managed in association with the card ID included in the transfer request to the transfer request. Update the number of balls included. That is, the number of possessed balls associated with the card ID of the member card 2 is automatically reflected on the number of stored balls after the end of business on that day, and can be used after the next day. Moreover, the possession management device 62 deletes the number of possessions associated with the card ID of the visitor card 3 (that is, the card ID with the initial letter V) after the end of the business day. That is, the number of possessions associated with the card ID of the visitor card 3 is automatically deleted after the business day ends and becomes invalid.

島コンピュータ63は、接続される(即ち当該島コンピュータ63が設けられる遊技島に配置される)各パチンコ機10及び各台計数ユニット50と、残額管理装置60,会員管理装置61,持玉管理装置62,及びホールコンピュータ70との間におけるデータ通信を中継する中継装置である。   The island computer 63 is connected to each pachinko machine 10 and each unit counting unit 50 (that is, arranged on the game island where the island computer 63 is provided), the remaining amount management device 60, the member management device 61, and the possession management device. 62 and a relay device that relays data communication with the hall computer 70.

なお、この遊技用システム1は、複数のパチンコ玉の貸与レート(例えば4円と1円)に対応している。具体的には、会員管理装置61は、前記貯玉数を貸与レート毎に記憶している。また持玉管理装置62も、前記持玉数を、貸与レート毎に記憶している。さらに各台計数ユニット50の各々は、自己に適用される貸与レートを、玉貸発券制御部22及び計数制御部31において記憶しており、当該貸与レートの貯玉数や持玉数を取得してカードテーブルで記憶する。なお各台計数ユニット50における貸与レートの記憶は、まず残額管理装置60又は持玉管理装置62から送信されてきた貸与レートを、玉貸発券制御部22が貸与レート記憶部(図示外)で記憶し、該記憶した貸与レートを玉貸発券制御部22から計数制御部31に対して送信して、該送信されてきた貸与レートを、計数制御部31が貸与レート記憶部(図示外)で記憶する。以下においては、各台計数ユニット50で記憶されている貸与レートが4円である例について説明する。   The gaming system 1 supports a plurality of pachinko ball lending rates (for example, 4 yen and 1 yen). Specifically, the member management device 61 stores the number of stored balls for each loan rate. The possession management device 62 also stores the number of possessions for each loan rate. Further, each of the counting units 50 stores the lending rate applied to itself in the ball lending ticket control unit 22 and the counting control unit 31, and acquires the number of balls stored and the number of balls held at the lending rate. Memorize at the card table. In addition, the storage of the loan rate in each unit counting unit 50 first stores the loan rate transmitted from the remaining amount management device 60 or the possession management device 62 in the loan rate storage unit (not shown) by the ball rental ticket control unit 22. Then, the stored loan rate is transmitted from the ball lending ticket control unit 22 to the count control unit 31, and the count control unit 31 stores the transmitted loan rate in a loan rate storage unit (not shown). To do. In the following, an example in which the lending rate stored in each unit counting unit 50 is 4 yen will be described.

次にパチンコ機10について説明する。パチンコ機10は遊技機の一例であって、図1及び図2(a)に示すように、各台計数ユニット50に対応して(ここでは玉貸発券処理部20の右側に隣接して)設けられ、対応する各台計数ユニット50の玉貸発券処理部20と通信することにより、該玉貸発券処理部20が行う玉貸処理に応じて当該パチンコ機10からパチンコ玉を払い出して貸与する、いわゆるCR式のパチンコ機である。このパチンコ機10は、遊技場内に設けられた遊技島において該パチンコ機10の機種等に従って配置されており、ユニークな台番号により個々に識別される。   Next, the pachinko machine 10 will be described. The pachinko machine 10 is an example of a gaming machine, and corresponds to each unit counting unit 50 (here, adjacent to the right side of the ball lending ticket processing unit 20) as shown in FIGS. 1 and 2A. The pachinko ball is paid out from the pachinko machine 10 according to the ball lending processing performed by the ball lending ticket processing unit 20 by communicating with the ball lending ticket processing unit 20 of each corresponding counter unit 50 provided. This is a so-called CR-type pachinko machine. This pachinko machine 10 is arranged according to the model of the pachinko machine 10 on the game island provided in the game hall, and is individually identified by a unique machine number.

このパチンコ機10は、図2(a)に示すように、その前面に遊技領域,上皿,下皿,及び発射ハンドル等を備えると共に、上皿に残度数表示器14,玉貸ボタン15,及びカード返却ボタン16を備え、図1に示すように、その内部に遊技制御基板11,払出制御基板12,及び玉払出装置13等を備えており、これらの各構成要素は図1に示すように接続されている。   As shown in FIG. 2 (a), the pachinko machine 10 is provided with a game area, an upper plate, a lower plate, a launching handle, and the like on the front surface, and a remaining frequency indicator 14, a ball lending button 15, And a card return button 16, and as shown in FIG. 1, a game control board 11, a payout control board 12, a ball payout device 13, etc. are provided therein, and each of these components is as shown in FIG. It is connected to the.

遊技制御基板11は、パチンコ機10における遊技状態を制御するものである。払出制御基板12は、玉貸発券処理部20の玉貸通信部21aと通信可能に接続されており、パチンコ機10と玉貸発券処理部20との間における通信を司るものである。これにより、玉貸処理(図7のS21a),持玉払出処理(同S24),及び貯玉再プレイ処理(S25)において、玉貸発券処理部20との間で信号のやり取りが行われる。また払出制御基板12は、玉払出装置13と接続され、該玉払出装置13を制御するものである。玉払出装置13は、玉貸処理,持玉払出処理,及び貯玉再プレイ処理においてパチンコ玉を払い出すと共に、遊技の結果として遊技者に付与されるパチンコ玉(いわゆる賞球)を払い出すものである。   The game control board 11 controls the gaming state in the pachinko machine 10. The payout control board 12 is communicably connected to the ball lending communication unit 21a of the ball lending ticket processing unit 20, and manages communication between the pachinko machine 10 and the ball lending ticket processing unit 20. Thereby, signals are exchanged with the ball lending ticket processing unit 20 in the ball lending process (S21a in FIG. 7), the ball payout process (S24), and the stored ball replay process (S25). The payout control board 12 is connected to the ball payout device 13 and controls the ball payout device 13. The ball payout device 13 pays out a pachinko ball in a ball lending process, a holding ball payout process, and a storage ball replay process, and also pays out a pachinko ball (so-called prize ball) given to a player as a result of the game. is there.

残度数表示器14は、対応する玉貸発券処理部20のカードR/W23にて受け付けたカード(会員カード2又はビジターカード3)に記録されているプリペイド残額(即ち図3に示すカードテーブルで記憶しているプリペイド残額)から特定される残度数を表示するための表示器であり、ここでは2桁の7セグメント表示器によって構成されている。この残度数表示器14では、該玉貸通信部21aから残度数を示す度数表示信号が入力されることによって、該残度数が表示される。この度数表示信号に含まれる残度数は、「プリペイド残額÷最小の単位有価価値(ここでは100円)」の式で演算された商である。この残度数表示器14で表示される残度数は、カードテーブルで記憶しているプリペイド残額が更新される毎に、更新して表示される。   The remaining frequency indicator 14 is a prepaid balance (that is, a card table shown in FIG. 3) recorded on the card (member card 2 or visitor card 3) received by the card R / W 23 of the corresponding ball lending ticket processing unit 20. It is a display for displaying the remaining frequency specified from the stored prepaid balance, and here it is constituted by a 2-digit 7-segment display. In this remaining frequency indicator 14, the remaining frequency is displayed by inputting a frequency display signal indicating the remaining frequency from the ball lending communication unit 21a. The remaining frequency included in the frequency display signal is a quotient calculated by the formula “prepaid balance / minimum unit value (100 yen in this case)”. The remaining frequency displayed on the remaining frequency display 14 is updated and displayed every time the prepaid balance stored in the card table is updated.

玉貸ボタン15は、対応する玉貸発券処理部20のカードR/W23にて受け付けたカード(会員カード2又はビジターカード3)に記録されているプリペイド残額を使用した玉貸処理を行うための玉貸操作を受け付けるボタンである。この玉貸ボタン15が操作されたことにより、玉貸通信部21aとの間に図示しない検出回路を介して設けられている貸出入力信号線を介して、該玉貸通信部21aに貸出入力信号が入力され、該検出回路が該貸出入力信号の入力を検出することによって、玉貸発券制御部22が玉貸ボタン15が操作された旨を認識して、玉貸処理(図7のS21a)を行う。   The ball lending button 15 is for performing a ball lending process using the prepaid balance recorded on the card (member card 2 or visitor card 3) received by the card R / W 23 of the corresponding ball lending ticket processing unit 20. A button for accepting a ball lending operation. When this ball lending button 15 is operated, a lending input signal is sent to the ball lending communication unit 21a via a lending input signal line provided via a detection circuit (not shown) between the ball lending communication unit 21a. , And the detection circuit detects the input of the lending input signal, so that the ball lending ticket control unit 22 recognizes that the ball lending button 15 is operated, and the ball lending process (S21a in FIG. 7). I do.

カード返却ボタン16は、対応する玉貸発券処理部20のカードR/W23にて受け付けたカード(会員カード2又はビジターカード3)を返却するための返却操作を受け付けるボタンである。このカード返却ボタン16が操作されたことにより、玉貸通信部21aとの間に図示しない検出回路を介して設けられている返却入力信号線を介して、該玉貸通信部21aに返却入力信号が入力され、該検出回路が該返却入力信号の入力を検出することによって、玉貸発券制御部22がカード返却ボタン16が操作された旨を認識して、カードの返却(図7のS26a)を行う。   The card return button 16 is a button for receiving a return operation for returning the card (member card 2 or visitor card 3) received by the card R / W 23 of the corresponding ball lending ticket processing unit 20. When this card return button 16 is operated, a return input signal is sent to the ball lending communication unit 21a via a return input signal line provided between the ball lending communication unit 21a and a detection circuit (not shown). And the detection circuit detects the input of the return input signal, so that the ball lending ticket control unit 22 recognizes that the card return button 16 has been operated, and returns the card (S26a in FIG. 7). I do.

上記の残度数表示器14,玉貸ボタン15,及びカード返却ボタン16は、図2(a)に示すように、パチンコ機10の前面(ここでは上皿)に設けられているが、図1に示すように、玉貸発券処理部20と接続されているので、遊技用装置を構成する該玉貸発券処理部20に属するものでもある。   The remaining frequency indicator 14, the ball lending button 15, and the card return button 16 are provided on the front surface (here, the upper plate) of the pachinko machine 10, as shown in FIG. Since it is connected to the ball lending ticket processing unit 20 as shown in FIG. 4, it belongs to the ball lending ticket processing unit 20 constituting the gaming apparatus.

このパチンコ機10では、発射ハンドルが操作されると、上皿にあるパチンコ玉が遊技領域に打ち込まれて、遊技が行われる。そして遊技領域に打ち込まれた打込玉が始動入賞口に入賞すると、可変表示装置が変動を開始し、該可変表示装置に表示される図柄の表示結果が特定の態様になると、大当りが発生する。また打込玉が入賞口(始動入賞口,一般入賞口,又は大当りになると開放される大入賞口等)に入賞すると、払出制御基板12の制御により玉払出装置13から賞球が払い出され、該払い出された賞球は、まず上皿に導かれ、該上皿が満タンになると下皿に導かれる。そして下皿に導かれた賞球は、落下レバー(図示外)が操作されると、下皿から落下して、計数部30の玉載置部32に導かれる。なお打込玉は、図示しないが、当該パチンコ機10の背後に設けられたアウトタンクで収集されて打込玉カウンタでカウントされ、カウント後に遊技島に取り込まれる。   In this pachinko machine 10, when the launch handle is operated, the pachinko balls on the upper plate are driven into the game area and a game is played. Then, when the hit ball that has been driven into the game area wins the start winning opening, the variable display device starts to fluctuate. When the display result of the symbol displayed on the variable display device is in a specific mode, a big hit occurs. . Further, when the hitting ball wins a winning opening (a start winning opening, a general winning opening, or a large winning opening that is opened when a big hit is made), a prize ball is paid out from the ball dispensing device 13 under the control of the dispensing control board 12. The paid-out prize ball is first guided to the upper plate, and when the upper plate is full, it is guided to the lower plate. Then, the prize ball guided to the lower plate falls from the lower plate and is guided to the ball placement unit 32 of the counting unit 30 when a drop lever (not shown) is operated. Although not shown, the hit balls are collected by an out tank provided behind the pachinko machine 10, counted by a hit ball counter, and taken into the game island after counting.

次に各台計数ユニット50の玉貸発券処理部20について説明する。玉貸発券処理部20は遊技用装置を構成するものであって、図1及び図2(b)に示すように、遊技機であるパチンコ機10に対応して(ここではパチンコ機10の左側に隣接して)設けられ、縦長の箱型の形状を呈するものであり、図2(a)に示すように、その前面に多機能ランプ26,紙幣挿入口25a,突出部20a,及びカード挿入口23a等を備え、図2(b)に示すように、その内部に紙幣識別機25,玉貸通信部21a,場内通信部21b,玉貸発券制御部22,カードR/W23,及びカードストッカ23b等を備え、突出部20aの右側面(即ち遊技者に向く側)にタッチパネル式のディスプレイ24を備え、これらの各構成要素は図1に示すように接続されている。なお玉貸発券処理部20の下部には、前面に計数部30の外部ユニット30aが配置され、内部に計数部30の内部ユニット30bが配置されているが、これらについては後述する。この玉貸発券処理部20と計数部30とで、遊技用装置である各台計数ユニット50が構成され、該各台計数ユニット50は、対応するパチンコ機10の台番号により個々に識別される。   Next, the ball rental ticket processing unit 20 of each unit counting unit 50 will be described. The ball lending ticket processing unit 20 constitutes a gaming device, and corresponds to the pachinko machine 10 that is a gaming machine (here, the left side of the pachinko machine 10), as shown in FIG. 1 and FIG. 2), and has a vertically long box shape. As shown in FIG. 2 (a), a multi-function lamp 26, a bill insertion slot 25a, a protrusion 20a, and a card are inserted on the front surface thereof. As shown in FIG. 2 (b), a bill discriminator 25, a ball lending communication unit 21a, an on-site communication unit 21b, a ball lending ticket control unit 22, a card R / W 23, and a card stocker are provided. 23b and the like, and a touch panel type display 24 is provided on the right side of the projecting portion 20a (that is, the side facing the player), and these components are connected as shown in FIG. In addition, in the lower part of the ball lending ticket processing unit 20, an external unit 30a of the counting unit 30 is arranged on the front surface, and an internal unit 30b of the counting unit 30 is arranged inside, which will be described later. The ball lending ticket processing unit 20 and the counting unit 30 constitute each unit counting unit 50 that is a gaming device, and each unit counting unit 50 is individually identified by the unit number of the corresponding pachinko machine 10. .

玉貸通信部21aは、前述の如く、パチンコ機10の払出制御基板12と通信可能に接続されている。場内通信部21bは、図1に示すように、島コンピュータ63を介して残額管理装置60,会員管理装置61,持玉管理装置62,及びホールコンピュータ70と通信可能に接続されており、それらと玉貸発券処理部20(各台計数ユニット50)との間における通信を司るものである。   As described above, the ball lending communication unit 21a is communicably connected to the payout control board 12 of the pachinko machine 10. As shown in FIG. 1, the on-site communication unit 21b is communicably connected to the balance management device 60, the member management device 61, the possession management device 62, and the hall computer 70 via the island computer 63. It manages communication with the ball lending ticket processing unit 20 (each unit counting unit 50).

玉貸発券制御部22は、CPU,RAM,ROM,EEPROM等を備えており、ROMに記憶されている処理プログラムがRAMを作業領域としてCPUで実行されることにより、玉貸発券処理部20に備えられる各構成要素の動作を制御して各種の処理を行うものである。   The ball lending ticket control unit 22 includes a CPU, a RAM, a ROM, an EEPROM, and the like. The processing program stored in the ROM is executed by the CPU using the RAM as a work area, so that the ball lending ticket processing unit 20 Various operations are performed by controlling the operation of each component provided.

この玉貸発券制御部22のEEPROMは、図3に示すカードテーブルを記憶している。このカードテーブルでは、カードR/W23で受け付けたカード(会員カード2又はビジターカード3)から読み取ったカードIDと、当該カードIDに対応するプリペイド残額,持玉数,及び貯玉数(ただし貯玉数は、受け付けたのが会員カード2の場合のみ)とが記憶されて更新されるが、この記憶及び更新については、図7を参照して後述する。なお前述の如く、ここで記憶される持玉数及び貯玉数は、当該玉貸発券制御部22が記憶している貸与レートの持玉数及び貯玉数である。   The EEPROM of the ball rental ticket control unit 22 stores a card table shown in FIG. In this card table, the card ID read from the card (member card 2 or visitor card 3) received by the card R / W 23, the prepaid balance corresponding to the card ID, the number of balls, and the number of stored balls (however, the number of stored balls is Is stored and updated). This storage and update will be described later with reference to FIG. As described above, the number of balls and the number of stored balls stored here are the number of balls and the number of stored balls at the loan rate stored in the ball lending ticket control unit 22.

また玉貸発券制御部22のEEPROMは、図8に示す記憶テーブルを記憶している。この記憶テーブルでは、当該玉貸発券処理部20の発券部IDと、第2計数処理情報である計数通番と、計数値と、第1払出処理情報である払出通番とが、対応付けて記憶される。ここで発券部IDは、予め記憶されている。また計数通番は、図8に示すように、計数中でない旨を示すS123の動作指示応答D(即ち計数終了通知)の受信に基づいて、S124で更新して記憶される。また計数値は、図8に示すように、計数途中の計数値(計数開始からの累計値)を示すS114の動作指示応答B(即ち計数情報)の受信に基づいて、S115で更新して記憶されると共に、計数終了後の計数値(計数開始からの累計値)を示すS119の動作指示応答C(即ち計数情報)の受信に基づいて、S120で更新して記憶される。さらに払出通番は、図18に示すように、払出処理の開始に基づいて(換言すれば、払出開始を示すS802の動作指示G(即ち払出要求)の送信に伴って)、S801で更新して記憶される。   The EEPROM of the ball rental ticket control unit 22 stores a storage table shown in FIG. In this storage table, the ticket issuing unit ID of the ball rental ticket processing unit 20, the counting sequence number that is the second counting processing information, the count value, and the dispensing sequence number that is the first dispensing processing information are stored in association with each other. The Here, the ticket issuing unit ID is stored in advance. Further, as shown in FIG. 8, the counting sequence number is updated and stored in S124 based on the reception of the operation instruction response D (that is, the count end notification) in S123 indicating that counting is not in progress. Further, as shown in FIG. 8, the count value is updated and stored in S115 based on the reception of the operation instruction response B (ie, count information) in S114 indicating the count value in the middle of counting (cumulative value from the start of counting). At the same time, based on the reception of the operation instruction response C (ie, count information) in S119 indicating the count value after completion of counting (cumulative value from the start of counting), it is updated and stored in S120. Further, as shown in FIG. 18, the payout sequence number is updated in S801 based on the start of the payout process (in other words, with the transmission of the operation instruction G (that is, payout request) in S802 indicating the start of payout). Remembered.

また玉貸発券制御部22のEEPROMは、暗号キーの初期値を記憶している。この暗号キーの初期値は電源投入後に計数制御部31に送信され、計数制御部側で照合される。照合結果が一致すれば、計数制御部31から玉貸発券制御部22に暗号キー応答が送信され、これ以降の計数制御部31と玉貸発券制御部22との通信では、暗号キーを使用した暗号化・復号化処理が行われることになる。また玉貸発券制御部22のEEPROMは、図22(a)に示す認証テーブルを記憶している。本実施の形態において、認証テーブルはコード1〜コード8からなるテーブルであり、各コードは4ビットのデータによって構成されている。認証テーブルは玉貸発券制御部22及び計数制御部31の電源投入時に参照されるものであり、玉貸発券制御部22に接続されている対象が正規物であるか否かを判定するために使用される。電源投入後には、図22(b)に示すように起動時認証シーケンス1が実行され、各コードの認証要求が順不同に玉貸発券制御部22から計数制御部31に対して送信され、これに応じて計数制御部31から玉貸発券制御部22に対して認証要求に対応するコードが返信される。玉貸発券制御部22では、返信されたコードが認証要求したコードに合致するか否かを判定し、合致する場合には当該コードの認証を完了して次コードの認証を行い、合致しないときには異常停止する。全てのコードの認証が完了すると玉貸発券制御部22と計数制御部31との間で、以降のコマンドの送受が可能となる。   The EEPROM of the ball rental ticket control unit 22 stores the initial value of the encryption key. The initial value of the encryption key is transmitted to the count control unit 31 after power-on, and is verified on the count control unit side. If the matching results match, an encryption key response is transmitted from the counting control unit 31 to the ball lending ticket control unit 22, and the encryption key is used in subsequent communication between the counting control unit 31 and the ball lending ticket control unit 22. Encryption / decryption processing is performed. Further, the EEPROM of the ball rental ticket control unit 22 stores an authentication table shown in FIG. In the present embodiment, the authentication table is a table composed of codes 1 to 8, and each code is composed of 4-bit data. The authentication table is referred to when the ball lending ticket control unit 22 and the counting control unit 31 are powered on, in order to determine whether or not the target connected to the ball lending ticket control unit 22 is a regular one. used. After the power is turned on, the startup authentication sequence 1 is executed as shown in FIG. 22 (b), and the authentication request for each code is transmitted from the ball lending ticket control unit 22 to the count control unit 31 in random order. In response, a code corresponding to the authentication request is returned from the count control unit 31 to the ball rental ticket control unit 22. The ball lending ticket control unit 22 determines whether or not the returned code matches the code requested for authentication, and if it matches, the authentication of the code is completed and the next code is authenticated. Stops abnormally. When the authentication of all codes is completed, the subsequent commands can be transmitted and received between the ball lending ticket control unit 22 and the counting control unit 31.

また玉貸発券制御部22のEEPROMは、図23(a)に示す暗号化テーブルを記憶している。暗証化テーブルでは、参照値0〜255の各値に対応づけてテーブル値を記憶しており、本例におけるテーブル値は8ビットのランダム値である。このテーブル値は参照値自体に所定の操作を行うことによっては得られない値である。即ち、テーブル値は、参照値から直接導出できない値であって、参照値に所定の演算(例えば所定キーとのXOR演算)を施した値ではなく、参照値のビットを操作した値(例えばビット反転値)でもない。例えば整数0〜255の範囲で乱数を生成するプログラムによって生成された値がテーブル値として格納されている。具体例としては、図23(a)に示すように、乱数生成プログラムによって最初に生成された乱数が152であった場合に、参照値0に対応するテーブル値として「10011000」を格納し、次に生成された乱数が59であった場合に、参照値1に対応するテーブル値として「00111011」を格納するようにする。   Further, the EEPROM of the ball lending ticket control unit 22 stores an encryption table shown in FIG. In the encryption table, a table value is stored in association with each value of reference values 0 to 255, and the table value in this example is an 8-bit random value. This table value is a value that cannot be obtained by performing a predetermined operation on the reference value itself. That is, the table value is a value that cannot be directly derived from the reference value, and is not a value obtained by subjecting the reference value to a predetermined operation (for example, an XOR operation with a predetermined key), but a value (for example, a bit) Inverted value). For example, values generated by a program for generating random numbers in the range of integers 0 to 255 are stored as table values. As a specific example, as shown in FIG. 23A, when the random number generated first by the random number generation program is 152, “10011000” is stored as the table value corresponding to the reference value 0, and When the generated random number is 59, “00111011” is stored as the table value corresponding to the reference value 1.

また玉貸発券制御部22のEEPROMは、図23(b)に示す第1制御部暗号化論理を記憶している。この第1制御部暗号化論理とは、玉貸発券制御部22が特定した参照値(本例では暗号キーのビット反転値)に対応するテーブル値に基づいて対象データを暗号化する際の規則である。本例では、テーブル値における最下位ビット〜最上位ビットを各々ビット1〜ビット8として、ビット8(最上位ビット)の値に基づいて対象データのビット反転の有無を決定し(0の場合には反転なし、1の場合には反転有り)、ビット7〜ビット4の各ビット値の合計に基づいて対象データのローテート方向を決定し(偶数の場合は左ローテート、奇数の場合は右ローテート)、ビット3〜ビット1の各ビット値の合計に基づいて対象データのローテートビット数を決定する。図23(b)の例に示すように参照値170に対応するテーブル値が「00110111」である場合、ビット8の値は0であるから対象データの反転を行わず、ビット7〜ビット4の各ビット値(0,1,1,0)の合計が2であるから左ローテートを行い、ビット3〜ビット1の各ビット値(1,1,1)の合計が3であるからローテートビット数を3とする。ここで、ローテートビット数1の左ローテートとは、各ビット値を1ビットずつ上位桁にシフトさせ、最上位桁のビット値は最下位桁にシフトさせる処理である。ローテートビット数3の左ローテートとは、ローテートビット数1の左ローテートを3回繰り返す処理である。   Further, the EEPROM of the ball lending ticket control unit 22 stores the first control unit encryption logic shown in FIG. The first control unit encryption logic is a rule for encrypting the target data based on the table value corresponding to the reference value (in this example, the bit inverted value of the encryption key) specified by the ball lending ticket control unit 22. It is. In this example, the least significant bit to the most significant bit in the table value is set to bit 1 to bit 8, respectively, and whether bit inversion of the target data is determined based on the value of bit 8 (most significant bit) (in the case of 0) Is not inverted, and if 1 is inverted, the rotation direction of the target data is determined based on the sum of each bit value of bit 7 to bit 4 (left rotation for even number, right rotation for odd number) The number of rotation bits of the target data is determined based on the sum of the bit values of bits 3 to 1. As shown in the example of FIG. 23B, when the table value corresponding to the reference value 170 is “00110111”, the value of bit 8 is 0, so the target data is not inverted, and the bits 7 to 4 are not inverted. The left rotation is performed because the sum of each bit value (0, 1, 1, 0) is 2, and the total number of bit values (1, 1, 1) of bit 3 to bit 1 is 3, so the number of rotation bits Is 3. Here, the left rotate with the rotate bit number of 1 is a process of shifting each bit value to the upper digit by 1 bit and shifting the bit value of the most significant digit to the least significant digit. The left rotation with the rotation bit number 3 is a process of repeating the left rotation with the rotation bit number 1 three times.

これら暗号化テーブル及び第1制御部暗号化論理は、計数制御部31でも記憶されている。従って計数制御部31において受信したデータを暗号化テーブル及び第1制御部暗号化論理に基づいて復合化することが可能である。さらに玉貸発券制御部22のEEPROMは、後述する図23(c)に示す第2制御部暗号化論理を記憶している。   These encryption table and first control unit encryption logic are also stored in the counting control unit 31. Therefore, it is possible to decrypt the data received by the counting control unit 31 based on the encryption table and the first control unit encryption logic. Further, the EEPROM of the ball lending ticket control unit 22 stores a second control unit encryption logic shown in FIG.

カードR/W23は、図2(b)に示すように、カード挿入口23aからカード(会員カード2又はビジターカード)の挿入を受け付けて、該カードのICチップからカードID及びプリペイド残額を読み取るものである。カードストッカ23bは、カードR/W23の後方に設けられ、所定枚数(例えば10枚)のビジターカード3を貯留するものである。このカードストッカ23bには、玉貸処理が行われてプリペイド残額が零になり、かつ持玉数が零であるビジターカード3が取り込まれて貯留される(図7のS21c)。またカードR/W23にてカードを受け付けていない状態で紙幣識別機25にて紙幣を受け付けた場合(図7のS01でYES)に、カードストッカ23bで貯留しているビジターカード3(以下、「ストックカード」とも称する。)のうちの1枚が、該カードストッカ23bからカードR/W23に対して搬送されて、カードR/W23にセットされ、カードR/W23は、該セットされたビジターカード3のICチップからカードID及びプリペイド残額(この場合には零)を読み取る(図7のS03)。   The card R / W 23, as shown in FIG. 2 (b), accepts insertion of a card (member card 2 or visitor card) from the card insertion slot 23a, and reads the card ID and the prepaid balance from the IC chip of the card. It is. The card stocker 23b is provided behind the card R / W 23 and stores a predetermined number (for example, 10) of visitor cards 3. In this card stocker 23b, the ball lending process is performed, the prepaid balance becomes zero, and the visitor card 3 having the number of possessed balls is taken in and stored (S21c in FIG. 7). When a bill is accepted by the bill validator 25 in a state where no card is accepted by the card R / W 23 (YES in S01 of FIG. 7), the visitor card 3 stored in the card stocker 23b (hereinafter, “ One of the stock cards is also conveyed from the card stocker 23b to the card R / W 23 and set in the card R / W 23. The card R / W 23 is the visitor card set. The card ID and the prepaid balance (in this case, zero) are read from the IC chip 3 (S03 in FIG. 7).

タッチパネル式のディスプレイ24は、各種の情報を表示する表示デバイスであると共に、各種の情報の入力を受け付ける入力デバイスである。このディスプレイ24では、図4に示すメイン画面が表示される。このメイン画面では、図3のカードテーブルで記憶している持玉数が表示されると共に、該持玉数を使用した持玉払出処理を行うための払出操作を受け付ける「払出」ボタンが表示される。またカードテーブルで貯玉数を記憶している場合(即ちカードR/W23にて会員カードを受け付けている場合)には、該貯玉数が表示されると共に、該貯玉数を使用した貯玉再プレイ処理を行うための再プレイ操作を受け付ける「再プレイ」ボタンが表示される。またメイン画面で表示される持玉数や貯玉数は、カードテーブルで記憶している持玉数や貯玉数が更新される毎に、更新して表示される。   The touch panel display 24 is a display device that displays various types of information and an input device that accepts input of various types of information. On the display 24, a main screen shown in FIG. 4 is displayed. On this main screen, the number of balls currently stored in the card table of FIG. 3 is displayed, and a “payout” button for receiving a payout operation for performing a ball payout process using the number of balls is displayed. The In addition, when the number of stored balls is stored in the card table (that is, when a membership card is accepted at the card R / W 23), the stored ball number is displayed and the stored ball replay process using the stored number of balls is performed. A “replay” button for accepting a replay operation for performing is displayed. Further, the number of possessed balls and the number of stored balls displayed on the main screen are updated and displayed every time the number of retained balls and the number of stored balls stored in the card table are updated.

紙幣識別機25は、図2(b)に示すように、紙幣挿入口25aから紙幣(1000円紙幣,2000円紙幣,5000円紙幣,又は10000円紙幣)の挿入を受け付けて、該紙幣を識別するものである。なお識別された紙幣は、紙幣識別機25の後方に設けられる紙幣通路25b内を搬送されて遊技島に取り込まれ、遊技島内に設けられる搬送路を経て遊技島の端部に設けられる金庫に回収される。   As shown in FIG. 2B, the bill validator 25 accepts insertion of bills (1000 yen bills, 2000 yen bills, 5000 yen bills, or 10000 yen bills) from the bill insertion slot 25a and identifies the bills. To do. The identified banknotes are transported through the banknote passage 25b provided behind the banknote discriminator 25, taken into the game island, and collected in a safe provided at the end of the game island through the transport path provided in the game island. Is done.

多機能ランプ26は、様々な色で点灯及び/又は点滅して発光することにより、該発光態様に応じた報知を行うものであり、例えば図9のS204に示す通信異常報知,図11のS305やS355に示す計数異常報知,図14のS402に示す計数値異常報知等を行う。   The multi-function lamp 26 emits light by lighting and / or blinking in various colors, thereby notifying according to the light emission mode, for example, communication abnormality notification shown in S204 of FIG. 9, S305 of FIG. In addition, the count abnormality notification shown in S355, the count value abnormality notification shown in S402 in FIG.

次に各台計数ユニット50の計数部30について説明する。計数部30は遊技用装置の一部を構成するものであって、遊技媒体であるパチンコ玉を受け入れて計数する計数手段である玉カウンタ35を有すると共に、パチンコ玉を払い出す払出手段としても機能するものである。なお玉カウンタ35により計数されたパチンコ玉は、一部は玉貯留部36に貯留され、その他は遊技島に取り込まれる。この計数部30は、図2(a)に示すように、玉貸発券処理部20の下部において前面に配置される外部ユニット30aと、図2(b)に示すように、玉貸発券処理部20の下部において内部に配置される内部ユニット30bとからなり、この計数部30と前記玉貸発券処理部20とで、遊技用装置である各台計数ユニット50が構成される。以下、計数部30の構造について、図5及び図6を参照して説明する。   Next, the counting unit 30 of each unit counting unit 50 will be described. The counting unit 30 constitutes a part of the gaming apparatus, and has a ball counter 35 that is a counting unit that receives and counts pachinko balls that are game media, and also functions as a payout unit that pays out pachinko balls. To do. Part of the pachinko balls counted by the ball counter 35 are stored in the ball storage unit 36, and others are taken into the game island. As shown in FIG. 2 (a), the counting unit 30 includes an external unit 30a disposed on the front surface in the lower part of the ball lending ticket processing unit 20, and a ball lending ticket processing unit as shown in FIG. 2 (b). The counting unit 30 and the ball lending ticket processing unit 20 constitute an individual unit counting unit 50 that is a gaming device. Hereinafter, the structure of the counting unit 30 will be described with reference to FIGS. 5 and 6.

外部ユニット30aの内部には、図5(b)に示すように、パチンコ機10の下皿から落下されたパチンコ玉を受け入れて載置する玉載置部32と、該玉載置部32の下流側に設けられ、該玉載置部32上のパチンコ玉の玉カウンタ35への受入を可能又は不可能とするシャッタ33と、玉載置部32の下方に設けられる流出路40とが設けられている。ここでシャッタ33は、カードストッカ23bにストックカードが有ることを条件に開放され、該ストックカードが無くなると閉鎖される。またシャッタ33は、カードストッカ23bにストックカードが有っても、計数部30において計数が禁止されると閉鎖される。   Inside the external unit 30a, as shown in FIG. 5 (b), a ball placing portion 32 for receiving and placing a pachinko ball dropped from the lower plate of the pachinko machine 10, and the ball placing portion 32 Provided on the downstream side is a shutter 33 that enables or disables the pachinko ball on the ball mounting portion 32 to be received by the ball counter 35, and an outflow path 40 provided below the ball mounting portion 32. It has been. Here, the shutter 33 is opened on the condition that there is a stock card in the card stocker 23b, and is closed when there is no stock card. Further, even if there is a stock card in the card stocker 23b, the shutter 33 is closed when counting is prohibited in the counting unit 30.

また外部ユニット30aの前面には、図5(a)に示すように、LED(発光ダイオード)41が設けられ、さらに外部ユニット30aの下面には、流出路40の下流側の端部において、該流出路40内を流下したパチンコ玉を受け止める受皿40が設けられている。   Further, as shown in FIG. 5A, an LED (light emitting diode) 41 is provided on the front surface of the external unit 30a, and further, on the lower end of the outflow passage 40 on the lower surface of the external unit 30a, A saucer 40 is provided for receiving a pachinko ball that has flowed down the outflow passage 40.

また内部ユニット30bの内部には、図5(c)に示すように、玉載置部32の下流側の端部に連通する流入路34と、該流入路34の下流側の端部に設けられ、該流入路34内を流下するパチンコ玉を計数する玉カウンタ35と、流入路34の下方に設けられ、玉カウンタ35にて計数されたパチンコ玉の一部を貯留し、その下流側の端部が前記流出路40の上流側の端部に連通する玉貯留部36と、流入路34の下流側の端部に連通し、玉カウンタ35にて計数されたパチンコ玉のうち玉貯留部36に貯留される以外のパチンコ玉を遊技島内に流すための排出路37と、玉貯留部36の下流側の端部に設けられ、該玉貯留部36から払い出されるパチンコ玉を計数する払出カウンタ38とが設けられている。ここで玉貯留部36には、予め定められた払出単位(例えば25玉)に満たない数のパチンコ玉を計数部30から払出可能なように、当該払出単位未満の最大数(即ち24玉)のパチンコ玉が貯留される。   Further, as shown in FIG. 5 (c), the internal unit 30 b is provided with an inflow path 34 that communicates with the downstream end of the ball mounting portion 32 and an downstream end of the inflow path 34. A ball counter 35 that counts pachinko balls flowing down in the inflow path 34, and a part of the pachinko balls that are provided below the inflow path 34 and counted by the ball counter 35 are stored on the downstream side. The ball storage portion 36 whose end portion communicates with the upstream end portion of the outflow passage 40 and the downstream end portion of the inflow passage 34, and the ball storage portion of the pachinko balls counted by the ball counter 35. A discharge path 37 for flowing pachinko balls other than those stored in the amusement island, and a payout counter for counting pachinko balls discharged from the ball storage portion 36, provided at the downstream end of the ball storage portion 36. 38. Here, in the ball storage unit 36, the maximum number (that is, 24 balls) less than the payout unit so that a number of pachinko balls less than a predetermined payout unit (for example, 25 balls) can be paid out from the counting unit 30. Pachinko balls are stored.

そして図1に示すように、シャッタ33を駆動するソレノイド(図示外),玉カウンタ35に設けられる各計数センサ,払出カウンタ38に設けられる払出センサ,及びLED41は、計数部30の計数制御部31に接続されている。   As shown in FIG. 1, a solenoid (not shown) for driving the shutter 33, each counting sensor provided in the ball counter 35, a payout sensor provided in the payout counter 38, and the LED 41 are included in the count control unit 31 of the counting unit 30. It is connected to the.

計数制御部31は、CPU,RAM,ROM,EEPROM等を備えており、ROMに記憶されている処理プログラムがRAMを作業領域としてCPUで実行されることにより、計数制御部31に接続される各構成要素の動作を制御して各種の処理を行うものである。   The count control unit 31 includes a CPU, a RAM, a ROM, an EEPROM, and the like. Each processing program stored in the ROM is executed by the CPU using the RAM as a work area, whereby each count control unit 31 is connected to the count control unit 31. Various operations are performed by controlling the operation of the components.

また計数部30の計数制御部31は、玉貸発券処理部20の玉貸発券制御部22と通信可能に接続されており、両者の間では所定間隔(例えば500msec間隔)でポーリングによる通信が行われる。具体的には、後述する図8等に示すように、まず玉貸発券制御部22から計数制御部31に対して、500msec間隔で、動作指示が送信され、該動作指示に応じて、計数制御部31から玉貸発券制御部22に対して、動作指示応答が返信される。この両者の間における通信については図8等を参照して後述する。   Further, the counting control unit 31 of the counting unit 30 is communicably connected to the ball lending ticket control unit 22 of the ball lending ticket processing unit 20, and communication by polling is performed between the two at a predetermined interval (for example, 500 msec interval). Is called. Specifically, as shown in FIG. 8 and the like which will be described later, first, an operation instruction is transmitted from the ball lending ticket control unit 22 to the count control unit 31 at intervals of 500 msec, and count control is performed according to the operation instruction. An operation instruction response is returned from the unit 31 to the ball rental ticket control unit 22. Communication between the two will be described later with reference to FIG.

また計数制御部31のEEPROMは、図8に示す記憶テーブルを記憶している。この記憶テーブルでは、現在装着されている玉貸発券処理部20の発券部IDと、第1計数処理情報である計数通番と、計数値と、第2払出処理情報である払出通番と、払出予定数と、払出済数とが、対応付けて記憶される。ここで発券部IDは、図19に示すように、対応する玉貸発券制御部22から送信されてくる、該対応する玉貸発券処理部20の発券部IDを示すS1001の接続機器確認指示の受信に基づいて、S1022,S1043,又はS1053で記憶される。また計数通番は、図8に示すように、計数の発生に基づいて、S112で更新して記憶される。また計数値は、計数の進行に応じて、加算更新して記憶される。また払出通番は、図18に示すように、払出開始を示すS802の動作指示G(即ち払出要求)の受信に基づいて、S803で更新して記憶される。また払出予定数は、図18に示すように、払出予定数を示すS802の動作指示G(即ち払出要求)の受信に基づいて、S803で該払出予定数が記憶される。さらに払出済数は、図18に示すように、払出の進行に応じて、加算更新して記憶される。   The EEPROM of the counting control unit 31 stores a storage table shown in FIG. In this storage table, the ticket issuing unit ID of the currently installed ball rental ticket processing unit 20, the counting sequence number that is the first counting processing information, the count value, the dispensing sequence number that is the second dispensing processing information, and the payout schedule The number and the paid-out number are stored in association with each other. Here, as shown in FIG. 19, the ticket issuing unit ID is transmitted from the corresponding ball rental ticket control unit 22 and indicates the connected device confirmation instruction in S1001 indicating the ticket issuing unit ID of the corresponding ball rental ticket processing unit 20. Based on the reception, it is stored in S1022, S1043, or S1053. Further, as shown in FIG. 8, the counting sequence number is updated and stored in S112 based on the occurrence of counting. Further, the count value is added and updated according to the progress of the count and stored. As shown in FIG. 18, the payout serial number is updated and stored in S803 based on the reception of the operation instruction G (that is, payout request) in S802 indicating the start of payout. Further, as shown in FIG. 18, the planned number of payouts is stored in S803 based on the reception of the operation instruction G (that is, the payout request) in S802 indicating the number of payouts. Furthermore, as shown in FIG. 18, the number of paid-outs is added and updated as the payout progresses and stored.

また計数制御部31のEEPROMは、暗号キーの初期値を記憶している。電源投入後に玉貸発券制御部22から計数制御部31に暗号キーが送信され、計数制御部31が記憶している暗号キーとの照合を行う。照合結果が一致すれば、計数制御部31は玉貸発券制御部22に暗号キー応答を送信する。また計数制御部31のEEPROMは、図22(a)に示す認証テーブルを記憶している。この認証テーブルは対となっている玉貸発券制御部22が記憶しているものと同一である。電源投入後には、図22(b)に示すように起動時認証シーケンス1が実行され、各コードの認証要求が順不同に玉貸発券制御部22から計数制御部31に対して送信されるが、計数制御部31は、受信した認証要求に対応するコードを玉貸発券制御部22に対して返信する。   The EEPROM of the counting control unit 31 stores the initial value of the encryption key. After the power is turned on, an encryption key is transmitted from the ball lending ticket control unit 22 to the count control unit 31 and collated with the encryption key stored in the count control unit 31. If the matching results match, the count control unit 31 transmits an encryption key response to the ball lending ticket control unit 22. The EEPROM of the counting control unit 31 stores an authentication table shown in FIG. This authentication table is the same as that stored in the paired ball rental ticket control unit 22. After the power is turned on, the startup authentication sequence 1 is executed as shown in FIG. 22 (b), and the authentication requests for the respective codes are transmitted from the ball lending ticket control unit 22 to the counting control unit 31 in random order. The count control unit 31 returns a code corresponding to the received authentication request to the ball rental ticket control unit 22.

また計数制御部31のEEPROMは、図23(a)に示す暗号化テーブルを記憶している。この暗証化テーブルは対となる玉貸発券制御部22で記憶されているものと同一である。また計数制御部31のEEPROMは、図23(c)に示す第2制御部暗号化論理を記憶している。この第2制御部暗号化論理とは、計数制御部31が特定した参照値(本例では暗号キーのビット反転値)に対応するテーブル値に基づいて暗号化する際の規則である。本例では、テーブル値における最下位ビット〜最上位ビットを各々ビット1〜ビット8として、ビット1(最下位ビット)の値に基づいて対象データのビット反転の有無を決定し(0の場合には反転なし、1の場合には反転有り)、ビット2〜ビット5の各ビット値の合計に基づいて対象データのローテート方向を決定し(偶数の場合は左ローテート、奇数の場合は右ローテート)、ビット6〜ビット8の各ビット値の合計に基づいて対象データのローテートビット数を決定する。図23(c)の例に示すように参照値170に対応するテーブル値が「00110111」である場合、ビット1の値は1であるから対象データの反転を行い、ビット2〜ビット5の各ビット値(1,1,0,1)の合計が3であるから右ローテートを行い、ビット6〜ビット8の各ビット値(1,0,0)の合計が1であるからローテートビット数を1とする。ここで、ローテートビット数1の右ローテートとは、各ビット値を1ビットずつ下位桁にシフトさせ、最下位桁のビット値は最上位桁にシフトさせる処理である。なお、ローテートビット数3の右ローテートとは、ローテートビット数1の右ローテートを3回繰り返す処理である。   The EEPROM of the counting control unit 31 stores an encryption table shown in FIG. This encryption table is the same as that stored in the paired ball rental ticket control unit 22. The EEPROM of the counting control unit 31 stores the second control unit encryption logic shown in FIG. The second control unit encryption logic is a rule for encryption based on the table value corresponding to the reference value (in this example, the bit inverted value of the encryption key) specified by the counting control unit 31. In this example, the least significant bit to the most significant bit in the table value is set to bit 1 to bit 8 respectively, and the presence / absence of bit inversion of the target data is determined based on the value of bit 1 (least significant bit) (when 0) Is inversion, 1 is inversion), and the rotation direction of the target data is determined based on the sum of each bit value of bit 2 to bit 5 (left rotation for even number, right rotation for odd number) The number of rotation bits of the target data is determined based on the sum of the bit values of bits 6 to 8. As shown in the example of FIG. 23C, when the table value corresponding to the reference value 170 is “001110111”, since the value of bit 1 is 1, the target data is inverted, and each of bits 2 to 5 is inverted. Since the sum of bit values (1, 1, 0, 1) is 3, right rotation is performed, and since the sum of bit values (1,0, 0) of bits 6 to 8 is 1, the number of rotate bits is Set to 1. Here, the right rotate with the rotate bit number of 1 is a process of shifting each bit value to the lower digit by one bit and shifting the bit value of the least significant digit to the most significant digit. Note that the right rotate with the rotate bit number 3 is a process of repeating the right rotate with the rotate bit number 1 three times.

これら暗号化テーブル及び第2制御部暗号化論理は、玉貸発券制御部22でも記憶されている。従って玉貸発券制御部22において受信したデータを暗号化テーブル及び第2制御部暗号化論理に基づいて復合化することが可能である。さらに計数制御部31のEEPROMは、図23(b)に示す第1制御部暗号化論理を記憶している。   The encryption table and the second control unit encryption logic are also stored in the ball lending ticket control unit 22. Therefore, it is possible to decrypt the data received by the ball rental ticket control unit 22 based on the encryption table and the second control unit encryption logic. Further, the EEPROM of the count control unit 31 stores the first control unit encryption logic shown in FIG.

ここで図6を参照して、流入路34及び玉カウンタ35の構造について説明する。流入路34は、平面視で並行する第1レーン341と第2レーン342からなる。玉カウンタ35は、第1レーン341の上流側に設けられる計数センサ351aと、第1レーン341の下流側に設けられる計数センサ351bと、第2レーン342の上流側に設けられる計数センサ352aと、第2レーン342の下流側に設けられる計数センサ352bからなる。以下においては、これら計数センサ351a,351b,352a,352bを、単に「計数センサ」と総称する場合がある。   Here, with reference to FIG. 6, the structure of the inflow path 34 and the ball counter 35 is demonstrated. The inflow channel 34 includes a first lane 341 and a second lane 342 which are parallel in plan view. The ball counter 35 includes a counting sensor 351a provided on the upstream side of the first lane 341, a counting sensor 351b provided on the downstream side of the first lane 341, a counting sensor 352a provided on the upstream side of the second lane 342, It consists of a counting sensor 352b provided on the downstream side of the second lane 342. Hereinafter, the counting sensors 351a, 351b, 352a, and 352b may be simply referred to as “counting sensors”.

これら計数センサはフォトセンサであり、第1レーン341において、パチンコ玉が上流側の計数センサ351aを通過した後に下流側の計数センサ351bを通過すると、両計数センサ間の通過時間に応じたパルス幅の計数パルスが出力されて玉貸発券制御部22に入力され、該玉貸発券制御部22においてプラスカウントが行われて計数値が+1される。同様に第2レーン342において、パチンコ玉が上流側の計数センサ352aを通過した後に下流側の計数センサ352bを通過すると、両計数センサ間の通過時間に応じたパルス幅の計数パルスが出力されて玉貸発券制御部22に入力され、該玉貸発券制御部22においてプラスカウントが行われて計数値が+1される。   These counting sensors are photosensors. When the pachinko ball passes through the upstream counting sensor 351b and then passes through the downstream counting sensor 351b in the first lane 341, the pulse width corresponding to the passage time between the two counting sensors. Is output to the ball lending ticket control unit 22, and the ball lending ticket control unit 22 performs a plus count and increments the count value by one. Similarly, in the second lane 342, when the pachinko ball passes the downstream counting sensor 352b after passing the upstream counting sensor 352a, a counting pulse having a pulse width corresponding to the passing time between both counting sensors is output. It is input to the ball lending ticket control unit 22, and the ball lending ticket control unit 22 performs a plus count and increments the count value by one.

なお故障等によりパチンコ玉が逆流し、第1レーン341において、パチンコ玉が下流側の計数センサ351bを通過した後に上流側の計数センサ351aを通過すると、両計数センサ間の通過時間に応じたパルス幅の計数パルスが出力されて玉貸発券制御部22に入力され、該玉貸発券制御部22においてマイナスカウントが行われて計数値が−1される。同様に第2レーン342において、パチンコ玉が下流側の計数センサ352bを通過した後に上流側の計数センサ352aを通過すると、両計数センサ間の通過時間に応じたパルス幅の計数パルスが出力されて玉貸発券制御部22に入力され、該玉貸発券制御部22においてマイナスカウントが行われて計数値が−1される。   If a pachinko ball flows backward due to a failure or the like, and the pachinko ball passes through the counting sensor 351a on the upstream side after passing through the counting sensor 351b on the downstream side in the first lane 341, a pulse corresponding to the passing time between both counting sensors. A width counting pulse is output and input to the ball lending ticket control unit 22, and the ball lending ticket control unit 22 performs a negative count to decrement the count value. Similarly, in the second lane 342, when the pachinko ball passes the downstream counting sensor 352a after passing the downstream counting sensor 352b, a counting pulse having a pulse width corresponding to the passing time between both counting sensors is output. It is input to the ball lending ticket control unit 22, and the ball lending ticket control unit 22 performs a minus count and decrements the count value by −1.

図5に戻り、計数部30におけるパチンコ玉の流れについて説明する。後述する図8に示す待機中(即ちシャッタ33が開放中)に、パチンコ機10の下皿からパチンコ玉が落下されると、該パチンコ玉が玉載置部32上を流下して、シャッタ33を通過し、流入路34内を流下して、玉カウンタ35により計数される。該玉カウンタ35により計数されたパチンコ玉は、玉貯留部36がパチンコ玉で満たされるまでは、図5(c)の矢印A方向に進んで玉貯留部36に貯留され、玉貯留部36がパチンコ玉で満たされた後は、矢印B方向に進み排出路37内を流下して、遊技島内に取り込まれる。なお玉カウンタ35による計数値は、計数制御部31で検知されて、玉貸発券処理部20の玉貸発券制御部22に対して送信されるように構成されているが、これについては図8等を参照して後述する。   Returning to FIG. 5, the flow of the pachinko balls in the counting unit 30 will be described. When a pachinko ball is dropped from the lower plate of the pachinko machine 10 during standby (that is, when the shutter 33 is open) shown in FIG. 8 to be described later, the pachinko ball flows down on the ball mounting portion 32 and the shutter 33 , Flows down in the inflow path 34, and is counted by the ball counter 35. The pachinko balls counted by the ball counter 35 are stored in the ball storage unit 36 in the direction of arrow A in FIG. 5C until the ball storage unit 36 is filled with the pachinko balls. After being filled with pachinko balls, it proceeds in the direction of arrow B, flows down in the discharge path 37, and is taken into the game island. The count value obtained by the ball counter 35 is detected by the count control unit 31 and transmitted to the ball lending ticket control unit 22 of the ball lending ticket processing unit 20. Will be described later with reference to FIG.

次にホールコンピュータ70について説明する。ホールコンピュータ70は、図1に示すように接続される通信部71,制御部72,ハードディスク73,ディスプレイ74,及び入力装置75等を有するコンピュータである。   Next, the hall computer 70 will be described. The hall computer 70 is a computer having a communication unit 71, a control unit 72, a hard disk 73, a display 74, an input device 75, and the like connected as shown in FIG.

通信部71は、複数の島コンピュータ63の各々を介して、各島コンピュータ63の配下にある複数のパチンコ機10及び各台計数ユニット50(玉貸発券処理部20の場内通信部21b)の各々と通信可能に接続されている。制御部72は、CPU,RAM,ROM等を備えており、ROM及びハードディスク73に記憶されている処理プログラムがRAMを作業領域としてCPUで実行されることにより、ホールコンピュータ70に備えられる各構成要素の動作を制御して各種の処理を行うものである。ハードディスク73は、各種の情報を記憶する記憶デバイスである。ディスプレイ74は、各種の情報を表示する表示デバイスであって、例えば液晶ディスプレイであり、入力装置75は、各種の情報の入力を受け付ける入力デバイスであって、例えばキーボードやマウスである。   The communication unit 71 passes through each of the plurality of island computers 63 to each of the plurality of pachinko machines 10 and the respective unit counting units 50 (the on-site communication unit 21b of the ball lending ticket processing unit 20) under the control of each island computer 63. Is communicably connected. The control unit 72 includes a CPU, a RAM, a ROM, and the like. Each processing element stored in the ROM and the hard disk 73 is executed by the CPU using the RAM as a work area, whereby each component included in the hall computer 70 is provided. The various operations are performed by controlling the operation. The hard disk 73 is a storage device that stores various types of information. The display 74 is a display device that displays various types of information, for example, a liquid crystal display. The input device 75 is an input device that receives input of various types of information, and is, for example, a keyboard or a mouse.

次に、図7〜図21を参照して、第1実施形態に係る各台計数ユニット50の作用について説明する。この各台計数ユニット50では、まず電源が投入されて電源投入時処理(図19)が行われてから、営業中処理(図7)や、計数処理(図8)等が行われるが、説明の便宜上、まず図7,図15〜図18を参照して、営業中処理及びそれに関連する処理について説明し、次に図8〜図14を参照して、計数処理及びそれに関連する処理について説明し、次に図19〜図22を参照して、電源投入時処理及びそれに関連する処理について説明し、最後に図23〜図25を参照して、玉貸発券制御部22と計数制御部31との間の通信における情報の暗復号化及びそれに関連する処理について説明する。   Next, with reference to FIGS. 7-21, the effect | action of each stand counting unit 50 which concerns on 1st Embodiment is demonstrated. In each unit counting unit 50, the power is first turned on and the power-on process (FIG. 19) is performed, and then the business process (FIG. 7) and the counting process (FIG. 8) are performed. For convenience, first, with reference to FIG. 7 and FIGS. 15 to 18, the business process and related processes will be described, and with reference to FIGS. 8 to 14, the counting process and related processes will be described. Next, with reference to FIGS. 19 to 22, the power-on process and related processes will be described. Finally, with reference to FIGS. 23 to 25, the ball issue ticket control unit 22 and the count control unit 31. The encryption / decryption of information and the processing related to the communication between the two will be described.

まず図7は、玉貸発券処理部20の玉貸発券制御部22が行う営業中処理の一例を表すフローチャートである。玉貸発券制御部22は、S01で紙幣識別機25による紙幣の受付,又はS02でカードR/W23によるカード(会員カード2又はビジターカード3)の受付を待機している。ここでS01とS02は、当該遊技用装置に対応するパチンコ機10で遊技をする遊技者により行われる。   First, FIG. 7 is a flowchart showing an example of a business process performed by the ball lending ticket control unit 22 of the ball lending ticket processing unit 20. The ball lending ticket control unit 22 waits for acceptance of a bill by the bill validator 25 at S01 or acceptance of a card (member card 2 or visitor card 3) by the card R / W 23 at S02. Here, S01 and S02 are performed by a player who plays a game with the pachinko machine 10 corresponding to the gaming apparatus.

前記S01で紙幣の受付が有ると(YES)、紙幣識別機25は、該受け付けた紙幣を識別し、カードストッカ23bは、S03で、貯留しているビジターカード3のうちの1枚をカードR/W23に対して搬送し、カードR/W23は、搬送されたビジターカード3をセットしてICチップからカードID及びプリペイド残額(この場合には零)を読み取り、玉貸発券制御部22は、S04で入金処理を行う。   If a bill is accepted in S01 (YES), the bill validator 25 identifies the accepted bill, and the card stocker 23b removes one of the stored visitor cards 3 as a card R in S03. The card R / W 23 sets the conveyed visitor card 3 and reads the card ID and the prepaid balance (in this case zero) from the IC chip. A deposit process is performed in S04.

この入金処理において、玉貸発券制御部22は、S03で読み取ったカードIDとS01で識別した紙幣額(即ち入金処理に供された入金額)とを含む加算要求を残額管理装置60に対して送信する。該加算要求を受信した残額管理装置60は、該加算要求に含まれるカードIDに対応付けて管理しているプリペイド残額(この場合には零)に該加算要求に含まれる入金額を加算して、加算完了通知を玉貸発券処理部20に対して返信する。そして該加算完了通知を受信した玉貸発券処理部20の玉貸発券制御部22は、カードテーブルで、S03で読み取ったカードIDに対応付けて、S01で識別した紙幣額をプリペイド残額に加算更新すると共に、残度数表示器14に残度数を表示し、かつカードR/W23により受付中のビジターカード3に該加算更新後のプリペイド残額を記録する処理を行い、入金処理を終了して、S11に進む。   In this deposit process, the ball lending ticket control unit 22 issues an addition request including the card ID read in S03 and the bill amount identified in S01 (that is, the deposited amount provided for the deposit process) to the remaining amount management device 60. Send. The remaining amount management device 60 that has received the addition request adds the deposit amount included in the addition request to the prepaid balance (in this case, zero) that is managed in association with the card ID included in the addition request. The addition completion notification is returned to the ball rental ticket processing unit 20. The ball lending ticket control unit 22 of the ball lending ticket processing unit 20 that has received the notice of completion of addition adds the banknote amount identified in S01 to the prepaid balance in association with the card ID read in S03 on the card table. At the same time, the remaining number is displayed on the remaining number display 14 and the prepaid balance after the addition update is recorded on the visitor card 3 being accepted by the card R / W 23, and the deposit process is terminated. Proceed to

前記S02でカードの受付が有ると(YES)、カードR/W23は、該受け付けたカードのICチップからカードID及びプリペイド残額を読み取り、玉貸発券制御部22は、S05で、該読み取ったカードIDの頭文字(M又はV)に基づいて、受け付けたカードが会員カード2であるか否かを判定する。このS05で会員カード2である(YES)と判定された場合には、玉貸発券制御部22は、S06で貯玉数取得処理を行う。   If the card is received in S02 (YES), the card R / W 23 reads the card ID and the prepaid balance from the IC chip of the received card, and the ball lending ticket control unit 22 reads the card read in S05. It is determined whether or not the accepted card is the membership card 2 based on the initial letter (M or V) of the ID. If it is determined in S05 that the card is a membership card 2 (YES), the ball lending ticket control unit 22 performs the number-of-balls acquisition process in S06.

この貯玉数取得処理において、玉貸発券制御部22は、ディスプレイ24に暗証番号入力画面(図示外)を表示する処理を行い、暗証番号の入力が有ると、S02で読み取ったカードIDと該入力された暗証番号と自己が記憶している貸与レートとを含む貯玉数取得要求を会員管理装置61に対して送信する。該貯玉数取得要求を受信した会員管理装置61は、該貯玉数取得要求に含まれる暗証番号が該貯玉数取得要求に含まれるカードIDに対応付けて記憶している暗証番号と一致するか否かを判定し、一致することを条件として、該カードIDに対応付けて管理している貯玉数のうちの前記貯玉数取得要求に含まれる貸与レートの貯玉数を含む貯玉数情報を玉貸発券処理部20に対して返信する。そして該貯玉数情報を受信した玉貸発券処理部20の玉貸発券制御部22は、カードテーブルで、S02で読み取ったカードIDに対応付けて、該貯玉数情報に含まれる貯玉数を記憶すると共に、メイン画面で貯玉数を表示し、貯玉数取得処理を終了して、S07で持玉数取得処理を行う。   In this stored number acquisition process, the ball lending ticket control unit 22 performs a process of displaying a password input screen (not shown) on the display 24. If a password is input, the card ID read in S02 and the input are input. A request for acquiring the number of stored balls including the received personal identification number and the loan rate stored by itself is transmitted to the member management device 61. The member management device 61 that has received the storage ball number acquisition request determines whether or not the personal identification number included in the storage ball number acquisition request matches the personal identification number stored in association with the card ID included in the storage ball number acquisition request. If the number of stored balls is managed in association with the card ID, the stored ball number information including the number of stored balls at the loan rate included in the stored ball number acquisition request is managed. A reply is sent to the processing unit 20. The ball lending ticket control unit 22 of the ball lending ticket processing unit 20 that has received the stored ball number information stores the number of stored balls included in the stored ball number information in association with the card ID read in S02 in the card table. At the same time, the number of stored balls is displayed on the main screen, the stored number acquisition process is terminated, and the number of acquired balls is processed in S07.

この持玉数取得処理において、玉貸発券制御部22は、S02で読み取ったカードIDと自己が記憶している貸与レートとを含む持玉数取得要求を持玉管理装置62に対して送信する。該持玉数取得要求を受信した持玉管理装置62は、該持玉数取得要求に含まれるカードIDに対応付けて管理している持玉数のうちの該持玉数取得要求に含まれる貸与レートの持玉数を含む持玉数情報を玉貸発券処理部20に対して返信する。そして該持玉数情報を受信した玉貸発券処理部20の玉貸発券制御部22は、カードテーブルで、S02で読み取ったカードIDに対応付けて、該持玉数情報に含まれる持玉数を記憶すると共に、メイン画面で持玉数を表示し、持玉数取得処理を終了して、S08で残額確認処理を行う。   In this number acquisition process, the ball lending ticket control unit 22 transmits a number acquisition request including the card ID read in S02 and the loan rate stored by itself to the coin management device 62. . The ball management device 62 that has received the ball number acquisition request is included in the ball number acquisition request among the ball numbers managed in association with the card ID included in the ball number acquisition request. The number-of-balls information including the number of balls in the loan rate is returned to the ball-lending ticket processing unit 20. The ball lending ticket control unit 22 of the ball lending ticket processing unit 20 that has received the number of possessed balls information is associated with the card ID read in S02 in the card table, and is included in the number of possessed balls information. And the number of possessed balls is displayed on the main screen, the number of possessed balls acquisition process is terminated, and a remaining amount confirmation process is performed in S08.

この残額確認処理において、玉貸発券制御部22は、S02で読み取ったカードIDとプリペイド残額とを含む残額確認要求を残額管理装置60に対して送信する。該残額確認要求を受信した残額管理装置60は、該残額確認要求に含まれるプリペイド残額と該残額確認要求に含まれるカードIDに対応付けて管理しているプリペイド残額とが一致するか否かを判定し、一致することを条件として、該プリペイド残額を含む残額確認通知を玉貸発券処理部20に対して返信する。そして該残額確認通知を受信した玉貸発券処理部20の玉貸発券制御部22は、カードテーブルで、S02で読み取ったカードIDに対応付けて、該残額確認通知に含まれるプリペイド残額を記憶すると共に、残度数表示器14に残度数を表示し、残額確認処理を終了して、S11に進む。   In the remaining amount confirmation process, the ball lending ticket control unit 22 transmits a remaining amount confirmation request including the card ID read in S02 and the prepaid remaining amount to the remaining amount management device 60. The remaining amount management device 60 that has received the remaining amount confirmation request determines whether or not the prepaid remaining amount included in the remaining amount confirmation request matches the prepaid remaining amount managed in association with the card ID included in the remaining amount confirmation request. The remaining amount confirmation notification including the prepaid remaining amount is returned to the ball lending ticket processing unit 20 on the condition that it is determined and matched. The ball lending ticket control unit 22 of the ball lending ticket processing unit 20 that has received the remaining amount confirmation notification stores the prepaid balance included in the remaining amount confirmation notification in association with the card ID read in S02 in the card table. At the same time, the remaining frequency display unit 14 displays the remaining frequency, ends the remaining amount confirmation processing, and proceeds to S11.

前記S05で会員カード2でない(NO)、即ちビジターカード3であると判定された場合には、玉貸発券制御部22は、前記S07の持玉数取得処理と、前記S08の残額確認処理とを行って、S11に進む。   If it is determined in S05 that the card is not a membership card 2 (NO), that is, it is a visitor card 3, the ball lending ticket control unit 22 performs the number-of-balls acquisition process in S07 and the remaining amount confirmation process in S08. And proceed to S11.

S04又はS08の処理が終了すると、玉貸発券処理部20の玉貸発券制御部22は、S11で玉貸ボタン15の操作の受付,S12で紙幣識別機25による紙幣の受付,S14でメイン画面に表示される払出ボタンの操作の受付,S15で会員カード2の受付中においてメイン画面に表示される再プレイボタンの操作の受付,又はS16でカード返却ボタン16の操作の受付を待機する。   When the processing of S04 or S08 ends, the ball lending ticket control unit 22 of the ball lending ticket processing unit 20 accepts the operation of the ball lending button 15 in S11, accepts the banknotes by the bill validator 25 in S12, and main screen in S14. The operation of the payout button displayed on the screen, the operation of the replay button displayed on the main screen during the reception of the member card 2 in S15, or the operation of the card return button 16 in S16 are awaited.

このS11で玉貸ボタン15の操作が有ると(YES)、玉貸発券制御部22は、S21aで玉貸処理を行う。この玉貸処理において、玉貸発券制御部22は、カードテーブルで記憶しているプリペイド残額が予め設定された玉貸設定額(例えば5度数=500円)以上であるか否かを判定し、プリペイド残額が玉貸設定額以上であれば、該玉貸設定額を使用額として特定し、プリペイド残額が玉貸設定額未満であれば、該プリペイド残額を使用額として特定して、該特定した使用額分のパチンコ玉の払出をパチンコ機10の払出制御基板12に対して指令し、カードIDと使用額とを含む減算要求を残額管理装置60に対して送信する。該減算要求を受信した残額管理装置60は、該減算要求に含まれるカードIDに対応付けて管理しているプリペイド残額から該減算要求に含まれる使用額を減算して、減算完了通知を玉貸発券処理部20に対して返信する。そして該減算完了通知を受信した玉貸発券処理部20の玉貸発券制御部22は、カードテーブルで、使用額をプリペイド残額から減算更新すると共に、残度数表示器14に残度数を表示し、かつカードR/W23により受付中のカードに該減算更新後のプリペイド残額を記録する処理を行い、玉貸処理を終了して、S21bに進む。   When there is an operation of the ball lending button 15 in S11 (YES), the ball lending ticket control unit 22 performs a ball lending process in S21a. In this ball lending process, the ball lending ticket control unit 22 determines whether or not the prepaid balance stored in the card table is equal to or greater than a preset ball lending set amount (for example, 5 times = 500 yen), If the prepaid balance is equal to or larger than the ball lending set amount, the ball lending set amount is specified as the used amount. If the prepaid remaining amount is less than the ball lending set amount, the prepaid remaining amount is specified as the used amount and specified. The payout control board 12 of the pachinko machine 10 is instructed to pay out the pachinko balls for the amount used, and a subtraction request including the card ID and the amount used is transmitted to the remaining amount management device 60. The remaining amount management device 60 that has received the subtraction request subtracts the used amount included in the subtraction request from the prepaid remaining amount managed in association with the card ID included in the subtraction request, and issues a subtraction completion notification. A reply is made to the ticket issuing processing unit 20. The ball lending ticket control unit 22 of the ball lending ticket processing unit 20 that has received the subtraction completion notification updates the used amount by subtracting from the prepaid balance in the card table, and displays the remaining number on the remaining number display 14. In addition, a process of recording the prepaid balance after the subtraction update is performed on the card being accepted by the card R / W 23, the ball lending process is terminated, and the process proceeds to S21b.

このS21aの処理を行う玉貸発券制御部22は、対応するパチンコ機10と通信することにより、遊技者が所有する遊技用価値の大きさ(プリペイド残額)に相当するパチンコ玉を該パチンコ機10から払い出して貸与するための貸与処理(玉貸処理)を行う貸与処理手段として機能するものである。   The ball lending ticket control unit 22 that performs the processing of S21a communicates with the corresponding pachinko machine 10 to generate a pachinko ball corresponding to the magnitude of the game value (prepaid balance) owned by the player. It functions as a lending processing means for performing lending processing (ball lending processing) for lending out and lending from.

S21bで、玉貸発券制御部22は、ビジターカード3を受付中かつカードテーブルで記憶しているプリペイド残額及び持玉数が零であるか否かを判定し、NOならば前記S11に戻り、YESならばS21cで当該ビジターカード3をカードストッカ23bに取り込んで、S26bで管理玉数更新処理を行う。この管理玉数更新処理において、玉貸発券制御部22は、カードIDと持玉数(ここでは零)とを含む持玉数更新要求を持玉管理装置62に対して送信する処理を行って、管理玉数更新処理を終了する。なお持玉数更新要求を受信した持玉管理装置62は、該持玉数更新要求に含まれるカードIDに対応付けて管理している持玉数を該持玉数更新要求に含まれる持玉数に更新する。そしてS26bの処理が終了すると、S26cで、玉貸発券制御部22は、カードテーブルの記憶内容を消去して、営業中処理を終了する。   In S21b, the ball lending ticket control unit 22 determines whether or not the prepaid balance and the number of held balls that are being received by the visitor card 3 and stored in the card table are zero. If NO, the process returns to S11. If YES, the visitor card 3 is taken into the card stocker 23b at S21c, and the number of management balls is updated at S26b. In this management ball number update process, the ball lending ticket control unit 22 performs a process of transmitting a ball number update request including the card ID and the number of balls (zero in this case) to the ball management device 62. Then, the management ball number updating process is terminated. The ball management device 62 that has received the number-of-balls update request includes the number of balls managed in association with the card ID included in the number-of-balls update request. Update to number. When the process of S26b ends, in S26c, the ball rental ticket control unit 22 erases the stored contents of the card table and ends the business process.

前記S12で紙幣の受付が有ると(YES)、玉貸発券制御部22は、S22で前記S04と同様の入金処理を行って、S11に戻る。   When there is acceptance of a bill at S12 (YES), the ball lending ticket control unit 22 performs the same depositing process as S04 at S22, and returns to S11.

前記S14で払出ボタンの操作が有ると(YES)、玉貸発券制御部22及び計数制御部31は、S24で持玉払出処理を行う。この持玉払出処理においては、図15に示すように、まずS501で、カードテーブルの持玉数が零であるか否かを判定する。このS501で持玉数が零である(YES)と判定された場合には、S506で、持玉数が零である旨をディスプレイ24に表示するエラー表示を行い、持玉払出処理を終了する。一方、S501で持玉数が零でない(NO)と判定された場合には、S502で、該持玉数が、予め設定されている所定の払出設定数(例えば5度数分の125玉)以上であるか否かを判定する。   When there is an operation of the payout button in S14 (YES), the ball lending ticket control unit 22 and the counting control unit 31 perform a ball payout process in S24. In this ball payout process, as shown in FIG. 15, it is first determined in S501 whether or not the number of balls in the card table is zero. If it is determined in S501 that the number of possessed balls is zero (YES), in S506, an error message is displayed to display on the display 24 that the number of possessed balls is zero, and the ball payout process is terminated. . On the other hand, if it is determined in S501 that the number of held balls is not zero (NO), in S502, the number of held balls is equal to or greater than a predetermined predetermined payout setting number (for example, 125 balls for 5 degrees). It is determined whether or not.

このS502で持玉数が払出設定数以上である(YES)と判定された場合には、S508で、該払出設定数分の単位払出処理を行って、持玉払出処理を終了する。この単位払出処理については、図16で詳述する。一方、S502で持玉数が払出設定数未満である(NO)と判定された場合には、S503で、該持玉数が、前記払出単位数(本例では1度数分の25玉)以上であるか否かを判定する。   If it is determined in S502 that the number of possessed balls is equal to or greater than the set number of payouts (YES), unit payout processing is performed for the set number of payouts in S508, and the ball payout processing is ended. This unit payout process will be described in detail with reference to FIG. On the other hand, if it is determined in S502 that the number of held balls is less than the set number of payouts (NO), in S503, the number of held balls is equal to or greater than the number of payout units (25 balls per one number in this example). It is determined whether or not.

このS503で持玉数が払出単位数以上である(YES)と判定された場合には、S509で、該持玉数が前記払出単位数の整数倍(即ち1度数分の25玉,2度数分の50玉,3度数分の75玉,又は4度数分の100玉)であるか否かを判定する。このS509で持玉数が払出単位数の整数倍である(YES)と判定された場合には、S512で、該持玉数に基づいて払出度数を特定する。具体的には、持玉数が25玉であれば払出度数が1度数,持玉数が50玉であれば払出度数が2度数,持玉数が75玉であれば払出度数が3度数,持玉数が100玉であれば払出度数が4度数と特定する。そしてS513で、該特定した払出度数分の単位払出処理を行って、持玉払出処理を終了する。この単位払出処理については、図16で詳述する。   If it is determined in S503 that the number of held balls is equal to or greater than the number of payout units (YES), in S509, the number of held balls is an integral multiple of the number of payout units (that is, 25 balls for one frequency, 2 times the number). It is determined whether or not it is 50 balls per minute, 75 balls per 3 degrees, or 100 balls per 4 degrees. If it is determined in S509 that the number of held balls is an integral multiple of the number of payout units (YES), in S512, the payout frequency is specified based on the number of held balls. Specifically, if the number of balls is 25 balls, the payout frequency is 1 degree, if the number of balls is 50 balls, the payout frequency is 2 times, if the number of balls is 75 balls, the payout frequency is 3 times, If the number of balls is 100 balls, the payout frequency is specified as 4 times. In S513, a unit payout process for the specified payout frequency is performed, and the coin payout process is terminated. This unit payout process will be described in detail with reference to FIG.

一方、S509で持玉数が払出単位数の整数倍でない(NO)、即ち持玉数が単位未満端数を含むと判定された場合には、S510で、該持玉数に基づいて払出度数と払出端数を特定する。例えば持玉数が40玉であれば払出度数が1度数で払出端数が15玉,持玉数が60玉であれば払出度数が2度数で払出端数が10玉,持玉数が80玉であれば払出度数が3度数で払出端数が5玉,持玉数が120玉であれば払出度数が4度数で払出端数が20玉と特定する。そしてS511で、該特定した払出度数分の単位払出処理を行い、該単位払出処理の終了後に、S505で、該特定した払出端数分の単位未満払出処理を行って、持玉払出処理を終了する。この単位払出処理については、図16で詳述し、単位未満払出処理については、図17で詳述する。   On the other hand, if it is determined in S509 that the number of held balls is not an integral multiple of the number of payout units (NO), that is, it is determined that the number of held balls includes a fraction less than a unit, the payout frequency based on the number of held balls is calculated in S510. Specify the payout fraction. For example, if the number of balls is 40 balls, the payout frequency is 1 and the payout fraction is 15 balls. If the number of balls is 60 balls, the payout frequency is 2 times, the payout fraction is 10 balls, and the number of balls is 80 balls. If there is a payout frequency of 3 and a payout fraction of 5 balls, and a holding ball count of 120 balls, the payout frequency is 4 and the payout fraction is 20 balls. Then, in S511, a unit payout process corresponding to the specified payout frequency is performed. After the unit payout process is completed, a payout process less than a unit corresponding to the specified payout fraction is performed in S505, and the handball payout process is ended. . This unit payout process will be described in detail with reference to FIG. 16, and the less than unit payout process will be described in detail with reference to FIG.

前記S503で持玉数が払出単位数未満である(NO)、即ち持玉数が単位未満端数であると判定された場合には、S504で、該持玉数を払出端数として特定し、S505で、該特定した払出端数分の単位未満払出処理を行って、持玉払出処理を終了する。即ち、この払出処理では、持玉数が払出設定数未満であり払出単位を超えている場合には、単位払出処理(S511)を行った後に単位未満払出処理(S505)を行い、また持玉数が払出設定数未満であり払出単位を超えていない場合には、単位未満払出処理(S505)を行う。そして、これら単位未満払出処理の実行に伴って、後述する図17のS711及びD711に示す払出報知を行うので、遊技者が該払出に対して困惑するのを効果的に防止できる。   If it is determined in S503 that the number of held balls is less than the payout unit number (NO), that is, it is determined that the number of held balls is a fraction less than the unit, in S504, the number of held balls is specified as the payout fraction, and S505 Then, a payout process of less than a unit corresponding to the specified payout fraction is performed, and the coin payout process is ended. That is, in this payout process, if the number of held balls is less than the set number of payouts and exceeds the payout unit, after performing the unit payout process (S511), the less than unit payout process (S505) is performed. If the number is less than the set number of payouts and does not exceed the payout unit, the payout process for less than unit (S505) is performed. And in connection with execution of these less than unit payout processing, since the payout notification shown in S711 and D711 of FIG. 17 described later is performed, it is possible to effectively prevent the player from being confused about the payout.

次に図16を参照して、各台計数ユニット50の玉貸発券制御部22が行う前記単位払出処理について説明する。   Next, with reference to FIG. 16, the unit payout process performed by the ball lending ticket control unit 22 of each vehicle counting unit 50 will be described.

この単位払出処理では、まずS601で、パチンコ機10から送信される払出可能信号(前記PRDYのLOW)を検出中であるか否かを判定する。このS601で払出可能信号を検出中でない(NO)と判定された場合には、S602で、該単位払出処理を中止するエラー処理を行う。一方、S601で払出可能信号を検出中である(YES)と判定された場合には、払出残度数をセットする。具体的には、図15のS508に示す単位払出処理では、払出設定数である125玉に相当する5度数を払出残度数としてセットし、S513に示す単位払出処理では、S512で特定された払出度数を払出残度数としてセットし、S511の単位払出処理では、S510で特定された払出度数を払出残度数としてセットする。   In this unit payout process, first, in S601, it is determined whether or not a payout enable signal (PRDY LOW) transmitted from the pachinko machine 10 is being detected. If it is determined in S601 that a payout enable signal is not being detected (NO), an error process for stopping the unit payout process is performed in S602. On the other hand, if it is determined in S601 that a payout enable signal is being detected (YES), the payout remaining frequency is set. More specifically, in the unit payout process shown in S508 of FIG. 15, 5 degrees corresponding to the payout setting number of 125 balls is set as the remaining payout number, and in the unit payout process shown in S513, the payout specified in S512 The frequency is set as the remaining payout frequency, and in the unit payout process in S511, the payout frequency specified in S510 is set as the remaining payout frequency.

次にS611では、D411に示すように、ディスプレイ24において、前記セットされた払出残度数を表示すると共に、パチンコ機10のアイコン上で上皿23を点滅表示(図では網掛けで表示)し、該点滅する上皿23を矢印で指し示し、さらに「パチンコ機から払い出します」の文言を表示することにより、該パチンコ機10から上皿にパチンコ玉を払い出す旨を報知する払出報知を行う。ここでS611の処理を行う玉貸発券制御部22及びD411の表示を行うディスプレイ24は、単位払出処理に基づくパチンコ機10からのパチンコ玉の払出を遊技者に認識させるための報知を行う払出報知手段として機能するものである。これによれば、後述する図17のS711及びD711に示す、単位未満払出処理に基づく払出報知に加えて、単位払出処理に基づく払出単位(25玉)のパチンコ玉の払出がパチンコ機10から行われることをさらに報知するので、単位払出処理に基づくパチンコ機10からの払出又は単位未満払出処理に基づく各台計数ユニット50の計数部30からの払出のいずれが行われるかを、遊技者が容易に認識できる。   Next, in S611, as shown in D411, on the display 24, the set payout remaining frequency is displayed, and the upper plate 23 is blinked on the icon of the pachinko machine 10 (indicated by shading in the figure). The blinking upper plate 23 is pointed out by an arrow, and further, by displaying the word “I will pay out from the pachinko machine”, a payout notification is made to notify that the pachinko ball is to be paid out from the pachinko machine 10 to the upper plate. Here, the ball lending ticket control unit 22 that performs the process of S611 and the display 24 that displays the D411 perform a payout notification for making a player recognize the payout of the pachinko ball from the pachinko machine 10 based on the unit payout process. It functions as a means. According to this, in addition to the payout notification based on the under-unit payout process shown in S711 and D711 of FIG. 17 to be described later, payout of the payout unit (25 balls) based on the unit payout process is performed from the pachinko machine 10. The player can easily determine whether the payout from the pachinko machine 10 based on the unit payout process or the payout from the counting unit 30 of each unit counting unit 50 based on the subunit payout process is performed. Can be recognized.

次にS612では、BRQをLOWにすることにより、1度数分のパチンコ玉の払出を要求する玉貸要求信号をパチンコ機10に対して送信して、S613で、要求了解信号の受信(EXSのLOWへの切替)を待機し、該要求了解信号を受信すると(YES)、S614で、BRQをHIGHに切り替えることにより、玉貸指令信号をパチンコ機10に対して送信して、S615で、玉貸完了信号(EXSのHIGHへの切替)を待機し、該玉貸完了信号を受信すると(YES)、1度数分の払出が終了したとして、S616で、カードテーブルの持玉数から該1度数分の25玉を減算更新すると共に、D416に示すように、ディスプレイ24で表示されている払出残度数から該1度数を減算表示して、S617で、該減算後の払出残度数が零であるか否かを判定し、零でなければS612に戻り、零であれば単位払出処理を終了する。   Next, in S612, by setting BRQ to LOW, a ball lending request signal for requesting one-time pachinko ball payout is transmitted to the pachinko machine 10, and in S613, a request acknowledge signal is received (EXS When the request acknowledge signal is received (YES), the ball lending command signal is transmitted to the pachinko machine 10 by switching the BRQ to HIGH in S614, and in S615 When waiting for a lending completion signal (switching of EXS to HIGH) and receiving the ball lending completion signal (YES), assuming that the payout for one number of times is completed, in S616, the number of times is determined from the number of balls held in the card table. 25 minutes are subtracted and updated, and as shown in D416, the one frequency is subtracted from the payout remaining number displayed on the display 24. In S617, the payout remaining amount after the subtraction is displayed. There it is determined whether the zero, return to S612 if not zero, and ends the unit payout processing if zero.

次に図17を参照して、各台計数ユニット50の玉貸発券制御部22が行う前記単位未満払出処理について説明する。   Next, with reference to FIG. 17, the less than unit payout process performed by the ball lending ticket control unit 22 of each car counting unit 50 will be described.

この単位未満払出処理では、まずS701で、払出端数をセットする。具体的には、図15のS504で特定された払出端数をセットする。次にS702で、計数部30から出力された貯留玉数出力から特定される、玉貯留部36に貯留されているパチンコ玉の数である貯留残数が、該セットされた払出端数以上であるか否かを判定する。このS702で貯留残数が払出端数未満である(NO)と判定された場合には、S703で、「玉不足のため払出ができません。係員を呼んで下さい。」とディスプレイ24に表示すると共に、多機能ランプ26の点灯状態を、貯留残数エラーが発生したことを報知する所定の点灯態様にて点灯させることにより、貯留残数エラー報知を行って、S704で、エラーが解消するのを待機する。この貯留残数エラー報知により玉貯留部36に貯留されている貯留残数が少ないことを把握した係員は、玉貯留部36にパチンコ玉を補充することで、玉貯留部36からのパチンコ玉の払出しが可能とされて、該エラーが解消する。このS704でエラーが解消すると(YES)、S711に進む。一方、S702で貯留残数が払出端数以上である(YES)と判定された場合にも、S711に進む。   In this less-unit payout process, first, the payout fraction is set in S701. Specifically, the payout fraction specified in S504 of FIG. 15 is set. Next, in S <b> 702, the storage remaining number, which is the number of pachinko balls stored in the ball storage unit 36, specified from the storage ball number output output from the counting unit 30, is equal to or more than the set payout fraction. It is determined whether or not. If it is determined in S702 that the number of remaining storage is less than the payout fraction (NO), in S703, “The payout is not possible due to the shortage of balls. The lighting state of the multi-function lamp 26 is turned on in a predetermined lighting mode for notifying that the remaining storage number error has occurred, so that the remaining storage number error notification is performed and waiting for the error to be resolved in S704. To do. The staff member who has grasped that the remaining storage number stored in the ball storage unit 36 is small by this storage remaining number error notification, supplements the ball storage unit 36 with the pachinko balls, so that the pachinko balls from the ball storage unit 36 The payout is enabled and the error is solved. If the error is resolved in S704 (YES), the process proceeds to S711. On the other hand, if it is determined in S702 that the remaining storage number is equal to or greater than the payout fraction (YES), the process proceeds to S711.

S711では、D711に示すように、ディスプレイ24において、前記セットされた払出端数である払出残数を表示すると共に、パチンコ機10のアイコン上で計数部30を点滅表示(図では網掛けで表示)し、該点滅する計数部30を矢印で指し示し、さらに「計数部から払い出します」の文言を表示することにより、該計数部30からパチンコ玉を払い出す旨を報知する払出報知を行う。ここでS711の処理を行う玉貸発券制御部22及びD711の表示を行うディスプレイ24は、少なくとも単位未満払出処理に基づく計数部30からのパチンコ玉の払出を遊技者に認識させるための払出報知を行う払出報知手段として機能するものである。これによれば、該払出報知を行うことにより、単位未満払出処理に基づく単位未満端数のパチンコ玉の払出が、パチンコ機10からではなく、当該各台計数ユニット50の計数部30から行われることを遊技者に認識させることができるので、遊技者が該払出に対して困惑するのを防止できる。   In S711, as shown in D711, on the display 24, the payout remaining number which is the set payout fraction is displayed, and the counting unit 30 is displayed blinking on the icon of the pachinko machine 10 (indicated by shading in the figure). Then, the blinking counting unit 30 is pointed by an arrow, and further, by displaying the word “I will pay out from the counting unit”, a payout notification for notifying that the pachinko ball is paid out from the counting unit 30 is performed. Here, the ball rental ticket control unit 22 that performs the processing of S711 and the display 24 that displays the D711 display a payout notification for allowing the player to recognize the payout of the pachinko ball from the counting unit 30 based on at least the unit-less payout processing. It functions as a payout notification means to be performed. According to this, by performing the payout notification, the payout of the pachinko balls having a fractional unit fraction based on the payout processing less than the unit is performed not from the pachinko machine 10 but from the counting unit 30 of each counter unit 50. Can be recognized by the player, so that the player can be prevented from being confused about the payout.

即ち、持玉数に基づくパチンコ玉の持玉払出処理が行われる場合において、前記図15で説明したように、持玉数が払出設定数(例えば125玉)以上であれば(S502でYES)、該払出設定数分のパチンコ玉がパチンコ機10からのみ払い出され(S508)、持玉数が払出設定数未満であっても(S502でNO)、持玉数が払出単位数以上であって(S503でYES)払出単位数の整数倍であれば(S509でYES)、該払出単位数の整数倍分のパチンコ玉がパチンコ機10からのみ払い出されるので(S513)、パチンコ玉が計数部30から払い出されるのは、持玉数が払出設定数未満であって払出単位数の整数倍でない場合(S503でYES→S509でNO)と、持玉数が払出単位数未満の場合(S503でNO)に限られるため、該計数部30からの払出が分かりづらく、遊技者が該払出に対して困惑するという問題があったところ、この払出報知を行うことにより、当該払出を遊技者に認識させることができるのである。   That is, in the case where the pachinko ball payout processing based on the number of balls is performed, as described with reference to FIG. 15, if the number of balls is equal to or greater than the payout setting number (for example, 125 balls) (YES in S502). Even if the number of pachinko balls corresponding to the set number of payouts is paid out only from the pachinko machine 10 (S508) and the number of held balls is less than the set number of paidouts (NO in S502), the number of held balls is not less than the number of payout units. (YES in S503), if it is an integral multiple of the number of payout units (YES in S509), the pachinko balls corresponding to the integral multiple of the payout units are paid out only from the pachinko machine 10 (S513), so the pachinko balls are counted. 30 is paid out when the number of balls is less than the set number of payouts and not an integral multiple of the number of payout units (YES in S503 → NO in S509), or when the number of balls is less than the number of payout units (in S503) NO) Since the payout from the counting unit 30 is difficult to understand and there is a problem that the player is confused with the payout, the payout notification can be made to allow the player to recognize the payout. It can be done.

次にS712では、前記払出残数(即ちS701でセットされた払出端数)分のパチンコ玉の払出指示を計数部30に対して出力することにより、パチンコ玉の払出を開始する。該払出指示が入力された計数部30では、払出カウンタ38が開放され、玉貯留部36に貯留されているパチンコ玉が払出カウンタ38を通過して払出センサ(図示外)により計数され、該払出センサによる計数値が払出数に達すると、払出カウンタ38が閉鎖される。払出カウンタ38を通過したパチンコ玉は、流出路39内を流下して、受皿40により受け止められ、遊技者は、該パチンコ玉をパチンコ機10の上皿に供給することにより遊技に使用できる。   Next, in S712, a pachinko ball payout instruction for the number of remaining payouts (that is, the payout fraction set in S701) is output to the counting unit 30 to start paying out pachinko balls. In the counting unit 30 to which the payout instruction is input, the payout counter 38 is opened, and the pachinko balls stored in the ball storage unit 36 pass through the payout counter 38 and are counted by a payout sensor (not shown). When the count value by the sensor reaches the payout number, the payout counter 38 is closed. The pachinko balls that have passed through the payout counter 38 flow down in the outflow passage 39 and are received by the tray 40, and the player can use the pachinko balls in the game by supplying the pachinko balls to the upper plate of the pachinko machine 10.

次にS713で、パチンコ玉の払出を1玉検知する毎に(YES)、S714で、カードテーブルの持玉数から該1玉を減算更新すると共に、D714に示すように、ディスプレイ24で表示されている払出残数から該1玉を減算表示して、S715で、該減算後の払出残数が零であるか否かを判定し、零でなければS713に戻り、零であればS716に進む。ここでS714の処理を行う玉貸発券制御部22及びD714の表示を行うディスプレイ24は、単位未満払出処理を行うことによりパチンコ玉を1つずつ払い出す毎に、これから払い出すパチンコ玉数を更新表示(払出残数を減算更新)する遊技媒体数更新表示手段として機能するものである。これによれば、遊技者が該払出に対して不審に思うのを防止できる。   Next, at S713, every time one payout of a pachinko ball is detected (YES), at S714, one ball is subtracted and updated from the number of balls in the card table, and displayed on the display 24 as shown at D714. In step S715, it is determined whether or not the number of payout remaining after the subtraction is zero. If not, the process returns to step S713. If it is zero, the process returns to step S716. move on. Here, the ball rental ticket control unit 22 that performs the processing of S714 and the display 24 that displays the D714 update the number of pachinko balls to be paid out each time the payout balls are paid out one by one by performing the under-unit payout processing. It functions as a game medium number update display means for displaying (subtracting and updating the payout remaining number). According to this, it is possible to prevent the player from being suspicious of the payout.

次にS716では、D716に示すように、ディスプレイ24において、パチンコ機10のアイコン上で計数部30を点滅表示(図では網掛けで表示)し、該点滅する計数部30を矢印で指し示し、さらに「払出が終わりました」及び「取り忘れにご注意下さい」の文言を表示することにより、取り忘れの防止を促す旨を報知する取り忘れ防止報知を行って、単位未満端数を終了する。ここでS716の処理を行う玉貸発券制御部22及びD716の表示を行うディスプレイ24は、単位未満払出処理により払い出したパチンコ玉を遊技者が取り忘れることを防止するための報知を行う払出報知手段として機能するものである。これによれば、単位未満払出処理で払い出したパチンコ玉の取り忘れを防止できる。なおD716の表示は、所定時間(例えば15秒間)経過後に消去される。   Next, in S716, as shown in D716, on the display 24, the counting unit 30 blinks on the icon of the pachinko machine 10 (indicated by shading in the figure), the blinking counting unit 30 is indicated by an arrow, By displaying the words “payout is over” and “please be careful about forgetting to remove”, a forgetting prevention notification is made to notify that the prevention of forgetting is prevented, and the fractional unit fraction ends. Here, the ball lending ticket control unit 22 that performs the process of S716 and the display 24 that displays the D716 are payout notification means for performing notification to prevent the player from forgetting to take the pachinko ball paid out by the less than unit payout process. It functions as. According to this, it is possible to prevent forgetting to take out the pachinko balls paid out in the unit-less payout process. The display of D716 is erased after a predetermined time (for example, 15 seconds) has elapsed.

次に図18を参照して、各台計数ユニット50の玉貸発券制御部22及び計数制御部31が行う払出処理について説明する。ここで玉貸発券制御部22と計数制御部31は、前述の如く、共に払出通番を記憶している。この払出通番は、玉貸発券制御部22が払出要求(S802の動作指示G)を送信してから計数制御部31が該払出要求を受信するまでの間において1つずれ(具体的には、玉貸発券制御部22の払出通番が+1されてずれる)、計数制御部31が該払出要求を受信して行われる払出中において同一となる番号である。さらに玉貸発券制御部22及び計数制御部31は、払出状態記憶部(図示外)において、払出状態として、「払出中」,又は「払出中でない」と記憶する。   Next, with reference to FIG. 18, the payout process performed by the ball lending ticket control unit 22 and the count control unit 31 of each unit counting unit 50 will be described. Here, both the ball lending ticket control unit 22 and the counting control unit 31 store a payout serial number as described above. This payout serial number is deviated by one from the time when the ball lending ticket control unit 22 transmits a payout request (operation instruction G in S802) until the counting control unit 31 receives the payout request (specifically, The payout serial number of the ball lending ticket control unit 22 is decremented by 1), and the count control unit 31 is the same number during the payout performed when the payout request is received. Further, the ball lending ticket control unit 22 and the counting control unit 31 store “paying” or “not paying” as the payout state in the payout state storage unit (not shown).

玉貸発券制御部22は、図17のS312で払出処理を開始すると、S801で、記憶テーブルで記憶している払出通番を+1し、記憶している払出状態を「払出中」に更新して、S802で、払出開始,前記更新した払出通番,及び払出予定数(即ち図17のS301でセットされた払出端数)を示す動作指示Gを、払出要求として、ポーリングにより計数制御部31に対して送信する。このS801で払出通番が+1されることにより、S802の動作指示Gが計数制御部31に到達するまでは、当該玉貸発券制御部22が記憶している払出通番と計数制御部31が記憶している払出通番とがずれた状態となる。   When starting the payout process in S312 of FIG. 17, the ball lending ticket control unit 22 increments the payout serial number stored in the storage table by 1 and updates the stored payout state to “Paying Out” in S801. In S802, an operation instruction G indicating the start of payout, the updated payout serial number, and the expected payout number (that is, the payout fraction set in S301 in FIG. 17) is sent to the count control unit 31 by polling as a payout request. Send. When the payout serial number is incremented by 1 in S801, the payout serial number stored in the ball lending ticket control unit 22 and the count control unit 31 are stored until the operation instruction G in S802 reaches the count control unit 31. The payout serial number is shifted.

S802の動作指示Gを受信した計数制御部31は、S803で、記憶テーブルで記憶している払出通番を+1し、記憶している払出状態を「払出中」に更新し、動作指示Gが示す払出予定数を記憶テーブルで記憶して、S804で、パチンコ玉の払出を開始し、S805で、払出の進行に伴って、払出済数を記憶テーブルで加算更新して記憶して、S806で、払出中を示す動作指示応答Gを、払出開始通知として、玉貸発券制御部22に対して返信する。このS803で払出通番が+1されることにより、計数制御部31が記憶している払出通番と玉貸発券制御部22が記憶している払出通番とがずれた状態であったのが、一致することになる。S806の動作指示応答Gを受信した玉貸発券制御部22は、該動作指示応答Gを受信した旨を記憶して、S807で、動作指示Hを、ポーリングにより計数制御部31に対して送信し、該動作指示Hを受信した計数制御部31は、払出中であれば、S808で、前記動作指示応答Gを、玉貸発券制御部22に対して返信する。そして玉貸発券制御部22と計数制御部31は、払出が終了するまで、S807〜S808を繰り返す。   Receiving the operation instruction G in S802, the count control unit 31 increments the payout serial number stored in the storage table by 1 in S803, updates the stored payout state to “dispensing”, and the operation instruction G indicates The number of payouts is stored in a storage table, and in step S804, payout of a pachinko ball is started. An operation instruction response G indicating that the payout is in progress is returned to the ball rental ticket control unit 22 as a payout start notification. Since the payout serial number is incremented by 1 in S803, the payout serial number stored in the counting control unit 31 and the payout serial number stored in the ball lending ticket control unit 22 are in a state of being in agreement. It will be. Upon receiving the operation instruction response G in S806, the ball lending ticket control unit 22 stores that the operation instruction response G has been received, and in S807, transmits the operation instruction H to the count control unit 31 by polling. The counting control unit 31 that has received the operation instruction H returns the operation instruction response G to the ball lending ticket control unit 22 in S808 if paying out. The ball lending ticket control unit 22 and the counting control unit 31 repeat S807 to S808 until the payout is completed.

計数制御部31は、S811で、記憶テーブルで記憶している払出済数が該記憶している払出予定数に到達すると、S812で、払出を終了し、記憶している払出状態を「払出中でない」に更新し、記憶テーブルで記憶している払出済数と払出予定数を消去して、S813で、前記動作指示Hを受信すると、S814で、エラーなし,及び払出中でない旨を示す動作指示応答Hを、払出終了通知として、玉貸発券制御部22に対して返信し、該動作指示応答Hを受信した玉貸発券制御部22は、S815で、記憶している払出状態を「払出中でない」に更新して、払出処理を終了する。   In S811, when the number of payouts stored in the storage table reaches the number of payouts stored in S811, the counting control unit 31 ends payout in S812, and sets the stored payout state to “Paying out”. ”Is not updated”, the number of payouts and the number of payouts stored in the storage table are deleted, and when the operation instruction H is received in S813, in S814, an operation indicating no error and not paying out is performed. The instruction response H is returned to the ball lending ticket control unit 22 as a payout completion notification, and the ball lending ticket control unit 22 that has received the operation instruction response H returns the stored payout state to “payout” in S815. Update to “not in” and end the payout process.

この払出処理において、S802の動作指示Gが計数制御部31に到達する前に電断が発生すると、玉貸発券制御部22が記憶している払出通番と計数制御部31が記憶している払出通番とが不一致で、計数制御部31の記憶テーブルで払出予定数の記憶が無く、払出が開始されない状態となる。この状態で電源が投入されると、図19で後述するように、S1015の第1の払出リカバリ処理が行われる。   In this payout process, if a power interruption occurs before the operation instruction G in S802 reaches the count control unit 31, the payout serial number stored in the ball lending ticket control unit 22 and the payout stored in the count control unit 31 The serial number does not match, the storage table of the counting control unit 31 does not store the scheduled payout number, and the payout is not started. When the power is turned on in this state, the first payout recovery process of S1015 is performed as will be described later with reference to FIG.

また払出処理において、計数制御部31がS806の動作指示応答Gを送信してからS814の動作指示応答Hを送信するまでの払出中に電断が発生すると、玉貸発券制御部22が記憶している払出通番と計数制御部31が記憶している払出通番とが一致で、計数制御部31の記憶テーブルで払出予定数及び払出済数の記憶が有り、払出中に該払出が停止された状態となる。この状態で電源が投入されると、図19で後述するように、S1016の第2の払出リカバリ処理が行われる。   Also, in the payout process, if a power interruption occurs during the payout from when the counting control unit 31 transmits the operation instruction response G of S806 to the transmission of the operation instruction response H of S814, the ball lending ticket control unit 22 stores it. The payout serial number matches the payout serial number stored in the counting control unit 31, and the storage table of the counting control unit 31 stores the number of payouts and the number of payouts, and the payout is stopped during the payout. It becomes a state. When the power is turned on in this state, the second payout recovery process of S1016 is performed as will be described later with reference to FIG.

なお玉貸発券処理部20又は計数部30が交換された場合にも、該交換後に電源が投入されると、図19で後述するように、S1018の第1の払出リカバリ処理が行われる。   Even when the ball lending ticket processing unit 20 or the counting unit 30 is replaced, when the power is turned on after the replacement, the first payout recovery process of S1018 is performed as will be described later with reference to FIG.

図7に戻り、前記S15で会員カード2の受付中において再プレイボタンの操作が有ると(YES)、玉貸発券制御部22は、S25で貯玉再プレイ処理を行う。この貯玉再プレイ処理において、玉貸発券制御部22は、カードテーブルで記憶している貯玉数が予め設定された再プレイ設定数(例えば5度数分の125玉)+手数料玉数(例えば25玉)以上であるか否かを判定する。そして貯玉数が再プレイ設定数+手数料玉数以上であれば、該再プレイ設定数分のパチンコ玉の払出をパチンコ機10の払出制御基板12に対して指令し、該再プレイ設定数+手数料玉数をカードテーブルで記憶している貯玉数から減算更新すると共に、メイン画面で貯玉数を更新表示し、貯玉再プレイ処理を終了して、S11に戻る。なお貯玉数が再プレイ設定数+手数料玉数未満であれば、パチンコ玉の払出を行わずに貯玉再プレイ処理を終了して、S11に戻る。   Returning to FIG. 7, if there is an operation of the replay button while accepting the membership card 2 in S15 (YES), the ball lending ticket control unit 22 performs a stored ball replay process in S25. In this stored ball replay process, the ball lending ticket control unit 22 sets the number of stored balls stored in the card table in advance, for example, the replay setting number (for example, 125 balls for 5 degrees) + the number of commission balls (for example, 25 balls) ) Determine whether it is above. If the number of stored balls is equal to or greater than the number of replay settings + the number of fees, the payout control board 12 of the pachinko machine 10 is instructed to pay out the pachinko balls corresponding to the number of replay settings, and the number of replay settings + the fee While subtracting and updating the number of balls from the number of balls stored in the card table, the number of balls is updated and displayed on the main screen, the stored ball replay process is terminated, and the process returns to S11. If the number of stored balls is less than the replay setting number + the number of commission balls, the stored ball replay process is terminated without paying out the pachinko balls, and the process returns to S11.

前記S16でカード返却ボタン16の操作が有ると(YES)、玉貸発券制御部22は、S26aで、カードR/W23にて受付中のカードを返却する処理を行って、S26bで管理玉数更新処理を行う。この管理玉数更新処理において、玉貸発券制御部22は、カードIDと持玉数とを含む持玉数更新要求を持玉管理装置62に対して送信すると共に、受付中のカードが会員カード2である場合にはカードIDと貯玉数とを含む貯玉数更新要求を会員管理装置61に対して送信する処理を行って、管理玉数更新処理を終了する。なお持玉数更新要求を受信した持玉管理装置62は、該持玉数更新要求に含まれるカードIDに対応付けて管理している持玉数を該持玉数更新要求に含まれる持玉数に更新する。また貯玉数更新要求を受信した会員管理装置61は、該貯玉数更新要求に含まれるカードIDに対応付けて管理している貯玉数を該貯玉数更新要求に含まれる貯玉数に更新する。このS26aにてカードを返却する処理と、S26bにおける管理玉数更新処理とが、持玉払出処理に使用されなかった持玉数や貯玉再プレイ処理に使用されなかった貯玉数を景品交換又は他のパチンコ機10での遊技に使用させるために確定させるための確定処理(つまり持玉数や貯玉数を、受付中のカードのカードIDに対応付けて、該カードを返却する処理)に相当する。そしてS26bの処理が終了すると、玉貸発券制御部22は、S26cで、カードテーブルの記憶内容を消去して、営業中処理を終了する。   If there is an operation of the card return button 16 in S16 (YES), the ball lending ticket control unit 22 performs a process of returning the card being accepted by the card R / W 23 in S26a, and manages the number of balls in S26b. Perform update processing. In this management ball number update process, the ball lending ticket control unit 22 transmits a ball number update request including the card ID and the number of balls to the ball management device 62, and the accepted card is a member card. In the case of 2, the number of stored balls update request including the card ID and the number of stored balls is transmitted to the member management device 61, and the management ball number updating process is terminated. The ball management device 62 that has received the number-of-balls update request includes the number of balls managed in association with the card ID included in the number-of-balls update request. Update to number. Also, the member management device 61 that has received the storage ball number update request updates the number of storage balls managed in association with the card ID included in the storage ball number update request to the number of storage balls included in the storage ball number update request. The process of returning the card in S26a and the management ball number updating process in S26b can be used to change the number of balls that have not been used for the ball payout process or the number of stored balls that have not been used for the replay process of the prize or other This corresponds to a confirmation process (ie, a process of returning the card by associating the number of possessed balls and the number of accumulated balls with the card ID of the accepted card) for use in the game of the pachinko machine 10 . When the process of S26b ends, the ball lending ticket control unit 22 erases the stored contents of the card table in S26c, and ends the business process.

このS26a及びS26bの処理を行う玉貸発券制御部22は、玉カウンタ35により計数された遊技媒体数(持玉数)を景品交換又は他のパチンコ機10での遊技に使用させるために確定させるための確定処理を行う確定処理手段として機能するものである。   The ball lending ticket control unit 22 that performs the processing of S26a and S26b determines the number of game media (the number of possessed balls) counted by the ball counter 35 for use in prize exchange or other games in the pachinko machine 10. It functions as a confirmation processing means for performing a confirmation process for this purpose.

次に図8〜図14を参照して、各台計数ユニット50が行う計数処理及びそれに関連する処理について説明する。各台計数ユニット50では、図8に示すように、玉貸発券処理部20の玉貸発券制御部22と計数部30の計数制御部31とが通信を行うことにより、計数制御部31が、玉カウンタ35による計数値を記憶テーブルで記憶すると共に、該計数値を玉貸発券制御部22に対して送信し、玉貸発券制御部22が、該計数値を記憶テーブルで記憶し、計数終了通知(S123の動作指示応答D)を受信すると、記憶テーブルで記憶している計数値をカードテーブルで記憶している持玉数に加算して、確定処理の対象とする。また図10〜図12に示すように、計数制御部31が、計数異常判定処理を行い、図13〜図14に示すように、玉貸発券制御部22が、計数値異常判定処理を行う。   Next, with reference to FIG. 8 to FIG. 14, the counting process performed by each unit counting unit 50 and processes related thereto will be described. In each unit counting unit 50, as shown in FIG. 8, the ball control unit 31 of the ball lending ticket processing unit 20 and the count control unit 31 of the counting unit 30 communicate with each other so that the counting control unit 31 The count value obtained by the ball counter 35 is stored in a storage table, and the count value is transmitted to the ball rental ticket control unit 22. The ball rental ticket control unit 22 stores the count value in the storage table, and the counting is completed. When the notification (operation instruction response D in S123) is received, the count value stored in the storage table is added to the number of possessed balls stored in the card table, and the result is determined. 10 to 12, the count control unit 31 performs a count abnormality determination process, and as illustrated in FIGS. 13 to 14, the ball rental ticket control unit 22 performs a count value abnormality determination process.

まず図8は、各台計数ユニット50が行う計数処理の一例を表すフローチャートである。ここで玉貸発券制御部22と計数制御部31は、前述の如く、共に計数通番を記憶している。この計数通番は、計数の待機中において同一であり、計数が開始されてから次の待機中になるまでの間において1つずれる(具体的には、計数制御部31の計数通番が+1されてずれる)番号である。さらに計数制御部31は、計数状態記憶部(図示外)において、計数状態として、玉カウンタ35による計数が行われていなければ「計数中でない」と記憶し、玉カウンタ35による計数が行われていれば「計数中」と記憶し、一連の計数が終了すると「計数終了検知」と記憶する。   First, FIG. 8 is a flowchart showing an example of the counting process performed by each counter unit 50. Here, both the ball lending ticket control unit 22 and the count control unit 31 store the count sequence number as described above. This counting sequence number is the same during counting standby, and is shifted by one from the start of counting until the next standby (specifically, the counting sequence number of the count control unit 31 is incremented by one). Number). Further, the counting control unit 31 stores “not counting” as the counting state in the counting state storage unit (not shown) unless counting is performed by the ball counter 35, and the counting by the ball counter 35 is performed. Then, “counting in progress” is stored, and when a series of counting ends, “counting end detection” is stored.

玉貸発券制御部22は、S101で、カードR/W23によりカードを受け付けると(図7のS02,S03)、S102で、計数許可,及び計数吸上げ可(即ち記憶テーブルで計数値の記憶可)を示す動作指示Aを、ポーリングにより計数制御部31に対して送信し、該動作指示Aを受信した計数制御部31は、計数状態として「計数中でない」と記憶しているので、S103で、エラーなし,及び計数中でない旨を示す動作指示応答Aを、玉貸発券制御部22に対して返信する。該動作指示応答Aを受信した玉貸発券制御部22は、S104で、指示なし,及び計数吸上げ可を示す動作指示Bを、ポーリングにより計数制御部31に対して送信し、該動作指示Bを受信した計数制御部31は、S105で、前記動作指示応答Aを、玉貸発券制御部22に対して返信する。そして玉貸発券制御部22と計数制御部31は、玉カウンタ35による計数が開始されるまで、S104〜S105を繰り返す。ここでS102〜S105の間が計数の待機中である。   When the ball lending ticket control unit 22 accepts the card with the card R / W 23 in S101 (S02, S03 in FIG. 7), in S102, the count is permitted and the count can be sucked up (that is, the count value can be stored in the storage table). ) Is transmitted to the count control unit 31 by polling, and the count control unit 31 that has received the operation command A stores “not counting” as the count state. Then, an operation instruction response A indicating that there is no error and counting is not performed is returned to the ball rental ticket control unit 22. Upon receiving the operation instruction response A, the ball lending ticket control unit 22 transmits an operation instruction B indicating that there is no instruction and counting up is possible to the count control unit 31 by polling in S104, and the operation instruction B In S105, the count control unit 31 that has received the response returns the operation instruction response A to the ball rental ticket control unit 22. The ball lending ticket control unit 22 and the count control unit 31 repeat S104 to S105 until counting by the ball counter 35 is started. Here, the period between S102 and S105 is waiting for counting.

該計数の待機中において、S111で、玉カウンタ35による計数が開始されると、計数制御部31は、後述する計数異常判定処理にて異常と判定されない限り、該玉カウンタ35による計数値の計数開始からの累積値を記憶テーブルで記憶すると共に、S112で、記憶テーブルで記憶している計数通番を+1し、記憶している計数状態を「計数中」に更新し、計数開始日時をセットする。ここで計数通番が+1されることにより、計数中は、当該計数制御部31が記憶している計数通番と玉貸発券制御部22が記憶している計数通番とがずれた状態となる。次に玉貸発券制御部22は、S113で、前記動作指示Bを、ポーリングにより計数制御部31に対して送信し、該動作指示Bを受信した計数制御部31は、計数状態として「計数中」と記憶しているので、S114で、エラーなし,前記更新した計数通番,計数中である旨,計数値の計数開始からの累積値,及び前記セットした計数開始日時を示す動作指示応答Bを、玉貸発券制御部22に対して返信する。   When the counting by the ball counter 35 is started in S111 while waiting for the counting, the counting control unit 31 counts the count value by the ball counter 35 unless it is determined to be abnormal by a counting abnormality determination process described later. The accumulated value from the start is stored in the storage table, and in S112, the count sequence number stored in the storage table is incremented by 1, the stored count state is updated to “counting”, and the count start date and time is set. . When the counting sequence number is incremented by 1, the counting sequence number stored in the counting control unit 31 and the counting sequence number stored in the ball lending ticket control unit 22 are shifted during counting. Next, in S113, the ball lending ticket control unit 22 transmits the operation instruction B to the count control unit 31 by polling, and the count control unit 31 that has received the operation instruction B receives “ In step S114, an operation instruction response B indicating no error, the updated counting sequence number, that counting is in progress, the cumulative value of the counting value from the count start, and the set count start date and time is displayed. To the ball rental ticket control unit 22.

ここでS111の処理を行う計数制御部31は、玉カウンタ35により計数された遊技媒体数(計数値の累積値)を記憶する遊技媒体数記憶手段として機能するものである。またS114の処理を行う計数制御部31は、単位時間毎(500msec毎)に玉カウンタ35により計数された遊技媒体数(計数値の累積値)を特定可能な計数情報(動作指示応答)を玉貸発券処理部20に対して送信する計数情報送信手段として機能するものである。また該S114の動作指示応答を受信する玉貸発券制御部22は、計数情報送信手段から送信されてくる計数情報(動作指示応答)を受信する計数情報受信手段として機能するものである。   Here, the count control unit 31 that performs the processing of S111 functions as a game medium number storage unit that stores the number of game media counted by the ball counter 35 (accumulated value of the count value). In addition, the count control unit 31 that performs the processing of S114 provides counting information (operation instruction response) that can identify the number of game media (cumulative value of count values) counted by the ball counter 35 every unit time (every 500 msec). It functions as counting information transmission means for transmitting to the lending ticket processing unit 20. The ball lending ticket control unit 22 that receives the operation instruction response in S114 functions as a count information receiving unit that receives the count information (operation instruction response) transmitted from the count information transmitting unit.

前記動作指示応答Bを受信した玉貸発券制御部22は、後述する計数値異常判定処理にて異常と判定されない限り、S115で、該動作指示応答Bが示す計数値の累積値に基づいて、記憶テーブルで計数値を更新する。具体的には、今回受信した動作指示応答Bが示す計数値の累積値から、前回受信した動作指示応答Bが示す計数値の累積値を減算することにより、予め定められた単位時間(ここでは500msec)毎の計数値の増加量を特定し(図13を参照)、後述する計数値異常判定処理にて異常と判定されない限り、該特定した増加量を記憶テーブルの計数値に加算する。そして玉貸発券制御部22と計数制御部31は、玉カウンタ35による最終の計数から所定時間(例えば2秒間)が経過するまで、S113〜S115を繰り返す。なお所定時間は、任意に設定変更可能であり、例えば5秒間,10秒間等であっても良い。   The ball lending ticket control unit 22 that has received the operation instruction response B, based on the accumulated value of the count value indicated by the operation instruction response B in S115, unless determined to be abnormal in a count value abnormality determination process described later, Update the count value in the storage table. Specifically, by subtracting the accumulated value of the count value indicated by the operation instruction response B received last time from the accumulated value of the count value indicated by the operation instruction response B received this time, a predetermined unit time (here, An increase amount of the count value every 500 msec) is specified (see FIG. 13), and the specified increase amount is added to the count value of the storage table unless it is determined to be abnormal in a count value abnormality determination process described later. The ball lending ticket control unit 22 and the count control unit 31 repeat S113 to S115 until a predetermined time (for example, 2 seconds) elapses from the final count by the ball counter 35. The predetermined time can be arbitrarily changed, and may be, for example, 5 seconds, 10 seconds, or the like.

次に計数制御部31は、S116で、玉カウンタ35による最終の計数から所定時間(例えば2秒間)が経過したと判定した後に、S117で、玉貸発券制御部22からポーリングにより送信されてくる動作指示Bを受信すると、S118で、記憶している計数状態を「計数終了検知」に更新し、S119で、エラーなし,計数通番,計数終了検知した旨,及び計数値の累積値(即ち最終的な計数値)を示す動作指示応答Cを、玉貸発券制御部22に対して返信する。ここでS112〜S116の間が計数中であり、また後述する計数異常判定処理を行う期間である。   Next, after determining that a predetermined time (for example, 2 seconds) has elapsed from the final count by the ball counter 35 in S116, the count control unit 31 transmits the polling ticket control unit 22 by polling in S117. When the operation instruction B is received, the stored count state is updated to “count end detection” in S118, and in S119, there is no error, the count sequence number, the count end is detected, and the accumulated value of the count value (ie, the final value) An operation instruction response C indicating a typical count value) is returned to the ball rental ticket control unit 22. Here, the period from S112 to S116 is counting, and is a period for performing the counting abnormality determination process described later.

ここでS116の処理を行う計数制御部31は、玉カウンタ35による計数が途絶えてから予め定められた所定時間が経過したことに基づいて、該玉カウンタ35による一連の計数が終了したと判定する計数終了判定手段として機能するものである。   Here, the counting control unit 31 that performs the process of S116 determines that a series of counting by the ball counter 35 has been completed based on the elapse of a predetermined time after the counting by the ball counter 35 is interrupted. It functions as counting end determination means.

前記動作指示応答Cを受信した玉貸発券制御部22は、S120で、後述する計数値異常判定処理にて異常と判定されない限り、S120で、該動作指示応答Cが示す計数値の累積値に基づいて、記憶テーブルの計数値を更新する。具体的には、今回受信した動作指示応答Cが示す計数値の累積値(即ち最終的な計数値)から、前回受信した動作指示応答Bが示す計数値の累積値を減算することにより、予め定められた単位時間(ここでは500msec)毎の計数値の増加量を特定し(図13を参照)、後述する計数値異常判定処理にて異常と判定されない限り、該特定した増加量を記憶テーブルの計数値に加算する。ここでS115〜S120の間が、後述する計数値異常判定処理を行う期間である。   The ball lending ticket control unit 22 that has received the operation instruction response C sets the accumulated value of the count value indicated by the operation instruction response C in S120 unless it is determined in S120 that the count value abnormality determination process described later is abnormal. Based on this, the count value of the storage table is updated. Specifically, the cumulative value of the count value indicated by the previously received operation instruction response B is subtracted from the cumulative value of the count value indicated by the operation instruction response C received this time (ie, the final count value) in advance. A count value increase amount is determined every predetermined unit time (500 msec in this case) (see FIG. 13), and the specified increase amount is stored in the storage table unless it is determined to be abnormal in a count value abnormality determination process described later. Is added to the count value. Here, the period from S115 to S120 is a period during which a count value abnormality determination process described later is performed.

そして玉貸発券制御部22は、S121で、前記動作指示応答Cが計数終了検知を示すことに基づいて、計数確定指示,及び計数吸上げ可を示す動作指示Cを、ポーリングにより計数制御部31に対して送信し、該動作指示Cを受信した計数制御部31は、S122で、該動作指示Cが計数確定指示を示すことに基づいて、記憶している計数状態を「計数中でない」に更新し、S123で、エラーなし,計数通番,計数中でない旨を示す動作指示応答Dを、玉貸発券制御部22に対して返信する。   Then, in S121, the ball lending ticket control unit 22 polls the count control unit 31 by polling for the count confirmation command and the operation command C indicating that the count siphoning is possible, based on the fact that the operation command response C indicates the completion of counting. In S122, the count control unit 31 that has received the operation instruction C transmits the stored count state to “not counting” based on the fact that the operation instruction C indicates a count confirmation instruction. In step S123, the operation instruction response D indicating that there is no error, the counting sequence number, and that the counting is not being performed is returned to the ball lending ticket control unit 22.

該動作指示応答Dを受信した玉貸発券制御部22は、S124で、該動作指示応答Dが計数中でない旨を示すことに基づいて、記憶テーブルで記憶している計数通番を+1すると共に、記憶テーブルで記憶している計数値をカードテーブルで記憶している持玉数に加算して消去することにより、該計数値を確定処理の対象とする。ここで計数通番が+1されることにより、計数中は計数制御部31が記憶している計数通番と玉貸発券制御部22が記憶している計数通番とがずれた状態であったのが、一致することになる。そして玉貸発券制御部22は、計数通番を更新したことに基づいて、S125で、計数許可,該更新した計数通番,及び計数吸上げ可を示す動作指示Dを、ポーリングにより計数制御部31に対して送信する。なおS125の処理を行った後は、前記S104の処理を行う。   The ball lending ticket control unit 22 that has received the operation instruction response D increments the counting sequence number stored in the storage table by 1 based on the fact that the operation instruction response D indicates that the operation instruction response D is not being counted in S124. By adding the count value stored in the storage table to the number of balls stored in the card table and deleting it, the count value is set as a target for the determination process. Here, when the counting sequence number is incremented by 1, the counting sequence number stored in the counting control unit 31 and the counting sequence number stored in the ball lending ticket control unit 22 are shifted during counting. Will match. Then, the ball lending ticket control unit 22 updates the counting sequence number, and in S125, the ball lending ticket control unit 22 sends an operation instruction D indicating that the counting is permitted, the updated counting sequence number, and the count siphoning permission to the counting control unit 31 by polling. Send to. After the process of S125, the process of S104 is performed.

該動作指示Dを受信した計数制御部31は、S126で、記憶テーブルで記憶している計数通番と該動作指示Dが示す計数通番とが一致することに基づいて、計数値を示す動作指示応答B,Cの送信及び該動作指示応答の送信に伴って玉貸発券処理部20と計数部30とが行うS112〜S124の処理が正常に行われたと判定して、S127で、記憶テーブルで記憶している計数値の累積値を消去する。なおS127では、後述する計数異常3のマイナスカウント値も消去するが、これについては図12を参照して後述する。   Upon receiving the operation instruction D, the count control unit 31 receives an operation instruction response indicating a count value based on the fact that the count sequence number stored in the storage table matches the count sequence number indicated by the operation instruction D in S126. With the transmission of B and C and the transmission of the operation instruction response, it is determined that the processing of S112 to S124 performed by the ball lending ticket processing unit 20 and the counting unit 30 has been performed normally, and stored in the storage table in S127 Delete the accumulated value of the count value. In S127, a minus count value of counting abnormality 3 described later is also deleted, which will be described later with reference to FIG.

ここでS126の処理を行う計数制御部31は、計数情報送信手段による計数情報(動作指示応答)の送信、及び/又は、該計数情報の送信に伴って玉貸発券処理部20と計数部30とが行う処理が、正常に行われたか否かを判定する送信判定手段として機能するものである。またS127の処理を行う計数制御部31は、前記計数終了判定手段により一連の計数が終了したと判定され、該送信判定手段により正常に行われたと判定されたことに基づいて、遊技媒体数記憶手段により記憶している遊技媒体数(計数値の累積値)を消去するための遊技媒体数消去処理を行う遊技媒体数消去処理手段として機能するものである。   Here, the count control unit 31 that performs the processing of S126 transmits the count information (operation instruction response) by the count information transmission unit and / or the ball rental ticket processing unit 20 and the count unit 30 in accordance with the transmission of the count information. Functions as a transmission determination means for determining whether or not the processing performed by and has been performed normally. In addition, the count control unit 31 that performs the process of S127 stores the number of game media based on the determination that the series of counting is completed by the counting end determining unit and that the transmission determining unit determines that the counting is normally performed. It functions as game medium number erasure processing means for performing game medium number erasure processing for erasing the number of game media (accumulated value of count values) stored by the means.

これによれば、動作指示応答の送信及び/又は該動作指示応答の送信に伴って玉貸発券処理部20と計数部30とが行う処理が正常に行われたことを条件として、計数部30が記憶している計数値の累積値が消去されることにより、計数部30は計数値を常に記憶する必要が無くなるので、該計数部30の記憶負担を軽減できる。また一連の計数が終了したことをさらなる条件として、計数部30が記憶している計数値の累積値が消去されることにより、計数部30は一連の計数が終了する毎に計数値を記憶する必要が無くなるので、該計数部30の記憶負担をさらに軽減できる。また一連の計数を計数通番で管理しているので、該計数通番に基づいて、計数日時や計数値を容易に確認することができる。   According to this, on the condition that the processing performed by the ball lending ticket processing unit 20 and the counting unit 30 with the transmission of the operation instruction response and / or the transmission of the operation instruction response is normally performed, the counting unit 30 Since the accumulated value of the count values stored in the memory is deleted, the counting unit 30 does not need to always store the count value, so that the memory load on the counting unit 30 can be reduced. Further, on the condition that the series of counts is completed, the cumulative value of the count values stored in the count unit 30 is deleted, so that the count unit 30 stores the count values every time the series of counts is completed. Since it is not necessary, the storage burden of the counting unit 30 can be further reduced. In addition, since a series of counts is managed by the counting sequence number, the counting date and time and the count value can be easily confirmed based on the counting sequence number.

なお、計数終了検知した旨を示す動作指示応答C(S119)の返信から計数確定指示を示す動作指示C(S121)の受信までの間に計数部30で計数が発生した場合には、計数制御部31は、S122及びS123の処理は行わずに、動作指示応答Bを玉貸発券制御部22に対して返信し、該動作指示応答Bを受信した玉貸発券制御部22は、S124の処理は行わずに、S115の処理を行う。   In addition, when the count is generated in the counting unit 30 from the return of the operation instruction response C (S119) indicating that the count end is detected to the reception of the operation instruction C (S121) indicating the count confirmation instruction, the count control is performed. The unit 31 returns the operation instruction response B to the ball rental ticket control unit 22 without performing the processing of S122 and S123, and the ball rental ticket control unit 22 that has received the operation instruction response B performs the process of S124. The process of S115 is performed without performing.

また、玉貸発券制御部22が計数通番を更新中に計数部30で計数が発生した場合には、計数制御部31は、前記記憶している計数値を加算更新するが、前記記憶している計数通番は更新せず、玉貸発券制御部22からポーリングにより送信されてくる動作指示を受信すると、前記記憶している計数通番と該動作指示が示す計数通番とが一致する(即ち玉貸発券制御部22で計数通番の更新が行われた)ことを条件に、該記憶している計数通番を更新して、以後の計数は該更新した計数通番で行う一方、前記記憶している計数通番と該動作指示が示す計数通番とが一致しない(即ち玉貸発券制御部22で計数通番の更新が行われていない)ことを条件に、前記S112〜S124の処理は前記記憶している(即ち更新前の)計数通番で行う。   In addition, when the counting unit 30 counts while the ball lending ticket control unit 22 is updating the counting sequence number, the counting control unit 31 adds and updates the stored count value, but stores the stored count value. If the operation instruction transmitted by polling from the ball lending ticket control unit 22 is received without updating the counting sequence number being stored, the stored counting sequence number matches the counting sequence number indicated by the operation instruction (that is, the ball lending) The stored count sequence number is updated on the condition that the ticketing control unit 22 has updated the count sequence number), and the subsequent count is performed with the updated count sequence number, while the stored count The processing of S112 to S124 is stored on condition that the serial number and the counting serial number indicated by the operation instruction do not match (that is, the counting serial number is not updated by the ball lending ticket control unit 22) ( That is, it is performed with the counting sequence number (before update).

この計数処理において、S123の動作指示応答Dが玉貸発券制御部22に到達する前に電断が発生すると、玉貸発券制御部22が記憶している払出通番と計数制御部31が記憶している払出通番とが不一致で、玉貸発券制御部22において、記憶テーブルで計数終了後の計数値が記憶されていないか、あるいは計数終了後の計数値が記憶されていても該計数値が持玉数に加算されていないために確定処理の対象となっていない状態となる。この状態で電源が投入されると、図19で後述するように、S1013の計数値リカバリ処理が行われる。   In this counting process, if a power interruption occurs before the operation instruction response D of S123 reaches the ball lending ticket control unit 22, the payout serial number stored in the ball lending ticket control unit 22 and the counting control unit 31 are stored. In the ball lending ticket control unit 22, the count value after the end of the count is not stored in the storage table, or the count value is not stored even if the count value after the end of the count is stored. Since it is not added to the number of holding balls, it will be in the state which is not the object of a finalization process. When the power is turned on in this state, the count value recovery process of S1013 is performed as will be described later with reference to FIG.

なお玉貸発券処理部20又は計数部30が交換された場合にも、該交換後に電源が投入されると、図19で後述するように、S1017の計数値リカバリ処理が行われる。   Even when the ball lending ticket processing unit 20 or the counting unit 30 is replaced, when the power is turned on after the replacement, the count value recovery processing of S1017 is performed as will be described later with reference to FIG.

次に図9は、計数処理においてポーリングの中断を検知した場合の一例を表すフローチャートである。前記図8で説明したS113〜S115の繰り返し中において、計数制御部31は、図9のS201に示すように、一定時間(例えば2秒間)経過してもS113の動作指示Bを受信しないと判定した場合には、S202で、シャッタ33を閉鎖して計数を停止すると共に、LED41を所定の態様で点滅して通信異常である旨を報知する。   Next, FIG. 9 is a flowchart showing an example of a case where polling interruption is detected in the counting process. During the repetition of S113 to S115 described with reference to FIG. 8, the counting control unit 31 determines that the operation instruction B in S113 is not received even after a predetermined time (for example, 2 seconds), as illustrated in S201 of FIG. 9. If so, in S202, the shutter 33 is closed to stop counting, and the LED 41 blinks in a predetermined manner to notify that there is a communication abnormality.

ここでS201の処理を行う計数制御部31は、玉貸発券処理部20との通信の異常を判定する通信異常判定手段として機能するものであり、S202の処理を行う計数制御部31は、該通信異常判定手段により異常判定されたことに基づいて、玉カウンタ35による計数を停止するための計数停止処理(ここではシャッタ33の閉鎖)を行う計数停止処理手段として機能するものである。   Here, the count control unit 31 that performs the process of S201 functions as a communication abnormality determination unit that determines an abnormality in communication with the ball lending ticket processing unit 20, and the count control unit 31 that performs the process of S202 includes Based on the abnormality determination by the communication abnormality determination means, it functions as a count stop processing means for performing a count stop process (here, closing the shutter 33) for stopping the counting by the ball counter 35.

これによれば、計数部30と玉貸発券処理部20との間における通信が正常であれば該計数部30で計数が行われ、通信が異常であれば計数が停止されるので、通信異常の場合には、遊技者が獲得したパチンコ玉を計数せずに残すことができて、遊技者に不利益(例えば計数しても動作指示応答が送信されないので計数値が記憶テーブルの計数値に加算されないという不利益や、計数しても計数値が誤った値になるという不利益等)が発生するのを防止できる。   According to this, if the communication between the counting unit 30 and the ball lending ticket processing unit 20 is normal, the counting is performed by the counting unit 30, and if the communication is abnormal, the counting is stopped. In this case, it is possible to leave the pachinko balls acquired by the player without counting, and disadvantageous to the player (for example, the operation instruction response is not transmitted even if counting, so the count value becomes the count value of the storage table. It is possible to prevent occurrence of disadvantages such as a disadvantage of not being added and a disadvantage that even if counting is performed, the count value becomes an incorrect value.

また計数部30と玉貸発券処理部20との間における通信に異常がある場合に計数を停止することができるので、オフラインを発生させて不正を行うという行為を防止できる。この場合において、オフラインが発生しても計数を停止せず、オンライン復帰後に、計数制御部31が記憶している計数値を玉貸発券制御部22に対して送信するように構成すると、該計数制御部31が記憶している計数値に対して不正が行われる余地があるので、遊技者にとっては不便であるが、計数を停止して、遊技者の手元にパチンコ玉が残るようにしたのである。   Moreover, since it is possible to stop counting when there is an abnormality in communication between the counting unit 30 and the ball lending ticket processing unit 20, it is possible to prevent an act of fraud by generating an offline. In this case, if the counting is not stopped even when offline occurs and the count value stored in the counting control unit 31 is transmitted to the ball lending ticket control unit 22 after returning to the online state, the counting is performed. Since there is room for fraud with respect to the count value stored in the control unit 31, it is inconvenient for the player, but the counting is stopped so that the pachinko ball remains at the player's hand is there.

なお玉貸発券制御部22も、S203で、動作指示Bに対応する動作指示応答Cを受信しないことに基づいて、S204で、多機能ランプ26を所定の態様で発光して通信異常である旨を報知する。   In addition, based on the fact that the ball rental ticket control unit 22 does not receive the operation instruction response C corresponding to the operation instruction B in S203, the multifunctional lamp 26 emits light in a predetermined manner in S204, indicating that there is a communication abnormality. Is notified.

次に図10は、計数制御部31が行う異常判定処理における各エラーの種類を表す図である。計数制御部31は、玉カウンタ35による計数に関する異常を判定する計数異常判定手段として機能するものであり、具体的には、前記計数中において、図10に示す計数異常1(速すぎ),計数異常1(遅すぎ),計数異常1(同一周期で継続),計数異常2,及び計数異常3の各エラーを検知する計数異常判定処理を行う。また計数制御部31は、図10に示す電波異常,片流れ異常,センサ異常(電源ON時),センサ異常(両レーン詰まり),及び玉払出異常の各エラーも検知する。以下、各エラーについて説明する。   Next, FIG. 10 is a diagram illustrating the types of errors in the abnormality determination process performed by the count control unit 31. The counting control unit 31 functions as counting abnormality determining means for determining abnormality relating to counting by the ball counter 35. Specifically, during the counting, the counting abnormality 1 (too fast) and counting shown in FIG. A counting abnormality determination process is performed to detect errors of abnormality 1 (too late), counting abnormality 1 (continuous in the same cycle), counting abnormality 2, and counting abnormality 3. The count control unit 31 also detects each error of radio wave abnormality, single flow abnormality, sensor abnormality (when the power is turned on), sensor abnormality (both lanes clogged), and ball dispensing abnormality shown in FIG. Hereinafter, each error will be described.

まず図10に示す「計数異常1(速すぎ)」は、玉カウンタ35が出力する計数パルスのパルス幅又はパルス間隔が異常に短い場合である。具体的には、まずパチンコ玉の質量及び大きさや、流入路34の傾斜及び摩擦により定まる、異常がない場合における計数値の最大値(パチンコ玉が間隔を空けずに連続して流れてくる場合であり、例えば1レーンあたり20玉/秒)に基づいて、異常がない場合における最短のパルス幅とパルス間隔を特定し、それよりも短いパルス幅とパルス間隔を判定値として予め設定する。そして計数中の玉カウンタ35から出力される計数パルス(プラスカウントのパルス)に基づいて、各計数パルスのパルス幅が前記判定値以下であるか否か,及び各計数パルスのパルス間隔が前記判定値以下であるか否かを判定し、パルス幅又はパルス間隔の少なくとも一方が判定値以下であれば、計数異常1(速すぎ)を検知する。このように、玉カウンタ35が出力する計数パルスのパルス幅又はパルス間隔が異常に短い場合には、不正が行われている可能性が高いため、当該異常を検知するものである。なおパルス幅及びパルス間隔の両方について判定をするのではなく、パルス幅又はパルス間隔のいずれか一方についてのみ判定をするものであっても良い。   First, “counting abnormality 1 (too fast)” shown in FIG. 10 is a case where the pulse width or pulse interval of the counting pulse output from the ball counter 35 is abnormally short. Specifically, first, the maximum value of the count value when there is no abnormality determined by the mass and size of the pachinko balls, the inclination and friction of the inflow passage 34 (when the pachinko balls flow continuously without a gap) The shortest pulse width and pulse interval when there is no abnormality is specified based on, for example, 20 balls / second per lane), and the shorter pulse width and pulse interval are set in advance as determination values. Based on the counting pulse (plus counting pulse) output from the counting ball counter 35, whether or not the pulse width of each counting pulse is equal to or smaller than the determination value, and the pulse interval of each counting pulse is the determination. It is determined whether or not the value is equal to or less than the value. If at least one of the pulse width and the pulse interval is equal to or less than the determination value, the counting abnormality 1 (too fast) is detected. As described above, when the pulse width or pulse interval of the counting pulse output from the ball counter 35 is abnormally short, there is a high possibility that fraud has been performed, and thus the abnormality is detected. It is also possible to make a determination only for either the pulse width or the pulse interval instead of making a determination for both the pulse width and the pulse interval.

また図10に示す「計数異常1(遅すぎ)」は、玉カウンタ35が出力する計数パルスのパルス幅が異常に長い場合である。具体的には、まずパチンコ玉の質量及び大きさや、流入路34の傾斜及び摩擦により定まる、異常がない場合における計数値の最大値(パチンコ玉が間隔を空けずに連続して流れてくる場合であり、例えば1レーンあたり20玉/秒)に基づいて、異常がない場合における最短のパルス幅を特定し、それよりも長いパルス幅(例えば500msec/玉以上)を判定値として予め設定する。そして計数中の玉カウンタ35から出力される計数パルス(プラスカウントのパルス)に基づいて、各計数パルスのパルス幅が前記判定値以上であるか否かを判定し、パルス幅が判定値以上であれば、計数異常1(遅すぎ)を検知する。このように、玉カウンタ35が出力する計数パルスのパルス幅が異常に長い場合にも、不正が行われている可能性が高いため、当該異常を検知するものである。なおパルス間隔について判定をしないのは、異常がない場合であっても、パチンコ玉が間隔を空けて流れてくる場合があり、その場合にはパルス間隔が長くなるためである。   Further, “counting abnormality 1 (too late)” shown in FIG. 10 is a case where the pulse width of the counting pulse output from the ball counter 35 is abnormally long. Specifically, first, the maximum value of the count value when there is no abnormality determined by the mass and size of the pachinko ball, the inclination and friction of the inflow passage 34 (when the pachinko ball flows continuously without a gap) The shortest pulse width when there is no abnormality is specified based on, for example, 20 balls / second per lane), and a longer pulse width (for example, 500 msec / ball or more) is preset as a determination value. Then, based on the counting pulse (plus count pulse) output from the counting ball counter 35, it is determined whether or not the pulse width of each counting pulse is equal to or greater than the determination value, and the pulse width is equal to or greater than the determination value. If there is, counting abnormality 1 (too late) is detected. As described above, even when the pulse width of the counting pulse output from the ball counter 35 is abnormally long, there is a high possibility that fraud is being performed, and thus the abnormality is detected. The reason why the pulse interval is not determined is that even if there is no abnormality, the pachinko balls may flow at intervals, in which case the pulse interval becomes longer.

また図10に示す「計数異常1(同一周期で継続)」は、玉カウンタ35が出力する計数パルスのパルス幅又はパルス間隔が同一周期で所定期間継続している場合である。具体的には、計数中の玉カウンタ35から出力される計数パルス(プラスカウントのパルス)に基づいて、各計数パルスのパルス幅が同一周期で所定期間(例えばX秒間,又はY回)継続しているか否か,及び各計数パルスのパルス間隔が同一周期で所定期間(例えばX秒間,又はY回)継続しているか否かを判定し、パルス幅又はパルス間隔の少なくとも一方が継続していれば、計数異常1(同一周期で継続)を検知する。流入路34を自然流下するパチンコ玉を計数する場合には、計数パルスのパルス幅やパルス間隔にバラツキが生ずるのが自然であるため、該計数パルスのパルス幅やパルス間隔が同一周期で所定期間継続するのは不自然であり、このような場合には不正(例えば外部から一定のパルス幅やパルス間隔計数パルスを送り込むような不正)が行われている可能性が高いため、当該異常を検知するものである。   Further, “counting abnormality 1 (continuous in the same cycle)” shown in FIG. 10 is a case where the pulse width or pulse interval of the counting pulse output from the ball counter 35 continues in the same cycle for a predetermined period. Specifically, based on the counting pulse (plus counting pulse) output from the ball counter 35 during counting, the pulse width of each counting pulse continues for the predetermined period (for example, X seconds or Y times). And whether or not the pulse interval of each counting pulse continues for a predetermined period (for example, X seconds or Y times) in the same cycle, and at least one of the pulse width or the pulse interval is continued. For example, counting abnormality 1 (continuation with the same period) is detected. When counting pachinko balls that naturally flow down the inflow path 34, it is natural that the pulse width and pulse interval of the counting pulse vary, and therefore the pulse width and pulse interval of the counting pulse have the same period and a predetermined period. It is unnatural to continue, and in such a case, it is highly likely that fraud (for example, fraud that sends a constant pulse width or pulse interval count pulse from the outside) is being performed, so the abnormality is detected. To do.

そして計数制御部31は、図11(a)に示すように、S301で、これら計数異常1(速すぎ),計数異常1(遅すぎ),又は計数異常1(同一周期で継続)を検知すると、S302で、シャッタ33を閉鎖して計数を停止すると共に、記憶している計数状態を「計数終了検知」に更新し、S303で、玉貸発券制御部22からポーリングにより送信されてくる動作指示Bを受信すると、S304で、計数異常1を検知した旨,計数通番,計数終了検知した旨,及び計数値の累積値(即ち最終的な計数値)を示す動作指示応答E1を、玉貸発券制御部22に対して返信する。   Then, as shown in FIG. 11A, the counting control unit 31 detects the counting abnormality 1 (too fast), the counting abnormality 1 (too slow), or the counting abnormality 1 (continuing in the same cycle) in S301. In step S302, the shutter 33 is closed to stop counting, and the stored counting state is updated to “counting end detection”. In step S303, an operation instruction transmitted by polling from the ball rental ticket control unit 22 is performed. When B is received, in S304, a ball lending ticket is issued with an operation instruction response E1 indicating that the counting abnormality 1 is detected, the counting sequence number, the counting end is detected, and the accumulated value of the counting value (ie, the final counting value). A reply is sent to the control unit 22.

該動作指示応答E1を受信した玉貸発券制御部22は、S305で、該動作指示応答E1が計数異常1を検知した旨を示すことに基づいて、多機能ランプ26を所定の態様で発光して計数異常1である旨を報知し、S306で、計数確定指示,計数吸上げ可,計数通番,及びLED点滅要求を示す動作指示C’を、ポーリングにより計数制御部31に対して送信し、該動作指示C’を受信した計数制御部31は、S307で、該動作指示C’がLED点滅要求を示すことに基づいて、LED41を所定の態様で点滅して計数異常1である旨を報知すると共に、記憶している計数状態を「計数中でない」に更新し、S308’で計数異常1を検知した旨,計数通番,計数中でない旨を示す動作指示応答D’を、玉貸発券制御部22に対して返信する。   Upon receiving the operation instruction response E1, the ball lending ticket control unit 22 emits the multi-function lamp 26 in a predetermined manner based on the fact that the operation instruction response E1 indicates that the counting abnormality 1 is detected in S305. In step S306, an operation instruction C ′ indicating a count confirmation instruction, count siphoning permission, count serial number, and LED blinking request is transmitted to the count control unit 31 by polling. In step S307, the count control unit 31 that has received the operation instruction C ′ notifies the LED 41 that the count abnormality is 1 by blinking the LED 41 in a predetermined manner based on the LED blink request. At the same time, the stored count state is updated to “not counting”, and the operation instruction response D ′ indicating that the counting abnormality 1 is detected in S308 ′, the counting sequence number, and the counting not being performed is controlled by the ball lending ticket control. Reply to part 22 That.

該動作指示応答D’を受信した玉貸発券制御部22は、S309で、該動作指示応答D’が計数中でない旨を示すことに基づいて、記憶している計数通番を+1する。ここで計数通番が+1されることにより、計数中は計数制御部31が記憶している計数通番と玉貸発券制御部22が記憶している計数通番とがずれた状態であったのが、一致することになる。そして玉貸発券制御部22は、計数通番を更新したことに基づいて、S310で、計数禁止,該更新した計数通番,及び計数吸上げ可を示す動作指示D’を、ポーリングにより計数制御部31に対して送信する。   Receiving the operation instruction response D ′, the ball lending ticket control unit 22 increments the stored count sequence number by 1 based on the fact that the operation instruction response D ′ indicates that the operation instruction response D ′ is not being counted in S 309. Here, when the counting sequence number is incremented by 1, the counting sequence number stored in the counting control unit 31 and the counting sequence number stored in the ball lending ticket control unit 22 are shifted during counting. Will match. Then, the ball lending ticket control unit 22 updates the counting sequence number, and in S310, the counting control unit 31 polls the operation instruction D ′ indicating that the counting is prohibited, the updated counting sequence number, and the count siphoning is possible. Send to.

該動作指示D’を受信した計数制御部31は、S311で、前記記憶している計数通番と該動作指示D’が示す計数通番とが一致することに基づいて、計数値を示す動作指示応答E1の送信及び該動作指示応答の送信に伴って玉貸発券処理部20と計数部30とが行うS305〜S310の処理が正常に行われたと判定して、S311で、前記記憶している計数値の累積値を消去する。なおS311では、後述する計数異常3のマイナスカウント値も消去するが、これについては図12を参照して後述する。   Upon receiving the operation instruction D ′, the count control unit 31 receives an operation instruction response indicating a count value based on the fact that the stored count sequence number matches the count sequence number indicated by the operation instruction D ′ in S311. With the transmission of E1 and the transmission of the operation instruction response, it is determined that the processing of S305 to S310 performed by the ball lending ticket processing unit 20 and the counting unit 30 has been normally performed, and in S311, the stored meter Clear the accumulated value of the numerical value. In S311, a negative count value of counting abnormality 3 described later is also deleted, which will be described later with reference to FIG.

以上に説明したように、計数異常1が発生すると、計数は停止するが、図8のS118〜S127と略同様に、S302〜S311の計数確定シーケンスを行う。ここで計数確定シーケンスを行うのは、計数異常1を検知した後の計数値は無効とするが、計数異常1を検知する前の計数値は確定させて有効とすることにより、遊技者を保護するためである。   As described above, when counting abnormality 1 occurs, the counting stops, but the counting determination sequence of S302 to S311 is performed in substantially the same manner as S118 to S127 of FIG. Here, the count confirmation sequence is performed to invalidate the count value after detection of count abnormality 1, but protect the player by confirming and validating the count value before detection of count abnormality 1. It is to do.

ここでS304の処理を行う計数制御部31は、計数異常判定手段により異常判定されたことに基づいて、異常がある旨の報知を行うための計数異常報知処理を行う計数異常報知処理手段として機能するものであり、ここでは多機能ランプ26での報知及びLED41での報知を行うために、動作指示応答E1を返信するS304の処理を行う。   Here, the count control unit 31 that performs the process of S304 functions as a count abnormality notification processing unit that performs a count abnormality notification process for notifying that there is an abnormality based on the abnormality determination by the count abnormality determination unit. Here, in order to perform notification by the multi-function lamp 26 and notification by the LED 41, the process of S304 for returning the operation instruction response E1 is performed.

次に図10に示す「計数異常2」は、シャッタ33の閉鎖中に玉カウンタ35の計数センサが計数玉を検知した場合である。シャッタ33が閉鎖中の場合には、本来であれば流入路34にパチンコ玉が流入することはなく、玉カウンタ35の計数センサが計数玉を検知した場合には、不正が行われている可能性が高いため、当該異常を検知するものである。   Next, “counting abnormality 2” shown in FIG. 10 is a case where the counting sensor of the ball counter 35 detects the counting ball while the shutter 33 is closed. When the shutter 33 is closed, the pachinko ball does not flow into the inflow path 34, and if the counting sensor of the ball counter 35 detects the counting ball, fraud may be performed. This is because the abnormality is high.

計数制御部31は、図11(b)に示すように、計数禁止中=シャッタ33の閉鎖状態において、S351で、玉カウンタ35の計数センサによる計数が有ると、S352で、計数異常2を検知し、S353で、玉貸発券制御部22からポーリングにより送信されてくる、指示なしを示す一方で計数禁止中であるために計数吸上げ可を示さない動作指示B’を受信すると、S354で、計数異常2を検知した旨,計数通番,計数終了検知した旨,及び計数値の累積値を示す動作指示応答E2を、玉貸発券制御部22に対して返信する。   As shown in FIG. 11B, the counting control unit 31 detects counting abnormality 2 in S352 when counting is prohibited = when counting is performed by the counting sensor of the ball counter 35 in S351 when the shutter 33 is closed. In S353, when the operation instruction B ′ transmitted from the ball lending ticket control unit 22 by polling and indicating that there is no instruction while the count is prohibited because the count is prohibited is received, in S354, An operation instruction response E2 indicating that the counting abnormality 2 is detected, the counting sequence number, the counting end is detected, and the accumulated value of the counting value is returned to the ball lending ticket control unit 22.

該動作指示応答E2を受信した玉貸発券制御部22は、S355で、該動作指示応答E2が計数異常2を検知した旨を示すことに基づいて、多機能ランプ26を所定の態様で発光して計数異常2である旨を報知する。そして玉貸発券制御部22と計数制御部31は、玉カウンタ35による最終の計数から前記所定時間(例えば2秒間)が経過するまで、S353〜S355を繰り返す。   Upon receiving the operation instruction response E2, the ball lending ticket control unit 22 emits the multi-function lamp 26 in a predetermined manner based on the fact that the operation instruction response E2 indicates that the counting abnormality 2 is detected in S355. To notify that the count abnormality is 2. Then, the ball rental ticket control unit 22 and the count control unit 31 repeat S353 to S355 until the predetermined time (for example, 2 seconds) elapses from the final count by the ball counter 35.

そして計数制御部31は、S356で、玉カウンタ35による最終の計数から所定時間(例えば2秒間)が経過したと判定した後に、S357で、玉貸発券制御部22からポーリングにより送信されてくる動作指示B’を受信すると、S358で、計数異常2を検知した旨,計数通番,計数終了検知した旨,及び計数値の累積値(即ち最終的な計数値)を示す動作指示応答C’を、玉貸発券制御部22に対して返信する。   Then, the counting control unit 31 determines that a predetermined time (for example, 2 seconds) has elapsed from the final counting by the ball counter 35 in S356, and then, in S357, the operation transmitted by polling from the ball rental ticket control unit 22. When the instruction B ′ is received, in S358, the operation instruction response C ′ indicating that the count abnormality 2 is detected, the count sequence number, the count end is detected, and the accumulated value of the count value (that is, the final count value) is received. Reply to the ball rental ticket control unit 22.

以上に説明したように、計数異常2が発生しても、計数は停止しないが、計数禁止中のため、計数確定シーケンスは行わない。ここで計数確定シーケンスを行わないのは、計数値を管理する主体が玉貸発券制御部22であるため、玉貸発券制御部22において計数禁止中の場合には、計数値の吸上げ及び確定を行わないからである。   As described above, the counting is not stopped even when the counting abnormality 2 occurs, but the counting determination sequence is not performed because the counting is prohibited. Here, the counting determination sequence is not performed because the subject that manages the count value is the ball lending ticket control unit 22, and when counting is prohibited in the ball lending ticket control unit 22, the count value is sucked up and confirmed. It is because it does not perform.

ここでS354の処理を行う計数制御部31は、計数異常判定手段により異常判定されたことに基づいて、異常がある旨の報知を行うための計数異常報知処理を行う計数異常報知処理手段として機能するものであり、ここでは多機能ランプ26での報知を行うために、動作指示応答E2を返信するS354の処理を行う。   Here, the count control unit 31 that performs the process of S354 functions as a count abnormality notification processing unit that performs a count abnormality notification process to notify that there is an abnormality based on the abnormality determination by the counting abnormality determination unit. Here, in order to perform notification by the multi-function lamp 26, the process of S354 for returning the operation instruction response E2 is performed.

次に図10に示す「計数異常3」は、玉カウンタ35が前記マイナスカウントを検知した場合である。流入路34を自然流下するパチンコ玉を計数する場合には、本来であればマイナスカウントが発生することはなく、該マイナスカウントを検知した場合には、故障等の可能性が高いため、当該異常を検知するものである。   Next, “counting abnormality 3” shown in FIG. 10 is a case where the ball counter 35 detects the minus count. When counting pachinko balls that naturally flow down the inflow channel 34, a negative count will not occur. Is detected.

具体的には、図12(a)に示すように、原則として、マイナスカウントの発生回数が予め定めた閾値(例えば5回)に達すると、計数異常3を検知する。例えば図示のように計数パルスA〜Mが出力された場合には、計数パルスLが出力された時点でマイナスカウントの発生回数が閾値である5回に達するため、この時点で計数異常3を検知する。ただし図12(b)に示すように、計数パルスがプラスカウントから開始した場合には、マイナスカウントの発生回数が閾値に達しなくても、計数値がマイナスになった時点(図示の計数パルスGが出力された時点)で計数異常3を検知する。一方、図12(c)に示すように、計数パルスがマイナスカウントから開始した場合には、マイナスカウントの発生回数が閾値に達する前に、計数値がプラスになった時点(図示の計数パルスEが出力された時点)で、計数開始と判定するが、その後にマイナスカウントの発生回数が閾値達した場合には、原則通り計数異常3を検知する。   Specifically, as shown in FIG. 12A, in principle, when the number of occurrences of minus count reaches a predetermined threshold value (for example, 5 times), the count abnormality 3 is detected. For example, when counting pulses A to M are output as shown in the figure, the number of occurrences of minus count reaches the threshold value of 5 when the counting pulse L is output. To do. However, as shown in FIG. 12B, when the count pulse starts from the plus count, the count value becomes minus (the count pulse G shown in the figure) even if the number of occurrences of minus count does not reach the threshold value. Is detected), the count abnormality 3 is detected. On the other hand, as shown in FIG. 12C, when the counting pulse starts from minus count, the count value becomes positive before the number of occurrences of minus count reaches the threshold (counting pulse E shown in the figure). When the number of occurrences of minus count reaches a threshold value after that, counting abnormality 3 is detected as a rule.

そして計数制御部31が該計数異常3を検知すると、計数制御部31及び玉貸発券制御部22は、図11(a)で説明したのと同様の処理を行う。なお前記図8のS127及び図11(a)のS311で示すように、記憶している計数値の消去と共に、マイナスカウント値も消去され、次回の計数においては、マイナスカウント値は零からスタートする。   When the counting control unit 31 detects the counting abnormality 3, the counting control unit 31 and the ball lending ticket control unit 22 perform the same processing as described with reference to FIG. Note that, as indicated by S127 in FIG. 8 and S311 in FIG. 11 (a), the negative count value is deleted together with the stored count value, and the negative count value starts from zero in the next count. .

次に図10に示す「電波異常」は、計数部30に設けられる電波センサ(図示外)が特定の周波数帯の電波を検知した場合である。また「片流れ異常」は、流入路34の第1レーン341又は第2レーン342のいずれか一方のレーンに設けられる計数センサで計数玉を検知するが、他方のレーンに設けられる計数センサでは計数玉を検知しない場合である。また「センサ異常(電源ON時)」は、玉貸発券処理部20及び計数部30の電源ON時に計数センサ又は払出センサの少なくとも一方で玉有りを検知した場合である。また「センサ異常(両レーン詰まり)」は、流入路34の第1レーン341又は第2レーン342の両方のレーンに設けられる計数センサが玉有りを検知した後、両方のレーンとも所定時間(例えば15秒間)玉有りを検知し続けた場合である。さらに「玉払出異常」は、前記端数払出処理において、玉貸発券制御部22が払出指示を出してから所定時間(例えば5秒間)以内に払出センサが払出玉を検知しない場合である。   Next, “radio wave abnormality” shown in FIG. 10 is a case where a radio wave sensor (not shown) provided in the counting unit 30 detects radio waves in a specific frequency band. The “single flow abnormality” is detected by a counting sensor provided in one of the first lane 341 and the second lane 342 of the inflow channel 34, but is not detected in the counting sensor provided in the other lane. Is not detected. Further, “sensor abnormality (when power is on)” is a case where the presence of a ball is detected when at least one of the counting sensor or the payout sensor when the ball lending ticket processing unit 20 and the counting unit 30 are powered on. In addition, “sensor abnormality (both lanes clogged)” indicates that a counting sensor provided in both lanes of the first lane 341 or the second lane 342 of the inflow channel 34 detects the presence of a ball, and then both lanes have a predetermined time (for example, This is a case where the presence of a ball is continuously detected for 15 seconds. Furthermore, the “ball payout abnormality” is a case where the payout sensor does not detect a payout ball within a predetermined time (for example, 5 seconds) after the ball lending ticket control unit 22 issues a payout instruction in the fraction payout process.

そして計数制御部31がこれら電波異常,片流れ異常,センサ異常(電源ON時),センサ異常(両レーン詰まり),又は玉払出異常の各エラーを検知すると、計数制御部31は、シャッタ33を閉鎖して計数を停止し、玉貸発券制御部22からポーリングにより送信されてくる動作指示を受信すると、各エラーを示す動作指示応答を玉貸発券制御部22に対して返信し、該動作指示応答を受信した玉貸発券制御部22は、多機能ランプ26を該動作指示応答が示す各エラーに応じた態様で発光して報知する。   When the count control unit 31 detects each of the radio wave abnormality, single-flow abnormality, sensor abnormality (when the power is turned on), sensor abnormality (both lanes clogged), or ball payout abnormality, the count control unit 31 closes the shutter 33. When the operation instruction transmitted by polling from the ball lending ticket control unit 22 is received, an operation instruction response indicating each error is returned to the ball lending ticket control unit 22, and the operation instruction response The ball lending ticket control unit 22 that received the light emits and notifies the multi-function lamp 26 in a manner corresponding to each error indicated by the operation instruction response.

次に図13は、玉貸発券制御部22が行う計数値異常判定処理における各エラーを説明する図である。玉貸発券制御部22は、前記計数情報受信手段が受信した計数情報(動作指示応答)から特定される遊技媒体数(計数値)に基づいて異常を判定する遊技媒体数異常判定手段として機能するものであり、具体的には、計数値の累積値を示す動作指示応答B,Cの受信に基づいて、図13(a)に示す計数値異常A,及び図13(b)に示す計数値異常Bの各エラーを検知する計数値異常判定処理を行う。   Next, FIG. 13 is a diagram illustrating each error in the count value abnormality determination process performed by the ball lending ticket control unit 22. The ball rental ticket control unit 22 functions as a game medium number abnormality determination unit that determines abnormality based on the number of game media (count value) specified from the count information (operation instruction response) received by the count information reception unit. Specifically, based on the reception of the operation instruction responses B and C indicating the accumulated value of the count value, the count value abnormality A shown in FIG. 13A and the count value shown in FIG. A count value abnormality determination process for detecting each error of abnormality B is performed.

まず図13(a)に示す「計数値異常A」は、受信した動作指示応答B,Cから特定される、予め定められた単位時間(ここでは500msec)毎の計数値の変動量が、予め定められた閾値(例えば25玉以上)を超えた場合である。具体的には、まずパチンコ玉の質量及び大きさや、流入路34の傾斜及び摩擦により定まるパチンコ玉の最大流量(例えば2レーンで20玉/500msec)に基づいて、該最大流量よりも異常に多い流量(例えば2レーンで25玉以上/500msec)を閾値として予め設定する。そして本例では、単位時間毎に、当該単位時間毎の計数値の累積値を示す動作指示応答B,Cを受信するので、該動作指示応答を受信する毎に、今回受信した動作指示応答が示す計数値の累積値から、前回受信した動作指示応答が示す計数値の累積値を減算することにより、予め定められた単位時間(ここでは500msec)毎の計数値の変動量(増加量)を算出して、該算出した変動量が前記設定した閾値を超えるか否かを判定し、変動量が閾値を超えていれば、計数値異常Aを検知する。このように変動量が閾値を超えている場合には、不正が行われている可能性が高いため、当該異常を検知するものである。   First, “count value abnormality A” shown in FIG. 13 (a) indicates that the fluctuation amount of the count value determined in advance for each predetermined unit time (500 msec in this case) specified from the received operation instruction responses B and C is determined in advance. This is a case where a predetermined threshold value (for example, 25 balls or more) is exceeded. Specifically, based on the mass and size of the pachinko balls, and the maximum flow rate of the pachinko balls determined by the inclination and friction of the inflow passage 34 (for example, 20 balls / 500 msec in 2 lanes), it is abnormally higher than the maximum flow rate. A flow rate (for example, 25 balls or more in 2 lanes / 500 msec) is preset as a threshold value. In this example, since the operation instruction responses B and C indicating the accumulated value of the count value per unit time are received every unit time, the operation instruction response received this time is received every time the operation instruction response is received. By subtracting the accumulated value of the count value indicated by the operation instruction response received last time from the accumulated value of the indicated count value, the fluctuation amount (increase amount) of the count value per predetermined unit time (500 msec in this case) is obtained. It is calculated and it is determined whether or not the calculated fluctuation amount exceeds the set threshold value. If the fluctuation amount exceeds the threshold value, the count value abnormality A is detected. In this way, when the fluctuation amount exceeds the threshold value, there is a high possibility that fraud is being performed, and thus the abnormality is detected.

このように、単位時間毎の計数値の増加量が閾値を超える場合に異常と判定して報知を行うので、不正が行われた可能性が高い場合に報知を行うことができる。また玉貸発券処理部20が、時間の計時を行わなくても、計数部30から送信されてくる単位時間毎の計数値を特定可能な計数情報(動作指示応答)に基づいて、単位時間毎の計数値の増加量を特定できるので、該玉貸発券処理部20における処理を簡略化できる。   As described above, when the increment of the count value per unit time exceeds the threshold value, it is determined that there is an abnormality, and the notification is made. Therefore, it is possible to notify when there is a high possibility that fraud has been performed. Further, the ball lending ticket processing unit 20 does not measure the time, but based on the counting information (operation instruction response) that can specify the count value for each unit time transmitted from the counting unit 30, for each unit time. Therefore, the processing in the ball lending ticket processing unit 20 can be simplified.

また図13(b)に示す「計数値異常B」は、受信した動作指示応答B,Cから特定される、予め定められた単位時間(ここでは500msec)毎の計数値の変動量が、同一のまま予め定められた所定回数(例えば10回)継続の場合である。具体的には、前記計数値異常Aの場合と同様にして、予め定められた単位時間(ここでは500msec)毎の計数値の変動量(増加量)を算出して、該算出した変動量が同一のまま所定回数継続であるか否かを判定し、所定回数継続であれば、計数値異常Bを検知する。流入路34を自然流下するパチンコ玉を計数する場合には、単位時間毎の計数値の変動量にバラツキが生ずるのが自然であるため、該変動量が同一のまま所定回数継続するのは不自然であり、このような場合には不正(例えば計数制御部31と玉貸発券制御部22との間に設けたぶら下げ基板から、一定の計数値を示す動作指示応答を送信するような不正)が行われている可能性が高いため、当該異常を検知するものである。   In addition, the “count value abnormality B” shown in FIG. 13B has the same amount of change in the count value for each predetermined unit time (500 msec in this case) specified from the received operation instruction responses B and C. This is a case where a predetermined number of times (for example, 10 times) is continued. Specifically, in the same manner as in the case of the count value abnormality A, the variation amount (increase amount) of the count value per predetermined unit time (here, 500 msec) is calculated, and the calculated variation amount is It is determined whether or not the same number is continued for a predetermined number of times. If the predetermined number of times is continued, a count value abnormality B is detected. When counting pachinko balls that naturally flow down the inflow passage 34, it is natural that the fluctuation amount of the count value per unit time varies, so it is not possible to continue the predetermined number of times while the fluctuation amount remains the same. Natural and fraudulent in such a case (for example, fraud such as sending an operation instruction response indicating a certain count value from a hanging board provided between the counting control unit 31 and the ball lending ticket control unit 22) Therefore, the abnormality is detected.

そして玉貸発券制御部22は、図14に示すように、S401で、これら計数値異常A,又は計数値異常Bを検知すると、S402で、多機能ランプ26を所定の態様で発光して計数値異常である旨を報知し、S403で、計数禁止,及び計数吸上げ不可を示す動作指示Fを、ポーリングにより計数制御部31に対して送信し、該動作指示Fを受信した計数制御部31は、S404で、前記動作指示応答Bを、玉貸発券制御部22に対して返信する。そして玉貸発券制御部22と計数制御部31は、玉カウンタ35による最終の計数から所定時間(例えば2秒間)が経過するまで、S403〜S404を繰り返す。   Then, as shown in FIG. 14, when the ball lending ticket control unit 22 detects the count value abnormality A or the count value abnormality B in S401, the multifunctional lamp 26 emits light in a predetermined manner in S402. An operation instruction F indicating that the numerical value is abnormal is transmitted and an operation instruction F indicating that counting is prohibited and counting is not allowed to be transmitted is transmitted to the count control unit 31 by polling and the operation instruction F is received in S403. Returns the operation instruction response B to the ball rental ticket control unit 22 in S404. The ball lending ticket control unit 22 and the count control unit 31 repeat S403 to S404 until a predetermined time (for example, 2 seconds) elapses from the final count by the ball counter 35.

ここでS402の処理を行う玉貸発券制御部22は、遊技媒体数異常判定手段により異常判定されたことに基づいて、異常がある旨の報知を行うための遊技媒体数異常報知処理(計数値異常報知処理)を行う遊技媒体数異常報知処理手段として機能するものである。   Here, the ball lending ticket control unit 22 that performs the process of S402, based on the abnormality determination by the game medium number abnormality determination means, a game medium number abnormality notification process (count value) for notifying that there is an abnormality. It functions as an abnormality notification processing means for the number of game media for performing (abnormality notification processing).

次に計数制御部31は、S405で、玉カウンタ35による最終の計数から所定時間(例えば2秒間)が経過したと判定した後に、S406で、玉貸発券制御部22からポーリングにより送信されてくる動作指示Fを受信すると、S407で、記憶している計数状態を「計数終了検知」に更新し、S408で、前記動作指示応答Cを、玉貸発券制御部22に対して返信する。   Next, after determining that a predetermined time (for example, 2 seconds) has elapsed from the final count by the ball counter 35 in S405, the count control unit 31 transmits the polling ticket control unit 22 by polling in S406. When the operation instruction F is received, the stored count state is updated to “counting end detection” in S407, and the operation instruction response C is returned to the ball rental ticket control unit 22 in S408.

以上に説明したように、計数値異常が発生しても、計数は停止しないが、計数禁止中のため、玉貸発券制御部22は、計数値の吸上げは行わず、計数確定シーケンスも行わない。ここで計数確定シーケンスを行わないのは、玉貸発券処理部20が故障している可能性があるからであり、このように故障している玉貸発券処理部20の玉貸発券制御部22で計数値の吸上げ及び確定を行うのは適切でないからである。なお玉貸発券処理部20が故障している場合には、計数部30を別の故障していない玉貸発券処理部20と接続することにより、当該玉貸発券処理部20において計数部30が記憶している計数値を吸い上げて確定させることができる。   As described above, counting does not stop even if a counting value abnormality occurs, but counting is prohibited, so the ball lending ticket control unit 22 does not suck up the counting value and also performs a counting determination sequence. Absent. The reason why the counting confirmation sequence is not performed here is that there is a possibility that the ball lending ticket processing unit 20 is out of order, and thus the ball lending ticket control unit 22 of the ball lending ticket processing unit 20 that has failed in this way. This is because it is not appropriate to take up and confirm the count value. When the ball lending ticket processing unit 20 is out of order, the counting unit 30 is connected to another ball lending ticket processing unit 20 that is not out of order so that the counting unit 30 is connected to the ball lending ticket processing unit 20. The stored count value can be taken up and confirmed.

以上に説明した本発明によれば、計数部30における計数に関する異常を監視できると共に、計数部30から玉貸発券処理部20に送信される計数情報(動作指示応答)から特定される遊技媒体数(計数値)の該玉貸発券処理部20における異常を監視できるので、前者の監視のみを行う場合に比べて、当該各台計数ユニット50で行われる計数に伴う異常をより正確に監視できる。特に計数制御部31による計数異常報知処理が行われないにも関わらず、玉貸発券制御部22による計数値異常報知処理が行われた場合には、計数部30と玉貸発券処理部20との間の通信における異常(例えば計数制御部31と玉貸発券制御部22との間に設けたぶら下げ基板から、一定の計数値を示す動作指示応答を送信するような不正)が発生したと特定することができる。   According to the present invention described above, an abnormality relating to counting in the counting unit 30 can be monitored, and the number of game media specified from the counting information (operation instruction response) transmitted from the counting unit 30 to the ball lending ticket processing unit 20 Since the abnormality in the ball lending ticket processing unit 20 of (count value) can be monitored, the abnormality associated with the counting performed by each counter unit 50 can be monitored more accurately than in the case where only the former is monitored. In particular, when the count value abnormality notifying process by the ball lending ticket control unit 22 is performed even though the count abnormality notifying process by the count control unit 31 is not performed, the counting unit 30 and the ball lending ticket processing unit 20 Specified that an abnormality occurred in communication between the two (for example, fraud such as sending an operation instruction response indicating a certain count value from a hanging board provided between the counting control unit 31 and the ball lending ticket control unit 22) can do.

次に図19〜図22を参照して、各台計数ユニット50が行う電源投入時処理及びそれに関連する処理について説明する。   Next, with reference to FIG. 19 to FIG. 22, the power-on process performed by each counter unit 50 and the process related thereto will be described.

まず図19は、各台計数ユニット50が行う電源投入時処理の一例を表すフローチャートである。各台計数ユニット50において、S1000で、電源が投入され、図22(b)に示す起動時認証シーケンス1が完了すると、玉貸発券制御部22は、S1001で、記憶テーブルで記憶している発券部ID,及び計数通番を示す接続機器確認指示を、接続確認要求として、計数制御部31に対して送信し、該接続機器確認指示を受信した計数制御部31は、S1002で、記憶テーブルで記憶している発券部ID,計数通番,計数値,及び払出通番を示す接続機器確認応答を、接続情報として、玉貸発券制御部22に対して返信する。なお記憶テーブルで記憶している発券部ID,計数通番,計数値,及び/又は払出通番が存在しない場合(例えば当該計数部30を初めて装着した場合)には、該存在しないデータを含まない接続機器確認応答を返信する。   First, FIG. 19 is a flowchart showing an example of power-on processing performed by each counter unit 50. In each unit counting unit 50, when the power is turned on in S1000 and the start-up authentication sequence 1 shown in FIG. 22B is completed, the ball lending ticket control unit 22 issues a ticket stored in the storage table in S1001. The connected device confirmation instruction indicating the part ID and the counting sequence number is transmitted as a connection confirmation request to the count control unit 31. The count control unit 31 that has received the connected device confirmation instruction stores the stored device information in the storage table in S1002. The connected device confirmation response indicating the ticket issuing unit ID, the counting sequence number, the count value, and the paying out sequence number is returned as connection information to the ball rental ticket control unit 22. If the ticket issuing unit ID, the counting sequence number, the count value, and / or the dispensing sequence number stored in the storage table does not exist (for example, when the counting unit 30 is first mounted), the connection does not include the nonexistent data. A device confirmation response is returned.

該接続機器確認応答を受信した玉貸発券制御部22は、S1010で、該接続機器確認応答が示す発券部ID(即ち計数制御部31の記憶テーブルで記憶している発券部ID)と自己の発券部ID(即ち玉貸発券制御部22の記憶テーブルで記憶している発券部ID)とが一致するか否かを判定する。なお該接続機器確認応答に発券部ID,計数通番,及び/又は払出通番が含まれない場合には、以下に述べる発券部ID,計数通番,払出通番の一致判定において不一致と判定される。   In S1010, the ball lending ticket control unit 22 that has received the connected device confirmation response and the ticket issuing unit ID indicated by the connected device confirmation response (that is, the ticket issuing unit ID stored in the storage table of the counting control unit 31) and its own It is determined whether or not the ticket issuing unit ID (that is, the ticket issuing unit ID stored in the storage table of the ball rental ticket control unit 22) matches. If the ticket issuing unit ID, the counting sequence number, and / or the dispensing sequence number are not included in the connected device confirmation response, it is determined that the ticket issuing unit ID, the counting sequence number, and the dispensing sequence number are inconsistent in the following.

このS1010で発券部IDが一致しない(NO)、即ち玉貸発券処理部20又は計数部30が交換されたと判定された場合には、玉貸発券制御部22は、S1017で、計数値リカバリ処理を行い、S1018で、第1の払出リカバリ処理を行って、電源投入時処理を終了する。   If it is determined in S1010 that the ticket issuing unit IDs do not match (NO), that is, it is determined that the ball lending ticket processing unit 20 or the counting unit 30 has been replaced, the ball lending ticket control unit 22 performs the count value recovery process in S1017. In step S1018, the first payout recovery process is performed, and the power-on process ends.

この計数値リカバリ処理では、玉貸発券制御部22は、S1031で、記憶テーブルで記憶している計数通番を前記S1002で受信した接続機器確認応答が示す計数通番に更新すると共に、該計数通番に対応付けて該接続機器確認応答に含まれる計数値を記憶し、さらに該計数値をカードテーブルの持玉数に加算する。これによれば、計数制御部31と玉貸発券制御部22とが交換等により通信不能になっても、該通信が成立した後に、計数制御部31が記憶している発券部IDと玉貸発券制御部22の発券部IDとが一致しないことを条件として、計数制御部31から送信された計数値が玉貸発券制御部22において計数通番に対応付けて記憶され、さらに該計数値が持玉数に加算されて記憶され、該持玉数が確定処理の対象となるので、遊技者が不利益を被ることがない。   In this count value recovery process, the ball lending ticket control unit 22 updates the count sequence number stored in the storage table to the count sequence number indicated by the connected device confirmation response received in S1002 in S1031, and sets the count sequence number. Correspondingly, the count value included in the connected device confirmation response is stored, and the count value is added to the number of balls in the card table. According to this, even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to exchange or the like, after the communication is established, the ticket issuing unit ID and the ball lending stored in the count control unit 31 are established. On condition that the ticket issuing unit ID of the ticket issuing control unit 22 does not match, the count value transmitted from the counting control unit 31 is stored in the ball rental ticket control unit 22 in association with the count serial number, and the count value is further stored. Since it is added to the number of balls and stored, and the number of held balls is a target of the determination process, the player does not suffer a disadvantage.

また第1の払出リカバリ処理では、玉貸発券制御部22は、S1041で、払出リカバリ有りと、記憶テーブルで記憶している計数通番,及び払出通番と、払出処理で払い出す予定の払出予定数とを示す起動指示Bを、払出処理の実行を要求する払出リカバリ要求として、計数制御部31に対して送信する。該払出リカバリ有りを示す起動指示Bを受信した計数制御部31は、S1042で、該起動指示Bが示す払出予定数のパチンコ玉の払出を行い、S1043で、前記S1001で受信した発券部ID,及び該S1041で受信した払出通番を記憶テーブルで記憶し、該記憶テーブルで記憶している計数値,払出予定数,及び払出済数を消去して、S1044で、起動指示応答を、玉貸発券制御部22に対して返信する。これによれば、計数制御部31と玉貸発券制御部22とが交換等により通信不能になっても、該通信が成立した後に、計数制御部31が記憶している発券部IDと玉貸発券制御部22の発券部IDとが一致しないことを条件として、払出リカバリ要求(起動指示B)が玉貸発券制御部22から計数制御部31に対して送信され、該計数制御部31において払出処理が行われるので、遊技者が不利益を被ることがない。   In the first payout recovery process, the ball lending ticket control unit 22 determines in S1041 that there is payout recovery, the counting sequence number stored in the storage table, the payout serial number, and the planned payout number to be paid out in the payout process. Is sent to the count control unit 31 as a payout recovery request for requesting execution of the payout process. The counting control unit 31 that has received the activation instruction B indicating the presence of the payout recovery pays out the number of pachinko balls to be paid out indicated by the activation instruction B in S1042, and in S1043, issues the ticket issuing unit ID received in S1001. And the payout sequence number received in S1041 is stored in a storage table, the count value, the expected payout number, and the payout number stored in the storage table are deleted, and in S1044, an activation instruction response is issued as a ball rental ticket. A reply is sent to the control unit 22. According to this, even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to exchange or the like, after the communication is established, the ticket issuing unit ID and the ball lending stored in the count control unit 31 are established. On the condition that the ticket issuing unit ID of the ticket issuing control unit 22 does not match, a payout recovery request (start-up instruction B) is transmitted from the ball lending ticket control unit 22 to the counting control unit 31, and the counting control unit 31 issues a payment. Since processing is performed, the player is not disadvantaged.

前記S1010で発券部IDが一致する(YES)と判定された場合には、玉貸発券制御部22は、S1011で、前記接続機器確認応答が示す計数通番(即ち計数制御部31の記憶テーブルで記憶している計数通番)と自己の記憶テーブルで記憶している計数通番とが一致するか否かを判定し、該S1011で計数通番が一致する(YES)と判定された場合には、S1012で、前記接続機器確認応答が示す払出通番(即ち計数制御部31の記憶テーブルで記憶している払出通番)と自己の記憶テーブルで記憶している払出通番とが一致するか否かを判定し、該S1012で払出通番が一致しない(NO)と判定された場合には、S1021で、払出リカバリ無しと、記憶テーブルで記憶している計数通番,及び払出通番とを示す起動指示Aを、計数制御部31に対して送信する。該払出リカバリ無しを示す起動指示Aを受信した計数制御部31は、払出状態記憶部(図示外)で記憶している払出状態が「払出中」か「払出中でない」かを判定し、この場合には「払出中でない」なので、S1022で、前記S1001で受信した発券部ID,及び該S1021で受信した払出通番を記憶テーブルで記憶し、該記憶テーブルで記憶している計数値,払出予定数,及び払出済数を消去して、S1023で、起動指示応答を、玉貸発券制御部22に対して返信する。なお、S1022において、当該計数制御部31で記憶している払出通番を前記S1021で受信した払出通番に更新しているが、この場合には、当該計数制御部31で記憶している払出通番が玉貸発券制御部22で記憶している払出通番−1であるので、前記S1022において、当該計数制御部31で記憶している払出通番を+1して更新しても良い。   If it is determined in S1010 that the ticket issuing unit IDs match (YES), the ball lending ticket control unit 22 in S1011, the counting sequence number indicated by the connected device confirmation response (that is, the storage table of the counting control unit 31). It is determined whether or not the stored counting sequence number) matches the counting sequence number stored in its own storage table. If it is determined in S1011 that the counting sequence numbers match (YES), S1012 Then, it is determined whether or not the payout serial number (that is, the payout serial number stored in the storage table of the counting control unit 31) indicated by the connected device confirmation response matches the payout serial number stored in the own storage table. If it is determined in S1012 that the payout sequence numbers do not match (NO), in S1021, an activation indicator indicating no payout recovery, the counting sequence number stored in the storage table, and the payout sequence number The A, sends to the counting control unit 31. The count control unit 31 that has received the activation instruction A indicating no payout recovery determines whether the payout state stored in the payout state storage unit (not shown) is “paying” or “not paying out”. In this case, since it is “not paying out”, in S1022, the ticket issuing unit ID received in S1001 and the payout serial number received in S1021 are stored in the storage table, and the count value stored in the storage table and the payout schedule are stored. The number and the paid-out number are deleted, and an activation instruction response is returned to the ball rental ticket control unit 22 in S1023. In S1022, the payout serial number stored in the count control unit 31 is updated to the payout serial number received in S1021. In this case, the payout serial number stored in the count control unit 31 is updated. Since it is the payout serial number −1 stored in the ball lending ticket control unit 22, the payout serial number stored in the count control unit 31 may be updated by +1 in S1022.

前記S1011で計数通番が一致しない(NO)と判定された場合には、S1013で、計数値リカバリ処理(即ち前記S1017と同様に、前記S1031の処理)を行って、前記S1012に進む。これによれば、計数制御部31と玉貸発券制御部22とが電断等により通信不能になっても、該通信が成立した後に、計数制御部31が記憶している発券部IDと玉貸発券制御部22の発券部IDとが一致しても計数部30が記憶している計数通番と玉貸発券制御部22が記憶している計数通番とが一致しないことを条件として、計数制御部31から送信された計数値が玉貸発券制御部22において計数通番に対応付けて記憶され、さらに該計数値が持玉数に加算されて記憶され、該持玉数が確定処理の対象となるので、遊技者が不利益を被ることがない。   If it is determined in S1011 that the counting sequence numbers do not match (NO), in S1013, a count value recovery process (that is, the process of S1031 as in S1017) is performed, and the process proceeds to S1012. According to this, even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to power interruption or the like, after the communication is established, the ticket issuing unit ID and ball stored in the count control unit 31 are established. Count control on condition that the counting sequence number stored in the counting unit 30 and the counting sequence number stored in the ball lending ticket control unit 22 do not match even if the ticketing unit ID of the lending ticket control unit 22 matches. The count value transmitted from the unit 31 is stored in the ball lending ticket control unit 22 in association with the count sequence number, and the count value is added to the number of possessed balls and stored. As a result, the player is not disadvantaged.

前記S1012で払出通番が一致する(YES)と判定された場合には、S1014で、前記図18のS806の動作指示応答Gを受信済であるか否かを判定する。このS1014で受信済でない(NO)と判定された場合には、S1015で、前記第1の払出リカバリ処理(即ち前記S1018と同様に、前記S1041の処理)を行う。これによれば、計数制御部31と玉貸発券制御部22とが電断等により通信不能になっても、該通信が成立した後に、計数制御部31が記憶している発券部IDと玉貸発券制御部22の発券部IDとが一致しても計数制御部31が記憶している払出通番と玉貸発券制御部22が記憶している払出通番とが一致しないことを条件として、払出リカバリ要求(起動指示B)が玉貸発券制御部22から計数制御部31に対して送信され、該計数制御部31において払出処理が行われるので、遊技者が不利益を被ることがない。なお、発券部IDが不一致(S1010でNO)の場合に行われる第1の払出リカバリ処理では、前記S1043において、当該計数制御部31で記憶している払出通番を前記S1041で受信した払出通番に更新しているが、発券部IDが一致(S1010でYES)の場合に行われる第1の払出リカバリ処理では、当該計数制御部31で記憶している払出通番が玉貸発券制御部22で記憶している払出通番−1であるので、前記S1043において、当該計数制御部31で記憶している払出通番を+1して更新しても良い。   If it is determined in S1012 that the payout serial numbers match (YES), it is determined in S1014 whether or not the operation instruction response G in S806 of FIG. 18 has been received. If it is determined in S1014 that it has not been received (NO), in S1015, the first payout recovery process (that is, the process of S1041 as in S1018) is performed. According to this, even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to power interruption or the like, after the communication is established, the ticket issuing unit ID and ball stored in the count control unit 31 are established. Payout on condition that the payout serial number stored in the counting control unit 31 and the payout serial number stored in the ball rental ticket control unit 22 do not match even if the ticket issuing unit ID of the loaned ticket control unit 22 matches. Since the recovery request (start-up instruction B) is transmitted from the ball lending ticket control unit 22 to the counting control unit 31 and the payout process is performed in the counting control unit 31, the player is not disadvantaged. In the first payout recovery process performed when the ticket issuing unit IDs do not match (NO in S1010), the payout serial number stored in the count control unit 31 in S1043 is changed to the payout serial number received in S1041. In the first payout recovery process performed when the ticket issuer IDs match (YES in S1010), the payout serial number stored in the count control unit 31 is stored in the ball lending ticket control unit 22 Since the payout serial number is -1, the payout serial number stored in the count control unit 31 may be incremented by 1 in S1043.

一方、S1014で受信済である(YES)と判定された場合には、S1016で、第2の払出リカバリ処理を行う。この第2の払出リカバリ処理では、玉貸発券制御部22は、S1051で、払出リカバリ無しと、記憶テーブルで記憶している計数通番,及び払出通番とを示す起動指示Cを、計数制御部31に対して送信する。該払出リカバリ無しを示す起動指示Cを受信した計数制御部31は、払出状態記憶部(図示外)で記憶している払出状態が「払出中」か「払出中でない」かを判定し、この場合には「払出中」なので、S1052で、記憶テーブルで記憶している払出済数が払出予定数に達するまでパチンコ玉の払出を行い、S1053で、前記S1001で受信した発券部ID,及び該S1051で受信した払出通番を記憶テーブルで記憶し、該記憶テーブルで記憶している計数値,払出予定数,及び払出済数を消去して、S1054で、起動指示応答を、玉貸発券制御部22に対して返信する。これによれば、計数制御部31が払出要求(動作指示G)を受信していれば、計数制御部31と玉貸発券制御部22とが通信不能になっても、該受信した払出要求に基づいて払出処理が行われるので、遊技者が不利益を被るのを防止できる。つまり計数制御部31が払出要求を受信している場合には、該払出要求の受信に基づいて払出予定数が記憶されてパチンコ玉の払出が開始され、払出済数が記憶されるので、該払出要求の受信後に電断が発生して電源が投入された後には、該計数制御部31が記憶している払出予定数及び払出済数に基づくパチンコ玉の払出が行われる。   On the other hand, if it is determined in S1014 that it has been received (YES), the second payout recovery process is performed in S1016. In this second payout recovery process, the ball lending ticket control unit 22 sends a start instruction C indicating no payout recovery, the count sequence number stored in the storage table, and the payout sequence number in S1051, to the count control unit 31. Send to. The count control unit 31 that has received the activation instruction C indicating that there is no payout recovery determines whether the payout state stored in the payout state storage unit (not shown) is “paying” or “not paying out”. In this case, since it is “paying out”, the pachinko balls are paid out in S1052 until the number of payouts stored in the storage table reaches the planned payout number. In S1053, the ticket issuing unit ID received in S1001 and the The payout sequence number received in S1051 is stored in a storage table, the count value, the expected payout number, and the payout number stored in the storage table are deleted, and in S1054, an activation instruction response is sent to the ball rental ticket control unit. Reply to 22 According to this, if the count control unit 31 has received a payout request (operation instruction G), even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate with each other, Since the payout process is performed based on this, it is possible to prevent the player from suffering a disadvantage. That is, when the counting control unit 31 has received the payout request, the payout number is stored based on the receipt of the payout request, the payout of the pachinko balls is started, and the payout number is stored. After power interruption occurs after receiving the payout request and the power is turned on, the pachinko balls are paid out based on the planned payout number and the payout number stored in the counting control unit 31.

次に図20は、計数確定中に電断と計数が発生した際に各台計数ユニット50が行う処理の一例を表すフローチャートであり、具体的には、前記図8の計数処理において計数が終了してS116〜S123の処理が行われるが、電断の発生により、S123の動作指示応答Dが玉貸発券制御部22に到達せず、該電断中に計数が発生した場合の処理である。本例において、電断の発生時には、計数制御部31が、前記S112の処理で更新された計数通番「5」を記憶しており、玉貸発券制御部22が、前記S124の処理が行われず未更新の計数通番「4」を記憶しているものとする。   Next, FIG. 20 is a flowchart showing an example of processing performed by each unit counting unit 50 when power interruption and counting occur during counting determination. Specifically, counting ends in the counting processing of FIG. Then, the processing of S116 to S123 is performed, but this is processing when the operation instruction response D of S123 does not reach the ball lending ticket control unit 22 due to occurrence of power interruption, and a count occurs during the power interruption. . In this example, when a power interruption occurs, the count control unit 31 stores the count sequence number “5” updated in the process of S112, and the ball rental ticket control unit 22 does not perform the process of S124. It is assumed that an unupdated counting sequence number “4” is stored.

まず計数制御部31は、S1100で、電断中計数値記憶部(図示外)において、電断中に計数された値を電断中計数値として記憶する。次に各台計数ユニット50において、S1000で、電源が投入され、図22(b)に示す起動時認証シーケンス1が完了すると、玉貸発券制御部22は、S1001で、記憶テーブルで記憶している発券部ID,及び計数通番(ここでは「4」)を示す接続機器確認指示を、接続確認要求として、計数制御部31に対して送信する。該接続機器確認指示を受信した計数制御部31は、S1101で、該接続機器確認指示が示す計数通番と自己の記憶テーブルで記憶している計数通番(ここでは「5」)とが一致するか否かを判定するが、この図20に示す例では、計数通番が一致しない(NO)と判定されるので、S1102で、記憶テーブルで記憶している発券部ID,計数通番(ここでは「5」),及び払出通番と、該記憶テーブルで記憶している当該計数通番の計数値+前記電断中計数値とを示す接続機器確認応答を、接続情報として、玉貸発券制御部22に対して返信する。該接続機器確認応答を受信した玉貸発券制御部22は、前記図19のS1010以下の処理を行う。   First, in S1100, the count control unit 31 stores a value counted during power interruption as a count value during power interruption in a count value storage unit (not shown) during power interruption. Next, in each unit counting unit 50, when the power is turned on in S1000 and the start-up authentication sequence 1 shown in FIG. 22B is completed, the ball lending ticket control unit 22 stores it in the storage table in S1001. The connected device confirmation instruction indicating the ticket issuing unit ID and the counting sequence number (here, “4”) is transmitted to the counting control unit 31 as a connection confirmation request. In S1101, the count control unit 31 that has received the connected device confirmation instruction matches the count sequence number indicated by the connected device confirmation instruction with the count sequence number (here, “5”) stored in its own storage table. In the example shown in FIG. 20, it is determined that the counting sequence numbers do not match (NO). Therefore, in S1102, the ticket issuing unit ID and the counting sequence number stored in the storage table (here, “5”). )), And the connected device confirmation response indicating the payout serial number and the count value of the count serial number stored in the storage table + the count value during power interruption as connection information to the ball lending ticket control unit 22 Reply. Upon receiving the connected device confirmation response, the ball lending ticket control unit 22 performs the processing of S1010 and subsequent steps in FIG.

次に図21は、計数確定中に電断と計数が発生した際に各台計数ユニット50が行う処理の別例を表すフローチャートであり、具体的には、前記図8の計数処理において計数が終了してS116〜S125の処理が行われる(即ちS123の動作指示応答Dは玉貸発券制御部22に到達している)が、電断の発生により、S125の動作指示Dが計数制御部31に到達せず、該電断中に計数が発生した場合の処理である。本例において、電断の発生時には、計数制御部31が、前記S112の処理で更新された計数通番「5」を記憶しており、玉貸発券制御部22が、前記S124の処理が行われて更新された計数通番「5」を記憶しているものとする。   Next, FIG. 21 is a flowchart showing another example of processing performed by each unit counting unit 50 when power interruption and counting occur during counting determination. Specifically, counting is performed in the counting processing of FIG. The processing of S116 to S125 is performed (that is, the operation instruction response D of S123 has reached the ball lending ticket control unit 22), but the operation instruction D of S125 is counted by the count control unit 31 due to the occurrence of power interruption. This process is performed when a count occurs during the power interruption. In this example, when a power interruption occurs, the count control unit 31 stores the count sequence number “5” updated in the process of S112, and the ball rental ticket control unit 22 performs the process of S124. It is assumed that the updated counting sequence number “5” is stored.

まず計数制御部31は、S1100で、電断中計数値記憶部(図示外)において、電断中に計数された値を電断中計数値として記憶する。次に各台計数ユニット50において、S1000で、電源が投入され、図22(b)に示す起動時認証シーケンス1が完了すると、玉貸発券制御部22は、S1001で、記憶テーブルで記憶している発券部ID,及び計数通番(ここでは「5」)を示す接続機器確認指示を、接続確認要求として、計数制御部31に対して送信する。該接続機器確認指示を受信した計数制御部31は、S1101で、該接続機器確認指示が示す計数通番と自己の記憶テーブルで記憶している計数通番(ここでは「5」)とが一致するか否かを判定するが、この図21に示す例では、計数通番が一致する(YES)と判定されるので、S1111で、記憶テーブルで記憶している計数通番を+1し、該更新した計数通番(ここでは「6」)に対応付けて前記電断中計数値を計数値として記憶し、S1112で、記憶テーブルで記憶している発券部ID,計数通番(ここでは「6」),計数値(即ち元の電断中計数値),及び払出通番を示す接続機器確認応答を、接続情報として、玉貸発券制御部22に対して返信する。該接続機器確認応答を受信した玉貸発券制御部22は、前記図19のS1010以下の処理を行う。   First, in S1100, the count control unit 31 stores a value counted during power interruption as a count value during power interruption in a count value storage unit (not shown) during power interruption. Next, in each unit counting unit 50, when the power is turned on in S1000 and the start-up authentication sequence 1 shown in FIG. 22B is completed, the ball lending ticket control unit 22 stores it in the storage table in S1001. The connected device confirmation instruction indicating the ticket issuing unit ID and the counting sequence number (here, “5”) is transmitted to the counting control unit 31 as a connection confirmation request. In S1101, the count control unit 31 that has received the connected device confirmation instruction matches the count sequence number indicated by the connected device confirmation instruction with the count sequence number (here, “5”) stored in its own storage table. In the example shown in FIG. 21, it is determined that the counting sequence numbers match (YES). In S1111, the counting sequence number stored in the storage table is incremented by 1, and the updated counting sequence number is determined. (The count value during power interruption is stored as a count value in association with (here, “6”), and the ticket issuing unit ID, count sequence number (here, “6”), count value stored in the storage table in S1112 The connection device confirmation response indicating the count value (that is, the original count value during power interruption) and the payout serial number is returned to the ball rental ticket control unit 22 as connection information. Upon receiving the connected device confirmation response, the ball lending ticket control unit 22 performs the processing of S1010 and subsequent steps in FIG.

以上に説明した図20及び図21に示す処理を行う各台計数ユニット50によれば、計数制御部31において、計数終了通知(S123の動作指示応答D)の送信後、計数確定通知(S125の動作指示D)の受信前に、玉貸発券制御部22と通信不能となった状態で計数が発生した場合であっても、玉貸発券制御部22において計数通番が更新されたか否かに応じて、電断中計数値が玉貸発券制御部22において正確に記憶されるので、遊技者が不利益を被ることがない。つまり計数終了通知が玉貸発券制御部22に到達していない場合には、該玉貸発券制御部22において計数通番が更新されていないため、図20に示すように、当該更新前の計数通番に対応する計数値が確定していないものとして、計数制御部31が記憶している計数値に電断中計数値を加算した値が玉貸発券制御部22に対して送信されて記憶される一方、計数終了通知が玉貸発券制御部22に到達している場合には、該玉貸発券制御部22において計数通番が更新されているため、図21に示すように、当該更新前の計数通番に対応する計数値は確定しているものとして、電断中計数値が新たな計数値として玉貸発券制御部22に対して送信されて記憶される。   20 and 21 described above, the counting control unit 31 transmits a count completion notification (operation instruction response D in S123) and then a count confirmation notification (in S125). Even if the count is generated in a state where communication with the ball lending ticket control unit 22 is disabled before the operation instruction D) is received, depending on whether or not the counting serial number is updated in the ball lending ticket control unit 22 Thus, since the count value during power interruption is accurately stored in the ball lending ticket control unit 22, the player is not disadvantaged. That is, when the count end notification has not reached the ball lending ticket control unit 22, the counting sequence number has not been updated in the ball lending ticket control unit 22, and as shown in FIG. Assuming that the count value corresponding to is not fixed, a value obtained by adding the count value during power interruption to the count value stored in the count control unit 31 is transmitted to the ball lending ticket control unit 22 and stored. On the other hand, when the count end notification has reached the ball lending ticket control unit 22, the counting sequence number is updated in the ball lending ticket control unit 22, and therefore, as shown in FIG. Assuming that the count value corresponding to the serial number is fixed, the count value during power interruption is transmitted to the ball lending ticket control unit 22 and stored as a new count value.

次に図22を用いて、電源投入後に玉貸発券制御部22と計数制御部31との間で行われる起動時認証シーケンス1について説明する。図22(a)には、起動時認証シーケンス1に用いられる認証テーブルの一例を示す。玉貸発券制御部22及び計数制御部31は、同一の認証テーブルをそれぞれで記憶している。   Next, a startup authentication sequence 1 performed between the ball lending ticket control unit 22 and the counting control unit 31 after power-on will be described with reference to FIG. FIG. 22A shows an example of an authentication table used in the startup authentication sequence 1. The ball rental ticket control unit 22 and the count control unit 31 store the same authentication table.

図22(b)に示すように、電源投入後には、玉貸発券制御部22は、S2000Aで、記憶している暗号キーの初期値を通知する暗号キー通知を計数制御部31に送信する。これを受信した計数制御部31は、S2000Bで、受信した暗号キーが記憶している暗号キーの初期値と一致するか否かを判定する。このS2000Bで一致しない(NO)と判定したときには、S2000Cで、異常停止する。仮に計数制御部31の接続対象が正規の玉貸発券制御部22でない場合には、非正規物側で計数制御部31と同一の暗号キーが記憶されていないため、計数制御部31が異常停止し不正を防止することができる。一方、S2000Bで一致する(YES)と判定したときには、S2000Dで、暗号キー応答を玉貸発券制御部22に送信する。これを受信した玉貸発券制御部22は、S2001以降の認証を行う。このS2001以降の玉貸発券制御部22と計数制御部31との間で送受される情報は、双方で記憶されている共通の暗号キーによって暗号化されたものであり、当該暗号キーによって復号化されるものである。この暗号キーは通信完了(即ち認証要求の送受信及びコードの送受信)毎に、後述する図24及び図25に示す方法で更新される。   As shown in FIG. 22B, after the power is turned on, the ball rental ticket control unit 22 transmits an encryption key notification for notifying the initial value of the stored encryption key to the count control unit 31 in S2000A. Receiving this, the count control unit 31 determines whether or not the received encryption key matches the stored initial value of the encryption key in S2000B. If it is determined in S2000B that they do not match (NO), an abnormal stop is made in S2000C. If the connection target of the count control unit 31 is not the regular ball lending ticket control unit 22, the count control unit 31 is abnormally stopped because the same encryption key as the count control unit 31 is not stored on the non-genuine side. And fraud can be prevented. On the other hand, when it is determined in S2000B that they match (YES), an encryption key response is transmitted to the ball lending ticket control unit 22 in S2000D. Upon receiving this, the ball rental ticket control unit 22 performs authentication after S2001. Information sent and received between the ball lending ticket control unit 22 and the counting control unit 31 after S2001 is encrypted by a common encryption key stored in both, and decrypted by the encryption key. It is what is done. This encryption key is updated by the method shown in FIGS. 24 and 25 described later every time communication is completed (that is, authentication request transmission / reception and code transmission / reception).

暗号キー応答を受信した玉貸発券制御部22は、認証要求1〜8を順不同で計数制御部31に送信する。本例では、玉貸発券制御部22は、最初にS2001で認証テーブルにおけるコード6の値を要求する認証要求6を計数制御部31に対して送信する。これを受信した計数制御部31は、S2002で記憶している認証テーブルからコード6の値を読み出し、S2003で読み出したコード6の値を玉貸発券制御部22に送信する。これを受信した玉貸発券制御部22は、S2004で受信したコード6の値が、記憶している認証テーブルにおけるコード6の値と一致するか否かを判定し、一致する(YES)と判定したときには、S2005で認証6、即ちコード6の値の認証を完了し、次の認証を行う。一方、S2004で一致しない(NO)と判定したときには、S2006で異常停止する。仮に玉貸発券制御部22の接続対象が正規の計数制御部31でない場合には、非正規物側で玉貸発券制御部22と同一の認証テーブルが記憶されていないため、玉貸発券制御部22が異常停止し不正を防止することができる。   The ball rental ticket control unit 22 that has received the encryption key response transmits the authentication requests 1 to 8 to the count control unit 31 in any order. In this example, the ball lending ticket control unit 22 first transmits an authentication request 6 for requesting the value of the code 6 in the authentication table to the count control unit 31 in S2001. Receiving this, the count control unit 31 reads the value of the code 6 from the authentication table stored in S2002, and transmits the value of the code 6 read in S2003 to the ball lending ticket control unit 22. Upon receiving this, the ball lending ticket control unit 22 determines whether or not the value of the code 6 received in S2004 matches the value of the code 6 in the stored authentication table, and determines that they match (YES). In S2005, authentication 6 is completed, that is, authentication of the value of code 6 is completed, and the next authentication is performed. On the other hand, when it is determined in S2004 that they do not match (NO), an abnormal stop is made in S2006. If the connection target of the ball lending ticket control unit 22 is not the regular counting control unit 31, the same authentication table as the ball lending ticket control unit 22 is not stored on the non-genuine side, so the ball lending ticket control unit 22 stops abnormally and can prevent fraud.

S2005で認証6を完了した玉貸発券制御部22は、認証3(コード3の値の認証)、認証8(コード8の値の認証)、認証1(コード1の値の認証)、認証2(コード2の値の認証)、認証4(コード4の値の認証)、認証5(コード5の値の認証)、及び認証7(コード7の値の認証)を、順次認証1と同様に行う。玉貸発券制御部22は、S2075で認証7が完了すると、S2080で全コード合計32ビットの認証が完了したと認識して、前述したS1001以降の処理を行う。ここで、前述したように通信完了毎に暗号キーが更新されるため、各認証毎に使用される暗号キーが異なることになる。本例では、最初に認証6が行われているが、玉貸発券制御部22が認証要求6を暗号キー(初期値)によって暗号化して送信し、これを受信した計数制御部31では、受信情報を暗号キー(初期値)によって復号化する。さらに計数制御部31は、コード6を暗号キー(初期値)によって暗号化して送信し、これを受信した玉貸発券制御部22では、受信情報を暗号キー(初期値)によって復号化する。これを以て認証6に係る通信が完了し、暗号キーが更新されることになる。即ち、認証3では初期値とは異なる暗号キーが使用され、認証8,認証1,認証2,認証4,認証5,認証7と認証毎に暗号キーが更新され、かつS1001以降の処理では初期値と異なる暗号キーが用いられるため、セキュリティを向上させることができる。   The ball lending ticket control unit 22 that has completed authentication 6 in S2005 performs authentication 3 (authentication of the value of code 3), authentication 8 (authentication of the value of code 8), authentication 1 (authentication of the value of code 1), authentication 2 (Authentication of the value of the code 2), Authentication 4 (Authentication of the value of the code 4), Authentication 5 (Authentication of the value of the code 5), and Authentication 7 (Authentication of the value of the code 7) are sequentially performed in the same manner as the authentication 1. Do. When the authentication 7 is completed in S2075, the ball lending ticket control unit 22 recognizes that the authentication of the total code of 32 bits in total is completed in S2080, and performs the processes after S1001 described above. Here, as described above, since the encryption key is updated every time communication is completed, the encryption key used for each authentication is different. In this example, the authentication 6 is first performed, but the ball lending ticket control unit 22 encrypts and transmits the authentication request 6 with the encryption key (initial value), and the count control unit 31 that has received the authentication request 6 receives it. The information is decrypted with the encryption key (initial value). Further, the count control unit 31 encrypts and transmits the code 6 with the encryption key (initial value), and the ball rental ticket control unit 22 that receives the code 6 decrypts the received information with the encryption key (initial value). This completes the communication related to authentication 6 and updates the encryption key. That is, in the authentication 3, an encryption key different from the initial value is used, and the encryption key is updated for each authentication, authentication 8, authentication 1, authentication 2, authentication 4, authentication 5, authentication 7, and the processing after S1001 is initial. Since an encryption key different from the value is used, security can be improved.

なお、次回電源ダウンし、再度の電源投入がなされたときに実行される起動時認証シーケンス1では、前回の順序(認証6,認証3,認証8,認証1,認証2,認証4,認証5,認証7)とは異なる順序で認証要求が送信される。認証要求の送信順序は、例えば整数1〜8までの範囲で乱数を生成させるプログラムによって決定させることができる。このように起動時認証シーケンス1の実行毎に送信する認証要求の順序を異ならせることで更にセキュリティが高まる。   In the startup authentication sequence 1 that is executed when the power is turned off and the power is turned on again, the previous sequence (authentication 6, authentication 3, authentication 8, authentication 1, authentication 2, authentication 4, authentication 5 Authentication requests are transmitted in a different order from authentication 7). The transmission order of authentication requests can be determined by a program that generates random numbers in the range of integers 1 to 8, for example. Thus, security is further enhanced by changing the order of authentication requests to be transmitted each time the startup authentication sequence 1 is executed.

最後に図23〜図25を参照して、玉貸発券制御部22と計数制御部31との間の通信における情報の暗復号化及びそれに関連する処理について説明する。   Finally, with reference to FIG. 23 to FIG. 25, the encryption / decryption of information in the communication between the ball lending ticket control unit 22 and the counting control unit 31 and processing related thereto will be described.

電源投入後、起動時認証シーケンス1が完了した後は、玉貸発券制御部22と計数制御部31との間において行われる通信に関して、図24及び図25に示されるような暗号化・復合化処理が行われる。玉貸発券制御部22及び計数制御部31は、それぞれ共通の暗号キーを記憶している。以下の例では、玉貸発券制御部22がデータ要求[i]を計数制御部31に送信しようとし、計数制御部31が応答[i]を返信しようとする場合に行われる暗号化・復合化処理について説明する。図24に示すように、まず玉貸発券制御部22がデータ要求[i]を計数制御部31に送信しようとするときには、S2200でデータ要求[i]と記憶している暗号キーとの排他的論理和(XOR)を対象データとして算出する。本例ではデータ要求[i]=00001111であり、暗号キー=01010101であるから、対象データ=01011010となる。   After the power-on, after the startup authentication sequence 1 is completed, the encryption / decryption as shown in FIGS. 24 and 25 is performed for the communication performed between the ball lending ticket control unit 22 and the counting control unit 31. Processing is performed. The ball rental ticket control unit 22 and the count control unit 31 each store a common encryption key. In the following example, the ball lending ticket control unit 22 tries to send a data request [i] to the count control unit 31, and the encryption / decryption performed when the count control unit 31 tries to return a response [i]. Processing will be described. As shown in FIG. 24, when the ball lending ticket control unit 22 first attempts to transmit a data request [i] to the counting control unit 31, the data request [i] and the stored encryption key are exclusive in S2200. A logical sum (XOR) is calculated as target data. In this example, since the data request [i] = 00001111 and the encryption key = 01010101, the target data = 001011010.

次いでS2201で暗証化テーブルの参照値を作成する。本例では暗号キーをビット反転させることで参照値を算出しており、暗号キー=01010101の各ビットを反転させた値である10101010(=170(十進数))が参照値として算出される。次いでS2202で暗号化テーブルを参照して算出した参照値に対応するテーブル値を特定する。参照値が170であるから、図23よりこれに対応するテーブル値は00110111である。次いでS2203で特定したテーブル値を対象として、第1制御部暗号化論理に従って対象データを暗号化する。本例ではテーブル値00110111であり、図23(b)に示したようにビット8が0であるから対象データを反転せず、ビット7〜ビット4の合計が2であり、ビット3〜ビット1の合計が3であるから左に3ビットローテートする。その結果、暗号化した対象データは11010010となる。次いでS2210で暗号化した対象データを暗号化データ要求[i]として計数制御部31に送信する。   In step S2201, a reference value for the encryption table is created. In this example, the reference value is calculated by inverting the encryption key bit, and 10101010 (= 170 (decimal number)), which is the value obtained by inverting each bit of the encryption key = 01010101, is calculated as the reference value. In step S2202, a table value corresponding to the reference value calculated by referring to the encryption table is specified. Since the reference value is 170, the corresponding table value is 00100111 from FIG. Next, the target data is encrypted according to the first control unit encryption logic for the table value specified in S2203. In this example, the table value is 00110111, and since bit 8 is 0 as shown in FIG. 23B, the target data is not inverted, and the sum of bits 7 to 4 is 2, and bits 3 to 1 Rotate 3 bits to the left because the sum of 3 is 3. As a result, the encrypted target data is 11010010. Next, the target data encrypted in S2210 is transmitted to the count control unit 31 as an encrypted data request [i].

暗号化データ要求[i]を受信した計数制御部31は、S2220で記憶している暗号キーをビット反転させることで参照値を算出する。次いでS2221で参照値に対応するテーブル値を特定する。次いでS2222で特定したテーブル値を対象として、第1制御部暗号化論理に基づいて受信データ(暗号化データ要求[i])を復合化し、対象データを取得する。ここで記憶している暗号キーは玉貸発券制御部22のものと同一であり、参照値の算出方法もS2201と同一であるから、S2221で特定されるテーブル値はS2202のものと同一である。即ち計数制御部31はテーブル値(00110111)を参照し、受信データ=[対象データを反転せず、その値を左に3ビットローテートした値]であると認識しうる。従って、計数制御部31はその逆算を行い、対象データ=[受信データを右に3ビットローテートし、その値を反転しない値]として算出することができる。このようにしてS2222で対象データ=01011010を取得することができる。次いで計数制御部31はS2223で取得した対象データと記憶している暗号キーとの排他的論理和(XOR)を算出することでデータ要求[i]=00001111を得ることができる。   The count control unit 31 that has received the encrypted data request [i] calculates the reference value by bit-inverting the encryption key stored in S2220. In step S2221, the table value corresponding to the reference value is specified. Next, for the table value specified in S2222, the received data (encrypted data request [i]) is decrypted based on the first control unit encryption logic to acquire the target data. Since the encryption key stored here is the same as that of the ball lending ticket control unit 22 and the calculation method of the reference value is the same as that of S2201, the table value specified in S2221 is the same as that of S2202. . That is, the count control unit 31 can refer to the table value (001110111) and recognize that the received data is [the value obtained by rotating the value 3 bits to the left without inverting the target data]. Therefore, the count control unit 31 can perform the reverse calculation and calculate target data = [a value that rotates received data 3 bits to the right and does not invert the value]. In this way, it is possible to acquire target data = 0101010 in S2222. Next, the count control unit 31 can obtain the data request [i] = 00001111 by calculating the exclusive OR (XOR) of the target data acquired in S2223 and the stored encryption key.

次いで計数制御部31は、S2224でこのようにして得られたデータ要求[i]を解析し、これに応じた応答[i]を玉貸発券制御部22に送信しようとすべくS2225〜S2230の処理を行う。なお、S2224で得られたデータが解析不能なデータである場合(例えば不正基板によって出力されたデータは復号化しても正規データとならずに解析不能となる)、計数制御部31は異常停止する。S2225では送信しようとする応答[i]と記憶している暗号キーとの排他的論理和(XOR)を対象データとして算出する。本例では応答[i]=00111100であり、暗号キー=01010101であるから、対象データ=01101001となる。次いでS2226で暗証化テーブルの参照値を作成する。本例では暗号キーをビット反転させることで参照値を算出しており、暗号キー=01010101の各ビットを反転させた値である10101010(=170(十進数))が参照値として算出される。次いでS2227で暗号化テーブルを参照して算出した参照値に対応するテーブル値を特定する。参照値が170であるから、図23よりこれに対応するテーブル値は00110111である。次いでS2228で特定したテーブル値を対象として、第2制御部暗号化論理に従って対象データを暗号化する。本例ではテーブル値00110111であり、図23(c)に示したようにビット1が1であるから対象データを反転し、ビット2〜ビット5の合計が3であり、ビット6〜ビット8の合計が1であるから右に1ビットローテートする。その結果、暗号化した対象データは01001011となる。次いでS2230で暗号化した対象データを暗号化応答[i]として玉貸発券制御部22に送信する。   Next, the counting control unit 31 analyzes the data request [i] obtained in this way in S2224, and tries to transmit a response [i] corresponding to this to the ball rental ticket control unit 22 in S2225 to S2230. Process. In addition, when the data obtained in S2224 is data that cannot be analyzed (for example, data output by an unauthorized board is not legitimate data even if it is decoded and cannot be analyzed), the count control unit 31 abnormally stops. . In S2225, the exclusive OR (XOR) of the response [i] to be transmitted and the stored encryption key is calculated as the target data. In this example, since response [i] = 00111100 and encryption key = 01010101, target data = 01011001. In step S2226, a reference value for the encryption table is created. In this example, the reference value is calculated by inverting the encryption key bit, and 10101010 (= 170 (decimal number)), which is the value obtained by inverting each bit of the encryption key = 01010101, is calculated as the reference value. In step S2227, the table value corresponding to the reference value calculated by referring to the encryption table is specified. Since the reference value is 170, the corresponding table value is 00100111 from FIG. Next, the target data is encrypted according to the second control unit encryption logic for the table value specified in S2228. In this example, the table value is 00110111, and since bit 1 is 1 as shown in FIG. 23C, the target data is inverted, the sum of bits 2 to 5 is 3, and bits 6 to 8 are Since the total is 1, rotate 1 bit to the right. As a result, the encrypted target data is 01001011. Next, the target data encrypted in S2230 is transmitted to the ball rental ticket control unit 22 as an encrypted response [i].

次いで図25に示すように、暗号化応答[i]を受信した玉貸発券制御部31は、S2240で記憶している暗号キーをビット反転させることで参照値を算出する。次いでS2241で参照値に対応するテーブル値を特定する。次いでS2242で特定したテーブル値を対象として、第2制御部暗号化論理に基づいて受信データ(暗号化応答[i])を復合化し、対象データを取得する。ここで記憶している暗号キーは計数制御部31のものと同一であり、参照値の算出方法もS2226と同一であるから、S2241で特定されるテーブル値はS2227のものと同一である。即ち玉貸発券制御部22はテーブル値(00110111)を参照し、受信データ=[対象データを反転し、その値を右に1ビットローテートした値]であると認識しうる。従って、玉貸発券制御部22はその逆算を行い、対象データ=[受信データを左に1ビットローテートし、その値を反転した値]として算出することができる。このようにしてS2242で対象データ=01101001を取得することができる。次いで玉貸発券制御部22はS2243で取得した対象データと記憶している暗号キーとの排他的論理和(XOR)を算出することで応答[i]=00111100を得ることができる。   Next, as shown in FIG. 25, the ball lending ticket control unit 31 that has received the encryption response [i] calculates a reference value by bit-inverting the encryption key stored in S2240. In step S2241, a table value corresponding to the reference value is specified. Next, using the table value specified in S2242, the received data (encrypted response [i]) is decrypted based on the second control unit encryption logic to acquire the target data. Since the encryption key stored here is the same as that of the count control unit 31 and the calculation method of the reference value is the same as that of S2226, the table value specified in S2241 is the same as that of S2227. That is, the ball lending ticket control unit 22 can recognize the received data = [value obtained by inverting the target data and rotating the value to the right by 1 bit] with reference to the table value (001110111). Therefore, the ball lending ticket control unit 22 can perform the reverse calculation and calculate target data = [value obtained by rotating the received data by 1 bit to the left and inverting the value]. In this way, the target data = 01011001 can be acquired in S2242. Next, the ball lending ticket control unit 22 can obtain the response [i] = 00111100 by calculating the exclusive OR (XOR) of the target data acquired in S2243 and the stored encryption key.

次いで玉貸発券制御部22は、S2244でこのようにして得られた応答[i]を解析し、データ要求[i]に対する応答[i]を受信したことを認識する。なお、S2244で得られたデータが解析不能なデータである場合(例えば不正基板によって出力されたデータは復号化しても正規データとならずに解析不能となる)、玉貸発券制御部22は異常停止する。次いで玉貸発券制御部22はS2250で正常に通信が終了したことを示す正常通信終了通知を計数制御部31に送信し、これを受信した計数制御部31はS2251で正常に通信が終了したことを認識したことを示す正常通信終了応答を玉貸発券制御部22に送信する。玉貸発券制御部22は正常通信終了応答の受信に伴い、S2260で暗号キーを暗号化データ要求[i]に更新し、計数制御部31は正常通信終了応答の送信しに伴い、S2270で暗号キーを暗号化データ要求[i]に更新する。即ち、玉貸発券制御部22及び計数制御部31は、通信[i+1]に備えて、暗号キーを前回の通信[i]で玉貸発券制御部22から計数制御部31に送信された情報に更新する。   Next, the ball rental ticket control unit 22 analyzes the response [i] obtained in this way in S2244, and recognizes that the response [i] to the data request [i] has been received. In addition, when the data obtained in S2244 is data that cannot be analyzed (for example, data output by an unauthorized board is not legitimate data even if it is decrypted and cannot be analyzed), the ball rental ticket control unit 22 is abnormal. Stop. Next, the ball lending ticket control unit 22 transmits a normal communication end notification indicating that the communication has been normally completed in S2250 to the count control unit 31, and the count control unit 31 that has received the notification has normally completed the communication in S2251. A normal communication end response indicating that the token is recognized is transmitted to the ball lending ticket control unit 22. The ball lending ticket control unit 22 updates the encryption key to the encrypted data request [i] in S2260 with the reception of the normal communication end response, and the count control unit 31 performs the encryption in S2270 with the transmission of the normal communication end response. Update key to encrypted data request [i]. That is, the ball lending ticket control unit 22 and the counting control unit 31 prepare for the communication [i + 1], and the encryption key is added to the information transmitted from the ball lending ticket control unit 22 to the counting control unit 31 in the previous communication [i]. Update.

通信[i+1]において、玉貸発券制御部22はS2270で更新された暗号キーを使用してデータ要求[i+1]から対象データを作成し、S2271で更新された暗号キーから参照値(本例では45とする)を算出し、S2272で参照値に対応するテーブル値を特定し、S2273で特定したテーブル値を対象として第1制御部暗号化論理に従って対象データを暗号化し、これにより得られた値をS2280で暗号化データ要求[i+1]として計数制御部31に送信する。このように、通信の完了毎に暗号キーが更新されることにより、参照値及びテーブル値も通信の完了毎に更新される。その結果、暗号化方法が通信[i]では[反転なし、左に3ビットローテート]であったものが、例えば通信[i+1]では[反転なし、左に1ビットローテート]、通信[i+2]では[反転有り、右に2ビットローテート]というように、通信毎に暗号化方法が異なり、セキュリティが確保される。   In the communication [i + 1], the ball lending ticket control unit 22 creates the target data from the data request [i + 1] using the encryption key updated in S2270, and uses the reference value (in this example, the encryption key updated in S2271). 45), the table value corresponding to the reference value is specified in S2272, the target data is encrypted according to the first control unit encryption logic for the table value specified in S2273, and the value obtained thereby Is transmitted to the count control unit 31 as an encrypted data request [i + 1] in S2280. As described above, the encryption key is updated every time communication is completed, and thus the reference value and the table value are also updated every time communication is completed. As a result, the encryption method was [no inversion, rotate 3 bits to the left] in the communication [i], for example, [no inversion, rotate 1 bit to the left] in the communication [i + 1], and in the communication [i + 2]. The encryption method is different for each communication, such as “with inversion, rotate 2 bits to the right”, and security is ensured.

ここで本実施形態において、玉貸発券制御部22が記憶している暗号化テーブルは、当該玉貸発券制御部22において実行される処理プログラムによってのみアクセスされており、計数制御部31が記憶している暗号化テーブルは、当該計数制御部31において実行される処理プログラムによってのみアクセスされている。また、本実施形態において、玉貸発券制御部22が記憶している暗号化テーブルの内容は外部に送信されておらず、計数制御部31が記憶している暗号化テーブルの内容は外部に送信されていない。即ち、仮に電源ダウンを意図的に発生させ、その間に玉貸発券制御部22と計数制御部31との間に不正基板を接続する不正が行われたとしても、暗号化テーブルの内容は一切送受されないため当該不正基板によって暗号化テーブルの内容を取得することはできない。そして暗号化テーブルには参照値自体に所定の操作を行うことによっては得られないテーブル値が記憶されていて、暗号化方法はテーブル値毎に異なるものである。従って、仮に不正基板によって通信データをモニタリングして、前回通信における送信データを暗号キーとして取得し、これに所定の処理(例えばビット反転)を行うことによって参照値を取得することができたとしても、暗号化方法まで特定することができない。このような形態とすることで強固な通信セキュリティを実現することができる。   Here, in the present embodiment, the encryption table stored in the ball lending ticket control unit 22 is accessed only by the processing program executed in the ball lending ticket control unit 22, and the count control unit 31 stores it. The encryption table is accessed only by the processing program executed in the counting control unit 31. In this embodiment, the contents of the encryption table stored in the ball lending ticket control unit 22 are not transmitted to the outside, and the contents of the encryption table stored in the counting control unit 31 are transmitted to the outside. It has not been. That is, even if a power-down is intentionally generated and a fraudulent connection is made between the ball lending ticket control unit 22 and the counting control unit 31 during that time, the contents of the encryption table are not transmitted or received at all. Therefore, the contents of the encryption table cannot be acquired by the unauthorized board. The encryption table stores table values that cannot be obtained by performing predetermined operations on the reference values themselves, and the encryption method differs for each table value. Therefore, even if communication data is monitored by an unauthorized board, transmission data in the previous communication is acquired as an encryption key, and a reference value can be acquired by performing predetermined processing (for example, bit inversion) on this. The encryption method cannot be specified. By adopting such a form, it is possible to realize strong communication security.

[2.第2実施形態に係る各台計数ユニット50]
次に、図26〜図30を参照して、第2実施形態に係る各台計数ユニット50の作用について説明する。第1実施形態では、前述の如く、計数値リカバリ処理や払出リカバリ処理を行うか否かの判定を、玉貸発券制御部22が行ったが(図19)、第2実施形態では、該判定を、計数制御部31が行う(図26)点が大きく異なる。また、第1実施形態では、認証テーブルに記憶されているコードを全て認証したが(図22)、第2実施形態では、認証テーブルに記憶されているコードの一部のみを認証する(図29)点が異なる。さらに、第1実施形態では、前回の通信において玉貸発券制御部22から計数制御部31に送信されたデータが暗号キーとなり、その暗号キーが玉貸発券制御部22及び計数制御部31で記憶されていたが、第2実施形態では図30に示すように、玉貸発券制御部22が、送信する情報を暗号化するための第1暗号化キーと、受信した情報を復号化するための第1復号化キーを有し、計数制御部31が、受信した情報を復号化するための第2復号化キーと、送信する情報を暗号化するための第2暗号化キーを有する点が異なる。ここで第1暗号化キー=第2復号化キーであり、第1復号化キー=第2暗号化キーであり、第1暗号化キー(=第2復号化キー)は前回の通信で玉貸発券制御部22から計数制御部31に送信されたデータであり、第2暗号化キー(=第1復号化キー)は前回の通信で計数制御部31から玉貸発券制御部22に送信されたデータである点が異なる。その他の構成や作用は同様である。
[2. Each unit counting unit 50 according to the second embodiment]
Next, with reference to FIGS. 26-30, the effect | action of each stand counting unit 50 which concerns on 2nd Embodiment is demonstrated. In the first embodiment, as described above, the ball lending ticket control unit 22 determines whether or not to perform the count value recovery process and the payout recovery process (FIG. 19), but in the second embodiment, the determination is made. Is greatly different in that the count control unit 31 performs (FIG. 26). In the first embodiment, all the codes stored in the authentication table are authenticated (FIG. 22), but in the second embodiment, only a part of the codes stored in the authentication table is authenticated (FIG. 29). ) Different points. Furthermore, in the first embodiment, the data transmitted from the ball lending ticket control unit 22 to the counting control unit 31 in the previous communication becomes an encryption key, and the encryption key is stored in the ball lending ticket control unit 22 and the counting control unit 31. However, in the second embodiment, as shown in FIG. 30, the ball rental ticket control unit 22 uses the first encryption key for encrypting the information to be transmitted and the decryption of the received information. It has a first decryption key, and the count control unit 31 is different in that it has a second decryption key for decrypting received information and a second encryption key for encrypting information to be transmitted. . Here, the first encryption key = the second decryption key, the first decryption key = the second encryption key, and the first encryption key (= the second decryption key) are loaned by the previous communication. This is data transmitted from the ticket issuing control unit 22 to the counting control unit 31, and the second encryption key (= first decryption key) was transmitted from the counting control unit 31 to the ball rental ticket issuing control unit 22 in the previous communication. It is different in that it is data. Other configurations and operations are the same.

また第1実施形態では、玉貸発券制御部22及び計数制御部31が、図8に示す記憶テーブルを記憶しているが、第2実施形態では、玉貸発券制御部22及び計数制御部31は、図26に示す記憶テーブルを記憶している。この図26に示す記憶テーブルは、図8に示す記憶テーブルの発券部IDに代えて計数部IDを記憶する点が異なり、その他の記憶内容は同様である。ここで計数制御部31の記憶テーブルにおける計数部IDは、予め記憶されている。一方、玉貸発券制御部22の記憶テーブルにおける計数部IDは、図26に示す電源投入時処理の終了後に、計数制御部31から取得して記憶される。   In the first embodiment, the ball lending ticket control unit 22 and the counting control unit 31 store the storage table shown in FIG. 8. In the second embodiment, the ball lending ticket control unit 22 and the counting control unit 31. Stores the storage table shown in FIG. The storage table shown in FIG. 26 is different in that the counting unit ID is stored instead of the ticket issuing unit ID of the storage table shown in FIG. 8, and the other storage contents are the same. Here, the counting unit ID in the storage table of the counting control unit 31 is stored in advance. On the other hand, the counting unit ID in the storage table of the ball lending ticket control unit 22 is acquired from the counting control unit 31 and stored after the end of the power-on process shown in FIG.

まず図26は、第2実施形態において各台計数ユニット50が行う電源投入時処理の一例を表すフローチャートであり、第2実施形態において前記図19に示す処理に代えて行われる処理である。各台計数ユニット50において、S1000’で、電源が投入され、図29(b)に示す起動時認証シーケンス2が完了すると、計数制御部31は、S1001’で、記憶テーブルで記憶している計数部ID,計数通番,及び払出通番を示す接続機器確認指示を、接続確認要求として、玉貸発券制御部22に対して送信し、該接続機器確認指示を受信した玉貸発券制御部22は、S1002’で、記憶テーブルで記憶している計数部ID,計数通番,及び払出通番と、払出処理で払い出す予定の払出予定数とを示す接続機器確認応答を、接続情報として、計数制御部31に対して返信し、またS1003’で、起動指示を送信し、該起動指示を受信した計数制御部31は、S1004’で、起動指示応答を、玉貸発券制御部22に対して返信する。なお記憶テーブルで記憶している計数部ID,計数通番,及び/又は払出通番が存在しない場合(例えば当該玉貸発券処理部20を初めて装着した場合)には、該存在しないデータを含まない接続機器確認応答を返信する。   First, FIG. 26 is a flowchart showing an example of a power-on process performed by each unit counting unit 50 in the second embodiment, and is a process performed in place of the process shown in FIG. 19 in the second embodiment. In each unit counting unit 50, when the power is turned on in S1000 ′ and the startup authentication sequence 2 shown in FIG. 29B is completed, the counting control unit 31 counts the number stored in the storage table in S1001 ′. The connected device confirmation instruction indicating the part ID, the counting sequence number, and the payout sequence number is transmitted as a connection confirmation request to the ball rental ticket control unit 22, and the ball rental ticket control unit 22 that has received the connected device confirmation instruction In S1002 ′, the count control unit 31 uses, as connection information, a connected device confirmation response indicating the counting unit ID, the counting sequence number, and the paying out sequence number stored in the storage table, and the expected number of payouts to be paid out in the payout process. The count control unit 31 transmits the activation instruction in S1003 ′ and receives the activation instruction, and returns the activation instruction response to the ball rental ticket control unit 22 in S1004 ′. That. In addition, when there is no counting unit ID, counting sequence number, and / or payout sequence number stored in the storage table (for example, when the ball lending ticket processing unit 20 is mounted for the first time), a connection that does not include the nonexistent data A device confirmation response is returned.

前記接続機器確認応答を受信した計数制御部31は、S1010’で、該接続機器確認応答が示す計数部ID(即ち玉貸発券制御部22の記憶テーブルで記憶している計数部ID)と自己の計数部ID(即ち計数制御部31の記憶テーブルで記憶している計数部ID)とが一致するか否かを判定する。なお該接続機器確認応答に計数部ID,計数通番,及び/又は払出通番が含まれない場合には、以下に述べる計数部ID,計数通番,払出通番の一致判定において不一致と判定される。   In S1010 ′, the count control unit 31 that has received the connection device confirmation response and the count unit ID indicated by the connection device confirmation response (that is, the count unit ID stored in the storage table of the ball lending ticket control unit 22) and the self It is determined whether or not the counting unit IDs (that is, the counting unit IDs stored in the storage table of the counting control unit 31) match. When the connected device confirmation response does not include the counting unit ID, the counting sequence number, and / or the paying out sequence number, it is determined that the counting unit ID, the counting sequence number, and the paying out sequence number do not match as described below.

このS1010’で計数部IDが一致しない(NO)、即ち玉貸発券処理部20又は計数部30が交換されたと判定された場合には、計数制御部31は、S1017’で、計数値リカバリ処理を行い、S1018’で、第1の払出リカバリ処理を行って、電源投入時処理を終了する。   If it is determined in S1010 ′ that the counting unit IDs do not match (NO), that is, it is determined that the ball lending ticket processing unit 20 or the counting unit 30 has been replaced, the counting control unit 31 performs a count value recovery process in S1017 ′. In step S1018 ′, the first payout recovery process is performed, and the power-on process ends.

この計数値リカバリ処理では、計数制御部31は、図8のS119以下の処理を行い、該S119で、エラーなしと、記憶テーブルで記憶している計数通番,及び計数値と、計数終了検知とを示す動作指示応答Cを、計数情報として、玉貸発券制御部22に対して送信し、その後に該玉貸発券制御部22は、前記S120及びS124の処理を行う。これによれば、計数制御部31と玉貸発券制御部22とが交換等により通信不能になっても、該通信が成立した後に、玉貸発券制御部22が記憶している計数部IDと計数制御部31の計数部IDとが一致しないことを条件として、計数制御部31が記憶している計数値を特定可能な計数情報が玉貸発券制御部22に対して送信されて、該計数値が玉貸発券制御部22において持玉数に加算されて記憶され、該計数値が確定処理の対象となるので、遊技者が不利益を被ることがない。   In this count value recovery process, the count control unit 31 performs the processes in and after S119 of FIG. 8. In S119, there is no error, the count sequence number and count value stored in the storage table, and the count end detection. Is transmitted as count information to the ball lending ticket control unit 22, and then the ball lending ticket control unit 22 performs the processes of S120 and S124. According to this, even when the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to exchange or the like, after the communication is established, the counting unit ID stored in the ball lending ticket control unit 22 and On the condition that the counting unit ID of the counting control unit 31 does not match, the counting information capable of specifying the count value stored in the counting control unit 31 is transmitted to the ball lending ticket control unit 22, Since the numerical value is added to the number of possessed balls and stored in the ball lending ticket control unit 22 and the count value is a target of the confirmation process, the player is not disadvantaged.

また第1の払出リカバリ処理では、計数制御部31は、図18のS803以下の処理を行い、払出処理を行う。これによれば、計数制御部31と玉貸発券制御部22とが交換等により通信不能になっても、該通信が成立した後に、玉貸発券制御部22が記憶している計数部IDと計数制御部31の計数部IDとが一致しないことを条件として、計数制御部31において払出処理が行われるので、遊技者が不利益を被ることがない。   Further, in the first payout recovery process, the count control unit 31 performs a process after S803 in FIG. 18 to perform a payout process. According to this, even when the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to exchange or the like, after the communication is established, the counting unit ID stored in the ball lending ticket control unit 22 and Since the payout process is performed in the counting control unit 31 on condition that the counting unit ID of the counting control unit 31 does not match, the player is not disadvantaged.

前記S1010’で計数部IDが一致する(YES)と判定された場合には、計数制御部31は、S1011’で、前記接続機器確認応答が示す計数通番(即ち玉貸発券制御部22の記憶テーブルで記憶している計数通番)と自己の記憶テーブルで記憶している計数通番とが一致するか否かを判定し、該S1011’で計数通番が一致する(YES)と判定された場合には、S1012’で、前記接続機器確認応答が示す払出通番(即ち玉貸発券制御部22の記憶テーブルで記憶している払出通番)と自己の記憶テーブルで記憶している払出通番とが一致するか否かを判定し、該S1012’で払出通番が一致する(YES)と判定された場合には、S1014’で、記憶テーブルで記憶している払出予定数から払出済数を減算した払出残数が有るか否かを判定し、該S1014’で払出残数が無い(NO)と判定された場合には、そのまま待機中となる。   When it is determined in S1010 ′ that the counting unit IDs match (YES), the counting control unit 31 stores the counting sequence number indicated by the connected device confirmation response in S1011 ′ (that is, the memory of the ball lending ticket control unit 22). If the counting sequence number stored in the table matches the counting sequence number stored in its own storage table, and it is determined in S1011 ′ that the counting sequence number matches (YES) In S1012 ′, the payout serial number indicated by the connected device confirmation response (that is, the payout serial number stored in the storage table of the ball lending ticket control unit 22) matches the payout serial number stored in the own storage table. If it is determined in S1012 ′ that the payout sequence numbers match (YES), in S1014 ′, the payout remaining amount obtained by subtracting the paidout number from the planned payout number stored in the storage table number Determines whether there, when it is determined that the number of payouts remaining no (NO) in the S1014 'it becomes as waiting.

前記S1011’で計数通番が一致しない(NO)と判定された場合には、S1013’で、前記計数値リカバリ処理(即ち前記S1017’と同様に、図8のS119以下の処理)を行って、前記S1012’に進む。これによれば、計数制御部31と玉貸発券制御部22とが電断等により通信不能になっても、該通信が成立した後に、該通信が成立した後に、玉貸発券制御部22が記憶している計数部IDと計数制御部31の計数部IDとが一致しても玉貸発券制御部22が記憶している計数通番と計数制御部31が記憶している計数通番とが一致しないことを条件として、計数制御部31が記憶している計数値を特定可能な計数情報が玉貸発券制御部22に対して送信されて、該計数値が玉貸発券制御部22において持玉数に加算されて記憶され、該計数値が確定処理の対象となるので、遊技者が不利益を被ることがない。   If it is determined in S1011 ′ that the count sequence numbers do not match (NO), in S1013 ′, the count value recovery process (that is, the process after S119 in FIG. 8 as in S1017 ′) is performed. The process proceeds to S1012 ′. According to this, even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to power interruption or the like, after the communication is established, the ball lending ticket control unit 22 Even if the stored counting unit ID and the counting unit ID of the counting control unit 31 match, the counting sequence number stored in the ball lending ticket control unit 22 matches the counting sequence number stored in the counting control unit 31. On the condition that the count value stored in the count control unit 31 is not transmitted to the ball lending ticket control unit 22, the count value stored in the count control unit 31 is transmitted to the ball lending ticket control unit 22. Since it is added to the number and stored, and the count value is a target of the determination process, the player is not disadvantaged.

前記S1012’で払出通番が一致しない(NO)と判定された場合には、S1015’で、前記第1の払出リカバリ処理(即ち前記S1018’と同様に、図18のS803以下の処理)を行う。これによれば、計数制御部31と玉貸発券制御部22とが交換等により通信不能になっても、該通信が成立した後に、玉貸発券制御部22が記憶している計数部IDと計数制御部31の計数部IDとが一致しても玉貸発券制御部22が記憶している計数通番と計数制御部31が記憶している計数通番とが一致しないことを条件として、計数制御部31において払出処理が行われるので、遊技者が不利益を被ることがない。   If it is determined in S1012 ′ that the payout sequence numbers do not match (NO), in S1015 ′, the first payout recovery process (that is, the process from S803 in FIG. 18 onward as in S1018 ′) is performed. . According to this, even when the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate due to exchange or the like, after the communication is established, the counting unit ID stored in the ball lending ticket control unit 22 and Even if the counting unit ID of the counting control unit 31 matches, the counting control number stored on the ball lending ticket control unit 22 and the counting sequence number stored on the counting control unit 31 do not match. Since the payout process is performed in the unit 31, the player is not disadvantaged.

前記S1014’で払出残数が有る(YES)と判定された場合には、S1016’で、第2の払出リカバリ処理を行う。この第2の払出リカバリ処理では、計数制御部31は、記憶テーブルで記憶している払出済数が払出予定数に達するまでパチンコ玉の払出を行って、図18のS811以下の処理を行う。これによれば、計数制御部31が払出要求(動作指示G)を受信していれば、計数制御部31と玉貸発券制御部22とが通信不能になっても、該受信した払出要求に基づいて払出処理が行われるので、遊技者が不利益を被るのを防止できる。つまり計数制御部31が払出要求を受信している場合には、該払出要求の受信に基づいて払出予定数が記憶されてパチンコ玉の払出が開始され、払出済数が記憶されるので、該払出要求の受信後に電断が発生して電源が投入された後には、該計数制御部31が記憶している払出予定数及び払出済数に基づくパチンコ玉の払出が行われる。   If it is determined in S1014 'that there is a payout remaining number (YES), a second payout recovery process is performed in S1016'. In this second payout recovery process, the count control unit 31 pays out pachinko balls until the payout number stored in the storage table reaches the payout planned number, and performs the processes in and after S811 in FIG. According to this, if the count control unit 31 has received a payout request (operation instruction G), even if the count control unit 31 and the ball lending ticket control unit 22 become unable to communicate with each other, Since the payout process is performed based on this, it is possible to prevent the player from suffering a disadvantage. That is, when the counting control unit 31 has received the payout request, the payout number is stored based on the receipt of the payout request, the payout of the pachinko balls is started, and the payout number is stored. After power interruption occurs after receiving the payout request and the power is turned on, the pachinko balls are paid out based on the planned payout number and the payout number stored in the counting control unit 31.

次に図27は、第2実施形態において計数確定中に電断と計数が発生した際に各台計数ユニット50が行う処理の一例を表すフローチャートであり、具体的には、前記図8の計数処理において計数が終了してS116〜S123の処理が行われるが、電断の発生により、S123の動作指示応答Dが玉貸発券制御部22に到達せず、該電断中に計数が発生した場合の処理である。本例において、電断の発生時には、計数制御部31が、前記S112の処理で更新された計数通番「5」を記憶しており、玉貸発券制御部22が、前記S124の処理が行われず未更新の計数通番「4」を記憶しているものとする。   Next, FIG. 27 is a flowchart showing an example of processing performed by each unit counting unit 50 when power interruption and counting occur during counting determination in the second embodiment. Specifically, the counting of FIG. In the processing, the counting is completed and the processing of S116 to S123 is performed, but due to the occurrence of power interruption, the operation instruction response D of S123 does not reach the ball lending ticket control unit 22, and the counting occurred during the power interruption. Process. In this example, when a power interruption occurs, the count control unit 31 stores the count sequence number “5” updated in the process of S112, and the ball rental ticket control unit 22 does not perform the process of S124. It is assumed that an unupdated counting sequence number “4” is stored.

まず計数制御部31は、S1100で、電断中計数値記憶部(図示外)において、電断中に計数された値を電断中計数値として記憶する。次に各台計数ユニット50において、S1000’で、電源が投入され、図29(b)に示す起動時認証シーケンス2が完了すると、計数制御部31は、S1001’で、記憶テーブルで記憶している計数部ID,計数通番(ここでは「5」),及び払出通番を示す接続機器確認指示を、接続確認要求として、玉貸発券制御部22に対して送信する。該接続機器確認指示を受信した玉貸発券制御部22は、S1002’で、記憶テーブルで記憶している計数部ID,計数通番(ここでは「4」),及び払出通番と、払出処理で払い出す予定の払出予定数とを示す接続機器確認応答を、接続情報として、計数制御部31に対して返信し、またS1003’で、起動指示を送信し、該起動指示を受信した計数制御部31は、S1004’で、起動指示応答を、玉貸発券制御部22に対して返信する。   First, in S1100, the count control unit 31 stores a value counted during power interruption as a count value during power interruption in a count value storage unit (not shown) during power interruption. Next, in each unit counting unit 50, when the power is turned on in S1000 ′ and the startup authentication sequence 2 shown in FIG. 29B is completed, the counting control unit 31 stores it in the storage table in S1001 ′. The connected device confirmation instruction indicating the counting unit ID, the counting sequence number (here, “5”), and the payout sequence number is transmitted to the ball lending ticket control unit 22 as a connection confirmation request. In S1002 ′, the ball lending ticket control unit 22 that has received the connected device confirmation instruction pays the counting unit ID, the counting sequence number (here “4”), the dispensing sequence number, and the dispensing sequence number stored in the storage table. The connected device confirmation response indicating the number of payouts to be issued is returned as connection information to the count control unit 31. In S1003 ′, the start instruction is transmitted, and the count control unit 31 that has received the start instruction is received. Returns an activation instruction response to the ball rental ticket control unit 22 in S1004 ′.

S1002’の接続機器確認応答を受信した計数制御部31は、S1101’で、該接続機器確認応答が示す計数通番と自己の記憶テーブルで記憶している計数通番(ここでは「5」)とが一致するか否かを判定するが、この図27に示す例では、計数通番が一致しない(NO)と判定されるので、図8のS119以下の処理を行い、該S119で、エラーなしと、記憶テーブルで記憶している計数通番と、該記憶テーブルで記憶している当該計数通番の計数値+前記電断中計数値と、計数終了検知とを示す動作指示応答Cを、計数情報として、玉貸発券制御部22に対して送信し、その後に該玉貸発券制御部22は、前記S120及びS124の処理を行う。   The count control unit 31 that has received the connected device confirmation response in S1002 ′ obtains the count sequence number indicated by the connected device confirmation response and the count sequence number (here, “5”) stored in its own storage table in S1101 ′. In the example shown in FIG. 27, it is determined that the counting sequence numbers do not match (NO). Therefore, the processing after S119 in FIG. 8 is performed, and in S119, there is no error. An operation instruction response C indicating the count sequence number stored in the storage table, the count value of the count sequence number stored in the storage table + the count value during power interruption, and the count end detection is used as count information. It transmits with respect to the ball rental ticket control part 22, and this ball loan ticket control part 22 performs the process of said S120 and S124 after that.

次に図28は、第2実施形態において計数確定中に電断と計数が発生した際に各台計数ユニット50が行う処理の別例を表すフローチャートであり、具体的には、前記図8の計数処理において計数が終了してS116〜S125の処理が行われる(即ちS123の動作指示応答Dは玉貸発券制御部22に到達している)が、電断の発生により、S125の動作指示Dが計数制御部31に到達せず、該電断中に計数が発生した場合の処理である。本例において、電断の発生時には、計数制御部31が、前記S112の処理で更新された計数通番「5」を記憶しており、玉貸発券制御部22が、前記S124の処理が行われて更新された計数通番「5」を記憶しているものとする。   Next, FIG. 28 is a flowchart showing another example of processing performed by each unit counting unit 50 when power interruption and counting occur during counting in the second embodiment. Specifically, FIG. In the counting process, the counting is completed, and the processing of S116 to S125 is performed (that is, the operation instruction response D of S123 has reached the ball lending ticket control unit 22). Is processing when the count does not reach the count control unit 31 and a count occurs during the power interruption. In this example, when a power interruption occurs, the count control unit 31 stores the count sequence number “5” updated in the process of S112, and the ball rental ticket control unit 22 performs the process of S124. It is assumed that the updated counting sequence number “5” is stored.

まず計数制御部31は、S1100で、電断中計数値記憶部(図示外)において、電断中に計数された値を電断中計数値として記憶する。次に各台計数ユニット50において、S1000’で、電源が投入され、図29(b)に示す起動時認証シーケンス2が完了すると、計数制御部31は、S1001’で、記憶テーブルで記憶している計数部ID,計数通番(ここでは「5」),及び払出通番を示す接続機器確認指示を、接続確認要求として、玉貸発券制御部22に対して送信する。該接続機器確認指示を受信した玉貸発券制御部22は、S1002’で、記憶テーブルで記憶している計数部ID,計数通番(ここでは「5」),及び払出通番と、払出処理で払い出す予定の払出予定数とを示す接続機器確認応答を、接続情報として、計数制御部31に対して返信し、またS1003’で、起動指示を送信し、該起動指示を受信した計数制御部31は、S1004’で、起動指示応答を、玉貸発券制御部22に対して返信する。   First, in S1100, the count control unit 31 stores a value counted during power interruption as a count value during power interruption in a count value storage unit (not shown) during power interruption. Next, in each unit counting unit 50, when the power is turned on in S1000 ′ and the startup authentication sequence 2 shown in FIG. 29B is completed, the counting control unit 31 stores it in the storage table in S1001 ′. The connected device confirmation instruction indicating the counting unit ID, the counting sequence number (here, “5”), and the payout sequence number is transmitted to the ball lending ticket control unit 22 as a connection confirmation request. In S1002 ′, the ball lending ticket control unit 22 that has received the connected device confirmation instruction pays the counting unit ID, the counting sequence number (“5” in this case), the dispensing sequence number stored in the storage table, and the dispensing process. The connected device confirmation response indicating the number of payouts to be issued is returned as connection information to the count control unit 31. In S1003 ′, the start instruction is transmitted, and the count control unit 31 that has received the start instruction is received. Returns an activation instruction response to the ball rental ticket control unit 22 in S1004 ′.

S1002’の接続機器確認応答を受信した計数制御部31は、S1101’で、該接続機器確認応答が示す計数通番と自己の記憶テーブルで記憶している計数通番(ここでは「5」)とが一致するか否かを判定するが、この図28に示す例では、計数通番が一致する(YES)と判定されるので、S1111’で、記憶テーブルで記憶している計数通番を+1し、該更新した計数通番(ここでは「6」)に対応付けて前記電断中計数値を計数値として記憶して、図8のS119以下の処理を行い、該S119で、エラーなしと、記憶テーブルで記憶している計数通番,及び計数値(即ち元の電断中計数値)と、計数終了検知とを示す動作指示応答Cを、計数情報として、玉貸発券制御部22に対して送信し、その後に該玉貸発券制御部22は、前記S120及びS124の処理を行う。   The count control unit 31 that has received the connected device confirmation response in S1002 ′ obtains the count sequence number indicated by the connected device confirmation response and the count sequence number (here, “5”) stored in its own storage table in S1101 ′. In the example shown in FIG. 28, it is determined that the counting sequence numbers match (YES). Therefore, in S1111 ′, the counting sequence number stored in the storage table is incremented by one, and The count value during power interruption is stored as a count value in association with the updated count sequence number (here, “6”), and the processing of S119 and subsequent steps in FIG. 8 is performed. An operation instruction response C indicating the stored count sequence number and count value (that is, the original count value during power interruption) and the count end detection is transmitted as count information to the ball lending ticket control unit 22, Thereafter, the ball rental ticket control unit 22 Performs the process of the S120 and S124.

以上に説明した図27及び図28に示す処理を行う各台計数ユニット50によれば、計数制御部31において、計数終了通知(S123の動作指示応答D)の送信後、計数確定通知(S125の動作指示D)の受信前に、玉貸発券制御部22と通信不能となった状態で計数が発生した場合であっても、玉貸発券制御部22において計数通番が更新されたか否かに応じて、電断中計数値が玉貸発券制御部22において正確に記憶されるので、遊技者が不利益を被ることがない。つまり計数終了通知が玉貸発券制御部22に到達していない場合には、該玉貸発券制御部22において計数通番が更新されていないため、図27に示すように、当該更新前の計数通番に対応する計数値が確定していないものとして、計数制御部31が記憶している計数値に電断中計数値を加算した値が玉貸発券制御部22に対して送信されて記憶される一方、計数終了通知が玉貸発券制御部22に到達している場合には、該玉貸発券制御部22において計数通番が更新されているため、図28に示すように、当該更新前の計数通番に対応する計数値は確定しているものとして、電断中計数値が新たな計数値として玉貸発券制御部22に対して送信されて記憶される。   According to each unit counting unit 50 that performs the processing shown in FIG. 27 and FIG. 28 described above, the count control unit 31 transmits a count end notification (operation instruction response D in S123) and then a count confirmation notification (in S125). Even if the count is generated in a state where communication with the ball lending ticket control unit 22 is disabled before the operation instruction D) is received, depending on whether or not the counting serial number is updated in the ball lending ticket control unit 22 Thus, since the count value during power interruption is accurately stored in the ball lending ticket control unit 22, the player is not disadvantaged. That is, when the count end notification has not reached the ball lending ticket control unit 22, the counting sequence number has not been updated in the ball lending ticket control unit 22, and as shown in FIG. Assuming that the count value corresponding to is not fixed, a value obtained by adding the count value during power interruption to the count value stored in the count control unit 31 is transmitted to the ball lending ticket control unit 22 and stored. On the other hand, when the count end notification has reached the ball lending ticket control unit 22, since the counting sequence number is updated in the ball lending ticket control unit 22, as shown in FIG. Assuming that the count value corresponding to the serial number is fixed, the count value during power interruption is transmitted and stored as a new count value to the ball lending ticket control unit 22.

次に図29を用いて、第2実施形態において電源投入後に玉貸発券制御部22と計数制御部31との間で行われる起動時認証シーケンス2について説明する。図29(a)には、起動時認証シーケンス2に用いられる認証テーブルの一例を示す。これは起動時認証シーケンス1に用いられるもの(図22(a))と同様であり、玉貸発券制御部22及び計数制御部31は、同一の認証テーブルをそれぞれで記憶しているが、一部のコード(本例ではコード4及びコード7)は認証に使用されない。   Next, a startup authentication sequence 2 performed between the ball lending ticket control unit 22 and the counting control unit 31 in the second embodiment after the power is turned on will be described with reference to FIG. FIG. 29A shows an example of an authentication table used in the startup authentication sequence 2. This is the same as that used in the startup authentication sequence 1 (FIG. 22 (a)), and the ball lending ticket control unit 22 and the counting control unit 31 store the same authentication table. The part codes (code 4 and code 7 in this example) are not used for authentication.

図29(b)に示すように、電源投入後に暗号キーの照合が行われる。本例では、玉貸発券制御部22から計数制御部31に第1暗号化キー及び第1復号化キーが送信され(S2000A)、これを受信した計数制御部31で[第1暗号化キー=第2復号化キー,且つ,第1復号化キー=第2暗号化キー]との条件が成立するか否か判定する(S2000B)。この条件が成立するときには、暗号キー応答を玉貸発券制御部22に送信し(S2000D)、成立しなければ異常停止する(S2000C)。玉貸発券制御部22が暗号キー応答S2000Dを受信すると、認証要求6,3,8,1,2,5を順不同で計数制御部31に送信する。本例では認証4及び認証7は行われない。従って、S2080’に示すように、認証対象となるビット数は合計24ビットであり、これらの認証が完了するとS2100以降の処理を行う。認証6,認証3,認証8,認証1,認証2,又は認証5において、コードが一致しない場合には、玉貸発券制御部22が異常停止し不正を防止することができる。なお認証要求の送受信及びコードの送受信においては、前記図22で説明したのと同様に暗復号化が行われ、通信完了毎に暗号キーが更新される。   As shown in FIG. 29B, the encryption key is verified after the power is turned on. In this example, the first encryption key and the first decryption key are transmitted from the ball lending ticket control unit 22 to the count control unit 31 (S2000A), and the count control unit 31 that has received them transmits [first encryption key = It is determined whether or not the condition of second decryption key and first decryption key = second encryption key] is satisfied (S2000B). When this condition is satisfied, an encryption key response is transmitted to the ball lending ticket control unit 22 (S2000D), and when it is not satisfied, the operation stops abnormally (S2000C). When the ball rental ticket control unit 22 receives the encryption key response S2000D, the authentication requests 6, 3, 8, 1, 2, and 5 are transmitted to the count control unit 31 in any order. In this example, authentication 4 and authentication 7 are not performed. Accordingly, as shown in S2080 ', the number of bits to be authenticated is 24 bits in total, and when these authentications are completed, the processing after S2100 is performed. In the authentication 6, authentication 3, authentication 8, authentication 1, authentication 2, or authentication 5, if the codes do not match, the ball lending ticket control unit 22 can be stopped abnormally and fraud can be prevented. In the transmission / reception of the authentication request and the transmission / reception of the code, the encryption / decryption is performed in the same manner as described with reference to FIG.

また、次回電源ダウンし、再度の電源投入がなされたときに実行される起動時シーケンス2では、前回未使用のコード(コード4及びコード7)とは異なるコードが未使用となり、前回の順序(認証6,認証3,認証8,認証1,認証2,認証5)とは異なる順序で認証要求が送信される。未使用のコード及び認証要求の送信順序は、例えば整数1〜8までの範囲で乱数を生成させるプログラムによって決定させることができる。このように起動時認証シーケンス2の実行毎に、未使用とするコード及び送信する認証要求の順序を異ならせることで更にセキュリティが高まる。   In the startup sequence 2 that is executed when the power is turned off and the power is turned on again, a code different from the previously unused code (code 4 and code 7) becomes unused, and the previous sequence ( Authentication requests are transmitted in an order different from authentication 6, authentication 3, authentication 8, authentication 1, authentication 2, and authentication 5). The transmission order of unused codes and authentication requests can be determined by a program that generates random numbers in the range of integers 1 to 8, for example. Thus, security is further enhanced by changing the order of the unused code and the authentication request to be transmitted each time the startup authentication sequence 2 is executed.

最後に図30を参照して、第2実施形態での玉貸発券制御部22と計数制御部31との間の通信における情報の暗復号化及びそれに関連する処理について説明する。   Finally, with reference to FIG. 30, the encryption / decryption of information in the communication between the ball rental ticket control unit 22 and the count control unit 31 and the processing related thereto in the second embodiment will be described.

電源投入後、起動時認証シーケンス2が完了した後は、玉貸発券制御部22と計数制御部31との間において行われる通信に関して、図30に示されるような暗号化・復合化処理が行われる。玉貸発券制御部22は第1暗号化キー(=第2復号化キー)及び第1復号化キー(=第2暗号化キー)を記憶しており、計数制御部31は第2復号化キー(=第1暗号化キー)及び第2暗号化キー(=第1復号化キー)を記憶している。以下の例では、玉貸発券制御部22がデータ要求[i]を計数制御部31に送信しようとし、計数制御部31が応答[i]を返信しようとする場合に行われる暗号化・復合化処理について説明する。図30に示すように、まず玉貸発券制御部22がデータ要求[i]を計数制御部31に送信しようとするときには、S2200’で第1暗号化キー及び暗号化テーブルに基づいてデータ要求[i]を暗号化する。この処理は第1実施形態におけるS2200〜S2203と同様であるが、暗号キーに代えて第1暗号化キーを使用する。ついでS2210で玉貸発券制御部22は暗号化データ要求[i]を計数制御部31に送信する。   After the startup authentication sequence 2 is completed after the power is turned on, encryption / decryption processing as shown in FIG. 30 is performed for communication performed between the ball lending ticket control unit 22 and the counting control unit 31. Is called. The ball rental ticket control unit 22 stores a first encryption key (= second decryption key) and a first decryption key (= second encryption key), and the count control unit 31 stores a second decryption key. (= First encryption key) and second encryption key (= first decryption key) are stored. In the following example, the ball lending ticket control unit 22 tries to send a data request [i] to the count control unit 31, and the encryption / decryption performed when the count control unit 31 tries to return a response [i]. Processing will be described. As shown in FIG. 30, first, when the ball lending ticket control unit 22 tries to transmit a data request [i] to the counting control unit 31, in S2200 ′, based on the first encryption key and the encryption table, a data request [ i] is encrypted. This process is the same as S2200 to S2203 in the first embodiment, but uses the first encryption key instead of the encryption key. In step S <b> 2210, the ball rental ticket control unit 22 transmits the encrypted data request [i] to the count control unit 31.

玉貸発券制御部22は暗号化データ要求[i]の送信に伴い、S2211’で第1復号化キーを前回通信[i−1]において計数制御部31から受信した暗号化応答[i−1]に更新する。一方、計数制御部31は暗号化データ要求[i]の受信に伴い、S2212’で第2暗号化キーを前回通信[i−1]において玉貸発券制御部22に送信した暗号化応答[i−1]に更新する。計数制御部31はS2212’の後、S2220’で第2復号化キー及び暗号化テーブルに基づいて暗号化データ要求[i]を復号化する。この処理は第1実施形態におけるS2220〜S2223と同様であるが、暗号キーに代えて第2復号化キーを使用する。次いで計数制御部31は、S2224でこのようにして得られたデータ要求[i]を解析し、これに応じた応答[i]を玉貸発券制御部22に送信しようとすべくS2225’の処理を行う。なお、S2224で得られたデータが解析不能なデータである場合(例えば不正基板によって出力されたデータは復号化しても正規データとならずに解析不能となる)、計数制御部31は異常停止する。   In response to the transmission of the encrypted data request [i], the ball rental ticket control unit 22 receives the first decryption key from the count control unit 31 in the previous communication [i-1] in S2211 ′ [i−1]. Update to]. On the other hand, in response to the reception of the encrypted data request [i], the count control unit 31 transmits the second encryption key to the ball lending ticket control unit 22 in the previous communication [i-1] in S2212 ′ [i]. -1]. After S2212 ', the count control unit 31 decrypts the encrypted data request [i] based on the second decryption key and the encryption table in S2220'. This process is the same as S2220 to S2223 in the first embodiment, but uses the second decryption key instead of the encryption key. Next, the count control unit 31 analyzes the data request [i] obtained in this way in S2224, and performs the processing of S2225 ′ to transmit a response [i] corresponding thereto to the ball rental ticket control unit 22. I do. In addition, when the data obtained in S2224 is data that cannot be analyzed (for example, data output by an unauthorized board is not legitimate data even if it is decoded and cannot be analyzed), the count control unit 31 abnormally stops. .

計数制御部31は、S2225’で第2暗号化キー及び暗号化テーブルに基づいて応答[i]を暗号化する。この処理は第1実施形態におけるS2225〜S2228と同様であるが、暗号キーに代えて第2暗号化キーを使用する。ついでS2230で計数制御部31は暗号化応答[i]を玉貸発券制御部22に送信する。玉貸発券制御部22は暗号化応答[i]の受信に伴い、S2231’で第1暗号化キーを前回通信[i]において玉貸発券制御部22から計数制御部31に送信したデータである暗号化データ要求[i]に更新する。一方、計数制御部31は暗号化応答[i]の送信に伴い、S2232’で第2復号化キーを前回通信[i]において玉貸発券制御部22から受信したデータである暗号化データ要求[i]に更新する。   In step S2225 ', the count control unit 31 encrypts the response [i] based on the second encryption key and the encryption table. This process is the same as S2225 to S2228 in the first embodiment, but uses the second encryption key instead of the encryption key. In step S <b> 2230, the count control unit 31 transmits the encrypted response [i] to the ball rental ticket control unit 22. The ball lending ticket control unit 22 is data transmitted from the ball lending ticket control unit 22 to the counting control unit 31 in the previous communication [i] in S2231 ′ in response to the reception of the encryption response [i]. Update to encrypted data request [i]. On the other hand, with the transmission of the encryption response [i], the count control unit 31 receives the second decryption key in S2232 ′ from the ball rental ticket control unit 22 in the previous communication [i]. i].

玉貸発券制御部22はS2231’の後、S2240’で第1復号化キー及び暗号化テーブルに基づいて暗号化応答[i]を復号化する。この処理は第1実施形態におけるS2240〜S2243と同様であるが、暗号キーに代えて第1復号化キーを使用する。次いで玉貸発券制御部22は、S2244でこのようにして得られた応答[i]を解析し、データ要求[i]に対する応答[i]を受信したことを認識する。なお、S2244で得られたデータが解析不能なデータである場合(例えば不正基板によって出力されたデータは復号化しても正規データとならずに解析不能となる)、玉貸発券制御部22は異常停止する。玉貸発券制御部22はS2244の後、S2270’で第1暗号化キー及び暗号化テーブルに基づいてデータ要求[i+1]を暗号化する。この処理は第1実施形態におけるS2270〜S2273と同様であるが、暗号キーに代えて第1暗号化キーを使用する。ついでS2280で玉貸発券制御部22は暗号化データ要求[i+1]を計数制御部31に送信する。   After S2231 ', the ball lending ticket control unit 22 decrypts the encrypted response [i] based on the first decryption key and the encryption table in S2240'. This process is the same as S2240 to S2243 in the first embodiment, but uses the first decryption key instead of the encryption key. Next, the ball rental ticket control unit 22 analyzes the response [i] obtained in this way in S2244, and recognizes that the response [i] to the data request [i] has been received. In addition, when the data obtained in S2244 is data that cannot be analyzed (for example, data output by an unauthorized board is not legitimate data even if it is decrypted and cannot be analyzed), the ball rental ticket control unit 22 is abnormal. Stop. After S2244, the ball rental ticket control unit 22 encrypts the data request [i + 1] based on the first encryption key and the encryption table in S2270 '. This process is the same as S2270 to S2273 in the first embodiment, but uses the first encryption key instead of the encryption key. In step S2280, the ball rental ticket control unit 22 transmits the encrypted data request [i + 1] to the count control unit 31.

玉貸発券制御部22は暗号化データ要求[i+1]の送信に伴い、S2281’で第1復号化キーを前回通信[i]において計数制御部31から受信したデータである暗号化応答[i]に更新する。一方、計数制御部31は暗号化データ要求[i+1]の受信に伴い、S2282’で第2暗号化キーを前回通信[i]において玉貸発券制御部22に送信したデータである暗号化応答[i]に更新する。次いで計数制御部31はS2300’で第2復号化キー及び暗号化テーブルに基づいて暗号化データ要求[i+1]を復号化し、S2301’で復号化したデータ要求[i+1]を解析し、S2302’で第2暗号化キー及び暗号化テーブルに基づいて応答[i+1]を暗号化し、S2310で暗号化応答[i+1]を玉貸発券制御部22に送信する。   In response to the transmission of the encrypted data request [i + 1], the ball lending ticket control unit 22 receives the first decryption key in S2281 ′ from the count control unit 31 in the previous communication [i], and the encrypted response [i]. Update to On the other hand, the count control unit 31 receives the encrypted data request [i + 1], and in step S2282 ′, the count response unit 31 transmits the second encryption key to the ball rental ticket control unit 22 in the previous communication [i]. i]. Next, the count control unit 31 decrypts the encrypted data request [i + 1] based on the second decryption key and the encryption table in S2300 ′, analyzes the data request [i + 1] decrypted in S2301 ′, and in S2302 ′. The response [i + 1] is encrypted based on the second encryption key and the encryption table, and the encrypted response [i + 1] is transmitted to the ball rental ticket control unit 22 in S2310.

このように玉貸発券制御部22及び計数制御部31は、いずれも相手側から情報を受信したときには暗号化キーを前回送信データに更新し、相手側に情報を送信したときには復号化キーを前回受信データに更新している。即ち、1回の通信に伴って双方の暗号化キー及び復号化キーが更新されることになり、セキュリティが向上する。   In this way, the ball lending ticket control unit 22 and the counting control unit 31 both update the encryption key to the previous transmission data when information is received from the other party, and the decryption key when the information is transmitted to the other party. Updating to received data. That is, both the encryption key and the decryption key are updated with one communication, and the security is improved.

[3.変形例1,2]
次に、図31を参照して、本発明の変形例1について説明する。この変形例1では、パチンコ機10に対応して設けられる遊技用装置が、玉貸発券処理部20’と、前記計数部30と、持玉カードユニット50’とから構成されており、前記遊技用装置(即ち各台計数ユニット50=玉貸発券処理部20+計数部30)と比較して、確定処理の態様が異なる。ここで玉貸発券処理部20’は、前記玉貸発券処理部20と比較して、前記内部ユニット30bが配置されていない点のみが異なる。
[3. Modifications 1 and 2]
Next, with reference to FIG. 31, the modification 1 of this invention is demonstrated. In the first modification, the gaming device provided corresponding to the pachinko machine 10 is composed of a ball lending ticket processing unit 20 ′, the counting unit 30, and a possession card unit 50 ′. The mode of the confirmation process is different from that of the apparatus for use (that is, each unit counting unit 50 = ball lending ticket processing unit 20 + counting unit 30). Here, the ball lending ticket processing unit 20 ′ is different from the ball lending ticket processing unit 20 only in that the internal unit 30b is not arranged.

持玉カードユニット50’は、図31(a)に示すように、玉貸発券処理部20’のさらに左側に隣接して設けられ、縦長の箱型の形状を呈するものであり、その前面に発券ボタン51’,貯玉ボタン52’,持玉カード挿入口53a’等を備え、図31(b)に示すように、その内部に持玉カードR/W53’,持玉カードストッカ53b’を備え、発券ボタン51’,貯玉ボタン52’,及び持玉カードR/W53’は、玉貸発券処理部20’の玉貸発券制御部22と通信可能に接続されている。なお持玉カードユニット50’の下部には、前面に計数部30の外部ユニット30aが配置され、内部に計数部30の内部ユニット30bが配置されている。   As shown in FIG. 31 (a), the holding card unit 50 ′ is provided adjacent to the left side of the ball lending ticket processing unit 20 ′, and has a vertically long box shape. A ticket issuing button 51 ′, a storage ball button 52 ′, a holding card insertion slot 53a ′, etc. are provided, and as shown in FIG. 31 (b), a holding card R / W 53 ′ and a holding card stocker 53b ′ are provided therein. The ticket issuing button 51 ′, the storage ball button 52 ′, and the possession card R / W 53 ′ are communicably connected to the ball lending ticket control unit 22 of the ball lending ticket processing unit 20 ′. Note that the external unit 30a of the counting unit 30 is disposed on the front surface and the internal unit 30b of the counting unit 30 is disposed on the lower side of the holding card unit 50 '.

この変形例1の遊技用装置において、遊技者が台移動又は景品交換を希望する場合には、カードテーブルで持玉数が記憶されている状態で、発券ボタン51’が操作されると、持玉カード5を貯留している持玉カードストッカ53b’は、該貯留している持玉カード5のうちの1枚を持玉カードR/W53’に対して搬送し、持玉カードR/W53’は、搬送された持玉カード5のIDと持玉数とを対応付ける処理(ここでは持玉カード5に持玉数を記録する処理)を行い、該持玉カード5を持玉カード挿入口53a’から排出して発行する。この変形例1では、該持玉カード5の発行が、前記確定処理に相当する。   In the gaming apparatus of the first modification, when the player wishes to move the table or exchange prizes, if the ticket issuing button 51 ′ is operated in a state where the number of held balls is stored in the card table, The possession card stocker 53b ′ storing the ball card 5 conveys one of the stored possession cards 5 to the possession card R / W 53 ′, and the possession card R / W 53 'Performs the process of associating the ID of the possessed ball card 5 with the number of possessed balls (in this case, the process of recording the number of retained balls in the retained ball card 5), Issued from 53a '. In the first modification, the issue of the possession card 5 corresponds to the confirmation process.

このようにして発行された持玉カード5を、他のパチンコ機10に対応する持玉カードユニット50’の持玉カードR/W53’に挿入することにより、該持玉カード5のIDに対応付けられている持玉数を使用して前記持玉払出処理が可能となる。また該持玉数を使用してPOS端末にて景品交換が可能となる。なお玉貸発券処理部20’のカードR/W23にて受付中の会員カード2ビジターカード3は、カード返却ボタン16が操作されると返却される。   By inserting the ball card 5 issued in this way into the ball card R / W 53 ′ of the ball card unit 50 ′ corresponding to another pachinko machine 10, it corresponds to the ID of the ball card 5 Using the number of balls that are attached, it is possible to perform the ball payout process. In addition, it is possible to exchange prizes at the POS terminal using the number of possessed balls. Note that the member card 2 visitor card 3 that is being accepted by the card R / W 23 of the ball lending ticket processing unit 20 ′ is returned when the card return button 16 is operated.

つまり変形例1では、持玉数が会員カード2ビジターカード3のカードIDに対応付けて持玉管理装置62で管理されるのではなく、該持玉数が持玉カード5のIDに対応付けられる。なお持玉カード5のIDと持玉数との対応付けは、持玉カード5に持玉数を記録する例には限らず、持玉カード5に持玉数を記録せずに、持玉管理装置62において持玉カード5のIDと持玉数とを対応付けて管理するものであっても良い。即ち持玉カード5に持玉数を記録するか否かは、特に限定されない。   That is, in the first modification, the number of balls is not managed by the ball management device 62 in association with the card ID of the member card 2 visitor card 3, but the number of balls is associated with the ID of the ball card 5. It is done. The association between the ID of the possession card 5 and the number of possessions is not limited to the example in which the number of possessions is recorded in the possession card 5, and the number of possessions is not recorded in the possession card 5. The management device 62 may manage the ID of the possession card 5 and the number of possession balls in association with each other. That is, whether or not to record the number of balls on the ball card 5 is not particularly limited.

また変形例1の遊技用装置において、会員遊技者が貯玉を希望する場合には、カードテーブルで持玉数が記憶されており、かつ玉貸発券処理部20’のカードR/W23にて会員カード2を受付中の状態で、貯玉ボタン52’が操作されると、該会員カード2のカードIDと貯玉する玉数とを含む貯玉要求を会員管理装置61に対して送信する。該貯玉要求を受信した会員管理装置61は、前述の如く、該貯玉要求に含まれるカードIDに対応付けて管理している貯玉数に該貯玉要求に含まれる貯玉する玉数を加算する。そして玉貸発券処理部20’のカードR/W23にて受付中の会員カード2は、カード返却ボタン16が操作されると返却される。この変形例1では、該会員カード2の返却も、前記確定処理に相当する。   In addition, in the gaming apparatus of the first modification, when a member player wishes to store balls, the number of possessed balls is stored in the card table, and the member is stored in the card R / W 23 of the ball lending ticket processing unit 20 ′. When the stored ball button 52 ′ is operated while the card 2 is being received, a stored ball request including the card ID of the member card 2 and the number of balls to be stored is transmitted to the member management device 61. The member management device 61 that has received the storage ball request adds the number of balls to be stored included in the storage ball request to the number of storage balls managed in association with the card ID included in the storage ball request as described above. Then, the member card 2 being accepted by the card R / W 23 of the ball lending ticket processing unit 20 ′ is returned when the card return button 16 is operated. In the first modification, the return of the member card 2 corresponds to the confirmation process.

このようにして返却された会員カード2を、他のパチンコ機10に対応する玉貸発券処理部20’のカードR/W23に挿入することにより、該会員カード2のカードIDに対応付けて会員管理装置61で管理されている貯玉数を使用して前記貯玉再プレイ処理が可能となる。また該貯玉数を使用してPOS端末にて景品交換が可能となる。なお発券ボタン51’が操作された場合と異なり、持玉カード5は発行されない。   The member card 2 returned in this way is inserted into the card R / W 23 of the ball lending ticket processing unit 20 ′ corresponding to the other pachinko machine 10, thereby being associated with the card ID of the member card 2. The stored ball replay process can be performed using the number of stored balls managed by the management device 61. Further, it is possible to exchange prizes at the POS terminal using the number of stored balls. Unlike the case where the ticket issuing button 51 'is operated, the possession card 5 is not issued.

次に、図32を参照して、本発明の変形例2について説明する。この変形例2では、パチンコ機10に対応して設けられる遊技用装置が、玉貸発券処理部20”と、前記計数部30とから構成されており、前記遊技用装置(即ち各台計数ユニット50=玉貸発券処理部20+計数部30)と比較して、確定処理の態様が異なる。ここで玉貸発券処理部20”は、前記玉貸発券処理部20と比較して、図32(a)に示すように、その前面に携帯電話近接部26aをさらに備え、図32(b)に示すように、その内部にICチップR/W26をさらに備え、該ICチップR/W26が玉貸発券制御部22と通信可能に接続されている点と、会員カード2及びビジターカード3が使用されず、カードR/W23はプリペイド残額を特定可能なプリペイドカード6を受け付ける点と、カードストッカ23bを備えていない点とが異なる。   Next, with reference to FIG. 32, the modification 2 of this invention is demonstrated. In the second modification, a gaming device provided corresponding to the pachinko machine 10 is composed of a ball lending ticket processing unit 20 ″ and the counting unit 30, and the gaming device (that is, each unit counting unit). 50 = ball lending ticket processing unit 20 + counting unit 30), the mode of the confirmation process is different. Here, the ball lending ticket processing unit 20 ″ is compared with the ball lending ticket processing unit 20 in FIG. As shown in FIG. 32 (a), the mobile phone proximity portion 26a is further provided on the front surface, and as shown in FIG. 32 (b), the IC chip R / W 26 is further provided therein. The point which is connected so that communication with the ticketing control part 22 is possible, the member card 2 and the visitor card 3 are not used, and the card R / W 23 receives the prepaid card 6 which can specify the prepaid balance, and the card stocker 23b. Preparation That it does not have is different.

この変形例2の遊技用装置において、遊技者が台移動又は景品交換を希望する場合には、カードテーブルで持玉数が記憶されている状態で、ICチップを備える携帯電話7が携帯電話近接部26aに近接されて、ICチップR/W26により該携帯電話7のICチップから当該携帯電話7の識別情報(チップIDや電話番号等であり、以下「携帯ID」と称する。)が読み取られ、ディスプレイ24に表示される図示しない発行ボタンが操作されると、持玉数と携帯IDとを対応付けて記憶(当該携帯電話7のICチップで記憶,又は管理装置で記憶等)するための記憶処理を行う。この変形例2では、該記憶処理が、前記確定処理に相当する。   In the gaming apparatus of the second modification, when the player wishes to move the table or exchange prizes, the mobile phone 7 having the IC chip is in the proximity of the mobile phone while the number of balls is stored in the card table. In the vicinity of the unit 26a, the IC chip R / W 26 reads the identification information of the mobile phone 7 (chip ID, phone number, etc., hereinafter referred to as “mobile ID”) from the IC chip of the mobile phone 7. When a not-shown issue button displayed on the display 24 is operated, the number of balls and the mobile ID are stored in association with each other (stored in the IC chip of the mobile phone 7 or stored in the management device). Perform storage processing. In the second modification, the storage process corresponds to the determination process.

[4.その他の変形例]
最後に、本発明のその他の変形例について説明する。
[4. Other variations]
Finally, other modifications of the present invention will be described.

上記の実施形態では、図1に示すように、遊技機がパチンコ機10である例について説明したが、これに限らず、該遊技機は、スロットマシンでも良く、またゲーム機であっても良い。   In the above embodiment, as shown in FIG. 1, an example in which the gaming machine is a pachinko machine 10 has been described. However, the present invention is not limited to this, and the gaming machine may be a slot machine or a game machine. .

上記の実施形態では、図1に示すように、持玉管理装置62が持玉数を管理すると共に、会員管理装置61が貯玉数を管理する例について説明したが、これに限らず、1つの管理装置が持玉数及び貯玉数を管理するものであっても良い。   In the above embodiment, as shown in FIG. 1, an example in which the ball management device 62 manages the number of balls and the member management device 61 manages the number of balls has been described. The management device may manage the number of possessed balls and the number of stored balls.

上記の実施形態では、カード(会員カード2又はビジターカード3)に持玉数が記録されない例について説明したが、これに限らず、カードに持玉数が記録されるものであっても良く、また会員カード2には持玉数が記録されないがビジターカード3には持玉数が記録されるものや、ビジターカード3には持玉数が記録されないが会員カード2には持玉数が記録されるものであっても良い。   In the above embodiment, an example in which the number of possessions is not recorded on the card (member card 2 or visitor card 3) has been described, but not limited to this, the number of possessions may be recorded on the card, The membership card 2 does not record the number of balls, but the visitor card 3 records the number of balls, or the visitor card 3 does not record the number of balls, but the membership card 2 records the number of balls. It may be.

上記の実施形態では、図7のS05で、受け付けたのが会員カード2であると判定された場合に、暗証番号の入力を受け付け、該入力された暗証番号の認証がとれたことを条件に、S06の管理貯玉数取得処理,S07の管理持玉数取得処理,及びS08の残額確認処理が行われて、貯玉数,持玉数,及びプリペイド残額が使用可能になる例について説明したが、これに限らず、例えば受け付けたのが会員カード2であると判定された場合であっても、暗証番号の入力を受け付けずに、S07の管理持玉数取得処理及びS08の残額確認処理を行って、持玉数及びプリペイド残額を使用可能とすると共に、S15で再プレイボタンの操作が有ると、暗証番号の入力を受け付け、該入力された暗証番号の認証がとれたことを条件に、管理貯玉数取得処理を行って、貯玉数を使用可能とするようにしても良い。即ち持玉数及びプリペイド残額の使用については暗証番号の入力が不要であり、貯玉数の使用についてのみ暗証番号の入力が必要なものであっても良い。   In the above embodiment, if it is determined in S05 of FIG. 7 that the member card 2 has been accepted, an input of a personal identification number is accepted, and the input personal identification number has been authenticated. In the above, an example has been described in which the number of managed storage balls acquired in S06, the number of managed coins acquired in S07, and the remaining amount confirmation processing in S08 are performed, and the number of stored balls, the number of held balls, and the prepaid balance become usable. Not limited to this, for example, even when it is determined that the member card 2 has been accepted, the management number acquisition process in S07 and the remaining amount confirmation process in S08 are performed without accepting the input of the password. In addition, the number of holding balls and the prepaid balance can be used, and if the replay button is operated in S15, the input of the password is accepted, and the management is performed on the condition that the input password is authenticated. Number of balls Performing resulting process may be available for 貯玉 number. That is, it is not necessary to enter a personal identification number for the use of the number of balls and the prepaid balance, and it is possible to enter a personal identification number only for the use of the number of stored balls.

上記の実施形態では、図7に示すように、S07の持玉数取得処理を行った後にS08の残額確認処理を行う例について説明したが、これに限らず、残額確認処理を行った後に持玉数取得処理を行っても良く、また持玉数取得処理と残額確認処理とを同時並行で行っても良い。   In the above embodiment, as shown in FIG. 7, the example in which the remaining amount confirmation process in S08 is performed after the number acquisition process of S07 is performed has been described. The number of balls acquisition process may be performed, and the number of balls acquired process and the remaining amount confirmation process may be performed in parallel.

上記の実施形態では、図7のS21aに示すように、遊技用価値を使用させるための使用処理が玉貸処理である例について説明したが、これに限らず、該使用処理は、遊技用価値をスロットマシンで使用させるためのメダル貸処理や、遊技用価値を得点に変換してゲーム機で使用させるための処理等であっても良い。   In the above embodiment, as shown in S21a of FIG. 7, the example in which the use process for using the game value is a ball lending process has been described. However, the present invention is not limited to this, and the use process is a game value. May be a medal lending process for use in a slot machine, a process for converting a game value into a score and using it in a game machine, or the like.

上記の実施形態では、図7のS26bに示すように、カード返却ボタン16の操作が有ると管理玉数更新処理を行う例について説明したが、これに限らず、管理玉数の更新は計数処理,持玉払出処理,及び貯玉再プレイ処理毎に行っておき、カード返却ボタン16の操作が有ると管理玉数更新処理を行わずにカードを返却するものであっても良い。   In the above embodiment, as illustrated in S26b of FIG. 7, the example of performing the management ball number update process when the card return button 16 is operated has been described. However, the present invention is not limited thereto, and the update of the management ball number is a counting process. , It may be performed for each holding ball payout process and stored ball replay process, and if the card return button 16 is operated, the card may be returned without performing the management ball number updating process.

上記の実施形態では、図8のS114等に示すように、計数制御部31が、計数情報(動作指示応答)として、計数値の累積値を示す計数情報を単位時間毎に玉貸発券制御部22に対して送信する例について説明したが、これに限らず、計数制御部31が、計数時刻と計数値とを対応付けたログデータを記憶して、計数終了後に該ログデータを玉貸発券制御部22に対して送信し、玉貸発券制御部22が、該ログデータが示す計数時刻と計数値とに基づいて、単位時間毎の計数値を特定するものであっても良い。   In the above embodiment, as shown in S114 of FIG. 8 and the like, the count control unit 31 uses the count information indicating the accumulated value of the count value as the count information (operation instruction response) for each unit time. Although the example which transmits with respect to 22 was demonstrated, not only this but the count control part 31 memorize | stores the log data which matched count time and the count value, and after completion | finish of a count, this log data is a ball rental ticket It may be transmitted to the control unit 22, and the ball lending ticket control unit 22 may specify a count value for each unit time based on the count time and the count value indicated by the log data.

また計数制御部31が、玉カウンタ35から計数パルスが出力される毎に、計数値として1を示す動作指示応答を玉貸発券制御部22に対して送信し、玉貸発券制御部22が、該動作指示応答の受信時刻に基づいて、単位時間毎の計数値を特定する(即ち500msec以内における動作指示応答の受信数から計数値を特定する)ものであっても良い。   Further, every time a counting pulse is output from the ball counter 35, the counting control unit 31 transmits an operation instruction response indicating 1 as a count value to the ball lending ticket control unit 22, and the ball lending ticket control unit 22 A count value per unit time may be specified based on the reception time of the operation instruction response (that is, the count value is specified from the number of operation instruction responses received within 500 msec).

即ち計数情報は、少なくとも玉カウンタ35により計数された計数値を特定可能な情報であれば良い。   That is, the count information may be information that can specify at least the count value counted by the ball counter 35.

上記の実施形態では、図8のS114等に示すように、計数制御部31が、計数情報(動作指示応答)として、計数値の累積値を示す計数情報を単位時間毎に玉貸発券制御部22に対して送信する例について説明したが、これに限らず、図13(a’)(b’)に示すように、単位時間毎の計数値の変動量を示す計数情報を該単位時間毎に玉貸発券制御部22に対して送信するものであっても良い。この場合において、玉貸発券制御部22は、図13(a’)に示す計数値異常Aの判定においては、受信した変動量が設定した閾値を超えるか否かを判定し、変動量が閾値を超えていれば、計数値異常Aを検知し、また図13(b’)に示す計数値異常Bの判定においては、受信した変動量が同一のまま所定回数継続であるか否かを判定し、所定回数継続であれば、計数値異常Bを検知する。これによれば、玉貸発券制御部22において計数値の変動量を算出する処理が無くなるので、該玉貸発券制御部22の処理負荷を軽減できる。   In the above embodiment, as shown in S114 of FIG. 8 and the like, the count control unit 31 uses the count information indicating the accumulated value of the count value as the count information (operation instruction response) for each unit time. However, the present invention is not limited to this. As shown in FIGS. 13 (a ′) and 13 (b ′), the count information indicating the amount of change in the count value per unit time is displayed for each unit time. May be transmitted to the ball rental ticket control unit 22. In this case, in the determination of the count value abnormality A shown in FIG. 13 (a ′), the ball lending ticket control unit 22 determines whether or not the received fluctuation amount exceeds the set threshold value, and the fluctuation amount is the threshold value. Is exceeded, the count value abnormality A is detected, and in the determination of the count value abnormality B shown in FIG. 13 (b '), it is determined whether or not the received fluctuation amount remains the same for a predetermined number of times. If the predetermined number of times continues, the count value abnormality B is detected. According to this, since the processing for calculating the fluctuation amount of the count value is eliminated in the ball lending ticket control unit 22, the processing load on the ball lending ticket control unit 22 can be reduced.

上記の実施形態では、図13(b)(b’)に示す計数値異常Bの判定において、計数値の変動量が同一のまま所定回数(10回)継続した場合に計数値異常Bを検知する例について説明したが、これに限らず、計数値の変動量が同一のまま所定期間(例えば5秒間)継続した場合に計数値異常Bを検知するものであっても良い。   In the above embodiment, in the determination of the count value abnormality B shown in FIGS. 13B and 13B, the count value abnormality B is detected when the variation amount of the count value continues for a predetermined number of times (10 times). However, the present invention is not limited to this, and the count value abnormality B may be detected when the variation amount of the count value continues for a predetermined period (for example, 5 seconds).

上記の実施形態では、図8のS127に示すように、S125の動作指示Dを受信したことに基づいて計数値の消去が行われる例について説明したが、これに限らず、S119で動作指示応答Cを送信した後に計数値の消去が行われるものであっても良い。即ち遊技媒体数消去処理は、計数情報(動作指示応答C)の送信が正常に行われたと判定されたことに基づいて行われても良い。   In the above embodiment, as shown in S127 of FIG. 8, the example in which the count value is erased based on the reception of the operation instruction D of S125 has been described. The count value may be deleted after C is transmitted. That is, the game medium number erasure process may be performed based on the determination that the transmission of the count information (operation instruction response C) is normally performed.

上記の実施形態では、図8のS127に示すように、一連の計数が終了する毎に計数値の消去が行われる例について説明したが、これに限らず、一連の計数が終了しても直ちに計数値の消去を行わずに、任意のタイミングで消去を行うものであっても良い。さらに計数値の消去を行わずに、そのまま計数値の記憶を保持するものであっても良い。   In the above embodiment, as shown in S127 of FIG. 8, the example in which the count value is erased every time the series of counts is finished is described. However, the present invention is not limited thereto, and immediately after the series of counts is finished. The erasure may be performed at an arbitrary timing without erasing the count value. Further, the count value may be stored as it is without erasing the count value.

上記の実施形態では、図9のS202又は図11(a)のS302に示すように、計数停止処理が、シャッタ33の閉鎖である例について説明したが、これに限らず、例えばモータの駆動力により玉載置部32上のパチンコ玉が玉カウンタ35に送り込まれるように構成した場合には、該モータを停止する処理であっても良い。   In the above embodiment, as illustrated in S202 of FIG. 9 or S302 of FIG. 11A, the example in which the count stop process is the closing of the shutter 33 has been described. When the pachinko ball on the ball mounting portion 32 is configured to be fed into the ball counter 35, the process of stopping the motor may be used.

上記の実施形態では、図11(a)に示すように、計数制御部31が、計数異常報知処理として、S304の処理を行い、玉貸発券制御部22の多機能ランプ26で計数異常1が報知される例について説明したが、これに限らず、計数制御部31が、自らLED41を点滅する処理を行って計数異常1を報知するものであっても良く、また計数制御部31が、例えばホールコンピュータ70に対してエラー信号を出力することにより、該ホールコンピュータ70で計数異常1を報知するものであっても良い。   In the above embodiment, as shown in FIG. 11A, the counting control unit 31 performs the processing of S304 as the counting abnormality notification processing, and the counting abnormality 1 is detected by the multi-function lamp 26 of the ball lending ticket control unit 22. Although the example notified is demonstrated, not only this but the count control part 31 may perform the process which blinks LED41 itself, and may alert | report count abnormality 1, and the count control part 31 is, for example, By outputting an error signal to the hall computer 70, the hall computer 70 may notify the counting abnormality 1.

上記の実施形態では、図11(a)に示すように、計数異常1を検知した場合であっても、S302〜S311の計数確定シーケンスを行うことにより、計数異常1を検知する前の計数値は確定させて有効とすることにより、遊技者を保護する例について説明したが、これに限らず、計数異常1を検知した場合には計数確定シーケンスを行わずに、計数異常1を検知する前の計数値も無効にするようにしても良い。   In the above embodiment, as shown in FIG. 11 (a), even when the counting abnormality 1 is detected, the count value before the counting abnormality 1 is detected by performing the counting determination sequence of S302 to S311. In the above example, the player is protected by confirming and validating. However, the present invention is not limited to this, and before detecting the counting abnormality 1 without performing the counting determination sequence when the counting abnormality 1 is detected. The count value may also be invalidated.

上記の実施形態では、図14に示すように、玉貸発券制御部22が、遊技媒体数異常報知処理(計数値異常報知処理)として、S402の処理を行い、多機能ランプ26で計数値異常が報知される例について説明したが、これに限らず、玉貸発券制御部22が、エラー信号を計数制御部31に対して送信し、計数制御部31がLED41を点滅する処理を行って計数値異常を報知するものであっても良く、また玉貸発券制御部22が、例えばホールコンピュータ70に対してエラー信号を出力することにより、該ホールコンピュータ70で計数値異常を報知するものであっても良い。   In the above embodiment, as shown in FIG. 14, the ball lending ticket control unit 22 performs the process of S <b> 402 as a game medium number abnormality notification process (count value abnormality notification process), and the multi-function lamp 26 performs a count value abnormality. The ball lending ticket control unit 22 transmits an error signal to the count control unit 31, and the count control unit 31 performs a process of blinking the LED 41 to calculate A numerical value abnormality may be reported, and the ball lending ticket control unit 22 outputs an error signal to the hall computer 70, for example, so that the hole computer 70 notifies the count value abnormality. May be.

上記の実施形態では、各台計数ユニット50の玉貸発券制御部22及び計数制御部31が、残額管理装置60又は持玉管理装置62から送信されてきた貸与レートを記憶する例について説明したが、これに限らず、会員管理装置61やホールコンピュータ70から送信されてきた貸与レートを記憶するものであっても良い。つまり各台計数ユニット50は、該各台計数ユニット50の上位装置から送信されてくる貸与レートを記憶するものであれば良い。また各台計数ユニット50は、リモコンから送信されてくる貸与レートを記憶するものや、当該各台計数ユニット50に設けられるディップスイッチの操作等により設定される貸与レートを記憶するものであっても良い。   In the above-described embodiment, the example in which the ball lending ticket control unit 22 and the count control unit 31 of each unit counting unit 50 store the loan rate transmitted from the balance management device 60 or the possession management device 62 has been described. Not limited to this, the loan rate transmitted from the member management apparatus 61 or the hall computer 70 may be stored. That is, each vehicle counting unit 50 only needs to store the loan rate transmitted from the host device of each vehicle counting unit 50. Each unit counting unit 50 may store a loan rate transmitted from the remote controller, or may store a loan rate set by operating a dip switch provided in each unit counting unit 50. good.

上記の実施形態では、図8に示すように、計数制御部31の記憶テーブルで記憶している第1計数処理情報が計数通番で、玉貸発券制御部22の記憶テーブルで記憶している第2計数処理情報が計数通番である例について説明したが、これに限らず、該第1計数処理情報及び第2計数処理情報は、通番でなく飛び番でも良く、また番号ではなく記号であっても良い。即ち第1計数処理情報及び第2計数処理情報は、互いに対応して一致する情報であれば良い。なお第1計数処理情報の更新は、図8のS112に示すように+1する処理であり、また第2計数処理情報の更新も、S124に示すように+1する処理であるが、これに限らず、例えば互いに+10するように一定の法則に従って更新する処理や、第1計数処理情報を受信して該受信した第1計数処理情報を第2計数処理情報として記憶する処理であっても良い。即ち第2計数処理情報の更新後に該第2計数処理情報と前記第1計数処理情報とが一致するように更新する処理であれば良い。   In the above embodiment, as shown in FIG. 8, the first counting process information stored in the storage table of the counting control unit 31 is the counting sequence number, and the first counting process information stored in the storage table of the ball lending ticket control unit 22 is stored. Although the example in which the 2-count processing information is a count sequence number has been described, the present invention is not limited to this, and the first count process information and the second count process information may be skip numbers instead of serial numbers, and may be symbols instead of numbers. Also good. That is, the first counting process information and the second counting process information may be information that matches and matches each other. The update of the first count process information is a process of incrementing by 1 as shown in S112 of FIG. 8, and the update of the second count process information is also a process of incrementing by 1 as shown in S124. However, the present invention is not limited to this. For example, it may be a process of updating according to a certain rule so as to be +10 with each other, or a process of receiving the first count process information and storing the received first count process information as the second count process information. That is, any process may be used as long as the second count process information is updated so that the second count process information matches the first count process information after the second count process information is updated.

上記の実施形態では、図8に示すように、玉貸発券制御部22の記憶テーブルで記憶している第1払出処理情報が払出通番で、計数制御部31の記憶テーブルで記憶している第2払出処理情報が払出通番である例について説明したが、これに限らず、該第1払出処理情報及び第2払出処理情報は、通番でなく飛び番でも良く、また番号ではなく記号であっても良い。即ち第1払出処理情報及び第2払出処理情報は、互いに対応して一致する情報であれば良い。なお第1払出処理情報の更新は、図18のS801に示すように+1する処理であり、また第2払出処理情報の更新も、S803に示すように+1する処理であるが、これに限らず、例えば互いに+10するように一定の法則に従って更新する処理や、第1払出処理情報を受信して該受信した第1払出処理情報を第2払出処理情報として記憶する処理であっても良い。即ち第2払出処理情報の更新後に該第2払出処理情報と前記第1払出処理情報とが一致するように更新する処理であれば良い。   In the above embodiment, as shown in FIG. 8, the first payout processing information stored in the storage table of the ball lending ticket control unit 22 is the payout serial number, and is stored in the storage table of the count control unit 31. Although an example in which the two payout processing information is a payout serial number has been described, the present invention is not limited thereto, and the first payout processing information and the second payout processing information may be skip numbers instead of serial numbers, and may be symbols instead of numbers. Also good. In other words, the first payout process information and the second payout process information may be information that matches and matches each other. The update of the first payout process information is a process of adding +1 as shown in S801 of FIG. 18, and the update of the second payout process information is also a process of adding +1 as shown in S803, but is not limited thereto. For example, it may be a process of updating according to a certain rule so as to be +10 with each other, or a process of receiving the first payout process information and storing the received first payout process information as the second payout process information. That is, any process may be used as long as the second payout process information is updated so that the second payout process information matches the first payout process information after the second payout process information is updated.

上記の実施形態では、図15に示す持玉払出処理において、単位未満端数のパチンコ玉のみが計数部30から払い出される例について説明したが、これに限らず、払出処理の対象となるパチンコ玉の全数が計数部30から払い出されるものであっても良い。   In the above embodiment, the example in which only the pachinko balls with a fractional unit fraction are paid out from the counting unit 30 in the holding ball payout processing shown in FIG. 15 is described, but not limited thereto, the pachinko balls to be paid out are subject to payout processing. The total number may be paid out from the counting unit 30.

上記の実施形態では、図18に示す払出処理において、計数部30の玉貯留部36に貯留されているパチンコ玉から払出予定数が払い出される例について説明したが、これに限らず、例えば計数部30が遊技島からパチンコ玉の供給を受けて、該供給されたパチンコ玉から払出予定数が払い出されるものであっても良い。また払い出されたパチンコ玉が、受皿40に貯留されるものではなく、ノズルを介してパチンコ機10の上皿に供給されるものであっても良い。   In the above-described embodiment, the example in which the number of payouts is paid out from the pachinko balls stored in the ball storage unit 36 of the counting unit 30 in the payout process shown in FIG. 18 is described. 30 may receive the supply of pachinko balls from the amusement island, and the number of payouts may be paid out from the supplied pachinko balls. Further, the paid-out pachinko balls may not be stored in the tray 40 but may be supplied to the upper plate of the pachinko machine 10 through a nozzle.

上記の実施形態では、図18に示す払出処理において、S801で払出通番を更新した後に、S802で払出要求(動作指示G)の送信が行われる例について説明したが、これに限らず、払出要求の送信を行ってから払出通番を更新するものであっても良い。即ち払出通番の更新は、払出要求の送信に伴って行われれば良い。   In the above embodiment, in the payout process shown in FIG. 18, the example in which the payout request (operation instruction G) is transmitted in S802 after updating the payout serial number in S801 has been described. The payout serial number may be updated after the transmission. In other words, the payout sequence number may be updated with the transmission of the payout request.

上記の第1実施形態では、図19に示すS1013の処理の後にS1012に進む例について説明したが、これに限らず、計数中の払出が禁止されている場合には、計数通番が不一致かつ払出通番が不一致となることはないため、S1013の処理の後にS1012ではなくS1021に進むようにしても良い。同様に、上記の第2実施形態では、図26に示すS1013’の処理の後にS1012’に進む例について説明したが、これに限らず、計数中の払出が禁止されている場合には、計数通番が不一致かつ払出通番が不一致となることはないため、S1013’の処理の後にS1012’に進まずに待機中となるようにしても良い。   In the first embodiment described above, the example of proceeding to S1012 after the processing of S1013 shown in FIG. 19 has been described. However, the present invention is not limited to this, and when payout during counting is prohibited, the counting sequence numbers do not match and are paid out. Since the serial numbers do not become inconsistent, the process may proceed to S1021 instead of S1012 after the process of S1013. Similarly, in the above-described second embodiment, the example of proceeding to S1012 ′ after the processing of S1013 ′ illustrated in FIG. 26 has been described. However, the present invention is not limited to this, and when payout during counting is prohibited, counting is performed. Since the serial numbers do not match and the payout serial numbers do not match, after the processing of S1013 ′, it may be possible to stand by without proceeding to S1012 ′.

上記の第1実施形態では、図19に示すように、払出リカバリ無しを示す起動指示A(S1021)又は起動指示C(S1051)を受信した計数制御部31が、払出状態記憶部(図示外)で記憶している払出状態が「払出中」か「払出中でない」かを判定し、「払出中でない」ならばS1022の処理を行い、「払出中」ならばS1052の処理を行う例について説明したが、これに限らず、起動指示A又はCを受信したときに払出予定数及び払出済数の記憶が有るか否かを判定し、該記憶が無ければS1022の処理を行い、該記憶が有ればS1052の処理を行うようにしても良い。払出が終了すると払出予定数及び払出済数が消去されるため(図18のS812)、それらの記憶が有れば、払出中に電断が発生したと判断できるからである。なおS1051で、払出リカバリ無しを示すのではなく、前記S1041とは異なる払出リカバリ有り(例えば第2払出リカバリ有り)を示す起動指示Cを送信し、該起動指示Cを受信した計数制御部31は、払出状態の判定や、払出予定数及び払出済数の記憶の有無の判定を行うことなく、S1052の処理を行うようにしても良い。   In the first embodiment, as shown in FIG. 19, the count control unit 31 that has received the start instruction A (S1021) or start instruction C (S1051) indicating no payout recovery is a payout state storage unit (not shown). An example is described in which it is determined whether the payout state stored in is “paying” or “not paying”, and if “not paying”, the process of S1022 is performed, and if “paying”, the process of S1052 is performed. However, the present invention is not limited to this. When the activation instruction A or C is received, it is determined whether or not there is a storage of the number of payouts and the number of payouts, and if there is no storage, the processing of S1022 is performed. If there is, the process of S1052 may be performed. This is because when the payout is completed, the planned payout number and the payout number are deleted (S812 in FIG. 18), and it is possible to determine that a power interruption has occurred during the payout if these are stored. In S1051, instead of indicating no payout recovery, the count control unit 31 that has transmitted the start instruction C indicating that there is a payout recovery (for example, with the second payout recovery) different from S1041, The processing of S1052 may be performed without determining the payout state and determining whether or not the payout amount and the payout number are stored.

上記の実施形態では、計数部30が、計数手段(玉カウンタ35),払出手段,及び払出制御部である例について説明したが、これに限らず、該計数部30は計数手段のみを有し、払出手段や払出制御部は、該計数部30とは別個に遊技用装置(各台計数ユニット50)に備えられるようにしても良い。   In the above embodiment, the example in which the counting unit 30 is the counting unit (the ball counter 35), the dispensing unit, and the dispensing control unit has been described. However, the present invention is not limited thereto, and the counting unit 30 includes only the counting unit. The payout means and the payout control unit may be provided in the gaming apparatus (each counter counting unit 50) separately from the counting unit 30.

上記の実施形態では、第1実施形態で起動時認証シーケンス1を行い、第2実施形態で起動時認証シーケンス2を行う例について説明したが、これに限らず、起動時認証シーケンス1又は2のいずれを行うのかは任意に定めることができる。   In the above embodiment, the example in which the startup authentication sequence 1 is performed in the first embodiment and the startup authentication sequence 2 is performed in the second embodiment has been described. Which to do can be determined arbitrarily.

上記の実施形態では、起動時認証シーケンス1及び2において、玉貸発券制御部22から計数制御部31に認証要求が送信され、これに応じたコードが計数制御部31から玉貸発券制御部22に返信されて、玉貸発券制御部側でコードの一致、不一致が判断される例について説明したが、これに限らず、計数制御部31から玉貸発券制御部22に認証要求が送信され、これに応じたコードが玉貸発券制御部22から計数制御部31に返信されて、計数制御部側でコードの一致、不一致が判定されるようにしても良い。   In the above-described embodiment, in the start-up authentication sequences 1 and 2, an authentication request is transmitted from the ball rental ticket control unit 22 to the counting control unit 31, and a code corresponding to this is sent from the count control unit 31 to the ball rental ticket control unit 22. However, the present invention is not limited to this, and an authentication request is transmitted from the count control unit 31 to the ball lending ticket control unit 22. A code corresponding to this may be returned from the ball lending ticket control unit 22 to the count control unit 31, and the count control unit may determine whether the code matches or does not match.

上記の実施形態では、起動時認証シーケンス1及び2において、認証要求の送受信及びコードの送受信が暗復号化される例について説明したが、これに限らず、暗復号化がされないものであっても良い。   In the above embodiment, the example in which the authentication request transmission / reception and the code transmission / reception are encrypted / decrypted in the startup authentication sequences 1 and 2 has been described. However, the present invention is not limited thereto, and the encryption / decryption is not performed. good.

上記の実施形態では、起動時認証シーケンス1及び2において、暗号キーの初期値が玉貸発券制御部22から計数制御部31に送信され、計数制御部側で受信した暗号キーと記憶している暗号キーの照合を行う例について説明したが、これに限らず、暗号キー通知は、計数制御部31から玉貸発券制御部22に送信されるようにして、玉貸発券制御部側で暗号キーの照合を行うようにしてもよい。   In the above embodiment, in the startup authentication sequences 1 and 2, the initial value of the encryption key is transmitted from the ball lending ticket control unit 22 to the count control unit 31 and stored with the encryption key received on the count control unit side. Although an example in which encryption key verification is performed has been described, the present invention is not limited thereto, and an encryption key notification is transmitted from the counting control unit 31 to the ball lending ticket control unit 22 so that the ball lending ticket control unit side can receive the encryption key. You may make it perform collation.

上記の第2実施形態において、起動時認証シーケンス2で使用されないコード(例えばコード4(1001)又はコード7(1101))、又は、これらを組み合わせた値(例えば8ビット値(10011101))若しくはこれらに所定の計算を施した値(両者の排他的論理和等)等の所定の操作を行った値を暗号キーとしても良い。認証テーブルは玉貸発券制御部22及び計数制御部31の双方で記憶しているため、いずれも認証要求を送信していない(受信していない)コードを特定可能であり、特定したコードに基づいて両者共通の所定のルールに従って暗号キーを生成することができる。このようにして得られる暗号キー及びこれの元となるコードは、玉貸発券制御部22及び計数制御部31間で一切送受されていないため、セキュリティを向上させることができる。   In the second embodiment, a code not used in the startup authentication sequence 2 (for example, code 4 (1001) or code 7 (1101)), or a combination of these (for example, 8-bit value (10011101)) or these A value obtained by performing a predetermined operation, such as a value obtained by performing a predetermined calculation (such as an exclusive OR of both), may be used as the encryption key. Since the authentication table is stored in both the ball lending ticket control unit 22 and the counting control unit 31, it is possible to specify a code that has not transmitted (received) an authentication request, and based on the specified code Thus, the encryption key can be generated according to a predetermined rule common to both. Since the encryption key and the code that is the basis of the encryption key thus obtained are not transmitted or received between the ball lending ticket control unit 22 and the counting control unit 31, security can be improved.

上記の実施形態では、起動時認証シーケンス1及び起動時認証シーケンス2が、玉貸発券制御部22と計数制御部31との間で実行される例について説明したが、これに限らず、起動時認証シーケンス1及び起動時認証シーケンス2は、玉貸発券制御部22と紙幣識別機25の間で実行されるようにしても良い。遊技用装置に組み込まれている紙幣識別機は通常、独自の演算機能及び外部通信機能を有しているため、上記実施形態の計数制御部31と同様に、玉貸発券制御部22との間で起動時認証シーケンス1及び起動時認証シーケンス2を行わせることは可能である。   In the above embodiment, the example in which the startup authentication sequence 1 and the startup authentication sequence 2 are executed between the ball lending ticket control unit 22 and the counting control unit 31 has been described. The authentication sequence 1 and the startup authentication sequence 2 may be executed between the ball lending ticket control unit 22 and the bill validator 25. Since the banknote discriminator incorporated in the gaming apparatus normally has its own calculation function and external communication function, it is between the ball lending ticket control unit 22 and the count control unit 31 of the above embodiment. It is possible to perform the startup authentication sequence 1 and the startup authentication sequence 2.

上記の実施形態では、玉貸発券制御部22と計数制御部31との間での通信において、送信情報の暗号化・復号化が行われる例について説明したが、これに限らず、玉貸発券制御部22と紙幣識別機25の間での通信において、送信情報の暗号化・復号化が行われるようにしても良い。各台計数ユニット50に組み込まれている紙幣識別機25は通常、独自の演算及び外部通信機能を有しているため、上記実施形態の計数制御部31と同様に暗号化・復号化を行う機能を持たせることは可能である。このようにすることで、例えば玉貸発券制御部22と紙幣識別機25の間に接続された不正基板によって入金金額を書き換える不正を防止することができる。   In the above embodiment, the example in which the transmission information is encrypted / decrypted in the communication between the ball rental ticket control unit 22 and the counting control unit 31 has been described. In communication between the control unit 22 and the bill validator 25, transmission information may be encrypted / decrypted. Since the bill discriminator 25 incorporated in each counter unit 50 usually has its own calculation and external communication function, the function of performing encryption / decryption in the same manner as the count control unit 31 of the above embodiment. It is possible to have By doing in this way, for example, it is possible to prevent fraud in which the deposit amount is rewritten by a fraudulent board connected between the ball lending ticket control unit 22 and the bill validator 25.

また各台計数ユニット50とパチンコ機10の間での通信において、送信情報の暗号化・復号化が行われるようにしても良い。この場合には、各台計数ユニット50及びパチンコ機10が遊技用装置に相当する。これによれば、例えばパチンコ機10に対して不正な貸与要求を送信してパチンコ玉を払い出させるような不正を防止できる。   Further, in communication between each counter unit 50 and the pachinko machine 10, transmission information may be encrypted / decrypted. In this case, each unit counting unit 50 and the pachinko machine 10 correspond to a gaming device. According to this, for example, it is possible to prevent fraud such as sending an illegal lending request to the pachinko machine 10 and paying out a pachinko ball.

さらにパチンコ機10の内部における遊技制御基板11と払出制御基板12の間での通信において、送信情報の暗号化・復号化が行われるようにしても良い。この場合には、パチンコ機10が遊技用装置に相当する。これによれば、払出制御基板12に対して不正な払出要求を送信してパチンコ玉を払い出させるような不正を防止できる。   Further, in communication between the game control board 11 and the payout control board 12 inside the pachinko machine 10, transmission information may be encrypted / decrypted. In this case, the pachinko machine 10 corresponds to a gaming device. According to this, it is possible to prevent fraud such as sending out an invalid payout request to the payout control board 12 and causing the pachinko ball to be paid out.

上記の実施形態では、玉貸発券制御部22のEEPROMに暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理が記憶されており、計数制御部31のEEPROMに暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理が記憶されている例について説明したが、これに限らず、玉貸発券制御部22のROMに暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理を記憶させ、計数制御部31のROMに暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理を記憶させるようにしても良い。例えば暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理が、各ROMに記憶されている処理プログラムに固定値として組み込まれるようにしても良い。   In the above embodiment, the encryption table, the first control unit encryption logic, and the second control unit encryption logic are stored in the EEPROM of the ball lending ticket control unit 22, and the encryption is stored in the EEPROM of the count control unit 31. Although the example in which the table, the first control unit encryption logic, and the second control unit encryption logic are stored has been described, the present invention is not limited thereto, and the encryption table and the first control are stored in the ROM of the ball lending ticket control unit 22. And the second control unit encryption logic are stored, and the encryption table, the first control unit encryption logic, and the second control unit encryption logic are stored in the ROM of the counting control unit 31. Also good. For example, the encryption table, the first control unit encryption logic, and the second control unit encryption logic may be incorporated as fixed values in the processing program stored in each ROM.

上記の実施形態において、玉貸発券制御部22のEEPROMに記憶されている暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理、計数制御部31のEEPROMに記憶されている暗号化テーブル、第1制御部暗号化論理、及び第2制御部暗号化論理を所定期間(例えば1日毎)に書き換えるようにしても良い。これによりセキュリティを更に高めることができる。   In the above embodiment, the encryption table stored in the EEPROM of the ball lending ticket control unit 22, the first control unit encryption logic, the second control unit encryption logic, and the EEPROM of the count control unit 31 are stored. The encryption table, the first control unit encryption logic, and the second control unit encryption logic may be rewritten at a predetermined period (for example, every day). Thereby, security can be further enhanced.

上記の実施形態では、暗号キーを、前回通信において玉貸発券制御部22から計数制御部31に送信したデータ(第1実施形態及び第2実施形態)又は前回通信において計数制御部31から玉貸発券制御部22に送信したデータ(第2実施形態)とする例について説明したが、これに限らず、暗号キーは送信履歴又は受信履歴として記憶されている任意のデータを使用することができ、例えば前々回の通信において送信又は受信されたデータとしても良い。   In the above embodiment, the encryption key is sent from the ball lending ticket control unit 22 to the count control unit 31 in the previous communication (first embodiment and second embodiment) or from the count control unit 31 in the previous communication. Although the example which makes the data (2nd Embodiment) transmitted to the ticketing control part 22 demonstrated, not only this but the encryption key can use the arbitrary data memorize | stored as a transmission history or a reception history, For example, it may be data transmitted or received in the previous communication.

上記の実施形態では、暗号キーを送信データ自体(例えば暗号化データ要求[i])又は受信データ自体(例えば暗号化応答[i])とする例について説明したが、これに限らず、暗号キーは送信データ又は受信データに所定の操作を行った値としても良い。例えば暗号化データ要求[i]を復号化したデータ要求[i]であっても良く、暗号化応答[i]を復号化した応答[i]であっても良い。   In the above embodiment, the example in which the encryption key is the transmission data itself (for example, encrypted data request [i]) or the reception data itself (for example, the encryption response [i]) has been described. May be a value obtained by performing a predetermined operation on transmission data or reception data. For example, it may be a data request [i] obtained by decrypting the encrypted data request [i], or may be a response [i] obtained by decrypting the encrypted response [i].

1…遊技用システム
10…パチンコ機
20…玉貸発券処理部
22…玉貸発券制御部
30…計数部
31…計数制御部
35…玉カウンタ
50…各台計数ユニット
DESCRIPTION OF SYMBOLS 1 ... Game system 10 ... Pachinko machine 20 ... Ball rental ticket processing part 22 ... Ball rental ticket control part 30 ... Counting part 31 ... Count control part 35 ... Ball counter 50 ... Each unit counting unit

Claims (3)

遊技に係る価値情報に関する処理を行う第1処理部と第2処理部とを備え、該第1処理部から第2処理部に対して前記価値情報に関するコマンドデータの送信を行う遊技用装置であって、
記第1処理部は、識別情報により個々に識別され、
遊技媒体の計数に基づく遊技価値を遊技に使用可能とするための使用可能化処理の実行を要求する使用可能化要求を前記コマンドデータとして送信可能であり、
所定の暗号キーを記憶する第1記憶手段と、
前記コマンドデータを前記第2処理部に対して送信するにあたり、該送信するコマンドデータを、前記第1記憶手段で記憶している暗号キーに基づいて暗号化する暗号化処理を行う第1暗復号化手段と、を有し、
前記第2処理部は、
前記使用可能化要求の受信に基づいて前記使用可能化処理を実行し、
前記第1記憶手段で記憶している暗号キーに対応する暗号キーを記憶する第2記憶手段と、
前記第1処理部から受信したコマンドデータを、前記第2記憶手段で記憶している暗号キーに基づいて復号化する復号化処理を行う第2暗復号化手段と、を有し、
前記第1記憶手段及び前記第2記憶手段は、記第1処理部から前記第2処理部に対して送信されたコマンドデータに基づく暗号キーを、たな暗号キーとして記憶し
前記第1処理部及び前記第2処理部の少なくとも一方が着脱可能なものであり、
前記第1処理部は、前記使用可能化要求の送信に伴って第1処理情報を更新する第1処理情報更新手段をさらに有し、
前記第2処理部は、
通信対象となった前記第1処理部の識別情報を記憶する識別情報記憶手段と、前記使用可能化要求の受信に基づいて第2処理情報を更新する第2処理情報更新手段と、をさらに有し、
前記第1処理部との通信が成立したときに、前記識別情報記憶手段に記憶している識別情報と、前記第2処理情報と、を前記第1処理部に対して送信することを特徴とする遊技用装置。
A gaming device comprising a first processing unit and a second processing unit that perform processing relating to value information relating to a game, wherein command data relating to the value information is transmitted from the first processing unit to a second processing unit. And
The first processing unit before SL are individually identified by the identification information,
An enabling request for requesting execution of an enabling process for enabling a game value based on a count of game media to be used in the game can be transmitted as the command data;
First storage means for storing a predetermined encryption key;
When transmitting the command data to the second processing unit, a first encryption / decryption processing is performed to encrypt the command data to be transmitted based on an encryption key stored in the first storage means. And means for
The second processing unit includes:
Performing the enabling process based on receiving the enabling request;
Second storage means for storing an encryption key corresponding to the encryption key stored in the first storage means;
Second encryption / decryption means for performing a decryption process for decrypting command data received from the first processing unit based on an encryption key stored in the second storage means;
It said first memory means and said second storage means, the encryption key based before Symbol first processing unit to the command data transmitted to the second processing unit, and stored as a new shelf encryption key,
At least one of the first processing unit and the second processing unit is detachable,
The first processing unit further includes first processing information update means for updating first processing information in accordance with transmission of the enabling request,
The second processing unit includes:
An identification information storage unit that stores identification information of the first processing unit that is a communication target; and a second processing information update unit that updates the second processing information based on the reception of the enabling request. And
When communication with the first processing unit is established, the identification information stored in the identification information storage unit and the second processing information are transmitted to the first processing unit. A gaming device to play.
請求項1に記載した遊技用装置であって、
前記第1記憶手段及び前記第2記憶手段は、各々対になる認証データを複数記憶し、
前記第1処理部と前記第2処理部との通信が成立したことに基づいて、
前記第1処理部は、前記第1記憶手段で記憶している認証データを、前記第2処理部に対して不規則に送信し、
前記第2処理部は、前記第1処理部から認証データを受信したことに応じて、前記第2記憶手段で記憶している複数の認証データのうち、該受信した認証データと対になる認証データを、前記第1処理部に対して返信し、
前記第1処理部は、前記送信した認証データと対になる認証データを前記第2処理部から受信したことに基づいて正常と認証する認証処理を行うことを特徴とする遊技用装置。
A gaming device according to claim 1,
The first storage means and the second storage means each store a plurality of pairs of authentication data,
Based on the establishment of communication between the first processing unit and the second processing unit,
The first processing unit irregularly transmits authentication data stored in the first storage unit to the second processing unit,
In response to receiving the authentication data from the first processing unit, the second processing unit is paired with the received authentication data among the plurality of authentication data stored in the second storage unit. Returning data to the first processing unit;
The gaming device according to claim 1, wherein the first processing unit performs authentication processing for authenticating normality based on reception of authentication data paired with the transmitted authentication data from the second processing unit.
請求項1又は2に記載した遊技用装置であって、
遊技機に対応して設けられ、
遊技媒体を受け入れて計数する計数手段を有することを特徴とする遊技用装置。
A gaming device according to claim 1 or 2,
Provided for game machines,
A gaming apparatus comprising counting means for receiving and counting gaming media.
JP2015206261A 2015-10-20 2015-10-20 Game equipment Active JP6088621B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015206261A JP6088621B2 (en) 2015-10-20 2015-10-20 Game equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015206261A JP6088621B2 (en) 2015-10-20 2015-10-20 Game equipment

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2011053615A Division JP5944621B2 (en) 2011-03-10 2011-03-10 Game equipment

Publications (3)

Publication Number Publication Date
JP2016025988A JP2016025988A (en) 2016-02-12
JP2016025988A5 JP2016025988A5 (en) 2016-06-23
JP6088621B2 true JP6088621B2 (en) 2017-03-01

Family

ID=55303487

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015206261A Active JP6088621B2 (en) 2015-10-20 2015-10-20 Game equipment

Country Status (1)

Country Link
JP (1) JP6088621B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101893039B1 (en) 2017-08-22 2018-10-04 주식회사 디케이티 Tray for inspection of a printed circuit board

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002095843A (en) * 2000-09-26 2002-04-02 Heiwa Corp Game control device
JP3805739B2 (en) * 2002-10-28 2006-08-09 株式会社ソフィア Game equipment
JP2007202825A (en) * 2006-02-02 2007-08-16 Daikoku Denki Co Ltd Data management system for game parlor
JP5127031B2 (en) * 2007-04-11 2013-01-23 豊丸産業株式会社 Point management system, point management device, and point management device program
JP2008302143A (en) * 2007-06-11 2008-12-18 Glory Ltd Device and system for managing stored game medium
JP5173452B2 (en) * 2008-01-22 2013-04-03 ダイコク電機株式会社 Amusement system
JP4781410B2 (en) * 2008-08-29 2011-09-28 京楽産業.株式会社 Game machine, main control board, peripheral board, authentication program, and authentication method
JP5296580B2 (en) * 2009-03-12 2013-09-25 株式会社三共 Game system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101893039B1 (en) 2017-08-22 2018-10-04 주식회사 디케이티 Tray for inspection of a printed circuit board

Also Published As

Publication number Publication date
JP2016025988A (en) 2016-02-12

Similar Documents

Publication Publication Date Title
JP5328942B2 (en) Game equipment
JP5231929B2 (en) GAME SYSTEM AND GAME DEVICE
JP2018086308A (en) Game machine
JP6088621B2 (en) Game equipment
JP5944621B2 (en) Game equipment
JP5940498B2 (en) Game equipment
JP6163639B2 (en) GAME SYSTEM AND GAME DEVICE
JP6572029B2 (en) Management system
JP5611397B2 (en) GAME SYSTEM AND GAME DEVICE
JP6289013B2 (en) GAME DEVICE AND GAME MACHINE
JP5791688B2 (en) Game equipment
JP6290573B2 (en) Game machine
JP6062230B2 (en) GAME SYSTEM AND GAME CONTROL DEVICE
JP5415313B2 (en) Game equipment
JP5603091B2 (en) Game equipment
JP5231930B2 (en) Game machine
JP5656381B2 (en) Game equipment
JP2015097727A (en) Game machine
JP6236248B2 (en) GAME SYSTEM AND GAME DEVICE
JP5284496B2 (en) GAME SYSTEM AND GAME DEVICE
JP5611398B2 (en) Game machine
JP5813194B2 (en) Game equipment
JP6279244B2 (en) GAME SYSTEM AND GAME DEVICE
JP5952221B2 (en) GAME SYSTEM AND GAME DEVICE
JP2015198851A (en) Each-machine device and method of managing number of game media

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20151218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160719

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170203

R150 Certificate of patent or registration of utility model

Ref document number: 6088621

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250