JP6592229B2 - GAME SYSTEM AND GAME DEVICE - Google Patents

GAME SYSTEM AND GAME DEVICE Download PDF

Info

Publication number
JP6592229B2
JP6592229B2 JP2013229359A JP2013229359A JP6592229B2 JP 6592229 B2 JP6592229 B2 JP 6592229B2 JP 2013229359 A JP2013229359 A JP 2013229359A JP 2013229359 A JP2013229359 A JP 2013229359A JP 6592229 B2 JP6592229 B2 JP 6592229B2
Authority
JP
Japan
Prior art keywords
game
authentication
information
key
value
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
JP2013229359A
Other languages
Japanese (ja)
Other versions
JP2015089400A (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 JP2013229359A priority Critical patent/JP6592229B2/en
Publication of JP2015089400A publication Critical patent/JP2015089400A/en
Application granted granted Critical
Publication of JP6592229B2 publication Critical patent/JP6592229B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、遊技機と、前記遊技機で遊技をするための価値を特定可能な記録媒体を受付けて前記記録媒体で特定される価値を用いて遊技を可能にする遊技用装置とを含む遊技用システム、および、当該遊技用システムに含まれる遊技用装置に関する。   The present invention includes a gaming machine and a gaming device that accepts a recording medium capable of specifying a value for playing a game on the gaming machine and enables a game using the value specified on the recording medium. The present invention relates to a game system and a game device included in the game system.

従来、遊技媒体の一例となる複数の玉を遊技機内で循環させる循環経路が形成されているとともに、遊技点を記憶する記憶部が設けられており、玉貸操作に応じて遊技点が記憶部に加算され、玉の発射操作に応じて遊技点が記憶部から減算され、入賞の発生に応じて遊技点が記憶部に加算される遊技機があった(たとえば、特許文献1)。   Conventionally, a circulation path for circulating a plurality of balls as an example of a game medium in a gaming machine has been formed, and a storage unit for storing game points has been provided, and game points are stored in accordance with ball lending operations. There is a gaming machine in which game points are subtracted from the storage unit according to the ball launching operation, and game points are added to the storage unit according to the occurrence of winning (for example, Patent Document 1).

特開2013−42801号公報JP 2013-42801 A

遊技媒体を貸与する単価であるレートは、1つの遊技場においても複数、用いられる場合がある。しかし、特許文献1のような遊技機では、複数のレートに流動的に対応することができなかった。   There may be a case where a plurality of rates, which are unit prices for lending game media, are used even in one game hall. However, in a gaming machine such as Patent Document 1, it is not possible to fluidly support a plurality of rates.

本発明は、係る実情に鑑み考え出されたものであり、その目的は、複数のレートに流動的に対応することが可能な遊技用システムおよび遊技用装置を提供することである。   The present invention has been conceived in view of such circumstances, and an object of the present invention is to provide a gaming system and a gaming apparatus capable of fluidly supporting a plurality of rates.

(1) 遊技機(たとえば、パチンコ機2、スロットマシン2S)と、前記遊技機で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)とを含む遊技用システムであって、
前記記録媒体は、価値として、高レート(たとえば、パチンコ玉1玉4円のレート、コイン1枚20円のレート)での遊技を可能とする第一類価値(たとえば、プリペイド残額,4パチの持玉,4パチの貯玉)と低レート(たとえば、パチンコ玉1玉4円未満のレート、コイン1枚20円未満のレート)での遊技を可能とする第二類価値(たとえば、プリペイド残額,1パチの持玉,1パチの貯玉)とを特定可能であり(たとえば、図77参照)、前記記録媒体の種類には、会員遊技者に対応する会員用記録媒体と、非会員遊技者に対応する非会員用記録媒体とが含まれ、
前記遊技用装置は、
前記高レートおよび前記低レートのいずれの遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)と、
前記設定手段による設定に応じて遊技で獲得した価値を前記第一類価値および前記第
二類価値のいずれかに含まれる価値に加算する加算手段(たとえば、図12参照。図78のステップS516またはステップS527で設定されたレートを判定して、獲得した価値を判定されたレートの第一類価値または第二類価値に加算する。1パチ,4パチの両方で使用可能なプリペイド残額での遊技で獲得した価値を4パチの持玉に加算してもよいし、4パチの貯玉での遊技機獲得した価値を4パチの持玉に加算してもよい。)と、
前記記録媒体を返却するための処理を行なう返却処理手段とを備え、
前記返却処理手段は、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値の少なくともいずれか一方が所定の貨幣価値以上であれば、前記非会員用記録媒体を返却し、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値のそれぞれが前記所定の貨幣価値未満であれば、前記非会員用記録媒体の返却を制限し、
前記会員用記録媒体を受付けている場合に返却操作が受付けられたときに、該会員用記録媒体で特定される前記第一類価値および前記第二類価値のそれぞれの大きさに関わらず前記会員用記録媒体の返却を許容し、
前記遊技機にて管理される価値が存在せず、かつ、前記遊技機が有利状態に制御されていない場合に、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が可能となり、
前記遊技機にて管理される価値が存在する場合および前記遊技機が有利状態に制御されている場合のいずれかの場合には、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が禁止され、
前記設定手段による前記高レートと前記低レートとの一方から他方への変更操作を受け付けた場合に前記遊技機にて管理される価値が存在するときに、前記遊技機にて管理される価値を前記遊技用装置にて管理される価値として前記加算手段により加算するための操作を促す促進報知を行う。
(1) A gaming machine (for example, a pachinko machine 2 and a slot machine 2S) and a recording medium (for example, a membership card) that can specify a value (for example, a prepaid balance, a holding ball, and a stored ball) for playing with the gaming machine And a gaming device (for example, a card unit 3) that accepts a visitor card) and enables a game using the value specified by the recording medium (for example, adding the number of game balls and the number of game points). A system,
The recording medium has a first value (for example, a prepaid balance, 4 pachis) that allows a game at a high rate (for example, a rate of 4 yen per pachinko ball, a rate of 20 yen per coin). Second-class value (for example, prepaid balance, etc.) that enables games at a low rate (for example, a rate of less than 4 yen per pachinko ball, a rate of less than 20 yen per coin) 1-patch holding ball, 1-patch storage ball) (for example, see FIG. 77), and the type of the recording medium includes a member recording medium corresponding to a member player and a non-member player. And corresponding non-member recording media,
The gaming device is:
Setting means (for example, step S527 in FIG. 78) for setting which of the high rate and the low rate is allowed;
Adding means for adding the value acquired in the game in accordance with the setting by the setting means to the value included in either the first category value or the second category value (see, for example, FIG. 12; step S516 in FIG. 78 or The rate set in step S527 is determined, and the acquired value is added to the first-class value or the second-class value of the determined rate.Game with a prepaid balance that can be used in both 1-patch and 4-patch The value acquired in (4) may be added to a 4-patch holding ball, or the value acquired by a gaming machine with a 4-patch storage ball may be added to a 4-patch holding ball.)
A return processing means for performing processing for returning the recording medium,
The return processing means
When the non-member recording medium is accepted and the return operation is accepted, if at least one of the first class value and the second class value is equal to or greater than a predetermined monetary value, the non-member Return the recording media,
When the non-member recording medium is accepted and the return operation is accepted, if each of the first class value and the second class value is less than the predetermined monetary value, the non-member record Restrict the return of media,
When the member recording medium is accepted, when the return operation is accepted, the member regardless of the size of each of the first type value and the second type value specified by the member recording medium Allow the return of recording media,
Absent of value that will be managed by the gaming machine, and, when the game machine is not controlled advantageously state, changes from one to the other of said high rate and the low rate by the setting means Is possible,
In the case of any of the cases and the gaming machine if of value that will be managed by the gaming machine is present is controlled advantageously state, from one of the high rate and the low rate by the setting means Changes to the other are prohibited ,
When there is a value managed by the gaming machine when a change operation from one of the high rate and the low rate by the setting means to the other is accepted, the value managed by the gaming machine is A promotion notification that prompts an operation for adding by the adding means as a value managed by the gaming apparatus is performed.

このような構成によれば、遊技用装置によって複数のレートを流動的に設定して遊技を可能にすることができる。その結果、複数のレートに流動的に対応することが可能な遊技用システムを提供することができる。   According to such a configuration, it is possible to set a plurality of rates in a fluid manner by the gaming device and enable a game. As a result, it is possible to provide a gaming system capable of fluidly supporting a plurality of rates.

(2) 遊技機(たとえば、パチンコ機2、スロットマシン2S)で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)であって、
前記記録媒体は、価値として、高レート(たとえば、パチンコ玉1玉4円のレート、コイン1枚20円のレート)での遊技を可能とする第一類価値(たとえば、プリペイド残額,4パチの持玉,4パチの貯玉)と低レート(たとえば、パチンコ玉1玉4円未満のレート、コイン1枚20円未満のレート)での遊技を可能とする第二類価値(たとえば、プリペイド残額,1パチの持玉,1パチの貯玉)とを特定可能であり(たとえば、図77参照)、前記記録媒体の種類には、会員遊技者に対応する会員用記録媒体と、非会員遊技者に対応する非会員用記録媒体とが含まれ、
前記高レートおよび前記低レートのいずれの遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)と、
前記設定手段による設定に応じて遊技で獲得した価値を前記第一類価値および前記第二類価値のいずれかに含まれる価値に加算する加算手段(たとえば、図12参照。図78のステップS516またはステップS527で設定されたレートを判定して、獲得した価値を判定されたレートの第一類価値または第二類価値に加算する。1パチ,4パチの両方で使用可能なプリペイド残額での遊技で獲得した価値を4パチの持玉に加算してもよいし、4パチの貯玉での遊技機獲得した価値を4パチの持玉に加算してもよい。)と、
前記記録媒体を返却するための処理を行なう返却処理手段とを備え、
前記返却処理手段は、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値の少なくともいずれか一方が所定の貨幣価値以上であれば、前記非会員用記録媒体を返却し、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値のそれぞれが前記所定の貨幣価値未満であれば、前記非会員用記録媒体の返却を制限し、
前記会員用記録媒体を受付けている場合に返却操作が受付けられたときに、該会員用記録媒体で特定される前記第一類価値および前記第二類価値のそれぞれの大きさに関わらず前記会員用記録媒体の返却を許容し、
前記遊技機にて管理される価値が存在せず、かつ、前記遊技機が有利状態に制御されていない場合に、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が可能となり、
前記遊技機にて管理される価値が存在する場合および前記遊技機が有利状態に制御されている場合のいずれかの場合には、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が禁止され
前記設定手段による前記高レートと前記低レートとの一方から他方への変更操作を受け付けたときに前記遊技機にて管理される価値が存在する場合、当該遊技機にて管理される価値を前記遊技用装置にて管理される価値として前記加算手段により加算するための操作を促す促進報知を行う。
(2) A recording medium (for example, a membership card or a visitor card) that can specify a value (for example, a prepaid balance, a possession ball, a storage ball) for playing a game on a gaming machine (for example, a pachinko machine 2, a slot machine 2S). A gaming device (for example, a card unit 3) that accepts and enables a game using the value specified by the recording medium (for example, adds the number of game balls and the number of game points),
The recording medium has a first value (for example, a prepaid balance, 4 pachis) that allows a game at a high rate (for example, a rate of 4 yen per pachinko ball, a rate of 20 yen per coin). Second-class value (for example, prepaid balance, etc.) that enables games at a low rate (for example, a rate of less than 4 yen per pachinko ball, a rate of less than 20 yen per coin) 1-patch holding ball, 1-patch storage ball) (for example, see FIG. 77), and the type of the recording medium includes a member recording medium corresponding to a member player and a non-member player. And corresponding non-member recording media,
Setting means (for example, step S527 in FIG. 78) for setting which of the high rate and the low rate is allowed;
Adding means for adding the value acquired in the game in accordance with the setting by the setting means to the value included in either the first category value or the second category value (see, for example, FIG. 12; step S516 in FIG. 78 or The rate set in step S527 is determined, and the acquired value is added to the first-class value or the second-class value of the determined rate.Game with a prepaid balance that can be used in both 1-patch and 4-patch The value acquired in (4) may be added to a 4-patch holding ball, or the value acquired by a gaming machine with a 4-patch storage ball may be added to a 4-patch holding ball.)
A return processing means for performing processing for returning the recording medium,
The return processing means
When the non-member recording medium is accepted and the return operation is accepted, if at least one of the first class value and the second class value is equal to or greater than a predetermined monetary value, the non-member Return the recording media,
When the non-member recording medium is accepted and the return operation is accepted, if each of the first class value and the second class value is less than the predetermined monetary value, the non-member record Restrict the return of media,
When the member recording medium is accepted, when the return operation is accepted, the member regardless of the size of each of the first type value and the second type value specified by the member recording medium Allow the return of recording media,
Absent of value that will be managed by the gaming machine, and, when the game machine is not controlled advantageously state, changes from one to the other of said high rate and the low rate by the setting means Is possible,
In the case of any of the cases and the gaming machine if of value that will be managed by the gaming machine is present is controlled advantageously state, from one of the high rate and the low rate by the setting means Changes to the other are prohibited ,
When there is a value managed by the gaming machine when a change operation from one of the high rate and the low rate by the setting unit to the other is accepted, the value managed by the gaming machine is A promotion notification that prompts an operation to be added by the adding means as a value managed by the gaming apparatus is performed.

このような構成によれば、遊技用装置によって複数のレートを流動的に設定して遊技を可能にすることができる。その結果、複数のレートに流動的に対応することが可能な遊技用装置を提供することができる。   According to such a configuration, it is possible to set a plurality of rates in a fluid manner by the gaming device and enable a game. As a result, it is possible to provide a gaming apparatus capable of fluidly supporting a plurality of rates.

(3) 上記(1)の遊技用システムまたは(2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第一類価値が第1閾値未満であるか、および、
前記記録媒体で特定される前記第二類価値が第2閾値未満であるかを判定する判定手段(たとえば、図80のステップS553)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記第一類価値が前記第1閾値未満であるか、前記第二類価値が前記第2閾値未満であると判定された場合は、前記記録媒体の返却を制限する返却制限手段(たとえば、図80のステップS556,ステップS557で係員の操作がない限り返却不可とする。)とを備える。
(3) In the gaming system of (1) or the gaming device of (2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
The first class value specified by the recording medium is less than a first threshold; and
Determination means (for example, step S553 in FIG. 80) for determining whether the second type value specified by the recording medium is less than a second threshold;
When the return operation is accepted by the return operation accepting unit, the determining unit determines that the first type value is less than the first threshold value or the second type value is less than the second threshold value. If it is, return restriction means for restricting the return of the recording medium (for example, return is impossible unless an operator operates in step S556 and step S557 in FIG. 80).

このような構成によれば、記録媒体で特定される第一類価値が第1閾値未満であるか第二類価値が第2閾値未満である場合は、記録媒体の返却が制限される。その結果、閾値未満の第一類価値または第二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, when the first type value specified by the recording medium is less than the first threshold value or the second type value is less than the second threshold value, the return of the recording medium is restricted. As a result, it is possible to prevent discharge of the recording medium that can specify the first type value or the second type value less than the threshold value.

(4) 上記(1)の遊技用システムまたは(2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第一類価値が第1閾値未満であるか、および、
前記記録媒体で特定される前記第二類価値が第2閾値未満であるかを判定する判定手段(たとえば、図80のステップS553)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記第一類価値が前記第1閾値未満、および、前記第二類価値が前記第2閾値未満のいずれかと判定された場合は、価値の少ない方を多い方に変換して合算する合算手段(たとえば、図80のステップS554、図79のステップS547)とを備え、
前記判定手段は、前記合算手段によって合算された価値が、前記第一類価値であれば前記第1閾値未満であるかを判定し、前記第二類価値であれば前記第2閾値未満であるかを判定し(たとえば、図80のステップS555)、
前記遊技用装置は、さらに、
前記判定手段によって前記合算された価値が前記第1閾値または前記第2閾値未満であると判定された場合は、前記記録媒体の返却を制限し、未満でないと判定された場合は、前記記録媒体を返却する返却手段(たとえば、図80のステップS556,ステップS557、図14の返却可否判定処理の後の処理)を備える。
(4) In the gaming system of (1) or the gaming device of (2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
The first class value specified by the recording medium is less than a first threshold; and
Determination means (for example, step S553 in FIG. 80) for determining whether the second type value specified by the recording medium is less than a second threshold;
When the return operation is accepted by the return operation accepting unit, the determining unit determines that the first type value is less than the first threshold value and the second type value is less than the second threshold value. In the case where the value is less than the value, it is provided with a summing means (for example, step S554 in FIG. 80, step S547 in FIG. 79) for converting the less valuable value into the greater value and adding together.
The determination unit determines whether the value added by the adding unit is less than the first threshold if the value is the first type value, and is less than the second threshold if the value is the second type value. (For example, step S555 in FIG. 80),
The gaming device further includes:
When it is determined that the combined value is less than the first threshold value or the second threshold value by the determination unit, the return of the recording medium is restricted, and when it is determined that the value is not less than the first threshold value, the recording medium Return means (for example, step S556 in FIG. 80, step S557, processing after the return permission determination processing in FIG. 14).

このような構成によれば、記録媒体で特定される第一類価値と第二類価値とを合算した価値が閾値未満である場合は、記録媒体の返却が制限される。その結果、閾値未満の第一類価値または第二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, when the total value of the first type value and the second type value specified on the recording medium is less than the threshold value, the return of the recording medium is restricted. As a result, it is possible to prevent discharge of the recording medium that can specify the first type value or the second type value less than the threshold value.

(5) 上記(1)の遊技用システムまたは(2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第一類価値が第1閾値以上であるか、および、
前記記録媒体で特定される前記第二類価値が第2閾値以上であるかを判定する判定手段(たとえば、図80のステップS552)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記第一類価値が前記第1閾値以上であるか、前記第二類価値が前記第2閾値以上であると判定された場合は、前記記録媒体を返却する返却手段(たとえば、図14の返却可否判定処理の後の処理)とを備える。
(5) In the gaming system of (1) or the gaming device of (2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
The first class value specified by the recording medium is equal to or greater than a first threshold; and
Determination means (for example, step S552 in FIG. 80) for determining whether the second type value specified by the recording medium is equal to or greater than a second threshold;
When the return operation is accepted by the return operation accepting unit, the determining unit determines that the first type value is greater than or equal to the first threshold or the second type value is greater than or equal to the second threshold. If it has been done, it is provided with return means for returning the recording medium (for example, processing after the return permission determination processing in FIG. 14).

このような構成によれば、記録媒体で特定される第一類価値が第1閾値以上であるか第二類価値が第2閾値以上である場合に、記録媒体が返却可能とされる。その結果、閾値未満の第一類価値または第二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, the recording medium can be returned when the first type value specified by the recording medium is equal to or greater than the first threshold value or the second type value is equal to or greater than the second threshold value. As a result, it is possible to prevent discharge of the recording medium that can specify the first type value or the second type value less than the threshold value.

(6) 上記(1)の遊技用システムまたは(2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第一類価値と前記第二類価値との和が閾値未満であるかを判定する判定手段(たとえば、図80のステップS553においては各レートの持玉が500円相当未満であるかを判断するようにしたが、各レートの持玉を合算したものが500円相当未満であるかを判断するようにしてもよい。)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記和が前記閾値未満であると判定された場合は、前記記録媒体の返却を制限し、未満でないと判定された場合は、前記記録媒体を返却する返却手段(たとえば、図80のステップS556,ステップS557、図14の返却可否判定処理の後の処理)とを備える。
(6) In the gaming system of (1) or the gaming device of (2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
Determining means for determining whether the sum of the first class value and the second class value specified on the recording medium is less than a threshold (for example, in step S553 in FIG. Although it is determined whether or not it is less than a substantial amount, it may be determined whether or not the sum of the balls of each rate is less than or equal to 500 yen).
When the return operation is accepted by the return operation accepting unit, if the sum is determined to be less than the threshold value by the determining unit, the return of the recording medium is restricted and determined not to be less In this case, there is a return means for returning the recording medium (for example, step S556 in FIG. 80, step S557, processing after the return permission determination processing in FIG. 14).

このような構成によれば、記録媒体で特定される第一類価値と第二類価値との和が閾値未満である場合は、記録媒体の返却が制限され、未満でない場合は、記録日値が返却可能とされる。その結果、閾値未満の第一類価値または第二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, when the sum of the first class value and the second class value specified by the recording medium is less than the threshold value, the return of the recording medium is restricted, and when it is not less, the recording date value Can be returned. As a result, it is possible to prevent the discharge of the recording medium capable of specifying the first type value or the second type value less than the threshold value.

(7) 上記(3)から(6)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記判定手段は、前記返却操作受付手段によって返却操作が受付けられたときに、前記第一類価値および前記第二類価値のいずれにも加算されていない価値があるときは、当該加算されていない価値を前記第一類価値および前記第二類価値のいずれかに加算したものに対して判定する(たとえば、図80のステップS553においては各レートの持玉が500円相当未満であるかを判断するようにしたが、各レートの持玉および未計数の遊技玉を合算したものが500円相当未満であるかを判断するようにしてもよい。)。
(7) In any one of the gaming system and gaming device of (3) to (6) above,
When the return operation is accepted by the return operation accepting unit, the determination unit is not added when there is a value that is not added to either the first type value or the second type value. Judgment is made on the value obtained by adding the value to one of the first class value and the second class value (for example, in step S553 in FIG. 80, it is determined whether or not the money of each rate is less than 500 yen equivalent). However, it is possible to determine whether the sum of the balls of each rate and the uncounted game balls is less than 500 yen.)

このような構成によれば、記録媒体で特定される第一類価値および第二類価値が閾値未満であるかを、記録媒体で未だ特定可能とされていない価値も加味して判定することができる。その結果、より有効な判定をすることができる。   According to such a configuration, it is possible to determine whether or not the first type value and the second type value specified by the recording medium are less than the threshold value in consideration of the value that has not yet been specified by the recording medium. it can. As a result, a more effective determination can be made.

(8) 上記(1)から(7)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第一類価値および前記第二類価値は、互いに変換可能とされる(たとえば、図78のステップS511〜ステップS515、図79のステップS547)。
(8) In any one of the gaming system and gaming device according to (1) to (7) above,
The first class value and the second class value can be converted into each other (for example, step S511 to step S515 in FIG. 78, step S547 in FIG. 79).

このような構成によれば、一方のレートの価値が無くなった場合に他方のレートの価値があれば、その他方のレートの価値を一方のレートの価値に変換することができる。その結果、遊技者の利便性を向上させることができる。   According to such a configuration, when the value of one rate is lost, the value of the other rate can be converted into the value of one rate if the value of the other rate is available. As a result, the convenience for the player can be improved.

(9) 上記(8)の遊技用システムまたは遊技用装置において、
前記第一類価値および前記第二類価値が互いに変換可能とされるのは、遊技が行なわれていないと判断される場合(たとえば、遊技玉数が0になって所定時間、経過しており、図柄変動中でなく、特定遊技状態や特別遊技状態中でない場合)である(たとえば、図78のステップS514で遊技動作中でないと判断されたときである)。
(9) In the gaming system or gaming device of (8) above,
The first type value and the second type value can be converted to each other when it is determined that no game is being performed (for example, the number of game balls has become zero and a predetermined time has elapsed). When the symbol is not changing and the game is not in the specific game state or the special game state (for example, when it is determined in step S514 in FIG. 78 that no game operation is being performed).

このような構成によれば、第一類価値または第二類価値が用いられて遊技が行なわれているときには他方の価値への変換ができないようにされる。その結果、第一類価値および第二類価値が混ざってしまわないようにすることができる。   According to such a configuration, when the first type value or the second type value is used and a game is performed, conversion to the other value cannot be performed. As a result, the first type value and the second type value can be prevented from being mixed.

(10) 上記(1)から(9)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記設定手段は、遊技が行なわれていないと判断される場合(たとえば、遊技玉数が0になって所定時間、経過しており、図柄変動中でなく、特定遊技状態や特別遊技状態中でない場合)に、設定の変更を可能とする(たとえば、図78のステップS523で遊技動作中でないと判断されることを条件としてステップS527でレート切替設定が行なわれる)。
(10) In any one of the gaming system and gaming device according to (1) to (9) above,
When it is determined that the game is not being performed (for example, the number of game balls has become zero and a predetermined time has elapsed, the symbol is not changing, and the game is not in a specific game state or a special game state. In the case, the setting can be changed (for example, the rate switching setting is performed in step S527 on the condition that it is determined that the game operation is not being performed in step S523 in FIG. 78).

このような構成によれば、第一類価値または第二類価値が用いられて遊技が行なわれているときには他方の価値への設定変更ができないようにされる。その結果、第一類価値および第二類価値が混ざってしまわないようにすることができる。   According to such a configuration, when the first type value or the second type value is used and a game is being performed, the setting change to the other value is not allowed. As a result, the first type value and the second type value can be prevented from being mixed.

(11) 上記(1)から(10)の遊技用システムおよび遊技用装置のいずれかにおいて、
遊技が行なわれていると判断される場合、または、遊技で遊技者にとって有利な特定遊技状態とするか否かの抽選の演出が行われている場合に、前記第一類価値または前記第二類価値のいずれを用いて遊技が行なわれているかを報知または示唆する報知手段をさらに備える(たとえば、図78のステップS517。遊技機側で報知してもよいし、遊技用装置で報知してもよい。)。
(11) In any one of the gaming system and gaming device of (1) to (10) above,
When it is determined that a game is being performed, or when a lottery effect indicating whether the game is in a specific gaming state that is advantageous to the player is being performed, the first type value or the second value It is further provided with notifying means for notifying or suggesting which of the similar values is used for the game (for example, step S517 in FIG. 78. The notification may be made on the gaming machine side or on the gaming device). It is good.)

このような構成によれば、第一類価値または第二類価値のいずれが用いられて遊技が行なわれているかを遊技者に分からせることができる。   According to such a configuration, it is possible to let the player know which of the first type value or the second type value is used to play the game.

(12) 上記(1)から(11)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記遊技用装置は、さらに、
前記設定手段による設定を示す情報を前記遊技機に送信する遊技用装置側送信手段(たとえば、図78のステップS518。状態情報要求に第一類価値であるか第二類価値であるか否かが含められて送信されるようにしてもよい。)を備える。
(12) In any one of the gaming system and gaming device of (1) to (11) above,
The gaming device further includes:
Gaming device side transmitting means for transmitting information indicating the setting by the setting means to the gaming machine (for example, step S518 in FIG. 78. Whether the status information request is the first type value or the second type value) May be included and transmitted.).

このような構成によれば、第一類価値または第二類価値のいずれが用いられて遊技が行なわれるかに応じた対応を遊技機に実行させることができる(たとえば、第一類価値および第二類価値のいずれが用いられて遊技が行われているかを遊技機に表示させることができる)。   According to such a configuration, it is possible to cause the gaming machine to perform a response according to whether the first type value or the second type value is used to play the game (for example, the first type value and the second type value). It is possible to display on the gaming machine which of the two kinds of values is used to play the game).

(13) 上記(12)の遊技用システムまたは遊技用装置において、
前記遊技機は、
遊技の結果を前記遊技用装置に送信するときに、前記遊技用装置側送信手段から受信した設定を示す情報で示される設定を合わせて送信する遊技機側送信手段(たとえば、図12で計数の処理が行なわれるときに状態情報応答に第一類価値であるか第二類価値であるかが含められて送信されるようにする。)を備える。
(13) In the gaming system or gaming device of (12) above,
The gaming machine is
When the game result is transmitted to the gaming device, the gaming machine side transmitting means (for example, the counting device shown in FIG. When the process is performed, the status information response includes whether it is the first type value or the second type value and is transmitted.

このような構成によれば、遊技用装置で設定された遊技に用いられる価値と遊技機から受信した遊技に用いられている価値との一致を遊技用装置が判断することができる。その結果、両者が一致しないといった不正や異常を発見することができる。   According to such a configuration, the gaming device can determine whether the value used for the game set by the gaming device matches the value used for the game received from the gaming machine. As a result, it is possible to find fraud and abnormalities such that the two do not match.

(1−1) 本発明は、入賞の発生により所定の遊技点を付与する遊技機(パチンコ機2、スロットマシン2S)と、該遊技機と通信可能に接続され、遊技者所有の有価価値(残高、貯玉、遊技玉数、現金など)を用いて該遊技機での遊技を可能にする遊技用装置(カードユニット3)とを備える遊技用システムであって、
前記遊技用装置は、
遊技を行なう遊技者を特定する遊技者特定情報(C-ID等)を読取る遊技者特定情報読取手段(カードリーダライタ)と、
該遊技者特定情報読取手段により読取られた遊技者特定情報を記憶する遊技者特定情報記憶手段(CU制御部323は、カードリーダライタで読み取ったカードIDを記憶)と、
遊技を開始するときに、前記遊技者特定情報読取手段により読取られた遊技者特定情報を前記遊技機へ送信する制御を行なう遊技者特定情報送信制御手段(図9のカード挿入通知によりカードIDを通知)とを含み、
前記遊技機は、
前記遊技者特定情報送信制御手段の制御により送信されてきた遊技者特定情報を記憶する記憶手段(図9;カードIDをバックアップ)と、
遊技を終了するときに、前記記憶手段に記憶されている遊技者特定情報を前記遊技用装置へ送信する制御を行なう送信制御手段(図14;P台2は、カード返却応答によって、バックアップしているC−IDを送信)と、
前記遊技点を記憶する遊技点記憶手段(図6の遊技玉数カウンタ)と、
前記遊技点を所定の持点に変換するための操作(計数)に基づいて前記遊技点を前記持点に変換するための変換要求を前記遊技用装置へ送信する変換要求送信手段(図12;P台2は、計数要求=ONの状態情報要求を送信)とを含み、
前記遊技用装置は、
前記変換要求送信手段から送信されてきた変換要求に基づいて前記遊技点を前記持点に変換するための変換処理を実行する(図12;計数玉数を持玉数に加算)とともに、前記変換要求を承諾した旨の変換承諾を前記遊技機へ返信する(図12;計数応答=ONの状態情報要求を送信)変換処理手段と、
前記送信制御手段の制御により送信されてきた遊技者特定情報と前記遊技者特定情報記憶手段に記憶されている遊技者特定情報とにより同一の遊技者が特定されるか否かを判定する同一判定手段(図14;CU3側でカード挿入時から記憶しているC−IDと、カード返却応答で通知されたC−IDとの一致判別)とをさらに含む。
(1-1) The present invention is connected to a gaming machine (pachinko machine 2, slot machine 2S) that gives a predetermined gaming point when a winning occurs, and is connected to the gaming machine so as to be able to communicate with the valuable value ( A gaming system comprising a gaming device (card unit 3) that enables gaming on the gaming machine using a balance, stored balls, number of gaming balls, cash, etc.,
The gaming device is:
Player identification information reading means (card reader / writer) for reading player identification information (C-ID or the like) for identifying a player who performs a game;
Player identification information storage means for storing the player identification information read by the player identification information reading means (the CU control unit 323 stores the card ID read by the card reader / writer);
When starting a game, player identification information transmission control means for controlling to transmit the player identification information read by the player identification information reading means to the gaming machine (card ID is notified by card insertion notification in FIG. 9). Notification)
The gaming machine is
Storage means (FIG. 9; backup card ID) for storing player identification information transmitted under the control of the player identification information transmission control means;
When the game is finished, transmission control means for performing control to transmit the player specifying information stored in the storage means to the gaming device (FIG. 14; P table 2 is backed up by a card return response). Send C-ID)
Game point storage means for storing the game points (game ball counter in FIG. 6);
Conversion request transmitting means for transmitting a conversion request for converting the gaming point to the holding point to the gaming device based on an operation (counting) for converting the gaming point into a predetermined holding point (FIG. 12; P table 2 includes a count request = ON state information request is transmitted)
The gaming device is:
Based on the conversion request transmitted from the conversion request transmitting means, a conversion process for converting the gaming points into the holding points is executed (FIG. 12: the number of counting balls is added to the number of holding balls) and the conversion is performed. A conversion processing unit that returns a conversion approval indicating that the request has been accepted to the gaming machine (FIG. 12; transmits a count response = ON state information request);
Identical determination for determining whether or not the same player is specified by the player specifying information transmitted under the control of the transmission control means and the player specifying information stored in the player specifying information storage means Means (FIG. 14; determination of coincidence between the C-ID stored from the time of card insertion on the CU3 side and the C-ID notified by the card return response).

このような構成によれば、変換操作に基づいて遊技点を持点に変換し、遊技機から送信されてきた遊技者特定情報と遊技開始時に記憶していた遊技者特定情報とにより同一の遊技者が特定されるか否かを判定することで遊技開始時の遊技者を特定する情報と遊技終了時の遊技者を特定する情報との同一性の判定を可能となる。また、その判定結果によって、遊技終了とすることが可能となり、遊技開始時の遊技者とは異なる遊技者によって遊技が終了されてしまう不都合を防止できる。   According to such a configuration, the game points are converted into points based on the conversion operation, and the same game is determined by the player specification information transmitted from the gaming machine and the player specification information stored at the start of the game. By determining whether or not the player is specified, it is possible to determine the identity between the information specifying the player at the start of the game and the information specifying the player at the end of the game. Further, it is possible to end the game based on the determination result, and it is possible to prevent the disadvantage that the game is ended by a player different from the player at the start of the game.

(1−2) 本発明は、入賞の発生により所定の遊技点を付与する遊技機(パチンコ機2、スロットマシン2S)と通信可能に接続するための接続部を備え、遊技者所有の有価価値(残高、貯玉、遊技玉数、現金など)を用いて該遊技機での遊技を可能にする遊技用装置(カードユニット3)であって、
遊技を行なう遊技者を特定する遊技者特定情報(C-ID等)を読取る遊技者特定情報読取手段(カードリーダライタ)と、
該遊技者特定情報読取手段により読取られた遊技者特定情報を記憶する遊技者特定情報記憶手段(CU制御部323は、カードリーダライタで読み取ったカードIDを記憶)と、
遊技を開始するときに、前記遊技者特定情報読取手段により読取られた遊技者特定情報を前記遊技機へ送信する制御を行なう遊技者特定情報送信制御手段(図9のカード挿入通知によりカードIDを通知)と、
前記遊技者特定情報送信制御手段の制御により送信された遊技者特定情報を記憶した遊技機から、遊技を終了するときに送信されてきた遊技者特定情報と、前記遊技者特定情報記憶手段に記憶されている遊技者特定情報とにより、同一の遊技者が特定されるか否かを判定する同一判定手段(図14;CU3側でカード挿入時から記憶しているC−IDと、カード返却応答で通知されたC−IDとの一致判別)と、
前記遊技点を所定の持点に変換するための操作(計数操作)に基づいた前記遊技機からの変換要求に基づいて前記遊技点を前記持点に変換するための変換処理を実行する(図12;計数玉数を持玉数に加算)とともに、前記変換要求を承諾した旨の変換承諾を前記遊技機へ返信する(図12;計数応答=ONの状態情報要求を送信)変換処理手段とを含む。
(1-2) The present invention includes a connection portion for connecting to a gaming machine (pachinko machine 2, slot machine 2S) that gives a predetermined gaming point when a winning occurs, and is valuable to the player. A gaming device (card unit 3) that enables games on the gaming machine using (balance, stored balls, number of gaming balls, cash, etc.),
Player specifying information reading means (card reader / writer) for reading player specifying information (C-ID or the like) for specifying a player who performs a game;
Player identification information storage means for storing the player identification information read by the player identification information reading means (the CU control unit 323 stores the card ID read by the card reader / writer);
When starting a game, player identification information transmission control means for performing control for transmitting the player identification information read by the player identification information reading means to the gaming machine (card ID is notified by card insertion notification in FIG. 9). Notification)
Stored in the player specifying information storage means and the player specifying information transmitted from the gaming machine storing the player specifying information transmitted under the control of the player specifying information transmission control means when the game is ended. The same determination means for determining whether or not the same player is specified based on the player specifying information (FIG. 14; C-ID stored from the time of card insertion on the CU3 side and card return response) Match determination with the C-ID notified in the above),
Based on a conversion request from the gaming machine based on an operation (counting operation) for converting the game points into predetermined points, a conversion process for converting the game points into the points is executed (FIG. 12; adding the number of counting balls to the number of holding balls) and returning a conversion approval indicating that the conversion request has been accepted to the gaming machine (FIG. 12; sending a count response = ON state information request); including.

このような構成によれば、変換操作に基づいて遊技点を持点に変換し、遊技機から送信されてきた遊技者特定情報と遊技開始時に記憶していた遊技者特定情報とにより同一の遊技者が特定されるか否かを判定することで遊技開始時の遊技者を特定する情報と遊技終了時の遊技者を特定する情報との同一性の判定を可能となる。また、その判定結果によって、遊技終了とすることが可能となり、遊技開始時の遊技者とは異なる遊技者によって遊技が終了されてしまう不都合を防止できる。   According to such a configuration, the game points are converted into points based on the conversion operation, and the same game is determined by the player specification information transmitted from the gaming machine and the player specification information stored at the start of the game. By determining whether or not the player is specified, it is possible to determine the identity between the information specifying the player at the start of the game and the information specifying the player at the end of the game. Further, it is possible to end the game based on the determination result, and it is possible to prevent the disadvantage that the game is ended by a player different from the player at the start of the game.

(1−3) 上記(1−1)の遊技用システムまたは上記(1−2)の遊技用装置において、
前記遊技用装置は、
当該遊技用装置が設置されている遊技場を特定可能な遊技場特定情報を記憶する遊技場特定情報記憶手段(CU3は、自らが設置されている店舗コードを記憶)と、
当該遊技用装置に設けられている制御装置(セキュリティチップ325b)を特定可能な制御装置特定情報(SC基板ID)を記憶する制御装置特定情報記憶手段(CU3は、SC基板IDを記憶)と、
遊技者所有の遊技用価値を特定可能な記録媒体を受付ける記録媒体受付手段(カード挿入/排出口309)と、
該記録媒体受付手段により記録媒体が受付けられたときに、前記遊技場特定情報記憶手段に記憶されている遊技場特定情報と前記制御装置特定情報記憶手段に記憶されている制御装置特定情報とを前記遊技機へ送信する送信手段(図9;カード挿入時にカード挿入通知によって店舗コードとSC基板IDとを送信)とをさらに含む。
(1-3) In the gaming system of (1-1) or the gaming device of (1-2),
The gaming device is:
A game hall specifying information storage means (CU3 stores a store code in which the game apparatus is installed) that stores game hall specifying information capable of specifying the game hall in which the game apparatus is installed;
Control device identification information storage means (CU3 stores SC substrate ID) for storing control device identification information (SC substrate ID) that can identify the control device (security chip 325b) provided in the gaming device;
A recording medium receiving means (card insertion / ejecting port 309) for receiving a recording medium capable of specifying the player's gaming value;
When the recording medium is received by the recording medium receiving means, the game hall specifying information stored in the game hall specifying information storage means and the control device specifying information stored in the control apparatus specifying information storage means Further includes transmission means for transmitting to the gaming machine (FIG. 9; transmitting store code and SC board ID by card insertion notification when a card is inserted).

このような構成によれば、遊技場特定情報および制御装置特定情報まで同一であるか否かを判定することができる。   According to such a configuration, it is possible to determine whether or not the game hall specifying information and the control device specifying information are the same.

(1−4) 上記(1−1)の遊技用システムまたは上記(1−2)の遊技用装置において、
前記遊技用装置は、
遊技者所有の遊技用価値を特定可能な記録媒体を受付ける記録媒体受付手段(カード挿入/排出口309)を含み、
前記記録媒体受付手段は、前記変換要求送信手段から送信されてきた変換要求に基づいて全ての前記遊技点を前記持点に変換した場合に限り、受付けた前記記録媒体を返却する(図14;カード返却操作時に遊技点が残っていると、計数ボタン操作を促し、計数操作により遊技玉が0になったことを条件にカード返却処理実行)。
(1-4) In the gaming system (1-1) or the gaming device (1-2),
The gaming device is:
Including a recording medium receiving means (card insertion / ejecting port 309) for receiving a recording medium capable of specifying the player's gaming value;
The recording medium accepting means returns the accepted recording medium only when all the game points are converted into the possession points based on the conversion request transmitted from the conversion request transmitting means (FIG. 14). If game points remain during the card return operation, a count button operation is prompted, and card return processing is executed on condition that the game ball has become 0 by the count operation).

このような構成によれば、遊技機に遊技点が残ったまま記録媒体が返却されてしまうことを防止することができる。   According to such a configuration, it is possible to prevent the recording medium from being returned with game points remaining in the gaming machine.

(2−1) 本発明は、遊技機(P台2、S台2S)と、前記遊技機での遊技を可能にする遊技用装置(CU3)とを備える遊技用システムであって、
前記遊技機は、
遊技が行なわれることにより変化する遊技情報を特定するための遊技特定情報(遊技台情報(遊技玉数、加算玉数、減算玉数))を前記遊技用装置へ送信する情報送信手段(図15〜図17、払出制御部171の入出力インターフェイス)と、
前記遊技用装置へ送信する前の遊技特定情報である送信前遊技特定情報(最新遊技台情報(カウント中の遊技台情報))を記憶するとともに前記遊技用装置へ送信した遊技特定情報である送信済遊技特定情報(前回遊技台情報)を記憶する遊技特定情報記憶手段(図6:払出制御部171のRAM)とを含み、
前記遊技用装置は、
前記遊技情報を記憶する情報記憶手段(図6:CU制御部323のRAM)と、
前記情報記憶手段が記憶している情報を前記情報送信手段から送信されてきた遊技特定情報に基づいて更新する情報更新手段(図6:CU制御部323のCPU)とを含み、
前記情報送信手段は、前記遊技機と前記遊技用装置とが通信できない通信不能状態から回復した後の通信復旧時(リカバリ時)に、前記遊技特定情報記憶手段が記憶している前記送信前遊技特定情報と前記送信済遊技特定情報とを前記遊技用装置が区別できる態様で送信する遊技特定情報区別送信手段(図16、図17参照)を含み、
前記遊技用装置は、
前記遊技特定情報区別送信手段により送信されてきた前記送信前遊技特定情報と前記送信済遊技特定情報と前記情報記憶手段が記憶している情報とに基づいて前記送信前遊技特定情報と前記送信済遊技特定情報とが適正な情報であるか否か判定する適否判定手段(図28のS301、S303、S311、S312、図29のS323)と、
該適否判定手段により適正であると判定されたことを条件として、前記送信前遊技特定情報と前記送信済遊技特定情報とに基づいて前記遊技機と遊技情報の整合性をとる整合手段(図28のS303でNOのときに受信した遊技玉数を新たな遊技玉数として記憶するCU制御部323のRAM、図28のS313)とをさらに含む。
(2-1) The present invention is a gaming system comprising a gaming machine (P 2 and S 2S) and a gaming device (CU3) that enables gaming on the gaming machine,
The gaming machine is
Information transmitting means for transmitting game specifying information (game table information (the number of game balls, the number of added balls, the number of subtracted balls)) for specifying game information that changes as a game is performed (FIG. 15). To FIG. 17, input / output interface of the payout control unit 171),
The game specification information before transmission which is the game specification information before transmission to the gaming device (the latest game table information (game table information being counted)) is stored and the transmission is game specification information transmitted to the gaming device. Game specific information storage means (FIG. 6: RAM of the payout control unit 171) for storing already-played game specific information (previous game table information),
The gaming device is:
Information storage means for storing the game information (FIG. 6: RAM of the CU control unit 323);
Information updating means (FIG. 6: CPU of the CU control unit 323) for updating the information stored in the information storage means based on the game specific information transmitted from the information transmitting means,
The information transmitting means stores the pre-transmission game stored in the game specifying information storage means at the time of communication recovery after recovery from an incommunicable state where the gaming machine and the gaming device cannot communicate with each other. Including game specific information distinction transmitting means (see FIGS. 16 and 17) for transmitting the specific information and the transmitted game specific information in such a manner that the gaming device can distinguish between them,
The gaming device is:
Based on the pre-transmission game identification information, the transmitted game identification information, and the information stored in the information storage means transmitted by the game identification information distinction transmission means, the pre-transmission game identification information and the transmitted Suitability determining means (S301, S303, S311, S312 in FIG. 28, S323 in FIG. 29) for determining whether or not the game specifying information is appropriate information;
Matching means for matching the gaming machine and game information based on the pre-transmission game specifying information and the transmitted game specifying information on condition that the appropriateness determining means determines that the game is appropriate (FIG. 28). Further includes a RAM of the CU control unit 323 for storing the number of game balls received when the answer is NO in S303, S313 in FIG.

上記構成によれば、通信復旧時に遊技機から送られてきた送信前遊技特定情報と送信済遊技特定情報と遊技用装置側が記憶している情報とを比較してそれら送信前遊技機特定情報と送信済遊技特定情報とが適正な情報であるか否かを判定し、適正であると判定されたことを条件として遊技機と遊技情報の整合性を取るために、不適正であると判定された送信前遊技特定情報や送信済遊技特定情報に基づく遊技用装置側の遊技情報の不適正な復旧処理が行なわれることを極力防止することができる。   According to the above configuration, the pre-transmission game identification information sent from the gaming machine at the time of communication recovery, the transmitted game identification information, and the information stored in the gaming device side are compared, and the pre-transmission gaming machine identification information, It is determined whether or not the transmitted game identification information is appropriate information, and in order to ensure consistency between the gaming machine and the game information on the condition that it is determined to be appropriate. In addition, it is possible to prevent improper restoration processing of game information on the gaming device side based on the pre-transmission game specifying information and the transmitted game specifying information as much as possible.

しかも、通信復旧時に遊技機側から送られてくる遊技特定情報が、遊技用装置へ送信する前の遊技特定情報である送信前遊技特定情報と遊技用装置へ送信した遊技特定情報である送信済遊技特定情報とに区別して送信されてくるために、両者を併せて一括して遊技特定情報が送信されてくる場合に比べて、それぞれの遊技特定情報の適否を個別に判断することができ、きめ細かな適否判断による適正な判断結果を得ることができる。   In addition, the game identification information sent from the gaming machine side at the time of communication restoration is the game identification information before transmission which is the game identification information before being transmitted to the gaming device and the game identification information transmitted to the gaming device. Since the game specific information is transmitted separately from the game specific information, the suitability of each game specific information can be individually determined as compared to the case where the game specific information is transmitted collectively together. Appropriate judgment results can be obtained by fine judgment.

(2−2) 本発明の他の態様は、遊技機(P台2、S台2S)での遊技を可能にする遊技用装置(CU3)であって、
前記遊技機で遊技が行なわれることにより変化する遊技情報を記憶する情報記憶手段(図6:CU制御部323のRAM)と、
前記遊技情報を特定するための遊技特定情報を前記遊技機より受信する情報受信手段(図15〜図17、通信制御IC325a)と、
前記情報記憶手段が記憶している情報を前記情報受信手段により受信された遊技特定情報に基づいて更新する情報更新手段(図6:CU制御部323のCPU)とを含み、
前記情報受信手段は、前記遊技機と通信ができない通信不能状態から回復した後の通信復旧時(リカバリ時)に、前記遊技特定情報として前記遊技機から送信されてくる送信前遊技特定情報と該送信前遊技特定情報より1回前の前記遊技特定情報である送信済遊技特定情報とを区別できる態様で受信する遊技特定情報区別受信手段(図16、図17参照)を含み、
前記遊技用装置は、
前記遊技特定情報区別受信手段により受信された前記送信前遊技特定情報と前記送信済遊技特定情報と前記情報記憶手段が記憶している情報とに基づいて前記送信前遊技特定情報と前記送信済遊技特定情報とが適正な情報であるか否か判定する適否判定手段(図28のS301、S303、S311、S312、図29のS323)と、
該適否判定手段により適正であると判定されたことを条件として、前記送信前遊技特定情報と前記送信済遊技特定情報とに基づいて前記遊技機と遊技情報の整合性をとる整合手段(図28のS303でNOのときに受信した遊技玉数を新たな遊技玉数として記憶するCU制御部323のRAM、図28のS313)とをさらに含む。
(2-2) Another aspect of the present invention is a gaming device (CU3) that enables gaming on gaming machines (P 2 and S 2S),
Information storage means (FIG. 6: RAM of the CU control unit 323) for storing game information that changes when a game is played in the gaming machine;
Information receiving means (FIGS. 15 to 17, communication control IC 325a) for receiving game specifying information for specifying the game information from the gaming machine;
Information updating means (FIG. 6: CPU of the CU control unit 323) for updating the information stored in the information storage means based on the game specifying information received by the information receiving means;
The information receiving means includes the pre-transmission game specifying information transmitted from the gaming machine as the game specifying information at the time of communication recovery after recovery from a communication disabled state where communication with the gaming machine cannot be performed (recovery). Including game specific information distinction receiving means (see FIGS. 16 and 17) for receiving in a manner capable of distinguishing transmitted game specific information that is the game specific information one time before game specific information before transmission;
The gaming device is:
Based on the pre-transmission game specific information received by the game specific information distinction receiving means, the transmitted game specific information, and the information stored in the information storage means, the pre-transmission game specific information and the transmitted game. Suitability determination means for determining whether the specific information is appropriate information (S301, S303, S311, S312 in FIG. 28, S323 in FIG. 29);
Matching means for matching the gaming machine and game information based on the pre-transmission game specifying information and the transmitted game specifying information on condition that the appropriateness determining means determines that the game is appropriate (FIG. 28). Further includes a RAM of the CU control unit 323 for storing the number of game balls received when the answer is NO in S303, S313 in FIG.

上記構成によれば、通信復旧時に遊技機から送られてきた送信前遊技特定情報と送信済遊技特定情報と遊技用装置側が記憶している情報とを比較してそれら送信前遊技機特定情報と送信済遊技特定情報とが適正な情報であるか否かを判定し、適正であると判定されたことを条件として遊技機と遊技情報の整合性を取るために、不適正であると判定された送信前遊技特定情報や送信済遊技特定情報に基づく遊技用装置側の遊技情報の不適正な復旧処理が行なわれることを極力防止することができる。   According to the above configuration, the pre-transmission game identification information sent from the gaming machine at the time of communication recovery, the transmitted game identification information, and the information stored in the gaming device side are compared, and the pre-transmission gaming machine identification information, It is determined whether or not the transmitted game identification information is appropriate information, and in order to ensure consistency between the gaming machine and the game information on the condition that it is determined to be appropriate. In addition, it is possible to prevent improper restoration processing of game information on the gaming device side based on the pre-transmission game specifying information and the transmitted game specifying information as much as possible.

しかも、通信復旧時に遊技機側から送られてくる遊技特定情報が、遊技用装置へ送信する前の遊技特定情報である送信前遊技特定情報と遊技用装置へ送信した遊技特定情報である送信済遊技特定情報とに区別して送信されてくるために、両者を併せて一括して遊技特定情報が送信されてくる場合に比べて、それぞれの遊技特定情報の適否を個別に判断することができ、きめ細かな適否判断による適正な判断結果を得ることができる。   In addition, the game identification information sent from the gaming machine side at the time of communication restoration is the game identification information before transmission which is the game identification information before being transmitted to the gaming device and the game identification information transmitted to the gaming device. Since the game specific information is transmitted separately from the game specific information, the suitability of each game specific information can be individually determined as compared to the case where the game specific information is transmitted collectively together. Appropriate judgment results can be obtained by fine judgment.

(2−3) 本発明のさらに他の態様は、遊技機での遊技を可能にする遊技用装置と通信可能な遊技機(P台2、S台2S)であって、
遊技が行なわれることにより変化する遊技情報を特定するための遊技特定情報を前記遊技用装置へ送信する情報送信手段(図15〜図17、払出制御部171の入出力インターフェイス)と、
前記遊技用装置へ送信する前の遊技特定情報である送信前遊技特定情報(最新遊技台情報(カウント中の遊技台情報))を記憶するとともに前記遊技用装置へ送信した遊技特定情報である送信済遊技特定情報(前回遊技台情報)を記憶する遊技特定情報記憶手段(図6:払出制御部171のRAM)とを含み、
前記情報送信手段は、前記遊技用装置と通信ができない通信不能状態から回復した後の通信復旧時(リカバリ時)に、前記遊技特定情報記憶手段が記憶している前記送信前遊技特定情報と前記送信済遊技特定情報とを前記遊技用装置が区別できる態様で送信する遊技特定情報区別送信手段(図16、図17参照)を含む。
(2-3) Still another aspect of the present invention is a gaming machine (P unit 2, S unit 2S) capable of communicating with a gaming device that enables gaming on a gaming machine,
Information transmitting means (FIGS. 15 to 17, input / output interface of payout control unit 171) for transmitting game specifying information for specifying game information that changes as a result of a game to be performed;
The game specification information before transmission which is the game specification information before transmission to the gaming device (the latest game table information (game table information being counted)) is stored and the transmission is game specification information transmitted to the gaming device. Game specific information storage means (FIG. 6: RAM of the payout control unit 171) for storing already-played game specific information (previous game table information),
The information transmission means includes the game specification information before transmission stored in the game specification information storage means and the game specification information stored in the game specification information storage means at the time of communication recovery after recovery from an incommunicable state in which communication with the gaming device is impossible. It includes a game specific information distinguishing / transmitting means (see FIGS. 16 and 17) for transmitting the transmitted game specific information in such a manner that the gaming device can distinguish it.

上記構成によれば、遊技用装置は、通信復旧時に遊技機から送られてきた送信前遊技特定情報と送信済遊技特定情報と遊技用装置側が記憶している情報とを比較してそれら送信前遊技機特定情報と送信済遊技特定情報とが適正な情報であるか否かを判定することができ、適正であると判定されたことを条件として遊技機と遊技情報の整合性を取るために、不適正であると判定された送信前遊技特定情報や送信済遊技特定情報に基づく遊技用装置側の遊技情報の不適正な復旧処理が行なわれることを極力防止することができる。   According to the above configuration, the gaming device compares the pre-transmission game identification information sent from the gaming machine at the time of communication recovery, the transmitted game identification information, and the information stored on the gaming device side before the transmission. In order to determine whether or not the gaming machine identification information and the transmitted gaming identification information are appropriate information, and to ensure consistency between the gaming machine and the gaming information on the condition that it is determined to be appropriate Thus, it is possible to prevent improper restoration processing of game information on the gaming device side based on the pre-transmission game specifying information determined to be inappropriate or the transmitted game specifying information as much as possible.

しかも、遊技用装置は、通信復旧時に遊技機側から送られてくる遊技特定情報が、遊技用装置へ送信する前の遊技特定情報である送信前遊技特定情報と遊技用装置へ送信した遊技特定情報である送信済遊技特定情報とに区別して送信されてくるために、両者を併せて一括して遊技特定情報が送信されてくる場合に比べて、それぞれの遊技特定情報の適否を個別に判断することができ、きめ細かな適否判断による適正な判断結果を得ることができる。   In addition, the gaming device is configured so that the game identification information sent from the gaming machine side at the time of communication recovery is the game identification information before transmission to the gaming device and the game identification information transmitted to the gaming device. Since the information is transmitted separately from the transmitted game specific information that is information, the suitability of each game specific information is individually judged as compared to the case where the game specific information is transmitted together. Therefore, it is possible to obtain an appropriate determination result based on detailed determination of appropriateness.

(2−4) 上記(2−1)の遊技用システムまたは上記(2−2)の遊技用装置において、
前記遊技用装置は、
当該遊技用装置が設置されている遊技場を特定可能な遊技場特定情報(図9:店舗コード)を記憶する遊技場特定情報記憶手段(払出制御部171のRAM)と、
当該遊技用装置に設けられている制御装置を特定可能な制御装置特定情報(図9:SC基板ID)を記憶する制御装置特定情報記憶手段(払出制御部171のRAM)と、
遊技者所有の遊技用価値(プリペイド残額、持玉、貯玉)を特定可能な記録媒体(カード)を受付ける記録媒体受付手段(カードリーダライタ)と、
該記録媒体受付手段により記録媒体が受付けられたときに、前記遊技場特定情報記憶手段に記憶されている遊技場特定情報と前記制御装置特定情報記憶手段に記憶されている制御装置特定情報とを前記遊技機へ送信する送信手段(図9:通信制御IC325a)とをさらに含む。
(2-4) In the game system of (2-1) or the game device of (2-2),
The gaming device is:
A game hall specifying information storage means (RAM of the payout control unit 171) for storing game hall specifying information (FIG. 9: store code) capable of specifying the game hall in which the game device is installed;
Control device specifying information storage means (RAM of the payout control unit 171) for storing control device specifying information (FIG. 9: SC board ID) capable of specifying the control device provided in the gaming device;
A recording medium receiving means (card reader / writer) for receiving a recording medium (card) capable of specifying a player's own gaming value (prepaid balance, holding balls, savings);
When the recording medium is received by the recording medium receiving means, the game hall specifying information stored in the game hall specifying information storage means and the control device specifying information stored in the control apparatus specifying information storage means It further includes transmission means (FIG. 9: communication control IC 325a) for transmitting to the gaming machine.

上記構成によれば、通信復旧時以前の記録媒体受付時に遊技用装置から送信されてきた遊技場特定情報および制御装置特定情報と、通信復旧時後の記録媒体受付時に送信されてきた遊技場特定情報および制御装置特定情報とを遊技機側が比較して両者が整合しているか否かを判断することが可能となる。   According to the above configuration, the game hall identification information and the control device identification information transmitted from the gaming device at the time of receiving the recording medium before the communication recovery, and the game hall identification transmitted at the time of the recording medium reception after the communication recovery It is possible for the gaming machine side to compare the information and the control device specifying information to determine whether or not they match.

(2−5) 上記(2−1)(2−4)の遊技用システムまたは上記(2−3)の遊技機において、
前記遊技機は、
前記情報送信手段が繰返し送信した遊技特定情報がどの繰返し段階まで前記遊技用装置に受信されたかを特定可能な順序情報(通番(通常通番))を、前記通信復旧時に前記遊技用装置より受信する順序情報受信手段(払出制御部171の入出力インターフェイス)と、
該順序情報受信手段により受信された順序情報に基づいて、前記遊技特定情報が最後の繰返し段階まで前記遊技用装置に受信されたか否かを判定する遊技特定情報受信判定手段(図15〜図17:CU側とP台側との前回最終送信通番を比較して判定)とをさらに含み、
前記遊技特定情報区別送信手段は、前記遊技特定情報受信判定手段により遊技特定情報が最後の繰返し段階までは受信されていないと判定されたときに、前記送信前遊技特定情報と前記送信済遊技特定情報とを前記遊技用装置が区別できる態様で送信する(図16:前回遊技台情報をリカバリ応答に含めて送信した後通信開始応答後の最初の状態情報応答で最新遊技台情報を送信する)。
(2-5) In the gaming system (2-1) (2-4) or the gaming machine (2-3) above,
The gaming machine is
Order information (serial number (normal serial number)) that can specify to what repetition stage the game specifying information repeatedly transmitted by the information transmitting means has been received by the gaming apparatus is received from the gaming apparatus when the communication is restored. Order information receiving means (input / output interface of the payout control unit 171);
Based on the order information received by the order information receiving means, game specifying information reception determining means (FIGS. 15 to 17) for determining whether or not the game specifying information has been received by the gaming device until the last repetition stage. : A determination by comparing the last transmission serial numbers of the CU side and the P platform side)
The game specific information distinction transmitting means determines the pre-transmission game specific information and the transmitted game specific when the game specific information reception determining means determines that the game specific information has not been received until the last repetition stage. Information is transmitted in such a manner that the gaming device can distinguish the information (FIG. 16: The latest game machine information is transmitted in the first status information response after the communication start response after the previous game machine information is included in the recovery response) .

上記構成によれば、遊技特定情報が最後の繰返し段階までは遊技用装置に受信されていないと判定されたときに、送信前遊技特定情報と送信済遊技特定情報とを遊技用装置が区別できる態様で送信されるために、遊技用装置側においては、受信されていなかった遊技特定情報をも含めて遊技情報の整合性を取ることが可能となる。しかも、遊技特定情報が最後の繰返し段階まで受信されていると判定されたときには送信済遊技特定情報を無駄に遊技用装置へ送信せず、その分情報送信に伴う負担を軽減することができる。   According to the above configuration, when it is determined that the game specifying information is not received by the gaming device until the last repetition stage, the gaming device can distinguish between the pre-transmission game specifying information and the transmitted game specifying information. Since it is transmitted in a mode, it is possible for the gaming device side to maintain consistency of game information including game identification information that has not been received. In addition, when it is determined that the game specifying information has been received up to the last repetition stage, the transmitted game specifying information is not transmitted to the gaming device unnecessarily, and the burden associated with information transmission can be reduced accordingly.

(2−6) 上記(2−1)(2−4)(2−5)の遊技用システムまたは上記(2−2)(2−4)の遊技用装置において、
前記遊技用装置は、
前記遊技機より現時点の前記遊技情報を受信する遊技情報受信手段(図6、図15:遊技玉数=480、加算玉数=3、減算玉数=23の状態情報応答を受信する)と、
前記情報受信手段により受信された遊技特定情報に基づいて、前記遊技情報受信手段により受信された現時点の遊技情報の適否を判定する遊技情報適否判定手段(図6:CU3は記憶している遊技玉数とP台2から送信されてきた遊技玉数とを比較して一致判定する)とをさらに含み、
前記遊技情報適否判定手段は、
前記通信復旧時に前記遊技情報受信手段により受信された前記遊技情報を初期値とし、該初期値と前記遊技特定情報とに基づいて現時点の遊技情報を算出する遊技情報算出手段(図28(b)のS313で記憶された初期値の遊技玉数に対して、図6に示すP台2から送られてきた加算玉数を加算し減算玉数を減算して現時点の遊技玉数を算出する)と、
該遊技情報算出手段により算出された遊技情報と前記遊技情報受信手段により受信された現時点の遊技情報とを比較することにより、前記遊技情報受信手段により受信された現時点の遊技情報の適否を判定する(図6:CU3は記憶している遊技玉数とP台2から送信されてきた遊技玉数とを比較して一致判定する)。
(2-6) In the gaming system (2-1) (2-4) (2-5) or the gaming device (2-2) (2-4) above,
The gaming device is:
Game information receiving means for receiving the current game information from the gaming machine (FIG. 6, FIG. 15: receiving a status information response of number of game balls = 480, number of added balls = 3, number of subtracted balls = 23),
Based on the game specifying information received by the information receiving means, game information suitability judging means for judging suitability of the current game information received by the game information receiving means (FIG. 6: game balls stored in CU3) And the number of game balls transmitted from the P unit 2 are compared to determine a match).
The game information suitability determining means includes
Game information calculating means for calculating the current game information based on the initial value and the game specifying information based on the game information received by the game information receiving means when the communication is restored (FIG. 28B) Is added to the initial number of game balls stored in S313 and the number of added balls sent from the P stand 2 shown in FIG. When,
By comparing the game information calculated by the game information calculating means with the current game information received by the game information receiving means, the suitability of the current game information received by the game information receiving means is determined. (FIG. 6: The CU 3 compares the stored number of game balls with the number of game balls transmitted from the P unit 2 to determine coincidence).

上記構成によれば、通信復旧時に遊技機より受信した現時点の遊技情報を遊技用装置が初期値とし、その初期値と遊技特定情報とに基づいて現時点の遊技情報を算出するために、その算出された遊技情報が遊技機側の遊技情報との誤差が解消された新たな遊技情報となり、その新たな遊技情報と遊技機側から送信されてきた現時点の遊技情報と比較することにより適否判断を正確に行なうことが可能となる。   According to the above configuration, the current game information received from the gaming machine at the time of communication restoration is used as the initial value by the gaming device, and the current game information is calculated based on the initial value and the game specifying information. The game information becomes new game information in which the error with the game information on the gaming machine side is eliminated, and the suitability judgment is made by comparing the new game information with the current game information transmitted from the gaming machine side. It becomes possible to carry out accurately.

(2−7) 上記(2−1)(2−4)(2−5)(2−6)の遊技用システムまたは上記(2−2)(2−4)(2−6)の遊技用装置において、
前記適否判定手段は、
前記遊技特定情報区別受信手段により受信された前記送信済遊技特定情報と前記情報記憶手段が記憶している情報とを比較して該送信済遊技特定情報が適正な情報であるか否か判定する第1判定手段(図28のS301、S303、図29のS323)と、
前記情報記憶手段が記憶している情報であって前記第1判定手段により適正と判定された前記送信済遊技特定情報に基づいて更新された情報と前記遊技特定情報区別送信手段により送信されてきた前記送信前遊技特定情報とを比較して該送信前遊技特定情報が適正な情報であるか否か判定する第2判定手段(図28のS311、S312)とを含む。
(2-7) Game system of (2-1) (2-4) (2-5) (2-6) above or game of (2-2) (2-4) (2-6) above In the device
The suitability determining means includes
The transmitted game identification information received by the game identification information distinction receiving means is compared with the information stored in the information storage means to determine whether or not the transmitted game identification information is appropriate information. First determination means (S301, S303 in FIG. 28, S323 in FIG. 29);
Information stored in the information storage means and updated based on the transmitted game specifying information determined to be appropriate by the first determining means and transmitted by the game specifying information distinction transmitting means A second determination unit (S311 and S312 in FIG. 28) that compares the pre-transmission game identification information with the pre-transmission game identification information to determine whether the pre-transmission game identification information is appropriate information.

上記構成によれば、第1判定手段により前記送信前遊技特定情報の適否判定を行ない、第2判定手段により前記送信済遊技特定情報の適否判定を行なうことにより、両遊技特定情報の適否判定を着実に行なうことができる。   According to the above configuration, the suitability determination of the two game specifying information is performed by determining the suitability of the pre-transmission game specifying information by the first determining means and determining the suitability of the transmitted game specifying information by the second determining means. Can be done steadily.

(3−1) 本発明は、第1制御手段(SC325b)と、前記第1制御手段と通信可能に接続された第2制御手段(CU制御部323)とを備え、遊技機(P台2、S台2S)による遊技を可能とするための遊技用システムであって、
前記第1制御手段は、前記第2制御手段から受信した電文の受信間隔を監視する監視手段(図66のS11)と、
前記電文の受信間隔が規定期間未満となることが前記監視手段によって所定回検知されたとき(図66のS12でYES)に、所定のエラー処理(エラー情報を送信、受信電文に対する応答電文の送信を禁止、CU制御部323からの電文受信を停止)を実行するエラー処理実行手段(図66のS13〜S15)とを備える。
(3-1) The present invention includes first control means (SC325b) and second control means (CU control unit 323) connected to be communicable with the first control means. , A game system for enabling a game by S units 2S),
The first control means includes monitoring means (S11 in FIG. 66) for monitoring the reception interval of the message received from the second control means,
When the monitoring unit detects that the reception interval of the message is less than a predetermined period (YES in S12 of FIG. 66), predetermined error processing (transmits error information and transmits a response message to the received message) And error processing execution means (S13 to S15 in FIG. 66) for executing (prohibit message and stop receiving a message from the CU control unit 323).

このような構成によれば、電文の受信間隔が規定期間未満となることが所定回検知されると、所定のエラー処理が実行されるために、様々な送信データに対する応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, when it is detected a predetermined number of times that the message reception interval is less than the specified period, a predetermined error process is executed. Therefore, security fraud using responses to various transmission data is performed. Analysis can be made difficult.

(3−2) 遊技機(P台2、S台2S)による遊技を可能とするための遊技用装置(CU制御部323)であって、
前記遊技用装置から受信した電文の受信間隔が規定期間未満となることが所定回検知されたとき(図66のS12でYES)に、所定のエラー処理(エラー情報を送信、受信電文に対する応答電文の送信を禁止、CU制御部323からの電文受信を停止)を実行する遊技制御装置(SC325b)と通信する通信手段(CU制御部323が備える通信部)を備え、
前記通信手段は、前記遊技制御装置に対して前記規定期間以上の間隔で前記電文を送信する(通信部は、CU制御部323が備えるタイマが計時する200msの間隔で電文を送信)。
(3-2) A gaming device (CU control unit 323) for enabling gaming with gaming machines (P 2 and S 2S),
When it is detected a predetermined number of times that a reception interval of a message received from the gaming device is less than a specified period (YES in S12 of FIG. 66), a predetermined error processing (error information is transmitted, a response message to the received message) Communication means (communication unit included in the CU control unit 323) that communicates with the game control device (SC325b) that executes transmission prohibition, and stops receiving telegrams from the CU control unit 323,
The communication means transmits the telegram to the game control device at an interval equal to or longer than the specified period (the communication unit transmits a telegram at an interval of 200 ms measured by a timer provided in the CU control unit 323).

このような構成によれば、遊技用装置は規定期間以上の間隔で電文を送信するために、これと接続される遊技制御装置側で、仮に、電文の受信間隔が規定時間未満となることが所定回検知されると所定のエラー処理が実行され、正規の遊技用装置であるか否かをエラー処理の実行で識別させることが可能となる。その結果、遊技用装置の動作に似せた不正な解析用の装置を遊技制御装置に接続して様々なデータを送信することにより得られる応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, since the gaming device transmits a telegram at an interval equal to or longer than a predetermined period, the reception interval of the telegram may be less than the predetermined time on the game control device connected thereto. When it is detected a predetermined number of times, a predetermined error process is executed, and it is possible to identify whether it is a legitimate gaming device by executing the error process. As a result, it is possible to make unauthorized analysis of security using responses obtained by sending various data by connecting an unauthorized analysis device that mimics the operation of a gaming device to the game control device. It becomes.

(3−3) 本発明は、遊技機による遊技を可能にするための遊技制御装置(SC325b)であって、
前記遊技機(P台2、S台2S)の制御に必要な電文を受信する受信手段(図66のS10)と、
前記受信手段が受信した電文の受信間隔を監視する監視手段(図66のS11)と、
前記電文の受信間隔が規定期間未満となることが前記監視手段によって所定回検知されたとき(図66のS12でYES)に、所定のエラー処理(エラー情報を送信、受信電文に対する応答電文の送信を禁止、CU制御部323からの電文受信を停止)を実行するエラー処理実行手段(図66のS13〜S15)を実行するエラー処理実行手段とを備える。
(3-3) The present invention is a game control device (SC325b) for enabling a game by a gaming machine,
Receiving means (S10 in FIG. 66) for receiving a message necessary for controlling the gaming machines (P stand 2, S stand 2S);
Monitoring means (S11 in FIG. 66) for monitoring the reception interval of messages received by the receiving means;
When the monitoring unit detects that the reception interval of the message is less than a predetermined period (YES in S12 of FIG. 66), predetermined error processing (transmits error information and transmits a response message to the received message) Error processing executing means (S13 to S15 in FIG. 66) for executing (prohibiting prohibition and stopping the reception of a message from the CU control unit 323).

このような構成によれば、電文の受信間隔が規定期間未満となることが所定回検知されると、所定のエラー処理が実行されるために、様々な送信データに対する応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, when it is detected a predetermined number of times that the message reception interval is less than the specified period, a predetermined error process is executed. Therefore, security fraud using responses to various transmission data is performed. Analysis can be made difficult.

(3−4) 上記(3−1)(3−2)において、前記エラー処理実行手段は、前記所定のエラー処理として、前記電文の受信機能を停止させる(図66のS15)。   (3-4) In the above (3-1) and (3-2), the error process execution means stops the reception function of the message as the predetermined error process (S15 in FIG. 66).

このような構成によれば、電文の受信間隔が規定期間未満となることが所定回検知されると、電文の受信機能が停止するために、その電文に対する応答電文が送信されなくなり、これによって、様々な送信データに対する応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, when it is detected a predetermined number of times that the reception interval of the message is less than the specified period, the response function for the message is not transmitted because the reception function of the message is stopped. It becomes possible to make it difficult to perform fraud analysis of security using responses to various transmission data.

(3−5) 上記(3−1)(3−3)(3−4)のいずれかにおいて、
前記エラー処理実行手段は、前記所定のエラー処理として、前記電文の受信機能を停止させるとともに、エラー情報を前記遊技機へ送信するための処理を実行する(図66のS13、S15)。
(3-5) In any one of the above (3-1), (3-3), and (3-4),
The error process execution means stops the reception function of the electronic message as the predetermined error process, and executes a process for transmitting error information to the gaming machine (S13 and S15 in FIG. 66).

このような構成によれば、電文の受信間隔が規定期間未満となることが所定回検知されると、電文の受信機能が停止するとともにエラー情報が遊技機へ送信されるために、その電文に対する応答電文が送信されなくなり、また、エラー情報が遊技機へ送信されるため、これによって、様々な送信データに対する応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, when it is detected a predetermined number of times that the message reception interval is less than the specified period, the message reception function is stopped and error information is transmitted to the gaming machine. Since the response message is not transmitted and error information is transmitted to the gaming machine, it is possible to make it difficult to perform an unauthorized analysis of security using responses to various transmission data.

(3−6) 上記(3−1)(3−3)において、通信のリトライ回数(図67のS22、S27)に基づいて異常種別(通信エラー、コマンド異常(不正))を判定する異常種別判定手段(図67のS23、S24)をさらに含む。   (3-6) In (3-1) and (3-3) above, an abnormality type for determining an abnormality type (communication error, command abnormality (incorrect)) based on the number of communication retries (S22 and S27 in FIG. 67). It further includes determination means (S23, S24 in FIG. 67).

このような構成によれば、通信のリトライ回数に着目して異常種別をすることが可能になる。   According to such a configuration, it is possible to classify an abnormality by paying attention to the number of communication retries.

(3−7) 上記(3−1)(3−2)において、
前記第2制御手段(前記遊技装置)は、前記遊技機が記憶している識別情報を照合するための照合用情報(メインチップID、払出チップID)の送信を前記遊技機に対して要求する照合要求手段(図68のS30)を備え、
前記照合要求手段は、前記照合用情報の送信を前記遊技機に対して要求してから所定の待機期間(問合せ待ちタイマ時間)が経過しても要求に対する応答がないときに(図68のS33でYES)前記要求を再送する(図68のS38のタイムアウト処理(図60に示すように、状態情報要求(P台)送信後に遊技機チップ問合せ指示通知再送))とともに、前記待機期間中に外部から照合要求指令(ヘルスチェック(動作指定=遊技機チップ情報問合せ要求))を受信したときには前記待機期間の経過を待たずに前記要求を再送する(図68のS35)。
(3-7) In the above (3-1) (3-2),
The second control means (the gaming device) requests the gaming machine to transmit verification information (main chip ID, payout chip ID) for verifying identification information stored in the gaming machine. A collation request means (S30 in FIG. 68);
The collation request means does not respond to the request even if a predetermined waiting period (inquiry waiting timer time) has elapsed since the game machine was requested to transmit the collation information (S33 in FIG. 68). YES) and the request is retransmitted (timeout process in S38 of FIG. 68 (as shown in FIG. 60, the state information request (P units) is transmitted and the game machine chip inquiry instruction notification is retransmitted)) When a verification request command (health check (operation designation = game machine chip information inquiry request)) is received from the server, the request is retransmitted without waiting for the waiting period to elapse (S35 in FIG. 68).

このような構成によれば、待機期間の経過前であっても外部からの照合要求指令を受けて照合用情報の送信が要求されるために、外部からの要求に迅速に応えることができる。   According to such a configuration, even before the standby period elapses, since the transmission of verification information is requested in response to an external verification request command, it is possible to quickly respond to an external request.

(3−8) 上記(3−1)(3−3)(3−6)において、
前記エラー処理実行手段は、前記所定のエラー処理として、受信された電文に対する応答期間間隔を所定期間よりも長い間隔に変更する(通常は、相手(CU制御部323)が電文を送信してから200msで応答電文が相手に到達するように応答電文を送信するが、その間隔を長く(たとえば通常の3倍等)するようにしてもよい。)。
(3-8) In the above (3-1) (3-3) (3-6),
The error processing execution means changes the response period interval for the received message to an interval longer than the predetermined period as the predetermined error processing (normally, after the partner (CU control unit 323) transmits the message. The response message is transmitted so that the response message reaches the other party in 200 ms, but the interval may be lengthened (for example, three times the normal value).

このような構成によれば、電文の受信間隔が規定期間未満となることが所定回検知されると、受信された電文に対する応答期間間隔が所定期間よりも長い間隔に変更されるため、応答電文の解析に時間がかかるようになり、これによって、様々な送信データに対する応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, when it is detected a predetermined number of times that the reception interval of the message is less than the specified period, the response interval for the received message is changed to an interval longer than the predetermined period. It becomes time-consuming to analyze this, and it becomes possible to make it difficult to perform fraud analysis of security using responses to various transmission data.

(3−9) 上記(3−1)(3−3)(3−6)において、
前記エラー処理実行手段は、前記所定のエラー処理として、受信された電文に対する応答期間間隔を前記規定期間を超える間隔に変更する(通常は、相手(CU制御部323)が電文を送信してから200msで応答電文が相手に到達するように応答電文を送信するが、その間隔を長く(たとえば通常の3倍等)するようにしてもよい。)。
(3-9) In the above (3-1) (3-3) (3-6),
The error process execution means changes the response period interval for the received message as the predetermined error process to an interval exceeding the specified period (normally, after the partner (CU control unit 323) transmits the message. The response message is transmitted so that the response message reaches the other party in 200 ms, but the interval may be lengthened (for example, three times the normal value).

このような構成によれば、電文の受信間隔が規定期間未満となることが所定回検知されると、受信された電文に対する応答期間間隔が規定期間を超える間隔に変更されるため、応答電文の解析に時間がかかるようになり、これによって、様々な送信データに対する応答を利用したセキュリティの不正解析を困難にすることが可能となる。   According to such a configuration, when it is detected a predetermined number of times that the message reception interval is less than the specified period, the response period interval for the received message is changed to an interval exceeding the specified period. Analysis takes time, and it becomes possible to make it difficult to perform security fraud analysis using responses to various transmission data.

(3−10) 上記(3−1)(3−3)(3−5)(3−6)(3−8)(3−9)において、
前記エラー処理実行手段は、電文の受信間隔が規定期間未満となることが前記監視手段によって所定回連続(図66のS12:n1は2回以上の予め定められた回数)して検知されたときに、所定のエラー処理を実行する。
(3-10) In the above (3-1) (3-3) (3-5) (3-6) (3-8) (3-9),
The error processing execution means detects that the message reception interval is less than a predetermined period by the monitoring means continuously for a predetermined number of times (S12: n1 in FIG. 66 is a predetermined number of times of 2 or more). In addition, predetermined error processing is executed.

このような構成によれば、電文の受信間隔が規定時間未満となることが連続発生したときに所定のエラー処理が実行されるため、不正でなく制御上の不具合等によってたまたま受信間隔が正規のものとずれてしまったときにエラー処理が実行されてしまう不都合を防止できる。   According to such a configuration, since the predetermined error processing is executed when the reception interval of the message is less than the specified time continuously, the reception interval happens to be normal due to a malfunction in the control and not illegal. It is possible to prevent the inconvenience that error processing is executed when it deviates from the above.

(3−11) 本発明は、遊技機(P台2、S台2S)と、前記遊技機での遊技を可能にする遊技用装置(CU3)とを備える遊技用システムであって、
前記遊技用装置は、
互いに通信可能な第1制御手段(SC325b)と第2制御手段(通信制御IC325a)と、
前記第1制御手段と前記第2制御手段とで互いに認証を行なう相互認証手段(図33の通信制御IC認証シーケンス)と、
該相互認証手段による認証結果が適正なことを条件として、前記遊技機の真正を確認するための識別情報(メインチップIDと払出制御チップID)を前記遊技機から受信して該識別情報に基づいて該遊技機の真正を認証するための処理を行なう遊技機識別情報認証手段(図33の遊技機チップ情報認証シーケンス)と、
該遊技機識別情報認証手段による前記認証するための処理が実行された上で、前記第1制御手段と前記第2制御手段との間での暗号通信に用いる通信鍵を生成する通信鍵生成手段(遊技機と業務電文を通信するための通信鍵(セッション鍵)を生成)とを含み、
前記第1制御手段と前記第2制御手段とは、前記通信鍵生成手段により生成された通信鍵を用いて暗号通信を行なう(通信制御IC325aが生成した通信鍵をSC325bへ送信して両者間でこの通信鍵を用いて暗号通信する)。
(3-11) The present invention is a gaming system comprising a gaming machine (P 2 and S 2S) and a gaming device (CU3) that enables gaming on the gaming machine,
The gaming device is:
A first control means (SC325b) and a second control means (communication control IC 325a) capable of communicating with each other;
Mutual authentication means (communication control IC authentication sequence of FIG. 33) for performing mutual authentication between the first control means and the second control means;
On the condition that the authentication result by the mutual authentication means is appropriate, identification information (main chip ID and payout control chip ID) for confirming the authenticity of the gaming machine is received from the gaming machine and based on the identification information Gaming machine identification information authenticating means (gaming machine chip information authentication sequence in FIG. 33) for performing processing for authenticating the authenticity of the gaming machine,
Communication key generation means for generating a communication key used for encrypted communication between the first control means and the second control means after the processing for authentication by the gaming machine identification information authentication means is executed (Generate a communication key (session key) for communicating game machines and business messages),
The first control means and the second control means perform cryptographic communication using the communication key generated by the communication key generation means (the communication key generated by the communication control IC 325a is transmitted to the SC 325b, and between them. Cryptographic communication is performed using this communication key).

上記構成によれば、第1制御手段と第2制御手段とでの間での暗号通信に用いる通信鍵の生成が、第1制御手段と第2制御手段とでの相互認証で適正な結果が得られた後であり、たとえ暗号通信時において通信鍵が万一漏洩したとしても、その鍵を悪用して相互認証の監視を掻い潜るという不正行為を極力防止することができ、セキュリティ上の脆弱性を極力克服することができる。また、遊技機の真正を確認するための識別情報を遊技機から受信してその識別情報に基づいて遊技機の真正を認証するための処理が何ら実行されないまま通信鍵が生成されることを防止することができる。   According to the above configuration, the generation of the communication key used for the encryption communication between the first control unit and the second control unit is an appropriate result by mutual authentication between the first control unit and the second control unit. Even if the communication key is leaked at the time of encryption communication, it is possible to prevent fraudulent acts such as misusing the key and scrambling the mutual authentication monitoring, and this is a security vulnerability. Sex can be overcome as much as possible. In addition, the communication key is prevented from being generated without receiving any identification information for confirming the authenticity of the gaming machine from the gaming machine and authenticating the authenticity of the gaming machine based on the identification information. can do.

(3−12) 本願発明の他の態様は、遊技機(P台2、S台2S)での遊技を可能にする遊技用装置(CU3)であって、
互いに通信可能な第1制御手段(SC325b)と第2制御手段(通信制御IC325a)と、
前記第1制御手段と前記第2制御手段とで互いに認証を行なう相互認証手段(図33の通信制御IC認証シーケンス)と、
該相互認証手段による認証結果が適正なことを条件として、前記遊技機の真正を確認するための識別情報(メインチップIDと払出制御チップID)を前記遊技機から受信して該識別情報に基づいて該遊技機の真正を認証するための処理を行なう遊技機識別情報認証手段(図33の遊技機チップ情報認証シーケンス)と、
該遊技機識別情報認証手段による前記認証するための処理が実行された上で、前記第1制御手段と前記第2制御手段との間での暗号通信に用いる通信鍵を生成する通信鍵生成手段(図33の対遊技機業務電文用通信鍵を生成)とを含み、
前記第1制御手段と前記第2制御手段とは、前記通信鍵生成手段により生成された通信鍵を用いて暗号通信を行なう(通信制御IC325aが生成した通信鍵をSC325bへ送信して両者間でこの通信鍵を用いて暗号通信する)。
(3-12) Another aspect of the present invention is a gaming device (CU3) that enables gaming on gaming machines (P stand 2, S stand 2S),
A first control means (SC325b) and a second control means (communication control IC 325a) capable of communicating with each other;
Mutual authentication means (communication control IC authentication sequence of FIG. 33) for performing mutual authentication between the first control means and the second control means;
On the condition that the authentication result by the mutual authentication means is appropriate, identification information (main chip ID and payout control chip ID) for confirming the authenticity of the gaming machine is received from the gaming machine and based on the identification information Gaming machine identification information authenticating means (gaming machine chip information authentication sequence in FIG. 33) for performing processing for authenticating the authenticity of the gaming machine,
Communication key generating means for generating a communication key used for encrypted communication between the first control means and the second control means after the processing for authentication by the gaming machine identification information authentication means is executed (Generate communication key for game machine business message of FIG. 33),
The first control means and the second control means perform cryptographic communication using the communication key generated by the communication key generation means (the communication key generated by the communication control IC 325a is transmitted to the SC 325b, and between them. Cryptographic communication is performed using this communication key).

上記構成によれば、第1制御手段と第2制御手段とでの間での暗号通信に用いる通信鍵の生成が、第1制御手段と第2制御手段とでの相互認証で適正な結果が得られた後であり、たとえ暗号通信時において通信鍵が万一漏洩したとしても、その鍵を悪用して相互認証の監視を掻い潜るという不正行為を極力防止することができ、セキュリティ上の脆弱性を極力克服することができる。また、遊技機の真正を確認するための識別情報を遊技機から受信してその識別情報に基づいて遊技機の真正を認証するための処理が何ら実行されないまま通信鍵が生成されることを防止することができる。   According to the above configuration, the generation of the communication key used for the encryption communication between the first control unit and the second control unit is an appropriate result by mutual authentication between the first control unit and the second control unit. Even if the communication key is leaked at the time of encryption communication, it is possible to prevent fraudulent acts such as misusing the key and scrambling the mutual authentication monitoring, and this is a security vulnerability. Sex can be overcome as much as possible. In addition, the communication key is prevented from being generated without receiving any identification information for confirming the authenticity of the gaming machine from the gaming machine and authenticating the authenticity of the gaming machine based on the identification information. can do.

(3−13) 上記(3−11)の遊技用システムまたは上記(3−12)の遊技用装置において、
前記遊技用装置は、前記第2制御手段と前記遊技機との間で通信を可能にするための通信活性化情報(有効鍵)を設定する通信活性化情報設定処理を行なう設定手段(図33のセキュリティ情報更新シーケンス)をさらに含み、
前記通信鍵生成手段は、前記認証するための処理が実行されかつ前記通信活性化情報設定処理が実行された上で、前記第1制御手段と前記第2制御手段との間での暗号通信に用いる通信鍵を生成する(図33)。
(3-13) In the game system of (3-11) or the game device of (3-12),
The gaming apparatus has setting means for performing communication activation information setting processing for setting communication activation information (valid key) for enabling communication between the second control means and the gaming machine (FIG. 33). Security information update sequence)
The communication key generation means performs encrypted communication between the first control means and the second control means after the process for authentication is executed and the communication activation information setting process is executed. A communication key to be used is generated (FIG. 33).

上記構成によれば、第2制御手段と遊技機との間での通信の活性化が行なわれていないにも拘らず通信鍵が生成される不都合を防止することができる。   According to the above configuration, it is possible to prevent the inconvenience that a communication key is generated even though communication between the second control means and the gaming machine is not activated.

(3−14) 上記(3−11)(3−13)の遊技用システムまたは上記(3−12)(3−13)の遊技用装置において、
前記通信鍵生成手段は、所定期間毎に前記通信鍵を新たに生成する繰返し生成処理を実行し(SC325bが通信鍵の更新周期を検知したときに対遊技機業務電文用通信鍵を更新する制御を行なう)、該繰返し生成処理は、前回の通信鍵の生成時と今回の通信鍵の生成時とで変化可能な変化データを用いて通信鍵を生成する(現在時刻データと乱数を用いて通信鍵を生成する)。
(3-14) In the gaming system of (3-11) (3-13) or the gaming device of (3-12) (3-13),
The communication key generation means executes a repeated generation process for newly generating the communication key every predetermined period (control to update the communication key for game machine business message when the SC 325b detects the update period of the communication key The iterative generation process generates a communication key using change data that can be changed between the previous communication key generation and the current communication key generation (communication using current time data and a random number). Generate a key).

上記構成によれば、所定期間毎に通信鍵を新たに生成する繰返し生成処理が、前回の通信鍵の生成時と今回の通信鍵の生成時とで変化可能な変化データを用いて通信鍵が生成されるために、仮に通信鍵が一度漏洩してしまったとしても、その漏洩した通信鍵の生成時とは異なる変化可能な変化データを用いて新たな通信鍵が生成されてその新たな通信鍵により暗号通信が行なわれるために、その新たな通信鍵による通信を漏洩した鍵で解読しようと試みても解読ができず、セキュリティを向上させることができる。   According to the above configuration, the iterative generation process for newly generating a communication key every predetermined period is performed by using the change data that can change between the generation of the previous communication key and the generation of the current communication key. Therefore, even if the communication key is once leaked, a new communication key is generated using changeable change data different from that at the time of generation of the leaked communication key, and the new communication is performed. Since encryption communication is performed using a key, even if an attempt is made to decrypt communication using the new communication key with a leaked key, decryption cannot be performed, and security can be improved.

(3−15) 本発明は、第1制御手段(SC325b)と、該第1制御手段と通信可能に接続された第2制御手段(通信制御IC325a)とを備えた遊技用システムであって、
前記第1制御手段と前記第2制御手段との間で相互認証に用いる認証鍵を生成し、該認証鍵を用いて第1相互認証処理を行なう第1相互認証処理手段(図34、図36:更新直後の認証鍵(本認証鍵)を用いて第1認証シ−ケンスと第2認証シーケンスとを行なう)と、
前記第1相互認証処理による認証結果が適正であるときに前記第1制御手段と前記第2制御手段とによる運用処理を実行する運用処理手段(図33、図34:第1認証シ−ケンスと第2認証シーケンスとを含む通信制御IC認証シーケンスによる認証結果が適正であるときに遊技機と業務電文通信が可能となる)と、
前記第1相互認証処理による認証結果が不適正であるときに(図36:第1認証シーケンス〜バージョン管理情報応答のシーケンスによる認証結果が不適正の場合)、前記第1制御手段と前記第2制御手段とに製造段階から記憶されている認証鍵を用いて第2相互認証処理を行なう第2相互認証処理手段(図36:仮認証鍵を用いて第1認証シ−ケンスと第2認証シーケンスとを行なう)とを備え、
前記運用処理手段は、前記第2相互認証処理による認証結果が適正であるときに前記第1制御手段と前記第2制御手段とによる制限付きの運用処理を実行する(期限が限られた時限運用処理を実行する)。
(3-15) The present invention is a gaming system including first control means (SC325b) and second control means (communication control IC 325a) connected to be communicable with the first control means,
First mutual authentication processing means for generating an authentication key used for mutual authentication between the first control means and the second control means and performing a first mutual authentication process using the authentication key (FIGS. 34 and 36). : The first authentication sequence and the second authentication sequence are performed using the authentication key immediately after the update (this authentication key)),
Operation processing means (FIG. 33, FIG. 34: first authentication sequence) for executing operation processing by the first control means and the second control means when an authentication result by the first mutual authentication processing is appropriate. When the authentication result by the communication control IC authentication sequence including the second authentication sequence is appropriate, business message communication with the gaming machine is possible)
When the authentication result by the first mutual authentication process is inappropriate (FIG. 36: when the authentication result by the sequence of the first authentication sequence to the version management information response is inappropriate), the first control means and the second Second mutual authentication processing means for performing second mutual authentication processing using the authentication key stored in the control means from the manufacturing stage (FIG. 36: first authentication sequence and second authentication sequence using temporary authentication key) And)
The operation processing unit executes a limited operation process by the first control unit and the second control unit when an authentication result by the second mutual authentication process is appropriate (timed operation with a limited time limit). Process).

上記構成によれば、認証鍵を生成して第1制御手段と第2制御手段との間で相互認証を行なう第1相互認証処理による認証結果が不適正であるときに、第1制御手段と第2制御手段とに製造段階から記憶されている認証鍵を用いて第2相互認証処理が行なわれ、その第2相互認証処理による認証結果が適正であるときに第1制御手段と第2制御手段とによる制限付きの運用処理が実行されるために、第1認証処理による認証結果が不適正であるときにおける運用処理が全くできなくなる不都合を防止することができる。しかも、第1相互認証処理の認証結果が不適正であるときに無制限に運用処理の実行を許容するのではなく、制限付きの運用処理に留めることにより、セキュリティ上不完全のまま無制限に運用処理が行なわれる不都合も防止することができる。   According to the above configuration, when the authentication result by the first mutual authentication process for generating the authentication key and performing the mutual authentication between the first control means and the second control means is inappropriate, the first control means When the second mutual authentication process is performed with the second control means using the authentication key stored from the manufacturing stage, and the authentication result by the second mutual authentication process is appropriate, the first control means and the second control Since the limited operation process by means is executed, it is possible to prevent the inconvenience that the operation process cannot be performed at all when the authentication result by the first authentication process is inappropriate. In addition, when the authentication result of the first mutual authentication process is inappropriate, the operation process is not allowed to be executed indefinitely, but is limited to the limited operation process. It is also possible to prevent the inconvenience that is performed.

(3−16) 本発明の他の態様は、第1制御手段(SC325b)と、該第1制御手段と通信可能に接続された第2制御手段(通信制御IC325a)とを備えた遊技制御装置であって、
前記第1制御手段と前記第2制御手段との間で相互認証に用いる認証鍵を生成し、該認証鍵を用いて第1相互認証処理を行なう第1相互認証処理手段(図34、図36:更新直後の認証鍵(本認証鍵)を用いて第1認証シ−ケンスと第2認証シーケンスとを行なう)と、
前記第1相互認証処理による認証結果が適正であるときに前記第1制御手段と前記第2制御手段とによる運用処理を実行する運用処理手段(図33、図34:第1認証シ−ケンスと第2認証シーケンスとを含む通信制御IC認証シーケンスによる認証結果が適正であるときに遊技機と業務電文通信が可能となる)と、
前記第1相互認証処理による認証結果が不適正であるときに(図36:第1認証シーケンス〜バージョン管理情報応答のシーケンスによる認証結果が不適正の場合)、前記第1制御手段と前記第2制御手段とに製造段階から記憶されている認証鍵を用いて第2相互認証処理を行なう第2相互認証処理手段(図36:仮認証鍵を用いて第1認証シ−ケンスと第2認証シーケンスとを行なう)とを備え、
前記運用処理手段は、前記第2相互認証処理による認証結果が適正であるときに前記第1制御手段と前記第2制御手段とによる制限付きの運用処理を実行する(期限が限られた時限運用処理を実行する)。
(3-16) Another aspect of the present invention is a game control apparatus including first control means (SC325b) and second control means (communication control IC 325a) connected to be communicable with the first control means. Because
First mutual authentication processing means for generating an authentication key used for mutual authentication between the first control means and the second control means and performing a first mutual authentication process using the authentication key (FIGS. 34 and 36). : The first authentication sequence and the second authentication sequence are performed using the authentication key immediately after the update (this authentication key)),
Operation processing means (FIG. 33, FIG. 34: first authentication sequence) for executing operation processing by the first control means and the second control means when an authentication result by the first mutual authentication processing is appropriate. When the authentication result by the communication control IC authentication sequence including the second authentication sequence is appropriate, business message communication with the gaming machine is possible)
When the authentication result by the first mutual authentication process is inappropriate (FIG. 36: when the authentication result by the sequence of the first authentication sequence to the version management information response is inappropriate), the first control means and the second Second mutual authentication processing means for performing second mutual authentication processing using the authentication key stored in the control means from the manufacturing stage (FIG. 36: first authentication sequence and second authentication sequence using temporary authentication key) And)
The operation processing unit executes a limited operation process by the first control unit and the second control unit when an authentication result by the second mutual authentication process is appropriate (timed operation with a limited time limit). Process).

上記構成によれば、認証鍵を生成して第1制御手段と第2制御手段との間で相互認証を行なう第1相互認証処理による認証結果が不適正であるときに、第1制御手段と第2制御手段とに製造段階から記憶されている認証鍵を用いて第2相互認証処理が行なわれ、その第2相互認証処理による認証結果が適正であるときに第1制御手段と第2制御手段とによる制限付きの運用処理が実行されるために、第1認証処理による認証結果が不適正であるときにおける運用処理が全くできなくなる不都合を防止することができる。しかも、第1相互認証処理の認証結果が不適正であるときに無制限に運用処理の実行を許容するのではなく、制限付きの運用処理に留めることにより、セキュリティ上不完全のまま無制限に運用処理が行なわれる不都合も防止することができる。   According to the above configuration, when the authentication result by the first mutual authentication process for generating the authentication key and performing the mutual authentication between the first control means and the second control means is inappropriate, the first control means When the second mutual authentication process is performed with the second control means using the authentication key stored from the manufacturing stage, and the authentication result by the second mutual authentication process is appropriate, the first control means and the second control Since the limited operation process by means is executed, it is possible to prevent the inconvenience that the operation process cannot be performed at all when the authentication result by the first authentication process is inappropriate. In addition, when the authentication result of the first mutual authentication process is inappropriate, the operation process is not allowed to be executed indefinitely, but is limited to the limited operation process. It is also possible to prevent the inconvenience that is performed.

(3−17) 上記(3−15)の遊技用システムまたは上記(3−16)の遊技制御装置において、
前記第1相互認証処理による認証結果が不適正であったときに、異常が発生した旨の通知を管理サーバへ送る異常通知手段(図36:「本認証鍵更新異常」のアラームを鍵管理サーバに通知する)をさらに備える。
(3-17) In the game system of (3-15) or the game control device of (3-16),
When the authentication result by the first mutual authentication process is inappropriate, an abnormality notification means for sending a notification that an abnormality has occurred to the management server (FIG. 36: “Authentication key update abnormality” alarm is sent to the key management server. Is further provided.

上記構成によれば、第1相互認証処理による認証結果が不適正であったことを管理サーバが掌握することができる。   According to the above configuration, the management server can grasp that the authentication result by the first mutual authentication process is inappropriate.

(3−18) 上記(3−15)(3−17)の遊技用システムまたは上記(3−16)(3−17)の遊技制御装置において、
前記運用処理手段は、前記制限付きの運用処理として、予め定められた期間内(例えば2日)でのみ前記運用処理を実行する。
(3-18) In the game system according to (3-15) (3-17) or the game control device according to (3-16) (3-17),
The operation processing means executes the operation processing only within a predetermined period (for example, two days) as the limited operation processing.

上記構成によれば、制限付きの運用処理として予め定められた期間内でのみ運用処理が実行されるために、第1認証処理の認証結果が不適正というセキュリティ上不安定な状態での運用処理を無期限に許容することによるセキュリティ上の問題を軽減することができる。   According to the above configuration, since the operation process is executed only within a predetermined period as the limited operation process, the operation process in an unstable state where the authentication result of the first authentication process is inappropriate. It is possible to reduce the security problem caused by allowing the password indefinitely.

(4−1) 本発明は、第1制御手段(SC325b)と、前記第1制御手段と通信可能に接続された第2制御手段(CU制御部323)とを備え、遊技機(P台2、S台2S)による遊技を可能とするための遊技用システムであって、
前記第1制御手段および前記第2制御手段は、互いの認証用情報(図61のS203の基板認証鍵)を用いて一方と他方とで相互認証処理を行なうための相互認証処理手段(図61のS201〜S205)を含み、
前記認証用情報を記憶する認証用情報記憶手段(CU制御部323およびSC325bの鍵記憶エリア)と、
前記認証用情報記憶手段に記憶されている認証用情報を更新する認証用情報更新手段(図62(a)、図63(a))と、
前記第1制御手段と前記第2制御手段とが前記相互認証処理に失敗したときに(図61のS207でYES)、更新後に認証実績のない認証用情報を用いた認証で失敗したのか、更新後に認証実績のある認証用情報を用いた認証で失敗したのかを判別する認証用情報判別手段(図61のS2071)と、
前記認証用情報判別手段の判別結果に応じたエラー情報を含む認証結果を送信する認証結果送信手段(図61のS2074)とを備える。
(4-1) The present invention includes first control means (SC325b) and second control means (CU control unit 323) connected to be communicable with the first control means. , A game system for enabling a game by S units 2S),
The first control means and the second control means use mutual authentication processing means (FIG. 61) for performing mutual authentication processing between one and the other using mutual authentication information (substrate authentication key in S203 of FIG. 61). S201 to S205),
Authentication information storage means for storing the authentication information (a key storage area of the CU control unit 323 and SC 325b);
Authentication information updating means (FIG. 62 (a), FIG. 63 (a)) for updating authentication information stored in the authentication information storage means;
When the first control means and the second control means fail in the mutual authentication processing (YES in S207 in FIG. 61), whether or not the authentication using authentication information without authentication results after the update has failed An authentication information discriminating means (S2071 in FIG. 61) for discriminating whether or not the authentication using authentication information that has been authenticated later has failed
61. An authentication result transmitting unit (S2074 in FIG. 61) that transmits an authentication result including error information corresponding to the determination result of the authentication information determining unit.

上記構成によれば、相互認証処理に失敗したときに、更新後に認証実績のない認証用情報を用いた認証で失敗したのか、更新後に認証実績のある認証用情報を用いた認証で失敗したのかの判別結果に応じたエラー情報を含む認証結果が送信されるため、当該認証結果を参照することによって認証に失敗したときの原因を推測可能となる。   According to the above configuration, when mutual authentication processing fails, whether authentication using authentication information without authentication results after updating failed or authentication using authentication information with authentication results after updating failed? Since the authentication result including the error information corresponding to the determination result is transmitted, it is possible to guess the cause of the authentication failure by referring to the authentication result.

(4−2) 本発明は、遊技機による遊技を可能とするための遊技用装置(CU制御部323またはSC325b)であって、
認証用情報(図61のS203の基板認証鍵)を用いて通信装置(SC325b)と相互認証処理を行なうための相互認証処理手段(図61のS201〜S205)と、
前記認証用情報を記憶する認証用情報記憶手段(CU制御部323またはSC325bの鍵記憶エリア)と、
前記認証用情報記憶手段に記憶されている認証用情報を更新する認証用情報更新手段(図62(a)、図63(a))と、
前記相互認証処理に失敗したときに(図61のS207でYES)、更新後に認証実績のない認証用情報を用いた認証で失敗したのか、更新後に認証実績のある認証用情報を用いた認証で失敗したのかを判別する認証用情報判別手段(図61のS2071)と、
前記認証用情報判別手段の判別結果に応じたエラー情報を含む認証結果を送信する認証結果送信手段(図61のS2074)とを備える。
(4-2) The present invention is a gaming apparatus (CU control unit 323 or SC325b) for enabling gaming by a gaming machine,
Mutual authentication processing means (S201 to S205 in FIG. 61) for performing mutual authentication processing with the communication device (SC325b) using the authentication information (substrate authentication key in S203 in FIG. 61);
Authentication information storage means for storing the authentication information (a key storage area of the CU control unit 323 or SC 325b);
Authentication information updating means (FIG. 62 (a), FIG. 63 (a)) for updating authentication information stored in the authentication information storage means;
When the mutual authentication process has failed (YES in S207 in FIG. 61), whether the authentication using authentication information without authentication results after the update has failed or the authentication using authentication information with authentication results after the update has been performed. An authentication information discriminating means (S2071 in FIG. 61) for discriminating whether or not the failure
61. An authentication result transmitting unit (S2074 in FIG. 61) that transmits an authentication result including error information corresponding to the determination result of the authentication information determining unit.

上記構成によれば、相互認証処理に失敗したときに、更新後に認証実績のない認証用情報を用いた認証で失敗したのか、更新後に認証実績のある認証用情報を用いた認証で失敗したのかの判別結果に応じたエラー情報を含む認証結果が送信されるため、当該認証結果を参照することによって認証に失敗したときの原因を推測可能となる。   According to the above configuration, when mutual authentication processing fails, whether authentication using authentication information without authentication results after updating failed or authentication using authentication information with authentication results after updating failed? Since the authentication result including the error information corresponding to the determination result is transmitted, it is possible to guess the cause of the authentication failure by referring to the authentication result.

(4−3) 本発明は、遊技機による遊技を可能とするための遊技制御装置(CU制御部323またはSC325b)であって、
更新後に認証実績のない認証用情報を用いた認証で相互認証処理に失敗したのか、更新後に認証実績のある認証用情報を用いた認証で相互認証処理に失敗したのかを判別して(図61のS2071)判別結果に応じたエラー情報を含む認証結果を送信する(図61のS2074)遊技用装置(CU制御部323またはSC325b)と相互認証処理を行なうための相互認証処理手段(図61のS201〜S205)と、
前記認証用情報を記憶する認証用情報記憶手段(CU制御部323またはSC325bの鍵記憶エリア)と、
前記認証用情報記憶手段に記憶されている認証用情報を更新する認証用情報更新手段(図62(a)、図63(a))とを備える。
(4-3) The present invention is a game control device (CU control unit 323 or SC325b) for enabling a game by a gaming machine,
It is determined whether mutual authentication processing has failed in authentication using authentication information with no authentication record after update or whether mutual authentication processing has failed in authentication using authentication information with authentication record after update (FIG. 61). S2071) An authentication result including error information corresponding to the determination result is transmitted (S2074 in FIG. 61). S201 to S205),
Authentication information storage means for storing the authentication information (a key storage area of the CU control unit 323 or SC 325b);
Authentication information updating means (FIG. 62 (a), FIG. 63 (a)) for updating authentication information stored in the authentication information storage means.

上記構成によれば、相互認証処理に失敗したときに、更新後に認証実績のない認証用情報を用いた認証で失敗したのか、更新後に認証実績のある認証用情報を用いた認証で失敗したのかの判別結果に応じたエラー情報を含む認証結果が遊技用装置より送信されるため、当該認証結果を参照することによって認証に失敗したときの原因を推測可能となる。   According to the above configuration, when mutual authentication processing fails, whether authentication using authentication information without authentication results after updating failed or authentication using authentication information with authentication results after updating failed? Since the authentication result including the error information corresponding to the determination result is transmitted from the gaming device, it is possible to guess the cause of the authentication failure by referring to the authentication result.

(4−4) 上記(4−1)(4−2)において、
前記認証結果送信手段は、更新後に認証実績のない認証用情報を用いた認証で失敗したと前記認証用情報判別手段により判別されたときには前記認証用情報の更新異常を示すエラー情報を送信し(図62のS2073)、更新後に認証実績のある認証用情報を用いた認証で失敗したと前記認証用情報判別手段により判別されたときには前記認証用情報記憶手段の記憶異常を示すエラー情報を送信する(図62のS2072)。
(4-4) In the above (4-1) (4-2),
The authentication result transmitting means transmits error information indicating an abnormal update of the authentication information when the authentication information determining means determines that the authentication using authentication information having no authentication result after the update has failed. 62 (S2073 in FIG. 62), when the authentication information discriminating means discriminates that the authentication using the authentication information with authentication results after the update has failed, error information indicating a storage abnormality of the authentication information storage means is transmitted. (S2072 in FIG. 62).

上記構成によれば、エラー情報に基づいて、認証に失敗したときの原因が認証用情報の更新異常であるのか認証用情報記憶手段の記憶異常であるのかを推測可能となる。   According to the above configuration, based on the error information, it can be estimated whether the cause of the authentication failure is an update abnormality of the authentication information or a storage abnormality of the authentication information storage unit.

(4−5) 上記(4−1)において、前記第1の制御手段と前記第2の制御手段とは、ともに、
互いに暗号通信を行なう第1暗号通信処理手段(SE1モード)と、
前記第1暗号通信処理手段による暗号通信の後に、該第1暗号通信処理手段による暗号通信よりもセキュリティレベルの高い暗号通信を行なう第2暗号通信処理手段(SE2モード)とを備え、
前記第1の制御手段(SC325b)は、前記第2暗号通信処理手段による暗号通信に用いる第1の暗号鍵(上りカウンタ)を前記第1の制御手段から前記第2の制御手段への電文の送信が完了する毎に更新する第1の暗号鍵更新手段を含み、
前記第2の制御手段(CU制御部323)は、前記第2暗号通信処理手段による暗号通信に用いる第2の暗号鍵(下りカウンタ)を前記第2の制御手段から前記第1の制御手段への電文の送信が完了する毎に更新する第2の暗号鍵更新手段を含む。
(4-5) In the above (4-1), the first control means and the second control means are both
First cryptographic communication processing means (SE1 mode) for performing cryptographic communication with each other;
Second cryptographic communication processing means (SE2 mode) for performing cryptographic communication with a higher security level than the cryptographic communication by the first cryptographic communication processing means after the cryptographic communication by the first cryptographic communication processing means;
The first control means (SC325b) transmits a first encryption key (upstream counter) used for encrypted communication by the second encrypted communication processing means from the first control means to the second control means. First encryption key update means for updating each time transmission is completed,
The second control means (CU control unit 323) sends a second encryption key (down counter) used for encryption communication by the second encryption communication processing means from the second control means to the first control means. 2nd encryption key update means updated whenever transmission of the electronic message is completed.

上記構成によれば、第1の制御手段と第2の制御手段とは通信方向により異なる暗号鍵を用いて通信するために、通信方向に関わらず共通の暗号鍵を用いる場合と比較して通信のセキュリティを高めることができる。   According to the above configuration, the first control unit and the second control unit communicate with each other using an encryption key that differs depending on the communication direction. Can increase security.

(4−6) 上記(4−5)において、前記第1の暗号鍵更新手段は、前記第2の制御手段(CU制御部323)から電文を受信したことに基づいて前記第1の暗号鍵(上りカウンタ)を所定値だけカウントアップし(+1)、
前記第2の暗号鍵更新手段は、前記第1の制御手段から電文を受信したことに基づいて前記第2の暗号鍵を所定値だけカウントアップし(+1)、
前記第1の制御手段および前記第2の制御手段は、前記第1の暗号鍵(上りカウンタ)および前記第2の暗号鍵(下りカウンタ)を記憶する暗号鍵記憶手段(CU制御部323およびSC325bのカウンタ記憶エリア)を含み、当該暗号鍵記憶手段が記憶している暗号鍵で復号異常が発生したときに当該暗号鍵を前記所定値だけカウントアップして成る暗号鍵にて復号を再試行する(図45のS152、S154、S156〜S158、図75、図76)。
(4-6) In the above (4-5), the first encryption key updating unit receives the message from the second control unit (CU control unit 323), and then the first encryption key is updated. (Up counter) is incremented by a predetermined value (+1),
The second encryption key update means counts up the second encryption key by a predetermined value based on the reception of the message from the first control means (+1),
The first control means and the second control means are encryption key storage means (CU control unit 323 and SC 325b) for storing the first encryption key (upstream counter) and the second encryption key (downstream counter). When the decryption abnormality occurs with the encryption key stored in the encryption key storage means, the decryption is retried with the encryption key obtained by counting up the encryption key by the predetermined value. (S152, S154, S156 to S158 in FIG. 45, FIG. 75, FIG. 76).

上記構成によれば、復号異常が発生した場合であっても、暗号鍵を所定値だけカウントアップして成る暗号鍵にて復号が再試行され、その結果、復号を成功させることも可能となるために、通信品質の一時的な劣化等の影響によって復号異常が発生しても、暗号鍵を自動修復させて通信を継続可能となる。   According to the above configuration, even when a decryption abnormality occurs, decryption is retried with an encryption key obtained by counting up the encryption key by a predetermined value, and as a result, decryption can be successful. Therefore, even if a decryption abnormality occurs due to the temporary deterioration of communication quality or the like, communication can be continued by automatically restoring the encryption key.

(4−7) 本発明は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技用システムであって、
前記第1制御手段と前記第2制御手段とが互いの認証用情報(基板初期鍵)を用いて相互認証処理を行なう相互認証処理手段(図49、図51の基板初期鍵認証シーケンス)を備え、
前記第1制御手段と前記第2制御手段との少なくとも一方は、製造段階で前記認証用情報を記憶しておらず(CU制御部が基板初期鍵を記憶しておらず)、遊技場に搬入された後サーバと通信可能になった段階で該サーバから前記認証用情報を取得して記憶し(図49:CU制御部が上位装置よりダウンロードした基板初期鍵を記憶する)、
前記相互認証処理手段は、前記第1制御手段と前記第2制御手段との少なくとも一方が前記認証用情報を記憶していないときには不適正な認証結果を導出し(図51:基板初期鍵の取得なしの状態で基板初期鍵認証をすれば認証結果がNGとなる)、
前記第1制御手段と前記第2制御手段とは、
前記認証用情報が記憶された後において、前記相互認証処理および該相互認証処理後の各種処理を実行し(図49の基板初期鍵認証シーケンスおよびその後の通信鍵交換シーケンス等を実行)、
前記認証用情報が記憶される前においても前記相互認証処理を実行し(図51の基板初期鍵認証シーケンスを実行し)、該相互認証処理により不適正な認証結果(NG)が導出されることにより、前記認証用情報が記憶される前の段階で実行するために用意されている処理(図51:基板出荷鍵による通信テスト電文の通信)を実行する。
(4-7) The present invention relates to first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and second control connected to be communicable with the first control means. A gaming system comprising means (security chip 325b or CU3, P stand 2, jet counter, POS terminal, etc.),
The first control means and the second control means include mutual authentication processing means (substrate initial key authentication sequence of FIGS. 49 and 51) for performing mutual authentication processing using mutual authentication information (substrate initial key). ,
At least one of the first control means and the second control means does not store the authentication information at the manufacturing stage (the CU control unit does not store the board initial key) and carries it into the game hall. After that, the authentication information is acquired and stored from the server when communication with the server becomes possible (FIG. 49: the CU control unit stores the board initial key downloaded from the host device),
The mutual authentication processing means derives an inappropriate authentication result when at least one of the first control means and the second control means does not store the authentication information (FIG. 51: Acquisition of a board initial key) If the board initial key authentication is performed without the authentication, the authentication result will be NG)
The first control means and the second control means are:
After the authentication information is stored, execute the mutual authentication process and various processes after the mutual authentication process (execute the substrate initial key authentication sequence and the subsequent communication key exchange sequence in FIG. 49),
The mutual authentication process is executed even before the authentication information is stored (the board initial key authentication sequence in FIG. 51 is executed), and an inappropriate authentication result (NG) is derived by the mutual authentication process. Thus, the process (FIG. 51: Communication of communication test message by substrate shipping key) prepared for execution at the stage before the authentication information is stored is executed.

上記構成によれば、遊技場に搬入された後、サーバと通信可能になった段階でサーバから認証用情報を取得してその認証用情報を用いて第1制御手段と第2制御手段とが相互認証処理を行ない、セキュリティが担保される。一方、前記認証用情報が未だ記憶されていない段階でも相互認証処理が実行され、その結果不適正な認証結果が導出され、これにより認証用情報が記憶される前の段階で実行するために用意されている処理を実行するように制御される。つまり、認証用情報を取得した後にセキュリティの担保のために実行される相互認証処理を、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別にも有効利用し、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別を行なう特別の判別ステップを設けることによる制御の複雑化を防止することができる。   According to the above configuration, the first control means and the second control means obtain the authentication information from the server when the communication with the server becomes possible after being carried into the amusement hall and use the authentication information. Mutual authentication processing is performed to ensure security. On the other hand, the mutual authentication process is executed even when the authentication information is not yet stored, and as a result, an inappropriate authentication result is derived, thereby preparing for execution at a stage before the authentication information is stored. It is controlled to execute the processing that is being performed. In other words, whether or not to execute the process prepared for executing the mutual authentication process executed for security assurance after obtaining the authentication information at the stage before the authentication information is stored. Complicating control by providing a special determination step that determines whether or not to execute processing prepared for execution at the stage before the authentication information is stored. Can be prevented.

(4−8) 上記(4−7)の遊技用システムにおいて、前記認証用情報の記憶は、遊技場に搬入されて最初の電源投入時に実行される(図49)。   (4-8) In the gaming system according to (4-7) above, the storage of the authentication information is performed when the power is turned on for the first time after being brought into the game hall (FIG. 49).

上記構成によれば、遊技場に搬入されて最初の電源投入時に認証用情報の記憶がなされるために、それ以降遊技場での実稼動時には第1制御手段と第2制御手段との間でのセキュリティを担保するための相互認証処理が実行されることとなり、実稼動時におけるセキュリティが担保できる。   According to the above configuration, the authentication information is stored when the power is turned on for the first time after being loaded into the amusement hall. After that, during actual operation in the amusement hall, between the first control means and the second control means. Mutual authentication processing for securing the security of the system is executed, and security during actual operation can be secured.

(4−9) 上記(4−7)または(4−8)の遊技用システムにおいて、前記認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理である(図51の通信テスト電文の通信)。   (4-9) In the gaming system of (4-7) or (4-8) above, the processing prepared to be executed at the stage before the authentication information is stored is shipped to the game hall This is a test process to be executed before communication (communication test message communication in FIG. 51).

上記構成によれば、認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理であり、その結果、遊技場に搬入される前の段階ではこのテスト処理が実行されることとなり、テスト処理を実行したテスト済のものを遊技場に搬入することができる。   According to the above configuration, the process prepared to be executed at the stage before the authentication information is stored is a test process executed before shipping to the game hall, and as a result, the process is carried into the game hall. This test process is executed at a stage before the game is completed, and the tested product that has been subjected to the test process can be carried into the game arcade.

(4−10) 上記(4−9)の遊技用システムにおいて、前記テスト処理は、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行する処理である(図51:基板出荷鍵を用いた通信テスト電文の通信)。   (4-10) In the gaming system of (4-9) above, the test process is a process of executing encrypted communication of a test message using a test key stored in advance (FIG. 51: Board shipment) Communication test message communication using a key).

上記構成によれば、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行してテスト処理が行なわれるために、テスト電文のセキュリティ自体も担保することができる。   According to the above configuration, the test message is encrypted using the test key stored in advance and the test process is performed, so the security of the test message itself can be ensured.

(4−11) 本発明の他の態様は、第1制御手段と、該第1制御手段と通信可能に接続された第2制御手段とを備えた遊技機器(CU3、P台2、S台2S、ジェットカウンタ、POS等)であって、
前記第1制御手段と前記第2制御手段とが互いの認証用情報を用いて相互認証処理を行なう相互認証処理手段(図49、図51の基板初期鍵認証シーケンス)を備え、
前記第1制御手段と前記第2制御手段との少なくとも一方は、製造段階で前記認証用情報を記憶しておらず(CU制御部が基板初期鍵を記憶しておらず)、遊技場に搬入された後サーバと通信可能になった段階で該サーバから前記認証用情報を取得して記憶し(図49:CU制御部が上位装置よりダウンロードした基板初期鍵を記憶する)、
前記相互認証処理手段は、前記第1制御手段と前記第2制御手段との少なくとも一方が前記認証用情報を記憶していないときには不適正な認証結果を導出し(図51:基板初期鍵の取得なしの状態で基板初期鍵認証をすれば認証結果がNGとなる)、
前記第1制御手段と前記第2制御手段とは、
前記認証用情報が記憶された後において、前記相互認証処理および該相互認証処理後の各種処理を実行し(図49の基板初期鍵認証シーケンスおよびその後の通信鍵交換シーケンス等を実行)、
前記認証用情報が記憶される前においても前記相互認証処理を実行し(図51の基板初期鍵認証シーケンスを実行し)、該相互認証処理により不適正な認証結果(NG)が導出されることにより、前記認証用情報が記憶される前の段階で実行するために用意されている処理(図51:基板出荷鍵による通信テスト電文の通信)を実行する。
(4-11) According to another aspect of the present invention, a gaming machine (CU3, P unit 2, S unit) including a first control unit and a second control unit communicably connected to the first control unit. 2S, jet counter, POS, etc.)
The first control means and the second control means include mutual authentication processing means (substrate initial key authentication sequence of FIGS. 49 and 51) for performing mutual authentication processing using mutual authentication information,
At least one of the first control means and the second control means does not store the authentication information at the manufacturing stage (the CU control unit does not store the board initial key) and carries it into the game hall. After that, the authentication information is acquired and stored from the server when communication with the server becomes possible (FIG. 49: the CU control unit stores the board initial key downloaded from the host device),
The mutual authentication processing means derives an inappropriate authentication result when at least one of the first control means and the second control means does not store the authentication information (FIG. 51: Acquisition of a board initial key) If the board initial key authentication is performed without the authentication, the authentication result will be NG)
The first control means and the second control means are:
After the authentication information is stored, execute the mutual authentication process and various processes after the mutual authentication process (execute the substrate initial key authentication sequence and the subsequent communication key exchange sequence in FIG. 49),
The mutual authentication process is executed even before the authentication information is stored (the board initial key authentication sequence in FIG. 51 is executed), and an inappropriate authentication result (NG) is derived by the mutual authentication process. Thus, the process (FIG. 51: Communication of communication test message by substrate shipping key) prepared for execution at the stage before the authentication information is stored is executed.

上記構成によれば、遊技場に搬入された後、サーバと通信可能になった段階でサーバから認証用情報を取得してその認証用情報を用いて第1制御手段と第2制御手段とが相互認証処理を行ない、セキュリティが担保される。一方、前記認証用情報が未だ記憶されていない段階でも相互認証処理が実行され、その結果不適正な認証結果が導出され、これにより認証用情報が記憶される前の段階で実行するために用意されている処理を実行するように制御される。つまり、認証用情報を取得した後にセキュリティの担保のために実行される相互認証処理を、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別にも有効利用し、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別を行なう特別の判別ステップを設けることによる制御の複雑化を防止することができる。   According to the above configuration, the first control means and the second control means obtain the authentication information from the server when the communication with the server becomes possible after being carried into the amusement hall and use the authentication information. Mutual authentication processing is performed to ensure security. On the other hand, the mutual authentication process is executed even when the authentication information is not yet stored, and as a result, an inappropriate authentication result is derived, thereby preparing for execution at a stage before the authentication information is stored. It is controlled to execute the processing that is being performed. In other words, whether or not to execute the process prepared for executing the mutual authentication process executed for security assurance after obtaining the authentication information at the stage before the authentication information is stored. Complicating control by providing a special determination step that determines whether or not to execute processing prepared for execution at the stage before the authentication information is stored. Can be prevented.

(4−12) 上記(4−11)の遊技機器において、前記認証用情報の記憶は、遊技場に搬入されて最初の電源投入時に実行される(図49)。   (4-12) In the gaming machine of the above (4-11), the storage of the authentication information is performed when the power is turned on for the first time after being brought into the game hall (FIG. 49).

上記構成によれば、遊技場に搬入されて最初の電源投入時に認証用情報の記憶がなされるために、それ以降遊技場での実稼動時には第1制御手段と第2制御手段との間でのセキュリティを担保するための相互認証処理が実行されることとなり、実稼動時におけるセキュリティが担保できる。   According to the above configuration, the authentication information is stored when the power is turned on for the first time after being loaded into the amusement hall. After that, during actual operation in the amusement hall, between the first control means and the second control means. Mutual authentication processing for securing the security of the system is executed, and security during actual operation can be secured.

(4−13) 上記(4−11)または(4−12)の遊技機器において、前記認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理である(図51の通信テスト電文の通信)。   (4-13) In the gaming machine of the above (4-11) or (4-12), the processing prepared to be executed at the stage before the authentication information is stored is shipped to the game hall This is a test process executed before (communication test message communication in FIG. 51).

上記構成によれば、認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理であり、その結果、遊技場に搬入される前の段階ではこのテスト処理が実行されることとなり、テスト処理を実行したテスト済のものを遊技場に搬入することができる。   According to the above configuration, the process prepared to be executed at the stage before the authentication information is stored is a test process executed before shipping to the game hall, and as a result, the process is carried into the game hall. This test process is executed at a stage before the game is completed, and the tested product that has been subjected to the test process can be carried into the game arcade.

(4−14) 上記(4−13)の遊技機器において、前記テスト処理は、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行する処理である(図51:基板出荷鍵を用いた通信テスト電文の通信)。   (4-14) In the gaming machine of the above (4-13), the test process is a process for executing encrypted communication of a test message using a test key stored in advance (FIG. 51: board shipping key) Communication test message communication using).

上記構成によれば、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行してテスト処理が行なわれるために、テスト電文のセキュリティ自体も担保することができる。   According to the above configuration, the test message is encrypted using the test key stored in advance and the test process is performed, so the security of the test message itself can be ensured.

(4−15) 本発明は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技用システムであって、
前記第1制御手段と前記第2制御手段との間で仮運用鍵(基板初期鍵)を用いて相互認証処理を行なう相互認証処理手段(図49の基板初期鍵認証シーケンス)と、
該相互認証処理手段による認証結果が適正であることを条件として本認証鍵(基板認証鍵)を取得する処理を行なう本認証鍵取得手段(図49と図55のセキュリティ基板情報問合せシーケンス)と、
該本認証鍵取得手段により取得した本認証鍵を利用しての運用処理を実行する本運用処理手段(図50の遊技機との業務電文通信)と、
前記本認証鍵取得手段による処理の結果前記本認証鍵を取得できなかったときに、前記仮認証鍵を利用しての仮の運用処理を実行する仮運用処理手段(図49:セキュリティ基板情報問合せシーケンスおよび基板初期鍵認証シーケンスを実行することなく基板初期鍵を用いて通信鍵交換シーケンス(図57)を実行する)とを備えた。
(4-15) The present invention relates to first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and second control connected to be communicable with the first control means. A gaming system comprising means (security chip 325b or CU3, P stand 2, jet counter, POS terminal, etc.),
Mutual authentication processing means (substrate initial key authentication sequence in FIG. 49) for performing mutual authentication processing using a temporary operation key (substrate initial key) between the first control means and the second control means;
An authentication key acquisition unit (security board information inquiry sequence in FIGS. 49 and 55) for performing a process of acquiring the authentication key (substrate authentication key) on the condition that the authentication result by the mutual authentication processing unit is appropriate;
A main operation processing unit (business message communication with the gaming machine of FIG. 50) for executing an operation process using the main authentication key acquired by the main authentication key acquiring unit;
Temporary operation processing means for executing temporary operation processing using the temporary authentication key when the authentication key cannot be acquired as a result of the processing by the authentication key acquisition means (FIG. 49: Query security board information) The communication key exchange sequence (FIG. 57) is executed using the substrate initial key without executing the sequence and the substrate initial key authentication sequence.

上記構成によれば、仮認証鍵を用いて相互認証処理を行なってその認証結果が適正であることを条件として本認証鍵を取得する処理が実行されるために、高いセキュリティを担保することが可能となる。しかも、その本認証鍵の取得処理の結果本認証鍵を取得できなかったときには、前記仮認証鍵を利用して仮の運用処理が実行されるために、本認証鍵の取得不能時における運用処理が全くできなくなる不都合をも防止することができる。   According to the above configuration, since the process for obtaining the authentication key is executed on the condition that the mutual authentication process is performed using the temporary authentication key and the authentication result is appropriate, high security can be ensured. It becomes possible. In addition, when the authentication key cannot be acquired as a result of the acquisition process of the authentication key, a temporary operation process is executed using the temporary authentication key. It is possible to prevent inconveniences that cannot be achieved at all.

(4−16) 上記(4−15)の遊技用システムにおいて、前記仮運用処理手段は、予め定められた期間内でのみ前記仮の運用処理を実行する(たとえば2日間に限定して運用を許容する)。   (4-16) In the gaming system of (4-15), the temporary operation processing means executes the temporary operation processing only within a predetermined period (for example, the operation is limited to two days). Tolerate).

上記構成によれば、予め定められた期間内にのみ仮の運用処理が実行されるために、本認証鍵の取得不能時というセキュリティ上不安定な状態での仮の運用処理を無期限に許容することによるセキュリティ上の問題を軽減することができる。   According to the above configuration, since the temporary operation process is executed only within a predetermined period, the temporary operation process in an unstable state when the authentication key cannot be obtained is allowed indefinitely. Can reduce security problems.

(4−17) 上記(4−15)または(4−16)の遊技用システムにおいて、前記本認証鍵取得手段は、識別番号に対応付けて本認証鍵を記憶しているサーバ(鍵管理サーバ800)に対し、識別番号(基板シリアル番号)を送信して該識別番号に対応する前記本認証鍵を取得する処理を行なう(図55)。   (4-17) In the gaming system according to (4-15) or (4-16), the authentication key acquisition means is a server (key management server) that stores the authentication key in association with an identification number. 800), an identification number (substrate serial number) is transmitted to obtain the main authentication key corresponding to the identification number (FIG. 55).

上記構成によれば、識別番号に対応付けて本認証鍵がサーバに記憶されており、そのサーバに対して識別番号を送信してその識別番号に対応する本認証鍵が取得されるために、サーバに識別番号に対応付けて正規に本認証鍵が記憶されている場合に限りその本認証鍵が取得可能となり、本認証鍵が登録された正規の識別番号を送信した場合に限り本認証鍵を取得することができるようにし、セキュリティが担保される。   According to the above configuration, the authentication key is stored in the server in association with the identification number, and the authentication key corresponding to the identification number is acquired by transmitting the identification number to the server. This authentication key can be acquired only if the authentication key is stored in the server in association with the identification number, and the authentication key can be acquired only when the authorized identification number registered with the authentication key is sent. Security is ensured.

(4−18) 上記(4−17)の遊技用システムにおいて、前記識別番号に対応付けて本認証鍵を記憶しているサーバ(鍵管理サーバ800)をさらに備え、
該サーバは、前記本認証鍵を取得して記憶する装置を製造したメーカが出荷する該装置に用いられる識別番号(基板シリアルID)と前記本認証鍵とを含む情報を受信し、該情報に含まれる識別番号に対応付けて該本認証鍵を記憶する(基板シリアルIDに対応付けて基板認証鍵を記憶)。
(4-18) In the gaming system of (4-17), the game system further includes a server (key management server 800) that stores the authentication key in association with the identification number,
The server receives information including an identification number (substrate serial ID) used for the apparatus shipped by a manufacturer that manufactures the apparatus that acquires and stores the main authentication key and the main authentication key. The main authentication key is stored in association with the included identification number (the board authentication key is stored in association with the board serial ID).

上記構成によれば、本認証鍵を取得して記憶する装置を製造したメーカが出荷する該装置に用いられる識別番号と前記本認証鍵とを含む情報をサーバが受信し、その情報に含まれる識別番号に対応付けて本認証鍵をサーバが記憶するために、メーカが出荷した正規の装置に限り本認証鍵をサーバから取得でき、メーカが出荷する正規の装置以外の装置が本認証鍵を取得できてしまう不都合を極力防止することによりセキュリティを担保できる。   According to the above configuration, the server receives the information including the identification number used for the device shipped by the manufacturer that manufactured the device that acquires and stores the authentication key and the authentication key, and is included in the information In order for the server to store this authentication key in association with the identification number, this authentication key can be acquired from the server only for legitimate devices shipped by the manufacturer, and devices other than the legitimate device shipped by the manufacturer can obtain this authentication key. Security can be secured by preventing inconvenience that can be acquired as much as possible.

(4−19) 本発明の他の態様は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技機器(CU3、P台2、ジェットカウンタ、POS端末等)であって、
前記第1制御手段と前記第2制御手段との間で仮運用鍵(基板初期鍵)を用いて相互認証処理を行なう相互認証処理手段(図49の基板初期鍵認証シーケンス)と、
該相互認証処理手段による認証結果が適正であることを条件として本認証鍵(基板認証鍵)を取得する処理を行なう本認証鍵取得手段(図49と図55のセキュリティ基板情報問合せシーケンス)と、
該本認証鍵取得手段により取得した本認証鍵を利用しての運用処理を実行する本運用処理手段(図50の遊技機との業務電文通信)と、
前記本認証鍵取得手段による処理の結果前記本認証鍵を取得できなかったときに、前記仮認証鍵を利用しての仮の運用処理を実行する仮運用処理手段(図49:基板シリアルID認証シーケンスおよび基板初期鍵認証シーケンスを実行することなく基板初期鍵を用いて通信鍵交換シーケンス(図57)を実行する)とを備えた。
(4-19) In another aspect of the present invention, the first control unit (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) is connected to the first control unit so as to be communicable. A gaming machine (CU3, P table 2, jet counter, POS terminal, etc.) equipped with a second control means (security chip 325b or CU3, P table 2, jet counter, POS terminal, etc.),
Mutual authentication processing means (substrate initial key authentication sequence in FIG. 49) for performing mutual authentication processing using a temporary operation key (substrate initial key) between the first control means and the second control means;
An authentication key acquisition unit (security board information inquiry sequence in FIGS. 49 and 55) for performing a process of acquiring the authentication key (substrate authentication key) on the condition that the authentication result by the mutual authentication processing unit is appropriate;
A main operation processing unit (business message communication with the gaming machine of FIG. 50) for executing an operation process using the main authentication key acquired by the main authentication key acquiring unit;
Temporary operation processing means for executing temporary operation processing using the temporary authentication key when the authentication key cannot be acquired as a result of processing by the authentication key acquiring means (FIG. 49: board serial ID authentication) The communication key exchange sequence (FIG. 57) is executed using the substrate initial key without executing the sequence and the substrate initial key authentication sequence.

上記構成によれば、仮認証鍵を用いて相互認証処理を行なってその認証結果が適正であることを条件として本認証鍵を取得する処理が実行されるために、高いセキュリティを担保することが可能となる。しかも、その本認証鍵の取得処理の結果本認証鍵を取得できなかったときには、前記仮認証鍵を利用して仮の運用処理が実行されるために、本認証鍵の取得不能時における運用処理が全くできなくなる不都合をも防止することができる。   According to the above configuration, since the process for obtaining the authentication key is executed on the condition that the mutual authentication process is performed using the temporary authentication key and the authentication result is appropriate, high security can be ensured. It becomes possible. In addition, when the authentication key cannot be acquired as a result of the acquisition process of the authentication key, a temporary operation process is executed using the temporary authentication key. It is possible to prevent inconveniences that cannot be achieved at all.

(4−20) 上記(4−19)の遊技機器において、前記仮運用処理手段は、予め定められた期間内でのみ前記仮の運用処理を実行する(たとえば2日間に限定して運用を許容する)。   (4-20) In the gaming machine of the above (4-19), the temporary operation processing means executes the temporary operation processing only within a predetermined period (for example, operation is limited to two days) To do).

上記構成によれば、予め定められた期間内にのみ仮の運用処理が実行されるために、本認証鍵の取得不能時というセキュリティ上不安定な状態での仮の運用処理を無期限に許容することによるセキュリティ上の問題を軽減することができる。   According to the above configuration, since the temporary operation process is executed only within a predetermined period, the temporary operation process in an unstable state when the authentication key cannot be obtained is allowed indefinitely. Can reduce security problems.

(4−21) 上記(4−19)または(4−20)の遊技機器において、前記本認証鍵取得手段は、識別番号に対応付けて本認証鍵を記憶しているサーバ(鍵管理サーバ800)に対し、識別番号(基板シリアル番号)を送信して該識別番号に対応する前記本認証鍵を取得する処理を行なう(図55)。   (4-21) In the gaming machine of (4-19) or (4-20) above, the authentication key acquisition means stores a server (key management server 800) that stores the authentication key in association with the identification number. ), An identification number (substrate serial number) is transmitted to obtain the authentication key corresponding to the identification number (FIG. 55).

上記構成によれば、識別番号に対応付けて本認証鍵がサーバに記憶されており、そのサーバに対して識別番号を送信してその識別番号に対応する本認証鍵が取得されるために、サーバに識別番号に対応付けて正規に本認証鍵が記憶されている場合に限りその本認証鍵が取得可能となり、本認証鍵が登録された正規の識別番号を送信した場合に限り本認証鍵を取得することができるようにし、セキュリティが担保される。   According to the above configuration, the authentication key is stored in the server in association with the identification number, and the authentication key corresponding to the identification number is acquired by transmitting the identification number to the server. This authentication key can be acquired only if the authentication key is stored in the server in association with the identification number, and the authentication key can be acquired only when the authorized identification number registered with the authentication key is sent. Security is ensured.

(4−22) 本発明は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技用システムであって、
遊技場への出荷前の段階で、前記第1制御手段と前記第2制御手段との間でテスト用鍵を利用して出荷前処理を行なう出荷前処理手段(図51:基板出荷鍵による通信テスト電文の通信)と、
遊技場に納入された後に、前記第1制御手段と前記第2制御手段との間で認証鍵(基板認証鍵)を利用して遊技場での実稼働時の処理を行なう実稼働処理手段(図50の遊技機との業務電文通信)とを備える。
(4-22) The present invention relates to first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and second control connected to be communicable with the first control means. A gaming system comprising means (security chip 325b or CU3, P stand 2, jet counter, POS terminal, etc.),
Pre-shipment processing means for performing pre-shipment processing using a test key between the first control means and the second control means at a stage before shipment to the game arcade (FIG. 51: communication by board shipping key) Test message communication),
After being delivered to the amusement hall, an actual operation processing means for performing processing during actual operation at the game hall using an authentication key (board authentication key) between the first control means and the second control means ( Business message communication with the gaming machine of FIG.

上記構成によれば、出荷前処理はテスト用鍵を利用して行なわれる一方、実稼動時の処理は認証鍵を利用して行なわれるために、たとえテスト用鍵が漏洩したとしても、実稼動時における認証鍵が漏洩しない限り実稼動時のセキュリティを保つことが可能となる。   According to the above configuration, the pre-shipment processing is performed using the test key, while the actual operation processing is performed using the authentication key. Even if the test key is leaked, the actual operation is performed. As long as the authentication key at the time does not leak, security during actual operation can be maintained.

(4−23) 上記(4−22)の遊技用システムにおいて、遊技場に納入され最初の電源投入時に初期鍵(基板初期鍵)をサーバ(ホールサーバ801)から取得して該初期鍵を利用した処理を実行する初期鍵利用処理手段(図49の基板初期鍵認証シーケンスとセキュリティ基板情報問合せシーケンス)をさらに備える。   (4-23) In the gaming system of (4-22) above, an initial key (board initial key) is acquired from the server (hall server 801) when the power is first turned on after being delivered to the game arcade, and the initial key is used. The initial key use processing means (the board initial key authentication sequence and the security board information inquiry sequence shown in FIG. 49) is further provided.

上記構成によれば、遊技場に搬入されて最初の電源投入時に初期鍵を取得して該初期鍵を利用した処理が実行されるため、以降初期鍵を利用してのセキュリティを担保した処理が可能となる。   According to the above-described configuration, since the initial key is acquired when the power is turned on for the first time when the game is turned on and the process using the initial key is executed, the process using the initial key to ensure security is performed thereafter. It becomes possible.

(4−24) 上記(4−23)の遊技用システムにおいて、前記初期鍵利用処理手段は、前記認証鍵をサーバから取得するための処理を実行する(図49と図55のセキュリティ基板情報問合せシーケンス)。   (4-24) In the gaming system of (4-23), the initial key use processing means executes processing for acquiring the authentication key from a server (inquiry for security board information in FIGS. 49 and 55). sequence).

上記構成によれば、実稼動時の処理に利用される認証鍵をサーバから取得するにおいては、それに先立って初期鍵をサーバから取得しその初期鍵を利用した処理を実行することにより認証鍵をサーバから取得するための処理が行なわれることとなり、認証鍵をサーバから取得するための処理自体が初期鍵を利用したセキュリティを担保した処理にすることができ、より一層セキュリティを向上させることができる。   According to the above configuration, in acquiring an authentication key used for processing in actual operation from the server, an authentication key is obtained by acquiring an initial key from the server and executing processing using the initial key prior to that. Processing for acquiring from the server will be performed, and the processing for acquiring the authentication key from the server itself can be a process that guarantees security using the initial key, and security can be further improved. .

(4−25) 本発明の他の態様は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技機器(CU3、P台2、ジェットカウンタ、POS端末等)であって、
遊技場への出荷前の段階で、前記第1制御手段と前記第2制御手段との間でテスト用鍵を利用して出荷前処理を行なう出荷前処理手段(図51:基板出荷鍵による通信テスト電文の通信)と、
遊技場に納入された後に、前記第1制御手段と前記第2制御手段との間で認証鍵(基板認証鍵)を利用して遊技場での実稼働時の処理を行なう実稼働処理手段(図50の遊技機との業務電文通信)とを備える。
(4-25) In another aspect of the present invention, the first control unit (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) is connected to the first control unit so as to be communicable. A gaming machine (CU3, P table 2, jet counter, POS terminal, etc.) equipped with a second control means (security chip 325b or CU3, P table 2, jet counter, POS terminal, etc.),
Pre-shipment processing means for performing pre-shipment processing using a test key between the first control means and the second control means at a stage before shipment to the game arcade (FIG. 51: communication by board shipping key) Test message communication),
After being delivered to the amusement hall, an actual operation processing means for performing processing during actual operation at the game hall using an authentication key (board authentication key) between the first control means and the second control means ( Business message communication with the gaming machine of FIG.

上記構成によれば、出荷前処理はテスト用鍵を利用して行なわれる一方、実稼動時の処理は認証鍵を利用して行なわれるために、たとえテスト用鍵が漏洩したとしても、実稼動時における認証鍵が漏洩しない限り実稼動時のセキュリティを保つことが可能となる。   According to the above configuration, the pre-shipment processing is performed using the test key, while the actual operation processing is performed using the authentication key. Even if the test key is leaked, the actual operation is performed. As long as the authentication key at the time does not leak, security during actual operation can be maintained.

(4−26) 上記(4−25)の遊技機器において、遊技場に納入され最初の電源投入時に初期鍵(基板初期鍵)をサーバ(ホールサーバ801)から取得して該初期鍵を利用した処理を実行する初期鍵利用処理手段(図49の基板初期鍵認証シーケンスとセキュリティ基板情報問合せシーケンス)をさらに備える。   (4-26) In the gaming machine of (4-25) above, the initial key (board initial key) is acquired from the server (hall server 801) and used when the power is first turned on after being delivered to the game arcade. Initial key use processing means (substrate initial key authentication sequence and security substrate information inquiry sequence in FIG. 49) for executing processing is further provided.

上記構成によれば、遊技場に搬入されて最初の電源投入時に初期鍵を取得して該初期鍵を利用した処理が実行されるため、以降初期鍵を利用してのセキュリティを担保した処理が可能となる。   According to the above-described configuration, since the initial key is acquired when the power is turned on for the first time when the game is turned on and the process using the initial key is executed, the process using the initial key to ensure security is performed thereafter. It becomes possible.

(4−27) 上記(4−26)の遊技機器において、前記初期鍵利用処理手段は、前記認証鍵をサーバから取得するための処理を実行する(図49と図55のセキュリティ基板情報問合せシーケンス)。   (4-27) In the gaming machine of (4-26), the initial key use processing means executes processing for acquiring the authentication key from the server (security board information inquiry sequence of FIGS. 49 and 55). ).

上記構成によれば、実稼動時の処理に利用される認証鍵をサーバから取得するにおいては、それに先立って初期鍵をサーバから取得しその初期鍵を利用した処理を実行することにより認証鍵をサーバから取得するための処理が行なわれることとなり、認証鍵をサーバから取得するための処理自体が初期鍵を利用したセキュリティを担保した処理にすることができ、より一層セキュリティを向上させることができる。   According to the above configuration, in acquiring an authentication key used for processing in actual operation from the server, an authentication key is obtained by acquiring an initial key from the server and executing processing using the initial key prior to that. Processing for acquiring from the server will be performed, and the processing for acquiring the authentication key from the server itself can be a process that guarantees security using the initial key, and security can be further improved. .

CU3により記録媒体処理装置が構成されている。CU制御部323またはSC325bにより、遊技機による遊技を可能とするための遊技用装置が構成されている。また、CU制御部323またはSC325bにより、遊技機による遊技を可能とするための遊技制御装置が構成されている。   A recording medium processing apparatus is configured by CU3. The CU control unit 323 or the SC 325b constitutes a gaming device that enables gaming with a gaming machine. Further, the CU control unit 323 or the SC 325b constitutes a game control device for enabling a game with a gaming machine.

遊技用装置は、相互認証処理に失敗したときに、更新後に認証実績のない認証用情報を用いた認証で失敗したのか、更新後に認証実績のある認証用情報を用いた認証で失敗したのかを判別する認証用情報判別手段(図61のS2071)と、前記認証用情報判別手段の判別結果に応じたエラー情報を含む認証結果を送信する認証結果送信手段(図61のS2074)とを含んでいる。   When the gaming device fails in the mutual authentication process, it is determined whether the authentication using the authentication information without the authentication record after the update fails or the authentication using the authentication information with the authentication record after the update fails. Authentication information determining means for determining (S2071 in FIG. 61) and authentication result transmitting means (S2074 in FIG. 61) for transmitting an authentication result including error information corresponding to the determination result of the authentication information determining means. Yes.

一方、遊技制御装置は、上記遊技用装置と相互認証処理を行なうための相互認証処理手段を含んでいる。   On the other hand, the game control device includes mutual authentication processing means for performing mutual authentication processing with the gaming device.

すなわち、前記遊技用装置は前記認証用情報判別手段および前記認証結果送信手段を含む装置である一方、前記遊技制御装置は、そのような手段を備える装置と通信可能と通信し相互認証処理を行なう装置である。   In other words, the gaming device is a device including the authentication information discriminating means and the authentication result transmitting means, while the game control device communicates with a device including such means to perform communication and performs mutual authentication processing. Device.

本実施の形態の場合には、遊技用装置の一例となるCU制御部323は、前記SC325bとの関係において前記遊技用装置としての機能をも備えている。また、遊技制御装置の一例となるSC325bは、CU制御部323との関係において前記遊技用装置としての機能も備えている。   In the case of this embodiment, the CU control unit 323, which is an example of a gaming device, also has a function as the gaming device in relation to the SC 325b. The SC 325b, which is an example of a game control device, also has a function as the game device in relation to the CU control unit 323.

(5−1) 本発明は、第1制御手段(セキュリティチップ:SC325b、CU制御部323、通信制御IC325aおよび払出制御部171など)と、前記第1制御手段とシリアル通信可能に接続された第2制御手段(通信制御IC325a、SC325b、払出制御部171および主制御部161など)とを備えた遊技用システムであって(SC−通信制御IC間、CU制御部−SC間、通信制御IC−払出制御部間および払出制御部−主制御部間のそれぞれにおいて通信可能)、
前記第1制御手段から前記第2制御手段に確認電文を送信して、前記第2制御手段の状態確認を行なう状態確認手段(たとえばSC−通信制御IC間の通信において、図30〜図32:状態確認要求の送信)と、
前記状態確認手段により送信された前記確認電文に対する応答電文を前記第2制御手段から前記第1制御手段に送信して、前記第2制御手段の状態確認の応答を行なう状態確認応答手段(たとえばSC−通信制御IC間の通信において、図30〜図32:状態確認応答の送信)と、
前記第1制御手段において、前記確認電文を送信した後に電文を読出す電文読出手段(たとえばSC−通信制御IC間の通信において、図32:SC325b側での電文の読出し)と、
前記電文読出手段で読出した電文の2バイト目の情報が、前記読出した電文の1バイト目の反転情報と異なる状態が所定の設定条件(たとえばSC−通信制御IC間の通信において、図32:SC−通信制御IC断線検知時間)が成立するまで連続すると、前記第1制御手段と前記第2制御手段との間で断線が生じていると判定する断線判定手段(たとえばSC−通信制御IC間の通信において、図32:SC325bが断線が生じていると判定)とを備える。
(5-1) The present invention provides a first control unit (security chip: SC325b, CU control unit 323, communication control IC 325a, payout control unit 171 and the like) and a first control unit connected in serial communication with the first control unit. A gaming system comprising two control means (communication control ICs 325a, SC325b, payout control unit 171 and main control unit 161, etc.) (between SC and communication control IC, between CU control unit and SC, communication control IC- Communication between the payout control units and between the payout control unit and the main control unit),
State confirmation means for transmitting a confirmation message from the first control means to the second control means to confirm the state of the second control means (for example, in communication between the SC and the communication control IC, FIGS. 30 to 32: Status check request)
A status confirmation response means (for example, SC) which transmits a response message to the confirmation message transmitted by the status confirmation means from the second control means to the first control means and responds to the status confirmation of the second control means. -In communication between communication control ICs, FIG. 30 to FIG. 32: transmission of status confirmation response),
In the first control means, a message reading means for reading a message after transmitting the confirmation message (for example, in the communication between the SC and the communication control IC, FIG. 32: reading of a message on the SC 325b side);
A state in which the second byte information of the message read by the message reading means is different from the inversion information of the first byte of the read message (for example, in communication between the SC and the communication control IC in FIG. 32: If it continues until SC-communication control IC disconnection detection time is established, it is determined that a disconnection has occurred between the first control means and the second control means (for example, between SC and communication control IC). FIG. 32: SC325b determines that a disconnection has occurred).

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常が発生したことの原因が、制御手段同士を繋ぐ配線が断線したことであると容易に検知することが可能となる。   According to the above configuration, when serial communication is performed between the control means, it is possible to easily detect that the cause of the communication abnormality is that the wiring connecting the control means is disconnected. .

(5−2) 本発明は、遊技機による遊技を可能とするための遊技用装置(CU)であって(SC−通信制御IC間およびCU制御部−SC間のそれぞれにおいて通信可能)、
第1制御手段(セキュリティチップ:SC325b、CU制御部323)と、
前記第1制御手段とシリアル通信可能に接続された第2制御手段(通信制御IC325a、SC325b)と、
前記第1制御手段から前記第2制御手段に確認電文を送信して、前記第2制御手段の状態確認を行なう状態確認手段(たとえばSC−通信制御IC間の通信において、図30〜図32:状態確認要求の送信)と、
前記状態確認手段により送信された前記確認電文に対する応答電文を前記第2制御手段から前記第1制御手段に送信して、前記第2制御手段の状態確認の応答を行なう状態確認応答手段(たとえばSC−通信制御IC間の通信において、図30〜図32:状態確認応答の送信)と、
前記第1制御手段において、前記確認電文を送信した後に電文を読出す電文読出手段(たとえばSC−通信制御IC間の通信において、図32:SC325b側での電文の読出し)と、
前記電文読出手段で読出した電文の2バイト目の情報が、前記読出した電文の1バイト目の反転情報と異なる状態が所定の設定条件(たとえばSC−通信制御IC間の通信において、図32:SC−通信制御IC断線検知時間)が成立するまで連続すると、前記第1制御手段と前記第2制御手段との間で断線が生じていると判定する断線判定手段(たとえばSC−通信制御IC間の通信において、図32:SC325bが断線が生じていると判定)とを備える。
(5-2) The present invention is a gaming device (CU) for enabling a game by a gaming machine (communication is possible between SC and communication control IC and between CU control unit and SC),
First control means (security chip: SC325b, CU control unit 323);
Second control means (communication control ICs 325a and SC325b) connected to the first control means so as to enable serial communication;
State confirmation means for transmitting a confirmation message from the first control means to the second control means to confirm the state of the second control means (for example, in communication between the SC and the communication control IC, FIGS. 30 to 32: Status check request)
A status confirmation response means (for example, SC) which transmits a response message to the confirmation message transmitted by the status confirmation means from the second control means to the first control means and responds to the status confirmation of the second control means. -In communication between communication control ICs, FIG. 30 to FIG. 32: transmission of status confirmation response),
In the first control means, a message reading means for reading a message after transmitting the confirmation message (for example, in the communication between the SC and the communication control IC, FIG. 32: reading of a message on the SC 325b side);
A state in which the second byte information of the message read by the message reading means is different from the inversion information of the first byte of the read message (for example, in communication between the SC and the communication control IC in FIG. 32: If it continues until SC-communication control IC disconnection detection time is established, it is determined that a disconnection has occurred between the first control means and the second control means (for example, between SC and communication control IC). FIG. 32: SC325b determines that a disconnection has occurred).

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常が発生したことの原因が、制御手段同士を繋ぐ配線が断線したことであると容易に検知することが可能となる。   According to the above configuration, when serial communication is performed between the control means, it is possible to easily detect that the cause of the communication abnormality is that the wiring connecting the control means is disconnected. .

(5−3) 本発明は、通信制御手段(通信制御IC325a)とシリアル通信可能に接続し、遊技機による遊技を可能とするための遊技制御装置(セキュリティチップ:SC325b)であって、
前記通信制御手段に確認電文を送信して当該通信制御手段の状態確認を行なう状態確認手段(図30〜図32:状態確認要求の送信)と、
前記通信制御手段から前記確認電文を送信した後に、電文を読出す電文読出手段(図32:SC325b側での電文の読出し)と、
前記電文読出手段で読出した電文の2バイト目の情報が、前記読出した電文の1バイト目の反転情報と異なる状態が所定の設定条件(たとえば、図32:SC−通信制御IC断線検知時間)が成立するまで連続すると、前記通信制御手段との間で断線が生じていると判定する断線判定手段(図32:SC325bが断線が生じていると判定)とを備える。
(5-3) The present invention is a game control device (security chip: SC325b) for connecting to a communication control means (communication control IC 325a) so as to be capable of serial communication and enabling a game by a gaming machine,
State confirmation means for transmitting a confirmation message to the communication control means to confirm the state of the communication control means (FIG. 30 to FIG. 32: transmission of a state confirmation request);
After transmitting the confirmation message from the communication control means, a message reading means for reading the message (FIG. 32: reading of the message on the SC 325b side);
A predetermined setting condition (for example, FIG. 32: SC-communication control IC disconnection detection time) that the second byte information of the message read by the message reading means is different from the inversion information of the first byte of the read message. If it continues until it is established, it includes disconnection determination means (FIG. 32: SC325b determines that disconnection has occurred) that determines that a disconnection has occurred with the communication control means.

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常が発生したことの原因が、制御手段同士を繋ぐ配線が断線したことであると容易に検知することが可能となる。   According to the above configuration, when serial communication is performed between the control means, it is possible to easily detect that the cause of the communication abnormality is that the wiring connecting the control means is disconnected. .

(5−4) 本発明は、セキュリティ制御手段(セキュリティチップ:SC325b)とシリアル通信可能に接続し、遊技機による遊技を可能とするための遊技制御装置(通信制御IC325a)であって、
前記セキュリティ制御手段より確認電文を受信したときに応答電文を前記セキュリティ制御手段へ返信する応答電文返信手段(図30〜図32:状態確認応答の送信)を備え、
前記応答電文返信手段は、前記応答電文の2バイト目の情報を当該応答電文の1バイト目の反転情報として前記セキュリティ制御手段に送信することによって、前記セキュリティ制御手段が読出した電文の2バイト目の情報が、前記読出した電文の1バイト目の反転情報と異なる状態が所定の設定条件(たとえば、図32:SC−通信制御IC断線検知時間)が成立するまで連続すると、前記遊技制御装置との間で断線が生じていると前記セキュリティ制御手段(図32:SC325bが断線が生じていると判定)が判定可能にする。
(5-4) The present invention is a game control device (communication control IC 325a) that is connected to a security control means (security chip: SC325b) so as to be capable of serial communication and enables a game by a gaming machine.
A response message reply means (FIG. 30 to FIG. 32: transmission of a status confirmation response) that returns a response message to the security control means when a confirmation message is received from the security control means;
The response message reply means transmits the second byte information of the response message to the security control means as inversion information of the first byte of the response message, whereby the second byte of the message read by the security control means If the state of the information is continuously different from the inversion information of the first byte of the read message until a predetermined setting condition (for example, FIG. 32: SC-communication control IC disconnection detection time) is satisfied, the game control device If a disconnection occurs between the two, the security control means (FIG. 32: SC325b determines that a disconnection has occurred) enables determination.

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常が発生したことの原因が、制御手段同士を繋ぐ配線が断線したことであると容易に検知することが可能となる。   According to the above configuration, when serial communication is performed between the control means, it is possible to easily detect that the cause of the communication abnormality is that the wiring connecting the control means is disconnected. .

(5−5) 上記(5−1)〜(5−3)において、
前記第1制御手段と前記前記第2制御手段とをシリアル通信可能に接続する配線は、クロック信号を通信するためのクロック線(マスタから出力したシリアル・クロックを、スレーブに入力するためのクロック線)と、電文を通信するためのデータ線(マスタから出力したデータを、スレーブに入力するための第1データ線、スレーブから出力したデータを、マスタに入力するための第2データ線)とを少なくとも含み、
前記断線判定手段は、前記クロック線および前記データ線のうち少なくとも一本の配線が切断されたか否かを判定する。
(5-5) In the above (5-1) to (5-3),
The wiring for connecting the first control means and the second control means to enable serial communication is a clock line for communicating a clock signal (a clock line for inputting a serial clock output from the master to the slave). ) And a data line for communicating messages (a first data line for inputting data output from the master to the slave and a second data line for inputting data output from the slave to the master) Including at least
The disconnection determination means determines whether at least one of the clock line and the data line is disconnected.

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常が発生したことの原因が、制御手段同士を繋ぐクロック線およびデータ線のうち少なくとも一本の配線が断線したことであると容易に検知することが可能となる。   According to the above configuration, when serial communication is performed between the control means, the cause of the communication abnormality is that at least one of the clock line and the data line connecting the control means is disconnected. If there is, it can be easily detected.

(5−6) 上記(5−1)、(5−2)において、
前記第1制御手段は、前記第2制御手段に対して送信した電文の応答が無応答の場合に、前記第2制御手段に対して前記電文を再度送信(図31:業務電文送信(再送))する。
(5-6) In the above (5-1) and (5-2),
The first control unit transmits the message again to the second control unit when the response of the message transmitted to the second control unit is no response (FIG. 31: business message transmission (retransmission)). )

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常を容易に検知することが可能となる。   According to the above configuration, communication abnormality can be easily detected when serial communication is performed between the control means.

(5−7) 上記(5−6)において、
前記第2制御手段は、前記第1制御手段に対して前記電文の応答を再度送信することなく、
前記第1制御手段が、前記第2制御手段に対してのみ前記電文を再度送信する。
(5-7) In the above (5-6),
The second control means transmits the message response again to the first control means,
The first control means transmits the message again only to the second control means.

上記構成によれば、制御手段同士で互いにシリアル通信を行なう場合に、通信異常を容易に検知することが可能となる。また、第2制御手段から第1制御手段に対して電文の応答を再度送信することがないので、第2制御手段から電文の応答を意図的に取得する不正行為を防止することができる。   According to the above configuration, communication abnormality can be easily detected when serial communication is performed between the control means. In addition, since a message response is not transmitted again from the second control unit to the first control unit, an illegal act of intentionally acquiring a message response from the second control unit can be prevented.

(5−8) 上記(5−1)において、前記第1の制御手段と前記第2の制御手段とは、ともに、
互いに暗号通信を行なう第1暗号通信処理手段(SE1モード)と、
前記第1暗号通信処理手段による暗号通信の後に、該第1暗号通信処理手段による暗号通信よりもセキュリティレベルの高い暗号通信を行なう第2暗号通信処理手段(SE2モード)とを備え、
前記第1の制御手段(SC325b)は、前記第2暗号通信処理手段による暗号通信に用いる第1の暗号鍵(上りカウンタ)を前記第1の制御手段から前記第2の制御手段への電文の送信が完了する毎に更新する第1の暗号鍵更新手段を含み、
前記第2の制御手段(CU制御部323)は、前記第2暗号通信処理手段による暗号通信に用いる第2の暗号鍵(下りカウンタ)を前記第2の制御手段から前記第1の制御手段への電文の送信が完了する毎に更新する第2の暗号鍵更新手段を含む。
(5-8) In the above (5-1), the first control means and the second control means are both
First cryptographic communication processing means (SE1 mode) for performing cryptographic communication with each other;
Second cryptographic communication processing means (SE2 mode) for performing cryptographic communication with a higher security level than the cryptographic communication by the first cryptographic communication processing means after the cryptographic communication by the first cryptographic communication processing means;
The first control means (SC325b) transmits a first encryption key (upstream counter) used for encrypted communication by the second encrypted communication processing means from the first control means to the second control means. First encryption key update means for updating each time transmission is completed,
The second control means (CU control unit 323) sends a second encryption key (down counter) used for encryption communication by the second encryption communication processing means from the second control means to the first control means. 2nd encryption key update means updated whenever transmission of the electronic message is completed.

上記構成によれば、第1の制御手段と第2の制御手段とは通信方向により異なる暗号鍵を用いて通信するために、通信方向に関わらず共通の暗号鍵を用いる場合と比較して通信のセキュリティを高めることができる。   According to the above configuration, the first control unit and the second control unit communicate with each other using an encryption key that differs depending on the communication direction. Can increase security.

(5−9) 上記(5−8)において、前記第1の暗号鍵更新手段は、前記第2の制御手段(CU制御部323)から電文を受信したことに基づいて前記第1の暗号鍵(上りカウンタ)を所定値だけカウントアップし(+1)、
前記第2の暗号鍵更新手段は、前記第1の制御手段から電文を受信したことに基づいて前記第2の暗号鍵を所定値だけカウントアップし(+1)、
前記第1の制御手段および前記第2の制御手段は、前記第1の暗号鍵(上りカウンタ)および前記第2の暗号鍵(下りカウンタ)を記憶する暗号鍵記憶手段(CU制御部323およびSC325bのカウンタ記憶エリア)を含み、当該暗号鍵記憶手段が記憶している暗号鍵で復号異常が発生したときに当該暗号鍵を前記所定値だけカウントアップして成る暗号鍵にて復号を再試行する(図45のS152、S154、S156〜S158、図47、図48)。
(5-9) In the above (5-8), the first encryption key updating unit receives the message from the second control unit (CU control unit 323), and then the first encryption key is updated. (Up counter) is incremented by a predetermined value (+1),
The second encryption key update means counts up the second encryption key by a predetermined value based on the reception of the message from the first control means (+1),
The first control means and the second control means are encryption key storage means (CU control unit 323 and SC 325b) for storing the first encryption key (upstream counter) and the second encryption key (downstream counter). When the decryption abnormality occurs with the encryption key stored in the encryption key storage means, the decryption is retried with the encryption key obtained by counting up the encryption key by the predetermined value. (S152, S154, S156 to S158 in FIG. 45, FIG. 47, FIG. 48).

上記構成によれば、復号異常が発生した場合であっても、暗号鍵を所定値だけカウントアップして成る暗号鍵にて復号が再試行され、その結果、復号を成功させることも可能となるために、通信品質の一時的な劣化等の影響によって復号異常が発生しても、暗号鍵を自動修復させて通信を継続可能となる。   According to the above configuration, even when a decryption abnormality occurs, decryption is retried with an encryption key obtained by counting up the encryption key by a predetermined value, and as a result, decryption can be successful. Therefore, even if a decryption abnormality occurs due to the temporary deterioration of communication quality or the like, communication can be continued by automatically restoring the encryption key.

(5−10) 本発明は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技用システムであって、
前記第1制御手段と前記第2制御手段とが互いの認証用情報(基板初期鍵)を用いて相互認証処理を行なう相互認証処理手段(図49、図51の基板初期鍵認証シーケンス)を備え、
前記第1制御手段と前記第2制御手段との少なくとも一方は、製造段階で前記認証用情報を記憶しておらず(CU制御部が基板初期鍵を記憶しておらず)、遊技場に搬入された後サーバと通信可能になった段階で該サーバから前記認証用情報を取得して記憶し(図49:CU制御部が上位装置よりダウンロードした基板初期鍵を記憶する)、
前記相互認証処理手段は、前記第1制御手段と前記第2制御手段との少なくとも一方が前記認証用情報を記憶していないときには不適正な認証結果を導出し(図51:基板初期鍵の取得なしの状態で基板初期鍵認証をすれば認証結果がNGとなる)、
前記第1制御手段と前記第2制御手段とは、
前記認証用情報が記憶された後において、前記相互認証処理および該相互認証処理後の各種処理を実行し(図49の基板初期鍵認証シーケンスおよびその後の通信鍵交換シーケンス等を実行)、
前記認証用情報が記憶される前においても前記相互認証処理を実行し(図51の基板初期鍵認証シーケンスを実行し)、該相互認証処理により不適正な認証結果(NG)が導出されることにより、前記認証用情報が記憶される前の段階で実行するために用意されている処理(図51:基板出荷鍵による通信テスト電文の通信)を実行する。
(5-10) The present invention relates to first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and second control connected to be communicable with the first control means. A gaming system comprising means (security chip 325b or CU3, P stand 2, jet counter, POS terminal, etc.),
The first control means and the second control means include mutual authentication processing means (substrate initial key authentication sequence of FIGS. 49 and 51) for performing mutual authentication processing using mutual authentication information (substrate initial key). ,
At least one of the first control means and the second control means does not store the authentication information at the manufacturing stage (the CU control unit does not store the board initial key) and carries it into the game hall. After that, the authentication information is acquired and stored from the server when communication with the server becomes possible (FIG. 49: the CU control unit stores the board initial key downloaded from the host device),
The mutual authentication processing means derives an inappropriate authentication result when at least one of the first control means and the second control means does not store the authentication information (FIG. 51: Acquisition of a board initial key) If the board initial key authentication is performed without the authentication, the authentication result will be NG)
The first control means and the second control means are:
After the authentication information is stored, execute the mutual authentication process and various processes after the mutual authentication process (execute the substrate initial key authentication sequence and the subsequent communication key exchange sequence in FIG. 49),
The mutual authentication process is executed even before the authentication information is stored (the board initial key authentication sequence in FIG. 51 is executed), and an inappropriate authentication result (NG) is derived by the mutual authentication process. Thus, the process (FIG. 51: Communication of communication test message by substrate shipping key) prepared for execution at the stage before the authentication information is stored is executed.

上記構成によれば、遊技場に搬入された後、サーバと通信可能になった段階でサーバから認証用情報を取得してその認証用情報を用いて第1制御手段と第2制御手段とが相互認証処理を行ない、セキュリティが担保される。一方、前記認証用情報が未だ記憶されていない段階でも相互認証処理が実行され、その結果不適正な認証結果が導出され、これにより認証用情報が記憶される前の段階で実行するために用意されている処理を実行するように制御される。つまり、認証用情報を取得した後にセキュリティの担保のために実行される相互認証処理を、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別にも有効利用し、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別を行なう特別の判別ステップを設けることによる制御の複雑化を防止することができる。   According to the above configuration, the first control means and the second control means obtain the authentication information from the server when the communication with the server becomes possible after being carried into the amusement hall and use the authentication information. Mutual authentication processing is performed to ensure security. On the other hand, the mutual authentication process is executed even when the authentication information is not yet stored, and as a result, an inappropriate authentication result is derived, thereby preparing for execution before the authentication information is stored. It is controlled to execute the processing that is being performed. In other words, whether or not to execute the process prepared for executing the mutual authentication process executed for security assurance after obtaining the authentication information at the stage before the authentication information is stored. Complicating control by providing a special determination step that determines whether or not to execute processing prepared for execution at the stage before the authentication information is stored. Can be prevented.

(5−11) 上記(5−10)の遊技用システムにおいて、前記認証用情報の記憶は、遊技場に搬入されて最初の電源投入時に実行される(図49)。   (5-11) In the gaming system of (5-10) above, the storage of the authentication information is performed when the power is turned on for the first time after being brought into the game hall (FIG. 49).

上記構成によれば、遊技場に搬入されて最初の電源投入時に認証用情報の記憶がなされるために、それ以降遊技場での実稼動時には第1制御手段と第2制御手段との間でのセキュリティを担保するための相互認証処理が実行されることとなり、実稼動時におけるセキュリティが担保できる。   According to the above configuration, the authentication information is stored when the power is turned on for the first time after being loaded into the game hall. Mutual authentication processing for securing the security of the system is executed, and security during actual operation can be secured.

(5−12) 上記(5−10)または(5−11)の遊技用システムにおいて、前記認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理である(図51の通信テスト電文の通信)。   (5-12) In the gaming system of (5-10) or (5-11) above, the processing prepared to be executed at the stage before the authentication information is stored is shipped to the game hall This is a test process executed before the communication (communication test message communication in FIG. 51).

上記構成によれば、認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理であり、その結果、遊技場に搬入される前の段階ではこのテスト処理が実行されることとなり、テスト処理を実行したテスト済のものを遊技場に搬入することができる。   According to the above configuration, the process prepared to be executed at the stage before the authentication information is stored is a test process executed before shipping to the game hall, and as a result, the process is carried into the game hall. This test process is executed at a stage before the game is completed, and the tested product that has been subjected to the test process can be carried into the game arcade.

(5−13) 上記(5−12)の遊技用システムにおいて、前記テスト処理は、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行する処理である(図51:基板出荷鍵を用いた通信テスト電文の通信)。   (5-13) In the gaming system of (5-12) above, the test process is a process of executing a test message encrypted communication using a test key stored in advance (FIG. 51: Board shipment) Communication test message communication using a key).

上記構成によれば、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行してテスト処理が行なわれるために、テスト電文のセキュリティ自体も担保することができる。   According to the above configuration, the test message is encrypted using the test key stored in advance and the test process is performed, so the security of the test message itself can be ensured.

(5−14) 本発明の他の態様は、第1制御手段と、該第1制御手段と通信可能に接続された第2制御手段とを備えた遊技機器(CU3、P台2、S台2S、ジェットカウンタ、POS等)であって、
前記第1制御手段と前記第2制御手段とが互いの認証用情報を用いて相互認証処理を行なう相互認証処理手段(図49、図51の基板初期鍵認証シーケンス)を備え、
前記第1制御手段と前記第2制御手段との少なくとも一方は、製造段階で前記認証用情報を記憶しておらず(CU制御部が基板初期鍵を記憶しておらず)、遊技場に搬入された後サーバと通信可能になった段階で該サーバから前記認証用情報を取得して記憶し(図49:CU制御部が上位装置よりダウンロードした基板初期鍵を記憶する)、
前記相互認証処理手段は、前記第1制御手段と前記第2制御手段との少なくとも一方が前記認証用情報を記憶していないときには不適正な認証結果を導出し(図51:基板初期鍵の取得なしの状態で基板初期鍵認証をすれば認証結果がNGとなる)、
前記第1制御手段と前記第2制御手段とは、
前記認証用情報が記憶された後において、前記相互認証処理および該相互認証処理後の各種処理を実行し(図49の基板初期鍵認証シーケンスおよびその後の通信鍵交換シーケンス等を実行)、
前記認証用情報が記憶される前においても前記相互認証処理を実行し(図51の基板初期鍵認証シーケンスを実行し)、該相互認証処理により不適正な認証結果(NG)が導出されることにより、前記認証用情報が記憶される前の段階で実行するために用意されている処理(図51:基板出荷鍵による通信テスト電文の通信)を実行する。
(5-14) According to another aspect of the present invention, a gaming machine (CU3, P unit 2, S unit) including a first control unit and a second control unit communicably connected to the first control unit. 2S, jet counter, POS, etc.)
The first control means and the second control means include mutual authentication processing means (substrate initial key authentication sequence of FIGS. 49 and 51) for performing mutual authentication processing using mutual authentication information,
At least one of the first control means and the second control means does not store the authentication information at the manufacturing stage (the CU control unit does not store the board initial key) and carries it into the game hall. After that, the authentication information is acquired and stored from the server when communication with the server becomes possible (FIG. 49: the CU control unit stores the board initial key downloaded from the host device),
The mutual authentication processing means derives an inappropriate authentication result when at least one of the first control means and the second control means does not store the authentication information (FIG. 51: Acquisition of a board initial key) If the board initial key authentication is performed without the authentication, the authentication result will be NG)
The first control means and the second control means are:
After the authentication information is stored, execute the mutual authentication process and various processes after the mutual authentication process (execute the substrate initial key authentication sequence and the subsequent communication key exchange sequence in FIG. 49),
The mutual authentication process is executed even before the authentication information is stored (the board initial key authentication sequence in FIG. 51 is executed), and an inappropriate authentication result (NG) is derived by the mutual authentication process. Thus, the process (FIG. 51: Communication of communication test message by substrate shipping key) prepared for execution at the stage before the authentication information is stored is executed.

上記構成によれば、遊技場に搬入された後、サーバと通信可能になった段階でサーバから認証用情報を取得してその認証用情報を用いて第1制御手段と第2制御手段とが相互認証処理を行ない、セキュリティが担保される。一方、前記認証用情報が未だ記憶されていない段階でも相互認証処理が実行され、その結果不適正な認証結果が導出され、これにより認証用情報が記憶される前の段階で実行するために用意されている処理を実行するように制御される。つまり、認証用情報を取得した後にセキュリティの担保のために実行される相互認証処理を、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別にも有効利用し、認証用情報が記憶される前の段階で実行するために用意されている処理を実行するか否かの判別を行なう特別の判別ステップを設けることによる制御の複雑化を防止することができる。   According to the above configuration, the first control means and the second control means obtain the authentication information from the server when the communication with the server becomes possible after being carried into the amusement hall and use the authentication information. Mutual authentication processing is performed to ensure security. On the other hand, the mutual authentication process is executed even when the authentication information is not yet stored, and as a result, an inappropriate authentication result is derived, thereby preparing for execution at a stage before the authentication information is stored. It is controlled to execute the processing that is being performed. In other words, whether or not to execute the process prepared for executing the mutual authentication process executed for security assurance after obtaining the authentication information at the stage before the authentication information is stored. Complicating control by providing a special determination step that determines whether or not to execute processing prepared for execution at the stage before the authentication information is stored. Can be prevented.

(5−15) 上記(5−14)の遊技機器において、前記認証用情報の記憶は、遊技場に搬入されて最初の電源投入時に実行される(図49)。   (5-15) In the gaming machine of the above (5-14), the storage of the authentication information is performed when the power is turned on for the first time after being brought into the game hall (FIG. 49).

上記構成によれば、遊技場に搬入されて最初の電源投入時に認証用情報の記憶がなされるために、それ以降遊技場での実稼動時には第1制御手段と第2制御手段との間でのセキュリティを担保するための相互認証処理が実行されることとなり、実稼動時におけるセキュリティが担保できる。   According to the above configuration, the authentication information is stored when the power is turned on for the first time after being loaded into the game hall. Mutual authentication processing for securing the security of the system is executed, and security during actual operation can be secured.

(5−16) 上記(5−14)または(5−15)の遊技機器において、前記認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理である(図51の通信テスト電文の通信)。   (5-16) In the gaming machine of the above (5-14) or (5-15), the processing prepared to be executed at the stage before the authentication information is stored is shipped to the game hall This is a test process executed before (communication test message communication in FIG. 51).

上記構成によれば、認証用情報が記憶される前の段階で実行するために用意されている処理は、遊技場に出荷する前に実行するテスト処理であり、その結果、遊技場に搬入される前の段階ではこのテスト処理が実行されることとなり、テスト処理を実行したテスト済のものを遊技場に搬入することができる。   According to the above configuration, the process prepared to be executed at the stage before the authentication information is stored is a test process executed before shipping to the game hall, and as a result, the process is carried into the game hall. This test process is executed at a stage before the game is completed, and the tested product that has been subjected to the test process can be carried into the game arcade.

(5−17) 上記(5−16)の遊技機器において、前記テスト処理は、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行する処理である(図51:基板出荷鍵を用いた通信テスト電文の通信)。   (5-17) In the gaming machine of the above (5-16), the test process is a process for executing encrypted communication of a test message using a test key stored in advance (FIG. 51: board shipping key) Communication test message communication using)

上記構成によれば、予め記憶されているテスト用鍵を用いてテスト電文の暗号通信を実行してテスト処理が行なわれるために、テスト電文のセキュリティ自体も担保することができる。   According to the above configuration, the test message is encrypted using the test key stored in advance and the test process is performed, so the security of the test message itself can be ensured.

(5−18) 本発明は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技用システムであって、
前記第1制御手段と前記第2制御手段との間で仮運用鍵(基板初期鍵)を用いて相互認証処理を行なう相互認証処理手段(図49の基板初期鍵認証シーケンス)と、
該相互認証処理手段による認証結果が適正であることを条件として本認証鍵(基板認証鍵)を取得する処理を行なう本認証鍵取得手段(図49と図55のセキュリティ基板情報問合せシーケンス)と、
該本認証鍵取得手段により取得した本認証鍵を利用しての運用処理を実行する本運用処理手段(図50の遊技機との業務電文通信)と、
前記本認証鍵取得手段による処理の結果前記本認証鍵を取得できなかったときに、前記仮認証鍵を利用しての仮の運用処理を実行する仮運用処理手段(図49:セキュリティ基板情報問合せシーケンスおよび基板初期鍵認証シーケンスを実行することなく基板初期鍵を用いて通信鍵交換シーケンス(図57)を実行する)とを備えた。
(5-18) The present invention relates to first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and second control connected to be communicable with the first control means. A gaming system comprising means (security chip 325b or CU3, P stand 2, jet counter, POS terminal, etc.)
Mutual authentication processing means (substrate initial key authentication sequence in FIG. 49) for performing mutual authentication processing using a temporary operation key (substrate initial key) between the first control means and the second control means;
An authentication key acquisition unit (security board information inquiry sequence in FIGS. 49 and 55) for performing a process of acquiring the authentication key (substrate authentication key) on the condition that the authentication result by the mutual authentication processing unit is appropriate;
A main operation processing unit (business message communication with the gaming machine of FIG. 50) for executing an operation process using the main authentication key acquired by the main authentication key acquiring unit;
Temporary operation processing means for executing temporary operation processing using the temporary authentication key when the authentication key cannot be acquired as a result of the processing by the authentication key acquisition means (FIG. 49: Query security board information) The communication key exchange sequence (FIG. 57) is executed using the substrate initial key without executing the sequence and the substrate initial key authentication sequence.

上記構成によれば、仮認証鍵を用いて相互認証処理を行なってその認証結果が適正であることを条件として本認証鍵を取得する処理が実行されるために、高いセキュリティを担保することが可能となる。しかも、その本認証鍵の取得処理の結果本認証鍵を取得できなかったときには、前記仮認証鍵を利用して仮の運用処理が実行されるために、本認証鍵の取得不能時における運用処理が全くできなくなる不都合をも防止することができる。   According to the above configuration, since the process for obtaining the authentication key is executed on the condition that the mutual authentication process is performed using the temporary authentication key and the authentication result is appropriate, high security can be ensured. It becomes possible. In addition, when the authentication key cannot be acquired as a result of the acquisition process of the authentication key, a temporary operation process is executed using the temporary authentication key. It is possible to prevent inconveniences that cannot be achieved at all.

(5−19) 上記(5−18)の遊技用システムにおいて、前記仮運用処理手段は、予め定められた期間内でのみ前記仮の運用処理を実行する(たとえば2日間に限定して運用を許容する)。   (5-19) In the gaming system according to (5-18), the temporary operation processing means executes the temporary operation processing only within a predetermined period (for example, the operation is limited to two days). Tolerate).

上記構成によれば、予め定められた期間内にのみ仮の運用処理が実行されるために、本認証鍵の取得不能時というセキュリティ上不安定な状態での仮の運用処理を無期限に許容することによるセキュリティ上の問題を軽減することができる。   According to the above configuration, since the temporary operation process is executed only within a predetermined period, the temporary operation process in an unstable state when the authentication key cannot be obtained is allowed indefinitely. Can reduce security problems.

(5−20) 上記(5−18)または(5−19)の遊技用システムにおいて、前記本認証鍵取得手段は、識別番号に対応付けて本認証鍵を記憶しているサーバ(鍵管理サーバ800)に対し、識別番号(基板シリアル番号)を送信して該識別番号に対応する前記本認証鍵を取得する処理を行なう(図55)。   (5-20) In the gaming system according to (5-18) or (5-19) above, the authentication key acquisition means is a server (key management server) that stores the authentication key in association with an identification number. 800), an identification number (substrate serial number) is transmitted to obtain the main authentication key corresponding to the identification number (FIG. 55).

上記構成によれば、識別番号に対応付けて本認証鍵がサーバに記憶されており、そのサーバに対して識別番号を送信してその識別番号に対応する本認証鍵が取得されるために、サーバに識別番号に対応付けて正規に本認証鍵が記憶されている場合に限りその本認証鍵が取得可能となり、本認証鍵が登録された正規の識別番号を送信した場合に限り本認証鍵を取得することができるようにし、セキュリティが担保される。   According to the above configuration, the authentication key is stored in the server in association with the identification number, and the authentication key corresponding to the identification number is acquired by transmitting the identification number to the server. This authentication key can be acquired only if the authentication key is stored in the server in association with the identification number, and the authentication key can be acquired only when the authorized identification number registered with the authentication key is sent. Security is ensured.

(5−21) 上記(5−20)の遊技用システムにおいて、前記識別番号に対応付けて本認証鍵を記憶しているサーバ(鍵管理サーバ800)をさらに備え、
該サーバは、前記本認証鍵を取得して記憶する装置を製造したメーカが出荷する該装置に用いられる識別番号(基板シリアルID)と前記本認証鍵とを含む情報を受信し、該情報に含まれる識別番号に対応付けて該本認証鍵を記憶する(基板シリアルIDに対応付けて基板認証鍵を記憶)。
(5-21) The gaming system according to (5-20) further includes a server (key management server 800) that stores the authentication key in association with the identification number,
The server receives information including an identification number (substrate serial ID) used for the apparatus shipped by a manufacturer that manufactures the apparatus that acquires and stores the main authentication key and the main authentication key. The main authentication key is stored in association with the included identification number (the board authentication key is stored in association with the board serial ID).

上記構成によれば、本認証鍵を取得して記憶する装置を製造したメーカが出荷する該装置に用いられる識別番号と前記本認証鍵とを含む情報をサーバが受信し、その情報に含まれる識別番号に対応付けて本認証鍵をサーバが記憶するために、メーカが出荷した正規の装置に限り本認証鍵をサーバから取得でき、メーカが出荷する正規の装置以外の装置が本認証鍵を取得できてしまう不都合を極力防止することによりセキュリティを担保できる。   According to the above configuration, the server receives the information including the identification number used for the device shipped by the manufacturer that manufactured the device that acquires and stores the authentication key and the authentication key, and is included in the information Since the server stores the authentication key in association with the identification number, the authentication key can be acquired from the server only for the legitimate device shipped by the manufacturer, and the device other than the legitimate device shipped by the manufacturer Security can be secured by preventing inconvenience that can be acquired as much as possible.

(5−22) 本発明の他の態様は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技機器(CU3、P台2、ジェットカウンタ、POS端末等)であって、
前記第1制御手段と前記第2制御手段との間で仮運用鍵(基板初期鍵)を用いて相互認証処理を行なう相互認証処理手段(図49の基板初期鍵認証シーケンス)と、
該相互認証処理手段による認証結果が適正であることを条件として本認証鍵(基板認証鍵)を取得する処理を行なう本認証鍵取得手段(図49と図55のセキュリティ基板情報問合せシーケンス)と、
該本認証鍵取得手段により取得した本認証鍵を利用しての運用処理を実行する本運用処理手段(図50の遊技機との業務電文通信)と、
前記本認証鍵取得手段による処理の結果前記本認証鍵を取得できなかったときに、前記仮認証鍵を利用しての仮の運用処理を実行する仮運用処理手段(図49:基板シリアルID認証シーケンスおよび基板初期鍵認証シーケンスを実行することなく基板初期鍵を用いて通信鍵交換シーケンス(図57)を実行する)とを備えた。
(5-22) In another aspect of the present invention, the first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) is connected to the first control means in a communicable manner. A gaming machine (CU3, P table 2, jet counter, POS terminal, etc.) equipped with a second control means (security chip 325b or CU3, P table 2, jet counter, POS terminal, etc.),
Mutual authentication processing means (substrate initial key authentication sequence in FIG. 49) for performing mutual authentication processing using a temporary operation key (substrate initial key) between the first control means and the second control means;
An authentication key acquisition unit (security board information inquiry sequence in FIGS. 49 and 55) for performing a process of acquiring the authentication key (substrate authentication key) on the condition that the authentication result by the mutual authentication processing unit is appropriate;
A main operation processing unit (business message communication with the gaming machine of FIG. 50) for executing an operation process using the main authentication key acquired by the main authentication key acquiring unit;
Temporary operation processing means for executing temporary operation processing using the temporary authentication key when the authentication key cannot be acquired as a result of processing by the authentication key acquiring means (FIG. 49: board serial ID authentication) The communication key exchange sequence (FIG. 57) is executed using the substrate initial key without executing the sequence and the substrate initial key authentication sequence.

上記構成によれば、仮認証鍵を用いて相互認証処理を行なってその認証結果が適正であることを条件として本認証鍵を取得する処理が実行されるために、高いセキュリティを担保することが可能となる。しかも、その本認証鍵の取得処理の結果本認証鍵を取得できなかったときには、前記仮認証鍵を利用して仮の運用処理が実行されるために、本認証鍵の取得不能時における運用処理が全くできなくなる不都合をも防止することができる。   According to the above configuration, since the process for obtaining the authentication key is executed on the condition that the mutual authentication process is performed using the temporary authentication key and the authentication result is appropriate, high security can be ensured. It becomes possible. In addition, when the authentication key cannot be acquired as a result of the acquisition process of the authentication key, a temporary operation process is executed using the temporary authentication key. It is possible to prevent inconveniences that cannot be achieved at all.

(5−23) 上記(5−22)の遊技機器において、前記仮運用処理手段は、予め定められた期間内でのみ前記仮の運用処理を実行する(たとえば2日間に限定して運用を許容する)。   (5-23) In the gaming machine of the above (5-22), the temporary operation processing means executes the temporary operation processing only within a predetermined period (for example, operation is limited to two days) To do).

上記構成によれば、予め定められた期間内にのみ仮の運用処理が実行されるために、本認証鍵の取得不能時というセキュリティ上不安定な状態での仮の運用処理を無期限に許容することによるセキュリティ上の問題を軽減することができる。   According to the above configuration, since the temporary operation process is executed only within a predetermined period, the temporary operation process in an unstable state when the authentication key cannot be obtained is allowed indefinitely. Can reduce security problems.

(5−24) 上記(5−22)または(5−23)の遊技機器において、前記本認証鍵取得手段は、識別番号に対応付けて本認証鍵を記憶しているサーバ(鍵管理サーバ800)に対し、識別番号(基板シリアル番号)を送信して該識別番号に対応する前記本認証鍵を取得する処理を行なう(図55)。   (5-24) In the gaming machine of the above (5-22) or (5-23), the authentication key acquisition means is a server (key management server 800) that stores the authentication key in association with the identification number. ), An identification number (substrate serial number) is transmitted to obtain the authentication key corresponding to the identification number (FIG. 55).

上記構成によれば、識別番号に対応付けて本認証鍵がサーバに記憶されており、そのサーバに対して識別番号を送信してその識別番号に対応する本認証鍵が取得されるために、サーバに識別番号に対応付けて正規に本認証鍵が記憶されている場合に限りその本認証鍵が取得可能となり、本認証鍵が登録された正規の識別番号を送信した場合に限り本認証鍵を取得することができるようにし、セキュリティが担保される。   According to the above configuration, the authentication key is stored in the server in association with the identification number, and the authentication key corresponding to the identification number is acquired by transmitting the identification number to the server. This authentication key can be acquired only if the authentication key is stored in the server in association with the identification number, and the authentication key can be acquired only when the authorized identification number registered with the authentication key is sent. Security is ensured.

(5−25) 本発明は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技用システムであって、
遊技場への出荷前の段階で、前記第1制御手段と前記第2制御手段との間でテスト用鍵を利用して出荷前処理を行なう出荷前処理手段(図51:基板出荷鍵による通信テスト電文の通信)と、
遊技場に納入された後に、前記第1制御手段と前記第2制御手段との間で認証鍵(基板認証鍵)を利用して遊技場での実稼働時の処理を行なう実稼働処理手段(図50の遊技機との業務電文通信)とを備える。
(5-25) The present invention relates to first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and second control connected to be communicable with the first control means. A gaming system comprising means (security chip 325b or CU3, P stand 2, jet counter, POS terminal, etc.),
Pre-shipment processing means for performing pre-shipment processing using a test key between the first control means and the second control means at a stage before shipment to the game arcade (FIG. 51: communication by board shipping key) Test message communication),
After being delivered to the amusement hall, an actual operation processing means for performing processing during actual operation at the game hall using an authentication key (board authentication key) between the first control means and the second control means ( Business message communication with the gaming machine of FIG.

上記構成によれば、出荷前処理はテスト用鍵を利用して行なわれる一方、実稼動時の処理は認証鍵を利用して行なわれるために、たとえテスト用鍵が漏洩したとしても、実稼動時における認証鍵が漏洩しない限り実稼動時のセキュリティを保つことが可能となる。   According to the above configuration, the pre-shipment processing is performed using the test key, while the actual operation processing is performed using the authentication key. Even if the test key is leaked, the actual operation is performed. As long as the authentication key at the time does not leak, security during actual operation can be maintained.

(5−26) 上記(5−25)の遊技用システムにおいて、遊技場に納入され最初の電源投入時に初期鍵(基板初期鍵)をサーバ(ホールサーバ801)から取得して該初期鍵を利用した処理を実行する初期鍵利用処理手段(図49の基板初期鍵認証シーケンスとセキュリティ基板情報問合せシーケンス)をさらに備える。   (5-26) In the gaming system of (5-25) above, an initial key (board initial key) is acquired from the server (hall server 801) and used when the power is turned on for the first time after being delivered to the game arcade. The initial key use processing means (the board initial key authentication sequence and the security board information inquiry sequence shown in FIG. 49) is further provided.

上記構成によれば、遊技場に搬入されて最初の電源投入時に初期鍵を取得して該初期鍵を利用した処理が実行されるため、以降初期鍵を利用してのセキュリティを担保した処理が可能となる。   According to the above-described configuration, since the initial key is acquired when the power is turned on for the first time when the game is turned on and the process using the initial key is executed, the process using the initial key to ensure security is performed thereafter. It becomes possible.

(5−27) 上記(5−26)の遊技用システムにおいて、前記初期鍵利用処理手段は、前記認証鍵をサーバから取得するための処理を実行する(図49と図55のセキュリティ基板情報問合せシーケンス)。   (5-27) In the gaming system of (5-26), the initial key use processing means executes processing for acquiring the authentication key from the server (inquiry for security board information in FIGS. 49 and 55). sequence).

上記構成によれば、実稼動時の処理に利用される認証鍵をサーバから取得するにおいては、それに先立って初期鍵をサーバから取得しその初期鍵を利用した処理を実行することにより認証鍵をサーバから取得するための処理が行なわれることとなり、認証鍵をサーバから取得するための処理自体が初期鍵を利用したセキュリティを担保した処理にすることができ、より一層セキュリティを向上させることができる。   According to the above configuration, in acquiring an authentication key used for processing in actual operation from the server, an authentication key is obtained by acquiring an initial key from the server and executing processing using the initial key prior to that. Processing for acquiring from the server will be performed, and the processing for acquiring the authentication key from the server itself can be a process that guarantees security using the initial key, and security can be further improved. .

(5−28) 本発明の他の態様は、第1制御手段(CU制御部323、またはCU3、P台2、ジェットカウンタ、POS端末等)と、該第1制御手段と通信可能に接続された第2制御手段(セキュリティチップ325b、またはCU3、P台2、ジェットカウンタ、POS端末等)とを備えた遊技機器(CU3、P台2、ジェットカウンタ、POS端末等)であって、
遊技場への出荷前の段階で、前記第1制御手段と前記第2制御手段との間でテスト用鍵を利用して出荷前処理を行なう出荷前処理手段(図51:基板出荷鍵による通信テスト電文の通信)と、
遊技場に納入された後に、前記第1制御手段と前記第2制御手段との間で認証鍵(基板認証鍵)を利用して遊技場での実稼働時の処理を行なう実稼働処理手段(図50の遊技機との業務電文通信)とを備える。
(5-28) In another aspect of the present invention, the first control means (CU control unit 323 or CU3, P stand 2, jet counter, POS terminal, etc.) and the first control means are communicably connected. A gaming machine (CU3, P table 2, jet counter, POS terminal, etc.) equipped with a second control means (security chip 325b or CU3, P table 2, jet counter, POS terminal, etc.),
Pre-shipment processing means for performing pre-shipment processing using a test key between the first control means and the second control means at a stage before shipment to the game arcade (FIG. 51: communication by board shipping key) Test message communication),
After being delivered to the amusement hall, an actual operation processing means for performing processing during actual operation at the game hall using an authentication key (board authentication key) between the first control means and the second control means ( Business message communication with the gaming machine of FIG.

上記構成によれば、出荷前処理はテスト用鍵を利用して行なわれる一方、実稼動時の処理は認証鍵を利用して行なわれるために、たとえテスト用鍵が漏洩したとしても、実稼動時における認証鍵が漏洩しない限り実稼動時のセキュリティを保つことが可能となる。   According to the above configuration, the pre-shipment processing is performed using the test key, while the actual operation processing is performed using the authentication key. Even if the test key is leaked, the actual operation is performed. As long as the authentication key at the time does not leak, security during actual operation can be maintained.

(5−29) 上記(5−28)の遊技機器において、遊技場に納入され最初の電源投入時に初期鍵(基板初期鍵)をサーバ(ホールサーバ801)から取得して該初期鍵を利用した処理を実行する初期鍵利用処理手段(図49の基板初期鍵認証シーケンスとセキュリティ基板情報問合せシーケンス)をさらに備える。   (5-29) In the gaming machine of the above (5-28), an initial key (board initial key) is acquired from the server (hall server 801) when the power is turned on for the first time when it is delivered to the amusement hall, and the initial key is used. Initial key use processing means (substrate initial key authentication sequence and security substrate information inquiry sequence in FIG. 49) for executing processing is further provided.

上記構成によれば、遊技場に搬入されて最初の電源投入時に初期鍵を取得して該初期鍵を利用した処理が実行されるため、以降初期鍵を利用してのセキュリティを担保した処理が可能となる。   According to the above-described configuration, since the initial key is acquired when the power is turned on for the first time when the game is turned on and the process using the initial key is executed, the process using the initial key to ensure security is performed thereafter. It becomes possible.

(5−30) 上記(5−29)の遊技機器において、前記初期鍵利用処理手段は、前記認証鍵をサーバから取得するための処理を実行する(図49と図55のセキュリティ基板情報問合せシーケンス)。   (5-30) In the gaming machine of (5-29), the initial key use processing means executes processing for acquiring the authentication key from the server (security board information inquiry sequence of FIGS. 49 and 55). ).

上記構成によれば、実稼動時の処理に利用される認証鍵をサーバから取得するにおいては、それに先立って初期鍵をサーバから取得しその初期鍵を利用した処理を実行することにより認証鍵をサーバから取得するための処理が行なわれることとなり、認証鍵をサーバから取得するための処理自体が初期鍵を利用したセキュリティを担保した処理にすることができ、より一層セキュリティを向上させることができる。   According to the above configuration, in acquiring an authentication key used for processing in actual operation from the server, an authentication key is obtained by acquiring an initial key from the server and executing processing using the initial key prior to that. Processing for acquiring from the server will be performed, and the processing for acquiring the authentication key from the server itself can be a process that guarantees security using the initial key, and security can be further improved. .

CU3bにより、遊技機による遊技を可能とするための遊技用装置が構成されている。また、通信制御IC325aまたはSC325bにより、遊技機による遊技を可能とするための遊技制御装置が構成されている。   A gaming device for enabling gaming by a gaming machine is configured by the CU 3b. The communication control IC 325a or the SC 325b constitutes a game control device for enabling a game with a gaming machine.

遊技用装置は、第1制御手段(セキュリティチップ:SC325b)と、前記第1制御手段とシリアル通信可能に接続された第2制御手段(通信制御IC325a)と、前記第1制御手段から前記第2制御手段に確認電文を送信して、前記第2制御手段の状態確認を行なう状態確認手段(図30〜図32:状態確認要求の送信)と、前記状態確認手段により送信された前記確認電文に対する応答電文を前記第2制御手段から前記第1制御手段に送信して、前記第2制御手段の状態確認の応答を行なう状態確認応答手段(図30〜図32:状態確認応答の送信)と、前記第1制御手段において、前記確認電文を送信した後に電文を読出す電文読出手段(図32:SC325b側での電文の読出し)と、前記電文読出手段で読出した電文の2バイト目の情報が、前記読出した電文の1バイト目の反転情報と異なる状態が所定の設定条件(たとえば、図32:SC−通信制御IC断線検知時間)が成立するまで連続すると、前記第1制御手段と前記第2制御手段との間で断線が生じていると判定する断線判定手段(図32:SC325bが断線が生じていると判定)とを備える。   The gaming device includes first control means (security chip: SC325b), second control means (communication control IC 325a) connected to the first control means so as to be capable of serial communication, and the first control means to the second control means. A confirmation message is transmitted to the control means to confirm the state of the second control means (FIGS. 30 to 32: transmission of a confirmation request), and the confirmation message transmitted by the condition confirmation means A status confirmation response means for transmitting a response message from the second control means to the first control means and performing a status confirmation response of the second control means (FIGS. 30 to 32: transmission of a status confirmation response); In the first control means, a message reading means for reading a message after transmitting the confirmation message (FIG. 32: reading of a message on the side of the SC 325b) and two bytes of the message read by the message reading means. When the state in which the eye information is different from the inversion information of the first byte of the read message continues until a predetermined setting condition (for example, FIG. 32: SC-communication control IC disconnection detection time) is satisfied, the first control is performed. Disconnection determination means for determining that a disconnection has occurred between the means and the second control means (FIG. 32: SC325b determines that a disconnection has occurred).

一方、遊技制御装置は、上記遊技用装置に含まれる装置であり、状態確認手段と、電文読出手段と、断線判定手段とを備える装置、または当該装置とシリアル通信可能に接続した装置である。   On the other hand, the game control device is a device included in the above-described game device, and is a device that includes a state confirmation unit, a message reading unit, and a disconnection determination unit, or a device that is connected to the device so as to be capable of serial communication.

本実施の形態の場合には、遊技用装置の一例となるCU3は、通信制御IC325aおよびSC325bを含み、前記遊技用装置としての機能をも備えている。   In the case of the present embodiment, the CU 3 as an example of a gaming device includes a communication control IC 325a and an SC 325b, and also has a function as the gaming device.

カードユニットおよびパチンコ機を示す正面図である。It is a front view which shows a card unit and a pachinko machine. カードユニットおよびパチンコ機に用いられる制御回路を示すブロック図である。It is a block diagram which shows the control circuit used for a card unit and a pachinko machine. 遊技玉数表示器および表示器の表示制御を説明するためのブロック図である。It is a block diagram for demonstrating display control of a game ball number display and a display. 相互認証の結果、異常を検知した場合の通知処理を説明するための説明図である。It is explanatory drawing for demonstrating the notification process when abnormality is detected as a result of mutual authentication. 鍵管理サーバから通信制御ICまでの間の通信に使用される暗号鍵を説明するための図である。It is a figure for demonstrating the encryption key used for communication between a key management server and communication control IC. カードユニット側とパチンコ機側とにおいて記憶している各種データおよびその送受信を説明するための説明図である。It is explanatory drawing for demonstrating the various data memorize | stored in the card unit side and the pachinko machine side, and its transmission / reception. カードユニットとパチンコ機との間で送受信されるコマンドおよびレスポンスの概略を説明する説明図である。It is explanatory drawing explaining the outline of the command and response which are transmitted / received between a card unit and a pachinko machine. 電源投入時におけるカードユニットとパチンコ機とでの処理の一例を示す図である。It is a figure which shows an example of a process with the card unit and the pachinko machine at the time of power activation. カードユニットにカードが挿入されたときのカードユニットとパチンコ機との処理の一例を示す図である。It is a figure which shows an example of a process with a card unit and a pachinko machine when a card is inserted in a card unit. 挿入したカードのプリペイド残額から玉貸したときのカードユニットとパチンコ機との処理の一例を示す図である。It is a figure which shows an example of a process with a card unit and a pachinko machine when lending a ball from the prepaid balance of the inserted card. 持玉払出・貯玉払出をしたときのカードユニットとパチンコ機との処理の一例を示す図である。It is a figure which shows an example of a process with a card unit and a pachinko machine when paying out a lot of balls and paying out a stored ball. 遊技玉を計数するときのカードユニットとパチンコ機との通常の処理の一例を示す図である。It is a figure which shows an example of the normal process of a card unit and a pachinko machine when counting game balls. 遊技玉を計数するときのカードユニットとパチンコ機との処で計数NGとなる一例を示す図である。It is a figure which shows an example used as the count NG at the place of the card unit and pachinko machine when counting game balls. 遊技者がカード返却操作を行なった場合の計数処理の一例を示す図である。It is a figure which shows an example of the count process when a player performs card return operation. 電源断、通信回線断線があって、カードユニットからパチンコ機への状態情報要求のコマンドが未到達のときの処理の一例を示す図である。It is a figure which shows an example of a process when there exists a power supply disconnection and a communication line disconnection, and the command of the status information request | requirement from a card unit to a pachinko machine has not reached | attained. 電源断、通信回線断線があって、パチンコ機からカードユニットへ状態情報応答のレスポンスが未到達のときの処理の一例を示す図である。It is a figure which shows an example of a process when there exists a power supply disconnection and a communication line disconnection and the response of a status information response has not reached | attained from a pachinko machine to a card unit. 電源断、通信回線断線があって、パチンコ機からカードユニットへ状態情報応答のレスポンスが未到達のときの処理の別の一例を示す図である。It is a figure which shows another example of a process when there exists a power supply disconnection and a communication line disconnection and the response of a status information response has not reached | attained from a pachinko machine to a card unit. 電源断、通信回線断線があって、カードユニットからパチンコ機への加算要求のコマンドが未到達のときの処理の一例を示す図である。It is a figure which shows an example of a process when there exists a power supply disconnection and a communication line disconnection, and the command of the addition request | requirement from a card unit to a pachinko machine has not arrived. 電源断、通信回線断線があって、パチンコ機からカードユニットへの加算応答のレスポンスが未到達のときの処理の一例を示す図である。It is a figure which shows an example of a process when there exists a power supply disconnection and a communication line disconnection, and the response of the addition response from a pachinko machine to a card unit has not reached | attained. 電源断、通信回線断線があって、パチンコ機からカードユニットへの加算応答のレスポンスが未到達のときの処理の別の一例を示す図である。It is a figure which shows another example of a process when there exists a power supply disconnection and a communication line disconnection, and the response of the addition response from a pachinko machine to the card unit has not yet reached. 電源断、通信回線断線があって、カードユニットからパチンコ機への加算要求のコマンドが未到達のときの処理の別の一例を示す図である。It is a figure which shows another example of a process when there exists a power supply disconnection and a communication line disconnection, and the command of the addition request | requirement from a card unit to a pachinko machine has not reached | attained. 電源断、通信回線断線があって、パチンコ機からカードユニットへの計数応答のレスポンスが未到達のときの処理の一例を示す図である。It is a figure which shows an example of a process when there exists a power supply disconnection and a communication line disconnection, and the response of the count response from a pachinko machine to the card unit has not yet reached. 電源断、通信回線断線があって、カードユニットからパチンコ機への計数要求のコマンドが未到達のときの処理の一例を示す図である。It is a figure which shows an example of a process when there exists a power supply disconnection and a communication line disconnection, and the command of the count request | requirement from a card unit to a pachinko machine has not reached | attained. 電源断、通信回線断線があって、パチンコ機からカードユニットへの計数応答のレスポンスが未到達のときの処理の別の一例を示す図である。It is a figure which shows another example of a process when there exists a power supply disconnection and a communication line disconnection and the response of the count response from a pachinko machine to the card unit has not yet reached. 玉貸・持玉払出・貯玉払出時の遊技玉加算結果異常のときの処理の一例を示す図である。It is a figure which shows an example of a process at the time of the game ball addition result abnormality at the time of ball lending, holding ball payout, and saving ball payout. 加算通番に関するP台およびCUの動作を説明するための概念図である。It is a conceptual diagram for demonstrating operation | movement of P platform and CU regarding an addition serial number. 計数通番に関するP台およびCUの動作を説明するための概念図である。It is a conceptual diagram for demonstrating operation | movement of P stand and CU regarding a count serial number. 第1および第2チェック処理に関する動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement regarding a 1st and 2nd check process. 第3チェック処理に関する動作の一例を説明するための図である。It is a figure for demonstrating an example of the operation | movement regarding a 3rd check process. SCと通信制御ICとの間の業務電文の送信処理を説明する図である。It is a figure explaining the transmission process of the business message between SC and communication control IC. SCと通信制御ICとの間の通信異常検知の処理を説明する図である。It is a figure explaining the process of communication abnormality detection between SC and communication control IC. SCと通信制御ICとの間の通信回線断検知の処理を説明する図である。It is a figure explaining the process of a communication line disconnection detection between SC and communication control IC. SCと通信制御ICとの間の業務電文シーケンスの処理を説明する図である。It is a figure explaining the process of the business message sequence between SC and communication control IC. 通信制御ICの認証シーケンスの処理を説明する図である。It is a figure explaining the process of the authentication sequence of communication control IC. 第1認証シーケンスの処理を説明する図である。It is a figure explaining the process of a 1st authentication sequence. 通信制御ICの認証異常シーケンスの処理を説明する図である。It is a figure explaining the process of the authentication abnormality sequence of communication control IC. (a)(b)は、SE2モードの暗号化および復号に用いられるカウンタを示す図であり、(c)は、SE2モードによるブロック暗号の暗号化の仕組を説明する説明図である。(A) (b) is a figure which shows the counter used for encryption and decryption of SE2 mode, (c) is explanatory drawing explaining the structure of block cipher encryption by SE2 mode. SE2モードによるブロック暗号の復号の仕組を説明する説明図である。It is explanatory drawing explaining the mechanism of the block cipher decoding by SE2 mode. 暗号通信文を受信した受信側において適正に復号された場合の定常時における暗号通信を示す図である。It is a figure which shows the encryption communication in the normal time when the receiving side which received the encryption communication text is decoded appropriately. SCからCU制御部へのレスポンスが到達しなかった場合の異常時の処理を示す図である。It is a figure which shows the process at the time of abnormality when the response from SC to the CU control part does not arrive. CU制御部からSCへのコマンドが到達しなかった場合の異常時の処理を示す図である。It is a figure which shows the process at the time of abnormality when the command from SC to a SC does not arrive. 図40に示したレスポンス未到達の異常時における変形例の処理を示す図である。It is a figure which shows the process of the modified example at the time of the abnormality of the response unreachable shown in FIG. コマンドが未到達の異常時における処理の変形例を示す図である。It is a figure which shows the modification of the process at the time of the abnormality which a command has not reached | attained. (a)は、SE2モードによる暗号処理を示すフローチャート、(b)は、SE2モードによる復号処理を示すフローチャートである。(A) is a flowchart which shows the encryption process by SE2 mode, (b) is a flowchart which shows the decryption process by SE2 mode. (a)は図40、図41に示したカウンタ修復処理の具体的制御内容を示すフローチャートであり、(b)は図42、図43に示した変形例の修復処理の具体的制御内容を示すフローチャートである。(A) is a flowchart showing the specific control contents of the counter repair process shown in FIGS. 40 and 41, and (b) shows the specific control contents of the repair process of the modified example shown in FIGS. It is a flowchart. SE2モードによる復号処理のカウンタ動作を説明するための図である。It is a figure for demonstrating the counter operation | movement of the decoding process by SE2 mode. SE2モード時のカウンタの自動修復(CU側)を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the automatic restoration (CU side) of the counter at the time of SE2 mode. SE2モード時のカウンタの自動修復(SC側)を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the automatic restoration (SC side) of the counter at the time of SE2 mode. CU制御部の電源投入・ホール設置時の立上の処理を説明するための図である。It is a figure for demonstrating the starting process at the time of power activation of a CU control part, and hall installation. CU制御部の電源投入・通常立上の処理を説明するための図である。It is a figure for demonstrating the process of power activation and normal start-up of a CU control part. CU制御部の電源投入・工場出荷時立上の処理を説明するための図である。It is a figure for demonstrating the process at the time of the power activation and factory shipment of a CU control part. 基板メーカコードの認証シーケンスの処理を説明するための図である。It is a figure for demonstrating the process of the authentication sequence of a board | substrate maker code. 基板初期鍵または基板出荷鍵の認証シーケンスの処理を説明するための図である。It is a figure for demonstrating the process of the authentication sequence of a board | substrate initial stage key or a board | substrate shipping key. 基板シリアルIDおよび基板認証鍵の認証シーケンスの処理を説明するための図である。It is a figure for demonstrating the process of the authentication sequence of board | substrate serial ID and a board | substrate authentication key. セキュリティ基板情報の問合せを行なう場合の処理を説明するための図である。It is a figure for demonstrating the process in the case of inquiring about security board information. 遊技機チップ情報問合せシーケンスの処理を説明するための図である。It is a figure for demonstrating the process of a gaming machine chip information inquiry sequence. 通信交換鍵シーケンスを説明する図である。It is a figure explaining a communication exchange key sequence. 基板認証鍵認証異常のシーケンスの処理を説明するための図である。It is a figure for demonstrating the process of a board | substrate authentication key authentication abnormality sequence. セキュリティ基板情報の問合せタイムアウトシーケンスの処理を説明する図である。It is a figure explaining the process of the inquiry timeout sequence of security board | substrate information. 遊技機チップ情報の問合せ(照合)タイムアウトシーケンスの処理を説明する図である。It is a figure explaining the process of the inquiry (collation) timeout sequence of gaming machine chip information. 基板認証鍵の認証の処理を説明するためのフローチャートである。It is a flowchart for demonstrating the process of board | substrate authentication key authentication. 通信モードの切替処理を説明するためのフローチャートの一例であり、(a)はCU制御部−SC間の通信モード切替処理、(b)はSC−通信制御IC間の通信モード切替処理である。It is an example of the flowchart for demonstrating the switching process of communication mode, (a) is a communication mode switching process between CU control part-SC, (b) is a communication mode switching process between SC-communication control IC. 通信モードの切替処理を説明するためのフローチャートの他の例であり、(a)はCU制御部−SC間の通信モード切替処理、(b)はSC−通信制御IC間の通信モード切替処理である。It is another example of the flowchart for demonstrating the switching process of communication mode, (a) is the communication mode switching process between CU control part-SC, (b) is the communication mode switching process between SC-communication control IC. is there. 統一店舗コードのチェックの認証動作を説明するためのフローチャートである。It is a flowchart for demonstrating the authentication operation | movement of the check of a unified store code. 基板メーカコードの認証動作を説明するためのフローチャートである。It is a flowchart for demonstrating the authentication operation | movement of a board maker code. 受信間隔監視処理を説明するためのフローチャートである。It is a flowchart for demonstrating a reception interval monitoring process. 異常電文監視処理を説明するためのフローチャートである。It is a flowchart for demonstrating an abnormal message | telegram monitoring process. 遊技機チップ問合せ処理を説明するためのフローチャートである。It is a flow chart for explaining gaming machine chip inquiry processing. 暗号通信文を受信した受信側において適正に復号された場合の定常時における暗号通信を示す図である。It is a figure which shows the encryption communication in the normal time when the receiving side which received the encryption communication text is decoded appropriately. SCからCU制御部へのレスポンスが到達しなかった場合の異常時の処理を示す図である。It is a figure which shows the process at the time of abnormality when the response from SC to the CU control part does not arrive. CU制御部からSCへのコマンドが到達しなかった場合の異常時の処理を示す図である。It is a figure which shows the process at the time of abnormality when the command from SC to a SC does not arrive. 図70に示したレスポンス未到達の異常時における変形例の処理を示す図である。It is a figure which shows the process of the modification at the time of the abnormality of the response unreachable shown in FIG. コマンドが未到達の異常時における処理の変形例を示す図である。It is a figure which shows the modification of the process at the time of the abnormality which a command has not reached | attained. SE2モードによる復号処理のカウンタ動作を説明するための図である。It is a figure for demonstrating the counter operation | movement of the decoding process by SE2 mode. SE2モード時のカウンタの自動修復(CU側)を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the automatic restoration (CU side) of the counter at the time of SE2 mode. SE2モード時のカウンタの自動修復(SC側)を説明するためのシーケンス図である。It is a sequence diagram for demonstrating the automatic restoration (SC side) of the counter at the time of SE2 mode. 贈与処理の流れを示すフローチャートおよび遊技者所有の価値を管理するための記憶テーブルの説明図である。It is explanatory drawing of the memory | storage table for managing the flowchart which shows the flow of a gift process, and the value of a player possession. レート関連処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a rate related process. 変換処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a conversion process. 返却可否判定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a return permission determination processing. 変形例としての贈与処理の流れを示すフローチャートおよび遊技者所有の価値を管理するための記憶テーブルの説明図である。It is explanatory drawing of the memory | storage table for managing the flowchart which shows the flow of the gift process as a modification, and the value of player possession. スロットマシンの前面扉を開放した状態を示す斜視図である。It is a perspective view which shows the state which opened the front door of the slot machine. カードユニットおよびスロットマシンのそれぞれにおいて記憶している各種データおよびその送受信態様を説明するための説明図である。It is explanatory drawing for demonstrating the various data memorize | stored in each of a card unit and a slot machine, and its transmission / reception aspect.

以下、図面を参照して本発明に係る実施の形態を以下に説明する。
<パチンコ機の構成>
まず、図1を参照して、本実施の形態に係るパチンコ機の構成を説明する。遊技場(ホール)内に複数配置されている各遊技島(図示略)には、遊技機の一例の封入循環式パチンコ機(以下、遊技機、パチンコ機またはP台と略称する)2が併設されている。なお、パチンコ機2の所定側の側方位置には、該パチンコ機2に対してカードユニット(以下CUと略称することもある)3が1対1に対応設置されている。
Embodiments according to the present invention will be described below with reference to the drawings.
<Configuration of pachinko machine>
First, the configuration of the pachinko machine according to the present embodiment will be described with reference to FIG. Each game island (not shown) arranged in the game hall (hall) has an enclosed circulation pachinko machine (hereinafter abbreviated as a game machine, pachinko machine, or P machine) 2 as an example of a game machine. Has been. In addition, card units (hereinafter sometimes abbreviated as CUs) 3 are installed in a one-to-one correspondence with the pachinko machine 2 at side positions on a predetermined side of the pachinko machine 2.

パチンコ機2は、内部に遊技媒体の一例のパチンコ玉を封入しており、遊技者が打球操作ハンドル25を操作することにより、発射モータ18(図2参照)を駆動させて封入玉を1発ずつ遊技盤26前面の遊技領域27に打込んで遊技ができるように構成されている。具体的には、打球操作ハンドル25の周囲にタッチセンサが設けられており、遊技者が打球操作ハンドル25を操作している状態でその遊技者の手がタッチセンサに触れ、その遊技者の手の接触をタッチセンサで検知して発射モータ18が駆動される。この状態で、遊技者による打球操作ハンドル25の回動操作量に応じて打球発射勢いが調整されて玉が遊技領域27内に発射される。   The pachinko machine 2 encloses a pachinko ball as an example of a game medium inside, and when the player operates the hitting operation handle 25, the firing motor 18 (see FIG. 2) is driven to make one shot of the enclosed ball. The game board 26 is configured so that it can be played one by one in the game area 27 in front of the game board 26. Specifically, a touch sensor is provided around the batting operation handle 25, and the player's hand touches the touch sensor while the player is operating the batting operation handle 25, and the player's hand. Is detected by the touch sensor, and the firing motor 18 is driven. In this state, the hitting momentum is adjusted in accordance with the amount of rotation of the hitting operation handle 25 by the player, and the ball is shot into the game area 27.

図1に示すパチンコ機2は、いわゆる第1種のパチンコ機であって、遊技領域27の中央に可変表示装置(特別図柄とも言う)278が設けられている。また、遊技領域27には、打込まれたパチンコ玉が入賞可能な複数種類の入賞口が設けられている。図1に示す遊技領域27には、1つの大入賞口(可変入賞球装置)271と、3つの普通入賞口272,273,274と、3つの始動入賞口275,276,277とが示されている。特に、始動入賞口276は、遊技者にとって有利な第1の状態(たとえば開成状態)と遊技者にとって不利な第2の状態(たとえば閉成状態)とに変化可能な電動チューリップで構成されている。   The pachinko machine 2 shown in FIG. 1 is a so-called first type of pachinko machine, and a variable display device (also referred to as a special symbol) 278 is provided in the center of the game area 27. In addition, the game area 27 is provided with a plurality of types of winning holes through which the inserted pachinko balls can be won. In the game area 27 shown in FIG. 1, one large winning opening (variable winning ball apparatus) 271, three normal winning holes 272, 273, 274 and three start winning holes 275, 276, 277 are shown. ing. In particular, the start winning opening 276 is configured by an electric tulip that can be changed between a first state (for example, an open state) that is advantageous to the player and a second state (for example, a closed state) that is disadvantageous to the player. .

可変表示装置278は、複数種類の識別情報(図柄)を可変表示可能な可変表示部を備えており、各始動入賞口275,276,277に入賞した始動入賞玉の検出信号に基づいてそれらの複数種類の識別情報の可変表示を開始させる。可変表示装置の表示結果が特定の識別情報の組合せ(たとえばぞろ目)になると、大当り状態となり、大入賞口271が開放する。   The variable display device 278 includes a variable display unit capable of variably displaying a plurality of types of identification information (symbols), and based on the detection signals of the start winning balls won in each start winning opening 275, 276, 277. Start variable display of multiple types of identification information. When the display result of the variable display device is a combination of specific identification information (for example, a glance), a big hit state is established and the big prize opening 271 is opened.

また、可変表示装置278の表示結果が大当り図柄の組合せ(ぞろ目)のうちの予め定められた特別の識別情報の組合せ(たとえば777等の確変図柄の組合せ)となることにより、確変大当り状態が発生し、それに伴う大当り状態の終了後大当りの発生確率が向上した確率変動状態(確変状態)が発生する。   Further, the display result of the variable display device 278 becomes a combination of predetermined special identification information (for example, a combination of probability variation symbols such as 777) out of a combination of jackpot symbols (a slotted pattern), so that the probability variation big hit state And a probability variation state (probability variation state) in which the probability of occurrence of the jackpot is improved after the end of the jackpot state.

遊技領域27内に打込まれたパチンコ玉はいずれかの入賞口に入賞するかあるいは入賞することなくアウト口154に回収される。いずれかの入賞口に入賞したパチンコ玉およびアウト口154に回収されたパチンコ玉は再度パチンコ機2内の回収経路を通って打球発射位置にまで還元される。そして、遊技者が打球操作ハンドル25を操作することにより再びその打球発射位置のパチンコ玉が遊技領域27内に打込まれる。   Pachinko balls that have been driven into the game area 27 are won in any of the winning openings or are collected in the out opening 154 without winning. The pachinko balls that have won any of the winning holes and the pachinko balls collected at the out-port 154 are returned again to the hitting ball launch position through the collection path in the pachinko machine 2. Then, when the player operates the hitting operation handle 25, the pachinko ball at the hitting position is again shot into the game area 27.

パチンコ機2における遊技領域27の下方位置には、表示器54が設けられている。表示器54は、液晶表示装置で構成されており、持点やカード残額、あるいは可変表示装置278の表示と連動した様々な演出画像を遊技者に表示する。   A display 54 is provided at a position below the game area 27 in the pachinko machine 2. The display 54 is composed of a liquid crystal display device, and displays various effect images linked to the display of the points, the remaining card amount, or the variable display device 278 to the player.

さらに、パチンコ機2における打球操作ハンドル25の左方位置には、遊技玉から持玉への計数処理をするための計数ボタン28が設けられている。本実施の形態では、計数ボタン28を押下し続けた時間に応じて計数動作が繰返し実行される。なお、押下継続時間に関わらず、1度押下すると、所定数(たとえば100玉)だけ遊技玉から持玉への計数が行なわれるようにしてもよく、あるいは、計数ボタン28を1度押下した場合には、その押下時間にかかわらず(長押しか否かにかかわらず)、現在遊技者が所有している遊技玉のすべてが計数されるようにしてもよい。   Further, a counting button 28 is provided at the left position of the hitting operation handle 25 in the pachinko machine 2 for counting the game balls to the holding balls. In the present embodiment, the counting operation is repeatedly executed according to the time for which the counting button 28 is kept pressed. It should be noted that, regardless of the pressing duration time, if the button is pressed once, a predetermined number (for example, 100 balls) may be counted from the gaming ball to the holding ball, or the counting button 28 is pressed once. All of the game balls currently owned by the player may be counted regardless of the pressing time (regardless of whether the button is pressed for a long time).

このように、計数ボタン28をパチンコ機(P台)2側に設けているため、計数ボタン28をカードユニット(CU)3側に設ける場合に比較して、パチンコ機2に正対して座っている遊技者の操作性を向上できる。   As described above, since the counting button 28 is provided on the pachinko machine (P) 2 side, the person is sitting facing the pachinko machine 2 as compared with the case where the counting button 28 is provided on the card unit (CU) 3 side. Can improve the operability of the player.

計数ボタン28の右上方には、遊技玉数を表示するための遊技玉数表示器29が設けられている。遊技玉数表示器29は、7セグメント式のディスプレイである。なお、遊技玉数表示器29は、液晶表示器や有機EL表示器、その他の表示器で構成してもよい。   A game ball number display 29 for displaying the number of game balls is provided at the upper right of the counting button 28. The game ball number display 29 is a 7-segment display. The game ball number display 29 may be configured by a liquid crystal display, an organic EL display, or other display.

本実施の形態に係るパチンコ機2は、遊技盤26とそれ以外の遊技枠(前枠)6とに分けることができる。特に、遊技盤26は、各社が開発するパチンコ機の機種毎に異なるものである一方、遊技機枠6は、機種に関わらず共通の共通枠とされている。このため、遊技店は新台入れ替えの際には遊技盤26のみの交換で事足りる。   The pachinko machine 2 according to the present embodiment can be divided into a game board 26 and other game frames (front frames) 6. In particular, the gaming board 26 is different for each model of pachinko machine developed by each company, while the gaming machine frame 6 is a common common frame regardless of the model. For this reason, it is sufficient for the game store to replace only the game board 26 when replacing a new stand.

<カードユニットの構成>
次に、引続き図1を参照して、本実施の形態に係るカードユニット3の構成を説明する。このカードユニット3は、会員登録をしていない一般の遊技者に対して発行される遊技用記録媒体であるプリペイド機能を備えるビジターカード(一般カードとも言う)や、該遊技場に会員登録した会員遊技者に対して発行される遊技用記録媒体である会員カードを受付ける。ビジターカードや会員カードはICカードで構成されている。
<Configuration of card unit>
Next, the configuration of the card unit 3 according to the present embodiment will be described with reference to FIG. This card unit 3 is a visitor card (also referred to as a general card) having a prepaid function, which is a game recording medium issued to a general player who has not registered as a member, or a member who has registered as a member in the game hall. Receive a membership card, which is a game recording medium issued to a player. Visitor cards and membership cards are composed of IC cards.

それらのカードを受付けたカードユニット3は、カードの記録情報により特定される遊技者所有の遊技価値(たとえばカード残額、持玉数、あるいは貯玉数等)を“遊技玉のデータ”に変換する機能を有する。パチンコ機2では、遊技玉のデータによって特定される玉数相当の弾球遊技が可能とされる。つまり、“遊技玉のデータ”とは、発射可能な玉の発射残数を示すデータである。以下の説明では、“遊技玉のデータ”を貯玉や持玉と同様に、単に“遊技玉”と称する。   The card unit 3 that has received these cards has a function of converting the game value (for example, the remaining card amount, the number of balls, or the number of stored balls) owned by the player specified by the record information of the card into “game ball data”. Have In the pachinko machine 2, a ball game equivalent to the number of balls specified by the data of game balls is made possible. That is, “game ball data” is data indicating the number of remaining balls that can be fired. In the following description, “game ball data” is simply referred to as “game ball” in the same manner as a stored ball and a holding ball.

カードユニット3の前面側には、紙幣を挿入するための紙幣挿入口302、装置前面より装置前方方向に突出形成された突出部305、会員カードやビジターカードを挿入するためのカード挿入/排出口309などが設けられている。このカード挿入/排出口309に挿入された会員カードやビジターカードがカードリーダライタ(図示省略)に受付けられ、そのカードに記録されている情報が読取られる。   On the front side of the card unit 3, a bill insertion slot 302 for inserting bills, a protruding portion 305 formed to project forward from the front side of the device, and a card insertion / discharge port for inserting a membership card or a visitor card 309 etc. are provided. A membership card or a visitor card inserted into the card insertion / discharge port 309 is received by a card reader / writer (not shown), and information recorded on the card is read.

前述の突出部305において、遊技者と対向する面には、表示器312と、会員カードを受付けた場合において、該会員カードに記録された会員カードID(単に、カードID、C-IDとも言う)ならびに会員カードIDにより特定される貯玉数を用いた再プレイ遊技を実施するための再プレイボタン319とが設けられている。   In the protrusion 305 described above, on the surface facing the player, the display unit 312 and the member card ID recorded on the member card when the member card is received (also simply referred to as a card ID or C-ID). ) And a replay button 319 for performing a replay game using the number of stored balls specified by the member card ID.

表示器312は、挿入された遊技用記録媒体(カード)に記録されているプリペイド残額(カード残額または単に残額とも言う)を表示するものであるが、遊技玉数やその他の各種情報を表示可能であるとともに、表面が透明タッチパネルで構成されており、表示器312の表示部に表示された各種表示項目を指でタッチすることにより各種操作が入力可能となるように構成されている。   The display 312 displays the prepaid balance recorded on the inserted game recording medium (card) (also referred to as the card balance or simply the balance), but can display the number of game balls and various other information. In addition, the surface is configured with a transparent touch panel, and various operations can be input by touching various display items displayed on the display unit of the display 312 with a finger.

再プレイボタン319を操作した場合に、挿入されたカードに遊技者が獲得した持玉数が記録されているときにはその持玉数の一部を引落として遊技玉に変換し、変換した遊技玉に基づいてパチンコ機2による遊技を行なうことが可能となる。一方、挿入されたカードが会員カードであり持玉数が記録されておらずかつ貯玉がホール用管理コンピュータ等に記録されている場合には、その貯玉の一部が引落とされて遊技玉に変換され、パチンコ機2による遊技が可能となる。つまり、挿入されたカードに対応付けて貯玉と持玉との双方が記憶されている場合には、持玉が優先的に引落とされる。なお、再プレイボタン319とは別に、持玉を引落とすための専用の持玉払出ボタンを設け、再プレイボタン319は貯玉引落とし専用のボタンとしてもよい。   When the replay button 319 is operated, if the number of possessed balls acquired by the player is recorded on the inserted card, a part of the number of possessed balls is withdrawn and converted into a game ball, and the converted game ball is converted into a converted game ball. Based on this, it is possible to play a game with the pachinko machine 2. On the other hand, if the inserted card is a membership card and the number of possession balls is not recorded and the storage ball is recorded in the hall management computer, etc., a part of the storage ball is withdrawn and becomes a game ball. It is converted, and the game by the pachinko machine 2 becomes possible. That is, when both the stored ball and the holding ball are stored in association with the inserted card, the holding ball is withdrawn preferentially. Separately from the replay button 319, a dedicated ball payout button for withdrawing the holding ball may be provided, and the replay button 319 may be a button dedicated to the withdrawal of the stored ball.

ここで、「貯玉」とは、前日以前に獲得した玉でホールに預けている玉であり、貯玉払出により遊技玉となる。また、貯玉は、遊技場に預入れられた遊技媒体であり、一般的に当該遊技場に設置されたホール用管理コンピュータやその他の管理コンピュータにより管理される。   Here, the “storing ball” is a ball deposited in the hall with a ball acquired before the previous day, and becomes a game ball by paying out the saving ball. The storage ball is a game medium deposited in a game hall, and is generally managed by a hall management computer or other management computer installed in the game hall.

「持玉」とは、当日獲得した玉であり、持玉払出により遊技玉となる。また、持玉数は、遊技者が遊技機により遊技を行なった結果遊技者の所有となった遊技玉数をカードに記録したものであって、未だに遊技場に預入れられていない玉数のことである。一般的には、遊技場において当日遊技者が獲得した玉数を「持玉」と言い、前日以前に遊技者が獲得した玉数であって遊技場に預入れられた玉数を「貯玉」と言う。   “Mochitama” is a ball acquired on the day and becomes a game ball by paying out the possessionball. In addition, the number of possession balls is the number of game balls owned by the player as a result of the player playing with the gaming machine on the card, and the number of balls that have not yet been deposited in the game hall That is. Generally, the number of balls that the player has acquired on the day of the game hall is called “mochidama”, and the number of balls that the player has acquired before the previous day and that has been deposited in the amusement hall is “save ball”. Say.

「遊技玉」とは、遊技機で発射可能な玉である。遊技玉数のデータは、既に説明したとおり、プリペイドカードの残額、持玉、あるいは貯玉を引落とすことと引き換えにして生成される。   A “game ball” is a ball that can be fired by a gaming machine. As described above, the data on the number of game balls is generated in exchange for withdrawing the remaining amount of the prepaid card, holding balls, or storing balls.

なお、持玉数を遊技場に設定された持玉数管理用の管理装置で管理してもよい。要するに、「貯玉」と「持玉」との違いは、遊技場に預入れるための貯玉操作が行なわれて遊技場に預入れられた玉数であるか、あるいは、未だに遊技場に預入れられていない段階の玉数であるかの点である。   Note that the number of possessed balls may be managed by a management device for managing the number of possessed balls set in the game hall. In short, the difference between “sold balls” and “mochidama” is the number of balls that have been deposited in the amusement hall as a result of a storage operation for depositing in the amusement hall, or is still deposited in the amusement hall. It is a point whether it is the number of balls of the stage which is not.

本実施形態では、貯玉データは会員カードに直接記録させずホール用管理コンピュータ等の遊技場に設置されたホールサーバ801(上位サーバ)801(図4参照)に会員カード番号と対応付けて記憶させ、会員カード番号に基づいて対応する貯玉を検索できるように構成されている。一方、持玉は、カードに直接記録している。しかし、それに限定されるものではなく、両者ともにホール内に設置されたホールサーバ801にカード番号と対応付けて記憶させてもよい。ビジターカードの場合も、持玉は、ビジターカードに直接記録している。しかし、それに限定されるものではなく、持玉をホールサーバ801にカード番号と対応させて記憶させてもよい。このホールサーバ801にカード番号と対応させて記憶させる際に、ホールサーバ801に記憶させた時刻を特定できるデータをカード(会員カード、ビジターカード)に書込んで排出してもよい。また、プリペイド残額についてはカード(会員カード、ビジターカード)に直接書込んで排出する。   In the present embodiment, the stored ball data is not recorded directly on the membership card, but is stored in association with the membership card number in the hall server 801 (upper server) 801 (see FIG. 4) installed in the game hall such as the hall management computer. The corresponding storage card can be searched based on the membership card number. On the other hand, Mochitama records directly on the card. However, the present invention is not limited to this, and both may be stored in the hall server 801 installed in the hall in association with the card number. In the case of a visitor card, Mochitama is recorded directly on the visitor card. However, the present invention is not limited to this, and the ball may be stored in the hall server 801 in association with the card number. When the hall server 801 stores the card number in association with the card number, data that can specify the time stored in the hall server 801 may be written on the card (member card, visitor card) and discharged. Also, the prepaid balance is written directly on a card (member card, visitor card) and discharged.

なお、持玉を、カード(会員カード、ビジターカード)、またはホールサーバ801に記憶させるタイミングは、たとえば、計数ボタン28が操作されて計数処理が行なわれる度にリアルタイムに記憶させる、一定周期ごとに記憶させる、またはカードを返却するときに一括して記憶させるなどのタイミングとすることが考えられる。   Note that the timing of storing the holding ball in the card (member card, visitor card) or hall server 801 is stored in real time every time the counting button 28 is operated and the counting process is performed, for example, at regular intervals. It is conceivable that the timing is such that it is stored or stored in a lump when the card is returned.

また、遊技者が遊技を終えてカードユニット3からカードを返却したときには、カードユニット3に記憶していた持玉が一旦貯玉としてホールサーバ801に記憶されるようにし、その遊技者がカードの返却を受けた日と同じ日に再び同じまたは別のカードユニット3にカードを挿入したときには、一旦貯玉として記憶された当日分の持玉のみが再びそのカードユニット3に記憶され、その持玉の範囲で遊技玉を加算し、遊技できるようにしてもよい。   Also, when the player finishes the game and returns the card from the card unit 3, the possession ball stored in the card unit 3 is temporarily stored in the hall server 801 as a stored ball, and the player returns the card. When the card is inserted into the same or another card unit 3 again on the same day as the date of receiving the card, only the possession balls for the day that have been stored once as stored balls are stored again in the card unit 3, and the range of the possessed balls The game balls may be added to allow the game to be played.

紙幣挿入口302に挿入された紙幣は、貨幣識別器(図示省略)により取込まれてその真贋や紙幣種別の識別がなされる。   The banknote inserted into the banknote insertion slot 302 is taken in by a currency discriminator (not shown), and its authenticity and banknote type are identified.

カードユニット3の前面側には、さらに、IR(Infrared)感光ユニット(IR受光ユニットとも言う)320と、玉貸ボタン(貸出ボタンとも言う)321と、カード返却ボタン322とが設けられている。IR感光ユニット320は、遊技場の係員が所持するリモコン(図示略)から赤外線信号を受信して電子信号に変換して出力するIR感光ユニット320である。玉貸ボタン321は、挿入されたカードに記録されている残額を引落としてパチンコ機2による遊技に用いるための操作(遊技玉への変換操作)を行なうボタンである。カード返却ボタン322は、遊技者が遊技を終了するときに操作され、挿入されているカードに遊技終了時の確定した遊技玉数(カード挿入時の持玉数−遊技玉への変換数+計数操作によって計数された持玉数)を記憶させて排出するための操作ボタンである。   On the front side of the card unit 3, an IR (Infrared) photosensitive unit (also referred to as an IR light receiving unit) 320, a ball lending button (also referred to as a lending button) 321 and a card return button 322 are further provided. The IR photosensitive unit 320 is an IR photosensitive unit 320 that receives an infrared signal from a remote controller (not shown) possessed by an attendant at a game arcade, converts the infrared signal into an electronic signal, and outputs the electronic signal. The ball lending button 321 is a button for performing an operation (conversion operation to a game ball) for withdrawing the remaining amount recorded on the inserted card and using it in a game by the pachinko machine 2. The card return button 322 is operated when the player finishes the game, and the number of game balls determined at the end of the game in the inserted card (the number of balls at the time of card insertion−the number of conversions to game balls + count) This is an operation button for memorizing and discharging the number of possessed balls counted by the operation.

<カードユニットとパチンコ機との構成>
図2は、カードユニット3とパチンコ機2との構成を示すブロック図である。図2を参照して、カードユニット3とパチンコ機2との制御回路の概略を説明する。
<Configuration of card unit and pachinko machine>
FIG. 2 is a block diagram showing the configuration of the card unit 3 and the pachinko machine 2. With reference to FIG. 2, the outline of the control circuit of the card unit 3 and the pachinko machine 2 will be described.

カードユニット3には、マイクロコンピュータ等から構成されたCU制御部323が設けられている。このCU制御部323は、カードユニット3の主制御機能部であり、制御中枢としてのCPU(Central Processing Unit)、CPUが動作するためのプログラムや制御データ等を記憶しているROM(Read Only Member)、CPUのワークエリアとして機能するRAM(Random Access Memory)、周辺機器との信号の整合性を保つための入出力インターフェイス等が設けられている。   The card unit 3 is provided with a CU control unit 323 composed of a microcomputer or the like. The CU control unit 323 is a main control function unit of the card unit 3, and is a CPU (Central Processing Unit) as a control center, a ROM (Read Only Member) that stores programs for operating the CPU, control data, and the like. ), A RAM (Random Access Memory) functioning as a work area of the CPU, an input / output interface for maintaining signal consistency with peripheral devices, and the like.

CU制御部323には、ホール用管理コンピュータやセキュリティ上の管理を行なうホールサーバ801(図4参照)と通信を行なうための外部通信部(図示省略)が設けられている。CU制御部323には、パチンコ機2の払出制御基板17とセキュリティを確保しながら通信を行なうためのセキュリティ基板(SC基板)325が接続される。セキュリティ基板325は、カードユニット3のセキュリティ監視機能部である。なお、セキュリティ基板325上にCU制御部323を設けてもよく、あるいは、セキュリティ基板325とは別の基板にCU制御部323を設けてもよい。カードユニット3にはパチンコ機2側への接続部(図示省略)が設けられており、パチンコ機2にはカードユニット3側への接続部(図示省略)が設けられている。これら接続部は、たとえばコネクタ等で構成されている。   The CU control unit 323 is provided with an external communication unit (not shown) for communicating with a hall management computer and a hall server 801 (see FIG. 4) for security management. A security board (SC board) 325 for communicating with the payout control board 17 of the pachinko machine 2 while ensuring security is connected to the CU control unit 323. The security board 325 is a security monitoring function unit of the card unit 3. Note that the CU control unit 323 may be provided on the security board 325, or the CU control unit 323 may be provided on a board different from the security board 325. The card unit 3 is provided with a connection part (not shown) to the pachinko machine 2 side, and the pachinko machine 2 is provided with a connection part (not shown) to the card unit 3 side. These connection parts are constituted by connectors, for example.

カードユニット3側のセキュリティ基板325とパチンコ機2側の払出制御基板17とは、このコネクタと接続配線とを介して通信可能に接続される。セキュリティ基板325には、セキュリティ基板325と払出制御基板17との通信を制御するための通信制御IC325aと、パチンコ機2のセキュリティを監視するためのセキュリティチップ(SC)325bが設けられている。さらに、SC325bは、不正検知部1325を備え、不正検知部1325がCU制御部323からパチンコ機2に通知される遊技玉の加算要求情報を監視することにより不正検知を行ない、不正検知時に鍵管理サーバ800(図4参照)に通知する。また、不正検知用の設定値(定数)は鍵管理サーバ800から基板制御情報として通知される。   The security board 325 on the card unit 3 side and the payout control board 17 on the pachinko machine 2 side are communicably connected via this connector and connection wiring. The security board 325 is provided with a communication control IC 325a for controlling communication between the security board 325 and the payout control board 17, and a security chip (SC) 325b for monitoring the security of the pachinko machine 2. The SC 325b further includes a fraud detection unit 1325. The fraud detection unit 1325 performs fraud detection by monitoring the game ball addition request information notified from the CU control unit 323 to the pachinko machine 2, and manages the key when fraud is detected. The server 800 (see FIG. 4) is notified. Further, the setting value (constant) for fraud detection is notified from the key management server 800 as board control information.

CU制御部323には、前述した貨幣識別器により紙幣の真贋および種類が識別されて、その識別結果信号が入力される。また、CU制御部323には、遊技場の係員が所持しているリモコンから発せられた赤外線をIR感光ユニット320が受光すれば、その受光信号が入力される。CU制御部323には、挿入されたカードの記録情報をカードリーダライタが読取って、その読取り情報が入力されるとともに、CU制御部323からカードリーダライタに対し、挿入されているカードに書込むデータが伝送されたときに、カードリーダライタはそのデータを挿入されているカードに書込む。カードの記録情報には、カードIDが含まれる。CU制御部323は、カードリーダライタが読み取ったカードIDを遊技終了まで記憶する。   To the CU control unit 323, the authenticity and type of the banknote are identified by the above-described money identifier, and the identification result signal is input. In addition, when the IR photosensitive unit 320 receives infrared rays emitted from a remote controller owned by an attendant at the game hall, a light reception signal is input to the CU control unit 323. The card reader / writer reads the information recorded in the inserted card into the CU control unit 323, and the read information is input to the CU control unit 323. The CU control unit 323 writes the information to the card reader / writer. When data is transmitted, the card reader / writer writes the data to the inserted card. The card recording information includes a card ID. The CU control unit 323 stores the card ID read by the card reader / writer until the game ends.

CU制御部323は、遊技者が遊技している際、遊技者の持玉を管理・記憶する。CU制御部323から残額あるいは遊技玉数等のデータが表示制御部350に出力され、表示制御部350で表示用データに変換される。パチンコ機2に対し、表示制御部350で変換した表示用データが送信される。パチンコ機2に送信された表示用データは、中継基板14を介して表示器312に入力される。表示器312には、その表示用データに応じた画像が表示される。また、表示器312の表面に設けられているタッチパネルを遊技者が操作すれば、その操作信号が表示制御部350を介してCU制御部323に入力される。遊技者が玉貸ボタン321を操作することにより、その操作信号がCU制御部323に入力される。なお、玉貸ボタン321は、CU3に設ける構成に限定されるものではなく、パチンコ機2に設けて操作信号をCU制御部323に入力する構成であっても良い。遊技者が再プレイボタン319を操作することによりその操作信号がCU制御部323に入力される。遊技者がカード返却ボタン322を操作することによりその操作信号がCU制御部323に入力される。   The CU control unit 323 manages and stores the player's possession balls when the player is playing. Data such as the remaining amount or the number of game balls is output from the CU control unit 323 to the display control unit 350, and is converted into display data by the display control unit 350. The display data converted by the display control unit 350 is transmitted to the pachinko machine 2. The display data transmitted to the pachinko machine 2 is input to the display 312 via the relay board 14. The display 312 displays an image corresponding to the display data. Further, when the player operates a touch panel provided on the surface of the display 312, the operation signal is input to the CU control unit 323 via the display control unit 350. When the player operates the ball lending button 321, the operation signal is input to the CU control unit 323. The ball lending button 321 is not limited to the configuration provided in the CU 3, and may be provided in the pachinko machine 2 to input an operation signal to the CU control unit 323. When the player operates the replay button 319, the operation signal is input to the CU control unit 323. When the player operates the card return button 322, the operation signal is input to the CU control unit 323.

パチンコ機2には、パチンコ機2の遊技の進行制御を行なう主制御基板16と、遊技玉を管理・記憶する払出制御基板17と、払出制御基板17の指令に基づいて発射モータ18を駆動制御する発射制御基板31と、可変表示装置278と、主制御基板16から送信されてくるコマンドに基づいて可変表示装置278を表示制御する演出制御基板15とが備えられている。   In the pachinko machine 2, the main control board 16 that controls the progress of the game of the pachinko machine 2, the payout control board 17 that manages and stores the game balls, and the drive control of the launch motor 18 based on commands from the payout control board 17 A launch control board 31, a variable display device 278, and an effect control board 15 that controls the display of the variable display device 278 based on a command transmitted from the main control board 16.

主制御基板16および演出制御基板15は、遊技盤26に設けてある。主制御基板16には主制御部161である遊技制御用マイクロコンピュータが搭載されている。主制御部161は、遊技機の主制御機能部である。遊技機制御用マイクロコンピュータは、制御中枢としてのCPU(Central Processing Unit)、CPUが動作するためのプログラムや制御データ等を記憶しているROM(Read Only Member)、CPUのワークエリアとして機能するRAM(Random Access Memory)、周辺機器との信号の整合性を保つための入出力インターフェイス等が設けられている。主制御部161は、遊技盤26に設けられている入賞センサ162、および電波センサ163と接続してある。   The main control board 16 and the effect control board 15 are provided on the game board 26. The main control board 16 is equipped with a game control microcomputer as the main control unit 161. The main control unit 161 is a main control function unit of the gaming machine. A microcomputer for gaming machine control includes a CPU (Central Processing Unit) as a control center, a ROM (Read Only Member) storing a program for operating the CPU and control data, and a RAM (RAM) functioning as a CPU work area. Random Access Memory) and an input / output interface for maintaining signal consistency with peripheral devices. The main controller 161 is connected to a winning sensor 162 and a radio wave sensor 163 provided on the game board 26.

主制御部161は、各始動入賞口275,276,277に玉が入賞すると、大当り(あるいはさらに小当りを含む)/外れを決定するための乱数を抽選し、その乱数を記憶する。これを保留記憶という。保留記憶数の最大値は、たとえば、4である。主制御部161は、可変表示装置278で新たな可変表示を開始できる状態になれば、保留記憶を1つ消化してその保留記憶に基づいた大当り判定を行なうとともに可変開始から表示結果の導出に至るまでの可変表示時間を複数種類の中から決定する。また、大当りを決定したときには、確率変動を生じさせるか否かも併せて決定する。主制御部161は、その大当り判定の結果(確変にするか否かを含む)、および可変表示時間に関する情報をコマンドとして演出制御基板15に搭載された演出制御部151へ送信する。   When a ball wins each start winning opening 275, 276, 277, the main control unit 161 draws a random number for determining a big hit (or further including a small hit) / off and stores the random number. This is called reserved storage. The maximum value of the number of reserved memories is, for example, 4. When the variable display device 278 is ready to start a new variable display, the main control unit 161 digests one reserved memory, makes a jackpot determination based on the reserved memory, and derives the display result from the variable start. The variable display time to reach is determined from multiple types. Further, when the big hit is determined, it is also determined whether or not the probability fluctuation is caused. The main control unit 161 transmits the result of the jackpot determination (including whether or not to change the probability) and information regarding the variable display time to the effect control unit 151 mounted on the effect control board 15 as commands.

主制御部161から演出制御部151へ送信される可変表示に関するコマンドには、可変表示の開始を示す可変開始コマンド、可変表示の結果を示す表示結果コマンド(大当り/外れ)、可変表示パターンを特定可能な可変表示時間コマンド、可変表示結果を導出表示させるタイミングを示す可変停止コマンドなどが含まれる。さらに、主制御部161から演出制御部151へ送信されるコマンドには、大当り中に大当りの進行状況を特定可能なコマンドや、新たな保留記憶の発生を示すコマンド、遊技状態のエラーの発生を示すコマンドなどがある。   The variable display command transmitted from the main control unit 161 to the effect control unit 151 specifies a variable start command indicating the start of variable display, a display result command indicating the result of variable display (big hit / out), and a variable display pattern. A variable display time command that is possible, a variable stop command that indicates the timing for deriving and displaying a variable display result, and the like are included. Furthermore, the commands transmitted from the main control unit 161 to the production control unit 151 include a command that can identify the progress status of the big hit during the big hit, a command that indicates the occurrence of a new reserved memory, and the occurrence of an error in the gaming state. There are commands to show.

演出制御部151は、主制御部161から送信されてくるこれらのコマンドに基づいて可変表示装置278の可変表示内容を決定する。たとえば、演出制御部151は、主制御部161から送信されてくるコマンドに基づいて可変表示結果および可変表示時間を特定し、停止図柄を決定するとともに可変表示パターン(リーチの有無、リーチの種類)を決定し、さらには大当りやリーチに関する予告演出の演出パターンを決定する。演出制御部151は、決定した可変表示内容に従って可変表示装置278を表示制御する。   The effect control unit 151 determines the variable display content of the variable display device 278 based on these commands transmitted from the main control unit 161. For example, the effect control unit 151 specifies a variable display result and a variable display time based on a command transmitted from the main control unit 161, determines a stop symbol, and a variable display pattern (reach presence / absence, reach type). In addition, the effect pattern of the notice effect related to the big hit or reach is determined. The effect control unit 151 controls display of the variable display device 278 according to the determined variable display content.

演出制御基板15は、遊技機枠6側の中継基板14を介して、表示器54とも接続されている。演出制御部151は、可変表示装置278に対して可変表示等のための表示制御信号を送信するとともに、可変表示装置278の表示と連動する表示を行なうための表示制御信号を表示器54へ送信可能である。なお、中継基板14および表示器54は、CU3側に設けるようにしてもよい。この場合、P台2側の演出制御基板15は、CU3に設けた中継基板14と接続される。   The effect control board 15 is also connected to the display 54 via the relay board 14 on the gaming machine frame 6 side. The effect control unit 151 transmits a display control signal for variable display or the like to the variable display device 278 and transmits a display control signal for performing display in conjunction with the display of the variable display device 278 to the display unit 54. Is possible. The relay board 14 and the display 54 may be provided on the CU3 side. In this case, the effect control board 15 on the P stand 2 side is connected to the relay board 14 provided in the CU 3.

払出制御基板17は、前枠6(遊技枠)に設けてある。払出制御基板17には、払出制御部171である払出制御用マイクロコンピュータが搭載されている。払出制御部171は、遊技機の払出制御機能部である。払出制御用マイクロコンピュータは、制御中枢としてのCPU(Central Processing Unit)、CPUが動作するためのプログラムや制御データ等を記憶しているROM(Read Only Member)、CPUのワークエリアとして機能するRAM(Random Access Memory)、周辺機器との信号の整合性を保つための入出力インターフェイス等が設けられている。   The payout control board 17 is provided on the front frame 6 (game frame). The payout control board 17 is equipped with a payout control microcomputer which is a payout control unit 171. The payout control unit 171 is a payout control function unit of the gaming machine. The payout control microcomputer includes a CPU (Central Processing Unit) as a control center, a ROM (Read Only Member) storing a program for operating the CPU and control data, and a RAM (RAM) functioning as a work area of the CPU. Random Access Memory) and an input / output interface for maintaining signal consistency with peripheral devices.

また、払出制御基板17に対し、発射玉検出スイッチ903、アウト玉検出スイッチ701、ファール玉検出スイッチ33、計数ボタン28、電波センサ173が電気的に接続された状態で設けられている。この電波センサ173は、電波を不正に発信して主に玉上げスイッチ(上)41aを常時オン状態にする不正行為を検知するためのものである。この電波センサ173の検出信号が払出制御基板17の入力ポート(図示省略)を介して払出制御部171へ入力される。玉上げスイッチ(上)41aは、オンからオフに変化したことにより遊技玉の発射を検出し、その検知に基づいて、払出制御部171が、遊技玉数を「1」減算する。   Further, a firing ball detection switch 903, an out ball detection switch 701, a foul ball detection switch 33, a counting button 28, and a radio wave sensor 173 are provided on the payout control board 17 in an electrically connected state. The radio wave sensor 173 is for detecting an illegal act of illegally transmitting radio waves and mainly turning on the ball raising switch (upper) 41a. A detection signal of the radio wave sensor 173 is input to the payout control unit 171 via an input port (not shown) of the payout control board 17. The ball raising switch (upper) 41a detects the launch of a game ball by changing from on to off, and based on the detection, the payout control unit 171 subtracts “1” from the number of game balls.

したがって、不正電波によりこの玉上げスイッチ(上)41aが常時オン状態になると、いくら玉を発射しても遊技玉数が減算されない状態となる。このような電波による不正を電波センサ173により検知する。   Accordingly, when the ball raising switch (upper) 41a is always turned on by an improper radio wave, the number of game balls is not subtracted no matter how many balls are fired. Such radio fraud is detected by the radio wave sensor 173.

主制御基板16から払出制御基板17に対し、主制御チップID、入賞口情報、ラウンド情報、接続確認信号、入賞検出信号、始動入賞口入賞情報、エラー情報、図柄確定回数、大当り情報、メーカ固有大当りの情報が送信される。   From main control board 16 to payout control board 17, main control chip ID, winning opening information, round information, connection confirmation signal, winning detection signal, starting winning opening winning information, error information, number of symbols determined, jackpot information, manufacturer specific Jackpot information is sent.

主制御チップID(メインチップIDとも言う)は、パチンコ機2の主制御基板16に記録されているチップIDのことであり、パチンコ機2の電源投入時に払出制御基板17に対して送信される情報である。入賞口情報は、入賞口の種類(始動入賞口、普通入賞口、大入賞口)と、賞球数(入賞口に遊技玉が入ったときの払出玉数)とを含む情報であり、パチンコ機2の電源投入時に払出制御基板17に対して送信される。ラウンド情報は、大当りしたときのラウンド数の情報であり、パチンコ機2の電源投入時に払出制御基板17に対して送信される。   The main control chip ID (also referred to as main chip ID) is a chip ID recorded on the main control board 16 of the pachinko machine 2, and is transmitted to the payout control board 17 when the pachinko machine 2 is turned on. Information. The winning opening information is information including the type of winning opening (start winning opening, normal winning opening, large winning opening) and the number of winning balls (the number of payout balls when a game ball enters the winning opening). It is transmitted to the dispensing control board 17 when the machine 2 is turned on. The round information is information on the number of rounds when a big hit is made, and is transmitted to the payout control board 17 when the pachinko machine 2 is powered on.

接続確認信号は、主制御基板16と払出制御基板17とが接続されていることを確認するための信号であり、主制御基板16から払出制御基板17へ所定の電圧の信号が常時供給されており、払出制御基板17がその所定電圧信号を受信していることを条件として払出制御基板17が動作制御するように構成されている。入賞検出信号は、始動入賞口以外の入賞口に入賞したパチンコ玉の検出信号である。この検出信号を受けた払出制御基板17は、その入賞玉1個に対して付与すべき玉数を、遊技玉数と加算玉数とに加算する制御を行なう。   The connection confirmation signal is a signal for confirming that the main control board 16 and the payout control board 17 are connected, and a signal of a predetermined voltage is constantly supplied from the main control board 16 to the payout control board 17. The payout control board 17 is configured to control the operation on the condition that the payout control board 17 receives the predetermined voltage signal. The winning detection signal is a detection signal of a pachinko ball that has won a winning opening other than the starting winning opening. Upon receiving this detection signal, the payout control board 17 performs control to add the number of balls to be given to one winning ball to the number of game balls and the number of added balls.

始動入賞口入賞情報とは、始動入賞口のいずれかにパチンコ玉が入賞したことを示す情報である。エラー情報とは、主制御基板16が遊技制御を行なっている最中にエラーが発生した場合にその旨を払出制御基板17へ通知するための情報である。   The start winning award winning information is information indicating that a pachinko ball has won a prize in any of the starting winning awards. The error information is information for notifying the payout control board 17 when an error occurs while the main control board 16 is performing game control.

図柄確定回数とは、各始動入賞口への入賞に対する可変表示装置の表示結果として確定した図柄の情報である。   The symbol determination number of times is information on symbols determined as display results of the variable display device for winnings at each start winning opening.

大当り情報とは、大当りが発生したことを示す情報であり、その内訳は、各メーカ共通の大当りを示す共通大当り情報とメーカ固有の大当りを示すメーカ固有大当り情報とがある。共通大当り情報は、たとえば15ラウンド大当り等のように、各遊技機メーカが共通に採用している大当りであり、その大当りに伴って確変が発生する場合には確変情報を含み、その大当りに伴って時短状態(可変表示装置の可変表示時間を短縮する制御状態)が発生する場合にはその時短情報を含んでいる。メーカ固有大当りとは、たとえば突然確変(突確)のような、或る遊技機メーカのみが採用している大当り状態のことである。   The jackpot information is information indicating that a jackpot has occurred. The breakdown includes common jackpot information indicating a jackpot common to each manufacturer and manufacturer-specific jackpot information indicating a manufacturer-specific jackpot. The common jackpot information is a jackpot commonly used by each gaming machine manufacturer, such as 15 round jackpots, and includes probability variation information when a probability change occurs with the jackpot. When the time-short state (control state for shortening the variable display time of the variable display device) occurs, the time-shortage information is included. The manufacturer-specific big hit is a big hit state that is adopted only by a certain gaming machine manufacturer, such as sudden probability change (surprise).

払出制御基板17から主制御基板16へ、ヘルスチェックコマンドと賞球個数受付コマンドとが送信される。ヘルスチェックコマンドとは、主制御基板16が正常に動作しているか否かをチェックするためのコマンドである。賞球個数受付コマンドとは、加算玉数を受付けた旨を示すコマンドである。   A health check command and a winning ball number acceptance command are transmitted from the payout control board 17 to the main control board 16. The health check command is a command for checking whether or not the main control board 16 is operating normally. The prize ball number acceptance command is a command indicating that the additional number of balls has been accepted.

アウト玉検出スイッチ701から払出制御基板17へアウト玉検出信号が入力される。このアウト玉検出信号が入力された払出制御基板17は、後述するように遊技中玉数(遊技領域27に浮遊している浮遊玉の玉数)を減算更新する。ファール玉検出スイッチ33からファール玉検出信号が入力された払出制御基板17では、後述するように、加算玉数と遊技玉数とを加算更新するとともに、遊技中玉数を減算更新する。発射玉検出スイッチ903から払出制御基板17へ発射玉検出信号が入力される。この発射玉検出信号が入力された払出制御基板17は、遊技中玉数を減算更新する。   An out ball detection signal is input from the out ball detection switch 701 to the payout control board 17. The payout control board 17 to which the out ball detection signal is input subtracts and updates the number of in-game balls (the number of floating balls floating in the game area 27) as will be described later. In the payout control board 17 to which the foul ball detection signal is input from the foul ball detection switch 33, as described later, the addition ball number and the game ball number are added and updated, and the in-game ball number is subtracted and updated. A shot detection signal is input from the shot detection switch 903 to the payout control board 17. The payout control board 17 to which the fired ball detection signal is input updates the number of in-game balls by subtraction.

カードユニット3のセキュリティ基板325とパチンコ機2の払出制御基板17とが電気的に接続されており、セキュリティ基板325から払出制御基板17へ、後述するように各種コマンドが送信される。逆に、払出制御基板17からセキュリティ基板325へ、後述するように各種レスポンスが送信される。   The security board 325 of the card unit 3 and the payout control board 17 of the pachinko machine 2 are electrically connected, and various commands are transmitted from the security board 325 to the payout control board 17 as described later. On the contrary, various responses are transmitted from the payout control board 17 to the security board 325 as described later.

前枠6(遊技枠)には、払出制御基板17の他、中継基板14、発射制御基板31、発射モータ18、遊技玉数表示器29が設けられている。なお、遊技玉数表示器29は前枠6に直接取り付けてもよいが、玉が払い出される通常のパチンコ機の前面側に設けられた上皿や下皿のように、前枠6に対して回動可能な態様で設けるようにしてもよい。この点は、表示器54についても同様である。払出制御基板17の払出制御部171は遊技玉数表示器29に遊技者が現在所有している遊技玉数を表示する。   In addition to the payout control board 17, the front frame 6 (game frame) is provided with a relay board 14, a launch control board 31, a launch motor 18, and a game ball number display 29. The game ball number indicator 29 may be directly attached to the front frame 6, but it may be attached to the front frame 6 like an upper plate or a lower plate provided on the front side of a normal pachinko machine from which balls are paid out. You may make it provide in the aspect which can be rotated. The same applies to the display 54. The payout control unit 171 of the payout control board 17 displays the number of game balls currently owned by the player on the game ball number display 29.

払出制御基板17から発射制御基板31へ、発射制御信号と発射許可信号とが出力される。それを受けた発射制御基板31は、発射モータ18を励磁するための信号を出力する。これにより、パチンコ玉が遊技領域27へ弾発発射される状態となる。発射制御基板31は、遊技者が打球操作ハンドル25に触れていることを検出するタッチリングの入力信号が入力されているときに発射モータ励磁出力を発し、発射モータ18を駆動させる。   A firing control signal and a firing permission signal are output from the dispensing control board 17 to the firing control board 31. Upon receiving this, the launch control board 31 outputs a signal for exciting the launch motor 18. Thereby, the pachinko ball is in a state where it is bullet-launched into the game area 27. The firing control board 31 emits a firing motor excitation output to drive the firing motor 18 when a touch ring input signal for detecting that the player is touching the hitting ball operating handle 25 is input.

前枠6(遊技枠)には、表示器54が設けられている。表示器54は、中継基板14を介してカードユニット3の表示制御部350からの表示データ(表示制御信号)を受信する。さらに、表示器54は、中継基板14を介して演出制御基板15からの表示データ(表示制御信号)を受信する。   A display 54 is provided in the front frame 6 (game frame). The display 54 receives display data (display control signal) from the display control unit 350 of the card unit 3 via the relay board 14. Further, the display unit 54 receives display data (display control signal) from the effect control board 15 via the relay board 14.

中継基板14には演出制御基板15および表示制御部350のうち一方からの表示制御信号を表示器54へ出力して表示器54に演出制御基板15または表示制御部350からの表示制御信号に基づく画像を表示するための切換回路141が搭載されている。   The relay board 14 outputs a display control signal from one of the effect control board 15 and the display control unit 350 to the display 54 and outputs the display control signal to the display 54 based on the display control signal from the effect control board 15 or the display control unit 350. A switching circuit 141 for displaying an image is mounted.

なお、本実施の形態では、パチンコ機2側の表示器54がCU側で制御されるように構成されているが、これに代えて、パチンコ機2側に表示器54を表示制御するための表示制御用基板を設けてもよい。この場合、表示制御用基板は、払出制御部171の指令に基づいて表示器54を表示制御する。   In this embodiment, the display 54 on the pachinko machine 2 side is configured to be controlled on the CU side. Instead, the display 54 is controlled to be displayed on the pachinko machine 2 side. A display control substrate may be provided. In this case, the display control board controls display of the display 54 based on a command from the payout control unit 171.

RAMクリアスイッチ293は、P台2のRAMに記憶している遊技台情報や遊技情報を消去するためのスイッチであり、P台がエラー状態となった後当該スイッチを店員が操作することで初期状態に戻すことが可能となる。このRAMクリアスイッチ293は、たとえばカードが排出された後に店員により操作される。   The RAM clear switch 293 is a switch for erasing game table information and game information stored in the RAM of the P table 2, and after the P table enters an error state, the store clerk operates the switch to initialize It becomes possible to return to the state. The RAM clear switch 293 is operated by a store clerk after the card is discharged, for example.

<パチンコ玉の循環経路>
ここでは、図1および図2を参照して、パチンコ機2におけるパチンコ玉の循環経路を概説する。
<Pachinko ball circulation route>
Here, the circulation path of the pachinko balls in the pachinko machine 2 will be outlined with reference to FIG. 1 and FIG.

遊技者が打球操作ハンドル25を操作すると、発射モータ18が駆動する。これにより、発射位置にまで供給されてきた1個のパチンコ玉が打球ハンマーにより弾発されてそのパチンコ玉が遊技領域27に打込まれる。   When the player operates the hitting operation handle 25, the firing motor 18 is driven. As a result, one pachinko ball that has been supplied to the launch position is shot by the hitting hammer and the pachinko ball is driven into the game area 27.

遊技玉の発射検出は、玉上げスイッチ(上)41aがオンからオフに変化したことにより検出される。この検出は、払出制御部171が設けられている払出制御基板17(図2参照)でのポート入力により検知され、その検知に基づいて、払出制御部171が、遊技玉数を「1」減算する。   The detection of the play of the game ball is detected when the ball raising switch (upper) 41a is changed from on to off. This detection is detected by a port input on the payout control board 17 (see FIG. 2) on which the payout control unit 171 is provided. Based on the detection, the payout control unit 171 subtracts “1” from the number of game balls. To do.

遊技領域27に打込まれた玉のうち、アウト口154(図1参照)に進入したアウト玉は、アウト玉流下経路を流下し、その途中に設けられたアウト玉検出スイッチ701によって検出される。ファール玉は、ファール玉戻り経路を通って流下し、その途中に設けられたファール玉検出スイッチ33によって検出される。   Out of balls that have been driven into the game area 27, the out balls that have entered the out port 154 (see FIG. 1) flow down the out ball flow path and are detected by an out ball detection switch 701 provided in the middle. . The foul balls flow down through the foul ball return path and are detected by a foul ball detection switch 33 provided in the middle of the foul ball.

入賞口や可変入賞球装置に入賞したすべての入賞玉は、遊技機背面で集められて回収玉通過経路に誘導される。同様に、アウト玉およびファール玉も回収玉通過経路に誘導される。回収玉通過経路には発射玉検出スイッチ903が設けられている。このため、入賞玉、アウト玉、およびファール玉のすべてが発射玉検出スイッチ903によって検出される。つまり、発射玉検出スイッチ903は、弾発されたパチンコ玉のすべてを検出するスイッチである。このスイッチの検出数と、発射モータ18により弾発されたパチンコ玉の弾発数とが等しくなったときに、打込まれたパチンコ玉がすべて回収されたと判定できる。   All winning balls that have won the winning opening and the variable winning ball device are collected on the back of the gaming machine and guided to the collection ball passing path. Similarly, out balls and foul balls are also guided to the collection ball passing path. A firing ball detection switch 903 is provided in the collection ball passage route. For this reason, the winning ball, the out ball, and the foul ball are all detected by the firing ball detection switch 903. That is, the fired ball detection switch 903 is a switch that detects all of the bullets that have been bulleted. When the number detected by the switch and the number of shots of the pachinko balls shot by the firing motor 18 become equal, it can be determined that all the pachinko balls that have been driven are collected.

そこで、本実施の形態では、発射玉検出スイッチ903の検出数と弾発数との差を演算しており、この差数が0でないときには、遊技領域27に打込まれた玉の回収が済んでいないと判定している。この判定をすることによって、遊技領域27を転動中であるか、遊技領域の釘等の間に引っ掛かって落下していないような浮遊玉が存在していないかどうかを判断できる。   Therefore, in the present embodiment, the difference between the number of shots detected by the shot ball detection switch 903 and the number of bullets is calculated. When this difference is not zero, the balls that have been driven into the game area 27 have not been collected. It is determined that it is not. By making this determination, it can be determined whether the game area 27 is rolling, or whether there is a floating ball that does not fall due to being caught between nails or the like in the game area.

<表示器(タッチパネル)の表示制御>
図3は、遊技玉数表示器29および表示器54の表示制御を説明するためのブロック図である。この図3では、図2に示したCU3およびP台2の各種構成のうち、遊技玉数表示器29および表示器54の表示制御に関わる主要な構成のみを図示している。
<Display control of touch panel>
FIG. 3 is a block diagram for explaining display control of the game ball number display 29 and the display 54. FIG. 3 shows only the main components related to the display control of the game ball number display 29 and the display unit 54 among the various configurations of the CU 3 and the P stand 2 shown in FIG.

主制御基板16に搭載されている主制御部161は、遊技制御に伴い変化する各種の遊技情報を払出制御基板17の払出制御部171へ送信する。払出制御部171は、主制御部161から送信されてくる遊技情報に基づいて玉数情報等をCU制御部323へ送信するとともに、遊技玉数表示器29を表示制御する。その結果、遊技玉数表示器29には、遊技者が現在所有している遊技玉数が表示され、玉の発射あるいは計数操作に基づいて遊技玉数の表示が減算更新され、入賞の発生あるいは貸玉操作等に基づいて遊技玉数の表示が加算更新される。   The main control unit 161 mounted on the main control board 16 transmits various types of game information that change with game control to the payout control part 171 of the payout control board 17. The payout control unit 171 transmits ball number information and the like to the CU control unit 323 based on the game information transmitted from the main control unit 161, and controls display of the game ball number display 29. As a result, the number of game balls currently owned by the player is displayed on the game ball number display 29, and the display of the number of game balls is subtracted and updated based on the ball launch or counting operation, The display of the number of game balls is added and updated on the basis of a ball rental operation or the like.

CU制御部323は、払出制御部171から送信されてくる玉数情報等に基づいて自ら記憶している遊技玉数等の遊技情報を更新する。また、CU制御部323はカード残額や遊技者の持玉を記憶しており、P台2側の表示器54にそれら記憶している遊技情報に基づいた表示をするための情報を表示制御部350へ送信する。表示制御部350は、その情報に基づいた表示制御信号をP台2側の中継基板14へ送信する。   The CU control unit 323 updates the game information such as the number of game balls stored by itself based on the number of balls information transmitted from the payout control unit 171. Further, the CU control unit 323 stores the remaining amount of the card and the player's possession ball, and the display control unit displays information for display based on the stored game information on the display 54 on the P table 2 side. To 350. The display control unit 350 transmits a display control signal based on the information to the relay board 14 on the P table 2 side.

一方、中継基板14には、演出制御基板15の演出制御部151からの表示制御信号も入力される。演出制御部151は、主制御部161から受信する各種の可変表示コマンドに基づいて可変表示装置278を表示制御するための表示制御信号を可変表示装置278へ送信するとともに、表示器54を表示制御するための表示制御信号を中継基板14へも送信する。   On the other hand, a display control signal from the effect control unit 151 of the effect control board 15 is also input to the relay board 14. The effect control unit 151 transmits a display control signal for display control of the variable display device 278 based on various variable display commands received from the main control unit 161 to the variable display device 278 and controls the display 54. A display control signal for transmission is also transmitted to the relay board 14.

中継基板14には、通常、CU3の表示制御部350側のみから表示制御信号が送信されており、演出制御部151からは表示制御信号は送信されない。その結果、通常は、表示器54にはCU3の表示制御部350からの表示制御信号に基づいた持点やカード残額などの情報が表示される。ところが、演出制御部151は、主制御部161から送信されてくるコマンドに基づいて遊技機の遊技状態の変化を検出すると、その遊技状態の変化に応じた表示制御信号を中継基板14へ送信する。   Usually, the display control signal is transmitted to the relay board 14 only from the display control unit 350 side of the CU 3, and the display control signal is not transmitted from the effect control unit 151. As a result, normally, the display unit 54 displays information such as points and card balance based on the display control signal from the display control unit 350 of the CU 3. However, when the effect control unit 151 detects a change in the gaming state of the gaming machine based on the command transmitted from the main control unit 161, it transmits a display control signal corresponding to the change in the gaming state to the relay board 14. .

切換回路141は、演出制御部151からの表示制御信号の入力があると、表示制御部350から入力される表示制御信号ではなく、演出制御部151から入力される表示制御信号を表示器54へ送信するように回路を切換える。その結果、表示器54には通常時はCU3側の表示制御に基づいた持点等の表示がなされ、たとえば、可変表示装置278に大当り表示がなされるなどして遊技状態が変化すると、表示器54の表示が大当り表示などの可変表示装置278の表示と連動するものに切換えられる。また、その後、演出制御部151から中継基板14への表示制御信号の送信が停止すると、切換回路141は、信号の入力元を切換え元に戻す。その結果、表示器54には、再び、CU3側の表示制御に基づいた情報が表示される。   When the display control signal is input from the effect control unit 151, the switching circuit 141 receives the display control signal input from the effect control unit 151 instead of the display control signal input from the display control unit 350 to the display unit 54. Switch the circuit to transmit. As a result, the display 54 normally displays a score based on the display control on the CU 3 side. For example, when the game state changes due to a big hit display on the variable display device 278, the display The display of 54 is switched to one that interlocks with the display of the variable display device 278 such as a jackpot display. After that, when transmission of the display control signal from the effect control unit 151 to the relay board 14 is stopped, the switching circuit 141 returns the signal input source to the switching source. As a result, information based on the display control on the CU 3 side is displayed again on the display unit 54.

つまり、上記の例は、切換回路141は、演出制御部151および表示制御部350のうち、演出制御部151から入力される表示制御信号を優先して表示器54へ送信する構成である。通常時は表示制御部350のみから表示制御信号が切換回路141へと入力されるので、表示器54にはCU3側の表示制御に基づいた情報が表示され、大当り発生などの切換条件が成立して演出制御部151から表示制御信号が入力されると、その表示制御信号が優先されて表示器54へ送信され、表示器54の表示が切換えられる。   That is, in the above example, the switching circuit 141 has a configuration in which, among the effect control unit 151 and the display control unit 350, the display control signal input from the effect control unit 151 is preferentially transmitted to the display unit 54. Since the display control signal is input to the switching circuit 141 only from the display control unit 350 in normal times, information based on the display control on the CU3 side is displayed on the display unit 54, and a switching condition such as occurrence of a big hit is established. When the display control signal is input from the effect control unit 151, the display control signal is prioritized and transmitted to the display 54, and the display on the display 54 is switched.

しかしながら、これに代えて、切換回路141は、演出制御部151および表示制御部350のうち、表示制御部350から入力される表示制御信号を優先して表示器54へ送信する構成を採用してもよい。   However, instead of this, the switching circuit 141 adopts a configuration in which the display control signal input from the display control unit 350 is preferentially transmitted to the display unit 54 among the effect control unit 151 and the display control unit 350. Also good.

すなわち、切換回路141は、通常時は演出制御部151から常時受信する表示制御信号に基づいて表示器54に可変表示装置278の表示と連動する演出表示を行ない、遊技点や持点が残り少なくなどの所定の切換条件が成立してCU3側からその旨を表示するための表示制御信号が入力されると、信号の入力元を演出制御部151から表示制御部359に切換えることにより、表示器54が遊技演出画面から遊技点や持点が残り少ない旨等を報知する画面に変化するようにしてもよい。   That is, the switching circuit 141 performs an effect display that is linked to the display of the variable display device 278 on the display 54 based on a display control signal that is always received from the effect control unit 151 at a normal time, and there are few remaining game points and points. When a display control signal for displaying that fact is input from the CU 3 side when the predetermined switching condition is established, the signal input source is switched from the effect control unit 151 to the display control unit 359, whereby the display 54 However, the game effect screen may change to a screen for notifying that there are few game points or points remaining.

本実施の形態では、遊技玉数を表示する遊技玉数表示器29の表示制御はCU3ではなく、遊技玉数の変動に直接的に関わるP台2によって行なわれるため、遊技玉数が遊技で使用されて減算され、あるいは遊技によって加算された場合に、その更新後の遊技玉数を即座に遊技玉数表示器29に反映させることができる。   In the present embodiment, the display control of the game ball number display 29 for displaying the number of game balls is not performed by the CU 3 but by the P stand 2 directly related to the fluctuation of the game ball number. When used and subtracted or added by game, the updated number of game balls can be immediately reflected on the game ball number display 29.

仮に、遊技玉数表示器29の表示制御をCU3が行なうものとした場合には、P台2からCU3に対して送信する遊技玉数の情報に基づいてCU3から遊技玉数表示器29へと表示制御信号が送られるものとなる、しかし、その場合、CU3とP台2との通信状況等によって、実際には遊技玉数が変化しているものの、その変化が遊技玉数表示器29にすぐに反映されないものとなるという不都合が生じるおそれがある。本実施の形態によれば、このような不都合が生じることを防止できる。   If the display control of the game ball number display 29 is performed by the CU 3, from the CU 3 to the game ball number display 29 based on the information on the number of game balls transmitted from the P stand 2 to the CU 3. A display control signal is sent. However, in this case, the number of game balls actually changes depending on the communication status between the CU 3 and the P stand 2, but the change is displayed on the game ball number display 29. There is a risk of inconvenience that it will not be reflected immediately. According to the present embodiment, such inconvenience can be prevented.

一方、表示器54はCU3側で表示制御するために、遊技玉数表示器29を表示制御するP台2がさらに表示器54をも表示制御する場合と比較して、P台2の表示制御負担を軽減できる。   On the other hand, since the display 54 controls the display on the CU3 side, the display control of the P stand 2 is compared with the case where the P stand 2 that controls the display of the game ball number display 29 further controls the display 54. The burden can be reduced.

ここで、表示器54の表示を切り替える具体例を挙げる。たとえば、通常時は表示器(タッチパネル)54にCU3の表示制御部350の表示制御に基づいたカード残額等の表示をし、大当り発生等の遊技状態の変化に応じて表示器54の表示を可変表示装置278の表示と連動したものに切換える例を挙げることができる。   Here, a specific example of switching the display of the display unit 54 will be given. For example, during normal times, the remaining amount of the card is displayed on the display (touch panel) 54 based on the display control of the display control unit 350 of the CU 3, and the display on the display 54 can be changed according to the change in the gaming state such as a big hit. An example can be given in which the display is switched to one linked to the display of the display device 278.

あるいは、通常時は表示器(タッチパネル)54に可変表示装置278の表示と連動した表示(演出制御部151の表示制御に基づく)をし、遊技点の減少に応じて表示器54に遊技点が残り少ないことを報知する画像を表示する例を挙げることができる。   Alternatively, the display (touch panel) 54 normally displays in conjunction with the display of the variable display device 278 (based on the display control of the effect control unit 151), and game points are displayed on the display 54 according to the decrease in game points. The example which displays the image which alert | reports that there are few remaining can be given.

なお、演出制御部151から中継基板14に送信される表示制御信号で表示器54が表示動作する場合には、中継基板14は単に演出制御部151から送信されてきた信号を中継してそのまま表示器54に送信する機能を備えておけばよい。これに対して、表示器54を表示動作させるための表示制御信号の信号形態と、演出制御部151から送信される表示制御信号との信号形態とが異なる場合も考えられ、この場合には、中継基板14に切換回路141に加えて信号形態を変換する変換回路を設ければよい。   In addition, when the display device 54 performs a display operation with a display control signal transmitted from the effect control unit 151 to the relay board 14, the relay board 14 simply relays the signal transmitted from the effect control unit 151 and displays it as it is. It suffices to have a function of transmitting to the device 54. On the other hand, there may be a case where the signal form of the display control signal for causing the display device 54 to perform display operation and the signal form of the display control signal transmitted from the effect control unit 151 are different. In addition to the switching circuit 141, the relay substrate 14 may be provided with a conversion circuit that converts the signal form.

さらに、切換え条件成立時に演出制御部151から送信される表示制御信号によって表示器54に表示される演出画像と、同じく演出制御部151から送信される表示制御信号によって可変表示装置278に表示される画像とが同じものであってもよく、異なるものであってもよい。異なるものとした場合には、演出制御部151には可変表示装置278用の画像データと表示器54用の画像データとの2種類の画像データを記憶させておく必要がある。   Further, when the switching condition is established, the display image displayed on the display unit 54 by the display control signal transmitted from the effect control unit 151 and the display control signal transmitted from the effect control unit 151 are displayed on the variable display device 278. The images may be the same or different. If they are different, it is necessary to store two types of image data, that is, image data for the variable display device 278 and image data for the display 54 in the effect control unit 151.

また、遊技玉数表示器29は、主制御部161が表示制御する構成としてもよく、あるいは、主制御部161から演出制御部151へ遊技玉数に関するコマンドを送信することによって演出制御部151が表示制御する構成としてもよい。   The game ball number display 29 may be configured to be controlled by the main control unit 161, or the effect control unit 151 transmits a command related to the number of game balls from the main control unit 161 to the effect control unit 151. It is good also as a structure which controls display.

以上、説明した本実施の形態によれば、P台2の表示器54には可変表示に関する演出情報を表示可能であるために、可変表示装置278と併せて演出効果の高い遊技を提供できる。しかも、表示器54にCU3側から送られてくる遊技情報を表示する条件が成立したときには、CU3によってその遊技情報を表示器54に表示するための表示制御が実行されるため、その条件の成立の際には表示器54を遊技演出ばかりでなくCU3による遊技情報の表示にも活用でき、しかも遊技情報の表示に伴うP台2の表示制御負担も軽減できる。   As described above, according to the present embodiment described above, since the display information of the P table 2 can display the effect information related to the variable display, it is possible to provide a game with a high effect in effect together with the variable display device 278. In addition, when a condition for displaying game information sent from the CU 3 side is established on the display unit 54, display control for displaying the game information on the display unit 54 is executed by the CU 3, so the condition is established. In this case, the display 54 can be used not only for game effects but also for display of game information by the CU 3, and the display control burden of the P table 2 accompanying display of game information can be reduced.

<カードユニットおよびパチンコ機に発生した異常の通知処理>
図4は、相互認証の結果、異常を検知した場合の通知処理を説明するための説明図である。
<Notification processing of abnormality that occurred in card unit and pachinko machine>
FIG. 4 is an explanatory diagram for explaining notification processing when an abnormality is detected as a result of mutual authentication.

図4を参照して、CU制御部323、セキュリティ基板325、払出制御部171、あるいは主制御基板16において異常が発生した場合には、図4の矢印で示す方向に対して通知が行なわれる。ここで言う異常には、CU制御部323、セキュリティ基板325、払出制御部171、あるいは主制御基板16を、不正に製造された他のものに差し替えるとか、あるいはノイズ等により誤作動したり故障したりした場合や、断線等によるオフライン状態などが含まれる。図4に示される鍵管理サーバ800は、カードユニット3内部の電子部品のシリアルID(SIDとも言う)毎に対応付けて、CU制御部323のSIDと認証鍵とを記憶している鍵の管理サーバである。また、鍵管理サーバ800は、主制御基板16と互いに通信可能なサーバである。鍵管理サーバ800は、全国の複数のホールのホールサーバ801と通信可能に接続されている。   Referring to FIG. 4, when an abnormality occurs in CU control unit 323, security board 325, payout control unit 171, or main control board 16, notification is given in the direction indicated by the arrow in FIG. 4. For the abnormality mentioned here, the CU control unit 323, the security board 325, the payout control unit 171, or the main control board 16 is replaced with another illegally manufactured product, or malfunction or failure occurs due to noise or the like. Or offline status due to disconnection or the like. The key management server 800 shown in FIG. 4 manages a key that stores the SID and authentication key of the CU control unit 323 in association with each serial ID (also referred to as SID) of the electronic component in the card unit 3. It is a server. The key management server 800 is a server that can communicate with the main control board 16. Key management server 800 is communicably connected to hall servers 801 of a plurality of halls nationwide.

まず、カードユニット3のセキュリティ基板325により異常が発生した場合には、前述したCU制御部323とセキュリティ基板325との間で行なわれる相互認証の結果、CU制御部323が異常を検知する。この相互認証では、後述するシリアルID認証と基板認証鍵認証の他に、セッション鍵による認証も含まれている。   First, when an abnormality occurs in the security substrate 325 of the card unit 3, the CU control unit 323 detects an abnormality as a result of the mutual authentication performed between the CU control unit 323 and the security substrate 325 described above. This mutual authentication includes authentication by a session key in addition to serial ID authentication and board authentication key authentication described later.

シリアルIDは、セキュリティ基板325のシリアルID(基板シリアルID)であり、セキュリティ基板325のSC325bを製造する段階において、該SC325bのROMに記憶されている。また、CU3が遊技場に搬入された後、ホールサーバ801に接続されたときに、鍵管理センタの鍵管理サーバ800からホールサーバ801経由で基板シリアルIDがダウンロードされてCU制御部323に記憶される。   The serial ID is a serial ID (substrate serial ID) of the security board 325, and is stored in the ROM of the SC 325b when the SC 325b of the security board 325 is manufactured. Further, when the CU 3 is brought into the amusement hall and connected to the hall server 801, the board serial ID is downloaded from the key management server 800 of the key management center via the hall server 801 and stored in the CU control unit 323. The

CU制御部323がセキュリティ基板325の異常を検知した場合、CU制御部323はホールサーバ801にその旨を通知するとともに、カードユニット3の表示制御部350に異常報知コマンドを送信する。CU制御部323は、表示器312に異常発生した旨の表示を行なう制御を表示制御部350に行なわせるとともに、異常報知ランプ(図示せず)を点灯または点滅させて異常報知を行なう。さらに、CU制御部323は、外部通信部からホール用管理コンピュータへ異常が発生した旨の信号を送信する。   When the CU control unit 323 detects an abnormality in the security board 325, the CU control unit 323 notifies the hall server 801 to that effect and transmits an abnormality notification command to the display control unit 350 of the card unit 3. The CU control unit 323 controls the display 312 to display that an abnormality has occurred and causes the display control unit 350 to perform an abnormality notification by lighting or blinking an abnormality notification lamp (not shown). Further, the CU control unit 323 transmits a signal indicating that an abnormality has occurred from the external communication unit to the hall management computer.

カードユニット3のCU制御部323により異常が発生した場合には、前述した相互認証によりセキュリティ基板325が異常発生を検知し、その旨を示す信号(異常通知信号)を払出制御部171に通知する。払出制御部171はそれを受けて異常発生した旨を主制御基板16へ通知する。主制御基板16は、前述と同様に、異常報知ランプを作動させる制御を行なうとともにホール用管理コンピュータへ異常が発生した旨の信号を送信する。   When an abnormality occurs in the CU control unit 323 of the card unit 3, the security board 325 detects the occurrence of the abnormality by the above-described mutual authentication, and notifies the payout control unit 171 of a signal (abnormality notification signal) indicating that fact. . In response, the payout control unit 171 notifies the main control board 16 that an abnormality has occurred. As described above, the main control board 16 performs control to operate the abnormality notification lamp and transmits a signal indicating that an abnormality has occurred to the hall management computer.

セキュリティ基板325が払出制御部171の異常を検知した場合には、その旨をCU制御部323へ通知し、CU制御部323がその旨をホールサーバ801へ通知する。   When the security board 325 detects an abnormality of the payout control unit 171, the CU control unit 323 is notified of this, and the CU control unit 323 notifies the hall server 801 accordingly.

このように、セキュリティ基板325は、CU制御部323の異常を検知したときにはその旨を払出制御部171へ通知する一方、払出制御部171の異常を検知したときには、その旨をCU制御部323へ通知するものであり、セキュリティ基板325による異常発生の通知先がそれぞれ異なる。その理由は、異常が発生した制御部に対して異常が発生した旨を通知しても、何ら異常報知のための制御が行なわれず、異常防止対策にはならないためである。しかも、セキュリティ基板325は、通信制御の機能は有しているものの異常報知制御の機能は有していない。よって、自ら異常報知の制御が行なえず、そのために必ず異常が発生した制御部とは反対側の制御部の方向に異常発生した旨の通知を行なうのである。なお、セキュリティ基板325からの異常発生の通知を受けた払出制御部171は、その旨を主制御基板16へ通知する。主制御基板16はその通知を受けて、前述と同様の異常報知のための制御を行なう。   As described above, when the security board 325 detects an abnormality of the CU control unit 323, the security board 325 notifies the payout control unit 171 of the fact. When detecting an abnormality of the payout control unit 171, the security board 325 notifies the CU control unit 323 of the fact. The notification destination of abnormality occurrence by the security board 325 is different. The reason for this is that even if the control unit in which an abnormality has occurred is notified that an abnormality has occurred, no abnormality notification control is performed and no abnormality prevention measure is provided. In addition, the security board 325 has a communication control function but does not have an abnormality notification control function. Therefore, the abnormality notification cannot be controlled by itself, and for this reason, notification is made that an abnormality has occurred in the direction of the control unit opposite to the control unit where the abnormality has occurred. The payout control unit 171 that has received the notification of the occurrence of the abnormality from the security board 325 notifies the main control board 16 to that effect. Upon receiving the notification, the main control board 16 performs the same control for abnormality notification as described above.

払出制御部171に異常が発生した場合には、その旨がセキュリティ基板325により検知され、異常が発生した旨がCU制御部323へ通知され、CU制御部323は前述した異常報知制御を行なうとともにホールサーバ801へ異常が発生した旨を通知する。また、払出制御部171に異常が発生した場合には、主制御基板16が異常発生した旨を検知し、その通知を受けて前述した異常発生報知用の制御を行なう。   When an abnormality occurs in the payout control unit 171, the security board 325 detects that fact and notifies the CU control unit 323 that the abnormality has occurred. The CU control unit 323 performs the above-described abnormality notification control. The hall server 801 is notified that an abnormality has occurred. When an abnormality occurs in the payout control unit 171, it is detected that an abnormality has occurred in the main control board 16, and upon receiving the notification, the above-described abnormality notification control is performed.

払出制御基板17は、前述したように、セキュリティ基板325に異常が発生した場合にはそれを検知して主制御基板16へ通知する一方、主制御基板16に異常が発生した場合にはそれを検知してセキュリティ基板325へ異常が発生した旨を通知する。この払出制御基板17も、前述したセキュリティ基板325と同様に、異常が発生した旨を検知した場合にはその異常が発生した制御部に対して通知を行なっても異常報知用の制御が行なわれないために、異常が発生した制御部とは反対側の制御部あるいは制御基板に通知を行なう。なお、セキュリティ基板325と払出制御基板17とは、異常報知ランプや異常報知用表示器等の異常報知手段が接続されておらず、異常を検知しても自ら異常報知制御する機能を有していない。なお、上記の説明では、セキュリティ基板325と払出制御基板17とは、異常報知ランプや異常報知用表示器等の異常報知手段が接続されておらず、異常を検知しても自ら異常報知制御する機能を有していないこととして説明したが、セキュリティ基板325と払出制御基板17とに異常報知の機能を設け、直接異常を発生した旨を通知させてもよい。   As described above, the payout control board 17 detects and notifies the abnormality to the main control board 16 when an abnormality occurs in the security board 325, while notifies the abnormality to the main control board 16. It detects and notifies the security board 325 that an abnormality has occurred. As with the security board 325 described above, the payout control board 17 is also controlled for anomaly notification even when a notice is given to the control unit in which an abnormality has occurred when it is detected that an abnormality has occurred. Therefore, a notification is sent to the control unit or control board on the opposite side of the control unit where the abnormality has occurred. The security board 325 and the payout control board 17 are not connected to an abnormality notification means such as an abnormality notification lamp or an abnormality notification display, and have a function of performing abnormality notification control themselves even when an abnormality is detected. Absent. In the above description, the security board 325 and the payout control board 17 are not connected to an abnormality notification means such as an abnormality notification lamp or an abnormality notification display, and perform abnormality notification control themselves even when an abnormality is detected. Although described as having no function, the security board 325 and the payout control board 17 may be provided with an abnormality notification function to directly notify that an abnormality has occurred.

<鍵管理サーバから通信制御ICまでの間の通信に使用される暗号鍵>
次に、鍵管理サーバから通信制御ICまでの間の通信に使用される暗号鍵について説明する。図5は、鍵管理サーバから通信制御IC325aまでの間の通信に使用される暗号鍵を説明するための図である。まず、鍵管理サーバから通信制御IC325aまでの間の通信に使用される暗号鍵には、主に基板出荷鍵、基板初期鍵、基板認証鍵、本認証鍵、仮認証鍵、有効鍵(商用)、通信鍵1(セッション鍵)および通信鍵2(セッション鍵)がある。
<Encryption key used for communication between key management server and communication control IC>
Next, an encryption key used for communication between the key management server and the communication control IC will be described. FIG. 5 is a diagram for explaining an encryption key used for communication from the key management server to the communication control IC 325a. First, encryption keys used for communication between the key management server and the communication control IC 325a mainly include a board shipment key, a board initial key, a board authentication key, a main authentication key, a temporary authentication key, and an effective key (commercial). , Communication key 1 (session key) and communication key 2 (session key).

基板出荷鍵は、CU制御部−SCの間の通信に利用され、出荷以前での通信テスト電文の暗号にのみ使用される。基板初期鍵は、CU制御部−SCの通信に利用され、ホールサーバ801との最初の通信時にCU制御部323が受信し、CU制御部323のRAMに記憶される。SC325bは、製造時の埋め込み情報から基板初期鍵を生成してRAMに記憶する。基板初期鍵を用いた認証用通信(基板初期鍵モード)は限られた期間のみ許容(時限的運用)される。ここで、基板初期鍵モードは、前述したように、ホールサーバ801と少なくとも1回は正常に通信して、基板初期鍵を取得する必要があるため、セキュリティ性は担保されている。   The board shipment key is used for communication between the CU control unit and the SC, and is used only for encryption of a communication test message before shipment. The board initial key is used for communication between the CU control unit and the SC, and is received by the CU control unit 323 at the first communication with the hall server 801 and stored in the RAM of the CU control unit 323. The SC 325b generates a substrate initial key from the embedded information at the time of manufacture and stores it in the RAM. Authentication communication (substrate initial key mode) using the substrate initial key is permitted (timed operation) only for a limited period. Here, in the board initial key mode, as described above, it is necessary to communicate normally with the hall server 801 at least once to acquire the board initial key, and thus security is ensured.

ここで、「限られた期間」とは、たとえば、2日間という限定的期間である。このように、時限的運用を可能にすることによって、ホールにシステムを導入した段階ですぐに鍵管理サーバとの鍵交換ができない場合であっても、システムの導入直後からホールは営業を開始することが可能となる。なお、限定的期間としては、たとえば、毎朝9時〜17時までの間という具合に、1日の中での定めた期間を設定してもよい。   Here, the “limited period” is a limited period of two days, for example. In this way, by enabling timed operation, even if the key cannot be exchanged with the key management server immediately after the system is installed in the hall, the hall will start operating immediately after the system is installed. It becomes possible. In addition, as a limited period, you may set the period defined in one day, for example to every morning from 9:00 to 17:00.

なお、前述の基板初期鍵モードは、基板初期鍵を用いた認証用通信を限られた期間可能にする制限を設けているが、本発明はこれに限定されるものではなく、使用できる金額(カード残額、あるいは現金)を制限してもよい。あるいは、可変表示装置における図柄の変動回数が一定回数に達した場合にゲームを強制終了させて遊技機を不能動化状態に制御してもよい。または、大当たりの累積回数が一定回数に達した場合にゲームを強制終了させて遊技機を不能動化状態に制御してもよい。その他、現金を投入することによる遊技のみを許容してカード残額を使用した遊技ができないようにしてもよく、持玉を使用した遊技のみに制限するようにしてもよい。   The above-described board initial key mode has a restriction that enables authentication communication using the board initial key for a limited period of time, but the present invention is not limited to this, and the amount of money that can be used ( Card balance or cash) may be limited. Alternatively, when the number of symbol variations in the variable display device reaches a certain number, the game may be forcibly terminated and the gaming machine may be controlled to be disabled. Alternatively, when the cumulative number of jackpots reaches a certain number, the game may be forcibly terminated and the gaming machine may be controlled to be disabled. In addition, it may be possible to allow only a game by inserting cash and prevent a game using the remaining card amount, or to limit the game to a game using a holding ball.

基板認証鍵は、CU制御部−SCの間の通信に利用され、鍵管理サーバより基板セキュリティ情報の一部として受信する暗号鍵である。基板認証鍵を用いた認証用通信を行なうことで、基板初期鍵を用いた時限的運用から恒久的運用(通常運用)に通信モード(基板認証鍵モード)が切換わる。この基板認証鍵は、CU制御部のRAMとSCのRAMとに記憶される。   The board authentication key is an encryption key that is used for communication between the CU control unit and the SC and is received as part of the board security information from the key management server. By performing authentication communication using the board authentication key, the communication mode (board authentication key mode) is switched from the timed operation using the board initial key to the permanent operation (normal operation). This board authentication key is stored in the RAM of the CU control unit and the RAM of the SC.

基板初期鍵を用いた時限的運用および基板認証鍵を用いた恒久的運用のいずれについても、ホールサーバ801に記憶された有効鍵をCU制御部323が受信し、SC325bがその有効鍵を通信制御IC325aに対して設定することによりP台とCUとの間の通信が可能となることで実現される。   In both the timed operation using the board initial key and the permanent operation using the board authentication key, the CU control unit 323 receives the effective key stored in the hall server 801, and the SC 325b controls the communication of the effective key. By setting the IC 325a, communication between the P platform and the CU can be realized.

本認証鍵は、SC−通信制御ICの間の通信に利用され、鍵管理サーバから受信した更新情報から、SC325bにより生成されてSC325bのRAMに記憶されるとともに、通信制御IC325aにおいてもSC325bと同様に更新情報から生成されて通信制御IC325aのRAMに記憶される。なお、この本認証鍵は、鍵管理サーバなどから本認証鍵そのものを取得するようにしてもよい。また、鍵管理サーバなどから更新情報を受信することなくCU制御部323と通信制御IC325aとが自ら生成してもよい。さらに、鍵管理サーバなどから所定の第1データを取得するとともにCU制御部323と通信制御IC325aとが自ら所定の第2データを生成し、それら第1データと第2データとから本認証鍵を生成するようにしてもよい。   This authentication key is used for communication between the SC and the communication control IC, is generated by the SC 325b from the update information received from the key management server, and is stored in the RAM of the SC 325b. The communication control IC 325a is also similar to the SC 325b. Are generated from the update information and stored in the RAM of the communication control IC 325a. Note that this authentication key may be acquired from a key management server or the like. Further, the CU control unit 323 and the communication control IC 325a may generate themselves without receiving update information from a key management server or the like. In addition, the CU control unit 323 and the communication control IC 325a themselves generate predetermined second data by acquiring predetermined first data from a key management server or the like, and this authentication key is obtained from the first data and the second data. You may make it produce | generate.

仮認証鍵は、SC−通信制御ICの間の通信に利用され、本認証鍵が生成されるまでの間(又は設定された許容時間(たとえば2日)が経過するまでの間)、SC325bと通信制御IC325aとの間での暗号通信に使用される。この仮認証鍵による暗号通信(仮認証鍵モード)は限られた期間(たとえば2日)のみ許容(時限的運用)される。SC325bおよび通信制御IC325aは、製造段階から仮認証鍵をそれぞれのROMに記憶している。有効鍵(商用)は、ホールサーバ801との最初の通信時にCU制御部323経由でSC325bが受信し、通信制御IC325aに対して送信(設定)する鍵である。有効鍵が設定されることによってP台との通信が可能になる。なお、有効鍵は、通信制御IC325a活性化用のデータである。換言すると、有効鍵は、CUとP台との間の通信を許可するための許可情報である。   The temporary authentication key is used for communication between the SC and the communication control IC, and until the authentication key is generated (or until a set allowable time (for example, two days) elapses), the SC 325b and Used for encryption communication with the communication control IC 325a. The encrypted communication using the temporary authentication key (temporary authentication key mode) is allowed (timed operation) only for a limited period (eg, 2 days). SC 325b and communication control IC 325a store temporary authentication keys in their respective ROMs from the manufacturing stage. The valid key (commercial) is a key that is received by the SC 325b via the CU control unit 323 during the initial communication with the hall server 801 and transmitted (set) to the communication control IC 325a. Communication with P devices becomes possible by setting the effective key. The valid key is data for activating the communication control IC 325a. In other words, the valid key is permission information for permitting communication between the CU and the P platform.

通信鍵1(セッション鍵)は、CU制御部−SCの間の通信に利用され、対遊技機用の業務電文通信に用いられ、SC325bが何らかの変数を用いて、毎営業日作成している。該変数として、たとえば、カウンタ値(乱数)や日時情報などを用いてもよい。通信鍵2(セッション鍵)は、SC−通信制御ICの間の通信に利用され、対遊技機用の業務電文通信に用いられる。   The communication key 1 (session key) is used for communication between the CU control unit and the SC, is used for business message communication for gaming machines, and is created every business day by the SC 325b using some variable. For example, a counter value (random number) or date / time information may be used as the variable. The communication key 2 (session key) is used for communication between the SC and the communication control IC, and is used for business message communication for gaming machines.

なお、前述に説明した鍵は、鍵のデータがそれぞれの部分にそのまま埋込まれている構成であっても、鍵のデータを生成するための情報がそれぞれの部分に記憶されていて、該情報を利用いて鍵のデータを生成する構成であってもよい。   Note that even if the key described above has a configuration in which the key data is embedded in each part as it is, the information for generating the key data is stored in each part. The key data may be generated by using the key.

次に、暗号鍵の取得方法と、取得した暗号鍵を用いて暗号通信を行なう方法について説明する。まず、SC325bは、ホールサーバ801との最初の通信時にCU制御部323経由で有効鍵を取得する。SC325bは、取得した有効鍵を通信制御IC325aに対して送信(設定)することで、P台との通信が可能になる。CU制御部323はホールサーバ801との最初の通信時に基板初期鍵を受信し、CU制御部323のRAMに記憶される。このCU制御部323のRAM内の記憶エリアによって鍵を記憶する鍵記憶エリアが構成されている。SC325bは、製造時の埋め込み情報から基板初期鍵を生成してRAMに記憶する。このSC325bのRAM内の記憶エリアによって鍵を記憶する鍵記憶エリアが構成されている。SC325bは、取得した基板初期鍵を用いてCU制御部323と暗号認証を行ない、該基板初期鍵を用いて時限的にCU制御部323と暗号通信を行なう。   Next, a method for acquiring an encryption key and a method for performing encrypted communication using the acquired encryption key will be described. First, the SC 325b acquires an effective key via the CU control unit 323 at the time of initial communication with the hall server 801. The SC 325b transmits (sets) the acquired effective key to the communication control IC 325a, thereby enabling communication with the P units. The CU control unit 323 receives the board initial key during the first communication with the hall server 801 and stores it in the RAM of the CU control unit 323. The storage area in the RAM of the CU control unit 323 constitutes a key storage area for storing keys. The SC 325b generates a substrate initial key from the embedded information at the time of manufacture and stores it in the RAM. The storage area in the RAM of the SC 325b constitutes a key storage area for storing keys. The SC 325b performs cryptographic authentication with the CU control unit 323 using the acquired substrate initial key, and performs cryptographic communication with the CU control unit 323 in a timely manner using the substrate initial key.

また、電源投入時にCU制御部323から送られてきた接続要求を受信したホールサーバ801は、当該ホールサーバ801が設置されている遊技場を識別するための統一店舗コードをCU制御部323へ返信する。具体的には、ホールサーバ801のCPUの制御にしたがってホールサーバ801の入出力インターフェイスからCU制御部323へ統一店舗コードが送信される。   In addition, the hall server 801 that has received the connection request sent from the CU control unit 323 when the power is turned on returns a unified store code for identifying the game arcade where the hall server 801 is installed to the CU control unit 323. To do. Specifically, the unified store code is transmitted from the input / output interface of the hall server 801 to the CU control unit 323 under the control of the CPU of the hall server 801.

一方、CU制御部323とSC325bとの間では、両者に初期情報として記憶されている基板メーカコードを用いた認証が行なわれる。基板メーカコードとは、セキュリティ基板325を製造したメーカを特定するコードのことである。基板メーカコードを用いた認証に成功したことを条件として、基板接続要求と基板接続応答とのやり取りが行なわれる(図52参照)。CU制御部323からSC325bへ送信される基板接続要求の中に上記統一店舗コードが含まれており、基板接続要求を受信することによりSC325bが統一店舗コードを取得する。   On the other hand, authentication is performed between the CU control unit 323 and the SC 325b using the board manufacturer code stored as initial information in both. The board manufacturer code is a code that identifies the manufacturer that manufactured the security board 325. A board connection request and a board connection response are exchanged on the condition that the authentication using the board manufacturer code is successful (see FIG. 52). The unified store code is included in the board connection request transmitted from the CU control unit 323 to the SC 325b, and the SC 325b acquires the unified store code by receiving the board connection request.

次に、CU制御部323は、鍵管理サーバに対して基板セキュリティ情報を要求し、鍵管理サーバがホールサーバ801を介して送信してきた基板セキュリティ情報を受信することで、該基板セキュリティ情報に含まれる基板認証鍵を取得する。CU制御部は、取得した基板認証鍵を用いてSCと暗号認証を行ない、該基板認証鍵を用いてSCと暗号通信を行なう。なお、CU制御部323は、基板認証鍵を取得後すぐに基板初期鍵から基板認証鍵に鍵を変更するのではなく、後述するように遊技機が非稼動状態になっていることを条件にして鍵を変更する。   Next, the CU control unit 323 requests the board security information from the key management server and receives the board security information transmitted from the key management server via the hall server 801, so that the board security information is included in the board security information. Get the board authentication key. The CU control unit performs cryptographic authentication with the SC using the acquired board authentication key, and performs cryptographic communication with the SC using the board authentication key. Note that the CU control unit 323 does not change the key from the board initial key to the board authentication key immediately after obtaining the board authentication key, but on condition that the gaming machine is in a non-operating state as described later. Change the key.

この基板認証鍵は、鍵管理サーバなどから取得する代わりに、CU制御部323が自ら生成してもよく、また、鍵管理サーバなどから所定の第1データを取得するとともにCU制御部323が自ら所定の第2データを生成し、それら第1データと第2データとから基板認証鍵を生成するようにしてもよい。   The board authentication key may be generated by the CU control unit 323 itself instead of being acquired from the key management server or the like, and the CU control unit 323 itself acquires predetermined first data from the key management server or the like. Predetermined second data may be generated, and a board authentication key may be generated from the first data and the second data.

次に、SC325bは、記憶してある仮認証鍵を用いて通信制御IC325aと暗号通信を行なう。そして、SCは、基板認証鍵を用いてCU制御部と暗号通信を行なうことで鍵管理サーバから取得した更新情報を仮認証鍵で復号し、基板問合せ番号を照会する。SCは、照会した基板問合せ番号が一致した場合、更新情報から本認証鍵を生成し、生成した本認証鍵を用いて通信制御IC325aと暗号通信を行なう。なお、本認証鍵は、通信制御IC325aにおいても出荷時から記憶されているものではなく、SC325bと同様に更新情報から生成される。   Next, SC 325b performs cryptographic communication with communication control IC 325a using the stored temporary authentication key. Then, the SC decrypts the update information acquired from the key management server by performing cryptographic communication with the CU control unit using the board authentication key, and inquires about the board inquiry number. If the inquiry board inquiry number matches, the SC generates a main authentication key from the update information and performs cryptographic communication with the communication control IC 325a using the generated main authentication key. The authentication key is not stored in the communication control IC 325a from the time of shipment, and is generated from the update information in the same manner as the SC 325b.

次に、SCは、CU制御部に対して通信鍵1を通知し、以降のCU制御部との間の通信を通信鍵1を用いて行なうことで、遊技機との業務電文通信が可能となる。また、SCは、通信制御ICに対して有効鍵を設定することで、通信制御ICから通信鍵2の通知を受け、以降の通信制御ICとの間の通信を通信鍵2を用いて行なうことで、遊技機との業務電文通信が可能となる。   Next, the SC notifies the CU control unit of the communication key 1 and performs communication with the CU control unit using the communication key 1 to enable business message communication with the gaming machine. Become. In addition, the SC receives a notification of the communication key 2 from the communication control IC by setting an effective key for the communication control IC, and performs subsequent communication with the communication control IC using the communication key 2. Thus, business message communication with a gaming machine becomes possible.

<カードユニット側とパチンコ機側との送受信態様>
次に、図6は、カードユニット3側とパチンコ機2側とのそれぞれで記憶している各種データの内の主なものおよびその送受信態様を示す模式図である。図6を参照して、カードユニット3側(CU側)とパチンコ機2側(P台側)とのそれぞれで記憶している各種データの内の主なものおよびその送受信態様を説明する。
<Transmission / reception mode between card unit side and pachinko machine side>
Next, FIG. 6 is a schematic diagram showing main data among various data stored on the card unit 3 side and the pachinko machine 2 side, and its transmission / reception mode. With reference to FIG. 6, main ones of various data stored on the card unit 3 side (CU side) and the pachinko machine 2 side (P base side) and transmission / reception modes thereof will be described.

本実施の形態においては、P台2側において遊技玉数の変動を算出して現在の最新の遊技玉数を記憶・管理している。CU3側においても現在の遊技玉数の算出・記憶を行なっているが、その遊技玉数はP台2側から送信されてきた情報に基づいたものである。一方、持玉(カード持玉数)や貯玉数、カード残額(残額)は、CU3側において管理・記憶している。   In the present embodiment, the fluctuation of the number of game balls is calculated on the P stand 2 side, and the current latest game ball number is stored and managed. The current number of game balls is also calculated and stored on the CU 3 side, but the number of game balls is based on information transmitted from the P stand 2 side. On the other hand, the CU3 side manages and stores the number of possessed balls (the number of cards possessed), the number of stored balls, and the remaining card amount (remaining amount).

図6では、CU3側のCU制御部323に設けられているRAMの記憶データと、P台2側の払出制御基板17に搭載されているRAMの記憶データとを示している。まず、P台2(パチンコ機2)とCU3(カードユニット3)とが遊技場に設置されて初めて電気的に接続された状態で電源を立上げたときに、P台2側の払出制御基板17は、主制御基板16からメインチップID(主制御チップID)を送信してもらい、そのメインチップIDをCU3側に送信するとともに、払出制御基板17自体が記憶している払出チップID(払出制御チップID)をCU3側へ送信する。   FIG. 6 shows RAM storage data provided in the CU control unit 323 on the CU 3 side and RAM storage data mounted on the payout control board 17 on the P base 2 side. First, when the power supply is turned on for the first time when the P stand 2 (pachinko machine 2) and the CU 3 (card unit 3) are electrically connected for the first time after being installed in the game hall, the payout control board on the P stand 2 side. 17 has a main chip ID (main control chip ID) transmitted from the main control board 16, transmits the main chip ID to the CU3 side, and also issues a payout chip ID (payout) stored in the payout control board 17 itself. Control chip ID) is transmitted to the CU3 side.

CU3側では、それら送信されてきたメインチップIDと払出チップIDとを記憶する。次に、接続時刻すなわちCU3側とP台2側とが接続されて通信が開始された時刻のデータがCU3側からP台2側へ送信され、P台2側ではその送信されてきた接続時刻を記憶する。   On the CU3 side, the transmitted main chip ID and payout chip ID are stored. Next, data of the connection time, that is, the time at which communication is started after the CU 3 side and the P base 2 side are connected is transmitted from the CU 3 side to the P base 2 side, and the transmitted connection time is transmitted on the P base 2 side. Remember.

この状態で、メインチップID、払出チップIDおよびCU3側で識別された接続時刻の3つの情報がCU3側とP台2側とに記憶されることとなる。それ以降の電源投入時においては、P台2側からCU3側へそれら3つの情報、すなわち、メインチップIDと払出チップIDと前回の接続時刻データとが送信される。   In this state, three pieces of information of the main chip ID, the payout chip ID, and the connection time identified on the CU3 side are stored on the CU3 side and the P stand 2 side. When the power is turned on thereafter, the three pieces of information, that is, the main chip ID, the payout chip ID, and the previous connection time data are transmitted from the P stand 2 side to the CU 3 side.

CU3側では、それら送信されてきたデータと既に記憶しているデータとを照合し、前回と同じP台2が接続されているか否かを判別する。なお、接続時刻のデータは、電源が立上げられる度にCU3側とP台2側との通信が開始された新たな接続時刻データがCU3側からP台2側へ送信されてその新たな接続時刻データをP台2側において記憶することとなる。   On the CU 3 side, the transmitted data is collated with the data already stored, and it is determined whether or not the same P base 2 is connected as in the previous time. As for the connection time data, every time the power is turned on, new connection time data in which communication between the CU 3 side and the P base 2 side is started is transmitted from the CU 3 side to the P base 2 side. Time data is stored on the P table 2 side.

CUおよびP台の双方は、電文に「通番」を付加して送信する。また、CUおよびP台の双方は、相手から受信した「通番」を記憶する。「通番」には、「通常通番」、「加算通番」および「計数通番」の3種類がある。「通常通番」は、電文のシーケンス番号を示す。「通常通番」は、CU3側(一次局側)が初期値を「1」として送信時に受信した通番をカウントアップ(+1)して送信する。ただし、再送時は、「通常通番」をカウントアップしない。P台2側(二次局側)は受信した通番をそのまま送信する。なお、通番の連続性が成立しない場合は無応答となる。「加算通番」はCU3がP台2に対して遊技玉の加算を要求する際に用いられる通番である。「計数通番」は、P台2がCU3に対して遊技玉の計数を要求する際に用いられる通番である。   Both the CU and the P platform transmit the “sequential number” added to the message. Further, both the CU and the P platform store the “serial number” received from the other party. There are three types of “serial number”: “normal serial number”, “additional serial number”, and “counting serial number”. “Normal sequence number” indicates the sequence number of the message. “Normal serial number” is transmitted by counting up (+1) the serial number received at the time of transmission on the CU3 side (primary station side) with an initial value “1”. However, the “normal serial number” is not counted up at the time of retransmission. P station 2 side (secondary station side) transmits the received serial number as it is. Note that there is no response if the serial number continuity is not established. The “additional serial number” is a serial number used when the CU 3 requests the P unit 2 to add game balls. The “counting serial number” is a serial number used when the P stand 2 requests the CU 3 to count game balls.

通常通番の更新権はCU3のみが有する。CU3は、送信した通常通番と同じ通常通番が返信されてきたときに、通常通番をバックアップ記憶した上で、更新した通常通番を送信する。加算通番の加算更新権はCU3のみが有する。CU3は、加算要求をする場合には、それまで通信に用いていた加算通番に+1した加算通番をP台2へ送信する。P台2は、要求を承諾するときには、同じ加算通番を返信する。要求を拒否するときには、前回、受信した加算通番(今回受信した加算通番−1)を返信する。計数通番の加算更新権はP台2のみが有する。P台2は、計数要求をする場合には、それまで通信に用いていた計数通番に+1した計数通番をCU3へ送信する。CU3は、要求を承諾するときには、同じ計数通番を返信する。要求を拒否するときには、受信した計数通番(今回受信した計数通番−1)を返信する。   Only the CU3 has the right to update the normal serial number. When the normal serial number that is the same as the transmitted normal serial number is returned, the CU 3 backs up and stores the normal serial number and transmits the updated normal serial number. Only the CU3 has the addition update right of the addition serial number. When the addition request is made, the CU 3 transmits an addition sequence number added to the addition sequence number that has been used for communication until then to the P unit 2. The P platform 2 returns the same addition serial number when accepting the request. When rejecting the request, the previously received addition sequence number (the addition sequence number received this time-1) is returned. Only the P-unit 2 has the counting update number addition update right. When making a request for counting, the P platform 2 transmits to the CU 3 a counting sequence number that is +1 to the counting sequence number that has been used for communication. When CU3 accepts the request, it returns the same counting sequence number. When rejecting the request, the received counting sequence number (counting sequence number-1 received this time) is returned.

以下では、「通常通番」について、CU3が送信時に受信した通番をカウントアップ(+1)して送信する構成について説明する。しかし、本発明は当該構成に限定されるものではなく、P台2およびCU3のそれぞれが、またはP台2が送信時に受信した通番をカウントアップ(+1)して送信し、他方は受信した通番をそのまま送信する構成であってもよい。   In the following, with regard to “normal serial number”, a configuration will be described in which the serial number received by the CU 3 at the time of transmission is counted up (+1) and transmitted. However, the present invention is not limited to this configuration. Each of the P base 2 and the CU 3 or the serial number received by the P base 2 at the time of transmission is counted up (+1), and the other is the received serial number. May be transmitted as it is.

また、「加算通番」および「計数通番」は、それぞれ、加算要求の処理および計数要求の処理においてカウントアップされる特別な通番である。以下では、この「加算通番」および「計数通番」がカウントアップされる際、「通常通番」もカウントアップする構成について説明する。しかし、本発明は当該構成に限定されるものではなく、「加算通番」および「計数通番」がカウントアップされる際に「通常通番」のカウントアップを停止する構成であってもよい。なお、以下では、「通常通番」を単に「通番」と称する。また、「加算通番」および「計数通番」を併せて「要求通番」とも称する。   The “addition serial number” and “counting serial number” are special serial numbers that are counted up in the addition request processing and the count request processing, respectively. Hereinafter, a description will be given of a configuration in which “normal serial number” is also counted up when the “additional serial number” and “counting serial number” are counted up. However, the present invention is not limited to this configuration, and may be configured to stop the “normal sequence number” from being counted up when the “additional sequence number” and the “counting sequence number” are counted up. In the following, “normal serial number” is simply referred to as “serial number”. The “additional sequence number” and “counting sequence number” are also collectively referred to as “request sequence number”.

P台2側からCU3側へは、最新遊技台情報(カウント中の遊技台情報)が送信される。この最新遊技台情報は、P台2側の払出制御部171(図2参照)のRAMの最新遊技台情報記憶領域に記憶されている。具体的には、加算玉数カウンタの情報と、減算玉数カウンタの情報と、計数玉数カウンタの情報とが含まれる。なお、遊技玉数は、最新遊技台情報に含まれず、後述するように遊技玉数カウンタのカウント値としてP台2側からCU3側へ送信している。しかし、これに代えて、あるいは遊技玉数カウンタに加えて、遊技玉数も最新遊技台情報に含めてもよい。   The latest game machine information (game machine information being counted) is transmitted from the P machine 2 side to the CU 3 side. This latest game table information is stored in the latest game table information storage area of the RAM of the payout control unit 171 (see FIG. 2) on the P table 2 side. Specifically, information on the added ball number counter, information on the subtracted ball number counter, and information on the counted ball number counter are included. The number of game balls is not included in the latest game table information, and is transmitted from the P table 2 side to the CU 3 side as the count value of the game ball number counter as will be described later. However, instead of this, or in addition to the game ball counter, the number of game balls may be included in the latest game table information.

これらのカウンタの情報が、まとめてレスポンスとしてCU側へ送信される。加算玉数カウンタは、加算玉数をカウントするカウンタである。加算玉は、「賞球玉数×入賞個数」と「バック玉数」との和である。なお、バック玉とはファール玉のことである。つまり、加算玉とは、加算玉カウンタが遊技玉に加算すべき数を示す。減算玉数カウンタは、減算玉数をカウントするカウンタである。減算玉は、「発射玉数」である。つまり、玉上げスイッチ(上)41aのオンからオフへの出力変化により検出された玉数である。なお、「減算玉数」には、「計数玉数」は含まれない。計数玉数カウンタは、計数玉数をカウントするカウンタである。計数玉は、「計数操作によって遊技玉から持玉に変換された玉数」である。ここで、「賞球玉」は、入賞口へ玉が入賞することにより払出される玉であり、セーフ玉である。「発射玉」は、遊技機が発射した玉であり、バック玉がある場合はバック玉を減算した玉数が発射玉数となる。「バック玉」は、発射玉が盤面上に跳出せずに戻ってきた玉である。「アウト口通過玉」は、アウト口154を通過した玉であり、アウト玉とセーフ玉の合計玉数がアウト口通過玉数を意味する。   Information on these counters is collectively transmitted to the CU side as a response. The added ball number counter is a counter that counts the added ball number. The added ball is the sum of “the number of winning balls × the number of winning balls” and “the number of back balls”. The back ball is a foul ball. That is, the addition ball indicates the number that the addition ball counter should add to the game ball. The subtraction ball number counter is a counter that counts the number of subtraction balls. The subtraction ball is the “number of fired balls”. That is, the number of balls detected by the output change from on to off of the ball raising switch (upper) 41a. Note that the “number of balls to be subtracted” does not include the “number of balls to be counted”. The counting ball counter is a counter that counts the counting balls. The counting ball is “the number of balls converted from game balls to holding balls by the counting operation”. Here, the “prize ball” is a ball that is paid out when a ball wins a winning opening, and is a safe ball. The “fired ball” is a ball fired by the gaming machine. When there is a back ball, the number of balls obtained by subtracting the back ball is the number of fired balls. The “back ball” is a ball in which the fired ball returns without jumping onto the board surface. The “out mouth passing ball” is a ball that has passed through the out mouth 154, and the total number of balls of the out ball and the safe ball means the number of balls passing through the out mouth.

たとえば、遊技領域27に打込まれたパチンコ玉が入賞して主制御基板16から入賞情報が払出制御基板17へ送信されてきたときに、その入賞情報に基づいて遊技玉を加算すべき加算玉数を加算玉数カウンタがカウントし、その加算玉数カウンタの値(加算玉数)をP台2側からCU3側へ送信する。また、パチンコ玉が遊技領域27内に発射されていることによる玉上げスイッチ(上)41aのオンからオフへの出力変化に基づいて減算玉数カウンタが発射玉数を減算玉数としてカウントし、その減算玉数カウンタの値(減算玉数)をP台2側からCU3側へ送信する。   For example, when a pachinko ball that has been placed in the game area 27 wins and the winning information is transmitted from the main control board 16 to the payout control board 17, an additional ball to which a gaming ball is added based on the winning information. The added ball number counter counts the number, and the value of the added ball number counter (added ball number) is transmitted from the P stand 2 side to the CU 3 side. Also, the subtraction ball counter counts the number of shot balls as the number of subtraction balls based on the output change from on to off of the ball raising switch (upper) 41a due to the pachinko ball being shot in the game area 27, The value of the subtraction ball number counter (subtraction ball number) is transmitted from the P stand 2 side to the CU3 side.

あるいは、払出制御部171は、計数ボタン28の押下により、遊技玉数を計数玉数としてカウントし、その計数玉数カウンタの値(計数玉数)をP台2側からCU3側へ送信する。   Alternatively, the payout control unit 171 counts the number of gaming balls as the number of counting balls by pressing the counting button 28, and transmits the value of the counting ball number counter (counting number of balls) from the P stand 2 side to the CU3 side.

P台2側においては、加算玉数カウンタ、減算玉数カウンタ、および計数玉数カウンタの値をCU3側へ送信する毎に、それらカウント値を前回遊技台情報記憶領域(払出制御部171のRAM等)にバックアップデータとして記憶(書換え)した後、最新遊技台情報としての加算玉数カウンタ、減算玉数カウンタ、および計数玉数カウンタの値を0クリアする(遊技玉数カウンタを除く)。なお、本実施の形態において「クリア」とは「初期化」と同じ意味である。   On the P-unit 2 side, each time the values of the addition ball counter, the subtraction ball counter, and the counting ball counter are transmitted to the CU 3 side, the count values are stored in the previous gaming machine information storage area (the RAM of the payout control unit 171). Etc.) are stored (rewritten) as backup data, and the values of the added ball counter, subtracted ball counter, and counted ball counter as the latest game table information are cleared to 0 (excluding the game ball counter). In the present embodiment, “clear” has the same meaning as “initialization”.

その結果、前回遊技台情報(直前に送信した遊技台情報)の記憶エリアに、直前にCU3側に送信した遊技台情報である、加算玉数、減算玉数、および計数玉数のデータがバックアップデータとして記憶される。このバックアップデータは、P台2側からCU3側へ最新遊技台情報が送信されなかった場合に、次の送信に際して今回の各カウンタの値ばかりでなくその送信されなかった前回の各カウンタの値をも送信できるようにするためのものである。この前回遊技台情報に、直前に送信した遊技玉数をさらに加えて記憶するようにしてもよい。   As a result, the game table information transmitted to the CU 3 side immediately before is added to the storage area of the previous game table information (game table information transmitted immediately before). Stored as data. When the latest game machine information is not transmitted from the P machine 2 side to the CU 3 side, the backup data includes not only the value of each counter at the time of the next transmission but also the value of each counter of the previous time that was not transmitted. It is intended to enable transmission. You may make it memorize | store by adding the number of game balls transmitted immediately before to this last game machine information.

また、払出制御基板17は、入賞の発生、玉の発射、バック玉の発生、および計数玉の発生(遊技玉から持玉への変換)に応じて、遊技玉数カウンタの値を更新し、その更新後の遊技玉数カウンタの値を遊技玉数としてCU3側に送信する。   Further, the payout control board 17 updates the value of the game ball counter in response to the occurrence of a prize, the firing of a ball, the occurrence of a back ball, and the occurrence of a counting ball (conversion from a game ball to a holding ball), The updated value of the game ball counter is transmitted to the CU 3 side as the number of game balls.

CU3側においては、RAM内の累計データ記憶領域に、遊技玉数、カード持玉数(単に、持玉数とも言う)、貯玉数、残額、総加算玉数(加算玉数累計)、総減算玉数(減算玉数累計)、およびカード挿入時持玉数を記憶している。なお、カード持玉数は、カード挿入時持玉数から持玉払出数(カード持玉数から遊技玉数に変換した玉数)を減算し、計数玉数を加算した玉数である。つまり、カード持玉数は、現時点で遊技者が所有している持玉数である。   On the CU3 side, the number of game balls, the number of cards held (simply referred to as the number of balls), the number of balls stored, the remaining amount, the total number of added balls (total number of added balls), total subtraction are stored in the cumulative data storage area in the RAM. The number of balls (the total number of subtracted balls) and the number of balls at the time of card insertion are stored. The number of cards possessed is the number of balls obtained by subtracting the number of possessed balls paid out (the number of balls converted from the number of cards possessed to the number of game balls) from the number of balls possessed when the card is inserted, and adding the counted number of balls. That is, the card possession number is the number of possession possessed by the player at the present time.

P台2側から送信されてきた加算玉数カウンタの値(加算玉数)に基づいて総加算玉数を加算して玉数を更新する。また、P台2側から送信されてきた減算玉数カウンタの値(減算玉数)に基づいて総減算玉数を減算して玉数を更新する。さらに、P台2から送信されてきた計数玉数カウンタの値に基づいてカード持玉数を加算して更新する。このように、CU3は、P台2より逐一送信されてくる最新遊技台情報によって総加算玉数、総減算玉数、カード持玉数を更新することで最新のそれらの情報を管理することが可能となる。   The total number of added balls is added based on the value (number of added balls) of the added ball counter transmitted from the P stand 2 side to update the number of balls. Further, the number of balls is updated by subtracting the total number of subtraction balls based on the value of the subtraction ball counter (the number of subtraction balls) transmitted from the P stand 2 side. Further, based on the value of the counting ball number counter transmitted from the P stand 2, the number of card holding balls is added and updated. In this way, the CU 3 can manage the latest information by updating the total added ball number, the total subtracted ball number, and the card holding ball number with the latest game table information transmitted from the P table 2 one by one. It becomes possible.

CU3は、図示のとおり、遊技玉を記憶する領域を備えているとともに、P台2側から遊技玉数カウンタのカウント値(遊技玉数または遊技玉トータル個数情報とも言う)も受信している。CU3は、遊技玉を記憶する領域を以下の手順で更新する。すなわち、CU3は、P台側から送信されてきた加算玉数カウンタの値(加算玉数)、減算玉数カウンタの値(減算玉数)、および計数玉数カウンタの値に基づいて、記憶している遊技玉数を更新するとともに、同じタイミングでP台側から送信されてきた遊技玉数カウンタのカウント値と、更新後の遊技玉数とが一致しているか否かを判定する。一致していれば、遊技の続行を許容するが、一致していなければ、エラー状態に移行する制御を行なう。   As shown in the figure, the CU 3 has an area for storing game balls, and also receives a count value of a game ball number counter (also referred to as game ball number or game ball total number information) from the P stand 2 side. CU3 updates the area for storing game balls in the following procedure. That is, the CU 3 stores the value based on the value of the added ball number counter (added ball number), the value of the subtracted ball number counter (subtracted ball number), and the value of the counted ball number counter transmitted from the P side. The number of game balls being updated is updated, and it is determined whether or not the count value of the game ball counter transmitted from the P platform side at the same timing matches the updated number of game balls. If they match, the game is allowed to continue, but if they do not match, control to shift to an error state is performed.

その結果、たとえば、異常報知ランプや表示器312によりエラー報知が行なわれ、あるいは、ホール用管理コンピュータやホールサーバ801にエラーが発生した旨のエラー通知信号が送信される(この場合、ホール用管理コンピュータやホールサーバ801によるエラー報知が行なわれるようにしてもよい)。その結果、係員による人為的な対応を促す所定の報知が行なわれる。   As a result, for example, an error notification lamp or indicator 312 is used to notify an error, or an error notification signal indicating that an error has occurred is transmitted to the hall management computer or hall server 801 (in this case, hall management). An error notification may be performed by a computer or hall server 801). As a result, a predetermined notification that prompts an artificial response by a staff member is performed.

なお、エラー状態に移行して遊技を停止させることに代えて、CU3側で記憶している遊技玉数をP台2側から送信されてきた遊技玉数カウンタのカウント値に置き換えるようにしてもよい。または、それに代えて、CU3側で管理している遊技玉数と、P台2側で記憶している遊技玉数との平均値に補正してもよい。   Instead of shifting to an error state and stopping the game, the number of game balls stored on the CU 3 side may be replaced with the count value of the game ball counter transmitted from the P unit 2 side. Good. Alternatively, it may be corrected to an average value of the number of game balls managed on the CU 3 side and the number of game balls stored on the P stand 2 side.

このように、本実施の形態では、CU3側にも遊技玉数を記憶させているが、その遊技玉数がP台2側で管理記憶している遊技玉数と整合するか否かの判定を行なえるようにしている(CU3側機能)。そのため、仮に不正行為その他の事情で、P台2側で記憶している遊技玉数がCU3側で記憶している遊技玉数と一致しない状況が発生しても、その旨をチェックできる。なお、ここでは、CU3側にその判定機能を設けたが、たとえば、CU3と接続されるホールサーバ801またはホール用管理コンピュータによって、CU3側で記憶している遊技玉数とP台2側で記憶している遊技玉数とを受信し、両者が整合しているか否かの判定を行なうものとしてもよい。   As described above, in this embodiment, the number of game balls is also stored on the CU 3 side, but it is determined whether or not the number of game balls matches the number of game balls managed and stored on the P-unit 2 side. (CU3 side function). Therefore, even if a situation occurs in which the number of game balls stored on the P stand 2 side does not match the number of game balls stored on the CU 3 side due to fraud or other circumstances, it can be checked. Here, the determination function is provided on the CU3 side. For example, the number of game balls stored on the CU3 side and the Pball 2 side are stored by the hall server 801 or the hall management computer connected to the CU3. The number of game balls being played may be received, and it may be determined whether or not the two match.

図6に示すように、CU3は、カード持玉数、貯玉数を記憶する記憶領域と、受付けた(挿入された)カードのカード残額を記憶する記憶領域と、総加算玉数(加算玉数累計)、総減算玉数(減算玉数累計)およびカード挿入時持玉を記憶する記憶領域をさらに有する。CU制御部323(図2参照)は、貯玉の使用を要求する入力(たとえば、CU3に設けられた再プレイボタン319の押圧入力(ただし、持玉無しのとき))に応じて貯玉を記憶する記憶領域から所定数の貯玉を減算する。   As shown in FIG. 6, the CU 3 stores a storage area for storing the number of cards held and the number of stored balls, a storage area for storing the remaining card amount of the received (inserted) card, and the total number of added balls (the number of added balls). (Cumulative total), the total number of subtracted balls (total number of subtracted balls), and a storage area for storing balls when the card is inserted. The CU control unit 323 (see FIG. 2) stores a stored ball in response to an input requesting the use of the stored ball (for example, a press input of the replay button 319 provided in the CU 3 (when there is no holding ball)). Subtract a certain number of balls from the area.

CU制御部323(図2参照)は、持玉の使用を要求する入力(たとえば、持玉有のときのCU3に設けられた再プレイボタン319の押圧入力(ただし、持玉有のとき))に応じて持玉を記憶する記憶領域から所定数の持玉を減算する。さらに、CU制御部323(図2参照)は、カード残額の使用を要求する入力(たとえば、玉貸ボタン321の押圧入力)に応じてカード残額を記憶する記憶領域から所定値を減算する。   The CU control unit 323 (see FIG. 2) is an input requesting the use of the holding ball (for example, pressing input of the replay button 319 provided on the CU 3 when the holding ball is present (however, when the holding ball is present)) Accordingly, a predetermined number of balls are subtracted from the storage area for storing balls. Further, the CU control unit 323 (see FIG. 2) subtracts a predetermined value from the storage area for storing the card remaining amount in response to an input requesting use of the card remaining amount (for example, pressing input of the ball lending button 321).

遊技者所有の遊技用価値(たとえばプリペイド残額、持玉数、あるいは貯玉数)から価値を引落として遊技に使用する操作を遊技者が行なった場合に、その引落とし分の玉数を遊技玉数カウンタに加算するための加算玉数がCU3側からP台2側へ送信される。P台2側では、それを受けて、遊技玉数カウンタを加算更新する。   When a player performs an operation to deduct the value from the player's own gaming value (for example, the prepaid balance, the number of balls, or the number of balls) and use it for the game, the number of balls that are deducted is the number of balls The number of balls to be added to the counter is transmitted from the CU 3 side to the P stand 2 side. In response to this, the P stand 2 side adds and updates the game ball counter.

本実施の形態に係る遊技システムでは、一方、遊技者所有の遊技用価値を引落としてドリンク等に交換するといういわゆるワゴンサービスのオーダ等を受付けることが可能である。ただし、遊技玉でワゴンサービスを受けることが制限されており、持玉でしかワゴンサービスを受けることができない。これは、各台計数機が配備された従来の封入式のパチンコ機において、皿に残っている計数前の玉を手で掴み出してワゴンサービスに用いることを禁止するようなイメージである。   In the gaming system according to the present embodiment, on the other hand, it is possible to accept a so-called wagon service order in which the gaming value owned by the player is withdrawn and exchanged for a drink or the like. However, access to wagon services with game balls is restricted, and wagon services can only be received with holding balls. This is an image in which, in a conventional encapsulated pachinko machine in which each counter is provided, it is prohibited to grab a ball before counting remaining on a plate by hand and use it for a wagon service.

このため、本実施の形態では、ワゴンサービスを行なう操作が実行されたときに、持玉数がワゴンサービスの希望メニューに対応する玉数に満たない場合、遊技者に計数操作を促すように構成されている。その際に遊技者が計数操作を実行すると、その操作に基づく計数玉数がP台2側からCU3側へ送信される。CU3側では、それを受けて、遊技玉数を減算し、カード持玉数を加算して更新する。   For this reason, in this embodiment, when the operation for performing the wagon service is executed, if the number of balls is less than the number corresponding to the desired menu of the wagon service, the player is prompted to perform the counting operation. Has been. When the player performs a counting operation at that time, the number of counting balls based on the operation is transmitted from the P stand 2 side to the CU 3 side. In response to this, the CU3 side subtracts the number of game balls and adds and updates the number of card possessions.

<通信で用いられるフレーム構成(CU制御部−SC間)>
次に、本実施の形態に係るCU制御部323とSC325bとの間での通信について詳しく説明する。当該通信で用いられる電文は、所定のフォーマットからなるフレームで構成されている。送信データ(電文)は、必ず1フレーム単位で送信される。つまり、電文の分割送信は行なわない。また、連続で電文を送信する場合は、1ミリ秒以上の間隔をあける。
<Frame configuration used in communication (between CU control unit and SC)>
Next, communication between the CU control unit 323 and the SC 325b according to the present embodiment will be described in detail. The message used in the communication is composed of a frame having a predetermined format. Transmission data (message) is always transmitted in units of one frame. That is, the divided transmission of the message is not performed. Moreover, when transmitting a message | telegram continuously, the space | interval of 1 millisecond or more is opened.

CU制御部323とSC325bとの間でやりとりされる電文のフレームには、送信データのデータ長と通番と電文種別を示すコマンドコードと業務電文データが格納されたデータ部とMAC(Message Authentication Code)とCRC(Cyclic Redundancy Check)とが含まれる。MACはメッセージ認証コードであり、その対象範囲はデータ部である。MACは暗号化時のみ付加される。   In the message frame exchanged between the CU control unit 323 and the SC 325b, the data length of the transmission data, the serial number, the command code indicating the message type, the data part storing the business message data, and the MAC (Message Authentication Code) And CRC (Cyclic Redundancy Check). MAC is a message authentication code, and its target range is a data part. MAC is added only at the time of encryption.

<CU制御部とSCとの間で送受信するコマンドおよびレスポンス>
次に、CU制御部323とSC325bとの間で送受信されるコマンドおよびレスポンスの概略を説明する。CU制御部323がSC325bに対して電文を送信すると、SC325bはこれに対して応答する電文を送信する。このため、CU制御部323からSC325bに送信される電文がコマンドであり、逆方向の電文がレスポンスである。コマンドおよびレスポンスの双方の電文には、通番および電文名のデータが含まれている。通番は、シーケンス番号で、1から255(サイクリック)まで値である。SC325bは、送信時に受信した通番をカウントアップ(+1)して送信する。ただし、再送時は、通番をカウントアップしない。
<Commands and responses sent and received between the CU control unit and the SC>
Next, an outline of commands and responses transmitted / received between the CU control unit 323 and the SC 325b will be described. When the CU control unit 323 transmits a message to the SC 325b, the SC 325b transmits a message that responds to the message. For this reason, the message transmitted from the CU control unit 323 to the SC 325b is a command, and the message in the reverse direction is a response. Both the command and response messages contain serial number and message name data. The serial number is a sequence number and is a value from 1 to 255 (cyclic). The SC 325b counts up (+1) and transmits the serial number received at the time of transmission. However, the serial number is not counted up at the time of retransmission.

<<1.基板接続要求、2.基板接続応答>>
CU制御部323からSC325bに対して基板接続要求という名称のコマンドが送信される。この基板接続要求のコマンドは、SC325bに対して遊技機(P台2)との接続を要求するもの(カードユニット情報を通知して接続要求するもの)である。この基板接続要求の具体的データには、通番、コマンド、統一店舗コード、台番号、および現在時刻データが含まれている。SC325bからCU制御部323に対して基板接続応答という名称のレスポンスが送信される。この基板接続応答のレスポンスは、CU制御部323に対して基板接続要求の応答を通知するもの(接続結果を通知するもの)である。基板接続応答のタイムアウトは3秒である。
<< 1. 1. Board connection request Substrate connection response >>
A command named board connection request is transmitted from the CU control unit 323 to the SC 325b. This board connection request command is for requesting connection to the gaming machine (P 2) to SC 325b (notifying card unit information and requesting connection). Specific data of this board connection request includes a serial number, a command, a unified store code, a machine number, and current time data. A response named “substrate connection response” is transmitted from the SC 325 b to the CU control unit 323. This response to the board connection response is for notifying the CU control unit 323 of a response to the board connection request (notifying the connection result). The timeout of the board connection response is 3 seconds.

<<3.基板出荷鍵要求、4.基板出荷鍵応答>>
CU制御部323からSC325bに対して基板出荷鍵要求のコマンドが送信される。この基板出荷鍵要求のコマンドは、SC325bに対してセキュリティ基板の基板出荷鍵を要求するものである。SC325bからCU制御部323に対して基板出荷鍵応答のレスポンスが送信される。この基板出荷鍵応答のレスポンスは、CU制御部323に対して基板出荷鍵を通知するものであり、基板出荷鍵と基板出荷用MAC鍵とが含まれる。
<< 3. 3. Substrate shipping key request Board shipment key response >>
A board shipment key request command is transmitted from the CU control unit 323 to the SC 325b. This board shipment key request command requests the board 325b for the security board from the SC 325b. A response of the board shipment key response is transmitted from the SC 325b to the CU control unit 323. The response of the board shipping key response is to notify the CU control unit 323 of the board shipping key, and includes a board shipping key and a board shipping MAC key.

<<5.基板メーカコード認証要求1、6.基板メーカコード認証応答1>>
CU制御部323からSC325bに対して基板メーカコード認証要求1のコマンドが送信される。基板メーカコードとは、セキュリティ基板325を製造したメーカを特定するコードであり、CU制御部323とSC325bとに記憶されている。この基板メーカコード認証要求1のコマンドは、SC325bに対して基板メーカコードの認証を要求するものである。SC325bからCU制御部323に対して基板メーカコード認証応答1のレスポンスが送信される。この基板メーカコード認証応答1のレスポンスは、CU制御部323に対して基板メーカコードの認証情報を応答するものであり、チャレンジコード(検証側の乱数値)が含まれる。
<< 5. Substrate manufacturer code authentication request 1, 6. Board manufacturer code authentication response 1 >>
A board manufacturer code authentication request 1 command is transmitted from the CU control unit 323 to the SC 325b. The board manufacturer code is a code that identifies the manufacturer that manufactured the security board 325, and is stored in the CU control unit 323 and the SC 325b. The board manufacturer code authentication request 1 command requests the SC 325b to authenticate the board manufacturer code. A response of the board manufacturer code authentication response 1 is transmitted from the SC 325 b to the CU control unit 323. The response of the board manufacturer code authentication response 1 is a response to the board manufacturer code authentication information to the CU control unit 323 and includes a challenge code (random number on the verification side).

<<7.基板メーカコード認証要求2、8.基板メーカコード認証応答2>>
CU制御部323からSC325bに対して基板メーカコード認証要求2のコマンドが送信される。この基板メーカコード認証要求2のコマンドは、SC325bに対して基板メーカコードの認証を要求するものであり、レスポンスコード(レスポンス計算結果)、レスポンス計算データ(レスポンス計算に使用した乱数値)が含まれる。
<< 7. Substrate manufacturer code authentication request 2,8. Substrate manufacturer code authentication response 2 >>
A board manufacturer code authentication request 2 command is transmitted from the CU control unit 323 to the SC 325b. The board manufacturer code authentication request 2 command requests the board 325 to authenticate the board manufacturer code, and includes a response code (response calculation result) and response calculation data (random number used for response calculation). .

SC325bからCU制御部323に対して基板メーカコード認証応答2のレスポンスが送信される。この基板メーカコード認証応答2のレスポンスは、CU制御部323に対してレスポンスコードのチェック結果を通知するものであり、認証結果、および認証ログ情報(秘匿情報)が含まれる。   A response of the board manufacturer code authentication response 2 is transmitted from the SC 325 b to the CU control unit 323. The response of this board manufacturer code authentication response 2 is to notify the CU control unit 323 of the response code check result, and includes the authentication result and authentication log information (confidential information).

<<9.基板シリアルID認証要求1、10.基板シリアルID認証応答1>>
CU制御部323からSC325bに対して基板シリアルID認証要求1のコマンドが送信される。この基板シリアルID認証要求1のコマンドは、SC325bに対して基板シリアルIDの認証を要求するものである。SC325bからCU制御部323に対して基板シリアルID認証応答1のレスポンスが送信される。この基板シリアルID認証応答1のレスポンスは、CU制御部323に対して基板シリアルIDの認証情報を応答するものであり、チャレンジコード(検証側の乱数値)が含まれる。
<< 9. Substrate serial ID authentication request 1, 10. Substrate serial ID authentication response 1 >>
A command of the board serial ID authentication request 1 is transmitted from the CU control unit 323 to the SC 325b. This command of the board serial ID authentication request 1 requests the SC 325b to authenticate the board serial ID. A response of the board serial ID authentication response 1 is transmitted from the SC 325 b to the CU control unit 323. The response of the board serial ID authentication response 1 is a response of board serial ID authentication information to the CU control unit 323, and includes a challenge code (random number value on the verification side).

<<11.基板シリアルID認証要求2、12.基板シリアルID認証応答2>>
CU制御部323からSC325bに対して基板シリアルID認証要求2のコマンドが送信される。この基板シリアルID認証要求2のコマンドは、SC325bに対して基板シリアルIDの認証を要求するものであり、レスポンスコード(レスポンス計算結果)、およびレスポンス計算データ(レスポンス計算に使用した乱数値)が含まれる。
<< 11. Substrate serial ID authentication request 2,12. Substrate serial ID authentication response 2 >>
A command of the board serial ID authentication request 2 is transmitted from the CU control unit 323 to the SC 325b. This board serial ID authentication request 2 command requests the board 325 ID for authentication to the SC 325b, and includes a response code (response calculation result) and response calculation data (random value used for response calculation). It is.

SC325bからCU制御部323に対して基板シリアルID認証応答2のレスポンスが送信される。この基板シリアルID認証応答2のレスポンスは、CU制御部323に対してレスポンスコードのチェック結果を通知するものであり、認証結果、および認証ログ情報(秘匿情報)が含まれる。   A response of the board serial ID authentication response 2 is transmitted from the SC 325 b to the CU control unit 323. The response of the board serial ID authentication response 2 notifies the CU control unit 323 of the check result of the response code, and includes an authentication result and authentication log information (confidential information).

<<13.基板初期鍵認証要求1、14.基板初期鍵認証応答1>>
CU制御部323からSC325bに対して基板初期鍵認証要求1のコマンドが送信される。この基板初期鍵認証要求1のコマンドは、SC325bに対して基板初期鍵の認証を要求するものである。SC325bからCU制御部323に対して基板初期鍵認証応答1のレスポンスが送信される。この基板初期鍵認証応答1のレスポンスは、CU制御部323に対して認証情報を通知するものである。
<< 13. Substrate initial key authentication request 1, 14. Substrate initial key authentication response 1 >>
The command of the board initial key authentication request 1 is transmitted from the CU control unit 323 to the SC 325b. The board initial key authentication request 1 command requests the SC 325b to authenticate the board initial key. The response of the board initial key authentication response 1 is transmitted from the SC 325b to the CU control unit 323. The response of the board initial key authentication response 1 notifies the CU control unit 323 of authentication information.

この基板初期鍵認証応答1の具体的データには、認証情報および乱数のデータが含まれている。認証情報は、乱数Aである。乱数は、暗号用パディング文字である。暗号用パディング文字とは、暗号対象となる電文(平文)をデータ長16バイトの暗号鍵で暗号化できるようにするべく、電文(平文)に所定のデータ長の暗号用パディング文字を追加して暗号鍵のデータ長に合わせるためのものである。MACは、メッセージ認証コードである。たとえば、生成した乱数Aを所定のハッシュ関数を利用して演算した値をMACとする。つまり生成した乱数Aのメッセージ・ダイジェストがMACとなる。なお、基板初期鍵認証応答1の通信には、後述する第1セキュリティーモード(以下、SE1モードと称する)で基板初期鍵、基板認証鍵または基板出荷鍵(以下、基板初期鍵/認証鍵/出荷鍵と称する)を用いて暗号化された暗号文が送信される。   The specific data of the board initial key authentication response 1 includes authentication information and random number data. The authentication information is a random number A. The random number is a padding character for encryption. The padding character for encryption is to add a padding character for encryption with a predetermined data length to the message (plaintext) so that the message (plaintext) to be encrypted can be encrypted with an encryption key with a data length of 16 bytes. This is to match the data length of the encryption key. MAC is a message authentication code. For example, a value obtained by calculating the generated random number A using a predetermined hash function is defined as MAC. That is, the message digest of the generated random number A becomes the MAC. In the communication of the board initial key authentication response 1, a board initial key, board authentication key, or board shipping key (hereinafter referred to as board initial key / authentication key / shipment) will be described in a first security mode (hereinafter referred to as SE1 mode) described later. A ciphertext encrypted using a key is transmitted.

<<15.基板初期鍵認証要求2、16.基板初期鍵認証応答2>>
CU制御部323からSC325bに対して基板初期鍵認証要求2のコマンドが送信される。この基板初期鍵認証要求2のコマンドは、SC325bに対して基板初期鍵の認証結果と認証情報を要求するものであり、認証結果、認証情報(乱数B)、乱数(暗号用パディング文字)が含まれる。
<< 15. Substrate initial key authentication request 2, 16. Substrate initial key authentication response 2 >>
The command of the board initial key authentication request 2 is transmitted from the CU control unit 323 to the SC 325b. The command of the board initial key authentication request 2 requests the SC 325b for the board initial key authentication result and the authentication information, and includes the authentication result, the authentication information (random number B), and the random number (encryption padding character). It is.

SC325bからCU制御部323に対して基板初期鍵認証応答2のレスポンスが送信される。この基板初期鍵認証応答2のレスポンスは、CU制御部323に対して基板初期鍵の認証結果を通知するものであり、認証結果、認証ログ情報(秘匿情報)、乱数(暗号用パディング文字)が含まれる。   A response of the board initial key authentication response 2 is transmitted from the SC 325 b to the CU control unit 323. This response of the board initial key authentication response 2 notifies the CU control unit 323 of the authentication result of the board initial key, and the authentication result, the authentication log information (confidential information), and the random number (padding character for encryption) are included. included.

<<17.基板認証鍵認証要求1、18.基板認証鍵認証応答1>>
CU制御部323からSC325bに対して基板認証鍵認証要求1のコマンドが送信される。この基板認証鍵認証要求1のコマンドは、SC325bに対して基板認証鍵の認証を要求するものである。SC325bからCU制御部323に対して基板認証鍵認証応答1のレスポンスが送信される。この基板認証鍵認証応答1のレスポンスは、CU制御部323に対して基板認証鍵の認証結果を通知するものであり、認証情報(乱数A)、乱数(暗号用パディング文字)が含まれる。
<< 17. Substrate authentication key authentication request 1, 18. Board authentication key authentication response 1 >>
The command of the board authentication key authentication request 1 is transmitted from the CU control unit 323 to the SC 325b. The command of the board authentication key authentication request 1 requests the SC 325b to authenticate the board authentication key. The response of the board authentication key authentication response 1 is transmitted from the SC 325b to the CU control unit 323. The response of the board authentication key authentication response 1 notifies the CU control unit 323 of the authentication result of the board authentication key, and includes authentication information (random number A) and a random number (encryption padding character).

<<19.基板認証鍵認証要求2、20.基板認証鍵認証応答2>>
CU制御部323からSC325bに対して基板認証鍵認証要求2のコマンドが送信される。この基板認証鍵認証要求2のコマンドは、SC325bに対して基板認証鍵の認証結果と認証情報を通知するものであり、認証結果、認証情報(乱数B)、乱数(暗号用パディング文字)が含まれる。
<< 19. Substrate authentication key authentication request 2, 20. Substrate authentication key authentication response 2 >>
The command of the board authentication key authentication request 2 is transmitted from the CU control unit 323 to the SC 325b. The command of the board authentication key authentication request 2 notifies the SC 325b of the authentication result of the board authentication key and the authentication information, and includes the authentication result, the authentication information (random number B), and a random number (encryption padding character). It is.

SC325bからCU制御部323に対して基板認証鍵認証応答2のレスポンスが送信される。この基板認証鍵認証応答2のレスポンスは、CU制御部323に対して基板認証鍵の認証結果を通知するものであり、認証結果、認証ログ情報(秘匿情報)、乱数(暗号用パディング文字)が含まれる。   A response of the board authentication key authentication response 2 is transmitted from the SC 325 b to the CU control unit 323. The response of the board authentication key authentication response 2 is to notify the CU control unit 323 of the authentication result of the board authentication key, and the authentication result, the authentication log information (confidential information), and the random number (padding character for encryption) are stored. included.

<<21.基板出荷鍵認証要求1、22.基板出荷鍵認証応答1>>
CU制御部323からSC325bに対して基板出荷鍵認証要求1のコマンドが送信される。この基板出荷鍵認証要求1のコマンドは、SC325bに対して基板出荷鍵の認証情報を要求するものである。SC325bからCU制御部323に対して基板認証鍵認証応答1のレスポンスが送信される。この基板出荷鍵認証応答1のレスポンスは、CU制御部323に対して基板出荷鍵の認証情報を通知するものであり、認証情報(乱数A)、乱数(暗号用パディング文字)が含まれる。
る。
<< 21. Substrate shipping key authentication request 1, 22. Substrate shipping key authentication response 1 >>
A command of board shipment key authentication request 1 is transmitted from the CU control unit 323 to the SC 325b. This board shipment key authentication request 1 command is for requesting board shipping key authentication information to the SC 325b. The response of the board authentication key authentication response 1 is transmitted from the SC 325b to the CU control unit 323. The response of the board shipping key authentication response 1 is to notify the CU control unit 323 of board shipping key authentication information, and includes authentication information (random number A) and random numbers (encryption padding characters).
The

<<23.基板出荷鍵認証要求2、24.基板出荷鍵認証応答2>>
CU制御部323からSC325bに対して基板出荷鍵認証要求2のコマンドが送信される。この基板出荷鍵認証要求2のコマンドは、SC325bに対して基板出荷鍵の認証結果と認証情報を通知するものであり、認証結果、認証情報(乱数B)、乱数(暗号用パディング文字)が含まれる。SC325bからCU制御部323に対して基板出荷鍵認証応答2のレスポンスが送信される。この基板出荷鍵認証応答2のレスポンスは、CU制御部323に対して基板出荷鍵の認証結果を通知するものであり、認証結果、認証ログ情報(秘匿情報)、乱数(暗号用パディング文字)が含まれる。
<< 23. Substrate shipping key authentication request 2, 24. Board shipping key authentication response 2 >>
A command of board shipment key authentication request 2 is transmitted from the CU control unit 323 to the SC 325b. The command of the board shipping key authentication request 2 is to notify the SC 325b of the board shipping key authentication result and the authentication information, and includes the authentication result, the authentication information (random number B), and the random number (encryption padding character). It is. A response of the board shipping key authentication response 2 is transmitted from the SC 325b to the CU control unit 323. The response of the board shipping key authentication response 2 is to notify the CU control unit 323 of the authentication result of the board shipping key, and the authentication result, the authentication log information (confidential information), and the random number (padding character for encryption) are included. included.

<<25.基板バージョン情報通知、26.基板バージョン情報応答>>
CU制御部323からSC325bに対して基板バージョン情報通知のコマンドが送信される。この基板バージョン情報通知のコマンドは、SC325bに対して基板認証鍵のバージョンを通知するものであり、基板バージョン(基板認証鍵のバージョン)、乱数(パディング文字)が含まれる。SC325bからCU制御部323に対して基板バージョン情報応答のレスポンスが送信される。この基板バージョン情報応答のレスポンスは、CU制御部323に対してバージョン情報を受信したことを通知するものである。
<< 25. Substrate version information notification, 26. Substrate version information response >>
A board version information notification command is transmitted from the CU control unit 323 to the SC 325b. This board version information notification command notifies the board 325b of the board authentication key version, and includes a board version (board authentication key version) and a random number (padding characters). A response of the board version information response is transmitted from the SC 325 b to the CU control unit 323. This response of the board version information response notifies the CU control unit 323 that version information has been received.

<<27.基板認証結果通知、28.基板認証結果応答>>
CU制御部323からSC325bに対して基板認証結果通知のコマンドが送信される。この基板認証結果通知のコマンドは、SC325bに対してCU制御部323とSC325bとの間の認証結果を通知するものであり、認証結果、乱数(暗号用パディング文字)が含まれる。SC325bからCU制御部323に対して基板認証結果応答のレスポンスが送信される。この基板認証結果応答のレスポンスは、CU制御部323に対してCU制御部323とSC325bとの間の認証結果を通知するものであり、認証結果、認証ログ情報(秘匿情報)、乱数(暗号用パディング文字)が含まれる。
<< 27. Substrate authentication result notification, 28. Substrate authentication result response >>
A board authentication result notification command is transmitted from the CU control unit 323 to the SC 325b. This board authentication result notification command notifies the SC 325b of the authentication result between the CU control unit 323 and the SC 325b, and includes an authentication result and a random number (encryption padding character). A response of the board authentication result response is transmitted from the SC 325b to the CU control unit 323. The response of the board authentication result response is to notify the CU control unit 323 of the authentication result between the CU control unit 323 and the SC 325b. The authentication result, authentication log information (confidential information), random number (for encryption) Padding characters).

<<29.セキュリティ基板問合せ指示通知、30.セキュリティ基板問合せ結果>>
CU制御部323からSC325bに対してセキュリティ基板問合せ指示通知のコマンドが送信される。このセキュリティ基板問合せ指示通知のコマンドは、SC325bに対して鍵管理サーバから取得するセキュリティ基板情報の問合せデータを要求するものであり、有効鍵(通信制御IC有効鍵)を含む。SC325bからCU制御部323に対してセキュリティ基板問合せ結果のレスポンスが送信される。このセキュリティ基板問合せ結果のレスポンスは、CU制御部323に対してセキュリティ基板問合せ情報の問合せデータを通知するものであり、問合せ種別(ホールサーバ801問合せ無、鍵管理センター問合せ有)、基板種別(セキュリティ基板情報の種別)、基板シリアル番号、問合せ情報(セキュリティ基板問合せ情報)、乱数(暗号用パディング文字)を含む。
<< 29. Security board inquiry instruction notification, 30. Security board inquiry result >>
A security board inquiry instruction notification command is transmitted from the CU control unit 323 to the SC 325b. This security board inquiry instruction notification command requests the security board information inquiry data acquired from the key management server to the SC 325b, and includes a valid key (communication control IC valid key). A response of the security board inquiry result is transmitted from the SC 325b to the CU control unit 323. The response of the security board inquiry result notifies the CU control unit 323 of the inquiry data of the security board inquiry information. Substrate information type), substrate serial number, inquiry information (security substrate inquiry information), and random numbers (encryption padding characters).

以上のうち、基板初期鍵認証要求2、基板初期鍵認証応答2、基板認証鍵認証応答1、基板認証鍵認証要求2、基板認証鍵認証応答2、基板出荷鍵認証要求2、基板出荷鍵認証応答2、基板バージョン情報通知、基板バージョン情報応答、基板認証結果通知、基板認証結果応答、セキュリティ基板問合せ指示通知、セキュリティ基板問合せ結果は、後述するSE1モードで通信される。   Of these, board initial key authentication request 2, board initial key authentication response 2, board authentication key authentication response 1, board authentication key authentication request 2, board authentication key authentication response 2, board shipping key authentication request 2, board shipping key authentication Response 2, board version information notification, board version information response, board authentication result notification, board authentication result response, security board inquiry instruction notification, and security board inquiry result are communicated in the SE1 mode described later.

<<31.セキュリティ基板情報通知、32.セキュリティ基板情報結果>>
CU制御部323からSC325bに対してセキュリティ基板情報通知のコマンドが送信される。このセキュリティ基板情報通知のコマンドは、SC325bに対して鍵管理サーバから取得したセキュリティ基板情報を通知するものであり、問合せ結果、基板情報が含まれている。問合せ結果は、基板情報の問合せ結果を示すもので、応答有(基板情報有)と応答有(基板情報無)と応答無(管理サーバ〜CU制御部オフライン)との3種類のいずれかである。基板情報は、セキュリティ基板情報である。この情報は、上記問合せ結果が基板情報有時のみ有効である。なお、この情報は秘匿情報とされる。
<< 31. Security board information notification, 32. Security board information result >>
A security board information notification command is transmitted from the CU control unit 323 to the SC 325b. This security board information notification command notifies the security board information acquired from the key management server to the SC 325b, and includes an inquiry result and board information. The inquiry result indicates the inquiry result of the board information, and is one of three types: response present (board information present), response present (board information not present), and response not present (management server to CU control unit offline). . The board information is security board information. This information is valid only when the inquiry result has board information. This information is confidential information.

SC325bからCU制御部323に対してセキュリティ基板情報結果のレスポンスが送信される。このセキュリティ基板情報結果のレスポンスは、CU制御部323に対してセキュリティ基板情報を受信したことを通知するものであり、受信結果(OK(鍵更新有)、OK(鍵更新無)、NG)、認証ログ情報(秘匿情報)が含まれる。   A response of the security board information result is transmitted from the SC 325b to the CU control unit 323. The response of the security board information result notifies the CU control unit 323 that the security board information has been received. The reception result (OK (with key update), OK (without key update), NG), Authentication log information (confidential information) is included.

なお、セキュリティ基板情報通知およびセキュリティ基板情報結果の通信には、後述する第2セキュリティモード(SE2モード)で通信鍵(セッション鍵)を用いて暗号化された暗号文が送信される。通信鍵は、CU制御部323とSC325bとの間の通信に用いる暗号鍵である。   For communication of security board information notification and security board information result, ciphertext encrypted using a communication key (session key) in a second security mode (SE2 mode) described later is transmitted. The communication key is an encryption key used for communication between the CU control unit 323 and the SC 325b.

<<33.カウンタ情報要求、34.カウンタ情報応答>>
CU制御部323からSC325bに対してカウンタ情報要求のコマンドが送信される。このカウンタ情報要求のコマンドは、SC325bに対してカウンタ情報を要求するものである。ここで、カウンタ情報とは、後述する第2セキュリティモード(以下、SE2モードと称する)のカウンタ(初期ベクタ)値である。
<< 33. Counter information request, 34. Counter information response >>
A counter information request command is transmitted from the CU control unit 323 to the SC 325b. This counter information request command requests counter information from the SC 325b. Here, the counter information is a counter (initial vector) value of a second security mode (hereinafter referred to as SE2 mode) described later.

SC325bからCU制御部323に対してカウンタ情報応答のレスポンスが送信される。このカウンタ情報応答のレスポンスは、CU制御部323に対してカウンタ情報を通知するものである。   A response of a counter information response is transmitted from the SC 325b to the CU control unit 323. This response of the counter information response notifies the CU control unit 323 of the counter information.

カウンタ情報応答には、処理結果と、カウンタ値と、認証ログ情報と乱数(暗号用パディング文字)とが含まれ、後述するSE1モードで通信される。処理結果は処理完了または処理中を示すデータである。カウンタ値は上記のとおり、初期ベクタ値である。ここで、カウンタ値としては、上り方向(SC325bからCU制御部323に向かう方向)と下り方向(CU制御部323からSC325bに向かう方向)とで別のカウンタ値が設定されている。   The counter information response includes a processing result, a counter value, authentication log information, and a random number (encryption padding character), and is communicated in an SE1 mode to be described later. The processing result is data indicating completion of processing or processing in progress. The counter value is an initial vector value as described above. Here, as counter values, different counter values are set in the upstream direction (the direction from the SC 325b toward the CU control unit 323) and in the downstream direction (the direction from the CU control unit 323 toward the SC 325b).

SC325bは、通信制御ICとの認証処理完了後にカウンタ値を通知する。一方、CU制御部323は処理結果が処理完了となるまで待ち合せする。なお、カウンタ値、認証ログ情報は、処理結果が処理完了時のみ有効である。   The SC 325b notifies the counter value after the authentication process with the communication control IC is completed. On the other hand, the CU control unit 323 waits until the processing result is completed. The counter value and the authentication log information are valid only when the processing result is completed.

<<35.通信鍵要求、36.通信鍵応答>>
CU制御部323からSC325bに対して通信鍵要求のコマンドが送信される。この通信鍵要求のコマンドは、SC325bに対して通信鍵を要求するものである。SC325bからCU制御部323に対して通信鍵応答のレスポンスが送信される。この通信鍵応答のレスポンスは、CU制御部323に対して通信鍵を通知するものであり、通信鍵と認証ログ情報(秘匿情報)とが含まれる。なお、通信鍵応答は後述するSE2モードで通信される。
<< 35. Communication key request, 36. Communication key response >>
A communication key request command is transmitted from the CU control unit 323 to the SC 325b. This communication key request command requests the SC 325b for a communication key. A response of the communication key response is transmitted from the SC 325b to the CU control unit 323. The response of this communication key response notifies the CU control unit 323 of the communication key, and includes a communication key and authentication log information (confidential information). The communication key response is communicated in the SE2 mode described later.

<<37.遊技機チップ問合せ指示通知、38.遊技機チップ問合せ結果>>
CU制御部323からSC325bに対して遊技機チップ問合せ指示通知のコマンドが送信される。この遊技機チップ問合せ指示通知のコマンドは、SC325bに対して鍵管理サーバに問合せする遊技機チップの情報を要求するものである。SC325bからCU制御部323に対して遊技機チップ問合せ結果のレスポンスが送信される。この遊技機チップ問合せ結果のレスポンスは、CU制御部323に対して鍵管理サーバに問合せする遊技機チップの情報を通知するものである。
<< 37. Gaming machine chip inquiry instruction notification, 38. Game machine chip inquiry result >>
A gaming machine chip inquiry instruction notification command is transmitted from the CU control unit 323 to the SC 325b. This gaming machine chip inquiry instruction notification command requests information about gaming machine chips to be inquired of the key management server from the SC 325b. A response of the gaming machine chip inquiry result is transmitted from the SC 325b to the CU control unit 323. The response of the gaming machine chip inquiry result notifies the CU control unit 323 of information on gaming machine chips to be inquired to the key management server.

遊技機チップ問合せ結果のデータには、通番、取得結果、メーカコード、型式コード、問合せ種別、基板種別、基板シリアル番号、主制御チップID、主制御問合せ情報、払出制御チップID、払出制御問合せ情報が含まれる。   The game machine chip inquiry result data includes serial number, acquisition result, manufacturer code, model code, inquiry type, board type, board serial number, main control chip ID, main control inquiry information, payout control chip ID, payout control inquiry information Is included.

取得結果は、遊技機チップ情報取得結果であり、取得OK、取得NG、取得処理中のいずれかである。メーカーコードは主制御チップメーカコードであり、型式コードは主制御チップ型式コードである。問合せ種別は遊技機チップ情報問合せ種別であり、ホールサーバ801問合せ無、ホールサーバ801問合せ有、鍵管理サーバ問合せ有のいずれかである。なお、遊技機チップ問合せ結果は後述するSE2モードで通信される。   The acquisition result is a gaming machine chip information acquisition result, which is one of acquisition OK, acquisition NG, and acquisition processing. The manufacturer code is a main control chip manufacturer code, and the model code is a main control chip model code. The inquiry type is a gaming machine chip information inquiry type, and is any of hall server 801 no inquiry, hall server 801 inquiry present, and key management server inquiry present. Note that gaming machine chip inquiry results are communicated in SE2 mode to be described later.

<<39.遊技機チップ情報通知、40.遊技機チップ情報結果>>
CU制御部323からSC325bに対して遊技機チップ情報通知のコマンドが送信される。この遊技機チップ情報通知のコマンドは、SC325bに対して鍵管理サーバから取得した遊技機チップ情報の照合結果を通知するものである。遊技機チップ情報通知のデータには、通番、照合結果、主制御照合結果、払出制御照合結果が含まれる。照合結果は、チップ情報照合結果であり、応答有または応答無(ホールサーバ801〜CU制御部323オフライン)である。主制御照合結果は遊技機主制御チップ照合結果情報であり、払出制御照合結果は遊技機払出制御チップ照合結果情報である。なお、遊技機チップ情報通知は後述するSE2モードで通信される。
<< 39. Gaming machine chip information notification, 40. Game machine chip information result >>
A gaming machine chip information notification command is transmitted from the CU control unit 323 to the SC 325b. This gaming machine chip information notification command notifies the SC 325b of the result of checking the gaming machine chip information acquired from the key management server. The game machine chip information notification data includes a serial number, a verification result, a main control verification result, and a payout control verification result. The collation result is a chip information collation result, with or without response (hall server 801 to CU control unit 323 offline). The main control verification result is gaming machine main control chip verification result information, and the payout control verification result is gaming machine payout control chip verification result information. Note that the gaming machine chip information notification is communicated in the SE2 mode described later.

SC325bからCU制御部323に対して遊技機チップ情報結果のレスポンスが送信される。この遊技機チップ情報結果のレスポンスは、CU制御部323に対して遊技機チップ照合結果を受信したことを通知するものである。遊技機チップ情報結果のデータには、通番、遊技機チップ情報通知結果が含まれる。なお、遊技機チップ情報結果は後述するSE2モードで通信される。   A response of the gaming machine chip information result is transmitted from the SC 325b to the CU control unit 323. The response of the gaming machine chip information result notifies the CU control unit 323 that the gaming machine chip collation result has been received. The gaming machine chip information result data includes a serial number and gaming machine chip information notification result. The gaming machine chip information result is communicated in the SE2 mode described later.

<<41.基板状態要求、42.基板状態応答>>
CU制御部323からSC325bに対して基板状態要求のコマンドが送信される。この基板状態要求のコマンドは、SC325bに対してセキュリティ基板及び、遊技機の状態を要求するものである。基板状態要求のコマンドには、基板状態要求(付加情報無)と、ヘルスチェックを要求する基板状態要求(ヘルスチェック要求)、動作停止通知をするための基板状態要求(動作停止通知)との3種類がある。いずれも後述するSE2モードで通信される。
<< 41. Substrate status request, 42. Substrate status response >>
A substrate state request command is transmitted from the CU control unit 323 to the SC 325b. This board status request command requests the SC 325b for the status of the security board and the gaming machine. The substrate status request command includes a substrate status request (no additional information), a substrate status request for requesting health check (health check request), and a substrate status request for notification of operation stop (operation stop notification). There are types. Both are communicated in SE2 mode described later.

SC325bからCU制御部323に対して基板状態応答のレスポンスが送信される。この基板状態応答のレスポンスは、CU制御部323に対してセキュリティ基板及び遊技機の状態を通知するものであり、基板状態応答(付加情報無)と、基板状態要求(ヘルスチェック応答)と、アラーム情報を通知するための基板状態応答(アラーム情報通知)と、セキュリティ基板問合せ結果を通知する基板状態応答(セキュリティ基板問合せ結果)の4種類がある。また、いずれも後述するSE2モードで通信される。   A response of the substrate state response is transmitted from the SC 325b to the CU control unit 323. The response of the board state response is to notify the CU control unit 323 of the state of the security board and the gaming machine, the board state response (no additional information), the board state request (health check response), the alarm There are four types: a board status response for notifying information (alarm information notification) and a board status response for notifying a security board query result (security board query result). In both cases, communication is performed in the SE2 mode described later.

<CU制御部とSCとの通信における主なシーケンス>
<<コマンド、レスポンスの送信>>
まず、CU制御部323とSC325bとの間でのコマンドおよびレスポンスの送信について説明する。CU制御部323(1次局)からSC325b(2次局)に対してコマンドが送信され、SC325bはそのコマンドに応答してレスポンスをCU制御部323に返信する。つまり、業務電文の送信は、CU制御部323を1次局、SC325bを2次局としたコマンド/レスポンス方式である。
<Main sequence in communication between CU control unit and SC>
<< Send command and response >>
First, transmission of commands and responses between the CU control unit 323 and the SC 325b will be described. A command is transmitted from the CU control unit 323 (primary station) to the SC 325b (secondary station), and the SC 325b returns a response to the CU control unit 323 in response to the command. In other words, the transmission of the business message is a command / response system in which the CU control unit 323 is the primary station and the SC 325b is the secondary station.

CU制御部323からSC325bへのコマンドの送信から次のコマンドの送信までの期間が、200msすなわち0.2秒に制御される。またSC325bからCU制御部323へのレスポンスの送信を行なった後次のレスポンスの送信までの期間が200msすなわち0.2秒に制御される。   A period from transmission of a command from the CU control unit 323 to the SC 325b until transmission of the next command is controlled to 200 ms, that is, 0.2 seconds. Further, the period from the transmission of the response from the SC 325b to the CU control unit 323 until the transmission of the next response is controlled to 200 ms, that is, 0.2 seconds.

なお、ここでは、コマンドおよびレスポンスの送信間隔を200msにしたが、送信間隔をこれよりも長い間隔としても、また、より短い間隔としてもよく、たとえば、その送信間隔をSC325bの発射時間間隔と一致させることも考えられる。   Here, the transmission interval of the command and the response is set to 200 ms. However, the transmission interval may be longer or shorter than this, for example, the transmission interval may be the same as the emission time interval of SC325b. It is possible to make it.

また、CU制御部323は、鍵管理サーバへ問合せ情報を送信し、その応答をSC325bに通知する制御も可能である。すなわち、CU制御部323からSC325bに対して問合せ・通知情報要求を送信し、これに対するSC325bからの問合せ・通知情報の応答を受け、その応答に基づいてCU制御部323は鍵管理サーバに問合せを行なう。問合せ結果が得られると、CU制御部323は、問合せ・通知結果通知をSC325bに送信し、その応答である問合せ・通知結果応答をSC325bから受信する。   In addition, the CU control unit 323 can control to transmit inquiry information to the key management server and notify the SC 325b of the response. That is, an inquiry / notification information request is transmitted from the CU control unit 323 to the SC 325b, and a response to the inquiry / notification information from the SC 325b is received. Based on the response, the CU control unit 323 makes an inquiry to the key management server. Do. When the inquiry result is obtained, the CU control unit 323 transmits an inquiry / notification result notification to the SC 325b and receives an inquiry / notification result response as a response from the SC 325b.

<<CU制御部側の通信回線断検知>>
次に、CU制御部323側で通信断が検知された場合の処理について説明する。CU制御部323がSC325bに対してコマンドを送信してから200ms間にレスポンスを受信できなかった場合、再度同じコマンドをSC325bに送信する。さらにその200ms後までの間にレスポンスを受信できなかった場合には、同じコマンドをSC325bに送信するという2回目の再送を行なう。同じコマンドを最大2回までSC325bに再送する。2回目の再送を行なってもSC325bからレスポンスを受信できなかった場合、CU制御部323は「通信断」と判断する。なお、再送時の通番はカウントアップしない。
<< Communication line disconnection detection on CU control side >>
Next, processing when communication disconnection is detected on the CU control unit 323 side will be described. If the response is not received within 200 ms after the CU control unit 323 transmits a command to the SC 325b, the same command is transmitted to the SC 325b again. If no response is received within 200 ms, a second retransmission is performed in which the same command is transmitted to the SC 325b. Retransmit the same command to SC325b up to twice. If no response is received from the SC 325b even after the second retransmission, the CU control unit 323 determines that “communication is lost”. Note that the serial number at the time of retransmission is not counted up.

<<基板状態要求の送信>>
CU制御部323はSC325bとの認証完了後、P台と通信中に応答が受信できない場合、基板状態要求をSC325bに送信することにより、SC325bから基板状態応答(エラー状態)を受信することでP台の通信状態を取得できる。ただし、CU制御部323とSC325bとの間に通信断等が発生している場合はこの限りではない。
<< Submission of board status request >>
CU control unit 323 receives a board state response (error state) from SC 325b by sending a board state request to SC 325b when a response cannot be received during communication with P units after authentication with SC 325b is completed. The communication status of the console can be acquired. However, this is not the case when a communication disconnection or the like occurs between the CU control unit 323 and the SC 325b.

<<暗号モード>>
本実施の形態では、セキュリティの高さの異なる複数種類の暗号方式が利用される。ひとつは、第1セキュリティーモード(SE1モード)である。SE1モードは、鍵を加算更新せず、常に固定の鍵を用いて暗号化する低セキュリティーモードの暗号方式である。もうひとつは第2セキュリティモード(SE2モード)である。SE2モードは、平文に対してエクスクルーシブオア(排他的論理和)を行なうデータの元となるカウント値(鍵)を加算更新する高セキュリティーモードである。
<< Encryption mode >>
In the present embodiment, a plurality of types of encryption methods having different security levels are used. One is the first security mode (SE1 mode). The SE1 mode is an encryption method in a low security mode in which encryption is always performed using a fixed key without adding and updating keys. The other is the second security mode (SE2 mode). The SE2 mode is a high security mode in which a count value (key) that is a source of data for performing an exclusive OR (exclusive OR) on plaintext is added and updated.

SE2モードは、たとえば、カウンタを使った暗号方式であり、そのカウンタは、初期ベクタ値と、電文カウンタ部と暗号ブロックカウンタ部とで構成される。初期ベクタ値は後述のカウンタ情報応答電文で通知する。電文カウンタ部は初期ベクタ値受信時に初期化される。暗号ブロックカウンタ部は電文フレーム作成時に初期化され、ブロック暗号処理完了後に更新される。   The SE2 mode is, for example, an encryption method using a counter, and the counter includes an initial vector value, a message counter unit, and an encryption block counter unit. The initial vector value is notified by a counter information response message described later. The message counter unit is initialized when the initial vector value is received. The encryption block counter unit is initialized when a message frame is created, and updated after completion of the block encryption process.

電文カウンタ部は送信カウンタと受信カウンタ(上り用カウンタと下り用カウンタ)との2つのカウンタで構成されている。この場合、送信カウンタ(電文カウンタ部)は、電文送信時に更新(+1)されるが、再送時には更新されない。受信カウンタ(電文カウンタ部)は、電文受信時に更新されるが、電文受信時にデータ長NG等が発生した場合には更新されない。また、電文受信時にMAC異常が発生した場合は、カウンタを更新して復号する(カウンタの自動修復)が、それでも復号できない場合はMAC異常とする。なお、MAC異常判定した場合はカウンタを−2する。   The message counter unit is composed of two counters, a transmission counter and a reception counter (up counter and down counter). In this case, the transmission counter (message counter unit) is updated (+1) at the time of message transmission, but not updated at the time of retransmission. The reception counter (message counter unit) is updated when a message is received, but is not updated when a data length NG or the like occurs when a message is received. If a MAC error occurs during message reception, the counter is updated and decrypted (counter automatic repair). When the MAC abnormality is determined, the counter is decreased by 2.

<通信で用いられるフレーム構成(CU−P台間)>
次に、本実施の形態に係るCU3とP台2との間での通信について、詳しく説明する。当該通信で用いられる電文は、所定のフォーマットからなるフレームで構成されている。送信データ(電文)は、必ず1フレーム単位で送信される。つまり、電文の分割送信は行なわない。また、連続で電文を送信する場合は、1ミリ秒以上の間隔をあける。
<Frame configuration used in communication (between CU-P units)>
Next, communication between the CU 3 and the P base 2 according to the present embodiment will be described in detail. The message used in the communication is composed of a frame having a predetermined format. Transmission data (message) is always transmitted in units of one frame. That is, the divided transmission of the message is not performed. Moreover, when transmitting a message | telegram continuously, the space | interval of 1 millisecond or more is opened.

1フレームの送信データは、データ長、通常通番、加算通番、計数通番、コマンド、データ部を含む。「データ長」は、送信データのデータ長(通番〜データ部(業務電文範囲))を示す。「コマンド」は、電文のコマンドコードである。「データ部」は、電文のデータである。   One frame of transmission data includes a data length, a normal sequence number, an addition sequence number, a counting sequence number, a command, and a data portion. “Data length” indicates the data length of the transmission data (serial number to data portion (business message range)). “Command” is a command code of the message. The “data part” is data of a message.

<CUとP台との間で送受信するコマンドおよびレスポンス>
次に図7を参照して、カードユニット(CU)3とパチンコ機(P台)2との間で送受信されるコマンドおよびレスポンスの概略を説明する。図7には、送信方向および送信されるデータがコマンドかレスポンスかの別と送信情報の名称とその概略が示されている。
<Commands and responses sent and received between the CU and the P platform>
Next, an outline of commands and responses transmitted and received between the card unit (CU) 3 and the pachinko machine (P unit) 2 will be described with reference to FIG. FIG. 7 shows the transmission direction, whether the data to be transmitted is a command or a response, the name of transmission information, and its outline.

<<1.リカバリ要求、2.リカバリ応答>>
まず、CU3からP台2に対してリカバリ要求という名称のコマンドが送信される。このリカバリ要求のコマンドは、P台2に対してリカバリ情報を要求するものである。このリカバリ要求に対応して、P台2からCU3に対してリカバリ応答という名称のレスポンスが送信される。このリカバリ応答のレスポンスは、CU3に対してリカバリ情報を通知するものである。
<< 1. Recovery request, 2. Recovery response >>
First, a command named recovery request is transmitted from the CU 3 to the P unit 2. This recovery request command is for requesting recovery information from the P unit 2. In response to this recovery request, a response named recovery response is transmitted from the P base 2 to the CU 3. This response of the recovery response notifies the CU 3 of the recovery information.

リカバリ要求のコマンドは、CU3が認証を完了をした後にCU3からP台2に対して送信される。リカバリ要求のコマンドは、CU3からP台2に対してリカバリ情報を要求し、CU3が認証完了後、最初に同コマンドを送信する。リカバリ要求は、「通番」、「コマンド」、「前回最終送信通番」および「前回最終送信計数通番」が含まれている。「通番」は、シーケンス番号(1〜255)である。「コマンド」は、状態情報要求のコマンドコードであり、16進表現のバイナリデータで示してある。   The recovery request command is transmitted from the CU 3 to the P unit 2 after the CU 3 completes the authentication. The recovery request command requests recovery information from the CU 3 to the P unit 2, and the CU 3 transmits the command first after the authentication is completed. The recovery request includes “serial number”, “command”, “previous last transmission serial number”, and “previous final transmission count serial number”. “Serial number” is a sequence number (1 to 255). “Command” is a command code for requesting status information, and is represented by binary data in hexadecimal representation.

「前回最終送信通番」は、前回接続時にP台2に対して最後に送信した状態情報要求のコマンドの通番である。「前回最終送信通番」が“0”の場合、記憶している通番が無い状態を示している。なお、「前回最終送信通番」は、P台2において状態情報応答を送信時に、CU3において状態情報応答受信時に「通番」をP台2、CU3側ともに前回最終送信通番(通番)として記憶する通番である。   The “last last transmission sequence number” is the sequence number of the command for requesting the state information last transmitted to the P unit 2 at the time of the previous connection. When “Previous Last Transmission Sequence Number” is “0”, this indicates a state where there is no stored sequence number. The “previous last transmission serial number” is a serial number that stores the “sequential number” as the previous final transmission serial number (serial number) when the status information response is received at the CU3 and when the status information response is received at the CU3. It is.

「前回最終送信計数通番」は、前回接続時にP台2に対して最後に送信した状態情報要求のレスポンスの計数通番である。「前回最終送信計数通番」は、“0”の場合、記憶している通番が無い状態を示している。なお、「前回最終送信計数通番」は、P台2において状態情報応答を送信時に、CU3に状態情報応答受信時に計数通番をP台2、CU3側ともに前回最終送信計数通番として記憶する通番である。   “Previous last transmission count sequence number” is a count sequence number of a response to the status information request last transmitted to the P unit 2 at the previous connection. “Last transmission count sequence number” indicates that there is no stored sequence number when “0”. The “previous last transmission count sequence number” is a sequence number that stores the count sequence number as the previous last transmission count sequence number on the P unit 2 and the CU 3 side when receiving the status information response to the CU 3 when the P unit 2 transmits the status information response. .

P台2のリカバリ処理(計数玉数)において、P台2はCU3より通知された「前回最終送信計数通番」を参照して、CU3が計数要求に対する計数処理を実施していなかった場合は計数要求がなかったものとする。この場合、P台2は自らCU3に通知した計数要求に対応する遊技玉の減算処理を実行しない。一方、P台2はCU3より通知された「前回最終送信計数通番」を参照して、CU3が計数処理を実施済と判定したときには計数前の遊技玉数から計数玉数を減算して遊技玉を確定する。   In the recovery process (counting ball count) of the P unit 2, the P unit 2 refers to the “previous last transmission count sequence number” notified from the CU 3, and counts if the CU 3 has not performed the count process for the count request. Assume that there was no request. In this case, the P stand 2 does not execute the game ball subtraction process corresponding to the counting request notified to the CU 3 itself. On the other hand, the P stand 2 refers to the “previous last transmission count sequence number” notified from the CU 3, and when the CU 3 determines that the counting process has been performed, the game ball is subtracted from the number of game balls before counting. Confirm.

リカバリ応答のレスポンスは、CU3に対してP台2で保持しているリカバリ情報を応答するものである。リカバリ情報は、「通番」、「コマンド」、「前回最終送信通番」、「前回挿入中カードID」、「前回カード挿入時刻」、「前回最終送信加算通番」、「遊技情報格納有無」、「前回遊技台情報」および「前回遊技情報」を含んでいる。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The response of the recovery response is a response to the recovery information held in the P base 2 with respect to the CU 3. Recovery information includes “sequential number”, “command”, “previous last transmission serial number”, “last inserted card ID”, “previous card insertion time”, “previous last transmission addition serial number”, “game information storage presence / absence”, “ “Previous Game Table Information” and “Previous Game Information” are included. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

「前回最終送信通番」は、前回接続時にCU3に対して最後に送信した状態情報応答のレスポンスに含まれる通番のデータであり、“0”のときは保持している通番がない場合である。「前回挿入中カードID」は、前回接続時に挿入中だったカードのカードIDのデータであり、“0”のときは挿入中のカードがない場合である。P台2の払出制御部171は、CU3から送信される情報に基づいて挿入中であったカードIDを記憶保持している。   “Previous last transmission serial number” is data of a serial number included in the response of the status information response last transmitted to the CU 3 at the previous connection, and when “0”, there is no stored serial number. “Previously inserted card ID” is data of the card ID of the card that was being inserted at the previous connection, and “0” indicates that there is no inserted card. The payout control unit 171 of the P table 2 stores and holds the card ID that was being inserted based on the information transmitted from the CU 3.

「前回カード挿入時刻」は、前回接続時に挿入中だったカードの挿入時刻のデータであり、“0”のときは挿入中のカードがない場合である。このデータも、年情報を2桁YY、月情報を2桁MM、日情報を2桁DD、時間情報を2桁hh、分情報を2桁mm、秒情報を2桁ssで表されるデータである。「前回最終送信加算通番」は、前回接続時にCU3に対して最後に送信した状態情報応答のレスポンスに含まれる加算通番であり、“0”のときは当該加算通番がない場合である。「遊技情報格納有無」は、遊技情報を格納していない場合“0x00”、遊技情報を格納している場合“0x01”である。   “Previous card insertion time” is data on the insertion time of a card that was being inserted at the time of the previous connection, and when it is “0”, there is no inserted card. This data is also represented by year information as 2 digits YY, month information as 2 digits MM, day information as 2 digits DD, time information as 2 digits hh, minute information as 2 digits mm, and second information as 2 digits ss. It is. The “previous last transmission addition serial number” is an addition serial number included in the response of the status information response last transmitted to the CU 3 at the previous connection, and when “0”, there is no additional serial number. “Game information storage presence / absence” is “0x00” when game information is not stored, and “0x01” when game information is stored.

「前回遊技台情報」は、CU3に前回通知した遊技台情報であり、「遊技玉数」、「発射玉数」、「アウト口通過玉数」、「総賞球玉数」、「計数玉数」および「計数通番」の情報を含んでいる。「遊技玉数」は、CU3に前回通知した遊技玉数である。「発射玉数」は、CU3に前回通知した発射玉数である。「アウト口通過玉数」は、CU3に前回通知したアウト口通過玉数である。「総賞球玉数」は、CU3に前回通知した総賞球玉数である。「計数玉数」は、CU3に前回通知した計数玉数である。「計数通番」は、CU3に前回通知した計数通番である。   The “previous gaming machine information” is the gaming machine information previously notified to the CU 3, and includes “the number of gaming balls”, “the number of fired balls”, “the number of balls passing through the outlet”, “the total number of winning ball balls”, “the counting ball” It includes information on “number” and “counting serial number”. The “number of game balls” is the number of game balls notified to the CU 3 last time. “Number of fired balls” is the number of fired balls previously notified to CU3. The “out mouth passing ball count” is the number of out mouth passing balls notified to the CU 3 last time. The “total prize ball number” is the total prize ball number notified to the CU 3 last time. “Counting balls” is the number of counting balls notified to CU3 last time. “Counting sequence number” is the counting sequence number notified to the CU 3 last time.

「前回遊技情報」は、CU3に前回通知した遊技情報であり、「遊技情報数」、「種別情報1」〜「種別情報n」、「賞球情報1」〜「賞球情報n」の情報を含んでいる。「遊技情報数」は、CU3に前回通知した遊技情報の個数(0〜n)である。なお、n=0〜22で可変長である。「種別情報1」は、CU3に前回通知した遊技種別情報1である。「種別情報n」は、CU3に前回通知した遊技種別情報nである。「賞球情報1」は、CU3に前回通知した遊技賞球情報1である。「賞球情報n」は、CU3に前回通知した遊技賞球情報nである。   The “previous game information” is game information previously notified to the CU 3, and includes information on “number of game information”, “type information 1” to “type information n”, “prize ball information 1” to “prize ball information n”. Is included. The “number of game information” is the number (0 to n) of game information notified to the CU 3 last time. Note that n = 0 to 22 and the length is variable. “Type information 1” is the game type information 1 notified to the CU 3 last time. “Type information n” is the game type information n notified to the CU 3 last time. “Prize ball information 1” is game prize ball information 1 notified to the CU 3 last time. “Prize ball information n” is game prize ball information n notified to the CU 3 last time.

なお、「前回最終送信加算通番」は、CU3において状態情報要求を送信時、P台2において状態情報要求受信時に、CU3側、P台2ともに前回最終送信加算通番として記憶する通番である。   The “previous last transmission addition serial number” is a serial number that is stored as the last final transmission addition serial number on the CU 3 side and the P base 2 when the status information request is received at the CU 3 and when the status information request is received at the P base 2.

P台2はCU3から先に受信するリカバリ要求に含まれる「前回最終送信通番」と、P台2が記憶している前回最終送信通番とを比較して、両者が一致しているか否かを判定する。一致している場合にはリカバリ情報の送信の必要無と判断し、不一致の場合にはリカバリ情報の送信の必要有と判断する。前者の場合には、リカバリ応答内の情報を「遊技情報格納無」としてリカバリデータ(遊技情報)を含まないリカバリ応答をCU3へ返信する。一方、後者の場合には、リカバリ応答内の情報を「遊技情報格納有」としてリカバリデータ(遊技情報)を含むリカバリ応答をCU3へ返信する。   The P unit 2 compares the “last previous transmission sequence number” included in the recovery request received first from the CU 3 with the previous last transmission sequence number stored in the P unit 2, and determines whether or not they match. judge. If they match, it is determined that it is not necessary to transmit recovery information. If they do not match, it is determined that recovery information needs to be transmitted. In the former case, the information in the recovery response is set to “no game information stored” and a recovery response not including recovery data (game information) is returned to the CU 3. On the other hand, in the latter case, the recovery response including the recovery data (game information) is returned to the CU 3 with the information in the recovery response as “gaming information stored”.

なお、遊技情報のリカバリデータがない時または前回最終送信通番が0の時は「遊技情報格納有無」を格納無“0x00”にし、「前回遊技台情報」および「前回遊技情報」をALL“0”をセットする。また、CU3は、P台2より通知された「前回最終送信通番」の処理を実施していなかった場合、前回遊技台情報を使用してリカバリ処理を行なう。なお、「前回最終送信通番」の処理を実施している場合は、CU3は、前回遊技台情報のみ使用してリカバリ処理を行なう。ただし、計数玉数のリカバリは実施しない。   When there is no recovery information for game information or when the last transmission sequence number is 0, “game information storage presence / absence” is not stored “0x00”, and “previous game machine information” and “previous game information” are set to ALL “0”. ”Is set. In addition, when the “last previous transmission serial number” process notified from the P table 2 is not performed, the CU 3 performs the recovery process using the previous game machine information. If the “last previous transmission serial number” process is being performed, the CU 3 performs the recovery process using only the previous game machine information. However, the number of balls is not recovered.

また、通信相手の不一致等(たとえばCU3またはP台2の交換等)でリカバリ処理が実施できない場合、P台2の表示情報を元にPOSで手補正することが考えられる。たとえば、P台2の表示情報は、可変表示装置278の液晶表示画面を利用して表示することが考えられる。あるいは、P台2に対して、払出制御部171が制御する表示器をさらに設けておき、その表示器に対して手補正のための情報を表示することも考えられる。なお、POSとは、景品管理システムのことであり、景品交換や景品の管理を行なうものである。また、POSは、景品交換や景品の管理を行なうものに限定されず、店舗で商品を販売するごとに商品の販売情報を記録し、集計結果を在庫管理やマーケティング材料として用いる一般的な販売時点管理(Point Of Sales system)であってもよい。   In addition, when recovery processing cannot be performed due to a mismatch of communication partners (for example, replacement of the CU 3 or the P unit 2), it may be possible to manually correct by POS based on the display information of the P unit 2. For example, it is conceivable that the display information of the P base 2 is displayed using the liquid crystal display screen of the variable display device 278. Alternatively, it is also conceivable that a display device controlled by the payout control unit 171 is further provided on the P table 2 and information for manual correction is displayed on the display device. Note that POS refers to a free gift management system for exchanging free gifts and managing free gifts. In addition, POS is not limited to those for exchanging prizes or managing prizes, but records general sales information for each sale of merchandise at a store and uses the aggregated results as inventory management or marketing materials. It may be management (Point Of Sales system).

<<3.リカバリ要求2、4.リカバリ応答2>>
CU3からP台2に対してリカバリ要求2という名称のコマンドが送信される。このリカバリ要求2のコマンドは、P台2に対して加算リカバリ情報を通知するものである。このリカバリ要求2に対応して、P台2からCU3に対してリカバリ応答2という名称のレスポンスが送信される。このリカバリ応答2のレスポンスは、CU3に対して加算リカバリ情報の処理結果を通知するものである。
<< 3. Recovery request 2, 4. Recovery response 2 >>
A command named recovery request 2 is transmitted from the CU 3 to the P unit 2. The command of this recovery request 2 notifies the addition recovery information to the P unit 2. In response to this recovery request 2, a response named recovery response 2 is transmitted from the P base 2 to the CU3. This response of the recovery response 2 notifies the CU 3 of the processing result of the added recovery information.

リカバリ要求2のコマンドは、P台2に対して加算リカバリ情報を通知するものであり、「通番」、「コマンド」、「前回最終送信加算通番」および「加算玉数」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。リカバリ要求2は、P台2において加算玉リカバリ処理を実施する必要有とCU3が判定したときに送信される。CU3は、P台2より受信したリカバリ応答に含まれる「前回最終送信加算通番」と自身で記憶している「前回最終送信加算通番」とを比較して一致している場合には加算玉リカバリ処理の必要無と判定し、不一致の場合には加算玉リカバリ処理の必要有と判定する。加算玉リカバリ処理の必要有と判定したときにはリカバリ要求2を送信する。   The command of the recovery request 2 is to notify the additional recovery information to the P unit 2 and includes data of “serial number”, “command”, “previous last transmission additional serial number”, and “additional number of balls”. Yes. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated. The recovery request 2 is transmitted when the CU 3 determines that it is necessary to perform the additional ball recovery process in the P stand 2. The CU 3 compares the “previous last transmission addition serial number” included in the recovery response received from the P unit 2 with the “previous final transmission addition serial number” stored in the CU 3, and if they match, the additional ball recovery is performed. It is determined that processing is not necessary, and in the case of mismatch, it is determined that addition ball recovery processing is necessary. When it is determined that addition ball recovery processing is necessary, a recovery request 2 is transmitted.

リカバリ要求2に含まれる「前回最終送信加算通番」は、前回接続時にP台2に対して最後に送信した状態情報要求のコマンドの加算通番のデータであり、「加算玉数」は、遊技玉の加算玉数のデータである。   The “last last transmission addition sequence number” included in the recovery request 2 is data of the addition sequence number of the command of the status information request last transmitted to the P-unit 2 at the previous connection, and the “addition ball number” is the game ball This is data on the number of balls added.

次に、P台2のリカバリ処理について詳しく説明する。P台2のリカバリ処理は、P台2がリカバリ要求2に基づいて、CU3より通知された「前回最終送信通番」の処理を実施していなかった場合、加算玉数を参照して遊技玉に対して加算を行なう処理である。   Next, the recovery process of the P base 2 will be described in detail. The recovery process of the P unit 2 is based on the recovery request 2 and, if the “last previous transmission serial number” process notified from the CU 3 has not been performed, This is a process of performing addition.

リカバリ応答2のレスポンスは、CU3に対してP台2で加算リカバリ情報の処理結果を通知するもので、「通番」、「コマンド」および「リカバリ結果」を含んでいる。「リカバリ結果」は、“0x00”の場合リカバリ結果OK、“0x01”の場合リカバリ結果NGである。なお、P台2が加算玉数を受けられない状態の場合はリカバリ結果として処理NGを応答する。   The response of the recovery response 2 is for notifying the CU 3 of the processing result of the added recovery information at the P unit 2 and includes “serial number”, “command”, and “recovery result”. The “recovery result” is a recovery result OK when “0x00”, and a recovery result NG when “0x01”. In addition, when the P stand 2 is in a state where the number of additional balls cannot be received, a process NG is returned as a recovery result.

<<5.通信開始要求、6.通信開始応答>>
CU3からP台2に対して通信開始要求のコマンドが送信される。この通信開始要求のコマンドは、P台2に対して通信開始を要求するものである。この通信開始要求に対応して、P台2からCU3に対して通信開始応答のレスポンスが送信される。この通信開始応答のレスポンスは、CU3に対して通信開始を応答するものである。
<< 5. 5. Communication start request, Communication start response >>
A communication start request command is transmitted from the CU 3 to the P unit 2. This communication start request command requests the P base 2 to start communication. In response to this communication start request, a response to the communication start response is transmitted from the P base 2 to the CU 3. This response to the communication start response is a response to the CU 3 for communication start.

通信開始要求のコマンドは、P台2に対して正常に通信開始したことを通知するものである。通信開始要求を受信したP台2は、それまで記憶していたリカバリ情報をクリアする。通信開始要求のコマンドは、「通番」、「コマンド」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。なお、CU3は、通信開始要求後、計数通番を“0”(初期値)に、P台2も通信開始要求受信後、計数通番を“0”(初期値)にする。   The communication start request command notifies the P unit 2 that communication has started normally. Receiving the communication start request, the P base 2 clears the recovery information stored so far. The communication start request command includes “serial number” and “command” data. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated. The CU 3 sets the counting sequence number to “0” (initial value) after the communication start request, and the P unit 2 also sets the counting sequence number to “0” (initial value) after receiving the communication start request.

通信開始応答のレスポンスは、CU3に対して、正常に通信開始したことを通知するものであり、CU3が、リカバリ情報をクリアする。通信開始応答のレスポンスは、「通番」、「コマンド」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The response to the communication start response is to notify the CU 3 that the communication has started normally, and the CU 3 clears the recovery information. The response of the communication start response includes “serial number” and “command” data. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

<<7.通信終了要求、8.通信終了応答>>
CU3からP台2に対して通信終了要求のコマンドが送信される。この通信終了要求のコマンドは、P台2に対して通信終了を要求するものである。この通信終了要求に対応して、P台2からCU3に対して通信終了応答のレスポンスが送信される。この通信終了応答のレスポンスは、CU3に対して通信終了を応答するものである。
<< 7. 7. Communication end request, Communication end response >>
A communication end request command is transmitted from the CU 3 to the P platform 2. This communication end request command requests the P unit 2 to end communication. In response to this communication end request, a response of a communication end response is transmitted from the P base 2 to the CU 3. This communication end response is a response to the end of communication to the CU3.

通信終了要求のコマンドは、P台2に対して正常に通信終了したことを通知するものであり、「通番」、「コマンド」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The communication end request command notifies the P unit 2 that the communication has ended normally, and includes “serial number” and “command” data. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

通信終了応答のレスポンスは、CU3に対して、正常に通信終了したことを通知するものであり、CU3およびP台2が、該通知以降、通信を停止し再起動待ちとする。通信終了応答のレスポンスは、「通番」、「コマンド」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The response of the communication end response is to notify the CU 3 that the communication has ended normally, and the CU 3 and the P stand 2 stop the communication and wait for the restart after the notification. The response of the communication end response includes “serial number” and “command” data. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

<<9.状態情報要求>>
CU3からP台2に対して状態情報要求のコマンドが送信される。この状態情報要求のコマンドは、P台2に対してCU3の状態を要求するものである。CU3はこのコマンドを使用して、P台2の状態を定期的に確認する。また、状態情報要求のコマンドには、図6に示したCU3側からP台2側へ向かう加算玉数が含まれている。
<< 9. Status information request >>
A status information request command is transmitted from the CU 3 to the P platform 2. This status information request command is for requesting the status of the CU 3 to the P unit 2. The CU 3 uses this command to periodically check the status of the P base 2. The status information request command includes the number of balls to be added from the CU3 side to the P stand 2 side shown in FIG.

この状態情報要求の具体的データには、「通番」、「コマンド」、「CU状態」、「加算玉数」、「加算通番」および「計数通番」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   Specific data of this status information request includes data of “sequential number”, “command”, “CU state”, “addition ball number”, “additional serial number”, and “counting serial number”. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

「CU状態」は、P台2に対して通知するCU3の状態を表わし、Bit0が“1”のときにカード挿入中を、“0”のときカード未挿入をそれぞれ示している。つまり、Bit0は、CU3にカード(一般カード/会員カード)が挿入されている状態を表わしている。また、CU3のカードストック部に予めストックされているストックカード(一般0円0玉カード)への入金により一般カード挿入中となる。   The “CU state” represents the state of the CU 3 notified to the P base 2, and indicates that a card is being inserted when Bit 0 is “1”, and no card is inserted when “0”. That is, Bit0 represents a state where a card (general card / member card) is inserted in CU3. In addition, a general card is being inserted by depositing into a stock card (general 0 yen 0 card) stocked in advance in the card stock section of CU3.

Bit1が“1”のときカードユニット開店中を、“0”のときカードユニット閉店中をそれぞれ示している。つまり、Bit1は、CU3の状態により、P台2に対してカードユニット開店状態を通知する。カードユニット開店中を通知するタイミングは、たとえば、開店完了時である。カードユニット閉店中を通知するタイミングは、たとえば、閉店時である。なお、P台2は同状態が開店中から閉店中に変化時、保持している遊技玉を全て計数玉数として状態情報応答にてCU3に通知する。   When Bit 1 is “1”, the card unit is being opened, and when it is “0”, the card unit is being closed. That is, Bit1 notifies the P unit 2 of the card unit opening state according to the state of CU3. The timing for notifying the opening of the card unit is, for example, when the opening of the card unit is completed. The timing for notifying that the card unit is closed is, for example, when the store is closed. Note that when the same state changes from opening to closing, the P stand 2 notifies the CU 3 with a status information response as the number of all playing game balls being held.

Bit2が“1”のときカード返却準備中を、“0”のときカード返却準備中以外をそれぞれ示している。CU3は、カード返却、簡易離席、および食事休憩のそれぞれの操作時に、このビットを立てることによって、P台2に対して「カード返却準備中」を一定時間(10秒)通知する。P台2は、計数ボタン28の操作が検出されたときに、このカード返却準備中のビットがオンの状態情報要求を受信していれば、計数ボタンを1回操作したか複数回操作したかに関わらず、あるいは操作継続時間に関わらず、記憶している遊技玉を全て計数玉数として状態情報応答にてCU3に通知する。   When Bit 2 is “1”, the card return preparation is in progress, and when “0”, the card return preparation is not in progress. The CU 3 notifies the P stand 2 of “preparing for card return” for a certain time (10 seconds) by setting this bit during each operation of card return, simple leaving, and meal break. When the operation of the counting button 28 is detected, the P table 2 has operated the counting button once or a plurality of times if it has received a status information request with the bit being prepared for card return turned on. Regardless of the operation duration, regardless of the operation duration time, all the stored game balls are notified to the CU 3 by counting the number of balls.

Bit3が“1”のとき遊技玉加算要求を、“0”のとき遊技玉加算要求無をそれぞれ示している。つまり、Bit3は、玉貸、持玉払出、および貯玉払出の操作時に遊技玉の加算(加算玉数)を要求する。   When Bit 3 is “1”, a game ball addition request is shown, and when Bit 3 is “0”, no game ball addition request is shown. That is, Bit3 requests addition of game balls (the number of added balls) at the time of ball lending, holding ball payout, and stored ball payout operations.

Bit4が“1”のとき計数玉受領完了を、“0”は計数玉未受領をそれぞれ示している。Bit4は、計数玉受領時に受領完了したことをP台2に通知する。つまり、状態情報応答のレスポンス「計数玉数」の送達を確認するために用いている。なお、Bit5〜Bit7は未使用である。   When Bit 4 is “1”, completion of counting ball reception is indicated, and “0” indicates that counting ball is not received. Bit4 notifies P stand 2 that the receipt has been completed when the counting ball is received. That is, it is used to confirm delivery of the response “count ball” of the state information response. Bit 5 to Bit 7 are not used.

「加算玉数」は、遊技玉の加算玉数であり、CU状態のBit3が“1”のときにのみ加算玉数のデータが有効となる。「加算通番」は、加算用シーケンス番号(0〜255)であり、遊技玉加算要求時にシーケンス番号を更新(+1)して通知する。「計数通番」は、計数用シーケンス番号(0〜255)であり、計数要求時に受信した計数通番をそのまま通知する。ただし、計数通番の連続性が成立しない場合は計数受領を出さない。   The “added ball number” is the added ball number of game balls, and the data of the added ball number is valid only when Bit 3 in the CU state is “1”. The “addition serial number” is an addition sequence number (0 to 255), and is notified by updating (+1) the sequence number when a game ball addition request is made. The “counting sequence number” is a counting sequence number (0 to 255), and the count sequence number received when the count is requested is notified as it is. However, if the continuity of the counting sequence number is not established, the counting is not received.

<<10.状態情報応答>>
状態情報要求に対応して、P台2からCU3に対して状態情報応答のレスポンスが送信される。この状態情報応答のレスポンスは、CU3に対してP台2の情報・状態を通知するものである。状態情報応答のレスポンスには、図6に示した最新遊技台情報や遊技玉数が含まれている。
<< 10. Status information response >>
In response to the status information request, a response of the status information response is transmitted from the P base 2 to the CU 3. This response of the status information response is to notify the information / status of the P platform 2 to the CU 3. The response of the status information response includes the latest game table information and the number of game balls shown in FIG.

この状態情報要求の具体的データには、「通番」、「コマンド」、「遊技玉数」、「発射玉数」、「アウトロ通過玉数」、「総賞球玉数」、「計数要求玉数」「計数通番」、「発射強度」、「遊技台状態」、「不正検知情報」および「遊技情報」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The specific data of this status information request includes “sequential number”, “command”, “number of game balls”, “number of fired balls”, “number of balls passed through the outro”, “total number of ball balls”, “count request ball” Data of “number”, “counting serial number”, “launch strength”, “game table state”, “tamper detection information” and “game information” are included. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

「遊技玉数」は、現在の遊技玉数(加算・減算を演算した結果の遊技玉数)である。「遊技玉数」は、CU3が後述する「総賞球玉数」「発射玉数」および「計数玉数」を使用してCU3の保持している遊技玉数を計算する。その後、CU3は、計算したCU3の遊技玉数と、P台2の遊技玉数とが一致するかをチェックする。   The “number of game balls” is the current number of game balls (the number of game balls as a result of calculating addition / subtraction). The “number of game balls” calculates the number of game balls held by the CU 3 by using the “total prize ball number”, “number of fired balls”, and “count ball number” described later. Thereafter, the CU 3 checks whether the calculated number of game balls of the CU 3 matches the number of game balls of the P unit 2.

「発射玉数」は、発射個数(送信時に複数発射された玉がある場合は合算する)である。ただし、バック玉数がある場合はバック玉数分を減算する。つまり、「発射玉数」(減算)は、CU3が保持している遊技玉数から減算するデータである。カードを保持してない状態で該データを受信した場合、CU3は遊技玉数の減算を行なわない。また、CU3は、CU3自体の保持している遊技玉数が0玉の場合、減算を行なわない。   “Number of fired balls” is the number of fired balls (summed if there are balls fired multiple times at the time of transmission). However, if there are back balls, subtract the number of back balls. That is, the “number of fired balls” (subtraction) is data to be subtracted from the number of game balls held by the CU 3. If the data is received without holding the card, CU3 does not subtract the number of game balls. CU3 does not perform subtraction when the number of game balls held by CU3 itself is 0.

「アウト口通過玉数」は、アウト口154を通過した玉の個数(送信時に複数の通過玉がある場合は合算する)である。   “The number of balls that have passed through the outlet” is the number of balls that have passed through the outlet 154 (when there are a plurality of balls that have passed during transmission, they are added together).

「総賞球玉数」は、賞球情報1−nの賞球玉数の合計である。この賞球情報1−nとは、たとえば始動口、大入賞口、入賞口(普通入賞口)等の入賞口種別毎の賞球玉数のことである。なお、「総賞球玉数」(加算)は、CU3より送信する「加算要求玉数」は含まない。また、CU3は保持している遊技玉数に総賞球玉数のデータを加算する。カードを保持していない状態で総賞球玉数のデータを受信した場合、CU3は遊技玉数の加算は行なわない。   “Total number of prize balls” is the total number of prize balls in the prize ball information 1-n. The prize ball information 1-n is the number of prize balls for each prize opening type such as a start opening, a big winning opening, a winning opening (ordinary winning opening), and the like. Note that the “total prize ball number” (addition) does not include the “addition request ball number” transmitted from the CU 3. In addition, the CU 3 adds the data of the total number of prize balls to the number of game balls held. When the data for the total number of winning balls is received without holding the card, CU3 does not add the number of gaming balls.

「計数要求玉数」は、計数要求した遊技玉の個数である。つまり「計数玉数」(減算)は、CU3が保持している遊技玉数から減算し、カード持玉数に加算するデータである。なお、P台2からCU3に送信する減算玉数のデータに計数玉数は利用しない。また、カードを保持してない状態で該データを受信した場合、CU3は遊技玉数の減算を行なわない。また、CU3は、CU3自体の保持している遊技玉数が0玉の場合、減算を行なわない。   The “count request ball number” is the number of game balls requested to be counted. That is, the “count ball” (subtraction) is data that is subtracted from the number of game balls held by the CU 3 and added to the number of cards held. Note that the number of counting balls is not used for the data of the number of subtraction balls transmitted from the P stand 2 to the CU 3. Further, when the data is received without holding the card, the CU 3 does not subtract the number of game balls. CU3 does not perform subtraction when the number of game balls held by CU3 itself is 0.

ただし、カードユニット開店状態が開店中から閉店中に変化した場合は、遊技機が保持している遊技玉を計数して計数玉数として設定する。カードユニット開店状態が開店中のときには計数ボタン28の操作が行なわれたことにより遊技玉を計数して計数玉数として設定する。しかし、カードユニット開店状態が開店中から閉店中に変化した場合は、計数ボタン28の操作を待つことなく自動的に遊技玉を計数して計数玉数として設定する。   However, when the card unit opening state changes from opening to closing, the game balls held by the gaming machine are counted and set as the number of counting balls. When the card unit opening state is open, the operation of the counting button 28 is performed, so that the number of game balls is counted and set as the number of counting balls. However, when the card unit opening state changes from opening to closing, the game balls are automatically counted and set as the number of counting balls without waiting for the operation of the counting button 28.

「計数通番」は、計数用シーケンス番号(0〜255)であり、計数要求時にシーケンス番号を更新(+1)して通知する。   The “counting serial number” is a counting sequence number (0 to 255), and is updated (+1) and notified when a counting is requested.

「発射強度」は、遊技玉の発射するための強度である。
「遊技台状態」は、CU3からP台2に対して状態情報要求のコマンドが送信された時点の、P台2の状態を示し、「遊技台状態1」、「遊技台状態2」、「遊技台状態3」、および「遊技台エラー状態」の情報を含んでいる。
“Launch strength” is the strength for launching a game ball.
The “gaming table state” indicates the state of the P table 2 at the time when the command for requesting the status information is transmitted from the CU 3 to the P table 2. It includes information on “game table state 3” and “game table error state”.

「遊技台状態1」のBit0は、遊技を許可しているか、禁止しているかを示しており、“0”のときに遊技許可中であり、“1”のとき遊技禁止中である。Bit1は、ファン(遊技者)がプレイ中(玉を発射している)か否かを示しており、0”のとき待機中(ファンが球を発射してない状態)、“1”のとき遊技中(ファンが球を発射している状態)である。ただし、遊技玉が有り、発射ハンドル(打球操作ハンドル25)をタッチした状態(タッチセンサに触れた状態)で遊技中となる。   Bit 0 of “gaming table state 1” indicates whether the game is permitted or prohibited. When “0”, the game is permitted, and when “1”, the game is prohibited. Bit1 indicates whether or not the fan (player) is playing (balls are being fired), and is “0” when waiting (the fan is not firing a ball), and “1”. The game is in progress (a state in which the fan is firing a ball), but there is a game ball and the game is in the state in which the launch handle (hitting ball operating handle 25) is touched (touch sensor touched).

Bit2は、遊技玉の有無(遊技玉無の検知)を示している。“0”のとき遊技玉数有、“1”のとき遊技玉数無である。Bit3は、玉の発射が停止している状態で、全ての発射した玉の行方が確定しているか否かを示している。つまり、遊技領域27内の浮遊玉が全て回収されたか否か示している。ただし、発射停止スイッチ(単発打ちスイッチとも言う)による玉の発射停止は除く。“0”のとき遊技未完了(全ての玉の行方が未確定の状態)、“1”のとき遊技完了(全ての玉の行方が確定している状態)である。なお、P台2は、玉の発射を停止してから15秒以上遊技の完了を確認できなかった場合、タイムアウトし、遊技完了とする。   Bit 2 indicates the presence / absence of a game ball (detection of no game ball). When “0”, there are a number of game balls, and when “1”, there is no game balls. Bit 3 indicates whether or not the whereabouts of all the fired balls are confirmed in a state where the fire of the balls is stopped. That is, it shows whether all the floating balls in the game area 27 have been collected. However, it does not include ball stoppages due to a fire stop switch (also called a single shot switch). When it is “0”, the game is incomplete (a state where all balls are unconfirmed), and when it is “1”, a game is complete (a state where all balls are confirmed). Note that if the completion of the game is not confirmed for 15 seconds or more after the ball launch is stopped, the P platform 2 times out and the game is completed.

Bit4は、遊技玉の計数要求の有無(計数ボタン押下の有無)を示しており、“0”のとき要求無、“1”のとき計数開始時の計数受付要求有または計数玉の払出要求有である。P台は、計数操作が検出されたときに、この計数要求ONの状態情報応答をCUへ送信し、計数要求が受領されたか否かを確認する。“1”のとき計数要求である。Bit5は、遊技玉加算の処理結果を示しており、“0”のとき加算OK、“1”のとき加算NGである。Bit6〜Bit7は予備である。   Bit 4 indicates whether or not a game ball is counted (whether or not a count button is pressed). When “0”, there is no request, when “1”, there is a count acceptance request at the start of counting or a counting ball payout request. It is. When the counting operation is detected, the P platform transmits a count information ON status information response to the CU and confirms whether or not the counting request has been received. When “1”, it is a count request. Bit 5 indicates the processing result of the game ball addition, which is addition OK when “0” and addition NG when “1”. Bit 6 to Bit 7 are reserved.

「遊技台状態2」のBit0は、大当り情報の大当り1(全ての大当り)を表わし、全ての大当り中“1”をセットする。Bit1は、大当り情報の大当り2(大当り+小当り)を表わし、全ての大当り中および小当り中“1”をセットする。Bit2は、大当り情報の大当り3(出玉大の大当り)を表わし、出玉が大きい大当り中“1”をセットする。Bit3は、大当り情報の大当り4(出玉小の大当り)を表わし、出玉が小さい大当り中“1”をセットする。Bit4は、大当り情報の大当り5(出玉中の大当り)を表わし、出玉が中間の大当り中“1”をセットする。Bit5〜Bit7は予備である。   Bit 0 of “gaming table state 2” represents jackpot information jackpot 1 (all jackpots), and “1” is set during all jackpots. Bit 1 represents big hit 2 of big hit information (big hit + small hit), and sets “1” during all big hits and small hits. Bit 2 represents the big hit 3 of the big hit information (big hit of the big ball), and “1” is set during the big hit where the big ball is big. Bit 3 represents big hit 4 of big hit information (big hit of small ball), and “1” is set during big hit with small ball. Bit 4 represents a big hit 5 of the big hit information (a big hit in the outgoing ball), and “1” is set during the big hit in the middle of the outgoing ball. Bit5 to Bit7 are reserved.

「遊技台状態3」のBit0は、遊技状態情報の大当り中+時短中を表わし、大当り中および時短中“1”をセットする。Bit1は、遊技状態情報の確変中を表わし、確変中“1”をセットする。Bit2は、遊技状態情報の時短中を表わし、時短中“1”をセットする。Bit3〜Bit7は予備である。   Bit 0 of “gaming table state 3” represents a big hit in the gaming state information + short time, and “1” is set in the big hit and short time. Bit1 represents the probability change of the game state information, and “1” is set during the probability change. Bit 2 represents the time of the game state information, and “1” is set during the time reduction. Bit3 to Bit7 are reserved.

「遊技台エラー状態」は、P台2で発生中のエラーコードを示し、Bit0〜Bit5を用いて各エラーコードを表現している。なお、Bit0〜Bit5が全て“0”のときにはエラー無である。Bit6は、エラーが発生している場所を特定する情報であり、“0”のとき払出制御、“1”のとき主制御をそれぞれ表わしている。Bit7は、エラーの出力方法を示し、“0”のとき発報のみ、“1”のとき発報+ホールサーバ801への出力を表わしている。   The “gaming table error state” indicates an error code that is occurring in the P table 2, and each error code is expressed using Bit0 to Bit5. Note that there is no error when Bit 0 to Bit 5 are all “0”. Bit 6 is information for specifying a place where an error has occurred, and represents payout control when “0” and main control when “1”. Bit 7 indicates an error output method. When “0”, only an alert is issued, and when “1”, an alert + output to the hall server 801 is indicated.

「不正検知情報」は、CU3からP台2に対して状態情報要求のコマンドが送信された時点の、P台2で検知した情報であり、「不正検知状態1」、「不正検知状態2」、「不正検知情報1」〜「不正検知情報4」および「加算通番」の情報を含んでいる。   The “fraud detection information” is information detected by the P machine 2 at the time when the command for requesting the status information is transmitted from the CU 3 to the P machine 2, and includes “fraud detection state 1” and “fraud detection state 2” , “Illegal detection information 1” to “fraud detection information 4” and “additional serial number” are included.

「不正検知状態1」は、主制御基板16の不正検知情報である。「不正検知状態1」のBit0は、“1”のとき電波センサ検知の不正検知情報であることを表わしている。Bit1は、“1”のとき磁気センサ検知不の正検知情報であることを表わしている。Bit2は、“1”のとき不正入賞検知の不正検知情報であることを表わしている。Bit3〜Bit7は予備である。   The “fraud detection state 1” is fraud detection information of the main control board 16. Bit 0 of “fraud detection state 1” indicates fraud detection information of radio wave sensor detection when “1”. Bit1 indicates that it is the positive detection information that the magnetic sensor is not detected when “1”. Bit2 represents fraud detection information for fraud detection when “1”. Bit3 to Bit7 are reserved.

「不正検知状態2」は、払出制御基板17の不正検知情報である。「不正検知状態2」のBit0は、“1”のときガラス板開放の不正検知情報であることを表わしている。Bit1は、“1”のとき枠本体開放の不正検知情報であることを表わしている。Bit2は、“1”のとき電波センサ検知の不正検知情報であることを表わしている。Bit3は、“1”のとき近接センサ異常の不正検知情報であることを表わしている。Bit4は、“1”のとき賞球ゴト検知の不正検知情報であることを表わしている。ここで、「ゴト」とは、パチンコやスロットマシンにおいて不正な方法で出玉を獲得する不正行為のことである。Bit5は、“1”のとき複合ゴト検知の不正検知情報であることを表わしている。Bit6は、“1”のとき不正加算検知の不正検知情報であることを表わしている。Bit7は、“1”のとき扉・枠開放検知(夜間)の不正検知情報であることを表わしている。   The “fraud detection state 2” is fraud detection information of the payout control board 17. Bit 0 of “fraud detection state 2” indicates fraud detection information for opening the glass plate when “1”. Bit 1 represents fraud detection information for opening the frame body when “1”. Bit 2 represents fraud detection information of radio wave sensor detection when “1”. Bit 3 represents fraud detection information of the proximity sensor abnormality when “1”. Bit 4 represents fraud detection information for detecting a prize ball goto when “1”. Here, the “goto” is an illegal act of acquiring a ball in an illegal manner in a pachinko or slot machine. Bit 5 represents fraud detection information for complex goth detection when “1”. Bit 6 represents fraud detection information for fraud addition detection when “1”. Bit 7 represents fraud detection information for door / frame opening detection (nighttime) when “1”.

「不正検知情報1」は、賞球センサゴト検知(入賞不整合玉数)の情報を示すデータである。「不正検知情報1」は、「不正検知状態2」のBit4が“1”のとき有効となる。「不正検知情報2」は、複合センサゴト検知(発射/OUT不整合玉数)の情報を示すデータである。つまり、発射玉数とアウト玉数(アウト口通過玉数)との不整合を検知したときの情報を示すデータである。「不正検知情報2」は、「不正検知状態2」のBit5が“1”のとき有効となる。「不正検知情報3」は、不正加算検知(不正加算玉数)の情報を示すデータである。「不正検知情報3」は、「不正検知状態2」のBit6が“1”のとき有効となる。「不正検知情報4」は、夜間、枠本体開放回数の情報を示すデータである。「不正検知情報4」は、「不正検知状態2」のBit7が“1”のとき有効となる。   “Injustice detection information 1” is data indicating information on the detection of the winning ball sensor got (number of winning inconsistent balls). The “fraud detection information 1” is valid when Bit 4 of the “fraud detection state 2” is “1”. The “injustice detection information 2” is data indicating information of composite sensor goto detection (launch / OUT inconsistent ball number). That is, it is data indicating information when an inconsistency between the number of shot balls and the number of out balls (the number of balls passing through the outlet) is detected. The “fraud detection information 2” is valid when Bit 5 of the “fraud detection state 2” is “1”. “Falsification detection information 3” is data indicating information of fraud addition detection (number of fraud addition balls). The “fraud detection information 3” is valid when Bit 6 of the “fraud detection state 2” is “1”. The “fraud detection information 4” is data indicating information on the number of times the frame body is opened at night. The “fraud detection information 4” is valid when the Bit 7 of the “fraud detection state 2” is “1”.

「加算通番」は、加算用シーケンス番号であり、加算要求時に受信した加算通番をそのまま通知する。ただし、加算通番の連続性が成立しない場合は無応答となる。   “Addition sequence number” is a sequence number for addition, and the addition sequence number received at the time of addition request is notified as it is. However, there is no response when the continuity of the added serial number is not established.

「遊技情報」は、CU3からP台2に対して状態情報要求のコマンドが送信された時点の、P台2の情報であり、「遊技情報数」、「種別情報1」〜「種別情報n」、「賞球情報1」〜「賞球情報n」を含んでいる。   The “game information” is information on the P device 2 at the time when the command for requesting the status information is transmitted from the CU 3 to the P device 2, and “number of game information”, “type information 1” to “type information n”. ”,“ Prize ball information 1 ”to“ Prize ball information n ”.

「遊技情報数」は、種別情報・賞球情報の個数(n)であり、n=0〜22(可変長)である。種別情報は、Bit4からBit7までがデータ種別の情報で、遊技情報のデータ種別を示しており、“0”のとき情報無、“1”のとき始動口、“2”のとき大入賞口、“3”のとき入賞口、“4”のとき図柄停止回数である。Bit0からBit3までがデータ番号の情報で、遊技情報のデータ種別毎のデータ番号を示しており、“0”のとき情報無、“1”〜“15”のときそれぞれのデータ番号を表わしている。   The “number of game information” is the number (n) of type information / prize ball information, and n = 0 to 22 (variable length). The type information is data type information from Bit 4 to Bit 7 and indicates the data type of the game information. When it is “0”, there is no information, when it is “1”, when it is “2”, it is a big prize opening. “3” is the winning opening, and “4” is the number of symbol stops. Bit 0 to Bit 3 are data number information, which indicates the data number for each data type of game information. When “0”, there is no information, and when “1” to “15”, each data number is indicated. .

「種別情報1」〜「種別情報n」は、遊技種別情報1〜遊技種別情報nをそれぞれ示し、「賞球情報1」〜「賞球情報n」は、遊技賞球情報1〜遊技賞球情報nをそれぞれ示している。   “Type information 1” to “Type information n” indicate game type information 1 to game type information n, respectively. “Prize ball information 1” to “Prize ball information n” are game prize ball information 1 to game prize ball. Information n is shown.

ここで、賞球情報は、Bit0からBit3までが賞球玉数の情報で、遊技情報のデータ種別毎に入賞時の賞球玉数を示しており、“0”のとき情報無、“1”〜“15”のとき賞球玉数のデータをそれぞれ表わしている。Bit4からBit7までが入賞個数の情報で、遊技情報のデータ種別毎に入賞個数(累計)を示しており、“0”のとき情報無、“1”〜“15”のとき入賞個数のデータをそれぞれ表わしている。   Here, the prize ball information is information on the number of prize balls from Bit0 to Bit3, and indicates the number of prize balls at the time of winning for each data type of game information. When "" to "15", the data of the number of award balls are respectively represented. Bit 4 to Bit 7 are information on the number of winnings, and indicate the number of winnings (cumulative) for each data type of game information. When “0”, there is no information, and when “1” to “15”, data on the number of winnings is displayed. Each represents.

<<11.カード挿入通知、12.カード挿入応答>>
CU3からP台2に対してカード挿入通知のコマンドが送信される。このカード挿入通知のコマンドは、P台2に対してカード挿入を通知するものである。このカード挿入通知に対応して、P台2からCU3に対してカード挿入応答のレスポンスが送信される。このカード挿入応答のレスポンスは、CU3に対してカード挿入通知を受信した旨の応答である。
<< 11. Card insertion notification, 12. Card insertion response >>
A card insertion notification command is transmitted from the CU 3 to the P stand 2. This card insertion notification command notifies the P unit 2 of card insertion. In response to this card insertion notification, a response of a card insertion response is transmitted from the P base 2 to the CU 3. The response of this card insertion response is a response indicating that a card insertion notification has been received for CU3.

カード挿入通知のコマンドは、カード挿入時に、P台2に対して挿入されたカードのカードIDと挿入時刻を通知し、「通番」、「コマンド」、「カードID」、「カード挿入時刻」、「店舗コード」および「SC基板ID」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The card insertion notification command notifies the card ID and insertion time of the inserted card to the P base 2 when the card is inserted, and “sequential number”, “command”, “card ID”, “card insertion time”, Data of “store code” and “SC board ID” are included. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

「カードID」は、CU3に挿入されたICカードの識別ID情報であり、P台2が保持している遊技玉との紐付に使用する。「カード挿入時刻」は、CU3のカード挿入/排出口309(図1参照)にICカードが挿入された時刻であり、年情報を2桁YY、月情報を2桁MM、日情報を2桁DD、時間情報を2桁hh、分情報を2桁mm、秒情報を2桁ssで表されるデータである。カード挿入時刻は、P台2保持の遊技玉が当日玉か過去玉かの判断に使用する。   The “card ID” is identification ID information of the IC card inserted into the CU 3 and is used for associating with a game ball held by the P stand 2. “Card insertion time” is the time when the IC card is inserted into the card insertion / eject port 309 (see FIG. 1) of CU3. The year information is two digits YY, the month information is two digits MM, and the day information is two digits. The data is DD, time information is represented by two digits hh, minute information is represented by two digits mm, and second information is represented by two digits ss. The card insertion time is used to determine whether the game ball held by the P stand 2 is the current day ball or the past ball.

「店舗コード」は、CU3が設置されている店舗識別コードであり、P台2が保持している遊技玉との紐付に使用する。また、CU3が店舗移動されたか否かを判定するためにも使用する。CU3は、自らが設置されている店舗コードを記憶している。なお、店舗コードは、セキュリティ基板325より情報付加してP台に通知する。「SC基板ID」は、CU3を識別するためのSC基板IDであり、CU3が交換されたか否かを判定するために使用する。SC基板IDは、セキュリティ基板325より情報付加してP台2に通知する。P台2の払出制御部171は、これらのカードID(C-ID)やカード挿入時刻等のカード挿入通知コマンドで通知される情報を記憶する。   The “store code” is a store identification code in which the CU 3 is installed, and is used for associating with a game ball held by the P stand 2. It is also used to determine whether or not the CU3 has been moved to the store. The CU 3 stores a store code where the CU 3 is installed. The store code is added to the security board 325 and notified to the P units. “SC board ID” is an SC board ID for identifying CU3, and is used to determine whether or not CU3 has been replaced. The SC board ID is notified by adding information from the security board 325 to the P board 2. The payout control unit 171 of the P table 2 stores information notified by the card insertion notification command such as the card ID (C-ID) and the card insertion time.

カード挿入応答のレスポンスは、CU3に対して正常にカード挿入通知を受信したことを通知するもので、「通番」、「コマンド」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The response of the card insertion response notifies the CU 3 that the card insertion notification has been normally received, and includes “serial number” and “command” data. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

<<13.カード返却通知、14.カード返却応答>>
CU3からP台2に対してカード返却通知のコマンドが送信される。このカード返却通知のコマンドは、P台2に対してカード返却を通知するものである。このカード返却通知に対応して、P台2からCU3に対してカード返却応答のレスポンスが送信される。このカード返却応答のレスポンスは、CU3に対してカード返却を応答するものである。
<< 13. Card return notice, 14. Card return response >>
A card return notification command is transmitted from the CU 3 to the P stand 2. This card return notification command notifies the P unit 2 of a card return. In response to this card return notification, a response of a card return response is transmitted from the P stand 2 to the CU 3. The response of this card return response is a response to the card return to CU3.

カード返却通知のコマンドは、P台2に対してカード返却を通知するもので、CU3が、「カード返却」ボタン押下時に同通知を送信する。カード返却通知には、「通番」、「コマンド」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。   The card return notification command is for notifying the P unit 2 of the card return, and the CU 3 transmits the notification when the “card return” button is pressed. The card return notification includes data of “serial number” and “command”. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated.

カード返却応答のレスポンスは、CU3に対してカード返却通知の応答を送信するもので、「通番」、「コマンド」、「カードID」、「カード挿入時刻」のデータが含まれている。「通番」、「コマンド」、「カードID」および「カード挿入時刻」は、前述と同じであるので説明を繰返さない。なお、CU3は、カード返却応答の際、コマンドに含まれるカードIDと現在挿入中のカードのIDとが一致しない場合や、コマンドに含まれるカード挿入時刻に問題がある場合、カード返却を行なわない、持玉のカードへの書込みを禁止するなどの処理を行なう。   The response to the card return response is to send a response to the card return notification to the CU 3 and includes data of “serial number”, “command”, “card ID”, and “card insertion time”. “Serial number”, “command”, “card ID”, and “card insertion time” are the same as described above, and therefore description thereof will not be repeated. Note that CU3 does not return the card if the card ID included in the command does not match the ID of the card currently being inserted or if there is a problem with the card insertion time included in the command. , And processing such as prohibiting the writing of the holding ball to the card.

ここで、カード挿入通知時またはカード返却通知時のP台2の動作について説明する。カード挿入通知時に、CU3で会員カード挿入、一般カード挿入、または一般0円0玉カードへの入金の操作を行なうと、P台2はカードIDおよびカード挿入時刻のバックアップを行なう。カード返却通知時に、CU3で「カード返却」ボタンの押下の操作を行なうと、P台2はカードIDおよびカード挿入時刻のクリアを行なう。   Here, the operation of the P stand 2 at the time of card insertion notification or card return notification will be described. At the time of card insertion notification, if the CU 3 performs a membership card insertion, a general card insertion, or a deposit to a general 0 yen 0 coin card, the P stand 2 backs up the card ID and the card insertion time. When an operation of pressing the “card return” button is performed on the CU 3 at the time of the card return notification, the P stand 2 clears the card ID and the card insertion time.

<<15.通信テスト要求、16.通信テスト応答>>
CU3からP台2に対して、通信テスト要求のコマンドが送信される。この通信テスト要求のコマンドは、P台2に対してテストデータを通知するものである。この通信テスト要求に対応して、P台2からCU3に対して、通信テスト応答のレスポンスが送信される。このカード返却応答のレスポンスは、CU3に対してテストデータを応答するものである。
<< 15. Communication test request, 16. Communication test response >>
A communication test request command is transmitted from the CU 3 to the P platform 2. This communication test request command notifies the P unit 2 of test data. In response to this communication test request, a response of the communication test response is transmitted from the P base 2 to the CU3. The response of this card return response is a response of test data to CU3.

通信テスト要求のコマンドは、P台2に対してテストデータを通知するものである。なお、P台2に対して通知するテストデータは暗号化していない。通信テスト要求のコマンドは、「通番」、「コマンド」、および「テストデータ」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。「テストデータ」は、P台2に対して通知するテスト用のデータで任意のデータである。   The communication test request command notifies the P unit 2 of test data. Note that the test data notified to the P platform 2 is not encrypted. The communication test request command includes data of “serial number”, “command”, and “test data”. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated. “Test data” is test data notified to the P base 2 and is arbitrary data.

通信テスト応答のレスポンスは、CU3に対してテストデータを通知するものである。なお、CU3に対して通知するテストデータも暗号化していない。通信テスト応答のレスポンスは、「通番」、「コマンド」、および「テストデータ」のデータが含まれている。「通番」および「コマンド」は、前述と同じであるので説明を繰返さない。「テストデータ」は、CU3に対して通知するテスト用のデータで任意のデータである。   The response of the communication test response notifies the CU 3 of test data. Note that the test data notified to the CU 3 is not encrypted. The response of the communication test response includes data of “serial number”, “command”, and “test data”. “Serial number” and “command” are the same as described above, and therefore description thereof will not be repeated. “Test data” is test data notified to the CU 3 and is arbitrary data.

<CUとP台との通信における主なシーケンス>
<<コマンド、レスポンスの送信>>
まず、CU3とP台2との間でのコマンドおよびレスポンスの送信について説明する。CU3(1次局)からP台2(2次局)に対してコマンドが送信され、P台2はそのコマンドに応答してレスポンスをCU3に返信する。つまり、業務電文の送信は、CU3を1次局、P台2を2次局としたコマンド/レスポンス方式である。
<Main sequence in communication between CU and P platform>
<< Send command and response >>
First, transmission of commands and responses between the CU 3 and the P base 2 will be described. A command is transmitted from CU3 (primary station) to P station 2 (secondary station), and P station 2 returns a response to CU3 in response to the command. In other words, the business message transmission is a command / response system in which the CU 3 is the primary station and the P stand 2 is the secondary station.

CU3からP台2への最初のコマンドの送信から次のコマンドの送信までの期間が、200msすなわち0.2秒に制御される。またP台2からCU3へのレスポンスの送信を行なった後次のレスポンスの送信までの期間が200msすなわち0.2秒に制御される。   The period from the transmission of the first command to the P unit 2 from the CU 3 to the transmission of the next command is controlled to 200 ms, that is, 0.2 seconds. Further, the period from the transmission of the response from the P base 2 to the CU 3 until the transmission of the next response is controlled to 200 ms, that is, 0.2 seconds.

このように、CU3とP台2との間で200msの間隔でコマンドおよびレスポンスの双方が送信される。一方、P台2は、打球操作ハンドル25を操作することによって、1分間に100発のパチンコ玉が遊技領域27内に打込まれるから、打球発射時間間隔は、0.6秒である。その結果、玉を1発発射する間に複数のコマンドおよびレスポンスが送受信されることになる。   Thus, both a command and a response are transmitted between the CU 3 and the P base 2 at an interval of 200 ms. On the other hand, by operating the hitting operation handle 25, the P platform 2 hits 100 pachinko balls into the game area 27 per minute, so the hitting time interval is 0.6 seconds. As a result, a plurality of commands and responses are transmitted and received while firing one ball.

それゆえ、P台2からCU3へは、遊技玉数の変化量を通知するためのレスポンスが玉の発射時間間隔よりも短い間隔で次々と送信されることになる。その結果、P台2は、遊技玉数の変化量を細やかにCU3に対して通知可能となる。   Therefore, responses for notifying the amount of change in the number of game balls are sequentially transmitted from the P platform 2 to the CU 3 at intervals shorter than the ball firing time interval. As a result, the P stand 2 can finely notify the CU 3 of the amount of change in the number of game balls.

なお、ここでは、コマンドおよびレスポンスの送信間隔を200msにしたが、送信間隔をこれよりも長い間隔としても、また、より短い間隔としてもよく、たとえば、その送信間隔をP台2の発射時間間隔と一致させることも考えられる。   Here, the transmission interval of the command and the response is set to 200 ms, but the transmission interval may be longer or shorter than this. For example, the transmission interval may be a firing time interval of the P platform 2. It is also possible to match with

<<CU側の通信回線断検知>>
次に、CU3側で通信断が検知された場合の処理について説明する。CU3がP台2に対してコマンドを送信してから200ms間にレスポンスを受信できなかった場合、再度同じコマンドをP台2に送信する。さらにその200ms後までの間にレスポンスを受信できなかった場合には、同じコマンドをP台2に送信するという2回目の再送を行なう。同じコマンドを最大14回までP台2に再送する。14回目の再送を行なってもP台2からレスポンスを受信できなかった場合、CU3は3秒後に通信異常と判断して「通信断」とする。この通信異常は、CU3のコネクタとP台2のコネクタとが離脱している場合あるいは接続配線の断線さらにはP台2の電源断などの原因が考えられる。CU3は、コマンドの再送時に通番のカウントアップを行なわない。
<< Communication line disconnection detection on CU side >>
Next, processing when communication disconnection is detected on the CU3 side will be described. If the response is not received within 200 ms after the CU 3 transmits a command to the P unit 2, the same command is transmitted to the P unit 2 again. Further, if no response is received within 200 ms, a second retransmission is performed in which the same command is transmitted to the P unit 2. Resend the same command to P-unit 2 up to 14 times. If a response is not received from the P platform 2 even after the 14th retransmission, the CU 3 determines that the communication is abnormal after 3 seconds and sets “communication cut off”. This communication abnormality may be caused when the connector of the CU 3 and the connector of the P base 2 are disconnected, or when the connection wiring is disconnected or the power supply of the P base 2 is disconnected. CU3 does not increment the serial number when retransmitting the command.

<<P台側の通信回線断検知>>
P台2側で通信断を検知した場合の処理について説明する。CU3からP台2へコマンドが送信され、P台2ではそのコマンドに応答してレスポンスをCU3に返信する。その後CU3からのコマンドがP台2に送信されてこない状態が3秒間継続した場合、P台2は通信断と判断し、発射モータ18の駆動を停止させて遊技を停止する。この通信断の発生原因も、CU3のコネクタとP台2のコネクタとの離脱、接続配線の断線、あるいはCU3の電源断などが考えられる。
<< Communication line disconnection detection on P side >>
Processing when communication disconnection is detected on the P platform 2 side will be described. A command is transmitted from the CU 3 to the P unit 2, and the P unit 2 returns a response to the CU 3 in response to the command. After that, when the state in which the command from the CU 3 is not transmitted to the P stand 2 continues for 3 seconds, the P stand 2 determines that the communication is cut off, stops the driving of the firing motor 18 and stops the game. The cause of this communication disconnection may be the disconnection of the connector of CU3 and the connector of P base 2, disconnection of connection wiring, or power supply disconnection of CU3.

なお、P台2側で通信断を検知するコマンド、レスポンスには、リカバリ要求/リカバリ応答、リカバリ要求2/リカバリ応答2、通信開始要求/通信開始応答、通知終了要求/通信終了応答、および通信テスト要求/通信テスト応答のコマンド、レスポンスを含まない。   It should be noted that the command and response for detecting communication disconnection on the P platform 2 side include recovery request / recovery response, recovery request 2 / recovery response 2, communication start request / communication start response, notification end request / communication end response, and communication Does not include test request / communication test response command and response.

<<電源投入>>
次に、電源投入時の接続シーケンスの処理について説明する。図8に示すシーケンス処理は、CU3とP台2との通信が正常に終了した後の通信再開時に実行される処理である。具体的には、カードが挿入されていない待機中において、CU3の電源をOFFにした後の通信再開時に実行される。典型例は、遊技場において1日の営業が終了して電源を立下げ、翌日営業開始時に電源を立上げる場合である。
<< Power-on >>
Next, connection sequence processing at power-on will be described. The sequence process shown in FIG. 8 is a process that is executed when communication is resumed after the communication between the CU 3 and the P platform 2 is normally completed. More specifically, it is executed when communication is resumed after the power of the CU 3 is turned off while the card is not inserted. A typical example is a case where the power supply is turned off after one day of business at the amusement hall is finished, and the power supply is turned on at the start of business the next day.

まず、電源を投入する。電源投入時においては、P台2では発射モータ18を停止させて遊技を停止させてから通信を開始する。その後、認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   First, power is turned on. When the power is turned on, communication is started after the firing motor 18 is stopped on the P stand 2 to stop the game. Thereafter, an authentication sequence is started, and information including the main chip ID and the payout chip ID is transmitted from the P base 2 to the CU3. The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、前回最終送信通番および前回最終送信計数通番を含むリカバリ要求をP台2へ送信し、P台2に対してリカバリ情報を要求する。P台2は、CU3より通知された前回最終送信計数通番を参照して、計数リカバリ処理を実行する。具体的に、P台2は、前回最終送信計数通番を参照して、CU3が計数処理を実施していなかった場合、計数要求をなかったものとし、CU3が計数処理を実施済の場合、計数前の遊技玉数から計数玉数を減算して遊技玉を確定する。   After the authentication sequence, the CU 3 transmits a recovery request including the previous last transmission sequence number and the previous last transmission count sequence number to the P unit 2 and requests recovery information from the P unit 2. The P unit 2 refers to the previous last transmission count sequence number notified from the CU 3 and executes count recovery processing. Specifically, the P-unit 2 refers to the last transmission count sequence number last time, and if the CU 3 has not performed the counting process, it is assumed that no counting request has been made, and if the CU 3 has already performed the counting process, Subtract the number of balls from the previous number of game balls to determine the game balls.

計数リカバリ処理の実行後、P台2は、P台2内部(具体的には払出制御基板17)でバックアップしている遊技情報リカバリデータをレスポンスとしてCU3へ返信する(リカバリ応答)。リカバリ情報としては、前回最終送信通番、前回挿入中カードID、前回カード挿入時刻、前回最終送信加算通番および前回遊技台情報などが含まれている。   After executing the count recovery process, the P table 2 returns the game information recovery data backed up inside the P table 2 (specifically, the payout control board 17) to the CU 3 as a response (recovery response). The recovery information includes a previous last transmission sequence number, a previously inserted card ID, a previous card insertion time, a previous last transmission addition sequence number, a previous game machine information, and the like.

リカバリ応答を受けたCU3では、リカバリ情報に含まれる前回最終送信加算通番の処理を実行していなかった場合、リカバリ情報に含まれる前回遊技台情報を使用してCU3の加算リカバリ処理を実施する。CU3は、加算玉リカバリ処理を実施する場合、P台2に対して、リカバリ要求2をP台2へ送信し、P台2に対してリカバリデータを送信する。このリカバリデータには、前回最終送信通番、および加算玉数が含まれている。   When the CU3 that has received the recovery response has not executed the process of the last transmission addition serial number included in the recovery information, the CU3 performs the additional recovery process of the CU3 using the previous game machine information included in the recovery information. When the addition ball recovery process is performed, the CU 3 transmits a recovery request 2 to the P base 2 and transmits recovery data to the P base 2. This recovery data includes the previous last transmission serial number and the number of additional balls.

それを受けたP台2では、受信したリカバリデータに基づいて加算リカバリ処理を実行し、その結果をレスポンスとしてCU3へ返信する(リカバリ応答2)。なお、P台2が加算玉数を受けられない状態の場合はリカバリ結果としてリカバリ処理NGを応答する。   In response to this, the P platform 2 executes an addition recovery process based on the received recovery data, and returns the result as a response to the CU 3 (recovery response 2). When the P stand 2 cannot receive the additional balls, the recovery process NG is returned as a recovery result.

このリカバリ処理は、CU3とP台2との間での互いのデータの整合性を回復するための処理であり、電源起動時に実行されるばかりでなく、トラブルが発生し復旧したときにも、実行される。   This recovery process is a process for recovering the consistency of each other's data between the CU 3 and the P stand 2 and is not only executed at power-on, but also when a trouble occurs and is recovered. Executed.

CU3は、リカバリ要求などのコマンドを送信する度に通番をカウントアップする。ただし、コマンドの再送時の際にはカウントアップしない。P台2は、前回受信した通番と同じ通番のコマンドを受信した場合には、通信不良が発生してCU3がコマンドを再送したと判断する。CU3はコマンドの送信し、同じ通番のレスポンスがP台2から通知された時に通番をバックアップする。P台2は、受信したコマンドに対応するレスポンスを送信する際に、受信した通番をそのままCU3に通知する。P台2はレスポンスの送信時に通番をバックアップする。   The CU 3 counts up the serial number each time a command such as a recovery request is transmitted. However, it does not count up when retransmitting a command. When the P unit 2 receives a command having the same serial number as the previously received serial number, it determines that a communication failure has occurred and the CU 3 has retransmitted the command. The CU 3 transmits a command, and backs up the serial number when a response with the same serial number is notified from the P unit 2. When transmitting the response corresponding to the received command, the P platform 2 notifies the CU 3 of the received serial number as it is. The P unit 2 backs up the serial number when the response is transmitted.

CU3は、認証シーケンスが終了した後、通番を“1”としてリカバリ要求のコマンドをP台2に送信する。P台2は、受信した通番“1”をそのままリカバリ応答のレスポンスとしてCU3に返信する。さらに、CU3は、通番を“2”としてリカバリ要求2のコマンドをP台2に送信する。P台2は、受信した通番“2”をそのままリカバリ応答2のレスポンスをCU3に返信する。   After the authentication sequence is completed, the CU 3 transmits a recovery request command to the P unit 2 with the serial number “1”. The P platform 2 returns the received serial number “1” as it is to the CU 3 as a response to the recovery response. Further, the CU 3 transmits the command of the recovery request 2 to the P unit 2 with the serial number “2”. The P base 2 returns the response of the recovery response 2 to the CU 3 as it is with the received serial number “2”.

その後、CU3は、通番をカウントアップして“3”として、通信開始要求のコマンドをP台2へ送信する。なお、CU3は、リカバリ要求2を送信しなかった場合、通番は1カウントダウン(−1)した“2”となる。P台2では、それを受けて、リカバリデータをクリアする。そして、P台2は、受信した通番“3”のまま、通信開始応答のレスポンスをCU3へ返信する。これ以降、CU3とP台2との間で、状態情報要求のコマンドと状態情報応答のレスポンスとの送受信が行なわれる。   Thereafter, the CU 3 counts up the serial number to “3”, and transmits a communication start request command to the P unit 2. When the CU 3 does not transmit the recovery request 2, the serial number is “2” which is one countdown (−1). In response to this, the P unit 2 clears the recovery data. Then, the P platform 2 returns a response to the communication start response to the CU 3 with the received serial number “3”. Thereafter, a status information request command and a status information response response are transmitted and received between the CU 3 and the P platform 2.

CU3は、通番をカウントアップして“4”として、状態情報要求のコマンドをP台2へ送信する。P台2は、それを受けて、遊技台情報、遊技情報および前回最終送信通番を更新し、更新したデータを状態情報応答のレスポンスの送信毎にバックアップする。そして、P台2は、受信した通番“4”のまま、状態情報応答のレスポンスをCU3に返信する。   The CU 3 counts up the serial number to “4”, and transmits a status information request command to the P unit 2. In response to this, the P table 2 updates the game table information, the game information, and the previous last transmission serial number, and backs up the updated data every time a response of the status information response is transmitted. Then, the P platform 2 returns the response of the status information response to the CU 3 with the received serial number “4”.

CU3は、それを受けて、前回最終送信通番を更新し、更新したデータを状態情報応答のレスポンスの受信毎にバックアップする。   In response to this, the CU 3 updates the previous last transmission sequence number, and backs up the updated data every time a response to the status information response is received.

その後、CU3は、通番をカウントアップして“5”として、状態情報要求のコマンドをP台2へ送信し、P台2は、受信した通番“5”のまま、状態情報応答のレスポンスをCU3に返信する。   Thereafter, the CU 3 counts up the serial number to “5” and transmits a status information request command to the P base 2, and the P base 2 sends the response of the status information response to the CU 3 with the received serial number “5”. Reply to

<<カード挿入>>
カードが挿入されたときのCU3およびP台2の処理について説明する。図9に示すCU3は、カード挿入前、通番=n、カード挿入状態=OFFを含む状態情報要求のコマンドをP台2へ送信する。P台2では、それを受けて、通番=n、遊技禁止を含む状態情報応答のレスポンスをCU3に返信する。
<< Card insertion >>
Processing of the CU 3 and the P stand 2 when a card is inserted will be described. The CU 3 shown in FIG. 9 transmits a command for status information request including the serial number = n and the card insertion status = OFF to the P unit 2 before the card insertion. In response to this, the P unit 2 returns a response of the status information response including the serial number = n and the game prohibition to the CU 3.

その後、CU3では、カードが挿入されると、カードリーダライタにカードを取込む指令信号を出力するとともに、取込んだカードに記録されている情報(カードID等)をカードリーダライタが読取って、その読取り情報を受信する等の、カード挿入時処理が実行される。   Thereafter, in CU3, when the card is inserted, the card reader / writer outputs a command signal for taking the card into the card reader / writer, and the card reader / writer reads information (card ID, etc.) recorded in the taken-in card. A process at the time of card insertion, such as receiving the read information, is executed.

CU3は、カードの挿入が行なわれた後の所定期間、カード情報問合せ中の状態になる。これは、挿入されたカードの適否や当該遊技場で登録されている会員カードであるか否か、あるいは持玉、貯玉やカード残額等をたとえばホールサーバ801に問合せて認証している最中であることを表示器312に表示するとともにP台2側の表示器54に表示させる処理を実行している最中であることを意味している。   The CU 3 is in a card information inquiry state for a predetermined period after the card is inserted. This is in the middle of verifying whether the inserted card is appropriate, whether it is a membership card registered at the amusement hall, or inquiring the hall server 801 about the holding ball, storage ball, remaining card amount, etc. This means that the process of displaying the fact on the display 312 and the display on the display 54 on the P platform 2 side is being executed.

CU3は、表示器312に挿入されたカードの問合せ中であることを表示している間、挿入されたカードを認証していないので、通番=n+1、カード挿入状態=OFFを含む状態情報要求のコマンドをP台2へ送信する。P台2では、それを受けて、通番=n+1、遊技禁止を含む状態情報応答のレスポンスをCU3に返信する。なお、P台2側の表示器54は、CU3の表示制御部350により表示制御が行なわれ、カードの問合せ中である旨の表示がなされる。   Since the CU 3 does not authenticate the inserted card while displaying that the inserted card is being inquired on the display 312, the status information request including the serial number = n + 1 and the card insertion state = OFF is requested. A command is transmitted to the P unit 2. In response to this, the P unit 2 returns a response of the status information response including serial number = n + 1 and game prohibition to the CU3. The display 54 on the P platform 2 side is controlled by the display control unit 350 of the CU 3 to display that the card is being inquired.

その後、CU3は、挿入されたカードが認証されると、そのカードのカードIDとカード挿入時刻とをCU制御部323のRAMに記憶させるとともに、通番=n+2、カードID、カード挿入時刻を含むカード挿入通知のコマンドをP台2へ送信する。なお、カード挿入通知のコマンドには、セキュリティ基板325で付加した店舗コードおよびSC基板IDも含まれている。P台2では、それを受けて、受信したカードID、カード挿入時刻、店舗コードおよびSC基板IDのデータを払出制御部171のRAM等にバックアップするとともに、通番=n+2を含むカード挿入応答のレスポンスをCU3に返信する。なお、CU3においても、挿入されたカードのカードIDをCU制御部323のRAM等に記憶する。   After that, when the inserted card is authenticated, the CU 3 stores the card ID and the card insertion time of the card in the RAM of the CU control unit 323, and includes the serial number = n + 2, the card ID, and the card insertion time. An insertion notification command is transmitted to the P unit 2. Note that the card insertion notification command also includes the store code and SC board ID added by the security board 325. In response to this, the P unit 2 backs up the received card ID, card insertion time, store code, and SC board ID data in the RAM of the payout control unit 171 and a response of the card insertion response including the serial number = n + 2 Is returned to CU3. Also in CU3, the card ID of the inserted card is stored in the RAM or the like of the CU control unit 323.

CU3は、それを受けて、通番=n+3、カード挿入状態=ONを含む状態情報要求のコマンドをP台2へ送信することで、カード挿入中である状態をP台2に対して通知する。P台2は、カード挿入中である状態の通知を受けて遊技を許可し、通番=n+3、遊技許可を含む状態情報応答のレスポンスをCU3に返信することで、遊技許可中である状態をCU3に対して通知する。   In response to this, the CU 3 sends a status information request command including a serial number = n + 3 and a card insertion state = ON to the P base 2 to notify the P base 2 of the card insertion status. The P table 2 receives the notification that the card is being inserted, permits the game, and returns a response of the status information response including the serial number = n + 3 and the game permission to the CU3, thereby indicating that the game is being permitted. To notify.

カード挿入中、CU3は、通番=n+4、カード挿入状態=ONを含む状態情報要求のコマンドをP台2へ送信し、P台2は、通番=n+4、遊技許可を含む状態情報応答のレスポンスをCU3に返信する。   While the card is being inserted, CU3 sends a command for status information request including serial number = n + 4 and card insertion status = ON to P unit 2, and P unit 2 returns a response of status information response including serial number = n + 4 and game permission. Reply to CU3.

<<プリペイド貸出>>
次に、挿入されたカードのプリペイド残額から遊技玉を貸出すときの処理について説明する。図10に示すシーケンス処理では、挿入されたカードに記録されているプリペイド残額が500円で、遊技玉数が50玉である。まず、CU3は、通番=n、遊技玉加算要求=OFF、加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50、加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。このように、加算要求が発生していない間は、加算通番が更新されることはない。
<< Prepaid loan >>
Next, a process for lending a game ball from the prepaid balance of the inserted card will be described. In the sequence process shown in FIG. 10, the prepaid balance recorded on the inserted card is 500 yen, and the number of game balls is 50 balls. First, the CU 3 transmits a status information request command including a serial number = n, a game ball addition request = OFF, and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Thus, the addition sequence number is not updated while the addition request is not generated.

その後、遊技者が1回「貸出」ボタンを押下する貸出操作(玉貸操作)を行なうことにより、CU3は、後述する図78のステップS516またはステップS527で設定されたレートを判定して、判定されたレートが1玉4円である場合は、残額の500円分すなわち125玉の貸出を行なう。他のレートである場合は、レートに応じた玉数の貸出を行なう。CU3は、玉貸ボタン(貸出ボタン)321が押下操作された場合、500円分のプリペイド消費を確定させるとともに、加算玉数=125のデータをバックアップする。このように、残額消費は、貸出操作が行なわれた段階でCU3側単独で確定する。その後、CU3は加算表示中となる。この加算表示中では、残額から125玉分引落して遊技玉に加算している最中であることを表示器54に表示させる。   Thereafter, when the player performs a lending operation (ball lending operation) in which the “lending” button is pressed once, the CU 3 determines the rate set in step S516 or step S527 of FIG. If the rate is 4 yen per ball, the remaining 500 yen, ie, 125 balls are lent out. In the case of other rates, the number of balls corresponding to the rate is lent out. When the ball lending button (lending button) 321 is pressed, the CU 3 confirms prepaid consumption for 500 yen and backs up the data of the number of added balls = 125. In this way, the remaining amount consumption is determined by the CU 3 alone at the stage where the lending operation is performed. Thereafter, CU3 is in the display of addition. During the addition display, the display unit 54 displays that 125 balls are withdrawn from the remaining amount and added to the game balls.

次に、CU3は、P台2に対して遊技玉の加算要求を行なう。そのため、CU3は、通番=n+1、遊技玉加算要求=ON、加算玉数=125および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信する。通番をカウントアップして“n+1”とするとともに、遊技玉の加算要求を行なうため、加算通番もカウントアップして“m+1”とする。CU3は、加算通番を“m+1”にカウントアップするとともに、前回最終送信加算通番を“m+1”に更新して、そのデータをバックアップする。それを受けて、P台2は、遊技玉数=50(現在の遊技玉数)+125(加算玉数)=175に遊技玉数を更新し、前回最終送信加算通番を“m+1”に更新して、そのデータをバックアップする。そして、P台2は、CU3に対して遊技玉数=175および遊技玉加算結果=OKを通知するため、通番=n+1、遊技玉数=175、遊技玉加算結果=OKおよび加算通番=m+1を含む状態情報応答のレスポンスをCU3に返信する。遊技玉の加算要求に対する応答であるため、加算通番をカウントアップせずに、そのまま“m+1”とする。   Next, the CU 3 makes a game ball addition request to the P stand 2. Therefore, the CU 3 transmits a status information request command including the serial number = n + 1, the game ball addition request = ON, the number of additional balls = 125, and the addition serial number = m + 1 to the P unit 2. The serial number is incremented to “n + 1” and the addition number of game balls is requested, so that the additional serial number is also incremented to “m + 1”. The CU 3 counts up the addition sequence number to “m + 1”, updates the previous last transmission addition sequence number to “m + 1”, and backs up the data. In response to this, P 2 updates the number of game balls to the number of game balls = 50 (current number of game balls) +125 (number of additional balls) = 175, and updates the last transmission addition serial number to “m + 1” last time. Back up the data. And since the P stand 2 notifies CU3 of the number of game balls = 175 and the game ball addition result = OK, the serial number = n + 1, the number of game balls = 175, the game ball addition result = OK and the addition serial number = m + 1. The response of the status information response including it is returned to CU3. Since it is a response to the game ball addition request, the addition serial number is not counted up and is set to “m + 1” as it is.

その後、CU3は、通番=n+2、遊技玉加算要求=OFFおよび加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信し、P台2は、通番=n+5、遊技玉数=175および加算通番=m+1を含む状態情報応答のレスポンスをCU3に返信する。遊技玉の加算要求がOFFの場合、状態情報要求および状態情報応答は、通番をカウントアップするが、加算通番はカウントアップしない。   Thereafter, CU3 transmits a command of status information request including serial number = n + 2, game ball addition request = OFF and addition serial number = m + 1 to P unit 2, P unit 2 has serial number = n + 5, number of game balls = 175 and A response of the status information response including the addition serial number = m + 1 is returned to CU3. When the game ball addition request is OFF, the status information request and the status information response count up the serial number, but do not count up the additional serial number.

<<持玉払出・貯玉払出(再プレイ)>>
次に、持玉払出、貯玉払出をして再プレイする処理について説明する。この図11では、当初の遊技玉数が50玉の状態となっている。まず、CU3は、通番=n、遊技玉加算要求=OFFおよび加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50および加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。このように、加算要求が発生していない間は、加算通番が更新されることはない。
<<< money ball payout / saving money payout (replay) >>>
Next, a process of replaying after paying out the balls and paying out the stored balls will be described. In FIG. 11, the initial number of game balls is 50 balls. First, the CU 3 transmits a status information request command including a serial number = n, a game ball addition request = OFF, and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Thus, the addition sequence number is not updated while the addition request is not generated.

その後、持玉または貯玉が存在する状態で、遊技者が持玉払出ボタンまたは再プレイボタン319を押下すると、CU3は、持玉または貯玉からのレートに応じた玉数分(1玉4円のレートの場合、125玉分)の消費を確定させる。つまり、後述する図78のステップS516またはステップS527で設定されたレートを判定して、判定されたレート(ここでは1玉4円のレート)に応じた持玉または貯玉からレートに応じた玉数を減算する。このように、持玉または貯玉の消費は、持玉払出ボタンまたは再プレイボタン319を押下する操作がなされた段階でCU3側単独で確定する。なお、持玉と貯玉との双方が存在する場合には、持玉消費が優先される。   After that, when the player presses the holding ball payout button or the replay button 319 in a state where there is a holding ball or a storage ball, the CU 3 is equivalent to the number of balls according to the rate from the holding ball or the storage ball (4 yen per ball). In the case of a rate, the consumption of 125 balls) is confirmed. That is, the rate set in step S516 or step S527 of FIG. 78 to be described later is determined, and the number of balls corresponding to the rate from the holding ball or storage ball corresponding to the determined rate (here, the rate of 4 yen per ball). Is subtracted. As described above, the consumption of the possession balls or the storage balls is determined by the CU 3 alone when the operation of depressing the possession ball payout button or the replay button 319 is performed. In addition, when both the holding ball and the storage ball exist, consumption of the holding ball is given priority.

この持玉を優先して消費する制御に代えて、貯玉再プレイボタンと持玉再プレイボタンとを設け、遊技者が選択して操作することにより、貯玉消費または持玉消費のいずれかを選べるようにしてもよい。すなわち、再プレイボタンは、貯玉(貯メダル)から遊技玉(遊技点)を得るための貯玉(貯メダル)再プレイボタンと、持玉(持点)から遊技玉(遊技点)を得るための持玉(持点)再プレイボタンとの2つで構成してもよい。   In place of the control to prioritize the holding ball, a storage ball replay button and a holding ball replay button are provided, and the player can select and operate either the storage ball consumption or the holding ball consumption by operating the selection. You may do it. In other words, the replay button is used to obtain a game ball (game point) from a stored ball (stored medal) and a game ball (game point) from a stored ball (stored medal) replay button. You may comprise two with a holding ball (pointing) replay button.

CU3は、持玉または貯玉からの消費を確定させた後、加算玉数=125の加算要求をP台2に通知する。具体的に、CU3は、遊技玉の加算処理中であることを表示するとともに、通番=n+1、遊技玉加算要求=ON、加算玉数=125および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信する。遊技玉の加算要求を行なうため、通番をカウントアップして“n+1”とするとともに、加算通番もカウントアップして“m+1”とする。さらに、CU3は、前回最終送信加算通番を“m+1”に更新して、そのデータをバックアップする。それを受けて、P台2は、遊技玉数=50(現在の遊技玉数)+125(加算玉数)=175に遊技玉数を更新し、前回最終送信加算通番を“m+1”に更新して、そのデータをバックアップする。そして、P台2は、通番=n+1、加算玉数=175、遊技玉加算結果=OKおよび加算通番=m+1含む状態情報応答のレスポンスをCU3に返信する。遊技玉の加算要求に対する応答であるため、加算通番をカウントアップせずに“m+1”のままとする。   CU3 notifies the addition request | requirement of the number of addition balls = 125 to the P stand 2 after confirming the consumption from a holding ball or a storage ball. Specifically, CU3 displays that a game ball addition process is in progress, and issues a status information request command including serial number = n + 1, game ball addition request = ON, number of additional balls = 125, and addition serial number = m + 1. Transmit to P-station 2. In order to make a game ball addition request, the serial number is counted up to “n + 1”, and the additional serial number is also counted up to “m + 1”. Further, the CU 3 updates the previous last transmission addition serial number to “m + 1” and backs up the data. In response to this, P 2 updates the number of game balls to the number of game balls = 50 (current number of game balls) +125 (number of additional balls) = 175, and updates the last transmission addition serial number to “m + 1” last time. Back up the data. And the P stand 2 returns a response of the state information response including the serial number = n + 1, the number of additional balls = 175, the game ball addition result = OK and the additional serial number = m + 1 to the CU3. Since this is a response to a game ball addition request, the addition serial number is not counted up and remains “m + 1”.

その後、CU3は、通番=n+2、遊技玉加算要求=OFFおよび加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信し、P台2は、通番=n+2、加算玉数=175および加算通番=m+1を含む状態情報応答のレスポンスをCU3に返信する。   Thereafter, CU3 transmits a command of status information request including serial number = n + 2, game ball addition request = OFF and addition serial number = m + 1 to P unit 2, P unit 2 has serial number = n + 2, number of additional balls = 175 and A response of the status information response including the addition serial number = m + 1 is returned to CU3.

<<遊技玉計数(通常)>>
次に、遊技玉の一部を計数して減算する通常時の計数処理について説明する。この図12では、カード返却の操作が検出されることなく計数ボタンが押下された場合を示している。それゆえ、CU3からP台2へ送信されるカード返却準備状態のビットは、いずれもOFF(=0)となっている。このため、以下ではカード返却準備状態のビットの説明を省略する。
<< Game Ball Count (Normal) >>
Next, the normal counting process of counting and subtracting a part of the game balls will be described. FIG. 12 shows a case where the counting button is pressed without detecting a card return operation. Therefore, the card return ready state bits transmitted from the CU 3 to the P stand 2 are all OFF (= 0). For this reason, description of the bits in the card return preparation state is omitted below.

また、この図12では、挿入された記録媒体(会員用カードまたはビジターカード)により特定される持玉数が「0」玉であり、当初の遊技玉数が「800」玉の状態となっている。   Further, in FIG. 12, the number of balls specified by the inserted recording medium (member card or visitor card) is “0” balls, and the initial number of game balls is “800” balls. Yes.

なお、ここでは、計数ボタンの操作が検出されている間、100点単位での計数が継続し、計数ボタンの操作が検出されなくなった段階で計数動作が終了する例を説明する。   Here, an example will be described in which counting in units of 100 points continues while the operation of the counting button is detected, and the counting operation ends when the operation of the counting button is no longer detected.

まず、CU3は、通番=n、カード返却準備状態=OFF、計数通番=m、計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=800、計数通番=m、計数玉数=0、計数要求=OFFを含む状態情報応答のレスポンスをCU3に返信する。   First, the CU 3 transmits a status information request command including a serial number = n, a card return ready state = OFF, a counting serial number = m, and a counting response = OFF to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of gaming balls = 800, the counting serial number = m, the counting ball number = 0, and the counting request = OFF to the CU3.

CU3から送信された通番nに対して、P台2から通番n+1が返信されている。CU3から送信された計数通番mに対して、P台2からは同じ計数通番mが返信されている。これは、計数通番が、計数要求の発生を契機として更新され、計数の完了をもって更新が終了される特別な通番だからである。   In response to the serial number n transmitted from the CU 3, the serial number n + 1 is returned from the P unit 2. The same counting sequence number m is returned from the P base 2 to the counting sequence number m transmitted from the CU 3. This is because the counting sequence number is a special sequence number that is updated when a counting request is generated, and is updated when the counting is completed.

その後、遊技者が、計数ボタン28を押下する。この図12では、計数ボタン28を1回押下する操作がなされた直後に、通番=n+1、カード返却準備状態=OFF、計数通番=m、計数応答=OFFを含む状態情報要求のコマンドがCU3からP台2へ送信されている。   Thereafter, the player presses the counting button 28. In FIG. 12, immediately after an operation of pressing the count button 28 once, a command for status information request including a serial number = n + 1, a card return ready state = OFF, a count serial number = m, and a count response = OFF is sent from the CU3. It has been transmitted to the P stand 2.

P台2は、計数ボタン28の操作を検出した場合、状態情報要求のコマンドに対する応答として、計数要求値を具体的に100に設定した通番n+1の状態情報応答をCU3へ送信する。ただし、この段階でP台2は計数要求分の計数を実行しない。このため、通番n+1の状態情報応答では、依然として遊技玉数=800とされている。また、この状態情報応答は、計数要求を示す電文であるため、計数通番が“m+1”にカウントアップされている。P台2は、このとき、前回最終送信計数通番を更新し、更新した前回最終送信計数通番と計数要求状態ONとのデータをバックアップする。   When the operation of the count button 28 is detected, the P platform 2 transmits a status information response of serial number n + 1, in which the count request value is specifically set to 100, to the CU 3 as a response to the status information request command. However, at this stage, the P base 2 does not execute counting for the counting request. For this reason, in the state information response of the serial number n + 1, the number of game balls is still 800. Since this status information response is a message indicating a counting request, the counting sequence number is counted up to “m + 1”. At this time, the P unit 2 updates the previous last transmission count sequence number and backs up the updated last transmission count sequence number and the count request state ON data.

通番n+1の状態情報応答を受信したCU3は、要求されている計数玉数相当の持玉を加算するとともに、持玉の表示を100に更新する。すなわち、CU制御部323は、表示制御部350に対して計数表示の指令を送信する。表示制御部350は、その指令を受けてP台2側の表示器54を表示制御する。その結果、表示器54には、遊技玉が計数されてその数が減少する一方で、持玉が増加する画像表示が行なわれる。   CU3 which received the status information response of serial number n + 1 adds the number of balls equivalent to the requested number of balls and updates the display of balls to 100. That is, the CU control unit 323 transmits a count display command to the display control unit 350. The display controller 350 receives the command and controls the display 54 on the P platform 2 side. As a result, the display 54 displays an image in which the number of game balls is counted and the number of balls is decreased, while the number of balls is increased.

この場合、遊技玉が一発ずつ、各台計数器に案内されて計数されていくような演出表示を行なうことが考えられる。この演出表示の他の例としては、遊技玉数のデータが持玉数のデータに経時的に変換されていく表示であってもよい。たとえば、遊技玉数のデータと持玉数のデータとを棒グラフで示し、遊技玉数の棒グラフを減少させつつ持玉数の棒グラフを増加させたり、遊技玉数の棒グラフの一部を持玉数の棒グラフに移動させる表示を繰返したりしてもよい。さらに演出表示の他の例としては、現在の遊技玉数のデータと持玉数のデータをそのままデジタル表示し、遊技玉数を減少させつつ持玉数を増加させたり、遊技玉数の一部を持玉数に移動させる表示を繰返したり、種々の演出表示が考えられる。   In this case, it is conceivable to perform an effect display such that game balls are guided and counted by each counter one by one. Another example of the effect display may be a display in which the number of game balls is converted to the number of balls in time. For example, the data for the number of balls and the data for the number of balls are shown in a bar graph, and the number of balls in the game ball number is increased while the number of balls in the game ball is increased while the number of balls in the game ball is decreased. The display to move to the bar graph may be repeated. In addition, as another example of the effect display, the current game ball number data and the number of possession balls data are digitally displayed as they are, and the number of possession balls is increased while decreasing the number of game balls, or a part of the number of game balls It is possible to repeat the display for moving the number of balls to the number of balls, and various display effects.

さらに、CU3は、前回最終送信計数通番を“m+1”に更新して、そのデータをバックアップする。続いて、CU3は、P台2に対して、通番n+2、計数通番m+1、計数応答=ONの状態情報要求を送信し、要求された計数を終えたことを通知する。   Further, the CU 3 updates the previous last transmission count sequence number to “m + 1” and backs up the data. Subsequently, the CU 3 transmits a status information request of serial number n + 2, counting serial number m + 1, and counting response = ON to the P base 2 to notify that the requested counting has been completed.

この状態情報要求を受信したP台2は、ようやく、計数玉数=100に対応する数だけ遊技玉数を減算し、遊技玉数表示器29の表示を800から700に更新する。この段階で、P台2は計数要求状態がOFFとなるが、計数ボタンの押下が継続しているため、P台2は2度目の計数要求をCU3へ送信する。すなわち、計数要求値を具体的に100に設定した通番n+2の状態情報応答をCU3へ送信する。ただし、この段階でもP台2は計数要求分の計数を実行しない。このため、通番n+2の状態情報応答では、遊技玉数=700とされている。また、この状態情報応答は、新たな計数要求として送信される電文であるため、計数通番を“m+2”にカウントアップして、前回最終送信計数通番を更新し、更新した前回最終送信計数通番と計数要求状態ONとのデータをバックアップする。   The P table 2 that has received this status information request finally subtracts the number of game balls by the number corresponding to the number of balls counted = 100, and updates the display on the game ball number display 29 from 800 to 700. At this stage, the count request state of the P base 2 is OFF, but since the count button is continuously pressed, the P base 2 transmits a second count request to the CU 3. That is, a status information response of serial number n + 2 in which the count request value is specifically set to 100 is transmitted to CU3. However, even at this stage, the P base 2 does not perform counting for the counting request. For this reason, in the status information response of the serial number n + 2, the number of game balls = 700. Since this status information response is a message transmitted as a new count request, the count sequence number is incremented to “m + 2”, the previous last transmission count sequence number is updated, and the updated last transmission count sequence number is updated. Back up data with counting request status ON.

通番n+2の状態情報応答を受信したCU3は、要求されている計数玉数相当の後述する図78のステップS516またはステップS527で設定されたレートを判定して、判定されたレート(ここでは、1玉4円のレート)の持玉を加算するとともに、持玉の表示を200に更新する。さらに、CU3は、前回最終送信計数通番を“m+2”に更新して、そのデータをバックアップする。続いて、CU3は、P台2に対して、通番n+3、計数通番m+2、計数応答=ONの状態情報要求を送信し、要求された計数を終えたことを通知する。   The CU 3 that has received the status information response of the serial number n + 2 determines the rate set in step S516 or step S527 of FIG. 78 (described later) corresponding to the requested number of counting balls, and determines the determined rate (here, 1 The number of balls of 4 balls) is added, and the display of the balls is updated to 200. Further, the CU 3 updates the previous last transmission count sequence number to “m + 2” and backs up the data. Subsequently, the CU 3 transmits a status information request with a serial number n + 3, a count serial number m + 2, and a count response = ON to the P platform 2 to notify that the requested count has been completed.

この状態情報要求を受信したP台2は、計数玉数=100に対応する数だけ遊技玉数を減算し、遊技玉数表示器29の表示を700から600に更新する。ところが、この段階で、計数ボタンから遊技者の手が離れており、計数操作が終了している。このため、P台2は計数完了を通番n+3の状態情報応答でCU3へ通知する。すなわち、現在の遊技玉数=600とともに、計数要求=OFF、計数玉数=0の状態情報応答をCU3へ送信する。また、計数要求に対応するすべての計数動作が済んでいるため、この状態情報応答に含まれる計数通番もm+2のままで更新されていない。   The P table 2 that has received this status information request subtracts the number of game balls by the number corresponding to the number of balls counted = 100, and updates the display of the game ball number display 29 from 700 to 600. However, at this stage, the player's hand is separated from the counting button, and the counting operation is completed. For this reason, the P platform 2 notifies the CU 3 of the completion of counting with a status information response of serial number n + 3. That is, with the current number of game balls = 600, a status information response of count request = OFF and count ball count = 0 is transmitted to CU3. In addition, since all the counting operations corresponding to the counting request have been completed, the counting sequence number included in this status information response remains m + 2 and is not updated.

この状態情報応答を受信したCU3は、計数完了と判定する。図示を省略しているが、CU3は、通番n+4、計数通番m+2、カード返却準備状態=OFF、計数応答=OFFの状態情報応答をP台2へ送信する。   The CU 3 that has received this status information response determines that the counting is complete. Although not shown, the CU 3 transmits a status information response of serial number n + 4, counting serial number m + 2, card return ready state = OFF, and counting response = OFF to the P base 2.

このように、本実施の形態では、計数玉数を通知する情報状態応答をP台からCUへ送信する際に、P台側で早々と計数玉分の遊技玉の減算を行なっているのではなく、計数玉数を通知する情報状態応答を送信してからこれに対する受領確認をCUから受けた段階で、P台は遊技玉の減算を行なっている。   As described above, in this embodiment, when the information state response for notifying the number of balls to be counted is transmitted from the P cars to the CU, the game balls for the counting balls are subtracted quickly on the P cards side. In the stage where the information status response for notifying the number of balls is transmitted and the receipt confirmation is received from the CU, the P machines subtract the game balls.

<<遊技玉計数(計数NG)>>
次に、遊技玉の一部を計数して減算する計数処理において計数処理がNGとなる場合について説明する。この図13では、カード返却の操作が検出されることなく計数ボタンが押下された場合を示している。それゆえ、CU3からP台2へ送信されるカード返却準備状態のビットは、いずれもOFF(=0)となっている。このため、以下ではカード返却準備状態のビットの説明を省略する。
<< Game Ball Count (Count NG) >>
Next, a case where the counting process is NG in the counting process of counting and subtracting a part of the game balls will be described. FIG. 13 shows a case where the counting button is pressed without detecting a card return operation. Therefore, the card return ready state bits transmitted from the CU 3 to the P stand 2 are all OFF (= 0). For this reason, description of the bits in the card return preparation state is omitted below.

また、この図13では、挿入された記録媒体(会員用カードまたはビジターカード)により特定される持玉数が「0」玉であり、当初の遊技玉数が「800」玉の状態となっている。   Also, in FIG. 13, the number of balls specified by the inserted recording medium (member card or visitor card) is “0” balls, and the initial number of game balls is “800” balls. Yes.

なお、ここでは、計数ボタンの操作が検出されている間、100点単位での計数が継続し、計数ボタンの操作が検出されなくなった段階で計数動作が終了する例を説明する。   Here, an example will be described in which counting in units of 100 points continues while the operation of the counting button is detected, and the counting operation ends when the operation of the counting button is no longer detected.

まず、CU3は、通番=n、カード返却準備状態=OFF、計数通番=m、計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=800、計数通番=m、計数玉数=0、計数要求=OFFを含む状態情報応答のレスポンスをCU3に返信する。   First, the CU 3 transmits a status information request command including a serial number = n, a card return ready state = OFF, a counting serial number = m, and a counting response = OFF to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of gaming balls = 800, the counting serial number = m, the counting ball number = 0, and the counting request = OFF to the CU3.

CU3から送信された通番nに対して、P台2から通番n+1が返信されている。CU3から送信された計数通番mに対して、P台2からは同じ計数通番mが返信されている。これは、計数通番が、計数要求の発生を契機として更新され、計数の完了をもって更新が終了される特別な通番だからである。   In response to the serial number n transmitted from the CU 3, the serial number n + 1 is returned from the P unit 2. The same counting sequence number m is returned from the P base 2 to the counting sequence number m transmitted from the CU 3. This is because the counting sequence number is a special sequence number that is updated when a counting request is generated, and is updated when the counting is completed.

その後、遊技者が、計数ボタン28を押下する。この図13では、計数ボタン28を1回押下する操作がなされた直後に、通番=n+1、カード返却準備状態=OFF、計数通番=m、計数応答=OFFを含む状態情報要求のコマンドがCU3からP台2へ送信されている。   Thereafter, the player presses the counting button 28. In FIG. 13, immediately after the operation of pressing the count button 28 once, a command for status information request including a serial number = n + 1, a card return ready state = OFF, a count serial number = m, and a count response = OFF is sent from the CU3. It has been transmitted to the P stand 2.

P台2は、計数ボタン28の操作を検出した場合、状態情報要求のコマンドに対する応答として、計数要求値を具体的に100に設定した通番n+1の状態情報応答をCU3へ送信する。ただし、この段階でP台2は計数要求分の計数を実行しない。このため、通番n+1の状態情報応答では、依然として遊技玉数=800とされている。また、この状態情報応答は、計数要求を契機として送信される電文であるため、P台2は、計数通番を“m+1”にカウントアップして、前回最終送信計数通番を更新し、更新した前回最終送信計数通番と計数要求状態ONとのデータをバックアップする。   When the operation of the counting button 28 is detected, the P platform 2 transmits a status information response of the serial number n + 1 in which the count request value is specifically set to 100 as a response to the command of the status information request to the CU 3. However, at this stage, the P base 2 does not execute counting for the counting request. For this reason, in the state information response of the serial number n + 1, the number of game balls is still 800. Further, since this status information response is a message transmitted in response to the counting request, the P table 2 counts up the counting sequence number to “m + 1”, updates the last transmission counting sequence number last time, and updates the previous time. Back up the data of the last transmission counting sequence number and counting request status ON.

通番n+1の状態情報応答を受信したCU3は、通常、要求されている計数玉数相当の持玉を加算するとともに、持玉の表示を100に更新する。しかし、CU3は、通信エラーなどによりP台2からの状態情報応答を受信できず、計数玉を受取ることができなかった場合、P台2に対して計数受取りNGを返答する。具体的に、CU3は、P台2に対して、通番n+2、計数通番m、計数応答=OFFの状態情報要求を送信し、要求された計数玉を受取れなかったことを通知する。なお、CU3は、要求された計数玉を受取れなかったため、前回最終送信計数通番を更新せずに、前回最終送信計数通番mを計数通番として状態情報要求を送信する。   CU3 which received the status information response of the serial number n + 1 normally adds the number of balls equivalent to the requested number of balls and updates the display of balls to 100. However, when the CU 3 cannot receive the status information response from the P table 2 due to a communication error or the like and cannot receive the counting ball, it returns a count reception NG to the P table 2. Specifically, the CU 3 transmits a status information request of serial number n + 2, counting serial number m, and counting response = OFF to the P platform 2 to notify that the requested counting ball has not been received. Since the CU 3 has not received the requested counting ball, the CU 3 transmits a status information request with the previous last transmission counting sequence number m as the counting sequence number without updating the previous last transmitting counting sequence number.

この状態情報要求を受信したP台2は、計数玉数=100に対応する数だけ遊技玉数減算を実行せずに、前回最終送信計数通番を1つカウントダウン(−1)して、そのデータをバックアップする。この段階で、計数ボタンの押下が継続しているため、P台2は2度目の計数要求をCU3へ送信する。すなわち、計数要求値を具体的に100に設定した通番n+2の状態情報応答をCU3へ送信する。ただし、この段階でもP台2は計数要求分の計数を実行しない。このため、通番n+2の状態情報応答では、遊技玉数=800とされている。また、この状態情報応答は、再度の計数要求であるため、計数通番を前回と同じm+1にして、前回最終送信計数通番を更新し、更新した前回最終送信計数通番と計数要求状態ONとのデータをバックアップする。 The P-unit 2 that has received this status information request counts down (-1) one last transmission count sequence number without performing subtraction of the number of gaming balls by the number corresponding to the number of counting balls = 100, Back up your data. At this stage, since the count button continues to be pressed, the P platform 2 transmits a second count request to the CU 3. That is, a status information response of serial number n + 2 in which the count request value is specifically set to 100 is transmitted to CU3. However, even at this stage, the P base 2 does not perform counting for the counting request. For this reason, in the status information response of the serial number n + 2, the number of game balls = 800. Since this status information response is a re-count request, the count sequence number is set to the same m + 1 as the previous time, the previous last transmission count sequence number is updated, and the updated last transmission count sequence number and the count request state ON data Back up.

これに対して、CU3は、P台2に対して計数受取りNGを返答する。具体的に、CU3は、P台2に対して、通番n+3、計数通番m、計数応答=OFFの状態情報要求を送信し、要求の拒否を通知する。なお、CU3は、要求を拒否したため、前回最終送信計数通番を更新せずに、前回最終送信計数通番mを計数通番として状態情報要求を送信する。   In response to this, the CU 3 returns a count reception NG to the P base 2. Specifically, the CU 3 transmits a status information request with a serial number n + 3, a counting serial number m, and a counting response = OFF to the P platform 2 to notify the rejection of the request. Since the CU 3 rejects the request, the CU 3 does not update the previous last transmission count sequence number, but transmits the status information request with the previous last transmission count sequence number m as the count sequence number.

この状態情報要求を受信したP台2は、計数玉数=100に対応する数だけ遊技玉数減算を実行せずに、前回最終送信計数通番を1つカウントダウン(−1)して、そのデータをバックアップする。ところが、この段階で、計数ボタンから遊技者の手が離れており、計数操作が終了している。このため、このため、P台2は計数OFF状態を通番n+3の状態情報応答でCU3へ通知する。すなわち、現在の遊技玉数=800とともに、計数要求=OFF、計数玉数=0の状態情報応答をCU3へ送信する。 The P-unit 2 that has received this status information request counts down (-1) one last transmission count sequence number without performing subtraction of the number of gaming balls by the number corresponding to the number of counting balls = 100, Back up your data. However, at this stage, the player's hand is separated from the counting button, and the counting operation is finished. For this reason, the P platform 2 notifies the CU 3 with a status information response of the counting OFF state number n + 3. That is, a status information response of the count request = OFF and the count ball count = 0 is transmitted to the CU 3 together with the current game ball count = 800.

このように、本実施の形態では、計数玉数を通知する情報状態応答をP台からCUへ送信する際に、P台側で早々と計数玉分の遊技玉の減算を行なっているのではなく、計数玉数を通知する情報状態応答を送信してからこれに対する受領確認をCUから受けた段階で、P台は遊技玉の減算を行なっているので、計数NGの場合に計数リカバリ処理を行なう必要がない。   As described above, in this embodiment, when the information state response for notifying the number of balls to be counted is transmitted from the P cars to the CU, the game balls for the counting balls are subtracted quickly on the P cards side. However, since the P units are subtracting the game balls at the stage of receiving the information confirmation response from the CU after transmitting the information status response notifying the number of counted balls, the counting recovery process is performed in the case of counting NG. There is no need to do it.

<<遊技玉計数(カード返却)>>
次に、カードを返却する際の遊技玉の計数処理について説明する。図14は、遊技者がカード返却操作を行なった場合の計数処理を説明するためのシーケンス図である。図14では、挿入された記録媒体(会員用カード等)により特定されるカード持玉数が0玉であり、当初の遊技玉数が800玉の状態となっている。まず、CU3は、通番=n、CU開店状態=ON、カード返却準備状態=OFF、計数通番=mおよび計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=800、計数通番=m、計数玉数=0および計数要求=OFFを含む状態情報応答のレスポンスをCU3に返信する。
<< Game Ball Count (Card Return) >>
Next, the game ball counting process when returning the card will be described. FIG. 14 is a sequence diagram for explaining the counting process when the player performs a card return operation. In FIG. 14, the number of cards possessed by the inserted recording medium (member card or the like) is 0, and the initial number of gaming balls is 800. First, the CU 3 transmits a status information request command including a serial number = n, a CU opening state = ON, a card return preparation state = OFF, a counting sequence number = m, and a counting response = OFF to the P unit 2. In response to this, the P platform 2 returns a response of the state information response including the serial number = n, the number of game balls = 800, the counting serial number = m, the counting ball number = 0, and the counting request = OFF to the CU3.

その後、遊技者が、遊技を止める場合や別の遊技台に移動する場合に「カード返却」ボタンを押下する。しかし、遊技者が「カード返却」ボタンを押下した時点では、P台2の遊技玉数が800玉で、CU3はP台2の遊技玉数が0玉でないと判定する。また、CU3は、遊技者が「カード返却」ボタンを押下したのでカード返却準備状態=ONとして、通番=n+1、CU開店状態=ON、計数通番=mおよび計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。なお、CU3は、カード返却準備状態=ONの通知を10秒間、P台2に通知する。さらに、CU3は、P台2の遊技玉数が800玉で、0玉でないため、カード返却待機として、表示器54等に計数操作を促す表示を行なう。   Thereafter, when the player stops the game or moves to another game table, the player presses the “card return” button. However, at the time when the player presses the “card return” button, the number of game balls in the P unit 2 is 800 balls, and the CU 3 determines that the number of game balls in the P unit 2 is not 0. In addition, since the player presses the “card return” button, the CU 3 sets the card return ready state = ON, the state information request including the serial number = n + 1, the CU opening state = ON, the counting sequence number = m, and the counting response = OFF. A command is transmitted to the P unit 2. Note that the CU 3 notifies the P stand 2 of the card return preparation state = ON notification for 10 seconds. Furthermore, since the number of game balls in the P stand 2 is 800 balls and not 0 balls, the CU 3 displays a display for prompting a counting operation on the display 54 or the like as a card return standby.

計数操作を促す表示を受けて、遊技者が計数ボタン28を押下して、遊技玉を持玉に変換する操作を行なう。P台2は、計数ボタン28を押下する計数操作が、カード返却準備状態=ONでの計数操作であると判定し、たとえば100玉単位での計数ではなく、一括して計数を処理する。   In response to the display prompting the counting operation, the player presses the counting button 28 to perform an operation of converting the game ball into a holding ball. The P stand 2 determines that the counting operation for depressing the counting button 28 is a counting operation with the card return preparation state = ON, and processes the counting in a lump instead of counting in units of 100 balls, for example.

P台2は、遊技玉数800玉の計数受付要求および遊技玉数800玉を一括計数した計数玉数800玉をCU3に通知するために、通番=n+1、遊技玉数=800、計数通番=m+1、計数玉数=800および計数要求=ONを含む状態情報応答のレスポンスをCU3に返信する。ただし、この段階でP台2は計数要求分の計数を実行しない。このため、通番n+1の状態情報応答では、依然として遊技玉数=800とされている。また、この状態情報応答は、計数要求の電文であるため、P台2は、計数通番を“m+1”にカウントアップして、前回最終送信計数通番を更新し、更新した前回最終送信計数通番と計数要求状態ONとのデータをバックアップする。   In order to notify the CU 3 of the counting ball number 800 balls obtained by collectively counting the 800 ball balls, the P stand 2 has a serial number = n + 1, a game ball number = 800, and a counting serial number = The response of the status information response including m + 1, the number of counting balls = 800 and the counting request = ON is returned to the CU3. However, at this stage, the P base 2 does not execute counting for the counting request. For this reason, in the state information response of the serial number n + 1, the number of game balls is still 800. Since this status information response is a count request message, the P platform 2 counts up the count sequence number to “m + 1”, updates the previous last transmission count sequence number, and updates the previous last transmission count sequence number. Back up data with counting request status ON.

これを受けて、CU3は、計数玉数800玉を後述する図78のステップS516またはステップS527で設定されたレートを判定して、判定されたレート(ここでは1玉4円のレート)の持玉数に加算して、計数玉数800玉を遊技玉数800玉から0玉に減算する。また、CU3は、更新した前回最終送信計数通番のデータをバックアップする。そして、CU3は、計数玉受取りを通知するため、通番=n+2、CU開店状態=ON、カード返却準備状態=ON、計数通番=m+1および計数応答=ONを含む状態情報要求のコマンドをP台2へ送信する。   In response to this, CU3 determines the rate set in step S516 or step S527 of FIG. 78, which will be described later, for 800 counting balls, and has the determined rate (here, the rate of 4 yen per ball). In addition to the number of balls, 800 balls counted are subtracted from 800 balls to 0 balls. Further, the CU 3 backs up the data of the updated last transmission count sequence number. Then, in order to notify receipt of the counting ball, the CU 3 sends a command of status information request including serial number = n + 2, CU opening state = ON, card return preparation state = ON, counting serial number = m + 1 and counting response = ON. Send to.

P台2は、CU3からの応答を受けて、計数玉数800玉を遊技玉数800玉から減算して遊技玉数0玉を表示器54等に表示する。さらに、P台2は、遊技玉数0玉、計数完了した旨をCU3に通知するために、通番=n+2、遊技玉数=0、計数通番=m+1、計数玉数=0および計数要求=OFFを含む状態情報応答のレスポンスをCU3に返信する。なお、計数要求がOFFとなるので、計数通番はm+1のままカウントアップせずにCU3に送信される。   In response to the response from the CU 3, the P stand 2 subtracts 800 counting balls from the 800 gaming balls and displays 0 gaming balls on the display 54 or the like. Further, the P stand 2 notifies the CU 3 that the number of game balls is 0 and the counting is completed, so that the sequence number = n + 2, the number of game balls = 0, the count sequence number = m + 1, the count ball number = 0, and the count request = OFF. A response of the status information response including is returned to CU3. Since the counting request is turned OFF, the counting sequence number remains m + 1 and is transmitted to CU3 without counting up.

CU3は、遊技者がカード返却ボタン322を押下してから10秒経過する前、つまり、カード返却準備状態中に、計数ボタン28を押下して遊技玉を持玉に一括計数して遊技玉数を0玉にしているので、カード返却処理を実行する。つまり、CU3は、通番=n+3を含むカード返却通知のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n+3、払出制御基板17に保持してあるカードIDおよびカード挿入時刻を含むカード返却応答のレスポンスをCU3に返信する。カードIDおよびカード挿入時刻をCU3に返信後、払出制御基板17に保持してあるカードIDおよびカード挿入時刻のデータをクリアする。   CU3 counts the number of game balls by pressing the count button 28 and counting the number of game balls in a lump before 10 seconds have elapsed since the player pressed the card return button 322, that is, in the card return preparation state. Card is returned to 0, so card return processing is executed. That is, the CU 3 transmits a card return notification command including the serial number = n + 3 to the P unit 2. In response to this, the P platform 2 returns a response of the card return response including the serial number = n + 3, the card ID held on the payout control board 17 and the card insertion time to the CU 3. After returning the card ID and the card insertion time to the CU 3, the card ID and the card insertion time data held on the payout control board 17 are cleared.

それを受けて、CU3は、挿入しているカードに記憶しているカードIDと、P台2から受信したカードIDとの一致判別を行ない、一致した場合は挿入しているカードを返却し、不一致の場合エラー処理を行ないホールサーバ801などに報告する。CU3は、カードIDが一致した場合、カード挿入/排出口309に挿入してあったカード(挿入カード)に持玉数800を記憶させてそのカードを遊技者に返却する。また、遊技者がカード挿入/排出口309にカードを挿入することなく入金操作により遊技を開始している場合には、CU3に設けられているカードストック部にストックされているカード(ストックカード)に持玉数800を記憶させてそのカードを遊技者に返却する。挿入カードまたはストックカードの返却の際、CU3は当該カードのカードIDと持玉数のデータとをホールサーバ801へ送信し、ホールサーバ801が当該カードのカードIDに対応付けて持玉数のデータを記憶してもよい。   In response, the CU 3 determines whether the card ID stored in the inserted card and the card ID received from the P-unit 2 match, and if they match, returns the inserted card. If they do not match, error processing is performed and reported to the hall server 801 or the like. When the card IDs match, the CU 3 stores the number of balls 800 in the card (inserted card) that has been inserted into the card insertion / discharge port 309 and returns the card to the player. Further, when the player has started the game by depositing without inserting the card into the card insertion / discharge slot 309, the card (stock card) stocked in the card stock section provided in CU3 Store the number of balls 800 and return the card to the player. When the inserted card or stock card is returned, the CU 3 transmits the card ID of the card and the data of the number of balls to the hall server 801, and the hall server 801 associates the card ID of the card with the data of the number of balls. May be stored.

その後、CU3は、カード挿入状態OFFをP台2に通知するために、通番=n+4、CU開店状態=ON、カード挿入状態=OFF、計数通番=m+1および計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。これを受けて、CU3は、通番=n+4、遊技玉数=0、計数通番=m+1、計数玉数=0および計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。   Thereafter, in order to notify the P stand 2 of the card insertion state OFF, the CU 3 requests a status information request including a serial number = n + 4, a CU opening state = ON, a card insertion state = OFF, a counting serial number = m + 1, and a counting response = OFF. A command is transmitted to the P unit 2. In response to this, the CU 3 transmits a status information request command including the serial number = n + 4, the number of gaming balls = 0, the counting serial number = m + 1, the counting ball number = 0, and the counting response = OFF to the P unit 2.

なお、図14で説明したカードを返却する際の遊技玉の計数処理のシーケンスは、カード返却時に限定されるものではなく、簡易離席・食事休憩時にも同様の処理を適用することができる。ここで、簡易離席とは、遊技者が小用を済ませるために5〜10分程度の短い時間遊技を中断するものである。食事休憩とは、簡易離席よりも長いたとえば30分間等遊技を中断して食事や休憩を行なうものである。   Note that the sequence of the game ball counting process when returning the card described with reference to FIG. 14 is not limited to when the card is returned, and the same process can be applied during simple leaving and meal breaks. Here, the simple leaving means that the game is interrupted for a short time of about 5 to 10 minutes in order to allow the player to make a small use. A meal break is a meal or break that is interrupted by a game such as 30 minutes longer than a simple leave.

<<異常系シーケンス1>>
次に、図15を参照して、電源断/通信回線断により状態情報要求が未到達となったときの遊技玉数のリカバリ処理について説明する。図15は、特に、電源断/通信回線断線(たとえば、P台2の電源が一旦OFFにした後再度ONになった場合)があって、状態情報要求が未到達(CU3からP台2へコマンドが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal Sequence 1 >>
Next, with reference to FIG. 15, a description will be given of the recovery processing of the number of game balls when the status information request is not reached due to the power interruption / communication line interruption. FIG. 15 particularly shows that there is a power interruption / communication line disconnection (for example, when the power supply of the P base 2 is once turned off and then turned on again), and the status information request has not arrived (from the CU 3 to the P base 2). FIG. 11 is a sequence diagram for explaining a counting process in a case where a command has not arrived) and communication partners after recovery match.

図15を参照して、遊技中において電源断が発生する前に、CU3は、通番=nを含む状態情報要求をP台2に送信している。それを受けて、P台2は、遊技台情報CU3に通知するため、通番=n、遊技玉数=480、加算玉数=3および減算玉数=23を含む状態情報応答をCU3に送信する。P台2は、前回遊技台情報となる前回最終送信通番を“n”に更新する。   Referring to FIG. 15, CU 3 transmits a status information request including serial number = n to P unit 2 before the power interruption occurs during the game. In response to this, in order to notify the gaming machine information CU3, the P machine 2 transmits a status information response including the serial number = n, the number of game balls = 480, the number of added balls = 3, and the number of subtracted balls = 23 to the CU3. . The P table 2 updates the previous last transmission serial number as the previous game table information to “n”.

CU3は、通番=nの状態情報応答を受け、前回最終送信通番を“n”に更新してバックアアップする。また、遊技玉数=480、加算玉数=3および減算玉数=23の情報に基づいて、自ら記憶している遊技玉数や加算玉数、減算玉数を更新する。   CU3 receives the status information response of serial number = n, updates the previous last transmission serial number to “n”, and backs up. Also, based on the information of the number of game balls = 480, the number of additional balls = 3, and the number of subtracted balls = 23, the number of game balls, the number of added balls, and the number of subtracted balls stored therein are updated.

そして、遊技中においてP台2に電源断が発生した後に、通番=n+1を含む状態情報要求がCU3からP台2へ送信された場合に、P台2が電源断の状態であるためにその状態情報要求を受信できない。それ以降P台2からの状態情報応答が送信されてこないためにCU3は、3秒後に通信回線断を検知して停止する制御を行なう。P台2が状態情報応答のレスポンスをCU3に送信してから、電源断発生までの間、P台2において遊技が続行されて遊技台情報が変化し、遊技玉数=450、加算玉数=6、減算玉数=36となり、これが最新遊技台情報となる。一方、既に送信した遊技玉数=480、加算玉数=3、減算玉数=23の遊技台情報は前回遊技台情報となる。   Then, after a power interruption occurs in the P stand 2 during the game, when a status information request including a serial number = n + 1 is transmitted from the CU 3 to the P stand 2, the P stand 2 is in a power cut off state. Status information request cannot be received. Thereafter, since the status information response from the P stand 2 is not transmitted, the CU 3 performs control to detect and stop the communication line disconnection after 3 seconds. From the time when the P table 2 transmits the response of the status information response to the CU 3 until the power interruption occurs, the game is continued in the P table 2 and the game table information is changed. The number of game balls = 450, the number of additional balls = 6. Number of balls to be subtracted = 36, which is the latest game table information. On the other hand, the game table information of the number of game balls already transmitted = 480, the number of additional balls = 3, and the number of subtraction balls = 23 is the previous game table information.

その後、P台2の電源断が復旧してONの状態になってP台2が動作を開始する。P台2が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバ(ホールサーバ801を経由して鍵管理サーバ800)へ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照合してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure of the P stand 2 is restored and the P stand 2 starts to operate. When the P table 2 starts operation, first, an authentication sequence is started between the CU 3 and the P table 2, and information including the main chip ID and the payout chip ID is transmitted from the P table 2 to the CU 3. The The CU 3 transmits the received main chip ID and payout chip ID to the upper management server (the key management server 800 via the hall server 801), and whether the main chip ID and the payout chip ID are properly registered. Ask them to check whether they have returned the results. If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、通番=1、前回最終送信通番=nを含むリカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求の前回最終送信通番=nと、P台2内部(具体的には払出制御基板17)でバックアップしている前回最終送信通番=nとが一致しているか否かを判定する。一致している場合には、通信断の前にP台2からCU3に対して最後に送信した状態情報応答はCU3に到達していると判断でき、この場合には、その状態情報応答に含まれる遊技情報に基づいてCU3側でも遊技情報が更新されていることになる。このため、この場合には、遊技情報格納無(具体的には前回遊技台情報無)としてリカバリ応答(通番=1)をCU3へ返信する。仮に、受信したリカバリ要求の前回最終送信通番=nと、P台2内部(具体的には払出制御基板17)でバックアップしている前回最終送信通番=nとが不一致の場合には、通信断の前にP台2からCU3に対して最後に送信した状態情報応答はCU3に到達していないと判断できるため、このような場合には、遊技情報格納有(具体的には前回遊技台情報有)として遊技情報を含むリカバリ応答(通番=1)をCU3へ返信する。   After the authentication sequence, the CU 3 transmits a recovery request including the serial number = 1 and the last last transmission serial number = n to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the last final transmission sequence number = n of the received recovery request is equal to the last final transmission sequence number = n backed up inside the P base 2 (specifically, the payout control board 17). Determine whether you are doing it. If they match, it can be determined that the last status information response sent from the P-unit 2 to the CU3 before the communication interruption has reached the CU3. In this case, the status information response is included in the status information response. The game information is updated on the CU 3 side based on the game information to be played. For this reason, in this case, a recovery response (serial number = 1) is returned to the CU 3 as no gaming information storage (specifically, no previous gaming machine information). If the previous last transmission sequence number = n of the received recovery request does not match the previous last transmission sequence number = n backed up inside the P unit 2 (specifically, the payout control board 17), the communication is interrupted. Since it can be determined that the status information response last transmitted from the P stand 2 to the CU 3 before the CU 3 has not reached the CU 3, in this case, the game information is stored (specifically, the previous game stand information) A recovery response (sequence number = 1) including game information is returned to CU3.

図15において、CU3は、リカバリ応答に含まれる遊技情報格納がないため、加算リカバリ処理は行なわない。なお、リカバリ応答を受信したCU3のCU制御部323は、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第1チェック処理を実行する。この第1チェック処理は、図28(a)に基づいて後述する。遊技情報格納がないため、CU3は、リカバリ要求2をP台2に送信することなく、通番=2を含む通信開始要求をP台2に送信する。なお、CU3が通信開始要求のコマンドをP台2に送信する際、計数通番は“0”(初期値)にクリアされる。P台2は、通信開始要求を受け、通番=2を含む通信開始応答をCU3へ送信する。また、P台2は、通信開始要求を受信後、リカバリデータ(遊技情報)をクリアするとともに、計数通番も“0”(初期値)にクリアする。   In FIG. 15, CU3 does not store the game information included in the recovery response, and therefore does not perform the addition recovery process. The CU control unit 323 of the CU 3 that has received the recovery response checks whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the recovery response is an appropriate value. The first check process is executed. This first check process will be described later with reference to FIG. Since there is no game information storage, the CU 3 transmits a communication start request including the serial number = 2 to the P unit 2 without transmitting the recovery request 2 to the P unit 2. When the CU 3 transmits a communication start request command to the P base 2, the counting sequence number is cleared to “0” (initial value). The P unit 2 receives the communication start request and transmits a communication start response including the serial number = 2 to the CU 3. Further, after receiving the communication start request, the P platform 2 clears the recovery data (game information) and also clears the counting sequence number to “0” (initial value).

CU3は、P台2との通信が開始されると、通番=3を含む状態情報要求をP台2に送信する。それを受けたP台2では、未通知の遊技台情報(最新遊技台情報である遊技玉数=450、加算玉数=6、減算玉数=36)を状態情報応答でCU3に通知するとともに、前回最終送信通番を更新して、当該データをバックアップする。具体的には、状態情報応答として送信通番=3、遊技玉数=450、加算玉数=6および減算玉数=36を含む。CU3は、未通知の遊技台情報を含む状態情報応答を受けて、前回最終送信通番を更新して、当該データをバックアップする。なお、状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   When communication with the P table 2 is started, the CU 3 transmits a status information request including a serial number = 3 to the P table 2. In response to this, the P table 2 notifies the CU 3 of unreported game table information (the number of game balls as the latest game table information = 450, the number of added balls = 6, the number of subtracted balls = 36) as a status information response. Update the last transmission serial number and back up the data. Specifically, the status information response includes transmission sequence number = 3, number of game balls = 450, number of added balls = 6, and number of subtracted balls = 36. In response to the status information response including unnotified gaming machine information, the CU 3 updates the previous last transmission serial number and backs up the data. The CU control unit 323 of the CU 3 that has received the status information response checks whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute the process. This second check process will be described later with reference to FIG.

<<異常系シーケンス2>>
次に、図16を参照して、電源断/通信回線断により状態情報応答が未到達となったときの遊技玉数のリカバリ処理について説明する。図16は、特に、電源断/通信回線断線(たとえば、P台2の電源が一旦OFFにした後再度ONになった場合)があって、状態情報応答が未到達(P台2からCU3へコマンドが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal sequence 2 >>
Next, with reference to FIG. 16, a description will be given of the recovery processing of the number of game balls when the status information response has not yet reached due to power interruption / communication line interruption. In particular, FIG. 16 shows that there is a power interruption / communication line disconnection (for example, when the power of the P base 2 is once turned off and then turned on again), and the status information response has not reached (from the P base 2 to the CU 3). FIG. 11 is a sequence diagram for explaining a counting process in a case where a command has not arrived) and communication partners after recovery match.

図16を参照して、遊技中において電源断が発生した後に、通番=n、遊技玉数=480、加算玉数=3および減算玉数=23を含む状態情報応答がP台2からCUへ送信された場合に、CUが電源断の状態であるためにその状態情報応答をCUが受信できない。それ以降CU3からの状態情報要求が送信されてこないためにP台2は、3秒後に通信回線断を検知して遊技を停止する制御を行なう。具体的には、払出制御部171が発射制御基板31へ停止コマンドを送信し、発射制御基板31が発射モータ18の回転駆動を停止する。この3秒間の間、P台2において遊技が続行されて遊技台情報が変化し、遊技玉数=450、加算玉数=6、減算玉数=36となり、これが最新遊技台情報となる。一方、既に送信した遊技玉数=480、加算玉数=3、減算玉数=23の遊技台情報は前回遊技台情報となる。   Referring to FIG. 16, after a power interruption occurs during a game, a status information response including serial number = n, number of game balls = 480, number of additional balls = 3 and number of subtracted balls = 23 is sent from P unit 2 to CU. When transmitted, the CU cannot receive the status information response because the CU is in a power-off state. After that, since the status information request from the CU 3 is not transmitted, the P stand 2 performs control to detect the communication line disconnection and stop the game after 3 seconds. Specifically, the payout control unit 171 transmits a stop command to the firing control board 31, and the firing control board 31 stops the rotational drive of the firing motor 18. During this 3 seconds, the game is continued in the P table 2 and the game table information is changed, and the number of game balls = 450, the number of additional balls = 6, and the number of subtraction balls = 36, which becomes the latest game table information. On the other hand, the game table information of the number of game balls already transmitted = 480, the number of additional balls = 3, and the number of subtraction balls = 23 is the previous game table information.

一方、CU3では、電源断が発生したために、挿入されているカードを強制的に排出して遊技者に返却する制御を行なう。その際、現時点における持玉数を後述する図78のステップS516またはステップS527で設定されたレートに応じた持玉数としてカードに記憶させて排出する。なお、CUの故障等が原因で持玉数をカードに記憶させることができない場合は、定期的に(たとえば5秒毎に)CU3から持玉数を受信してバックアップ記憶しているホールサーバ801の記憶データ(持玉数)を基に遊技者に損失補填するようにしてもよい。その後、CU3の電源断が復旧してONの状態になってCU3が動作を開始する。CU3が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバ(ホールサーバ801を経由して鍵管理サーバ800)へ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照合してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   On the other hand, CU3 performs control to forcibly eject the inserted card and return it to the player because the power is cut off. At this time, the number of balls currently held is stored in the card as the number of balls according to the rate set in step S516 or step S527 of FIG. If the number of possessed balls cannot be stored in the card due to a failure of the CU or the like, the hall server 801 periodically receives the number of retained balls from the CU 3 (for example, every 5 seconds) and stores it in a backup manner. The loss may be compensated for by the player based on the stored data (the number of balls). Thereafter, the power-off of the CU 3 is restored, and the CU 3 starts operating. When the CU 3 starts operating, first, an authentication sequence is started between the CU 3 and the P unit 2, and information including the main chip ID and the payout chip ID is transmitted from the P unit 2 to the CU 3. The CU 3 transmits the received main chip ID and payout chip ID to the upper management server (the key management server 800 via the hall server 801), and whether the main chip ID and the payout chip ID are properly registered. Ask them to check whether they have returned the results. If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、通番=1を含むリカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求の前回最終送信通番=n−1と、P台2内部(具体的には払出制御基板17)でバックアップしている前回最終送信通番=nとを比較判定する。その結果、両者が不一致であるので、電源断の発生前に最後に送信した状態情報応答がCU3へ到達していないものと判断する。そこで、P台2は、CU3に対して未通知の遊技情報を有しているとして遊技情報格納有(具体的には前回遊技台情報有)を含むリカバリ応答(通番=1)をCU3へ返信する。つまり、前回遊技台情報である遊技玉数=480、加算玉数=3、減算玉数=23をリカバリ応答に含めてCU3へ送信する。   After the authentication sequence, the CU 3 transmits a recovery request including the serial number = 1 to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, in the P base 2, the previous last transmission sequence number of the received recovery request = n−1, and the last final transmission sequence number backed up in the P base 2 (specifically, the payout control board 17) = n Are compared. As a result, since they do not match, it is determined that the state information response transmitted last before the occurrence of the power interruption has not reached CU3. Therefore, the P stand 2 returns a recovery response (serial number = 1) including the game information storage presence (specifically, the previous game stand information presence) to the CU 3 as having unreported game information to the CU 3. To do. That is, the number of game balls = 480, the number of added balls = 3, and the number of subtracted balls = 23, which are the previous game table information, are included in the recovery response and transmitted to the CU3.

CU3は、リカバリ応答に含まれる遊技情報に基づいてリカバリ処理を実行する。ただし、通信回線断を検知する直前に遊技玉の加算要求を送信していないため、加算リカバリ処理は不要である。このため、リカバリ応答を受信した後、リカバリ要求2を送信することなく、通信開始要求を送信する。CU3は、この通信開始要求の送信前に、第1チェック処理を実行する。第1チェック処理では、リカバリ応答を受信したCU3のCU制御部323によって、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かがチェックされる。この第1チェック処理は、図28(a)に基づいて後述する。CU3は、リカバリ要求2をP台2に送信することなく、通番=2を含む通信開始要求をP台2に送信する。なお、CU3は、P台2から受信した前回遊技台情報を処理して、前回最終送信通番を更新して、当該データをバックアップする。CU3が通信開始要求のコマンドをP台2に送信する際、計数通番は“0”(初期値)にクリアされる。P台2は、通信開始要求を受け、通番=2を含む通信開始応答をCU3へ送信する。また、P台2は、通信開始要求を受信後、リカバリデータ(遊技情報)をクリアするとともに、計数通番も“0”(初期値)にクリアする。   The CU 3 executes the recovery process based on the game information included in the recovery response. However, since the game ball addition request is not transmitted immediately before the communication line disconnection is detected, the addition recovery process is unnecessary. For this reason, after receiving the recovery response, the communication start request is transmitted without transmitting the recovery request 2. The CU 3 executes a first check process before transmitting this communication start request. In the first check process, whether or not the number of game balls included in the game machine information transmitted from the P machine 2 as the recovery response by the CU control unit 323 of the CU 3 that has received the recovery response is an appropriate value Is checked. This first check process will be described later with reference to FIG. The CU 3 transmits a communication start request including the serial number = 2 to the P unit 2 without transmitting the recovery request 2 to the P unit 2. Note that the CU 3 processes the previous gaming machine information received from the P machine 2, updates the previous last transmission serial number, and backs up the data. When the CU 3 transmits a communication start request command to the P unit 2, the counting sequence number is cleared to “0” (initial value). The P unit 2 receives the communication start request and transmits a communication start response including the serial number = 2 to the CU 3. Further, after receiving the communication start request, the P platform 2 clears the recovery data (game information) and also clears the counting sequence number to “0” (initial value).

CU3は、P台2との通信が開始されると、通番=3を含む状態情報要求をP台2に送信する。それを受けたP台2では、電源断の発生前にCU3にまで到達しなかった状態情報応答に含まれる未通知の遊技台情報(遊技玉数=450、加算玉数=6、減算玉数=36)を状態情報応答でCU3に通知するとともに、前回最終送信通番を更新して、当該データをバックアップする。具体的には、状態情報応答として送信通番=3、遊技玉数=450、加算玉数=6および減算玉数=36を含む。CU3は、未通知の遊技台情報を含む状態情報応答を受けて、前回最終送信通番を更新して、当該データをバックアップする。なお、状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   When communication with the P table 2 is started, the CU 3 transmits a status information request including a serial number = 3 to the P table 2. In response to this, in the P-unit 2, the unreported game table information (the number of game balls = 450, the number of added balls = 6, the number of subtracted balls) included in the state information response that did not reach the CU 3 before the power failure occurred. = 36) is notified to the CU 3 by a status information response, and the last transmission serial number is updated last time to back up the data. Specifically, the status information response includes transmission sequence number = 3, number of game balls = 450, number of added balls = 6, and number of subtracted balls = 36. In response to the status information response including unnotified gaming machine information, the CU 3 updates the previous last transmission serial number and backs up the data. The CU control unit 323 of the CU 3 that has received the status information response checks whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute the process. This second check process will be described later with reference to FIG.

なお、再挿入されたカードのカードIDがカード情報読取処理により適正に読取られた場合に、その読取ったカードIDとリカバリ応答に含まれているカードIDとを照合して一致しているか否かをCU3のCU制御部323が判定するとともに、電源断発生前の遊技開始時に挿入されたカードの挿入時刻をCU制御部323のRAMが記憶しておりその記憶しているカードの挿入時刻とリカバリ応答に含まれているカード挿入時刻とを比較して一致するか否かをCU3のCU制御部323が判定してもよい。その場合、両者一致すると判定し、加算リカバリが無い場合には、CU3は、通信開始要求をP台2へ送信する。それを受けたP台2では、リカバリデータ(遊技情報)をクリアして、通信開始応答をCU3へ返信する。   If the card ID of the reinserted card is properly read by the card information reading process, whether the read card ID matches the card ID included in the recovery response or not Is determined by the CU control unit 323 of the CU3, and the insertion time of the card inserted at the start of the game before the power interruption occurs is stored in the RAM of the CU control unit 323, and the stored card insertion time and recovery are stored. The CU control unit 323 of the CU 3 may determine whether or not the card insertion times included in the response match. In this case, it is determined that both match, and if there is no addition recovery, the CU 3 transmits a communication start request to the P unit 2. In response to this, the P table 2 clears the recovery data (game information) and returns a communication start response to the CU 3.

本実施例では、この遊技者の同一性を判断するときの遊技者を特定可能な遊技者特定情報として、カードIDとカード挿入時刻とを用いている。このカードIDは、会員の遊技者個人を特定する会員用カードのカードIDばかりでなく、ビジターとして来店した遊技者が用いるビジターカードのカードIDも含む。このビジターカードの場合には、不特定の遊技者に使用されるものであり、特定の遊技者個人を特定するものではない。つまり、このカードIDの場合には、電源断/通信回線断の発生前に遊技を行なっていた遊技者と電源断復旧後に遊技を行なおうとしている遊技者とが同一の遊技者であるか否かは特定できるが、その遊技者がどの特定の個人であるかまでは特定できない。よって、上記「遊技者特定情報」とは、特定の遊技者個人を特定するものに限らず、電源断/通信回線断の発生前に遊技を行なっていた遊技者と電源断復旧後に遊技を行なおうとしている遊技者との同一性が判別できる情報をも含む広い概念である。   In this embodiment, a card ID and a card insertion time are used as player specifying information that can specify a player when determining the identity of the player. This card ID includes not only the card ID of the member card that identifies the individual player of the member but also the card ID of the visitor card used by the player who visited the store as a visitor. In the case of this visitor card, it is used for an unspecified player and does not specify a specific player individual. That is, in the case of this card ID, whether the player who played the game before the occurrence of the power interruption / communication line disconnection and the player who intends to play the game after the power interruption is restored are the same player. It can be specified whether or not, but it cannot be specified to which specific individual the player is. Therefore, the above “player identification information” is not limited to identifying a specific individual player, and the player who played the game before the occurrence of the power interruption / communication line interruption and the game after the power interruption recovery is performed. It is a broad concept that includes information that can be used to determine the identity of the player who is trying to correct.

<<異常系シーケンス3>>
次に、図17を参照して、電源断/通信回線断により状態情報応答が未到達となったときの遊技玉数の別のリカバリ処理について説明する。図17は、特に、電源断/通信回線断線(たとえば、CU3の電源が一旦OFFにした後再度ONになった場合)があって、状態情報応答が未到達(P台2からCU3へコマンドが未到達)で、復旧後通信相手が不一致の場合の計数処理を説明するためのシーケンス図である。この電源のOFF,ONは、たとえばCU3の故障、または電源を手動でOFF,ONする、あるいはCU3をカードユニットホルダから抜き差しすることによっても、電源がOFF,ONとなる。
<< Abnormal sequence 3 >>
Next, with reference to FIG. 17, another recovery process of the number of game balls when the status information response is unreached due to power interruption / communication line interruption will be described. In particular, FIG. 17 shows that there is a power interruption / communication line disconnection (for example, when the power supply of CU3 is once turned off and then turned on again), and the status information response has not reached (a command is sent from P unit 2 to CU3). It is a sequence diagram for explaining the counting process in the case where the communication partner after recovery is unmatched. This power OFF / ON can also be turned OFF / ON, for example, by failure of the CU3, or by manually turning the power OFF / ON, or by inserting / removing the CU3 from / from the card unit holder.

図17を参照して、遊技中において電源断が発生した後に、通番=n、遊技玉数=480、加算玉数=3および減算玉数=23を含む状態情報応答がP台2からCUへ送信された場合に、CUが電源断の状態であるためにその状態情報応答をCUが受信できない。それ以降CU3からの状態情報要求が送信されてこないためにP台2は、3秒後に通信回線断を検知して遊技を停止する制御を行なう。具体的には、払出制御部171が発射制御基板31へ停止コマンドを送信し、発射制御基板31が発射モータ18の回転駆動を停止する。この3秒間の間、P台2において遊技が続行されて遊技台情報が変化し、遊技玉数=450、加算玉数=6、減算玉数=36となり、これが最新遊技台情報となる。一方、既に送信した遊技玉数=480、加算玉数=3、減算玉数=23の遊技台情報は前回遊技台情報となる。   Referring to FIG. 17, after a power interruption occurs during a game, a status information response including serial number = n, number of game balls = 480, number of additional balls = 3 and number of subtracted balls = 23 is sent from P unit 2 to CU. When transmitted, the CU cannot receive the status information response because the CU is in a power-off state. After that, since the status information request from the CU 3 is not transmitted, the P stand 2 performs control to detect the communication line disconnection and stop the game after 3 seconds. Specifically, the payout control unit 171 transmits a stop command to the firing control board 31, and the firing control board 31 stops the rotational drive of the firing motor 18. During this 3 seconds, the game is continued in the P table 2 and the game table information is changed, and the number of game balls = 450, the number of additional balls = 6, and the number of subtraction balls = 36, which becomes the latest game table information. On the other hand, the game table information of the number of game balls already transmitted = 480, the number of additional balls = 3, and the number of subtraction balls = 23 is the previous game table information.

一方、CU3では、電源断が発生したために、挿入されているカードを強制的に排出して遊技者に返却する制御を行なう。その後、CU3の電源断が復旧してONの状態になり、さらにCU3を交換して新たなCU3が動作を開始する。   On the other hand, CU3 performs control to forcibly eject the inserted card and return it to the player because the power is cut off. Thereafter, the power failure of the CU 3 is restored and the power is turned on, and the CU 3 is replaced and a new CU 3 starts operating.

なお、CU交換前に稼働していたCU3が持玉数を記憶していたときには、その持玉数を別のカード(たとえば、CU内部のカード)に記憶させて排出するようにしてもよい。その際に、CUの故障等が原因で持玉数をカードに記憶させることができない場合は、定期的に(たとえば5秒毎に)CU3から持玉数を受信してバックアップ記憶しているホールサーバ801の記憶データ(持玉数)を基に遊技者に損失補填するようにしてもよい。   In addition, when CU3 which was operating before CU replacement has stored the number of balls, the number of balls may be stored in another card (for example, a card inside the CU) and discharged. At that time, if the number of balls cannot be stored in the card due to a failure of the CU, etc., the number of balls is received regularly from the CU3 (for example, every 5 seconds) and stored in a backup. The player may be compensated for the loss based on the data stored in the server 801 (the number of holding balls).

交換後のCU3が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバ(ホールサーバ801を経由して鍵管理サーバ800)へ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照合してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   When the exchanged CU3 starts operating, first, an authentication sequence is started between the CU3 and the P unit 2, and information including the main chip ID and the payout chip ID is transmitted from the P unit 2 to the CU3. Is done. The CU 3 transmits the received main chip ID and payout chip ID to the upper management server (the key management server 800 via the hall server 801), and whether the main chip ID and the payout chip ID are properly registered. Ask them to check whether they have returned the results. If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、通番=1を含むリカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。しかし、CU3は、交換したため前回最終送信通番を有していない。それを受けたP台2では、CU3に対して未通知の遊技情報を有しているとして遊技情報格納有を含むリカバリ応答(通番=1)をCU3へ返信する。このリカバリ応答でCU3に通知するリカバリ情報には、前回最終送信通番=n、挿入されていたカードのカードID、カード挿入時間、前回最終送信加算通番=mおよび前回遊技台情報が含まれている。前回遊技台情報には、遊技玉数=480、加算玉数=3、減算玉数=23を含んでいる。   After the authentication sequence, the CU 3 transmits a recovery request including the serial number = 1 to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. However, since CU3 has been exchanged, it does not have a previous last transmission serial number. In response to this, the P-unit 2 returns a recovery response (serial number = 1) including game information storage presence to the CU 3 as having unreported game information with respect to the CU 3. The recovery information notified to the CU 3 by this recovery response includes the previous last transmission sequence number = n, the card ID of the inserted card, the card insertion time, the previous last transmission addition sequence number = m, and the previous game machine information. . The previous game table information includes the number of game balls = 480, the number of additional balls = 3, and the number of subtraction balls = 23.

リカバリ応答を受信したCU3のCU制御部323は、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第1チェック処理を実行する。この第1チェック処理は、図28(a)に基づいて後述する。CU3は、リカバリ要求2をP台2に送信することなく、通番=2を含む通信開始要求をP台2に送信する。なお、CU3は、P台2から受信した前回遊技台情報を使用してリカバリ処理(遊技玉数=480、加算玉数累計=+3、減算玉数累計=+23)を行ない、前回最終送信通番を更新して、当該データおよびカードID、カード挿入時刻をバックアップする。CU3が通信開始要求のコマンドをP台2に送信する際、計数通番は“0”(初期値)にクリアされる。P台2は、通信開始要求を受け、通番=2を含む通信開始応答をCU3へ送信する。また、P台2は、通信開始要求を受信後、リカバリデータ(遊技情報)をクリアするとともに、計数通番も“0”(初期値)にクリアする。   The CU control unit 323 of the CU 3 that has received the recovery response first checks whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the recovery response is an appropriate value. Execute the check process. This first check process will be described later with reference to FIG. The CU 3 transmits a communication start request including the serial number = 2 to the P unit 2 without transmitting the recovery request 2 to the P unit 2. CU3 performs recovery processing (game balls = 480, cumulative ball count = + 3, subtractive ball count = + 23) using the previous game machine information received from P machine 2, and sets the last transmission serial number of the previous game. Update and back up the data, card ID, and card insertion time. When the CU 3 transmits a communication start request command to the P unit 2, the counting sequence number is cleared to “0” (initial value). The P unit 2 receives the communication start request and transmits a communication start response including the serial number = 2 to the CU 3. Further, after receiving the communication start request, the P platform 2 clears the recovery data (game information) and also clears the counting sequence number to “0” (initial value).

CU3は、P台2との通信が開始されると、通番=3を含む状態情報要求をP台2に送信する。それを受けたP台2では、未通知の遊技台情報(遊技玉数=450、加算玉数=6、減算玉数=36)を状態情報応答でCU3に通知する。具体的には、状態情報応答として送信通番=3、遊技玉数=450、加算玉数=6および減算玉数=36を含む。CU3は、未通知の遊技台情報を含む状態情報応答を受けて、前回挿入中だったカードの挿入待ち、または店員リモコン操作(遊技玉計数)待ちの状態となる。この状態でカードが挿入されると、CU3は、その挿入されたカードのIDをカードリーダライタにより読み取る。そして、読み取ったカードIDと、リカバリ応答に基づいて記憶しているリカバリカードID(前回挿入されていたカードのカードID)とが一致しているか否かを判定する。一致していると判定した場合には、遊技を再開させるための店員のリモコン操作待ちとなる。リモコン操作があれば、店舗コードおよびSC基板ID等を含むカード挿入通知のコマンドがCU3からP台2へ送信される。P台2では、通信断以前の前回のカード挿入時に受信した店舗コードおよびSC基板IDのデータを払出制御部171のRAM等にバックアップしており、そのバックアップしているデータとCU3から送信されてきた店舗コードおよびSC基板IDとを比較して一致するか否か判別する。一致していれば、遊技が再開可能となる。なお、リモコン操作を待つことなく、店舗コードおよびSC基板ID等を含むカード挿入通知のコマンドがCU3からP台2へ送信されるようにしてもよい。不一致の場合には、たとえばP台2の遊技玉数データを無効にする等のエラー処理が行なわれる。あるいは、これに代えて、またはこれに加えてエラー報知がなされるようにしてもよい。さらには、挿入されているカードを強制的に排出して遊技者に返却する制御を行なうようにしてもよい。   When communication with the P table 2 is started, the CU 3 transmits a status information request including a serial number = 3 to the P table 2. In response to this, the P table 2 notifies the CU 3 of unreported game table information (the number of game balls = 450, the number of added balls = 6, the number of subtracted balls = 36) as a status information response. Specifically, the status information response includes transmission sequence number = 3, number of game balls = 450, number of added balls = 6, and number of subtracted balls = 36. Upon receiving a status information response including unnotified gaming machine information, the CU 3 waits for insertion of a card that was being inserted last time or waits for a store clerk remote control operation (game ball count). When a card is inserted in this state, the CU 3 reads the ID of the inserted card with a card reader / writer. Then, it is determined whether or not the read card ID matches the recovery card ID stored based on the recovery response (the card ID of the previously inserted card). If it is determined that they match, the store clerk waits for a remote control operation to resume the game. If there is a remote control operation, a card insertion notification command including the store code and the SC board ID is transmitted from the CU 3 to the P stand 2. The P unit 2 backs up the store code and SC board ID data received at the time of the previous card insertion before the communication interruption to the RAM or the like of the payout control unit 171 and is transmitted from the backed up data and the CU3. The store code and the SC board ID are compared to determine whether or not they match. If they match, the game can be resumed. Note that a card insertion notification command including a store code and an SC board ID may be transmitted from the CU 3 to the P stand 2 without waiting for a remote control operation. In the case of mismatch, error processing such as invalidating the game ball number data of the P unit 2 is performed, for example. Alternatively, an error notification may be made instead of or in addition to this. Further, it may be controlled to forcibly eject the inserted card and return it to the player.

なお、状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   The CU control unit 323 of the CU 3 that has received the status information response checks whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute the process. This second check process will be described later with reference to FIG.

<<異常系シーケンス4>>
次に、電源断/通信回線断により加算要求が未到達となったときの加算玉数のリカバリ処理について説明する。図18は、特に、電源断、通信回線断線により、加算要求が未到達(CU3からP台2への加算要求のコマンドが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal sequence 4 >>
Next, the recovery process of the number of balls to be added when the addition request is not reached due to power-off / communication line disconnection will be described. FIG. 18 illustrates the counting process when the addition request has not yet reached (the command for the addition request from the CU 3 to the P unit 2 has not yet reached) due to power interruption or communication line disconnection, and the communication counterparts after recovery match. FIG.

この図18では、当初の遊技玉数が50玉の状態となっている。まず、CU3は、通番=nおよび加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50および加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。なお、状態情報応答のレスポンスに含まれる計数要求がOFF(図示せず)であるので、計数通番はmのまま、カウントアップすることなくCU3に送信される。   In FIG. 18, the initial number of game balls is 50 balls. First, the CU 3 transmits a status information request command including a serial number = n and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Since the count request included in the response of the status information response is OFF (not shown), the count serial number remains m and is transmitted to the CU 3 without counting up.

その後、遊技者が再プレイボタンを押下する。そのため、CU3は、貯玉の消費を確定し、通番=n+1、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信して、貯玉を遊技玉に変換した情報を通知する。その際、CU3は、貯玉の消費を確定し、加算玉数=125とし、前回最終送信加算通番、および加算要求状態ONのデータをバックアップする。   Thereafter, the player presses the replay button. Therefore, CU3 confirms the consumption of the stored ball, and sends a command for status information request including serial number = n + 1, game ball addition request = ON, number of additional balls = 125 balls, and addition serial number = m + 1 to P unit 2, Notify the information that converted the stored ball into a game ball. At this time, the CU 3 confirms the consumption of the stored balls, sets the number of balls to be added = 125, and backs up the data of the previous last transmission addition serial number and the addition request state ON.

しかし、P台2は、遊技者が再プレイボタンを押下した後、状態情報要求のコマンドを受信する前に、電源断が発生し、動作が停止する。そのため、P台2は、CU3からの状態情報要求のコマンドを受信することができない。   However, after the player presses the replay button and before receiving the command for requesting the state information, the P stand 2 is turned off and stops operating. Therefore, the P base 2 cannot receive the status information request command from the CU 3.

CU3は、P台2が停止しているので、コマンド送信後200ミリ秒間レスポンスを受信できないので、最大14回までコマンドを再送信する。CU3は、コマンドを再送信してもレスポンスを受信できないことにより、通信回線断を検知する。   CU3 cannot retransmit the response for 200 milliseconds after the command transmission because P-station 2 is stopped, and therefore retransmits the command up to 14 times. The CU 3 detects a communication line disconnection by not receiving a response even if the command is retransmitted.

その後、P台2で電源断が復旧し、P台2が動作を開始する。P台2が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure is restored at the P base 2, and the P base 2 starts operating. When the P table 2 starts operation, first, an authentication sequence is started between the CU 3 and the P table 2, and information including the main chip ID and the payout chip ID is transmitted from the P table 2 to the CU 3. The The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、リカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する。ここでは、前回最終送信加算通番=mが送信される。   After the authentication sequence, the CU 3 transmits a recovery request to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P machine 2 returns the recovery information backed up inside the P machine 2 (specifically, the payout control board 17) to the CU 3 as a response based on the received recovery request command. Here, the last last transmission addition serial number = m is transmitted.

リカバリ応答を受けたCU3では、リカバリ情報の前回最終送信加算通番と、記憶している前回最終送信加算通番と一致しているか否かを判断する。CU3は、P台2のリカバリデータの最終送信加算通番=mに比べて、バックアップしているCU3で記憶している前回最終送信加算通番=m+1の方が大きい値(新しい)の場合(不一致)、前回の状態情報要求のコマンドが未到達であったと判断して加算リカバリ処理を行なう。   Upon receiving the recovery response, the CU 3 determines whether or not the previous last transmission addition sequence number of the recovery information matches the stored previous last transmission addition sequence number. When CU3 has a larger value (newer) than the last transmission addition sequence number = m + 1 stored in CU3 being backed up compared to the final transmission addition sequence number = m of the recovery data of P unit 2 (mismatch) Then, it is determined that the previous status information request command has not been reached, and the addition recovery process is performed.

具体的な加算リカバリ処理としては、P台2に対して加算玉数=125玉のリカバリを要求する。そのため、CU3は、リカバリ要求2(加算玉数=125、前回最終送信加算通番=m+1)をP台2へ送信する。   As a specific addition recovery process, recovery of the number of added balls = 125 balls is requested to the P unit 2. Therefore, the CU 3 transmits a recovery request 2 (number of balls to be added = 125, previous last transmission addition serial number = m + 1) to the P unit 2.

P台2は、リカバリ要求2に含まれる加算玉数への加算処理を実施し、前回最終送信加算通番を更新して、当該テータをバックアップする。このタイミングで、電源断によって実現されなかった加算処理が実現され、CU3側とP台2側とで遊技玉数が整合する。さらに、P台2では、加算処理がOKであった旨をリカバリ応答2としてCU3へ返信する(リカバリ応答2(処理結果=処理OK))。それを受けたCU3は、加算要求状態をクリアする。なお、リカバリ応答2を受信したCU2のCU制御部323は、前述のリカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第3チェック処理を実行する。この第3チェック処理は、図29に基づいて後述する。   The P table 2 performs an addition process to the number of balls to be added included in the recovery request 2, updates the previous last transmission addition serial number, and backs up the data. At this timing, an addition process that has not been realized due to power-off is realized, and the number of game balls matches on the CU3 side and the P stand 2 side. Further, the P platform 2 returns a response 2 indicating that the addition processing is OK to the CU 3 (recovery response 2 (processing result = processing OK)). CU3 which received it clears the addition request state. The CU control unit 323 of the CU 2 that has received the recovery response 2 determines whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the above-described recovery response is an appropriate value. The third check process for checking is executed. This third check process will be described later with reference to FIG.

さらに、CU3は、通信開始要求をP台2へ送信する。それを受けたP台2では、リカバリデータ(遊技情報)をクリアして、通信開始応答をCU3へ返信する。また、CU3は、状態情報要求をP台2へ送信する。それを受けたP台2では、未通知の遊技台情報(遊技玉数=175)を状態情報応答でCU3に通知する。状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   Further, the CU 3 transmits a communication start request to the P unit 2. In response to this, the P table 2 clears the recovery data (game information) and returns a communication start response to the CU 3. Further, the CU 3 transmits a status information request to the P unit 2. In response to this, the P table 2 notifies the CU 3 of unreported game table information (number of game balls = 175) as a status information response. The CU control unit 323 of the CU 3 that has received the status information response performs a second check process for checking whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute. This second check process will be described later with reference to FIG.

ここでは、貯玉払出によって遊技を開始する再プレイボタンを押下した場合について説明したが、持玉払出によって遊技を開始する持玉払出ボタンを押下した場合も同様な動作となる。   Here, a case where a replay button for starting a game by paying out a stored ball has been described has been described, but the same operation is performed when a ball paying button for starting a game by paying out a ball is pressed.

<<異常系シーケンス5>>
次に、電源断/通信回線断により加算応答が未到達となったときの加算玉数のリカバリ処理について説明する。図19は、特に、電源断、通信回線断線により、加算応答が未到達(P台2からCU3への加算応答のレスポンスが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal sequence 5 >>
Next, the recovery process of the number of balls to be added when the addition response is not reached due to power interruption / communication line interruption will be described. FIG. 19 particularly illustrates the counting process when the addition response has not reached (the response to the addition response from the P base 2 to the CU 3 has not reached) due to power interruption or communication line disconnection, and the communication counterparts after recovery match. FIG.

この図19では、当初の遊技玉数が50玉の状態となっている。まず、CU3は、通番=nおよび加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50および加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。なお、状態情報応答のレスポンスに含まれる計数要求がOFF(図示せず)であるので、計数通番はmのまま、カウントアップすることなくCU3に送信される。   In FIG. 19, the initial number of game balls is 50 balls. First, the CU 3 transmits a status information request command including a serial number = n and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Since the count request included in the response of the status information response is OFF (not shown), the count serial number remains m and is transmitted to the CU 3 without counting up.

その後、遊技者が再プレイボタンを押下する。そのため、CU3は、貯玉の消費を確定し、通番=n+1、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信して、貯玉を遊技玉に変換した情報を通知する。その際、CU3は、貯玉の消費を確定し、加算玉数=125とし、前回最終送信加算通番、および加算要求状態ONのデータをバックアップする。   Thereafter, the player presses the replay button. Therefore, CU3 confirms the consumption of the stored ball, and sends a command for status information request including serial number = n + 1, game ball addition request = ON, number of additional balls = 125 balls, and addition serial number = m + 1 to P unit 2, Notify the information that converted the stored ball into a game ball. At this time, the CU 3 confirms the consumption of the stored balls, sets the number of balls to be added = 125, and backs up the data of the previous last transmission addition serial number and the addition request state ON.

その後、CU3で電源断が発生し、CU3の動作が停止する。しかし、P台2は、CU3で電源断が発生した直後、CU3の動作が停止していることを検知することができない。P台2が通信回線断を検知するには、1秒以上CU3から次のコマンドを受信できない期間が必要である。   Thereafter, a power failure occurs at CU3, and the operation of CU3 stops. However, the P stand 2 cannot detect that the operation of the CU 3 is stopped immediately after the power failure occurs in the CU 3. In order for the P unit 2 to detect a communication line disconnection, a period in which the next command cannot be received from the CU 3 for one second or longer is required.

そのため、P台2では、CU3の動作が停止していることを知らずに、CU3の状態情報要求のコマンドを受けて、通番=n+1、遊技玉数=175、遊技玉加算結果=OKおよび加算通番=m+1を含む状態情報応答のレスポンスをCU3に返信する。ただし、CU3に返信した状態情報応答のレスポンスは、CU3の動作が停止しているため、CU3へ未到達となる。なお、P台2では、CU3へ状態情報応答のレスポンスを返信するとともに、前回最終送信加算通番を更新し、更新したデータおよび遊技玉数=175のデータをバックアップする。   For this reason, the P unit 2 does not know that the operation of the CU3 is stopped, receives the command for requesting the status information of the CU3, the serial number = n + 1, the number of game balls = 175, the game ball addition result = OK and the addition serial number. Response of the status information response including = m + 1 is returned to CU3. However, the response of the status information response sent back to CU3 does not reach CU3 because the operation of CU3 is stopped. The P machine 2 returns a response of the status information response to the CU 3, updates the last transmission addition serial number last time, and backs up the updated data and the number of game balls = 175.

その後、CU3で電源断が復旧し、CU3が動作を開始する。CU3が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure is restored at CU3, and CU3 starts operating. When the CU 3 starts operating, first, an authentication sequence is started between the CU 3 and the P unit 2, and information including the main chip ID and the payout chip ID is transmitted from the P unit 2 to the CU 3. The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、前回最終送信通番=n+1を含むリカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する(リカバリ応答(前回最終送信通番=n+1、前回最終送信加算通番=m+1))。このリカバリ情報としては、前回最終送信通番=n+1、カードID、カード挿入時刻および前回最終送信加算通番=m+1が含まれている。   After the authentication sequence, the CU 3 transmits a recovery request including the last final transmission sequence number = n + 1 to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P base 2 returns the recovery information backed up in the P base 2 (specifically, the payout control board 17) to the CU 3 as a response based on the received recovery request command (recovery response). (Previous last transmission sequence number = n + 1, Previous last transmission addition sequence number = m + 1)). The recovery information includes the last last transmission sequence number = n + 1, the card ID, the card insertion time, and the last last transmission addition sequence number = m + 1.

リカバリ応答を受けたCU3では、リカバリ情報のカードID、およびカード挿入時刻と、記憶しているカードIDおよびカード挿入時刻と一致しているか否かを判断する。CU3は、カードIDおよびカード挿入時刻が一致し、P台2のリカバリデータの前回最終送信加算通番=m+1と、CU3で記憶している前回最終送信加算通番=m+1とが一致した場合、加算リカバリ処理を要求せず、加算要求状態をクリアする。また、リカバリ応答を受信したCU3のCU制御部323は、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第1チェック処理を実行する。この第1チェック処理は、図28(a)に基づいて後述する。   Upon receiving the recovery response, the CU 3 determines whether or not the card ID and card insertion time of the recovery information match the stored card ID and card insertion time. If the card ID and the card insertion time match and CU3 matches the previous last transmission addition sequence number = m + 1 of the recovery data of P unit 2 and the last final transmission addition sequence number = m + 1 stored in CU3, the addition recovery Clear the addition request state without requesting processing. In addition, the CU control unit 323 of the CU 3 that has received the recovery response checks whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as a recovery response is an appropriate value. The first check process is executed. This first check process will be described later with reference to FIG.

さらに、CU3は、通信開始要求をP台2へ送信する。それを受けたP台2では、通信開始応答をCU3へ返信する。   Further, the CU 3 transmits a communication start request to the P unit 2. In response to this, the P base 2 returns a communication start response to the CU 3.

ここでは、貯玉払出によって遊技を開始する再プレイボタンを押下した場合について説明したが、持玉払出によって遊技を開始する持玉払出ボタンを押下した場合も同様な動作となる。   Here, a case where a replay button for starting a game by paying out a stored ball has been described has been described, but the same operation is performed when a ball paying button for starting a game by paying out a ball is pressed.

<<異常系シーケンス6>>
次に、電源断/通信回線断により加算応答が未到達となったときの加算玉数の別のリカバリ処理について説明する。図20は、特に、電源断、通信回線断線により、加算応答が未到達(P台2からCU3への加算応答のレスポンスが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal Sequence 6 >>
Next, another recovery process of the number of balls to be added when the addition response is not reached due to power interruption / communication line interruption will be described. FIG. 20 particularly illustrates the counting process when the addition response has not reached (the response to the addition response from the P base 2 to the CU 3 has not reached) due to power interruption or communication line disconnection, and the communication counterparts after recovery match. FIG.

この図20では、当初の遊技玉数が50玉の状態となっている。まず、CU3は、通番=nおよび加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50および加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。なお、状態情報応答のレスポンスに含まれる計数要求がOFF(図示せず)であるので、計数通番はmのまま、カウントアップすることなくCU3に送信される。   In FIG. 20, the initial number of game balls is 50 balls. First, the CU 3 transmits a status information request command including a serial number = n and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Since the count request included in the response of the status information response is OFF (not shown), the count serial number remains m and is transmitted to the CU 3 without counting up.

その後、遊技者が再プレイボタンを押下する。そのため、CU3は、貯玉の消費を確定し、通番=n+1、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信して、貯玉を遊技玉に変換した情報を通知する。その際、CU3は、貯玉の消費を確定し、加算玉数=125とし、前回最終送信加算通番、および加算要求状態ONのデータをバックアップする。   Thereafter, the player presses the replay button. Therefore, CU3 confirms the consumption of the stored ball, and sends a command for status information request including serial number = n + 1, game ball addition request = ON, number of additional balls = 125 balls, and addition serial number = m + 1 to P unit 2, Notify the information that converted the stored ball into a game ball. At this time, the CU 3 confirms the consumption of the stored balls, sets the number of balls to be added = 125, and backs up the data of the previous last transmission addition serial number and the addition request state ON.

その後、CU3で電源断が発生し、CU3の動作が停止する。しかし、P台2は、CU3で電源断が発生した直後、CU3の動作が停止していることを検知することができない。P台2が通信回線断を検知するには、1秒以上CU3から次のコマンドを受信できない期間が必要である。   Thereafter, a power failure occurs at CU3, and the operation of CU3 stops. However, the P stand 2 cannot detect that the operation of the CU 3 is stopped immediately after the power failure occurs in the CU 3. In order for the P unit 2 to detect a communication line disconnection, a period in which the next command cannot be received from the CU 3 for one second or longer is required.

そのため、P台2では、CU3の動作が停止していることを知らずに、CU3の状態情報要求のコマンドを受けて、加算要求を処理する。ところが、何らかの原因(たとえば、遊技玉数が上限値に達しているなど)によって、遊技玉を加算できない状況が発生する。この場合、P台2は、通番=n+1、遊技玉数=50、遊技玉加算結果=NGおよび加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。ただし、CU3に返信した状態情報応答のレスポンスは、CU3の動作が停止しているため、CU3へ未到達となる。なお、P台2では、遊技玉加算異常が発生しているので、CU3からの加算玉を処理することができず、前回最終送信加算通番=mのままで更新していない。   For this reason, the P unit 2 receives the command for requesting the status information of the CU3 and processes the addition request without knowing that the operation of the CU3 is stopped. However, for some reason (for example, the number of game balls has reached the upper limit), a situation in which game balls cannot be added occurs. In this case, the P stand 2 returns a response of the state information response including the serial number = n + 1, the number of game balls = 50, the game ball addition result = NG and the addition serial number = m to the CU 3. However, the response of the status information response sent back to CU3 does not reach CU3 because the operation of CU3 is stopped. In addition, since the game ball addition abnormality has occurred in the P unit 2, the addition ball from the CU 3 cannot be processed, and the previous last transmission addition serial number = m is not updated.

その後、CU3で電源断が復旧し、CU3が動作を開始する。なお、P台2では、遊技玉加算異常の状態である。CU3が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure is restored at CU3, and CU3 starts operating. In addition, in P stand 2, it is in the state of game ball addition abnormality. When the CU 3 starts operating, first, an authentication sequence is started between the CU 3 and the P unit 2, and information including the main chip ID and the payout chip ID is transmitted from the P unit 2 to the CU 3. The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、前回最終送信通番=n+1を含むリカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する(リカバリ応答(前回最終送信通番=n+1、前回最終送信加算通番=m))。このリカバリ情報としては、前回最終送信通番=n+1、カードID、カード挿入時刻および前回最終送信加算通番=mが含まれている。   After the authentication sequence, the CU 3 transmits a recovery request including the last final transmission sequence number = n + 1 to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P base 2 returns the recovery information backed up in the P base 2 (specifically, the payout control board 17) to the CU 3 as a response based on the received recovery request command (recovery response). (Previous last transmission sequence number = n + 1, Previous last transmission addition sequence number = m)). The recovery information includes the last last transmission sequence number = n + 1, the card ID, the card insertion time, and the last last transmission addition sequence number = m.

リカバリ応答を受けたCU3では、リカバリ情報のカードID、およびカード挿入時刻と、記憶しているカードIDおよびカード挿入時刻と一致しているか否かを判断する。CU3は、カードIDおよびカード挿入時刻が一致し、P台2のリカバリデータの前回最終送信加算通番=mと、CU3で記憶している前回最終送信加算通番=m+1とが不一致の場合、加算リカバリ処理を要求する。そのため、CU3は、前回最終送信加算通番=m+1、加算玉数=125を含むリカバリ要求2をP台2に送信する。   Upon receiving the recovery response, the CU 3 determines whether or not the card ID and card insertion time of the recovery information match the stored card ID and card insertion time. If the card ID and the card insertion time match and CU3 does not match the last transmission addition sequence number = m of the recovery data of P unit 2 and the last transmission addition sequence number = m + 1 stored in CU3, the addition recovery Request processing. For this reason, the CU 3 transmits the recovery request 2 including the last final transmission addition serial number = m + 1 and the number of additional balls = 125 to the P unit 2.

それを受けてP台2は、遊技玉加算異常により、遊技玉加算が処理されていないこと(遊技玉加算NG)をリカバリ応答2で通知する。リカバリ応答2には、リカバリ結果=処理NGが含まれている。   In response to this, the P stand 2 notifies the recovery response 2 that the game ball addition is not processed (game ball addition NG) due to the game ball addition abnormality. The recovery response 2 includes recovery result = processing NG.

それを受けたCU3は、後述する第3チェックを行ない。さらに、CU3は、通信開始要求をP台2へ送信する。それを受けたP台2では、通信開始応答をCU3へ返信する。   CU3 which received it performs the 3rd check mentioned later. Further, the CU 3 transmits a communication start request to the P unit 2. In response to this, the P base 2 returns a communication start response to the CU 3.

さらに、CU3は、P台2に再度加算要求を通知するために、遊技玉加算要求=ON、加算玉数=125、加算通番=m+1を含む状態情報要求をP台2に送信する。それを受けたP台2は、加算異常状態のため、遊技玉数=50、遊技玉加算結果=NG、加算通番=mを含む状態情報応答をCU3に送信する。状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   Further, the CU 3 transmits a status information request including the game ball addition request = ON, the number of addition balls = 125, and the addition serial number = m + 1 to the P unit 2 in order to notify the P unit 2 of the addition request again. Receiving this, the P stand 2 is in an addition abnormal state, and transmits a state information response including the number of game balls = 50, a game ball addition result = NG, and an addition sequence number = m to the CU 3. The CU control unit 323 of the CU 3 that has received the status information response performs a second check process for checking whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute. This second check process will be described later with reference to FIG.

ここでは、貯玉払出によって遊技を開始する再プレイボタンを押下した場合について説明したが、持玉払出によって遊技を開始する持玉払出ボタンを押下した場合も同様な動作となる。   Here, a case where a replay button for starting a game by paying out a stored ball has been described has been described, but the same operation is performed when a ball paying button for starting a game by paying out a ball is pressed.

<<異常系シーケンス7>>
次に、電源断/通信回線断により加算要求が未到達となったときの加算玉数の別のリカバリ処理について説明する。図21は、特に、電源断、通信回線断線により、加算要求が未到達(CU3からP台2への加算要求のコマンドが未到達)で、復旧後通信相手が不一致の場合の計数処理を説明するためのシーケンス図である。
<< Abnormal sequence 7 >>
Next, another recovery process of the number of balls to be added when the addition request has not been reached due to power interruption / communication line interruption will be described. FIG. 21 explains the counting process when the addition request has not yet reached due to power interruption or communication line disconnection (addition request command from CU3 to P stand 2 has not been reached) and the communication partners after restoration do not match. FIG.

この図21では、当初の遊技玉数が50玉の状態となっている。まず、CU3は、通番=nおよび加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50および加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。なお、状態情報応答のレスポンスに含まれる計数要求がOFF(図示せず)であるので、計数通番はmのまま、カウントアップすることなくCU3に送信される。   In FIG. 21, the initial number of game balls is 50 balls. First, the CU 3 transmits a status information request command including a serial number = n and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Since the count request included in the response of the status information response is OFF (not shown), the count serial number remains m and is transmitted to the CU 3 without counting up.

その後、遊技者が再プレイボタンを押下する。そのため、CU3は、貯玉の消費を確定し、通番=n+1、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信して、貯玉を遊技玉に変換した情報を通知する。その際、CU3は、貯玉の消費を確定し、加算玉数=125とし、前回最終送信加算通番、および加算要求状態ONのデータをバックアップする。   Thereafter, the player presses the replay button. Therefore, CU3 confirms the consumption of the stored ball, and sends a command for status information request including serial number = n + 1, game ball addition request = ON, number of additional balls = 125 balls, and addition serial number = m + 1 to P unit 2, Notify the information that converted the stored ball into a game ball. At this time, the CU 3 confirms the consumption of the stored balls, sets the number of balls to be added = 125, and backs up the data of the previous last transmission addition serial number and the addition request state ON.

しかし、P台2は、遊技者が再プレイボタンを押下した後、状態情報要求のコマンドを受信する前に、電源断が発生し、動作が停止する。そのため、P台2は、CU3からの状態情報要求のコマンドを受信することができない。   However, after the player presses the replay button and before receiving the command for requesting the state information, the P stand 2 is turned off and stops operating. Therefore, the P base 2 cannot receive the status information request command from the CU 3.

CU3は、P台2が停止しているので、コマンド送信後200ミリ秒間レスポンスを受信できないので、最大14回までコマンドを再送信する。CU3は、コマンドを再送信してもレスポンスを受信できないことにより、通信回線断を検知する。   CU3 cannot retransmit the response for 200 milliseconds after the command transmission because P-station 2 is stopped, and therefore retransmits the command up to 14 times. The CU 3 detects a communication line disconnection by not receiving a response even if the command is retransmitted.

その後、P台2で電源断が復旧し、さらにP台2を交換して新たなP台2が動作を開始する。P台2が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。なお、CU3は、P台2が交換されても加算リカバリは実施する。   Thereafter, the power failure is restored at the P base 2, and the P base 2 is further replaced and the new P base 2 starts operating. When the P table 2 starts operation, first, an authentication sequence is started between the CU 3 and the P table 2, and information including the main chip ID and the payout chip ID is transmitted from the P table 2 to the CU 3. The The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained. Note that the CU 3 performs addition recovery even when the P stand 2 is replaced.

認証シーケンス後、CU3は、リカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する。しかし、P台2は、新たに交換したため前回最終送信加算通番はバックアップしておらず、初期値“0”をCU3に送信することになる。   After the authentication sequence, the CU 3 transmits a recovery request to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P machine 2 returns the recovery information backed up inside the P machine 2 (specifically, the payout control board 17) to the CU 3 as a response based on the received recovery request command. However, since the P base 2 is newly exchanged, the previous last transmission addition serial number is not backed up, and the initial value “0” is transmitted to the CU 3.

リカバリ応答を受けたCU3では、リカバリ情報の前回最終送信加算通番と、記憶している前回最終送信加算通番と一致しているか否かを判断する。CU3は、P台2のリカバリデータの最終送信加算通番=0と、バックアップしているCU3で記憶している前回最終送信加算通番=m+1とが不一致の場合、前回の状態情報要求のコマンドが未到達であったと判断して加算リカバリ処理を行なう。具体的な加算リカバリ処理としては、P台2に対して加算玉数=125玉のリカバリを要求する。そのため、CU3は、リカバリ要求2(加算玉数=125、前回最終送信加算通番=m+1)をP台2へ送信する。   Upon receiving the recovery response, the CU 3 determines whether or not the previous last transmission addition sequence number of the recovery information matches the stored previous last transmission addition sequence number. If the last transmission addition sequence number = 0 of the recovery data of P unit 2 and the previous last transmission addition sequence number = m + 1 stored in the CU3 being backed up do not match, CU3 has not issued a previous status information request command. It is determined that it has been reached, and addition recovery processing is performed. As a specific addition recovery process, recovery of the number of added balls = 125 balls is requested to the P unit 2. Therefore, the CU 3 transmits a recovery request 2 (number of balls to be added = 125, previous last transmission addition serial number = m + 1) to the P unit 2.

P台2は、リカバリ要求2に含まれる加算玉数への加算処理を実施し、前回最終送信加算通番を更新して、当該テータをバックアップする。さらに、P台2では、加算処理がOKであった旨をリカバリ応答2としてCU3へ返信する(リカバリ応答2(処理結果=処理OK))。それを受けたCU3は、加算要求状態をクリアする。なお、リカバリ応答2を受信したCU2のCU制御部323は、前述のリカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第3チェック処理を実行する。この第3チェック処理は、図29に基づいて後述する。   The P table 2 performs an addition process to the number of balls to be added included in the recovery request 2, updates the previous last transmission addition serial number, and backs up the data. Further, the P platform 2 returns a response 2 indicating that the addition processing is OK to the CU 3 (recovery response 2 (processing result = processing OK)). CU3 which received it clears the addition request state. The CU control unit 323 of the CU 2 that has received the recovery response 2 determines whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the above-described recovery response is an appropriate value. The third check process for checking is executed. This third check process will be described later with reference to FIG.

さらに、CU3は、通信開始要求をP台2へ送信する。それを受けたP台2では、リカバリデータ(遊技情報)をクリアして、通信開始応答をCU3へ返信する。また、CU3は、状態情報要求をP台2へ送信する。それを受けたP台2では、未通知の遊技台情報(遊技玉数=175)を状態情報応答でCU3に通知する。状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   Further, the CU 3 transmits a communication start request to the P unit 2. In response to this, the P table 2 clears the recovery data (game information) and returns a communication start response to the CU 3. Further, the CU 3 transmits a status information request to the P unit 2. In response to this, the P table 2 notifies the CU 3 of unreported game table information (number of game balls = 175) as a status information response. The CU control unit 323 of the CU 3 that has received the status information response performs a second check process for checking whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute. This second check process will be described later with reference to FIG.

ここでは、貯玉払出によって遊技を開始する再プレイボタンを押下した場合について説明したが、持玉払出によって遊技を開始する持玉払出ボタンを押下した場合も同様な動作となる。   Here, a case where a replay button for starting a game by paying out a stored ball has been described has been described, but the same operation is performed when a ball paying button for starting a game by paying out a ball is pressed.

<<異常系シーケンス8>>
次に、電源断/通信回線断により計数応答が未到達となったときの計数玉数のリカバリ処理について説明する。図22は、特に、電源断、通信回線断線により、計数応答が未到達(CU3からP台2への計数応答のコマンドが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal sequence 8 >>
Next, the recovery process of the number of balls when the count response is not reached due to power-off / communication line disconnection will be described. FIG. 22 particularly illustrates the counting process when the counting response is not reached (the counting response command from the CU 3 to the P unit 2 has not reached) due to power interruption or communication line disconnection, and the communication counterparts after recovery match. FIG.

この図22では、当初の持玉数が0玉、遊技玉数が500玉の状態となっている。まず、CU3は、通番=n、計数通番=mおよび計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。その後、P台2では、計数ボタン28が押下され、CU3に対して計数要求を送信する。具体的には、P台2は、通番=n、遊技玉数=500、計数通番m+1、計数玉数=100および計数要求=ONを含む状態情報応答のレスポンスをCU3に返信する。なお、P台2では、遊技玉数=500、計数玉数=100およびカウントアップした計数通番=m+1をCU3に通知するとともに、前回最終送信計数通番を更新し、更新したデータおよび計数要求状態ONのデータをバックアップする。   In FIG. 22, the initial number of possessed balls is 0 and the number of game balls is 500. First, the CU 3 transmits a status information request command including a sequence number = n, a count sequence number = m, and a count response = OFF to the P unit 2. Thereafter, in the P platform 2, the count button 28 is pressed, and a count request is transmitted to the CU3. Specifically, the P stand 2 returns a response of the status information response including the serial number = n, the number of game balls = 500, the counting serial number m + 1, the counting ball number = 100, and the counting request = ON to the CU3. In addition, the P-unit 2 notifies the CU 3 of the number of gaming balls = 500, the number of counting balls = 100, and the counted counting sequence number = m + 1, updates the previous last transmission counting sequence number, and updates the updated data and counting request state ON. Back up your data.

それを受けてCU3は、後述する図78のステップS516またはステップS527で設定されたレートを判定して、判定されたレート(ここでは1玉4円のレート)の持玉数に計数玉数を加算して持玉数=100にし、前回最終送信計数通番を更新し、更新したデータをバックアップする。しかし、P台2は、状態情報要求のコマンドを受信した後に、電源断が発生し、動作が停止する。そのため、P台2は、CU3からの通番=n+1、計数通番=m+1および計数応答=ONを含む状態情報要求のコマンドを受信することができない。つまり、P台2は、CU3からの計数応答が未到達となる。   In response, CU3 determines the rate set in step S516 or step S527 of FIG. 78, which will be described later, and adds the counted number of balls to the determined number of balls (the rate of 4 yen per ball here). Add the number of balls to be equal to 100, update the last transmission count sequence number last time, and back up the updated data. However, after the P table 2 receives the status information request command, the power supply is cut off and the operation stops. For this reason, the P base 2 cannot receive a status information request command including the serial number = n + 1, the count serial number = m + 1, and the count response = ON from the CU 3. That is, in the P base 2, the count response from the CU 3 is not reached.

CU3は、P台2が停止しているので、コマンド送信後200ミリ秒間レスポンスを受信できないので、最大14回までコマンドを再送信する。CU3は、コマンドを再送信してもレスポンスを受信できないことにより、通信回線断を検知する。   CU3 cannot retransmit the response for 200 milliseconds after the command transmission because P-station 2 is stopped, and therefore retransmits the command up to 14 times. The CU 3 detects a communication line disconnection by not receiving a response even if the command is retransmitted.

その後、P台2で電源断が復旧し、P台2が動作を開始する。P台2が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure is restored at the P base 2, and the P base 2 starts operating. When the P table 2 starts operation, first, an authentication sequence is started between the CU 3 and the P table 2, and information including the main chip ID and the payout chip ID is transmitted from the P table 2 to the CU 3. The The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、リカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する。P台2は、記憶している前回最終送信計数通番=m+1と、CU3から受信した前回最終送信計数通番=m+1とが一致しているので、計数した玉数を遊技玉数から減算する処理を実行し、計数要求状態をOFFにする。つまり、P台2は、この時点で遊技玉数=500から遊技玉数=400に更新される。   After the authentication sequence, the CU 3 transmits a recovery request to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P base 2 returns the recovery information backed up in the P base 2 (specifically, the payout control board 17) as a response to the CU 3 based on the received recovery request command. Since the stored last last transmission count sequence number = m + 1 and the last last transmission count sequence number = m + 1 received from the CU 3 match, the P unit 2 performs a process of subtracting the counted number of balls from the number of game balls. Execute and turn off the counting request state. That is, the P stand 2 is updated from the number of game balls = 500 to the number of game balls = 400 at this time.

リカバリ応答を受信したCU3のCU制御部323は、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第1チェック処理を実行する。この第1チェック処理は、図28(a)に基づいて後述する。なお、CU3は、加算リカバリ処理は行なわないため、CU3は、リカバリ要求2をP台2に送信することなく、通番=2を含む通信開始要求をP台2に送信する。なお、CU3は、P台2から受信した前回遊技台情報を処理して、前回最終送信通番を更新して、当該データをバックアップする。CU3が通信開始要求のコマンドをP台2に送信する際、計数通番は“0”(初期値)にクリアされる。P台2は、通信開始要求を受け、通番=2を含む通信開始応答をCU3へ送信する。また、P台2は、通信開始要求を受信後、リカバリデータ(遊技情報)をクリアするとともに、計数通番も“0”(初期値)にクリアする。   The CU control unit 323 of the CU 3 that has received the recovery response first checks whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the recovery response is an appropriate value. Execute the check process. This first check process will be described later with reference to FIG. Since CU3 does not perform addition recovery processing, CU3 transmits a communication start request including serial number = 2 to P unit 2 without transmitting recovery request 2 to P unit 2. Note that the CU 3 processes the previous gaming machine information received from the P machine 2, updates the previous last transmission serial number, and backs up the data. When the CU 3 transmits a communication start request command to the P unit 2, the counting sequence number is cleared to “0” (initial value). The P unit 2 receives the communication start request and transmits a communication start response including the serial number = 2 to the CU 3. Further, after receiving the communication start request, the P platform 2 clears the recovery data (game information) and also clears the counting sequence number to “0” (initial value).

CU3は、P台2との通信が開始されると、通番=3を含む状態情報要求をP台2に送信する。それを受けたP台2では、未通知の遊技台情報(遊技玉数=400)を状態情報応答でCU3に通知する。具体的には、状態情報応答として送信通番=3、遊技玉数=400を含む。状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   When communication with the P table 2 is started, the CU 3 transmits a status information request including a serial number = 3 to the P table 2. In response to this, the P table 2 notifies the CU 3 of unreported game table information (number of game balls = 400) as a status information response. Specifically, the status information response includes transmission sequence number = 3 and number of game balls = 400. The CU control unit 323 of the CU 3 that has received the status information response performs a second check process for checking whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute. This second check process will be described later with reference to FIG.

<<異常系シーケンス9>>
次に、電源断/通信回線断により計数要求が未到達となったときの計数玉数のリカバリ処理について説明する。図23は、特に、電源断、通信回線断線により、計数要求が未到達(P台2からCU3への計数要求のコマンドが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal system 9 >>
Next, a recovery process for the number of counting balls when the count request is not reached due to power-off / communication line disconnection will be described. FIG. 23 particularly illustrates the counting process when the counting request is not reached (the counting request command from the P unit 2 to the CU 3 is not reached) due to power interruption or communication line disconnection, and the communication counterparts after recovery match. FIG.

この図23では、当初の持玉数が0玉、遊技玉数が500玉の状態となっている。まず、CU3は、通番=n、計数通番=mおよび計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。その後、P台2では、計数ボタン28が押下され、CU3に対して計数要求を送信する。具体的には、P台2は、通番=n、遊技玉数=500、計数通番m+1、計数玉数=100および計数要求=ONを含む状態情報応答のレスポンスをCU3に返信する。なお、P台2では、遊技玉数=500、計数玉数=100およびカウントアップした計数通番=m+1をCU3に通知するとともに、前回最終送信計数通番を更新し、更新したデータおよび計数要求状態ONのデータをバックアップする。   In FIG. 23, the initial number of possessed balls is 0 and the number of game balls is 500. First, the CU 3 transmits a status information request command including a sequence number = n, a count sequence number = m, and a count response = OFF to the P unit 2. Thereafter, in the P platform 2, the count button 28 is pressed, and a count request is transmitted to the CU3. Specifically, the P stand 2 returns a response of the status information response including the serial number = n, the number of game balls = 500, the counting serial number m + 1, the counting ball number = 100, and the counting request = ON to the CU3. In addition, the P-unit 2 notifies the CU 3 of the number of gaming balls = 500, the number of counting balls = 100, and the counted counting sequence number = m + 1, updates the previous last transmission counting sequence number, and updates the updated data and counting request state ON. Back up your data.

しかし、CU3は、状態情報応答のコマンドを受信する前に、電源断が発生し、動作が停止する。つまり、CU2は、P台2からの計数要求が未到達となる。それ以降、CU3からの状態情報要求が送信されてこないために、P台2は、3秒後に通信回線断を検知して遊技を停止する制御を行なう。具体的には、払出制御部171が発射制御基板31へ停止コマンドを送信し、発射制御基板31が発射モータ18の回転駆動を停止する。   However, before the CU 3 receives the status information response command, the power is cut off and the operation stops. That is, CU2 has not yet reached the count request from P table 2. Thereafter, since the status information request from the CU 3 is not transmitted, the P stand 2 performs control to detect the communication line disconnection and stop the game after 3 seconds. Specifically, the payout control unit 171 transmits a stop command to the firing control board 31, and the firing control board 31 stops the rotational drive of the firing motor 18.

その後、CU3で電源断が復旧し、CU3が動作を開始する。CU3が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure is restored at CU3, and CU3 starts operating. When the CU 3 starts operating, first, an authentication sequence is started between the CU 3 and the P unit 2, and information including the main chip ID and the payout chip ID is transmitted from the P unit 2 to the CU 3. The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、リカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する。P台2は、記憶している前回最終送信計数通番=m+1と、CU3から受信した前回最終送信計数通番=mとが不一致なので、計数した玉数を遊技玉数から減算する処理を実行せず、計数要求状態をOFFにする。つまり、P台2は、電断発生直前に送信した計数要求を取り消し、この時点で遊技玉数=500のまま維持する。   After the authentication sequence, the CU 3 transmits a recovery request to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P machine 2 returns the recovery information backed up inside the P machine 2 (specifically, the payout control board 17) to the CU 3 as a response based on the received recovery request command. The P-unit 2 does not execute the process of subtracting the counted number of balls from the number of gaming balls because the stored last last transmission number sequence number = m + 1 and the last last transmission number sequence number = m received from the CU 3 do not match. The count request state is turned OFF. That is, the P table 2 cancels the count request transmitted immediately before the occurrence of the power interruption, and maintains the number of game balls = 500 at this time.

リカバリ応答を受信したCU3のCU制御部323は、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第1チェック処理を実行する。この第1チェック処理は、図28(a)に基づいて後述する。CU3は、加算リカバリ処理は行なわないため、CU3は、リカバリ要求2をP台2に送信することなく、通番=2を含む通信開始要求をP台2に送信する。なお、CU3は、P台2から受信した前回遊技台情報を処理して、前回最終送信通番を更新して、当該データをバックアップする。CU3が通信開始要求のコマンドをP台2に送信する際、計数通番は“0”(初期値)にクリアされる。P台2は、通信開始要求を受け、通番=2を含む通信開始応答をCU3へ送信する。また、P台2は、通信開始要求を受信後、リカバリデータ(遊技情報)をクリアするとともに、計数通番も“0”(初期値)にクリアする。   The CU control unit 323 of the CU 3 that has received the recovery response first checks whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the recovery response is an appropriate value. Execute the check process. This first check process will be described later with reference to FIG. Since CU3 does not perform addition recovery processing, CU3 transmits a communication start request including serial number = 2 to P table 2 without transmitting recovery request 2 to P table 2. Note that the CU 3 processes the previous gaming machine information received from the P machine 2, updates the previous last transmission serial number, and backs up the data. When the CU 3 transmits a communication start request command to the P unit 2, the counting sequence number is cleared to “0” (initial value). The P unit 2 receives the communication start request and transmits a communication start response including the serial number = 2 to the CU 3. Further, after receiving the communication start request, the P platform 2 clears the recovery data (game information) and also clears the counting sequence number to “0” (initial value).

CU3は、P台2との通信が開始されると、通番=3を含む状態情報要求をP台2に送信する。それを受けたP台2では、未通知の遊技台情報(遊技玉数=500)を状態情報応答でCU3に通知する。具体的には、状態情報応答として送信通番=3、遊技玉数=500を含む。状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   When communication with the P table 2 is started, the CU 3 transmits a status information request including a serial number = 3 to the P table 2. Receiving it, the P table 2 notifies the CU 3 of unreported game table information (number of game balls = 500) by a status information response. Specifically, the status information response includes a transmission sequence number = 3 and the number of game balls = 500. The CU control unit 323 of the CU 3 that has received the status information response performs a second check process for checking whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute. This second check process will be described later with reference to FIG.

<<異常系シーケンス10>>
次に、電源断/通信回線断により計数応答が未到達となったときの計数玉数の別のリカバリ処理について説明する。図24は、特に、電源断、通信回線断線により、計数応答が未到達(CU3からP台2への計数応答のコマンドが未到達)で、復旧後通信相手が一致する場合の計数処理を説明するためのシーケンス図である。
<< Abnormal Sequence 10 >>
Next, another recovery process of the number of counting balls when the counting response is not reached due to the power interruption / communication line interruption will be described. FIG. 24 particularly illustrates the counting process when the counting response is not reached (the counting response command from the CU 3 to the P unit 2 has not reached) due to power interruption or communication line disconnection, and the communication counterparts after recovery match. FIG.

この図24では、当初の持玉数が0玉、遊技玉数が500玉の状態となっている。まず、CU3は、通番=n、計数通番=mおよび計数応答=OFFを含む状態情報要求のコマンドをP台2へ送信する。その後、P台2では、計数ボタン28が押下され、CU3に対して計数要求を送信する。具体的には、P台2は、通番=n、遊技玉数=500、計数通番m+1、計数玉数=100、計数通番m+1および計数要求=ONを含む状態情報応答のレスポンスをCU3に返信する。なお、P台2では、遊技玉数=500、計数玉数=100およびカウントアップした計数通番=m+1をCU3に通知するとともに、前回最終送信計数通番を更新し、更新したデータおよび計数要求状態ONのデータをバックアップする。   In FIG. 24, the initial number of balls is 0 and the number of game balls is 500. First, the CU 3 transmits a status information request command including a sequence number = n, a count sequence number = m, and a count response = OFF to the P unit 2. Thereafter, in the P platform 2, the count button 28 is pressed, and a count request is transmitted to the CU3. Specifically, the P stand 2 returns a response of the status information response including the serial number = n, the number of game balls = 500, the counting serial number m + 1, the counting ball number = 100, the counting serial number m + 1, and the counting request = ON to the CU3. . In addition, the P-unit 2 notifies the CU 3 of the number of gaming balls = 500, the number of counting balls = 100, and the counted counting sequence number = m + 1, updates the previous last transmission counting sequence number, and updates the updated data and counting request state ON. Back up your data.

それを受けてCU3は、計数玉数を持玉数に加算する処理を実行するが、何らかの異常が発生して加算処理ができない。このため、CU3からは計数通番=mおよび計数応答=OFF(計数異常状態のため)を含む状態情報要求のコマンドが送信される。ところが、P台2は、状態情報要求のコマンドを受信した後に、電源断が発生し、動作が停止している。そのため、P台2は、CU3からの状態情報要求のコマンドを受信することができない。つまり、P台2は、CU3からの計数応答が未到達となる。   In response to this, the CU 3 executes a process of adding the number of balls to the number of balls, but some abnormality occurs and the addition process cannot be performed. For this reason, the CU 3 transmits a status information request command including a counting sequence number = m and a counting response = OFF (because of an abnormal counting state). However, after receiving the command for requesting the status information, the P base 2 has been powered off and has stopped operating. Therefore, the P base 2 cannot receive the status information request command from the CU 3. That is, in the P base 2, the count response from the CU 3 is not reached.

CU3は、P台2が停止しているので、コマンド送信後200ミリ秒間レスポンスを受信できないので、最大14回までコマンドを再送信する。CU3は、コマンドを再送信してもレスポンスを受信できないことにより、通信回線断を検知する。   CU3 cannot retransmit the response for 200 milliseconds after the command transmission because P-station 2 is stopped, and therefore retransmits the command up to 14 times. The CU 3 detects a communication line disconnection by not receiving a response even if the command is retransmitted.

その後、P台2で電源断が復旧し、P台2が動作を開始する。P台2が動作を開始すると、まず、CU3とP台2との間で認証シーケンスが開始され、P台2からCU3に対して、メインチップIDと払出チップIDとが含まれる情報が送信される。CU3は、受信したメインチップIDと払出チップIDとを上位の管理サーバへ送信してメインチップIDと払出チップIDとが正規に登録されているか否か照会してもらいその結果を返信してもらう。正規に登録されていれば適正な認証結果となる。   Thereafter, the power failure is restored at the P base 2, and the P base 2 starts operating. When the P table 2 starts operation, first, an authentication sequence is started between the CU 3 and the P table 2, and information including the main chip ID and the payout chip ID is transmitted from the P table 2 to the CU 3. The The CU 3 sends the received main chip ID and payout chip ID to the upper management server, asks whether the main chip ID and the payout chip ID are properly registered, and has the result returned. . If it is properly registered, an appropriate authentication result is obtained.

認証シーケンス後、CU3は、リカバリ要求をP台2へ送信する。つまり、CU3は、P台2に対してリカバリ情報の通知を要求する。それを受けたP台2では、受信したリカバリ要求のコマンドに基づいて、P台2内部(具体的には払出制御基板17)でバックアップしているリカバリ情報をレスポンスとしてCU3へ返信する。P台2は、記憶している前回最終送信計数通番=m+1と、CU3から受信した前回最終送信計数通番=m(計数異常のため“m”のままの更新されていない)とが不一致なので、計数した玉数を遊技玉数から減算する処理を実行せず、計数要求状態をOFFにし、前回最終送信計数通番を1つ減らす(−1)。P台2は、この時点で電断発生前の計数要求を取り消して遊技玉数=500のまま維持する。   After the authentication sequence, the CU 3 transmits a recovery request to the P unit 2. That is, the CU 3 requests the P unit 2 to notify the recovery information. In response to this, the P machine 2 returns the recovery information backed up inside the P machine 2 (specifically, the payout control board 17) to the CU 3 as a response based on the received recovery request command. In the P unit 2, the stored last last transmission count sequence number = m + 1 and the last last transmission count sequence number received from the CU 3 are not equal to each other (m is not updated because of a count error). The process of subtracting the counted number of balls from the number of gaming balls is not executed, the counting request state is turned off, and the last last transmission counting number is decreased by 1 (−1). At this time, the P stand 2 cancels the count request before the occurrence of the power interruption and maintains the number of game balls = 500.

リカバリ応答を受信したCU3のCU制御部323は、リカバリ応答としてP台2から送信されてくる遊技台情報に含まれている遊技玉数が適正な値になっているか否かをチェックする第1チェック処理を実行する。この第1チェック処理は、図28(a)に基づいて後述する。CU3は、加算リカバリ処理は行なわないため、CU3は、リカバリ要求2をP台2に送信することなく、通番=2を含む通信開始要求をP台2に送信する。なお、CU3は、P台2から受信した前回遊技台情報を処理して、前回最終送信通番を更新して、当該データをバックアップする。CU3が通信開始要求のコマンドをP台2に送信する際、計数通番は“0”(初期値)にクリアされる。P台2は、通信開始要求を受け、通番=2を含む通信開始応答をCU3へ送信する。また、P台2は、通信開始要求を受信後、リカバリデータ(遊技情報)をクリアするとともに、計数通番も“0”(初期値)にクリアする。   The CU control unit 323 of the CU 3 that has received the recovery response first checks whether or not the number of game balls included in the gaming machine information transmitted from the P machine 2 as the recovery response is an appropriate value. Execute the check process. This first check process will be described later with reference to FIG. Since CU3 does not perform addition recovery processing, CU3 transmits a communication start request including serial number = 2 to P table 2 without transmitting recovery request 2 to P table 2. Note that the CU 3 processes the previous gaming machine information received from the P machine 2, updates the previous last transmission serial number, and backs up the data. When the CU 3 transmits a communication start request command to the P unit 2, the counting sequence number is cleared to “0” (initial value). The P unit 2 receives the communication start request and transmits a communication start response including the serial number = 2 to the CU 3. Further, after receiving the communication start request, the P platform 2 clears the recovery data (game information) and also clears the counting sequence number to “0” (initial value).

CU3は、P台2との通信が開始されると、通番=3を含む状態情報要求をP台2に送信する。それを受けたP台2では、未通知の遊技台情報(遊技玉数=500)を状態情報応答でCU3に通知する。具体的には、状態情報応答として送信通番=3、遊技玉数=500を含む。状態情報応答を受信したCU3のCU制御部323は、状態情報応答として送信されてくる遊技台情報に含まれている遊技玉数が適正な値であるか否かをチェックする第2チェック処理を実行する。この第2チェック処理は、図28(b)に基づいて後述する。   When communication with the P table 2 is started, the CU 3 transmits a status information request including a serial number = 3 to the P table 2. Receiving it, the P table 2 notifies the CU 3 of unreported game table information (number of game balls = 500) by a status information response. Specifically, the status information response includes a transmission sequence number = 3 and the number of game balls = 500. The CU control unit 323 of the CU 3 that has received the status information response performs a second check process for checking whether or not the number of game balls included in the gaming machine information transmitted as the status information response is an appropriate value. Execute. This second check process will be described later with reference to FIG.

<<加算要求異常>>
次に、加算要求異常の処理について説明する。図25は、特に、玉貸・持玉払出・貯玉払出時の遊技玉の加算結果が異常である場合の処理を説明するためのシーケンス図である。
<< Addition request error >>
Next, processing for abnormal addition request will be described. FIG. 25 is a sequence diagram for explaining the processing in particular when the result of adding game balls at the time of ball lending, holding ball payout, and saving ball payout is abnormal.

この図25では、当初の遊技玉数が50玉の状態となっている。まず、CU3は、通番=n、遊技玉加算要求=OFFおよび加算通番=mを含む状態情報要求のコマンドをP台2へ送信する。それを受けて、P台2は、通番=n、遊技玉数=50および加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。なお、状態情報応答のレスポンスに含まれる計数要求がOFF(図示せず)であるので、計数通番はmのまま、カウントアップすることなくCU3に送信される。   In FIG. 25, the initial number of game balls is 50. First, the CU 3 transmits a status information request command including a serial number = n, a game ball addition request = OFF, and an addition serial number = m to the P unit 2. In response to this, the P platform 2 returns a response of the status information response including the serial number = n, the number of game balls = 50, and the additional serial number = m to the CU3. Since the count request included in the response of the status information response is OFF (not shown), the count serial number remains m and is transmitted to the CU 3 without counting up.

その後、遊技者が持玉払出ボタンを押下する。そのため、CU3は、持玉・貯玉の消費を確定し、通番=n+1、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ送信して、後述する図78のステップS516またはステップS527で設定されたレートを判定して、判定されたレートに応じた持玉・貯玉を遊技玉に変換した情報(ここでは、1玉4円のレートの持玉・貯玉を遊技玉に変換した加算玉数=125玉)を通知する。その際、CU3は、遊技玉数=50(更新前遊技玉数)+125(加算玉数)=175、更新した前回最終送信加算通番および加算要求状態ONのデータをバックアップする。   Thereafter, the player presses the possession payout button. Therefore, CU3 confirms the consumption of holding balls / storing balls, and sends a command for status information request including serial number = n + 1, game ball addition request = ON, number of additional balls = 125 balls, and addition serial number = m + 1 to P unit 2. Then, the rate set in step S516 or step S527 of FIG. 78 to be described later is determined, and information (in this case, 4 yen per ball) converted into a game ball in accordance with the determined rate. Notification is made of the number of added balls obtained by converting rate holding balls / storing balls into game balls = 125 balls). At this time, the CU 3 backs up the data of the number of game balls = 50 (number of game balls before update) +125 (number of add balls) = 175, the updated last transmission addition serial number and the addition request state ON.

その後、P台2で遊技玉を加算する処理に異常が発生する。そのため、P台2は、CU3の状態情報要求のコマンドを受けて、通番=n+1、遊技玉数=50(遊技玉加算前の遊技玉数)、遊技玉加算結果=NGおよび加算通番=m+1を含む状態情報応答のレスポンスをCU3に返信する。P台2は、CU3に対して遊技玉加算結果=NG、前回最終送信加算通番の情報を通知する。   Thereafter, an abnormality occurs in the process of adding game balls on the P platform 2. Therefore, upon receiving the CU3 status information request command, the P stand 2 sets the serial number = n + 1, the number of game balls = 50 (the number of game balls before game ball addition), the game ball addition result = NG, and the addition serial number = m + 1. The response of the status information response including it is returned to CU3. The P stand 2 notifies the CU 3 of the game ball addition result = NG and the last transmission addition serial number information.

遊技玉加算結果=NGを含む状態情報応答のレスポンスを受信したCU3は、通番=n+2、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ再送する。なお、CU3は、状態情報要求のコマンドの再送であるが、通番は更新されn+1からn+2へカウントアップし、加算通番はm+1ままで状態情報要求のコマンドを再送する。   The CU3 that has received the response of the status information response including the game ball addition result = NG receives the command of the status information request including the serial number = n + 2, the game ball addition request = ON, the number of additional balls = 125 balls, and the addition serial number = m + 1. Resend to table 2. Although CU3 is a retransmission of the status information request command, the serial number is updated and counted up from n + 1 to n + 2, and the additional serial number remains m + 1 and the status information request command is retransmitted.

しかし、P台2は、遊技玉を加算する処理に異常が発生している状態のままである。そのため、P台2は、CU3の再送した状態情報要求のコマンドを受けて、通番=n+2、遊技玉数=50(遊技玉加算前の遊技玉数)、遊技玉加算結果=NGおよび加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。   However, the P stand 2 remains in a state where an abnormality has occurred in the process of adding game balls. Therefore, upon receiving the retransmitted status information request command of CU3, the P platform 2 receives a serial number = n + 2, the number of game balls = 50 (the number of game balls before game ball addition), a game ball addition result = NG and an addition sequence number = A response of the status information response including m is returned to CU3.

さらに、遊技玉加算結果=NGを含む状態情報応答のレスポンスを再度受信したCU3は、通番=n+3、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ2回目の再送を行なう。なお、CU3は、状態情報要求のコマンドの再送であるが、通番は更新されn+2からn+3へカウントアップし、加算通番はm+1ままで状態情報要求のコマンドを再送する。   Further, the CU3 that has received the response of the state information response including the game ball addition result = NG again receives the status information request including the serial number = n + 3, the game ball addition request = ON, the number of additional balls = 125 balls, and the addition serial number = m + 1. The command is retransmitted to P stand 2 for the second time. Note that CU3 retransmits the status information request command, but the serial number is updated and counted up from n + 2 to n + 3, and the status information request command is retransmitted while the addition sequence number remains m + 1.

P台2は、まだ遊技玉を加算する処理に異常が発生している状態のままである。そのため、P台2は、CU3の再送した状態情報要求のコマンドを受けて、通番=n+3、遊技玉数=50(遊技玉加算前の遊技玉数)、遊技玉加算結果=NGおよび加算通番=mを含む状態情報応答のレスポンスをCU3に返信する。   P stand 2 is still in a state where an abnormality has occurred in the process of adding game balls. Therefore, upon receiving the retransmitted status information request command from CU3, the P stand 2 receives a serial number = n + 3, the number of game balls = 50 (the number of game balls before game ball addition), a game ball addition result = NG and an addition serial number = A response of the status information response including m is returned to CU3.

CU3は、状態情報要求のコマンドを2回再送しても、P台2から遊技玉加算結果=NGを含む状態情報応答のレスポンスの応答を受信する場合、P台2で遊技玉を加算する処理に異常が発生しているとして、加算異常復旧待ちの状態となる。   Processing for adding a game ball in the P table 2 when the CU 3 receives a response of a response of the status information response including the game ball addition result = NG from the P table 2 even if the command for requesting the state information is retransmitted twice As a result, it becomes a state of waiting for addition abnormality recovery.

P台2において加算異常が復旧後、CU3は、通番=n+X、遊技玉加算要求=ON、加算玉数=125玉および加算通番=m+1を含む状態情報要求のコマンドをP台2へ再送を行なう。P台2では、加算異常が復旧しているので、遊技玉への加算処理を実施して遊技玉数=50(遊技玉加算前の遊技玉数)+125(加算玉数)=175とし、前回最終送信加算通番を更新して、当該データをバックアップする。   After the addition abnormality is restored in the P unit 2, the CU 3 retransmits to the P unit 2 a status information request command including a serial number = n + X, a game ball addition request = ON, the number of additional balls = 125 balls, and an addition serial number = m + 1. . In the P 2, since the addition abnormality has been recovered, the addition processing to the game balls is performed and the number of game balls = 50 (number of game balls before game ball addition) +125 (number of added balls) = 175 The last transmission addition serial number is updated and the data is backed up.

遊技玉への加算処理を実施後、P台2は、通番=n+X、遊技玉数=175、加算通番=m+1および遊技玉加算結果=OKを含む状態情報応答をCU3に送信する。これを受けて、CU3は、加算要求状態をOFFにする。   After performing the addition processing to the game balls, the P stand 2 transmits a state information response including the serial number = n + X, the number of game balls = 175, the addition serial number = m + 1, and the game ball addition result = OK to the CU 3. In response to this, the CU 3 turns off the addition request state.

<加算通番に関する動作>
図26は、加算通番に関するP台2およびCU3の動作を説明するための概念図である。遊技玉の加算要求が発生していないときには、CU3とP台2との間で、図26の(1)〜(4)に示すような通常通番および加算通番を含む電文が送受信される。
<Operation related to addition serial number>
FIG. 26 is a conceptual diagram for explaining the operations of the P base 2 and the CU 3 regarding the addition serial number. When a game ball addition request is not generated, a message including a normal serial number and an additional serial number as shown in (1) to (4) of FIG. 26 is transmitted and received between the CU 3 and the P stand 2.

(1)では、CU3からP台2に対して、通常通番n、加算通番mを含む電文が送信される。(1)の電文を受信したP台2は、(2)のように、受信した電文と同じ通常通番nおよび加算通番mを含む(2)の電文を返信する。   In (1), a message including a normal serial number n and an additional serial number m is transmitted from the CU 3 to the P platform 2. The P table 2 that has received the message (1) returns a message (2) that includes the same normal serial number n and the additional serial number m as the received message, as in (2).

(2)の電文を受信したCU3は、通常通番が1つ更新された(3)の電文(通常通番n+1、加算通番m)を送信する。(3)の電文を受信したP台2は、受信した電文と同じ通常通番nおよび加算通番mを含む(4)の電文を返信する。   The CU 3 that has received the message (2) transmits the message (3) (ordinary sequence number n + 1, addition sequence number m) with one updated normal sequence number. The P table 2 that has received the message (3) returns the message (4) including the same normal serial number n and the additional serial number m as the received message.

このようにCU3は、P台2から電文を受信するごとに、通常通番を1つ更新して次の電文を送信する。一方、P台2は通常通番を更新しない。また、加算要求が発生しない限り、加算通番は更新されない。   As described above, every time the CU 3 receives a message from the P platform 2, the CU 3 updates one normal serial number and transmits the next message. On the other hand, the P platform 2 does not update the normal serial number. Further, unless an addition request is generated, the addition sequence number is not updated.

次に、加算要求(玉貸し操作や貯玉引き落とし操作による)が発生したときには、CU3からP台2に対して加算通番が1つ更新された(5)の要求電文が送信される(通常通番n+2、加算通番m+1)。この要求電文には加算要求ビットをONにしたデータも含まれている。なお、CU3は、この段階で既に加算要求に対する処理(カード残高の引き落としや貯玉の引き落とし)を確定させている。   Next, when an addition request (due to a ball lending operation or a withdrawal operation for a stored ball) occurs, a request message of (5) in which one addition serial number is updated is transmitted from the CU 3 to the P stand 2 (normal serial number n + 2). , Addition serial number m + 1). This request message includes data in which the addition request bit is turned ON. At this stage, the CU 3 has already confirmed the processing for the addition request (card balance withdrawal or savings withdrawal).

P台2は、(5)の要求電文を受信し、加算通番が前回から1つ更新されていることに基づいて加算要求を認識する。その上で、今回の加算要求を承諾するか否かを判定する。この判定は、たとえば、P台2の払出制御部171が行なう。払出制御部171は、P台2側で遊技玉を加算する処理が可能であるか否かを判定する。遊技玉の加算処理が可能でない場合とは、たとえば、遊技玉が既に予め定めた上限値に達している場合である。   The P platform 2 receives the request message (5) and recognizes the addition request based on the fact that one addition serial number has been updated from the previous time. Then, it is determined whether or not to accept the current addition request. This determination is performed by, for example, the payout control unit 171 of the P stand 2. The payout control unit 171 determines whether or not processing for adding game balls is possible on the P platform 2 side. The case where the game ball addition process is not possible is, for example, a case where the game ball has already reached a predetermined upper limit value.

要求を承諾する場合には、(6)の2つの電文のうちの承諾電文を送信し、要求を拒否する場合には、(6)の2つの電文のうちの拒否電文を送信する。承諾電文では、加算通番が(5)の要求電文に含まれていた加算通番m+1とされている。一方、拒否電文では、加算通番が(6)よりも1つ前に送受信した電文に含まれる加算通番mとされている。なお、通常通番は、承諾電文および拒否電文のいずれも(5)の要求電文に含まれていたn+2である。   When the request is accepted, an acceptance message of the two messages (6) is transmitted, and when the request is rejected, a rejection message of the two messages (6) is transmitted. In the acceptance message, the addition sequence number is the addition sequence number m + 1 included in the request message of (5). On the other hand, in the rejection message, the addition sequence number is set to the addition sequence number m included in the message transmitted / received immediately before (6). The normal serial number is n + 2 included in the request message in (5) for both the acceptance message and the rejection message.

CU3は、直前の送信電文に含めた加算通番をバックアップ記憶するエリアと、受信電文に含まれる通常通番をバックアップ記憶するエリアとを備えている。これらのエリアは、たとえば、CU3のCU制御部323のマイクロコンピュータ内に設けられている。(6)の電文を受信したCU3のCU制御部323は、バックアップ記憶している加算通番と、(6)の電文に含まれる加算通番とを比較判定する。その結果、記憶している加算通番と送信されてきた電文に含まれる加算通番とが同じ(この例ではm+1)であれば、要求が承諾されたと判定する。これに対して、送信されてきた加算通番の方が1つ遅れている場合(この例ではm)には、要求が拒否されたと判定する。   The CU 3 includes an area for backup storage of the addition sequence number included in the immediately preceding transmission message, and an area for backup storage of the normal sequence number included in the reception message. These areas are provided, for example, in the microcomputer of the CU control unit 323 of the CU3. The CU control unit 323 of the CU 3 that has received the message (6) compares and determines the addition sequence number stored in the backup and the addition sequence number included in the message (6). As a result, if the stored addition sequence number is the same as the addition sequence number included in the transmitted message (m + 1 in this example), it is determined that the request has been accepted. On the other hand, when the transmitted addition serial number is delayed by one (m in this example), it is determined that the request has been rejected.

図26の(5)’は、要求電文がノイズその他の要因によりP台2に到達しなかった場合について示している。この場合、P台2はCU3からの電文到達を待つため、P台2からCU3に対して電文が送信されることはない。CU3は、(5)’の要求電文を送信してから所定期間(200ms)だけ待機し、P台2からの応答がないので、同じ要求電文(5)’’を再送する。   (5) 'of FIG. 26 shows a case where the request message does not reach the P table 2 due to noise or other factors. In this case, since the P base 2 waits for a message from the CU 3, no message is transmitted from the P base 2 to the CU 3. The CU 3 waits for a predetermined period (200 ms) after transmitting the request message (5) ′, and retransmits the same request message (5) ″ because there is no response from the P-unit 2.

<計数通番に関する動作>
図27は、計数通番に関するP台2およびCU3の動作を説明するための概念図である。計数要求が発生していないときには、CU3とP台2との間で、図27の(1)〜(3)に示すような通常通番および計数通番を含む電文が送受信される。
<Operation related to counting serial number>
FIG. 27 is a conceptual diagram for explaining the operations of the P platform 2 and the CU 3 regarding the counting sequence number. When no counting request is generated, a message including a normal serial number and a counting serial number as shown in (1) to (3) of FIG. 27 is transmitted and received between the CU 3 and the P stand 2.

(1)では、CU3からP台2に対して、通常通番n、計数通番mを含む電文が送信される。(1)の電文を受信したP台2は、(2)のように、受信した電文と同じ通常通番nおよび計数通番mを含む(2)の電文を返信する。   In (1), a message including a normal serial number n and a counting serial number m is transmitted from the CU 3 to the P platform 2. The P table 2 that has received the electronic message (1) returns the electronic message (2) including the same normal serial number n and the counting serial number m as the received electronic message, as shown in (2).

(2)の電文を受信したCU3は、通常通番が1つ更新された(3)の電文(通常通番n+1、計数通番m)を送信する。このようにCU3は、P台2から電文を受信するごとに、通常通番を1つ更新して次の電文を送信する。一方、P台2は通常通番を更新しない。また、計数要求が発生しない限り、計数通番は更新されない。   The CU 3 that has received the message (2) transmits the message (3) (ordinary sequence number n + 1, counting sequence number m) with one updated normal sequence number. As described above, every time the CU 3 receives a message from the P platform 2, the CU 3 updates one normal serial number and transmits the next message. On the other hand, the P platform 2 does not update the normal serial number. Further, the counting sequence number is not updated unless a counting request is generated.

次に、計数要求(計数操作の検出)が発生したときには、P台2からCU3に対して計数通番が1つ更新された(4)の要求電文が送信される(通常通番n+1、計数通番m+1)。この要求電文には計数要求ビットをONにしたデータも含まれている。なお、P台2は、この段階では計数処理を実行していない。   Next, when a counting request (detection of counting operation) is generated, the request message (4) in which one counting sequence number is updated is transmitted from the P base 2 to the CU 3 (normal sequence number n + 1, counting sequence number m + 1). ). This request message includes data in which the count request bit is turned ON. Note that the P platform 2 does not execute the counting process at this stage.

P台2は、(4)の要求電文を受信し、計数通番が前回から1つ更新されていることに基づいて計数要求を認識する。その上で、今回の計数要求を承諾するか否かを判定する。この判定は、たとえば、CU3のCU制御部323が行なう。CU制御部323は、計数処理(持玉の加算処理)が可能であるか否かを判定する。計数処理が可能でない場合とは、たとえば、持玉を用いた処理(ワゴンサービスなど)の途中である場合である。   The P table 2 receives the request message (4) and recognizes the counting request based on the fact that the counting sequence number has been updated by one from the previous time. Then, it is determined whether or not to accept the current counting request. This determination is made, for example, by the CU control unit 323 of the CU3. The CU control unit 323 determines whether or not the counting process (the adding process of the holding balls) is possible. The case where the counting process is not possible is, for example, a case where the process using a holding ball (such as a wagon service) is in progress.

要求を承諾する場合には、(5)の2つの電文のうちの承諾電文を送信し、要求を拒否する場合には、(5)の2つの電文のうちの拒否電文を送信する。承諾電文では、計数通番が(4)の要求電文に含まれていた計数通番m+1とされている。一方、拒否電文では、計数通番が(4)よりも1つ前に送受信した電文に含まれる計数通番mとされている。なお、通常通番は、承諾電文および拒否電文のいずれも(5)の要求電文から更新されており、n+2である。   When the request is accepted, an acceptance message of the two messages (5) is transmitted, and when the request is rejected, a rejection message of the two messages (5) is transmitted. In the acceptance message, the counting sequence number is set to the counting sequence number m + 1 included in the request message of (4). On the other hand, in the rejection message, the counting sequence number is set to the counting sequence number m included in the message transmitted / received immediately before (4). The normal serial number is updated from the request message in (5) for both the acceptance message and the rejection message, and is n + 2.

P台2は、直前の送信電文に含めた計数通番と通常通番とをバックアップ記憶するエリアを備えている。このようなエリアは、たとえば、P台2の払出制御部171のマイクロコンピュータ内に設けられている。(5)の電文を受信したP台2の払出制御部171は、バックアップ記憶している計数通番と、(5)の電文に含まれる計数通番とを比較判定する。その結果、記憶している計数通番と送信されてきた電文に含まれる計数通番とが同じ(この例ではm+1)であれば、要求が承諾されたと判定する。これに対して、送信されてきた計数通番の方が1つ遅れている場合(この例ではm)には、要求が拒否されたと判定する。   The P table 2 includes an area for backup storage of the counting sequence number and the normal sequence number included in the immediately preceding transmission message. Such an area is provided, for example, in the microcomputer of the payout control unit 171 of the P table 2. The payout control unit 171 of the P table 2 that has received the message (5) compares and determines the count sequence number stored in the backup and the count sequence number included in the message (5). As a result, if the stored counting sequence number is the same as the counting sequence number included in the transmitted message (m + 1 in this example), it is determined that the request has been accepted. On the other hand, if the transmitted counting sequence number is delayed by one (m in this example), it is determined that the request has been rejected.

図27の(4)’は、要求電文がノイズその他の要因によりP台2に到達しなかった場合について示している。この場合、CU3は、(3)の電文を送信してから所定期間(200ms)だけ待機し、P台2からの応答がないので、同じ電文(3)を再送する。再送されてきた(3)の電文を受けたP台2は、その電文に含まれる通常通番がn+1であり、先に(4)’の要求電文を送信しているにも関わらず、通常通番が変化していないことから、(4)’の要求電文が到達しなかったと判定する。そして、P台2は、(4)’と同じ要求電文(4)’’を再送する。   (4) 'of FIG. 27 shows a case where the request message does not reach the P table 2 due to noise or other factors. In this case, the CU 3 waits for a predetermined period (200 ms) after transmitting the message (3), and retransmits the same message (3) because there is no response from the P platform 2. The P-station 2 that has received the retransmitted message (3) has the normal sequence number included in the message n + 1, and the normal sequence number is transmitted even though the request message (4) ′ has been transmitted first. Therefore, it is determined that the request message (4) ′ has not arrived. Then, the P platform 2 retransmits the same request message (4) ″ as (4) ′.

以上、説明したように、本実施の形態では、通常通番とは別の要求通番(加算通番、計数通番)が電文に含められて送信される。これらの要求通番は、通信相手に対して加算要求や計数要求等の動作を要求するときに加算更新され、それ以外では、電文の送受信が行なわれても加算更新されない。   As described above, in the present embodiment, a request sequence number (additional sequence number, counting sequence number) different from the normal sequence number is included in the message and transmitted. These request serial numbers are added and updated when an operation such as an addition request or a count request is requested to the communication partner, and otherwise, the addition and update are not performed even if a message is transmitted / received.

これに対して、通常通番は、通信相手に対する要求の有無に関わらず、CU3から電文が送信されるごとに更新される(なお、通常の通番は、CU3およびP台2の双方で互いに更新する動作をしてもよい。)。   On the other hand, the normal serial number is updated every time a message is transmitted from the CU 3 regardless of whether there is a request to the communication partner (the normal serial number is updated by both the CU 3 and the P unit 2). You may act.)

このため、通常通番の場合、送信した要求電文が相手に届いたか否かを相手先からの受信電文に含まれる通番を用いて判定できるものの、その受信電文が要求承諾を示す承諾電文であるのか、要求拒絶を示す拒否電文であるのかまでは特定できない。   For this reason, in the case of a normal serial number, whether or not the transmitted request message has arrived at the other party can be determined using the serial number included in the received message from the other party, but is the received message an acknowledgment message indicating request acceptance? It cannot be specified whether the message is a rejection message indicating a request rejection.

ところが、上記のとおり、本実施の形態のように加算通番や計数通番といった要求通番を利用して、要求通番を更新した要求電文を送信し、これに対する応答として要求電文に含まれていた要求通番と同じ要求通番を含む電文を受信した場合には、その通番の値によって、送信した要求電文が相手に届いたか否かのみならず、相手から返信されてきた電文が承諾電文であるのか否かまでを特定できる。もちろん、本実施の形態のように、要求電文には要求ビット(加算要求ビットあるいは計数要求ビット)をONにしたデータが含まれるため、このデータを判定することでも、受信電文が承諾電文であるのか拒否電文であるのかを特定できる。しかしながら、要求通番を利用すれば、このような要求ビットを電文から削除することも可能である。これによって電文データ量を削減でき、また、電文データの要求ビットを判定する処理も不要とすることができる。   However, as described above, a request message with an updated request sequence number is transmitted using a request sequence number such as an addition sequence number or a counting sequence number as in this embodiment, and the request sequence number included in the request message as a response to this request message If a message containing the same request serial number is received, depending on the value of the serial number, not only whether the transmitted request message has arrived at the other party, but whether the message returned from the other party is an acceptance message. Can be specified. Of course, as in the present embodiment, since the request message includes data with the request bit (addition request bit or count request bit) turned ON, the received message is an acceptance message even by determining this data. It is possible to identify whether the message is a rejection message. However, if the request sequence number is used, such request bits can be deleted from the message. As a result, the amount of message data can be reduced, and the processing for determining the request bit of the message data can be made unnecessary.

なお、本実施の形態では、要求が発生したときの要求通番に対する更新値を+1としているが、これは一例であって、+2や+3、−1や−2などの他の更新値を採用してもよい。   In this embodiment, the update value for the request sequence number when a request is generated is +1. However, this is an example, and other update values such as +2, +3, -1, and -2 are adopted. May be.

<第1〜第3チェック処理>
次に、図28(a)、(b)、図29に基づいて、CU制御部323により実行される第1チェック処理、第2チェック処理および第3チェック処理について説明する。
<First to third check processing>
Next, the first check process, the second check process, and the third check process executed by the CU control unit 323 will be described based on FIGS. 28 (a), 28 (b), and 29. FIG.

まず図28(a)を参照して、第1チェック処理を説明する。ステップS(以下単にSという)300により、遊技台情報の格納があるか否かの判断がなされる。これは、P台2から送信されてきたリカバリ応答の中に遊技台情報が含まれているか否かを判断するものであり、前述した図16、図17の場合に遊技台情報(具体的には前回遊技台情報)が含まれているために、S300によりYESの判断がなされる。遊技台情報が含まれていないと判断された場合にはこの第1チェック処理が終了する。   First, the first check process will be described with reference to FIG. In step S (hereinafter simply referred to as S) 300, it is determined whether or not game table information is stored. This is to determine whether or not the game table information is included in the recovery response transmitted from the P table 2. In the case of FIGS. 16 and 17, the game table information (specifically, Is included in the previous game table information), YES is determined in S300. If it is determined that the game table information is not included, the first check process ends.

遊技台情報の格納があると判断された場合には制御がS301へ進み、その受信した遊技台情報(具体的には前回遊技台情報)に含まれている加算玉数が予め定められた閾値N1以上であるか否かの判断がなされる。この閾値N1は、CU3とP台2との間での状態情報要求と状態情報応答との1周期(200ms)の間に入賞に伴う遊技玉の加算数の最大(たとえば大当り時の最大加算玉数120)よりも少し大きい値(たとえば125)に設定されている。したがって、正常な場合には、受信した加算玉数がこの閾値N1よりも小さな値になっている筈である。ところが、閾値N1よりも大きな加算玉数となっているということは、オフライン中にP台2に不正等が行なわれて不正に増加した加算玉数および遊技玉数を含む遊技台情報がリカバリ応答としてCU3へ送信されてきた虞がある。その場合には、制御がS304へ進み、エラーの発生を異常報知ランプや表示器312により報知する制御が行なわれるとともに、ホールサーバ801にエラーが発生した旨のエラー通知信号を送信する制御がなされる(この場合、ホールサーバ801によるエラー報知が行なわれるようにしてもよい)。なお、ホールサーバ801の代わりにまたはそれに加えて、ホール用管理コンピュータへエラー通知信号を送信するように制御してもよい。   If it is determined that there is storage of gaming machine information, the control proceeds to S301, and the added ball number included in the received gaming machine information (specifically, previous gaming machine information) is a predetermined threshold value. A determination is made whether N1 or greater. This threshold value N1 is the maximum number of game balls to be added during a period (200 ms) between the state information request and the state information response between the CU 3 and the P stand 2 (for example, the maximum addition ball at the time of big hit) It is set to a value (for example, 125) that is slightly larger than (Equation 120). Therefore, in the normal case, the received number of added balls should be smaller than the threshold value N1. However, the number of added balls larger than the threshold N1 means that the game table information including the number of added balls and the number of game balls illegally increased due to fraud etc. being performed on the P table 2 while offline is a recovery response. May be transmitted to CU3. In that case, the control advances to S304, and control for notifying the occurrence of an error by the abnormality notification lamp or the display 312 is performed, and control for transmitting an error notification signal indicating that an error has occurred to the hall server 801 is performed. (In this case, error notification may be performed by the hall server 801). Instead of or in addition to the hall server 801, it may be controlled to transmit an error notification signal to the hall management computer.

次に制御がS305へ進み、CU制御部323がリセット待ち状態となる。このリセット待ち状態となった後は、遊技場の係員によるリモコン操作によってリセット解除信号がIR感光ユニット320に入力されるまでCU制御部323が制御を停止し、リセット信号が入力されたときにCU制御部323がリセット状態となって電源投入(図8参照)と同じ状態に復帰する。   Next, the control advances to S305, and the CU control unit 323 enters a reset waiting state. After entering the reset waiting state, the CU control unit 323 stops the control until a reset release signal is input to the IR photosensitive unit 320 by a remote control operation by an attendant at the game hall, and when the reset signal is input, the CU The control unit 323 is reset and returns to the same state as when the power is turned on (see FIG. 8).

S301、S303のチェック処理の結果異常判定されたとしても、その原因が通信断後にCU3またはP台2を新たなものに交換し、その後通信を復旧させたことにより、CU3側が記憶している情報とリカバリ処理時にP台2から送信されてくる情報とが全く食い違っていることに起因する場合がある。このような不正行為ではないにも拘らず異常判定する場合があり、そのために、遊技場の係員によるリモコン操作によってリセット待ち状態を解除できるようにし、遊技場の係員による人為的な判断を介在させて正常な対応ができるようにしている。   Even if an abnormality is determined as a result of the check processing in S301 and S303, the information stored on the CU3 side is that the cause is that the CU3 or the P stand 2 is replaced with a new one after communication disconnection, and then the communication is restored. And the information transmitted from the P base 2 during the recovery process may be completely different. Even though it is not such a fraudulent act, it may be determined that there is an abnormality, and for this reason, it is possible to cancel the reset waiting state by operating the remote control by the game hall staff, and intervene by human judgment by the game hall staff. So that they can respond normally.

一方、S301によりNOの判断がなされた場合には制御がS302へ進み、CU制御部323が記憶している遊技玉数に対してP台から受信した加算玉数を加算するとともに減算玉数を減算してその算出結果であるR1を算出する演算が行なわれる。すなわち、P台2から受信した遊技台情報に含まれている加算玉数が適正であると判断された場合には、その加算玉数と減算玉数とを用いて最新の遊技玉数R1を算出するのである。次にS303により、その算出されたR1−受信した遊技玉数の絶対値すなわちR1と受信した遊技玉数との差を演算し、その差が予め定められた閾値N2以上であるか否かの判断がなされる。本来、R1と受信した遊技玉数とは同じ値の筈であり、その差はゼロとなる筈である。しかし、遊技中におけるCU側とP台側とでの制御の進行に伴って両者間に誤差玉が発生する場合がある。その誤差玉(たとえば5個)を閾値N2と定めている。よって、R1と受信した遊技玉数との差がこの閾値N2以上である場合には、前述と同様に不正行為の発生の虞が想定され、前述と同様に制御がS304以降に進む。   On the other hand, if NO is determined in S301, the control proceeds to S302, and the number of added balls received from the P units is added to the number of game balls stored in the CU control unit 323, and the number of subtracted balls is set. An operation for subtracting and calculating R1 as the calculation result is performed. That is, when it is determined that the number of added balls included in the game table information received from the P table 2 is appropriate, the latest number of game balls R1 is calculated using the added ball number and the subtracted ball number. It is calculated. Next, in S303, the calculated R1−the absolute value of the received game balls, that is, the difference between R1 and the received game balls is calculated, and whether or not the difference is equal to or greater than a predetermined threshold N2. Judgment is made. Originally, R1 and the number of received game balls are the same value, and the difference between them should be zero. However, an error ball may occur between the CU side and the P base side during the game as the control proceeds. The error balls (for example, 5) are set as the threshold value N2. Therefore, when the difference between R1 and the received number of game balls is equal to or greater than the threshold value N2, there is a possibility that an illegal act will occur as described above, and control proceeds to S304 and thereafter as described above.

一方、R1と受信した遊技玉数との差が閾値N2未満であった場合には、受信した遊技玉数が適正な値であると判断され、その受信した遊技玉数を新たな遊技玉数としてCU制御部323のRAMが記憶する。   On the other hand, if the difference between R1 and the received number of game balls is less than the threshold N2, it is determined that the received number of game balls is an appropriate value, and the received number of game balls is determined as the new number of game balls. Is stored in the RAM of the CU control unit 323.

次に図28(b)に基づいて第2チェック処理を説明する。通信開始応答直後の状態情報要求に対して返信されてくるP台2からの状態情報応答に含まれている遊技台情報(具体的には今回遊技台情報)の中の加算玉数が予め定められた閾値N3以上であるか否かの判断がS310により行なわれる。この受信した加算玉数は、P台がCU3へ最後に状態情報応答を送信してからP台に電源断が発生するまであるいはP台が通信回線断を検知して遊技が停止するまでの間において変動した加算玉数であり、このような比較的短い限られた期間内の加算玉数の変動量はそれほど大きな値にはならず、ある決まった上限の範囲内となる。故に、その上限(たとえば120)よりも少し大きな値(たとえば125)を閾値N3と定めている。そして、受信した加算玉数がその閾値N3以上の場合には、制御がS314へ進み、エラーの発生を異常報知ランプや表示器312により報知する制御が行なわれるとともに、ホールサーバ801にエラーが発生した旨のエラー通知信号を送信する制御がなされる(この場合、ホールサーバ801によるエラー報知が行なわれるようにしてもよい)。なお、ホールサーバ801の代わりにまたはそれに加えて、ホール用管理コンピュータへエラー通知信号を送信するように制御してもよい。   Next, the second check process will be described with reference to FIG. The number of balls to be added in the game table information (specifically, the current game table information) included in the status information response from the P table 2 returned in response to the status information request immediately after the communication start response is determined in advance. A determination is made in S310 as to whether or not it is equal to or greater than the threshold value N3. The number of added balls received is from the time when the P unit transmits a status information response to the CU3 until the power supply is interrupted to the P unit or until the game stops when the P unit detects a communication line disconnection. The number of added balls that fluctuated in (5) is such that the amount of change in the number of added balls within a relatively short limited period of time is not so large, but within a certain upper limit. Therefore, a value (for example, 125) slightly larger than the upper limit (for example, 120) is determined as the threshold value N3. If the number of added balls received is equal to or greater than the threshold value N3, the control proceeds to S314, and control is performed to notify the occurrence of an error by the abnormality notification lamp or the display 312 and an error occurs in the hall server 801. Control is performed to transmit an error notification signal to the effect (in this case, error notification by the hall server 801 may be performed). Instead of or in addition to the hall server 801, it may be controlled to transmit an error notification signal to the hall management computer.

次に制御がS315へ進み、CU制御部323がリセット待ち状態となる。このリセット待ち状態となった後は、遊技場の係員によるリモコン操作によってリセット解除信号がIR感光ユニット320に入力されるまでCU制御部323が制御を停止し、リセット信号が入力されたときにCU制御部323がリセット状態となって電源投入(図8参照)と同じ状態に復帰する。   Next, the control advances to S315, and the CU control unit 323 enters a reset waiting state. After entering the reset waiting state, the CU control unit 323 stops the control until a reset release signal is input to the IR photosensitive unit 320 by a remote control operation by an attendant at the game hall, and when the reset signal is input, the CU The control unit 323 is reset and returns to the same state as when the power is turned on (see FIG. 8).

一方、S310によりNOの判断がなされた場合には制御がS311へ進み、CU制御部323が記憶している遊技玉数に対して受信した加算玉数を加算するとともに受信した減算玉数を減算してR2を算出する演算が行なわれる。なお、ここでいう「記憶している遊技玉数」とは、前述したように、S303によりNOの判断がなされたときのP台2から受信した遊技玉数のことである。そして、S312により、そのR2とP台2から受信した遊技玉数との差が予め定められた閾値N4以上であるか否かの判断がなされる。本来、R2と受信した遊技玉数とは同じ値の筈であり、その差はゼロとなる筈である。しかし、遊技中におけるCU側とP台側とでの制御の進行に伴って両者間に誤差玉が発生する場合がある。その誤差玉(たとえば5個)を閾値N4と定めている。よって、R1と受信した遊技玉数との差がこの閾値N4以上である場合には、前述と同様に不正行為の発生の虞が想定され、前述と同様に制御がS314以降に進む。   On the other hand, if NO is determined in S310, the control advances to S311 to add the received addition ball number to the number of game balls stored in the CU control unit 323 and subtract the received subtraction ball number. Thus, an operation for calculating R2 is performed. The “stored number of game balls” referred to here is the number of game balls received from the P-unit 2 when NO is determined in S303 as described above. Then, in S312, it is determined whether or not the difference between the R2 and the number of game balls received from the P stand 2 is equal to or greater than a predetermined threshold value N4. Originally, R2 and the received number of game balls are the same value, and the difference between them should be zero. However, an error ball may occur between the CU side and the P base side during the game as the control proceeds. The error balls (for example, 5) are set as the threshold value N4. Therefore, when the difference between R1 and the received number of game balls is equal to or greater than the threshold value N4, there is a possibility of fraudulent behavior as described above, and control proceeds to S314 and subsequent steps as described above.

S312によりNOの判断がなされた場合には制御がS313へ進み、CU制御部323は、P台2から受信した遊技玉数を初期値の遊技玉数として記憶した後、この第2チェック処理の制御が終了する。   If NO is determined in S <b> 312, the control proceeds to S <b> 313, and the CU control unit 323 stores the number of game balls received from the P stand 2 as the initial number of game balls, and then performs the second check process. Control ends.

このS313の処理がなされた後には、CU3とP台2との間で通常の状態情報要求および状態情報応答の送受信が行なわれるのであり、その際、CU制御部323は、S313により初期値の遊技玉数として記憶された遊技玉数を初期値として、加算玉数と減算玉数とに基づいて現在の遊技玉数を算出し、その現在の遊技玉数に基づいてP台2から送信されてくる遊技玉数との差が予め定められた誤差玉数(たとえば5)を超えているか否か判定し、超えている場合には異常判定して、前述のS304、S305、S314、S315と同様の制御を行なう。   After the processing of S313 is performed, normal status information requests and status information responses are transmitted and received between the CU 3 and the P base 2. At this time, the CU control unit 323 receives the initial value by S313. Using the number of game balls stored as the number of game balls as an initial value, the current number of game balls is calculated based on the number of added balls and the number of subtracted balls, and transmitted from the P unit 2 based on the current number of game balls. It is determined whether or not the difference from the number of incoming game balls exceeds a predetermined error ball number (for example, 5), and if it exceeds, an abnormality is determined and the above-described S304, S305, S314, and S315 The same control is performed.

次に、図29に基づいて第3チェック処理の制御を説明する。CU制御部323は、P台2からリカバリ応答2を受信した直後にこの第3チェック処理を実行する(図18、図20、図21参照)。   Next, the control of the third check process will be described based on FIG. The CU control unit 323 executes the third check process immediately after receiving the recovery response 2 from the P base 2 (see FIGS. 18, 20, and 21).

このリカバリ要求2およびリカバリ応答2は、前述したように、CU3がP台2に対して遊技玉数の加算要求を出力したにも拘らずP台2がその遊技玉加算要求に従った遊技玉の加算処理を行なっていない場合にその遊技玉数の加算リカバリを行なうためのものである。そして、P台2からCU3へ送られてくるリカバリ応答2によりその加算リカバリの処理が正常に行なわれたか否かの処理結果が通知される。CU制御部323は、S320により、そのリカバリ結果が処理NGであるか否かの判断を行なう。処理NGすなわち加算リカバリが正常に行なわれなかった場合には、制御がS324へ進み、エラーの発生を異常報知ランプや表示器312により報知する制御が行なわれるとともに、ホールサーバ801にエラーが発生した旨のエラー通知信号を送信する制御がなされる(この場合、ホールサーバ801によるエラー報知が行なわれるようにしてもよい)。なお、ホールサーバ801の代わりにまたはそれに加えて、ホール用管理コンピュータへエラー通知信号を送信するように制御してもよい。   As described above, the recovery request 2 and the recovery response 2 are the game balls in which the P stand 2 complies with the game ball addition request even though the CU 3 outputs a request for adding the number of game balls to the P stand 2. This is for performing recovery of the number of game balls when the addition process is not performed. Then, a processing result indicating whether or not the addition recovery processing has been normally performed is notified by the recovery response 2 sent from the P base 2 to the CU 3. In S320, the CU control unit 323 determines whether or not the recovery result is processing NG. If processing NG, that is, addition recovery is not performed normally, the control proceeds to S324, where control is performed to notify the occurrence of an error by the abnormality notification lamp or the indicator 312 and an error has occurred in the hall server 801. Control is performed to transmit an error notification signal to that effect (in this case, error notification by the hall server 801 may be performed). Instead of or in addition to the hall server 801, control may be performed so as to transmit an error notification signal to the hall management computer.

次に制御がS325へ進み、CU制御部323がリセット待ち状態となる。このリセット待ち状態となった後は、遊技場の係員によるリモコン操作によってリセット解除信号がIR感光ユニット320に入力されるまでCU制御部323が制御を停止し、リセット信号が入力されたときにCU制御部323がリセット状態となって電源投入(図8参照)と同じ状態に復帰する。   Next, the control advances to S325, and the CU control unit 323 enters a reset waiting state. After entering the reset waiting state, the CU control unit 323 stops the control until a reset release signal is input to the IR photosensitive unit 320 by a remote control operation by an attendant at the game hall, and when the reset signal is input, the CU The control unit 323 is reset and returns to the same state as when the power is turned on (see FIG. 8).

一方、リカバリ結果が処理OKであった場合には制御がS321へ進み、CU制御部323が現在記憶している遊技玉数に対してP台2へ送信した加算玉数を加算する処理を行なう。これは、CU3が出力した遊技玉加算要求での加算玉数分の加算リカバリがP台2において正常に行なわれたために、その加算玉数を遊技玉数に加算して現時点における正常な遊技玉数を算出するための処理である。   On the other hand, if the recovery result is processing OK, the control advances to S321, and the CU control unit 323 performs processing for adding the number of added balls transmitted to the P unit 2 to the number of game balls currently stored. . This is because the addition recovery for the number of balls in the game ball addition request output by the CU 3 is normally performed in the P unit 2, so that the number of balls to be added is added to the number of game balls and the current normal game ball is This is a process for calculating the number.

次に制御がS322へ進み、その加算後の遊技玉数に対してP台2から送信されてきた加算玉数を加算するとともに減算玉数を減算してR3を算出する演算が行なわれる。この加算玉数と減算玉数とは、リカバリ応答としてP台2から送信されてくる遊技台情報(具体的には前回遊技台情報)であり、リカバリ応答にその前回遊技台情報が含まれていない場合には、加算玉数と減算玉数とは共にゼロであり、その結果、加算後の遊技玉数=R3を算出することとなる。   Next, the control advances to S322, and an operation is performed to calculate R3 by adding the number of added balls transmitted from the P unit 2 to the number of game balls after the addition and subtracting the number of subtracted balls. The number of added balls and the number of subtracted balls are game machine information (specifically, previous game machine information) transmitted from the P machine 2 as a recovery response, and the previous game machine information is included in the recovery response. When there is no ball, the number of added balls and the number of subtracted balls are both zero, and as a result, the number of game balls after addition = R3 is calculated.

次にS323により、その算出されたR3とCU3が受信した遊技玉数との差が予め定められた閾値N2以上であるか否かの判断がなされる。本来、R1と受信した遊技玉数とは同じ値の筈であり、その差はゼロとなる筈である。しかし、遊技中におけるCU側とP台側とでの制御の進行に伴って両者間に誤差玉が発生する場合がある。その誤差玉(たとえば5個)を閾値N2と定めている。よって、R1と受信した遊技玉数との差がこの閾値N2以上である場合には、前述と同様に不正行為の発生の虞が想定され、前述と同様に制御がS324以降に進む。   Next, in S323, it is determined whether or not the difference between the calculated R3 and the number of game balls received by CU3 is greater than or equal to a predetermined threshold value N2. Originally, R1 and the number of received game balls are the same value, and the difference between them should be zero. However, an error ball may occur between the CU side and the P base side during the game as the control proceeds. The error balls (for example, 5) are set as the threshold value N2. Therefore, when the difference between R1 and the received number of game balls is equal to or greater than the threshold value N2, there is a possibility that an illegal act will occur as described above, and control proceeds to S324 and subsequent steps as described above.

一方、R1と受信した遊技玉数との差が閾値N2未満であった場合には、受信した遊技玉数が適正な値であると判断され、その受信した遊技玉数を新たな遊技玉数としてCU制御部323が記憶する。   On the other hand, if the difference between R1 and the received number of game balls is less than the threshold N2, it is determined that the received number of game balls is an appropriate value, and the received number of game balls is determined as the new number of game balls. Is stored in the CU control unit 323.

以上説明したように、P台2からCU3へ、遊技台情報として前回遊技台情報が先に送信され、その後今回遊技台情報が送信され、CU3側において両遊技台情報を区別可能となるように送信されるために、CU制御部323においては、その両遊技台情報のそれぞれの適性を判別することが可能となる。その結果、P台2から送られてくる前回遊技台情報中のたとえば遊技玉数データは、CU制御部323が現時点で記憶している遊技玉数データと大きな差はない筈であり、また、その後に送られてくる今回遊技台データ中のたとえば遊技玉数データも、CU3が受信した前回遊技台情報中の遊技玉数データとそれほど大きな差はない筈である。もし、これらのデータの差に大きな開きがある場合には、不正に遊技玉数データが水増しされていると異常判別することができる。   As described above, the previous gaming machine information is transmitted first as gaming machine information from the P machine 2 to the CU 3, and then the gaming machine information is transmitted this time so that both gaming machine information can be distinguished on the CU 3 side. Since it is transmitted, the CU control unit 323 can determine the suitability of both pieces of game machine information. As a result, for example, the number of game balls in the previous game table information sent from the P table 2 should not be significantly different from the number of game balls stored in the CU control unit 323 at the present time, For example, the game ball number data in the current game table data sent thereafter is not so different from the game ball number data in the previous game table information received by the CU 3. If there is a large gap in the difference between these data, it can be determined that the game ball number data is illegally inflated.

仮に、前回遊技台データと今回遊技データとを合算した合算データがP台2からCU3へ一括送信される場合には、前回遊技台データと今回遊技台データとをそれぞれ個別に判別する場合に比べて大まかな判別しかできず、その分不正を判別しにくくなる。このような不都合を防止するべく、遊技台データを2段階で送信してCU制御部323においてそれら両データを区別できるようにし、それぞれの遊技台データについての木目細かな異常判別を可能とし、異常判別しやすくしている。   If the total data obtained by adding up the previous game machine data and the current game data is collectively transmitted from the P machine 2 to the CU 3, compared with the case where the previous game machine data and the current game machine data are individually determined. Therefore, it is only possible to roughly discriminate, and accordingly it is difficult to discriminate fraud. In order to prevent such inconvenience, the game table data is transmitted in two stages so that the CU control unit 323 can distinguish between the two types of data, making it possible to perform detailed abnormality determination for each game table data. It is easy to distinguish.

なお、前述した第1チェック処理〜第3チェック処理においては、先に加算玉数の適否を判定した後、適正である場合にその加算玉数に基づいて現在の遊技玉数を算出してその遊技玉数とP台2から送信されてきた遊技玉数を比較して送信されてきた遊技玉数が適正であるか否かの判定を行なっているが、単に、P台2から送信されてきた遊技玉数をCU3が記憶している遊技玉数と比較してその適否判定を行なうようにしてもよい。   In the first check process to the third check process described above, after determining whether or not the number of balls to be added is appropriate, the current number of game balls is calculated based on the number of balls to be added when it is appropriate. The number of game balls is compared with the number of game balls transmitted from the P unit 2 to determine whether or not the number of game balls transmitted is appropriate, but it is simply transmitted from the P unit 2. The number of game balls may be compared with the number of game balls stored in the CU 3, and the suitability may be determined.

さらに、CU3は、リカバリ処理以前に記憶している最終の遊技玉数(以下「CU遊技玉数」と言う)と、P台2から受信した前回遊技台情報中の遊技玉数(以下「P台前回遊技玉数」と言う)と、P台2から受信した最新遊技台情報中の遊技玉数(以下「P台最新遊技玉数」と言う)との3者間で比較判定して適否判定を行なうようにしてもよい。3者間での比較判定の具体例としては、CU遊技玉数とP台前回遊技玉数とを比較判定して正しければそのP台前回遊技玉数とP台最新遊技玉数とを比較判定する。あるいは、CU遊技玉数とP台前回遊技玉数とを比較判定して正しければCU遊技玉数とP台最新遊技玉数とを比較判定する。さらには、先にP台前回遊技玉数とP台最新遊技玉数とを比較判定して正しければCU遊技玉数とP台前回遊技玉数とを比較判定し、さらにCU遊技玉数とP台最新遊技玉数とを比較判定する。   Further, the CU 3 stores the final number of game balls stored before the recovery process (hereinafter referred to as “CU game ball number”) and the number of game balls in the previous game table information received from the P table 2 (hereinafter referred to as “P The number of game balls in the latest game table received from the P table 2 (hereinafter referred to as “P latest game ball number”) is determined by comparison between the three parties. You may make it perform determination. As a specific example of comparison between the three players, the number of CU gaming balls and the number of previous P balls are compared and determined. If correct, the previous number of P balls and the number of latest P balls are compared and determined. To do. Alternatively, the number of CU game balls and the number of previous P game balls are compared and determined, and if they are correct, the number of CU game balls and the latest number of P game balls are compared and determined. Furthermore, the P number of the previous game balls and the P number of the latest game balls are compared and determined first, and if they are correct, the CU game ball number and the P number of previous game balls are compared and determined. The latest number of game balls is compared and determined.

なお、上記の第1チェック処理〜第3チェック処理は、CU3やP台2の交換(入替え)が行なわれていないときに実行するのが望ましい。通信断時に交換(入替え)が行なわれているときには、リカバリ処理でCU側とP台側との遊技玉数が大幅に相違するのが一般的であるために、それが原因で上記の第1チェック処理〜第3チェック処理の結果エラー判定されるためである。ゆえに、通信断後にCU3またはP台2を交換した場合に、通信復旧時におけるリカバリ処理において第1チェック処理〜第3チェック処理を行なわないように制御してもよい。具体的には、リカバリ応答としてP台2から送信されてくる前回最終送信通番とCU制御部323が記憶している前回最新送信通番との差が2以上の場合に、CU3またはP台2が交換されたとCU制御部323が判断し、CU制御部323が第1チェック処理〜第3チェック処理を行なわないように制御する。   The first check process to the third check process are preferably executed when the CU 3 and the P stand 2 are not exchanged (replaced). When exchange (replacement) is performed at the time of communication disconnection, the number of game balls on the CU side and the P stand side is generally greatly different in the recovery process. This is because an error is determined as a result of the check process to the third check process. Therefore, when the CU 3 or the P stand 2 is exchanged after the communication is disconnected, the first check process to the third check process may be controlled not to be performed in the recovery process when the communication is restored. Specifically, when the difference between the last last transmission sequence number transmitted from the P unit 2 as a recovery response and the last latest transmission sequence number stored in the CU control unit 323 is 2 or more, the CU 3 or the P unit 2 The CU control unit 323 determines that it has been replaced, and controls so that the CU control unit 323 does not perform the first check process to the third check process.

さらに、CU3またはP台2の交換であるか否かに拘らず、リカバリ時にはCU3側で前回遊技台データおよび今回遊技台データのチェックを一切行なわないように制御してもよい。このようにすれば、CU3またはP台2の交換に起因したチェック異常判定が生ずる煩わしさを防止することができる。   Further, regardless of whether or not the CU 3 or the P stand 2 is exchanged, it may be controlled so that the previous game table data and the current game table data are not checked on the CU 3 side at the time of recovery. By doing so, it is possible to prevent the troublesomeness that the check abnormality determination due to the replacement of the CU 3 or the P stand 2 occurs.

<SCとICとの通信における主なシーケンス>
次に、SC325bと通信制御IC325aとの通信における主なシーケンスについて説明する。まず、図30は、SC325bと通信制御IC325aとの間の業務電文の送信処理を説明する図である。図30を参照して、SC325bと通信制御IC325aとの間で業務電文を送信するための行われる処理について説明する。
<Main sequence in communication between SC and IC>
Next, a main sequence in communication between the SC 325b and the communication control IC 325a will be described. First, FIG. 30 is a diagram illustrating a business message transmission process between the SC 325b and the communication control IC 325a. With reference to FIG. 30, the process performed for transmitting the business message between the SC 325b and the communication control IC 325a will be described.

まず、SC325bは、通信制御IC325aに対して状態確認要求(TYPE=’1’)を送信する。通信制御IC325aは、SC325bから状態確認要求(TYPE=’1’)が送信されると、状態確認応答(RDY=’1’)をSC325bに対して送信する。SC325bは、通信制御IC325aから状態確認応答(RDY=’1’)が送信されると、SC325bと通信制御IC325aとの通信が可能であると判断して、業務電文送信要求を通信制御IC325aに対して送信する。   First, the SC 325b transmits a status confirmation request (TYPE = “1”) to the communication control IC 325a. When the status confirmation request (TYPE = '1') is transmitted from the SC 325b, the communication control IC 325a transmits a status confirmation response (RDY = '1') to the SC 325b. When the status confirmation response (RDY = '1') is transmitted from the communication control IC 325a, the SC 325b determines that communication between the SC 325b and the communication control IC 325a is possible, and sends a business message transmission request to the communication control IC 325a. To send.

さらに、SC325bは、通信制御IC325aに対して状態確認要求(TYPE=’1’)を送信し、通信制御IC325aは、当該状態確認要求(TYPE=’1’)に対する状態確認応答(RDY=’1’)をSC325bに送信する。その後、通信制御IC325aは、業務電文送信要求に対する業務電文応答をSC325bに送信する。   Further, the SC 325b transmits a state confirmation request (TYPE = '1') to the communication control IC 325a, and the communication control IC 325a transmits a state confirmation response (RDY = '1) to the state confirmation request (TYPE =' 1 '). ') Is sent to SC325b. Thereafter, the communication control IC 325a transmits a business message response to the business message transmission request to the SC 325b.

つまり、SC325bと通信制御IC325aとの間で業務電文を送信する場合、業務電文送信要求および業務電文応答を送信する毎に、状態確認要求(TYPE=’1’)および状態確認応答(RDY=’1’)を送信してSC325bと通信制御IC325aとの通信が可能か否かを確認している。   That is, when a business message is transmitted between the SC 325b and the communication control IC 325a, a status confirmation request (TYPE = '1') and a status confirmation response (RDY = ') each time a business message transmission request and a business message response are transmitted. 1 ′) is transmitted to check whether communication between the SC 325b and the communication control IC 325a is possible.

次に、図31は、SC325bと通信制御IC325aとの間の通信異常検知の処理を説明する図である。図31を参照して、SC325bと通信制御IC325aとの間で通信異常が発生したのか否かを検知するために行われる処理について説明する。   Next, FIG. 31 is a diagram for explaining a process for detecting a communication abnormality between the SC 325b and the communication control IC 325a. With reference to FIG. 31, the process performed to detect whether or not a communication abnormality has occurred between the SC 325b and the communication control IC 325a will be described.

まず、SC325bは、通信制御IC325aに対して状態確認要求(TYPE=’1’)を送信する。通信制御IC325aは、SC325bから状態確認要求(TYPE=’1’)が送信されると、状態確認応答(RDY=’1’)をSC325bに対して送信する。SC325bは、通信制御IC325aから状態確認応答(RDY=’1’)が送信されると、SC325bと通信制御IC325aとの通信が可能であると判断して、業務電文を通信制御IC325aに対して送信する。   First, the SC 325b transmits a status confirmation request (TYPE = “1”) to the communication control IC 325a. When the status confirmation request (TYPE = '1') is transmitted from the SC 325b, the communication control IC 325a transmits a status confirmation response (RDY = '1') to the SC 325b. When the status confirmation response (RDY = '1') is transmitted from the communication control IC 325a, the SC 325b determines that communication between the SC 325b and the communication control IC 325a is possible, and transmits a business message to the communication control IC 325a. To do.

さらに、SC325bは、通信制御IC325aに対して状態確認要求(TYPE=’1’)を送信し、通信制御IC325aは、当該状態確認要求(TYPE=’1’)に対する状態確認応答(RDY=’1’)をSC325bに送信する。その後、通信制御IC325aは、業務電文送信要求に対する業務電文応答をSC325bに送信する。しかし、SC325bと通信制御IC325aとの間で通信異常が発生し、通信制御IC325aからSC325bに送信する業務電文応答が、業務電文無応答(データ長=’0’)となる。   Further, the SC 325b transmits a state confirmation request (TYPE = '1') to the communication control IC 325a, and the communication control IC 325a transmits a state confirmation response (RDY = '1) to the state confirmation request (TYPE =' 1 '). ') Is sent to SC325b. Thereafter, the communication control IC 325a transmits a business message response to the business message transmission request to the SC 325b. However, a communication error occurs between the SC 325b and the communication control IC 325a, and the business message response transmitted from the communication control IC 325a to the SC 325b becomes a business message no response (data length = '0').

SC325bは、通信制御IC325aから業務電文無応答(データ長=’0’)が送信されると、業務電文送信要求を再度送信する。なお、SC325bが、通信制御IC325aに業務電文送信要求を再度送信する前に、SC325bと通信制御IC325aとの間で、状態確認要求(TYPE=’1’)および状態確認応答(RDY=’1’)を送信する。   When the business message no response (data length = '0') is transmitted from the communication control IC 325a, the SC 325b transmits the business message transmission request again. Before the SC 325b transmits the business message transmission request to the communication control IC 325a again, a status confirmation request (TYPE = '1') and a status confirmation response (RDY = '1') are transmitted between the SC 325b and the communication control IC 325a. ).

さらに、SC325bは、通信制御IC325aに対して状態確認要求(TYPE=’1’)を送信し、通信制御IC325aは、当該状態確認要求(TYPE=’1’)に対する状態確認応答(RDY=’1’)をSC325bに送信する。その後、通信制御IC325aは、業務電文送信要求(再送)に対する業務電文応答をSC325bに送信する。しかし、SC325bと通信制御IC325aとの間で通信異常が継続しているので、通信制御IC325aからSC325bに送信する業務電文応答が、業務電文無応答(データ長=’0’)のままとなる。   Further, the SC 325b transmits a state confirmation request (TYPE = '1') to the communication control IC 325a, and the communication control IC 325a transmits a state confirmation response (RDY = '1) to the state confirmation request (TYPE =' 1 '). ') Is sent to SC325b. Thereafter, the communication control IC 325a transmits a business message response to the business message transmission request (retransmission) to the SC 325b. However, since the communication abnormality continues between the SC 325b and the communication control IC 325a, the business message response transmitted from the communication control IC 325a to the SC 325b remains the business message no response (data length = '0').

さらに、SC325bは、通信制御IC325aから業務電文無応答(データ長=’0’)が送信されると、業務電文送信要求を再度送信するが、SC325bと通信制御IC325aとの間で通信異常が継続しているので、通信制御IC325aからSC325bに送信する業務電文応答が、業務電文無応答(データ長=’0’)のままとなる。   Furthermore, when the business message no response (data length = '0') is transmitted from the communication control IC 325a, the SC 325b transmits the business message transmission request again, but the communication abnormality continues between the SC 325b and the communication control IC 325a. Therefore, the business message response transmitted from the communication control IC 325a to the SC 325b remains the business message no response (data length = '0').

SC325bは、通信制御IC325aから3回業務電文無応答(データ長=’0’)が送信されたので、SC325bと通信制御IC325aとの間で通信異常が発生したことを検知する。   The SC 325b detects that a communication error has occurred between the SC 325b and the communication control IC 325a because the business message no response (data length = '0') has been transmitted three times from the communication control IC 325a.

次に、図32は、SC325bと通信制御IC325aとの間の通信回線断検知の処理を説明する図である。図32を参照して、SC325bと通信制御IC325aとの間で通信回線断(SC325bと通信制御IC325aとの間でをシリアル通信可能に接続する配線のうち少なくとも一本の配線が断線すること)が発生したのか否かを検知するために行われる処理について説明する。   Next, FIG. 32 is a diagram for explaining communication line disconnection detection processing between the SC 325b and the communication control IC 325a. Referring to FIG. 32, the communication line is disconnected between SC 325b and communication control IC 325a (at least one of the lines connecting serial communication between SC 325b and communication control IC 325a is disconnected). Processing that is performed to detect whether or not it has occurred will be described.

まず、SC325bは、通信制御IC325aに対して状態確認要求を送信する。通信制御IC325aは、SC325bから状態確認要求が送信されると、状態確認応答(’0x20’、’0xDF’)をSC325bに対して送信する。なお、状態確認応答の’0x20’、’0xDF’が、通信制御IC325aからSC325bに送信されるデータセットの1つで、当該データセットの2バイト目の情報’0xDF’が、データセットの1バイト目の情報’0x20’の反転情報となっている。   First, the SC 325b transmits a status confirmation request to the communication control IC 325a. When the state confirmation request is transmitted from the SC 325b, the communication control IC 325a transmits a state confirmation response ('0x20', '0xDF') to the SC 325b. The status confirmation response “0x20” and “0xDF” is one of the data sets transmitted from the communication control IC 325a to the SC 325b, and the second byte information “0xDF” of the data set is 1 byte of the data set. It is the inversion information of the eye information “0x20”.

しかし、SC325bと通信制御IC325aとの間で断線が発生した場合、SC325bは、通信制御IC325aに対して状態確認要求を送信するが、通信制御IC325aは、状態確認応答(’0x20’、’0x20’)をSC325bに対して送信する。SC325bと通信制御IC325aとの間で断線が発生しているので、状態確認応答の2バイト目の情報’0x20’が、データセットの1バイト目の情報’0x20’の反転情報となっていない。   However, when a disconnection occurs between the SC 325b and the communication control IC 325a, the SC 325b transmits a status confirmation request to the communication control IC 325a. However, the communication control IC 325a transmits a status confirmation response ('0x20', '0x20'). ) To the SC 325b. Since a disconnection occurs between the SC 325b and the communication control IC 325a, the information “0x20” of the second byte of the status confirmation response is not the inversion information of the information “0x20” of the first byte of the data set.

なお、SC325bと通信制御IC325aとの間で断線が発生した場合であっても、図32においては、SC325bが、通信制御IC325aに対して状態確認要求を送信し、通信制御IC325aが、状態確認応答をSC325bに対して送信する様子が図示されている。しかし、SC325bと通信制御IC325aとの間で断線が発生している場合、実際には、SC325bと通信制御IC325aとの間で状態確認要求および状態確認応答の送信は行われていない。図32では、マスタであるSC325bが、シリアル・クロックのタイミングで第2データ線の状態を読出すため、あたかもSC325bと通信制御IC325aとの間で状態確認要求および状態確認応答の送信は行われているように図示している。   Even if a disconnection occurs between the SC 325b and the communication control IC 325a, in FIG. 32, the SC 325b transmits a status check request to the communication control IC 325a, and the communication control IC 325a receives the status check response. Is shown to be transmitted to SC325b. However, when a disconnection occurs between the SC 325b and the communication control IC 325a, the status confirmation request and the status confirmation response are not actually transmitted between the SC 325b and the communication control IC 325a. In FIG. 32, since the master SC 325b reads the state of the second data line at the timing of the serial clock, a state confirmation request and a state confirmation response are transmitted between the SC 325b and the communication control IC 325a. As shown.

たとえば、SC325bと通信制御IC325aとの間に設けたクロック線が断線した場合、SC325bから通信制御IC325aにシリアル・クロックが送信されなくなるため、通信制御IC325aから状態確認応答の電文が送信されない。しかし、SC325bは、シリアル・クロックのタイミングで第2データ線の状態を読出すが、状態確認応答の電文が送信されていないため、読出される電文は1バイト目の情報と2バイト目の情報とが反転していない電文となる。   For example, when the clock line provided between the SC 325b and the communication control IC 325a is disconnected, the serial clock is not transmitted from the SC 325b to the communication control IC 325a, and therefore a teleconfirmation response message is not transmitted from the communication control IC 325a. However, the SC 325b reads the state of the second data line at the timing of the serial clock, but since the telegram of the status confirmation response has not been transmitted, the telegram to be read is the first byte information and the second byte information. The message is not reversed.

また、SC325bと通信制御IC325aとの間に設けた第1データ線が断線した場合、SC325bから通信制御IC325aにデータが送信されなくなるため、通信制御IC325aから状態確認応答の電文が送信されない。そのため、SC325bは、シリアル・クロックのタイミングで、第2データ線の状態を読出しても、1バイト目の情報と2バイト目の情報とが反転していない、無応答の電文となる。   In addition, when the first data line provided between the SC 325b and the communication control IC 325a is disconnected, data is not transmitted from the SC 325b to the communication control IC 325a, and therefore a message of a status confirmation response is not transmitted from the communication control IC 325a. For this reason, the SC 325b is a non-response message in which the information of the first byte and the information of the second byte are not inverted even when the state of the second data line is read at the timing of the serial clock.

さらに、SC325bと通信制御IC325aとの間に設けた第2データ線が断線した場合、通信制御IC325aからSC325bへの応答が送信できなくなるため、通信制御IC325aから状態確認応答の電文が送信されない。そして、第2データ線が断線されているため、電位がHレベルまたはLレベルに固定され、第2データ線の状態を読出しても、1バイト目の情報と2バイト目の情報とが反転していない電文となる。   Furthermore, when the second data line provided between the SC 325b and the communication control IC 325a is disconnected, a response from the communication control IC 325a to the SC 325b cannot be transmitted, and thus a message for status confirmation response is not transmitted from the communication control IC 325a. Since the second data line is disconnected, the potential is fixed at the H level or the L level, and even if the state of the second data line is read, the first byte information and the second byte information are inverted. Not a telegram.

その後も、SC325bは、シリアル・クロックのタイミングで状態確認応答の電文を読出すが、SC325bと通信制御IC325aとの間で断線が発生しているため、読出す状態確認応答は、2バイト目の情報’0x20’が、データセットの1バイト目の情報’0x20’の反転情報となっていない。   After that, the SC 325b reads the status confirmation response message at the serial clock timing. However, since the disconnection occurs between the SC 325b and the communication control IC 325a, the status confirmation response to be read is the second byte. The information “0x20” is not the inverted information of the information “0x20” in the first byte of the data set.

SC325bは、このような状態がSC−通信制御IC断線検知時間経過(所定の設定条件が成立)するまで連続すると、SC325bと通信制御IC325aとの間で断線が生じていると判定する。なお、SC−通信制御IC断線検知時間は、2バイト目の情報が1バイト目の情報の反転情報となっていないデータを最初に検出してから、SC−通信制御IC断線と判定するまでの時間であり、予め定められた時間(たとえば、30秒)である。また、所定の設定条件は、SC−通信制御IC断線検知時間だけではなく、SC−通信制御IC間の通信回数など他の条件であっても、複数の条件を組合わせてもよい。さらに、SC325bと通信制御IC325aとの間で断線は、クロック線、第1データ線および第2データ線のうち、少なくとも一本の配線が断線した状態である。   When such a state continues until the SC-communication control IC disconnection detection time elapses (a predetermined setting condition is satisfied), the SC 325b determines that a disconnection has occurred between the SC 325b and the communication control IC 325a. The SC-communication control IC disconnection detection time is from the first detection of data in which the second byte information is not the inversion information of the first byte to the determination of the SC-communication control IC disconnection. Time, which is a predetermined time (for example, 30 seconds). Further, the predetermined setting condition is not limited to the SC-communication control IC disconnection detection time, but may be other conditions such as the number of communication between the SC and the communication control IC, or a plurality of conditions may be combined. Further, the disconnection between the SC 325b and the communication control IC 325a is a state in which at least one of the clock line, the first data line, and the second data line is disconnected.

次に、図33は、SC325bと通信制御IC325aとの間の業務電文シーケンスの処理を説明する図である。図33を参照して、CU3の電源投入後のSC325bおよび通信制御IC325aの処理について説明する。   Next, FIG. 33 is a diagram for explaining the business message sequence process between the SC 325b and the communication control IC 325a. Referring to FIG. 33, the processing of SC 325b and communication control IC 325a after powering on CU 3 will be described.

まず、CU3の電源を投入すると、SC325bおよび通信制御IC325aが起動される。SC325bは、起動するとCU制御部323と認証が実施され、通信制御IC325aは、起動すると遊技機(たとえばP台2)と認証が実施される。   First, when the power of the CU3 is turned on, the SC 325b and the communication control IC 325a are activated. When activated, the SC 325b performs authentication with the CU control unit 323, and when activated, the communication control IC 325a performs authentication with a gaming machine (for example, P 2).

その後、SC325bおよび通信制御IC325aは、暗号鍵に認証鍵を用い、通信制御IC認証シーケンスを行なう。この通信制御IC認証シーケンスはSE1モードにて行なわれる。認証鍵には、SC325bおよび通信制御IC325aの製造段階から予め記憶されている仮認証鍵と、鍵管理サーバから送られてくる所定データに基づいてSC325bおよび通信制御IC325aが生成する本認証鍵とがある。仮認証鍵は、本認証鍵が生成されるまでの間、SC325bと通信制御IC325aとの間の通信に用いる暗号鍵である。この仮認証鍵を使用しての認証の下での遊技機の運用は、或る限られた期間(例えば2日)のみ許容される時限運用処理が行なわれ、時限運用期間が過ぎた段階で上位装置(鍵管理センターの鍵管理サーバ800)に通知を行ない、上位装置のリセット処理開始まで待機状態(リセット待ち)となる。なお、通信制御IC認証シーケンスの詳細な処理については、後述する。   Thereafter, the SC 325b and the communication control IC 325a perform a communication control IC authentication sequence using the authentication key as the encryption key. This communication control IC authentication sequence is performed in the SE1 mode. The authentication key includes a temporary authentication key stored in advance from the manufacturing stage of the SC 325b and the communication control IC 325a and a main authentication key generated by the SC 325b and the communication control IC 325a based on predetermined data sent from the key management server. is there. The temporary authentication key is an encryption key used for communication between the SC 325b and the communication control IC 325a until the main authentication key is generated. In the operation of the gaming machine under the authentication using the temporary authentication key, a timed operation process that is allowed only for a certain limited period (for example, 2 days) is performed, and the timed operation period has passed. A notification is sent to the host device (key management server 800 of the key management center), and the host device is in a standby state (waiting for reset) until the reset processing starts. Details of the communication control IC authentication sequence will be described later.

その後、SC325bおよび通信制御IC325aは、暗号鍵に本認証鍵または仮認証鍵を用い、セキュリティ情報更新シーケンスを行なう。このセキュリティ情報更新シーケンスはSE2モードにて行なわれる。このセキュリティ情報更新シーケンスは、SC325bが通信制御IC325aに対して、上位装置(具体的には、ホールサーバ801)から取得した有効鍵を設定する処理である。有効鍵は、通信制御IC325aが遊技機との通信を活性化するためのデータであり、この有効鍵がなければ通信制御IC325aが遊技機と通信できない。さらに、SC325bおよび通信制御IC325aは、遊技機チップ情報認証シーケンスを行なう。この遊技機チップ情報認証シーケンスはSE2モードにて行なわれる。遊技機(たとえばP台2)に搭載されている主制御チップのチップID(主制御チップID)と払出制御チップのチップID(払出制御チップID)とを通信制御IC325aが受信し、それら主制御チップIDと払出制御チップIDとの真正を照合するための処理である。   Thereafter, the SC 325b and the communication control IC 325a perform the security information update sequence using the main authentication key or the temporary authentication key as the encryption key. This security information update sequence is performed in the SE2 mode. This security information update sequence is a process in which the SC 325b sets the valid key acquired from the higher-level device (specifically, the hall server 801) to the communication control IC 325a. The valid key is data for the communication control IC 325a to activate communication with the gaming machine. Without this valid key, the communication control IC 325a cannot communicate with the gaming machine. Further, the SC 325b and the communication control IC 325a perform a gaming machine chip information authentication sequence. This gaming machine chip information authentication sequence is performed in the SE2 mode. The communication control IC 325a receives the chip ID (main control chip ID) of the main control chip and the chip ID (payout control chip ID) of the payout control chip mounted on the gaming machine (for example, P stand 2), and these main controls. This is a process for verifying the authenticity of the chip ID and the payout control chip ID.

この遊技機チップ情報認証シーケンスは最初鍵管理サーバ800に主制御チップIDと払出制御チップIDとの照会を行なってもらう関係上時間がかかる場合があり、その間遊技機チップ情報認証待ちの仮運用が実行され、鍵管理サーバ800からの照会を待つことなく通信鍵要求以降の運用処理が実行される。   This gaming machine chip information authentication sequence may take time because the key management server 800 first makes an inquiry about the main control chip ID and the payout control chip ID. The operation process after the communication key request is executed without waiting for an inquiry from the key management server 800.

その後、SC325bは、通信制御IC325aに対して通信鍵を要求する通信鍵要求のコマンドを送信する。通信鍵要求のコマンドは、暗号鍵に本認証鍵または仮認証鍵を用いて、暗号化してある。   Thereafter, the SC 325b transmits a communication key request command for requesting a communication key to the communication control IC 325a. The communication key request command is encrypted using the authentication key or the temporary authentication key as the encryption key.

通信鍵要求のコマンドを受信した通信制御IC325aは、遊技機と業務電文を通信するための通信鍵(セッション鍵)を生成し、生成した通信鍵を通信鍵応答のレスポンスでSC325bに通知する。通信鍵要求および通信鍵応答はSE2モードにて行なわれる。なお、返信する通信鍵応答のレスポンスは、暗号鍵に本認証鍵または仮認証鍵を用いて、暗号化してある。通信鍵(セッション鍵)の生成方法は、具体的には、乱数と現在時刻のデータとを用いて生成する。この現在時刻のデータは、通信制御IC325a自ら生成してもよくまた他の装置からもらい受けてもよい。この通信鍵(セッション鍵)の生成方法は、乱数と現在時刻のデータとに限らず、前述の相互認証に用いた鍵以外の可変データであれば、いかなるものを用いてもよい。また、通信制御IC325aではなくSC325bの方が生成して通信制御IC325aへ通知するように制御してもよい。   Upon receiving the communication key request command, the communication control IC 325a generates a communication key (session key) for communicating the business message with the gaming machine, and notifies the generated communication key to the SC 325b in response to the communication key response. The communication key request and communication key response are performed in the SE2 mode. Note that the response of the communication key response to be returned is encrypted using the authentication key or the temporary authentication key as the encryption key. Specifically, the communication key (session key) is generated using a random number and current time data. The current time data may be generated by the communication control IC 325a itself or received from another device. The method for generating the communication key (session key) is not limited to the random number and the current time data, and any data may be used as long as it is variable data other than the key used for the above-described mutual authentication. Further, the control may be performed such that the SC 325b, not the communication control IC 325a, generates and notifies the communication control IC 325a.

以降、SC325bと通信制御IC325aの両者間で通信鍵(セッション鍵)が共有されて両者間で業務電文の暗号通信が行なわれるとともに、通信制御IC325aと遊技機(P台2)との業務電文通信もこの通信鍵(セッション鍵)を使用して暗号通信が行なわれる。   Thereafter, the communication key (session key) is shared between the SC 325b and the communication control IC 325a, and encrypted communication of the business message is performed between the two, and the business message communication between the communication control IC 325a and the gaming machine (P machine 2). Also, encrypted communication is performed using this communication key (session key).

このように、電源投入の度に通信鍵(セッション鍵)が更新されてセキュリティを担保できる。さらに、通信鍵(セッション鍵)更新は、電源投入時以外に、更新周期毎(定期的)にも実行される。つまり、SC325bが通信鍵の更新周期を検知したときに通信鍵(セッション鍵)を更新する制御を行なう。具体的には、ホールサーバ801(または鍵管理サーバ800)から更新周期毎に鍵更新指令がCU3へ送信され、それを受けたCU3のSC325bが通信鍵要求を通信制御IC325aへ送信して前述と同様に通信鍵(セッション鍵)を更新する制御を行なう。この更新周期毎に鍵更新も乱数と現在時刻のデータとを用いて生成するため、電源投入時に更新された通信鍵(セッション鍵)とは異なる鍵に更新され、より一層セキュリティが向上する。   In this way, the communication key (session key) is updated each time the power is turned on, thereby ensuring security. Further, the communication key (session key) update is executed every update cycle (periodically) in addition to when the power is turned on. That is, the SC 325b performs control to update the communication key (session key) when detecting the communication key update cycle. Specifically, a key update command is transmitted from the hall server 801 (or key management server 800) to the CU 3 at each update cycle, and the SC 325b of the CU 3 that receives it transmits a communication key request to the communication control IC 325a. Similarly, control for updating the communication key (session key) is performed. Since the key update is also generated by using the random number and the data of the current time for each update cycle, the key is updated to a key different from the communication key (session key) updated when the power is turned on, and the security is further improved.

次に、図34は、通信制御IC325aの認証シーケンスの処理を説明する図である。図34を参照して、SC325bと通信制御IC325aとの間で、第1認証シーケンスが実行される。第1認証シーケンスはSE1モードにて行なわれる。たとえば、この第1認証シーケンスによりSC325bのシリアルIDすなわちEEPROM(図示略)に記憶されているSC325bのSIDの認証が行なわれる。次に、SC325bと通信制御IC325aとの間で、第2認証シーケンスが実行される。第2認証シーケンスはSE1モードにて行なわれる。たとえば、この第2認証シーケンスにより通信制御IC325aのシリアルIDすなわちEEPROM(図示略)に記憶されている通信制御IC325aのSIDの認証が行なわれる。   Next, FIG. 34 is a diagram for explaining the processing of the authentication sequence of the communication control IC 325a. Referring to FIG. 34, the first authentication sequence is executed between SC 325b and communication control IC 325a. The first authentication sequence is performed in the SE1 mode. For example, the first authentication sequence authenticates the serial ID of SC 325b, that is, the SID of SC 325b stored in the EEPROM (not shown). Next, the second authentication sequence is executed between the SC 325b and the communication control IC 325a. The second authentication sequence is performed in the SE1 mode. For example, the second authentication sequence authenticates the serial ID of the communication control IC 325a, that is, the SID of the communication control IC 325a stored in the EEPROM (not shown).

その後、SC325bと通信制御IC325aとの間で、バージョン管理情報シーケンスが実行される。バージョン管理情報シーケンスはSE1モードにて行なわれる。SC325bは、鍵バージョンをチェックするために、通信制御IC325aに対してバージョン管理情報要求のコマンドを送信する。なお、バージョン管理情報要求のコマンドは、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化してある。   Thereafter, a version management information sequence is executed between the SC 325b and the communication control IC 325a. The version management information sequence is performed in the SE1 mode. The SC 325b transmits a command for requesting version management information to the communication control IC 325a in order to check the key version. Note that the version management information request command is encrypted using an authentication key (specifically, this authentication key or a temporary authentication key) as an encryption key.

バージョン管理情報要求のコマンドを受信した通信制御IC325aは、SC325bに対して最新の鍵バージョンを通知するために、バージョン管理情報応答のレスポンスを送信する。なお、バージョン管理情報応答のレスポンスは、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化してある。   Upon receiving the version management information request command, the communication control IC 325a transmits a response of a version management information response in order to notify the latest key version to the SC 325b. Note that the response of the version management information response is encrypted using an authentication key (specifically, this authentication key or temporary authentication key) as an encryption key.

その後、SC325bと通信制御IC325aとの間で、IC認証結果シーケンスが実行される。IC認証結果シーケンスはSE1モードにて行なわれる。SC325bは、通信制御IC325aに対してIC認証結果通知のコマンドを送信する。このIC認証結果通知のコマンドによって、第1認証シーケンスからバージョン管理情報応答までの認証結果が総括して通信制御IC325aに通知される。なお、IC認証結果通知のコマンドは、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化してある。   Thereafter, an IC authentication result sequence is executed between the SC 325b and the communication control IC 325a. The IC authentication result sequence is performed in the SE1 mode. The SC 325b transmits an IC authentication result notification command to the communication control IC 325a. By this IC authentication result notification command, the authentication results from the first authentication sequence to the version management information response are collectively notified to the communication control IC 325a. Note that the IC authentication result notification command is encrypted using an authentication key (specifically, this authentication key or a temporary authentication key) as an encryption key.

IC認証結果通知のコマンドを受信した通信制御IC325aは、SC325bに対してIC認証結果応答のレスポンスを送信する。ここでIC認証結果応答のレスポンスによって第1認証シーケンスからバージョン管理情報応答までの認証結果を総括してSC325bに通知される。なお、IC認証結果応答のレスポンスは、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化してある。   The communication control IC 325a that has received the IC authentication result notification command transmits an IC authentication result response to the SC 325b. Here, the authentication results from the first authentication sequence to the version management information response are collectively notified to the SC 325b by the response of the IC authentication result response. Note that the response of the IC authentication result response is encrypted using an authentication key (specifically, this authentication key or a temporary authentication key) as an encryption key.

その後、SC325bと通信制御IC325aとの間で、カウンタ情報シーケンスが実行される。カウンタ情報シーケンスはSE1モードにて行なわれる。SC325bは、通信制御IC325aに対してカウンタ情報要求のコマンドを送信する。このカウンタ情報要求のコマンドによって、現在時刻の情報が通信制御IC325aに通知される。なお、カウンタ情報要求のコマンドは、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化してある。   Thereafter, a counter information sequence is executed between the SC 325b and the communication control IC 325a. The counter information sequence is performed in the SE1 mode. The SC 325b transmits a counter information request command to the communication control IC 325a. Information on the current time is notified to the communication control IC 325a by this counter information request command. Note that the counter information request command is encrypted using an authentication key (specifically, a real authentication key or a temporary authentication key) as an encryption key.

カウンタ情報要求のコマンドを受信した通信制御IC325aは、SC325bに対してカウンタ情報応答のレスポンスを送信する。ここでカウンタ情報応答のレスポンスによって暗号化で使用するカウンタの初期ベクタ値を生成してSC325bに通知される。なお、カウンタ情報応答のレスポンスは、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化してある。   Receiving the counter information request command, the communication control IC 325a transmits a counter information response response to the SC 325b. Here, an initial vector value of a counter used for encryption is generated by a response of the counter information response, and is notified to the SC 325b. Note that the response of the counter information response is encrypted using an authentication key (specifically, this authentication key or a temporary authentication key) as an encryption key.

次に、図35に基づいて前述の第1認証シーケンスの制御内容の一例を説明する。この第1認証シーケンスはSE1モードにて行なわれる。まずSC325bから通信制御IC325aへ認証鍵乱数が通知される。この認証鍵乱数は認証鍵(具体的には本認証鍵)を生成するためのデータである。それを受信した通信制御IC325aは、SC325bに対して認証鍵乱数を受信したことを示す認証鍵乱数通知応答を返信する。次に、SC325bと通信制御IC325aとは、互いの認証鍵乱数を用いて認証鍵(具体的には本認証鍵)を生成する。上記認証鍵乱数の通知から認証鍵(具体的には本認証鍵)の生成までのシーケンスは、仮認証鍵を使用している時のみ、すなわち未だ本認証鍵が生成されていない時のみ実行される。本認証鍵が既に生成されて使用されているときには、上記認証鍵乱数の通知から認証鍵(具体的には本認証鍵)の生成までのシーケンスを実行することなくSCシリアルID認証要求1からシーケンスを実行する。   Next, an example of the control content of the first authentication sequence will be described with reference to FIG. This first authentication sequence is performed in the SE1 mode. First, the authentication key random number is notified from the SC 325b to the communication control IC 325a. This authentication key random number is data for generating an authentication key (specifically, this authentication key). The communication control IC 325a that has received it returns an authentication key random number notification response indicating that the authentication key random number has been received to the SC 325b. Next, the SC 325b and the communication control IC 325a generate an authentication key (specifically, this authentication key) using the mutual authentication key random number. The sequence from the notification of the authentication key random number to the generation of the authentication key (specifically, the authentication key) is executed only when the temporary authentication key is used, that is, only when the authentication key has not yet been generated. The When the authentication key is already generated and used, the sequence from the SC serial ID authentication request 1 is executed without executing the sequence from the notification of the authentication key random number to the generation of the authentication key (specifically, the authentication key). Execute.

次に、SC325bと通信制御IC325aとの間でSCシリアルID認証要求1とSCシリアルID認証応答1とがやり取りされ、さらにSCシリアルID認証要求2とSCシリアルID認証応答2とがやり取りされることにより、SE1モードでのSCシリアルIDの認証が行なわれる。   Next, SC serial ID authentication request 1 and SC serial ID authentication response 1 are exchanged between SC 325b and communication control IC 325a, and SC serial ID authentication request 2 and SC serial ID authentication response 2 are exchanged. Thus, authentication of the SC serial ID in the SE1 mode is performed.

図36は、通信制御IC認証異常シーケンスの処理を説明する図である。通信制御IC認証異常シーケンスはSE1モードにて行なわれる。図36を参照して、図34において説明をした第1認証シーケンス〜バージョン管理情報応答が実行される。この第1認証シーケンス〜バージョン管理情報応答は、暗号鍵として認証鍵(具体的には本認証鍵または仮認証鍵)を用いて、暗号化されている。なお、SC325bと通信制御IC325aとは共にSCのシリアルIDと通信制御ICのシリアルIDとを記憶しており、第1認証シーケンス〜バージョン管理情報応答のうち、いずれか1つはチャレンジ/レスポンス方式を用いてSCのシリアルIDを認証するシーケンスであり、また第1認証シーケンス〜バージョン管理情報応答のうち、いずれか1つはチャレンジ/レスポンス方式を用いて通信制御ICのシリアルIDを認証するシーケンスである。これらSCのシリアルIDと通信制御ICのシリアルIDと前述の基板シリアルIDとは、それぞれ異なるIDで構成されている。   FIG. 36 is a diagram for explaining processing of the communication control IC authentication abnormality sequence. The communication control IC authentication abnormality sequence is performed in the SE1 mode. Referring to FIG. 36, the first authentication sequence to the version management information response described in FIG. 34 are executed. The first authentication sequence to the version management information response are encrypted using an authentication key (specifically, this authentication key or a temporary authentication key) as an encryption key. The SC 325b and the communication control IC 325a both store the SC serial ID and the communication control IC serial ID, and any one of the first authentication sequence to the version management information response is a challenge / response method. This is a sequence for authenticating the serial ID of the SC, and any one of the first authentication sequence to the version management information response is a sequence for authenticating the serial ID of the communication control IC using the challenge / response method. . The serial ID of the SC, the serial ID of the communication control IC, and the above-mentioned board serial ID are configured with different IDs.

これらの認証シーケンスが終了後、次にSC325bと通信制御IC325aとの間で、IC認証結果シーケンスが実行される。SC325bから通信制御IC325aへIC認証結果通知が送信される。このIC認証結果通知によって第1認証シーケンスからバージョン管理情報応答までの認証結果を総括して通知される。一方、通信制御IC325aからSC325bへIC認証結果応答が送信される。IC認証結果応答によって第1認証シーケンスからバージョン管理情報応答までの認証結果を総括して通知される。このIC認証結果通知および/またはIC認証結果応答が不適正(NG)である場合は、以下の制御が行なわれる。   After these authentication sequences are completed, an IC authentication result sequence is then executed between the SC 325b and the communication control IC 325a. An IC authentication result notification is transmitted from the SC 325b to the communication control IC 325a. By this IC authentication result notification, the authentication results from the first authentication sequence to the version management information response are collectively notified. On the other hand, an IC authentication result response is transmitted from the communication control IC 325a to the SC 325b. The authentication result from the first authentication sequence to the version management information response is collectively notified by the IC authentication result response. When the IC authentication result notification and / or the IC authentication result response is inappropriate (NG), the following control is performed.

第1認証シーケンスからバージョン管理情報応答までの認証を仮認証鍵を用いて行なっていた場合には、前述した第1認証シーケンスからバージョン管理情報応答までの処理がリトライされる。そのリトライ回数は2回が限度であり、その2回のリトライ後でもこのIC認証結果通知および/またはIC認証結果応答が不適正である場合には、SC325bは「通信制御IC認証異常」を上位装置(鍵管理センターの鍵管理サーバ800)に通知を行ない、上位装置のリセット処理開始まで待機する(リセット待ち)。   When the authentication from the first authentication sequence to the version management information response has been performed using the temporary authentication key, the above-described processing from the first authentication sequence to the version management information response is retried. If the number of retries is limited to two, and the IC authentication result notification and / or IC authentication result response is inappropriate even after the two retries, SC325b is ranked “communication control IC authentication error”. It notifies the device (key management server 800 of the key management center) and waits until reset processing of the host device starts (waiting for reset).

複数(ここでは2回)のリトライ後でもIC認証結果通知および/またはIC認証結果応答が不適正である場合には、リセット処理(たとえばリセットボタン(図示省略)の操作や電源再投入)により復帰する。しかしこれに限らず、リセット待ちの状態のときに、SC325bが上位装置である鍵管理サーバ800やホールサーバ801との認証が取れたことを条件に復帰させてもよい。   If the IC authentication result notification and / or IC authentication result response is inappropriate even after multiple (here, twice) retries, return by reset processing (for example, operation of reset button (not shown) or power-on) To do. However, the present invention is not limited to this, and the reset may be performed on the condition that the SC 325b has been authenticated with the key management server 800 or the hall server 801 as the host device when waiting for reset.

次に、更新直後の認証鍵すなわち図35の第1認証シーケンスの結果生成された認証鍵(具体的には本認証鍵)を用いて第1認証シーケンスからバージョン管理情報応答までの認証を行なっていた場合には、その生成された認証鍵(具体的には本認証鍵)が異常であることを示す本認証鍵更新異常のアラームを鍵管理センターの鍵管理サーバ800へ通知して、第1認証シーケンスより仮認証鍵を用いて実行する。それら認証結果が適正であった場合には、前述したように、或る限られた期間(例えば2日)のみ許容される時限運用処理が行なわれ、その期間に限り遊技機との業務電文通信が可能となる。時限運用期間が過ぎた段階で上位装置(鍵管理センターの鍵管理サーバ800)に通知を行ない、上位装置のリセット処理開始まで待機状態(リセット待ち)となる。なお、時限運用は、時間の限定に代えてまたはそれに加えて、制御内容(遊技内容)等を制限してもよい。例えば、遊技玉数に上限を設け、その上限に足した時点で持玉数に一旦変換(計数)しなければ遊技の続行を許容しない等が考えられる。   Next, authentication from the first authentication sequence to the version management information response is performed using the authentication key immediately after the update, that is, the authentication key generated as a result of the first authentication sequence in FIG. 35 (specifically, the authentication key). If the generated authentication key (specifically, the authentication key) is abnormal, an alarm indicating that the authentication key update is abnormal is notified to the key management server 800 of the key management center. This is executed using a temporary authentication key from the authentication sequence. If these authentication results are appropriate, as described above, a timed operation process that is allowed only for a certain limited period (for example, two days) is performed, and business message communication with the gaming machine is performed only during that period. Is possible. When the timed operation period has passed, the host device (key management server 800 of the key management center) is notified, and the host device is in a standby state (waiting for reset) until reset processing starts. In the timed operation, the control content (game content) or the like may be limited instead of or in addition to the time limit. For example, it is conceivable that an upper limit is set for the number of game balls, and the continuation of the game is not allowed unless it is once converted (counted) into the number of possessed balls when the upper limit is added.

<暗号モードについて>
次に、図37〜図45に基づいて、SE2モードの暗号通信の詳細を説明する。このSE2モードの暗号通信は、通信制御IC325aとSC325bとの間で行なわれるが、その他に、CU制御部323とSC325bとの間、セキュリティ基板325とパチンコ機2の払出制御部171との間、パチンコ機2の払出制御部171と主制御基板16との間、主制御基板16と鍵管理サーバ803との間、CU制御部323とホールサーバ801や鍵管理サーバ800との間等においても、行なってもよい。さらには、遊技場に設置された各種機器、たとえばホール用管理コンピュータ1、ジェットカウンタ、カード発行装置、精算装置、景品交換装置(POS端末)等の間において、行なってもよい。
<About encryption mode>
Next, details of the SE2 mode encryption communication will be described with reference to FIGS. This encrypted communication in SE2 mode is performed between the communication control IC 325a and the SC 325b, but in addition, between the CU control unit 323 and the SC 325b, between the security board 325 and the payout control unit 171 of the pachinko machine 2, Between the payout control unit 171 and the main control board 16 of the pachinko machine 2, between the main control board 16 and the key management server 803, between the CU control unit 323, the hall server 801, and the key management server 800, etc. You may do it. Furthermore, it may be performed among various devices installed in the game hall, for example, the hall management computer 1, a jet counter, a card issuing device, a payment device, a gift exchange device (POS terminal), and the like.

まず図37を参照して、SE2モードの暗号化の仕組を説明する。図37の(a)は、SC325bから通信制御IC325aへの通信のときに使用されるSE2モードの暗号化および復号に用いられる下り用カウンタを示している。この下り用カウンタは、16バイトで構成され、8バイトからなる初期ベクタ部R1、7バイトからなる電文カウンタ部N、1バイトからなる暗号ブロックカウンタ部Iとで構成されている。   First, the SE2 mode encryption mechanism will be described with reference to FIG. FIG. 37 (a) shows a downlink counter used for SE2 mode encryption and decryption used in communication from the SC 325b to the communication control IC 325a. This down counter is composed of 16 bytes, and is composed of an initial vector portion R1 consisting of 8 bytes, a telegram counter portion N consisting of 7 bytes, and a cipher block counter portion I consisting of 1 byte.

初期ベクタ部の値(初期ベクタ値)R1は、通信制御IC325aからSC325bに対してカウンタ情報応答によって送信される。その結果、SC325bと通信制御IC325aとの間でこの初期ベクタ値R1の値が共有されることとなる。暗号ブロックカウンタ部Iと電文カウンタ部Nとは後述するように加算更新されるが、この初期ベクタ部の値R1は加算更新されることがない。   The value (initial vector value) R1 of the initial vector portion is transmitted from the communication control IC 325a to the SC 325b by a counter information response. As a result, the value of the initial vector value R1 is shared between the SC 325b and the communication control IC 325a. The cipher block counter unit I and the message counter unit N are added and updated as will be described later, but the value R1 of the initial vector unit is not added and updated.

電文カウンタ部Nおよび暗号ブロックカウンタ部Iの初期値は0である。このような下り用カウンタが、前述したように、互いに暗号通信を行なう機器(たとえばSC325bと通信制御IC325a)の間で共有されている。1ブロック(16バイト)ずつに分割された平文が1ブロックずつ暗号化される度に暗号ブロックカウンタ部Iがカウントアップされる。1回のコマンドまたはレスポンスで送信される電文の全てのブロックを暗号化したときに、該暗号文が送信されるとともに電文カウンタ部Nが「1」カウントアップされ、かつ暗号ブロックカウンタ部Iが「0」となる。このようなカウントアップ動作が繰返される。   The initial values of the message counter unit N and the cipher block counter unit I are 0. As described above, such a down counter is shared between devices (for example, the SC 325b and the communication control IC 325a) that perform cryptographic communication with each other. Each time plaintext divided into blocks (16 bytes) is encrypted one block at a time, the encryption block counter I is counted up. When all the blocks of a message transmitted with one command or response are encrypted, the encrypted message is transmitted, the message counter unit N is incremented by “1”, and the encrypted block counter unit I is set to “ 0 ". Such a count-up operation is repeated.

図37の(b)は、通信制御IC325aからSC325bへの通信に使用されるSE2モードの暗号化および復号に用いられる上り用カウンタを示している。この上り用カウンタは、上述した初期ベクタ部の値R1の代わりに初期ベクタ部の値R2を使用する。初期ベクタ部の値R2および上り用カウンタの構成については初期ベクタ部の値R1および下り用カウンタの構成の同様なため説明は繰返さない。   FIG. 37 (b) shows an upstream counter used for SE2 mode encryption and decryption used for communication from the communication control IC 325a to the SC 325b. This up counter uses the value R2 of the initial vector portion instead of the value R1 of the initial vector portion described above. Since the initial vector portion value R2 and the up counter configuration are the same as the initial vector portion value R1 and the down counter configuration, description thereof will not be repeated.

図37の(c)を参照して、SE2モードによるブロック暗号の仕組を説明する。図37の(c)では、SC325bから通信制御IC325aへの通信のときの例を示しており、1回のコマンドまたはレスポンスで送信される電文が平文1〜3の3ブロックにより構成されている例を示す。まず送信対象となる平文のデータ(図8×参照)を16バイト毎のブロックの平文(平文1、平文2、…)に分割する。そして、現在の下り用カウンタの値R1,N,0を、鍵Kを用いて暗号化する。この鍵Kは、基板初期鍵、認証鍵または通信鍵(セッション鍵)である。そして、暗号化された値(16バイト)と平文1のブロック(16バイト)とでエクスクルーシブオア(排他的論理和)の演算を行なう。その演算結果が暗号文1(16バイト)となる。なお、ここでは、エクスクルーシブオア(排他的論理和)を用いた暗号化の方法を説明したが、他の論理演算を使用して暗号化を行ってもよい。   With reference to (c) of FIG. 37, the structure of the block cipher by SE2 mode is demonstrated. FIG. 37 (c) shows an example of communication from the SC 325b to the communication control IC 325a, and an example in which a message transmitted with one command or response is composed of three blocks of plain texts 1-3. Indicates. First, the plaintext data to be transmitted (see FIG. 8 ×) is divided into 16-byte blocks of plaintext (plaintext 1, plaintext 2,...). Then, the current downstream counter values R1, N, 0 are encrypted using the key K. The key K is a board initial key, an authentication key, or a communication key (session key). Then, an exclusive OR (exclusive OR) operation is performed on the encrypted value (16 bytes) and the plaintext 1 block (16 bytes). The calculation result is ciphertext 1 (16 bytes). Although the encryption method using exclusive OR (exclusive OR) has been described here, the encryption may be performed using other logical operations.

次の平文2を暗号化するときには、下り用カウンタが「1」加算更新される。その結果、下り用カウンタの値はR1,N,1となる。この値を前述と同様に鍵Kで暗号化し、その暗号結果のデータと平文2とでエクスクルーシブオア(排他的論理和)の演算を行ない、暗号文2を生成する。   When the next plaintext 2 is encrypted, the downstream counter is updated by adding “1”. As a result, the value of the down counter is R1, N, 1. This value is encrypted with the key K in the same manner as described above, and an exclusive OR (exclusive OR) operation is performed on the encrypted result data and the plaintext 2 to generate a ciphertext 2.

次の平文3を暗号化する際には、さらに下り用カウンタの値が「1」加算更新され、その値がR1,N,2となる。この値を鍵Kで暗号化してその暗号結果の値と平文3とでエクスクルーシブオア(排他的論理和)の演算を行ない、暗号文3を生成する。以上の平文1〜3の3ブロックにより1回のコマンドまたはレスポンスで送信される電文の全フレームが構成されており、この平文1〜3を暗号化することにより、該暗号文が送信されるとともに電文カウンタ部Nが「1」カウントアップされ、かつ暗号ブロックカウンタ部Iが「0」となる。   When the next plaintext 3 is encrypted, the value of the down counter is further updated by adding “1”, and the values become R1, N, and 2. This value is encrypted with the key K, and an exclusive OR (exclusive OR) operation is performed on the value of the encryption result and the plaintext 3 to generate the ciphertext 3. The above three blocks of plaintexts 1 to 3 constitute all frames of a message transmitted by a single command or response. By encrypting these plaintexts 1 to 3, the ciphertext is transmitted. The message counter unit N is incremented by “1”, and the cipher block counter unit I becomes “0”.

よって、次に送信するコマンドまたはレスポンスの平文1を暗号化する際に、カウンタの値が{R1,N+1,I=0」となる。その値を鍵Kで暗号化した値と平文1とでエクスクルーシブオア(排他的論理和)の演算を行ない、暗号文4を生成する。   Therefore, when the plaintext 1 of the command or response to be transmitted next is encrypted, the value of the counter becomes {R1, N + 1, I = 0 ”. An exclusive OR (exclusive OR) operation is performed on the value obtained by encrypting the value with the key K and the plaintext 1 to generate a ciphertext 4.

以降、平文2、平文3、…と随時カウンタの値を加算更新しつつ暗号化していく。
下り用カウンタを用いて暗号化の仕組を説明したが、上り用カウンタにおいてもその仕組みは同様であるため説明は繰返さない。
Thereafter, encryption is performed while adding and updating the values of the plaintext 2, plaintext 3,.
Although the encryption mechanism has been described using the down counter, the mechanism is the same in the up counter, and the description thereof will not be repeated.

次に、図38に基づいて復号処理を説明する。暗号文の受信側においては、受信した1ブロックの暗号文1(16バイト)を復号する際に、まず下り用カウンタの値(R1,N,0)を鍵Kで暗号化し、その暗号化された値と暗号文1とでエクスクルーシブオア(排他的論理和)を演算して復号し、平文1を得る。   Next, the decoding process will be described with reference to FIG. When the received ciphertext 1 (16 bytes) is decrypted, the ciphertext receiving side first encrypts the value (R1, N, 0) of the down counter with the key K, and encrypts it. A plaintext 1 is obtained by calculating an exclusive OR (exclusive OR) between the obtained value and the ciphertext 1.

エクスクルーシブオア(排他的論理和)の演算の特質として、バイナリデータ(2進数のデータ)に対して或る2進数の値(Aという)でエクスクルーシブオアの演算を行ない、その演算結果のデータに対してさらに同じ2進数の値(A)でエクスクルーシブオアの演算を行なえば、1回目のエクスクルーシブオアの演算を行なう前の元のバイナリデータに戻る性質がある。このSE2モードの暗号,復号処理は、このようなエクスクルーシブオアの特質を利用して暗号化および復号処理を行なっている。   As a characteristic of exclusive-or (exclusive OR) operation, an exclusive-or operation is performed on binary data (binary data) with a certain binary value (referred to as A), and the result data is calculated. If the exclusive OR operation is further performed with the same binary value (A), the original binary data before the first exclusive OR operation is restored. The SE2 mode encryption / decryption processing is performed using such exclusive OR characteristics.

2ブロック目の暗号文2(16バイト)を復号する際には、カウンタの値が「1」加算更新される。その結果、カウンタの値がR1,N,1となり、そのR1,N,1を鍵Kで暗号化して、その結果の値と暗号文2とでエクスクルーシブオアの演算を行なって復号し、平文2を生成する。   When decrypting the ciphertext 2 (16 bytes) of the second block, the counter value is updated by adding “1”. As a result, the value of the counter becomes R1, N, 1, and the R1, N, 1 is encrypted with the key K, the exclusive value is calculated with the resulting value and the ciphertext 2 and decrypted, and the plaintext 2 Is generated.

同様に、暗号文3を復号する際にもカウンタの値が「1」加算更新される。この復号の際のカウンタの加算更新方法も、暗号化の場合と同様に、1回のコマンドまたはレスポンスで送信される電文の各ブロックを復号する毎に暗号ブロックカウンタ部Iが「1」ずつカウントアップされ、1回のコマンドまたはレスポンスで送信されてきた電文の全ブロックの復号が完了したときに電文カウンタ部Nが「1」加算更新されるとともにIの値がゼロクリアされる。   Similarly, when the ciphertext 3 is decrypted, the counter value is updated by “1”. As with the case of encryption, the counter update method at the time of decryption also counts “1” by the encryption block counter I every time each block of a message transmitted with one command or response is decrypted. When the decryption of all the blocks of the message transmitted by one command or response is completed, the message counter unit N is updated by adding “1” and the value of I is cleared to zero.

通信制御IC325aからSC325bへの通信に使用されるSE2モードの暗号化および復号に用いられる上り用カウンタの場合についても下り用カウンタと同様なため説明は繰返さない。   The case of the up counter used for SE2 mode encryption and decryption used for communication from communication control IC 325a to SC 325b is similar to the down counter and will not be described repeatedly.

以上説明したように、SE1モードの場合は、平文Mに対して同じデータ長の鍵でエクスクルーシブオアの演算を行なって暗号化し、その暗号文に対して同じデータ長の鍵でエクスクルーシブオアの演算を行なって復号しているだけのため、平文Mに対してエクスクルーシブオアの演算を行なうデータ(鍵)が一定で変化しないものであるため、それほど高いセキュリティは望めない。しかし、SE2モードの場合は、平文Mに対してエクスクルーシブオアの演算を行なうデータ(カウンタの値としての鍵)が更新されて変化するものであるため、高いセキュリティを期待することができる。   As described above, in the SE1 mode, the plaintext M is encrypted by performing an exclusive OR operation with the same data length key, and the ciphertext is subjected to the exclusive OR operation with the same data length key. Since the data (key) for performing the exclusive OR operation on the plaintext M is constant and does not change because it is only decrypted in line, high security cannot be expected. However, in the SE2 mode, data for performing an exclusive OR operation on the plaintext M (a key as a counter value) is updated and changed, so that high security can be expected.

次に、図39〜図43に基づいて、SC325bと通信制御IC325aとの間でのコマンドとレスポンスとの実際の暗号通信の動作を説明する。図39は暗号通信文を受信した受信側において適正に復号された場合の定常時における暗号通信が示されている。図40は、通信制御IC325aからSC325bへのレスポンスが到達しなかった場合の異常時の処理が示されている。図41は、SC325bから通信制御IC325aへのコマンドが到達しなかった場合の異常時の処理が示されている。図42は、図40に示したレスポンス未到達の異常時における変形例の処理が示されている。図43は、図41に示したコマンド未到達の異常時処理における変形例が示されている。   Next, based on FIGS. 39 to 43, the operation of the actual encrypted communication between the command and response between the SC 325b and the communication control IC 325a will be described. FIG. 39 shows the cipher communication in the steady state when the receiving side that has received the cipher communication text is properly decrypted. FIG. 40 shows processing at the time of abnormality when the response from the communication control IC 325a to the SC 325b has not arrived. FIG. 41 shows a process at the time of abnormality when a command from the SC 325b to the communication control IC 325a has not arrived. FIG. 42 shows a process of a modified example at the time of an abnormality that has not reached the response shown in FIG. FIG. 43 shows a modified example of the abnormal process for not reaching the command shown in FIG.

以下、図39〜図43の暗号化処理を説明するが、SC325bから通信制御IC325aへの暗号化通信を行なうときは初期ベクタ部の値R1の下り用カウンタが使用され、通信制御IC325aからSC325bへの暗号化通信を行なうときは初期ベクタ部の値R2の上り用カウンタが使用される。   In the following, the encryption processing of FIGS. 39 to 43 will be described. When performing encrypted communication from the SC 325b to the communication control IC 325a, the down counter for the value R1 of the initial vector portion is used, and from the communication control IC 325a to the SC 325b. When the encrypted communication is performed, the upstream counter of the value R2 of the initial vector portion is used.

まず図39に基づいて正常時の処理を説明する。SC325bと通信制御IC325aとの間での動作指示およびレスポンスとして、データ長が48バイトの倍数の一例の96バイトのものを取り上げて説明する。   First, normal processing will be described with reference to FIG. An operation instruction and response between the SC 325b and the communication control IC 325a will be described by taking a 96-byte data length as an example of a multiple of 48 bytes.

図39を参照して、SC325bでは、96バイトの平文を16バイト毎の6つのブロックに分割し、各ブロックの平文1〜6を1つずつ暗号化する。最初のブロックである平文1は、下り用カウンタの値がR1,N,0となっており、そのカウンタの値を前述したように暗号化し、その暗号化された値と平文1とでエクスクルーシブオアの演算を行なって暗号文1を生成する。同様に、暗号文2の生成に際してはR1,N,1の下り用カウンタの値を用い、暗号文2の生成に際してはR1,N,2の下り用カウンタの値を用い、暗号文4の生成に際してはR1,N,3の下り用カウンタの値を用い、暗号文5の生成に際してはR1,N,4の下り用カウンタの値を用い、暗号文6の生成に際してはR1,N,5の下り用カウンタの値を用いる。   Referring to FIG. 39, SC325b divides a 96-byte plaintext into six blocks of 16 bytes, and encrypts plaintexts 1 to 6 of each block one by one. The first block, plaintext 1, has downstream counter values R1, N, 0. The counter value is encrypted as described above, and the encrypted value and plaintext 1 are used for exclusive OR. The ciphertext 1 is generated by performing the above operation. Similarly, when the ciphertext 2 is generated, the downstream counter values R1, N, 1 are used, and when the ciphertext 2 is generated, the downstream counter values R1, N, 2 are used to generate the ciphertext 4. At this time, the values of the down counters R1, N, and 3 are used, when the ciphertext 5 is generated, the values of the down counters R1, N, and 4 are used, and when the ciphertext 6 is generated, the values of R1, N, and 5 The value of the down counter is used.

この6つのブロックからなる暗号文1〜6を受信した通信制御IC325aでは、図38で説明したようにカウンタの値を更新しながら随時暗号文を復号して平文を生成する。復号開始時の下り用カウンタの値すなわち最初の暗号文1を復号するのに用いるカウンタの値がR1,N,0となっており、その値を暗号化してその暗号化した値と暗号文1とのエクスクルーシブオアを演算して復号し、平文1を生成する。同様に、暗号文2、暗号文3、暗号文4、暗号文5、暗号文6も、随時暗号ブロックカウンタ部の値を「1」ずつ加算更新し、復号処理を行なう。具体的には、暗号文2に対してはR1,N,1の下り用カウンタ値を用い、暗号文3に対してはR1,N,2の下り用カウンタ値を用い、暗号文4に対してはR1,N,3の下り用カウンタ値を用い、暗号文5に対してはR1,N,4の下り用カウンタ値を用い、暗号文6に対してはR1,N,5の下り用カウンタ値を用いて復号する。   The communication control IC 325a that has received the ciphertexts 1 to 6 consisting of these six blocks generates plaintext by decrypting the ciphertext at any time while updating the counter value as described in FIG. The value of the down counter at the start of decryption, that is, the value of the counter used for decrypting the first ciphertext 1 is R1, N, 0, and the encrypted value and ciphertext 1 are encrypted. Is calculated and decrypted, and plaintext 1 is generated. Similarly, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are also updated by incrementing the value of the cipher block counter unit by “1” at any time. Specifically, for ciphertext 2, the downstream counter values R1, N, 1 are used, for ciphertext 3, the downstream counter values R1, N, 2 are used, and for ciphertext 4, R1, N, 3 downstream counter values, ciphertext 5 uses R1, N, 4 downstream counter values, and ciphertext 6 uses R1, N, 5 downstream counter values. Decoding is performed using the counter value.

次に通信制御IC325aがレスポンスを暗号化してSC325bへ送信する。その際に、通信制御IC325aは上り用カウンタを用いるため「R2,N,0」のカウンタ値が最初に用いられる。この上り用カウンタのカウンタ値を暗号化してその暗号化された値とレスポンスの最初の平文1とでエクスクルーシブオアの演算を行ない暗号文1を生成する。次に通信制御IC325aは、暗号ブロックカウンタ部を「1」加算更新してR2,N+1,1の値を用いて暗号文2を生成する。同様に、暗号ブロックカウンタ部を「1」ずつ加算更新しながら、暗号文3、暗号文4、暗号文5、暗号文6を生成し、それら暗号文からなるレスポンスをSC325bへ送信する。   Next, the communication control IC 325a encrypts the response and transmits it to the SC 325b. At this time, since the communication control IC 325a uses an upstream counter, the counter value “R2, N, 0” is used first. The counter value of the upstream counter is encrypted, and an exclusive OR operation is performed on the encrypted value and the first plaintext 1 of the response to generate a ciphertext 1. Next, the communication control IC 325a updates the cipher block counter unit by adding “1” and generates the ciphertext 2 using the values of R2, N + 1, and 1. Similarly, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are generated while incrementing and updating the cipher block counter unit by “1”, and a response including these ciphertexts is transmitted to SC 325b.

この6つのブロックからなる暗号文1〜6を受信したSC325bでは、図38で説明したようにカウンタの値を更新しながら随時暗号文を復号して平文を生成する。復号開始時の上り用カウンタの値すなわち最初の暗号文1を復号するのに用いるカウンタの値がR2,N,0となっており、その値を暗号化してその暗号化した値と暗号文1とのエクスクルーシブオアを演算して復号し、平文1を生成する。そして、前述と同様に、暗号ブロックカウンタ部を随時加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時復号して平文2、平文3、平文4、平文5、平文6を生成する。   The SC 325b that receives the cipher texts 1 to 6 including the six blocks generates plain text by decrypting the cipher text at any time while updating the counter value as described with reference to FIG. The value of the upstream counter at the start of decryption, that is, the value of the counter used to decrypt the first ciphertext 1 is R2, N, 0, and the encrypted value and the ciphertext 1 are encrypted. Is calculated and decrypted, and plaintext 1 is generated. As described above, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted at any time while the cipher block counter is added and updated as needed, and the plaintext 2, plaintext 3, plaintext 4, Plaintext 5 and plaintext 6 are generated.

次回以降は、通信制御IC325aでは、前回受信した暗号文の復号に用いた電文カウンタ部の値「N」に対して「1」加算更新し、R1,N+1,0のカウンタ値を用いて、レスポンスの最初の暗号文1を復号する。そして、前述と同様に、暗号ブロックカウンタ部を随時加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時復号して平文2、平文3、平文4、平文5、平文6を生成する。   From the next time on, the communication control IC 325a updates “N” added to the value “N” of the message counter unit used for decrypting the ciphertext received last time, and uses the counter values of R1, N + 1, 0 as a response. The first ciphertext 1 is decrypted. As described above, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted at any time while the cipher block counter is added and updated as needed, and the plaintext 2, plaintext 3, plaintext 4, Plaintext 5 and plaintext 6 are generated.

また、SC325bでは、前回受信した暗号文の復号に用いた電文カウンタ部の値「N」に対して「1」加算更新し、R2,N+1,0のカウンタ値を用いて、レスポンスの最初の暗号文1を復号する。そして、前述と同様に、暗号ブロックカウンタ部を随時加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時復号して平文2、平文3、平文4、平文5、平文6を生成する。   In SC325b, “1” is added and updated to the value “N” of the message counter unit used for decrypting the ciphertext received last time, and the first cipher of the response is used by using the counter values of R2, N + 1, 0. Decrypt sentence 1. As described above, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted at any time while the cipher block counter is added and updated as needed, and the plaintext 2, plaintext 3, plaintext 4, Plaintext 5 and plaintext 6 are generated.

このような方法により、SC325bと通信制御IC325aとの間で、下り用カウンタ、上り用カウンタをそれぞれ用い、送信データの暗号化および受信データの復号処理を行なう。   By such a method, transmission data encryption and reception data decryption processing are performed between the SC 325b and the communication control IC 325a using the down counter and the up counter, respectively.

次に図40を参照して、通信制御IC325aからSC325bへのレスポンスが到達しなかった異常時における処理を説明する。まずSC325bから通信制御IC325aへ6ブロックの暗号文1〜6からなるコマンドが送信される。その各ブロックに用いられる下り用カウンタのカウンタの値は、最初がR1,N,0であり、暗号ブロックカウンタ部が「1」ずつ加算されて最後の値がR1,N,5となっている。この暗号文を受信した通信制御IC325aは、暗号開始時のカウンタ値R1,N,0を用いてまず暗号文1を復号して平文1を生成する。次に暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時暗号ブロックカウンタ部を加算更新しながら復号して平文2、平文3、平文4、平文5、平文6を生成する。   Next, with reference to FIG. 40, a description will be given of processing in the event of an abnormality when the response from the communication control IC 325a to the SC 325b has not reached. First, a command composed of 6 blocks of ciphertexts 1 to 6 is transmitted from the SC 325b to the communication control IC 325a. The counter value of the down counter used for each block is initially R1, N, 0, and the encryption block counter unit is incremented by “1”, and the final value is R1, N, 5. . The communication control IC 325a that has received the ciphertext first decrypts the ciphertext 1 using the counter values R1, N, 0 at the start of ciphering to generate plaintext 1. Next, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted by adding and updating the cipher block counter unit as needed to obtain plaintext 2, plaintext 3, plaintext 4, plaintext 5, and plaintext 6. Generate.

そして通信制御IC325aは、上り用カウンタのカウンタ値である「R2,N,0」の値を用いて、レスポンスの最初のブロックの平文1を暗号化して暗号文1を生成する。次に暗号ブロックカウンタ部の値を「1」ずつ加算更新して暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してSC325bへ送信する。その暗号文1〜6からなるレスポンスがSC325bに到達しなかった場合には、SC325bは、前回送信したコマンドと同じコマンドのデータを通信制御IC325aへ再送信する。その再送信された暗号文を通信制御IC325aが復号する際に、通信制御IC325aの前回受信した暗号文の復号に用いた電文カウンタ部の値がNであるために、今回復号するに際して、最初に用いる下り用カウンタのカウンタの値として「R1,N+1,0」が用いられることとなる。   Then, the communication control IC 325a generates the ciphertext 1 by encrypting the plaintext 1 of the first block of the response using the value “R2, N, 0” that is the counter value of the up counter. Next, the value of the cipher block counter unit is incremented by “1” to generate ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 and transmit them to SC 325b. When the response composed of the ciphertexts 1 to 6 does not reach the SC 325b, the SC 325b retransmits the same command data as the previously transmitted command to the communication control IC 325a. When the communication control IC 325a decrypts the retransmitted ciphertext, since the value of the message counter unit used for decrypting the ciphertext previously received by the communication control IC 325a is N, “R1, N + 1, 0” is used as the counter value of the down counter to be used.

通信制御IC325aでは、カウンタ値R1,N+1,0を用いてまず暗号文1を復号して平文1を生成する。次に暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時暗号ブロックカウンタ部を加算更新しながら復号して平文2、平文3、平文4、平文5、平文6を生成する。   In the communication control IC 325a, the ciphertext 1 is first decrypted using the counter values R1, N + 1, 0 to generate plaintext 1. Next, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted by adding and updating the cipher block counter unit as needed to obtain plaintext 2, plaintext 3, plaintext 4, plaintext 5, and plaintext 6. Generate.

次に通信制御IC325aは、前回の暗号文の生成に用いた電文カウンタ部の値「N」に対して「1」加算更新し、R2,N+1,0のカウンタ値を用いて、レスポンスの最初のブロックの平文1を暗号化して暗号文1を生成する。次に暗号ブロックカウンタ部の値を「1」ずつ加算更新して暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してSC325bへ送信する。   Next, the communication control IC 325a adds and updates “1” to the value “N” of the message counter unit used for the previous ciphertext generation, and uses the counter values of R2, N + 1, 0 to start the first response. The ciphertext 1 is generated by encrypting the plaintext 1 of the block. Next, the value of the cipher block counter unit is incremented by “1” to generate ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 and transmit them to SC 325b.

SC325bでは、前回の通信制御IC325aからのレスポンスを受信していないため、その前回のレスポンスの復号のためのカウンタ値「R2,N,0」を用いて復号しようと試みる。しかし、その暗号文1は、カウンタの値「R2,N+1,0」を用いて暗号化されたデータであり、SC325bの復元開始のカウンタ値が「R2,N,0」であるため、このカウンタ値を用いて復号を試みても、正しい平文に復号することができず復号失敗となる。   In SC325b, since the response from the previous communication control IC 325a has not been received, an attempt is made to decode using the counter value “R2, N, 0” for decoding the previous response. However, the ciphertext 1 is data encrypted using the counter value “R2, N + 1, 0”, and the counter value for starting restoration of SC325b is “R2, N, 0”. Even if decryption is attempted using the value, decryption fails because the plaintext cannot be decrypted correctly.

正しい平文に復号することができたか否かの判断は、MACによる一般的なチェックに基づいて行なう。簡単に説明すると、SC325bでは、最初のカウンタ値であるR2,N,0を鍵で暗号化してその値と最初の暗号文1とのエクスクルーシブオアを演算する。このような復号処理を、カウンタ値を「1」加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6について順次実行し、その処理結果のデータに含まれているMACのデータを用いてMACチェックを行なう。具体的には、復号処理結果のデータからMACアルゴリズムに従ってMACを生成し、その生成されたMACと通信制御IC325aからの送信データに含まれているMACのデータとを比較し、一致するか否かチェックする。正常に復号されておれば一致するが、この場合には、復号に用いられるカウンタの値が狂っているために、正常に復号されておらず、MACチェックの結果両者が一致しないと判定されてMAC異常すなわち復号失敗と判定される。   The determination as to whether or not decryption into correct plaintext has been made is based on a general check by the MAC. Briefly, in SC325b, the first counter value R2, N, 0 is encrypted with the key, and the exclusive OR between the value and the first ciphertext 1 is calculated. Such decryption processing is sequentially executed for ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 while updating the counter value by “1”, and is included in the data of the processing result. MAC check is performed using the data of the existing MAC. Specifically, the MAC is generated from the data of the decoding processing result according to the MAC algorithm, and the generated MAC is compared with the MAC data included in the transmission data from the communication control IC 325a to determine whether or not they match. To check. If they are decoded correctly, they match, but in this case, the value of the counter used for decoding is out of order. It is determined that the MAC is abnormal, that is, decoding has failed.

このようなMAC異常すなわち復号失敗と判定された場合には、SC325bでは、その狂ったカウンタ値を正しいカウンタ値に修復する修復処理が実行される。SC325bでは、復号失敗と判断された暗号文の復号に最初に用いられた復号開始時のカウンタ値である「R2,N,0」に対して、その電文カウンタ部Nの値を「1」ずつ減算更新しながら順次その減算されたカウンタ値を用いて順次暗号文の復号処理を行なって前述のMACチェックを行ない、正しく復号されたか否かの判断を行なう。このカウンタ値の減算処理を所定回数行なってもMACチェックの結果MAC異常と判定された場合に、SC325bは、次に、復号開始時のカウンタ値である「R2,N,0」に対してその電文カウンタ部Nを「1」ずつ加算更新して順次その加算されたカウンタ値を用いた復号処理を行なってMACチェックを行なう。そしてMACチェックで適正と判断されて復号成功と判断された場合には、その復号が成功した平文を適正なコマンドとして取り込む。そして、復号成功と判断されたときに用いた電文カウンタ部のカウンタ値を次のレスポンスデータの最初の平文1の暗号化に用いる。   When it is determined that such a MAC abnormality, that is, a decoding failure, the SC 325b executes a repair process for repairing the incorrect counter value to a correct counter value. In SC325b, the value of the message counter unit N is incremented by “1” for “R2, N, 0” that is the counter value at the start of decryption that was first used for decryption of the ciphertext determined to be decryption failure. While subtracting and updating, the ciphertext is sequentially decrypted using the subtracted counter value and the above-described MAC check is performed to determine whether or not the decryption has been correctly performed. If it is determined that the MAC is abnormal as a result of the MAC check even if the counter value is subtracted a predetermined number of times, the SC 325b then applies the counter value “R2, N, 0” at the start of decoding to that value. The message counter unit N is incremented and updated by “1”, and the decryption process is sequentially performed using the added counter value to perform the MAC check. If the MAC check determines that the decryption is successful and the decryption is successful, the plaintext successfully decrypted is fetched as a proper command. Then, the counter value of the message counter used when it is determined that the decryption is successful is used to encrypt the first plaintext 1 of the next response data.

この図40の場合には、復号開始時のカウンタ値である「R2,N,0」から電文カウンタ部Nを1回加算更新したカウンタ値「R2,N+1,0」を用いて復号することにより、MAC正常と判断されて復号成功と判断されることとなる。   In the case of FIG. 40, decryption is performed by using the counter value “R2, N + 1, 0” obtained by adding and updating the message counter unit N once from “R2, N, 0” which is the counter value at the start of decryption. Therefore, it is determined that the MAC is normal and that decoding is successful.

その復号成功と判断されたときに用いた電文カウンタ部の値NのR2,N+1,0のカウンタ値の電文カウンタ部の値を「1」ずつ加算更新したカウンタ値R1,N+2,0を用いて次に送信するレスポンスの最初の平文1を暗号化して暗号文1を生成する。次に「1」ずつ暗号ブロックカウンタ部を加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成して通信制御IC325aへ送信する。   Using the counter values R1, N + 2, 0 obtained by adding and updating the value of the message counter part of the counter value R2, N + 1, 0 of the value N of the message counter part used when it was determined that the decryption was successful. Next, ciphertext 1 is generated by encrypting the first plaintext 1 of the response to be transmitted. Next, ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are sequentially generated while adding and updating the cipher block counter unit by “1” and transmitted to the communication control IC 325a.

それを受けた通信制御IC325aでは、「R1,N+2,0」のカウンタ値を用いて、受信した暗号文の最初の暗号文1を復号する。最初の暗号文1はカウンタ値「R1,N+2,0」のカウンタ値を用いて暗号化されたものであるために、同じカウンタ値を用いて適正に復号することが可能である。そして通信制御IC325aは、その暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号する。   In response to this, the communication control IC 325a uses the counter value “R1, N + 2, 0” to decrypt the first ciphertext 1 of the received ciphertext. Since the first ciphertext 1 is encrypted using the counter value “R1, N + 2, 0”, it can be properly decrypted using the same counter value. Then, the communication control IC 325a sequentially decrypts the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 while adding and updating the cipher block counter unit by “1”.

前述したカウンタの修復処理におけるカウンタ値への減算回数は、レスポンス未到達時におけるSC325bが動作コマンドの再送信(リトライ)を行なうリトライ回数に一致する。本実施の形態の場合には、そのリトライ回数は2回が限度であり、その2回のリトライに起因して生ずるカウンタ値の狂い以上に電文カウンタ部Nの減算更新を行なう必要はない。よって、2回を限度にカウンタ値の減算更新あるいは加算更新が行なわれる。   The number of subtractions to the counter value in the counter repair process described above matches the number of retries that the SC 325b retransmits (retrys) the operation command when no response has been reached. In the case of the present embodiment, the number of retries is limited to two, and it is not necessary to perform subtraction update of the telegram counter unit N beyond the counter value error caused by the two retries. Therefore, the counter value is subtracted or updated up to twice.

次に図41に基づいて、SC325bから通信制御IC325aへのコマンドが未到達の異常時における処理を説明する。まずSC325bがカウンタ値R1,N,0〜R1,N,5を用いて暗号文1〜暗号文6の6ブロックの暗号文を生成して通信制御IC325aへ送信する。しかし、その暗号文が通信制御IC325aへ到達しなかった場合には、SC325bは同じ内容のコマンドを再び暗号化して通信制御IC325aへ再送信するというリトライを試みる。この再送信時における暗号化に用いられる電文カウンタ部は、前回のコマンドの送信時に暗号化に用いた電文カウンタ部の値Nに「1」を加算したN+1が用いられる。よって、「R1,N+1,0」のカウンタ値を用いてSC325bは再送信するコマンドの最初の平文1のブロックを暗号化して暗号文1を生成する。次に、SC325bは、その暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2,暗号文3,暗号文4,暗号文5,暗号文6を生成して通信制御IC325aへ再送信する。   Next, based on FIG. 41, the process at the time of abnormality when the command from the SC 325b to the communication control IC 325a has not reached will be described. First, the SC 325b generates 6 blocks of ciphertext 1 to 6 using the counter values R1, N, 0 to R1, N, and 5 and transmits them to the communication control IC 325a. However, when the ciphertext does not reach the communication control IC 325a, the SC 325b attempts to retry by encrypting the same command again and retransmitting it to the communication control IC 325a. As the message counter unit used for encryption at the time of retransmission, N + 1 obtained by adding “1” to the value N of the message counter unit used for encryption at the time of transmission of the previous command is used. Therefore, using the counter value “R1, N + 1, 0”, SC 325b encrypts the first plaintext 1 block of the command to be retransmitted to generate ciphertext 1. Next, the SC 325b sequentially generates the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 while adding and updating the cipher block counter unit by “1” and retransmits it to the communication control IC 325a. To do.

しかしその再送信された暗号文も通信制御IC325aへ到達しなかった場合には、SC325bは、再度同じ内容のコマンドを暗号化して通信制御IC325aへ再送信するという2回目のリトライを試みる。この2回目のリトライで送信されたコマンドが通信制御IC325aへ到達し、通信制御IC325aは、その暗号文の復号を試みる。   However, if the retransmitted ciphertext does not reach the communication control IC 325a, the SC 325b attempts a second retry of encrypting a command having the same content and retransmitting it to the communication control IC 325a. The command transmitted in the second retry reaches the communication control IC 325a, and the communication control IC 325a attempts to decrypt the ciphertext.

通信制御IC325aは、SC325bへ前回受信したコマンドの復号に用いた最後のカウンタ値に対して「1」加算更新した値である「R1,N,0」を用いて暗号文の最初のブロックを復号する処理を行ない、そのカウンタ値「R1,N,0」に対して暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6の復号を試みる。   The communication control IC 325a decrypts the first block of the ciphertext by using “R1, N, 0” that is a value obtained by adding “1” to the last counter value used for decrypting the command previously received by the SC 325b. The ciphertext counter 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext are sequentially added to the counter value “R1, N, 0” while updating the cipher block counter by “1”. Attempt 6 decoding.

しかし、SC325bの2回に亘ってのリトライの結果、SC325b側のカウンタ値と通信制御IC325a側のカウンタ値とが狂っているために、適正な平文に復号することができず、前述したMACチェックの結果MAC異常となり復号失敗と判断される。   However, as a result of the retry of SC325b twice, the counter value on the SC325b side and the counter value on the communication control IC 325a side are out of order. As a result, the MAC becomes abnormal and it is determined that decoding has failed.

すると通信制御IC325aは、前述と同様に、狂ったカウンタの修復処理を行なう。復号失敗と判断された暗号文に対して最初に用いたカウント値である「R1,N,0」に対して、電文カウンタ部Nを「1」ずつ減算更新しながら順次再送信されてきた暗号文の復号を試みてMACチェックを行なう。この減算更新の実行回数は、前述したように、リトライ回数である2回を限度に実行される。この2回に亘ってのカウンタ値の減算更新による復号を試みたとしても復号に成功しなかった場合には、通信制御IC325aは、カウンタ値「R1,N,0」の電文カウンタ部に対して「1」ずつ加算更新しながら順次暗号文を復号する処理を試みる。この加算更新を試みる回数は、コマンド未到達時におけるSC325bによる再送信を実行するリトライ回数に一致する。本実施の形態においては、2回を限度にリトライを行なう。その結果、カウンタ値の加算更新は、リトライ回数である2回を限度に加算更新される。   Then, the communication control IC 325a performs a repair process for the mad counter, as described above. The ciphertext that has been retransmitted sequentially while subtracting and updating the message counter unit N by “1” with respect to “R1, N, 0”, which is the count value that was first used for the ciphertext determined to be decryption failure Attempt to decrypt the sentence and perform MAC check. As described above, the number of subtraction updates is limited to two, which is the number of retries. If the decryption is not successful even when the counter value is subtracted and updated twice, the communication control IC 325a determines the counter value “R1, N, 0” for the message counter unit. Attempts to sequentially decrypt the ciphertext while incrementing and updating “1”. The number of attempts for this addition update coincides with the number of retries for performing retransmission by the SC 325b when the command has not been reached. In the present embodiment, the retry is performed twice. As a result, the counter value is added and updated up to two times that is the number of retries.

そして、2回目の加算更新の結果カウンタ値が「R1,N+2,0」となり、このカウンタ値を用いて暗号文1を復号し、順次暗号ブロックカウンタ部の加算更新を行ないながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号することにより、適正な平文に復号することができ、MACチェックの結果適正と判断されて復号成功と判断される。その復号成功と判断された平文のコマンドを通信制御IC325aが取り込む。そしてそれに対するレスポンスのデータを暗号化してSC325bへ送信する。その暗号化に際しては、復号成功と判断された復号処理に用いられた電文カウンタ部の値「N+2」と異なり、最初に用いたカウント値である「R2,N,0」の「N」の値を用いる。よって、「R2,N,0」を用いて最初のブロックを暗号化して暗号文1を生成する。次に、暗号ブロックカウンタ部のカウント値を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してSC325bへ送信する。SC325bは、「R2,N,0」を用いて暗号文の最初のブロックを復号する処理を行ない、そのカウンタ値「R2,N,0」に対して暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6の復号を試みる。   As a result of the second addition update, the counter value becomes “R1, N + 2, 0”, and the ciphertext 1 is decrypted using this counter value, and the ciphertext 2 and the ciphertext are sequentially updated while performing the addition update of the cipher block counter unit. By decrypting the sentence 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6, it can be decrypted into an appropriate plain text, and as a result of the MAC check, it is determined to be appropriate and it is determined that the decryption is successful. The communication control IC 325a captures a plaintext command that is determined to be successful. Then, the response data corresponding thereto is encrypted and transmitted to the SC 325b. At the time of the encryption, unlike the value “N + 2” of the message counter unit used for the decryption process determined to be successful, the value “N” of “R2, N, 0” which is the count value used first. Is used. Therefore, ciphertext 1 is generated by encrypting the first block using “R2, N, 0”. Next, the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are sequentially generated while incrementing and updating the count value of the cipher block counter unit by “1” and transmitted to the SC 325b. The SC 325b performs the process of decrypting the first block of the ciphertext using “R2, N, 0”, and adds and updates the cipher block counter unit by “1” to the counter value “R2, N, 0”. While trying to decrypt the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5 and the ciphertext 6 in sequence.

次に、図42に基づいてレスポンス未到達時の異常時における処理の変形例を説明する。この図42は、前述した図40に対する変形例であり、ここでは主に相違点について説明する。通信制御IC325aからSC325bへのレスポンスが未到達の場合にSC325bは前回と同じコマンドを再送信するリトライを実行する。そのリトライによって再送信されたコマンド(暗号文)が通信制御IC325aに到達した場合に、図40と同様に、SC325bと通信制御IC325aとの間でのカウンタの値が食い違っている。その結果、通信制御IC325aにおいてその暗号文の復号を試みた場合にMACチェックの結果MAC異常となり復号失敗と判断される。この変形例においては、その復号失敗のときに復号不能と判断して復号エラーのコマンドを通信制御IC325aへ送信する。その際に、SC325bでは、復号エラーのレスポンスを鍵Kを用いてSE1モードにより暗号化し、その暗号文を通信制御IC325aへ送信する。通信制御IC325aでは、それを受信して共通鍵である鍵Kを用いてその暗号文を復号し、復号エラーが発生したことを判断する。そして、カウンタの値を初期化するべく新たな乱数を生成し、その乱数の値を初期ベクタ部の値R2としてSC325bへ送信する。その際に、鍵Kを用いてその初期ベクタ部の値R2の値をSE1モードにより暗号化してその暗号文をセキュリティチップ325Bへ送信する。SC325bでは、その受信した暗号文を鍵Kを用いてSE1モードにより復号し、初期ベクタ部の値R2を取得する。これにより、SC325bと通信制御IC325aとの間で初期化されたカウンタの値である「R2,0,0」が共有されることとなる。   Next, a modified example of the process at the time of abnormality when the response has not reached will be described based on FIG. FIG. 42 is a modification example of FIG. 40 described above, and here, mainly the differences will be described. When the response from the communication control IC 325a to the SC 325b has not yet reached, the SC 325b executes a retry to retransmit the same command as the previous time. When the command (encrypted text) retransmitted by the retry reaches the communication control IC 325a, the counter values between the SC 325b and the communication control IC 325a are different from each other as in FIG. As a result, when the communication control IC 325a attempts to decrypt the ciphertext, the MAC check results in a MAC error and it is determined that the decryption has failed. In this modification, when the decoding fails, it is determined that decoding is impossible, and a decoding error command is transmitted to the communication control IC 325a. At that time, the SC 325b encrypts the response of the decryption error using the key K in the SE1 mode, and transmits the ciphertext to the communication control IC 325a. The communication control IC 325a receives this and decrypts the ciphertext using the key K, which is a common key, and determines that a decryption error has occurred. Then, a new random number is generated to initialize the counter value, and the random number value is transmitted to the SC 325b as the initial vector portion value R2. At that time, using the key K, the value of the initial vector portion R2 is encrypted in the SE1 mode, and the ciphertext is transmitted to the security chip 325B. In SC325b, the received ciphertext is decrypted in the SE1 mode using the key K, and the value R2 of the initial vector portion is acquired. As a result, the counter value “R2, 0, 0” that is initialized is shared between the SC 325b and the communication control IC 325a.

次にSC325bは、初期ベクタ部の値R2の更新を完了した旨のレスポンスを鍵Kを用いてSE1モードにより暗号化して通信制御IC325aへ送信する。   Next, the SC 325b encrypts a response to the effect that the update of the value R2 of the initial vector portion is completed in the SE1 mode using the key K, and transmits it to the communication control IC 325a.

それを受けた通信制御IC325aでは、前回再送信したコマンドと同じデータをSE2モードにより暗号化してSC325bへ送信する。その際に、最初のブロックを暗号化するのに初期化されたカウンタ値すなわち「R2,0,0」を用いて暗号化する。そして、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してSC325bへ送信する。   In response to this, the communication control IC 325a encrypts the same data as the previously retransmitted command in the SE2 mode and transmits it to the SC 325b. At that time, the initial block is encrypted using the counter value initialized, that is, “R2, 0, 0”. Then, ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are sequentially generated and added to the cipher block counter unit by “1” and transmitted to SC 325b.

SC325bでは、初期化されたカウンタ値すなわち「R2,0,0」を用いて暗号文の最初のブロックを復号する。次に、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号して平文を生成する。   In SC325b, the first block of the ciphertext is decrypted using the initialized counter value, that is, “R2, 0, 0”. Next, the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are sequentially decrypted while adding and updating the cipher block counter unit by “1” to generate plain text.

次に図43に基づいて、コマンドが未到達の異常時における処理の変形例を説明する。この図43は、前述した図41のコマンド未到達時の処理の変形例であり、ここでは主に相違点について説明する。SC325bによる2回目のリトライによってコマンドが通信制御IC325aに到達した場合に、SC325bと通信制御IC325aとの間でのカウンタの値が食い違っている。その結果、通信制御IC325aにおいてその暗号文の復号を試みた場合にMACチェックの結果MAC異常となり復号失敗と判断される。この変形例においては、その復号失敗のときに復号不能と判断して復号エラーのレスポンスをSC325bへ送信する。   Next, based on FIG. 43, a modified example of the process when the command has not reached an abnormality will be described. FIG. 43 is a modified example of the process when the command has not yet reached in FIG. 41, and here, the difference will be mainly described. When the command reaches the communication control IC 325a by the second retry by the SC 325b, the counter values between the SC 325b and the communication control IC 325a are different. As a result, when the communication control IC 325a attempts to decrypt the ciphertext, the MAC check results in a MAC error and it is determined that the decryption has failed. In this modification, it is determined that decoding is impossible when the decoding fails, and a response to the decoding error is transmitted to the SC 325b.

その際に、通信制御IC325aでは、復号エラーのレスポンスを鍵Kを用いてSE1モードにより暗号化し、その暗号文をSC325bへ送信する。SC325bでは、それを受信して共通鍵である鍵Kを用いてその暗号文を復号し、復号エラーが発生したことを判断する。そして、カウンタの値を初期化するべく新たな乱数を生成し、その乱数の値を初期ベクタ部の値R1として通信制御IC325aへ送信する。その際に、鍵Kを用いてその初期ベクタ部の値R1をSE1モードにより暗号化してその暗号文を通信制御IC325aへ送信する。通信制御IC325aでは、その受信した暗号文を鍵Kを用いてSE1モードにより復号し、初期ベクタ部の値R1を取得する。これにより、SC325bと通信制御IC325aとの間で初期化されたカウンタの値である「R1,0,0」が共有されることとなる。このように、暗号文が復元できない場合に行われるカウンタの値の初期化(再設定)としては、復号不能となった(SC325bと通信制御IC325aとの間で齟齬が生じた)カウンタの初期ベクタ部のみを再設定してもよいが、下り用カウンタの初期ベクタ部R1と上り用カウンタの初期ベクタ部R2との両者を再設定してもよい。   At that time, the communication control IC 325a encrypts the response of the decryption error using the key K in the SE1 mode, and transmits the ciphertext to the SC 325b. In SC325b, it is received and the ciphertext is decrypted using the common key K, and it is determined that a decryption error has occurred. Then, a new random number is generated to initialize the counter value, and the random number value is transmitted to the communication control IC 325a as the initial vector portion value R1. At this time, the value R1 of the initial vector portion is encrypted by the SE1 mode using the key K, and the ciphertext is transmitted to the communication control IC 325a. The communication control IC 325a decrypts the received ciphertext using the key K in the SE1 mode, and acquires the value R1 of the initial vector portion. As a result, the counter value “R1, 0, 0” that is initialized is shared between the SC 325b and the communication control IC 325a. As described above, as the initialization (resetting) of the counter value performed when the ciphertext cannot be restored, the initial vector of the counter that cannot be decrypted (a wrinkle has occurred between the SC 325b and the communication control IC 325a). However, both the initial vector portion R1 of the down counter and the initial vector portion R2 of the up counter may be reset.

次に通信制御IC325aは、初期ベクタ部の値R1の更新を完了した旨のレスポンスを鍵Kを用いてSE1モードにより暗号化してSC325bへ送信する。   Next, the communication control IC 325a encrypts the response indicating that the update of the value R1 of the initial vector portion is completed in the SE1 mode using the key K, and transmits it to the SC 325b.

それを受けたSC325bでは、前回再送信したコマンドと同じデータをSE2モードにより暗号化して通信制御IC325aへ送信する。その際に、最初のブロックを暗号化するのに初期化されたカウンタ値すなわち「R1,0,0」を用いて暗号化する。そして、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成して通信制御IC325aへ送信する。   Upon receiving this, the SC 325b encrypts the same data as the previously retransmitted command in the SE2 mode and transmits it to the communication control IC 325a. At that time, the initial block is encrypted using the counter value initialized, that is, “R1, 0, 0”. Then, ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are sequentially generated and added to the cipher block counter unit by “1” and transmitted to the communication control IC 325a.

通信制御IC325aでは、初期化されたカウンタ値すなわち「R1,0,0」を用いて暗号文の最初のブロックを復号する。次に、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号して平文を生成する。   The communication control IC 325a decrypts the first block of the ciphertext using the initialized counter value, that is, “R1, 0, 0”. Next, the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are decrypted in order while adding and updating the cipher block counter unit by “1” to generate plain text.

次に、図44(a)(b)に基づいて、SE2モードによる暗号処理と復号処理とを説明する。まず図44(a)のS100により、暗号鍵の発行が行なわれる。この暗号鍵は、基板初期鍵、認証鍵または通信鍵(セッション鍵)のことであり、以下単に「鍵」と言う。その鍵がSC325bと通信制御IC325aとの間で共有されることとなる。   Next, encryption processing and decryption processing in the SE2 mode will be described based on FIGS. 44 (a) and 44 (b). First, an encryption key is issued in S100 of FIG. This encryption key is a board initial key, an authentication key, or a communication key (session key), and is simply referred to as “key” hereinafter. The key is shared between the SC 325b and the communication control IC 325a.

次にS101により、下り用カウンタ、上り用カウンタにそれぞれ対応する初期ベクタ部の値R1,R2が発行される。この初期ベクタ部の値R1,R2は、通信制御IC325aによりそれぞれ生成される。次にS102により、カウンタの電文カウンタ部Nと暗号ブロックカウンタ部Iとがリセットされて「0」となる。次にS103により、S100により発行された鍵によりSE1モードで初期ベクタ部の値R1,R2を暗号化して、下り用初期ベクタ部の値R1および上り用初期ベクタ部の値R2は通信制御IC325aからSC325bへ送信される。ここでは、初期ベクタ部R1,R2について通信制御IC325aによりそれぞれ生成されるとして説明したが、SC325bで初期ベクタ部の値R1を生成し、通信制御IC325aに送信し、通信制御IC325aはこの送信された初期ベクタ部の値R1を生成したアルゴリズムを元に初期ベクタ部の値R2を生成し、SC325bへ送信する。また、初期ベクタ部の値R1,R2がSC325bで生成され、初期ベクタ部のR1,R2を通信制御IC325aに送信してもよい。さらに、この初期ベクタ部の値R1,R2を生成するアルゴリズムは両方を同じアルゴリズムを用いてもよいし、一方から送信された初期ベクタ部の値が生成されたアルゴリズムを用いて他方の初期ベクタ部の値を生成することもできる。   In step S101, initial vector values R1 and R2 corresponding to the down counter and the up counter are issued. The initial vector portion values R1 and R2 are respectively generated by the communication control IC 325a. In step S102, the message counter unit N and the cipher block counter unit I of the counter are reset to “0”. Next, in S103, the values R1 and R2 of the initial vector part are encrypted in the SE1 mode with the key issued in S100, and the value R1 of the initial vector part for down and the value R2 of the initial vector part for upstream are obtained from the communication control IC 325a. Sent to SC325b. Here, the initial vector portions R1 and R2 have been described as being generated by the communication control IC 325a, but the initial vector portion value R1 is generated by the SC 325b and transmitted to the communication control IC 325a, and the communication control IC 325a receives this transmission. Based on the algorithm that generated the initial vector portion value R1, the initial vector portion value R2 is generated and transmitted to the SC 325b. Alternatively, the initial vector portion values R1 and R2 may be generated by the SC 325b, and the initial vector portion R1 and R2 may be transmitted to the communication control IC 325a. Further, the same algorithm may be used for generating the initial vector portion values R1 and R2, or the other initial vector portion may be used by using the algorithm in which the initial vector portion value transmitted from one is generated. The value of can also be generated.

通信制御IC325aでは、図44(b)のS130に示すように、その送信されてきた暗号化されたR1,R2を鍵を用いてSE1モードで復号して平文のR1,R2をそれぞれ生成し、S131によりそのR1,R2を初期ベクタ部の値として記憶するとともに、電文カウンタ部Nと暗号ブロックカウンタ部Iとをリセットして「0」の値にする。   In the communication control IC 325a, as shown in S130 of FIG. 44 (b), the transmitted encrypted R1 and R2 are decrypted in the SE1 mode using a key to generate plaintext R1 and R2, respectively. In S131, R1 and R2 are stored as the initial vector portion value, and the message counter portion N and the cipher block counter portion I are reset to a value of “0”.

暗号文の送信側においては、図44(a)のS104において、送信する電文(平文)を生成する。その生成された平文を16ビット毎のブロックに分けて、各ブロック毎にカウンタの現在の値を用いて暗号化して暗号文を生成する(S105)。そして1ブロックの暗号化が完了した段階で、制御がS106へ進み、S104により生成された平文の電文の全フレームすなわち全ブロックの暗号化が終了したか否かの判断がなされる。未だ終了していない場合には制御がS107へ進み、暗号ブロックカウンタ部Iを「1」加算更新した後にS105に移行する。S105による次のブロックの暗号化を行なって暗号文を生成する。   On the ciphertext transmission side, a message (plaintext) to be transmitted is generated in S104 of FIG. The generated plaintext is divided into 16-bit blocks, and encrypted using the current value of the counter for each block to generate a ciphertext (S105). Then, when the encryption of one block is completed, the control proceeds to S106, and it is determined whether or not the encryption of all the frames of the plaintext message generated in S104, that is, all the blocks has been completed. If it has not been completed yet, the control proceeds to S107, and the encryption block counter I is updated by adding “1”, and then the process proceeds to S105. The ciphertext is generated by encrypting the next block in S105.

このS105→S106→S107→S105のループを巡回することにより、電文の全フレームの暗号化が終了した場合には、制御がS108へ進み、電文カウンタ部Nが「1」加算更新される。次にS109により暗号ブロックカウンタ部Iがクリアされて「0」となる。   When the encryption of all frames of the message is completed by cycling through the loop of S105 → S106 → S107 → S105, the control proceeds to S108, and the message counter unit N is updated by adding “1”. In step S109, the encryption block counter I is cleared to “0”.

次に制御がS110へ進み、その暗号文を相手側に送信する処理が行なわれる。次にS111により、復号エラーを受信したか否かの判断がなされる。この復号エラーは、暗号文の受信側において復号に失敗したときに後述するS162またはS170により送信されてくるものであり、それを受信すれば、S112によりエラー処理が行なわれる。このエラー処理は、たとえば、表示装置によりエラー表示を行なったり上位サーバへエラーが発生した旨を通知するとともに、以降の動作制御を停止させる等の処理である。   Next, the control advances to S110, and processing for transmitting the ciphertext to the other party is performed. Next, in S111, it is determined whether or not a decoding error has been received. This decryption error is transmitted in S162 or S170, which will be described later, when decryption fails on the ciphertext receiving side, and if it is received, error processing is performed in S112. This error process is, for example, a process of displaying an error on the display device or notifying the host server that an error has occurred and stopping the subsequent operation control.

S110により送信されてきた暗号文を図44(b)のS132により受信した後、S133により復号処理が行なわれる。この復号処理は、前述したように、カウンタの現在のカウンタ値を用いてブロック毎に復号する処理である。そして全フレームについて復号処理を行なった後前述したようにMACチェックを行なって復号が成功したか否かの判定を行なう。復号が失敗した場合には、S135によるカウンタ修復処理が実行される。   After the ciphertext transmitted in S110 is received in S132 in FIG. 44B, decryption processing is performed in S133. As described above, this decoding process is a process of decoding for each block using the current counter value of the counter. After all the frames are decoded, the MAC check is performed as described above to determine whether the decoding is successful. If the decryption fails, the counter repair process in S135 is executed.

図45は、前述のS135に示したカウンタ修復処理の具体的制御内容を示すフローチャートである。図45(a)は図40、図41に示したカウンタ修復処理であり、図45(b)は図42、図43に示した変形例の修復処理を示している。   FIG. 45 is a flowchart showing specific control contents of the counter repair process shown in S135 described above. FIG. 45 (a) shows the counter repair process shown in FIGS. 40 and 41, and FIG. 45 (b) shows the repair process of the modification shown in FIGS.

まず図45(a)を参照してカウンタ修復処理1を説明する。まずS150により、復号に失敗した暗号文の最初のブロックの復号処理に用いたカウンタの値における電文カウンタ部Nを「1」減算更新する。次にS151により、その減算更新されたカウンタの値を用いてブロック毎に復号処理を実行し、MACチェックを行なって復号が成功したか否か判定する。復号が成功していない場合には、S154により、修復カウンタSKの値を「1」加算更新する。この修復カウンタSKとは、何回修復を試みたかを計数するためのカウンタである。次にS155により、その修復カウンタSKが所定値に達したか否かの判断がなされる。この所定値とは、前述したように、暗号文の送信側におけるリトライ回数2の値である。   First, the counter repair process 1 will be described with reference to FIG. First, in S150, the message counter unit N is updated by subtracting “1” from the counter value used for the decryption process of the first block of the ciphertext that failed to be decrypted. Next, in S151, a decoding process is executed for each block using the counter value updated by subtraction, and a MAC check is performed to determine whether the decoding is successful. If the decoding is not successful, the value of the repair counter SK is updated by adding “1” in S154. The repair counter SK is a counter for counting how many times repair is attempted. Next, in S155, it is determined whether or not the repair counter SK has reached a predetermined value. As described above, the predetermined value is the value of the number of retries 2 on the ciphertext transmission side.

未だ所定値に達していない場合には、制御がS150に戻り、S150〜S155の制御を繰返し実行する。その繰返し実行の途中で復号に成功した場合にはS152によりYESの判断がなされて制御がS153へ進み、修復カウンタSKをリセットして「0」にする処理がなされる。   If the predetermined value has not yet been reached, control returns to S150, and the control of S150 to S155 is repeatedly executed. If the decoding is successful during the repeated execution, a determination of YES is made in S152, the control advances to S153, and a process of resetting the repair counter SK to “0” is performed.

一方、S150〜S155の処理を繰返し実行して修復カウンタSKの値が所定値に達した場合には、S155によりYESの判断がなされて制御がS156へ進み、現在の電文カウンタNに対して修復カウンタSKの値を加算する。その結果、電文カウンタ部Nの値は、復号失敗のときに用いた最後のカウンタ値の電文カウンタ部Nの値となる。そしてS157により、その電文カウンタ部Nに対して「1」加算更新され、S158によりそのカウンタ値を用いた復号処理が行なわれる。次にS159により、MACチェックを行なって復号が成功したか否かの判断がなされ、成功していない場合にはS160により修復カウンタSKを「1」減算更新し、S161により修復カウンタSKの値が「0」になったか否かの判断がなされ、なっていない場合には制御がS157に戻り、S157〜S161の制御を繰返し実行する。   On the other hand, when the process of S150 to S155 is repeatedly executed and the value of the repair counter SK reaches a predetermined value, a determination of YES is made in S155 and the control proceeds to S156, and the current message counter N is repaired. The value of the counter SK is added. As a result, the value of the message counter unit N becomes the value of the message counter unit N of the last counter value used when decryption failed. Then, in S157, “1” is added and updated for the message counter unit N, and decryption processing using the counter value is performed in S158. Next, in S159, a MAC check is performed to determine whether or not the decoding is successful. If the decoding is not successful, the repair counter SK is updated by subtracting “1” in S160 and the value of the repair counter SK is updated in S161. It is determined whether or not “0” has been reached. If not, the control returns to S157, and the control of S157 to S161 is repeatedly executed.

この繰返し実行が行なわれている途中で、S159により復号が成功したと判断された場合には、制御がS153へ進み、修復カウンタSKをリセットする処理がなされる。この復号成功と判断された平文が、正しい平文となる。   If it is determined in S159 that decoding has succeeded while this repeated execution is being performed, the control advances to S153, and a process of resetting the repair counter SK is performed. The plaintext determined as successful decryption is the correct plaintext.

一方、S157〜S161の処理を繰返し実行することによって修復カウンタSKの値が「0」になった場合には、カウンタの修復を所定回数実行したことになり、その場合には制御がS162に進み、復号エラーを示す情報を鍵Kを用いてSE1モードにより暗号化してその暗号文を送信する処理が行なわれる。   On the other hand, when the value of the repair counter SK becomes “0” by repeatedly executing the processes of S157 to S161, the counter is repaired a predetermined number of times. In this case, the control proceeds to S162. Then, a process of encrypting information indicating a decryption error using the key K in the SE1 mode and transmitting the ciphertext is performed.

この復号エラーの情報は前述した図44(a)のS112により受信してYESの判断がなされることとなる。   This decoding error information is received in S112 of FIG. 44A described above, and a determination of YES is made.

次に図45(b)に基づいて変形例のカウンタ修復処理2を説明する。S170により、復号エラーを示す情報を鍵Kを用いてSE1モードにより暗号化する処理が行なわれ、その暗号化された情報を相手側に送信する処理が行なわれる。この復号エラーを受信すれば、図44(a)のS112によりYESの判断がなされ、この変形例の場合には、S112によりYESの判断がなされた場合には制御がS101へ進む。そしてS101により新たな乱数が生成されてS102による電文カウンタ部Nと暗号ブロックカウンタ部Iとのリセットが行なわれた後にS103により、その乱数を暗号化して初期ベクタ部の値R1、R2として相手側に送信する処理が行なわれる。その送信されてきた暗号化された初期ベクタ部の値を図45(b)のS171により受信する。次にS172により、初期ベクタ部の値R1またはR2の更新が完了した旨を示す情報を、鍵Kを用いてSE1モードにより暗号化し、その暗号文を相手側に送信する処理がなされ、その後制御が図44(b)のS130へ移行する。   Next, a modified counter repair process 2 will be described with reference to FIG. In S170, information indicating a decryption error is encrypted in the SE1 mode using the key K, and the encrypted information is transmitted to the other party. If this decryption error is received, a determination of YES is made in S112 of FIG. 44A, and in the case of this modification, if a determination of YES is made in S112, control proceeds to S101. Then, after a new random number is generated in S101 and the message counter unit N and the cipher block counter unit I are reset in S102, the random number is encrypted in S103, and values R1 and R2 of the initial vector unit are obtained. Processing to transmit to is performed. The transmitted value of the encrypted initial vector portion is received in S171 of FIG. 45 (b). Next, in S172, information indicating that the update of the value R1 or R2 of the initial vector portion is completed is encrypted in the SE1 mode using the key K, and the ciphertext is transmitted to the other party, and then the control is performed. Shifts to S130 in FIG.

S130では、前述したS171により受信した初期ベクタ部の値R1,R2の暗号文を鍵Kを用いてSE1モードで復号する処理が行なわれる。そして復号した結果生成された平文の初期ベクタ部の値R1、R2の値を記憶するとともに、電文カウンタ部Nと暗号ブロックカウンタ部Iとをリセットして「0」とする処理が行なわれる(S131)。   In S130, a process of decrypting the ciphertext of the initial vector portion values R1 and R2 received in S171 described above in the SE1 mode using the key K is performed. Then, the plaintext initial vector portion values R1 and R2 generated as a result of decryption are stored, and the telegram counter portion N and the cipher block counter portion I are reset to “0” (S131). ).

そしてそれらR1、0、0あるいはR2,0,0の値を用いて、S132で受信した暗号文をS133で復号する処理が行なわれる。   Then, using the values R1, 0, 0 or R2, 0, 0, the process of decrypting the ciphertext received in S132 is performed in S133.

なお、受信したデータのデータ長が異常の場合やCRCのチェックの結果CRC異常が発生した場合には、受信側においてはカウンタの値を更新することなくその受信した電文を破棄する処理が行なわれる。そして再送信の要求を返信する処理が行なわれる。それを受信した側においては、カウンタの現在のカウント値における電文カウンタ部Nの値を「1」だけ減算して同じ電文を復号して再送信する処理が行なわれる。   If the data length of the received data is abnormal or if a CRC error occurs as a result of the CRC check, the receiving side performs processing to discard the received message without updating the counter value. . Then, processing for returning a request for retransmission is performed. On the receiving side, a process is performed in which the value of the telegram counter unit N in the current count value of the counter is decremented by “1”, and the same telegram is decrypted and retransmitted.

次に、図46に基づいて、SE2モードによる復号処理のカウンタ動作を説明する。前述の実施の形態では、下り用カウンタと上り用カウンタとの2種類のものを示した(図37参照)。その2種類の場合を図46(b)に示している。一方、下り用と上り用とで共通のカウンタを用いるものを図46(a)に示している。先ず図46(a)に基づいて共通カウンタを用いるものを説明する。   Next, the counter operation of the decoding process in the SE2 mode will be described based on FIG. In the above-described embodiment, two types of counters, a down counter and an up counter, are shown (see FIG. 37). The two types of cases are shown in FIG. On the other hand, FIG. 46A shows a counter using a common counter for downlink and uplink. First, an example using a common counter will be described with reference to FIG.

共通カウンタの場合、SC325bと通信制御IC325aとの間でクロス送信が発生した場合の両者間でのカウンタ値の食い違いが生ずる不都合がある。通常の送信では、たとえば通信制御IC325aからの応答(レスポンス)がSC325bに送信されてきた後次の要求(コマンド)をSC325bが通信制御IC325aへ送信する。これに対し、クロス送信では、通信制御IC325aからの応答(レスポンス)の出力とSC325bからの次の要求(コマンド)の出力とが殆ど同時になされて、SC325bからの次の要求(コマンド)の出力がなされた後に通信制御IC325aからの応答(レスポンス)をSC325bが受信し、通信制御IC325aからの応答(レスポンス)の出力がなされた後にSC325bからの次の要求(コマンド)が通信制御IC325aに受信される。   In the case of the common counter, there is a disadvantage that a counter value difference between the SC 325b and the communication control IC 325a occurs when cross transmission occurs. In normal transmission, for example, after a response from the communication control IC 325a is transmitted to the SC 325b, the SC 325b transmits the next request (command) to the communication control IC 325a. On the other hand, in the cross transmission, the output of the response (response) from the communication control IC 325a and the output of the next request (command) from the SC 325b are made almost simultaneously, and the output of the next request (command) from the SC 325b is performed. After being made, the response (response) from the communication control IC 325a is received by the SC 325b, and after the response (response) is output from the communication control IC 325a, the next request (command) from the SC 325b is received by the communication control IC 325a. .

そして、共通カウンタの場合に、前述のクロス送信が生じたときには、たとえばSC325b側において通信制御IC325aからの応答(レスポンス)を受信する前に次の要求(コマンド)を送信することによってカウンタ値が1つ更新された状態(カウンタ値=3)となっており、カウンタ値(=2)で暗号化された応答(レスポンス)をその1つ更新された後のカウンタ値(=3)により復号するために、SC325b側と通信制御IC325a側とでのカウンタ値が食い違った状態となり、適正に復号できないという不都合が生ずる。   In the case of the common counter, when the above-described cross transmission occurs, the counter value is set to 1 by transmitting the next request (command) before receiving a response from the communication control IC 325a on the SC 325b side, for example. In order to decrypt the response (response) encrypted with the counter value (= 2) with the updated counter value (= 3). In addition, the counter values on the SC 325b side and the communication control IC 325a side are in a state of being different from each other, and there is a disadvantage that the decoding cannot be performed properly.

そこで、一方、下り用カウンタと上り用カウンタとの2種類のものを用いる場合には、前述のクロス送信が生じたときに、図46(b)を参照して、たとえばSC325b側において通信制御IC325aからの応答を受信する前に次の情報を送信することによって下り用カウンタ値が1つ更新された状態(下り用カウンタ値=2)となったとしても、その更新されたカウンタ値はSC325bから通信制御IC325aへ送信する暗号文の生成に用いられる下り用カウンタ値が更新されるだけであって上り用カウンタ値は更新されないために(上り用カウンタ値=1)、上り用カウンタ値(=1)によって暗号化された通信制御IC325aからの応答(レスポンス)を同じ上り用カウンタ値(=1)を用いてSC325b側において適正に復号することが可能となる。   Therefore, on the other hand, when two types of counters, that is, a down counter and an up counter are used, when the above-described cross transmission occurs, referring to FIG. 46B, for example, the communication control IC 325a on the SC 325b side. Even if one down counter value is updated (down counter value = 2) by transmitting the next information before receiving the response from the counter, the updated counter value is not updated from SC 325b. Since only the down counter value used for generating the ciphertext to be transmitted to the communication control IC 325a is updated and the up counter value is not updated (up counter value = 1), the up counter value (= 1) The response (response) from the communication control IC 325a encrypted with the same counter value (= 1) for the upstream side is appropriate on the SC 325b side. It is possible to decode.

以上説明したように、第1制御手段(SC325b等)から第2制御手段(通信制御IC325a等)へ送信する暗号文の生成に用いる第1鍵(下りカウンタ)と、第2制御手段(通信制御IC325a等)から第1制御手段(SC325b等)へ送信する暗号文の生成に用いる第2鍵(上りカウンタ)とが、それぞれ独自に更新されるために、第1制御手段(SC325b等)と第2制御手段(通信制御IC325a等)との間でクロス送信が発生した場合の両制御手段間での鍵の食い違いが生ずる不都合を防止することができる。第2制御手段(通信制御IC325a等)からの応答が第1制御手段(SC325b等)に送信されてきた後次の情報を第1制御手段(SC325b等)が第2制御手段(通信制御IC325a等)へ送信するのが通常送信であるのに対し、クロス送信とは、第2制御手段(通信制御IC325a等)からの応答の出力と第1制御手段(SC325b等)からの次の情報の出力とが殆ど同時になされて、第1制御手段(SC325b等)からの次の情報の出力がなされた後に第2制御手段(通信制御IC325a等)からの応答を第1制御手段(SC325b等)が受信し、第2制御手段(通信制御IC325a等)からの応答の出力がなされた後に第1制御手段(SC325b等)からの次の情報が第2制御手段(通信制御IC325a等)に受信される送受信状態を言う(たとえば図46(a)(b)参照)。たとえば、第1制御手段(SC325b等)と第2制御手段(通信制御IC325a等)との間で送信する暗号文の生成に用いる鍵を1種類の鍵にして第1制御手段(SC325b等)から第2制御手段(通信制御IC325a等)への送信の度および第2制御手段(通信制御IC325a等)から第1制御手段(SC325b等)への送信の度にその1種類の鍵を互いに更新するようにした場合に、前述のクロス送信が生じたときには、たとえば第1制御手段(SC325b等)側において第2制御手段(通信制御IC325a等)からの応答を受信する前に次の情報を送信することによって鍵が1つ更新された状態となっており、第2制御手段(通信制御IC325a等)から送信されてきた応答情報をその1つ更新された後の鍵により復号するために、第1制御手段(SC325b等)側と第2制御手段(通信制御IC325a等)側とでの鍵が食い違った状態となり、適正に復号できないという不都合が生ずる。   As described above, the first key (downstream counter) used for generating ciphertext to be transmitted from the first control means (SC 325b, etc.) to the second control means (communication control IC 325a, etc.), and the second control means (communication control) Since the second key (uplink counter) used for generating the ciphertext to be transmitted from the IC 325a to the first control means (SC325b etc.) is independently updated, the first control means (SC325b etc.) and the second key It is possible to prevent inconvenience that a key conflict occurs between the two control means when cross transmission occurs between the two control means (communication control IC 325a and the like). After the response from the second control means (communication control IC 325a etc.) is transmitted to the first control means (SC325b etc.), the first control means (SC325b etc.) sends the next information to the second control means (communication control IC 325a etc.). ) Is a normal transmission, whereas a cross transmission is an output of a response from the second control means (communication control IC 325a etc.) and an output of the next information from the first control means (SC 325b etc.) The first control means (SC325b etc.) receives a response from the second control means (communication control IC 325a etc.) after the next information is output from the first control means (SC325b etc.). After the response is output from the second control means (communication control IC 325a etc.), the next information from the first control means (SC 325b etc.) is the second control means (communication control IC 325a etc.). The reception state received say (e.g. FIG. 46 (a) (b) refer). For example, from the first control means (SC325b, etc.), the key used to generate the ciphertext to be transmitted between the first control means (SC325b, etc.) and the second control means (communication control IC 325a, etc.) is one type of key. Each time the transmission to the second control means (communication control IC 325a, etc.) and the transmission from the second control means (communication control IC 325a, etc.) to the first control means (SC 325b, etc.), the one kind of key is updated. In such a case, when the above-mentioned cross transmission occurs, for example, the first control means (SC 325b etc.) side transmits the next information before receiving a response from the second control means (communication control IC 325a etc.). As a result, one key has been updated, and the response information transmitted from the second control means (communication control IC 325a, etc.) is updated by the one updated key. To issue, first control means (SC325b etc.) side and a state in which the key is staggered in the second control unit (such as a communication control IC325a) side, is caused inconvenience can not be properly decoded.

そこで、第1制御手段(SC325b等)から第2制御手段(通信制御IC325a等)へ送信する暗号文の生成に用いる第1鍵(下りカウンタ)と、第2制御手段(通信制御IC325a等)から第1制御手段(SC325b等)へ送信する暗号文の生成に用いる第2鍵(上りカウンタ)との、2種類の鍵を用いることにした。その結果、前述のクロス送信が生じたときに、たとえば第1制御手段(SC325b等)側において第2制御手段(通信制御IC325a等)からの応答を受信する前に次の情報を送信することによって鍵が1つ更新された状態となったとしても、その更新された鍵は第1制御手段(SC325b等)から第2制御手段(通信制御IC325a等)へ送信する暗号文の生成に用いられる第1鍵(下りカウンタ)が更新されるだけであって第2鍵(上りカウンタ)は更新されないために、第2鍵(上りカウンタ)によって暗号化された第2制御手段(通信制御IC325a等)からの応答情報を同じ第2鍵(上りカウンタ)を用いて第1制御手段(SC325b等)側において適正に復号することが可能となる。   Therefore, from the first key (down counter) used to generate ciphertext to be transmitted from the first control means (SC 325b etc.) to the second control means (communication control IC 325a etc.) and from the second control means (communication control IC 325a etc.). It was decided to use two types of keys, a second key (upstream counter) used for generating ciphertext to be transmitted to the first control means (SC325b etc.). As a result, when the above-described cross transmission occurs, for example, by transmitting the following information before receiving a response from the second control means (communication control IC 325a etc.) on the first control means (SC325b etc.) side Even if one key is updated, the updated key is used to generate ciphertext to be transmitted from the first control means (SC 325b, etc.) to the second control means (communication control IC 325a, etc.). Since only one key (downstream counter) is updated and the second key (upstream counter) is not updated, the second control means (communication control IC 325a etc.) encrypted by the second key (upstream counter) Can be properly decrypted on the first control means (SC325b, etc.) side using the same second key (uplink counter).

次に、図47および図48を参照して、SE2モード時のカウンタの自動修復のシーケンスを説明する。図47は、SC325b側におけるSE2モード時のカウンタの自動修復のシーケンスである。また、図48は、通信制御IC325a側におけるSE2モード時のカウンタの自動修復のシーケンスである。また、両図において、業務電文要求は何らかのコマンドを、業務電文応答は何らかのレスポンスを示す。   Next, with reference to FIGS. 47 and 48, a sequence of automatic counter restoration in the SE2 mode will be described. FIG. 47 is a sequence of automatic counter restoration in the SE2 mode on the SC 325b side. FIG. 48 is a sequence of automatic counter restoration in the SE2 mode on the communication control IC 325a side. In both figures, a business message request indicates some command, and a business message response indicates some response.

初めに図47を参照して、SC325b側におけるSE2モード時のカウンタの自動修復のシーケンスを説明する。SC325bは、業務電文要求1を下りカウンタ=0にて送信し、それを受けた通信制御IC325aは業務電文応答1を上りカウンタ=0でSC325bへ送信する。   First, referring to FIG. 47, the counter automatic restoration sequence in the SE2 mode on the SC 325b side will be described. The SC 325b transmits the business message request 1 with the downstream counter = 0, and the communication control IC 325a receiving it transmits the business message response 1 with the upstream counter = 0 to the SC 325b.

すると、SC325bは、業務電文要求2を下りカウンタ=1にて送信し、それを受けた通信制御IC325aは業務電文応答2を上りカウンタ=1でSC325bへ送信する。このようなやりとりがなされる途中で、通信制御IC325aから送信された上りカウンタ=2の業務電文応答3がSC325bへ未到達となった場合、SC325bは、業務電文要求3を再送する。このとき、下りカウンタは更新せずに下りカウンタ=2で送信する。   Then, the SC 325b transmits the business message request 2 with the downstream counter = 1, and the communication control IC 325a receiving it transmits the business message response 2 with the upstream counter = 1 to the SC 325b. In the middle of such an exchange, when the business message response 3 of the upstream counter = 2 transmitted from the communication control IC 325a has not reached SC 325b, the SC 325b retransmits the business message request 3. At this time, the downlink counter is not updated and transmitted with downlink counter = 2.

通信制御IC325aは、既に受信済みの業務電文要求3が再送されてきたため、業務電文応答3を再送する。しかし、再び、この応答が未着であった場合にはSC325bによる2度目の電文の再送が前回と同様に実行され、2度目の再送でもなお、SC325bに対して通信制御IC325aからの応答が届かないと、SC325bは、通信制御IC325aに対して基板状態要求を送信する。この基板状態要求は、通信制御IC325aに対してセキュリティ基板及び、遊技機の状態を要求するものである。また、このときの下りカウンタは、再送を試みたカウンタ値に1を加えた3に設定される。   The communication control IC 325a retransmits the business message response 3 because the already received business message request 3 has been retransmitted. However, if this response has not arrived again, the second telegram re-transmission by SC 325b is executed in the same manner as before, and the second re-transmission still receives the response from communication control IC 325a to SC 325b. Otherwise, the SC 325b transmits a board state request to the communication control IC 325a. This board state request is a request for the state of the security board and the gaming machine to the communication control IC 325a. In addition, the downstream counter at this time is set to 3, which is obtained by adding 1 to the counter value that has been retransmitted.

基板状態要求を受信した通信制御IC325aは、既に受信している業務電文要求3の下りカウンタ(=2)に1を加えた下りカウンタ値(=3)でこれを復号し、その復号に成功する。その上で、通信制御IC325aは、基板状態応答(上りカウンタ=3)をSC325bに返信する。ところが、SC325bは、業務電文応答3(上りカウンタ=2)を受信できておらず、直近で受信した電文の上りカウンタは1である。このため、受信した基板状態応答をその上りカウンタに1加えた値(=2)で復号すると復号異常が検出される。そこで、図45のS156のとおり、上りカウンタ(=2)にさらに+1した値である3で基板状態応答を復号し、その復号に成功する。   The communication control IC 325a that has received the board status request decodes it with the downlink counter value (= 3) obtained by adding 1 to the downlink counter (= 2) of the business message request 3 that has already been received, and succeeds in the decoding. . Then, the communication control IC 325a returns a substrate state response (up counter = 3) to the SC 325b. However, the SC 325b has not received the business message response 3 (upstream counter = 2), and the most recently received message has an upstream counter of 1. For this reason, when the received board state response is decoded with a value obtained by adding 1 to the upstream counter (= 2), a decoding abnormality is detected. Therefore, as shown in S156 of FIG. 45, the board state response is decoded with 3 which is a value obtained by adding +1 to the upstream counter (= 2), and the decoding is successful.

次に、図48を参照して、通信制御IC325a側におけるSE2モード時のカウンタの自動修復のシーケンスを説明する。SC325bは、業務電文要求1を下りカウンタ=0にて送信し、それを受けた通信制御IC325aは業務電文応答1を上りカウンタ=0でSC325bへ送信する。   Next, with reference to FIG. 48, the counter automatic restoration sequence in the SE2 mode on the communication control IC 325a side will be described. The SC 325b transmits the business message request 1 with the downstream counter = 0, and the communication control IC 325a receiving it transmits the business message response 1 with the upstream counter = 0 to the SC 325b.

すると、SC325bは、業務電文要求2を下りカウンタ=1にて送信し、それを受けた通信制御IC325aは業務電文応答2を上りカウンタ=1でSC325bへ送信する。このようなやりとりがなされる途中で、SC325bから送信された下りカウンタ=2の業務電文要求3に対する応答が通信制御IC325aから返ってこない場合、SC325bは、業務電文要求3を再送する。このとき、下りカウンタは更新せずに下りカウンタ=2で送信する。   Then, the SC 325b transmits the business message request 2 with the downstream counter = 1, and the communication control IC 325a receiving it transmits the business message response 2 with the upstream counter = 1 to the SC 325b. In the middle of such an exchange, when the response to the business message request 3 with the downstream counter = 2 transmitted from the SC 325b is not returned from the communication control IC 325a, the SC 325b retransmits the business message request 3. At this time, the downlink counter is not updated and transmitted with downlink counter = 2.

しかし、再び、この業務電文要求3に対する応答も返らない場合にはSC325bによる2度目の電文の再送が前回と同様に実行され、2度目の再送でもなお、SC325bに対して通信制御IC325aからの応答が届かないと、SC325bは、通信制御IC325aに対して基板状態要求を送信する。この基板状態要求は、通信制御IC325aに対してセキュリティ基板及び、遊技機の状態を要求するものである。また、このときの下りカウンタは、再送を試みたカウンタ値に1を加えた3に設定される。   However, if the response to the business message request 3 is not returned again, the second message retransmission by the SC 325b is executed in the same manner as the previous one, and the response from the communication control IC 325a to the SC 325b is still in the second retransmission. If the message does not arrive, the SC 325b transmits a board status request to the communication control IC 325a. This board state request is a request for the state of the security board and the gaming machine to the communication control IC 325a. In addition, the downstream counter at this time is set to 3, which is obtained by adding 1 to the counter value that has been retransmitted.

ところが、通信制御IC325aは、業務電文要求3(下りカウンタ=2)を受信できておらず、直近で受信した電文の下りカウンタは1である。このため、受信した基板状態要求をその下りカウンタに1加えた値(=2)で復号すると復号異常が検出される。そこで、図45のS156のとおり、下りカウンタに+1した値である3で基板状態要求が復号され、その復号に成功する。一方、基板状態応答(上りカウンタ=2)を受信したSC325bは、既に業務電文応答2(上りカウンタ=1)を受信しているので、その上りカウンタに1を加えた値(=2)で復号を試み、復号に成功する。   However, the communication control IC 325a cannot receive the business message request 3 (downstream counter = 2), and the most recently received message has a downstream counter of 1. For this reason, when the received board status request is decoded with a value obtained by adding 1 to the downstream counter (= 2), a decoding abnormality is detected. Therefore, as shown in S156 of FIG. 45, the board state request is decoded with 3 which is a value obtained by adding 1 to the down counter, and the decoding is successful. On the other hand, the SC 325b that has received the board state response (upstream counter = 2) has already received the business message response 2 (upstream counter = 1), and therefore decrypts it with the value obtained by adding 1 to the upstream counter (= 2). And decryption is successful.

なお、図47および図48の処理では、復号異常となったときに、カウンタに+1した値で復号を再試行して成功した例を示したが、失敗した場合には、たとえば、図45(a)に示す処理が適用される。すなわち、図45(a)に示したように、初めに+1して試行し、復号失敗の場合にはさらに+1して試行し、このような試行を複数回繰り返し、それでも復号失敗の場合には、元のカウンタ値に戻してその値から−1して試行し、復号失敗の場合にはさらに−1して試行することを繰り返す。また、カウンタの更新値は1に限られず、2や3等の値を更新値としてもよい。   47 and FIG. 48 show an example in which decoding is retried and succeeded with a value incremented by +1 when a decoding error occurs, but in the case of failure, for example, FIG. 45 ( The process shown in a) is applied. That is, as shown in FIG. 45 (a), +1 is tried first, and if decoding is unsuccessful, +1 is further tried, and such trial is repeated a plurality of times. Returning to the original counter value, −1 is tried from that value, and if decoding is unsuccessful, −1 is further tried. The update value of the counter is not limited to 1, and values such as 2 and 3 may be used as the update value.

<CU制御部とSCとの通信における主なシーケンス>
次に、図49〜図60に基づいて、CU制御部323におけるCPUで実行される処理と、セキュリティチップ(SC)325bで実行される処理とを説明する。
<Main sequence in communication between CU control unit and SC>
Next, a process executed by the CPU in the CU control unit 323 and a process executed by the security chip (SC) 325b will be described based on FIGS.

まず、図49を参照して、CU制御部323の電源投入・ホール設置時の立上の処理を説明する。この図49は、CU3が遊技場に設置されて最初に電源を立上げたときのシーケンスであり、特に、基板初期鍵を用いたホール設置時の立上シーケンスについて説明する。   First, with reference to FIG. 49, a process for starting up the CU control unit 323 when the power is turned on and the hall is installed will be described. FIG. 49 shows a sequence when the power supply is first turned on after the CU 3 is installed in the amusement hall. In particular, a startup sequence at the time of hall installation using the board initial key will be described.

まず、CU3の電源を投入すると、CU制御部323およびSC325bが起動される。CU3が遊技場に設置されて最初に電源を立上げたときに、CU制御部323は、上位装置より(具体的にはホールサーバ801より)基板初期鍵A、基板初期鍵AのMAC鍵、有効鍵(商用/P台出荷用)を取得する。ここで、基板初期鍵Aは、遊技場に納入されてから最初に上位装置へ通信する時、ホールサーバ801からダウンロードしてCU制御部323に記憶する暗号鍵であり、鍵管理センタに設置された鍵管理サーバに記憶されている基板情報(基板シリアルIDと基板認証鍵)が取得されるまで、CU制御部323とSC325bとの通信に利用する暗号鍵である。なお、基板初期鍵Aは、基板メーカコードを用いて復号され、一方、基板初期鍵AのMAC鍵も同様に、基板メーカコードを用いて復号される。これらの復号は、AES(Advanced Encryption Standard)の暗号方式に則った復号方式で行なわれる。   First, when the power of the CU3 is turned on, the CU control unit 323 and the SC325b are activated. When the CU 3 is installed in the amusement hall and the power is first turned on, the CU control unit 323 receives the board initial key A, the board initial key A MAC key from the host device (specifically, from the hall server 801), Obtain an effective key (for commercial / P shipment). Here, the board initial key A is an encryption key that is downloaded from the hall server 801 and stored in the CU control unit 323 when first communicating with the host device after being delivered to the amusement hall, and is installed in the key management center. The encryption key is used for communication between the CU control unit 323 and the SC 325b until the board information (board serial ID and board authentication key) stored in the key management server is acquired. The board initial key A is decrypted using the board manufacturer code, while the MAC key of the board initial key A is similarly decrypted using the board manufacturer code. Such decryption is performed by a decryption method conforming to the AES (Advanced Encryption Standard) encryption method.

その後、CU制御部323およびSC325bは、基板メーカコード認証シーケンス、基板初期鍵認証シーケンス、セキュリティ基板情報問合せシーケンスを実行する。基板初期鍵認証シーケンスおよびセキュリティ基板情報問合せシーケンスいずれのシーケンスもSE1モードにて行なわれる。   Thereafter, the CU control unit 323 and the SC 325b execute a board manufacturer code authentication sequence, a board initial key authentication sequence, and a security board information inquiry sequence. Both the board initial key authentication sequence and the security board information inquiry sequence are performed in the SE1 mode.

基板メーカコード認証シーケンスは、チャレンジ/レスポンス方式を用いて、CU制御部323とSC325bとの間で基板メーカコードを認証する。基板メーカコード認証シーケンスの処理後、CU制御部323およびSC325bは、暗号鍵にホールサーバ801より取得した基板初期鍵を用い、基板初期鍵認証シーケンスを行ない、基板初期鍵認証が完了した場合に認証OKとなる。なお、基板初期鍵認証シーケンスの詳細な処理については、後述する。   The board manufacturer code authentication sequence authenticates the board manufacturer code between the CU control unit 323 and the SC 325b using a challenge / response method. After processing the board manufacturer code authentication sequence, the CU control unit 323 and the SC 325b perform the board initial key authentication sequence using the board initial key acquired from the hall server 801 as the encryption key, and authenticate when the board initial key authentication is completed. It becomes OK. Detailed processing of the board initial key authentication sequence will be described later.

その後、CU制御部323およびSC325bは、暗号鍵にホールサーバ801より取得した基板初期鍵を用い、セキュリティ基板情報問合せシーケンスを行ない、セキュリティ基板情報を取得することができた場合に取得OKとなる。セキュリティ基板情報は、鍵管理センタの鍵管理サーバから取得し、基板シリアルIDや基板認証鍵などを含んでいる。なお、セキュリティ基板情報問合せシーケンスの詳細な処理については、後述する。基板認証鍵は、鍵管理センタに設置された鍵管理サーバからダウンロードしてCU制御部323とSC325bとの通信に利用する暗号鍵である。鍵管理サーバは、基板シリアル番号等に対応付けて基板認証鍵を記憶している。   Thereafter, the CU control unit 323 and the SC 325b use the board initial key acquired from the hall server 801 as the encryption key, perform a security board information inquiry sequence, and acquire OK when the security board information can be acquired. The security board information is acquired from the key management server of the key management center, and includes a board serial ID, a board authentication key, and the like. Details of the security board information inquiry sequence will be described later. The board authentication key is an encryption key that is downloaded from a key management server installed in the key management center and used for communication between the CU control unit 323 and the SC 325b. The key management server stores the board authentication key in association with the board serial number or the like.

セキュリティ基板情報問合せシーケンスでセキュリティ基板情報を取得することができた場合、SC325bは、通信制御IC325aとの間で認証を実行する。   When the security board information can be acquired by the security board information inquiry sequence, the SC 325b performs authentication with the communication control IC 325a.

その後、CU制御部323およびSC325bは、暗号鍵にホールサーバ801より取得した基板初期鍵を用い、通信鍵交換シーケンスを行ない、業務電文通信用の通信鍵を交換する。通信鍵交換シーケンスはSE1モードにて行なわれる。   Thereafter, the CU control unit 323 and the SC 325b use the board initial key acquired from the hall server 801 as an encryption key, perform a communication key exchange sequence, and exchange communication keys for business message communication. The communication key exchange sequence is performed in the SE1 mode.

CU制御部323およびSC325bは、暗号鍵に基板初期鍵を用い、通信鍵交換シーケンスを行ない、通信鍵を生成する。通信鍵交換シーケンスでは、基板情報取得シーケンスで基板情報を取得できた場合、基板認証鍵を暗号鍵に用いるが、基板情報を取得できなかった場合、基板初期鍵を時限的に暗号鍵に用いる。通信鍵の生成方法は、具体的には、乱数と現在時刻のデータとを用いて生成する。この通信鍵(セッション鍵)の生成方法は、乱数と現在時刻のデータとに限らず、暗号通信を行なう装置間での相互認証に用いた鍵以外の可変データであれば、いかなるものを用いてもよい。なお、通信鍵交換シーケンスは、遊技機による遊技を可能にするために遊技機との暗号通信に用いる鍵(通信化鍵)を交換するものであり、その詳細な処理については、後述する。   The CU control unit 323 and the SC 325b use a substrate initial key as an encryption key, perform a communication key exchange sequence, and generate a communication key. In the communication key exchange sequence, the substrate authentication key is used as the encryption key when the substrate information can be acquired in the substrate information acquisition sequence. However, when the substrate information cannot be acquired, the substrate initial key is used as the encryption key for a limited time. Specifically, the communication key is generated using a random number and current time data. The method for generating this communication key (session key) is not limited to random number and current time data, but any variable data other than the key used for mutual authentication between encrypted communication devices can be used. Also good. Note that the communication key exchange sequence is for exchanging a key (communication key) used for encryption communication with a gaming machine in order to enable gaming by the gaming machine, and detailed processing will be described later.

通信鍵交換シーケンスで通信鍵を生成できた場合、SC325bは、通信制御IC325aから遊技機チップ情報を取得する。   When the communication key can be generated by the communication key exchange sequence, the SC 325b acquires the gaming machine chip information from the communication control IC 325a.

その後、CU制御部323およびSC325bは、暗号鍵に通信鍵交換シーケンスより取得した通信鍵を用い、遊技機チップ情報問合せシーケンスを行ない、遊技機チップ情報を問合せ/通知する。遊技機チップ情報問合せシーケンスはSE2モードにて行なわれる。遊技機チップ情報には、主制御チップIDや払出制御チップIDなどが含まれている。なお、遊技機チップ情報認証シーケンスの詳細な処理については、後述する。   Thereafter, the CU control unit 323 and the SC 325b use the communication key acquired from the communication key exchange sequence as the encryption key, perform a gaming machine chip information inquiry sequence, and inquire / notify gaming machine chip information. The gaming machine chip information inquiry sequence is performed in the SE2 mode. The gaming machine chip information includes a main control chip ID and a payout control chip ID. Detailed processing of the gaming machine chip information authentication sequence will be described later.

以上の処理を行なうことで、CU制御部323およびSC325bは、遊技機と業務電文通信が可能となる。この遊技機と業務電文通信を行なうことにより遊技機において遊技が可能となる。この遊技機との業務電文通信には、通信鍵(セッション鍵)を利用して運用される。このときの通信は、前述したように、時限的な通信であり、一定期間(たとえば、2日)のみ許容される。以上の処理を経て行なわれる通信モードが制限通信モード(基板初期鍵モード(基板初期鍵運用))である。この時限運用のまま一定期間(たとえば、2日)がオーバーした場合には仮運用が停止されるとともに、オーバーしたことがSC325bからCU制御部323、ホールサーバ801を経由して鍵管理サーバへ通知される。   By performing the above processing, the CU control unit 323 and the SC 325b can perform business message communication with the gaming machine. By performing business telegram communication with this gaming machine, gaming can be performed on the gaming machine. The business message communication with the gaming machine is operated using a communication key (session key). The communication at this time is time-limited communication as described above, and is allowed only for a certain period (for example, 2 days). The communication mode performed through the above processing is the restricted communication mode (substrate initial key mode (substrate initial key operation)). If a certain period of time (for example, 2 days) is exceeded with this timed operation, the temporary operation is stopped and the overage is notified from the SC 325b to the key management server via the CU control unit 323 and the hall server 801. Is done.

その後、CU3は、P台2に対して、リカバリ要求を行ない、P台2は、前回最終送信通番、前回挿入中カードID、前回カード挿入時刻を含むリカバリ応答のレスポンス(リカバリ応答)をCU3に返信する。   Thereafter, the CU 3 makes a recovery request to the P unit 2, and the P unit 2 sends a response (recovery response) of the recovery response including the previous last transmission serial number, the previously inserted card ID, and the previous card insertion time to the CU 3. Send back.

次に、図50を参照して、CU制御部323の電源投入・通常立上の処理を説明する。この図50は、CU3が遊技場に設置された後、通常に電源を立上げたときのシーケンスであり、特に、基板認証鍵を用いた立上シーケンスについて説明する。   Next, with reference to FIG. 50, the power-on / normal startup process of the CU control unit 323 will be described. FIG. 50 shows a sequence when the power is normally turned on after the CU 3 is installed in the amusement hall. In particular, a startup sequence using the board authentication key will be described.

まず、CU3の電源を投入すると、CU制御部323およびSC325bが起動される。CU3が遊技場に設置されて最初に電源を立上げたときに、CU制御部323は、上位装置より(具体的には鍵管理サーバより、ホールサーバ801を経由して)基板シリアルID鍵、基板認証鍵バージョン、基板認証鍵A、基板認証鍵AのMAC鍵を取得する。なお、基板シリアルID鍵は、基板初期鍵で復号され、基板初期鍵Aは、基板シリアルIDを用いて復号され、さらに、基板初期鍵AのMAC鍵も同様に、基板シリアルIDを用いて復号される。これらの復号は、AESの暗号方式に則った復号方式で行なわれる。   First, when the power of the CU3 is turned on, the CU control unit 323 and the SC325b are activated. When the power supply is first turned on after the CU3 is installed in the amusement hall, the CU control unit 323 receives a board serial ID key from the host device (specifically, from the key management server via the hall server 801), The board authentication key version, the board authentication key A, and the MAC key of the board authentication key A are acquired. The board serial ID key is decrypted using the board initial key, the board initial key A is decrypted using the board serial ID, and the MAC key of the board initial key A is similarly decrypted using the board serial ID. Is done. Such decryption is performed by a decryption method according to the AES encryption method.

その後、CU制御部323およびSC325bは、基板メーカコード認証シーケンス、基板認証鍵認証シーケンス、セキュリティ基板情報問合せシーケンスを実行する。基板認証鍵認証シーケンスおよびセキュリティ基板情報問合せシーケンスはいずれもSE1モードにて行なわれる。   Thereafter, the CU control unit 323 and the SC 325b execute a board manufacturer code authentication sequence, a board authentication key authentication sequence, and a security board information inquiry sequence. Both the board authentication key authentication sequence and the security board information inquiry sequence are performed in the SE1 mode.

基板メーカコード認証シーケンスは、チャレンジ/レスポンス方式を用いて、CU制御部323とSC325bとの間で基板メーカコードを認証する。基板メーカコード認証シーケンスの処理後、CU制御部323およびSC325bは、暗号鍵に鍵管理サーバより取得した基板認証鍵を用い、基板認証鍵認証シーケンスを行なう。なお、基板認証鍵認証シーケンスの詳細な処理については、後述する。   The board manufacturer code authentication sequence authenticates the board manufacturer code between the CU control unit 323 and the SC 325b using a challenge / response method. After processing the board manufacturer code authentication sequence, the CU control unit 323 and the SC 325b perform the board authentication key authentication sequence using the board authentication key acquired from the key management server as the encryption key. Detailed processing of the board authentication key authentication sequence will be described later.

その後、CU制御部323およびSC325bは、鍵の更新が有る場合にのみ、暗号鍵に鍵管理サーバより取得した基板認証鍵を用い、セキュリティ基板情報問合せシーケンスを行なう。   Thereafter, the CU control unit 323 and the SC 325b perform the security board information inquiry sequence using the board authentication key acquired from the key management server as the encryption key only when the key is updated.

基板認証鍵認証シーケンスで基板認証鍵を認証でき鍵更新が無かった場合や、鍵更新が有り、セキュリティ基板情報問合せシーケンスで認証ができると、SC325bは、通信制御IC325aとの間で認証を実行する。   The SC 325b executes authentication with the communication control IC 325a when the board authentication key can be authenticated by the board authentication key authentication sequence and there is no key update, or when there is a key update and authentication can be performed by the security board information inquiry sequence. .

その後、CU制御部323およびSC325bは、暗号鍵に基板認証鍵を用い、通信鍵交換シーケンスを行ない、通信鍵を生成する。通信鍵交換シーケンスはSE1モードにて行なわれる。通信鍵の生成方法は、具体的には、乱数と現在時刻のデータとを用いて生成する。この通信鍵(セッション鍵)の生成方法は、乱数と現在時刻のデータとに限らず、暗号通信を行なう装置間での相互認証に用いた鍵以外の可変データであれば、いかなるものを用いてもよい。なお、通信鍵交換シーケンスは、遊技機による遊技を可能にするために遊技機との暗号通信に用いる鍵(通信化鍵)を交換するものであり、その詳細な処理については、後述する。   Thereafter, the CU control unit 323 and the SC 325b use the board authentication key as the encryption key, perform a communication key exchange sequence, and generate a communication key. The communication key exchange sequence is performed in the SE1 mode. Specifically, the communication key is generated using a random number and current time data. The method for generating this communication key (session key) is not limited to random number and current time data, but any variable data other than the key used for mutual authentication between encrypted communication devices can be used. Also good. Note that the communication key exchange sequence is for exchanging a key (communication key) used for encryption communication with a gaming machine in order to enable gaming by the gaming machine, and detailed processing will be described later.

通信鍵交換シーケンスで通信鍵を生成することができた場合、SC325bは、通信制御IC325aから遊技機チップ情報をさらに取得する。   When the communication key can be generated by the communication key exchange sequence, the SC 325b further acquires gaming machine chip information from the communication control IC 325a.

その後、CU制御部323およびSC325bは、暗号鍵に通信鍵交換シーケンスより取得した通信鍵を用い、遊技機チップ情報問合せシーケンスを行ない、遊技機チップ情報を問合せ/通知する。遊技機チップ情報問合せシーケンスはSE2モードにて行なわれる。遊技機チップ情報には、主制御チップIDや払出制御チップIDなどが含まれている。なお、遊技機チップ情報認証シーケンスの詳細な処理については、後述する。   Thereafter, the CU control unit 323 and the SC 325b use the communication key acquired from the communication key exchange sequence as the encryption key, perform a gaming machine chip information inquiry sequence, and inquire / notify gaming machine chip information. The gaming machine chip information inquiry sequence is performed in the SE2 mode. The gaming machine chip information includes a main control chip ID and a payout control chip ID. Detailed processing of the gaming machine chip information authentication sequence will be described later.

以上の処理を行なうことで、CU制御部323およびSC325bは、遊技機と業務電文通信が可能となる。この遊技機と業務電文通信を行なうことにより遊技機において遊技が可能となる。この遊技機との業務電文通信には、通信鍵(セッション鍵)が利用される。このときの通信は、制限通信モードのような制限のない通常通信モード(基板認証鍵モード(基板認証鍵運用))である。   By performing the above processing, the CU control unit 323 and the SC 325b can perform business message communication with the gaming machine. By performing business telegram communication with this gaming machine, gaming can be performed on the gaming machine. A communication key (session key) is used for business message communication with this gaming machine. Communication at this time is a normal communication mode (board authentication key mode (board authentication key operation)) without restriction as in the restricted communication mode.

次に、図51を参照して、CU制御部323の電源投入・工場出荷時立上の処理を説明する。この図51は、CU3が遊技場に出荷される前の工場出荷時のシーケンスを示し、特に、基板出荷鍵を用いた工場出荷立上シーケンスについて説明する。当該シーケンスは、工場出荷時、上位装置に接続していない状態のCU制御部323およびSC325bにおける処理である。   Next, with reference to FIG. 51, processing for turning on the power of the CU control unit 323 and starting at the time of factory shipment will be described. FIG. 51 shows a sequence at the time of factory shipment before the CU 3 is shipped to the amusement hall, and in particular, a factory shipment start-up sequence using a board shipment key will be described. This sequence is a process in the CU control unit 323 and the SC 325b that is not connected to the host device at the time of factory shipment.

まず、CU3の電源を投入すると、CU制御部323およびSC325bが起動される。CU制御部323およびSC325bは、基板メーカコード認証シーケンス、基板初期鍵認証シーケンスを実行する。   First, when the power of the CU3 is turned on, the CU control unit 323 and the SC325b are activated. The CU control unit 323 and the SC 325b execute a board manufacturer code authentication sequence and a board initial key authentication sequence.

基板メーカコード認証シーケンスは、チャレンジ/レスポンス方式を用いて、CU制御部323とSC325bとの間で基板メーカコードを認証する。基板メーカコード認証シーケンスの処理後、CU制御部323およびSC325bは、暗号鍵に基板初期鍵を用い、基板初期鍵認証シーケンスを行なう。基板初期鍵認証シーケンスはSE1モードにて行なわれる。しかし、工場出荷時の段階のため未だ遊技場にCU3が設置されていないため、遊技場のホールサーバ801より基盤初期鍵をCU制御部323が取得できておらず、その結果、基板初期鍵認証の結果がNGとなる。   The board manufacturer code authentication sequence authenticates the board manufacturer code between the CU control unit 323 and the SC 325b using a challenge / response method. After processing the board manufacturer code authentication sequence, the CU control unit 323 and the SC 325b perform the board initial key authentication sequence using the board initial key as the encryption key. The board initial key authentication sequence is performed in the SE1 mode. However, since the CU 3 is not yet installed in the game arcade at the factory shipment stage, the CU control unit 323 cannot acquire the base initial key from the hall server 801 in the game arcade, and as a result, the board initial key authentication The result is NG.

その後、CU制御部323は、基板初期鍵認証シーケンスが認証NGとなったため、CU制御部323は、SC325bにセキュリティ基板325のテストに用いる基板出荷鍵を要求する、基板出荷鍵要求のコマンドをSC325bに送信する。SC325bは、CU制御部323から基板出荷鍵要求のコマンドを受信後、基板出荷鍵を含む基板出荷鍵応答のレスポンスをCU制御部323に送信する。   After that, since the board initial key authentication sequence is authentication NG, the CU control section 323 sends a board shipment key request command to the SC 325b to request the board shipment key used for testing the security board 325. Send to. After receiving the board shipment key request command from the CU control unit 323, the SC 325b transmits a board shipment key response response including the board shipment key to the CU control unit 323.

その後、CU制御部323およびSC325bは、暗号鍵にSC325bより取得した基板出荷鍵を用い、基板出荷鍵認証シーケンスを行なう。基板出荷鍵認証シーケンスはSE1モードにて行なわれる。なお、基板出荷鍵認証シーケンスの詳細な処理については、後述する。   Thereafter, the CU control unit 323 and the SC 325b perform a board shipping key authentication sequence using the board shipping key acquired from the SC 325b as the encryption key. The board shipping key authentication sequence is performed in the SE1 mode. Detailed processing of the board shipping key authentication sequence will be described later.

基板出荷鍵認証シーケンスで基板出荷鍵を認証できた場合、SC325bは、通信制御IC325aとの間で認証を実行する。   If the board shipping key can be authenticated by the board shipping key authentication sequence, the SC 325b performs authentication with the communication control IC 325a.

その後、CU制御部323およびSC325bは、暗号鍵に基板出荷鍵を用い、通信鍵交換シーケンスを行ない、通信鍵を生成する。通信鍵交換シーケンスはSE1モードにて行なわれる。通信鍵の生成方法は、具体的には、乱数と現在時刻のデータとを用いて生成する。この通信鍵(セッション鍵)の生成方法は、乱数と現在時刻のデータとに限らず、暗号通信を行なう装置間での相互認証に用いた鍵以外の可変データであれば、いかなるものを用いてもよい。なお、通信鍵交換シーケンスは、遊技機による遊技を可能にするために遊技機との暗号通信に用いる鍵(通信化鍵)を交換するものであり、その詳細な処理については、後述する。   Thereafter, the CU control unit 323 and the SC 325b use the board shipment key as the encryption key, perform a communication key exchange sequence, and generate a communication key. The communication key exchange sequence is performed in the SE1 mode. Specifically, the communication key is generated using a random number and current time data. The method for generating this communication key (session key) is not limited to random number and current time data, but any variable data other than the key used for mutual authentication between encrypted communication devices can be used. Also good. Note that the communication key exchange sequence is for exchanging a key (communication key) used for encryption communication with a gaming machine in order to enable gaming by the gaming machine, and detailed processing will be described later.

通信鍵交換シーケンスで通信鍵を生成できた場合、SC325bは、通信制御IC325aから遊技機チップ情報を取得する。   When the communication key can be generated by the communication key exchange sequence, the SC 325b acquires the gaming machine chip information from the communication control IC 325a.

その後、CU制御部323およびSC325bは、暗号鍵に通信鍵交換シーケンスより取得した通信鍵を用い、遊技機チップ情報問合せシーケンスを行ない、遊技機チップ情報を問合せ/通知する。遊技機チップ情報問合せシーケンスはSE2モードにて行なわれる。遊技機チップ情報には、主制御チップIDや払出制御チップIDなどが含まれている。なお、遊技機チップ情報認証シーケンスの詳細な処理については、後述する。   Thereafter, the CU control unit 323 and the SC 325b use the communication key acquired from the communication key exchange sequence as the encryption key, perform a gaming machine chip information inquiry sequence, and inquire / notify gaming machine chip information. The gaming machine chip information inquiry sequence is performed in the SE2 mode. The gaming machine chip information includes a main control chip ID and a payout control chip ID. Detailed processing of the gaming machine chip information authentication sequence will be described later.

その後、CU3は、P台2に対して、通信テスト要求を行ない、P台2は通信テスト応答をCU3に送信する。   Thereafter, the CU 3 makes a communication test request to the P unit 2, and the P unit 2 transmits a communication test response to the CU 3.

以上の処理を行なうことで、CU制御部323およびSC325bは、遊技機と通信テスト電文のみの通信が可能となる。この通信テスト電文の通信を行なうことにより工場出荷時の通信テストが行われる。この工場出荷時の通信テストに合格したCU3が遊技場に納入されて最初の電源立上時のシーケンスが図49で説明したホール設置立上シーケンスであり、その後基板認証鍵の取得後に実行されるシーケンスが図50で説明した通常立上シーケンスである。   By performing the above processing, the CU control unit 323 and the SC 325b can communicate with the gaming machine only by the communication test message. By performing communication of this communication test message, a communication test at the time of factory shipment is performed. CU3 that has passed the factory communication test is delivered to the amusement hall, and the first power-on sequence is the hall installation sequence described with reference to FIG. 49, and is executed after obtaining the board authentication key. The sequence is the normal startup sequence described with reference to FIG.

次に、図52を参照して、基板メーカコードの認証シーケンスの処理を説明する。
まず、CU制御部323は、SC325bに対して、基板メーカコードの認証を要求する基板メーカコード認証要求1のコマンドを送信する。なお、基板メーカコード認証は、チャレンジ/レスポンス方式を用いて行なうため、CU制御部323は、SC325bに対して、チャレンジコードを要求する。
Next, with reference to FIG. 52, processing of the board manufacturer code authentication sequence will be described.
First, the CU control unit 323 transmits a board manufacturer code authentication request 1 command for requesting board manufacturer code authentication to the SC 325b. Since the board manufacturer code authentication is performed using the challenge / response method, the CU control unit 323 requests the challenge code from the SC 325b.

基板メーカコード認証要求1のコマンドを受信したSC325bは、基板メーカコードに基づくチャレンジコードを生成し、生成したチャレンジコードを基板メーカコード認証応答1のレスポンスでCU制御部323に通知する。   Upon receiving the board manufacturer code authentication request 1 command, the SC 325b generates a challenge code based on the board manufacturer code, and notifies the CU control unit 323 of the generated challenge code as a response of the board manufacturer code authentication response 1.

基板メーカコード認証応答1のコマンドを受信したCU制御部323は、チャレンジコードに基づくレスポンスコードを生成し、生成したレスポンスコードを基板メーカコード認証要求2のコマンドでSC325bに通知する。具体的には、基板メーカコードを鍵として受信したチャレンジコードを暗号化してレスポンスコードを生成する。   Upon receiving the board manufacturer code authentication response 1 command, the CU control unit 323 generates a response code based on the challenge code, and notifies the generated response code to the SC 325b using the board manufacturer code authentication request 2 command. Specifically, the response code is generated by encrypting the challenge code received using the board manufacturer code as a key.

基板メーカコード認証要求2のコマンドを受信したSC325bは、レスポンスコードをチェックして(具体的には基板メーカコードを鍵としてレスポンスコードを復号してチャレンジコードを抽出して)チャレンジコードが一致すればチェック結果がOKであるとする。そして、当該チェック結果を基板メーカコード認証応答2のレスポンスでCU制御部323に通知する。このとき、CU制御部323は、基板メーカコード認証結果などの認証ログ情報をSC325bから取得する。   The SC 325b that has received the board manufacturer code authentication request 2 command checks the response code (specifically, if the challenge code is extracted by decrypting the response code using the board manufacturer code as a key), the challenge code matches. Assume that the check result is OK. Then, the check result is notified to the CU control unit 323 as a response of the board manufacturer code authentication response 2. At this time, the CU control unit 323 acquires authentication log information such as a board manufacturer code authentication result from the SC 325b.

一方、チャレンジコードが一致しなければチェック結果がNG(不適正)であるとする。その場合に、n回際認証を繰り返し、n回連続でNGの場合にSC325bが無応答状態(HALT)となり、基板認証鍵と本認証鍵とがクリアされる(図65参照)。この無応答状態(HALT)となった後には、SC325bが通信制御IC325aと認証を行なうことはなく、工場で修理を行なうこととなる。   On the other hand, if the challenge codes do not match, the check result is NG (inappropriate). In this case, the authentication is repeated n times, and SC 325b becomes a no-response state (HALT) in the case of NG for n times continuously, and the board authentication key and the main authentication key are cleared (see FIG. 65). After entering the no-response state (HALT), the SC 325b does not authenticate with the communication control IC 325a, and repairs are performed at the factory.

CU制御部323は、SC325bにCU制御部固有情報(統一店舗コード、台番、現在時刻)を通知して、遊技機との接続を要求する基板接続要求のコマンドを送信する。   The CU control unit 323 notifies the SC 325b of the CU control unit specific information (unified store code, unit number, current time), and transmits a board connection request command for requesting connection with the gaming machine.

SC325bは、CU制御部323からの基板接続要求のコマンドを受信後、統一店舗コード、台晩、現在時刻の情報を保持し、前回の統一店舗コードが一致しているときは、CU制御部323に対して接続要求を受付けた(OK)ことを通知する基板接続応答のレスポンスを返信する。   After receiving the board connection request command from the CU control unit 323, the SC 325b retains the information on the unified store code, the bedtime, and the current time, and when the previous unified store code matches, the CU control unit 323 A response of the board connection response notifying that the connection request has been accepted (OK) is returned.

一方、前回の統一店舗コードと不一致であるときは、CU制御部323に対して接続要求を受付けていない(NG)ことを通知する基板接続応答のレスポンスを返信し、RAMに記憶されている基板認証鍵をクリアするとともに、基板初期鍵を暗号鍵として処理を進めるモードである基板初期鍵モード(図49参照)に遷移する。このとき、CU制御部323は、基板接続要求結果などの認証ログ情報をSC325bから取得する。   On the other hand, when it does not coincide with the previous unified store code, a response of the substrate connection response notifying that the connection request is not accepted (NG) is returned to the CU control unit 323, and the substrate stored in the RAM In addition to clearing the authentication key, a transition is made to a substrate initial key mode (see FIG. 49), which is a mode in which processing proceeds with the substrate initial key as an encryption key. At this time, the CU control unit 323 acquires authentication log information such as a board connection request result from the SC 325b.

次に、図53を参照して、基板初期鍵または基板出荷鍵の認証シーケンスの処理を説明する。このシーケンスはSE1モードにて行なわれる。   Next, with reference to FIG. 53, processing of the authentication sequence of the board initial key or board shipping key will be described. This sequence is performed in SE1 mode.

まず、図53に示すように、基板初期鍵を暗号鍵として処理を進めるモードである基板初期鍵モードの状態の場合には、図53において基盤初期鍵を用いた認証が行われるが、基板出荷鍵を暗号鍵として処理を進めるモードである基板出荷鍵モードの状態の場合には、図53において基盤出荷鍵を用いた認証が行われることになる。よって、図53の「/」はいずれか一方を表す記号である。CU制御部323は、SC325bに対して、認証情報を要求する基板初期鍵/基板出荷鍵認証要求1のコマンドを送信する。なお、基板初期鍵/基板出荷鍵認証要求1のコマンドは暗号化していないが、暗号鍵に基板初期鍵/基板出荷鍵を用いて、暗号化してもよい。   First, as shown in FIG. 53, in the state of the board initial key mode, which is a mode for proceeding with the board initial key as an encryption key, authentication using the basic initial key is performed in FIG. In the case of the substrate shipping key mode, which is a mode for proceeding with processing using the key as the encryption key, authentication using the base shipping key is performed in FIG. Therefore, “/” in FIG. 53 is a symbol representing either one. The CU control unit 323 sends a board initial key / board shipment key authentication request 1 command for requesting authentication information to the SC 325b. The command of the board initial key / board shipping key authentication request 1 is not encrypted, but may be encrypted using the board initial key / board shipping key as the encryption key.

基板初期鍵/基板出荷鍵認証要求1のコマンドを受信したSC325bは、CU制御部323に対して、基板初期鍵または基板出荷鍵で認証情報の乱数Aを暗号化し、MAC鍵でH−MACを算出して、基板初期鍵/基板出荷鍵認証応答1のレスポンスで返信する。   The SC 325b that has received the command of the board initial key / board shipping key authentication request 1 encrypts the random number A of the authentication information with the board initial key or the board shipping key and sends the H-MAC with the MAC key to the CU control unit 323. It calculates and returns with the response of the board initial key / board shipment key authentication response 1.

基板初期鍵/基板出荷鍵認証応答1のコマンドを受信したCU制御部323は、基板初期鍵または基板出荷鍵を検証するため、認証情報の乱数Aを復号化し、MACをチェックする。   The CU control unit 323 that has received the board initial key / board shipping key authentication response 1 command decrypts the random number A of the authentication information and checks the MAC in order to verify the board initial key or board shipping key.

その後、CU制御部323は、SC325bに対して、基板初期鍵または基板出荷鍵で認証情報の乱数Bを暗号化し、MAC鍵でH−MACを算出して、基板初期鍵/基板出荷鍵認証要求2のコマンドで送信する。なお、基板初期鍵/基板出荷鍵認証要求2のコマンドは、暗号鍵に基板初期鍵または基板出荷鍵を用いて、暗号化してある。   Thereafter, the CU control unit 323 encrypts the random number B of the authentication information with the board initial key or the board shipping key, calculates the H-MAC with the MAC key, and requests the board initial key / board shipping key authentication request to the SC 325b. Send with command 2. The command of the board initial key / board shipping key authentication request 2 is encrypted using the board initial key or the board shipping key as the encryption key.

基板初期鍵/基板出荷鍵認証要求2のコマンドを受信したSC325bは、CU制御部323に対して、基板初期鍵または基板出荷鍵を検証するため、認証情報の乱数Bを復号化し、MACをチェックする。そして、SC325bは、CU制御部323に対して、認証結果を基板初期鍵/基板出荷鍵認証応答2のレスポンスで返信する。このとき、CU制御部323は、基板初期鍵認証結果、基板出荷鍵認証結果などの認証ログ情報をSC325bから取得する。   The SC 325b that has received the command of the board initial key / board shipping key authentication request 2 decrypts the random number B of the authentication information and checks the MAC in order to verify the board initial key or board shipping key to the CU control unit 323. To do. The SC 325b returns an authentication result to the CU control unit 323 as a response of the board initial key / board shipment key authentication response 2. At this time, the CU control unit 323 acquires authentication log information such as a board initial key authentication result and a board shipping key authentication result from the SC 325b.

次に、図54を参照して、基板シリアルIDおよび基板認証鍵の認証シーケンスの処理を説明する。このシーケンスはSE1モードにて行なわれる。   Next, with reference to FIG. 54, processing of the authentication sequence of the board serial ID and the board authentication key will be described. This sequence is performed in SE1 mode.

まず、CU制御部323とSC325bとの通信は、基板認証鍵を暗号鍵として処理を進めるモードである基板認証鍵モードの状態において、CU制御部323は、SC325bに対して、基板シリアルIDの認証を要求する基板シリアルID認証要求1のコマンドを送信する。なお、基板シリアルID認証は、チャレンジ/レスポンス方式を用いて行なうため、CU制御部323は、SC325bに対して、チャレンジコードを要求する。   First, the communication between the CU control unit 323 and the SC 325b is performed in the state of the board authentication key mode, which is a mode in which processing is performed using the board authentication key as an encryption key. The command of the board serial ID authentication request 1 for requesting is sent. Since the board serial ID authentication is performed using a challenge / response method, the CU control unit 323 requests a challenge code from the SC 325b.

基板シリアルID認証要求1のコマンドを受信したSC325bは、基板シリアルIDに基づくチャレンジコードを生成し、生成したチャレンジコードを基板シリアルID認証応答1のレスポンスでCU制御部323に通知する。   The SC 325b that has received the command of the board serial ID authentication request 1 generates a challenge code based on the board serial ID, and notifies the CU control unit 323 of the generated challenge code as a response of the board serial ID authentication response 1.

基板シリアルID認証応答1のコマンドを受信したCU制御部323は、チャレンジコードに基づくレスポンスコードを生成し(具体的には基板メシリアルIDを鍵としてチャレンジコードを暗号化してレスポンスコードを生成し)、生成したレスポンスコードを基板シリアルID認証要求2のコマンドでSC325bに通知する。   The CU control unit 323 that has received the command of the board serial ID authentication response 1 generates a response code based on the challenge code (specifically, generates a response code by encrypting the challenge code using the board serial ID as a key), The generated response code is notified to the SC 325b by the command of the board serial ID authentication request 2.

基板シリアルID認証要求2のコマンドを受信したSC325bは、レスポンスコードをチェックして(具体的には基板メシリアルIDを鍵としてレスポンスコードを復号してチャレンジコードを抽出して)、チャレンジコードが一致すればチェック結果がOKであるとする。そして、当該チェック結果を基板シリアルID認証応答2のレスポンスでCU制御部323に通知する。なお、チェック結果がNGの場合、SC325bは、CU制御部323に対してチェック結果を、基板認証結果通知および基板認証結果応答での認証結果に含め、NGを通知する。このとき、CU制御部323は、基板シリアルID認証結果などの認証ログ情報をSC325bから取得する。   Upon receiving the board serial ID authentication request 2 command, the SC 325b checks the response code (specifically, decrypts the response code using the board serial ID as a key and extracts the challenge code), and the challenge code matches. If the check result is OK. Then, the check result is notified to the CU control unit 323 by the response of the board serial ID authentication response 2. If the check result is NG, the SC 325b notifies the CU control unit 323 that the check result is included in the authentication result in the board authentication result notification and the board authentication result response, and notifies the NG. At this time, the CU control unit 323 acquires authentication log information such as a board serial ID authentication result from the SC 325b.

その後、CU制御部323は、SC325bに対して、基板認証鍵のバージョン情報を通知するためにバージョン情報通知のコマンドを送信する。なお、バージョン情報通知のコマンドは、暗号鍵に基板認証鍵を用いて、暗号化してある。   Thereafter, the CU control unit 323 transmits a version information notification command to the SC 325b in order to notify the version information of the board authentication key. Note that the version information notification command is encrypted using the board authentication key as the encryption key.

バージョン情報通知のコマンドを受信したSC325bは、CU制御部323に対して基板認証鍵のバージョン情報を受信したことを通知するために、バージョン情報応答のレスポンスを返信する。なお、バージョン情報応答のレスポンスは暗号化していないが、暗号鍵に基板認証鍵を用いて暗号化してもよい。   Upon receiving the version information notification command, the SC 325b returns a response of the version information response to notify the CU control unit 323 that the version information of the board authentication key has been received. Note that the response of the version information response is not encrypted, but may be encrypted using a board authentication key as an encryption key.

その後、CU制御部323は、SC325bに対して、認証情報を要求する基板認証鍵認証要求1のコマンドを送信する。なお、基板認証鍵認証要求1のコマンドは暗号化していないが、暗号鍵に基板認証鍵を用いて、暗号化してもよい。   Thereafter, the CU control unit 323 transmits a command of the board authentication key authentication request 1 for requesting authentication information to the SC 325b. The command of the board authentication key authentication request 1 is not encrypted, but may be encrypted using the board authentication key as the encryption key.

基板認証鍵認証要求1のコマンドを受信したSC325bは、CU制御部323に対して、基板認証鍵で認証情報の乱数Aを暗号化し、MAC鍵でH−MACを算出して、基板認証鍵認証応答1のレスポンスで返信する。   The SC 325b that has received the command of the board authentication key authentication request 1 encrypts the random number A of the authentication information with the board authentication key and calculates the H-MAC with the MAC key to the CU control unit 323, and the board authentication key authentication. Reply with response 1 response.

基板認証鍵認証応答1のコマンドを受信したCU制御部323は、基板認証鍵を検証するため、認証情報の乱数Aを復号化し、MACをチェックする。   Upon receiving the board authentication key authentication response 1 command, the CU control unit 323 decrypts the random number A of the authentication information and checks the MAC in order to verify the board authentication key.

その後、CU制御部323は、SC325bに対して、基板認証鍵で認証情報の乱数Bを暗号化し、MAC鍵でH−MACを算出して、基板認証鍵認証要求2のコマンドで送信する。なお、基板認証鍵認証要求2のコマンドは、暗号鍵に基板認証鍵を用いて、暗号化してある。   Thereafter, the CU control unit 323 encrypts the random number B of the authentication information with the board authentication key, calculates the H-MAC with the MAC key, and transmits it to the SC 325b with the command of the board authentication key authentication request 2. The command of the board authentication key authentication request 2 is encrypted using the board authentication key as the encryption key.

基板認証鍵認証要求2のコマンドを受信したSC325bは、CU制御部323に対して、基板認証鍵を検証するため、認証情報の乱数Bを復号化し、MACをチェックする。そして、SC325bは、CU制御部323に対して、認証結果を基板認証鍵認証応答2のレスポンスで返信する。   Upon receiving the board authentication key authentication request 2 command, the SC 325b decrypts the random number B of the authentication information and checks the MAC in order to verify the board authentication key to the CU control unit 323. Then, the SC 325b returns an authentication result as a response of the board authentication key authentication response 2 to the CU control unit 323.

その後、CU制御部323は、SC325bに対して、基板認証結果を通知するために、基板認証結果通知のコマンドを送信する。なお、基板認証結果通知のコマンドは、暗号鍵に基板認証鍵を用いて、暗号化してある。基板認証結果通知のコマンドは、基板シリアルID認証と基板認証鍵の認証結果をSC325bに対して通知する。   Thereafter, the CU control unit 323 transmits a board authentication result notification command to the SC 325b in order to notify the board authentication result. The board authentication result notification command is encrypted using the board authentication key as the encryption key. The board authentication result notification command notifies the SC 325b of the board serial ID authentication and the board authentication key authentication result.

基板認証結果通知のコマンドを受信したSC325bは、CU制御部323に対して、基板シリアルID認証と基板認証鍵の認証結果を通知するために、基板認証結果応答のコマンドを送信する。なお、基板認証結果応答のコマンドは、暗号鍵に基板認証鍵を用いて、暗号化してある。このとき、CU制御部323は、基板認証結果などの認証ログ情報をSC325bから取得する。   The SC 325b that has received the board authentication result notification command transmits a board authentication result response command to the CU control unit 323 in order to notify the board serial ID authentication and the board authentication key authentication result. The board authentication result response command is encrypted using the board authentication key as the encryption key. At this time, the CU control unit 323 acquires authentication log information such as a board authentication result from the SC 325b.

次に、図55は、セキュリティ基板情報の問合せを行なう場合の処理を説明するための図である。このシーケンスはSE1モードにて行なわれる。図55を参照して、まず、CU制御部323は、SC325bに対して上位装置に問合せる情報を要求するために、セキュリティ基板問合せ指示通知のコマンドを送信する。なお、送信するセキュリティ基板問合せ指示通知のコマンドは、暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化してある。   Next, FIG. 55 is a diagram for explaining processing in the case of inquiring about security board information. This sequence is performed in SE1 mode. Referring to FIG. 55, first, the CU control unit 323 transmits a security board inquiry instruction notification command to the SC 325b in order to request information for inquiring of the host device. Note that the security board inquiry instruction notification command to be transmitted is encrypted using the board initial key or the board authentication key as the encryption key.

セキュリティ基板問合せ指示通知のコマンドを受信したSC325bは、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に問合せる情報(基板シリアル番号および問合せ情報)をCU制御部323に通知するために、セキュリティ基板問合せ結果のレスポンスをCU制御部323に返信する。なお、返信するセキュリティ基板問合せ指示通知のレスポンスは、基板シリアル番号を暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化しているとともに、CU制御部323とホールサーバ801とが復号できない鍵(以下「秘匿用鍵」と言う)で問合せ情報を暗号化している。その結果、問合せ情報は鍵管理サーバのみが復号して解読できる。   The SC 325b that has received the security board inquiry instruction notification command notifies the CU control unit 323 of information (board serial number and inquiry information) for inquiring of the host device (specifically, the key management server via the hall server 801). The response of the security board inquiry result is returned to the CU control unit 323. Note that the response of the security board inquiry instruction notification to be returned is encrypted by using the board serial number as the encryption key and the board initial key or the board authentication key, and the CU control unit 323 and the hall server 801 cannot decrypt the key ( Inquiry information is encrypted using the “secret key”. As a result, the inquiry information can be decrypted and decrypted only by the key management server.

セキュリティ基板問合せ結果のレスポンスを受信したCU制御部323は、基板シリアル番号および問合せ情報に基づき、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)にセキュリティ基板325の情報(基板シリアル番号および問合せ情報)を問合せ、上位装置からの応答を待つ。セキュリティ基板情報を問合せ中、CU制御部323およびSC325bは、上位装置からの応答を待たずに、次のステップの処理(たとえば、通信制御ICの認証処理、遊技機チップ情報の認証処理、遊技機との業務電文処理等)を実行し、セキュリティ基板情報を受信したときに必要な処理を実施する。   Upon receiving the response of the security board inquiry result, the CU control unit 323 sends the information (board serial number) of the security board 325 to the host device (specifically, the key management server via the hall server 801) based on the board serial number and the inquiry information. And inquiry information), and waits for a response from the host device. While inquiring about security board information, the CU control unit 323 and the SC 325b do not wait for a response from the host device, and process the next step (for example, communication control IC authentication processing, gaming machine chip information authentication processing, gaming machine Business message processing, etc.), and necessary processing is performed when security board information is received.

その後、CU制御部323は、上位装置からセキュリティ基板情報の問合せ結果(基板シリアルIDおよび基板認証鍵)を受信すると、セキュリティ基板情報をSC325bに通知する。具体的に、CU制御部323は、問合せ結果である基板シリアルIDおよび基板認証鍵を含むセキュリティ基板情報通知のコマンドをSC325bに送信する。なお、送信するセキュリティ基板情報通知のコマンドは、暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化してある。   Thereafter, when receiving the inquiry result of the security board information (board serial ID and board authentication key) from the host device, the CU control unit 323 notifies the security board information to the SC 325b. Specifically, the CU control unit 323 transmits a security board information notification command including the board serial ID and the board authentication key, which is the inquiry result, to the SC 325b. Note that the security board information notification command to be transmitted is encrypted using the board initial key or the board authentication key as the encryption key.

SC325bは、セキュリティ基板情報通知のコマンドを受信後、問合せ番号を確認して、セキュリティ基板情報通知のコマンドを正常に受信したことをCU制御部323に通知するために、セキュリティ基板情報結果のレスポンスを返信する。なお、鍵更新情報は、次回リセット時に使用される。返信するセキュリティ基板情報結果のレスポンスは、暗号化しなくてもよいが、暗号化する場合、暗号鍵に基板初期鍵または基板認証鍵を用いる。   After receiving the security board information notification command, the SC 325b confirms the inquiry number and sends a response of the security board information result to notify the CU control unit 323 that the security board information notification command has been normally received. Send back. The key update information is used at the next reset. The response of the security board information result to be returned does not need to be encrypted. However, in the case of encryption, a board initial key or a board authentication key is used as the encryption key.

その後、CU制御部323は、受信結果がOKの場合には、基板シリアルID鍵および基板認証鍵Aを保存して、次回リセット時に認証鍵情報として使用する。また、CU制御部323は、基板情報問合せおよび基板情報通知の認証ログ情報を取得する。   Thereafter, if the reception result is OK, the CU control unit 323 stores the board serial ID key and the board authentication key A and uses them as authentication key information at the next reset. In addition, the CU control unit 323 acquires authentication log information for board information inquiry and board information notification.

次に、図56を参照して、遊技機チップ情報問合せシーケンスの処理を説明する。このシーケンスはSE2モードにて行なわれる。   Next, the processing of the gaming machine chip information inquiry sequence will be described with reference to FIG. This sequence is performed in SE2 mode.

まず、CU制御部323は、SC325bに対して遊技機チップ情報を問合せる遊技機チップ問合せ指示通知のコマンドを送信する。なお、送信する遊技機チップ問合せ指示通知のコマンドは、暗号化しなくてもよいが、暗号化する場合、暗号鍵に通信鍵を用いる。   First, the CU control unit 323 transmits a gaming machine chip inquiry instruction notification command for inquiring gaming machine chip information to the SC 325b. Note that the gaming machine chip inquiry instruction notification command to be transmitted does not have to be encrypted, but when encrypted, a communication key is used as the encryption key.

一方、SC325bは、通信制御ICから遊技機チップ情報を取得する。その後、遊技機チップ問合せ指示通知のコマンドを受信したSC325bは、遊技機チップ情報の取得を完了しているので、遊技機チップ問合せ結果=OKの情報を含む遊技機チップ問合せ結果のレスポンスをCU制御部323に返信する。遊技機チップ情報には、主制御チップID、払出制御チップIDなどが含まれている。なお、返信する遊技機チップ問合せ結果のレスポンスは、主制御チップIDと払出制御チップIDとが秘匿用鍵で暗号化され、その他の情報は暗号鍵に通信鍵を用いて、暗号化してある。   On the other hand, the SC 325b acquires gaming machine chip information from the communication control IC. Thereafter, the SC 325b that has received the gaming machine chip inquiry instruction notification command has completed the acquisition of the gaming machine chip information, so the response of the gaming machine chip inquiry result including the information of gaming machine chip inquiry result = OK is CU controlled. Reply to part 323. The gaming machine chip information includes a main control chip ID, a payout control chip ID, and the like. Note that the response of the returned gaming machine chip inquiry result is that the main control chip ID and the payout control chip ID are encrypted with the secret key, and other information is encrypted using the communication key as the encryption key.

その後、CU制御部323は、返信された遊技機チップ問合せ結果のレスポンスを受信した場合、上位装置(鍵管理サーバまたはホールサーバ801:図5参照)に、主制御チップIDおよび払出制御チップIDを含む遊技機チップ情報を問合せ、上位装置からの応答を待つ。遊技機チップ情報問合せ中、CU制御部323およびSC325bは、上位装置からの応答を持たずに、次のステップの処理(遊技機との業務電文処理)を実行する。遊技機チップ情報の問合せには時間(たとえば2時間程度)がかかるため、その間遊技機の稼働を停止しておくわけにはいかないために、上位装置からの応答を持たずに次のステップの処理(遊技機との業務電文処理)を実行する。なお、遊技機チップ情報問合せ中は、リセット動作(たとえば、リセットボタン(図示省略)の操作や電源再投入など)が行なわれても、再度遊技機チップ問合せ指示通知の要求は出されない。   After that, when receiving the response of the returned gaming machine chip inquiry result, the CU control unit 323 sends the main control chip ID and the payout control chip ID to the higher-level device (key management server or hall server 801: see FIG. 5). Inquiries about the gaming machine chip information included, and waits for a response from the host device. During the gaming machine chip information inquiry, the CU control unit 323 and the SC 325b execute the processing of the next step (business message processing with the gaming machine) without receiving a response from the host device. Since it takes time (for example, about 2 hours) to inquire about gaming machine chip information, the operation of the gaming machine cannot be stopped during that time, so the next step processing is not performed without a response from the host device. (Business message processing with game machine) is executed. It should be noted that during the gaming machine chip information inquiry, even if a reset operation (for example, operation of a reset button (not shown) or power-on, etc.) is performed, the gaming machine chip inquiry instruction notification request is not issued again.

その後、CU制御部323は、上位装置から遊技機チップ情報の照合結果を受信すると、当該照合結果をSC325bに通知する。具体的に、CU制御部323は、照合結果を含む遊技機チップ情報通知のコマンドをSC325bに送信する。なお、送信する遊技機チップ照合結果通知のコマンドは、暗号鍵に通信鍵を用いて、暗号化してある。   After that, when receiving the matching result of the gaming machine chip information from the host device, the CU control unit 323 notifies the SC 325b of the matching result. Specifically, the CU control unit 323 transmits a gaming machine chip information notification command including a matching result to the SC 325b. Note that the gaming machine chip verification result notification command to be transmitted is encrypted using the communication key as the encryption key.

SC325bは、遊技機チップ情報通知のコマンドを受信後、照合結果がOKのとき、遊技機メーカコードおよび型式コードをCU制御部323に通知するため、遊技機チップ情報結果のレスポンスを返信する。なお、返信する遊技機チップ情報結果のレスポンスは、暗号鍵に通信鍵を用いて、暗号化してある。   After receiving the gaming machine chip information notification command, the SC 325b returns a response of the gaming machine chip information result to notify the CU control unit 323 of the gaming machine manufacturer code and model code when the collation result is OK. Note that the response of the gaming machine chip information result to be returned is encrypted using the communication key as the encryption key.

同時に、CU制御部323は、SC325bからの遊技機チップ情報結果に含まれる遊技機チップ情報問合せ、遊技機チップ情報照合結果などの認証ログを取得する。   At the same time, the CU control unit 323 obtains an authentication log such as a gaming machine chip information inquiry and a gaming machine chip information collation result included in the gaming machine chip information result from the SC 325b.

次に、図57を参照して、通信鍵交換シーケンスの処理を説明する。CU制御部323は、SC325bに対して、SE2モードで使用するカウンタの初期ベクタ部の値(上り用初期ベクタ部の値、下り用初期ベクタ部の値)を要求するカウンタ情報要求を送信する。CU制御部323は、SC325bと通信制御IC325aとの間での認証処理が完了するまで待ち合せする。SC325bはSE2モードで使用するカウンタの初期ベクタ値(上り用初期ベクタ値と下り用初期ベクタ値)を生成してカウンタ情報応答にてCU制御部323へ通知する。なお、応答は、暗号鍵に基板初期鍵または基板認証鍵を用い、SE1モードで暗号化してある。   Next, the communication key exchange sequence process will be described with reference to FIG. The CU control unit 323 transmits, to the SC 325b, a counter information request for requesting the values of the initial vector portion of the counter used in the SE2 mode (the value of the upstream initial vector portion and the value of the downstream initial vector portion). The CU control unit 323 waits until the authentication process between the SC 325b and the communication control IC 325a is completed. The SC 325b generates initial vector values (upstream initial vector value and downstream initial vector value) used in the SE2 mode, and notifies the CU control unit 323 of the counter information response. The response is encrypted in SE1 mode using the board initial key or board authentication key as the encryption key.

CU制御部323は認証ログ情報を取得する。これは通信制御IC325aの認証結果を含む。続いて、CU制御部323は通信鍵要求をSC325bへ送信する。すると、SC325bは通信鍵(セッション鍵)を生成してこれを通信鍵応答にてCU制御部323へ通知する。この通信はSE2モードにて行なわれる。なお、通信鍵(セッション鍵)の生成方法は、具体的には、基板初期鍵を用いる場合にはその基板初期鍵と乱数とから通信鍵(セッション鍵)を生成し、認証鍵を用いる場合にはその認証鍵と乱数とから通信鍵(セッション鍵)を生成する。なお、乱数の代わりに現在時刻のデータを用いてもよい。   The CU control unit 323 acquires authentication log information. This includes the authentication result of the communication control IC 325a. Subsequently, the CU control unit 323 transmits a communication key request to the SC 325b. Then, the SC 325b generates a communication key (session key) and notifies the CU control unit 323 of this with a communication key response. This communication is performed in SE2 mode. Note that the method for generating a communication key (session key) is specifically a case where a communication key (session key) is generated from the substrate initial key and a random number when the substrate initial key is used, and an authentication key is used. Generates a communication key (session key) from the authentication key and a random number. The current time data may be used instead of the random number.

CU制御部323は認証ログ情報を取得する。これには有効鍵設定結果と認証鍵設定結果(結果のみ)とが含まれる。以降、通信鍵(セッション鍵)を使用した通信が行なわれる。   The CU control unit 323 acquires authentication log information. This includes the valid key setting result and the authentication key setting result (only the result). Thereafter, communication using a communication key (session key) is performed.

次に、図58を参照して、基板認証鍵認証異常のシーケンスの処理を説明する。まず、CU3の電源を投入すると、CU制御部323およびSC325bが起動される。その後、CU制御部323およびSC325bは、基板メーカコード認証シーケンス、基板認証鍵認証シーケンスを実行する。   Next, with reference to FIG. 58, the processing of the sequence of the board authentication key authentication abnormality will be described. First, when the power of the CU3 is turned on, the CU control unit 323 and the SC325b are activated. Thereafter, the CU control unit 323 and the SC 325b execute a board manufacturer code authentication sequence and a board authentication key authentication sequence.

基板メーカコード認証シーケンスは、チャレンジ/レスポンス方式を用いて、CU制御部323とSC325bとの間で基板メーカコードを認証する。基板メーカコード認証シーケンスの処理後、CU制御部323およびSC325bは、暗号鍵に鍵管理サーバより取得した基板認証鍵を用い、基板認証鍵認証シーケンスを行なう。基板認証鍵認証シーケンスはSE1モードにて行なわれる。ここで、基板認証鍵認証が認証NGとなった場合には、SC325bは、認証異常として、基板認証鍵情報をクリアする。   The board manufacturer code authentication sequence authenticates the board manufacturer code between the CU control unit 323 and the SC 325b using a challenge / response method. After processing the board manufacturer code authentication sequence, the CU control unit 323 and the SC 325b perform the board authentication key authentication sequence using the board authentication key acquired from the key management server as the encryption key. The board authentication key authentication sequence is performed in the SE1 mode. If the board authentication key authentication is authentication NG, the SC 325b clears the board authentication key information as an authentication error.

その後、CU制御部323およびSC325bは、基板初期鍵認証シーケンスを実行する。基板初期鍵認証シーケンスはSE1モードにて行なわれる。このとき、基板初期鍵認証シーケンスの通信は、暗号鍵として基板初期鍵を用いて、暗号化してある。   Thereafter, the CU control unit 323 and the SC 325b execute a board initial key authentication sequence. The board initial key authentication sequence is performed in the SE1 mode. At this time, the communication of the board initial key authentication sequence is encrypted using the board initial key as the encryption key.

この基板初期鍵認証シーケンスの認証が認証OKのときは、その後は図49に示したホール設置時立上シーケンスの処理と同様に、セキュリティ基板情報問合せシーケンス、通信鍵交換シーケンス、遊技機チップ情報問合せシーケンスなどの処理が行われ、遊技機と業務電文通信が可能となる。以後の通信は、暗号鍵として、通信鍵を用いて、暗号化してある。   When the authentication of the board initial key authentication sequence is authentication OK, the security board information inquiry sequence, the communication key exchange sequence, and the gaming machine chip information inquiry are performed in the same manner as the hall installation start-up sequence shown in FIG. Processing such as a sequence is performed, and business message communication with the gaming machine becomes possible. The subsequent communication is encrypted using the communication key as the encryption key.

なお、SC325bは、基板認証鍵シーケンスの認証が認証NGになったことを示す「基板認証鍵更新異常」のアラーム(エラー情報)を鍵管理サーバ801に通知する。   Note that the SC 325b notifies the key management server 801 of an alarm (error information) of “abnormal board authentication key update” indicating that the authentication of the board authentication key sequence is authentication NG.

次に、図59は、セキュリティ基板情報の問合せタイムアウトシーケンスの処理を説明する図である。   Next, FIG. 59 is a diagram for explaining processing of an inquiry timeout sequence for security board information.

まず、CU制御部323は、SC325bに対して上位装置に問合せる情報を要求するために、セキュリティ基板問合せ指示通知のコマンドを送信する。なお、送信するセキュリティ基板問合せ指示通知のコマンドは、暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化してある。   First, the CU control unit 323 transmits a security board inquiry instruction notification command to the SC 325b in order to request information for inquiring of the host device. Note that the security board inquiry instruction notification command to be transmitted is encrypted using the board initial key or the board authentication key as the encryption key.

セキュリティ基板問合せ指示通知のコマンドを受信したSC325bは、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に問合せる情報(基板シリアル番号および問合せ情報)をCU制御部323に通知するために、セキュリティ基板問合せ結果のレスポンスをCU制御部323に返信する。このシーケンスはSE1モードにて行なわれる。なお、返信するセキュリティ基板問合せ指示通知のレスポンスは、基板シリアル番号を暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化しているとともに、秘匿用鍵で問合せ情報を暗号化している。その結果、問合せ情報は鍵管理サーバのみが復号して解読できる。   The SC 325b that has received the security board inquiry instruction notification command notifies the CU control unit 323 of information (board serial number and inquiry information) for inquiring of the host device (specifically, the key management server via the hall server 801). The response of the security board inquiry result is returned to the CU control unit 323. This sequence is performed in SE1 mode. The response of the security board inquiry instruction notification to be returned is encrypted using the board serial number as the encryption key and the board initial key or the board authentication key, and the inquiry information is encrypted with the secret key. As a result, the inquiry information can be decrypted and decrypted only by the key management server.

セキュリティ基板問合せ結果のレスポンスを受信したCU制御部323は、基板シリアル番号および問合せ情報に基づき、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)にセキュリティ基板325の情報(基板シリアル番号および問合せ情報)を問合せ、上位装置からの応答を待つ。セキュリティ基板情報を問合せ中、CU制御部323およびSC325bは、上位装置からの応答を待たずに、次のステップの処理(たとえば、通信制御ICの認証処理、遊技機チップ情報の認証処理、遊技機との業務電文処理等)を実行する。   Upon receiving the response of the security board inquiry result, the CU control unit 323 sends the information (board serial number) of the security board 325 to the host device (specifically, the key management server via the hall server 801) based on the board serial number and the inquiry information. And inquiry information), and waits for a response from the host device. While inquiring about security board information, the CU control unit 323 and the SC 325b do not wait for a response from the host device, and process the next step (for example, communication control IC authentication processing, gaming machine chip information authentication processing, gaming machine Business message processing etc.).

その後、CU制御部323は、上位装置からセキュリティ基板情報の問合せ結果(基板シリアルIDおよび基板認証鍵)を受信する前に、セキュリティ基板情報問合せの待ち時間がタイムアウトした場合には、CU3はP台2の状態に関する情報を要求する状態情報要求のコマンドを送信する。なお、この状態情報要求のコマンドは、暗号鍵に通信鍵を用い、暗号化してある。態情報要求のコマンドを受信したSC325bは通信制御IC325a経由でP台2の遊技機チップ情報を取得する。   After that, the CU control unit 323, when receiving the security board information inquiry result (board serial ID and board authentication key) from the host device, times out the waiting time for the security board information inquiry, the CU 3 2 transmits a status information request command for requesting information on the second status. The status information request command is encrypted using a communication key as an encryption key. The SC 325b that has received the status information request command acquires the gaming machine chip information of the P unit 2 via the communication control IC 325a.

そしてSC325bは、CU3に対して、状態情報応答のレスポンスを返信する。このとき、SC325bは、セキュリティ基板情報を鍵管理センターに問合せを要求する旨の「基板問合せ有」を含む状態情報応答を返信する。状態情報要求/応答のシーケンスはSE2モードにて行なわれる。   Then, the SC 325b returns a response of the status information response to the CU 3. At this time, the SC 325b returns a status information response including “board inquiry present” indicating that the security board information is requested to the key management center. The status information request / response sequence is performed in the SE2 mode.

上記のセキュリティ基板問合せに対して、CU制御部323は、SC325bに対して上位装置に問合せる情報を要求するために、セキュリティ基板問合せ指示通知のコマンドを送信する。なお、送信するセキュリティ基板問合せ指示通知のコマンドは、暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化してある。   In response to the above-described security board inquiry, the CU control unit 323 transmits a security board inquiry instruction notification command to the SC 325b in order to request information to make an inquiry to the host device. Note that the security board inquiry instruction notification command to be transmitted is encrypted using the board initial key or the board authentication key as the encryption key.

セキュリティ基板問合せ指示通知のコマンドを受信したSC325bは、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に問合せる情報(基板シリアル番号および問合せ情報)をCU制御部323に通知するために、セキュリティ基板問合せ結果のレスポンスをCU制御部323に再度返信する。セキュリティ基板問合せ指示通知/セキュリティ基板問合せ結果のシーケンスはSE2モードにて行なわれる。なお、返信するセキュリティ基板問合せ指示通知のレスポンスは、基板シリアル番号を暗号鍵に基板初期鍵または基板認証鍵を用い、暗号化しているとともに、秘匿用鍵で問合せ情報を暗号化している。その結果、問合せ情報は鍵管理サーバのみが復号して解読できる。   The SC 325b that has received the security board inquiry instruction notification command notifies the CU control unit 323 of information (board serial number and inquiry information) for inquiring of the host device (specifically, the key management server via the hall server 801). The response of the security board inquiry result is sent back to the CU control unit 323 again. The security board inquiry instruction notification / security board inquiry result sequence is performed in the SE2 mode. The response of the security board inquiry instruction notification to be returned is encrypted using the board serial number as the encryption key and the board initial key or the board authentication key, and the inquiry information is encrypted with the secret key. As a result, the inquiry information can be decrypted and decrypted only by the key management server.

セキュリティ基板問合せ結果のレスポンスを受信したCU制御部323は、基板シリアル番号および問合せ情報に基づき、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)にセキュリティ基板325の情報(基板シリアル番号および問合せ情報)を問合せ、上位装置からの応答を待ち続ける。   Upon receiving the response of the security board inquiry result, the CU control unit 323 sends the information (board serial number) of the security board 325 to the host device (specifically, the key management server via the hall server 801) based on the board serial number and the inquiry information. And inquiry information), and waits for a response from the host device.

次に、図60は、遊技機チップ情報の問合せ(照合)タイムアウトシーケンスの処理を説明する図である。このシーケンスはSE2モードにて行なわれる。   Next, FIG. 60 is a diagram for explaining processing of a gaming machine chip information inquiry (collation) timeout sequence. This sequence is performed in SE2 mode.

まず、CU制御部323は、SC325bに対して上位装置に問合せる情報(具体的には遊技機チップ情報)を要求するために、遊技機チップ問合せ指示通知のコマンドを送信する。なお、送信する遊技機チップ問合せ指示通知のコマンドは、暗号鍵に通信鍵を用い、暗号化してある。   First, the CU control unit 323 transmits a gaming machine chip inquiry instruction notification command to request information (specifically, gaming machine chip information) for inquiring of the host device to the SC 325b. Note that the gaming machine chip inquiry instruction notification command to be transmitted is encrypted using a communication key as an encryption key.

一方、SC325bは、通信制御ICから遊技機チップ情報を取得し、その後、遊技機チップ問合せ指示通知のコマンドを受信したSC325bは、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に問合せる情報(主制御チップ情報および払出制御チップ情報)をCU制御部323に通知するために、遊技機チップ問合せ結果(認証OK)のレスポンスをCU制御部323に返信する。なお、返信する遊技機チップ問合せ指示通知のレスポンスは、主制御チップIDと払出制御チップIDとが秘匿用鍵で暗号化され、その他の情報は暗号鍵に通信鍵を用い、暗号化してある。   On the other hand, the SC 325b obtains the gaming machine chip information from the communication control IC, and then receives the gaming machine chip inquiry instruction notification command, and then the SC 325b communicates with the host device (specifically, the key management server via the hall server 801). In order to notify the CU control unit 323 of information to be inquired (main control chip information and payout control chip information), a response of the gaming machine chip inquiry result (authentication OK) is returned to the CU control unit 323. Note that the response of the game machine chip inquiry instruction notification to be returned is encrypted with the main control chip ID and the payout control chip ID using a secret key, and the other information is encrypted using a communication key as an encryption key.

遊技機チップ問合せ結果のレスポンスを受信したCU制御部323は、主制御チップ情報および払出制御チップ情報に基づき、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に遊技機チップ情報(主制御チップ情報および払出制御チップ情報)を問合せ、上位装置からの応答を待つ。遊技機チップ情報を問合せ中、CU制御部323およびSC325bは、上位装置からの応答を待たずに、次のステップの処理(たとえば、通信制御ICの認証処理、セキュリティ基板情報の認証処理、遊技機との業務電文処理等)を実行し、遊技機チップ情報を受信したときに必要な処理を実施する。   The CU control unit 323 that has received the response of the gaming machine chip inquiry result sends the gaming machine chip information (specifically, the key management server via the hall server 801) to the gaming machine chip information (based on the main control chip information and the payout control chip information). Main control chip information and payout control chip information) and wait for a response from the host device. While inquiring about the gaming machine chip information, the CU control unit 323 and the SC 325b do not wait for a response from the host device, and process the next step (for example, authentication processing of the communication control IC, authentication processing of the security board information, gaming machine Business message processing, etc.) and the processing necessary when the gaming machine chip information is received.

しかしながら、その後、CU制御部323は、上位装置から遊技機チップ情報の問合せ結果(主制御チップ情報および払出制御チップ情報)を受信する前に、遊技機チップ情報問合せの待ち時間がタイムアウトした場合には、CU3はP台2の状態に関する情報を要求する状態情報要求のコマンドを送信する。なお、この状態情報要求のコマンドは、暗号鍵に通信鍵を用い、暗号化してある。状態情報要求のコマンドを受信したSC325bは通信制御IC325a経由でP台2の遊技機チップ情報を取得する。   However, after that, the CU control unit 323 determines that the waiting time for the gaming machine chip information inquiry has timed out before receiving the gaming machine chip information inquiry result (main control chip information and payout control chip information) from the host device. The CU 3 transmits a status information request command for requesting information on the status of the P platform 2. The status information request command is encrypted using a communication key as an encryption key. The SC 325b that has received the status information request command acquires the gaming machine chip information of the P unit 2 via the communication control IC 325a.

そしてSC325bは、CU3に対して、状態情報応答のレスポンスを返信する。このとき、SC325bは、遊技機チップ情報の鍵管理センターへの問合せを要求する旨の「チップ情報問合せ有」を含む状態情報応答を返信する。   Then, the SC 325b returns a response of the status information response to the CU 3. At this time, the SC 325b returns a status information response including “chip information inquiry present” indicating that an inquiry to the key management center for gaming machine chip information is requested.

上記の遊技機チップ情報問合せに対して、CU制御部323は、SC325bに対して上位装置に問合せる情報を要求するために、遊技機チップ問合せ指示通知のコマンドを送信する。なお、送信する遊技機チップ問合せ指示通知のコマンドは、暗号鍵に通信鍵を用い、暗号化してある。   In response to the above gaming machine chip information inquiry, the CU control unit 323 transmits a gaming machine chip inquiry instruction notification command to the SC 325b in order to request information for inquiring of the host device. Note that the gaming machine chip inquiry instruction notification command to be transmitted is encrypted using a communication key as an encryption key.

遊技機チップ問合せ指示通知のコマンドを受信したSC325bは、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に問合せる情報(主制御チップ情報および払出制御チップ情報)をCU制御部323に通知するために、遊技機チップ問合せ結果のレスポンスをCU制御部323に再度返信する。なお、返信する遊技機チップ問合せ指示通知のレスポンスは、主制御チップIDと払出制御チップIDとが秘匿用鍵で暗号化され、その他の情報は暗号鍵に通信鍵を用い、暗号化してある。   Upon receiving the gaming machine chip inquiry instruction notification command, the SC 325b sends information (main control chip information and payout control chip information) for inquiring of the host device (specifically, the key management server via the hall server 801) to the CU control unit 323. In order to notify, the response of the gaming machine chip inquiry result is sent back to the CU control unit 323 again. Note that the response of the game machine chip inquiry instruction notification to be returned is encrypted with the main control chip ID and the payout control chip ID using a secret key, and the other information is encrypted using a communication key as an encryption key.

遊技機チップ問合せ結果のレスポンスを受信したCU制御部323は、主制御チップ情報および払出制御チップ情報に基づき、上位装置(具体的にはホールサーバ801経由で鍵管理サーバ)に遊技機チップ情報(主制御チップ情報および払出制御チップ情報)を問合せ、上位装置からの応答を待ち続ける。   The CU control unit 323 that has received the response of the gaming machine chip inquiry result sends the gaming machine chip information (specifically, the key management server via the hall server 801) to the gaming machine chip information (based on the main control chip information and the payout control chip information). Main control chip information and payout control chip information) and continue to wait for a response from the host device.

以上の図49〜図60に基づいて説明したCU制御部323とSC325bとの間でのシーケンスにおいて、特徴的な部分を以下にまとめて説明する。   Characteristic parts of the sequence between the CU control unit 323 and the SC 325b described with reference to FIGS. 49 to 60 will be described below.

CU3が遊技場に入荷されて設置された後に実行されるシーケンスとして、「基板初期鍵認証シーケンス」がある(図49参照)。この「基板初期鍵認証シーケンス」は、遊技場に搬入されて設置された最初の電源投入時においては、上位装置(ホールサーバ801)から基板初期鍵をダウンロード取得し、その基板初期鍵を用いて認証されるシーケンスである。この基板初期鍵認証シーケンスの認証結果がOKであることを条件として、この基板初期鍵を用いて「セキュリティ基板情報問合せシーケンス」が実行される(図49参照)。このセキュリティ基板情報問合せシーケンスにより基板認証鍵が上位装置(鍵管理サーバ)からダウンロード記憶され、以降、この基板認証鍵を利用して各種認証シーケンスや通信鍵交換シーケンス等が実行されてその通信鍵を用いて遊技機と業務電文通信が実行される(図50参照)。   As a sequence executed after the CU 3 is received and installed in the amusement hall, there is a “board initial key authentication sequence” (see FIG. 49). This “board initial key authentication sequence” is obtained by downloading and obtaining a board initial key from the host device (hall server 801) at the first power-on time when it is brought into the game hall and installed. The sequence to be authenticated. On the condition that the authentication result of this board initial key authentication sequence is OK, the “security board information inquiry sequence” is executed using this board initial key (see FIG. 49). The board authentication key is downloaded and stored from the host device (key management server) by this security board information inquiry sequence, and thereafter, various authentication sequences, communication key exchange sequences, etc. are executed using this board authentication key, and the communication key is obtained. Using this, business message communication with the gaming machine is executed (see FIG. 50).

一方、基板初期鍵を用いてのセキュリティ基板情報問合せシーケンス(図49参照)を実行した結果、基板認証鍵を取得できない場合がある。この基板認証鍵は、CUメーカがCU3を遊技場に出荷するときにそのCU3の基板認証鍵を鍵管理サーバへ送信して鍵管理サーバに記憶してもらい、遊技場に搬入されたCUがその事前に鍵管理サーバに記憶されている基板認証鍵をダウンロード記憶するのであるが、CUメーカから鍵管理サーバへの基板認証鍵の送信が何らかの理由により遅れている場合がある。また、遊技場に搬入されて設置されたCU3がセキュリティ基板情報問合せシーケンスを実行して基板認証鍵をダウンロードしようとしたときに鍵管理サーバとCU3との間で不測の事態が発生して通信不能のオフライン状態となっている場合もある。このような場合には、基板認証鍵をダウンロードすることができない。   On the other hand, as a result of executing the security board information inquiry sequence (see FIG. 49) using the board initial key, the board authentication key may not be acquired. The board authentication key is sent to the key management server by the CU manufacturer when the CU manufacturer ships CU3 to the game hall, and stored in the key management server. The board authentication key stored in advance in the key management server is downloaded and stored, but the transmission of the board authentication key from the CU manufacturer to the key management server may be delayed for some reason. In addition, when the CU3 installed in the amusement hall attempts to download the board authentication key by executing the security board information inquiry sequence, an unexpected situation occurs between the key management server and the CU3 and communication is impossible. May be offline. In such a case, the board authentication key cannot be downloaded.

基板認証鍵をダウンロードできない場合に、それ以降の遊技機との業務電文通信等の実稼動の運用が一切できないとなれば、遊技場における稼動率の低下等の運用上の問題が生じる。そこで、このような不測の事態が発生した場合には、仮の認証鍵である基板初期鍵を利用して実稼動の仮運用ができるように制御される。具体的には、上位装置(具体的にはホールサーバ801)より取得済の基板初期鍵を用いて、通信鍵交換シーケンスを実行し、乱数と時刻データとを用いて通信鍵(セッション鍵)を生成し、CU制御部323とSC325bとの間でその通信鍵(セッション鍵)を共有し、その通信鍵(セッション鍵)を使用して業務電文通信を行なって実稼動制御が行なわれる。この基板初期鍵を利用して交換した通信鍵による実稼動制御は、あくまで基板初期鍵が仮の鍵であり基板認証鍵が取得できない不安定な状態であるために、一定の期間だけ許容される仮運用の制御がなされる。具体的には、2日間のみこの基板初期鍵を用いた実稼動制御を許容し、3日目の電源立上げ時においても基板認証鍵を取得できなかったときには、それ以降の制御を停止させ、異常が発生した旨を報知するとともにホールサーバ801やホール用管理コンピュータへ異常発生した旨の通知を行なうように制御する。なお、基板初期鍵での一定の期間(たとえば2日)だけ許容される仮運用の時限制御は、基板初期鍵がホールサーバ801に記憶されているものであるため、少なくともCU制御部323がホールサーバ801に接続されていることが担保されている状態で許容される。   If the board authentication key cannot be downloaded and the actual operation such as business message communication with the gaming machine after that cannot be performed at all, operational problems such as a decrease in the operating rate at the amusement hall occur. Therefore, when such an unforeseen situation occurs, control is performed so that the temporary operation of the actual operation can be performed using the board initial key which is a temporary authentication key. Specifically, the communication key exchange sequence is executed using the board initial key acquired from the host device (specifically, the hall server 801), and the communication key (session key) is obtained using the random number and the time data. The communication key (session key) is generated and shared between the CU control unit 323 and the SC 325b, and business message communication is performed using the communication key (session key), thereby performing actual operation control. The actual operation control using the communication key exchanged using the board initial key is allowed only for a certain period because the board initial key is a temporary key and the board authentication key cannot be obtained. Temporary operation is controlled. Specifically, actual operation control using this board initial key is allowed for only two days, and when the board authentication key cannot be obtained even at the time of power-up on the third day, the subsequent control is stopped, Control is performed to notify that the abnormality has occurred and to notify the hall server 801 and the hall management computer that the abnormality has occurred. The temporary operation time limit control that is allowed for a certain period (for example, two days) with the board initial key is that the board initial key is stored in the hall server 801, so that at least the CU control unit 323 has the hall. Allowed to be connected to the server 801 is permitted.

また、前述の「基板初期鍵/出荷鍵認証シーケンス」は、図51に示した工場出荷時すなわち未だ遊技場に搬入されていない段階でも実行される。この段階で基板初期鍵認証シーケンスを実行した場合には、未だ基板初期鍵が取得されていないために、基板初期鍵を用いたこの基板初期鍵認証シーケンスの実行の結果NGの認証結果が導出される。すると、図53に示した基板出荷鍵要求、基板出荷鍵応答以降の各シーケンスが実行され、遊技機と通信テスト電文の通信が実行される状態となる。すなわち、「基板初期鍵/出荷鍵認証シーケンス」により、基板初期鍵が取得されている段階かあるいは取得されていない工場出荷時の段階かを判断しているのであり、本来相互認証を行なう基板初期鍵認証シーケンスを、基板初期鍵が取得された段階かあるいは取得されていない工場出荷時の段階かの判別にも有効利用している。   Further, the above-mentioned “substrate initial key / shipping key authentication sequence” is executed at the time of factory shipment shown in FIG. When the board initial key authentication sequence is executed at this stage, since the board initial key has not yet been acquired, the result of execution of this board initial key authentication sequence using the board initial key is derived as the NG authentication result. The Then, each sequence after the board shipment key request and the board shipment key response shown in FIG. 53 is executed, and communication between the gaming machine and the communication test message is executed. That is, it is determined by the “substrate initial key / shipping key authentication sequence” whether the substrate initial key has been acquired or not at the time of factory shipment. The key authentication sequence is also effectively used to determine whether the board initial key has been acquired or not at the time of factory shipment.

さらに、以上説明したCU制御部323とSC325bとの間のシーケンスおよびSC325bと通信制御IC325aとの間のシーケンスについて、その制御動作を以下にまとめて記載する。   Further, the control operations of the sequence between the CU control unit 323 and the SC 325b and the sequence between the SC 325b and the communication control IC 325a described above are collectively described below.

通信制御IC325aは、当該通信制御IC325aを識別するための通信制御IC325a識別情報と、SC325b識別情報とを記憶しており(ID情報等を記憶しており)、SC325bは、SC325b識別情報(基板シリアルID)と、通信制御IC325a識別情報(ID情報等)とを記憶している。そして、SC325bと通信制御IC325aとの間で、SC325bにおいて記憶しているSC325b識別情報を用いてチャレンジコードを生成して通信制御IC325aに送信し、該通信制御IC325aにおいて、記憶しているSC325b識別情報を用いて、受信したチャレンジコードからレスポンスコードを生成してSC325bへ返信し、SC325bにおいて、記憶しているSC325b識別情報を用いて受信したレスポンスコードの適否を判定する第2チャレンジレスポンス認証処理(図34の第1認証シーケンス)と、通信制御IC325aにおいて記憶している通信制御IC325a識別情報を用いてチャレンジコードを生成してSC325bに送信し、該SC325bにおいて、記憶している通信制御IC325a識別情報を用いて、受信したチャレンジコードからレスポンスコードを生成して通信制御IC325aへ返信し、通信制御IC325aにおいて、記憶している通信制御IC325a識別情報を用いて受信したレスポンスコードの適否を判定する第3チャレンジレスポンス認証処理(図34の第2認証シーケンス)とを行なう。   The communication control IC 325a stores communication control IC 325a identification information for identifying the communication control IC 325a and SC 325b identification information (stores ID information and the like), and the SC 325b stores SC 325b identification information (board serial number). ID) and communication control IC 325a identification information (ID information, etc.) are stored. Then, a challenge code is generated between the SC 325b and the communication control IC 325a using the SC 325b identification information stored in the SC 325b and transmitted to the communication control IC 325a, and the SC 325b identification information stored in the communication control IC 325a is transmitted. Is used to generate a response code from the received challenge code and return it to the SC 325b. The SC 325b uses the stored SC 325b identification information to determine the suitability of the received response code (see FIG. 34 and a communication control IC 325a identification information stored in the communication control IC 325a, a challenge code is generated and transmitted to the SC 325b, and the communication control IC 325a stored in the SC 325b is stored. Using another information, a response code is generated from the received challenge code and returned to the communication control IC 325a, and the communication control IC 325a determines the suitability of the received response code using the stored communication control IC 325a identification information. A third challenge response authentication process (second authentication sequence in FIG. 34) is performed.

このような動作制御によれば、SC325bと通信制御IC325aとの間において、一方の制御手段からチャレンジコードを他方の制御手段へ送信し他方の制御手段において記憶している識別情報を用いて受信したチャレンジコードからレスポンスコードを生成して一方の制御手段へ返信するという、チャレンジレスポンス方式の認証を行なっているために、制御手段間を送受信されるチャレンジコードやレスポンスコードが漏洩されたとしても、記憶している識別情報を特定することが困難であり、識別情報の漏洩に起因した制御手段に対する不正行為を極力防止することができる。   According to such operation control, the challenge code is transmitted from one control means to the other control means between the SC 325b and the communication control IC 325a and received using the identification information stored in the other control means. Even if a challenge code or response code sent / received between control means is leaked due to challenge-response authentication, a response code is generated from the challenge code and sent back to one control means. It is difficult to specify the identification information that is being performed, and it is possible to prevent fraudulent acts on the control means due to leakage of the identification information as much as possible.

また、互いに暗号通信を行なうSC325bと通信制御IC325aとを備えた遊技用システムまたは遊技機器(CU3、P台2、ジェットカウンタ、POS端末等)は、SC325bと通信制御IC325aとの間で、認証方式の異なる複数種類の相互認証処理を行なう相互認証処理手段(図36の第1認証シーケンス〜バージョン管理情報応答)と、該相互認証処理手段により行なわれる複数種類の相互認証処理における各相互認証単独での認証結果が不適正な場合に該単独での認証結果を認証相手の制御手段に通知せず、複数種類の相互認証すべてを実行した結果の異常を総括して、認証相手の制御手段に通知する総括通知手段(図36:第1認証シーケンス〜バージョン管理情報応答までの認証シーケンスを総括して通知する)とを含んでいる。そして、相互認証処理手段は、総括通知手段により異常を総括して通知した後、該異常のあった制御手段間で複数種類の相互認証処理を再度行なう再認証処理を実行する(図36:第1認証シーケンス〜バージョン管理情報応答までの認証シーケンスを最大2回リトライする)。   In addition, a gaming system or gaming device (CU3, P stand 2, jet counter, POS terminal, etc.) having an SC 325b and a communication control IC 325a that perform cryptographic communication with each other, an authentication method between the SC 325b and the communication control IC 325a. Mutual authentication processing means (first authentication sequence to version management information response in FIG. 36) for performing different types of mutual authentication processing, and each mutual authentication alone in the multiple types of mutual authentication processing performed by the mutual authentication processing means. If the authentication result is incorrect, the individual authentication result is not notified to the authentication partner's control means, but the abnormalities of the results of executing all of the multiple types of mutual authentication are summarized and notified to the authentication partner's control means. General notification means (FIG. 36: general notification of the authentication sequence from the first authentication sequence to the version management information response) And Nde. Then, the mutual authentication processing means collectively reports the abnormality by the general notification means, and then executes a re-authentication process in which a plurality of types of mutual authentication processes are performed again between the control means having the abnormality (FIG. 36: No. 36). The authentication sequence from 1 authentication sequence to version management information response is retried at most twice).

このような動作制御によれば、認証方式の異なる複数種類の相互認証処理が第1の制御手段と第2の制御手段との間および通信制御IC325aと通信制御IC325aとの間で行なわれるために、或る1つの認証方式による相互認証のセキュリティがたとえ破られたとしても、他の異なる認証方式による相互認証によって相互認証のセキュリティを保つことができる。   According to such operation control, a plurality of types of mutual authentication processes with different authentication methods are performed between the first control unit and the second control unit and between the communication control IC 325a and the communication control IC 325a. Even if the security of mutual authentication by one authentication method is broken, the security of mutual authentication can be maintained by mutual authentication by another different authentication method.

また、たとえば、複数種類の相互認証処理の各相互認証の単独での認証結果が不適正な場合に該単独での認証結果を認証相手の制御手段に通知した場合には、どの種類の相互認証で不適正だったのかがわかってしまいセキュリティ上好ましくないが、総括通知手段の働きにより、各相互認証の単独での認証結果が不適正な場合に該単独での認証結果を認証相手の遊技者に通知せず、複数種類の相互認証すべてを実行した結果の異常を総括して、認証相手の制御手段に通知するために、どの種類の相互認証で異常が発生したかを見破れないようにして、セキュリティを向上させることができる。   In addition, for example, when the authentication result of each type of mutual authentication of each of the multiple types of mutual authentication is inappropriate, the type of mutual authentication is notified when the authentication result is notified to the control means of the authentication partner. However, it is not desirable for security because it is known that the authentication result is incorrect. In order to sum up the abnormalities of the results of executing all of the multiple types of mutual authentication and not to notify the control method of the other party of authentication, it is not possible to see which type of mutual authentication has occurred , Can improve security.

さらに、異常を総括通知した後に、異常のあった制御手段間で再度行なう再認証処理が実行されるために、相互認証が本当に異常となるかを再度確認することができ、相互認証の信頼性を向上させることができる。   Furthermore, since the re-authentication process is performed again between the control means in which the abnormality occurred after the general notification of the abnormality, it is possible to check again whether the mutual authentication is really abnormal, and the reliability of mutual authentication Can be improved.

また、上記遊技用システムまたは遊技機器は、相互認証処理手段による再認証処理の結果が不適正であることを条件として、不適正な制御手段間で以降の処理を停止する停止手段(図36:リセット待ちとする)をさらに含む。   Further, the gaming system or the gaming machine stops the subsequent processing between the inappropriate control means on the condition that the result of the re-authentication processing by the mutual authentication processing means is inappropriate (FIG. 36: Further waiting for reset).

このような動作制御によれば、再認証処理の結果が不適正という信頼性の高い不適正認証の結果を条件として、不適正な制御手段間で以降の処理が停止するために、不適正でないにも拘らず以降の処理を停止する不都合を極力減少させることができる。   According to such operation control, since the subsequent processing is stopped between the inappropriate control means on the condition that the result of the re-authentication process is not reliable and the reliability is inappropriate, it is not inappropriate. Nevertheless, the inconvenience of stopping the subsequent processing can be reduced as much as possible.

また、上記遊技用システムまたは遊技機器は、相互認証処理手段による再認証処理の結果が不適正であることを条件として、管理用のサーバへ異常発生の通知を行なうための処理を実行する異常通知処理手段(図36:「認証結果異常」を上位装置に通知)をさらに含む。   In addition, the gaming system or gaming device performs an abnormality notification for executing processing for notifying the management server of the occurrence of an abnormality on the condition that the result of the re-authentication processing by the mutual authentication processing means is inappropriate. It further includes processing means (FIG. 36: “authentication result abnormality” is notified to the host device).

このような動作制御によれば、再認証処理の結果が不適正という信頼性の高い不適正認証の結果を条件として、管理用のサーバへ異常発生の通知が行なわれるために、不適正でないにも拘らず管理用のサーバへ異常発生の通知を行なう不都合を極力減少することができる。   According to such operation control, since the notification of the occurrence of an abnormality is sent to the management server on the condition that the result of the re-authentication process is not reliable and the reliability is inappropriate, it is not inappropriate. Nevertheless, the inconvenience of notifying the management server of the occurrence of an abnormality can be reduced as much as possible.

上記の遊技用システムまたは遊技機器における相互認証処理手段は、通信制御IC325aにおいてチャレンジコードを生成してSC325bに送信し、該SC325bにおいて記憶している識別情報を用いて受信したチャレンジコードからレスポンスコードを生成して通信制御IC325aへ返信し、通信制御IC325aにおいて、記憶している識別情報を用いて受信したレスポンスコードの適否を判定する第1チャレンジレスポンス認証処理(図34の第1認証シーケンス)と、SC325bにおいてチャレンジコードを生成して通信制御IC325aに送信し、該通信制御IC325aにおいて記憶している識別情報を用いて受信したチャレンジコードからレスポンスコードを生成してSC325bへ返信し、SC325bにおいて、記憶している識別情報を用いて受信したレスポンスコードの適否を判定する第2チャレンジレスポンス認証処理(図34の第2認証シーケンス)とを行なう。   The mutual authentication processing means in the above gaming system or gaming device generates a challenge code in the communication control IC 325a and transmits it to the SC 325b, and receives a response code from the challenge code received using the identification information stored in the SC 325b. A first challenge response authentication process (first authentication sequence in FIG. 34) for determining whether the response code received using the identification information stored in the communication control IC 325a is generated and returned to the communication control IC 325a; In SC325b, a challenge code is generated and transmitted to the communication control IC 325a. A response code is generated from the challenge code received using the identification information stored in the communication control IC 325a and returned to the SC325b. In SC325b, Storage to have performed a second challenge response authentication process of determining the appropriateness of the response code received by using the identification information (second authentication sequence of FIG. 34).

このような動作制御によれば、SC325bと通信制御IC325aとにおいて、一方の制御手段からチャレンジコードを他方の制御手段へ送信し他方の制御手段において記憶している識別情報を用いて受信したチャレンジコードからレスポンスコードを生成して一方の制御手段へ返信するという、チャレンジレスポンス方式の認証を行なっているために、両遊技手段の間を送受信されるチャレンジコードやレスポンスコードが漏洩されたとしても、記憶している識別情報を特定することが困難であり、識別情報の漏洩に起因した遊技手段に対する不正行為を極力防止することができる。   According to such operation control, the challenge code received by the SC 325b and the communication control IC 325a using the identification information transmitted from one control means to the other control means and stored in the other control means. Even if a challenge code or response code transmitted / received between both gaming means is leaked, it is stored because the response code is generated and sent back to one control means. It is difficult to specify the identification information being played, and illegal acts on the gaming means due to leakage of the identification information can be prevented as much as possible.

図61は、「基板認証鍵による認証」の具体的制御を説明するためのフローである。図61を参照して、以下説明する一連の処理は、CU制御部323とSC325bとの間において行なわれる。   FIG. 61 is a flowchart for explaining specific control of “authentication using a board authentication key”. Referring to FIG. 61, a series of processing described below is performed between CU control unit 323 and SC 325b.

ステップS201において、チャレンジレスポンス方式を用い、基板シリアルIDを使用した認証処理(単体認証)が行なわれる(図54の基板シリアルID認証要求/応答1,2参照)。   In step S201, an authentication process (unit authentication) using a board serial ID is performed using a challenge response method (see board serial ID authentication request / responses 1 and 2 in FIG. 54).

そして、ステップS201の単体認証が完了すると、次のステップS202において鍵バージョンのチェックが行なわれる(図54のバージョン情報通知/応答参照)。   When the single authentication in step S201 is completed, the key version is checked in the next step S202 (see version information notification / response in FIG. 54).

そして、ステップS202の鍵バージョンのチェックが完了すると、次のステップS203において、基板認証鍵を使用した認証が行なわれる(図54の基板認証鍵認証要求/応答1,2参照)。   When the key version check in step S202 is completed, authentication using the board authentication key is performed in the next step S203 (see board authentication key authentication request / responses 1 and 2 in FIG. 54).

そして、ステップS203の認証処理が完了すると、次のステップS204において、ステップS201〜S203の認証結果を相互に通知を行ない、次のステップS205に処理が進む(図54の基板認証結果通知/応答参照)。   When the authentication process in step S203 is completed, the authentication results in steps S201 to S203 are mutually notified in the next step S204, and the process proceeds to the next step S205 (see board authentication result notification / response in FIG. 54). ).

ステップS205において、通知された認証結果が正常か否かが判断され、認証結果が正常である場合にはステップS206に処理が進み、認証結果が正常でない場合にはステップS207に処理が進む。   In step S205, it is determined whether or not the notified authentication result is normal. If the authentication result is normal, the process proceeds to step S206. If the authentication result is not normal, the process proceeds to step S207.

ステップS206において、CU制御部323がSC325bから取得するセキュリティ基板情報を有しているか否かがさらに判断され、取得するセキュリティ基板情報を有している場合には、ステップS209に処理が進み、取得するセキュリティ基板情報を有していない場合には、ステップS210に処理が進む。   In step S206, it is further determined whether or not the CU control unit 323 has the security board information acquired from the SC 325b. If the CU control unit 323 has the security board information to be acquired, the process proceeds to step S209 to acquire the security board information. If the security board information is not included, the process proceeds to step S210.

ステップS209においては、CU制御部323−SC325b間の基板認証鍵の認証処理について、さらにセキュリティ基板情報の問合せ処理へ遷移し、処理が終了する。一方、ステップS210は、基板認証鍵モードの認証を正常に終了し、処理が終了する。なお、この場合には、CU制御部323−SC325b間は遊技機チップ情報の照合の処理が行なわれる。   In step S209, the board authentication key authentication process between the CU control units 323 and SC325b further shifts to a security board information inquiry process, and the process ends. On the other hand, in step S210, the authentication in the board authentication key mode ends normally, and the process ends. In this case, the game machine chip information is collated between the CU control units 323 and SC325b.

一方、ステップS205において、認証結果が正常でない場合には、ステップS206に処理が進み。このステップS206においてこのリトライ回数が3回目か否かが判断され、リトライ回数が3回目でない(リトライ回数が1回目か2回目である)場合には、処理がステップS201に戻り、再度認証処理が行なわれる。   On the other hand, if the authentication result is not normal in step S205, the process proceeds to step S206. In step S206, it is determined whether or not the number of retries is the third time. If the number of retries is not the third time (the number of retries is the first or second time), the process returns to step S201, and the authentication process is performed again. Done.

S207にてリトライ回数が3回目と判断された場合には、S2071に進み、現在の基板認証鍵での認証実績があるか否かが判断される。すなわち、今回、認証結果が異常と判断された基板認証鍵が前回の認証では正常に認証された実績があるか、あるいは、その基板認証鍵が更新直後で初めて認証判定された鍵であって認証実績のない鍵であるか、が判断される。   If it is determined in S207 that the number of retries is the third time, the process proceeds to S2071, and it is determined whether there is an authentication record with the current board authentication key. In other words, the board authentication key whose authentication result is determined to be abnormal has been successfully authenticated in the previous authentication, or the board authentication key is the key that has been authenticated for the first time immediately after the update and is authenticated. It is determined whether the key has no record.

認証実績が有ると判断された場合には、S2072に進み、鍵記憶エリア不良と判別される。これは、認証実績の有る鍵が今回の認証で異常と判定されたということは、その鍵を記憶しているエリア自体に異常が発生した結果、鍵が前回のものとは異なるものとなったと考えられるからである。これに対して、認証実績がないと判断された場合には、S2073に進み、基板認証鍵更新異常と判別される。これは、認証実績がない鍵であって更新直後の鍵であることから、鍵の更新過程に異常が発生したと考えられるからである。   If it is determined that there is an authentication record, the process proceeds to S2072, where it is determined that the key storage area is defective. This is because a key with an authentication record has been determined to be abnormal in this authentication, as a result of an abnormality occurring in the area that stores the key, the key is different from the previous one. It is possible. On the other hand, if it is determined that there is no authentication record, the process proceeds to S2073, where it is determined that the board authentication key update is abnormal. This is because it is considered that an abnormality has occurred in the key update process because it is a key with no authentication record and a key immediately after the update.

その後、S2074に進み、S2072およびS2073のそれぞれの判別結果に対応するエラー情報を含む認証結果が鍵管理サーバ801(図4参照)へ送信される。その後、S208に進む。ここで、エラー情報は、基板認証鍵シーケンスの認証が認証NGになったことをその原因(鍵記憶エリア不良、基板認証鍵更新異常)とともに示す「基板認証鍵認証異常」である。   Thereafter, the process proceeds to S2074, and an authentication result including error information corresponding to each determination result of S2072 and S2073 is transmitted to the key management server 801 (see FIG. 4). Thereafter, the process proceeds to S208. Here, the error information is a “board authentication key authentication error” indicating that the authentication of the board authentication key sequence is authentication NG together with the cause (defective key storage area, board authentication key update error).

たとえば、S205、S207、S2071〜S2073の判定をSC325bが行なった場合には、S2074ではSC325bがエラー情報を認証結果に含めて送信する。一方、それらの判定をCU制御部323が行なった場合には、S2074ではCU制御部323がエラー情報を認証結果に含めて送信する。その場合、SC325bおよびCU制御部323のいずれにおいてエラー判定されたかを特定可能なデータをエラー情報に含めて送信するようにしてもよい。なお、この実施の形態では、S2071〜S2074の処理をCU制御部323およびSC325bの双方で互いに実行するものとしているが、このような処理を実行する機能をSC325bのみに設けてもよく、あるいはCU制御部323のみに設けてもよい。   For example, when the determination of S205, S207, S2071 to S2073 is performed by the SC 325b, the SC 325b transmits error information in the authentication result in S2074. On the other hand, when these determinations are made by the CU control unit 323, the CU control unit 323 transmits error information in the authentication result in S2074. In that case, the error information may include data that can specify whether the error is determined in either the SC 325b or the CU control unit 323. In this embodiment, the processing of S2071 to S2074 is executed by both the CU control unit 323 and the SC 325b, but the function for executing such processing may be provided only in the SC 325b, or the CU You may provide only in the control part 323. FIG.

また、エラー情報は、鍵管理サーバ801に代えて、あるいは鍵管理サーバ801に加えて、たとえば、通信制御IC325a経由でP台2の払出制御部171へ送信されるようにしてもよい。この場合、エラー情報を受けた払出制御部171は、発射制御基板31を介して発射モータ18を停止させ、遊技不能状態とするようにしてもよい。なお、遊技不能状態とすることに代えて、あるいはこれに加えて、エラー情報をP台2の表示器54に表示するようにしてもよい。   Further, the error information may be transmitted to the payout control unit 171 of the P unit 2 via the communication control IC 325a, for example, instead of the key management server 801 or in addition to the key management server 801. In this case, the payout control unit 171 that has received the error information may stop the firing motor 18 via the firing control board 31 to make the game impossible state. Note that error information may be displayed on the display 54 of the P platform 2 instead of or in addition to the inoperable state.

さらには、SC325b側で認証結果異常と判定された場合には、SC325bは認証結果(失敗)をCU制御部323に通知するとともに上記のエラー情報を通信制御IC325a経由でP台2の払出制御部171へ送信するようにし、CU制御部323側で認証結果異常と判定された場合には、CU制御部323は認証結果(失敗)SC325bに通知するとともに上記のエラー情報を鍵管理サーバ801に送信するようにしてもよい。   Furthermore, when it is determined that the authentication result is abnormal on the SC 325b side, the SC 325b notifies the CU control unit 323 of the authentication result (failure) and sends the error information to the payout control unit of the P unit 2 via the communication control IC 325a. When the authentication result is determined to be abnormal on the CU control unit 323 side, the CU control unit 323 notifies the authentication result (failure) SC 325b and transmits the error information to the key management server 801. You may make it do.

ステップS208において、認証異常として、リセット動作(たとえば、リセットボタン(図示省略)の操作や電源再投入など)まで待機状態となる。リセット動作後において、再度基板初期鍵を暗号鍵として認証処理を行なうモード(基板初期鍵モード)で起動され、各認証処理が行なわれ、処理が終了する。この場合には、その日の営業は1日中この基板初期鍵モードで運用され、翌日の電源立上時に再度鍵管理サーバに対しセキュリティ基板情報取得要求を出し、セキュリティ基板情報の取得を試みる(図59)。また、ステップS208aに示したように、翌日の電源立上を待つことなくこの時点でセキュリティ基板情報の問合せ処理を再度実行してもよい。この場合には、基板初期鍵モードでの運用により遊技を進行させつつセキュリティ基板情報の問合せ処理も並行して進行させる。   In step S208, the authentication abnormality is set to a standby state until a reset operation (for example, operation of a reset button (not shown) or power-on). After the reset operation, it is activated again in a mode for performing an authentication process using the board initial key as an encryption key (board initial key mode), each authentication process is performed, and the process ends. In this case, the business of that day is operated in this board initial key mode throughout the day, and when the power is turned on the next day, a security board information acquisition request is issued again to the key management server to try to acquire the security board information (see FIG. 59). Further, as shown in step S208a, the inquiry process for the security board information may be executed again at this time without waiting for the power-up of the next day. In this case, while the game is progressing by the operation in the board initial key mode, the inquiry process of the security board information is also advanced in parallel.

図62(a)は、CU制御部−SC間での通信モードの切替処理を説明するためのフローチャートの一例である。図62(a)を参照して、ステップS211において、CU制御部323は鍵管理サーバに基板認証鍵の要求を行ない、次のステップS212に処理が進む。   FIG. 62A is an example of a flowchart for explaining the communication mode switching process between the CU control unit and the SC. Referring to FIG. 62A, in step S211, the CU control unit 323 requests a board authentication key from the key management server, and the process proceeds to the next step S212.

そして、ステップS212において、CU制御部323は鍵管理サーバから送られてきたセキュリティ基板情報の中から基板認証鍵を取得するとともに、セキュリティ基板情報中の更新情報をSC325bへ送信し、次のステップS213に処理が進む。   In step S212, the CU control unit 323 obtains a board authentication key from the security board information sent from the key management server, and transmits update information in the security board information to the SC 325b, and next step S213. The process proceeds.

ステップS213において、CU制御部323は遊技機が非稼動状態か否かの判定を行なう。次のステップS214のモード切替処理を行なったときにはその切替処理の実行中遊技機との加減算玉数の通信処理ができなくなるため、ステップS214のモード切替処理を行なう前に遊技機が非稼動状態か否かの判定を行なうのである。遊技機が非稼動状態か否かは、CUに遊技者のカードが挿入されていないか挿入されているかで判断する。カードが挿入されていない場合には遊技機が非稼働状態と判断する一方、カードが挿入されている場合には遊技機が稼働状態と判断する。CU制御部323に対応する遊技機が非稼動状態である場合には、ステップS214に処理が進み、CU制御部323に対応する遊技機が非稼動状態でない場合には、遊技機が非稼動状態になるまでステップS213の処理が行なわれる。   In step S213, the CU control unit 323 determines whether or not the gaming machine is in a non-operating state. When the mode switching process in the next step S214 is performed, the number of balls added / subtracted cannot be communicated with the gaming machine that is executing the switching process, so that the gaming machine is not in operation before the mode switching process in step S214. It is determined whether or not. Whether or not the gaming machine is in a non-operating state is determined based on whether or not a player's card is inserted in the CU. When no card is inserted, the gaming machine is determined to be in an inoperative state, while when a card is inserted, the gaming machine is determined to be in an operating state. If the gaming machine corresponding to the CU control unit 323 is in a non-operating state, the process proceeds to step S214. If the gaming machine corresponding to the CU control unit 323 is not in a non-operating state, the gaming machine is in a non-operating state. Step S213 is performed until.

ステップS214において、CU制御部323は、ステップS212において取得した基板認証鍵に基づいて、基板初期鍵を暗号鍵として処理を進めるモード(基板初期鍵モード)から基板認証鍵を暗号鍵として処理を進めるモード(基板認証鍵モード)へ通信モードを切り替えて、処理が終了する。   In step S214, based on the board authentication key acquired in step S212, the CU control unit 323 advances the process using the board authentication key as the encryption key from the mode in which the board initial key is used as the encryption key (board initial key mode). The communication mode is switched to the mode (board authentication key mode), and the process ends.

図62(b)は、SC−通信制御IC間での通信モードの切替処理を説明するためのフローチャートの一例である。図62(b)を参照して、ステップS216において、SC325bがCU制御部323からの更新情報を取得する。前述したようにCU制御部323はステップS212により更新情報をSC325bへ送信する。それを受けたSC325bは、その更新情報を取得する。次に、ステップS217においてSC325bは、取得した更新情報から本認証鍵を生成する。次に、前述のステップS213と同様に、ステップS218においてSC325bは、遊技機が非稼動状態か否かの判定を行ない、非稼動状態であることを条件として、ステップS219の処理を実行する。ステップS219においてSC325bは、生成した本認証鍵に基づいて、SC325bと通信制御IC325aとの通信モードについて仮認証鍵を暗号鍵として処理を進めるモード(仮認証鍵モード)から本認証鍵を暗号鍵として処理を進めるモード(本認証鍵モード)へ切替える。   FIG. 62B is an example of a flowchart for explaining the communication mode switching process between the SC and the communication control IC. With reference to FIG. 62B, in step S216, the SC 325b acquires update information from the CU control unit 323. As described above, the CU control unit 323 transmits update information to the SC 325b in step S212. Receiving it, the SC 325b acquires the update information. Next, in step S217, the SC 325b generates this authentication key from the acquired update information. Next, similarly to step S213 described above, in step S218, the SC 325b determines whether or not the gaming machine is in a non-operating state, and executes the process of step S219 on the condition that it is in a non-operating state. In step S219, the SC 325b uses the authentication key as the encryption key from the mode (provisional authentication key mode) in which the temporary authentication key is used as the encryption key for the communication mode between the SC 325b and the communication control IC 325a based on the generated authentication key. Switch to the mode to proceed with the process (this authentication key mode).

このような実施の形態によれば、CUの正当性が鍵管理サーバに登録された基板認証鍵によって認証される前に通常の通信モードとなってカード残額等を用いたP台での遊技が可能となることを防止できる。さらに、鍵管理サーバに登録された基板認証鍵を受信できないときでも、制限通信モードとなり、P台での遊技が許容されるため、柔軟な運用が可能となる。しかも、その場合には通常通信モードに比べて所定の制限の下で遊技が許容されるものとなるため、鍵管理サーバに記憶された基板認証鍵での認証が必要とされることなく運用が続けられてしまうことを防止できる。   According to such an embodiment, before the authenticity of the CU is authenticated by the board authentication key registered in the key management server, a normal communication mode is entered and the game on the P cards using the remaining card amount is performed. It can be prevented from becoming possible. Furthermore, even when the board authentication key registered in the key management server cannot be received, the restricted communication mode is set and a game on the P units is allowed, so that flexible operation is possible. In addition, in this case, since the game is allowed under a predetermined restriction compared to the normal communication mode, the operation can be performed without requiring authentication with the board authentication key stored in the key management server. It can prevent being continued.

図63(a)(b)は、通信モードの切替処理を説明するためのフローチャートの他の例である。CU制御部−SC間での通信モードの切替処理を示す図63(a)を参照して、ステップS221において、CU制御部323は鍵管理サーバにセキュリティ基板情報の要求を行ない、次のステップS222に処理が進む。   63 (a) and 63 (b) are other examples of a flowchart for explaining the communication mode switching process. Referring to FIG. 63A showing the communication mode switching process between the CU control unit and the SC, in step S221, the CU control unit 323 requests security board information from the key management server, and the next step S222 is performed. The process proceeds.

そして、ステップS222において、CU制御部323が鍵管理サーバに要求したセキュリティ基板情報をホールサーバ801が鍵管理サーバから取得し、そのセキュリティ基板情報の中から基板認証鍵をホールサーバ801が取得する。次に、ステップS223においてホールサーバ801は、前述のステップS213と同様の趣旨より、セキュリティ基板情報を要求したCU制御部323に対応する遊技機が非稼動状態か否か判定する。遊技機が非稼動状態になったときにホールサーバ801はステップS224において、取得した基板認証鍵をCU制御部323へ送信し、それを受けたCU制御部323はセキュリティ基板情報中の更新情報をSC325bへ送信する。次に、ステップS225においてCU制御部323は、ステップS2224において取得した基板認証鍵に基づいて、基板初期鍵を暗号鍵として処理を進めるモード(基板初期鍵モード)から基板認証鍵を暗号鍵として処理を進めるモード(基板認証鍵モード)へ通信モードを切り替えて、処理が終了する。   In step S222, the hall server 801 acquires the security board information requested by the CU control unit 323 from the key management server from the key management server, and the hall server 801 acquires the board authentication key from the security board information. Next, in step S223, the hall server 801 determines whether or not the gaming machine corresponding to the CU control unit 323 that has requested the security board information is in a non-operating state for the same purpose as in step S213 described above. When the gaming machine becomes non-operational, the hall server 801 transmits the acquired board authentication key to the CU control unit 323 in step S224, and the CU control unit 323 that receives it sends the update information in the security board information. Send to SC325b. Next, in step S225, based on the board authentication key acquired in step S2224, the CU control unit 323 performs processing using the board authentication key as the encryption key from the mode in which processing is performed using the board initial key as the encryption key (board initial key mode). The communication mode is switched to the mode (board authentication key mode) to advance the process, and the process ends.

次に、SC−通信制御IC間での通信モードの切替処理を示す図63(b)を参照して、ステップS226において、SC325bがCU制御部323からの更新情報を取得する。前述したようにCU制御部323はステップS224により更新情報をSC325bへ送信する。それを受けたSC325bは、その更新情報を取得する。次に、ステップS227においてSC325bは、取得した更新情報から本認証鍵を生成する。次に、ステップS228においてSC325bは、生成した本認証鍵に基づいて、SC325bと通信制御IC325aとの通信モードについて仮認証鍵を暗号鍵として処理を進めるモード(仮認証鍵モード)から本認証鍵を暗号鍵として処理を進めるモード(本認証鍵モード)へ切替える。   Next, referring to FIG. 63 (b) showing the communication mode switching process between the SC and the communication control IC, the SC 325b acquires update information from the CU control unit 323 in step S226. As described above, the CU control unit 323 transmits update information to the SC 325b in step S224. Receiving it, the SC 325b acquires the update information. Next, in step S227, the SC 325b generates this authentication key from the acquired update information. Next, in step S228, the SC 325b obtains the authentication key from the mode (provisional authentication key mode) in which the temporary authentication key is used as the encryption key for the communication mode between the SC 325b and the communication control IC 325a based on the generated authentication key. Switch to a mode in which processing is performed as an encryption key (this authentication key mode).

このような実施の形態によれば、制限通信モードにおいてホールサーバ801が鍵管理サーバから基板認証鍵を受信したときでも、P台が稼動中のときには、即座にその基板認証鍵がCUに送信されて通常通信モードに切り換わるのではなく、遊技機が非稼働状態になったことを条件にして基板認証鍵がホールサーバ801からCUに送信されて通常通信モードに切り換わるため、制限通信モードにおいて提供されていた遊技に何らかの影響を与えてしまい、遊技者が不利益を被ることを防止できる。   According to such an embodiment, even when the hall server 801 receives the board authentication key from the key management server in the restricted communication mode, the board authentication key is immediately transmitted to the CU when the P units are operating. In the restricted communication mode, the board authentication key is transmitted from the hall server 801 to the CU and switched to the normal communication mode on the condition that the gaming machine is not in operation. It is possible to prevent the player from being disadvantaged by affecting the provided game in some way.

<SC325bとCU制御部323との認証動作>
次に、統一店舗コードのチェック、基板メーカコードの認証についてさらに詳しく説明する。
<Authentication operation between SC 325b and CU control unit 323>
Next, the unified store code check and the board manufacturer code authentication will be described in more detail.

まず、図64を参照して、SC325bによる統一店舗コードのチェック処理を説明する。この処理は、SC325bが、基板接続要求時に通知される統一店舗コードと前回通知された統一店舗コードをチェックして、不一致の場合に設置された店舗が変わったと判断する認証動作である。SC325bは、記憶している前回の統一店舗コードがダミーコードであるか否かを判断する(ステップS1101)。なお、統一店舗コードのダミーコードは、たとえば、すべてのデータが“0xFF”である。このダミーコードは、CU3が遊技場(店舗)に設置される前の出荷時の段階で通常の統一店舗コードの代わりに用いられるものであり、出荷時の段階でSC325bに既に記憶されている。そして出荷時にダミーコードをCU制御部323経由でSC325bに入力して、SC325bがその入力されたダミーコードと記憶しているダミーコードとを一致判定して認証する。また、ダミーコードは、新装開店の遊技場(ホール)のため未だ統一店舗コードを取得していない場合に仮の店舗コードとして当該遊技場のホールサーバ801にデフォルトとして記憶されている。そして、新装開店の遊技場に設置されたCU3にホールサーバ801からダミーコードをダウンロードさせてSC325bがそのダウンロードされたダミーコードと記憶しているダミーコードとを一致判定して認証し、P台2による遊技を可能にする。   First, with reference to FIG. 64, the unified store code check process by SC325b will be described. This process is an authentication operation in which the SC 325b checks the unified store code notified at the time of the board connection request and the unified store code notified last time, and determines that the installed store has changed when there is a mismatch. The SC 325b determines whether or not the stored previous unified store code is a dummy code (step S1101). For example, all data of the dummy code of the unified store code is “0xFF”. This dummy code is used in place of the normal unified store code at the time of shipment before the CU 3 is installed in the amusement hall (store), and is already stored in the SC 325b at the time of shipment. Then, at the time of shipment, a dummy code is input to the SC 325b via the CU control unit 323, and the SC 325b determines that the input dummy code matches the stored dummy code and authenticates it. Further, the dummy code is stored as a default in the hall server 801 of the game hall as a temporary store code when a unified store code has not yet been acquired for a newly opened game hall (hall). Then, the dummy code is downloaded from the hall server 801 to the CU 3 installed in the game hall of the newly opened store, and the SC 325b determines that the downloaded dummy code matches the stored dummy code, and authenticates. Allows games by.

正規の統一店舗コードを取得したホールサーバ801はCU制御部323へその統一店舗コードを送信する。それを受けたCU制御部323は、次の電源投入時における基板接続要求時にその統一店舗コードをSC325bへ送信する。それを受けたSC325bは、記憶している前回の統一店舗コードがダミーコードであると判断した場合(ステップS1101:YES)、基板接続要求時にホールサーバ801から通知された統一店舗コードに記憶を更新するが、基板認証鍵、本認証鍵情報を初期化しないで、前回の各認証モードを引継いで動作する。その後、SC325bは、認証ログ情報を保存する(ステップS1106)。基板認証鍵、本認証鍵情報の初期化は、或る遊技場に設置されていたCU3が他の遊技場に移設されたときに必要となる処理であるが、SC325bに記憶されているダミーコードを統一店舗コードに更新する場合には、前述した新装開店の遊技場が正規に統一店舗コードを取得してその統一店舗コードをCU3にダウンロードした場合であり、店舗が代わったわけではなく、基板認証鍵、本認証鍵情報の初期化は不要である。逆にこのような場合に基板認証鍵、本認証鍵情報の初期化すると、再度基板認証鍵の取得要求が必要となり、1営業日での基板初期鍵運用(時限運用)が多くなり、時限運用猶予期間が少なくなる不都合が生じる。このような不都合を回避するために基板認証鍵、本認証鍵情報の初期化を行なわないように制御している。   The hall server 801 that has acquired the regular unified store code transmits the unified store code to the CU control unit 323. Upon receiving the request, the CU control unit 323 transmits the unified store code to the SC 325b when the board connection is requested at the next power-on. The SC 325b that has received it determines that the previous unified store code stored is a dummy code (step S1101: YES), and updates the storage to the unified store code notified from the hall server 801 at the time of board connection request. However, it does not initialize the board authentication key and the main authentication key information and operates by taking over the previous authentication modes. Thereafter, the SC 325b stores the authentication log information (step S1106). The initialization of the board authentication key and the main authentication key information is a process required when the CU 3 installed in a certain game arcade is moved to another game arcade, but is a dummy code stored in the SC 325b. Is updated to the unified store code, the amusement hall of the newly opened store obtains the unified store code and downloads the unified store code to the CU3. It is not necessary to initialize the key and the authentication key information. Conversely, if the board authentication key and this authentication key information are initialized in such a case, a request for obtaining the board authentication key is required again, increasing the number of board initial key operations (timed operation) in one business day, and timed operation. There is a disadvantage that the grace period is reduced. In order to avoid such inconvenience, control is performed so that the board authentication key and the main authentication key information are not initialized.

一方、SC325bは、記憶している前回の統一店舗コードがダミーコードでないと判断した場合(ステップS1101:NO)、基板接続要求時にホールサーバ801から通知された統一店舗コードと、記憶している前回の統一店舗コードとが一致しているか否かを判断する(ステップS1102)。   On the other hand, when the SC 325b determines that the previous unified store code stored is not a dummy code (step S1101: NO), the unified store code notified from the hall server 801 at the time of board connection request and the stored previous time It is determined whether or not the unified store code matches (step S1102).

SC325bは、基板接続要求時にホールサーバ801から通知された統一店舗コードと、記憶している前回の統一店舗コードとが一致していると判断した場合(ステップS1102:YES)、認証処理を基板初期鍵認証シーケンスへ遷移、あるいは、基板認証鍵認証シーケンスへ遷移する(ステップS1103)。なお、SC325bは、前回の認証モードが基板認証鍵モードである場合、基板認証鍵認証シーケンスへ遷移し、前回の認証モードがそれ以外の認証モードである場合、基板初期鍵認証シーケンスへ遷移する。   When SC325b determines that the unified store code notified from the hall server 801 at the time of board connection request matches the previous unified store code stored (YES in step S1102), the authentication process is performed on the board initial stage. Transition to a key authentication sequence or transition to a board authentication key authentication sequence (step S1103). Note that the SC 325b transitions to the board authentication key authentication sequence when the previous authentication mode is the board authentication key mode, and shifts to the board initial key authentication sequence when the previous authentication mode is any other authentication mode.

一方、SC325bは、基板接続要求時にホールサーバ801から通知された統一店舗コードと、記憶している前回の統一店舗コードとが一致していないと判断した場合(ステップS1102:NO)、基板認証鍵情報、および本認証鍵情報を初期化(クリア)する(ステップS1104)。このような統一店舗コードの不一致は、或る遊技場に設置されていたCU3が他の遊技場に移設されたときに生じる。CU3が他の遊技場に移設されたため、前の遊技場で使用していた基板認証鍵情報および本認証鍵情報を初期化(クリア)してセキュリティを担保するのである。なお、SC325bは、CU制御部323から通知される統一店舗コードが変更になった場合、本認証鍵の初期化(クリア)を通信制御IC325aに設定して、仮認証鍵による認証を開始する。なお、SC325bが本認証鍵情報を初期化(クリア)した場合に、通信制御IC325aも本認証鍵情報を初期化(クリア)するように制御してもよく、また、特にそのような制御を行なうことなく次回の通信制御IC325aとの認証のときにSC325bが本認証鍵がないため仮認証鍵での認証に戻るようにしてもよい。   On the other hand, when the SC 325b determines that the unified store code notified from the hall server 801 at the time of board connection request and the stored previous unified store code do not match (step S1102: NO), the board authentication key The information and the authentication key information are initialized (cleared) (step S1104). Such a mismatch in the unified store code occurs when the CU 3 installed in a certain game hall is moved to another game hall. Since CU3 has been moved to another amusement hall, the board authentication key information and the main authentication key information used in the previous amusement hall are initialized (cleared) to ensure security. When the unified store code notified from the CU control unit 323 is changed, the SC 325b sets initialization (clear) of the authentication key in the communication control IC 325a and starts authentication with the temporary authentication key. Note that when the SC 325b initializes (clears) the authentication key information, the communication control IC 325a may also control to initialize (clear) the authentication key information, and particularly performs such control. Instead, the SC 325b may return to authentication with the temporary authentication key because the authentication key does not exist at the next authentication with the communication control IC 325a.

また、SC325bは、ステップS1104で基板認証鍵情報、および本認証鍵情報を初期化(クリア)した後、認証処理を基板初期鍵認証シーケンスおよび仮認証鍵シーケンスへ遷移する(ステップS1105)。   Further, the SC 325b initializes (clears) the board authentication key information and the main authentication key information in step S1104, and then transitions the authentication process to the board initial key authentication sequence and the temporary authentication key sequence (step S1105).

SC325bは、ステップS1103で認証処理を基板初期鍵認証シーケンスへ遷移、あるいは、基板認証鍵認証シーケンスへ遷移した後、ステップS1104で認証処理を基板初期鍵認証シーケンスへ遷移した後、認証ログ情報を保存する(ステップS1106)。   In step S1103, the SC 325b transitions the authentication process to the board initial key authentication sequence, or transitions to the board authentication key authentication sequence. In step S1104, the SC 325b stores the authentication log information after transitioning to the board initial key authentication sequence. (Step S1106).

図65は、基板メーカコードの認証動作を説明するためのフローチャートである。基板メーカコードの認証は、SC325bとCU制御部323とが、それぞれ初期情報として記憶している基板メーカコードを使用した認証を行なう認証動作である。図65を参照して、まず、SC325bとCU制御部323とは、記憶している基板メーカコードを使用したチャレンジ/レスポンス方式による単体認証を行なう。(ステップS1201)。なお、単体認証時に生成するレスポンスコードは、たとえば、記憶している基板メーカコードを鍵にしてチャレンジコードをブロック暗号化した後にハッシュ関数でハッシュ化することで生成される。   FIG. 65 is a flowchart for explaining the board manufacturer code authentication operation. The board manufacturer code authentication is an authentication operation in which the SC 325b and the CU control unit 323 perform authentication using the board manufacturer code stored as initial information. Referring to FIG. 65, first, SC 325b and CU control unit 323 perform unit authentication by a challenge / response method using the stored board manufacturer code. (Step S1201). The response code generated at the time of single unit authentication is generated, for example, by performing block encryption of the challenge code using the stored board manufacturer code as a key and then hashing with a hash function.

SC325bは、生成したチャレンジコードに対してCU制御部323が生成したレスポンスコードをチェックした認証結果が正常か否かの判断を行なう(ステップS1202)。SC325bは、認証結果が正常であると判断した場合(ステップS1202:YES)、既に基板認証鍵で認証済みであるか否かを判断する(ステップS1203)。一方、SC325bは、認証結果が正常でない(異常)と判断した場合(ステップS1202:NO)、n回(たとえば3回)連続して異常であるか否かを判断する(ステップS1204)。   The SC 325b determines whether the authentication result obtained by checking the response code generated by the CU control unit 323 with respect to the generated challenge code is normal (step S1202). If the SC 325b determines that the authentication result is normal (step S1202: YES), the SC 325b determines whether it has already been authenticated with the board authentication key (step S1203). On the other hand, when the SC 325b determines that the authentication result is not normal (abnormal) (step S1202: NO), the SC 325b determines whether it is abnormal continuously (eg, three times) n times (step S1204).

SC325bは、既に基板認証鍵で認証済みであると判断した場合(ステップS1203:YES)、基板認証鍵の認証処理へ遷移し、基板認証鍵認証シーケンスを維持する(ステップS1205)。一方、SC325bは、既に基板認証鍵で認証済みでないと判断した場合(ステップS1203:NO)、基板初期鍵の認証処理へ遷移する(ステップS1206)。   If the SC 325b determines that the board authentication key has already been authenticated (step S1203: YES), the process proceeds to the board authentication key authentication process and maintains the board authentication key authentication sequence (step S1205). On the other hand, if the SC 325b determines that the board authentication key has not been authenticated (step S1203: NO), the process proceeds to the board initial key authentication process (step S1206).

SC325bは、n回連続して異常でないと判断した場合(ステップS1204:NO)、処理をステップS1201に戻す。一方、SC325bは、n回連続して異常であると判断した場合(ステップS1204:YES)、セキュリティを担保するために基板認証鍵情報および本認証鍵情報を初期化(クリア)する(ステップS1207)。これにより、基板認証鍵情報および本認証鍵情報が盗用される不都合を防止できる。その後、SC325bは、基板初期鍵の認証処理へ遷移する(ステップS1208)。   SC325b returns a process to step S1201, when it is judged that it is not abnormal continuously n times (step S1204: NO). On the other hand, when the SC 325b determines that the abnormality is continuous n times (step S1204: YES), the board authentication key information and the main authentication key information are initialized (cleared) to ensure security (step S1207). . Thereby, the inconvenience that the board authentication key information and the main authentication key information are stolen can be prevented. Thereafter, the SC 325b makes a transition to a board initial key authentication process (step S1208).

SC325bは、ステップS1205で基板認証鍵認証シーケンスを維持、またはステップS1206、S1208で基板初期鍵の認証処理へ遷移した後、認証ログ情報を保存する(ステップS1209)。   In step S1205, the SC 325b maintains the board authentication key authentication sequence, or transitions to the board initial key authentication process in steps S1206 and S1208, and then saves the authentication log information (step S1209).

図66は、受信間隔監視処理を説明するためのフローチャートである。受信間隔監視処理は、SC325bが実行する処理である。はじめに、SC325bは電文を受信したか否かを判定する(S10)。   FIG. 66 is a flowchart for explaining the reception interval monitoring process. The reception interval monitoring process is a process executed by the SC 325b. First, the SC 325b determines whether or not a message has been received (S10).

CU制御部323は規定時間を計時するタイマ(計時手段)と、SC325bと接続され電文を送信するための通信部(通信手段)とを備えており、SC325bに対して規定時間間隔(たとえば、200ms)毎に電文を送信する。このため、CU制御部323は、ある電文を送信してから規定時間だけその電文に対する応答電文の受信を待機し、応答電文を受けて次の電文を送信する。また、CU制御部323は、ある電文を送信してから規定時間だけその電文に対する応答電文の受信を待機し、もし、応答電文を受信できなければ、同じ内容の電文を再送する。そして、2回目の電文の再送に対して応答電文を受信できなければ、通信断と判定する。   The CU control unit 323 includes a timer (time measuring means) for measuring a specified time and a communication unit (communication means) connected to the SC 325b for transmitting a telegram, and a specified time interval (for example, 200 ms) with respect to the SC 325b. ) Send a message every time. For this reason, the CU control unit 323 waits for reception of a response message for the specified message for a specified time after transmitting a certain message, receives the response message, and transmits the next message. In addition, the CU control unit 323 waits for reception of a response message for a specified time after transmitting a certain message, and retransmits a message having the same content if a response message cannot be received. If a response message cannot be received in response to the second retransmission of the message, it is determined that communication has been interrupted.

一方、SC325bはCU制御部323から規定時間間隔(たとえば、200ms)毎に各種の要求電文を受けて、それに対応する応答電文を返信する。S10においてNOの場合、処理が終了する。S10においてYESの場合、規定時間間隔前の受信であるかを判定する(S11)。   On the other hand, the SC 325b receives various request messages from the CU control unit 323 at regular time intervals (for example, 200 ms), and returns response messages corresponding to the request messages. If NO in S10, the process ends. If YES in S10, it is determined whether the reception is before a specified time interval (S11).

S11において、前回の電文受信時から規定時間間隔前の受信であると判定したときには、このように規定時間間隔前の電文を受信する回数が連続してn1(ただし、n1>1)回目に達したか否かを判定する(S12)。このように、本来、規定時間間隔毎に受信されるべき電文が、連続して規定時間間隔前に次々と送信されてくるような状況は、通常発生し得ない。このような状況は、たとえば、SC325bの動作を不正解析する目的で、短時間で次々と様々な電文を外部から送信しているような場合に発生し得る。そこで、S12においてNOの場合には処理が終了するが、YESの場合にはエラー情報を送信する(S13)。   In S11, when it is determined that the message is received before the specified time interval from the previous message reception, the number of times of receiving the message before the specified time interval reaches the n1th (where n1> 1) times in succession. It is determined whether or not (S12). As described above, a situation in which messages that should be received at regular time intervals are continuously transmitted one after another before the regular time intervals cannot normally occur. Such a situation may occur, for example, when various messages are transmitted from the outside one after another in a short time for the purpose of illegally analyzing the operation of the SC 325b. Therefore, if NO in S12, the process ends. If YES, error information is transmitted (S13).

このエラー情報は、たとえば、通信制御IC325a経由でP台2の払出制御部171へ送信される。エラー情報を受けた払出制御部171は、発射制御基板31を介して発射モータ18を停止させ、遊技不能状態とする。なお、遊技不能状態とすることに代えて、あるいはこれに加えて、エラー情報をP台2の表示器54に表示するようにしてもよい。あるいは、S13においては、エラー情報をCU制御部323に送信するものとしてもよい。   This error information is transmitted to the payout control unit 171 of the P table 2 via the communication control IC 325a, for example. Upon receiving the error information, the payout control unit 171 stops the firing motor 18 via the firing control board 31 and puts the game into an unplayable state. Note that error information may be displayed on the display 54 of the P platform 2 instead of or in addition to the inoperable state. Alternatively, in S13, error information may be transmitted to the CU control unit 323.

S13の処理の後、S10で受信した電文に対する応答電文の送信を禁止する(S14)。さらに、CU制御部323からの電文の受信機能を停止する(S15)。S14およびS15の結果、解析目的で応答電文を得ようとする不正行為を防止できる。   After the process of S13, transmission of a response message for the message received in S10 is prohibited (S14). Further, the function of receiving a message from the CU control unit 323 is stopped (S15). As a result of S14 and S15, fraudulent attempts to obtain a response message for analysis purposes can be prevented.

なお、このフローチャートでは、規定時間間隔前の電文を受信する回数が連続してn1回目に達した場合に連続回数としたが、規定時間間隔前の電文を1回でも受信すると、S12でNOと判定されるようにしてもよい。   In this flow chart, the number of times of receiving the message before the specified time interval has reached the n1th time continuously. However, if the message before the specified time interval is received even once, NO is returned in S12. It may be determined.

また、S13〜S15のいずれか1つまたは2つの処理のみが実行されるようにしてもよい。さらには、S14およびS15の処理に代えて、受信した電文に対して応答するタイミングを通常時よりも遅らせるようにしてもよい。たとえば、通常は、相手(CU制御部323)が電文を送信してから200msで応答電文が相手に到達するように応答電文を送信するが、その間隔を長く(たとえば通常の3倍等)するようにしてもよい。これにより、仮に電文を通常より短い時間間隔で送るような不正行為が行なわれたとしても、それに対する応答がスローになるため、不正解析の効率を極めて悪いものとして、不正改正を困難にすることができる。   Further, only one or two processes of S13 to S15 may be executed. Furthermore, instead of the processing of S14 and S15, the timing of responding to the received electronic message may be delayed from the normal time. For example, normally, the response message is transmitted so that the response message reaches the partner in 200 ms after the partner (CU control unit 323) transmits the message, but the interval is increased (for example, three times the normal). You may do it. As a result, even if a fraudulent act of sending a message at a shorter time interval than usual is performed, the response to the fraud will be slow, so that the efficiency of fraud analysis will be extremely poor, and it will be difficult to revise the fraud Can do.

さらに、応答電文の送信をスローにする処理と、応答電文の送信を禁止する処理(S14)とを組み合せてもよい。たとえば、S12でYESと判定されたときには、応答電文の送信をスローにする処理を実行し、その後、応答電文の送信から規定時間間隔以内の電文受信を所定数検出したときに、S14の応答電文の送信を禁止する処理を実行するようにしてもよい。   Furthermore, the process of slowing down the transmission of the response message and the process of prohibiting the transmission of the response message (S14) may be combined. For example, when it is determined YES in S12, a process of slowing response message transmission is executed, and then a response message in S14 is detected when a predetermined number of message receptions within a specified time interval from the response message transmission is detected. A process for prohibiting the transmission of a message may be executed.

また、図66に示すような受信間隔監視処理は、SC325bのみではなく、相手からの電文を受信するいずれの装置が行なうようにしてもよい。たとえば、CU制御部323は、上位サーバ(たとえば、鍵管理サーバ)から送信されてくる電文に関して受信間隔監視処理を実行してもよい。また、通信制御IC325aは、SC325bから送信されてくる電文に対して受信間隔監視処理を実行してもよい。あるいは、払出制御部171は、通信制御IC325aから送信されてくる電文に対して受信間隔監視処理を実行してもよい。この場合には、CU3と遊技機(たとえば、P台2)との間で受信間隔監視処理が実行されることになる。その他、CU3、P台2、ジェットカウンタ、POS端末等の複数の遊技機器間の送受信の処理においてこの処理を適用してもよい。   Also, the reception interval monitoring process as shown in FIG. 66 may be performed not only by SC 325b but also by any device that receives a message from the other party. For example, the CU control unit 323 may execute a reception interval monitoring process for a message transmitted from a higher-level server (for example, a key management server). In addition, the communication control IC 325a may execute a reception interval monitoring process on a message transmitted from the SC 325b. Alternatively, the payout control unit 171 may execute a reception interval monitoring process on a message transmitted from the communication control IC 325a. In this case, the reception interval monitoring process is executed between the CU 3 and the gaming machine (for example, P 2). In addition, this processing may be applied in transmission / reception processing between a plurality of gaming machines such as the CU3, the P platform 2, the jet counter, and the POS terminal.

図67は、異常電文監視処理を説明するためのフローチャートである。異常電文監視処理は、SC325bが実行する処理である。はじめに、SC325bは電文を受信したか否かを判定する(S20)。S20においてNOの場合、処理が終了する。S20においてYESの場合、受信した電文がコマンド異常電文であるか否かを判定し(S21)、コマンド異常電文でない場合には、受信電文が通信異常電文であるか否かを判定する(S26)。   FIG. 67 is a flowchart for explaining the abnormal message monitoring process. The abnormal message monitoring process is a process executed by the SC 325b. First, the SC 325b determines whether or not a message has been received (S20). If NO in S20, the process ends. If YES in S20, it is determined whether the received message is a command abnormal message (S21), and if it is not a command abnormal message, it is determined whether the received message is a communication error message (S26). .

ここで、通信異常電文とは、CRC(Cyclic Redundancy Check)により誤り検出された
電文や、データ長が予め定められた長さと異なることが検出された電文など、本来は正規の電文で送信されあるいは送信される予定であったにも関わらず電文生成過程でのエラー発生あるいは通信回線上のノイズ等の影響を受けて本来の電文からデータ化けして到着した電文である。
Here, a communication error message is a message that is originally transmitted as a normal message, such as a message in which an error is detected by CRC (Cyclic Redundancy Check), or a message in which the data length is detected to be different from a predetermined length, or the like. A message that arrived after being garbled from the original message due to the occurrence of an error in the message generation process or noise on the communication line even though it was scheduled to be transmitted.

これに対して、コマンド異常電文とは、データ長が正しく、CRCでの誤りも検出されないものの、電文に含まれるコマンドコードが予め定められたものとは異なる電文である。そうであるから、コマンド異常電文は、不正な動作を引き起こすこと等を目的とした不正電文の可能性がある。   On the other hand, the command abnormal message is a message that has a correct data length and does not detect an error in CRC, but is different from a command code included in the message. Therefore, the command abnormal message may be an illegal message for the purpose of causing an illegal operation.

S26で通信異常電文でもないと判断された場合には、正常な電文を受信したことになるから、異常電文監視処理を終了する。これに対して、S26で通信異常電文と判定したときには、このような通信異常電文の連続受信回数がn3回に達したか否かを判定する(S27)。ここで、n3はたとえば「3」である。そして、n3回に達していない場合にはCU制御部323へ電文の再送を要求する(S25)。つまり、通信異常電文を受信した場合には、2回の再送が許される。   If it is determined in S26 that the message is not a communication error message, a normal message has been received, and the error message monitoring process is terminated. On the other hand, when it is determined as a communication abnormal message in S26, it is determined whether or not the number of continuous reception of such a communication abnormal message has reached n3 times (S27). Here, n3 is “3”, for example. If n3 times has not been reached, the CU control unit 323 is requested to resend a message (S25). That is, when a communication abnormal message is received, two retransmissions are allowed.

そして、初回の電文の受信を含めて、合計、n3回だけ受信した電文のすべてが通信異常電文である場合には、S27でYESとなり、CU‐SC間通信異常と判定する(S28)。この場合、CU‐SC間通信異常情報を送信する(S29)。   If all of the messages received for a total of n3 times including the reception of the first message are communication abnormal messages, YES is determined in S27 and it is determined that the communication error between the CU and SC is present (S28). In this case, CU-SC communication abnormality information is transmitted (S29).

CU‐SC間通信異常情報は、たとえば、通信制御IC325a経由でP台2の払出制御部171へ送信される。CU‐SC間コマンド異常情報を受けた払出制御部171は、発射制御基板31を介して発射モータ18を停止させ、遊技不能状態とする。なお、遊技不能状態とすることに代えて、あるいはこれに加えて、CU‐SC間コマンド異常情報をP台2の表示器54に表示するようにしてもよい。あるいは、S29においては、CU‐SC間通信異常情報をCU制御部323に送信するものとしてもよい。   The CU-SC communication abnormality information is transmitted to the payout control unit 171 of the P unit 2 via the communication control IC 325a, for example. Upon receiving the CU-SC command abnormality information, the payout control unit 171 stops the firing motor 18 via the firing control board 31 and puts it into a game impossible state. It should be noted that the CU-SC command abnormality information may be displayed on the display device 54 of the P table 2 instead of or in addition to the inoperable state. Alternatively, in S29, the CU-SC communication abnormality information may be transmitted to the CU control unit 323.

一方、S21において受信電文がコマンド異常電文と判定すると、このようなコマンド異常電文の連続受信回数がn2回に達したか否かを判定する(S22)。ここで、n2はたとえば「4」であり、通信異常電文に関する閾値n3を「3」とした場合に比べて、その閾値が1つ大きい。   On the other hand, if it is determined in S21 that the received message is a command abnormal message, it is determined whether or not the number of consecutive receptions of such a command abnormal message has reached n2 times (S22). Here, n2 is “4”, for example, which is one greater than the threshold n3 related to the communication error message set to “3”.

S22においてNOと判定した場合にはCU制御部323に対して電文の再送を要求する。つまり、コマンド異常電文を受信した場合には、4回の再送が許される。   If it is determined NO in S22, the CU control unit 323 is requested to retransmit the message. That is, when a command abnormal message is received, four retransmissions are allowed.

そして、初回の電文の受信を含めて、合計、n2回だけ受信した電文のすべてがコマンド異常電文である場合には、S22でYESとなり、CU‐SC間コマンド異常(不正)と判定する(S23)。この場合、CU‐SC間コマンド異常情報を送信する(S24)。   If all of the messages received only n2 times in total including the reception of the first message are command abnormal messages, YES is determined in S22, and it is determined that the CU-SC command is abnormal (illegal) (S23). ). In this case, CU-SC command abnormality information is transmitted (S24).

CU‐SC間コマンド異常情報は、たとえば、通信制御IC325a経由でP台2の払出制御部171へ送信される。CU‐SC間コマンド異常情報を受けた払出制御部171は、発射制御基板31を介して発射モータ18を停止させ、遊技不能状態とする。なお、遊技不能状態とすることに代えて、あるいはこれに加えて、CU‐SC間コマンド異常情報をP台2の表示器54に表示するようにしてもよい。あるいは、S29においては、CU‐SC間通信異常情報をCU制御部323に送信するものとしてもよい。   The CU-SC command abnormality information is transmitted to the payout control unit 171 of the P unit 2 via the communication control IC 325a, for example. Upon receiving the CU-SC command abnormality information, the payout control unit 171 stops the firing motor 18 via the firing control board 31 and puts it into a game impossible state. It should be noted that the CU-SC command abnormality information may be displayed on the display device 54 of the P table 2 instead of or in addition to the inoperable state. Alternatively, in S29, the CU-SC communication abnormality information may be transmitted to the CU control unit 323.

このように、コマンド異常電文に関する閾値を通信異常電文に関する閾値と異ならせることにより、単なるデータ化けによる電文の再送と、不正コマンドが送信されている可能性とを区別することができる。特に、コマンド異常電文に関する閾値を、単なるデータ化けによる電文の再送の場合の閾値よりも大きくすることによって、通常のデータの再送制限回数(初回を入れてn3)を超えてもなお異常なコマンドコードを含む電文が繰り返し送信されてきていることを確認できることになり、不正の可能性が高い状況を判定でき、その判定に基づいて不正の可能性があることを通知できる。   In this way, by making the threshold relating to the command abnormal message different from the threshold relating to the communication abnormal message, it is possible to distinguish between the retransmission of the message due to mere garbled data and the possibility that an illegal command is transmitted. In particular, the command code that is abnormal even if the normal data retransmission limit (n3 is included) is exceeded by making the threshold for the command abnormal message larger than the threshold for the message retransmission due to garbled data. It is possible to confirm that a message including the message has been repeatedly transmitted, so that it is possible to determine a situation where the possibility of fraud is high and to notify that there is a possibility of fraud based on the determination.

図68は、遊技機チップ問合せ処理を説明するためのフローチャートである。遊技機チップ問合せ処理は、CU制御部323が実行する処理である。この処理の一例は、図56(遊技機チップ情報問合せシーケンス)と図60(遊技機チップ情報問合せタイムアウトシーケンス)とに示した。   FIG. 68 is a flowchart for explaining gaming machine chip inquiry processing. The gaming machine chip inquiry process is a process executed by the CU control unit 323. An example of this processing is shown in FIG. 56 (game machine chip information inquiry sequence) and FIG. 60 (game machine chip information inquiry timeout sequence).

はじめに、CU制御部323は遊技機チップ問合せ指示通知を送信する(S30)。これによって、SC325bに対して、鍵管理サーバに問合せする遊技機チップ情報を要求する。なお、この遊技機チップ問合せ指示通知を受けたSC325bは、通信制御IC325a経由でP台2に対して遊技機チップ情報を要求する。   First, the CU control unit 323 transmits a gaming machine chip inquiry instruction notification (S30). As a result, the gaming machine chip information to be inquired of the key management server is requested to the SC 325b. Upon receiving this gaming machine chip inquiry instruction notification, the SC 325b requests gaming machine chip information from the P table 2 via the communication control IC 325a.

次に、問合せ待ちタイマをリセットする(S31)。問合せ待ちタイマは、遊技機チップ問合せ指示通知に対する応答待ち時間を計時するためのタイマであり、遊技機チップ問合せ指示通知の送信毎にリセットされ、新たに計時が開始される。   Next, the inquiry waiting timer is reset (S31). The inquiry waiting timer is a timer for measuring a response waiting time for the gaming machine chip inquiry instruction notification, and is reset every time the gaming machine chip inquiry instruction notification is transmitted, and a new timing is started.

次に、SC325bより遊技機チップ問合せ結果を受信したか否かを判定する(S32)。遊技機チップ問合せ結果には、チップ情報の取得できたか否かを示す取得結果、メーカコード、基板シリアル番号、メインチップID、払出チップID等が含まれる。遊技機チップ問合せ結果を受信していない場合には、問合せタイマがタイムアウトしたか否かを判定する(S33)。タイムアウトした場合にはタイムアウト処理を実行する(S38)。タイムアウト処理では、図60に示したように状態情報要求が送信され、状態情報応答(チップ情報問合せ有)の待ち状態となる。   Next, it is determined whether or not the gaming machine chip inquiry result is received from the SC 325b (S32). The gaming machine chip inquiry result includes an acquisition result indicating whether or not chip information has been acquired, a manufacturer code, a board serial number, a main chip ID, a payout chip ID, and the like. If the gaming machine chip inquiry result has not been received, it is determined whether or not the inquiry timer has timed out (S33). If a time-out occurs, a time-out process is executed (S38). In the time-out process, a status information request is transmitted as shown in FIG. 60, and a status information response (with chip information inquiry) is waited.

S33において問合せタイマがタイムアウトしていない場合には鍵管理サーバより、動作指定が遊技機チップ情報問合せ要求であるヘルスチェックを受信したか否かを判定する(S34)。つまり、鍵管理サーバから遊技機チップ情報の問合せ要求を受けたか否かを判定する。鍵管理サーバから遊技機チップ情報の問合せ要求を受けていた場合には、遊技機チップ問合せ指示通知をSC325bへ送信し(S35)、問合せ待ちタイマをリセットする(S36)。これによって、問合せ待ちタイマによる計時が最初から開始される。その後、S32に移行する。   If the inquiry timer has not timed out in S33, it is determined whether or not a health check whose operation designation is a gaming machine chip information inquiry request has been received from the key management server (S34). That is, it is determined whether or not an inquiry request for gaming machine chip information has been received from the key management server. When an inquiry request for gaming machine chip information is received from the key management server, a gaming machine chip inquiry instruction notification is transmitted to the SC 325b (S35), and the inquiry waiting timer is reset (S36). As a result, time counting by the inquiry wait timer is started from the beginning. Thereafter, the process proceeds to S32.

つまり、既に遊技機チップ問合せ指示通知を送信済みであって、それに対する応答待ちの間であっても、それとは別個に新たに鍵管理サーバから遊技機チップ情報の問合せ要求を受けた場合には、改めて遊技機チップ問合せ指示通知を送信する。   In other words, even if a gaming machine chip inquiry instruction notification has already been transmitted and a response request for gaming machine chip information is newly received separately from the key management server, even when waiting for a response thereto Then, a game machine chip inquiry instruction notification is transmitted again.

このように処理することによって、全国に存在する数多くのホール(ホール内のCU)と接続されている鍵管理サーバからの要求に対して迅速に応答を返信することが可能になる。すなわち、ヘルスチェック要求による「遊技機チップ情報問い合わせ要求」は鍵管理サーバからの強制指示であるので、CU制御部323からの要求に応じてSC325bが遊技機チップ情報問い合わせ中モードでも確実に鍵管理サーバに情報が届くまでCU制御部323は遊技機チップ情報の問い合わせを実行する。   By processing in this way, it becomes possible to quickly return a response to a request from a key management server connected to many halls (CUs in the hall) existing throughout the country. That is, since the “gaming machine chip information inquiry request” by the health check request is a compulsory instruction from the key management server, the SC 325b reliably manages the key even in the gaming machine chip information inquiry mode in response to the request from the CU control unit 323. The CU control unit 323 executes an inquiry about gaming machine chip information until the information reaches the server.

S34において、鍵管理サーバよりヘルスチェック(動作指定=遊技機チップ情報問合せ要求)を受信してない場合、S32に戻り、遊技機チップ問合せ結果を受信したか否かを判定するステップに移行する。   In S34, when the health check (operation designation = game machine chip information inquiry request) has not been received from the key management server, the process returns to S32 and proceeds to a step of determining whether or not a game machine chip inquiry result has been received.

やがて、S32において、遊技機チップ問合せ結果を受信すると、その結果を上位サーバ(鍵管理サーバ)へ送信し(S37)、処理を終える。   Eventually, when the gaming machine chip inquiry result is received in S32, the result is transmitted to the host server (key management server) (S37), and the process is terminated.

なお、ここでは、ヘルスチェック(動作指定=遊技機チップ情報問合せ要求)の場合を例に挙げて説明したが、上記の処理は、CU制御部323がヘルスチェック(動作指定=セキュリティ基板情報問合せ要求)を受信した場合にも同様に行なわれる。   Here, the case of the health check (operation designation = game machine chip information inquiry request) has been described as an example, but the CU control unit 323 performs the health check (operation designation = security board information inquiry request) in the above processing. ) Is received in the same manner.

すなわち、図55および図59を参照して、CU制御部323は、セキュリティ基板問合せ指示通知をSC325bに送信し、セキュリティ基板情報問合せタイムアウトまでSC325bからの応答を待つ。ただし、タイムアウトする前に、上位サーバ(鍵管理サーバ)よりヘルスチェック(動作指定=セキュリティ基板情報問合せ要求)を受信すると、CU制御部323は、タイムアウトを待つことなく、セキュリティ基板問合せ指示通知をSC325bに再送する。   55 and 59, CU control unit 323 transmits a security board inquiry instruction notification to SC 325b and waits for a response from SC 325b until a security board information inquiry timeout. However, if a health check (operation designation = security board information inquiry request) is received from the host server (key management server) before the timeout occurs, the CU control unit 323 sends a security board inquiry instruction notification to the SC 325b without waiting for the timeout. Resend to.

<暗号モードについて>
次に、図69〜図73に基づいて、CU制御部323とSC325bとの間でのコマンドとレスポンスとの実際の暗号通信の動作を説明する。図69は暗号通信文を受信した受信側において適正に復号された場合の定常時における暗号通信が示されている。図70は、SC325bからCU制御部323へのレスポンスが到達しなかった場合の異常時の処理が示されている。図71は、CU制御部323からSC325bへのコマンドが到達しなかった場合の異常時の処理が示されている。図72は、図70に示したレスポンス未到達の異常時における変形例の処理が示されている。図73は、図71に示したコマンド未到達の異常時処理における変形例が示されている。
<About encryption mode>
Next, based on FIG. 69 to FIG. 73, the operation of the actual cryptographic communication between the command and the response between the CU control unit 323 and the SC 325b will be described. FIG. 69 shows the cipher communication in the steady state when the receiving side that has received the cipher communication text is properly decrypted. FIG. 70 shows processing at the time of abnormality when the response from the SC 325b to the CU control unit 323 has not arrived. FIG. 71 shows processing at the time of abnormality when a command from the CU control unit 323 to the SC 325b has not arrived. FIG. 72 shows processing of a modified example when the response has not reached reach shown in FIG. FIG. 73 shows a modification of the abnormal process in which the command has not reached shown in FIG.

以下、図69〜図73の暗号化処理を説明するが、CU制御部323からSC325bへの暗号化通信を行なうときは初期ベクタ部の値R1の下り用カウンタが使用され、SC325bからCU制御部323への暗号化通信を行なうときは初期ベクタ部の値R2の上り用カウンタが使用される。   69 to 73 will be described below. When encrypted communication is performed from the CU control unit 323 to the SC 325b, the downstream counter of the value R1 of the initial vector unit is used, and from the SC 325b to the CU control unit. When performing encrypted communication to H.323, an up counter for the value R2 of the initial vector portion is used.

まず図69に基づいて正常時の処理を説明する。CU制御部323とSC325bとの間での動作指示およびレスポンスとして、データ長が48バイトの倍数の一例の96バイトのものを取り上げて説明する。   First, normal processing will be described with reference to FIG. As an operation instruction and a response between the CU control unit 323 and the SC 325b, a 96-byte example in which the data length is a multiple of 48 bytes will be described.

図69を参照して、CU制御部323では、96バイトの平文を16バイト毎の6つのブロックに分割し、各ブロックの平文1〜6を1つずつ暗号化する。最初のブロックである平文1は、下り用カウンタの値がR1,N,0となっており、そのカウンタの値を前述したように暗号化し、その暗号化された値と平文1とでエクスクルーシブオアの演算を行なって暗号文1を生成する。同様に、暗号文2の生成に際してはR1,N,1の下り用カウンタの値を用い、暗号文2の生成に際してはR1,N,2の下り用カウンタの値を用い、暗号文4の生成に際してはR1,N,3の下り用カウンタの値を用い、暗号文5の生成に際してはR1,N,4の下り用カウンタの値を用い、暗号文6の生成に際してはR1,N,5の下り用カウンタの値を用いる。   Referring to FIG. 69, CU control unit 323 divides 96-byte plaintext into six blocks of every 16 bytes, and encrypts plaintexts 1 to 6 of each block one by one. The first block, plaintext 1, has downstream counter values R1, N, 0. The counter value is encrypted as described above, and the encrypted value and plaintext 1 are used for exclusive OR. The ciphertext 1 is generated by performing the above operation. Similarly, when the ciphertext 2 is generated, the downstream counter values R1, N, 1 are used, and when the ciphertext 2 is generated, the downstream counter values R1, N, 2 are used to generate the ciphertext 4. At this time, the values of the down counters R1, N, and 3 are used, when the ciphertext 5 is generated, the values of the down counters R1, N, and 4 are used, and when the ciphertext 6 is generated, the values of R1, N, and 5 The value of the down counter is used.

この6つのブロックからなる暗号文1〜6を受信したSC325bでは、図38で説明したようにカウンタの値を更新しながら随時暗号文を復号して平文を生成する。復号開始時の下り用カウンタの値すなわち最初の暗号文1を復号するのに用いるカウンタの値がR1,N,0となっており、その値を暗号化してその暗号化した値と暗号文1とのエクスクルーシブオアを演算して復号し、平文1を生成する。同様に、暗号文2、暗号文3、暗号文4、暗号文5、暗号文6も、随時暗号ブロックカウンタ部の値を「1」ずつ加算更新し、復号処理を行なう。具体的には、暗号文2に対してはR1,N,1の下り用カウンタ値を用い、暗号文3に対してはR1,N,2の下り用カウンタ値を用い、暗号文4に対してはR1,N,3の下り用カウンタ値を用い、暗号文5に対してはR1,N,4の下り用カウンタ値を用い、暗号文6に対してはR1,N,5の下り用カウンタ値を用いて復号する。   The SC 325b that receives the cipher texts 1 to 6 including the six blocks generates plain text by decrypting the cipher text at any time while updating the counter value as described with reference to FIG. The value of the down counter at the start of decryption, that is, the value of the counter used for decrypting the first ciphertext 1 is R1, N, 0, and the encrypted value and ciphertext 1 are encrypted. Is calculated and decrypted, and plaintext 1 is generated. Similarly, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are also updated by incrementing the value of the cipher block counter unit by “1” at any time. Specifically, for ciphertext 2, the downstream counter values R1, N, 1 are used, for ciphertext 3, the downstream counter values R1, N, 2 are used, and for ciphertext 4, R1, N, 3 downstream counter values, ciphertext 5 uses R1, N, 4 downstream counter values, and ciphertext 6 uses R1, N, 5 downstream counter values. Decoding is performed using the counter value.

次にSC325bがレスポンスを暗号化してCU制御部323へ送信する。その際に、SC325bは上り用カウンタを用いるため「R2,N,0」のカウンタ値が最初に用いられる。この上り用カウンタのカウンタ値を暗号化してその暗号化された値とレスポンスの最初の平文1とでエクスクルーシブオアの演算を行ない暗号文1を生成する。次にSC325bは、暗号ブロックカウンタ部を「1」加算更新してR2,N+1,1の値を用いて暗号文2を生成する。同様に、暗号ブロックカウンタ部を「1」ずつ加算更新しながら、暗号文3、暗号文4、暗号文5、暗号文6を生成し、それら暗号文からなるレスポンスをCU制御部323へ送信する。   Next, the SC 325 b encrypts the response and transmits it to the CU control unit 323. At this time, since the SC 325b uses an upstream counter, the counter value “R2, N, 0” is used first. The counter value of the upstream counter is encrypted, and an exclusive OR operation is performed on the encrypted value and the first plaintext 1 of the response to generate a ciphertext 1. Next, the SC 325 b updates the cipher block counter unit by adding “1” and generates the ciphertext 2 using the values of R2, N + 1, and 1. Similarly, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are generated while incrementing and updating the cipher block counter unit by “1”, and a response including these ciphertexts is transmitted to the CU control unit 323. .

この6つのブロックからなる暗号文1〜6を受信したCU制御部323では、図38で説明したようにカウンタの値を更新しながら随時暗号文を復号して平文を生成する。復号開始時の上り用カウンタの値すなわち最初の暗号文1を復号するのに用いるカウンタの値がR2,N,0となっており、その値を暗号化してその暗号化した値と暗号文1とのエクスクルーシブオアを演算して復号し、平文1を生成する。そして、前述と同様に、暗号ブロックカウンタ部を随時加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時復号して平文2、平文3、平文4、平文5、平文6を生成する。   The CU control unit 323 that has received the ciphertexts 1 to 6 including the six blocks generates plaintext by decrypting the ciphertext as needed while updating the counter value as described in FIG. The value of the upstream counter at the start of decryption, that is, the value of the counter used to decrypt the first ciphertext 1 is R2, N, 0, and the encrypted value and the ciphertext 1 are encrypted. Is calculated and decrypted, and plaintext 1 is generated. As described above, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted at any time while the cipher block counter is added and updated as needed, and the plaintext 2, plaintext 3, plaintext 4, Plaintext 5 and plaintext 6 are generated.

次回以降は、SC325bでは、前回受信した暗号文の復号に用いた電文カウンタ部の値「N」に対して「1」加算更新し、R1,N+1,0のカウンタ値を用いて、レスポンスの最初の暗号文1を復号する。そして、前述と同様に、暗号ブロックカウンタ部を随時加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時復号して平文2、平文3、平文4、平文5、平文6を生成する。   From the next time on, SC 325b updates “N” added to the value “N” of the message counter used for decrypting the ciphertext received last time, and uses the counter values R1, N + 1, 0 to start the response. Is decrypted. As described above, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted at any time while the cipher block counter is added and updated as needed, and the plaintext 2, plaintext 3, plaintext 4, Plaintext 5 and plaintext 6 are generated.

また、CU制御部323では、前回受信した暗号文の復号に用いた電文カウンタ部の値「N」に対して「1」加算更新し、R2,N+1,0のカウンタ値を用いて、レスポンスの最初の暗号文1を復号する。そして、前述と同様に、暗号ブロックカウンタ部を随時加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時復号して平文2、平文3、平文4、平文5、平文6を生成する。   In addition, the CU control unit 323 adds “1” to the value “N” of the message counter unit used for decrypting the ciphertext received last time, and updates the response using the counter values of R2, N + 1, 0. The first ciphertext 1 is decrypted. As described above, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted at any time while the cipher block counter is added and updated as needed, and the plaintext 2, plaintext 3, plaintext 4, Plaintext 5 and plaintext 6 are generated.

このような方法により、CU制御部323とSC325bとの間で、下り用カウンタ、上り用カウンタをそれぞれ用い、送信データの暗号化および受信データの復号処理を行なう。   By such a method, the transmission data is encrypted and the reception data is decrypted between the CU control unit 323 and the SC 325b using the downlink counter and the uplink counter, respectively.

次に図70を参照して、SC325bからCU制御部323へのレスポンスが到達しなかった異常時における処理を説明する。まずCU制御部323からSC325bへ6ブロックの暗号文1〜6からなるコマンドが送信される。その各ブロックに用いられる下り用カウンタのカウンタの値は、最初がR1,N,0であり、暗号ブロックカウンタ部が「1」ずつ加算されて最後の値がR1,N,5となっている。この暗号文を受信したSC325bは、暗号開始時のカウンタ値R1,N,0を用いてまず暗号文1を復号して平文1を生成する。次に暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時暗号ブロックカウンタ部を加算更新しながら復号して平文2、平文3、平文4、平文5、平文6を生成する。   Next, with reference to FIG. 70, a description will be given of processing in the event of an abnormality when the response from the SC 325b to the CU control unit 323 has not reached. First, a command including 6 blocks of ciphertexts 1 to 6 is transmitted from the CU control unit 323 to the SC 325b. The counter value of the down counter used for each block is initially R1, N, 0, and the encryption block counter unit is incremented by “1”, and the final value is R1, N, 5. . The SC 325b that receives the ciphertext first decrypts the ciphertext 1 using the counter values R1, N, 0 at the start of ciphering to generate plaintext 1. Next, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted by adding and updating the cipher block counter unit as needed to obtain plaintext 2, plaintext 3, plaintext 4, plaintext 5, and plaintext 6. Generate.

そしてSC325bは、上り用カウンタのカウンタ値である「R2,N,0」の値を用いて、レスポンスの最初のブロックの平文1を暗号化して暗号文1を生成する。次に暗号ブロックカウンタ部の値を「1」ずつ加算更新して暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してCU制御部323へ送信する。その暗号文1〜6からなるレスポンスがCU制御部323に到達しなかった場合には、CU制御部323は、前回送信したコマンドと同じコマンドのデータをSC325bへ再送信する。その再送信された暗号文をSC325bが復号する際に、SC325bの前回受信した暗号文の復号に用いた電文カウンタ部の値がNであるために、今回復号するに際して、最初に用いる下り用カウンタのカウンタの値として「R1,N+1,0」が用いられることとなる。   Then, the SC 325b encrypts the plaintext 1 of the first block of the response using the value “R2, N, 0” that is the counter value of the upstream counter, and generates the ciphertext 1. Next, the value of the cipher block counter unit is incremented by “1” to generate ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6, and transmit them to the CU control unit 323. When the response consisting of the ciphertexts 1 to 6 does not reach the CU control unit 323, the CU control unit 323 retransmits the same command data as the previously transmitted command to the SC 325b. When the SC 325b decrypts the retransmitted ciphertext, the value of the message counter unit used for decrypting the ciphertext previously received by the SC 325b is N. Therefore, when the decryption is performed this time, the downlink counter used first As a counter value, “R1, N + 1, 0” is used.

SC325bでは、カウンタ値R1,N+1,0を用いてまず暗号文1を復号して平文1を生成する。次に暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を随時暗号ブロックカウンタ部を加算更新しながら復号して平文2、平文3、平文4、平文5、平文6を生成する。   In SC325b, the ciphertext 1 is first decrypted using the counter values R1, N + 1, 0 to generate plaintext 1. Next, the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are decrypted by adding and updating the cipher block counter unit as needed to obtain plaintext 2, plaintext 3, plaintext 4, plaintext 5, and plaintext 6. Generate.

次にSC325bは、前回の暗号文の生成に用いた電文カウンタ部の値「N」に対して「1」加算更新し、R2,N+1,0のカウンタ値を用いて、レスポンスの最初のブロックの平文1を暗号化して暗号文1を生成する。次に暗号ブロックカウンタ部の値を「1」ずつ加算更新して暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してCU制御部323へ送信する。   Next, the SC 325b updates "N" added to the value "N" of the message counter unit used for the previous ciphertext generation, and uses the counter values of R2, N + 1, 0 to determine the first block of the response. Ciphertext 1 is generated by encrypting plaintext 1. Next, the value of the cipher block counter unit is incremented by “1” to generate ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6, and transmit them to the CU control unit 323.

CU制御部323では、前回のSC325bからのレスポンスを受信していないため、その前回のレスポンスの復号のためのカウンタ値「R2,N,0」を用いて復号しようと試みる。しかし、その暗号文1は、カウンタの値「R2,N+1,0」を用いて暗号化されたデータであり、CU制御部323の復元開始のカウンタ値が「R2,N,0」であるため、このカウンタ値を用いて復号を試みても、正しい平文に復号することができず復号失敗となる。   Since the CU control unit 323 has not received a response from the previous SC 325b, the CU control unit 323 attempts to decode using the counter value “R2, N, 0” for decoding the previous response. However, the ciphertext 1 is data encrypted using the counter value “R2, N + 1, 0”, and the restoration start counter value of the CU control unit 323 is “R2, N, 0”. Even if decryption is attempted using this counter value, decryption fails because the plaintext cannot be decrypted correctly.

正しい平文に復号することができたか否かの判断は、MACによる一般的なチェックに基づいて行なう。簡単に説明すると、CU制御部323では、最初のカウンタ値であるR2,N,0を鍵で暗号化してその値と最初の暗号文1とのエクスクルーシブオアを演算する。このような復号処理を、カウンタ値を「1」加算更新しながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6について順次実行し、その処理結果のデータに含まれているMACのデータを用いてMACチェックを行なう。具体的には、復号処理結果のデータからMACアルゴリズムに従ってMACを生成し、その生成されたMACとSC325bからの送信データに含まれているMACのデータとを比較し、一致するか否かチェックする。正常に復号されておれば一致するが、この場合には、復号に用いられるカウンタの値が狂っているために、正常に復号されておらず、MACチェックの結果両者が一致しないと判定されてMAC異常すなわち復号失敗と判定される。   The determination as to whether or not decryption into correct plaintext has been made is based on a general check by the MAC. Briefly, the CU control unit 323 encrypts R2, N, 0, which is the first counter value, with a key, and calculates the exclusive OR between the value and the first ciphertext 1. Such decryption processing is sequentially executed for ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 while updating the counter value by “1”, and is included in the data of the processing result. MAC check is performed using the data of the existing MAC. Specifically, a MAC is generated from the data of the decoding processing result according to the MAC algorithm, and the generated MAC is compared with the MAC data included in the transmission data from the SC 325b to check whether or not they match. . If they are decoded correctly, they match, but in this case, the value of the counter used for decoding is out of order. It is determined that the MAC is abnormal, that is, decoding has failed.

このようなMAC異常すなわち復号失敗と判定された場合には、CU制御部323では、その狂ったカウンタ値を正しいカウンタ値に修復する修復処理が実行される。CU制御部323では、復号失敗と判断された暗号文の復号に最初に用いられた復号開始時のカウンタ値である「R2,N,0」に対して、その電文カウンタ部Nの値を「1」ずつ減算更新しながら順次その減算されたカウンタ値を用いて順次暗号文の復号処理を行なって前述のMACチェックを行ない、正しく復号されたか否かの判断を行なう。このカウンタ値の減算処理を所定回数行なってもMACチェックの結果MAC異常と判定された場合に、CU制御部323は、次に、復号開始時のカウンタ値である「R2,N,0」に対してその電文カウンタ部Nを「1」ずつ加算更新して順次その加算されたカウンタ値を用いた復号処理を行なってMACチェックを行なう。そしてMACチェックで適正と判断されて復号成功と判断された場合には、その復号が成功した平文を適正なコマンドとして取り込む。そして、復号成功と判断されたときに用いた電文カウンタ部のカウンタ値を次のレスポンスデータの最初の平文1の暗号化に用いる。   When it is determined that such a MAC abnormality, that is, a decoding failure, the CU control unit 323 executes a repair process for repairing the incorrect counter value to a correct counter value. The CU control unit 323 sets the value of the message counter unit N to “R2, N, 0” that is the counter value at the start of decryption that was first used for decryption of the ciphertext determined to be decryption failure. While subtracting and updating by “1”, the decrypted ciphertext is sequentially performed using the subtracted counter value to perform the above-described MAC check to determine whether the decryption has been correctly performed. If it is determined that the MAC is abnormal as a result of the MAC check even if the counter value is subtracted a predetermined number of times, the CU control unit 323 next sets “R2, N, 0” as the counter value at the start of decoding. On the other hand, the message counter unit N is incremented and updated by “1”, and the decryption process using the added counter value is sequentially performed to perform the MAC check. If the MAC check determines that the decryption is successful and the decryption is successful, the plaintext successfully decrypted is fetched as a proper command. Then, the counter value of the message counter used when it is determined that the decryption is successful is used to encrypt the first plaintext 1 of the next response data.

この図70の場合には、復号開始時のカウンタ値である「R2,N,0」から電文カウンタ部Nを1回加算更新したカウンタ値「R2,N+1,0」を用いて復号することにより、MAC正常と判断されて復号成功と判断されることとなる。   In the case of FIG. 70, decryption is performed using the counter value “R2, N + 1, 0” obtained by adding and updating the telegram counter unit N once from “R2, N, 0” which is the counter value at the start of decryption. Therefore, it is determined that the MAC is normal and that decoding is successful.

その復号成功と判断されたときに用いた電文カウンタ部の値NのR2,N+1,0のカウンタ値の電文カウンタ部の値を「1」ずつ加算更新したカウンタ値R1,N+2,0を用いて次に送信するレスポンスの最初の平文1を暗号化して暗号文1を生成する。次に「1」ずつ暗号ブロックカウンタ部を加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してSC325bへ送信する。   Using the counter values R1, N + 2, 0 obtained by adding and updating the value of the message counter part of the counter value R2, N + 1, 0 of the value N of the message counter part used when it was determined that the decryption was successful. Next, ciphertext 1 is generated by encrypting the first plaintext 1 of the response to be transmitted. Next, ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are sequentially generated by adding and updating the cipher block counter unit by “1” and transmitted to SC 325b.

それを受けたSC325bでは、「R1,N+2,0」のカウンタ値を用いて、受信した暗号文の最初の暗号文1を復号する。最初の暗号文1はカウンタ値「R1,N+2,0」のカウンタ値を用いて暗号化されたものであるために、同じカウンタ値を用いて適正に復号することが可能である。そしてSC325bは、その暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号する。   Upon receiving this, the SC 325b decrypts the first ciphertext 1 of the received ciphertext using the counter value “R1, N + 2, 0”. Since the first ciphertext 1 is encrypted using the counter value “R1, N + 2, 0”, it can be properly decrypted using the same counter value. Then, the SC 325b sequentially decrypts the ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5 and the ciphertext 6 while adding and updating the cipher block counter unit by “1”.

前述したカウンタの修復処理におけるカウンタ値への減算回数は、レスポンス未到達時におけるCU制御部323が動作コマンドの再送信(リトライ)を行なうリトライ回数に一致する。本実施の形態の場合には、そのリトライ回数は2回が限度であり、その2回のリトライに起因して生ずるカウンタ値の狂い以上に電文カウンタ部Nの減算更新を行なう必要はない。よって、2回を限度にカウンタ値の減算更新あるいは加算更新が行なわれる。   The number of subtractions to the counter value in the counter repair process described above matches the number of retries that the CU control unit 323 retransmits (retrys) the operation command when no response has been reached. In the case of the present embodiment, the number of retries is limited to two, and it is not necessary to perform subtraction update of the telegram counter unit N beyond the counter value error caused by the two retries. Therefore, the counter value is subtracted or updated up to twice.

次に図71に基づいて、CU制御部323からSC325bへのコマンドが未到達の異常時における処理を説明する。まずCU制御部323がカウンタ値R1,N,0〜R1,N,5を用いて暗号文1〜暗号文6の6ブロックの暗号文を生成してSC325bへ送信する。しかし、その暗号文がSC325bへ到達しなかった場合には、CU制御部323は同じ内容のコマンドを再び暗号化してSC325bへ再送信するというリトライを試みる。この再送信時における暗号化に用いられる電文カウンタ部は、前回のコマンドの送信時に暗号化に用いた電文カウンタ部の値Nに「1」を加算したN+1が用いられる。よって、「R1,N+1,0」のカウンタ値を用いてCU制御部323は再送信するコマンドの最初の平文1のブロックを暗号化して暗号文1を生成する。次に、CU制御部323は、その暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2,暗号文3,暗号文4,暗号文5,暗号文6を生成してSC325bへ再送信する。   Next, based on FIG. 71, the process at the time of abnormality when the command from the CU control unit 323 to the SC 325b has not reached will be described. First, the CU control unit 323 generates 6 blocks of ciphertexts 1 to 6 using the counter values R1, N, 0 to R1, N, and 5 and transmits them to the SC 325b. However, if the ciphertext does not reach the SC 325b, the CU control unit 323 tries to re-encrypt the command having the same content and retransmit it to the SC 325b. As the message counter unit used for encryption at the time of retransmission, N + 1 obtained by adding “1” to the value N of the message counter unit used for encryption at the time of transmission of the previous command is used. Therefore, using the counter value “R1, N + 1, 0”, the CU control unit 323 generates the ciphertext 1 by encrypting the first plaintext 1 block of the command to be retransmitted. Next, the CU control unit 323 sequentially generates the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 while adding and updating the cipher block counter unit by “1”, and re-sends it to the SC 325b. Send.

しかしその再送信された暗号文もSC325bへ到達しなかった場合には、CU制御部323は、再度同じ内容のコマンドを暗号化してSC325bへ再送信するという2回目のリトライを試みる。この2回目のリトライで送信されたコマンドがSC325bへ到達し、SC325bは、その暗号文の復号を試みる。   However, if the retransmitted ciphertext does not reach SC 325b, the CU control unit 323 tries the second retry of encrypting the command having the same content and retransmitting it to SC 325b. The command transmitted in the second retry reaches SC 325b, and SC 325b attempts to decrypt the ciphertext.

SC325bは、CU制御部323へ前回受信したコマンドの復号に用いた最後のカウンタ値に対して「1」加算更新した値である「R1,N,0」を用いて暗号文の最初のブロックを復号する処理を行ない、そのカウンタ値「R1,N,0」に対して暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6の復号を試みる。   The SC 325b uses “R1, N, 0”, which is a value obtained by adding and updating “1” to the last counter value used to decrypt the command previously received by the CU control unit 323. The decryption process is performed, and the ciphertext counter 2, ciphertext 3, ciphertext 4, ciphertext 5, ciphertext 5 and ciphertext are sequentially added to the counter value “R1, N, 0” while updating the cipher block counter by “1”. Attempt to decrypt sentence 6.

しかし、CU制御部323の2回に亘ってのリトライの結果、CU制御部323側のカウンタ値とSC325b側のカウンタ値とが狂っているために、適正な平文に復号することができず、前述したMACチェックの結果MAC異常となり復号失敗と判断される。   However, as a result of retrying twice by the CU control unit 323, the counter value on the CU control unit 323 side and the counter value on the SC 325b side are out of order, so it cannot be decrypted into an appropriate plaintext, As a result of the MAC check described above, the MAC is abnormal and it is determined that decoding has failed.

するとSC325bは、前述と同様に、狂ったカウンタの修復処理を行なう。復号失敗と判断された暗号文に対して最初に用いたカウント値である「R1,N,0」に対して、電文カウンタ部Nを「1」ずつ減算更新しながら順次再送信されてきた暗号文の復号を試みてMACチェックを行なう。この減算更新の実行回数は、前述したように、リトライ回数である2回を限度に実行される。この2回に亘ってのカウンタ値の減算更新による復号を試みたとしても復号に成功しなかった場合には、SC325bは、カウンタ値「R1,N,0」の電文カウンタ部に対して「1」ずつ加算更新しながら順次暗号文を復号する処理を試みる。この加算更新を試みる回数は、コマンド未到達時におけるCU制御部323による再送信を実行するリトライ回数に一致する。本実施の形態においては、2回を限度にリトライを行なう。その結果、カウンタ値の加算更新は、リトライ回数である2回を限度に加算更新される。   Then, the SC 325b performs a repair process for the crazy counter, as described above. The ciphertext that has been retransmitted sequentially while subtracting and updating the message counter unit N by “1” with respect to “R1, N, 0”, which is the count value that was first used for the ciphertext determined to be decryption failure Attempt to decrypt the sentence and perform MAC check. As described above, the number of subtraction updates is limited to two, which is the number of retries. If the decryption is not successful even when the counter value is subtracted and updated twice, the SC 325b sets “1” to the message counter unit with the counter value “R1, N, 0”. Attempts to decrypt the ciphertext sequentially while adding and updating. The number of attempts for this addition update is equal to the number of retries for performing retransmission by the CU control unit 323 when the command has not been reached. In the present embodiment, the retry is performed twice. As a result, the counter value is added and updated up to two times that is the number of retries.

そして、2回目の加算更新の結果カウンタ値が「R1,N+2,0」となり、このカウンタ値を用いて暗号文1を復号し、順次暗号ブロックカウンタ部の加算更新を行ないながら暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号することにより、適正な平文に復号することができ、MACチェックの結果適正と判断されて復号成功と判断される。その復号成功と判断された平文のコマンドをSC325bが取り込む。そしてそれに対するレスポンスのデータを暗号化してCU制御部323へ送信する。その暗号化に際しては、復号成功と判断された復号処理に用いられた電文カウンタ部の値「N+2」と異なり、最初に用いたカウント値である「R2,N,0」の「N」の値を用いる。よって、「R2,N,0」を用いて最初のブロックを暗号化して暗号文1を生成する。次に、暗号ブロックカウンタ部のカウント値を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してCU制御部323へ送信する。CU制御部323は、「R2,N,0」を用いて暗号文の最初のブロックを復号する処理を行ない、そのカウンタ値「R2,N,0」に対して暗号ブロックカウンタ部を「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6の復号を試みる。   As a result of the second addition update, the counter value becomes “R1, N + 2, 0”, and the ciphertext 1 is decrypted using this counter value, and the ciphertext 2 and the ciphertext are sequentially updated while performing the addition update of the cipher block counter unit. By decrypting the sentence 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6, it can be decrypted into an appropriate plain text, and as a result of the MAC check, it is determined to be appropriate and it is determined that the decryption is successful. The SC 325b captures the plaintext command that is determined to be successful. Then, the response data corresponding thereto is encrypted and transmitted to the CU control unit 323. At the time of the encryption, unlike the value “N + 2” of the message counter unit used for the decryption process determined to be successful, the value “N” of “R2, N, 0” which is the count value used first. Is used. Therefore, ciphertext 1 is generated by encrypting the first block using “R2, N, 0”. Next, the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are sequentially generated while the count value of the cipher block counter unit is incremented by “1” and transmitted to the CU control unit 323. . The CU control unit 323 performs processing for decrypting the first block of the ciphertext using “R2, N, 0”, and sets the cipher block counter unit to “1” for the counter value “R2, N, 0”. The ciphertext 2, the ciphertext 3, the ciphertext 4, the ciphertext 5, and the ciphertext 6 are tried to be decrypted sequentially while adding and updating each one.

次に、図72に基づいてレスポンス未到達時の異常時における処理の変形例を説明する。この図72は、前述した図70に対する変形例であり、ここでは主に相違点について説明する。SC325bからCU制御部323へのレスポンスが未到達の場合にCU制御部323は前回と同じコマンドを再送信するリトライを実行する。そのリトライによって再送信されたコマンド(暗号文)がSC325bに到達した場合に、図70と同様に、CU制御部323とSC325bとの間でのカウンタの値が食い違っている。その結果、SC325bにおいてその暗号文の復号を試みた場合にMACチェックの結果MAC異常となり復号失敗と判断される。この変形例においては、その復号失敗のときに復号不能と判断して復号エラーのコマンドをSC325bへ送信する。その際に、CU制御部323では、復号エラーのレスポンスを鍵Kを用いてSE1モードにより暗号化し、その暗号文をSC325bへ送信する。SC325bでは、それを受信して共通鍵である鍵Kを用いてその暗号文を復号し、復号エラーが発生したことを判断する。そして、カウンタの値を初期化するべく新たな乱数を生成し、その乱数の値を初期ベクタ部の値R2としてCU制御部323へ送信する。その際に、鍵Kを用いてその初期ベクタ部の値R2の値をSE1モードにより暗号化してその暗号文をセキュリティチップ325Bへ送信する。CU制御部323では、その受信した暗号文を鍵Kを用いてSE1モードにより復号し、初期ベクタ部の値R2を取得する。これにより、CU制御部323とSC325bとの間で初期化されたカウンタの値である「R2,0,0」が共有されることとなる。   Next, based on FIG. 72, the modification of the process at the time of the abnormality at the time of a response unreachable is demonstrated. FIG. 72 is a modification of FIG. 70 described above, and here, mainly the differences will be described. When the response from the SC 325b to the CU control unit 323 has not yet reached, the CU control unit 323 executes a retry to retransmit the same command as the previous time. When the command (encrypted text) retransmitted by the retry reaches SC 325b, the counter values between CU control unit 323 and SC 325b are different as in FIG. As a result, when the decryption of the ciphertext is attempted in SC325b, the MAC check results in a MAC error, and it is determined that the decryption has failed. In this modification, when the decoding fails, it is determined that decoding is impossible, and a decoding error command is transmitted to the SC 325b. At that time, the CU control unit 323 encrypts the response of the decryption error using the key K in the SE1 mode, and transmits the ciphertext to the SC 325b. In SC325b, it is received and the ciphertext is decrypted using the common key K, and it is determined that a decryption error has occurred. Then, a new random number is generated to initialize the counter value, and the random number value is transmitted to the CU control unit 323 as the initial vector unit value R2. At that time, using the key K, the value of the initial vector portion R2 is encrypted in the SE1 mode, and the ciphertext is transmitted to the security chip 325B. The CU control unit 323 decrypts the received ciphertext using the key K in the SE1 mode, and acquires the value R2 of the initial vector unit. As a result, the counter value “R2, 0, 0” that is initialized is shared between the CU control unit 323 and the SC 325b.

次にCU制御部323は、初期ベクタ部の値R2の更新を完了した旨のレスポンスを鍵Kを用いてSE1モードにより暗号化してSC325bへ送信する。   Next, the CU control unit 323 encrypts a response indicating that the update of the value R2 of the initial vector unit is completed using the key K in the SE1 mode, and transmits the encrypted response to the SC 325b.

それを受けたSC325bでは、前回再送信したコマンドと同じデータをSE2モードにより暗号化してCU制御部323へ送信する。その際に、最初のブロックを暗号化するのに初期化されたカウンタ値すなわち「R2,0,0」を用いて暗号化する。そして、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してCU制御部323へ送信する。   In response to this, the SC 325b encrypts the same data as the previously retransmitted command in the SE2 mode and transmits it to the CU control unit 323. At that time, the initial block is encrypted using the counter value initialized, that is, “R2, 0, 0”. Then, ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are sequentially generated and added to the cipher block counter unit by “1” and transmitted to the CU control unit 323.

CU制御部323では、初期化されたカウンタ値すなわち「R2,0,0」を用いて暗号文の最初のブロックを復号する。次に、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号して平文を生成する。   The CU control unit 323 decrypts the first block of the ciphertext using the initialized counter value, that is, “R2, 0, 0”. Next, the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are decrypted in order while adding and updating the cipher block counter unit by “1” to generate plain text.

次に図73に基づいて、コマンドが未到達の異常時における処理の変形例を説明する。この図73は、前述した図71のコマンド未到達時の処理の変形例であり、ここでは主に相違点について説明する。CU制御部323による2回目のリトライによってコマンドがSC325bに到達した場合に、CU制御部323とSC325bとの間でのカウンタの値が食い違っている。その結果、SC325bにおいてその暗号文の復号を試みた場合にMACチェックの結果MAC異常となり復号失敗と判断される。この変形例においては、その復号失敗のときに復号不能と判断して復号エラーのレスポンスをCU制御部323へ送信する。   Next, based on FIG. 73, a modified example of the process when the command has not reached will be described. FIG. 73 is a modification of the above-described processing when the command has not yet reached in FIG. 71, and here, mainly the differences will be described. When the command reaches SC 325b by the second retry by CU control unit 323, the counter values between CU control unit 323 and SC 325b are different. As a result, when the decryption of the ciphertext is attempted in SC325b, the MAC check results in a MAC error, and it is determined that the decryption has failed. In this modification, it is determined that decoding is impossible when the decoding fails, and a response to the decoding error is transmitted to the CU control unit 323.

その際に、SC325bでは、復号エラーのレスポンスを鍵Kを用いてSE1モードにより暗号化し、その暗号文をCU制御部323へ送信する。CU制御部323では、それを受信して共通鍵である鍵Kを用いてその暗号文を復号し、復号エラーが発生したことを判断する。そして、カウンタの値を初期化するべく新たな乱数を生成し、その乱数の値を初期ベクタ部の値R1としてSC325bへ送信する。その際に、鍵Kを用いてその初期ベクタ部の値R1をSE1モードにより暗号化してその暗号文をSC325bへ送信する。SC325bでは、その受信した暗号文を鍵Kを用いてSE1モードにより復号し、初期ベクタ部の値R1を取得する。これにより、CU制御部323とSC325bとの間で初期化されたカウンタの値である「R1,0,0」が共有されることとなる。このように、暗号文が復元できない場合に行われるカウンタの値の初期化(再設定)としては、復号不能となった(CU制御部323とSC325bとの間で齟齬が生じた)カウンタの初期ベクタ部のみを再設定してもよいが、下り用カウンタの初期ベクタ部R1と上り用カウンタの初期ベクタ部R2との両者を再設定してもよい。   At that time, the SC 325b encrypts the response of the decryption error using the key K in the SE1 mode, and transmits the ciphertext to the CU control unit 323. The CU control unit 323 receives this and decrypts the ciphertext using the key K, which is a common key, and determines that a decryption error has occurred. Then, a new random number is generated to initialize the counter value, and the random number value is transmitted to the SC 325b as the initial vector portion value R1. At that time, the value R1 of the initial vector portion is encrypted in the SE1 mode using the key K, and the ciphertext is transmitted to the SC 325b. In SC325b, the received ciphertext is decrypted in the SE1 mode using the key K, and the value R1 of the initial vector portion is acquired. As a result, the counter value “R1, 0, 0” that is initialized is shared between the CU control unit 323 and the SC 325b. As described above, as the initialization (resetting) of the counter value performed when the ciphertext cannot be restored, the initial value of the counter that cannot be decrypted (a wrinkle has occurred between the CU control unit 323 and the SC 325b). Only the vector part may be reset, but both the initial vector part R1 of the down counter and the initial vector part R2 of the up counter may be reset.

次にSC325bは、初期ベクタ部の値R1の更新を完了した旨のレスポンスを鍵Kを用いてSE1モードにより暗号化してCU制御部323へ送信する。   Next, the SC 325b encrypts the response indicating that the update of the value R1 of the initial vector portion is completed in the SE1 mode using the key K and transmits the response to the CU control unit 323.

それを受けたCU制御部323では、前回再送信したコマンドと同じデータをSE2モードにより暗号化してSC325bへ送信する。その際に、最初のブロックを暗号化するのに初期化されたカウンタ値すなわち「R1,0,0」を用いて暗号化する。そして、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を生成してSC325bへ送信する。   In response to this, the CU control unit 323 encrypts the same data as the previously retransmitted command in the SE2 mode and transmits it to the SC 325b. At that time, the initial block is encrypted using the counter value initialized, that is, “R1, 0, 0”. Then, ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5, and ciphertext 6 are sequentially generated and added to the cipher block counter unit by “1” and transmitted to SC 325b.

SC325bでは、初期化されたカウンタ値すなわち「R1,0,0」を用いて暗号文の最初のブロックを復号する。次に、その暗号ブロックカウンタ部に対して「1」ずつ加算更新しながら順次暗号文2、暗号文3、暗号文4、暗号文5、暗号文6を復号して平文を生成する。   In SC325b, the first block of the ciphertext is decrypted using the initialized counter value, that is, “R1, 0, 0”. Next, the ciphertext 2, ciphertext 3, ciphertext 4, ciphertext 5 and ciphertext 6 are decrypted in order while adding and updating the cipher block counter unit by “1” to generate plain text.

次に、図74に基づいて、SE2モードによる復号処理のカウンタ動作を説明する。前述の実施の形態では、下り用カウンタと上り用カウンタとの2種類のものを示した(図37参照)。その2種類の場合を図74(b)に示している。一方、下り用と上り用とで共通のカウンタを用いるものを図74(a)に示している。先ず図74(a)に基づいて共通カウンタを用いるものを説明する。   Next, based on FIG. 74, the counter operation of the decoding process in the SE2 mode will be described. In the above-described embodiment, two types of counters, a down counter and an up counter, are shown (see FIG. 37). The two types of cases are shown in FIG. On the other hand, FIG. 74A shows a counter using a common counter for downlink and uplink. First, an example using a common counter will be described with reference to FIG.

共通カウンタの場合、CU制御部323とSC325bとの間でクロス送信が発生した場合の両者間でのカウンタ値の食い違いが生ずる不都合がある。通常の送信では、たとえばSC325bからの応答(レスポンス)がCU制御部323に送信されてきた後次の要求(コマンド)をCU制御部323がSC325bへ送信する。これに対し、クロス送信では、SC325bからの応答(レスポンス)の出力とCU制御部323からの次の要求(コマンド)の出力とが殆ど同時になされて、CU制御部323からの次の要求(コマンド)の出力がなされた後にSC325bからの応答(レスポンス)をCU制御部323が受信し、SC325bからの応答(レスポンス)の出力がなされた後にCU制御部323からの次の要求(コマンド)がSC325bに受信される。   In the case of the common counter, there is a disadvantage that a counter value difference between the CU control unit 323 and the SC 325b occurs when cross transmission occurs. In normal transmission, for example, after a response (response) from the SC 325b is transmitted to the CU control unit 323, the CU control unit 323 transmits the next request (command) to the SC 325b. On the other hand, in the cross transmission, the response (response) output from the SC 325b and the output of the next request (command) from the CU control unit 323 are made almost simultaneously, and the next request (command) from the CU control unit 323 is made. ) Is received by the CU control unit 323, and after the response (response) is output from the SC 325b, the next request (command) from the CU control unit 323 is SC 325b. Received.

そして、共通カウンタの場合に、前述のクロス送信が生じたときには、たとえばCU制御部323側においてSC325bからの応答(レスポンス)を受信する前に次の要求(コマンド)を送信することによってカウンタ値が1つ更新された状態(カウンタ値=3)となっており、カウンタ値(=2)で暗号化された応答(レスポンス)をその1つ更新された後のカウンタ値(=3)により復号するために、CU制御部323側とSC325b側とでのカウンタ値が食い違った状態となり、適正に復号できないという不都合が生ずる。   In the case of the common counter, when the above-described cross transmission occurs, the counter value is obtained by transmitting the next request (command) before receiving the response (response) from the SC 325b on the CU control unit 323 side, for example. One updated state (counter value = 3), and the response (response) encrypted with the counter value (= 2) is decrypted with the updated counter value (= 3). For this reason, the counter values on the CU control unit 323 side and the SC 325b side are in a state of being different from each other, and there is a problem in that decoding cannot be performed properly.

そこで、一方、下り用カウンタと上り用カウンタとの2種類のものを用いる場合には、前述のクロス送信が生じたときに、図74(b)を参照して、たとえばCU制御部323側においてSC325bからの応答を受信する前に次の情報を送信することによって下り用カウンタ値が1つ更新された状態(下り用カウンタ値=2)となったとしても、その更新されたカウンタ値はCU制御部323からSC325bへ送信する暗号文の生成に用いられる下り用カウンタ値が更新されるだけであって上り用カウンタ値は更新されないために(上り用カウンタ値=1)、上り用カウンタ値(=1)によって暗号化されたSC325bからの応答(レスポンス)を同じ上り用カウンタ値(=1)を用いてCU制御部323側において適正に復号することが可能となる。   On the other hand, when two types of counters, that is, a down counter and an up counter are used, when the above-described cross transmission occurs, referring to FIG. 74 (b), for example, on the CU control unit 323 side. Even if the downstream counter value is updated by one by transmitting the following information before receiving the response from the SC 325b (downstream counter value = 2), the updated counter value is CU Since only the down counter value used for generating the ciphertext to be transmitted from the control unit 323 to the SC 325b is updated and the up counter value is not updated (up counter value = 1), the up counter value ( = 1), the response from SC 325b encrypted (response) is appropriately decrypted on the CU control unit 323 side using the same counter value for upstream (= 1). It is possible.

以上説明したように、第1制御手段(CU制御部323等)から第2制御手段(SC325b等)へ送信する暗号文の生成に用いる第1鍵(下りカウンタ)と、第2制御手段(SC325b等)から第1制御手段(CU制御部323等)へ送信する暗号文の生成に用いる第2鍵(上りカウンタ)とが、それぞれ独自に更新されるために、第1制御手段(CU制御部323等)と第2制御手段(SC325b等)との間でクロス送信が発生した場合の両制御手段間での鍵の食い違いが生ずる不都合を防止することができる。第2制御手段(SC325b等)からの応答が第1制御手段(CU制御部323等)に送信されてきた後次の情報を第1制御手段(CU制御部323等)が第2制御手段(SC325b等)へ送信するのが通常送信であるのに対し、クロス送信とは、第2制御手段(SC325b等)からの応答の出力と第1制御手段(CU制御部323等)からの次の情報の出力とが殆ど同時になされて、第1制御手段(CU制御部323等)からの次の情報の出力がなされた後に第2制御手段(SC325b等)からの応答を第1制御手段(CU制御部323等)が受信し、第2制御手段(SC325b等)からの応答の出力がなされた後に第1制御手段(CU制御部323等)からの次の情報が第2制御手段(SC325b等)に受信される送受信状態を言う(たとえば図74(a)(b)参照)。たとえば、第1制御手段(CU制御部323等)と第2制御手段(SC325b等)との間で送信する暗号文の生成に用いる鍵を1種類の鍵にして第1制御手段(CU制御部323等)から第2制御手段(SC325b等)への送信の度および第2制御手段(SC325b等)から第1制御手段(CU制御部323等)への送信の度にその1種類の鍵を互いに更新するようにした場合に、前述のクロス送信が生じたときには、たとえば第1制御手段(CU制御部323等)側において第2制御手段(SC325b等)からの応答を受信する前に次の情報を送信することによって鍵が1つ更新された状態となっており、第2制御手段(SC325b等)から送信されてきた応答情報をその1つ更新された後の鍵により復号するために、第1制御手段(CU制御部323等)側と第2制御手段(SC325b等)側とでの鍵が食い違った状態となり、適正に復号できないという不都合が生ずる。   As described above, the first key (down counter) used to generate the ciphertext to be transmitted from the first control means (CU control unit 323, etc.) to the second control means (SC325b, etc.), and the second control means (SC325b). Etc.) to the first control means (CU control unit 323 etc.) and the second key (upstream counter) used for generating the ciphertext to be transmitted is independently updated, so that the first control means (CU control unit) 323, etc.) and the second control means (SC325b, etc.), it is possible to prevent inconvenience that a key mismatch occurs between the two control means when a cross transmission occurs. After the response from the second control means (SC 325b etc.) is transmitted to the first control means (CU control part 323 etc.), the first control means (CU control part 323 etc.) sends the second information to the second control means (CU control part 323 etc.). The normal transmission is transmitted to the SC 325b etc., whereas the cross transmission refers to the output of the response from the second control means (SC 325b etc.) and the next from the first control means (CU control unit 323 etc.) Information is output almost simultaneously, and after the next information is output from the first control means (CU control unit 323, etc.), a response from the second control means (SC325b, etc.) is sent to the first control means (CU Control unit 323 etc.) receives and outputs a response from the second control means (SC325b etc.), the next information from the first control means (CU control unit 323 etc.) is the second control means (SC325b etc.) ) Received and received status Say (for example, FIG. 74 (a) (b) reference). For example, the first control unit (CU control unit) uses a key used for generating ciphertext to be transmitted between the first control unit (CU control unit 323, etc.) and the second control unit (SC 325b, etc.) as one type of key. 323, etc.) to the second control means (SC325b, etc.) and each time transmission from the second control means (SC325b, etc.) to the first control means (CU control unit 323, etc.) When the above-mentioned cross transmission occurs when updating each other, for example, the first control unit (CU control unit 323, etc.) side receives the next response before receiving a response from the second control unit (SC325b, etc.). In order to decrypt the response information transmitted from the second control means (SC 325b etc.) with the updated key, the key is updated by transmitting the information. First control It becomes stage (CU control unit 323, etc.) side and a state in which the key is staggered in the second control means (SC325b etc.) side, is caused inconvenience can not be properly decoded.

そこで、第1制御手段(CU制御部323等)から第2制御手段(SC325b等)へ送信する暗号文の生成に用いる第1鍵(下りカウンタ)と、第2制御手段(SC325b等)から第1制御手段(CU制御部323等)へ送信する暗号文の生成に用いる第2鍵(上りカウンタ)との、2種類の鍵を用いることにした。その結果、前述のクロス送信が生じたときに、たとえば第1制御手段(CU制御部323等)側において第2制御手段(SC325b等)からの応答を受信する前に次の情報を送信することによって鍵が1つ更新された状態となったとしても、その更新された鍵は第1制御手段(CU制御部323等)から第2制御手段(SC325b等)へ送信する暗号文の生成に用いられる第1鍵(下りカウンタ)が更新されるだけであって第2鍵(上りカウンタ)は更新されないために、第2鍵(上りカウンタ)によって暗号化された第2制御手段(SC325b等)からの応答情報を同じ第2鍵(上りカウンタ)を用いて第1制御手段(CU制御部323等)側において適正に復号することが可能となる。   Therefore, the first key (down counter) used for generating the ciphertext to be transmitted from the first control means (CU control unit 323, etc.) to the second control means (SC325b, etc.) and the second control means (SC325b, etc.) Two types of keys, that is, a second key (upstream counter) used for generating ciphertext to be transmitted to one control means (CU control unit 323, etc.) are used. As a result, when the above-mentioned cross transmission occurs, for example, the first control means (CU control unit 323 etc.) side transmits the next information before receiving a response from the second control means (SC 325b etc.). Even if one key is updated by the above, the updated key is used to generate ciphertext to be transmitted from the first control means (CU control unit 323, etc.) to the second control means (SC325b, etc.). The second key (upstream counter) is not updated, only the first key (downstream counter) to be updated is updated, so that the second control means (SC325b etc.) encrypted by the second key (upstream counter) Can be properly decrypted on the first control means (CU control unit 323, etc.) side using the same second key (up counter).

次に、図75および図76を参照して、SE2モード時のカウンタの自動修復のシーケンスを説明する。図75は、CU制御部323側におけるSE2モード時のカウンタの自動修復のシーケンスである。また、図76は、SC325b側におけるSE2モード時のカウンタの自動修復のシーケンスである。また、両図において、業務電文要求は何らかのコマンドを、業務電文応答は何らかのレスポンスを示す。   Next, with reference to FIG. 75 and FIG. 76, a sequence of automatic counter restoration in the SE2 mode will be described. FIG. 75 is a sequence of automatic counter restoration in the SE2 mode on the CU control unit 323 side. FIG. 76 is a sequence of automatic counter restoration in the SE2 mode on the SC 325b side. In both figures, a business message request indicates some command, and a business message response indicates some response.

初めに図75を参照して、CU制御部323側におけるSE2モード時のカウンタの自動修復のシーケンスを説明する。CU制御部323は、業務電文要求1を下りカウンタ=0にて送信し、それを受けたSC325bは業務電文応答1を上りカウンタ=0でCU制御部323へ送信する。   First, referring to FIG. 75, the counter automatic restoration sequence in the SE2 mode on the CU control unit 323 side will be described. The CU control unit 323 transmits the business message request 1 with the downstream counter = 0, and the SC 325b receiving it transmits the business message response 1 to the CU control unit 323 with the upstream counter = 0.

すると、CU制御部323は、業務電文要求2を下りカウンタ=1にて送信し、それを受けたSC325bは業務電文応答2を上りカウンタ=1でCU制御部323へ送信する。このようなやりとりがなされる途中で、SC325bから送信された上りカウンタ=2の業務電文応答3がCU制御部323へ未到達となった場合、CU制御部323は、業務電文要求3を再送する。このとき、下りカウンタは更新せずに下りカウンタ=2で送信する。   Then, the CU control unit 323 transmits the business message request 2 with the downstream counter = 1, and the SC 325b receiving it transmits the business message response 2 to the CU control unit 323 with the upstream counter = 1. In the middle of such an exchange, when the business message response 3 with the upstream counter = 2 transmitted from the SC 325b has not reached the CU control unit 323, the CU control unit 323 retransmits the business message request 3 . At this time, the downlink counter is not updated and transmitted with downlink counter = 2.

SC325bは、既に受信済みの業務電文要求3が再送されてきたため、業務電文応答3を再送する。しかし、再び、この応答が未着であった場合にはCU制御部323による2度目の電文の再送が前回と同様に実行され、2度目の再送でもなお、CU制御部323に対してSC325bからの応答が届かないと、CU制御部323は、SC325bに対して基板状態要求を送信する。この基板状態要求は、SC325bに対してセキュリティ基板及び、遊技機の状態を要求するものである。また、このときの下りカウンタは、再送を試みたカウンタ値に1を加えた3に設定される。   The SC 325b resends the business message response 3 because the already received business message request 3 has been retransmitted. However, if this response has not arrived again, the second retransmission of the message by the CU control unit 323 is executed in the same manner as the previous one, and the second retransmission is still in response to the CU control unit 323 from the SC 325b. If the response is not received, the CU control unit 323 transmits a board state request to the SC 325b. This board state request is a request for the state of the security board and the gaming machine to the SC 325b. In addition, the downstream counter at this time is set to 3, which is obtained by adding 1 to the counter value that has been retransmitted.

基板状態要求を受信したSC325bは、既に受信している業務電文要求3の下りカウンタ(=2)に1を加えた下りカウンタ値(=3)でこれを復号し、その復号に成功する。その上で、SC325bは、基板状態応答(上りカウンタ=3)をCU制御部323に返信する。ところが、CU制御部323は、業務電文応答3(上りカウンタ=2)を受信できておらず、直近で受信した電文の上りカウンタは1である。このため、受信した基板状態応答をその上りカウンタに1加えた値(=2)で復号すると復号異常が検出される。そこで、図45のS156のとおり、上りカウンタ(=2)にさらに+1した値である3で基板状態応答を復号し、その復号に成功する。   The SC 325b that has received the board status request decodes it with the downlink counter value (= 3) obtained by adding 1 to the downlink counter (= 2) of the business message request 3 that has already been received, and succeeds in the decoding. Then, the SC 325b returns a substrate state response (up counter = 3) to the CU control unit 323. However, the CU control unit 323 has not received the business message response 3 (upstream counter = 2), and the most recently received message has an upstream counter of 1. For this reason, when the received board state response is decoded with a value obtained by adding 1 to the upstream counter (= 2), a decoding abnormality is detected. Therefore, as shown in S156 of FIG. 45, the board state response is decoded with 3 which is a value obtained by adding +1 to the upstream counter (= 2), and the decoding is successful.

次に、図76を参照して、SC325b側におけるSE2モード時のカウンタの自動修復のシーケンスを説明する。CU制御部323は、業務電文要求1を下りカウンタ=0にて送信し、それを受けたSC325bは業務電文応答1を上りカウンタ=0でCU制御部323へ送信する。   Next, referring to FIG. 76, the counter automatic restoration sequence in the SE2 mode on the SC 325b side will be described. The CU control unit 323 transmits the business message request 1 with the downstream counter = 0, and the SC 325b receiving it transmits the business message response 1 to the CU control unit 323 with the upstream counter = 0.

すると、CU制御部323は、業務電文要求2を下りカウンタ=1にて送信し、それを受けたSC325bは業務電文応答2を上りカウンタ=1でCU制御部323へ送信する。このようなやりとりがなされる途中で、CU制御部323から送信された下りカウンタ=2の業務電文要求3に対する応答がSC325bから返ってこない場合、CU制御部323は、業務電文要求3を再送する。このとき、下りカウンタは更新せずに下りカウンタ=2で送信する。   Then, the CU control unit 323 transmits the business message request 2 with the downstream counter = 1, and the SC 325b receiving it transmits the business message response 2 to the CU control unit 323 with the upstream counter = 1. In the middle of such an exchange, when the response to the business message request 3 with the downstream counter = 2 transmitted from the CU control unit 323 is not returned from the SC 325b, the CU control unit 323 retransmits the business message request 3 . At this time, the downlink counter is not updated and transmitted with downlink counter = 2.

しかし、再び、この業務電文要求3に対する応答も返らない場合にはCU制御部323による2度目の電文の再送が前回と同様に実行され、2度目の再送でもなお、CU制御部323に対してSC325bからの応答が届かないと、CU制御部323は、SC325bに対して基板状態要求を送信する。この基板状態要求は、SC325bに対してセキュリティ基板及び、遊技機の状態を要求するものである。また、このときの下りカウンタは、再送を試みたカウンタ値に1を加えた3に設定される。   However, when the response to the business message request 3 is not returned again, the second retransmission of the message by the CU control unit 323 is executed in the same manner as the previous time, and the second retransmission is still in response to the CU control unit 323. If no response is received from the SC 325b, the CU control unit 323 transmits a board state request to the SC 325b. This board state request is a request for the state of the security board and the gaming machine to the SC 325b. In addition, the downstream counter at this time is set to 3, which is obtained by adding 1 to the counter value that has been retransmitted.

ところが、SC325bは、業務電文要求3(下りカウンタ=2)を受信できておらず、直近で受信した電文の下りカウンタは1である。このため、受信した基板状態要求をその下りカウンタに1加えた値(=2)で復号すると復号異常が検出される。そこで、図45のS156のとおり、下りカウンタに+1した値である3で基板状態要求が復号され、その復号に成功する。一方、基板状態応答(上りカウンタ=2)を受信したCU制御部323は、既に業務電文応答2(上りカウンタ=1)を受信しているので、その上りカウンタに1を加えた値(=2)で復号を試み、復号に成功する。   However, SC 325b has not received business message request 3 (downstream counter = 2), and the most recently received message has a downstream counter of 1. For this reason, when the received board status request is decoded with a value obtained by adding 1 to the downstream counter (= 2), a decoding abnormality is detected. Therefore, as shown in S156 of FIG. 45, the board state request is decoded with 3 which is a value obtained by adding 1 to the down counter, and the decoding is successful. On the other hand, the CU control unit 323 that has received the board state response (upstream counter = 2) has already received the business message response 2 (upstream counter = 1), and therefore, a value obtained by adding 1 to the upstream counter (= 2) ) And attempts to decrypt successfully.

なお、図75および図76の処理では、復号異常となったときに、カウンタに+1した値で復号を再試行して成功した例を示したが、失敗した場合には、たとえば、図45(a)に示す処理が適用される。すなわち、図45(a)に示したように、初めに+1して試行し、復号失敗の場合にはさらに+1して試行し、このような試行を複数回繰り返し、それでも復号失敗の場合には、元のカウンタ値に戻してその値から−1して試行し、復号失敗の場合にはさらに−1して試行することを繰り返す。また、カウンタの更新値は1に限られず、2や3等の値を更新値としてもよい。   75 and 76 show an example in which the decoding is retried with a value incremented by one when the decoding is abnormal, and succeeds. However, in the case of failure, for example, FIG. 45 ( The process shown in a) is applied. That is, as shown in FIG. 45 (a), +1 is tried first, and if decoding is unsuccessful, +1 is further tried, and such trial is repeated a plurality of times. Returning to the original counter value, −1 is tried from that value, and if decoding is unsuccessful, −1 is further tried. The update value of the counter is not limited to 1, and values such as 2 and 3 may be used as the update value.

<<無償遊技および所定レートでの遊技の切替え>>
次に、無償遊技および所定レートでの遊技の切替えについて説明する。レートとは、遊技媒体(パチンコ玉、スロットマシンで用いられるメダルなど)の貸与を受ける際の遊技媒体の単価のことをいう。レートには、たとえば、パチンコ玉1玉4円、パチンコ玉1玉1円、メダル1枚20円、メダル1枚5円などがある。
<< Switching between free games and games at a specified rate >>
Next, switching between free games and games at a predetermined rate will be described. The rate refers to the unit price of the game medium when a game medium (pachinko ball, medal used in a slot machine, etc.) is lent. Examples of the rate include a pachinko ball of 4 yen, a pachinko ball of 1 yen, a medal of 20 yen, and a medal of 5 yen.

なお、本実施の形態における遊技機は、封入循環式パチンコ機および後述するようなメダルを用いないスロットマシンである。このため、遊技媒体の貸与の概念には、パチンコ機においては遊技玉の貸与、および、スロットマシンにおいては遊技点の貸与の概念を含めるようにする。なお、遊技玉とは実物の玉ではなく仮想的な玉である。   Note that the gaming machine in the present embodiment is a sealed circulation pachinko machine and a slot machine that does not use medals as described later. For this reason, the concept of lending game media includes the concept of lending game balls in pachinko machines and lending game points in slot machines. The game balls are not real balls but virtual balls.

図77は、贈与処理の流れを示すフローチャートおよび遊技者所有の価値を管理するための記憶テーブルの説明図である。図77(A)を参照して、贈与処理は、ホールサーバ801などの遊技場内のサーバのCPUによって実行される。   FIG. 77 is an explanatory diagram of a flowchart showing the flow of the gift process and a storage table for managing the value of player possession. Referring to FIG. 77 (A), the gift process is executed by a CPU of a server in the game hall such as hall server 801.

贈与処理においては、まず、ホールサーバ801のCPUは、無料持玉の贈与条件が成立したか否かを判断する(ステップS401)。無料持玉は、遊技者に無償で付与される遊技用価値であり、通常の持玉と同様、再プレイボタン319の操作で遊技に用いることができる。ただし、本実施の形態においては、計数ボタン28の操作に応じた無料持玉への加算はできない。なお、計数ボタン28の操作に応じた無料持玉への加算ができるようにしてもよい。   In the gift process, first, the CPU of the hall server 801 determines whether or not the gift condition for the free possession is satisfied (step S401). The free possession ball is a game value that is given to the player free of charge, and can be used in the game by operating the replay button 319, as in the case of a regular possession ball. However, in the present embodiment, the addition to the free possession ball according to the operation of the counting button 28 cannot be performed. In addition, you may enable it to add to the free possession ball according to operation of the count button 28. FIG.

無料持玉は、所定無効条件が成立(たとえば、日を跨ぐ、所定時間経過する、別の遊技機に移動するなど)したことを条件に無効とされる(たとえば、無料持玉は、通常の持玉と同様の扱いであるので、当日のみ有効とされる。)。   A free possession ball is invalidated on the condition that a predetermined invalid condition has been established (for example, straddling a day, a predetermined time has elapsed, moving to another game machine, etc.) Since it is handled in the same way as a holding ball, it is valid only on the day.)

無料持玉の贈与条件は、たとえば、ホールサーバ801で会員情報として管理されている遊技者の誕生日であるという条件、特定日(レディースデイ)であるという条件遊技場に来店したという条件、遊技場に所定頻度以上、および、来店したという条件などである。   The conditions for gifting free possessions are, for example, the condition that the player is managed as member information in the hall server 801, the condition that it is the birthday of the player, the condition that it is a specific day (Ladies' Day), There are conditions such as a predetermined frequency or more and a visit to the place.

贈与条件が成立した(ステップS401でYES)と判断した場合、ホールサーバ801のCPUは、対象のカードIDに対応付けて、所定量(たとえば、100玉)の無料持玉を、無料持玉を記憶する記憶領域に記憶させる(ステップS402)。贈与条件が成立していない(ステップS401でNO)と判断した場合、および、ステップS402の後、ホールサーバ801のCPUは、実行する処理を呼出元の処理に戻す。   When it is determined that the gift condition is satisfied (YES in step S401), the CPU of the hall server 801 associates a predetermined amount (for example, 100 balls) of free possession balls with free possession balls in association with the target card ID. It memorize | stores in the memory area to memorize | store (step S402). If it is determined that the gift condition is not satisfied (NO in step S401), and after step S402, the CPU of the hall server 801 returns the process to be executed to the caller process.

図77(B)を参照して、ホールサーバ801の記憶部には、会員残高・持玉・貯玉テーブルで示されるような情報が記憶される。このテーブルで示されるように、会員の会員カードのカードIDと対応付けて、プリペイド残額ならびにレートごとの持玉数および貯玉数を記憶可能な記憶領域が設けられるとともに、無料持玉を記憶する記憶領域が設けられる。   Referring to FIG. 77 (B), the storage unit of hall server 801 stores information as shown in the member balance / holding ball / storing ball table. As shown in this table, in association with the card ID of the member card of the member, a storage area capable of storing the prepaid balance, the number of balls and the number of balls for each rate is provided, and a memory for storing free balls An area is provided.

レートA,Bは、それぞれ、たとえば、パチンコ玉1玉4円のレートおよびパチンコ玉1玉1円のレートである。   The rates A and B are, for example, a rate of 4 yen per pachinko ball and a rate of 1 yen per pachinko ball, respectively.

また、図77(C)を参照して、ホールサーバ801の記憶部には、ビジター残高・持玉テーブルで示されるような情報が記憶される。このテーブルで示されるように、ビジターカードのカードIDと対応付けて、プリペイド残額ならびにレートごとの持玉数を記憶可能な記憶領域が設けられるとともに、無料持玉を記憶する記憶領域が設けられる。   Referring to FIG. 77 (C), the storage unit of hall server 801 stores information as shown in the visitor balance / holding ball table. As shown in this table, in association with the card ID of the visitor card, a storage area capable of storing the prepaid balance and the number of balls for each rate is provided, and a storage area for storing free balls is provided.

このような会員カードおよびビジターカードがCU3で受付けられることでCU3からホールサーバ801にカードIDが送信され、カードIDに対応するプリペイド残額、ならびに、レートごとの持玉数および貯玉数、ならびに、無料持玉の数が、CU3に送信される。   By receiving such a membership card and visitor card at CU3, the card ID is transmitted from CU3 to the hall server 801, the prepaid balance corresponding to the card ID, the number of held balls and the number of balls for each rate, and free The number of holding balls is transmitted to CU3.

このように、会員カードおよびビジターカードは、価値として、遊技者に無償で与えられない種類の価値(たとえば、プリペイド残額、持玉、貯玉)と、遊技者に無償で与えられる種類の価値(ここでは、無料持玉)とを特定可能である。後者は、無償遊技に使用可能な価値ともいえ、前者は、無償遊技でない通常遊技に使用可能な価値ともいえる。   In this way, membership cards and visitor cards have a value of a kind that is not given to the player free of charge (for example, a prepaid balance, a holding ball, a storage ball) and a kind of value that is given to the player free of charge (here Then, it is possible to specify free possession balls). The latter can be said to be a value that can be used for free games, and the former can be said to be a value that can be used for normal games that are not free games.

遊技者に無償で与えられる種類の価値は、遊技者に無償で与えられない価値と同様の態様で、会員カードおよびビジターカードで特定可能とされる。具体的には、図77で示したように、遊技者に無償で与えられる持玉は、遊技者に無償で与えられない持玉と同様の態様、つまり持玉として、会員カードおよびビジターカードで特定可能とされる。なお、ここでは、無償で与えられる持玉が、無償で与えられない持玉に合算されて、会員カードおよびビジターカードで特定可能とされるのではなく、それぞれ、独立して特定可能とされる。   The kind of value given to the player free of charge can be specified by the membership card and the visitor card in the same manner as the value not given free of charge to the player. More specifically, as shown in FIG. 77, the possession balls that are given to the player free of charge are the same as the possession balls that are not given to the player free of charge, that is, as possession balls, with membership cards and visitor cards. It can be specified. In addition, here, it is possible to specify the balls that are given free of charge separately from the balls that are not given free of charge, and not be specified by the membership card or visitor card. .

また、会員カードおよびビジターカードは、価値として、高レート(ここでは、レートA)での遊技を可能とする種類の価値(たとえば、プリペイド残額、レートAの持玉/貯玉)と、低レート(ここでは、レートB)での遊技を可能とする種類の価値(たとえば、プリペイド残額、レートBの持玉/貯玉)とを特定可能である。   In addition, the membership card and the visitor card have a value of a value that enables a game at a high rate (in this case, rate A) (for example, a prepaid balance, a rate A holding / storing ball) and a low rate ( Here, it is possible to specify the type of value (for example, prepaid balance, rate B holding / storing ball) that enables a game at rate B).

図78は、レート関連処理の流れを示すフローチャートである。図78を参照して、レート関連処理は、CU3のCU制御部323によって実行される。   FIG. 78 is a flowchart showing the flow of rate-related processing. Referring to FIG. 78, the rate related processing is executed by CU control unit 323 of CU3.

レート関連処理においては、まず、CU制御部323は、会員カードの受付時であるか否かを判断する(ステップS501)。会員カードの受付時である(ステップS501でYES)と判断した場合、CU制御部323は、受付けられた会員カードのカードIDに対応付けて無料持玉が記憶されているかをホールサーバ801に問合せる(ステップS502)。   In the rate-related processing, first, the CU control unit 323 determines whether it is time to accept a membership card (step S501). If it is determined that the membership card is being accepted (YES in step S501), the CU control unit 323 inquires of the hall server 801 whether a free possession ball is stored in association with the card ID of the accepted membership card. (Step S502).

次に、CU制御部323は、受付けられた会員カードに対応付く無料持玉が記憶されている旨の情報がホールサーバ801から応答されたか否かを判断する(ステップS503)。   Next, the CU control unit 323 determines whether or not the hall server 801 has responded with information indicating that a free possession ball corresponding to the accepted member card is stored (step S503).

無料持玉が記憶されている旨の情報が応答された(ステップS503でYES)と判断した場合、CU制御部323は、表示器54(または表示器312)に、無料持玉が贈与されている旨を表示することで遊技者に報知する(ステップS504)。   When it is determined that the information indicating that the free possession ball is stored is answered (YES in step S503), the CU control unit 323 gives the free possession ball to the display 54 (or the display 312). The player is notified by displaying the fact that it is present (step S504).

会員カードの受付時でない(ステップS501でNO)と判断した場合、および、ステップS504の後、CU制御部323は、レート変換操作を受付けたか否かを判断する(ステップS511)。レート変換操作は、遊技者の持玉/貯玉のうち、あるレートの持玉/貯玉を他のレートに変換させるための操作であって、表示器54(または表示器312)のタッチパネルで受付けられる。   If it is determined that the membership card is not received (NO in step S501) and after step S504, the CU control unit 323 determines whether a rate conversion operation has been received (step S511). The rate conversion operation is an operation for converting a player's possession balls / storing balls to a certain rate, and is accepted by the touch panel of the display 54 (or the display 312). .

レート変換操作を受付けた(ステップS511でYES)と判断した場合、CU制御部323は、遊技玉数が0でないか否かを判断する(ステップS512)。遊技玉数が0でない(ステップS512でYES)と判断した場合、CU制御部323は、計数操作を促すよう表示器54(または表示器312)に表示する(ステップS513)。   If it is determined that the rate conversion operation has been accepted (YES in step S511), the CU control unit 323 determines whether the number of game balls is not 0 (step S512). If it is determined that the number of game balls is not 0 (YES in step S512), the CU control unit 323 displays on the display unit 54 (or the display unit 312) to prompt the counting operation (step S513).

一方、遊技玉数が0である(ステップS512でNO)と判断した場合、CU制御部323は、遊技動作中であるか否かを判断する(ステップS514)。   On the other hand, when it is determined that the number of game balls is 0 (NO in step S512), the CU control unit 323 determines whether or not a game operation is being performed (step S514).

遊技玉数が0になってから(つまり、最後の遊技玉に対応するパチンコ玉が遊技領域に打込まれてから)所定時間、経過しており、かつ、図柄変動中でなく、かつ、大当り状態などの特定遊技状態でなく、かつ、確変状態や時短状態などの特別遊技状態中でない場合(これらの判断は、CU制御部323で行なわれるようにしてもよいし、遊技機で行なわれるようにしてもよい。遊技機で行なわれる場合は、遊技動作中であるか否かを示す情報がCU3に送信されるようにする。)に、CU制御部323は、遊技動作中でないと判断する。所定時間は、パチンコ玉が発射されてからいずれかの口(いずれかの入賞口、アウト口154など)に入るまでに十分な時間であり、たとえば30秒である。   A predetermined time has passed since the number of game balls has become zero (that is, since the pachinko ball corresponding to the last game ball has been struck into the game area), and the symbol has not changed. When the game is not in a specific game state such as a state, and is not in a special game state such as a probability change state or a short-time state (these determinations may be made by the CU control unit 323 or by a gaming machine) When the game machine is used, information indicating whether or not a game operation is being performed is transmitted to the CU 3), and the CU control unit 323 determines that the game operation is not being performed. . The predetermined time is a sufficient time from when the pachinko ball is fired until it enters one of the mouths (any winning port, out port 154, etc.), for example, 30 seconds.

遊技動作中でない(ステップS514でNO)と判断した場合、CU制御部323は、ステップS511で受付けられたレート間の変換処理を実行する(ステップS515)。変換処理は、後述の図79で説明する。   If it is determined that the game operation is not being performed (NO in step S514), the CU control unit 323 executes the conversion process between the rates accepted in step S511 (step S515). The conversion process will be described later with reference to FIG.

次に、CU制御部323は、変換後のレートでの遊技可能となるように切替設定をする(ステップS516)。レートの切替設定においては、CU制御部323は、記憶している現在のレートを示す情報を切替え後のレートを示すように変更する。   Next, the CU control unit 323 performs switching setting so that a game can be played at the converted rate (step S516). In the rate switching setting, the CU control unit 323 changes the stored information indicating the current rate to indicate the rate after switching.

次いで、CU制御部323は、設定されたレートを表示器54(または表示器312)で表示することで遊技者に報知することを開始する(ステップS517)。なお、CU3の表示器ではなくパチンコ機2などの遊技機の表示装置(ここでは、可変表示装置278)で表示するようにしてもよい。   Next, the CU control unit 323 starts to notify the player by displaying the set rate on the display 54 (or the display 312) (step S517). In addition, you may make it display with the display apparatus (here variable display apparatus 278) of game machines, such as the pachinko machine 2, instead of the display of CU3.

さらに、CU制御部323は、対応する遊技機(ここではパチンコ機2)に切替え後のレートを示す情報を送信する。遊技機は、受信した切替え後のレートを示す情報を記憶しておく。   Further, the CU control unit 323 transmits information indicating the rate after switching to the corresponding gaming machine (here, the pachinko machine 2). The gaming machine stores information indicating the received rate after switching.

遊技機においては、レートに応じた遊技が行なわれるようにしてもよく、たとえば、パチンコ機2においては、レートに応じたパチンコ玉の発射間隔や可変表示装置278での図柄の変動時間となるようにしてもよい(たとえば、低レートの場合は、発射間隔や変動時間を短くする)。また、後述する遊技機の別の例であるスロットマシン2Sにおいては、レートに応じたウェイト時間や演出時間となるようにしてもよい。   In the gaming machine, a game according to the rate may be performed. For example, in the pachinko machine 2, the pachinko ball firing interval according to the rate or the variation time of the symbol on the variable display device 278 is set. (For example, when the rate is low, the firing interval and the fluctuation time are shortened). Further, in a slot machine 2S which is another example of a gaming machine to be described later, a wait time or an effect time according to the rate may be set.

ウェイト時間とは、1ゲームが終了してから次のゲームのスタート操作が可能になるまでの時間である。この時間は、たとえば、4.1秒等である。ウェイト時間が経過する前にスタート操作を検出した場合には、ウェイト時間の経過後にリールが回転を開始する。また、演出時間は、たとえば、ATのためのナビストックが付与される可能性やナビストック付与数を示唆するために複数ゲームに亘って実行される連続演出や1ゲームで単発的に行なわれる演出(キャラクタを用いて1ゲームまたは複数ゲームに亘り実行されるバトル演出など)に要する時間である。   The wait time is the time from the end of one game until the start operation of the next game becomes possible. This time is, for example, 4.1 seconds. If the start operation is detected before the wait time elapses, the reel starts to rotate after the wait time elapses. In addition, the production time is, for example, a continuous production performed over a plurality of games or a single game in a single game in order to suggest the possibility that navigation stock for AT is provided or the number of navigation stocks provided. It is the time required for (a battle effect or the like executed over one game or a plurality of games using a character).

また、所定のタイミングでCU制御部323が遊技機からレートを示す情報を取得して、取得した情報で示されるレートが、CU制御部323が記憶しているレートと異なる場合に、不正や異常と判断するようにしてもよい。たとえば、1玉4円のレートで設定されているCU3に、1玉1円のレートの遊技機が不正に接続されたような場合に、1玉1円の遊技玉数が1玉4円としてカードで特定可能とされてしまうことが考えられるが、このような不正を防止することができる。   In addition, when the CU control unit 323 acquires information indicating the rate from the gaming machine at a predetermined timing, and the rate indicated by the acquired information is different from the rate stored in the CU control unit 323, an illegal or abnormal You may make it judge. For example, if a gaming machine with a rate of 1 yen per ball is illegally connected to CU3 set at a rate of 4 yen per ball, the number of game balls per 1 ball will be 4 yen per ball. Although it may be possible to identify the card, such fraud can be prevented.

レート変換操作を受付けていない(ステップS511でNO)と判断した場合、ステップS513の後、遊技動作中である(ステップS514でYES)と判断した場合、および、ステップS518の後、CU制御部323は、実行する処理をステップS520に進める。   When it is determined that the rate conversion operation is not accepted (NO in step S511), after step S513, when it is determined that a game operation is being performed (YES in step S514), and after step S518, the CU control unit 323 Advances the process to be executed to step S520.

次に、CU制御部323は、レート切替操作を受付けたか否かを判断する。レート切替操作は、遊技に用いられる遊技媒体のレートを他のレートに切替えるための操作であって、表示器54(または表示器312)のタッチパネルで受付けられる。本実施の形態においては、無料、レートA,レートB・・・のいずれかに切替えることが可能である。   Next, the CU control unit 323 determines whether a rate switching operation has been accepted. The rate switching operation is an operation for switching the rate of the game medium used for the game to another rate, and is accepted by the touch panel of the display 54 (or the display 312). In the present embodiment, it is possible to switch between free, rate A, rate B...

レート切替操作を受付けた(ステップS520でYES)と判断した場合、CU制御部323は、遊技玉数が0でないか否かを判断する(ステップS521)。遊技玉数が0でない(ステップS521でYES)と判断した場合、CU制御部323は、計数操作を促すよう表示器54(または表示器312)に表示する(ステップS522)。   If it is determined that the rate switching operation has been accepted (YES in step S520), the CU control unit 323 determines whether or not the number of game balls is not 0 (step S521). When it is determined that the number of game balls is not 0 (YES in step S521), the CU control unit 323 displays on the display 54 (or the display 312) to prompt the counting operation (step S522).

一方、遊技玉数が0である(ステップS521でNO)と判断した場合、CU制御部323は、ステップS514と同様に、遊技動作中であるか否かを判断する(ステップS523)。   On the other hand, when it is determined that the number of game balls is 0 (NO in step S521), the CU control unit 323 determines whether or not a game operation is being performed, similarly to step S514 (step S523).

遊技動作中でない(ステップS523でNO)と判断した場合、CU制御部323は、無料のレートへの切替えであるか否かを判断する(ステップS524)。無料のレートへの切替えである(ステップS524でYES)と判断した場合、CU制御部323は、無料持玉が0であるか否かを判断する(ステップS525)。   If it is determined that the game operation is not being performed (NO in step S523), the CU control unit 323 determines whether or not switching to a free rate is performed (step S524). If it is determined that the rate is switched to a free rate (YES in step S524), the CU control unit 323 determines whether or not the free possession ball is 0 (step S525).

無料持玉が0である(ステップS525でYES)と判断した場合、CU制御部323は、無料持玉が無い旨を表示器54(または表示器312)に表示することで遊技者に報知する(ステップS526)。   When it is determined that the free possession ball is 0 (YES in step S525), the CU control unit 323 notifies the player that the free possession ball is not displayed on the display 54 (or the display 312). (Step S526).

次に、CU制御部323は、受付けたレートでの遊技が可能となるように切替設定をする(ステップS527)。レートの切替設定においては、CU制御部323は、記憶している現在のレートを示す情報を切替え後のレートを示すように変更する。ステップS528およびステップS529の処理は、それぞれ、前述したステップS517およびステップS518の処理と同様である。   Next, the CU control unit 323 performs switching setting so that a game at the accepted rate is possible (step S527). In the rate switching setting, the CU control unit 323 changes the stored information indicating the current rate to indicate the rate after switching. The processes in steps S528 and S529 are the same as the processes in steps S517 and S518 described above, respectively.

遊技理においては、レートに応じた遊技が行なわれるようにしてもよく、たとえば、無料のレートへ切替えられた場合は、無料でないレートでの入賞に対する賞球数と異ならせる(たとえば、5個を1個に減らす)ようにしてもよい。   In the game, a game according to the rate may be performed. For example, when the game is switched to a free rate, it is different from the number of prize balls for winning at a non-free rate (for example, 5 (You may reduce it to one).

また、無償遊技であることの報知においては、直接的に、無償遊技であることを報知するようにしてもよいし、無償遊技であることを示唆するように報知してもよい(たとえば、「お試し中です」と報知する)。   Further, in the notification of a free game, it may be notified directly that it is a free game, or may be notified to suggest that it is a free game (for example, “ I ’m trying it out ”).

レート切替操作を受付けていない(ステップS520でNO)と判断した場合、ステップS522の後、遊技動作中である(ステップS523でYES)と判断した場合、ステップS526の後、および、ステップS529の後、CU制御部323は、実行する処理をこのレート関連処理の呼出元の処理に戻す。   If it is determined that a rate switching operation has not been accepted (NO in step S520), after step S522, if it is determined that a game operation is being performed (YES in step S523), after step S526, and after step S529 The CU control unit 323 returns the process to be executed to the process of the caller of the rate related process.

図79は、変換処理の流れを示すフローチャートである。図79を参照して、変換処理は、CU3のCU制御部323によって、前述の図78のステップS515または後述の図80のステップS554で呼出されて実行される。   FIG. 79 is a flowchart showing the flow of conversion processing. Referring to FIG. 79, the conversion process is called and executed by CU control unit 323 of CU3 in step S515 in FIG. 78 described above or step S554 in FIG.

変換処理においては、まず、CU制御部323は、レートの変換元が無料のレート(本実施の形態においては、無料持玉)であるか否かを判断する(ステップS541)。変換元が無料のレートである(ステップS541でYES)と判断した場合、CU制御部323は、無料のレートからは変換できない旨を表示器54(または表示器312)に表示することで遊技者に報知する(ステップS542)。   In the conversion process, first, the CU control unit 323 determines whether or not the rate conversion source is a free rate (in this embodiment, a free coin) (step S541). If it is determined that the conversion source is a free rate (YES in step S541), the CU control unit 323 displays on the display unit 54 (or display unit 312) that the conversion is not possible from the free rate. (Step S542).

一方、変換元が無料のレートでない(ステップS541でNO)と判断した場合、CU制御部323は、変換元の価値が0であるか否かを判断する(ステップS543)。変換元の価値が0である(ステップS543でYES)と判断した場合、CU制御部323は、変換元の価値が0である旨を表示器54(または表示器312)に表示することで遊技者に報知する(ステップS544)。   On the other hand, when it is determined that the conversion source is not a free rate (NO in step S541), the CU control unit 323 determines whether the value of the conversion source is 0 (step S543). When it is determined that the value of the conversion source is 0 (YES in step S543), the CU control unit 323 displays the fact that the value of the conversion source is 0 on the display device 54 (or the display device 312). (Step S544).

一方、変換元の価値が0でない(ステップS543でNO)と判断した場合、CU制御部323は、変換先が無料のレート(本実施の形態においては、無料持玉)であるか否かを判断する(ステップS545)。変換先が無料のレートである(ステップS545でYES)と判断した場合、CU制御部323は、無料持玉へは変換できない旨を表示器54(または表示器312)に表示することで遊技者に報知する(ステップS546)。   On the other hand, when it is determined that the value of the conversion source is not 0 (NO in step S543), the CU control unit 323 determines whether or not the conversion destination is a free rate (in this embodiment, free possession balls). Judgment is made (step S545). When it is determined that the conversion destination is a free rate (YES in step S545), the CU control unit 323 displays on the display unit 54 (or the display unit 312) that it is not possible to convert to a free possession ball. (Step S546).

一方、変換先が無料のレートでない(ステップS545でNO)と判断した場合、CU制御部323は、変換元の持玉または貯玉を、変換先のレートに変換したものを、変換先の持玉または貯玉に加算する(ステップS547)。   On the other hand, when it is determined that the conversion destination is not a free rate (NO in step S545), the CU control unit 323 converts the conversion source possession ball or storage ball into the conversion destination rate, Or it adds to a stored ball (step S547).

たとえば、1玉4円の持玉が100玉あり、1玉1円の持玉が200玉ある場合に、1玉4円の持玉を1円の持玉に変換するレート変換操作が受付けられた場合、4円の持玉100玉を1円の持玉400玉に変換して、変換した400玉を元からある1玉1円の持玉200玉に加算して、1玉1円の持玉を600玉とする。   For example, if there are 100 balls with 4 yen per ball and 200 balls with 1 yen per ball, a rate conversion operation for converting a 4 yen ball into a 1 yen ball is accepted. In this case, 100 balls of 4 yen are converted to 400 balls of 1 yen, and the converted 400 balls are added to the original 200 balls of 1 yen of 1 ball. The holding ball is 600 balls.

ステップS542の後、ステップS544の後、ステップS546の後、および、ステップS547の後、CU制御部323は、実行する処理をこの変換処理の呼出元の処理に戻す。   After step S542, after step S544, after step S546, and after step S547, the CU control unit 323 returns the process to be executed to the caller process of this conversion process.

図80は、返却可否判定処理の流れを示すフローチャートである。図80を参照して、返却可否判定処理は、図14で説明した処理において、「カード返却」ボタン押下の直後に、CU3のCU制御部323によって呼出されて実行される。   FIG. 80 is a flowchart showing the flow of the return possibility determination process. Referring to FIG. 80, the return permission determination process is called and executed by CU control unit 323 of CU3 immediately after the “card return” button is pressed in the process described with reference to FIG.

返却可否判定処理においては、まず、CU制御部323は、会員カードの受付中であるか否かを判断する(ステップS551)。会員カードの受付中でない(ステップS551でNO)と判断した場合、CU制御部323は、各レートのいずれかの持玉および貯玉を合算した価値が500円相当以上であるか否かを判断する(ステップS552)。   In the return permission determination process, first, the CU control unit 323 determines whether or not a member card is being accepted (step S551). When it is determined that the membership card is not being accepted (NO in step S551), the CU control unit 323 determines whether or not the value obtained by summing up any possessed and stored balls at each rate is equivalent to 500 yen or more. (Step S552).

各レートのいずれかの価値も500円相当以上でない(ステップS552でNO)と判断した場合、各レートのいずれかの持玉および貯玉を合算した価値が500円相当未満であるか否かを判断する(ステップS553)。   If it is determined that any value of each rate is not equivalent to 500 yen or more (NO in step S552), it is determined whether or not the total value of any possessed and stored balls of each rate is less than 500 yen. (Step S553).

各レートのいずれかの価値が500円相当未満である(ステップS553でYES)と判断した場合、CU制御部323は、少ないレートの価値(持玉および貯玉)を、最も多い価値のレートに変換する変換処理を実行する(ステップS554)。変換処理は、図79で説明した。   When it is determined that any value of each rate is less than 500 yen (YES in step S553), the CU control unit 323 converts the value of the smaller rate (the holding ball and the stored ball) into the rate of the highest value. The conversion process is executed (step S554). The conversion process has been described with reference to FIG.

ステップS554の後、CU制御部323は、最も価値が多いレートの価値が500円相当未満であるか否かを判断する(ステップS555)。最も価値が多いレートの価値が500円相当未満である(ステップS555でYES)と判断した場合、CU制御部323は、遊技場の係員の呼出を促す旨を、表示器54(または表示器312)に表示することで遊技者に報知する(ステップS556)。   After step S554, the CU control unit 323 determines whether the value of the most valuable rate is less than 500 yen (step S555). If it is determined that the value of the most valuable rate is less than the equivalent of 500 yen (YES in step S555), the CU control unit 323 displays the display 54 (or the display 312) to urge the attendant of the game hall to be called. ) To notify the player (step S556).

そして、CU制御部323は、係員の所持するリモコンによる報知を解除する操作が行なわれたか否かを判断する(ステップS557)。操作が行なわれていない(ステップS557でNO)と判断した場合、CU制御部323は、ステップS557の処理を繰返す。   Then, the CU control unit 323 determines whether or not an operation for canceling the notification by the remote controller possessed by the attendant has been performed (step S557). If it is determined that no operation has been performed (NO in step S557), CU control unit 323 repeats the process in step S557.

会員カード受付中である(ステップS551でYES)と判断した場合、各レートのいずれかの価値が500円相当以上である(ステップS552でYES)と判断した場合、各レートのいずれの価値も500円相当未満でない(ステップS553でNO)と判断した場合、最も価値が多いレートの価値が500円相当未満でない(ステップS555でNO)と判断した場合、および、係員のリモコンによる報知を解除する操作が行なわれた(ステップS557でYES)と判断した場合、CU制御部323は、実行する処理をこの処理の呼出元の処理に戻す。   If it is determined that the membership card is being received (YES in step S551), if any value of each rate is equivalent to 500 yen or more (YES in step S552), any value of each rate is 500. When it is determined that the value is not less than yen (NO in step S553), the value of the most valuable rate is not less than 500 yen (NO in step S555), and an operation for canceling the notification by the clerk's remote control Is determined (YES in step S557), CU control unit 323 returns the process to be executed to the caller process of this process.

会員カードは遊技者専用のカードであるので廃棄されてしまうことは考え難いが、排出されたビジターカードが廃棄されたり破損されたりしてしまうことが考えられる。カードの単価は数百円(たとえば500円)であるので、廃棄されたり破損されたりしてしまうと遊技場の損害となってしまう。このため、上述のような返却可否判定処理を実行することによって、カードで特定可能な遊技用価値がカードの単価未満である可能性が高いカードの排出を制限する。その結果、遊技場の損害を回避することができる。   Since the membership card is a player-specific card, it is unlikely that it will be discarded, but it is possible that the discharged visitor card will be discarded or damaged. Since the unit price of the card is several hundred yen (for example, 500 yen), if it is discarded or damaged, it will be a damage to the game hall. For this reason, by executing the return permission determination process as described above, discharging of cards with a high possibility that the gaming value identifiable by the card is less than the unit price of the card is limited. As a result, it is possible to avoid damage to the game hall.

<変形例>
次に、以上説明した無償遊技および所定レートでの遊技の切替えの変形例について説明する。
<Modification>
Next, a modified example of the above-described free game and game switching at a predetermined rate will be described.

(1) 上述した実施の形態においては、無料持玉の数は、他のレートの価値(プリペイド残額、持玉、貯玉)とは分けて特定可能なように構成した。変形例においては、無料持玉の数は、いずれかのレートの価値に合算されて特定可能なように構成する。   (1) In the above-described embodiment, the number of free possessions is configured to be specified separately from the value of other rates (prepaid balance, possession balls, storage balls). In the modified example, the number of free possession balls is configured so as to be specified by being added to the value of any rate.

以下に具体的に説明する。図81は、変形例としての贈与処理の流れを示すフローチャートおよび遊技者所有の価値を管理するための記憶テーブルの説明図である。図81は、図77で説明した内容の変形例である。   This will be specifically described below. FIG. 81 is an explanatory diagram of a flowchart showing a flow of a gift process as a modified example and a storage table for managing the value of player possession. FIG. 81 is a modification of the content described in FIG.

図81(A)を参照して、贈与処理は、ホールサーバ801などの遊技場内のサーバのCPUによって実行される。   Referring to FIG. 81 (A), the gift process is executed by a CPU of a server in the game hall such as hall server 801.

変形例の贈与処理においては、まず、ホールサーバ801のCPUは、図77のステップS401と同様の処理を実行する。   In the gift process of the modified example, first, the CPU of the hall server 801 executes the same process as step S401 of FIG.

贈与条件が成立した(ステップS401でYES)と判断した場合、ホールサーバ801のCPUは、対象のカードIDに対応付けて、所定量(たとえば、100玉)の無料持玉を、無料でないレート(ここではレートA)の持玉数を記憶する記憶領域に記憶させる(ステップS402A)。このとき、無料持玉1玉を無料でないレートの玉1玉として記憶させるようにしてもよいし、無料持玉10玉を無料でないレートの玉1玉として記憶させるようにしてもよい。   When it is determined that the gift condition is satisfied (YES in step S401), the CPU of the hall server 801 associates a predetermined amount (for example, 100 balls) of free coins in association with the target card ID at a non-free rate (for example, Here, it is stored in the storage area for storing the number of possessed balls of rate A) (step S402A). At this time, you may make it memorize | store 1 ball of free possession balls as 1 ball of non-free rate, and may memorize 10 balls of free possession balls as 1 ball of non-free rate.

贈与条件が成立していない(ステップS401でNO)と判断した場合、および、ステップS402Aの後、ホールサーバ801のCPUは、実行する処理を呼出元の処理に戻す。   If it is determined that the gift condition is not satisfied (NO in step S401), and after step S402A, the CPU of the hall server 801 returns the process to be executed to the caller process.

図81(B)を参照して、ホールサーバ801の記憶部には、会員残高・持玉・貯玉テーブルで示されるような情報が記憶される。このテーブルで示されるように、会員の会員カードのカードIDと対応付けて、プリペイド残額ならびにレートごとの持玉数および貯玉数を記憶可能な記憶領域が設けられる一方、無料持玉の数は、レートAの持玉の数に合算されて記憶される。   Referring to FIG. 81 (B), the storage unit of hall server 801 stores information as shown by the member balance / money ball / storing ball table. As shown in this table, in association with the card ID of the member card of the member, a storage area capable of storing the prepaid balance, the number of balls and the number of balls for each rate is provided, while the number of free coins is It is added to the number of balls with rate A and stored.

また、図77(C)を参照して、ホールサーバ801の記憶部には、ビジター残高・持玉テーブルで示されるような情報が記憶される。このテーブルで示されるように、ビジターカードのカードIDと対応付けて、プリペイド残額ならびにレートごとの持玉数を記憶可能な記憶領域が設けられる一方、無料持玉の数は、レートAの持玉の数に合算されて記憶される。   Referring to FIG. 77 (C), the storage unit of hall server 801 stores information as shown in the visitor balance / holding ball table. As shown in this table, a storage area that can store the prepaid balance and the number of balls for each rate is provided in association with the card ID of the visitor card, while the number of free balls is the rate A It is added to the number and stored.

このような会員カードおよびビジターカードがCU3で受付けられることでCU3からホールサーバ801にカードIDが送信され、カードIDに対応するプリペイド残額、ならびに、レートごとの持玉数および貯玉数が、CU3に送信される。   When such a member card and visitor card are received by CU3, the card ID is transmitted from CU3 to the hall server 801, and the prepaid balance corresponding to the card ID, the number of balls held and the number of balls stored for each rate are stored in CU3. Sent.

このように、会員カードおよびビジターカードは、価値として、遊技者に無償で与えられない種類の価値(たとえば、プリペイド残額、持玉、貯玉)と、遊技者に無償で与えられる種類の価値(ここでは、無料持玉)とを合算した価値を特定可能である。後者は、無償遊技に使用可能な価値ともいえ、前者は、無償遊技でない通常遊技に使用可能な価値ともいえる。   In this way, membership cards and visitor cards have a value of a kind that is not given to the player free of charge (for example, a prepaid balance, a holding ball, a storage ball) and a kind of value that is given to the player free of charge (here Then, it is possible to specify the total value of “free possession balls”. The latter can be said to be a value that can be used for free games, and the former can be said to be a value that can be used for normal games that are not free games.

(2) 前述した実施の形態においては、遊技者に付与される無償遊技に用いることが可能な遊技用価値は、無料持玉であることとした。しかしこれに限定されず、遊技者に付与される無償遊技に用いることが可能な遊技用価値は、貯玉であってもよいし、プリペイド残額(カード残額)であってもよい。貯玉とする場合は、有効期間を短くする(たとえば、当日または翌日のみ)。また、プリペイド残額とする場合、精算して現金に交換することはできないようにする。   (2) In the embodiment described above, the game value that can be used for a free game given to a player is a free ball. However, the present invention is not limited to this, and the game value that can be used for a free game given to a player may be a stored value or a prepaid balance (card balance). If you want to save money, shorten the validity period (for example, the current day or the next day only). In addition, when the prepaid balance is used, it is not possible to settle it and exchange it for cash.

(3) 前述した実施の形態においては、図77(A)で説明したように、ホールサーバ801のCPUによって、遊技者に無償で与えられる価値(たとえば、無料持玉)の贈与条件が成立したと判断された場合に、当該価値が付与されるようにした。   (3) In the above-described embodiment, as described with reference to FIG. 77 (A), a condition for giving a value (for example, a free possession ball) that is given to the player free of charge is established by the CPU of the hall server 801. When it is judged, the value is added.

しかし、これに限定されず、遊技者に無償で与えられる価値は、遊技場の広告に2次元コードを掲示して、遊技者が当該2次元コードを携帯端末で読込むことで所定のサイト(たとえば、遊技場のサイト)にアクセスすることによって付与されるようにしてもよい。また、所定のサイトに直接アクセスして所定の条件を満たす(たとえば、ゲームをして所定条件をクリアする)ことで付与されるようにしてもよい。   However, the present invention is not limited to this, and the value given to the player free of charge is that a two-dimensional code is posted on an advertisement in a game hall, and the player reads the two-dimensional code with a portable terminal to obtain a predetermined site ( For example, it may be granted by accessing a game site. Alternatively, it may be granted by directly accessing a predetermined site and satisfying a predetermined condition (for example, playing a game and clearing the predetermined condition).

また、所定のサイトは、遊技場のサイトに限定されず、遊技者の遊技情報をスマートフォンやPCなど会員の端末および店舗のCU3に提供するサービスのサイトであってもよい。この場合、当該サービスを提供する会社から遊技場を経由して遊技者に無償で与えられる価値が付与されるようにする。   Further, the predetermined site is not limited to the game site, but may be a service site that provides the player's game information to a member terminal such as a smartphone or a PC and the CU 3 of the store. In this case, a value provided free of charge to the player via the game hall is given from the company providing the service.

また、無償で遊技者に価値を付与するか否かを、遊技場の外部の会社から設定できるようにしてもよい。この場合、無償遊技の対価は、遊技場の外部の会社から遊技場に支払われるようにする。   Further, it may be possible to set whether or not to give value to the player free of charge from a company outside the game hall. In this case, consideration for free games is paid to the game hall from a company outside the game hall.

(4) 前述した実施の形態においては、遊技者に無償で与えられる価値は、会員であるか否かに関わらず付与されるようにした。しかし、これに限定されず、会員のみに付与されるようにしてもよい。   (4) In the embodiment described above, the value given to the player free of charge is given regardless of whether or not he is a member. However, the present invention is not limited to this, and it may be granted only to members.

(5) 前述した実施の形態においては、図77で示したように、所定の贈与条件が成立すると、自動的に無償で与えられる価値が付与されるようにした。しかし、これに限定されず、遊技場の係員の操作によって無償で与えられる価値が付与されるようにしてもよい。   (5) In the above-described embodiment, as shown in FIG. 77, when a predetermined gift condition is satisfied, a value that is automatically given free of charge is given. However, the present invention is not limited to this, and a value given free of charge may be given by the operation of the attendant at the game hall.

(6) 遊技者に無償で与えられる価値が用いられて無償遊技が行なわれる場合に、遊技の方法や価値(プリペイド残額、持玉、貯玉)の遊技への用い方のガイダンスが表示されるようにしてもよい。これにより、無償遊技を初心者の遊技者の練習モードとして用いることができる。   (6) Guidance on how to use the game method and value (prepaid balance, holding balls, savings) in the game when the free game is played using the value given to the player free of charge It may be. Thereby, a free game can be used as a practice mode for a novice player.

(7) 前述した実施の形態においては、図78のステップS520からステップS527で示したように、遊技者による無償遊技への切替え操作が受付けられた場合に、無償遊技へ切替えるようにした。しかし、これに限定されず、受付けられたカードで無料持玉などの無償で遊技者に与えられる価値が有ることが特定される場合に、CU3のCU制御部323が自動的に無償遊技へ切替えるようにしてもよい。また、無償で与えられる価値が遊技者に与えられている場合に、遊技場の係員が無償遊技へ切替えるようにしてもよい。   (7) In the above-described embodiment, as shown in step S520 to step S527 in FIG. 78, when the switching operation to the free game by the player is accepted, the free game is switched. However, the present invention is not limited to this, and the CU control unit 323 of the CU3 automatically switches to the free game when it is specified that the received card has a value that can be given to the player free of charge such as free possession balls. You may do it. In addition, when the value given free of charge is given to the player, the staff in the game hall may be switched to the free game.

(8) 前述した実施の形態においては、図78のステップS521で示したように、無料持玉が残っている場合には、計数操作を経た後でないと、他のレートに切替えることができない。しかし、これに限定されず、無料持玉を放棄して、他のレートに切替えることができるようにしてもよい。   (8) In the above-described embodiment, as shown in step S521 of FIG. 78, when free possession balls remain, it is not possible to switch to another rate unless after a counting operation. However, the present invention is not limited to this, and it may be possible to abandon the free possession ball and switch to another rate.

(9) 無料持玉は、景品交換できないこととしてもよいし、景品交換できることとしてもよい。景品交換できる場合には、通常の持玉と比較して、価値の低いものに交換できるようにしてもよいし、無料配布されるようなものと交換できるようにしてもよいし、遊技機の携帯連動サイトで用いることができるポイントやコインなどと交換できるようにしてもよい。   (9) A free possession may be a gift that cannot be exchanged or a gift that can be exchanged. If the prize can be exchanged, it can be exchanged for a lower value compared to a regular holding ball, or it can be exchanged for something that is distributed free of charge. It may be possible to exchange points and coins that can be used on the mobile link site.

(10) 前述した実施の形態においては、遊技者に無償で与えられる価値は、どの遊技機でもどの機種でも使えることとした。また、別の遊技機に移動した場合であっても使えることとした。しかし、これに限定されず、特定の機種でのみ使えることとしてもよい。   (10) In the above-described embodiment, the value given to the player free of charge can be used for any game machine or any model. In addition, even when moving to another gaming machine, it can be used. However, the present invention is not limited to this, and may be used only on a specific model.

(11) 前述した実施の形態においては、どの遊技機においてもいずれのレートへも切替え可能であることとした。しかし、これに限定されず、機種ごとまたは遊技機ごとに、切替え可能なレートを制限するようにしてもよい。たとえば、新しく設置された遊技機では高レートのままレートの切替えは不可とし、以前から設置されている遊技機ではレートの切替えが可能なようにしてもよい。   (11) In the above-described embodiment, any game machine can be switched to any rate. However, the present invention is not limited to this, and the switchable rate may be limited for each model or each gaming machine. For example, a rate change may not be possible with a newly installed gaming machine at a high rate, and a rate change may be possible with a previously installed gaming machine.

(12) たとえば、遊技者に無償で与えられる価値を、所定時刻となったときに付与するようにしてもよい。この場合、ホールサーバ801に予め付与する所定時刻を設定しておき、所定時刻になったときに、CU3で受付けられているカードに対して価値を付与する。また、特定の機種の遊技機のみに付与するようにしてもよいし、特定の位置に設置されている遊技機(たとえば、特定の遊技機設置島に設置されている遊技機)のみに付与するようにしてもよい。また、特定の性別(たとえば、女性)の会員のみに付与するようにしてもよいし、会員のみに付与するようにしてもよい。また、来店ポイントを付与する装置で付与するようにしてもよい。また、遊技機で所定条件が成立した場合(たとえば、RTCの時刻が所定時刻となった場合)にCU3にその旨の信号を送信し、付与するようにしてもよい。   (12) For example, a value that is given to the player free of charge may be given when a predetermined time comes. In this case, a predetermined time to be given to the hall server 801 is set in advance, and a value is given to the card accepted by the CU 3 when the predetermined time comes. Further, it may be given only to a specific type of gaming machine, or only to a gaming machine installed at a specific position (for example, a gaming machine installed on a specific gaming machine installation island). You may do it. Moreover, you may make it give only to the member of a specific sex (for example, woman), and you may make it give only to a member. Moreover, you may make it provide with the apparatus which provides a store visit point. In addition, when a predetermined condition is satisfied in the gaming machine (for example, when the RTC time becomes a predetermined time), a signal indicating that may be transmitted to the CU 3 to give it.

(13) 前述した実施の形態においては、ビジターカードに対しても遊技者に無償で与えられる価値を付与するようにした。しかし、プリペイド残額および持玉数が0であっても、無償で与えられる価値がビジターカードに残っている場合は、ビジターカードをCU3の内部に回収することができない。このような場合に、遊技者に、無償で与えられる価値のみを特定可能なビジターカードを排出するか否かを問合せ、遊技者が不要である場合は、当該ビジターカードで特定される無償で与えられた価値を消去して、当該ビジターカードを内部に回収するようにしてもよい。   (13) In the above-described embodiment, a value that is given to the player free of charge is also given to the visitor card. However, even if the prepaid balance and the number of balls are 0, if the value given free of charge remains in the visitor card, the visitor card cannot be collected inside the CU3. In such a case, the player is inquired whether or not to eject a visitor card that can specify only the value that can be given free of charge. If the player is unnecessary, the player is given free of charge that is specified by the visitor card. You may make it erase | eliminate the given value and collect | recover the said visitor card | curd inside.

(14) 前述した実施の形態においては、ビジターカードに対しても遊技者に無償で与えられる価値を付与するようにした。しかし、これに限定されず、会員カードに対してのみ遊技者に無償で与えられる価値を付与するようにしてもよい。この場合に、遊技者に無償で与えられる価値を遊技者が会員になったことを条件に付与するようにすれば、新規会員の増加に寄与することができる。   (14) In the embodiment described above, a value that is given to the player free of charge is also given to the visitor card. However, the present invention is not limited to this, and only a member card may be given a value that is given to the player free of charge. In this case, it is possible to contribute to an increase in the number of new members by giving the value given to the players free of charge on condition that the players have become members.

(15) 前述した実施の形態においては、遊技者に無償で与えられる価値を持玉数で付与するようにした。しかし、これに限定されず、所定時間(たとえば3分)の遊技が可能となる価値として付与するようにしてもよい。   (15) In the above-described embodiment, the value that is given to the player free of charge is given by the number of balls. However, the present invention is not limited to this, and it may be given as a value that allows a game for a predetermined time (for example, 3 minutes).

(16) 前述した実施の形態においては、図78のステップS523で示したように、遊技動作中でない場合にレートを切替え可能であることとした。しかし、これに限定されず、遊技動作中であってもレートを切替え可能であることとしてもよい。また、遊技動作中である場合にレート切替操作は受付け可能として、レート切替操作が受付けられた場合は、遊技動作中でなくなってから、レートを切替えるようにしてもよい。   (16) In the above-described embodiment, as shown in step S523 of FIG. 78, the rate can be switched when the game operation is not being performed. However, the present invention is not limited to this, and the rate may be switched even during a game operation. Further, the rate switching operation may be accepted when the game operation is being performed, and the rate may be switched after the game operation is no longer being performed when the rate switching operation is accepted.

(17) 前述した実施の形態においては、図78のステップS521,ステップS522で示したように、レート切替操作が受付けられたときに遊技玉数が0でない場合は、計数操作を促すようにした。しかし、これに限定されず、レート切替操作が受付けられたときに遊技玉数が0でない場合は、CUおよび遊技機が、自動的に計数を行なって、計数終了後にレートを切替えるようにしてもよい。   (17) In the above-described embodiment, as shown in steps S521 and S522 of FIG. 78, when the number of game balls is not 0 when the rate switching operation is accepted, the counting operation is prompted. . However, the present invention is not limited to this, and if the number of game balls is not 0 when the rate switching operation is accepted, the CU and the gaming machine may automatically perform counting and switch the rate after the counting is completed. Good.

(18) 前述した実施の形態においては、CU3でレート切替操作が受付けられることとした。しかし、これに限定されず、遊技機でレート切替操作が受付けられることとしてもよい。   (18) In the above-described embodiment, the rate switching operation is accepted by the CU3. However, the present invention is not limited to this, and the rate switching operation may be accepted by the gaming machine.

(19) 前述した実施の形態においては、図78で示したように、レート切替操作が受付けられたときに遊技玉数が0でなければ、レートが切替えられないようにした。しかし、これに限定されず、レート切替操作が受付けられたときの遊技玉数のレートを変換してそのまま遊技に用いることができるようにしてもよい。たとえば、レート切替操作が受付けられたときに1玉4円のレートの遊技玉が100玉ある場合に、1玉1円のレートの遊技玉400玉に変換して、そのまま遊技を継続可能とする。   (19) In the above-described embodiment, as shown in FIG. 78, the rate is not switched unless the number of game balls is zero when the rate switching operation is accepted. However, the present invention is not limited to this, and the rate of the number of game balls when a rate switching operation is accepted may be converted and used as it is for a game. For example, if there are 100 game balls with a rate of 4 yen per ball when the rate switching operation is accepted, the game balls can be converted into 400 game balls with a rate of 1 yen per ball so that the game can be continued as it is. .

(20) 前述した実施の形態において、レート変換する場合に玉数が足りない場合にその旨を報知するようにしてもよい。たとえば、1玉1円のレートの玉が4玉未満の場合は、1玉4円のレートには変換できない旨を報知する。また、すべてのレートで一律に最低価値を設定しておくようにしてもよい。たとえば、1玉4円換算で25玉未満の場合はレート変換できない旨を報知するようにしてもよい。また、レートごとにレート変換可能な最低価値を設定できるようにしてもよい。   (20) In the above-described embodiment, when rate conversion is performed, if there are not enough balls, the fact may be notified. For example, if there are less than 4 balls at a rate of 1 yen per ball, a notification is given that it cannot be converted to a rate of 4 yen per ball. Alternatively, the lowest value may be set uniformly at all rates. For example, if less than 25 balls in terms of 4 yen per ball, it may be notified that the rate cannot be converted. Further, a minimum value that can be converted for each rate may be set.

(21) 前述した実施の形態においては、会員カードおよびビジターカードで、レートごとに遊技用価値を特定可能なようにした。しかし、これに限定されず、レートごとに遊技用価値を特定可能にせず、最低レートの遊技用価値として特定可能であることとしてもよい。   (21) In the above-described embodiment, it is possible to specify the game value for each rate with the membership card and the visitor card. However, the present invention is not limited to this, and the game value may not be specified for each rate but may be specified as the game value of the lowest rate.

(22) 前述した実施の形態においては、図78のステップS514およびステップS523で説明したように、遊技玉数が0になってから所定時間、経過しており、かつ、図柄変動中でなく、かつ、大当り状態などの特定遊技状態でなく、かつ、確変状態や時短状態などの特別遊技状態中でない場合に、CU制御部323は、遊技動作中でないと判断するようにした。そして、遊技動作中でない場合に、レートの変換処理やレートの切替を行なうようにした。   (22) In the above-described embodiment, as described in step S514 and step S523 in FIG. 78, a predetermined time has elapsed since the number of game balls became zero, and the symbols are not changing. In addition, the CU control unit 323 determines that the game operation is not being performed when the game state is not a specific game state such as a big hit state and is not in a special game state such as a probability change state or a short time state. Then, rate conversion processing and rate switching are performed when the game operation is not being performed.

しかし、これに限定されず、遊技動作中であるか否かの判断に、人感センサによって遊技機の前の椅子に人が座っているか否かの判断を加えるようにしてもよい。すなわち、人がいない場合には、遊技状態中ではないが、レート変換操作やレート切替操作を無効にするようにしてもよい。   However, the present invention is not limited to this, and it may be determined whether or not a person is sitting on a chair in front of the gaming machine by a human sensor when determining whether or not a game operation is being performed. That is, when there is no person, it is not in the gaming state, but the rate conversion operation and the rate switching operation may be invalidated.

また、遊技動作中であるか否かの判断に、ハンドルの操作量が0でないか否かの判断、または、ハンドルのタッチセンサで手の接触を検知しているか否かの判断を加えるようにしてもよい。すなわち、少なくともハンドルの操作量が0でなければ、遊技操作中でないと判断しないようにする。または、少なくともタッチセンサで手の接触を検知していれば、遊技操作中でないと判断しないようにする。   Further, in determining whether or not a game operation is being performed, a determination is made as to whether or not the amount of operation of the handle is not zero, or whether or not the touch of the handle is detected by a touch sensor of the handle. May be. In other words, at least if the operation amount of the handle is not 0, it is not determined that the game operation is not being performed. Alternatively, at least if a touch of the hand is detected by the touch sensor, it is determined that the game operation is not being performed.

<効果>
(A−1) 遊技機(たとえば、パチンコ機2、スロットマシン2S)と、前記遊技機で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)とを含む遊技用システムであって、
前記記録媒体は、価値として、遊技者に無償で与えられない第A一類価値(たとえば、プリペイド残額,持玉,貯玉。通常遊技に使用可能な価値。)と、遊技者に無償で与えられる第A二類価値(たとえば、遊技者に無料で与えられるプリペイド残額,持玉,貯玉。無償遊技に使用可能な価値。)とを特定可能であり(たとえば、図77参照)、
前記遊技用装置は、
前記第A一類価値および前記第A二類価値に含まれる価値のいずれを用いて遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)を備える。
<Effect>
(A-1) A gaming machine (for example, a pachinko machine 2, a slot machine 2S) and a recording medium (for example, a prepaid balance, a holding ball, a stored ball) that can specify a value for playing a game with the gaming machine (for example, A gaming device (for example, card unit 3) that accepts a membership card (visitor card) and enables a game using the value specified by the recording medium (for example, the number of game balls and the number of game points are added). A gaming system,
The recording medium has a value A of the first kind of value that is not given to the player free of charge (for example, a prepaid balance, a holding ball, a stored ball, a value that can be used for a normal game), and a first value that is given free of charge to the player. A type 2 value (for example, a prepaid balance, a free ball, a stored ball that is given to a player free of charge; a value that can be used for free game) can be specified (for example, see FIG. 77);
The gaming device is:
Setting means (for example, step S527 in FIG. 78) is set for setting which of the values included in the first-class A value and the value included in the second-class A value is allowed.

このような構成によれば、遊技用装置によって遊技者に無償で与えられる価値を用いて遊技を可能にすることができる。その結果、遊技者に無償で遊技をさせることが可能な遊技用システムを提供することができる。   According to such a configuration, it is possible to play a game using a value that is given to the player free of charge by the gaming device. As a result, it is possible to provide a gaming system that allows a player to play a game free of charge.

(A−2) 遊技機(たとえば、パチンコ機2、スロットマシン2S)で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)であって、
前記記録媒体は、価値として、遊技者に無償で与えられない第A一類価値(たとえば、プリペイド残額,持玉,貯玉。通常遊技に使用可能な価値。)と、遊技者に無償で与えられる第A二類価値(たとえば、遊技者に無料で与えられるプリペイド残額,持玉,貯玉。無償遊技に使用可能な価値。)とを特定可能であり(たとえば、図77参照)、
前記第A一類価値および前記第A二類価値に含まれる価値のいずれを用いて遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)を備える。
(A-2) Recording medium (for example, membership card, visitor card) that can specify the value (for example, prepaid balance, holding ball, storage ball) for playing with a gaming machine (for example, pachinko machine 2, slot machine 2S) ) And enabling a game using the value specified by the recording medium (for example, adding the number of game balls and game points) (for example, card unit 3),
The recording medium has a value A of the first kind of value that is not given to the player free of charge (for example, a prepaid balance, a holding ball, a stored ball, a value that can be used for a normal game), and a first value that is given free of charge to the player. A type 2 value (for example, a prepaid balance, a free ball, a stored ball that is given to a player free of charge; a value that can be used for free game) can be specified (for example, see FIG. 77);
Setting means (for example, step S527 in FIG. 78) is set for setting which of the values included in the first-class A value and the value included in the second-class A value is allowed.

このような構成によれば、遊技用装置によって遊技者に無償で与えられる価値を用いて遊技を可能にすることができる。その結果、遊技者に無償で遊技をさせることが可能な遊技用装置を提供することができる。   According to such a configuration, it is possible to play a game using a value that is given to the player free of charge by the gaming device. As a result, it is possible to provide a gaming device that allows a player to play a game free of charge.

(A−3) 上記(A−1)の遊技用システムまたは(A−2)の遊技用装置において、
前記第A二類価値は前記第A一類価値に変換不能とされる(たとえば、図79のステップS541,ステップS542)。
(A-3) In the gaming system of (A-1) or the gaming apparatus of (A-2),
The second type A value cannot be converted into the first type A value (for example, step S541 and step S542 in FIG. 79).

このような構成によれば、遊技者に無償で与えられる第A二類価値は、遊技者に無償で与えられない第A一類価値に変換不能とすることができる。その結果、遊技者に無償で遊技をさせることができるとともに、遊技場の負担を防止することができる。   According to such a configuration, it is possible to make it impossible to convert the second class A value given to the player free of charge into the first class A value that is not given to the player free of charge. As a result, it is possible to allow a player to play a game free of charge and to prevent a burden on the game arcade.

(A−4) 上記(A−1)の遊技用システムまたは(A−2)の遊技用装置において、
前記第A二類価値の少なくとも一部は前記第A一類価値に変換可能とされる(たとえば、図79のステップS541,ステップS542では、変換不能としたが、無料持玉で獲得した玉の少なくとも一部を通常の持玉に変換可能とするようにしてもよい。たとえば、10000玉を超えたら500円分の所定レートの価値に交換できるようにしてもよい。)。
(A-4) In the gaming system of (A-1) or the gaming apparatus of (A-2),
At least a part of the second type A value can be converted into the first type A value (for example, at step S541 and step S542 in FIG. 79, conversion is impossible, but at least balls acquired with free possession balls are not converted. A part of the ball may be converted into a regular holding ball, for example, if it exceeds 10,000 balls, it may be exchanged for a value of a predetermined rate of 500 yen).

このような構成によれば、遊技者に無償で与えられる第A二類価値の少なくとも一部が景品等に交換可能な第A一類価値に交換可能とすることができる。その結果、遊技者に無償で遊技をさせることができるとともに、さらに第A二類価値を第A一類価値に変換して遊技者に有効に利用させることができる。   According to such a configuration, it is possible to exchange at least a part of the type A type 2 value given free of charge to the player to the type A type 1 value that can be exchanged for a prize or the like. As a result, the player can play the game free of charge, and further, the second type A value can be converted into the first type A value and used effectively by the player.

(A−5) 上記(A−1)から(A−4)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第A二類価値との引換えでの遊技で獲得した価値、または、前記第A一類価値は、前記第A二類価値に変換不能とされる(たとえば、図79のステップS545,ステップS546)。
(A-5) In any one of the gaming system and gaming device of (A-1) to (A-4) above,
The value obtained in the game in exchange for the second type A value or the first type A value cannot be converted into the second type A value (for example, steps S545 and S546 in FIG. 79). .

このような構成によれば、遊技者に与えられた第A二類価値を増加させないようにすることができる。このため、第A二類価値での遊技を必要以上に行なわせないようにすることができる。その結果、遊技場の必要以上の負担を防止することができる。   According to such a configuration, it is possible to prevent an increase in the second type A value given to the player. For this reason, it is possible to prevent the game with the value of the second category A from being performed more than necessary. As a result, it is possible to prevent an unnecessary burden on the game arcade.

(A−6) 上記(A−1)から(A−5)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第A二類価値は、所定無効条件が成立(たとえば、日を跨ぐ、所定時間経過する、別の遊技機に移動するなど)したことを条件に無効とされる(たとえば、無料持玉は、通常の持玉と同様の扱いであるので、当日のみ有効とされる。)。
(A-6) In any one of the gaming system and gaming device according to (A-1) to (A-5) above,
The second type A value is invalidated on the condition that a predetermined invalid condition is established (for example, straddling a day, a predetermined time has elapsed, or moved to another gaming machine, etc.) Because it is treated in the same way as a regular holding ball, it is valid only on the day.)

このような構成によれば、所定無効条件が成立すると第A二類価値は無効とされる。このため、第A二類価値での遊技を必要以上に行なわせないようにすることができる。その結果、遊技場の必要以上の負担を防止することができる。   According to such a configuration, when the predetermined invalid condition is satisfied, the second type A value is invalidated. For this reason, it is possible to prevent the game with the value of the second category A from being performed more than necessary. As a result, it is possible to prevent an unnecessary burden on the game arcade.

(A−7) 上記(A−1)から(A−6)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第A二類価値は、前記第A一類価値と同様の態様で前記記録媒体で特定可能とされる(たとえば、図77参照。遊技者に無料で与えられるプリペイド残額,持玉,貯玉は、通常のプリペイド残額,持玉,貯玉がカードで特定可能とされる態様と同様の態様で特定可能とされる。会員カードの場合は、遊技者に無料で与えられる貯玉は、通常の貯玉と同様、カードIDに対応付けてホール用管理コンピュータに記憶される。会員カード,ビジターカードの遊技者に無料で与えられるプリペイド残額,持玉は、通常のプリペイド残額,持玉と同様に扱われる。)。
(A-7) In any one of the gaming system and gaming device according to (A-1) to (A-6) above,
The second type A value can be specified on the recording medium in the same manner as the first type A value (see, for example, FIG. 77. The prepaid balance, the free ball, and the stored amount given to the player for free are: It is possible to specify normal prepaid balance, holding balls, and saving balls in the same way that cards can be specified.In the case of a membership card, the savings given to the player for free is the same as normal savings. The prepaid balance and coins that are given free of charge to the player of the membership card and visitor card are handled in the same manner as the ordinary prepaid balance and coins. .

このような構成によれば、第A二類価値は、第A一類価値と同様の態様で遊技に用いることが可能となる(たとえば、第A二類価値が第A一類価値の持玉と同様の態様で特定可能とされる場合、第A一類価値と同様の再プレイ操作で第A二類価値を用いることができる。また、第A二類価値が第A一類価値のプリペイド残額と同様の態様で特定可能とされる場合、第A一類価値と同様の玉貸操作で第A二類価値を用いることができる。)。その結果、第A二類価値を遊技者が容易に用いることを可能とすることができる。   According to such a configuration, it is possible to use the A-type second-class value in the game in the same manner as the first-A first-class value (for example, the second-class A value is the same as the holding ball of the first-class A first-class value). If it is possible to specify in the form of A, the second type value can be used in the same replay operation as the first type A value, and the second type A value is the same as the prepaid balance of the first type A value. If it is possible to specify in the aspect, the second class value can be used in the ball lending operation similar to the first class value.) As a result, the player can easily use the second type A value.

(A−8) 上記(A−1)から(A−7)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第A二類価値が、前記遊技用装置で現金が受付けられたときの残高と同様の態様で前記記録媒体で特定可能とされる場合であっても、残高は精算不能とされる(たとえば、通常のプリペイド残額は精算可能であるが、遊技者に無償で与えられるプリペイド残額は精算不能とされる)。
(A-8) In any one of the gaming system and gaming device (A-1) to (A-7) above,
Even if the second type A value is specified by the recording medium in the same manner as the balance when cash is received by the gaming device, the balance cannot be settled (for example, The normal prepaid balance can be settled, but the prepaid balance given free of charge to the player is not settled).

このような構成によれば、無償で与えられた第A二類価値が残高と同様の態様で扱われる場合であっても精算不能とできる。このため、第A二類価値を遊技者に与えても、遊技者は第A二類価値をそのまま精算することができず、与える側の遊技場が損害を被ることがないので、第A二類価値を手軽に遊技者に与えることができる。その結果、手軽に与えることができる第A二類価値で、第A一類価値の残高の用い方を遊技者に慣れさせることができる。   According to such a structure, even if it is a case where the 2nd A type 2 value provided free of charge is handled in the same manner as the balance, it is possible to make payment impossible. For this reason, even if the second type A value is given to the player, the player cannot settle the second type A value as it is, and the game site on the side of giving does not suffer damage. Similar value can be easily given to players. As a result, it is possible to familiarize the player with how to use the balance of the first class A value with the second class A value that can be easily given.

(A−9) 上記(A−1)から(A−8)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記設定手段は、遊技が行なわれていないと判断される場合(たとえば、遊技玉数が0になって所定時間、経過しており、図柄変動中でなく、特定遊技状態や特別遊技状態中でない場合)に、設定の変更を可能とする(たとえば、図78のステップS523で遊技動作中でないと判断されることを条件としてステップS527でレート切替設定が行なわれる)。
(A-9) In any one of the gaming system and gaming device according to (A-1) to (A-8) above,
When it is determined that the game is not being performed (for example, the number of game balls has become zero and a predetermined time has elapsed, the symbol is not changing, and the game is not in a specific game state or a special game state. In the case, the setting can be changed (for example, the rate switching setting is performed in step S527 on the condition that it is determined that the game operation is not being performed in step S523 in FIG. 78).

このような構成によれば、第A一類価値または第A二類価値が用いられて遊技が行なわれているときには他方の価値への設定変更ができないようにされる。その結果、第A一類価値および第A二類価値が混ざってしまわないようにすることができる。   According to such a configuration, when a game is played using the first-class A value or the second-class A value, the setting value cannot be changed to the other value. As a result, it is possible to prevent the first type A value and the second type A value from being mixed.

(A−10) 上記(A−1)から(A−9)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第A二類価値を用いて遊技が行なわれている場合、または、前記第A二類価値と引換えでの遊技で遊技者にとって有利な特定遊技状態とするか否かの抽選の演出が行われている場合に、その旨を報知または示唆する報知手段をさらに備える(たとえば、図78のステップS517。遊技機側で報知してもよいし、遊技用装置で報知してもよい。)。
(A-10) In any one of the gaming system and the gaming apparatus of (A-1) to (A-9),
When a game is played using the second type A value, or a lottery effect is performed as to whether or not a specific game state advantageous to the player is obtained in exchange for the second type A value. In the case where the game is held, a notification means for notifying or suggesting that is further provided (for example, step S517 in FIG. 78. The notification may be made on the gaming machine side or the gaming device).

このような構成によれば、第A一類価値または第A二類価値のいずれが用いられて遊技が行なわれているかを遊技者に分からせることができる。   According to such a configuration, it is possible to let the player know which of the A-type 1 value or the A-type 2 value is used to play the game.

(A−11) 上記(A−1)から(A−10)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記遊技用装置は、さらに、
前記設定手段による設定を示す情報を前記遊技機に送信する遊技用装置側送信手段(たとえば、図78のステップS518。状態情報要求に第A一類価値であるか第A二類価値であるか否かが含められて送信されるようにしてもよい。)を備える。
(A-11) In any one of the gaming system and the gaming apparatus (A-1) to (A-10) above,
The gaming device further includes:
A gaming device side transmission means for transmitting information indicating the setting by the setting means to the gaming machine (for example, step S518 in FIG. 78. Whether the status information request is of the first class A value or the second class A value) May be included and transmitted).

このような構成によれば、第A一類価値または第A二類価値のいずれが用いられて遊技が行なわれるかに応じた対応を遊技機に実行させることができる(たとえば、第A一類価値および第A二類価値のいずれが用いられて遊技が行われているかを遊技機に表示させることができる)。   According to such a configuration, it is possible to cause the gaming machine to perform a response in accordance with whether the game is performed by using either the first A class value or the second A class value (for example, the first A class value and It is possible to display on the gaming machine which of the second category value is used to play the game).

(A−12) 上記(A−11)の遊技用システムまたは遊技用装置において、
前記遊技機は、
遊技の結果を前記遊技用装置に送信するときに、前記遊技用装置側送信手段から受信した設定を示す情報で示される設定を合わせて送信する遊技機側送信手段(たとえば、図12で計数の処理が行なわれるときに状態情報応答に第A一類価値であるか第A二類価値であるかが含められて送信されるようにする。)を備える。
(A-12) In the gaming system or gaming device of (A-11) above,
The gaming machine is
When the game result is transmitted to the gaming device, the gaming machine side transmitting unit (for example, the counting device shown in FIG. 12) counts the setting indicated by the information indicating the setting received from the gaming device side transmitting unit. When the processing is performed, the status information response includes whether it is the value of the first class A value or the second class A value.

このような構成によれば、遊技用装置で設定された遊技に用いられる価値と遊技機から受信した遊技に用いられている価値との一致を遊技用装置が判断することができる。その結果、両者が一致しないといった不正や異常を発見することができる。   According to such a configuration, the gaming device can determine whether the value used for the game set by the gaming device matches the value used for the game received from the gaming machine. As a result, it is possible to find fraud and abnormalities such that the two do not match.

(A−13) 遊技機(たとえば、パチンコ機2、スロットマシン2S)と、前記遊技機で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)とを含む遊技用システムであって、
前記記録媒体は、価値として、遊技者に無償で与えられない第A一類価値(たとえば、プリペイド残額,持玉,貯玉。通常遊技に使用可能な価値。)と、遊技者に無償で与えられる第A二類価値(たとえば、遊技者に無料で与えられるプリペイド残額,持玉,貯玉。無償遊技に使用可能な価値。)とを合算した価値を特定可能であり(たとえば、図81参照)、
前記遊技用装置は、
前記第A一類価値および前記第A二類価値(この第A二類価値は、カードに記録する態様以外の方法で付与される。)に含まれる価値のいずれを用いて遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)を備える。
(A-13) A gaming machine (for example, a pachinko machine 2, a slot machine 2S) and a recording medium (for example, a prepaid balance, a holding ball, a stored ball) that can specify a value for playing a game with the gaming machine (for example, A gaming device (for example, card unit 3) that accepts a membership card (visitor card) and enables a game using the value specified by the recording medium (for example, the number of game balls and the number of game points are added). A gaming system,
The recording medium has a value A of the first kind of value that is not given to the player free of charge (for example, a prepaid balance, a holding ball, a stored ball, a value that can be used for a normal game), and a first value that is given free of charge to the player. A total value (for example, prepaid balance, free balls, and savings that can be given to a player free of charge. Value that can be used for free games) can be specified (see, for example, FIG. 81).
The gaming device is:
Which of the values included in the first-class A value and the second-class A value (this second-class value is given by a method other than the mode of recording on the card) is used to enable the game Setting means (for example, step S527 in FIG. 78).

このような構成によれば、遊技用装置によって遊技者に無償で与えられる価値を用いて遊技を可能にすることができる。その結果、遊技者に無償で遊技をさせることが可能な遊技用システムを提供することができる。   According to such a configuration, it is possible to play a game using a value that is given to the player free of charge by the gaming device. As a result, it is possible to provide a gaming system that allows a player to play a game free of charge.

(A−14) 遊技機(たとえば、パチンコ機2、スロットマシン2S)で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)であって、
前記記録媒体は、価値として、遊技者に無償で与えられない第A一類価値(たとえば、プリペイド残額,持玉,貯玉。通常遊技に使用可能な価値。)と、遊技者に無償で与えられる第A二類価値(たとえば、遊技者に無料で与えられるプリペイド残額,持玉,貯玉。無償遊技に使用可能な価値。)とを合算した価値を特定可能であり(たとえば、図81参照)、
前記第A一類価値および前記第A二類価値(この第A二類価値は、カードに記録する態様以外の方法で付与される。)に含まれる価値のいずれを用いて遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)を備える。
(A-14) Recording medium (for example, membership card, visitor card) that can specify the value (for example, prepaid balance, holding ball, savings) for playing with a gaming machine (for example, pachinko machine 2, slot machine 2S) ) And enabling a game using the value specified by the recording medium (for example, adding the number of game balls and game points) (for example, card unit 3),
The recording medium has a value A of the first kind of value that is not given to the player free of charge (for example, a prepaid balance, a holding ball, a stored ball, a value that can be used for a normal game), and a first value that is given free of charge to the player. A total value (for example, prepaid balance, free balls, and savings that can be given to a player free of charge. Value that can be used for free games) can be specified (see, for example, FIG. 81).
Which of the values included in the first-class A value and the second-class A value (this second-class value is given by a method other than the mode of recording on the card) is used to enable the game Setting means (for example, step S527 in FIG. 78).

このような構成によれば、遊技用装置によって遊技者に無償で与えられる価値を用いて遊技を可能にすることができる。その結果、遊技者に無償で遊技をさせることが可能な遊技用装置を提供することができる。   According to such a configuration, it is possible to play a game using a value that is given to the player free of charge by the gaming device. As a result, it is possible to provide a gaming device that allows a player to play a game free of charge.

(A−15) 上記(A−1)から(A−14)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第A二類価値は、所定付与条件が成立したことを条件に遊技者に付与される(たとえば、図77のステップS402、図81のステップS402A)。
(A-15) In any one of the gaming system and gaming device according to (A-1) to (A-14) above,
The second type A value is given to the player on condition that a predetermined grant condition is satisfied (for example, step S402 in FIG. 77, step S402A in FIG. 81).

このような構成によれば、遊技者に無償で与えられる第A二類価値を用いた遊技を適宜、実施させることができる。   According to such a configuration, it is possible to appropriately execute a game using the second type A value given free of charge to the player.

(B−1) 遊技機(たとえば、パチンコ機2、スロットマシン2S)と、前記遊技機で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)とを含む遊技用システムであって、
前記記録媒体は、価値として、高レート(たとえば、パチンコ玉1玉4円のレート、コイン1枚20円のレート)での遊技を可能とする第B一類価値(たとえば、プリペイド残額,4パチの持玉,4パチの貯玉)と低レート(たとえば、パチンコ玉1玉4円未満のレート、コイン1枚20円未満のレート)での遊技を可能とする第B二類価値(たとえば、プリペイド残額,1パチの持玉,1パチの貯玉)とを特定可能であり(たとえば、図77参照)、
前記遊技用装置は、
前記高レートおよび前記低レートのいずれの遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)と、
前記設定手段による設定に応じて遊技で獲得した価値を前記第B一類価値および前記第B二類価値のいずれかに含まれる価値に加算する加算手段(たとえば、図12参照。図78のステップS516またはステップS527で設定されたレートを判定して、獲得した価値を判定されたレートの第一類価値または第二類価値に加算する。1パチ,4パチの両方で使用可能なプリペイド残額での遊技で獲得した価値を4パチの持玉に加算してもよいし、4パチの貯玉での遊技機獲得した価値を4パチの持玉に加算してもよい。)とを備える。
(B-1) A gaming machine (for example, a pachinko machine 2, a slot machine 2S) and a recording medium (for example, a prepaid balance, a holding ball, a stored ball) for specifying a value for playing a game with the gaming machine (for example, A gaming device (for example, card unit 3) that accepts a membership card (visitor card) and enables a game using the value specified by the recording medium (for example, the number of game balls and the number of game points are added). A gaming system,
The recording medium has a value of Type B (for example, a prepaid balance, 4 pachis) that enables a game at a high rate (for example, a rate of 4 yen per pachinko ball, a rate of 20 yen per coin). Type B value (for example, prepaid balance) that allows games to be played at a low rate (for example, a rate of less than 4 yen per pachinko ball, a rate of less than 20 yen per coin) , 1 pachi holding ball, 1 pachi storage ball) (for example, see FIG. 77),
The gaming device is:
Setting means (for example, step S527 in FIG. 78) for setting which of the high rate and the low rate is allowed;
Adding means for adding the value acquired in the game in accordance with the setting by the setting means to the value included in either the first type B value or the second type B value (see, for example, FIG. 12; step S516 in FIG. 78). Alternatively, the rate set in step S527 is determined, and the acquired value is added to the first-class value or the second-class value of the determined rate at the prepaid balance that can be used in both 1-patch and 4-patch. The value acquired by the game may be added to the 4-patch holding ball, or the value acquired by the gaming machine with the 4-patch storage ball may be added to the 4-patch holding ball.

このような構成によれば、遊技用装置によって複数のレートを流動的に設定して遊技を可能にすることができる。その結果、複数のレートに流動的に対応することが可能な遊技用システムを提供することができる。   According to such a configuration, it is possible to set a plurality of rates in a fluid manner by the gaming device and enable a game. As a result, it is possible to provide a gaming system capable of fluidly supporting a plurality of rates.

(B−2) 遊技機(たとえば、パチンコ機2、スロットマシン2S)で遊技をするための価値(たとえば、プリペイド残額、持玉、貯玉)を特定可能な記録媒体(たとえば、会員カード、ビジターカード)を受付けて前記記録媒体で特定される価値を用いて遊技を可能(たとえば、遊技玉数,遊技点数を加算)にする遊技用装置(たとえば、カードユニット3)であって、
前記記録媒体は、価値として、高レート(たとえば、パチンコ玉1玉4円のレート、コイン1枚20円のレート)での遊技を可能とする第B一類価値(たとえば、プリペイド残額,4パチの持玉,4パチの貯玉)と低レート(たとえば、パチンコ玉1玉4円未満のレート、コイン1枚20円未満のレート)での遊技を可能とする第B二類価値(たとえば、プリペイド残額,1パチの持玉,1パチの貯玉)とを特定可能であり(たとえば、図77参照)、
前記高レートおよび前記低レートのいずれの遊技を可能にするかを設定する設定手段(たとえば、図78のステップS527)と、
前記設定手段による設定に応じて遊技で獲得した価値を前記第B一類価値および前記第B二類価値のいずれかに含まれる価値に加算する加算手段(たとえば、図12参照。図78のステップS516またはステップS527で設定されたレートを判定して、獲得した価値を判定されたレートの第一類価値または第二類価値に加算する。1パチ,4パチの両方で使用可能なプリペイド残額での遊技で獲得した価値を4パチの持玉に加算してもよいし、4パチの貯玉での遊技機獲得した価値を4パチの持玉に加算してもよい。)とを備える。
(B-2) Recording medium (for example, membership card, visitor card) that can specify the value (for example, prepaid balance, holding ball, storage ball) for playing with a gaming machine (for example, pachinko machine 2, slot machine 2S) ) And enabling a game using the value specified by the recording medium (for example, adding the number of game balls and game points) (for example, card unit 3),
The recording medium has a value of Type B (for example, a prepaid balance, 4 pachis) that enables a game at a high rate (for example, a rate of 4 yen per pachinko ball, a rate of 20 yen per coin). Type B value (for example, prepaid balance) that allows games to be played at a low rate (for example, a rate of less than 4 yen per pachinko ball, a rate of less than 20 yen per coin) , 1 pachi holding ball, 1 pachi storage ball) (for example, see FIG. 77),
Setting means (for example, step S527 in FIG. 78) for setting which of the high rate and the low rate is allowed;
Adding means for adding the value acquired in the game in accordance with the setting by the setting means to the value included in either the first type B value or the second type B value (see, for example, FIG. 12; step S516 in FIG. 78). Alternatively, the rate set in step S527 is determined, and the acquired value is added to the first-class value or the second-class value of the determined rate at the prepaid balance that can be used in both 1-patch and 4-patch. The value acquired by the game may be added to the 4-patch holding ball, or the value acquired by the gaming machine with the 4-patch storage ball may be added to the 4-patch holding ball.

このような構成によれば、遊技用装置によって複数のレートを流動的に設定して遊技を可能にすることができる。その結果、複数のレートに流動的に対応することが可能な遊技用装置を提供することができる。   According to such a configuration, it is possible to set a plurality of rates in a fluid manner by the gaming device and enable a game. As a result, it is possible to provide a gaming apparatus capable of fluidly supporting a plurality of rates.

(B−3) 上記(B−1)の遊技用システムまたは(B−2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第B一類価値が第1閾値未満であるか、および、
前記記録媒体で特定される前記第B二類価値が第2閾値未満であるかを判定する判定手段(たとえば、図80のステップS553)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記第B一類価値が前記第1閾値未満であるか、前記第B二類価値が前記第2閾値未満であると判定された場合は、前記記録媒体の返却を制限する返却制限手段(たとえば、図80のステップS556,ステップS557で係員の操作がない限り返却不可とする。)とを備える。
(B-3) In the gaming system of (B-1) or the gaming apparatus of (B-2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
The first-class B value specified by the recording medium is less than a first threshold; and
Determination means (for example, step S553 in FIG. 80) for determining whether or not the second type B value specified by the recording medium is less than a second threshold;
When the return operation is accepted by the return operation accepting unit, the determination unit determines that the first type B value is less than the first threshold value or the second type B value is less than the second threshold value. If it is determined, return restriction means for restricting the return of the recording medium (for example, return is impossible unless an operator operates in step S556 and step S557 in FIG. 80).

このような構成によれば、記録媒体で特定される第B一類価値が第1閾値未満であるか第B二類価値が第2閾値未満である場合は、記録媒体の返却が制限される。その結果、閾値未満の第B一類価値または第B二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, when the first type B value specified by the recording medium is less than the first threshold value or the second type B value is less than the second threshold value, the return of the recording medium is restricted. As a result, it is possible to prevent the discharge of the recording medium that can specify the first type B value or the second type B value less than the threshold value.

(B−4) 上記(B−1)の遊技用システムまたは(B−2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第B一類価値が第1閾値未満であるか、および、
前記記録媒体で特定される前記第B二類価値が第2閾値未満であるかを判定する判定手段(たとえば、図80のステップS553)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記第B一類価値が前記第1閾値未満、および、前記第B二類価値が前記第2閾値未満のいずれかと判定された場合は、価値の少ない方を多い方に変換して合算する合算手段(たとえば、図80のステップS554、図79のステップS547)とを備え、
前記判定手段は、前記合算手段によって合算された価値が、前記第B一類価値であれば前記第1閾値未満であるかを判定し、前記第B二類価値であれば前記第2閾値未満であるかを判定し(たとえば、図80のステップS555)、
前記遊技用装置は、さらに、
前記判定手段によって前記合算された価値が前記第1閾値または前記第2閾値未満であると判定された場合は、前記記録媒体の返却を制限し、未満でないと判定された場合は、前記記録媒体を返却する返却手段(たとえば、図80のステップS556,ステップS557、図14の返却可否判定処理の後の処理)を備える。
(B-4) In the gaming system (B-1) or the gaming device (B-2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
The first-class B value specified by the recording medium is less than a first threshold; and
Determination means (for example, step S553 in FIG. 80) for determining whether or not the second type B value specified by the recording medium is less than a second threshold;
When the return operation is accepted by the return operation accepting unit, the determining unit determines that the B-type first class value is less than the first threshold value and the B-second class value is less than the second threshold value. In the case where it has been done, it is provided with summing means (for example, step S554 in FIG. 80, step S547 in FIG. 79) for converting the smaller value into the larger value and adding together,
The determination means determines whether the value added by the adding means is less than the first threshold if the value is the B-type first value, and less than the second threshold if the value is the second-type B value. It is determined (for example, step S555 in FIG. 80),
The gaming device further includes:
When it is determined that the combined value is less than the first threshold value or the second threshold value by the determination unit, the return of the recording medium is restricted, and when it is determined that the value is not less than the first threshold value, the recording medium Return means (for example, step S556 in FIG. 80, step S557, processing after the return permission determination processing in FIG. 14).

このような構成によれば、記録媒体で特定される第B一類価値と第B二類価値とを合算した価値が閾値未満である場合は、記録媒体の返却が制限される。その結果、閾値未満の第B一類価値または第B二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, when the value obtained by adding the first type B value and the second type B value specified on the recording medium is less than the threshold value, the return of the recording medium is restricted. As a result, it is possible to prevent the discharge of the recording medium that can specify the first type B value or the second type B value less than the threshold value.

(B−5) 上記(B−1)の遊技用システムまたは(B−2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第B一類価値が第1閾値以上であるか、および、
前記記録媒体で特定される前記第B二類価値が第2閾値以上であるかを判定する判定手段(たとえば、図80のステップS552)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記第B一類価値が前記第1閾値以上であるか、前記第B二類価値が前記第2閾値以上であると判定された場合は、前記記録媒体を返却する返却手段(たとえば、図14の返却可否判定処理の後の処理)とを備える。
(B-5) In the gaming system (B-1) or the gaming device (B-2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
Whether the value of the first type B specified on the recording medium is equal to or greater than a first threshold; and
Determination means (for example, step S552 in FIG. 80) for determining whether the second type B value specified by the recording medium is equal to or greater than a second threshold;
When the return operation is accepted by the return operation accepting unit, the B-type first class value is greater than or equal to the first threshold value or the B-second class value is greater than or equal to the second threshold value by the determining unit. If it is determined, a return means for returning the recording medium (for example, a process after the return permission determination process in FIG. 14) is provided.

このような構成によれば、記録媒体で特定される第B一類価値が第1閾値以上であるか第B二類価値が第2閾値以上である場合に、記録媒体が返却可能とされる。その結果、閾値未満の第B一類価値または第B二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, the recording medium can be returned when the first type B value specified by the recording medium is equal to or greater than the first threshold value or the second type B value is equal to or greater than the second threshold value. As a result, it is possible to prevent the discharge of the recording medium that can specify the first type B value or the second type B value less than the threshold value.

(B−6) 上記(B−1)の遊技用システムまたは(B−2)の遊技用装置において、
前記遊技用装置は、さらに、
前記記録媒体の返却操作を受付ける返却操作受付手段(たとえば、図14の「カード返却」ボタン押下)と、
前記記録媒体で特定される前記第B一類価値と前記第B二類価値との和が閾値未満であるかを判定する判定手段(たとえば、図80のステップS553においては各レートの持玉が500円相当未満であるかを判断するようにしたが、各レートの持玉を合算したものが500円相当未満であるかを判断するようにしてもよい。)と、
前記返却操作受付手段によって前記返却操作が受付けられたときに、前記判定手段によって前記和が前記閾値未満であると判定された場合は、前記記録媒体の返却を制限し、未満でないと判定された場合は、前記記録媒体を返却する返却手段(たとえば、図80のステップS556,ステップS557、図14の返却可否判定処理の後の処理)とを備える。
(B-6) In the gaming system (B-1) or the gaming apparatus (B-2),
The gaming device further includes:
Return operation accepting means for accepting the return operation of the recording medium (for example, pressing the “card return” button in FIG. 14);
Determining means for determining whether the sum of the B-type first class value and the B-second class value specified on the recording medium is less than a threshold value (for example, in step S553 of FIG. Although it is determined whether or not it is less than the yen equivalent, it may be determined whether or not the sum of the balls of each rate is less than 500 yen.)
When the return operation is accepted by the return operation accepting unit, if the sum is determined to be less than the threshold value by the determining unit, the return of the recording medium is restricted and determined not to be less In this case, there is a return means for returning the recording medium (for example, step S556 in FIG. 80, step S557, processing after the return permission determination processing in FIG. 14).

このような構成によれば、記録媒体で特定される第B一類価値と第B二類価値との和が閾値未満である場合は、記録媒体の返却が制限され、未満でない場合は、記録日値が返却可能とされる。その結果、閾値未満の第B一類価値または第B二類価値を特定可能な記録媒体の排出を防止することができる。   According to such a configuration, when the sum of the first type B value and the second type B value specified by the recording medium is less than the threshold value, the return of the recording medium is restricted. The value can be returned. As a result, it is possible to prevent the discharge of the recording medium that can specify the first type B value or the second type B value less than the threshold value.

(B−7) 上記(B−3)から(B−6)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記判定手段は、前記返却操作受付手段によって返却操作が受付けられたときに、前記第B一類価値および前記第B二類価値のいずれにも加算されていない価値があるときは、当該加算されていない価値を前記第B一類価値および前記第B二類価値のいずれかに加算したものに対して判定する(たとえば、図80のステップS553においては各レートの持玉が500円相当未満であるかを判断するようにしたが、各レートの持玉および未計数の遊技玉を合算したものが500円相当未満であるかを判断するようにしてもよい。)。
(B-7) In any one of the gaming system and gaming device of (B-3) to (B-6) above,
When the return operation is accepted by the return operation accepting unit, the determination unit is added when there is a value that is not added to either the B-type 1 value or the B-type 2 value. A value that is not added to either the first-class B value or the second-class B value (for example, in step S553 of FIG. However, it is also possible to determine whether the sum of the number of balls of each rate and the uncounted game balls is less than 500 yen.)

このような構成によれば、記録媒体で特定される第B一類価値および第B二類価値が閾値未満であるかを、記録媒体で未だ特定可能とされていない価値も加味して判定することができる。その結果、より有効な判定をすることができる。   According to such a configuration, it is determined whether the first type B value and the second type B value specified by the recording medium are less than the threshold value, taking into account the value that has not yet been specified by the recording medium. Can do. As a result, a more effective determination can be made.

(B−8) 上記(B−1)から(B−7)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記第B一類価値および前記第B二類価値は、互いに変換可能とされる(たとえば、図78のステップS511〜ステップS515、図79のステップS547)。
(B-8) In any one of the gaming system and gaming device of (B-1) to (B-7) above,
The first type B value and the second type B value can be converted to each other (for example, step S511 to step S515 in FIG. 78, step S547 in FIG. 79).

このような構成によれば、一方のレートの価値が無くなった場合に他方のレートの価値があれば、その他方のレートの価値を一方のレートの価値に変換することができる。その結果、遊技者の利便性を向上させることができる。   According to such a configuration, when the value of one rate is lost, the value of the other rate can be converted into the value of one rate if the value of the other rate is available. As a result, the convenience for the player can be improved.

(B−9) 上記(B−8)の遊技用システムまたは遊技用装置において、
前記第B一類価値および前記第B二類価値が互いに変換可能とされるのは、遊技が行なわれていないと判断される場合(たとえば、遊技玉数が0になって所定時間、経過しており、図柄変動中でなく、特定遊技状態や特別遊技状態中でない場合)である(たとえば、図78のステップS514で遊技動作中でないと判断されたときである)。
(B-9) In the gaming system or gaming device of (B-8) above,
The B type 1 value and the B type 2 value can be converted to each other when it is determined that a game is not being performed (for example, the number of game balls becomes 0 and a predetermined time has elapsed). In other words, the symbol is not changing and the game is not in the specific game state or the special game state (for example, when it is determined in step S514 in FIG. 78 that no game operation is being performed).

このような構成によれば、第B一類価値または第B二類価値が用いられて遊技が行なわれているときには他方の価値への変換ができないようにされる。その結果、第B一類価値および第B二類価値が混ざってしまわないようにすることができる。   According to such a configuration, when a game is played using the first B type value or the second B second type value, conversion to the other value is disabled. As a result, it is possible to prevent the first type B value and the second type B value from being mixed.

(B−10) 上記(B−1)から(B−9)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記設定手段は、遊技が行なわれていないと判断される場合(たとえば、遊技玉数が0になって所定時間、経過しており、図柄変動中でなく、特定遊技状態や特別遊技状態中でない場合)に、設定の変更を可能とする(たとえば、図78のステップS523で遊技動作中でないと判断されることを条件としてステップS527でレート切替設定が行なわれる)。
(B-10) In any one of the gaming system and gaming device (B-1) to (B-9) above,
When it is determined that the game is not being performed (for example, the number of game balls has become zero and a predetermined time has elapsed, the symbol is not changing, and the game is not in a specific game state or a special game state. In the case, the setting can be changed (for example, the rate switching setting is performed in step S527 on the condition that it is determined that the game operation is not being performed in step S523 in FIG. 78).

このような構成によれば、第B一類価値または第B二類価値が用いられて遊技が行なわれているときには他方の価値への設定変更ができないようにされる。その結果、第B一類価値および第B二類価値が混ざってしまわないようにすることができる。   According to such a configuration, when a game is performed using the first B type value or the second B type value, setting change to the other value is not allowed. As a result, it is possible to prevent the first type B value and the second type B value from being mixed.

(B−11) 上記(B−1)から(B−10)の遊技用システムおよび遊技用装置のいずれかにおいて、
遊技が行なわれていると判断される場合、または、遊技で遊技者にとって有利な特定遊技状態とするか否かの抽選の演出が行われている場合に、前記第B一類価値または前記第B二類価値のいずれを用いて遊技が行なわれているかを報知または示唆する報知手段をさらに備える(たとえば、図78のステップS517。遊技機側で報知してもよいし、遊技用装置で報知してもよい。)。
(B-11) In any one of the gaming system and gaming device of (B-1) to (B-10) above,
When it is determined that a game is being performed, or when a lottery effect indicating whether or not the game is in a specific gaming state that is advantageous to the player is being performed, It is further provided with an informing means for informing or suggesting which of the two kinds of values is used for the game (for example, step S517 in FIG. 78. The informing may be made on the gaming machine side or the informing device). May be.)

このような構成によれば、第B一類価値または第B二類価値のいずれが用いられて遊技が行なわれているかを遊技者に分からせることができる。   According to such a configuration, it is possible to let the player know which of the B-type 1 value or the B-type 2 value is used to play the game.

(B−12) 上記(B−1)から(B−11)の遊技用システムおよび遊技用装置のいずれかにおいて、
前記遊技用装置は、さらに、
前記設定手段による設定を示す情報を前記遊技機に送信する遊技用装置側送信手段(たとえば、図78のステップS518。状態情報要求に第B一類価値であるか第B二類価値であるか否かが含められて送信されるようにしてもよい。)を備える。
(B-12) In any one of the gaming system and gaming device of (B-1) to (B-11) above,
The gaming device further includes:
Gaming device side transmitting means for transmitting information indicating the setting by the setting means to the gaming machine (for example, step S518 in FIG. 78. Whether the status information request is the first class B value or the second class B value) May be included and transmitted).

このような構成によれば、第B一類価値または第B二類価値のいずれが用いられて遊技が行なわれるかに応じた対応を遊技機に実行させることができる(たとえば、第B一類価値および第B二類価値のいずれが用いられて遊技が行われているかを遊技機に表示させることができる)。   According to such a configuration, it is possible to cause the gaming machine to perform a response in accordance with whether the game is performed by using either the first-B class value or the second-B class value (for example, It is possible to display on the gaming machine which of the second category value is used to play the game).

(B−13) 上記(B−12)の遊技用システムまたは遊技用装置において、
前記遊技機は、
遊技の結果を前記遊技用装置に送信するときに、前記遊技用装置側送信手段から受信した設定を示す情報で示される設定を合わせて送信する遊技機側送信手段(たとえば、図12で計数の処理が行なわれるときに状態情報応答に第B一類価値であるか第B二類価値であるかが含められて送信されるようにする。)を備える。
(B-13) In the gaming system or gaming device of (B-12) above,
The gaming machine is
When the game result is transmitted to the gaming device, the gaming machine side transmitting unit (for example, the counting device shown in FIG. 12) counts the setting indicated by the information indicating the setting received from the gaming device side transmitting unit. When the process is performed, the status information response includes whether it is the first type B value or the second type B value and is transmitted.

このような構成によれば、遊技用装置で設定された遊技に用いられる価値と遊技機から受信した遊技に用いられている価値との一致を遊技用装置が判断することができる。その結果、両者が一致しないといった不正や異常を発見することができる。   According to such a configuration, the gaming device can determine whether the value used for the game set by the gaming device matches the value used for the game received from the gaming machine. As a result, it is possible to find fraud and abnormalities such that the two do not match.

<スロットマシン>
次に、遊技機の他の例としてスロットマシンを説明する。図82は、スロットマシンの前面扉を開放した状態を示す斜視図である。これまでの説明において、パチンコ機を“P台”と略称したこととの関係上、スロットマシンを以下では、“S台”とも略称する。
<Slot machine>
Next, a slot machine will be described as another example of the gaming machine. FIG. 82 is a perspective view showing a state in which the front door of the slot machine is opened. In the description so far, the slot machine is also abbreviated as “S” in the following, because the pachinko machine is abbreviated as “P”.

遊技玉および持玉を用いた上記の遊技用システムは、S台にも同様に適用される。ただし、S台では、玉を使わずにゲームが行なわれる関係上、以下では、遊技玉を遊技点(遊技玉数である遊技玉数を、遊技点の数である遊技点数)、持玉を持点と称する。   The above gaming system using game balls and holding balls is also applied to the S units. However, in the S game, the game is played without using balls, so in the following, the game balls are game points (the number of game balls is the number of game balls, the number of game points is the number of game points), This is called a holding point.

図82を参照して、スロットマシン2Sは、本体枠2aSに対して前面扉2bSがその左側縁を揺動中心として開閉可能に設けられている。図82では図示を省略しているが、スロットマシン2Sの図面左隣には、P台と同様にCUが接続される。   Referring to FIG. 82, in slot machine 2S, front door 2bS is provided so as to be openable and closable with respect to main body frame 2aS with the left side edge as a swing center. Although not shown in FIG. 82, a CU is connected to the left side of the slot machine 2S in the same manner as the P units.

スロットマシン2Sでは、遊技点を用いることによって賭数が設定され、入賞に応じてその遊技点が加算更新される。このため、スロットマシン2Sにおいて遊技をする際には、メダルの投入操作は不要である。ゆえに、スロットマシン2Sには、メダル投入口およびメダル払出口が設けられていない。   In the slot machine 2S, the number of bets is set by using game points, and the game points are added and updated in accordance with winning. For this reason, when playing a game in the slot machine 2S, a medal insertion operation is not necessary. Therefore, the slot machine 2S is not provided with a medal slot and a medal payout slot.

スロットマシン2Sの筐体内部には、外周に複数種の図柄が配列されたリール2L、2C、2R(以下、左リール、中リール、右リールともいう)が水平方向に並設されており、これらリール2L、2C、2Rに配列された図柄のうち連続する3つの図柄が前面扉2bSに設けられた透視窓から見えるように配置されている。リール2L、2C、2Rの外周部には、複数種類の図柄が所定の順序で描かれている。   Inside the casing of the slot machine 2S, reels 2L, 2C, and 2R (hereinafter also referred to as a left reel, a middle reel, and a right reel) in which a plurality of types of symbols are arranged on the outer periphery are juxtaposed in a horizontal direction. Of the symbols arranged on the reels 2L, 2C, and 2R, three consecutive symbols are arranged so that they can be seen from the see-through window provided on the front door 2bS. A plurality of types of symbols are drawn in a predetermined order on the outer peripheral portions of the reels 2L, 2C, and 2R.

前面扉2bSの各リール2L、2C、2Rを取り囲む部分には、タッチパネル式の表示器510が設けられている。この表示器510は、P台の表示器54に相当する表示器であり、表示器54と同種の各種情報(遊技点や持点など)が表示される他、ゲームにおいて設定された賭数などが表示される。表示器510は、図2の表示器54と同様にCUの表示制御部350に接続されており、CU側で表示制御される。なお、この表示器510は、各リール2L、2C、2Rを取り囲む部分に設けるのではなく、P台と同様にさらに下方のパネル部分(図82に示されるスタートスイッチ7Sよりも下方の位置の、従来のS台のメダル払出口が設けられたパネル部分)に設けてもよい。   A touch panel display 510 is provided in a portion surrounding each reel 2L, 2C, 2R of the front door 2bS. The display 510 is a display corresponding to the P displays 54, and displays various types of information (game points, points, etc.) of the same type as the display 54, as well as the number of bets set in the game. Is displayed. The display unit 510 is connected to the display control unit 350 of the CU in the same manner as the display unit 54 in FIG. 2 and is controlled on the CU side. The indicator 510 is not provided in a portion surrounding each of the reels 2L, 2C, 2R, but is provided at a lower panel portion (at a position lower than the start switch 7S shown in FIG. You may provide in the panel part provided with the conventional S medal payout opening.

また、前面扉2bSには、メダル1枚分に相当する「遊技点=1」を用いて賭数を設定する際に操作される1枚BETスイッチ5S、遊技状態に応じて定められた最大の賭数(たとえば、BB発生前の通常遊技状態およびリプレイの当選確率が高確率となるRT(Replay Time)においては「遊技点=3」、ボーナスにおいては「遊技点=2」)を設定する際に操作されるMAXBETスイッチ6S、ゲームを開始する際に操作されるスタートスイッチ7S、リール2L、2C、2Rの回転を各々停止する際に操作されるストップスイッチ8L、8C、8Rがそれぞれ設けられている。   Further, the front door 2bS has a single BET switch 5S that is operated when setting the number of bets using “game points = 1” corresponding to one medal, and the maximum determined according to the game state. When setting the number of bets (for example, “game point = 3” in the normal game state before BB occurrence and RT (Replay Time) where the winning probability of replay is high, “game point = 2” in the bonus) The MAXBET switch 6S is operated, the start switch 7S is operated when the game is started, and the stop switches 8L, 8C, 8R are respectively operated when the rotation of the reels 2L, 2C, 2R is stopped. Yes.

スロットマシン2Sにおいてゲームを行なう場合には、まず、P台と同様に、隣接されたCUを利用して遊技点を確保の上で、その遊技点を使用して賭数を設定する。遊技点は、CUに挿入されたプリペイドカードの残額、持点、あるいは遊技場に預け入れている貯メダル(P台の貯玉に相当)を引落とすことによって得られる。遊技点を使用するには1枚BETスイッチ5S、またはMAXBETスイッチ6Sを操作すればよい。本実施の形態では、たとえば、賭数を1設定することによって遊技点が1減点され、表示器510の遊技点の表示も減算更新される。賭数が設定されると、賭数および遊技状態に応じて定められた入賞ラインが有効となり、スタートスイッチ7Sの操作が有効な状態、すなわち、ゲームが開始可能な状態となる。   When playing a game in the slot machine 2S, first, as with the P machines, after securing a game point using the adjacent CU, the number of bets is set using the game point. The game points can be obtained by withdrawing the remaining amount of the prepaid card inserted into the CU, points, or a stored medal (corresponding to P stored balls) deposited in the game hall. In order to use the game points, the single BET switch 5S or the MAXBET switch 6S may be operated. In the present embodiment, for example, by setting the number of bets to 1, the game points are deducted by 1, and the display of the game points on the display 510 is also subtracted and updated. When the bet number is set, the pay line determined according to the bet number and the gaming state is valid, and the operation of the start switch 7S is valid, that is, the game can be started.

ゲームが開始可能な状態でスタートスイッチ7Sを操作すると、各リール2L、2C、2Rが回転し、各リール2L、2C、2Rの図柄が連続的に変動する。この状態でいずれかのストップスイッチ8L、8C、8Rを操作すると、対応するリール2L、2C、2Rの回転が停止し、透視窓に表示結果が導出表示される。   When the start switch 7S is operated while the game can be started, the reels 2L, 2C, and 2R rotate, and the symbols of the reels 2L, 2C, and 2R continuously change. When any one of the stop switches 8L, 8C, 8R is operated in this state, the rotation of the corresponding reels 2L, 2C, 2R is stopped, and the display result is derived and displayed on the fluoroscopic window.

そして全てのリール2L、2C、2Rが停止されることで1ゲームが終了し、有効化された入賞ライン上に予め定められた図柄の組合せ(以下、役とも呼ぶ)が各リール2L、2C、2Rの表示結果として停止した場合には入賞が発生し、その入賞に応じて定められた遊技点が遊技者に対して付与され、表示器510の遊技点の表示も加算更新される。   Then, when all the reels 2L, 2C, 2R are stopped, one game is completed, and a predetermined symbol combination (hereinafter also referred to as a role) on the activated pay line is displayed on each reel 2L, 2C, When the 2R display result is stopped, a prize is generated, a game point determined according to the prize is given to the player, and the display of the game point on the display 510 is also added and updated.

S台の場合にも、P台と同様に遊技点を計数することが可能である。図1に示すとおり、スロットマシン2Sには、遊技点を計数して持点に変換するための計数ボタン28Sが設けられている。なお、玉貸ボタン、カード返却ボタン、および再プレイボタンは、CU側に設けられている(図2参照)。遊技者は任意のタイミング、あるいは、P台と同様に計数操作を促す表示が表示器510に行なわれたことに基づいて、計数操作を実行する。すると、遊技点が計数されて遊技点が減少する一方で持点が増加する様子が表示器510に表示される。なお、玉貸ボタンは、CU側ではなくP台側およびS台側に設けてもよい。その場合に、玉貸ボタンの操作信号がCU3へ直接入力されるようにしてもよく、あるいは、P台2やS台(スロットマシン)2Sを経由して状態情報応答としてCU3へ送信されるようにしてもよい。   In the case of S units, it is possible to count game points as in the case of P units. As shown in FIG. 1, the slot machine 2S is provided with a counting button 28S for counting game points and converting them into points. The ball lending button, the card return button, and the replay button are provided on the CU side (see FIG. 2). The player executes the counting operation based on an arbitrary timing or a display for prompting the counting operation on the display unit 510 in the same manner as the P units. Then, the game points are counted and the display 510 displays a state in which the points are increased while the game points are decreased. The ball lending button may be provided not on the CU side but on the P platform side and the S platform side. In that case, the operation signal of the ball lending button may be directly input to the CU 3 or may be transmitted to the CU 3 as a status information response via the P unit 2 or the S unit (slot machine) 2S. It may be.

入賞となる役の種類は、遊技状態に応じて定められているが、大きく分けて、ビッグボーナス(BB)、レギュラーボーナス(RB)への移行を伴う特別役と、メダルの払い出しを伴う小役と、賭数の設定を必要とせずに次のゲームを開始可能となる再遊技役(リプレイ)とがある。   The types of winning combinations are determined according to the state of the game, but can be broadly divided into special roles with a shift to the big bonus (BB) and regular bonus (RB), and small roles with payout of medals. And a re-gamer (replay) that allows the next game to be started without the need to set the bet amount.

複数種類の入賞役のうちのいずれを当選させるか、あるいはいずれの入賞役も当選しない外れとするかは、たとえば、スタート操作が検出されたときに、スロットマシン2Sを制御する主制御部(S台の主制御部161に相当)によって決定される。この決定は、たとえば、所定の乱数発生器から発生され、あるいはソフトウエア上で生成される乱数を抽選することによって決定される。   Which of a plurality of types of winning combinations is to be won or whether any winning combination is to be excluded is determined by, for example, the main control unit (S) controlling the slot machine 2S when a start operation is detected. It corresponds to the main control unit 161 of the stand). This determination is made, for example, by drawing a random number generated from a predetermined random number generator or generated on software.

その後、主制御部は、遊技者によるリールの停止操作を待ち、停止操作時を基準にして、所定のコマ数範囲に当選役に対応する図柄があればそれを引き込み、なければ、他の図柄を引込む制御を行ない、3つの図柄を停止させ、入賞の有無を判定する。主制御基部は、入賞と判定した場合には、入賞の種類に応じた遊技点を遊技者に付与する(遊技点を加算する)。   After that, the main control unit waits for the reel stop operation by the player, draws in the symbol corresponding to the winning combination in the predetermined frame number range based on the stop operation time, otherwise draws another symbol Is controlled to stop the three symbols and determine whether or not there is a prize. If the main control base determines that a winning is made, the main control base gives the player game points according to the type of winning (adds game points).

すなわち、S台により、遊技用価値を用いて1ゲームに対して所定数の賭数を設定することによりゲームが開始可能となるとともに、各々が識別可能な複数種類の識別情報を変動表示可能な可変表示装置に表示結果が導出されることにより1ゲームが終了し、該可変表示装置に導出された表示結果に応じて入賞が発生可能とされたスロットマシンであって、前記可変表示装置に表示結果が導出される前に、複数種類の入賞について発生を許容するか否かを決定する事前決定手段と、前記事前決定手段の決定結果に応じて、前記可変表示装置に表示結果を導出させる制御を行なう導出制御手段と、前記入賞が発生した場合に遊技価値を付与する付与手段とを含むスロットマシンが構成されている。   In other words, the game can be started by setting a predetermined number of bets for one game using the gaming value by using the S units, and a plurality of types of identification information that can be identified can be displayed in a variable manner A slot machine in which one game is completed when a display result is derived to the variable display device, and a winning can be generated according to the display result derived to the variable display device, which is displayed on the variable display device Before the result is derived, a predetermining unit that determines whether or not to allow a plurality of types of winnings to be generated, and causing the variable display device to derive a display result according to the determination result of the predetermining unit A slot machine including derivation control means for performing control and giving means for giving a game value when the winning occurs is configured.

図83は、カードユニットおよびスロットマシンのそれぞれにおいて記憶している各種データおよびその送受信態様を説明するための説明図である。この図83は、P台の構成として説明した図6の用語をS台用に置き換えたものであり、その態様は、図6を用いて説明したものと同様であるので、ここでは、これ以上の説明を省略する。   FIG. 83 is an explanatory diagram for explaining various data stored in each of the card unit and the slot machine and the transmission / reception mode thereof. FIG. 83 is obtained by replacing the terminology of FIG. 6 described as the configuration of the P units with that for the S units, and the mode is the same as that described with reference to FIG. The description of is omitted.

<変形例や特徴点など>
次に、以上、説明した本実施の形態の変形例や特徴点などを列挙する。
<Modifications and feature points>
Next, modifications and feature points of the present embodiment described above are listed.

(1) SC−通信制御IC間断線検知機能
SC325bは、通信制御IC325aとの間でSPI(Serial Peripheral Interface)通信によりデータを送受信する。この場合、SC325bがマスタ側で通信制御IC325aがスレーブ側である。マスタ側のSC325bは、シフトクロックを発生することによってマスタ側のシフトレジスタとスレーブ側のシフトレジスタとを変位させ、データの送受信を行なう。SPI通信では、正常な場合は1バイト目と2バイト目は必ず反転している関係となっているが、両者の間で断線が発生しているとSC325bのデータ受信ラインは不安定(LowかHighのどちらか)な状態となる。このため、断線状態の場合は1バイト目と2バイト目とが反転する関係が成立しない。このことを利用して、SC325bは、受信データが一定時間内に変化しない場合には、断線と判定する。
(1) SC-communication control IC disconnection detection function The SC 325b transmits and receives data to and from the communication control IC 325a by SPI (Serial Peripheral Interface) communication. In this case, the SC 325b is the master side and the communication control IC 325a is the slave side. The SC 325b on the master side generates a shift clock to displace the shift register on the master side and the shift register on the slave side, and transmits / receives data. In normal SPI communication, the first byte and the second byte are always reversed when normal, but if a disconnection occurs between them, the SC325b data reception line is unstable (low or low). It will be in a high state. For this reason, in the case of a disconnection state, the relationship in which the first byte and the second byte are reversed does not hold. Using this, the SC 325b determines that the disconnection occurs when the received data does not change within a predetermined time.

(2) 本実施の形態では、加算通番と計数通番とはそれぞれ別のデータとして電文フォーマットに規定されているが、これらを要求通番として共通化してもよい。特に、遊技玉の加算と遊技玉の計数とは逆の処理であるため、両処理が同時に発生することは考えにくく、その観点からも両通番を共通化して電文データ量を削減することは可能である。   (2) In the present embodiment, the addition sequence number and the counting sequence number are defined in the message format as different data, but these may be shared as a request sequence number. In particular, the addition of game balls and the counting of game balls are the opposite processes, so it is unlikely that both processes will occur at the same time. From this point of view, it is possible to reduce the amount of message data by sharing both serial numbers. It is.

また、本実施の形態では、要求通番は、予め定めた上限値に達するまで、新たな要求が発生した場合には、先に更新済みの値を元にして通番更新が行なわれる。しかながら、このような制御に代えて、1つの要求に対応する処理がすべて終了した場合には、要求通番を予め定めた初期値に初期化するようにしてもよい。たとえば、図12の例の場合には、計数完了を示す最後の状態情報応答に含める計数通番をm+6ではなく、予め定めた初期値にすることが考えられる。   Further, in the present embodiment, when a new request is generated until the request sequence number reaches a predetermined upper limit value, the sequence number is updated based on the previously updated value. However, instead of such control, when all the processes corresponding to one request are completed, the request sequence number may be initialized to a predetermined initial value. For example, in the example of FIG. 12, it is conceivable that the counting sequence number included in the last status information response indicating completion of counting is set to a predetermined initial value instead of m + 6.

また、加算通番や計数通番といった要求通番、さらには通常の通番は、1ずつカウントアップされるのではなく、P台2およびCU3の双方が記憶している所定の規則に従って更新(加算更新、減算更新、その他の演算式による更新)するものであってもよい。この場合、通番は、1,2,3といった“連続する番号”ではなく、A、B、Cなどといった概念で更新されるデータとなる。   Request sequence numbers such as addition sequence numbers and count sequence numbers, and normal sequence numbers are not counted up one by one, but are updated (additional update, subtraction) according to a predetermined rule stored in both P unit 2 and CU3. Update, update by other arithmetic expressions). In this case, the serial number is not “sequential numbers” such as 1, 2, and 3, but data that is updated based on concepts such as A, B, and C.

(3) 上記遊技用システムに遊技機の一例となるスロットマシン(S台)を適用した場合、たとえば、リールおよびリールに付属する各種センサ部分とリールを制御する主制御基板とがP台の遊技盤に対応し、それ以外の構成がP台の遊技枠に対応する。ただし、S台には、図2に示した遊技枠の各種検出スイッチ41a、701、33、発射制御基板31、および発射モータ18は、不要である。   (3) When a slot machine (S units), which is an example of a gaming machine, is applied to the gaming system, for example, a game in which there are P reels and various sensor parts attached to the reels and a main control board that controls the reels. Corresponding to the board, other configurations correspond to P game frames. However, the S units do not require the various detection switches 41a, 701, 33, the launch control board 31, and the launch motor 18 of the game frame shown in FIG.

従来のS台にはクレジット機能が設けられており、これが有効になっているときには、賭数を設定するとクレジットが減算され、入賞が発生するとクレジットが加算される。ただし、クレジットには上限が定められており、クレジット数が上限値に達している状態で入賞が発生すると、ホッパーからメダルが払い出される。   A conventional S unit is provided with a credit function. When this function is enabled, the credit is subtracted when the number of bets is set, and the credit is added when a winning occurs. However, there is an upper limit for credits, and when a winning occurs when the number of credits reaches the upper limit value, medals are paid out from the hopper.

一方、本実施の形態に係るS台では、賭数を設定すると遊技点が減算され、入賞が発生すると遊技点が加算される。また、遊技点が所定数に達すると、計数操作を促す表示がなされ、計数操作をすることによって、遊技点が持点に変換される。このため、従来のS台のようにクレジットが上限に達してメダルを払い出す必要がない。その結果、本実施の形態に係るS台にはホッパーを設ける必要がない。   On the other hand, in the S units according to the present embodiment, game points are subtracted when the bet number is set, and game points are added when a winning occurs. Further, when the game points reach a predetermined number, a display for prompting a counting operation is made, and the gaming points are converted into points by performing the counting operation. For this reason, it is not necessary to pay out medals when the credit reaches the upper limit unlike the conventional S units. As a result, it is not necessary to provide a hopper on the S platform according to the present embodiment.

その結果、遊技場は、大量のメダルを確保する必要がなく、経済的負担が軽減される。また、遊技場は、メダルの補充・回収といった業務やメダル詰まりなどに対応するためのメンテナンス業務からも解放される。遊技客は、クレジットが満タンになった後で賭け操作毎にメダルを投入する煩わしさから解放され、遊技に集中しやすくなる。   As a result, the amusement hall does not need to secure a large number of medals, reducing the economic burden. The game arcade is also freed from operations such as replenishment / collection of medals and maintenance operations to deal with clogged medals. The player is relieved from the hassle of inserting medals for each betting operation after the credit is full, and can easily concentrate on the game.

他方、S台がメダルレスになった場合には、大量のメダルを獲得した遊技者が席の脇にメダルが入った箱を積み上げて自身の腕を誇示するような行為をすることができなくなるという不都合が生じる。しかしながら、本実施の形態では、上記のとおりドル箱表示する機能が設けられているため、このような不都合が生じることも防止できる。なお、S台の場合のドル箱表示は、多数の玉に代えて多数のメダルが積載されているようにするのが望ましい。   On the other hand, if S units become medalless, a player who has won a large number of medals will not be able to act to show off his arms by stacking boxes with medals beside the seat. Inconvenience arises. However, in this embodiment, since the function of displaying the dollar box is provided as described above, it is possible to prevent such inconvenience. In addition, it is desirable for the dollar box display in the case of S units to have a large number of medals loaded instead of a large number of balls.

遊技機としてS台を適用した場合、「持点」および「遊技点」の2種類と、「クレジット」および「クレジット超過点」の2種類のデータとを用いて、以下のように各データが変換されるような遊技用システムを構成することも可能である。なお、S台の表示器510あるいは表示器29Sには、これら4種類のデータを表示する。   When S machines are applied as a gaming machine, each type of data is expressed as follows using two types of data, “Points” and “Game Points”, and “Credit” and “Credit Excess Points”. It is also possible to configure a gaming system that is converted. Note that these four types of data are displayed on the S displays 510 or 29S.

まず、プリペイドカードの残額、貯メダル、または持点からの変換操作(貸出操作、貯メダル払出し操作、持点払出し操作)が検出された場合には、夫々が引き落とされて、遊技点に変換される。   First, when a conversion operation (lending operation, saving medal payout operation, point payout operation) from the remaining amount of a prepaid card, a saving medal, or a point is detected, each is withdrawn and converted into a game point. The

遊技点は、従来のスロットマシンにおけるメダルに対応するデータである。このため、たとえば、表示器510あるいは表示器29Sには遊技点の点数を表示するとともに、遊技点相当の数のメダル画像を表示することが望ましい。たとえば、このメダル画像に遊技者が触れてスロットマシンに投入するような擬似投入メダル操作(たとえば、メダルを押し込むような操作)が検出されると、メダル画像が消え、遊技点が減算されて、代わりに賭数が1つ設定される。このような擬似メダル投入操作が3度行なわれることによって、賭数が最大値の3に設定される。   A game point is data corresponding to a medal in a conventional slot machine. For this reason, for example, it is desirable to display the number of game points on the display 510 or the display 29S, and to display the number of medal images corresponding to the game points. For example, when a pseudo-insertion medal operation (for example, an operation of pushing a medal) such that a player touches the medal image and inserts it into the slot machine is detected, the medal image disappears and the game points are subtracted. Instead, one bet is set. By performing such a pseudo medal insertion operation three times, the bet number is set to the maximum value of three.

その後、さらに擬似メダル投入操作が検出されると、その検出に応じて、クレジットが加算される。クレジットには上限値(たとえば、50)が設定されており、クレジットが上限値を超えたときには、クレジット超過点が加算される。   Thereafter, when a pseudo medal insertion operation is further detected, a credit is added in accordance with the detection. An upper limit value (for example, 50) is set for the credit, and when the credit exceeds the upper limit value, a credit excess point is added.

賭数設定は、遊技点を用いて上記のように行なうことが可能である他、クレジットを用いて行なうことも可能である。すなわち、1枚BETスイッチ5Sの操作があれば、賭数設定値が1加算され、クレジットが1減算される。また、MAXBETスイッチ6Sの操作があれば、賭数が3に設定され、クレジットが賭数設定に応じて減算される。   The betting amount setting can be performed using the game points as described above, and can also be performed using credits. That is, if the one-sheet BET switch 5S is operated, 1 is added to the betting number setting value and 1 is subtracted from the credit. If the MAXBET switch 6S is operated, the bet number is set to 3, and the credit is subtracted according to the bet number setting.

ゲームの結果、入賞が発生すると、入賞に応じた数の得点がクレジットに加算される。なお、クレジットの上限値をオーバーする入賞が発生したときには、そのオーバー分の点数がクレジット超過点として記憶される。このクレジット超過点は、従来のスロットマシンにおける、クレジットの上限を超えて入賞が発生したときに払い出されるメダルに相当する。このため、たとえば、表示器510あるいは表示器29Sにはクレジット超過点を表示するとともに、クレジット超過点相当の数のメダル画像を表示することが望ましい。また、このメダル画像は、遊技点に対応するメダル画像と区別できるように色を変えるなどすることが望ましい。   As a result of the game, when a winning occurs, a number of points corresponding to the winning is added to the credit. When a winning that exceeds the upper limit of credit occurs, the score for the excess is stored as a credit excess point. This credit excess point corresponds to a medal to be paid out when a winning occurs exceeding the upper limit of credit in the conventional slot machine. For this reason, for example, it is desirable to display the credit excess points on the display 510 or the display 29S and to display the number of medal images corresponding to the credit excess points. Further, it is desirable to change the color of this medal image so that it can be distinguished from the medal image corresponding to the game point.

また、クレジット超過点は、遊技者の操作によって遊技点に変換されるようにすることが望ましい。たとえば、クレジット超過点に対応するメダル画像に遊技者が触れて遊技点に変換するような擬似メダル変換操作(たとえば、メダルを押し込むような操作)が検出されると、メダル画像が消え、クレジット超過点が減算されて遊技点が加算されるものとする。   Further, it is desirable that the credit excess points be converted into game points by the player's operation. For example, when a pseudo medal conversion operation (for example, an operation of pushing a medal) is performed such that a player touches a medal image corresponding to a credit excess point to convert it to a game point, the medal image disappears and a credit excess Points are subtracted and game points are added.

あるいは、クレジットが上限値未満になれば、自動的にクレジット超過点がクレジットに変換されるようにしてもよい。   Alternatively, if the credit becomes less than the upper limit value, the credit excess point may be automatically converted into credit.

遊技者が計数操作を実行すると、遊技点、クレジット、およびクレジット超過点の各々が計数されて持点に変換される。その結果、遊技者の持点は、「カード持玉数+遊技点+クレジット+クレジット超過点」と掲載される。なお、“カード持玉数”とは、遊技点に変換していない変換前の持点(現時点で遊技者が所有している持玉数)である。   When the player performs a counting operation, each of the game points, credits, and credit excess points is counted and converted into points. As a result, the player's points are posted as “card possession number + game points + credits + credit excess points”. The “card possession number” is the number of points before conversion (the number of possessions currently owned by the player) that has not been converted into game points.

以上の説明において、持点、遊技点、クレジット、およびクレジット超過点の4種類のデータは、CUとS台とでデータのやりとりをすることによって双方で記憶してもよく、あるいは、持点はCU側のみで、それ以外はS台側のみで記憶してもよい。また、クレジット超過点をドル箱表示の対象としてもよい。   In the above description, the four types of data of points, game points, credits, and credit excess points may be stored on both sides by exchanging data between the CU and S units. You may memorize | store only in the S stand side only by CU side. Further, the credit excess point may be a target for dollar box display.

また、以上の説明では、クレジット超過点を用いる例を説明したが、クレジット超過点を用いなくてもよい。この場合、クレジットの上限を超えるような場合には、遊技点に加算するようにしてもよい。   Moreover, although the example using a credit excess point was demonstrated in the above description, it is not necessary to use a credit excess point. In this case, when the credit limit is exceeded, it may be added to the game points.

(4) 本実施の形態では、カード度数を消費することによって、遊技点が加算される。あるいは、貯玉(貯メダル)を消費することによって、遊技点が加算される。つまり、カード度数あるいは貯玉から遊技点に変換される。一方、カード度数および貯玉から持点(計数玉、計数メダル)には変換されない。しかしながら、カード度数および貯玉から一旦、持点に変換されるようにしてもよい。   (4) In the present embodiment, game points are added by consuming the card count. Alternatively, game points are added by consuming stored balls (stored medals). That is, the card frequency or the stored ball is converted into game points. On the other hand, the card power and the stored balls are not converted into points (count balls, count medals). However, the card power and the stored ball may be once converted into points.

(5) 本実施の形態では、計数操作によって、遊技点が持点に変換される。この場合の変換率は1:1である。しかしながら、変換される場合の変換率を1:1以外としてもよい。たとえば、遊技点100点を変換した場合、そのうちの3点を差し引いた97点が持点に変換されるようにしてもよい。または、持点に対して10割未満の所定割合を乗じて得られた数の遊技玉に変換されるようにしてもよい。   (5) In the present embodiment, game points are converted into points by counting operation. The conversion rate in this case is 1: 1. However, the conversion rate in the case of conversion may be other than 1: 1. For example, when 100 game points are converted, 97 points obtained by subtracting three of them may be converted into points. Or you may make it convert into the number of game balls obtained by multiplying a predetermined ratio of less than 100% with respect to a point.

(6) 持点を特定可能に記録するための記録媒体は、スマートフォンなどの携帯端末を利用したものとしてもよい。この場合、CUに携帯端末と通信するための通信部を設けて、携帯端末を通信部にかざすことによって、携帯端末内に記憶されているIDをCUが認識し、後は本実施の形態に記載したような手順で遊技を可能とする。一方、遊技終了時には、再度、携帯端末を通信部にかざすことによって、遊技終了時の持点がIDを通じて遊技者の持点に加算されるようにする。   (6) The recording medium for recording the holding point in an identifiable manner may use a mobile terminal such as a smartphone. In this case, the communication unit for communicating with the mobile terminal is provided in the CU, and the CU recognizes the ID stored in the mobile terminal by holding the mobile terminal over the communication unit. The game is made possible by the procedure as described. On the other hand, at the end of the game, the portable terminal is again held over the communication unit, so that the score at the end of the game is added to the player's score through the ID.

(7) 遊技点を計数するための操作手段は、CU側に設けてもよい。その場合の操作手段は、タッチパネルに表示されるものとしてもよく、物理的なスイッチで構成してもよい。   (7) The operation means for counting game points may be provided on the CU side. In this case, the operation means may be displayed on a touch panel, or may be constituted by a physical switch.

(8) 図12を参照して、P台は、計数された計数玉(持玉)を一時記憶する計数玉数カウンタを備えているものの、計数玉の累積値を記憶するカウンタを備えていない。しかしながら、P台側に、計数玉の累積値を記憶する計数玉累積記憶カウンタを備えてもよい。また、CU側には、カード持玉(計数玉)を記憶する領域が備えられているが、この領域には、挿入されたカード自体に持玉が記録されていた場合には、そのカード持玉も含めて現在の遊技者の持玉数が記憶される。このため、この領域のみでは、今回の遊技で遊技者が計数した計数玉の数を特定できない。そこで、今回の遊技で遊技者が計数した計数玉の数を記憶する領域をCU側にさらに設けてもよい。CUは、この場合、遊技が開始してからP台から送られてくる計数玉数の情報に基づいて当該領域に持玉を加算し、持玉が遊技玉に変換されると、当該領域から持玉を減算する。   (8) Referring to FIG. 12, the P platform is provided with a counting ball number counter that temporarily stores the counted counting balls (held balls), but does not include a counter that stores the cumulative value of the counting balls. . However, a counting ball cumulative storage counter that stores the cumulative value of counting balls may be provided on the P platform side. In addition, the CU side is provided with an area for storing card holding balls (counting balls). If a holding ball is recorded on the inserted card itself, this area holds the card holding ball. The current number of players' balls, including balls, is stored. For this reason, only in this area, the number of counting balls counted by the player in the current game cannot be specified. Therefore, an area for storing the number of counting balls counted by the player in this game may be further provided on the CU side. In this case, the CU adds balls to the area based on the information on the number of balls that are sent from the P cars after the game starts, and when the balls are converted into game balls, Subtract the holding ball.

(9) 遊技玉(遊技点)を計数して持点変換する際には、計数表示のみならず、計数音をスピーカから出力する制御をしてもよい。また、遊技点の計数の際には、玉が1つずつ、玉貯留皿から計数器へと落下していくような画像表示を行なうことが考えられる。   (9) When counting game balls (game points) and converting points, not only counting display but also counting sound may be output from a speaker. In addition, when counting the game points, it is conceivable to display an image in which balls are dropped one by one from the ball storage tray to the counter.

(10) 計数操作に基づいて遊技点を持点に変換する変換表示(遊技玉を計数していき、持玉が増えていく様を示す表示)を行なうタイミングと、データ上で遊技点を減算し、持点を加算する演算を行なうタイミングとは様々なものとすることができる。変換表示が終わってから、前記演算を実行してもよい。また、そのために、変換表示が終わった後に遊技機からCUに対して計数データが送信されるようにしてもよい。なお、このような変形例は、持点を遊技点に変換する場合についても同様に適用可能である。   (10) The timing for performing conversion display (display indicating that game balls are counted and the number of balls is increased) based on the counting operation and subtracting game points on the data The timing for adding the points can be varied. The calculation may be executed after the conversion display is completed. For this purpose, count data may be transmitted from the gaming machine to the CU after the conversion display is completed. It should be noted that such a modification can be similarly applied to the case where the points are converted into game points.

(11) 本実施の形態では、CUと遊技機との間の通信において、CUを一次局、遊技機を二次局とするコマンド−レスポンス方式が採用されているが、一次局と二次局との関係を逆にしてもよい。あるいは、このような主従の関係がある通信方式を採用するのではなく、通信すべき要求が生じたときに双方が相手にデータを送信するような方式を採用してもよい。   (11) In the present embodiment, in the communication between the CU and the gaming machine, a command-response method is adopted in which the CU is a primary station and the gaming machine is a secondary station. The relationship between and may be reversed. Alternatively, instead of adopting such a communication system having a master-slave relationship, a system may be employed in which both send data to the other party when a request to communicate occurs.

(12) 本実施の形態では、遊技機側およびCU側の双方で遊技玉(遊技点)を記憶するようにしているが、遊技玉(遊技点)は遊技機側のみで記憶し、CU側では記憶しないようにしてもよい。一方、カード持玉(持点)は、CU側でのみ記憶しているが、遊技機側でも記憶するようにしてもよい。特に、遊技玉(遊技点)は遊技機側のみで記憶し、一方、カード持玉(持点)は、CU側でのみ記憶するようにして、データの記憶管理の役割分担を明確にしてもよい。   (12) In this embodiment, the game balls (game points) are stored on both the gaming machine side and the CU side, but the game balls (game points) are stored only on the game machine side, and the CU side Then, it may not be stored. On the other hand, the card holding balls (scoring points) are stored only on the CU side, but may also be stored on the gaming machine side. In particular, game balls (game points) are stored only on the gaming machine side, while card holding balls (points) are stored only on the CU side to clarify the division of data storage management. Good.

(13) 貸出操作あるいは持点(持玉)から遊技点(遊技玉)への変換操作(貸出操作)が検出された場合、遊技点は、1点ずつカウントアップするようにしてもよいが、遊技者の待ち時間を短くするために、複数点(たとえば、100円相当の25点)ずつカウントアップするように表示してもよい。また、逆に、遊技点の計数操作が実行されたときにも、複数点ずつ持点がカウントアップするように表示してもよい。さらに、遊技点あるいは持点をカウントアップ表示するときの単位数を複数種類の中から設定できるようにしてもよい。その設定の際には、P台あるいはS台の表示器のタッチパネルを利用することが考えられる。   (13) When a lending operation or a conversion operation (lending operation) from a holding point (holding ball) to a gaming point (game ball) is detected, the gaming points may be counted up one by one. In order to shorten the waiting time of the player, a display may be made so that a plurality of points (for example, 25 points equivalent to 100 yen) are counted up. Conversely, when a game point counting operation is executed, a display may be made so that the points are counted up by a plurality of points. Furthermore, the number of units for counting up and displaying game points or points may be set from a plurality of types. In the setting, it is conceivable to use a touch panel of P or S display devices.

(14) 玉貸ボタン、カード返却ボタン、再プレイボタン、および計数ボタンのうちの少なくとも1つ、あるいはすべては、遊技機側に設けてもよく、あるいはCU側に設けてもよい。また、そのボタンは、タッチパネル式の表示器として説明した遊技機側あるいはCU側の表示器に表示することが考えられる。   (14) At least one or all of the ball lending button, the card return button, the replay button, and the counting button may be provided on the gaming machine side, or may be provided on the CU side. Further, it is conceivable that the button is displayed on the display device on the gaming machine side or the CU side described as the touch panel type display device.

(15) 前述の実施の形態では、入賞の発生により直接遊技玉数や遊技点を加算するものを示したが、その代わりに、入賞の発生により持点を加算し、その加算された持点を引落して遊技玉数や遊技点を加算するように制御してもよい。   (15) In the above-described embodiment, the number of game balls and game points are directly added by the occurrence of a win, but instead, the points are added by the occurrence of a win, and the added points are added. It may be controlled to withdraw and add the number of game balls or game points.

(16) 前述の実施の形態では、遊技者所有の有価価値(プリペイド残額、持玉、貯玉)の範囲内で価値を引落して該引落し相当分の遊技点を加算するにおいて、引落した価値と同じ価値の遊技点を加算するものを示したが、その代わりに、たとえば、実際に引落した価値に対し消費税相当額分少ない遊技点を加算するように制御してもよい。   (16) In the above-described embodiment, when the value is deducted within the range of the valuable value owned by the player (the prepaid balance, the possession ball, the accumulated ball) and the corresponding game points are deducted, the value deducted However, instead, for example, it may be controlled to add game points that are smaller by the amount equivalent to the consumption tax with respect to the value actually withdrawn.

(17) 本実施の形態では、遊技場から離れた鍵管理センタに鍵管理サーバを設置した。しかしながら、鍵管理サーバは遊技場内に設置してもよい。これにより、遊技場外に鍵管理サーバを設置する場合と比較すると、CUと鍵管理サーバとの通信を高速化し易く、また、通信障害の発生率を低減できる。   (17) In this embodiment, a key management server is installed in a key management center that is remote from the game arcade. However, the key management server may be installed in the game hall. Thereby, compared with the case where a key management server is installed outside the game hall, it is easier to speed up communication between the CU and the key management server, and the occurrence rate of communication failures can be reduced.

(18) CU制御部323は、ホールサーバ801を介して鍵管理サーバ800から基板セキュリティ情報(基板認証鍵や更新情報を含む)を受信する。しかしながら、これに代えて、鍵管理サーバ800とCU制御部323との間にホールサーバ801を介することなく、鍵管理サーバ800からCU制御部323へ基板セキュリティ情報が送信される構成とてもよい。たとえば、鍵管理サーバ800とCUとを直接、回線接続することや、鍵管理サーバ800と各CUとの間にホールサーバ801と異なる中継用の通信装置を設けることが考えられる。   (18) The CU control unit 323 receives the board security information (including the board authentication key and update information) from the key management server 800 via the hall server 801. However, instead of this, the board security information is transmitted from the key management server 800 to the CU control unit 323 without using the hall server 801 between the key management server 800 and the CU control unit 323. For example, it is conceivable that the key management server 800 and the CU are directly connected to each other, or a relay communication device different from the hall server 801 is provided between the key management server 800 and each CU.

(19) 本実施の形態では、遊技情報の一例として、持玉、遊技玉、カードの残額、貯玉、その他、玉数情報や遊技台情報を挙げて説明した。しかしながら、遊技情報は、遊技機での遊技に関連したその他の情報をも含む。たとえば、遊技者が選択あるいはカスタマイズした遊技者の好みのキャラクタを可変表示装置278や表示器54などの可変表示手段(可変表示装置)に表示可能にした場合には、そのキャラクタを特定可能な情報も遊技情報に含まれる。このような遊技者の嗜好に合うキャラクタを含む画面デザインの情報は、たとえば、遊技者のカードIDと対応付けて遊技の終了時にサーバに送信して記憶させ、新たに遊技を開始する際にはサーバからCUあるいはP台へダウンロードするようにしてもよい。   (19) In the present embodiment, as an example of the game information, the explanation has been given by taking the holding ball, the game ball, the remaining amount of the card, the saving ball, and the number of balls information and the game table information. However, the game information includes other information related to the game on the gaming machine. For example, when a player's favorite character selected or customized by the player can be displayed on variable display means (variable display device) such as the variable display device 278 or the display device 54, information that can specify the character Is also included in the game information. Information on the screen design including the character that matches the player's preference is transmitted to the server at the end of the game in association with the player's card ID and stored, for example, when starting a new game. You may make it download from a server to CU or P stand.

(20) 遊技玉数表示器29では、玉の発射または計数動作に連動して玉数が1つずつ減っていく表示がなされる。また、遊技玉数表示器29では、玉貸操作等に応じて玉数が1つずつあるいは所定単位数ずつ増加する表示がなされる。遊技玉数表示器29を液晶表示装置などの画像表示器で構成した場合には、単に遊技玉数をデジタル表示するのではなく、遊技玉数の変化が弾球によるものであるのか、計数によるものであるのか、入賞の発生によるものであるのか、貯玉の引き落としによるものであるのか、貸出操作によるものであるか、など、その種類に応じた画像を遊技玉数の表示更新と併せて表示するようにしてもよい。   (20) In the game ball number display 29, a display is made in which the number of balls decreases one by one in conjunction with the ball firing or counting operation. In addition, the game ball number display 29 displays such that the number of balls increases by one or a predetermined number of units according to a ball lending operation or the like. When the game ball number display 29 is constituted by an image display such as a liquid crystal display device, the number of game balls is not simply displayed digitally, but whether the change in the number of game balls is due to a ball or not is counted. Whether it is due to winning, winning a prize, due to savings, or due to a lending operation, an image according to the type is displayed along with the display update of the number of game balls You may make it do.

(21) 持玉または遊技玉の数の変化の有無をCUまたはP台でチェックし、所定期間、持玉または遊技玉の数が変化しない場合には、CUまたはP台でその旨を報知するようにしてもよい。あるいは、報知のための信号を外部装置(ホールコンピュータ、P台上の呼び出しランプ)に出力してもよい。これにより、たとえば、残り僅かな玉が放置されたままで遊技放棄された台を店員が把握しやすくする。   (21) Check whether there is a change in the number of holding balls or game balls on the CU or P stand, and if the number of holding balls or game balls does not change for a predetermined period, notify the CU or P stand of that fact You may do it. Alternatively, a notification signal may be output to an external device (a hall computer, a calling lamp on the P platform). This makes it easier for the store clerk to grasp, for example, a table that has been abandoned while the remaining few balls are left unattended.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

2 パチンコ機、2S スロットマシン、3 カードユニット、16 主制御基板、17 払出制御基板、26 遊技盤、54,312 表示器、309 カード挿入/排出口、319 再プレイボタン、320 IR受光ユニット、321 貸出ボタン、322 返却ボタン、161 主制御部、325 表示制御部、171 払出制御部、323 CU制御部。   2 Pachinko machine, 2S slot machine, 3 card unit, 16 main control board, 17 payout control board, 26 game board, 54, 312 display, 309 card insertion / discharge port, 319 replay button, 320 IR light receiving unit, 321 Lending button, 322 return button, 161 main control unit, 325 display control unit, 171 payout control unit, 323 CU control unit.

Claims (2)

遊技機と、前記遊技機で遊技をするための価値を特定可能な記録媒体を受付けて前記記録媒体で特定される価値を用いて遊技を可能にする遊技用装置とを含む遊技用システムであって、
前記記録媒体は、価値として、高レートでの遊技を可能とする第一類価値と低レートでの遊技を可能とする第二類価値とを特定可能であり、前記記録媒体の種類には、会員遊技者に対応する会員用記録媒体と、非会員遊技者に対応する非会員用記録媒体とが含まれ、
前記遊技用装置は、
前記高レートおよび前記低レートのいずれの遊技を可能にするかを設定する設定手段と、
前記設定手段による設定に応じて遊技で獲得した価値を前記第一類価値および前記第二類価値のいずれかに含まれる価値に加算する加算手段と、
前記記録媒体を返却するための処理を行なう返却処理手段とを備え、
前記返却処理手段は、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値の少なくともいずれか一方が所定の貨幣価値以上であれば、前記非会員用記録媒体を返却し、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値のそれぞれが前記所定の貨幣価値未満であれば、前記非会員用記録媒体の返却を制限し、
前記会員用記録媒体を受付けている場合に返却操作が受付けられたときに、該会員用記録媒体で特定される前記第一類価値および前記第二類価値のそれぞれの大きさに関わらず前記会員用記録媒体の返却を許容し、
前記遊技機にて管理される価値が存在せず、かつ、前記遊技機が有利状態に制御されていない場合に、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が可能となり、
前記遊技機にて管理される価値が存在する場合および前記遊技機が有利状態に制御されている場合のいずれかの場合には、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が禁止され、
前記設定手段による前記高レートと前記低レートとの一方から他方への変更操作を受け付けた場合に前記遊技機にて管理される価値が存在するときに、前記遊技機にて管理される価値を前記遊技用装置にて管理される価値として前記加算手段により加算するための操作を促す促進報知を行う、遊技用システム。
A gaming system including a gaming machine and a gaming device that accepts a recording medium that can specify a value for playing a game on the gaming machine and that enables a game using the value specified on the recording medium. And
The recording medium can specify a first type value that enables games at a high rate and a second type value that enables games at a low rate as values, and the types of the recording media include: A member recording medium corresponding to a member player and a non-member recording medium corresponding to a non-member player,
The gaming device is:
Setting means for setting which game of the high rate and the low rate is allowed;
Adding means for adding the value acquired in the game according to the setting by the setting means to the value included in either the first type value or the second type value;
A return processing means for performing processing for returning the recording medium,
The return processing means
When the non-member recording medium is accepted and the return operation is accepted, if at least one of the first class value and the second class value is equal to or greater than a predetermined monetary value, the non-member Return the recording media,
When the non-member recording medium is accepted and the return operation is accepted, if each of the first class value and the second class value is less than the predetermined monetary value, the non-member record Restrict the return of media,
When the member recording medium is accepted, when the return operation is accepted, the member regardless of the size of each of the first type value and the second type value specified by the member recording medium Allow the return of recording media,
Absent of value that will be managed by the gaming machine, and, when the game machine is not controlled advantageously state, changes from one to the other of said high rate and the low rate by the setting means Is possible,
In the case of any of the cases and the gaming machine if of value that will be managed by the gaming machine is present is controlled advantageously state, from one of the high rate and the low rate by the setting means Changes to the other are prohibited ,
When there is a value managed by the gaming machine when a change operation from one of the high rate and the low rate by the setting means to the other is accepted, the value managed by the gaming machine is A gaming system that performs a promotion notification that prompts an operation to be added by the adding means as a value managed by the gaming device .
遊技機で遊技をするための価値を特定可能な記録媒体を受付けて前記記録媒体で特定される価値を用いて遊技を可能にする遊技用装置であって、
前記記録媒体は、価値として、高レートでの遊技を可能とする第一類価値と低レートでの遊技を可能とする第二類価値とを特定可能であり、前記記録媒体の種類には、会員遊技者に対応する会員用記録媒体と、非会員遊技者に対応する非会員用記録媒体とが含まれ、
前記高レートおよび前記低レートのいずれの遊技を可能にするかを設定する設定手段と、
前記設定手段による設定に応じて遊技で獲得した価値を前記第一類価値および前記第二類価値のいずれかに含まれる価値に加算する加算手段と、
前記記録媒体を返却するための処理を行なう返却処理手段とを備え、
前記返却処理手段は、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値の少なくともいずれか一方が所定の貨幣価値以上であれば、前記非会員用記録媒体を返却し、
前記非会員用記録媒体を受付けている場合に返却操作が受付けられたときに、前記第一類価値および前記第二類価値のそれぞれが前記所定の貨幣価値未満であれば、前記非会員用記録媒体の返却を制限し、
前記会員用記録媒体を受付けている場合に返却操作が受付けられたときに、該会員用記録媒体で特定される前記第一類価値および前記第二類価値のそれぞれの大きさに関わらず前記会員用記録媒体の返却を許容し、
前記遊技機にて管理される価値が存在せず、かつ、前記遊技機が有利状態に制御されていない場合に、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が可能となり、
前記遊技機にて管理される価値が存在する場合および前記遊技機が有利状態に制御されている場合のいずれかの場合には、前記設定手段による前記高レートと前記低レートとの一方から他方への変更が禁止され、
前記設定手段による前記高レートと前記低レートとの一方から他方への変更操作を受け付けたときに前記遊技機にて管理される価値が存在する場合、当該遊技機にて管理される価値を前記遊技用装置にて管理される価値として前記加算手段により加算するための操作を促す促進報知を行う、遊技用装置。
A gaming device that accepts a recording medium capable of specifying a value for playing a game on a gaming machine and enables a game using the value specified by the recording medium,
The recording medium can specify a first type value that enables games at a high rate and a second type value that enables games at a low rate as values, and the types of the recording media include: A member recording medium corresponding to a member player and a non-member recording medium corresponding to a non-member player,
Setting means for setting which game of the high rate and the low rate is allowed;
Adding means for adding the value acquired in the game according to the setting by the setting means to the value included in either the first type value or the second type value;
A return processing means for performing processing for returning the recording medium,
The return processing means
When the non-member recording medium is accepted and the return operation is accepted, if at least one of the first class value and the second class value is equal to or greater than a predetermined monetary value, the non-member Return the recording media,
When the non-member recording medium is accepted and the return operation is accepted, if each of the first class value and the second class value is less than the predetermined monetary value, the non-member record Restrict the return of media,
When the member recording medium is accepted, when the return operation is accepted, the member regardless of the size of each of the first type value and the second type value specified by the member recording medium Allow the return of recording media,
Absent of value that will be managed by the gaming machine, and, when the game machine is not controlled advantageously state, changes from one to the other of said high rate and the low rate by the setting means Is possible,
In the case of any of the cases and the gaming machine if of value that will be managed by the gaming machine is present is controlled advantageously state, from one of the high rate and the low rate by the setting means Changes to the other are prohibited ,
When there is a value managed by the gaming machine when a change operation from one of the high rate and the low rate by the setting unit to the other is accepted, the value managed by the gaming machine is A gaming apparatus that performs a promotion notification that prompts an operation to be added by the adding means as a value managed by the gaming apparatus.
JP2013229359A 2013-11-05 2013-11-05 GAME SYSTEM AND GAME DEVICE Active JP6592229B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013229359A JP6592229B2 (en) 2013-11-05 2013-11-05 GAME SYSTEM AND GAME DEVICE

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013229359A JP6592229B2 (en) 2013-11-05 2013-11-05 GAME SYSTEM AND GAME DEVICE

Publications (2)

Publication Number Publication Date
JP2015089400A JP2015089400A (en) 2015-05-11
JP6592229B2 true JP6592229B2 (en) 2019-10-16

Family

ID=53193214

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013229359A Active JP6592229B2 (en) 2013-11-05 2013-11-05 GAME SYSTEM AND GAME DEVICE

Country Status (1)

Country Link
JP (1) JP6592229B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6905252B2 (en) * 2017-07-26 2021-07-21 株式会社北電子 Gaming equipment, gaming systems and programs
JP7042098B2 (en) * 2018-02-02 2022-03-25 ダイコク電機株式会社 Amusement park system
JP7313129B2 (en) * 2018-10-22 2023-07-24 株式会社三共 game device
JP7350347B2 (en) * 2019-10-15 2023-09-26 株式会社コナミアミューズメント Game systems, game system operating methods and programs
JP7114088B2 (en) * 2019-10-15 2022-08-08 株式会社コナミアミューズメント GAME SYSTEM, GAME SYSTEM OPERATING METHOD AND PROGRAM

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4156060B2 (en) * 1997-12-10 2008-09-24 株式会社三共 Recording medium management system
JP4865827B2 (en) * 2009-03-25 2012-02-01 株式会社三共 Game equipment
JP2013081532A (en) * 2011-10-06 2013-05-09 Sophia Co Ltd Game machine
JP5589044B2 (en) * 2012-10-11 2014-09-10 株式会社西陣 Game equipment

Also Published As

Publication number Publication date
JP2015089400A (en) 2015-05-11

Similar Documents

Publication Publication Date Title
JP2015089399A (en) Game system and game apparatus
JP6592229B2 (en) GAME SYSTEM AND GAME DEVICE
JP5284405B2 (en) GAME SYSTEM AND GAME DEVICE
JP5243572B2 (en) GAME SYSTEM AND GAME DEVICE
JP2012210270A (en) Game system and game device
JP2015077170A (en) System for game
JP6143452B2 (en) GAME SYSTEM, GAME DEVICE, AND GAME CONTROL DEVICE
JP6153730B2 (en) GAME SYSTEM, GAME DEVICE, AND GAME CONTROL DEVICE
JP6062230B2 (en) GAME SYSTEM AND GAME CONTROL DEVICE
JP5749303B2 (en) GAME SYSTEM AND GAME DEVICE
JP2020089788A (en) System for game
JP2017042233A (en) Game system and game device
JP5525009B2 (en) GAME SYSTEM AND GAME CONTROL DEVICE
JP5473974B2 (en) GAME SYSTEM AND GAME DEVICE
JP5442661B2 (en) GAME SYSTEM AND GAME DEVICE
JP5450497B2 (en) GAME SYSTEM AND GAME DEVICE
JP5431402B2 (en) GAME SYSTEM AND GAME DEVICE
JP5442662B2 (en) GAME SYSTEM AND GAME DEVICE
JP2017042234A (en) Game system and game device
JP2019042562A (en) Game system
JP6084252B2 (en) GAME SYSTEM AND GAME DEVICE
JP2019022860A (en) System for game
JP5356446B2 (en) GAME SYSTEM AND GAME DEVICE
JP2017144281A (en) Game system
JP5883409B2 (en) GAME SYSTEM AND GAME DEVICE

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161003

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170721

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170801

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170929

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180206

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180427

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20180501

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20180525

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190325

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190703

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190920

R150 Certificate of patent or registration of utility model

Ref document number: 6592229

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