JP5002661B2 - Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program - Google Patents

Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program Download PDF

Info

Publication number
JP5002661B2
JP5002661B2 JP2010016852A JP2010016852A JP5002661B2 JP 5002661 B2 JP5002661 B2 JP 5002661B2 JP 2010016852 A JP2010016852 A JP 2010016852A JP 2010016852 A JP2010016852 A JP 2010016852A JP 5002661 B2 JP5002661 B2 JP 5002661B2
Authority
JP
Japan
Prior art keywords
control unit
main control
authentication
unit
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010016852A
Other languages
Japanese (ja)
Other versions
JP2011152340A (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.)
Kyoraku Industrial Co Ltd
Original Assignee
Kyoraku Industrial 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 Kyoraku Industrial Co Ltd filed Critical Kyoraku Industrial Co Ltd
Priority to JP2010016852A priority Critical patent/JP5002661B2/en
Publication of JP2011152340A publication Critical patent/JP2011152340A/en
Application granted granted Critical
Publication of JP5002661B2 publication Critical patent/JP5002661B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、パチンコ店等の遊技店に設置されるパチンコ遊技機、雀球遊技機、アレンジボール等の弾球遊技機、スロットマシン等の回胴式遊技機などの遊技機、これら遊技機に設けられた主制御部、この主制御部が搭載された主制御基板、上記各遊技機に設けられた中間部、この中間部が搭載された周辺基板、上記各遊技機で行われる認証方法及び認証プログラムに関する。   The present invention relates to a pachinko machine installed in a game shop such as a pachinko store, a sparrow ball game machine, a ball game machine such as an arrange ball, a game machine such as a revolving game machine such as a slot machine, and the like. A main control unit provided, a main control board on which the main control unit is mounted, an intermediate unit provided on each gaming machine, a peripheral board on which the intermediate unit is mounted, an authentication method performed on each gaming machine, and Regarding the certification program.

遊技機に対し行われる、メダルや遊技球など(以下、遊技媒体という)を遊技とは無関係に強制的に払い出させる不正行為のうち、主制御部が搭載された主制御基板や周辺部が搭載された周辺基板に関するものとして、例えば以下に示すものがある。
(1)正規な主制御基板と不正な主制御基板との交換
(2)主制御基板に搭載されたCPUが実行する正規なプログラムが記憶されたROMと上記プログラムを改ざんした不正なプログラムが記憶されたROMとの交換
(3)主制御基板と周辺基板との間に不正な基板(なりすまし基板)を設け、かつ上記(2)のROMの交換
Of the fraudulent acts that are performed on gaming machines and forcibly pay out medals, game balls, etc. (hereinafter referred to as game media) regardless of the game, the main control board on which the main control unit is mounted or the peripheral part For example, the followings are related to the mounted peripheral board.
(1) Replacing an authorized main control board with an unauthorized main control board (2) A ROM storing a legitimate program executed by the CPU mounted on the main control board and an unauthorized program obtained by falsifying the above program are stored. (3) An illegal board (impersonated board) is provided between the main control board and the peripheral board, and the ROM of (2) above is replaced.

このような不正行為を防止するため、従来の遊技機には、以下に示すものがあった。すなわち、この遊技機には、特典付与の可否を決定するとともに第3識別情報を記憶しているメイン制御部(主制御部)と、主制御部に接続され、第1識別情報を記憶している第1サブ制御部(第1周辺部)と、主制御部に接続され、第2識別情報を記憶している第2サブ制御部(第2周辺部)とを備えたものがある。この遊技機では、主制御部から第1周辺部に向けてのみ情報の出力が可能であり、主制御部と第2周辺部は、相互に情報の入出力が可能である。第2周辺部は、第2識別情報を主制御部に出力する手段を有している。一方、主制御部は、第2識別情報と第3識別情報を第1周辺部に出力する手段を有している。第1周辺部は、第1識別情報と第2識別情報と第3識別情報を用いて所定演算を行う演算手段と、演算手段の演算結果に基づいて遊技機に不正な改造が行われたか否かを判別する手段を有している(例えば、特許文献1参照。)。以下、この技術を第1の従来例と呼ぶ。   In order to prevent such illegal acts, there are the following conventional gaming machines. That is, this gaming machine is connected to the main control unit (main control unit) that determines whether or not the privilege can be granted and stores the third identification information, and stores the first identification information. A first sub-control unit (first peripheral unit), and a second sub-control unit (second peripheral unit) connected to the main control unit and storing second identification information. In this gaming machine, information can be output only from the main control unit toward the first peripheral part, and the main control part and the second peripheral part can mutually input and output information. The second peripheral part has means for outputting the second identification information to the main control part. On the other hand, the main control unit has means for outputting the second identification information and the third identification information to the first peripheral portion. The first peripheral portion includes a computing unit that performs a predetermined computation using the first identification information, the second identification information, and the third identification information, and whether or not the gaming machine has been illegally modified based on a computation result of the computing unit. Means for determining whether or not (see, for example, Patent Document 1). Hereinafter, this technique is referred to as a first conventional example.

また、従来の遊技機には、大当たり図柄を表示する図柄表示装置と、遊技状況に応じて図柄制御部へデータを送信する主制御装置(主制御部)と、遊技状況に応じ主制御部から受信する制御データに基づいて図柄表示装置を制御する図柄制御部(周辺部)とを備えているものもある。このパチンコ遊技機では、主制御部は、第1鍵データを記憶する第1の記憶手段と、図柄制御部の動作を制御するための制御データに対し第1鍵データに対応する暗号化を行う暗号化手段と、遊技状況に対応する制御データに暗号化を施したデータを周辺部へ送信する送信手段と、予め定めたタイミングに、第1鍵データを変更する第1鍵変更手段とを備えている。周辺部は、第2鍵データを記憶する第2の記憶手段と、主制御部から受信した暗号データに対し第2鍵データに対応する処理を行うことにより、該受信した暗号データの正当性を判定し、正当である場合に該暗号データを認証する認証手段と、受信した暗号データが認証された場合に該暗号データに対応する動作を図柄表示装置に行わせる動作制御手段と、第1鍵データの変更タイミングに合致するように予め定められたタイミングに、第2鍵データを第1鍵データに対応するように変更する第2鍵変更手段とを備えている(例えば、特許文献2参照。)。以下、この技術を第2の従来例と呼ぶ。   In addition, the conventional gaming machine includes a symbol display device that displays a jackpot symbol, a main control device (main control unit) that transmits data to the symbol control unit according to the game situation, and a main control unit that responds to the game situation. Some include a symbol control unit (peripheral unit) that controls the symbol display device based on received control data. In this pachinko gaming machine, the main control unit performs encryption corresponding to the first key data on the first storage means for storing the first key data and the control data for controlling the operation of the symbol control unit. An encryption unit; a transmission unit that transmits data obtained by encrypting control data corresponding to a game situation to the peripheral unit; and a first key change unit that changes the first key data at a predetermined timing. ing. The peripheral unit performs the processing corresponding to the second key data on the second storage means for storing the second key data and the encrypted data received from the main control unit, thereby verifying the validity of the received encrypted data. An authentication means for determining and authenticating the encrypted data if it is valid, an operation control means for causing the symbol display device to perform an operation corresponding to the encrypted data when the received encrypted data is authenticated, and a first key Second key change means for changing the second key data so as to correspond to the first key data at a predetermined timing so as to coincide with the data change timing (see, for example, Patent Document 2). ). Hereinafter, this technique is referred to as a second conventional example.

また、従来のパチンコ遊技機には、主制御基板(主制御部)と、主制御部によって送信された制御コマンドに基づいて所定の処理を行う周辺基板(周辺部)とを備えるものもある。このパチンコ遊技機では、主制御部は、周辺部に送信する制御コマンドが所定の制御コマンドである場合、主制御部を認証するための認証データを所定の制御コマンドに付加して周辺部に送信する。そして、周辺部は、所定の制御コマンドを受信すると、この所定の制御コマンドに付加して送信された認証データに基づいて主制御部を認証する(例えば、特許文献3参照。)。以下、この技術を第3の従来例と呼ぶ。   In addition, some conventional pachinko gaming machines include a main control board (main control unit) and a peripheral board (peripheral part) that performs predetermined processing based on a control command transmitted by the main control unit. In this pachinko gaming machine, when the control command to be transmitted to the peripheral unit is a predetermined control command, the main control unit adds authentication data for authenticating the main control unit to the predetermined control command and transmits it to the peripheral unit. To do. When the peripheral unit receives a predetermined control command, the peripheral unit authenticates the main control unit based on the authentication data transmitted in addition to the predetermined control command (see, for example, Patent Document 3). Hereinafter, this technique is referred to as a third conventional example.

特開2005−21330号公報JP-A-2005-21330 特開2002−210194号公報JP 2002-210194 A 特開2008−279037号公報JP 2008-279037 A

第1の従来例では、ランプやスピーカ等を制御する第1周辺部に搭載されているCPUが第1識別情報と第2識別情報と第3識別情報を用いて所定演算を行い、表示を制御する第2周辺部に搭載されているCPUが上記演算結果に基づいて遊技機に不正な改造が行われたか否かを判別している。   In the first conventional example, the CPU mounted on the first peripheral part that controls the lamp, the speaker, etc. performs a predetermined calculation using the first identification information, the second identification information, and the third identification information to control the display. The CPU mounted on the second peripheral portion determines whether or not the gaming machine has been illegally modified based on the calculation result.

このように、CPUに既存の処理(例えば、演出処理)以外に認証処理を実行させるためには、既存の処理に認証機能及び認証タイミングなどの処理を追加する必要がある。このため、認証機能を追加するための認証タイミングの設計、認証機能の実現化、動作のシミュレーション及び所望の機能が得られるか否かを確認する検証(ベリフィケーション)に多大の時間と労力を要し、これにより、遊技機の開発に時間と手間が大幅にかかってしまうという問題がある。このような問題は、特に、遊技機の機種変更をする際に顕著に現れる。さらに、最近の遊技機の演出の多様化に伴って、CPUが実行すべきプログラムのコードサイズも膨大になる傾向にあるため、認証機能の追加により上記の問題は益々増大する。   As described above, in order to cause the CPU to execute the authentication process in addition to the existing process (for example, the effect process), it is necessary to add processes such as an authentication function and an authentication timing to the existing process. For this reason, a great deal of time and effort is spent on the design of the authentication timing for adding the authentication function, the realization of the authentication function, the simulation of the operation, and the verification (verification) to confirm whether the desired function can be obtained. Therefore, there is a problem that it takes a lot of time and effort to develop a gaming machine. Such a problem particularly appears when changing the model of a gaming machine. Furthermore, with the recent diversification of the effects of gaming machines, the code size of programs to be executed by the CPU tends to become enormous, so that the above problem increases with the addition of the authentication function.

また、CPUに既存の処理の他に認証処理を実行させる場合、CPUの処理負荷が増大するため、処理速度が低下し、演出のための表示がスムーズに行われなかったり、最悪の場合には、認証処理自体を追加できなかったりするなどの問題があった。特に最近では、遊技の興趣向上を図るために、リーチや大当たり等の際に遊技者の視覚や聴覚に訴える演出が多様となる傾向にあり、上記問題が発生するおそれが増大する。   In addition, when the CPU performs authentication processing in addition to the existing processing, the processing load of the CPU increases, so the processing speed decreases, display for production is not performed smoothly, or in the worst case There was a problem that the authentication process itself could not be added. In particular, in recent years, in order to improve the interest of the game, there is a tendency that the effects of appealing to the visual and auditory senses of the player at the time of reach, jackpot, etc. tend to be diverse, and the possibility that the above problem will occur increases.

また、第1の従来例では、周辺部を構成する1つのCPUが1回の認証処理(IDの加算処理)を行っているだけである。さらに、周辺部を構成するCPUに既存の処理の他に認証処理を実行させることにより周辺部を構成するCPUの処理負荷が増大する。それゆえ、周辺部を構成するCPUにセキュリティをより強化するために、今まで以上に複雑な演算による認証処理や複数回の認証処理を実行させることは困難である。   In the first conventional example, one CPU constituting the peripheral part performs only one authentication process (ID addition process). Further, by causing the CPU configuring the peripheral portion to execute the authentication process in addition to the existing processing, the processing load of the CPU configuring the peripheral portion increases. Therefore, it is difficult to cause the CPU configuring the peripheral portion to execute authentication processing by a more complicated calculation and authentication processing multiple times than ever in order to further enhance security.

一方、第2の従来例では、主制御部では、暗号化手段が図柄制御部の動作を制御するための制御データに対し第1鍵データに対応する暗号化を行い、第1鍵変更手段が予め定めたタイミングに、第1鍵データを変更している。周辺部では、認証手段が主制御部から受信した暗号データに対し第2鍵データに対応する処理を行うことにより、受信した暗号データの正当性を判定し、正当である場合に該暗号データを認証し、第2鍵変更手段が第1鍵データの変更タイミングに合致するように予め定められたタイミングに、第2鍵データを第1鍵データに対応するように変更している。つまり、主制御部も周辺部も高度で複雑な暗号化処理及び認証処理を行っている。したがって、第2の従来例では、主制御部を構成するCPUも周辺部を構成するCPUもそれぞれの処理負荷が増大するため、処理速度が低下し、遊技内容の進行に伴う基本処理や演出処理という本来の処理がスムーズに行われないおそれがある。   On the other hand, in the second conventional example, in the main control unit, the encryption unit performs encryption corresponding to the first key data on the control data for controlling the operation of the symbol control unit, and the first key change unit The first key data is changed at a predetermined timing. In the peripheral unit, the authenticating unit performs processing corresponding to the second key data on the encrypted data received from the main control unit, thereby determining the validity of the received encrypted data. Authentication is performed, and the second key data is changed to correspond to the first key data at a predetermined timing so that the second key changing means matches the change timing of the first key data. That is, the main control unit and the peripheral unit perform sophisticated and complicated encryption processing and authentication processing. Therefore, in the second conventional example, since the processing load of both the CPU constituting the main control unit and the CPU constituting the peripheral part increases, the processing speed decreases, and the basic process and the effect process accompanying the progress of the game content. The original process may not be performed smoothly.

また、第3の従来例では、第1の従来例と同様に、周辺部のCPUに既存のゲーム処理の他に、認証処理を実行させる場合、所定の制御コマンドに認証データを付加して周辺部に送信しても、周辺部のCPUの処理負荷が増大するため、処理速度が低下し、演出のための表示がスムーズに行われなかったり、認証処理自体の追加が難しくなったりする設計上の制約が生じることが考えられる。特に最近では、遊技の興趣向上を図るために、図柄の変動の制御について遊技者の視覚や聴覚に訴える演出が多様となる傾向にある。したがって、各種の演出制御を行う周辺部(画像制御部)に対して認証処理を行う負荷を低減させるような認証手段を設けた遊技機を構築することが望ましい。   Further, in the third conventional example, as in the first conventional example, when the peripheral CPU executes an authentication process in addition to the existing game process, authentication data is added to a predetermined control command and the peripheral process is performed. Even if it is transmitted to the part, the processing load on the CPU in the peripheral part increases, so the processing speed decreases, the display for presentation is not performed smoothly, or it is difficult to add the authentication process itself It is conceivable that there will be restrictions. In recent years, in particular, in order to improve the interest of the game, there is a tendency for various effects to appeal to the visual and auditory sense of the player regarding the control of the variation of the pattern. Therefore, it is desirable to construct a gaming machine provided with an authentication unit that reduces the load of performing an authentication process on a peripheral part (image control part) that performs various effects control.

さらに、周辺部を構成するCPUに既存の処理の他に認証処理を実行させることにより周辺部を構成するCPUの処理負荷やプログラム容量が増大する。それゆえ、周辺部を構成するCPUにセキュリティをより強化するために、今まで以上に複雑な演算による認証処理や複数回の認証処理を実行させることは困難である。   Further, by causing the CPU constituting the peripheral portion to execute the authentication process in addition to the existing processing, the processing load and program capacity of the CPU constituting the peripheral portion are increased. Therefore, it is difficult to cause the CPU configuring the peripheral portion to execute authentication processing by a more complicated calculation and authentication processing multiple times than ever in order to further enhance security.

ところで、遊技機は、外部から電気的な雑音や機械的な振動等が加えられた場合、誤動作する場合がある。例えば、主制御部から周辺部に制御コマンドが送信されている際に、電磁波や静電気などの雑音が遊技機外部から加えられると、この雑音の影響により制御コマンドデータにビットエラーが発生し、制御コマンドが変更されてしまうという誤動作が生じる。この場合、本来周辺部に送信されるべき制御コマンドが大当たりコマンド以外の制御コマンドであるにも関わらず、ビットエラーが発生して当該制御コマンドが大当たりコマンドに変更されてしまうと、不正行為が行われた場合でなくても、遊技者に不当に多くの遊技媒体が払い出され、遊技店が多大な損害を被ってしまう。ところが、第1〜第3の従来例では、このような誤動作に起因した問題について何ら対策を施していないので、遊技店が多大な損害を被るという問題を解決することができない。   By the way, a gaming machine may malfunction when external electrical noise or mechanical vibration is applied. For example, when a control command is transmitted from the main control unit to the peripheral part, if noise such as electromagnetic waves or static electricity is added from the outside of the gaming machine, a bit error occurs in the control command data due to the influence of the noise, and control is performed. A malfunction occurs that the command is changed. In this case, if a bit error occurs and the control command is changed to a jackpot command even though the control command that should be transmitted to the peripheral part is a control command other than the jackpot command, an illegal action is performed. Even if this is not the case, an unreasonable amount of game media is paid out to the player, and the game store suffers a great deal of damage. However, in the first to third conventional examples, no countermeasures are taken for the problem caused by such a malfunction, so that the problem that the game shop suffers a great deal of damage cannot be solved.

本発明は、上記事情に鑑みてなされたものであり、遊技機の正規の主制御基板と不正な主制御基板との交換等による不正行為や遊技機の誤動作を検知でき、周辺部のCPUの処理負荷を軽減することができる遊技機、主制御部、主制御基板、中間部、周辺基板、認証方法及び認証プログラムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and can detect fraudulent acts and malfunctions of gaming machines due to replacement of a regular main control board and an unauthorized main control board of a gaming machine. It is an object of the present invention to provide a gaming machine, a main control unit, a main control board, an intermediate part, a peripheral board, an authentication method, and an authentication program that can reduce the processing load.

上記課題を解決するために本発明は、制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機であって、前記主制御部は、所定のデータが記憶されているデータ記憶手段と、前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する個体検査値生成手段と、前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された複数のパケット情報を用いて一又は複数の同期コードを生成する同期コード生成手段と、計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する時間コード生成手段とを備え、前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信し、前記中間部は、前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値が記憶されている演算値記憶手段と、前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する個体認証手段と、前記個体認証手段によって前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられたパケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、前記時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する動作認証手段とを備え、前記個体認証手段又は前記動作認証手段が得た認証結果を制御コマンドに付加して前記周辺部に送信することを特徴とする。   In order to solve the above-described problems, the present invention provides a gaming machine including a main control unit that outputs a control command, an intermediate unit, and a peripheral unit that performs processing according to the control command. The data storage means storing the predetermined data and the predetermined data stored in the data storage means are divided and a binary operation satisfying the coupling law is performed using each of the divided data. Or, from among a plurality of types of packet information classified according to the correlation between the generation timings of individual test value generation means for generating a plurality of individual test values and a plurality of packet information generated in accordance with the operation of the main control unit One packet information type is selected based on the number of pieces of divided data, packet information is generated at each of a plurality of generation timings corresponding to the selected type, and a plurality of generated packet data are generated. Synchronous code generation means for generating one or a plurality of synchronization codes using information, and one or a plurality of times using a plurality of timing information generated at each of a plurality of timings specified in advance by performing timing. A time code generating means for generating a code, and adding the individual test value, the synchronization code and the time code to a control command and transmitting the control command to the intermediate part, and the intermediate part is stored in the data storage means The binary calculation using the calculation value storage means storing the calculation value obtained by performing the binary calculation using the predetermined data and the individual test value added to the control command The individual authentication means for authenticating the normality of the individual of the main control unit based on whether or not the calculation result and the calculation value stored in the calculation value storage means match, Identifying the type of packet information used to generate the synchronization code based on the number of the individual test values subjected to the binary operation when the individual authentication unit succeeds in authenticating the individual of the main control unit The plurality of pieces of packet information used for generating the one or more synchronization codes transmitted from the main control unit and the packet information of the specified type satisfy a predetermined correlation, And an operation authentication means for authenticating continuity of the operation of the main control unit based on whether or not the information of the plurality of timing times used for generating the time code has continuity, The authentication result obtained by the authentication means or the operation authentication means is added to the control command and transmitted to the peripheral portion.

また、上記課題を解決するために本発明は、中間部によって認証され、前記中間部を介して接続された周辺部に所定の処理を行わせるための制御コマンドを前記中間部に送信する遊技機の主制御部であって、所定のデータが記憶されているデータ記憶手段と、前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する個体検査値生成手段と、前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された前記複数のパケット情報を用いて一又は複数の同期コードを生成する同期コード生成手段と、計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する時間コード生成手段とを備え、前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信することを特徴とする。   In order to solve the above-mentioned problem, the present invention provides a gaming machine that is authenticated by an intermediate unit and transmits a control command for causing a peripheral unit connected via the intermediate unit to perform a predetermined process. A main storage unit that divides the predetermined data stored in the data storage means and the data storage means in which the predetermined data is stored, and satisfies the combining law using each of the divided data A plurality of classifications based on correlations between individual test value generating means for generating one or a plurality of individual test values by performing binary operation, and generation timings of a plurality of packet information generated in accordance with the operation of the main control unit From one type of packet information, select one type of packet information based on the number of each divided data, and generate packet information at each of multiple generation timings according to the selected type A synchronization code generating means for generating one or a plurality of synchronization codes using the generated plurality of packet information, and information on a plurality of timing times generated at each of a plurality of timings specified in advance by performing timing. And a time code generating means for generating one or a plurality of time codes by using the individual inspection value, the synchronization code, and the time code added to a control command and transmitted to the intermediate unit. .

さらに、上記課題を解決するために本発明の遊技機の主制御基板は、本発明の主制御部が搭載されていることを特徴とする。   Further, in order to solve the above problems, the main control board of the gaming machine of the present invention is characterized in that the main control unit of the present invention is mounted.

さらにまた、上記課題を解決するために本発明は、主制御部と周辺部とを備えた遊技機に設けられた中間部であって、前記主制御部が備えるデータ記憶手段に記憶されている所定のデータを用いて結合法則を満たす2項演算を行って得られた演算値が記憶されている演算値記憶手段と、前記主制御部によって、前記所定のデータを分割した各データを用いて前記2項演算を行って生成され、制御コマンドに付加されて送信された一又は複数の個体検査値を用いて前記2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する個体認証手段と、前記主制御部によって、前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて選択された一つのパケット情報の種類に応じた複数の生成タイミングのそれぞれで生成された複数のパケット情報を用いて生成され、制御コマンドに付加されて送信された一又は複数の同期コードの生成に用いられたパケット情報の種類を、前記個体認証手段によって前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、主制御部によって、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて生成され、制御コマンドに付加されて送信された一又は複数の時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する動作認証手段とを備え、前記個体認証手段又は前記動作認証手段が得た認証結果を制御コマンドに付加して前記周辺部に送信することを特徴とする。   Furthermore, in order to solve the above problems, the present invention is an intermediate part provided in a gaming machine having a main control part and a peripheral part, and is stored in a data storage means provided in the main control part. Using calculated value storage means storing a calculated value obtained by performing a binary operation satisfying the coupling law using predetermined data and each data obtained by dividing the predetermined data by the main control unit The two-term calculation is performed using one or a plurality of individual test values generated by performing the two-term calculation and added to the control command, and the calculation result is stored in the calculation value storage means. A plurality of individual authentication means for authenticating the normality of the individual of the main control unit based on whether or not the calculated values match, and the main control unit generated by the operation of the main control unit Packet information generation timing A plurality of packets generated at each of a plurality of generation timings according to the type of one piece of packet information selected from the plurality of types of packet information classified by correlation. The individual authentication means succeeded in authenticating the individual of the main control unit with the type of packet information used to generate one or more synchronization codes generated using information and added to the control command. The one or more synchronization codes that are specified based on the number of the individual test values that are the targets of the binary operation at the time and that are the packet information of the specified type and are transmitted from the main control unit The plurality of pieces of packet information used for generating the packet satisfy a predetermined correlation and are generated by the main control unit at each of a plurality of timings specified in advance. Whether or not the plurality of time information used for generating one or a plurality of time codes generated using a plurality of time information and transmitted by being added to a control command has continuity. Operation authentication means for authenticating continuity of operation of the main control unit based on the authentication result obtained by the individual authentication means or the operation authentication means is added to a control command and transmitted to the peripheral unit. Features.

さらにまた、上記課題を解決するために本発明の遊技機の周辺基板は、本発明の中間部及び前記周辺部が搭載されていることを特徴とする。   Furthermore, in order to solve the above problems, the peripheral board of the gaming machine of the present invention is characterized in that the intermediate portion of the present invention and the peripheral portion are mounted.

さらにまた、上記課題を解決するために本発明は、主制御部と、中間部と、周辺部とを備える遊技機で用いられる認証方法であって、前記主制御部が、データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する第1のステップと、前記主制御部が、前前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された前記複数のパケット情報を用いて一又は複数の同期コードを生成する第2のステップと、前記主制御部が、計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する第3のステップと、前記主制御部が、前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信する第4のステップと、前記中間部が、前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する第5のステップと、前記中間部が、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられたパケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしているか否かに基づいて前記主制御部の動作の継続性を認証する第6のステップと、前記中間部が、前記時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する第7のステップと、中間部が、前記第5のステップ、前記第6のステップ又は前記第7のステップで得られた認証結果を制御コマンドに付加して前記周辺部に送信する第8のステップとを有することを特徴とする。   Furthermore, in order to solve the above problems, the present invention provides an authentication method used in a gaming machine including a main control unit, an intermediate unit, and a peripheral unit, wherein the main control unit stores the data in the data storage means. A first step of dividing the predetermined data being performed, performing a binary operation satisfying a coupling rule using each of the divided data, and generating one or a plurality of individual test values; and the main control unit One packet based on the number of each divided data out of a plurality of types of packet information classified according to a correlation of generation timings of a plurality of packet information generated in accordance with the operation of the main control unit. Selecting a type of information, generating packet information at each of a plurality of generation timings according to the selected type, and generating one or a plurality of synchronization codes using the generated plurality of packet information Ste And a third step in which the main control unit counts time and generates one or a plurality of time codes using information on a plurality of timing times generated at each of a plurality of timings specified in advance. The main control unit adds the individual test value, the synchronization code, and the time code to a control command and transmits the fourth command to the intermediate unit, and the intermediate unit is added to the control command. The binomial calculation is performed using the individual test value, and the calculation result matches the calculation value obtained by performing the binary calculation using the predetermined data stored in the data storage means. The fifth step of authenticating the normality of the individual of the main control unit based on whether or not the intermediate unit is a target of the binary operation when the authentication of the individual of the main control unit is successful Based on the number of individual test values The type of packet information used for generating the synchronization code is specified, and the packet information of the specified type is used for generating the one or more synchronization codes transmitted from the main control unit. A sixth step of authenticating continuity of operation of the main control unit based on whether or not the plurality of pieces of packet information satisfy a predetermined correlation; and the intermediate unit is used for generation of the time code. A seventh step of authenticating continuity of the operation of the main control unit based on whether or not the information of the plurality of timed times obtained has continuity, and an intermediate unit includes the fifth step, And an eighth step of adding the authentication result obtained in the sixth step or the seventh step to the control command and transmitting it to the peripheral part.

さらにまた、上記課題を解決するために本発明のコンピュータ読み取り可能な認証プログラムは、制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機に搭載されるコンピュータに、前記主制御部が、データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する個体検査値生成機能と、前記主制御部が、前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された複数のパケット情報を用いて一又は複数の同期コードを生成する同期コード生成機能と、前記主制御部が、計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する時間コード生成機能と、前記主制御部が、前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信する個体検査値送信機能と、前記中間部が、前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する個体認証機能と、前記中間部が、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられたパケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、前記時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する動作認証機能と、前記中間部が、前記主制御部の個体の正規性の認証の認証結果又は前記主制御部の動作の継続性の認証の認証結果を制御コマンドに付加して前記周辺部に送信する認証結果送信機能とを実現させることを特徴とする。   Furthermore, in order to solve the above-described problem, a computer-readable authentication program according to the present invention includes a main control unit that outputs a control command, an intermediate unit, and a peripheral unit that performs processing according to the control command. In the computer mounted on the machine, the main control unit divides the predetermined data stored in the data storage means, performs binary operation satisfying the coupling law using each of the divided data, or An individual test value generation function for generating a plurality of individual test values and a plurality of types classified by a correlation of generation timings of a plurality of packet information generated in accordance with the operation of the main control unit From the packet information, one packet information type is selected based on the number of each divided data, and the packet is generated at each of a plurality of generation timings corresponding to the selected type. A synchronization code generation function that generates information and generates one or a plurality of synchronization codes using the generated plurality of packet information, and the main control unit performs time measurement at each of a plurality of timings specified in advance. A time code generation function that generates one or a plurality of time codes using information on a plurality of generated timekeeping times, and the main control unit adds the individual test value, the synchronization code, and the time code to a control command The individual test value transmission function for transmitting to the intermediate unit, and the intermediate unit performs the binary operation using the individual test value added to the control command, and the calculation result and the data storage means An individual authentication function for authenticating the normality of the individual of the main control unit based on whether or not the calculated value obtained by performing the binary operation using the predetermined data stored in The type of packet information used for generating the synchronization code based on the number of the individual test values subjected to the binary operation when the intermediate unit succeeds in authenticating the individual of the main control unit And the plurality of pieces of packet information used for generating the one or more synchronization codes transmitted from the main control unit satisfy a predetermined correlation. And an operation authentication function for authenticating continuity of operation of the main control unit based on whether or not the information of the plurality of time measuring times used for generating the time code has continuity, and the intermediate An authentication result transmission function, wherein the unit adds an authentication result of authentication of normality of the individual of the main control unit or an authentication result of authentication of continuity of operation of the main control unit to a control command and transmits the result to the peripheral unit; Specialized in realizing It is a sign.

本発明によれば、遊技機の正規の主制御基板と不正な主制御基板との交換等による不正行為や遊技機の誤動作を検知でき、周辺部のCPUの処理負荷を軽減することができる。   According to the present invention, it is possible to detect fraudulent acts due to replacement of a regular main control board and an unauthorized main control board of a gaming machine or malfunction of the gaming machine, and to reduce the processing load on the peripheral CPU.

具体的には、本発明によれば、主制御部は、個体検査値生成手段がデータ記憶手段に記憶されている所定のデータを用いて得た個体検査値を制御コマンドに付加して中間部に送信し、中間部は、主制御部のデータ記憶手段に記憶されている所定のデータを用いて2項演算を行って得られた演算値と、所定の制御コマンドに付加された個体検査値を用いて2項演算を行って得られた演算結果とが一致するか否かに基づいて主制御部を認証する。これにより、上記不正行為や遊技機の誤動作を検知することができ、遊技者に不当に多くの遊技媒体が払い出され、遊技店が多大な損害を被ることを防止できる。   Specifically, according to the present invention, the main control unit adds the individual test value obtained by the individual test value generation unit using the predetermined data stored in the data storage unit to the control command, And the intermediate unit calculates an arithmetic value obtained by performing a binary operation using predetermined data stored in the data storage means of the main control unit, and an individual test value added to the predetermined control command Is used to authenticate the main control unit based on whether or not the calculation result obtained by performing the binary operation is identical. As a result, it is possible to detect the above-mentioned fraud and malfunction of the gaming machine, and it is possible to prevent the game store from being damaged due to an unreasonable amount of game media being paid out to the player.

また、本発明によれば、認証処理は、中間部のみが実行するので、周辺部を構成するCPUの処理負荷の増大を抑制することができる。このため、周辺部の処理速度が低下し、演出のための表示がスムーズに行われないなどの問題の発生を防止することができる。   Further, according to the present invention, since the authentication process is executed only by the intermediate part, it is possible to suppress an increase in the processing load of the CPU constituting the peripheral part. For this reason, it is possible to prevent the occurrence of problems such as the processing speed of the peripheral portion being reduced and the display for production not being performed smoothly.

さらに、本発明によれば、認証処理を実行する中間部と、所定の処理を行う周辺部とが別個独立しているため、認証用のプログラムと所定の処理用のプログラムとは別個に設計することができる。これにより、所定の処理を行う周辺部の演出処理に認証機能を追加する場合と比較して、認証機能を追加するタイミングの設計・機能の実装・機能の検証などをより簡単に、少ない作業工数で実現することができる。また、認証用のプログラム及び所定の処理用のプログラムの構成が比較的簡単となるため、他の機能と整合性を保つことが容易となる。   Furthermore, according to the present invention, since the intermediate unit that executes the authentication process and the peripheral unit that performs the predetermined process are independent of each other, the authentication program and the predetermined process program are designed separately. be able to. This makes it easier to design the timing for adding the authentication function, implement the function, verify the function, etc., compared to the case where the authentication function is added to the peripheral processing that performs the predetermined process Can be realized. In addition, since the configuration of the authentication program and the predetermined processing program is relatively simple, it is easy to maintain consistency with other functions.

さらにまた、本発明によれば、遊技機の機種ごとに所定の処理が異なる場合であっても、認証処理は共通化が可能であるため、遊技機の機種ごとのプログラム設計が容易であり、設計時間の短縮化を図ることができるとともに、作業効率が向上する。   Furthermore, according to the present invention, even if the predetermined processing is different for each gaming machine model, the authentication process can be shared, so that the program design for each gaming machine model is easy, Design time can be shortened and work efficiency can be improved.

さらにまた、本発明によれば、認証用の認証アルゴリズムを変更する場合、所定の処理を行う周辺部を変更しなくても、中間部の認証用プログラムのみを変更すればよく、これにより、少ない作業工数で認証アルゴリズムの変更などを実現することができる。   Furthermore, according to the present invention, when the authentication algorithm for authentication is changed, it is only necessary to change the authentication program in the intermediate part without changing the peripheral part for performing the predetermined processing, thereby reducing the number of authentication algorithms. The authentication algorithm can be changed by man-hours.

さらにまた、本発明によれば、主制御部は、個体検査値を生成するために所定のデータを分割した分割後の各データの数(分割数)に基づいて同期コードを生成するために用いるパケット情報の種類を選択する。また、中間部は、個体検査値の数に基づいて同期コードを生成するために用いられたパケット情報の種類を特定する。分割数は主制御部のみが知る値であるので、不正行為者は、同期コードの生成に用いられたパケット情報の種類を特定することができない。このため、不正行為者が同期コードを不正に生成することを防止して、主制御部と中間部との間の認証処理の強度を向上させることができるとともに、上記不正行為及び遊技機の誤動作を検知することができる。   Furthermore, according to the present invention, the main control unit is used to generate a synchronization code based on the number of divided data (number of divisions) obtained by dividing predetermined data in order to generate individual test values. Select the type of packet information. Further, the intermediate unit specifies the type of packet information used for generating the synchronization code based on the number of individual test values. Since the division number is a value that only the main control unit knows, the fraudster cannot specify the type of packet information used for generating the synchronization code. For this reason, it is possible to prevent unauthorized persons from generating the synchronization code illegally, and to improve the strength of the authentication process between the main control unit and the intermediate unit. Can be detected.

さらにまた、本発明によれば、中間部は、同期コードおよび時間コードの2種類のコードを用いて主制御部の動作順序を認証する。2種類のコードを用いて二重に認証処理を行うことにより、認証の強度を向上させ、不正な制御コマンドによる不正な処理が実行されるのを防止することができる。また、主制御部の動作順序を認証することによって、主制御部の動作の連続性を認証することができ、例えば信号切替回路などを搭載した不正な制御基板を検知することができる。   Furthermore, according to the present invention, the intermediate unit authenticates the operation order of the main control unit using two types of codes, a synchronization code and a time code. By performing authentication processing twice using two types of codes, it is possible to improve the strength of authentication and prevent execution of unauthorized processing by an unauthorized control command. Further, by authenticating the operation sequence of the main control unit, it is possible to authenticate the continuity of the operation of the main control unit, and for example, it is possible to detect an unauthorized control board equipped with a signal switching circuit or the like.

本発明の実施の形態1に係るパチンコ遊技機の構成を示すブロック図である。1 is a block diagram showing a configuration of a pachinko gaming machine according to Embodiment 1 of the present invention. 本発明の実施の形態1に係るパチンコ遊技機の外観構成を示す正面図である。It is a front view which shows the external appearance structure of the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機の電気的構成を示すブロック図である。1 is a block diagram showing an electrical configuration of a pachinko gaming machine according to Embodiment 1 of the present invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部における個体検査値の生成方法を模式的に示す説明図である。It is explanatory drawing which shows typically the production | generation method of the individual test value in the main control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部におけるパケット情報の選択方法の一例を模式的に示す図である。It is a figure which shows typically an example of the selection method of the packet information in the main control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部が出力する制御信号のデータフォーマットの一例を模式的に示す図である。It is a figure which shows typically an example of the data format of the control signal which the main control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention outputs. 本発明の実施の形態1に係るパチンコ遊技機を構成する中間部が出力する制御信号のデータフォーマットの一例を模式的に示す図である。It is a figure which shows typically an example of the data format of the control signal which the intermediate part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention outputs. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部による中間部及び賞球制御部へのコマンド送信を含む処理を示すフローチャートである。It is a flowchart which shows the process including the command transmission to the intermediate | middle part and prize ball control part by the main control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部による中間部及び賞球制御部へのコマンド送信を含む処理を示すフローチャートである。It is a flowchart which shows the process including the command transmission to the intermediate | middle part and prize ball control part by the main control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 大当たり関連コマンドの送信タイミングの一例を示すタイミングチャートである。It is a timing chart which shows an example of the transmission timing of a jackpot related command. 本発明の実施の形態1に係るパチンコ遊技機を構成する演出制御部による図柄変動処理を示すフローチャートである。It is a flowchart which shows the symbol variation process by the production | presentation control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する演出制御部による大当たり時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of the big hit by the production | presentation control part which comprises the pachinko game machine concerning Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成するランプ制御部によるランプ制御処理を示すフローチャートである。It is a flowchart which shows the lamp control processing by the lamp control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部による認証に関する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process regarding the authentication by the main control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する中間部による認証に関する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process regarding the authentication by the intermediate part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する演出制御部による認証に関する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process regarding the authentication by the production | presentation control part which comprises the pachinko game machine which concerns on Embodiment 1 of this invention. 本発明の実施の形態1に係るパチンコ遊技機を構成する主制御部(被認証者)及び中間部(認証者)がそれぞれ実行する処理の相互関係の一例を示す処理シーケンスである。It is a processing sequence which shows an example of the mutual relationship of the process which the main control part (authenticated person) and intermediate part (authenticator) which comprise the pachinko game machine which concerns on Embodiment 1 of this invention perform, respectively. 本発明の実施の形態2に係るパチンコ遊技機を構成する主制御部による認証に関する処理の一例を示すフローチャートである。It is a flowchart which shows an example of the process regarding the authentication by the main control part which comprises the pachinko game machine which concerns on Embodiment 2 of this invention. 本発明の実施の形態2に係るパチンコ遊技機を構成する主制御部(被認証者)及び中間部(認証者)がそれぞれ実行する処理の相互関係の一例を示す処理シーケンスである。It is a process sequence which shows an example of the mutual relationship of the process which the main control part (authenticated person) and intermediate part (authenticator) which comprise the pachinko game machine which concerns on Embodiment 2 of this invention respectively perform.

<実施の形態1>
以下、図面を参照して本発明を実施するための形態である実施の形態1について説明する。
図1は、本発明の実施の形態1に係る遊技機1の構成を示すブロック図である。この遊技機1は、主制御部10と、中間部20と、周辺部30とを備えている。主制御部10は、データ記憶手段11と、決定手段12と、個体検査値生成手段13と、同期コード生成手段14と、時間コード生成手段15とを備えている。データ記憶手段11には、主制御部10で用いられるプログラム等のデータが記憶されている。決定手段12は、データ記憶手段11に記憶されているデータのうち所定のデータを分割する数である分割数を決定する。ここで、所定のデータとは、データ記憶手段11に記憶されているデータの全部又は一部である。個体検査値生成手段13は、主制御部10の正規性を認証するために用いる個体検査値を生成する。具体的には、個体検査値生成手段13は、データ記憶手段11に記憶されている所定のデータを決定手段12が決定した分割数で分割し、分割された各データに対して結合法則を満たす2項演算(例えば、加算、乗算、排他的論理和)を行って、分割数分(分割数と同数)の個体検査値を生成する。
<Embodiment 1>
Hereinafter, Embodiment 1 which is a form for implementing this invention with reference to drawings is demonstrated.
FIG. 1 is a block diagram showing a configuration of a gaming machine 1 according to Embodiment 1 of the present invention. This gaming machine 1 includes a main control unit 10, an intermediate unit 20, and a peripheral unit 30. The main control unit 10 includes data storage means 11, determination means 12, individual test value generation means 13, synchronization code generation means 14, and time code generation means 15. Data such as a program used in the main control unit 10 is stored in the data storage unit 11. The determination unit 12 determines the number of divisions that is the number of predetermined data among the data stored in the data storage unit 11. Here, the predetermined data is all or a part of the data stored in the data storage unit 11. The individual test value generation unit 13 generates an individual test value used for authenticating the normality of the main control unit 10. Specifically, the individual test value generation unit 13 divides predetermined data stored in the data storage unit 11 by the number of divisions determined by the determination unit 12, and satisfies the combination rule for each divided data. Binary operation (for example, addition, multiplication, exclusive OR) is performed to generate individual test values for the number of divisions (the same number as the number of divisions).

同期コード生成手段14は、主制御部10の動作順序を確認するための動作認証データ(動作検査値)として、主制御部10の動作に伴って生成されるパケット情報を含んだ同期コードを生成する。同期コードは、主制御部10による制御コマンドの送信が継続して実行されていることを確認するための情報である。また、同期コード生成手段14は、個体検査値生成手段13によって生成された個体検査値の数(決定手段13によって決定された分割数)に基づいて、複数種類のパケット情報から同期コードの生成に用いるパケット情報の種類を選択する。なお、パケット情報の種類は、連続して生成された二つのパケット情報間の相関関係によって定まる。   The synchronization code generation unit 14 generates a synchronization code including packet information generated along with the operation of the main control unit 10 as operation authentication data (operation inspection value) for confirming the operation sequence of the main control unit 10. To do. The synchronization code is information for confirming that transmission of a control command by the main control unit 10 is continuously executed. In addition, the synchronization code generation unit 14 generates a synchronization code from a plurality of types of packet information based on the number of individual test values generated by the individual test value generation unit 13 (the number of divisions determined by the determination unit 13). Select the type of packet information to be used. Note that the type of packet information is determined by the correlation between two pieces of packet information generated successively.

時間コード生成手段15は、他の手段から独立して計時を行い、予め指定されたタイミングで取得した計時時間の情報(以下、計時情報という)を含んだ時間コードを動作認証データとして生成する。時間コードは、主制御部10による制御コマンドの送信が継続して実行されていることを確認するための情報である。具体的には、時間コードは、例えば、計時情報からある基準値を設定し、この基準値からの差分値や、累積値などによって表される。この場合、時間コードは、基準値からの経過時間を示す情報である。また、単に、計時情報をそのまま時間コードとすることもできる。   The time code generation means 15 performs time measurement independently of other means, and generates a time code including time information (hereinafter referred to as time information) acquired at a predetermined timing as operation authentication data. The time code is information for confirming that transmission of the control command by the main control unit 10 is continuously executed. Specifically, the time code is expressed by, for example, setting a certain reference value from timekeeping information, a difference value from this reference value, a cumulative value, and the like. In this case, the time code is information indicating an elapsed time from the reference value. Further, the time information can be simply used as the time code.

そして、主制御部10は、生成された分割数分の個体検査値に暗号化処理を施して得られた分割数分の個体認証データのそれぞれと、同期コードと、時間コードとを、出力する制御コマンドに付加して中間部20に送信する。   Then, the main control unit 10 outputs the individual authentication data for the number of divisions obtained by performing the encryption process on the generated individual test values for the number of divisions, the synchronization code, and the time code. It is added to the control command and transmitted to the intermediate unit 20.

一方、中間部20は、演算値記憶手段21と、個体認証手段22と、動作認証手段23とを備えている。演算値記憶手段21には、主制御部10を構成するデータ記憶手段11に記憶されている所定のデータを用いて2項演算を行って得られた演算値(以下、個体認証用期待値という)が予め記憶されている。   On the other hand, the intermediate unit 20 includes a calculation value storage unit 21, an individual authentication unit 22, and an operation authentication unit 23. The calculated value storage means 21 is a calculated value obtained by performing a binary operation using predetermined data stored in the data storage means 11 constituting the main control unit 10 (hereinafter referred to as an individual authentication expected value). ) Is stored in advance.

個体認証手段22は、制御コマンドに付加されて送信された個体検査値に対して上記結合法則を満たす2項演算を行い、この演算結果と、演算値記憶手段21に記憶されている個体認証用期待値とが一致するか否かに基づいて主制御部10を搭載する主制御基板の個体を認証(個体認証)することにより、主制御部10を搭載する主制御基板が正規な主制御基板か否か、すなわち主制御基板(主制御部)の正規性を認証する。   The individual authentication means 22 performs a binary operation satisfying the above-mentioned combination rule on the individual inspection value added to the control command and transmits the result of the calculation and the individual authentication value stored in the operation value storage means 21. The main control board on which the main control unit 10 is mounted is a normal main control board by authenticating the individual of the main control board on which the main control unit 10 is mounted (individual authentication) based on whether or not the expected value matches. Whether the main control board (main control unit) is normal.

動作認証手段23は、同期コード及び時間コードを用いて主制御部10の動作順序を認証(動作認証)する。動作認証手段23は、同期コードを用いて主制御部10の動作認証を行う際、個体認証手段22による個体認証が成功したときの個体検査値の数(結合数)に基づいて同期コードの生成に用いられたパケット情報の種類を特定して動作認証を行う。   The operation authentication means 23 authenticates the operation sequence of the main control unit 10 (operation authentication) using the synchronization code and the time code. When performing the operation authentication of the main control unit 10 using the synchronization code, the operation authentication unit 23 generates a synchronization code based on the number of individual test values (the number of connections) when the individual authentication by the individual authentication unit 22 is successful. The operation authentication is performed by specifying the type of packet information used in the above.

そして、中間部20は、個体認証手段22又は動作認証手段23が得た認証結果を制御コマンドに付加して周辺部30に送信する。これにより、周辺部30は、制御コマンドに付加された認証結果に応じた処理を行う。   Then, the intermediate unit 20 adds the authentication result obtained by the individual authentication unit 22 or the operation authentication unit 23 to the control command and transmits it to the peripheral unit 30. Thereby, the peripheral part 30 performs the process according to the authentication result added to the control command.

図2は、本発明の実施の形態1に係る遊技機の1つであるパチンコ遊技機1の外観構成を示す正面図である。また、図3は、図2に示すパチンコ遊技機1の電気的構成を示すブロック図である。   FIG. 2 is a front view showing an external configuration of the pachinko gaming machine 1 which is one of the gaming machines according to Embodiment 1 of the present invention. FIG. 3 is a block diagram showing an electrical configuration of the pachinko gaming machine 1 shown in FIG.

本実施の形態1に係るパチンコ遊技機1は、遊技盤101を備えている。遊技盤101の図2において右下方であって、枠部材110の右下部には、遊技者によって操作され、発射部292(図3参照)を作動させるための操作ハンドル113が設けられている。操作ハンドル113は、遊技者側に突出する形状を呈している。操作ハンドル113は、発射部292を作動させて遊技球を発射させる発射指示部材114を備えている。発射指示部材114は、操作ハンドル113の外周部において、遊技者から見て右回りに回転可能に設けられている。発射部292は、発射指示部材114が遊技者によって直接操作されている場合に、遊技球を発射させる。公知の技術であるため説明を省略するが、操作ハンドル113には、遊技者が発射指示部材114を直接操作していることを検出するセンサなどが設けられている。   The pachinko gaming machine 1 according to the first embodiment includes a game board 101. An operation handle 113 is provided on the lower right side of the game board 101 in FIG. 2 and at the lower right side of the frame member 110 to be operated by the player and actuate the launcher 292 (see FIG. 3). The operation handle 113 has a shape protruding to the player side. The operation handle 113 includes a firing instruction member 114 that activates the launching portion 292 to launch a game ball. The firing instruction member 114 is provided on the outer peripheral portion of the operation handle 113 so as to rotate clockwise as viewed from the player. The firing unit 292 causes the game ball to be fired when the firing instruction member 114 is directly operated by the player. Although not described because it is a known technique, the operation handle 113 is provided with a sensor that detects that the player directly operates the firing instruction member 114.

発射部292の作動によって発射された遊技球は、レール102a,102b間を上昇して遊技盤101の上部位置に達した後、遊技領域103内を落下する。遊技領域103には、複数の釘(図示略)や、遊技球の落下方向を変化させる風車(図示略)や、入球口が配設されており、遊技球を各種の方向に向けて落下させるようにしている。ここで、「入球口」は、いずれも後述する第1始動口105、第2始動口120、普通入賞口107、第1大入賞口109c、第2大入賞口129cの総称である。   The game ball launched by the operation of the launch unit 292 rises between the rails 102 a and 102 b and reaches the upper position of the game board 101, and then falls within the game area 103. The game area 103 is provided with a plurality of nails (not shown), a windmill (not shown) that changes the falling direction of the game ball, and a entrance, so that the game ball falls in various directions. I try to let them. Here, the “ball entry” is a general term for a first start opening 105, a second start opening 120, a normal winning opening 107, a first large winning opening 109c, and a second large winning opening 129c, which will be described later.

遊技盤101の略中央部分には、図柄表示部104が配置されている。図柄表示部104は、例えば、液晶ディスプレイ(LCD)やプラズマディスプレイパネル(PDP)等のディスプレイを有している。図柄表示部104の下方には、遊技領域103に向けて打ち込まれた遊技球を受入れ可能な第1始動口105が配置されている。第1始動口105の下方には、第2始動口120が配置されている。第2始動口120は、一対の可動片(図示略)が閉状態であるときは遊技球を受け入れることが不可能又は受け入れ困難となっており、この一対の可動片が開状態であるときは、第1始動口105よりも遊技球の受け入れが容易となる。   A symbol display unit 104 is disposed at a substantially central portion of the game board 101. The symbol display unit 104 includes a display such as a liquid crystal display (LCD) or a plasma display panel (PDP), for example. Below the symbol display unit 104, a first start port 105 capable of receiving a game ball driven toward the game area 103 is disposed. A second start port 120 is disposed below the first start port 105. When the pair of movable pieces (not shown) is in the closed state, the second starter port 120 is unable to accept the game ball or is difficult to accept, and when the pair of movable pieces is in the open state. The game ball can be received more easily than the first starting port 105.

また、図柄表示部104の左側には、入賞ゲート106が配設されている。入賞ゲート106は、遊技球の通過を検出し、第2始動口120を一定時間だけ開放させる普通図柄の抽選を行うために設けられている。図柄表示部104の左側部や下方等には、複数の普通入賞口107が配設されている。各普通入賞口107に遊技球が入球すると、所定の賞球数(例えば、10個)の払い出しが行われる。遊技領域103の最下部には、どの入球口にも入球しなかった遊技球を回収する回収口108が設けられている。   A winning gate 106 is arranged on the left side of the symbol display unit 104. The winning gate 106 is provided to detect the passing of a game ball and to draw a normal symbol for opening the second start port 120 for a predetermined time. A plurality of normal winning holes 107 are arranged on the left side or the lower side of the symbol display unit 104. When a game ball enters each normal winning port 107, a predetermined number of winning balls (for example, 10) is paid out. At the bottom of the game area 103, a collection port 108 is provided for collecting game balls that have not entered any of the entrances.

図柄表示部104は、後述する演出制御部203(図3参照)から第1始動口105又は第2始動口120に遊技球が入球したことが報知されたときに、複数の装飾図柄の変動表示を開始し、所定時間経過後に当該装飾図柄の変動を停止させる。この停止時に特定図柄(例えば、「777」)が揃うと、遊技者は第1大当たり遊技(長当たり遊技)を実行する権利を獲得したこととなり、その後、第1大当たり遊技(長当たり遊技)が開始される。第1大当たり遊技(長当たり遊技)が開始されると、遊技領域103の下方に位置する第1大入賞口開閉装置109における第1大入賞口開閉扉109aが、一定の期間開放する動作を所定回数(例えば、15回)繰り返し、入球した遊技球に対応する賞球が払い出される。   When the symbol display unit 104 is notified that a game ball has entered the first starting port 105 or the second starting port 120 from an effect control unit 203 (see FIG. 3), which will be described later, a plurality of decorative symbols change. The display is started, and the change of the decorative design is stopped after a predetermined time. When specific symbols (for example, “777”) are prepared at the time of the stop, the player has acquired the right to execute the first jackpot game (game per long), and then the first jackpot game (long game) is obtained. Be started. When the first big winning game (long winning game) is started, the first big winning opening opening / closing door 109a in the first big winning opening / closing device 109 located below the gaming area 103 is opened for a predetermined period of time. Repeated a number of times (for example, 15 times), the winning ball corresponding to the game ball that has entered is paid out.

一方、図柄表示部104における上記装飾図柄の停止時に上記特定図柄とは別の特定図柄(例えば、「737」)が揃うと、遊技者は第2大当たり遊技(短当たり遊技)を実行する権利を獲得したこととなり、その後、第2大当たり遊技(短当たり遊技)が開始される。第2大当たり遊技(短当たり遊技)が開始されると、第1大入賞口開閉装置109の右斜め上方に位置する第2大入賞口開閉装置129における第2大入賞口開閉扉129aが、第1大入賞口開閉扉109aの開閉動作に比して短い時間にて一定の期間開放する動作を所定回数(例えば、15回)繰り返し、入球した遊技球がある場合、これに対応する賞球が払い出される。   On the other hand, when the specific symbol (for example, “737”) different from the specific symbol is prepared when the decorative symbol is stopped in the symbol display unit 104, the player has the right to execute the second big hit game (short win game). After that, the second big hit game (short win game) is started. When the second big win game (short win game) is started, the second big prize opening / closing door 129a in the second big prize opening / closing device 129 located diagonally right above the first big prize opening / closing device 109 is If there is a game ball that has been entered by repeating a predetermined number of times (for example, 15 times) the operation of opening for a certain period of time in a short time compared to the opening / closing operation of the one big winning opening opening / closing door 109a, the corresponding prize ball Will be paid out.

また、遊技盤101の遊技領域103の外周には、枠部材110が設けられ、開口部から遊技領域103が遊技者側に露出している。枠部材110は、遊技者側に突出する形状を呈している。枠部材110において、遊技領域103の左上部及び右下部には、演出ライト(ランプユニット)111a及び111bがそれぞれ設けられている。各演出ライト111a及び111bは、複数のライト112を備えている。各演出ライト111a及び111bは、上下駆動モータ(図示略)でそれぞれ駆動されることにより、それぞれが備える複数のライト112から照射される光の方向を上下方向、すなわち、パチンコ遊技機1の正面にいる遊技者の頭部と腹部を結ぶ方向に平行な方向に変更可能に構成されている。   A frame member 110 is provided on the outer periphery of the game area 103 of the game board 101, and the game area 103 is exposed to the player side through the opening. The frame member 110 has a shape protruding toward the player side. In the frame member 110, effect lights (lamp units) 111a and 111b are provided at the upper left and lower right of the game area 103, respectively. Each effect light 111 a and 111 b includes a plurality of lights 112. Each effect light 111a and 111b is driven by a vertical drive motor (not shown), so that the direction of the light emitted from the plurality of lights 112 provided in the vertical direction is the vertical direction, that is, the front of the pachinko gaming machine 1. It can be changed in a direction parallel to the direction connecting the head and abdomen of the player.

また、各ライト112は、各演出ライト111a及び111bを構成する回転駆動モータ(図示略)で駆動されることにより、それぞれ所定半径を有する円の円周方向に移動する。上記構成により、各ライト112から照射された光を回転移動させつつ、各演出ライト111a及び111b全体から照射された光を上下移動させる演出を行うことができる。さらに、枠部材110の下部には、遊技球が供給される受け皿ユニット119が設けられている。この受け皿ユニット119には、貸し玉装置(図示略)から貸し出される遊技球が供給される。   Each light 112 is driven by a rotational drive motor (not shown) constituting each effect light 111a and 111b, and thereby moves in the circumferential direction of a circle having a predetermined radius. With the configuration described above, it is possible to perform an effect of moving the light irradiated from the entire effect lights 111a and 111b up and down while rotating the light irradiated from each light 112. Furthermore, a tray unit 119 to which game balls are supplied is provided at the lower part of the frame member 110. The tray unit 119 is supplied with game balls lent out from a rental ball device (not shown).

図2において、図柄表示部104の右側には、演出用の役物(以下、「演出役物」という)115が設けられている。演出役物115は、キャラクターとして人間の上半身(特に頭部)を模式的に表している。演出役物115は、キャラクターの瞼部116を開閉して、キャラクターが瞬きをするが如くに、瞼部116を上下方向に沿って移動可能に設けられている。また、演出役物115は、キャラクターの頭部を左右方向に移動可能に設けられている。   In FIG. 2, on the right side of the symbol display unit 104, an effect for the effect (hereinafter referred to as “effect effect”) 115 is provided. The director character 115 schematically represents the upper body (particularly the head) of a human as a character. The director 115 is provided so as to move the heel part 116 in the vertical direction as if the character blinks by opening and closing the heel part 116 of the character. Further, the director 115 is provided so that the head of the character can be moved in the left-right direction.

また、枠部材110において、操作ハンドル113の左側には、遊技者により操作されるチャンスボタン117が設けられている。チャンスボタン117の操作は、例えば、遊技中における特定のリーチ演出に際し、チャンスボタン117の操作を促すガイダンスが表示されている間だけ有効となる。   In the frame member 110, a chance button 117 operated by the player is provided on the left side of the operation handle 113. The operation of the chance button 117 is effective only while guidance for prompting the operation of the chance button 117 is displayed, for example, in the case of a specific reach effect during a game.

加えて、枠部材110には、演出効果音又は不正を知らしめる音響を出力するスピーカ277(図3参照)が組み込まれている。このスピーカ277は、高音・中音・低音の領域を出力できるタイプのものであり、通常演出時は高音・中音・低音をバランスよく出力するが、例えば、特別演出時又は不正等があった場合には、周りによく聞こえるように高音領域を高く出力するように制御される。   In addition, the frame member 110 incorporates a speaker 277 (see FIG. 3) that outputs a production effect sound or a sound that informs fraud. This speaker 277 is of a type that can output high, medium, and low sound areas, and outputs a high sound, medium sound, and low sound in a well-balanced manner during normal production. In such a case, control is performed to output a high sound region high so that the sound can be heard well around.

次に、本発明の実施の形態1に係るパチンコ遊技機1の電気的構成について、図3に示すブロック図を参照して説明する。パチンコ遊技機1は、電気的な構成上は、制御手段200に、第1始動口検出部221等の各種検出手段や、図柄表示部104等の各種演出手段、役物作動装置231、払出部291、発射部292などが接続されて構成されている。制御手段200は、図3に示す例では、主制御部10と、中間部20と、演出制御部203と、賞球制御部204と、ランプ制御部205とから構成されている。   Next, the electrical configuration of the pachinko gaming machine 1 according to Embodiment 1 of the present invention will be described with reference to the block diagram shown in FIG. In terms of electrical configuration, the pachinko gaming machine 1 has a control means 200, various detection means such as a first start port detection unit 221, various presentation means such as a symbol display unit 104, an accessory operating device 231 and a payout unit. 291 and a launching unit 292 are connected to each other. In the example shown in FIG. 3, the control unit 200 includes a main control unit 10, an intermediate unit 20, an effect control unit 203, a prize ball control unit 204, and a lamp control unit 205.

≪主制御部≫
主制御部10は、CPU10aと、ROM10bと、RAM10cと、カウンタ回路(タイマ)(図示略)等を備えている。CPU10aは、パチンコ遊技機1の遊技に係る基本動作を制御し、ROM10bに予め記憶されているプログラム(プログラムコード)に基づき、遊技内容の進行に伴う基本処理を実行する。ROM10bには、CPU10aがパチンコ遊技機1の遊技内容の進行に伴う基本処理を実行するためのプログラムコードが予め記憶されている。ROM10bの全部又は一部は、例えば、図1に示すデータ記憶手段11に対応させることができる。RAM10cは、CPU10aがパチンコ遊技機1の遊技内容の進行に伴う基本処理を実行する際に行う演算処理において、データ等のワークエリアとして機能する。カウンタ回路(タイマ)は、経過時間をカウントする。
この主制御部10では、第1始動口105又は第2始動口120への遊技球の入球を契機として、大当たりの抽選を行うとともに、この抽選結果に基づいて、ROM10bに記憶されている演出に係わるコマンドの選択を行う。
≪Main control part≫
The main control unit 10 includes a CPU 10a, a ROM 10b, a RAM 10c, a counter circuit (timer) (not shown), and the like. The CPU 10a controls basic operations related to the game of the pachinko gaming machine 1, and executes basic processing accompanying the progress of game contents based on a program (program code) stored in advance in the ROM 10b. In the ROM 10b, a program code for the CPU 10a to execute basic processing accompanying the progress of game contents of the pachinko gaming machine 1 is stored in advance. All or a part of the ROM 10b can correspond to, for example, the data storage unit 11 shown in FIG. The RAM 10c functions as a work area for data and the like in arithmetic processing performed when the CPU 10a executes basic processing accompanying the progress of game contents of the pachinko gaming machine 1. The counter circuit (timer) counts elapsed time.
The main control unit 10 performs a jackpot lottery when a game ball enters the first starting port 105 or the second starting port 120, and based on the lottery result, the effect stored in the ROM 10b. Select the command related to.

主制御部10の入力側には、第1始動口検出部221と、第2始動口検出部225と、ゲート検出部222と、普通入賞口検出部223と、第1大入賞口検出部214と、第2大入賞口検出部224とが接続されている。第1始動口検出部221は、第1始動口105に遊技球が入球したことを検出して検出結果を主制御部10に送信する。第2始動口検出部225は、第2始動口120に遊技球が入球したことを検出して検出結果を主制御部10に送信する。ゲート検出部222は、入賞ゲート106を遊技球が通過したことを検出して検出結果を主制御部10に送信する。普通入賞口検出部223は、普通入賞口107に入球した遊技球を検出して検出結果を主制御部10に送信する。第1大入賞口検出部214は、第1大入賞口109cに入球した遊技球を検出して検出結果を主制御部10に送信する。第2大入賞口検出部224は、第2大入賞口129cに入球した遊技球を検出して検出結果を主制御部10に送信する。上記各検出部は、例えば、近接スイッチなどを用いて構成することができる。   On the input side of the main control unit 10, a first start port detection unit 221, a second start port detection unit 225, a gate detection unit 222, a normal winning port detection unit 223, and a first big winning port detection unit 214. Are connected to the second grand prize opening detection unit 224. The first start port detection unit 221 detects that a game ball has entered the first start port 105 and transmits the detection result to the main control unit 10. The second start port detection unit 225 detects that a game ball has entered the second start port 120 and transmits the detection result to the main control unit 10. The gate detection unit 222 detects that the game ball has passed through the winning gate 106 and transmits the detection result to the main control unit 10. The normal winning opening detection unit 223 detects a game ball that has entered the normal winning opening 107 and transmits a detection result to the main control unit 10. The first grand prize opening detection unit 214 detects a game ball that has entered the first big prize opening 109c and transmits the detection result to the main control unit 10. The second grand prize winning port detection unit 224 detects a game ball that has entered the second grand prize winning port 129 c and transmits the detection result to the main control unit 10. Each said detection part can be comprised using a proximity switch etc., for example.

また、この主制御部10の出力側には、役物作動装置231が接続されている。本実施の形態1では、役物作動装置231は、第1大入賞口開閉扉109a及び第2大入賞口開閉扉129aをそれぞれ開閉させる第1大入賞口開閉ソレノイド109b及び第2大入賞口開閉ソレノイド129bと、第2始動口120を開閉させる第2始動口開閉ソレノイド120bとから構成されている。   Further, an accessory operating device 231 is connected to the output side of the main control unit 10. In the first embodiment, the accessory actuating device 231 opens and closes the first big prize opening opening / closing solenoid 109b and the second big prize opening opening / closing door 109a and the second big prize opening opening / closing door 129a, respectively. A solenoid 129b and a second start port opening / closing solenoid 120b for opening and closing the second start port 120 are configured.

役物作動装置231は、主制御部10によって制御され、長当たり遊技時に、第1大入賞口開閉ソレノイド109bを通電して第1大入賞口開閉扉109aを開放したり、短当たり遊技及び小当たり遊技時に、第2大入賞口開閉ソレノイド129bを通電して第2大入賞口開閉扉129aを開放したり、また、上記普通図柄の当選によって第2始動口開閉ソレノイド120bを通電して第2始動口120を開閉したりする。   The accessory actuating device 231 is controlled by the main control unit 10 and energizes the first big prize opening / closing solenoid 109b to open the first big prize opening opening / closing door 109a or play a short hit game and small game during long play. During the winning game, the second big prize opening / closing solenoid 129b is energized to open the second big prize opening / closing door 129a, or the second starting opening / closing solenoid 120b is energized by the winning of the above normal symbol. Opening and closing the start port 120.

また、主制御部10は、以上概略説明した、パチンコ遊技機1の遊技に係る基本動作制御の他、本実施の形態1の特徴である、不正防止のために主制御部10の認証に関する処理を実行する手段を備えている。この認証に関する処理を実行する手段は、CPU10aがROM10bに予め記憶されているプログラム(プログラムコード)を実行することにより実現される。この認証に関する処理は、以下に示す[1]〜[5]の通りであるが、[3]に示す暗号化処理については必要に応じて実行される。   In addition to the basic operation control related to the game of the pachinko gaming machine 1 as outlined above, the main control unit 10 is a process related to authentication of the main control unit 10 for preventing fraud, which is a feature of the first embodiment. Means for executing. The means for executing the processing relating to the authentication is realized by the CPU 10a executing a program (program code) stored in advance in the ROM 10b. The processing related to this authentication is as described in [1] to [5] below, but the encryption processing shown in [3] is executed as necessary.

[1]分割数の決定
主制御部10は、ROM10bに予め記憶されている所定のデータ、例えば、所定のプログラムコード(命令コードや固定データ)を分割する数である分割数を決定する。以下、所定のデータの一例として、所定のプログラムコードを用いて説明する。主制御部10は、例えば、乱数生成回路(図示略)や上記プログラムコードを構成する乱数生成プログラムによって生成された値を分割数としたり、主制御部10の他の処理において生成される値を所定のタイミングで参照し、その値を分割数としたりすることができる。この場合、分割数の上限を予め設定しておいてもよい。上記分割数を決定する処理を実行する手段は、例えば、図1に示す決定手段12に対応させることができる。本実施の形態1では、主制御部10は乱数を用いて分割数を決定しているが、これは分割数を決定するための一実施例であって、乱数を用いないで分割数を決定するようにしてもよい。例えば、主制御部10に予め分割数を決定するためのテーブルを保持させておき、分割数を決定するタイミング等で主制御部10がそのテーブルから予め定めた規則に応じて分割数を取得するようにしてもよい。
[1] Determination of the number of divisions The main control unit 10 determines the number of divisions, which is a number for dividing predetermined data stored in advance in the ROM 10b, for example, predetermined program codes (instruction codes and fixed data). Hereinafter, as an example of the predetermined data, description will be given using a predetermined program code. The main control unit 10 uses, for example, a value generated by a random number generation circuit (not shown) or a random number generation program constituting the program code as a division number, or a value generated in other processing of the main control unit 10. The value can be referred to at a predetermined timing and the value can be used as the division number. In this case, the upper limit of the number of divisions may be set in advance. The means for executing the process for determining the number of divisions can correspond to, for example, the determination means 12 shown in FIG. In the first embodiment, the main control unit 10 determines the number of divisions using random numbers, but this is an example for determining the number of divisions, and determines the number of divisions without using random numbers. You may make it do. For example, the main control unit 10 holds a table for determining the number of divisions in advance, and the main control unit 10 obtains the number of divisions from the table according to a predetermined rule at the timing of determining the number of divisions. You may do it.

[2]個体検査値の生成
次に、主制御部10は、ROM10b内の所定のプログラムコードが予め記憶されている記憶領域を[1]の処理において決定された分割数で分割する。そして、主制御部10は、ROM10bの分割された各記憶領域に記憶されているプログラムコードに対して2項演算を行って、主制御部10を認証するための分割数分の個体検査値を生成する。なお、個体検査値の生成方式(例えば、個体検査値の生成に用いる結合法則を満たす2項演算の種類等)については、前回の認証データ付制御信号送信時に決定されている。
[2] Generation of Individual Examination Value Next, the main control unit 10 divides the storage area in which a predetermined program code in the ROM 10b is stored in advance by the number of divisions determined in the process [1]. Then, the main control unit 10 performs a binary operation on the program code stored in each divided storage area of the ROM 10b to obtain individual test values for the number of divisions for authenticating the main control unit 10. Generate. It should be noted that the method for generating the individual test value (for example, the type of binary operation that satisfies the combining law used for generating the individual test value) is determined at the time of the previous transmission of the control signal with authentication data.

「結合法則を満たす2項演算」とは、2項間の演算を行う2項演算のうち、演算子を§とし、任意の数をa,b,cとした場合、式(1)が成立する2項演算をいう。
(a§b)§c=a§(b§c)=a§b§c ・・・(1)
すなわち、「結合法則を満たす2項演算」とは、演算対象a,b,cについて、1度に2項演算を行う演算対象としてどのように分割して演算子§により演算した場合であっても、得られる演算結果が同一値となるような2項演算をいう。ただし、任意の数a,bに対してa♪bの演算結果が常に0になるような演算子♪は、演算子§から除く。上記結合法則を満たす2項演算の定義された集合を一般に半群と呼ぶことから、このような2項演算を以下では半群演算と呼ぶことにする。半群演算としては、例えば、加算、乗算、排他的論理和がある。
“Binary operation satisfying the join rule” means that among the binary operations that perform operations between two terms, if the operator is § and any number is a, b, c, formula (1) holds Binary operation.
(A§b) §c = a§ (b§c) = a§b§c (1)
In other words, “binary operation satisfying the combination rule” is a case where the operation objects a, b, and c are divided as operation objects to be subjected to binary operation at a time and are operated by the operator §. Is also a binary operation in which the obtained calculation results have the same value. However, an operator ♪ in which the operation result of a ♪ b is always 0 for any number a and b is excluded from the operator §. Since a defined set of binary operations that satisfy the above-mentioned combination rule is generally called a semigroup, such a binary operation is hereinafter referred to as a semigroup operation. Examples of the semi-group operation include addition, multiplication, and exclusive OR.

以下、半群演算の簡単な具体例を2つ挙げる。
まず、所定のプログラムコードを分割して得られた各データブロックを構成する各データをD0,D1,D2,・・・,DN(Nは各データブロックの最終アドレス)とする。
(A)半群演算として加算(演算子+)が選択されている場合は、式(2)を計算する。
D0+D1+D2+・・・+DN …(2)
(B)半群演算として排他的論理和(演算子XOR)が選択されている場合は、式(3)を計算する。
D0 XOR D1 XOR D2 XOR ・・・ DN …(3)
Hereafter, two simple specific examples of the semigroup operation will be given.
First, each data constituting each data block obtained by dividing a predetermined program code is defined as D0, D1, D2,..., DN (N is the final address of each data block).
(A) If addition (operator +) is selected as the semi-group operation, equation (2) is calculated.
D0 + D1 + D2 + ... + DN (2)
(B) When an exclusive OR (operator XOR) is selected as the semi-group operation, Equation (3) is calculated.
D0 XOR D1 XOR D2 XOR ... DN (3)

各個体検査値の生成方法について、図4を参照して説明する。
図4は、主制御部10における個体検査値の生成方法を模式的に示す説明図である。個体検査値は、主制御部10がROM10bに予め記憶されている所定のデータを用いて生成する。より詳細には、主制御部10は、ROM10bの所定の記憶領域を任意の分割数で分割した上で、分割した記憶領域にそれぞれ記憶されたプログラムコードに対して結合法則を満たす2項演算(半群演算)を行って個体検査値を算出する。半群演算としては、上記のように、例えば、加算、乗算や排他的論理和演算などが挙げられる。
A method for generating each individual test value will be described with reference to FIG.
FIG. 4 is an explanatory diagram schematically showing a method for generating an individual test value in the main control unit 10. The individual test value is generated by the main control unit 10 using predetermined data stored in advance in the ROM 10b. More specifically, the main control unit 10 divides a predetermined storage area of the ROM 10b by an arbitrary number of divisions, and then performs a binary operation that satisfies the combining law for each program code stored in the divided storage area ( An individual test value is calculated by performing a semi-group operation. Examples of the semi-group operation include addition, multiplication and exclusive OR operation as described above.

(個体検査値生成の計算例)
個体検査値生成の計算の一例を以下に示す。
図4に示すプログラムコード記憶領域400には、12個のプログラムコード(「0x01」〜「0x09」,「0x0A」〜「0x0C」)が記憶されている。分割数を3とした場合、プログラムコード記憶領域400は、例えば、4個のプログラムコードを含む第1ブロック400a、3個のプログラムコードを含む第2ブロック400b、5個のプログラムコードを含む第3ブロック400cに分割できる。主制御部10は、これらの各ブロックに記憶されたプログラムコードに対してそれぞれ半群演算を行って個体検査値を算出する。なお、上記ブロック内のプログラムコード数は例示である。分割したブロック内のプログラムコード数は固定値としてもよいし、ランダムに決定してもよい。
(Example of individual test value generation calculation)
An example of calculation of individual test value generation is shown below.
In the program code storage area 400 shown in FIG. 4, 12 program codes (“0x01” to “0x09”, “0x0A” to “0x0C”) are stored. When the division number is 3, the program code storage area 400 is, for example, a first block 400a including four program codes, a second block 400b including three program codes, and a third block including five program codes. It can be divided into blocks 400c. The main control unit 10 performs a semi-group operation on the program code stored in each of these blocks to calculate an individual test value. The number of program codes in the block is an example. The number of program codes in the divided block may be a fixed value or may be determined randomly.

例えば、半群演算として式(2)の加算を用いる方法を方式Aとすると、第1ブロック400aに記憶された4個のプログラムコード「0x01」、「0x02」、「0x03」、「0x04」を加算して第1個体検査値「0x0A」が得られる。同様に、第2ブロック400bに記憶された3個のプログラムコード「0x05」、「0x06」、「0x07」を加算して第2個体検査値「0x12」が、第3ブロック400cに記憶された5個のプログラムコード「0x08」、「0x09」、「0x0A」、「0x0B」、「0x0C」を加算して第3個体検査値「0x32」がそれぞれ得られる。   For example, if the method using the addition of Expression (2) as the semi-group operation is Method A, the four program codes “0x01”, “0x02”, “0x03”, “0x04” stored in the first block 400a are used. The first individual test value “0x0A” is obtained by addition. Similarly, three program codes “0x05”, “0x06”, “0x07” stored in the second block 400b are added, and the second individual test value “0x12” is stored in the third block 400c. The third individual test value “0x32” is obtained by adding the program codes “0x08”, “0x09”, “0x0A”, “0x0B”, “0x0C”.

また、例えば、半群演算として式(3)の排他的論理和演算を用いる方法を方式Bとすると、第1ブロック400aに記憶された4個のプログラムコード「0x01」、「0x02」、「0x03」、「0x04」に排他的論理和演算を行い第1個体検査値「0x04」が得られる。同様に、第2ブロック400bに記憶された3個のプログラムコード「0x05」、「0x06」、「0x07」に排他的論理和演算を行い第2個体検査値「0x04」が、第3ブロック400cに記憶された5個のプログラムコード「0x08」、「0x09」、「0x0A」、「0x0B」、「0x0C」に排他的論理和演算を行い第3個体検査値「0x0C」がそれぞれ得られる。   Further, for example, if the method using the exclusive OR operation of Expression (3) as the semi-group operation is method B, the four program codes “0x01”, “0x02”, “0x03” stored in the first block 400a are used. ”And“ 0x04 ”to perform an exclusive OR operation to obtain a first individual test value“ 0x04 ”. Similarly, exclusive OR operation is performed on the three program codes “0x05”, “0x06”, and “0x07” stored in the second block 400b, and the second individual test value “0x04” is stored in the third block 400c. A third individual test value “0x0C” is obtained by performing an exclusive OR operation on the five stored program codes “0x08”, “0x09”, “0x0A”, “0x0B”, and “0x0C”.

本実施の形態1では、主制御部10は、後述するように、主制御部10を認証するためのデータを生成し、生成したデータを制御コマンドに付加して中間部20に送信する。ここでは、制御コマンドに付加される主制御部10の個体の正規性を認証するためのデータを総称して「個体認証データ」と呼ぶことにする。個体認証データは、各個体検査値、又はこれら個体検査値に対して暗号化処理を施すことにより得られたデータである。以下、本実施の形態1では、個体認証データは、個体検査値に暗号化処理を施して得られたデータとして説明するが、本発明はこれに限定されず、個体検査値そのものを個体認証データとして認証に関する処理を行ってもよい。この場合、主制御部において個体検査値に暗号化処理を施す必要がなく、中間部で個体検査値を抽出する際に個体認証データの復号化処理を施す必要がないため、認証に関する処理を簡易化することができ、処理負荷の増大を抑制することができる。   In the first embodiment, as will be described later, the main control unit 10 generates data for authenticating the main control unit 10, adds the generated data to the control command, and transmits the data to the intermediate unit 20. Here, data for authenticating the normality of the individual of the main control unit 10 added to the control command will be collectively referred to as “individual authentication data”. The individual authentication data is data obtained by performing encryption processing on each individual test value or these individual test values. Hereinafter, in the first embodiment, the individual authentication data is described as data obtained by encrypting the individual test value, but the present invention is not limited to this, and the individual test value itself is used as the individual authentication data. A process related to authentication may be performed. In this case, it is not necessary to perform encryption processing on the individual test value in the main control unit, and it is not necessary to perform decryption processing on the individual authentication data when extracting the individual test value in the intermediate unit. The increase in processing load can be suppressed.

上記個体検査値を生成する処理を実行する手段は、例えば、図1に示す個体検査値生成手段13に対応させることができる。   The means for executing the process for generating the individual test value can correspond to, for example, the individual test value generation means 13 shown in FIG.

[3]個体認証データの生成
主制御部10は、上記[2]の処理で生成した各個体検査値に対して暗号化処理を施し、制御コマンド(制御コマンドデータ及び付随データ)に付加する個体認証データを生成する。ここで、暗号化方式としては、例えば、シーザー暗号、単一換字暗号、エニグマなど、比較的簡易なものを採用することができる。以下において用いる暗号化方式についても同様である。シーザー暗号は、メッセージ(平文)を構成する文字を一定の文字数だけずらすことによって暗号化する暗号化方式である。単一換字暗号は、平文を構成する文字を別の文字に変換することによって暗号化する暗号化方式である。エニグマは、鍵暗号鍵を用いたエニグマの設定、エニグマを用いた通信鍵の暗号化、通信鍵を用いたエニグマの再設定、平文の暗号化及び、暗号化された通信鍵と暗号化された平文の結合による通信文の生成という過程を経る暗号化方式である。
[3] Generation of Individual Authentication Data The main control unit 10 performs an encryption process on each individual test value generated in the process [2] and adds an individual to the control command (control command data and accompanying data). Generate authentication data. Here, as an encryption method, for example, a relatively simple method such as Caesar encryption, single substitution encryption, or enigma can be employed. The same applies to the encryption method used below. Caesar encryption is an encryption method in which characters constituting a message (plain text) are encrypted by shifting by a certain number of characters. Single substitution cryptography is an encryption scheme that encrypts characters by converting the characters constituting the plaintext into other characters. Enigma is set with Enigma using key encryption key, Encrypt communication key with Enigma, Enigma Enigma with communication key, plaintext encryption, encrypted communication key and encrypted This is an encryption method through a process of generating a communication text by combining plaintext.

主制御部10において、各個体検査値に対して暗号化処理を施すことにより得た各個体認証データ303を中間部20に送信した場合には、何らの処理も施していない各個体検査値をそのまま中間部20に送信する場合と比較して、各個体検査値を不正行為者により分析される可能性を低減することができる。   When the individual control data 303 obtained by performing encryption processing on each individual test value is transmitted to the intermediate unit 20 in the main control unit 10, each individual test value that has not been subjected to any processing is transmitted. Compared with the case where it transmits to the intermediate part 20 as it is, possibility that each individual test value will be analyzed by a fraudulent person can be reduced.

なお、主制御部10は、各個体検査値に対して異なる暗号化処理を施してもよい。具体的には、例えば、各個体検査値から個体認証データを生成するための誤り検出演算等の加工処理を行う処理方法を異ならせるようにする。このことは、後述する中間部20での中間処理情報305に関する処理にも同様に当てはまる。   The main control unit 10 may perform different encryption processing on each individual test value. Specifically, for example, a processing method for performing a processing process such as an error detection calculation for generating individual authentication data from each individual test value is changed. This also applies to processing related to intermediate processing information 305 in the intermediate unit 20 described later.

また、上記暗号化処理に対して、更に所定の加工処理を加えてもよい。所定の加工処理としては、例えば、暗号化処理が施された各個体検査値を用いた四則演算又は論理演算等を行って所定のデータ長を有する演算データを得る処理、これらの四則演算又は論理演算等により得られた演算データのビット配列を並び変える処理、上記演算データのビットをシフト又はロテイト(rotate)する処理、暗号化処理が施された各個体検査値を構成する複数のビットを取り出して所定の規則に従って並べて1つのデータを生成する処理などが考えられる。   Further, a predetermined processing process may be further added to the encryption process. As the predetermined processing, for example, a process of obtaining arithmetic data having a predetermined data length by performing four arithmetic operations or logical operations using the individual test values subjected to encryption processing, these four arithmetic operations or logical Extracting a plurality of bits constituting each individual test value subjected to processing for rearranging the bit arrangement of operation data obtained by operation, processing for shifting or rotating the bits of operation data, and encryption processing For example, a process of generating one piece of data arranged in accordance with a predetermined rule can be considered.

また、主制御部10は、暗号化処理等の方式を予め複数用意しておき、[1]の処理において決定された今回の分割数(データブロックの数)に基づいて、複数の暗号化処理の中から次回の個体認証データの生成に用いる1個の暗号化処理を選択するようにしてもよい。具体的には、主制御部10は、例えば、今回の分割数が奇数の場合は次回の暗号化処理を今回用いた暗号化処理と異なるものを選択し、今回の分割数が偶数の場合は次回の暗号化処理を今回用いた暗号化処理と同一のものを選択する。   Further, the main control unit 10 prepares a plurality of methods such as encryption processing in advance, and a plurality of encryption processing based on the current number of divisions (number of data blocks) determined in the processing [1]. One encryption process used for the next generation of individual authentication data may be selected from the list. Specifically, for example, when the current number of divisions is an odd number, the main control unit 10 selects the next encryption process different from the encryption process used this time, and when the current number of divisions is an even number, The next encryption process is the same as the encryption process used this time.

(個体認証データ生成の計算例)
個体認証データ生成の計算の一例を以下に示す。
図4に示す第1個体検査値「0x0A」から個体認証データを生成することを例にとって説明する。上記の暗号化処理として、個体検査値に制御コマンドデータを加算し、次に、得られたデータから「0x03」を減算する処理を採用する。主制御部10は、第1の個体検査値に上記の暗号化処理を施して個体認証データを生成する。
(Calculation example for generating individual authentication data)
An example of calculation for generating individual authentication data is shown below.
An example of generating individual authentication data from the first individual test value “0x0A” shown in FIG. 4 will be described. As the encryption process, a process of adding control command data to the individual test value and then subtracting “0x03” from the obtained data is employed. The main control unit 10 performs the above-described encryption processing on the first individual test value to generate individual authentication data.

この個体認証データを付加する制御コマンドデータ及び付随データの値を仮に「0xEE」、及び「0x01」とする。暗号化処理では、第1個体検査値「0x0A」に制御コマンドデータの値「0xEE」を加算するので、「0xF8」が得られる。次に、この「0xF8」から「0x03」を減算すると、個体認証データの値「0xF5」が得られる。
同様に、図4に示すプログラムコード記憶領域400に記録された、第2個体検査値「0x12」から個体認証データを生成すると「0xF2」の値、第3個体検査値「0x32」から個体認証データを生成すると「0x1D」の値となる。
The values of the control command data and the accompanying data to which the individual authentication data is added are assumed to be “0xEE” and “0x01”. In the encryption process, since the value “0xEE” of the control command data is added to the first individual inspection value “0x0A”, “0xF8” is obtained. Next, by subtracting “0x03” from this “0xF8”, the value “0xF5” of the individual authentication data is obtained.
Similarly, when individual authentication data is generated from the second individual test value “0x12” recorded in the program code storage area 400 shown in FIG. 4, the value “0xF2” and the individual authentication data from the third individual test value “0x32” are generated. Is generated, the value becomes “0x1D”.

なお、個体認証データとともに送信される制御コマンドデータ又はその付随データの少なくともいずれか一方のデータと個体検査値とを併せたデータに暗号化処理を施すことにより個体認証データを生成してもよい。また、個体認証データには、個体認証データとともに送信される制御コマンドデータや付随データに関するデータを含ませてもよい。制御コマンドデータや付随データに関するデータとは、制御コマンドデータや付随データに対して上記加工処理や、ハッシュ関数による演算やパリティチェック、巡回冗長検査(Cyclic Redundancy Check:CRC)、チェックサムなどの演算を行って得られた値などである。   Note that the individual authentication data may be generated by performing an encryption process on the data including the individual test value and the control command data transmitted along with the individual authentication data or at least one of the accompanying data. The individual authentication data may include control command data transmitted along with the individual authentication data and data related to the accompanying data. Data related to control command data and accompanying data is the above processing, control using a hash function, parity check, cyclic redundancy check (CRC), checksum, etc. for control command data and accompanying data. It is the value obtained by going.

個体認証データとともに送信する制御コマンドデータや付随データを用いて個体認証データを生成することにより、不正な制御部によって個体認証データを再利用された場合であっても、個体認証データと制御コマンドの整合がとれず、不正を検知することができる。また、誤動作により制御コマンドデータが変更された場合であっても、認証は成功しないため、上記雑音等に起因して変更された制御コマンドデータに対応した制御コマンドの実行を防止することもできる。   By generating the individual authentication data using the control command data and accompanying data transmitted together with the individual authentication data, even if the individual authentication data is reused by an unauthorized control unit, the individual authentication data and the control command Mismatch is not possible and fraud can be detected. Further, even if the control command data is changed due to a malfunction, since the authentication is not successful, execution of the control command corresponding to the control command data changed due to the noise or the like can be prevented.

また、個体認証データに制御コマンドデータや付随データに関するデータを含ませる場合、主制御部10は制御コマンドデータや付随データに関するデータと個体検査値とを合わせて暗号化処理を施して、個体認証データを生成する処理を行ってもよい。   When the individual authentication data includes data related to control command data and accompanying data, the main control unit 10 performs encryption processing by combining the data related to the control command data and accompanying data and the individual test value, and the individual authentication data. You may perform the process which produces | generates.

なお、主制御部10が、各個体検査値を生成するタイミングと、各個体検査値を用いて個体認証データを生成するタイミングとは、特に制限はなく、主制御部の制御プログラム中に、各個体検査値を生成する処理と、各個体検査値を用いて個体認証データを生成する処理とを行うプログラムを組み込んでおけばよい。   Note that the timing at which the main control unit 10 generates each individual test value and the timing at which individual authentication data is generated using each individual test value are not particularly limited, and each timing is included in the control program of the main control unit. What is necessary is just to incorporate the program which performs the process which produces | generates an individual test value, and the process which produces | generates individual authentication data using each individual test value.

[4]動作認証データの生成
主制御部10は、中間部20において主制御部10の動作順序を認証するために、制御コマンドデータ及び付随データに付加されて中間部20に送信される動作認証データとして、同期コード及び時間コードを生成する。
[4] Generation of operation authentication data The main control unit 10 adds the control command data and the accompanying data to the intermediate unit 20 to authenticate the operation order of the main control unit 10 in the intermediate unit 20 and authenticates the operation. A synchronization code and a time code are generated as data.

{1}同期コードの生成
主制御部10は、動作検査値の一つとして主制御部10の動作の継続性を認証するために、主制御部10の継続性を有する動作に伴ってパケット情報を生成し、生成されたパケット情報を用いて同期コードを作成する。パケット情報は、主制御部10が連続して動作していることを認証可能な情報であって、連続して生成されたパケット情報を比較したときに、パケット情報同士はお互いの生成間隔(時間差や命令実行数差など)、すなわち生成タイミングに応じた所定の相関関係を有している。本実施の形態1では、主制御部10の制御コマンドの送信に伴ってパケット情報を生成するとし、連続した制御コマンドの送信タイミングに従って生成されたパケット情報同士の相関関係が、予め設定された所定の相関関係を有しているか否かによって、主制御部10の動作の継続性を認証する。
{1} Synchronization Code Generation The main control unit 10 authenticates the continuity of the operation of the main control unit 10 as one of the operation inspection values, and packet information is accompanied with the operation having the continuity of the main control unit 10. And generate a synchronization code using the generated packet information. The packet information is information that can authenticate that the main control unit 10 operates continuously, and when the packet information generated continuously is compared, the packet information is generated between each other. Or a difference in the number of executed instructions), that is, a predetermined correlation according to the generation timing. In the first embodiment, it is assumed that packet information is generated along with transmission of a control command from the main control unit 10, and the correlation between packet information generated according to the transmission timing of successive control commands is a predetermined value set in advance. The continuity of the operation of the main control unit 10 is authenticated depending on whether or not there is a correlation.

主制御部10は、同期コードの生成に用いるパケット情報の種類を分割数に基づいて選択する。具体的には、主制御部10は、制御コマンドの送信に伴って連続して生成したパケット情報(連続パケット情報)と、制御コマンドの送信に伴って所定の間隔ごとに生成したパケット情報(間欠パケット情報)とのいずれかを用いて同期コードを生成する。   The main control unit 10 selects the type of packet information used for generating the synchronization code based on the number of divisions. Specifically, the main control unit 10 transmits packet information (continuous packet information) continuously generated along with the transmission of the control command and packet information (intermittent) generated at predetermined intervals along with the transmission of the control command. The synchronization code is generated using any one of (packet information).

連続パケット情報とは、主制御部10によって生成される少なくとも2つの(2回分の)連続するタイミングによって生成されたパケット情報である。ここで、生成のタイミングとして、主制御部10の処理速度に応じた生成タイミングを例に説明すると、1クロックタイミングごとにパケット情報を生成可能であれば1クロックタイミングごとが生成タイミングとなり、4クロックタイミングごとにパケット情報を生成可能であれば、4クロックタイミングごとが生成タイミングとなる。そして、主制御部10は、例えば、1クロックタイミングごとにパケット情報を生成させ、1クロックタイミングごとにパケット情報を取得して連続パケット情報とする。   The continuous packet information is packet information generated by at least two (two times) continuous timings generated by the main control unit 10. Here, the generation timing according to the processing speed of the main control unit 10 will be described as an example of the generation timing. If packet information can be generated for each clock timing, the generation timing is 4 clocks. If packet information can be generated at each timing, the generation timing is every 4 clock timings. For example, the main control unit 10 generates packet information at every clock timing, acquires the packet information at every clock timing, and sets it as continuous packet information.

間欠パケット情報とは、主制御部10によって生成されるパケット情報のうち少なくとも2つの(2回分の)タイミング(所定の間隔ごとのタイミング)によって生成されたパケット情報である。ここで、所定の間隔ごとのタイミングとは、例えば、間欠的に連続したタイミングを意味している。例えば、1クロックタイミングごとや4クロックタイミングごとといったクロックタイミングを基準としてもよいし、1秒、0.5秒などの時間を基準としてもよい。
具体的には、間欠パケット情報とは、主制御部10によって連続パケット情報が生成される所定の生成タイミングのうちの一部の生成タイミングである、所定の生成間隔ごとに間欠的に生成された少なくとも2つの(2回分の)パケット情報である。例えば、主制御部10は、1クロックタイミングごとに連続パケット情報を生成する場合に、2クロックタイミングごとに間欠的にパケット情報を生成して間欠パケット情報とする。
The intermittent packet information is packet information generated by at least two (twice) timings (timing at predetermined intervals) of the packet information generated by the main control unit 10. Here, the timing at every predetermined interval means, for example, intermittently continuous timing. For example, a clock timing such as every 1 clock timing or every 4 clock timings may be used as a reference, or a time such as 1 second or 0.5 seconds may be used as a reference.
Specifically, the intermittent packet information is generated intermittently at a predetermined generation interval, which is a part of the predetermined generation timing at which the continuous packet information is generated by the main control unit 10. It is at least two (two times) packet information. For example, when generating the continuous packet information at every clock timing, the main control unit 10 intermittently generates the packet information at every two clock timings to obtain intermittent packet information.

このように、パケット情報を用いて同期コードを生成する場合、それぞれのパケット情報は、所定の間隔、例えば、所定の時間間隔や所定のクロック数間隔、又は命令実行数間隔などに設定された生成タイミングで生成される。このとき、連続した生成タイミングのパケット情報同士は、所定の相関関係を有する情報として生成される。すなわち、連続して生成されたパケット情報同士の相関関係は、連続的な生成タイミングで生成された連続パケット情報と、間欠的な所定の生成間隔で生成された間欠パケット情報とで異なるが、連続パケット情報及び間欠パケット情報においてそれぞれ所定の相関関係を有する。従って、連続する複数のパケット情報同士の相関関係を求めることによって主制御部10の動作の継続性を認証することができる。   As described above, when generating a synchronization code using packet information, each packet information is generated at a predetermined interval, for example, a predetermined time interval, a predetermined clock number interval, or an instruction execution number interval. Generated at timing. At this time, pieces of packet information at successive generation timings are generated as information having a predetermined correlation. That is, the correlation between continuously generated packet information differs between continuous packet information generated at continuous generation timing and intermittent packet information generated at intermittent predetermined generation intervals. Each of the packet information and the intermittent packet information has a predetermined correlation. Therefore, the continuity of the operation of the main control unit 10 can be authenticated by obtaining a correlation between a plurality of pieces of continuous packet information.

なお、パケット情報を用いて同期コードを生成する場合、一つのパケット情報を用いて一つの同期コードを生成してもよいし、複数のパケット情報を用いて一又は複数の同期コードを生成してもよい。但し、後述する中間部20での動作認証において、送信されたパケット情報同士の相関関係を確認できるよう、一つのパケット情報を用いて一つの同期コードを生成する場合は、複数個の同期コードを生成し、中間部20へ一又は複数回の送信を行うこととする。また、同期コードは、パケット情報として生成した値をそのまま利用してもよいし、これらの値に所定の演算を施して暗号化した値を利用してもよい。   In addition, when generating a synchronization code using packet information, one synchronization code may be generated using one packet information, or one or more synchronization codes may be generated using a plurality of packet information. Also good. However, in the operation authentication in the intermediate unit 20 described later, when generating one synchronization code using one packet information so that the correlation between transmitted packet information can be confirmed, a plurality of synchronization codes are used. It is generated and transmitted to the intermediate unit 20 one or more times. As the synchronization code, values generated as packet information may be used as they are, or values obtained by performing a predetermined operation on these values may be used.

主制御部10は、間欠パケット情報を用いて同期コードを生成するか、連続パケット情報を用いて同期コードを生成するか、すなわち、同期コードの生成に用いるパケット情報の種類を分割数に基づいて選択する。図5は、主制御部におけるパケット情報の選択方法を模式的に示す説明図である。分割数に基づいてパケット情報を選択する方法としては、例えば、図5に示すような方法が挙げられる。   The main control unit 10 generates the synchronization code using the intermittent packet information or generates the synchronization code using the continuous packet information, that is, the type of the packet information used for generating the synchronization code based on the number of divisions. select. FIG. 5 is an explanatory diagram schematically showing a method for selecting packet information in the main control unit. As a method for selecting packet information based on the number of divisions, for example, a method as shown in FIG.

(選択例1:分割数/Xの余り値)
図5に示す選択例1では、分割数として決定された値を予め決められている特定値Xで除算した際の余り値に基づいて、同期コードの生成に用いるパケット情報の種類を選択する。例えば、特定値X=4、分割数=7であれば、余り値=3となり、図5の選択例1では、間欠パケット情報を選択する。
(Selection example 1: number of divisions / remainder of X)
In selection example 1 shown in FIG. 5, the type of packet information used to generate the synchronization code is selected based on the remainder value obtained by dividing the value determined as the number of divisions by a predetermined specific value X. For example, if the specific value X = 4 and the number of divisions = 7, the remainder value = 3, and in the selection example 1 of FIG. 5, intermittent packet information is selected.

(選択例2:前回の分割数−今回の分割数の絶対値)
図5に示す選択例2では、前回決定された分割数と今回決定された分割数の減算した際の絶対値に基づいて、同期コードの生成に用いるパケット情報を選択する。例えば、前回の分割数=3、今回の分割数=5であれば、絶対値|−2|=2となり図5の選択例2では、連続パケット情報を選択する。
(Selection example 2: previous division number-absolute value of the current division number)
In selection example 2 shown in FIG. 5, packet information used for generating a synchronization code is selected based on an absolute value obtained by subtracting the previously determined number of divisions from the currently determined number of divisions. For example, if the previous number of divisions = 3 and the current number of divisions = 5, the absolute value | −2 | = 2, and continuous packet information is selected in the selection example 2 in FIG.

その他、分割数に基づいてパケット情報の種類を選択する方法としては、例えば、分割数2の場合は間欠パケット、分割数3の場合は連続パケット・・というように、選択するパケット情報を分割数ごとに決めておく方法がある。また、例えば、分割数が偶数の場合は同期コードの生成に用いるパケット情報の種類を変更し、分割数が奇数の場合は現在用いている種類の同期コードを継続して用いる方法等がある。   In addition, as a method of selecting the type of packet information based on the number of divisions, for example, when the number of divisions is 2, intermittent packets, and when the number of divisions is 3, continuous packets. There is a method to decide for each. Further, for example, there is a method of changing the type of packet information used for generating a synchronization code when the number of divisions is an even number, and continuously using the type of synchronization code currently used when the number of divisions is an odd number.

同期コードを用いて主制御部10の動作順序を確認することによって不正な制御部に信号切替回路等が搭載された場合であっても、同期コードによって認証した動作順序が連続していなければ主制御部10から送信された制御コマンド以外の不正な制御部から送信された制御コマンドであると判断し、不正制御を検知することができる。   Even when a signal switching circuit or the like is mounted on an unauthorized control unit by confirming the operation sequence of the main control unit 10 using the synchronization code, the operation sequence authenticated by the synchronization code is not continuous. It can be determined that the control command is transmitted from an unauthorized control unit other than the control command transmitted from the control unit 10, and unauthorized control can be detected.

また、主制御部10のみが知る分割数の値に基づいて同期コードの生成に用いるパケット情報の種類を選択することにより、不正行為者に同期コードの生成にどの種類のパケット情報を用いているかを知られることを防止できる。これにより、同期コードが不正に生成されることを防止することができる。   In addition, by selecting the type of packet information used for generation of the synchronization code based on the value of the number of divisions known only by the main control unit 10, what type of packet information is used for generation of the synchronization code by the fraudster Can be prevented from being known. Thereby, it is possible to prevent the synchronization code from being illegally generated.

本実施の形態1では、主制御部10の制御コマンドの送信に伴って、毎回の送信の度にパケット情報を生成する連続パケット情報と、主制御部10の制御コマンドの送信に伴うが、毎回の送信の度ではなく所定の間隔毎にパケット情報を生成する間欠パケット情報との2種類を用いて、同期コードを生成するが、本発明において同期コードの生成タイミングはこれに限定されず、同期コードは、制御コマンドの送信処理以前のタイミングで生成してもよい。具体的には、同期コードは、主制御部10の利用者(遊技者ではなく、例えば、主制御部10を遊技機に搭載する管理者や、業者など)の設定するタイミングに応じた同期コードを生成できる。このような構成にすることによって、同期コードを第三者にとってより解析の困難な情報とすることができる。   In the first embodiment, along with the transmission of the control command of the main control unit 10, continuous packet information for generating packet information every time transmission is performed and the transmission of the control command of the main control unit 10 is performed. The synchronization code is generated using two types of intermittent packet information that generates packet information at predetermined intervals instead of every transmission, but the generation timing of the synchronization code is not limited to this in the present invention. The code may be generated at a timing before the transmission process of the control command. Specifically, the synchronization code is a synchronization code corresponding to the timing set by the user of the main control unit 10 (not a player, for example, an administrator or a trader who installs the main control unit 10 in a gaming machine). Can be generated. With such a configuration, the synchronization code can be made information that is more difficult for a third party to analyze.

上記同期コードを生成する処理を実行する手段は、例えば、図1に示す同期コード生成手段14に対応させることができる。   The means for executing the process of generating the synchronization code can correspond to, for example, the synchronization code generation means 14 shown in FIG.

{2}時間コードの生成
主制御部10は、予め指定されたタイミングで取得した計時情報を含んだ複数の時間コードを生成する。時間コードは、主制御部10による制御コマンドの送信が継続して実行されていることを確認するための情報である。具体的には、例えば、計時情報からある基準値を設定し、この基準値からの差分値や、累積値などによって表される。基準値は、任意のタイミングに設定することができるが、例えば、電源投入時やリセット時や賞球すべき事象が発生したタイミング等に設定すればよい。時間コードを生成する処理を実行する手段は、例えば、図1に示す時間コード生成手段15に対応させることができる。
{2} Generation of Time Code The main control unit 10 generates a plurality of time codes including time information acquired at a timing specified in advance. The time code is information for confirming that transmission of the control command by the main control unit 10 is continuously executed. Specifically, for example, a certain reference value is set from the time measurement information, and is represented by a difference value from this reference value, a cumulative value, or the like. The reference value can be set at an arbitrary timing. For example, the reference value may be set at the time when the power is turned on, at the time of resetting, or when an event to be awarded occurs. The means for executing the process for generating the time code can correspond to, for example, the time code generating means 15 shown in FIG.

なお、主制御部10の時間コード生成手段15における、計時情報の取得タイミングは、時間軸上では固定されない。例えば、賞球すべき事象が発生したタイミングをトリガに計時情報を取得すると設定した場合、いつ賞球事象が発生するかはわからないため、時間情報の取得タイミングを時間軸上で規定することはできない。
また、主制御部10の時間コード生成手段15の計時機能は、電源投入時やリセット時など、遊技動作開始時をトリガとして計時を開始するというシンプルなものでよい。時間コード生成手段15の場合、計時を開始する際、例えば、リセット処理やクリア処理などの初期値の固定もしくは設定を目的とする初期化処理機能を備えておく必要がない。また、計時開始後は、賞球すべき事象が発生した場合など、ランダムにおきる特定の事象をトリガとして計時情報を出力すればよい。したがって、非常に簡素な構成で実現することができ、処理負荷が軽いという特徴を備えている。
The timing information acquisition timing in the time code generation means 15 of the main control unit 10 is not fixed on the time axis. For example, if the timing information is set to be triggered by the timing at which an event to be awarded is triggered, it is not known when the prize ball event will occur, so the timing for obtaining time information cannot be specified on the time axis. .
Further, the time counting function of the time code generating means 15 of the main control unit 10 may be as simple as starting time counting when a game operation starts, such as when power is turned on or reset. In the case of the time code generation means 15, it is not necessary to provide an initialization processing function for the purpose of fixing or setting an initial value, such as reset processing and clear processing, for example, when timing is started. In addition, after the start of timing, the timing information may be output with a specific event that occurs at random as a trigger, such as when an event to be awarded has occurred. Therefore, it can be realized with a very simple configuration and has a feature that the processing load is light.

{3}暗号化処理
主制御部10は、上記{1}の処理で生成した各同期コード、及び上記{2}の処理で生成した各時間コードに対して暗号化処理を施してもよい。ここで、暗号化方式としては、個体認証データを生成する際に個体検査値に施した暗号化処理と同様の方式を用いればよい。
{3} Encryption Processing The main control unit 10 may perform encryption processing on each synchronization code generated by the process {1} and each time code generated by the process {2}. Here, as the encryption method, a method similar to the encryption processing applied to the individual test value when generating the individual authentication data may be used.

主制御部10において暗号化処理を施された各同期コード及び各時間コードを中間部20に送信した場合には、何らの処理も施していない各同期コード及び各時間コードをそのまま中間部20に送信する場合と比較して、各同期コード及び各時間コードを不正行為者により分析される可能性を低減することができる。   When each synchronization code and each time code subjected to encryption processing in the main control unit 10 are transmitted to the intermediate unit 20, each synchronization code and each time code not subjected to any processing are directly sent to the intermediate unit 20. Compared to the case of transmission, the possibility that each synchronization code and each time code are analyzed by an unauthorized person can be reduced.

なお、主制御部10は、各同期コード及び各時間コードに対して異なる暗号化処理を施してもよい。また、個体認証データの生成の際に施す暗号化処理と、各同期コードに施す暗号化処理と、各時間コードに施す暗号化処理とは、同じ暗号化処理でもよく、それぞれ異なる暗号化処理でもよい。このことは、後述する中間部20での中間処理情報305に関する処理にも同様に当てはまる。   The main control unit 10 may perform different encryption processing on each synchronization code and each time code. In addition, the encryption process performed when generating the individual authentication data, the encryption process performed on each synchronization code, and the encryption process performed on each time code may be the same encryption process or different encryption processes. Good. This also applies to processing related to intermediate processing information 305 in the intermediate unit 20 described later.

また、同期コードとともに送信される制御コマンドデータ又はその付随データの少なくともいずれか一方のデータと同期コードとを併せたデータに暗号化処理を施してもよい。同様に、時間コードとともに送信される制御コマンドデータ又はその付随データの少なくともいずれか一方のデータと時間コードとを併せたデータに暗号化処理を施してもよい。また、同期コード及び時間コードには、これらとともに送信される制御コマンドデータや付随データに関するデータを含ませてもよい。また、上記暗号化処理に対して、更に上述の所定の加工処理を加えても良い。   In addition, encryption processing may be performed on data in which at least one of control command data or accompanying data transmitted together with the synchronization code and the synchronization code are combined. Similarly, encryption processing may be performed on data that is a combination of at least one of the control command data transmitted along with the time code and the accompanying data and the time code. In addition, the synchronization code and the time code may include control command data and accompanying data transmitted together with these. Further, the predetermined processing described above may be further added to the encryption processing.

なお、主制御部10は、暗号化処理等の方式を予め複数用意しておき、[1]の処理において決定された今回の分割数(データブロックの数)に基づいて、複数の暗号化処理の中から次回の動作認証データの生成に用いる1個の暗号化処理を選択するようにしてもよい。具体的には、主制御部10は、例えば、今回の分割数が奇数の場合は次回の暗号化処理を今回用いた暗号化処理と異なるものを選択し、今回の分割数が偶数の場合は次回の暗号化処理を今回用いた暗号化処理と同一のものを選択する。   The main control unit 10 prepares a plurality of methods such as encryption processing in advance, and a plurality of encryption processing based on the current number of divisions (number of data blocks) determined in the process [1]. One encryption process to be used for generating the next operation authentication data may be selected from the list. Specifically, for example, when the current number of divisions is an odd number, the main control unit 10 selects the next encryption process different from the encryption process used this time, and when the current number of divisions is an even number, The next encryption process is the same as the encryption process used this time.

[5]制御信号へのデータ付加
主制御部10は、中間部20を介して演出制御部203に送信される制御コマンドデータ及び付随データへ、個体認証データ及び動作認証データを付加して認証データ付制御信号を生成する。以下、個体認証データ及び動作認証データを併せて認証データともいう。
[5] Addition of data to control signal The main control unit 10 adds authentication data and operation authentication data to the control command data and accompanying data transmitted to the effect control unit 203 via the intermediate unit 20, and authentication data. A control signal is generated. Hereinafter, the individual authentication data and the operation authentication data are also referred to as authentication data.

[6]制御信号の送信
主制御部10は、認証データ付制御信号を中間部20に送信する。
[6] Transmission of control signal The main control unit 10 transmits a control signal with authentication data to the intermediate unit 20.

ここで、主制御部10が中間部20に送信する制御信号のデータフォーマットの一例について、図6に示す模式図を参照して説明する。図6(1)には、制御コマンドデータ301及び付随データ302が含まれる通常の制御信号300を示す。制御コマンドデータ301は、制御コマンド固有のデータである。また、付随データ302は、制御コマンドデータ301に付随するデータであり、例えば、現在の遊技状態を示すデータなど制御コマンドデータ301に対応する処理を実行するために必要な制御データである。   Here, an example of a data format of a control signal transmitted from the main control unit 10 to the intermediate unit 20 will be described with reference to a schematic diagram shown in FIG. FIG. 6 (1) shows a normal control signal 300 including control command data 301 and accompanying data 302. The control command data 301 is data unique to the control command. The accompanying data 302 is data accompanying the control command data 301, and is control data necessary for executing processing corresponding to the control command data 301 such as data indicating the current gaming state, for example.

一方、主制御部10は、中間部20に個体認証データを送信する場合、図6(2)に示すように、制御コマンドデータ301及び付随データ302に加え、個体認証データ303及び動作認証データ304を含んだ認証データ付制御信号310を生成し、出力する。動作認証データ304は、同期コード304a及び時間コード304bを含んでいる。   On the other hand, when transmitting the individual authentication data to the intermediate unit 20, the main control unit 10 adds the individual authentication data 303 and the operation authentication data 304 in addition to the control command data 301 and the accompanying data 302 as shown in FIG. Is generated and output. The operation authentication data 304 includes a synchronization code 304a and a time code 304b.

なお、図6には示していないが、通常の制御信号300及び認証データ付制御信号310には、一般的なデータ通信で伝送される制御信号と同様に、BCC(Block Check Character)等が含まれている場合もある。BCCは、データ伝送の過程で発生するデータ誤りなどをチェックするために、伝送ブロックごとに付加される誤り検出符号である。図7に示す通常の制御信号320、及び中間処理情報付制御信号321、322、323についても同様である。   Although not shown in FIG. 6, the normal control signal 300 and the control signal with authentication data 310 include BCC (Block Check Character) and the like, as in the case of control signals transmitted in general data communication. Sometimes it is. The BCC is an error detection code added to each transmission block in order to check data errors that occur in the data transmission process. The same applies to the normal control signal 320 and the control signals 321, 322, and 323 with intermediate processing information shown in FIG.

なお、認証データ付制御信号は、図6(2)に示すような制御コマンドデータ301、付随データ302、個体認証データ303、同期コード304a及び時間コード304bの順で配置された認証データ付制御信号310に限らず、これらを任意の順番で配置してもよい。例えば、個体認証データ303又は動作認証データ304を制御信号の先頭に設けたり、制御コマンドデータ301と付随データ302との間に個体認証データ303又は動作認証データ304を挿入したりしてもよい。また、同期コード304a及び時間コード304bを逆に配置したり、分離して配置したりしてもよい。   The control signal with authentication data is a control signal with authentication data arranged in the order of control command data 301, accompanying data 302, individual authentication data 303, synchronization code 304a and time code 304b as shown in FIG. Not limited to 310, these may be arranged in any order. For example, the individual authentication data 303 or the operation authentication data 304 may be provided at the head of the control signal, or the individual authentication data 303 or the operation authentication data 304 may be inserted between the control command data 301 and the accompanying data 302. Further, the synchronization code 304a and the time code 304b may be arranged reversely or separately.

このように、個体認証データ303及び動作認証データ304を制御信号に含めることによって、個体認証データ303又は動作認証データ304を単体で送信する場合と比較して、主制御部10と演出制御部203との間の通信負荷の増大を抑えることができる。また、個体認証データ303及び動作認証データ304を制御信号に含めることによって、個体認証データ303及び動作認証データ304を単体で送信する場合と比較して、通信データ中から個体認証データ303及び動作認証データ304が抽出され、解析されてしまう危険性を低減することができる。   In this way, by including the individual authentication data 303 and the operation authentication data 304 in the control signal, the main control unit 10 and the effect control unit 203 are compared with the case where the individual authentication data 303 or the operation authentication data 304 is transmitted alone. Increase in communication load between the two can be suppressed. In addition, by including the individual authentication data 303 and the operation authentication data 304 in the control signal, the individual authentication data 303 and the operation authentication from the communication data are compared with the case where the individual authentication data 303 and the operation authentication data 304 are transmitted alone. The risk that the data 304 is extracted and analyzed can be reduced.

≪中間部≫
中間部20は、CPU20aと、ROM20bと、RAM20c等を備えている。CPU20aは、ROM20bに予め記憶されているプログラム(プログラムコード)に基づき処理(以下、中間処理という)を実行する。ROM20bには、CPU20aが中間処理を実行するためのプログラムコードと、主制御部10を構成するROM10bに予め記憶されている分割対象の所定のプログラムコードを用いて、複数の半群演算をそれぞれ行って得られた複数の個体認証用期待値とが予め記憶されている。ROM20bの記憶領域のうち、上記複数の個体認証用期待値が予め記憶されている記憶領域は、例えば、図1に示す演算値記憶手段21に対応させることができる。RAM20cは、CPU20aが中間処理を実行する際に行う演算のワークエリアとして機能する。
≪Intermediate part≫
The intermediate unit 20 includes a CPU 20a, a ROM 20b, a RAM 20c, and the like. The CPU 20a executes processing (hereinafter referred to as intermediate processing) based on a program (program code) stored in advance in the ROM 20b. The ROM 20b performs a plurality of half-group operations using a program code for the CPU 20a to execute intermediate processing and a predetermined program code to be divided that is stored in advance in the ROM 10b constituting the main control unit 10. A plurality of expected values for individual authentication obtained in advance are stored in advance. Among the storage areas of the ROM 20b, the storage area in which the plurality of expected values for individual authentication are stored in advance can correspond to, for example, the calculated value storage means 21 shown in FIG. The RAM 20c functions as a work area for calculations performed when the CPU 20a executes intermediate processing.

本実施の形態1において、この中間処理は、以下の[1]〜[7]の通りである。
[1]制御信号の受信
中間部20は、主制御部10から、制御コマンドデータ301、付随データ302、個体認証データ303及び動作認証データ304(同期コード304a及び時間コード304b)からなる認証データ付制御信号を受信する。
In the first embodiment, this intermediate processing is as follows [1] to [7].
[1] Receiving control signal The intermediate unit 20 receives authentication data including control command data 301, accompanying data 302, individual authentication data 303, and operation authentication data 304 (synchronization code 304a and time code 304b) from the main control unit 10. A control signal is received.

[2]個体検査値、同期コード及び時間コードの抽出
中間部20は、認証データ付制御信号から個体認証データ303、同期コード304a及び時間コード304bを抽出する。次に中間部20は、個体認証データ生成時に使用した暗号化処理に対応する復号化処理を抽出した個体認証データに施し、個体検査値を抽出する。中間部20は、抽出した個体検査値をRAM20cの所定の記憶領域(以下、個体検査値用メモリという)に記憶する。また、中間部20は、抽出した同期コード304aをRAM20cの所定の記憶領域(以下、同期コード用メモリという)に記憶する。また、中間部20は、抽出した時間コード304bをRAM20cの所定の記憶領域(以下、時間コード用メモリという)に記憶する。なお、同期コード304a及び時間コード304bに主制御部10において暗号化処理が施されている場合、中間部20は、施された暗号化処理に対応する複合化処理を抽出した同期コード304a及び時間コード304bに施す。
[2] Extraction of Individual Test Value, Synchronization Code, and Time Code The intermediate unit 20 extracts the individual authentication data 303, the synchronization code 304a, and the time code 304b from the control signal with authentication data. Next, the intermediate unit 20 applies a decryption process corresponding to the encryption process used when generating the individual authentication data to the extracted individual authentication data, and extracts an individual test value. The intermediate unit 20 stores the extracted individual test value in a predetermined storage area of the RAM 20c (hereinafter referred to as an individual test value memory). The intermediate unit 20 stores the extracted synchronization code 304a in a predetermined storage area of the RAM 20c (hereinafter referred to as a synchronization code memory). Further, the intermediate unit 20 stores the extracted time code 304b in a predetermined storage area of the RAM 20c (hereinafter referred to as a time code memory). When the main control unit 10 performs encryption processing on the synchronization code 304a and the time code 304b, the intermediate unit 20 extracts the synchronization code 304a and time extracted from the decryption processing corresponding to the applied encryption processing. It is applied to the code 304b.

[3]個体認証
中間部20は、個体検査値用メモリ内に記憶されているすべての個体検査値に対して、以下に示す順序で半群演算を行うことにより、主制御部10が正規の主制御部であるか否かについて、主制御部10の個体を認証することによる主制御部10の正規性を認証する個体認証処理を行う。
{1}中間部20は、上記個体検査値用メモリ内に記憶されているすべての個体検査値を用いて半群演算(以下、結合処理という)を行う。
{2}中間部20は、予め記憶されている個体認証用期待値をROM20bの所定の記憶領域から読み出す。
[3] Individual authentication The intermediate unit 20 performs a semi-group operation on all the individual test values stored in the individual test value memory in the order shown below, so that the main control unit 10 is authorized. An individual authentication process for authenticating the normality of the main control unit 10 by authenticating the individual of the main control unit 10 as to whether or not it is a main control unit is performed.
The {1} intermediate unit 20 performs a half-group operation (hereinafter referred to as a combining process) using all the individual test values stored in the individual test value memory.
{2} The intermediate unit 20 reads an expected value for individual authentication stored in advance from a predetermined storage area of the ROM 20b.

{3}中間部20は、上記{1}の処理における演算結果(以下、結合結果という)と、上記{2}の処理で読み出した個体認証用期待値が一致するか否か判断する(以下、照合処理という)。
中間部20は、結合結果と個体認証用期待値が一致した場合には、個体認証に成功したと判断する。
半群演算は上記結合法則を満たしているため、主制御部10のROM10bに予め記憶されている所定のプログラムコードのすべてに対して半群演算を行って得られた結果である個体認証用期待値と、所定のプログラムコードから生成された分割数分の個体検査値に対して半群演算を行って得られた結合結果とは一致する。これにより、中間部20は、主制御部10の正規性を認証する。
一方、中間部20は、結合結果と個体認証用期待値が一致しなかった場合には、個体認証に成功しなかったと判断する。
The {3} intermediate unit 20 determines whether or not the calculation result in the process {1} (hereinafter referred to as a combined result) matches the expected value for individual authentication read out in the process {2} (hereinafter referred to as “following result”). , Referred to as matching process).
The intermediate unit 20 determines that the individual authentication is successful when the combined result matches the expected value for individual authentication.
Since the semi-group operation satisfies the above-mentioned combination rule, the expectation for individual authentication that is the result obtained by performing the semi-group operation on all the predetermined program codes stored in advance in the ROM 10b of the main control unit 10 The value matches the combined result obtained by performing the semigroup operation on the individual test values for the number of divisions generated from the predetermined program code. Thereby, the intermediate unit 20 authenticates the normality of the main control unit 10.
On the other hand, if the combined result and the expected value for individual authentication do not match, the intermediate unit 20 determines that the individual authentication has not succeeded.

{4}{3}の処理で認証に成功した場合、中間部20は、個体認証が成功したことを示す認証結果を生成する。     If the authentication is successful in the processing of {4} {3}, the intermediate unit 20 generates an authentication result indicating that the individual authentication is successful.

{5}{3}の処理で個体認証が成功しなかった場合、中間部20は、主制御部10から受信した個体認証データの数が所定数以上か否かを判断する。所定数は、今回の分割数以上かつプログラムコード記憶領域400(図4参照)に記憶されているプログラムコードを分割可能な数(最大分割数)以下の範囲内の任意の数である。
{5−1}受信した個体認証データの数が所定数未満の場合、中間部20は、まだ認証が行える段階ではないと判断して認証結果に換えて、認証中途データとして、例えば、認証結果のデータ長と同一のデータ長を有する任意の値(例えば、オール0又はオール1)を生成する。
{5−2}受信した個体認証データの数が所定数以上の場合、中間部20は、個体認証が成功しなかったと判断して、個体認証が成功しなかったことを示す認証結果を生成する。
If the individual authentication is not successful in the process of {5} {3}, the intermediate unit 20 determines whether or not the number of individual authentication data received from the main control unit 10 is a predetermined number or more. The predetermined number is an arbitrary number within a range equal to or greater than the current division number and less than or equal to the number (maximum division number) in which the program code stored in the program code storage area 400 (see FIG. 4) can be divided.
{5-1} When the number of received individual authentication data is less than the predetermined number, the intermediate unit 20 determines that the authentication is not yet possible and determines the authentication halfway data as, for example, the authentication result. An arbitrary value (for example, all 0 or all 1) having the same data length as the data length is generated.
{5-2} If the number of received individual authentication data is a predetermined number or more, the intermediate unit 20 determines that the individual authentication has not been successful, and generates an authentication result indicating that the individual authentication has not been successful. .

(個体認証用期待値生成の計算例)
個体認証用期待値の生成方法について、図4を参照して説明する。
中間部20は、プログラムコード記憶領域400に記憶された分割対象の所定のプログラムコード全体に対して半群演算を行った値を個体認証用期待値として保持している。例えば、方式Aの場合の個体認証用期待値は「0x01」〜「0x0C」の和である「0x4E」となる。また、方式Bの場合の個体認証用期待値は「0x01」〜「0x0C」の排他的論理和である「0x0C」となる。中間部20では、主制御部10による個体検査値生成方法である半群演算の数と同数の個体認証用期待値を保持している。
(Calculation example of expected value generation for individual authentication)
A method for generating the expected value for individual authentication will be described with reference to FIG.
The intermediate unit 20 holds a value obtained by performing a semi-group operation on the entire predetermined program code to be divided stored in the program code storage area 400 as an expected value for individual authentication. For example, the expected value for individual authentication in the case of method A is “0x4E” which is the sum of “0x01” to “0x0C”. Further, the expected value for individual authentication in the case of method B is “0x0C” which is an exclusive OR of “0x01” to “0x0C”. The intermediate unit 20 holds the same number of expected values for individual authentication as the number of half-group operations that are individual test value generation methods by the main control unit 10.

中間部20が照合に用いる個体認証用期待値は、例えば、製造時など、予め中間部20を構成するROM20bの所定の記憶領域に記憶させてもよいが、これに限定されず他の構成部から中間部20に送信することとしてもよい。他の構成部としては、例えば、賞球制御部204や個体認証用期待値を生成するための専用の処理部(以下、個体認証用期待値算出部という)などがある。なお、個体認証用期待値算出部は、予め記憶されている個体認証用期待値を中間部20に送信してもよい。また、外部接続用インターフェイス(図示略)を介して、外部の機器から中間部20や個体認証用期待値算出部に個体認証用期待値を算出するために必要な係数などを送信してもよい。このように、中間部20を構成するROM20bの所定の記憶領域に、予め個体認証用期待値を記憶させずに、他の構成部から取得することとすれば、個体検査値を事後的に変更することが可能となる。   The expected value for individual authentication used by the intermediate unit 20 for collation may be stored in advance in a predetermined storage area of the ROM 20b that configures the intermediate unit 20 at the time of manufacture, for example. However, the present invention is not limited to this. It is good also as transmitting to the intermediate | middle part 20. Examples of other components include a prize ball control unit 204 and a dedicated processing unit for generating an individual authentication expected value (hereinafter referred to as an individual authentication expected value calculation unit). The individual authentication expected value calculation unit may transmit the stored individual authentication expected value to the intermediate unit 20. Further, a coefficient necessary for calculating the expected value for individual authentication may be transmitted from an external device to the intermediate unit 20 or the expected value calculation unit for individual authentication via an external connection interface (not shown). . As described above, if the expected value for individual authentication is not stored in advance in the predetermined storage area of the ROM 20b constituting the intermediate unit 20, the individual test value is changed afterwards. It becomes possible to do.

個体認証処理を実行する手段は、例えば、図1に示す個体認証手段22に対応させることができる。   The means for executing the individual authentication process can correspond to, for example, the individual authentication means 22 shown in FIG.

[4]動作認証
中間部20は、動作認証データ304である同期コード304a及び時間コード304bのそれぞれを用いて、主制御部10の動作順序を認証する。なお、中間部20は、動作認証に先立って、個体認証によって判明した個体検査値の数(結合数)に基づいて、同期コード304aを生成するために用いられたパケット情報の種類を特定する。
[4] Operation Authentication The intermediate unit 20 authenticates the operation order of the main control unit 10 using each of the synchronization code 304a and the time code 304b which are the operation authentication data 304. Prior to the operation authentication, the intermediate unit 20 specifies the type of packet information used to generate the synchronization code 304a based on the number of individual test values (number of connections) found by individual authentication.

{1}同期コードを用いた動作認証
中間部20は、同期コード用メモリ内に記憶されている同期コード304aを用いて主制御部10の動作順序を認証する。同期コード304aには所定のタイミングで生成された複数のパケット情報の少なくとも一つが含まれている。これら複数のパケット情報の差分を求めることによって、パケット情報同士が、予め特定されたパケット情報の種類に応じた所定の相関関係が保たれているか否かを判断することができる。所定の相関関係が保たれている場合には、制御コマンド送信処理が継続性をもっており、他の不正な制御基板から送信された制御コマンドではないため、正しい動作順序であると認証される。動作認証に成功した場合、中間部20は、動作認証が成功したことを示す認証結果を生成する。動作認証が成功しなかった場合、動作認証が成功しなかったことを示す認証結果を生成する。
{1} Operation Authentication Using Synchronization Code The intermediate unit 20 authenticates the operation order of the main control unit 10 using the synchronization code 304a stored in the synchronization code memory. The synchronization code 304a includes at least one of a plurality of packet information generated at a predetermined timing. By obtaining the difference between these pieces of packet information, it is possible to determine whether or not the packet information has a predetermined correlation according to the type of packet information specified in advance. When the predetermined correlation is maintained, the control command transmission process has continuity, and is not a control command transmitted from another unauthorized control board, so that the correct operation order is authenticated. When the operation authentication is successful, the intermediate unit 20 generates an authentication result indicating that the operation authentication is successful. If the operation authentication is not successful, an authentication result indicating that the operation authentication is not successful is generated.

なお、主制御部10において同期コードに所定の演算が施されている場合、中間部20は、主制御部10の演算処理の内容に応じて所定の演算を行って同期コードを取得する。そして、この同期コードが、主制御部10の動作が継続していることをあらわすコードであった場合、主制御部10の動作が正しい順序の動作であると認証する。なお、中間部20は、直接同期コードを受信した場合には、この同期コードを用いて主制御部10の動作順序の認証を行う。   When a predetermined calculation is performed on the synchronization code in the main control unit 10, the intermediate unit 20 performs a predetermined calculation according to the contents of the calculation process of the main control unit 10 to obtain the synchronization code. If the synchronization code is a code indicating that the operation of the main control unit 10 continues, the operation of the main control unit 10 is authenticated as an operation in the correct order. When the intermediate unit 20 directly receives the synchronization code, the intermediate unit 20 authenticates the operation order of the main control unit 10 using the synchronization code.

(同期コードを用いた動作認証の具体例)
以下、中間部20における同期コードを用いた動作認証の具体例を説明する。中間部20は、所定のタイミングで連続して生成された2つのパケット情報同士の相関関係から同期状態を検証する。例えば、1回目のパケット(以下、「パケット1」という)の基本値=0x03、2回目のパケット(以下「パケット2」という)の基本値=0x05であり、パケット1とパケット2との相関条件(認証成功条件)は「+2」となる。そして主制御部10から送信するパケット1の同期コードの値は、基本値のまま0x03となり、パケット2の同期コードの値は、パケット1+パケット2すなわち0x03+0x05となり「0x08」が送信される。
(Specific example of operation authentication using synchronization code)
Hereinafter, a specific example of operation authentication using the synchronization code in the intermediate unit 20 will be described. The intermediate unit 20 verifies the synchronization state from the correlation between two pieces of packet information generated continuously at a predetermined timing. For example, the basic value of the first packet (hereinafter referred to as “packet 1”) = 0x03, the basic value of the second packet (hereinafter referred to as “packet 2”) = 0x05, and the correlation condition between packet 1 and packet 2 (Authentication success condition) is “+2”. Then, the synchronization code value of packet 1 transmitted from the main control unit 10 remains 0x03 as the basic value, and the synchronization code value of packet 2 becomes packet 1 + packet 2, that is, 0x03 + 0x05, and "0x08" is transmitted.

そして、中間部20において受信するパケット1は、基本値のまま0x03となり、パケット2は、0x08となる。そして、パケット2の基本値を算出するため、受信したパケット2からパケット1を引き、0x08−0x03=0x05を求める。   Then, the packet 1 received by the intermediate unit 20 is 0x03 as the basic value, and the packet 2 is 0x08. Then, in order to calculate the basic value of the packet 2, the packet 1 is subtracted from the received packet 2 to obtain 0x08-0x03 = 0x05.

パケット1とパケット2との双方の基本値が求まると、2つのパケットの相関関係を求める。すなわち、パケット2基本値−パケット1基本値=0x05−0x03となり、相関値は0x02となる。この値は、パケット1の基本値とパケット2の基本値との相関条件(+2であること)を満たすので認証成功と判断される。認証が成功した後、RAM20cの所定の記憶領域に記憶されている同期コードを消去する。   When the basic values of both packet 1 and packet 2 are obtained, the correlation between the two packets is obtained. That is, packet 2 basic value−packet 1 basic value = 0x05−0x03, and the correlation value is 0x02. Since this value satisfies the correlation condition (which is +2) between the basic value of packet 1 and the basic value of packet 2, it is determined that authentication is successful. After successful authentication, the synchronization code stored in a predetermined storage area of the RAM 20c is deleted.

なお、パケット1とパケット2を用いた演算処理において、演算結果が桁あふれしないように桁数を調整してもよいし、桁あふれしない数値範囲でパケット1とパケット2の基本値を選定してもよいし、さらに、符号なし演算として計算してもよい。また、認証強度を上げるために、認証処理ごとに相関条件を変更してもよい。例えば、1回目の相関条件は「+2」、2回目の相関条件は「+5」、3回目の相関条件は「+1」などとしてもよい。ただし、上述のような相関関係の変更ルールを適用する場合には、予め主制御部10と中間部20との相互で共有しておくか、通知する手段や工程を用意しておく。   In the arithmetic processing using packet 1 and packet 2, the number of digits may be adjusted so that the arithmetic result does not overflow, or the basic values of packet 1 and packet 2 are selected within a numerical range that does not overflow. Alternatively, it may be calculated as an unsigned operation. Further, the correlation condition may be changed for each authentication process in order to increase the authentication strength. For example, the first correlation condition may be “+2”, the second correlation condition may be “+5”, the third correlation condition may be “+1”, and the like. However, when the correlation change rule as described above is applied, the main control unit 10 and the intermediate unit 20 share in advance, or a means or process for notifying is prepared.

また、単純に連続するパケット情報を送信しただけでは、第三者にパケット情報の差分を解析されてしまう可能性もある。したがって、解析を防ぐために基本値に前処理を施してもよい。例えば、パケット情報の基本値に排他的論理和演算などの各種演算処理を施してもよい。また、基本値への前処理は、パケット1とパケット2のような任意の間隔ごとに予め設定された生成タイミングによって生成された2つのパケット情報のうちのいずれか一方にのみ施してもよいし、双方に施してもよい。   In addition, simply transmitting continuous packet information may cause a third party to analyze packet information differences. Accordingly, the basic value may be preprocessed to prevent analysis. For example, various arithmetic processing such as exclusive OR operation may be performed on the basic value of the packet information. In addition, the pre-processing to the basic value may be performed only on one of the two pieces of packet information generated at a predetermined generation timing for each arbitrary interval such as packet 1 and packet 2. , May be applied to both.

{2}時間コードを用いた動作認証
中間部20は、RAM20cの所定の記憶領域に記憶された時間コードに含まれる計時情報同士が連続性を有するか否かに基づいて主制御部10の動作の継続性を認証する。主制御部10において、計時情報からある基準値を設定し、この基準値からの差分値又は累積値として複数の時間コードが生成され、中間部20に送信される。中間部20は、受信した時間コードの値が時系列的に増加しているか否かにより、主制御部10の動作の継続性を認証する。中間部20は、時間コードの値が時系列的に増加している場合、計時情報同士が連続性を有していると判断し、主制御部10の動作が継続性を有する正しい順序の動作であると認証する。認証が成功した後、RAM20cの所定の記憶領域に記憶された時間コードを消去する。
{2} Operation Authentication Using Time Code The intermediate unit 20 operates the main control unit 10 based on whether time information included in the time code stored in the predetermined storage area of the RAM 20c has continuity. Authenticate the continuity of In the main control unit 10, a certain reference value is set from the time measurement information, and a plurality of time codes are generated as difference values or accumulated values from the reference value, and transmitted to the intermediate unit 20. The intermediate unit 20 authenticates the continuity of the operation of the main control unit 10 depending on whether or not the value of the received time code increases in time series. When the value of the time code increases in time series, the intermediate unit 20 determines that the timekeeping information is continuous, and the operation of the main control unit 10 is performed in the correct order with continuity. Authenticate that After successful authentication, the time code stored in a predetermined storage area of the RAM 20c is deleted.

このように、時間コードを参照することによって、主制御部10にて実行されている動作が継続して行われているか否かを簡易的に判定することができる。したがって、不正行為や誤作動への対策を講じることができる。具体的には、時間コードによって認証した動作順序が継続した動作であると判定されなかった場合、不正な制御コマンドが送信されている可能性があると判断することができる。   In this way, by referring to the time code, it is possible to easily determine whether or not the operation being executed in the main control unit 10 is continuously performed. Therefore, it is possible to take measures against fraud and malfunction. Specifically, when it is not determined that the operation sequence authenticated by the time code is a continuous operation, it can be determined that there is a possibility that an unauthorized control command has been transmitted.

なお、主制御部10において時間コードに所定の演算が施されている場合、中間部20は、主制御部10の演算処理の内容に応じて所定の演算を行って時間コードを取得する。そして、この時間コードが、主制御部10の動作が継続していることをあらわすコードであった場合、主制御部10の動作が正しい順序の動作であると認証する。なお、中間部20は、直接時間コードを受信した場合には、この時間コードを用いて主制御部10の動作順序の認証を行う。   When a predetermined calculation is performed on the time code in the main control unit 10, the intermediate unit 20 performs a predetermined calculation according to the content of the calculation process of the main control unit 10 to obtain a time code. If this time code is a code indicating that the operation of the main control unit 10 continues, the operation of the main control unit 10 is authenticated as an operation in the correct order. When the intermediate unit 20 directly receives the time code, the intermediate unit 20 authenticates the operation sequence of the main control unit 10 using the time code.

動作認証処理を実行する手段は、例えば、図1に示す動作認証手段23に対応させることができる。   The means for executing the operation authentication process can correspond to, for example, the action authentication means 23 shown in FIG.

[5]中間処理情報の生成
中間部20は、[3]の個体認証処理、[4]の動作認証処理で得られた認証結果、又は認証結果に対して主制御部10で個体認証データを生成した際と同様に暗号化処理を施されたものを、中間処理情報として生成する。中間部20は、[3]の個体認証処理及び[4]の動作認証処理が認証成功であった場合、主制御部10の認証が成功したと判断して認証成功を示す中間処理情報を生成する。また、中間部20は、[3]の個体認証処理又は[4]の動作認証処理のいずれかが認証不成功であった場合、主制御部10の認証が成功しなかったと判断して認証不成功を示す中間処理情報を生成する。
[5] Generation of intermediate processing information The intermediate unit 20 generates individual authentication data in the main control unit 10 for the individual authentication process [3], the authentication result obtained by the operation authentication process [4], or the authentication result. Information that has been subjected to encryption processing in the same manner as when it is generated is generated as intermediate processing information. If the individual authentication process [3] and the operation authentication process [4] are successful, the intermediate unit 20 determines that the authentication of the main control unit 10 is successful and generates intermediate process information indicating the successful authentication. To do. The intermediate unit 20 determines that the authentication of the main control unit 10 has not succeeded when either of the individual authentication process [3] or the operation authentication process [4] is unsuccessful. Generate intermediate processing information indicating success.

(中間処理情報生成の計算例)
中間処理情報の生成の計算の一例を以下に示す。
中間部20は、すべての値の出現確率が等しい一様乱数(uniform random numbers)により1バイト長の乱数(範囲「0x00」〜「0xFF」)を発生させる。例えば、一様乱数により乱数「0x4B」を発生させたとする。中間部20は、認証に成功した場合、一様乱数により発生させた乱数「0x4B」の最下位ビットの値を「1」としたデータ「0x4B」を中間処理情報305とする。一方、中間部20は、認証に成功しなかった場合、一様乱数により発生させた乱数「0x4B」の最下位ビットの値を「0」としたデータ「0x4A」を中間処理情報305とする。
(Calculation example of intermediate processing information generation)
An example of calculation for generating intermediate processing information is shown below.
The intermediate unit 20 generates 1-byte long random numbers (range “0x00” to “0xFF”) with uniform random numbers having the same appearance probability of all values. For example, assume that a random number “0x4B” is generated by a uniform random number. When the authentication is successful, the intermediate unit 20 sets the data “0x4B” having the value of the least significant bit of the random number “0x4B” generated by the uniform random number as “1” as the intermediate processing information 305. On the other hand, if the authentication is not successful, the intermediate unit 20 sets the data “0x4A” having the value of the least significant bit of the random number “0x4B” generated by the uniform random number as “0” as the intermediate processing information 305.

[6]中間処理情報付制御信号の生成
中間部20は、中間処理情報を制御コマンドデータ301及び付随データ302を含む通常の制御信号に付加し中間処理情報付制御信号を生成する。
[6] Generation of control signal with intermediate processing information The intermediate unit 20 adds intermediate processing information to a normal control signal including control command data 301 and accompanying data 302 to generate a control signal with intermediate processing information.

[7]制御信号の送信
中間部20は、中間処理情報付制御信号を演出制御部203に送信する。なお、これらの中間処理([1]〜[7]の処理)の詳細については、後述する。
[7] Transmission of control signal The intermediate unit 20 transmits a control signal with intermediate processing information to the effect control unit 203. Details of these intermediate processes (the processes [1] to [7]) will be described later.

ここで、中間部20が演出制御部203に送信する制御信号のデータフォーマットの一例について、図7に示す模式図を参照して説明する。主制御部10から図6(1)に示す通常の制御信号300が送信された場合には、中間部20は、図7(1)に示すように、制御コマンドデータ301及び付随データ302が含まれる通常の制御信号320をそのまま演出制御部203に送信する。一方、主制御部10から、例えば、図6(2)〜(4)に示す認証データ付制御信号310〜312等が送信された場合には、中間部20は、個体認証データ303から得られた各個体検査値を用いた認証等の中間処理を行って、中間処理情報305を生成し、例えば、図7(2)〜(4)に示す中間処理情報付制御信号321〜323等を生成し、演出制御部203に送信する。   Here, an example of a data format of a control signal transmitted from the intermediate unit 20 to the effect control unit 203 will be described with reference to a schematic diagram shown in FIG. When the normal control signal 300 shown in FIG. 6 (1) is transmitted from the main control unit 10, the intermediate unit 20 includes control command data 301 and accompanying data 302 as shown in FIG. 7 (1). The normal control signal 320 is transmitted to the effect control unit 203 as it is. On the other hand, for example, when control signals with authentication data 310 to 312 shown in FIGS. 6 (2) to (4) are transmitted from the main control unit 10, the intermediate unit 20 is obtained from the individual authentication data 303. Intermediate processing such as authentication using each individual test value is performed to generate intermediate processing information 305, for example, control signals 321 to 323 with intermediate processing information shown in FIGS. 7 (2) to (4) are generated. And transmitted to the effect control unit 203.

このように、中間処理情報305を制御信号に含めることによって、中間処理情報305単体で送信する場合と比較して、中間部20と演出制御部203との間の通信負荷の増大を抑えることができる。また、中間処理情報305を制御信号に含めることによって、中間処理情報305を単体で送信する場合と比較して、通信データ中から中間処理情報305が抽出され、解析されてしまう危険性を低減することができる。   In this way, by including the intermediate processing information 305 in the control signal, an increase in the communication load between the intermediate unit 20 and the effect control unit 203 can be suppressed as compared with the case where the intermediate processing information 305 is transmitted alone. it can. Also, by including the intermediate processing information 305 in the control signal, the risk that the intermediate processing information 305 is extracted and analyzed from the communication data is reduced compared to the case where the intermediate processing information 305 is transmitted alone. be able to.

また、所定の制御コマンドにのみ中間処理情報305を付加してもよい。この場合、演出制御部203が実行するプログラムには所定の制御コマンドに関する認証処理を追加するだけでよい。したがって、演出制御部203が実行するプログラム全体にわたる新たなタイミングの設計する必要がないので、すべての制御コマンドに中間処理情報305が付加される場合と比較して、認証機能を追加するタイミングの設計、機能の実装、機能の検証など、より簡単に、少ない作業工数で実現することができる。   Further, the intermediate processing information 305 may be added only to a predetermined control command. In this case, it is only necessary to add an authentication process related to a predetermined control command to the program executed by the effect control unit 203. Accordingly, since it is not necessary to design a new timing for the entire program executed by the effect control unit 203, the timing design for adding the authentication function is compared with the case where the intermediate processing information 305 is added to all the control commands. Implementation of functions, verification of functions, etc. can be realized more easily and with less work man-hours.

≪演出制御部≫
演出制御部203は、CPU203aと、ROM203bと、RAM203cと、VRAM203d等を備えている。CPU203aは、主に遊技中における演出を制御し、ROM203bに予め記憶されているプログラム(プログラムコード)に基づき、主制御部10より中間部20を介して送信される制御コマンドに基づいて演出の抽選及び演出処理を実行する。ROM203bには、CPU203aが演出の抽選及び演出処理を実行するためのプログラムコードと、過去の演出パターンとが予め記憶されている。RAM203cは、CPU203aが演出の抽選及び演出処理を実行する際に行う演算処理において、データ等のワークエリアとして機能する。VRAM203dには、図柄表示部104に表示させるための画像データが書き込まれる。
≪Direction control unit≫
The effect control unit 203 includes a CPU 203a, a ROM 203b, a RAM 203c, a VRAM 203d, and the like. The CPU 203a mainly controls the effects during the game, and based on a control command transmitted from the main control unit 10 via the intermediate unit 20 based on a program (program code) stored in advance in the ROM 203b. And effect processing. The ROM 203b stores in advance a program code for the CPU 203a to execute a lottery and a production process of production and past production patterns. The RAM 203c functions as a work area for data and the like in arithmetic processing performed when the CPU 203a executes lottery and effect processing of effects. Image data to be displayed on the symbol display unit 104 is written in the VRAM 203d.

この演出制御部203は、主制御部10より中間部20を介して送信される演出に係る制御コマンドを受信すると、この制御コマンドに基づいて抽選を行い、演出背景パターン、リーチ演出パターン、登場キャラクター等の演出を確定するとともに、当該確定した演出の制御を行う。
また、演出制御部203の出力側には、図柄表示部104が接続されており、抽選によって決定された内容のとおりに、図柄表示部104に、例えば、図柄変動の演出表示を展開する。
When the effect control unit 203 receives a control command related to the effect transmitted from the main control unit 10 via the intermediate unit 20, the effect control unit 203 performs a lottery based on the control command, and produces an effect background pattern, a reach effect pattern, and an appearance character. And the like are controlled, and the determined effect is controlled.
In addition, the symbol display unit 104 is connected to the output side of the effect control unit 203, and, for example, a symbol change effect display is developed on the symbol display unit 104 according to the content determined by the lottery.

そして通常、CPU203aがROM203bに記憶されたプログラムを読み込んで、背景画像表示処理、図柄画像表示及び変動処理、キャラクター画像表示処理など各種画像処理を実行し、必要な画像データをROM203bから読み出してVRAM203dに書き込む。背景画像、図柄画像、キャラクター画像は、表示画面上において図柄表示部104に重畳表示される。
すなわち、図柄画像やキャラクター画像は背景画像よりも手前に見えるように表示される。このとき、同一位置に背景画像と図柄画像が重なる場合、Zバッファ法など周知の陰面消去法により各画像データのZバッファのZ値を参照することで、図柄画像を優先してVRAM203dに記憶させる。
Normally, the CPU 203a reads a program stored in the ROM 203b, executes various image processing such as background image display processing, symbol image display and variation processing, and character image display processing. Write. The background image, the design image, and the character image are superimposed and displayed on the design display unit 104 on the display screen.
That is, the design image and the character image are displayed so as to be seen in front of the background image. At this time, if the background image and the design image overlap at the same position, the design image is preferentially stored in the VRAM 203d by referring to the Z value of the Z buffer of each image data by a known hidden surface removal method such as the Z buffer method. .

また、演出制御部203は、以上概略説明した処理の他に、中間処理情報付制御信号を受信した場合には、ROM203bに予め記憶されているプログラムに基づき、以下に示す認証に関する処理を実行する。   In addition to the processing outlined above, the effect control unit 203 executes the following processing related to authentication based on a program stored in advance in the ROM 203b when receiving a control signal with intermediate processing information. .

演出制御部203は、中間処理情報付制御信号から中間処理情報を抽出し、中間処理情報に復号化処理を施し、認証結果を取り出す。演出制御部203は、認証結果が認証の成功を示す場合には、制御コマンドに基づく処理を行う。認証結果が認証の不成功を示す場合には、その旨の報知等を行う。   The effect control unit 203 extracts the intermediate process information from the control signal with intermediate process information, performs a decoding process on the intermediate process information, and extracts an authentication result. The effect control unit 203 performs processing based on the control command when the authentication result indicates successful authentication. When the authentication result indicates unsuccessful authentication, a notification to that effect is made.

演出制御部203の入力側には、上記チャンスボタン117が操作されたことを検出するチャンスボタン検出部220が接続されている。また演出制御部203の出力側には、スピーカ277が接続されており、演出制御部203において確定したとおりに、音声が出力されるようにしている。
また演出制御部203の出力側には、ランプ制御部205を備えている。
A chance button detection unit 220 that detects that the chance button 117 is operated is connected to the input side of the effect control unit 203. In addition, a speaker 277 is connected to the output side of the effect control unit 203 so that sound is output as determined by the effect control unit 203.
A lamp control unit 205 is provided on the output side of the effect control unit 203.

≪その他の制御部≫
ランプ制御部205は、演出制御部203より送信された制御コマンドに基づきROM205bから読み込んだプログラムを作動させて演出処理を実行するCPU205aと、上記プログラム及び各種演出パターンデータを記憶するROM205bと、CPU205aの演算処理時におけるデータのワークエリアとして機能するRAM205c等を備えている。ランプ制御部205は、ランプ262、演出ライト111a及び111b、演出役物作動装置254を制御する。演出役物作動装置254は、演出役物115等の、演出用の役物を作動させるモータやソレノイド等によって構成されている。
≪Other control parts≫
The lamp control unit 205 operates the program read from the ROM 205b based on the control command transmitted from the effect control unit 203 to execute the effect process, the ROM 205b that stores the program and various effect pattern data, and the CPU 205a. A RAM 205c and the like functioning as a data work area at the time of arithmetic processing are provided. The lamp control unit 205 controls the lamp 262, the effect lights 111a and 111b, and the effect agent actuating device 254. The stage effect actuating device 254 is configured by a motor, a solenoid, and the like that actuate a stage role such as the stage role 115.

ランプ制御部205は、遊技盤101や台枠等に設けられている各種ランプ262に対する点灯制御等を行い、また、演出ライト111a及び111bをそれぞれ構成する複数のライト112に対する点灯制御等を行い、各ライト112からの光の照射方向を変更するためにモータに対する駆動制御等を行う。
また、ランプ制御部205は、演出制御部203より送信された制御コマンドに基づき、演出役物115を動作させる演出役物作動装置254のソレノイドや、瞼部116を動作させる演出役物作動装置254のモータに対する駆動制御等を行う。
The lamp control unit 205 performs lighting control and the like for various lamps 262 provided on the game board 101 and underframe, etc., and performs lighting control and the like for the plurality of lights 112 that respectively constitute the effect lights 111a and 111b. In order to change the irradiation direction of the light from each light 112, drive control for the motor is performed.
Further, the lamp control unit 205 is based on the control command transmitted from the effect control unit 203, and the effect agent actuating device 254 that operates the solenoid of the effect agent actuating device 254 that operates the effect agent 115 and the collar unit 116. Drive control for the motor is performed.

賞球制御部204は、主制御部10と送受信可能に接続されている。賞球制御部204は、ROM204bに記憶されたプログラムに基づき、賞球制御を行う。この賞球制御部204は、ROM204bに記憶されたプログラムを作動して賞球制御の処理を実行するCPU204aと、CPU204aの演算処理時におけるデータのワークエリアとして機能するRAM204c等を備えている。   The prize ball control unit 204 is connected to the main control unit 10 so as to be able to transmit and receive. The prize ball control unit 204 performs prize ball control based on a program stored in the ROM 204b. The prize ball control unit 204 includes a CPU 204a that executes a prize ball control process by operating a program stored in the ROM 204b, and a RAM 204c that functions as a data work area during the calculation process of the CPU 204a.

賞球制御部204は、接続される払出部291に対して、各入球口(第1始動口105、第2始動口120、普通入賞口107、第1大入賞口109c、第2大入賞口129c)に入球した遊技球に対応した賞球数を払い出す制御を行う。また、賞球制御部204は、発射部292に対する遊技球の発射の操作を検出し、遊技球の発射を制御する。発射部292は、遊技のための遊技球を発射するものであり、遊技者による遊技操作を検出するセンサ(図示略)と、遊技球を発射させるソレノイド等(図示略)を備えている。賞球制御部204は、発射部292のセンサにより遊技操作を検出すると、検出された遊技操作に対応してソレノイド等を駆動させて遊技球を間欠的に発射させ、遊技盤101の遊技領域103に遊技球を送り出す。
払出部291は、遊技球の貯留部から所定数を払い出すためのモータ等からなる。
The winning ball control unit 204 makes each of the winning ports (first starting port 105, second starting port 120, normal winning port 107, first big winning port 109c, second big winning a prize) to the payout unit 291 connected thereto. Control is performed to pay out the number of prize balls corresponding to the game ball that has entered the mouth 129c). The award ball control unit 204 detects an operation of launching a game ball with respect to the launch unit 292 and controls the launch of the game ball. The launching unit 292 launches a game ball for gaming, and includes a sensor (not shown) that detects a game operation by the player, a solenoid that launches the game ball, and the like (not shown). When the award ball control unit 204 detects a game operation by the sensor of the launch unit 292, the prize ball control unit 204 intermittently fires a game ball by driving a solenoid or the like in response to the detected game operation, thereby playing the game area 103 of the game board 101. A game ball is sent out.
The payout unit 291 includes a motor for paying out a predetermined number from the game ball storage unit.

上記構成の主制御部10と、中間部20と、演出制御部203と、賞球制御部204と、ランプ制御部205とは、それぞれ異なるプリント基板(例えば、主制御部10は主制御基板、中間部20は中間基板、演出制御部203は演出制御基板、賞球制御部204は賞球制御基板、ランプ制御部205はランプ制御基板)に搭載されている。これらのうち、中間基板、演出制御基板、賞球制御基板及びランプ制御基板の総称として、「周辺基板」を用いる。なお、例えば、中間部20は、演出制御部203と同一のプリント基板上に搭載することもできる。また、賞球制御部204は、主制御部10と同一のプリント基板上に搭載することもできる。   The main control unit 10, the intermediate unit 20, the production control unit 203, the prize ball control unit 204, and the lamp control unit 205 configured as described above are different printed boards (for example, the main control unit 10 is a main control board, The intermediate unit 20 is mounted on an intermediate board, the effect control unit 203 is mounted on an effect control board, the prize ball control unit 204 is mounted on a prize ball control board, and the lamp control unit 205 is mounted on a lamp control board. Among these, “peripheral board” is used as a general term for the intermediate board, the effect control board, the prize ball control board, and the lamp control board. For example, the intermediate unit 20 can be mounted on the same printed circuit board as the effect control unit 203. The prize ball control unit 204 can also be mounted on the same printed circuit board as the main control unit 10.

次に、上記構成のパチンコ遊技機1の動作について、図面を参照して説明する。なお、以下の説明において、「制御コマンドを送信する」とは、「当該制御コマンドを示すデータ(制御コマンドデータ)を含む制御信号を送信する」という意味であり、例えば、図6に示す個体認証データや動作認証データや付随データの有無は考慮しないものとする。   Next, the operation of the pachinko gaming machine 1 configured as described above will be described with reference to the drawings. In the following description, “transmit a control command” means “transmit a control signal including data (control command data) indicating the control command”. For example, the individual authentication shown in FIG. The presence of data, operation authentication data, and accompanying data is not considered.

主制御部10による中間部20及び賞球制御部204への制御コマンド送信を含む処理について、図8及び図9に示すフローチャートを参照して説明する。
まず、主制御部10は、パチンコ遊技機1の電源投入に伴う初期設定処理を実行(ステップS1)した後、ステップS2へ進む。なお、パチンコ遊技機1に電源が投入された際には、周辺基板が主制御基板から受信する制御コマンドを確実に取り込むために、周辺基板が立ち上がってRAM領域の初期化処理を行い、待機状態となった後、主制御基板が立ち上がるように構成されている。主制御部10は、初期設定処理として、例えば、スタックポインタに予め決められた所定値を設定するとともに、中間部20、演出制御部203及び賞球制御部204が待機状態になることを待つために、所定時間(例えば、約1秒間)だけ待機する。
Processing including control command transmission by the main control unit 10 to the intermediate unit 20 and the prize ball control unit 204 will be described with reference to the flowcharts shown in FIGS.
First, the main control unit 10 executes an initial setting process associated with power-on of the pachinko gaming machine 1 (step S1), and then proceeds to step S2. When the pachinko gaming machine 1 is turned on, the peripheral board starts up and performs initialization of the RAM area in order to reliably capture the control command received from the main control board by the peripheral board. After that, the main control board is configured to stand up. As the initial setting process, the main control unit 10 sets, for example, a predetermined value for the stack pointer, and waits for the intermediate unit 20, the effect control unit 203, and the prize ball control unit 204 to enter a standby state. And wait for a predetermined time (for example, about 1 second).

ステップS2では、主制御部10は、中間部20及び賞球制御部204に電源投入コマンドを送信した後、ステップS3へ進む。電源投入コマンドを受信すると、中間部20は、当該電源投入コマンドを演出制御部203に送信する。電源投入コマンドを受信すると、演出制御部203は、図柄表示部104やランプ制御部205のそれぞれに対して電源投入時の演出用の制御コマンド、具体的には、遊技機が非遊技状態における客待ちのデモ画面を表示するための客待ちデモコマンド、あるいは、ランプの点灯等を行うための制御コマンドを送信する。   In step S2, the main control unit 10 transmits a power-on command to the intermediate unit 20 and the prize ball control unit 204, and then proceeds to step S3. When receiving the power-on command, the intermediate unit 20 transmits the power-on command to the effect control unit 203. When the power-on command is received, the effect control unit 203 controls the design display command at the time of power-on to each of the symbol display unit 104 and the lamp control unit 205, specifically, the customer in the non-game state of the gaming machine. A customer waiting demo command for displaying a waiting demo screen or a control command for lighting a lamp or the like is transmitted.

なお、電源投入コマンドは、電源投入後に電源投入に伴う処理を実行させるための制御コマンドを示し、各制御基板が立ち上がった後に、主制御部10が中間部20、中間部20を介して演出制御部203、及び賞球制御部204に送信する制御コマンドであって、電源投入後の立ち上げ時における遊技を制御するための初期制御情報、例えば、制御モード、バックアップデータ等を送信するための制御コマンド、あるいは初期演出表示の制御を行うための制御コマンド、例えば、客待ちデモ等の各種のデモ表示を開始させるための制御コマンドである。また、この電源投入コマンドは遊技機のリセットボタンを押圧したときに実行される、上記制御モード、バックアップデータ等を送信するための制御コマンドも含む。   The power-on command indicates a control command for executing processing associated with power-on after power-on. After each control board is started up, the main control unit 10 controls the production via the intermediate unit 20 and the intermediate unit 20. Control command transmitted to the unit 203 and the prize ball control unit 204, and control for transmitting initial control information for controlling a game at the time of start-up after power-on, for example, control mode, backup data, etc. A command or a control command for controlling the initial effect display, for example, a control command for starting various demonstration displays such as a customer waiting demonstration. The power-on command also includes a control command for transmitting the control mode, backup data, etc., which is executed when the reset button of the gaming machine is pressed.

ステップS3では、主制御部10は、RAM10cに記憶されている未抽選入賞回数データを参照して、未抽選入賞回数が0回であるか否かを判断する。ここで、未抽選入賞回数とは、第1始動口検出部221又は第2始動口検出部225で検出された遊技球の数(入賞回数)から、当該遊技球の入球に対応する抽選が行われた回数(既抽選回数)を減じた数である。ステップS3の判断結果が「NO」の場合、すなわち、未抽選入賞回数が0回でない場合には、主制御部10は、後述するステップS10へ進む。一方、ステップS3の判断結果が「YES」の場合、すなわち、未抽選入賞回数が0回である場合には、主制御部10は、ステップS4へ進む。   In step S <b> 3, the main control unit 10 determines whether or not the number of undrawn winning prizes is 0 with reference to the data for undrawn winning prizes stored in the RAM 10 c. Here, the number of undrawn winning prizes refers to a lottery corresponding to the number of winning game balls based on the number of game balls (number of winning prizes) detected by the first start port detecting unit 221 or the second start port detecting unit 225. This is the number obtained by subtracting the number of times performed (number of already drawn lots). If the determination result in step S3 is “NO”, that is, if the number of undrawn winning prizes is not zero, the main control unit 10 proceeds to step S10 described later. On the other hand, when the determination result of step S3 is “YES”, that is, when the number of undrawn winning prizes is 0, the main control unit 10 proceeds to step S4.

ステップS4では、主制御部10は、電源投入時のデモが開始されてから経過した時間を計測した後、ステップS5へ進む。ステップS5では、主制御部10は、電源投入時のデモが開始されてから所定時間が経過したか否かを判断する。ステップS5の判断結果が「YES」の場合、すなわち、電源投入時のデモが開始されてから所定時間が経過した場合には、主制御部10は、ステップS6へ進む。なお、上記電源投入時のデモを開始するための制御コマンドは、客待ちデモコマンドとしてもよい。   In step S4, the main control unit 10 measures the time that has elapsed since the start-up demonstration was started, and then proceeds to step S5. In step S <b> 5, the main control unit 10 determines whether or not a predetermined time has elapsed since the start-up demonstration was started. If the determination result in step S5 is “YES”, that is, if a predetermined time has elapsed since the demonstration at power-on was started, the main control unit 10 proceeds to step S6. Note that the control command for starting the demonstration when the power is turned on may be a customer waiting demonstration command.

ステップS6では、主制御部10は、中間部20に客待ちデモコマンドを送信した後、ステップS7へ進む。客待ちデモコマンドを受信すると、中間部20は、当該客待ちデモコマンドを演出制御部203に送信する。客待ちデモコマンドを受信すると、演出制御部203は、図柄表示部104やランプ制御部205のそれぞれに対して客待ちデモ用の制御信号を送信する。   In step S6, the main control unit 10 transmits a customer waiting demonstration command to the intermediate unit 20, and then proceeds to step S7. When receiving the customer waiting demo command, the intermediate unit 20 transmits the customer waiting demo command to the effect control unit 203. When receiving the customer waiting demonstration command, the effect control unit 203 transmits a control signal for the customer waiting demonstration to each of the symbol display unit 104 and the lamp control unit 205.

一方、ステップS5の判断結果が「NO」の場合、すなわち、電源投入時のデモ(又は客待ちデモ)が開始されてから所定時間が経過していない場合には、主制御部10は、ステップS7へ進む。ステップS7では、主制御部10は、第1始動口検出部221で第1始動口105への遊技球の入球が検出されたか又は第2始動口検出部225で第2始動口120への遊技球の入球が検出されたか否かを判断する。ステップS7の判断結果が「YES」の場合、すなわち、第1始動口検出部221で第1始動口105への遊技球の入球が検出されたか又は第2始動口検出部225で第2始動口120への遊技球の入球が検出された場合には、主制御部は、ステップS8へ進む。   On the other hand, if the determination result in step S5 is “NO”, that is, if a predetermined time has not elapsed since the start of the power-on demonstration (or the customer waiting demo), the main control unit 10 Proceed to S7. In step S <b> 7, the main control unit 10 detects whether or not the first start port detection unit 221 detects that a game ball has entered the first start port 105, or the second start port detection unit 225 detects that the second start port 120 has entered the second start port 120. It is determined whether or not a game ball is detected. If the determination result in step S7 is “YES”, that is, whether the first start port detection unit 221 detects that a game ball has entered the first start port 105 or the second start port detection unit 225 performs the second start. If a game ball has entered the mouth 120, the main control unit proceeds to step S8.

一方、ステップS7の判断結果が「NO」の場合、すなわち、第1始動口検出部221で第1始動口105への遊技球の入球が検出されず、かつ、第2始動口検出部225で第2始動口120への遊技球の入球が検出されない場合には、主制御部は、ステップS4へ戻り、ステップS4以降の処理を繰り返す。   On the other hand, if the determination result in step S7 is “NO”, that is, the first start port detector 221 does not detect the entry of a game ball into the first start port 105, and the second start port detector 225 In the case where the game ball has not entered the second start port 120, the main control unit returns to step S4 and repeats the processing after step S4.

ステップS8では、主制御部10は、客待ちデモ(又は電源投入時のデモ)が開始されてから計測していた時間をクリアした後、ステップS9へ進む。ステップS9では、主制御部10は、未抽選入賞回数に1を加算する。なお、第1始動口検出部221又は第2始動口検出部225で複数の遊技球の入球が検出された場合、このステップS9では、主制御部10は、未抽選入賞回数に入球に相当する数を加算する。そして、主制御部10は、ステップS10へ進む。ステップS10では、主制御部10は、予め用意された乱数カウンタ(例えば、0〜250をカウント)から1つの大当たり判定用乱数を無作為に取得した後、ステップS11へ進む。ステップS11では、主制御部10は、未抽選入賞回数から1を減算した後、ステップS12へ進む。   In step S8, the main control unit 10 clears the time that has been measured since the start of the customer waiting demo (or demo at power-on), and then proceeds to step S9. In step S9, the main control unit 10 adds 1 to the number of undrawn winning prizes. If the first start port detection unit 221 or the second start port detection unit 225 detects a plurality of game balls entering, the main control unit 10 enters the number of undrawn winnings in this step S9. Add the corresponding numbers. Then, the main control unit 10 proceeds to step S10. In step S10, the main control unit 10 randomly acquires one jackpot determination random number from a random number counter (for example, counts 0 to 250) prepared in advance, and then proceeds to step S11. In step S11, the main control unit 10 subtracts 1 from the number of undrawn winning prizes, and then proceeds to step S12.

ステップS12では、主制御部10は、例えば、予めROM10bに記憶されている大当り判定データテーブルを参照して、ステップS10の処理で取得した大当たり判定用乱数が、この大当り判定データテーブルに記憶されている大当たりの乱数値であるか否かを判断する。また、ステップS12では、主制御部10は、取得した大当たり判定用乱数がはずれの乱数の場合には、例えば、大当り判定データテーブルを参照して、さらに「リーチ有りのはずれ」又は「リーチ無しのはずれ」であるかについても判断する。ステップS12の判断結果が「YES」の場合、すなわち、ステップS10で取得した大当たり判定用乱数が予め定められた大当たり乱数である場合には、主制御部10は、ステップS13へ進む。   In step S12, for example, the main control unit 10 refers to the jackpot determination data table stored in advance in the ROM 10b, and the jackpot determination random number acquired in the process of step S10 is stored in the jackpot determination data table. It is determined whether or not the jackpot random value. In step S12, the main control unit 10 refers to the jackpot determination data table, for example, when the acquired big hit determination random number is an out-of-range random number, and further “reach with reach” or “without reach”. It is also judged whether it is “out of”. If the determination result in step S12 is “YES”, that is, if the jackpot determination random number acquired in step S10 is a predetermined jackpot random number, the main control unit 10 proceeds to step S13.

ステップS13では、主制御部10は、中間部20に、例えば、大当たりの種別コード(通常当りか確率変動当りか等)、リーチ有り、図柄変動時間、等の制御データ(付随データ)を含む大当たりリーチコマンド(図柄変動コマンド)を送信した後、ステップS14へ進む。大当たりリーチコマンド(図柄変動コマンド)を受信すると、中間部20は、当該大当たりリーチコマンド(図柄変動コマンド)を演出制御部203に送信する。ステップS14では、主制御部10は、図柄変動時間が経過したか否かを判断する。ステップS14の判断結果が「NO」の場合、すなわち、図柄変動時間が経過していない場合には、主制御部10は、同判断を繰り返す。そして、図柄変動時間が経過すると、ステップS14の判断結果が「YES」となり、主制御部10は、ステップS15へ進む。   In step S13, the main control unit 10 causes the intermediate unit 20 to receive a jackpot including control data (accompanying data) such as, for example, a jackpot type code (whether it is a normal hit or a probability fluctuation), reach, symbol variation time, and the like. After transmitting the reach command (design variation command), the process proceeds to step S14. When the jackpot reach command (symbol variation command) is received, the intermediate unit 20 transmits the jackpot reach command (symbol variation command) to the effect control unit 203. In step S14, the main control unit 10 determines whether or not the symbol variation time has elapsed. If the determination result in step S14 is “NO”, that is, if the symbol variation time has not elapsed, the main control unit 10 repeats the same determination. When the symbol variation time has elapsed, the determination result in step S14 is “YES”, and the main control unit 10 proceeds to step S15.

ステップS15では、主制御部10は、中間部20に図柄停止コマンドを送信した後、ステップS16へ進む。図柄停止コマンドを受信すると、中間部20は、当該図柄停止コマンドを演出制御部203に送信する。ステップS16では、主制御部10は、中間部20に大当たり開始コマンドを送信した後、ステップS17へ進む。大当たり開始コマンドを受信すると、中間部20は、当該大当たり開始コマンドを演出制御部203に送信する。ステップS17では、主制御部10は、中間部20に大当たり中の各ラウンドに対応するコマンド(大当たりコマンド)を順次送信し、すべてのラウンドの大当たりコマンドの送信を終了した後、ステップS18へ進む。各ラウンドに対応する大当たりコマンドを順次受信すると、中間部20は、各ラウンドに対応する大当たりコマンドを演出制御部203に順次送信する。ステップS18では、主制御部10は、中間部20に大当たり終了コマンドを送信した後、ステップS22へ進む。大当たり終了コマンドを受信すると、中間部20は、当該大当たり終了コマンドを演出制御部203に送信する。   In step S15, the main control unit 10 transmits a symbol stop command to the intermediate unit 20, and then proceeds to step S16. When receiving the symbol stop command, the intermediate unit 20 transmits the symbol stop command to the effect control unit 203. In step S16, the main control unit 10 transmits a jackpot start command to the intermediate unit 20, and then proceeds to step S17. When the jackpot start command is received, the intermediate unit 20 transmits the jackpot start command to the effect control unit 203. In step S17, the main control unit 10 sequentially transmits to the intermediate unit 20 commands corresponding to each of the big hits (big hit command), and after completing the transmission of the big hit command for all rounds, the main control unit 10 proceeds to step S18. When the jackpot command corresponding to each round is sequentially received, the intermediate unit 20 sequentially transmits the jackpot command corresponding to each round to the effect control unit 203. In step S18, the main control unit 10 transmits a jackpot end command to the intermediate unit 20, and then proceeds to step S22. When receiving the jackpot end command, the intermediate unit 20 transmits the jackpot end command to the effect control unit 203.

一方、ステップS12の判断結果が「NO」の場合、すなわち、ステップS10の処理で取得した大当たり判定用乱数が予め定められた大当たり乱数でない場合には、主制御部10は、ステップS19へ進む。ステップS19では、主制御部10は、「リーチ有りのはずれ」の場合には「はずれリーチコマンド(図柄変動コマンド)」を、「リーチ無しのはずれ」の場合には「はずれコマンド(図柄変動コマンド)」を中間部20に送信した後、ステップS20へ進む。はずれリーチコマンド又ははずれコマンドを受信すると、中間部20は、当該制御コマンド(図柄変動コマンド)を演出制御部203に送信する。   On the other hand, if the determination result in step S12 is “NO”, that is, if the jackpot determination random number obtained in the process of step S10 is not a predetermined jackpot random number, the main control unit 10 proceeds to step S19. In step S19, the main control unit 10 determines that the “reach with a reach” command is “out-of-reach reach command (design variation command)”, and the “out-of-reach command” indicates a “out-of-reach command (design variation command)”. ”Is transmitted to the intermediate unit 20, and then the process proceeds to step S20. When receiving the outlier reach command or the outlier command, the intermediate unit 20 transmits the control command (design variation command) to the effect control unit 203.

ステップS20では、主制御部10は、図柄変動時間が経過したか否かを判断する。ステップS20の判断結果が「NO」の場合、すなわち、図柄変動時間が経過していない場合には、主制御部10は、同判断を繰り返す。そして、図柄変動時間が経過すると、ステップS20の判断結果が「YES」となり、主制御部10は、ステップS21へ進む。ステップS21では、主制御部10は、中間部20に図柄停止コマンドを送信した後、ステップS22へ進む。図柄停止コマンドを受信すると、中間部20は、当該図柄停止コマンドを演出制御部203に送信する。   In step S20, the main control unit 10 determines whether or not the symbol variation time has elapsed. When the determination result of step S20 is “NO”, that is, when the symbol variation time has not elapsed, the main control unit 10 repeats the same determination. When the symbol variation time has elapsed, the determination result in step S20 is “YES”, and the main control unit 10 proceeds to step S21. In step S21, the main control unit 10 transmits a symbol stop command to the intermediate unit 20, and then proceeds to step S22. When receiving the symbol stop command, the intermediate unit 20 transmits the symbol stop command to the effect control unit 203.

ステップS22では、主制御部10は、パチンコ遊技機1の電源がオフにされたか否かを判断する。ステップS22の判断結果が「NO」の場合、すなわち、パチンコ遊技機1の電源がオフにされていない場合には、主制御部10は、図8に示すステップS3へ戻り、ステップS3以降の処理を繰り返す。   In step S22, the main control unit 10 determines whether or not the power of the pachinko gaming machine 1 has been turned off. If the determination result in step S22 is “NO”, that is, if the power of the pachinko gaming machine 1 is not turned off, the main control unit 10 returns to step S3 shown in FIG. repeat.

一方、ステップS22の判断結果が「YES」の場合、すなわち、パチンコ遊技機1の電源がオフにされた場合には、主制御部10は、ステップS23へ進む。ステップS23では、主制御部10は、中間部20に終了処理コマンドを送信した後、一連の処理を終了する。終了処理コマンドを受信すると、中間部20は、当該終了処理コマンドを演出制御部203に送信する。   On the other hand, when the determination result of step S22 is “YES”, that is, when the power of the pachinko gaming machine 1 is turned off, the main control unit 10 proceeds to step S23. In step S <b> 23, the main control unit 10 transmits a termination process command to the intermediate unit 20 and then terminates a series of processes. When the end process command is received, the intermediate unit 20 transmits the end process command to the effect control unit 203.

ここで、図10に、大当たり関連コマンド(大当たりリーチコマンド、大当たり開始コマンド、大当たりコマンド、大当たり終了コマンド)の送信タイミングの一例であるタイミングチャートを示す。図10(1)に示す大当たりリーチコマンドは、ランダムに送信される。また、図10(2)に示す大当たり開始コマンドは、実際に大当たりが発生した場合に、大当たり状態に移行する際に1度だけ送信される。さらに、図10(3)に示す大当たりコマンドは、大当たり状態に移行した後、ラウンドごとに継続的に送信される。また、図10(4)に示す大当たり終了コマンドは、大当たり状態のすべてのラウンドが終了し、通常の状態に移行する際に1度だけ送信される。   Here, FIG. 10 shows a timing chart as an example of the transmission timing of the jackpot related command (the jackpot reach command, jackpot start command, jackpot command, jackpot end command). The jackpot reach command shown in FIG. 10 (1) is transmitted at random. Also, the jackpot start command shown in FIG. 10 (2) is transmitted only once when shifting to the jackpot state when a jackpot has actually occurred. Furthermore, the jackpot command shown in FIG. 10 (3) is continuously transmitted for each round after shifting to the jackpot state. Also, the jackpot end command shown in FIG. 10 (4) is transmitted only once when all rounds of the jackpot state are completed and the normal state is entered.

次に、演出制御部203による処理について説明する。以下では、図柄変動時(大当たりリーチコマンド(図9に示すステップS13参照)又は、はずれリーチコマンド(図9に示すステップS19参照)を受信した場合)及び、大当たり時の演出制御部203の処理について説明する。   Next, processing by the effect control unit 203 will be described. In the following, regarding the process of the effect control unit 203 at the time of symbol variation (when a jackpot reach command (see step S13 shown in FIG. 9) or a loss reach command (see step S19 shown in FIG. 9) is received) and a jackpot reach command. explain.

まず、演出制御部203による図柄変動処理について、図11に示すフローチャートを参照して説明する。
演出制御部203は、主制御部10から中間部20を介して、図柄変動コマンドである大当たりリーチコマンド(図9に示すステップS13参照)又ははずれリーチコマンド(図9に示すステップS19参照)のいずれかを受信したか否かを判断する(図11のステップS31参照)。この判断結果が「NO」の場合には、演出制御部203は、同判断を繰り返す。そして、大当たりリーチコマンド又ははずれリーチコマンドのいずれかを受信すると、ステップS31の判断結果が「YES」となり、演出制御部203は、ステップS32へ進む。
First, the symbol variation process by the effect control unit 203 will be described with reference to the flowchart shown in FIG.
The effect control unit 203 sends either a jackpot reach command (see step S13 shown in FIG. 9) or a miss reach command (see step S19 shown in FIG. 9), which is a symbol variation command, from the main control unit 10 through the intermediate unit 20. Is determined (see step S31 in FIG. 11). When the determination result is “NO”, the effect control unit 203 repeats the determination. Then, when either the jackpot reach command or the miss reach command is received, the determination result in step S31 is “YES”, and the effect control unit 203 proceeds to step S32.

ステップS32では、演出制御部203は、予め用意された乱数(例えば、0〜250)から1つの変動演出選択用乱数を無作為に取得した後、ステップS33へ進む。ステップS33では、演出制御部203は、ステップS32の処理で取得した変動演出選択用乱数に基づいて変動演出の種類を選択した後、ステップS34へ進む。   In step S32, the effect control unit 203 randomly acquires one random effect selection random number from random numbers (for example, 0 to 250) prepared in advance, and then proceeds to step S33. In step S33, the effect control unit 203 selects a variation effect type based on the variable effect selection random number acquired in the process of step S32, and then proceeds to step S34.

ステップS34では、演出制御部203は、図柄表示部104やランプ制御部205に変動演出別の演出開始コマンドを送信した後、ステップS35へ進む。ステップS35では、演出制御部203は、変動演出の演出時間が経過したか否かを判断する。ステップS35の判断結果が「NO」の場合、すなわち、変動演出の演出時間が経過していない場合には、演出制御部203は、ステップS36へ進む。   In step S34, the effect control unit 203 transmits an effect start command for each variable effect to the symbol display unit 104 and the lamp control unit 205, and then proceeds to step S35. In step S35, the effect control unit 203 determines whether or not the effect time of the variable effect has elapsed. If the determination result in step S35 is “NO”, that is, if the effect time of the changing effect has not elapsed, the effect control unit 203 proceeds to step S36.

ステップS36では、演出制御部203は、主制御部10から中間部20を介して図柄停止コマンド(図9に示すステップS15及びS21参照)を受信したか否かを判断する。ステップS36の判断結果が「NO」の場合、すなわち、図柄停止コマンドを受信していない場合には、演出制御部203は、ステップS35へ戻り、ステップS35以降の処理を繰り返す。   In step S36, the effect control unit 203 determines whether or not a symbol stop command (see steps S15 and S21 shown in FIG. 9) is received from the main control unit 10 via the intermediate unit 20. If the determination result in step S36 is “NO”, that is, if the symbol stop command has not been received, the effect control unit 203 returns to step S35 and repeats the processing after step S35.

一方、ステップS36の判断結果が「YES」の場合、すなわち、図柄停止コマンドを受信した場合には、演出制御部203は、ステップS37へ進む。また、ステップS35の判断結果が「YES」の場合、すなわち、変動演出の演出時間が経過した場合にも、演出制御部203は、ステップS37へ進む。ステップS37では、演出制御部203は、図柄表示部104やランプ制御部205に演出停止コマンドを送信した後、一連の処理を終了する。   On the other hand, if the determination result in step S36 is “YES”, that is, if a symbol stop command is received, the effect control unit 203 proceeds to step S37. In addition, when the determination result in step S35 is “YES”, that is, when the effect time of the variable effect has elapsed, the effect control unit 203 proceeds to step S37. In step S37, the effect control unit 203 transmits an effect stop command to the symbol display unit 104 and the lamp control unit 205, and then ends the series of processes.

次に、演出制御部203による大当たり時の処理について、図12に示すフローチャートを参照して説明する。
まず、演出制御部203は、主制御部10から中間部20を介して大当たり開始コマンド(図9に示すステップS16参照)を受信したか否かを判断する(図12のステップS41参照)。この判断結果が「NO」の場合には、演出制御部203は、同判断を繰り返す。そして、大当たり開始コマンドを受信すると、ステップS41の判断結果が「YES」となり、演出制御部203は、ステップS42へ進む。
Next, the process at the time of the big hit by the production | presentation control part 203 is demonstrated with reference to the flowchart shown in FIG.
First, the effect control unit 203 determines whether or not a jackpot start command (see step S16 shown in FIG. 9) is received from the main control unit 10 via the intermediate unit 20 (see step S41 in FIG. 12). When the determination result is “NO”, the effect control unit 203 repeats the determination. When the jackpot start command is received, the determination result in step S41 is “YES”, and the effect control unit 203 proceeds to step S42.

ステップS42では、演出制御部203は、図柄表示部104やランプ制御部205に大当たり開始処理コマンドを送信した後、ステップS43へ進む。ステップS43では、演出制御部203は、主制御部10から中間部20を介してラウンド別の大当たりコマンド(図9に示すステップS17参照)を受信したか否かを判断する。この判断結果が「NO」の場合には、演出制御部203は、同判断を繰り返す。そして、ラウンド別の大当たりコマンドを受信すると、ステップS43の判断結果が「YES」となり、演出制御部203は、ステップS44へ進む。   In step S42, the effect control unit 203 transmits a jackpot start processing command to the symbol display unit 104 and the lamp control unit 205, and then proceeds to step S43. In step S43, the effect control unit 203 determines whether or not a round-by-round jackpot command (see step S17 shown in FIG. 9) is received from the main control unit 10 via the intermediate unit 20. When the determination result is “NO”, the effect control unit 203 repeats the determination. And if the jackpot command according to round is received, the judgment result of step S43 will be "YES", and the production | generation control part 203 will progress to step S44.

ステップS44では、演出制御部203は、図柄表示部104やランプ制御部205に受信したラウンド別の大当たりコマンドに対応するラウンド別処理コマンドを送信した後、ステップS45へ進む。ステップS45では、主制御部10から中間部20を介して大当たり終了コマンド(図9に示すステップS18参照)を受信したか否かを判断する。この判断結果が「NO」の場合には、演出制御部203は、同判断を繰り返す。そして、大当たり終了コマンドを受信すると、ステップS45の判断結果が「YES」となり、演出制御部203は、ステップS46へ進む。ステップS46では、演出制御部203は、図柄表示部104やランプ制御部205に、受信した大当たり終了コマンドを送信した後、一連の処理を終了する。   In step S44, the effect control unit 203 transmits to the symbol display unit 104 or the lamp control unit 205 a round-by-round processing command corresponding to the received round-by-round jackpot command, and then proceeds to step S45. In step S45, it is determined whether a jackpot end command (see step S18 shown in FIG. 9) is received from the main control unit 10 via the intermediate unit 20. When the determination result is “NO”, the effect control unit 203 repeats the determination. When the jackpot end command is received, the determination result in step S45 is “YES”, and the effect control unit 203 proceeds to step S46. In step S46, the effect control unit 203 transmits the received jackpot end command to the symbol display unit 104 and the lamp control unit 205, and then ends the series of processes.

次に、ランプ制御部205によるランプ制御処理について説明する。ここでは、演出制御部203から図柄変動コマンドを受信した場合(図柄変動時)の処理について、図13に示すフローチャートを参照して説明する。
まず、ランプ制御部205は、演出制御部203から演出開始コマンド(図11に示すステップS34参照)を受信したか否かを判断する(図13のステップS51参照)。この判断結果が「NO」の場合には、ランプ制御部205は、同判断を繰り返す。そして、演出開始コマンドを受信すると、ステップS51の判断結果が「YES」となり、ランプ制御部205は、ステップS52へ進む。
Next, lamp control processing by the lamp control unit 205 will be described. Here, processing when a symbol variation command is received from the effect control unit 203 (during symbol variation) will be described with reference to the flowchart shown in FIG.
First, the lamp control unit 205 determines whether or not an effect start command (see step S34 shown in FIG. 11) has been received from the effect control unit 203 (see step S51 in FIG. 13). When the determination result is “NO”, the lamp control unit 205 repeats the determination. Then, when an effect start command is received, the determination result in step S51 is “YES”, and the lamp control unit 205 proceeds to step S52.

ステップS52では、ランプ制御部205は、例えば、ROM205bから予めコマンド別に記憶されているデータを読み出した後、ステップS53へ進む。ステップS53では、ランプ制御部205は、コマンド別の選択ルーチンを実行した後、ステップS54へ進む。ステップS54では、ランプ制御部205は、ランプデータをセットした後、ステップS55へ進む。   In step S52, the lamp control unit 205 reads, for example, data stored in advance for each command from the ROM 205b, and then proceeds to step S53. In step S53, the lamp control unit 205 executes a selection routine for each command, and then proceeds to step S54. In step S54, the lamp control unit 205 sets the lamp data, and then proceeds to step S55.

ステップS55では、ランプ制御部205は、ランプ262にランプデータを出力した後、ステップS56へ進む。これにより、ランプ262は、ランプ制御部205から出力されたランプデータに基づいて、点灯又は消灯する。ステップS56では、ランプ制御部205は、演出制御部203から演出停止コマンド(図11に示すステップS37参照)を受信したか否かを判断する。この判断結果が「NO」の場合には、ランプ制御部205は、ステップS55へ戻り、ステップS55以降の処理を繰り返す。一方、ステップS56の判断結果が「YES」の場合、すなわち、演出制御部203から演出停止コマンドを受信した場合には、ランプ制御部205は、ステップS57へ進む。ステップS57では、ランプ制御部205は、ランプデータの出力を停止した後、一連の処理を終了する。   In step S55, the lamp control unit 205 outputs the lamp data to the lamp 262, and then proceeds to step S56. Accordingly, the lamp 262 is turned on or off based on the lamp data output from the lamp control unit 205. In step S56, the lamp control unit 205 determines whether or not an effect stop command (see step S37 shown in FIG. 11) is received from the effect control unit 203. When the determination result is “NO”, the lamp control unit 205 returns to Step S55 and repeats the processes after Step S55. On the other hand, if the determination result in step S56 is “YES”, that is, if an effect stop command is received from the effect control unit 203, the lamp control unit 205 proceeds to step S57. In step S57, the lamp control unit 205 ends the series of processes after stopping the output of the lamp data.

以上説明したように、演出制御部203及びランプ制御部205は、主制御部10から送信される制御コマンドに基づいて各種の処理を行っている。賞球制御部204についても同様である。以下、演出制御部203、賞球制御部204及びランプ制御部205の総称として、「周辺部」を用いる。従って、図1に示す本実施の形態1に係る遊技機1の周辺部30は、演出制御部203の機能を有する演出制御手段、賞球制御部204の機能を有する賞球制御手段及びランプ制御部205の機能を有するランプ制御手段を備えている。   As described above, the effect control unit 203 and the lamp control unit 205 perform various processes based on the control command transmitted from the main control unit 10. The same applies to the prize ball control unit 204. Hereinafter, “peripheral part” is used as a generic term for the effect control unit 203, the prize ball control unit 204, and the lamp control unit 205. Accordingly, the peripheral portion 30 of the gaming machine 1 according to the first embodiment shown in FIG. 1 includes effect control means having the function of the effect control section 203, prize ball control means having the function of the prize ball control section 204, and lamp control. Lamp control means having the function of the unit 205 is provided.

ところで、上記のように、遊技機に対し行われる不正行為や、雑音等に起因する遊技機の誤動作により、遊技とは無関係に遊技媒体が払い出され遊技店が多大な損害を被ってしまうことがある。そこで、上記不正行為及び雑音等に起因する遊技機の誤動作を防止するため、本実施の形態1に係るパチンコ遊技機1では、主制御部10と演出制御部203との間に中間部20を設けている。
そして、本実施の形態1においては、主制御部10は、所定のプログラムコードを用いて分割数分の個体認証データを生成し、また、同期コード及び時間コードを生成し、これら個体認証データ、同期コード及び時間コードを制御コマンドに付加して中間部20に送信する。
By the way, as described above, gaming media are paid out regardless of the game due to fraudulent acts performed on the gaming machine or malfunction of the gaming machine due to noise or the like, and the gaming store suffers a great deal of damage. There is. Therefore, in order to prevent malfunctions of the gaming machine due to the above-described fraud and noise, in the pachinko gaming machine 1 according to the first embodiment, an intermediate unit 20 is provided between the main control unit 10 and the effect control unit 203. Provided.
In the first embodiment, the main control unit 10 generates individual authentication data for the number of divisions using a predetermined program code, and generates a synchronization code and a time code. The synchronization code and the time code are added to the control command and transmitted to the intermediate unit 20.

中間部20は、主制御部10から受信した個体認証データから得られた各個体検査値を用いて主制御部10が正規の主制御部であるか否かの認証を行う。また、中間部20は、同期コード及び時間コードを用いて主制御部10の動作順序が正しいか否か、制御信号が正しい制御信号か否かの認証を行う。次に、中間部20は、上記認証処理で得られた認証結果について暗号化処理を施して得た中間処理情報を演出制御部203に送信する。そして、演出制御部203は、中間部20から受信した中間処理情報から得られた認証結果に応じた処理を行う。このように、中間部20を認証者、主制御部10を被認証者とした認証処理を行い、主制御部10の個体の正規性及び主制御部10から送信される制御コマンドの正規性を認証する。この認証処理によって、上記不正行為を検知して、パチンコ遊技機1への不正を防止することができるとともに、外部から加えられる電気的な雑音や機械的な振動等に起因するパチンコ遊技機1の誤動作を低減することもできる。   The intermediate unit 20 uses the individual test values obtained from the individual authentication data received from the main control unit 10 to authenticate whether the main control unit 10 is a regular main control unit. The intermediate unit 20 authenticates whether the operation sequence of the main control unit 10 is correct and whether the control signal is the correct control signal, using the synchronization code and the time code. Next, the intermediate unit 20 transmits to the effect control unit 203 intermediate process information obtained by performing an encryption process on the authentication result obtained by the authentication process. Then, the effect control unit 203 performs processing according to the authentication result obtained from the intermediate processing information received from the intermediate unit 20. In this way, the authentication process is performed with the intermediate unit 20 as the authenticator and the main control unit 10 as the person to be authenticated, and the normality of the individual of the main control unit 10 and the normality of the control command transmitted from the main control unit 10 are determined. Certify. By this authentication process, the fraudulent act can be detected and fraud to the pachinko gaming machine 1 can be prevented, and the pachinko gaming machine 1 caused by electrical noise or mechanical vibration applied from the outside can be prevented. Malfunctions can also be reduced.

以下、主制御部10と中間部20及び周辺部との間で行う認証に関する処理について説明する。以下、主制御部10と中間部20との間の認証に関する処理について、図14及び図15に示すフローチャートを参照して説明するが、主制御部10と賞球制御部204との間の認証に関する処理も同様の手順で行われる。   Hereinafter, processing related to authentication performed between the main control unit 10, the intermediate unit 20, and the peripheral unit will be described. Hereinafter, processing related to authentication between the main control unit 10 and the intermediate unit 20 will be described with reference to the flowcharts shown in FIGS. 14 and 15, but authentication between the main control unit 10 and the prize ball control unit 204 will be described. The processing related to is performed in the same procedure.

図14は、主制御部10による制御信号の送信処理の手順を示すフローチャートである。主制御部10は、制御コマンドの送信タイミングになるまで待機して(ステップS60:NO)、制御コマンドの送信タイミングになると(ステップS60:YES)、主制御部10は、分割数を決定する(ステップS61)。分割数の決定方法は任意である。また、分割数は制御コマンドの送信タイミングとなる前に決定されてもよい。次に、主制御部10は、決定した分割数で所定のプログラムコードを分割し、分割された各データそれぞれに対して半群演算を行って個体検査値を算出し(ステップS62)、個体検査値に対して暗号化処理を施して個体認証データを生成する(ステップS63)。この処理により、分割数分の個体検査値及び個体認証データが生成される。なお、個体検査値の生成は、制御コマンドの送信タイミングとなる前に行っておいてもよい。   FIG. 14 is a flowchart illustrating a procedure of control signal transmission processing by the main control unit 10. The main control unit 10 waits until the control command transmission timing is reached (step S60: NO), and when the control command transmission timing is reached (step S60: YES), the main control unit 10 determines the number of divisions ( Step S61). The method for determining the number of divisions is arbitrary. The number of divisions may be determined before the transmission timing of the control command. Next, the main control unit 10 divides a predetermined program code by the determined number of divisions, performs a semi-group operation on each of the divided data, and calculates an individual test value (step S62). The value is subjected to encryption processing to generate individual authentication data (step S63). By this processing, individual test values and individual authentication data corresponding to the number of divisions are generated. The individual test value may be generated before the control command transmission timing comes.

次に、主制御部10は、ステップS61で決定した分割数に基づいて、同期コードの生成に用いるパケット情報の種類を選択する(ステップS64)。具体的には、間欠パケット情報又は連続パケット情報のいずれかを選択する。そして、選択したパケット情報の種類に応じたパケット情報を生成して、そのパケット情報を元にして同期コードを生成する(ステップS65)。なお、ステップS64とステップS65とを入れ替えて、間欠パケット情報及び連続パケット情報の両方をそれぞれ用いて2つの同期コードを生成しておき、どちらの同期コードを利用するかを後から選択するようにしてもよい。また、主制御部10は、計測時間情報を取得して(ステップS66)、時間コードを生成する(ステップS67)。   Next, the main control unit 10 selects the type of packet information used for generating the synchronization code based on the number of divisions determined in step S61 (step S64). Specifically, either intermittent packet information or continuous packet information is selected. Then, packet information corresponding to the type of the selected packet information is generated, and a synchronization code is generated based on the packet information (step S65). Note that step S64 and step S65 are interchanged to generate two synchronization codes using both intermittent packet information and continuous packet information, and select which synchronization code is used later. May be. Further, the main control unit 10 acquires measurement time information (step S66), and generates a time code (step S67).

続いて、主制御部10は、個体検査値(個体認証データ)、同期コード及び時間コード(動作認証データ)を制御コマンドデータに付加して(ステップS68)、中間部20に認証データ付制御信号を送信する(ステップS69)。認証データ付制御信号は連続して送信してもよいし、通常の制御信号に混ぜて送信してもよい。また、認証データの送信順序も任意である。主制御部10は、全ての認証データ(個体認証データ及び動作認証データ)を送信するまで(ステップS70:NO)、ステップS69に戻り、認証データ付制御信号の送信を繰り返す。なお、主制御部10は、生成した認証データのうち未送信の認証データがある場合(ステップS70:NO)、新たに認証データを生成せず、必ずステップS69に戻り認証データ付制御信号の送信を行う。また、認証データを付加する制御コマンドは特に制限されず任意の制御コマンドでよい。そして、全ての認証データを送信すると(ステップS70:YES)、本フローチャートによる処理を終了する。   Subsequently, the main control unit 10 adds the individual test value (individual authentication data), the synchronization code and the time code (operation authentication data) to the control command data (step S68), and sends a control signal with authentication data to the intermediate unit 20. Is transmitted (step S69). The control signal with authentication data may be transmitted continuously, or may be mixed with a normal control signal and transmitted. Further, the transmission order of the authentication data is also arbitrary. The main control unit 10 returns to step S69 and repeats transmission of the control signal with authentication data until all authentication data (individual authentication data and operation authentication data) is transmitted (step S70: NO). When there is untransmitted authentication data among the generated authentication data (step S70: NO), the main control unit 10 does not newly generate authentication data, and always returns to step S69 to transmit a control signal with authentication data. I do. Further, the control command for adding the authentication data is not particularly limited and may be an arbitrary control command. When all the authentication data has been transmitted (step S70: YES), the processing according to this flowchart is terminated.

次に、中間部20による主制御部10の認証処理について説明する。図15は、中間部20による主制御部10の認証処理の手順を示すフローチャートである。図15のフローチャートにおいて、中間部20は、まず、主制御部10から認証データ付制御信号を受信するまで待機する(ステップS71:NO)。主制御部10から認証データ付制御信号を受信すると(ステップS71:YES)、中間部20は、受信した認証データ付制御信号に含まれている個体認証データを抽出して複合化処理を行って個体検査値を取得するとともに、認証データ付制御信号に含まれている同期コード及び時間コードを取得する(ステップS72)。   Next, the authentication process of the main control unit 10 by the intermediate unit 20 will be described. FIG. 15 is a flowchart showing a procedure of authentication processing of the main control unit 10 by the intermediate unit 20. In the flowchart of FIG. 15, the intermediate unit 20 first waits until receiving a control signal with authentication data from the main control unit 10 (step S <b> 71: NO). When the control signal with authentication data is received from the main control unit 10 (step S71: YES), the intermediate unit 20 extracts the individual authentication data included in the received control signal with authentication data and performs a decryption process. The individual test value is acquired, and the synchronization code and the time code included in the control signal with authentication data are acquired (step S72).

中間部20は、取得した個体検査値を個体検査値用メモリに、同期コードを同期コード用メモリに、時間コードを時間コード用メモリの各メモリに記憶して(ステップS73)する。次に、中間部20は、個体検査値用メモリ内の全ての個体検査値に対して半群演算(結合処理)を行う(ステップS74)。個体検査値用メモリ内の個体検査値が1つの場合は、結合処理を行わずにそのままステップS75に移行する。   The intermediate unit 20 stores the acquired individual test value in the individual test value memory, the synchronization code in the synchronization code memory, and the time code in each memory of the time code memory (step S73). Next, the intermediate unit 20 performs a semi-group operation (joining process) on all the individual test values in the individual test value memory (step S74). If there is one individual test value in the individual test value memory, the process proceeds to step S75 without performing the combining process.

そして、中間部20は、結合処理の演算結果(結合結果)と保持している個体認証用期待値とを照合して、結合結果と個体認証用期待値とが一致するか否かを判断する(ステップS75)。結合結果と個体認証用期待値とが一致する場合(ステップS75:YES)、中間部20は、主制御部10の個体に対する認証を成功させる(ステップS76)
主制御部10の個体の認証が成功すると、中間部20は、認証結果に基づいて分割数(結合数)を特定する(ステップS77)。
Then, the intermediate unit 20 collates the result of the combination process (combination result) with the held expected value for individual authentication, and determines whether the combined result matches the expected value for individual authentication. (Step S75). When the combined result matches the expected value for individual authentication (step S75: YES), the intermediate unit 20 makes the main controller 10 successfully authenticate the individual (step S76).
If the individual authentication of the main control unit 10 is successful, the intermediate unit 20 specifies the number of divisions (number of connections) based on the authentication result (step S77).

続いて、中間部20は、分割数に基づいて同期コードの生成に用いられているパケット情報の種類を特定する(ステップS78)。そして、ステップS78で特定したパケット情報に対応する方法で、同期コードを用いた認証を行う(ステップS79)。同期コードを用いた認証は、同期コードに含まれるパケット情報の相関関係がパケット情報の種類に応じた所定の相関関係であるか否かを判断することにより行う。同期コードを用いた認証が成功すると(ステップS80:YES)、中間部20は、時間コードを用いた認証を行う(ステップS81)。なお、同期コードを用いた認証と時間コードを用いた認証とは、順番を入れ替えてもよい。   Subsequently, the intermediate unit 20 specifies the type of packet information used for generating the synchronization code based on the number of divisions (step S78). Then, authentication using the synchronization code is performed by the method corresponding to the packet information specified in step S78 (step S79). Authentication using the synchronization code is performed by determining whether or not the correlation of the packet information included in the synchronization code is a predetermined correlation corresponding to the type of the packet information. If the authentication using the synchronization code is successful (step S80: YES), the intermediate unit 20 performs the authentication using the time code (step S81). Note that the order of authentication using the synchronization code and authentication using the time code may be interchanged.

時間コードを用いた認証が成功し(ステップS82:YES)、同期コード及び時間コードの双方に対する認証が成功すると、中間部20は、受信した制御信号が正しい信号であるとして認証し(ステップS83)、個体検査値用メモリ、同期コード用メモリ及び時間コード用メモリの内のデータを削除する(ステップS84)。次に、中間部20は、認証結果から中間処理情報を生成する(ステップS85)。次に、中間部20は、制御信号に含まれている制御コマンドデータ301及び付随データ302と、ステップS85の処理で得られた中間処理情報305とを含む制御信号(中間処理情報付制御信号)を生成し、演出制御部203に送信し(ステップS86)、本フローチャートによる処理を終了する。   When the authentication using the time code is successful (step S82: YES) and the authentication for both the synchronization code and the time code is successful, the intermediate unit 20 authenticates that the received control signal is a correct signal (step S83). The data in the individual test value memory, the synchronization code memory, and the time code memory are deleted (step S84). Next, the intermediate unit 20 generates intermediate processing information from the authentication result (step S85). Next, the intermediate unit 20 includes a control signal (control signal with intermediate processing information) including the control command data 301 and accompanying data 302 included in the control signal, and the intermediate processing information 305 obtained in the process of step S85. Is generated and transmitted to the effect control unit 203 (step S86), and the processing according to this flowchart ends.

一方、ステップS75において、結合結果と個体認証用期待値が一致しない場合(ステップS75:NO)、中間部20は、所定数以上の個体認証データ303を受信するまで(ステップS87:NO)、ステップS71に戻り、個体認証データ303の受信及び個体検査値の結合処理を繰り返す。所定数以上の個体認証データ303を受信すると(ステップS87:YES)、中間部20は、主制御部10の個体に対する認証を不成功とし(ステップS88)、ステップS85に移る。中間部20は、認証不成功の認証結果に基づいて中間処理情報305を生成し(ステップS85)、生成した中間処理情報305を含む中間処理情報付制御信号を演出制御部203に送信し(ステップS86)、本フローチャートによる処理を終了する。   On the other hand, if the combined result and the expected value for individual authentication do not match in step S75 (step S75: NO), the intermediate unit 20 continues until the predetermined number or more of individual authentication data 303 is received (step S87: NO). Returning to S71, the process of receiving the individual authentication data 303 and combining the individual test values is repeated. When the individual authentication data 303 of a predetermined number or more is received (step S87: YES), the intermediate unit 20 makes the authentication of the main controller 10 unsuccessful (step S88), and proceeds to step S85. The intermediate unit 20 generates intermediate processing information 305 based on the authentication result of unsuccessful authentication (step S85), and transmits a control signal with intermediate processing information including the generated intermediate processing information 305 to the effect control unit 203 (step S85). S86), the process according to this flowchart is terminated.

また、同期コードを用いた認証又は時間コードを用いた認証のいずれかが成功しなかった場合(ステップS80:NO又はステップS82:NO)、中間部20は受信した制御信号を不正な制御信号として検知して(ステップS89)、認証不成功の認証結果に基づいて中間処理情報305を生成し(ステップS85)、生成した中間処理情報305を含む中間処理情報付制御信号を演出制御部203に送信し(ステップS86)、本フローチャートによる処理を終了する。   Further, when either the authentication using the synchronization code or the authentication using the time code has not succeeded (step S80: NO or step S82: NO), the intermediate unit 20 sets the received control signal as an unauthorized control signal. Detected (step S89), generates intermediate processing information 305 based on the authentication result of unsuccessful authentication (step S85), and transmits a control signal with intermediate processing information including the generated intermediate processing information 305 to the effect control unit 203. (Step S86), and the process according to this flowchart is terminated.

このように、中間部20において、同期コードおよび時間コードの2種類のコードを用いて主制御部10の動作順序を認証する。2種類のコードを用いて二重に認証処理を行うことにより、認証の強度を向上させ、不正な制御コマンドによる不正な処理が実行されるのを防止することができる。また、主制御部10の動作順序を認証することによって、主制御部の動作の連続性を認証することができ、例えば信号切替回路などを搭載した不正な制御基板を検知することができる。   In this way, the intermediate unit 20 authenticates the operation order of the main control unit 10 using two types of codes, the synchronization code and the time code. By performing authentication processing twice using two types of codes, it is possible to improve the strength of authentication and prevent execution of unauthorized processing by an unauthorized control command. Further, by authenticating the operation sequence of the main control unit 10, the continuity of the operation of the main control unit can be authenticated, and for example, an unauthorized control board equipped with a signal switching circuit or the like can be detected.

また、個体認証データの復号化及び個体検査値と個体認証用期待値との照合といった個体認証処理、及び動作認証データを用いた動作認証処理は、中間部20のみが実行するので、演出制御部203を構成するCPU203aの処理負荷が増大することはない。このため、演出制御部203の処理速度が低下し、演出のための表示がスムーズに行われないなどの問題が発生することを防止することができる。   Further, since the individual authentication process such as the decryption of the individual authentication data and the comparison between the individual test value and the expected value for individual authentication and the operation authentication process using the operation authentication data are executed only by the intermediate unit 20, the production control unit The processing load of the CPU 203a constituting the 203 does not increase. For this reason, it is possible to prevent problems such as a reduction in the processing speed of the effect control unit 203 and a smooth display for the effect.

なお、本実施の形態1では、認証処理が成功したのち、ステップS84において各メモリ内のデータを削除しているがこれに限定されない。例えば、各メモリに最後に記憶された、すなわち主制御部10で最後に生成された同期コード及び時間コードを残してメモリ内のデータを削除し、今回の認証処理の最後に生成された同期コード及び時間コードと、次回の認証処理で生成される同期コード及び時間コードとを用いて主制御部の動作認証を行ってもよい。これにより、今回の認証処理と次回の認証処理との間で動作認証を行うことができる。   In the first embodiment, after the authentication process is successful, the data in each memory is deleted in step S84. However, the present invention is not limited to this. For example, the synchronization code that was stored last in each memory, that is, the data in the memory was deleted leaving the synchronization code and the time code that were last generated by the main control unit 10, and the synchronization code generated at the end of the current authentication process In addition, the operation authentication of the main control unit may be performed using the time code and the synchronization code and time code generated in the next authentication process. Thus, operation authentication can be performed between the current authentication process and the next authentication process.

次に、演出制御部203による認証に関する処理について説明する。図16は、演出制御部203による認証に関する処理の一例を示すフローチャートである。まず、演出制御部203は、中間部20から制御信号を受信したか否かを判断する(ステップS101)。この判断結果が「NO」の場合には、演出制御部203は、同判断を繰り返す。そして、中間部20から制御信号を受信すると、ステップS101の判断結果が「YES」となり、演出制御部203は、ステップS102へ進む。   Next, processing related to authentication by the effect control unit 203 will be described. FIG. 16 is a flowchart illustrating an example of processing related to authentication by the effect control unit 203. First, the effect control unit 203 determines whether a control signal has been received from the intermediate unit 20 (step S101). When the determination result is “NO”, the effect control unit 203 repeats the determination. And if a control signal is received from the intermediate part 20, the judgment result of step S101 will be "YES", and the production | presentation control part 203 will progress to step S102.

ステップS102では、演出制御部203は、受信した制御信号に中間処理情報305が含まれているか否かを判断する。ステップS102の判断結果が「YES」の場合、すなわち、受信した制御信号に中間処理情報305が含まれている場合には、演出制御部203は、ステップS103へ進む。ここで、制御信号に中間処理情報305が含まれているか否かの判断は、例えば、制御信号のデータ量が通常の制御信号よりも多いか否かや、制御信号において、制御コマンドデータ301又は付随データ302を構成する任意のビット又は別個に設けられている識別データ(図示略)が、中間処理情報305が含まれていることを示しているか否かを判断するか、あるいは、制御信号に含まれる制御コマンドデータ301が、認証処理を行うために予め設定した所定の制御コマンドの制御コマンドデータであるか否かを判断してもよい。   In step S102, the effect control unit 203 determines whether or not the intermediate control information 305 is included in the received control signal. When the determination result of step S102 is “YES”, that is, when the intermediate control information 305 is included in the received control signal, the effect control unit 203 proceeds to step S103. Here, whether or not the intermediate processing information 305 is included in the control signal is determined by, for example, whether or not the data amount of the control signal is larger than that of the normal control signal, It is determined whether or not any bit constituting the accompanying data 302 or separately provided identification data (not shown) indicates that the intermediate processing information 305 is included, or in the control signal It may be determined whether the included control command data 301 is control command data of a predetermined control command set in advance for performing the authentication process.

ステップS103では、演出制御部203は、制御信号から中間処理情報305を取り出し、この中間処理情報305から認証結果を抽出した後、ステップS104へ進む。   In step S103, the effect control unit 203 extracts the intermediate processing information 305 from the control signal, extracts the authentication result from the intermediate processing information 305, and then proceeds to step S104.

ステップS104では、演出制御部203は、抽出した認証結果が認証に成功したことを示しているか否かを判断する。ステップS104の判断結果が「YES」の場合、すなわち、抽出した認証結果が認証に成功したことを示している場合には、演出制御部203は、ステップS95へ進む。また、ステップS102の判断結果が「NO」の場合、すなわち、受信した制御信号に中間処理情報305が含まれていない場合、つまり、通常の制御信号である場合にも、演出制御部203は、ステップS105へ進む。   In step S104, the effect control unit 203 determines whether or not the extracted authentication result indicates that the authentication has succeeded. If the determination result in step S104 is “YES”, that is, if the extracted authentication result indicates that the authentication has succeeded, the effect control unit 203 proceeds to step S95. In addition, when the determination result in step S102 is “NO”, that is, when the received control signal does not include the intermediate processing information 305, that is, when it is a normal control signal, the effect control unit 203 Proceed to step S105.

ステップS105では、演出制御部203は、制御コマンドデータ301及び付随データ302に基づく処理を行った後、一連の処理を終了する。一方、ステップS104の判断結果が「NO」の場合、すなわち、抽出した認証結果が認証に成功したことを示していない場合には、演出制御部203は、ステップS106へ進む。ステップS106では、演出制御部203は、制御コマンドデータ301及び付随データ302を破棄するとともに、不正行為を報知するための報知信号を図柄表示部104やランプ制御部205、あるいはパチンコ遊技機1を管理するセンター制御装置などに送信した後、一連の処理を終了する。なお、ステップS106の処理では、演出制御部203は、データの破棄と報知のいずれか一方のみを行うようにしてもよい。   In step S <b> 105, the effect control unit 203 performs a process based on the control command data 301 and the accompanying data 302 and then ends a series of processes. On the other hand, if the determination result in step S104 is “NO”, that is, if the extracted authentication result does not indicate that the authentication has succeeded, the effect control unit 203 proceeds to step S106. In step S106, the production control unit 203 discards the control command data 301 and the accompanying data 302, and manages the symbol display unit 104, the lamp control unit 205, or the pachinko gaming machine 1 with a notification signal for notifying an illegal act. After the transmission to the center control device or the like, the series of processing ends. In the process of step S106, the effect control unit 203 may perform only one of data discarding and notification.

図柄表示部104やランプ制御部205等は、受信した報知信号に基づいて、主制御部10に不正が行われたおそれがある旨を報知する演出を実行する。この演出は、例えば、図柄表示部104に通常出現しないキャラクターを出現させたり、通常出現するキャラクターを通常とは異なる方法で出現させるなどである。また、図柄表示部104の輝度を変えたり、色を変えたり、ランプ制御部205に対して所定のランプを表示制御するようにしてもよい。いずれにせよ、遊技店の従業員が当該パチンコ遊技機1の前を通過した際に、その状態に気付くようにしてあればよい。また、この演出は、顧客がその状態に気付かないような演出でもよく、また、顧客が容易に気付く演出であってもよい。顧客が容易に気付く演出にすれば、不正行為を効率的に抑止することができる。   Based on the received notification signal, the symbol display unit 104, the lamp control unit 205, and the like perform an effect of notifying the main control unit 10 that there is a risk of fraud. This effect is, for example, causing a character that does not normally appear in the symbol display unit 104 to appear, or causing a character that normally appears to appear in a manner different from the normal. Further, the brightness of the symbol display unit 104 may be changed, the color may be changed, or the lamp control unit 205 may be controlled to display a predetermined lamp. In any case, when the employee of the game shop passes in front of the pachinko gaming machine 1, it is only necessary to be aware of the state. This effect may be an effect that the customer does not notice the state or an effect that the customer can easily notice. If the production is easily noticed by the customer, fraud can be efficiently suppressed.

また、報知信号に「大当たり中」や「確率変動中」などのパチンコ遊技機1の遊技状態に関する情報を含めてもよい。これらの遊技状態に関する情報に基づいて、パチンコ遊技機1を管理するセンター制御装置などによって不正行為が行われているか否かの判断を行ってもよい。例えば、大当たり中や確率変動中は入賞が集中していても正常である場合がある。よって、大当たり中や確率変動中は、その他の状態とは異なる条件で不正行為のおそれがあるか否かについて判断するのがよい。また、遊技状態に関する情報は、報知信号に含めずに別信号として出力するようにしてもよい。この場合、従業員は、報知信号と遊技状態に関する情報の両方に基づいて、不正行為のおそれがあるか否かについて判断する。   Further, the notification signal may include information on the gaming state of the pachinko gaming machine 1 such as “Big hit” and “Probability changing”. Based on the information on the gaming state, it may be determined whether or not an illegal act is performed by a center control device that manages the pachinko gaming machine 1 or the like. For example, there may be a case where winnings are concentrated during jackpots or probability fluctuations even if the winnings are concentrated. Therefore, it is better to determine whether or not there is a risk of fraudulent behavior under conditions different from other states during jackpots or probability fluctuations. Moreover, you may make it output the information regarding a gaming state as another signal, without including in a notification signal. In this case, the employee determines whether there is a risk of fraud based on both the notification signal and the information regarding the gaming state.

次に、図14及び図15に示す処理のうち、同期コードの生成に用いるパケット情報選択処理の具体例について説明する。図17は、主制御部10及び中間部20間のデータの流れの一例を示すシーケンス図である。図17においては、分割数に基づいたコードの選択例として、図5に示した選択例1(ここでは、X=3とする)によって利用するコードを選択するものとする。   Next, a specific example of the packet information selection process used to generate the synchronization code among the processes shown in FIGS. 14 and 15 will be described. FIG. 17 is a sequence diagram illustrating an example of a data flow between the main control unit 10 and the intermediate unit 20. In FIG. 17, as a code selection example based on the number of divisions, a code to be used is selected according to selection example 1 (here, X = 3) shown in FIG. 5.

まず、主制御部10は、ステップS111の処理へ進み、任意の方法で今回の認証処理に用いる分割数を決定した後、ステップS112へ進む。主制御部10は、例えば、今回の分割数を3と決定する。ステップS112では、主制御部10は、ROM10bの記憶領域に予め記憶されている所定のプログラムコードを3個のブロック(記憶領域)に分割し、各ブロックに記憶されているプログラムコードを用いて3つの個体検査値を生成し、これらの個体検査値に暗号化処理を施し個体認証データを生成する(ステップS112)。   First, the main control unit 10 proceeds to the process of step S111, determines the number of divisions used for the current authentication process by an arbitrary method, and then proceeds to step S112. For example, the main control unit 10 determines that the current number of divisions is three. In step S112, the main control unit 10 divides a predetermined program code stored in advance in the storage area of the ROM 10b into three blocks (storage areas), and uses the program code stored in each block 3 One individual test value is generated, and the individual test value is subjected to encryption processing to generate individual authentication data (step S112).

次に、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS113)。具体的には、分割数(この場合「3」)をXの値(この場合「3」)で割り、その余りの値によってパケット情報を選択する。この場合、3を3で割った余りは0であるため、主制御部10は間欠パケット情報を選択する。主制御部10は、間欠パケット情報を用いて同期コードを生成するとともに、時間コードを生成する(ステップS114)。そして、主制御部10は、個体認証データ、同期コード及び時間コードを含む認証データ付制御信号を中間部20に送信する(ステップS115)。   Next, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S113). Specifically, the number of divisions (in this case, “3”) is divided by the value of X (in this case, “3”), and packet information is selected by the remainder value. In this case, since the remainder obtained by dividing 3 by 3 is 0, the main control unit 10 selects intermittent packet information. The main control unit 10 generates a synchronization code using intermittent packet information and also generates a time code (step S114). The main control unit 10 transmits an authentication data-added control signal including the individual authentication data, the synchronization code, and the time code to the intermediate unit 20 (step S115).

続いて、中間部20における処理について説明する。中間部20は、主制御部10から送信された認証データ付制御信号を受信する(ステップS116)。そして、認証データ付制御信号から個体検査値を抽出し、個体検査値に対して結合処理を行う(ステップS117)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体に対する認証を成功させる(ステップS118)。今回の場合は、3つの個体検査値を用いて結合処理を行った際に期待値と一致する(結合数=3)。   Next, processing in the intermediate unit 20 will be described. The intermediate unit 20 receives the control signal with authentication data transmitted from the main control unit 10 (step S116). Then, an individual test value is extracted from the control signal with authentication data, and a combination process is performed on the individual test value (step S117). The combined result is compared with the expected value for individual authentication, and when the combined result matches the expected value for individual authentication, the intermediate unit 20 succeeds in authenticating the individual of the main control unit 10 (step S118). In this case, when the joining process is performed using the three individual test values, it matches the expected value (number of bonds = 3).

中間部20は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS119)。具体的には、今回の場合は、結合数である3をXである3で割った余りは0であるため、間欠パケット情報であると判別する(図5参照)。続いて、中間部20は、特定したパケット情報に対応した方法で同期コードを用いた認証を行うとともに(ステップS120)、時間コードを用いた認証を行う(ステップS120)。同期コードを用いた認証及び時間コードを用いた認証の両方が成功すると、中間部20は、制御信号を正しい信号として認証する(ステップS122)。ここまでが一連の認証処理の流れである。   The intermediate unit 20 identifies the type of packet information used for generating the synchronization code based on the number of combinations (step S119). Specifically, in this case, since the remainder obtained by dividing 3 which is the number of connections by 3 which is X is 0, it is determined that the packet information is intermittent packet information (see FIG. 5). Subsequently, the intermediate unit 20 performs authentication using the synchronization code by a method corresponding to the specified packet information (step S120), and performs authentication using the time code (step S120). When both the authentication using the synchronization code and the authentication using the time code are successful, the intermediate unit 20 authenticates the control signal as a correct signal (step S122). This is the flow of a series of authentication processes.

2回目の処理の説明に移り、主制御部10は、ステップS123の処理へ進み、再び任意の方法で今回の認証処理に用いる分割数を決定した後、ステップS124へ進む。主制御部10は、例えば、今回の分割数を4と決定する。ステップS124では、主制御部10は、ROM10bの記憶領域に予め記憶されている所定のプログラムコードを4個のブロック(記憶領域)に分割し、各ブロックに記憶されているプログラムコードを用いて4つの個体検査値を生成し、これらの個体検査値に暗号化処理を施し個体認証データを生成する(ステップS124)。   Turning to the description of the second process, the main control unit 10 proceeds to the process of step S123, determines again the number of divisions used for the current authentication process by an arbitrary method, and then proceeds to step S124. For example, the main control unit 10 determines that the current number of divisions is four. In step S124, the main control unit 10 divides a predetermined program code stored in advance in the storage area of the ROM 10b into four blocks (storage areas), and uses the program code stored in each block. One individual test value is generated, and the individual test value is subjected to encryption processing to generate individual authentication data (step S124).

次に、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS125)。具体的には、分割数(この場合「4」)をXの値(この場合「3」)で割る。この余りの値は1であるため、主制御部10は連続パケット情報を選択する。主制御部10は、連続パケット情報を用いて同期コードを生成するとともに時間コードを生成する(ステップS126)。そして、主制御部10は、個体認証データ、同期コード及び時間コードを含む認証データ付制御信号を中間部20に送信する(ステップS127)。   Next, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S125). Specifically, the number of divisions (in this case “4”) is divided by the value of X (in this case “3”). Since the remainder value is 1, the main control unit 10 selects continuous packet information. The main control unit 10 generates a synchronization code using continuous packet information and generates a time code (step S126). Then, the main control unit 10 transmits a control signal with authentication data including the individual authentication data, the synchronization code, and the time code to the intermediate unit 20 (step S127).

続いて、中間部20は、主制御部10から送信された認証データ付制御信号を受信し(ステップS128)、個体検査値を抽出して結合処理を行う(ステップS129)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体に対する認証を成功させる(ステップS130)。今回の場合は、4つの個体検査値を用いて結合処理を行った際に期待値と一致する(結合数=4)。結合結果が期待値と一致すると、中間部20は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS131)。具体的には、今回の場合は、結合数である4をXである3で割った余りは1であるため、連続パケット情報であると判別する。   Subsequently, the intermediate unit 20 receives the control signal with authentication data transmitted from the main control unit 10 (step S128), extracts the individual test value, and performs the coupling process (step S129). The combined result is collated with the expected value for individual authentication, and when the combined result matches the expected value for individual authentication, the intermediate unit 20 succeeds in authenticating the individual of the main control unit 10 (step S130). In this case, when the combination processing is performed using the four individual test values, it matches the expected value (number of connections = 4). When the combination result matches the expected value, the intermediate unit 20 specifies the type of packet information used for generating the synchronization code based on the number of combinations (step S131). Specifically, in this case, since the remainder obtained by dividing 4 which is the number of connections by 3 which is X is 1, it is determined that the packet information is continuous packet information.

そして、中間部20は、特定したパケット情報に対応した方法で同期コードを用いた認証を行うとともに(ステップS132)、時間コードを用いた認証を行う(ステップS133)。同期コードを用いた認証及び時間コードを用いた認証の両方が成功すると、中間部20は、制御信号を正しい信号として認証する(ステップS134)。以上が一連の流れとなる。   Then, the intermediate unit 20 performs authentication using the synchronization code by a method corresponding to the specified packet information (step S132), and performs authentication using the time code (step S133). If both the authentication using the synchronization code and the authentication using the time code are successful, the intermediate unit 20 authenticates the control signal as a correct signal (step S134). The above is a series of flows.

この場合、主制御部10は、ROM10bに記憶された所定のプログラムコードを分割し、その分割数に基づいて同期コードの生成方式(同期コードの生成に用いられるパケット情報の種類)を変更する。分割数は主制御部10のみが知る値であるので、不正行為者は同期コード生成に用いられるパケット情報の種類を知ることができない。このため、上記不正行為及び遊技機の誤動作を検知することができる。   In this case, the main control unit 10 divides a predetermined program code stored in the ROM 10b, and changes the synchronization code generation method (the type of packet information used for generating the synchronization code) based on the number of divisions. Since the number of divisions is a value that only the main control unit 10 knows, the fraudster cannot know the type of packet information used for synchronization code generation. For this reason, it is possible to detect the cheating and the malfunction of the gaming machine.

なお、中間部20は、個体認証データを用いた認証処理について、個体認証データを受信する度に行うのではなく、複数の個体認証データを受信した時点で行うこととしてもよい。この場合、中間部20は、例えば、第1の制御コマンドの第1の制御コマンドデータ及び第1の付随データとともに第1の個体認証データを受信した場合、認証処理を行わずに、制御コマンドの第1の制御コマンドデータ及び第1の付随データに基づく処理を行う。そして、中間部20は、第2の制御コマンドの第2の制御コマンドデータ及び第2の付随データとともに第2の個体認証データを受信した場合、第2の制御コマンドの第2の制御コマンドデータ及び第2の付随データに基づく処理を行う前に、第1の個体認証データを用いた認証処理を行う。このとき、中間部20は、第1の個体認証データと第2の個体認証データの両方を用いて認証処理を行ってもよい。   The intermediate unit 20 may perform the authentication process using the individual authentication data at the time when a plurality of individual authentication data is received, instead of performing the authentication process every time the individual authentication data is received. In this case, for example, if the intermediate unit 20 receives the first individual authentication data together with the first control command data and the first associated data of the first control command, the intermediate unit 20 performs the control command without performing the authentication process. Processing based on the first control command data and the first accompanying data is performed. When the intermediate unit 20 receives the second individual authentication data together with the second control command data of the second control command and the second accompanying data, the intermediate control unit 20 receives the second control command data of the second control command, Before performing the process based on the second associated data, an authentication process using the first individual authentication data is performed. At this time, the intermediate unit 20 may perform the authentication process using both the first individual authentication data and the second individual authentication data.

また、認証処理を実行する中間部20と、主として演出処理を実行する演出制御部203とが別個独立しているため、認証用のプログラムと演出用のプログラムとは別個に設計することができる。これにより、演出制御部203の演出処理に認証機能を追加する場合と比較して、認証機能を追加するタイミングの設計・機能の実装・機能の検証などより簡単に、少ない作業工数で実現することができる。
また、従来のように、演出制御部203が認証処理と演出処理の両方を行う構成において、上記いずれか一方のプログラムの設計変更を行う必要が生じた場合に生じる以下の(a)〜(c)に示すような問題が発生することはない。
In addition, since the intermediate unit 20 that executes the authentication process and the effect control unit 203 that mainly executes the effect process are independent of each other, the authentication program and the effect program can be designed separately. As a result, compared with the case where an authentication function is added to the production process of the production control unit 203, it is easier and less time-consuming to design, implement the function, verify the function, etc. when adding the authentication function. Can do.
Further, in the configuration in which the effect control unit 203 performs both the authentication process and the effect process as in the past, the following (a) to (c) that occur when it is necessary to change the design of any one of the above programs ) Will not occur.

(a)プログラムが複雑になってしまうため、他の機能と整合性を保つことが難しくなる(この場合、予期せぬエラーが生じる虞がある)。
(b)認証処理はパチンコ遊技機1の機種が異なっても共通にすることはできるが、演出処理はパチンコ遊技機1の機種ごとに異なる場合が多い。したがって、共通化可能な認証処理を含めた演出制御部203が実行する処理のプログラム全体の設計をパチンコ遊技機1の機種ごとに行う必要があり、設計に多大な時間がかかるとともに、作業効率が悪い。
(c)認証用の認証アルゴリズムを変更する場合、所定の処理を行う周辺部30での処理を変更しなくてはならない。この変更により、所望の認証機能が得られるか否かを確認する検証に多大の時間と労力を要し、遊技機の開発に時間と手間が大幅にかかってしまうという問題があり、認証アルゴリズムの変更は簡単にできない。
(A) Since the program becomes complicated, it becomes difficult to maintain consistency with other functions (in this case, an unexpected error may occur).
(B) Although the authentication process can be made common even if the model of the pachinko gaming machine 1 is different, the production process is often different for each model of the pachinko gaming machine 1. Therefore, it is necessary to design the entire program of the processing executed by the effect control unit 203 including the authentication processing that can be shared for each model of the pachinko gaming machine 1, and the design takes a lot of time and the work efficiency is improved. bad.
(C) When changing the authentication algorithm for authentication, the process in the peripheral part 30 which performs a predetermined process must be changed. Due to this change, it takes a lot of time and labor to verify whether or not the desired authentication function can be obtained, and there is a problem that it takes a lot of time and effort to develop a gaming machine. It cannot be changed easily.

さらに、本実施の形態1では、主制御部10と演出制御部203との間に中間部20を設けているので、主制御部10を構成するCPU10aと演出制御部203を構成するCPU203aとの間の処理能力の差異や、主制御部10を構成するROM10bと演出制御部203を構成するROM203bとの間の記憶容量の差異を、中間部20において吸収することができる。これにより、主制御部10と演出制御部203との間で処理能力や記憶容量に差異があるにもかかわらず、主制御部10と演出制御部203との間のセキュリティレベルを維持することができる。   Furthermore, in this Embodiment 1, since the intermediate | middle part 20 is provided between the main control part 10 and the production | presentation control part 203, between CPU10a which comprises the main control part 10, and CPU203a which comprises the production | generation control part 203 The intermediate unit 20 can absorb the difference in processing capacity between them and the difference in storage capacity between the ROM 10b constituting the main control unit 10 and the ROM 203b constituting the effect control unit 203. Thereby, despite the difference in processing capacity and storage capacity between the main control unit 10 and the effect control unit 203, the security level between the main control unit 10 and the effect control unit 203 can be maintained. it can.

例えば、主制御部10を構成するCPU10aの処理能力や主制御部10を構成するROM10bの記憶容量が演出制御部203を構成するCPU203aの処理能力や演出制御部203を構成するROM203bの記憶容量と比較して余裕がある場合、主制御部10は各個体検査値に対して複雑又は高度な暗号化処理を施して得られた個体認証データ303を中間部20に送信し、中間部20は受信した上記個体認証データ303から得られた各個体検査値を用いて主制御部10を認証した認証結果に対して比較的簡易又は低度な暗号化処理を施して得られた中間処理情報305を演出制御部203に送信する。そして、演出制御部203で中間処理情報305から得られた認証結果に応じた処理を行う。このように構成することにより、複雑又は高度な認証方式を採用しなくても、比較的簡易な認証方式を採用した認証処理を行えば、主制御部10と中間部20との間及び中間部20と演出制御部203との間において、高度のセキュリティレベルを維持することができる。   For example, the processing capacity of the CPU 10 a constituting the main control unit 10 and the storage capacity of the ROM 10 b constituting the main control unit 10 are the processing capacity of the CPU 203 a constituting the effect control unit 203 and the storage capacity of the ROM 203 b constituting the effect control unit 203. If there is a margin in comparison, the main control unit 10 transmits to the intermediate unit 20 the individual authentication data 303 obtained by performing complex or advanced encryption processing on each individual test value, and the intermediate unit 20 receives the data. Intermediate processing information 305 obtained by subjecting the authentication result obtained by authenticating the main control unit 10 using the individual test values obtained from the individual authentication data 303 to a relatively simple or low-level encryption process. It transmits to the production control unit 203. Then, the effect control unit 203 performs processing according to the authentication result obtained from the intermediate processing information 305. By configuring in this way, even if a complicated or advanced authentication method is not used, if an authentication process using a relatively simple authentication method is performed, between the main control unit 10 and the intermediate unit 20 and the intermediate unit A high security level can be maintained between 20 and the effect control unit 203.

また、演出制御部203を構成するCPU203aの処理能力や演出制御部203を構成するROM203bの記憶容量が主制御部10を構成するCPU10aの処理能力や主制御部10を構成するROM10bの記憶容量と比較して余裕がある場合、主制御部10は各個体検査値をそれぞれ個体認証データ303としてそのままあるいは比較的簡易又は低度な暗号化処理を施して得られた個体認証データ303を中間部20に送信し、中間部20は受信した上記個体認証データ303から得られた各個体検査値を用いて主制御部10を認証した認証結果に対して複雑又は高度な再暗号処理を施したり、上記個体認証データ303から得られた各個体検査値に対して復号化処理等を施した後により複雑又は高度な再暗号化処理を施したりする中間演算を行って得られた中間処理情報305を演出制御部203に送信する。そして、演出制御部203で中間処理情報305から得られた認証結果に応じた処理を行う。このように構成することにより、複雑又は高度な認証方式を採用しなくても、比較的簡易な認証方式を採用した認証処理を行えば、主制御部10と中間部20との間及び中間部20と演出制御部203との間において、可能な限りセキュリティレベルを維持することができる。   Further, the processing capacity of the CPU 203 a configuring the effect control unit 203 and the storage capacity of the ROM 203 b configuring the effect control unit 203 are the processing capacity of the CPU 10 a configuring the main control unit 10 and the storage capacity of the ROM 10 b configuring the main control unit 10. If there is room for comparison, the main control unit 10 uses the individual authentication data 303 as the individual authentication data 303 as it is, or the individual authentication data 303 obtained by performing relatively simple or low-level encryption processing on the intermediate unit 20. The intermediate unit 20 performs complex or advanced re-encryption processing on the authentication result obtained by authenticating the main control unit 10 using each individual test value obtained from the received individual authentication data 303, or After decryption processing or the like is performed on each individual test value obtained from the individual authentication data 303, more complicated or advanced re-encryption processing is performed. It sends the intermediate processing information 305 obtained by performing between operation on the performance control unit 203. Then, the effect control unit 203 performs processing according to the authentication result obtained from the intermediate processing information 305. By configuring in this way, even if a complicated or advanced authentication method is not used, if an authentication process using a relatively simple authentication method is performed, between the main control unit 10 and the intermediate unit 20 and the intermediate unit A security level can be maintained as much as possible between 20 and the effect control unit 203.

このようなことは、主制御部10及び演出制御部203をそれぞれ構成するCPU10a及び203aの処理能力やROM10b及び203bの記憶容量における余裕に差異がある場合だけでなく、このような差異はないが、主制御部10を構成するCPU10a又は演出制御部203を構成するCPU203aがそれぞれ実行するプログラムの一方の全部又は一部が変更された場合(バージョンアップなど)や、各個体検査値又は中間演算結果等のデータ構造等において、主制御部10と演出制御部203との間で形式的な差異が発生した場合についても同様に当てはまる。   This is not only the case where there is a difference in the processing capacity of the CPUs 10a and 203a and the storage capacities of the ROMs 10b and 203b constituting the main control unit 10 and the effect control unit 203, respectively, but there is no such difference. When all or part of one of the programs executed by the CPU 10a constituting the main control unit 10 or the CPU 203a constituting the effect control unit 203 is changed (for example, version upgrade), each individual test value or intermediate calculation result The same applies to a case where a formal difference occurs between the main control unit 10 and the effect control unit 203 in the data structure or the like.

<実施の形態2>
以下、本発明の実施の形態2に係るパチンコ遊技機について説明する。本実施の形態2のパチンコ遊技機は、主制御部10においてROM10bに予め記憶されている所定のデータを分割する方法が、実施の形態1のパチンコ遊技機と異なる。これ以外の点は、基本的に実施の形態1のパチンコ遊技機と同様である。以下、実施の形態1のパチンコ遊技機と同一の部材には同一の符号を付してその詳細な説明は省略し、異なる点について重点的に説明する。
<Embodiment 2>
Hereinafter, a pachinko gaming machine according to Embodiment 2 of the present invention will be described. The pachinko gaming machine according to the second embodiment is different from the pachinko gaming machine according to the first embodiment in a method of dividing predetermined data stored in the ROM 10b in the main control unit 10 in advance. Other points are basically the same as those of the pachinko gaming machine of the first embodiment. Hereinafter, the same members as those in the pachinko gaming machine according to the first embodiment are denoted by the same reference numerals, detailed description thereof will be omitted, and different points will be mainly described.

以下、主制御部10における所定のデータの分割方法について詳細に説明する。
主制御部10は、個体検査値生成の対象となる各データブロックを構成するデータの量(以下、データ量という)を決定する。データ量の決定方法は、例えば、乱数生成回路(図示略)や上記プログラムコードを構成する乱数生成プログラムによって生成された値をデータ量とする方法であったり、主制御部10の他の処理において生成される値を所定のタイミングで参照し、その値をデータ量としたりする方法が考えられる。主制御部10は、例えば、ROM10bに記憶されている所定のプログラムコードの全てを用いて個体検査値を生成するまで、データ量を決定する。上記データ量を決定する処理を実行する手段は、例えば、図1に示す決定手段12に対応させることができる。
Hereinafter, a predetermined data dividing method in the main control unit 10 will be described in detail.
The main control unit 10 determines the amount of data (hereinafter referred to as data amount) constituting each data block that is a target for generating individual test values. The data amount determination method is, for example, a method in which a value generated by a random number generation circuit (not shown) or a random number generation program constituting the program code is used as the data amount, or in other processing of the main control unit 10 A method is conceivable in which a generated value is referred to at a predetermined timing and the value is used as a data amount. For example, the main control unit 10 determines the data amount until the individual test value is generated using all of the predetermined program codes stored in the ROM 10b. The means for executing the processing for determining the data amount can correspond to, for example, the determination means 12 shown in FIG.

次に、主制御部10は、ROM10b内の所定のプログラムコードを、決定手段12で決定したデータ量で分割する。そして、主制御部10は、各データブロック毎に半群演算を行って、主制御部10を認証するための分割したデータブロック数分の個体検査値を生成する。すなわち、本実施の形態2では、分割して得られたデータブロックの数が分割数になる。   Next, the main control unit 10 divides the predetermined program code in the ROM 10b by the data amount determined by the determination unit 12. Then, the main control unit 10 performs a semigroup operation for each data block, and generates individual test values for the number of divided data blocks for authenticating the main control unit 10. That is, in the second embodiment, the number of data blocks obtained by division is the number of divisions.

主制御部10は、例えば、1つの個体検査値を生成するごとに、その生成に用いるデータ量を決定する。この場合、主制御部10は、ROM10bの所定領域内の全てのプログラムコードを用いた個体検査値の生成が完了するまで、データ量の決定と個体検査値の生成とを繰り返す。このため、本実施の形態2では、いくつの個体検査値が生成されるか(すなわち、分割数がいくつになるか)は、ROM10bの所定領域内の全てのプログラムコードを用いた個体検査値の生成が完了するまでわからない。   For example, every time one individual test value is generated, the main control unit 10 determines the amount of data used for the generation. In this case, the main control unit 10 repeats the determination of the data amount and the generation of the individual test value until the generation of the individual test value using all the program codes in the predetermined area of the ROM 10b is completed. For this reason, in the second embodiment, how many individual test values are generated (that is, how many divisions are made) is determined by individual test values using all program codes in a predetermined area of the ROM 10b. Not sure until generation is complete.

なお、1つの個体検査値を生成するごとにデータ量を決定するのではなく、予め個体検査値の生成に用いるデータ量を決定しておいてもよい。また、全ての個体検査値の生成に用いるデータ量を等しくするようにしてもよい。この場合、データ量を決定した時点で分割数が予測可能となる。   Instead of determining the data amount every time one individual test value is generated, the data amount used for generating the individual test value may be determined in advance. Further, the data amount used for generation of all individual test values may be made equal. In this case, the number of divisions can be predicted when the data amount is determined.

(個体検査値生成の計算例)
半群演算として加算を用いる方式Aにより個体検査値を生成する一例を図4を用いて説明する。図4に示すプログラムコード記憶領域400には、12個のプログラムコード(「0x01」〜「0x09」,「0x0A」〜「0x0C」、1つのプログラムコードのデータ量は1バイト)が記憶されている。
まず、1つ目の個体検査値の生成に用いるデータ量を4バイトと決定した場合、プログラムコード記憶領域400に記憶されたプログラムコードから、4バイト分のプログラムコード(「0x01」,「0x02」,「0x03」,「0x04」)を分割し、第1ブロック400aとする。次に、第1ブロック400aに記憶されたプログラムコード「0x01」,「0x02」,「0x03」,「0x04」を加算して第1個体検査値「0x0A」が得られる。
(Example of individual test value generation calculation)
An example in which the individual test value is generated by the method A using addition as the half-group operation will be described with reference to FIG. The program code storage area 400 shown in FIG. 4 stores 12 program codes (“0x01” to “0x09”, “0x0A” to “0x0C”, and the data amount of one program code is 1 byte). .
First, when the amount of data used to generate the first individual test value is determined to be 4 bytes, 4 bytes of program code (“0x01”, “0x02”) are determined from the program code stored in the program code storage area 400. , “0x03”, “0x04”) are divided into first blocks 400a. Next, the program codes “0x01”, “0x02”, “0x03”, and “0x04” stored in the first block 400a are added to obtain the first individual test value “0x0A”.

続いて、2つ目の個体検査値の生成に用いるデータ量を3バイトと決定した場合、プログラムコード記憶領域400に記憶されたプログラムコードのうち第1ブロック400aに記憶されたプログラムコードを除いたプログラムコードから、3バイト分のプログラムコード(「0x05」,「0x06」,「0x07」)を分割し、第2ブロック400bとする。次に、第2ブロック400bに記憶されたプログラムコード「0x05」,「0x06」,「0x07」を加算して第2個体検査値「0x12」が得られる。   Subsequently, when the data amount used to generate the second individual test value is determined to be 3 bytes, the program code stored in the first block 400a is excluded from the program codes stored in the program code storage area 400. A 3-byte program code (“0x05”, “0x06”, “0x07”) is divided from the program code to form a second block 400b. Next, the program codes “0x05”, “0x06”, “0x07” stored in the second block 400b are added to obtain the second individual test value “0x12”.

続いて、3つ目の個体検査値の生成に用いるデータ量を7バイトと決定した場合、プログラムコード記憶領域400に記憶されたプログラムコードのうち第1ブロック400a及び第2ブロック400bに記憶されたプログラムコードを除いたプログラムコードは、5バイト分しかないので、5バイト分(「0x08」,「0x09」,「0x0A」,「0x0B」,「0x0C」)のプログラムコードを第3ブロック400cとする。次に第3ブロック400cに記憶されたプログラムコード「0x08」,「0x09」,「0x0A」,「0x0B」,「0x0C」を加算して第3個体検査値「0x32」が得られる。主制御部は、プログラムコード記憶領域400に記憶された12個のプログラムコード全てを用いて個体検査値を生成したので個体検査値の生成を終了する。   Subsequently, when the data amount used to generate the third individual test value is determined to be 7 bytes, the program code stored in the program code storage area 400 is stored in the first block 400a and the second block 400b. Since the program code excluding the program code has only 5 bytes, the program code of 5 bytes (“0x08”, “0x09”, “0x0A”, “0x0B”, “0x0C”) is defined as the third block 400c. . Next, the third individual test value “0x32” is obtained by adding the program codes “0x08”, “0x09”, “0x0A”, “0x0B”, “0x0C” stored in the third block 400c. Since the main control unit has generated the individual test value using all the 12 program codes stored in the program code storage area 400, the main control unit ends the generation of the individual test value.

以下、主制御部における認証に関する処理について説明する。図18は、主制御部による認証に関する処理の一例を示すフローチャートである。本フローチャートでは、個体検査値を生成する毎にデータ量を決定し、所定のプログラムコードを分割する場合の処理について説明する。主制御部10は、制御コマンドの送信タイミングになるまで待機して(ステップS141:NO)、制御コマンドの送信タイミングになると(ステップS141:YES)、個体検査値の生成に用いるデータ量を決定する(ステップS142)。次に、主制御部10は、ステップS142で決定した量のプログラムデータを読み出し、読み出したデータに対して半群演算を行って個体検査値を算出し(ステップ143)、さらに暗号化処理を行って個体認証データを生成する(ステップS144)。   Hereinafter, a process related to authentication in the main control unit will be described. FIG. 18 is a flowchart illustrating an example of processing related to authentication by the main control unit. In this flowchart, a process when a data amount is determined every time an individual test value is generated and a predetermined program code is divided will be described. The main control unit 10 waits until the control command transmission timing is reached (step S141: NO), and when the control command transmission timing is reached (step S141: YES), determines the amount of data used for generating the individual test value. (Step S142). Next, the main control unit 10 reads the amount of program data determined in step S142, performs a semigroup operation on the read data to calculate an individual test value (step 143), and further performs encryption processing. The individual authentication data is generated (step S144).

プログラムコード記憶領域400内の全てのデータを用いて個体検査値を生成するまで(ステップS145:NO)、主制御部10は、ステップS142に戻り、以降の処理を繰り返す。ここで、「プログラムコード記憶領域400内の全てのデータを用いて」とは、プログラムコード記憶領域400内のデータをもれなく、かつ重複なく用いて、という意味である。主制御部10は、例えばプログラムコード記憶領域400の先頭から順番にデータを読み出して個体検査値の生成に用いる。2つ目以降の個体検査値を生成する場合は、前の個体検査値の生成に用いたプログラムコードの次の領域に書き込まれたデータを、ステップS142で決定した量だけ読み出して個体検査値を生成する。なお、最後の個体検査値を生成する際は、ステップS142で決定したデータ量に足りない可能性があるが、主制御部10は、取得できる分のプログラムデータのみを用いて個体検査値を生成する。なお、個体認証データの生成は、制御コマンドの送信タイミングとなる前に行っておいてもよい。   Until the individual test value is generated using all the data in the program code storage area 400 (step S145: NO), the main control unit 10 returns to step S142 and repeats the subsequent processing. Here, “using all the data in the program code storage area 400” means that all the data in the program code storage area 400 is used without duplication. For example, the main control unit 10 reads out data in order from the top of the program code storage area 400 and uses it to generate an individual test value. When generating the second and subsequent individual test values, the data written in the area next to the program code used to generate the previous individual test value is read by the amount determined in step S142 to obtain the individual test value. Generate. Note that when generating the last individual test value, the data amount determined in step S142 may be insufficient, but the main control unit 10 generates the individual test value using only the program data that can be acquired. To do. The generation of the individual authentication data may be performed before the control command transmission timing.

プログラムコード記憶領域400内の全てのデータを用いて個体検査値を生成すると(ステップS145:YES)、主制御部10は、ステップS144で生成した個体認証データの個数、すなわち分割数に基づいて、同期コードの生成に用いるパケット情報の種類を選択する(ステップS146)。具体的には、間欠パケット情報又は連続パケット情報のいずれかを選択する。そして、選択したパケット情報の種類に応じたパケット情報を生成して、そのパケット情報を元にして同期コードを生成する(ステップS147)。なお、ステップS146とステップS147とを入れ替えて、間欠パケット情報及び連続パケット情報の両方をそれぞれ用いて2つの同期コードを生成しておき、どちらの同期コードを利用するかを後から選択するようにしてもよい。また、主制御部10は、計時情報を取得して(ステップS148)、時間コードを生成する(ステップS149)。   When the individual test value is generated using all the data in the program code storage area 400 (step S145: YES), the main control unit 10 based on the number of pieces of individual authentication data generated in step S144, that is, the number of divisions, The type of packet information used for generating the synchronization code is selected (step S146). Specifically, either intermittent packet information or continuous packet information is selected. Then, packet information corresponding to the type of the selected packet information is generated, and a synchronization code is generated based on the packet information (step S147). Note that step S146 and step S147 are interchanged so that two synchronization codes are generated using both intermittent packet information and continuous packet information, and which synchronization code is used is selected later. May be. Further, the main control unit 10 acquires timekeeping information (step S148) and generates a time code (step S149).

続いて、主制御部10は、個体認証データ、同期コード及び時間コード(認証データ)を制御コマンドデータに付加して(ステップS150)、中間部20に認証データ付制御信号を送信する(ステップS151)。認証データ付制御信号は連続して送信してもよいし、通常の制御信号に混ぜて送信してもよい。また、認証データの送信順序も任意である。主制御部10は、全ての個体認証データ及び動作認証データを送信するまで(ステップS152:NO)、ステップS151に戻り、認証データ付制御信号の送信を繰り返す。なお、主制御部10は、生成した認証データのうち未送信の認証データがある場合(ステップS152:NO)、新たに認証データを生成せず、必ずステップS151に戻り認証データ付制御信号の送信を行う。また、認証データを付加する制御コマンドは特に制限されず任意の制御コマンドでよい。そして、全ての認証データを送信すると(ステップS152:YES)、本フローチャートによる処理を終了する。   Subsequently, the main control unit 10 adds the individual authentication data, the synchronization code, and the time code (authentication data) to the control command data (step S150), and transmits a control signal with authentication data to the intermediate unit 20 (step S151). ). The control signal with authentication data may be transmitted continuously, or may be mixed with a normal control signal and transmitted. Further, the transmission order of the authentication data is also arbitrary. The main control unit 10 returns to step S151 and repeats transmission of the control signal with authentication data until all the individual authentication data and the operation authentication data are transmitted (step S152: NO). When there is unsent authentication data among the generated authentication data (step S152: NO), the main control unit 10 does not newly generate authentication data and always returns to step S151 and transmits a control signal with authentication data. I do. Further, the control command for adding the authentication data is not particularly limited and may be an arbitrary control command. When all the authentication data has been transmitted (step S152: YES), the processing according to this flowchart is terminated.

中間部20及び演出制御部203における認証に関する処理は、実施の形態1と同様である。すなわち、中間部20は、主制御部10から送信された認証データ付制御信号から個体認証データを抽出し、個体認証データを用いて認証処理を行い、認証結果を用いて中間処理情報を生成し、中間処理情報付制御信号を演出制御部203に送信する。演出制御部203は、中間部20から送信された中間処理情報付制御信号から中間処理情報を抽出し、中間処理情報から認証結果を復元し、認証結果に応じて各種処理を行う。   Processing related to authentication in the intermediate unit 20 and the effect control unit 203 is the same as in the first embodiment. That is, the intermediate unit 20 extracts individual authentication data from the control signal with authentication data transmitted from the main control unit 10, performs authentication processing using the individual authentication data, and generates intermediate processing information using the authentication result. Then, the control signal with intermediate processing information is transmitted to the effect control unit 203. The effect control unit 203 extracts the intermediate processing information from the control signal with intermediate processing information transmitted from the intermediate unit 20, restores the authentication result from the intermediate processing information, and performs various processes according to the authentication result.

次に、図15及び図18に示す処理のうち、同期コードの生成に用いるパケット情報選択処理の具体例について説明する。図19は、制御部間のデータの流れの一例を示すシーケンス図である。図19においては、分割数に基づいたコードの選択例として、図5に示した選択例1(ここでは、X=3とする)によって利用するコードを選択するものとする。図19では、説明の便宜上、個体検査値の生成に用いるデータ量を一括して決定するように示しているが、図18のフローチャートのように、個体検査値を生成するごとにデータ量を決定してもよい。   Next, a specific example of the packet information selection process used to generate the synchronization code among the processes shown in FIGS. 15 and 18 will be described. FIG. 19 is a sequence diagram illustrating an example of a data flow between control units. In FIG. 19, as a code selection example based on the number of divisions, a code to be used is selected according to selection example 1 (X = 3 in this example) shown in FIG. In FIG. 19, for convenience of explanation, the data amount used for generating the individual test value is collectively determined. However, as shown in the flowchart of FIG. 18, the data amount is determined every time the individual test value is generated. May be.

まず、主制御部10は、任意の方法で個体検査値の生成に用いるデータ量を決定する。例えば、全データ量が12バイトあり、個体検査値の生成に用いるデータ量を、それぞれ4バイト、3バイト、5バイトとすると、3つの個体検査値を生成することになり、分割数=3となる(ステップS161)。主制御部10は、プログラムコード記憶領域400の先頭から順に4バイト、3バイト、5バイトのデータを読み出し、それぞれのデータを用いて3つの個体検査値を生成し、これらの個体検査値に暗号化処理を施し個体認証データを生成する(ステップS162)。   First, the main control unit 10 determines the amount of data used for generating the individual test value by an arbitrary method. For example, if the total data amount is 12 bytes and the data amount used for generating the individual test value is 4 bytes, 3 bytes, and 5 bytes, respectively, three individual test values are generated, and the number of divisions = 3. (Step S161). The main control unit 10 reads 4 bytes, 3 bytes, and 5 bytes of data in order from the top of the program code storage area 400, generates three individual test values using each data, and encrypts these individual test values. To generate individual authentication data (step S162).

次に、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS163)。具体的には、分割数(この場合「3」)をXの値(この場合「3」)で割り、その余りの値によってパケット情報を選択する。この場合、3を3で割った余りは0であるため、主制御部10は間欠パケット情報を選択する。主制御部10は、間欠パケット情報を用いて同期コードを生成するとともに、時間コードを生成する(ステップS164)。そして、主制御部10は、個体認証データ、同期コード及び時間コードを含む認証データ付制御信号を中間部20に送信する(ステップS165)。   Next, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S163). Specifically, the number of divisions (in this case, “3”) is divided by the value of X (in this case, “3”), and packet information is selected by the remainder value. In this case, since the remainder obtained by dividing 3 by 3 is 0, the main control unit 10 selects intermittent packet information. The main control unit 10 generates a synchronization code using intermittent packet information and also generates a time code (step S164). The main control unit 10 transmits a control signal with authentication data including the individual authentication data, the synchronization code, and the time code to the intermediate unit 20 (step S165).

続いて、中間部20における処理について説明する。中間部20は、主制御部10から送信された認証データ付制御信号を受信する(ステップS166)。そして、認証データ付制御信号から個体検査値を抽出し、個体検査値に対して結合処理を行う(ステップS167)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体に対する認証を成功させる(ステップS168)。結合結果を期待値と照合する。今回の場合は、3つの個体検査値を用いて結合処理を行った際に期待値と一致する(結合数=3)。   Next, processing in the intermediate unit 20 will be described. The intermediate unit 20 receives the control signal with authentication data transmitted from the main control unit 10 (step S166). Then, an individual test value is extracted from the control signal with authentication data, and a combination process is performed on the individual test value (step S167). The combined result is compared with the expected value for individual authentication, and when the combined result matches the expected value for individual authentication, the intermediate unit 20 succeeds in authenticating the individual of the main control unit 10 (step S168). Check the combined result against the expected value. In this case, when the joining process is performed using the three individual test values, it matches the expected value (number of bonds = 3).

中間部20は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS169)。具体的には、今回の場合は、結合数である3をXである3で割った余りは0であるため、間欠パケット情報であると判別する(図5参照)。続いて、中間部20は、特定したパケット情報に対応した方法で同期コードを用いた認証を行うとともに(ステップS170)、時間コードを用いた認証を行う(ステップS171)。同期コードを用いた認証及び時間コードを用いた認証の両方が成功すると、中間部20は、制御信号を正しい信号として認証する(ステップS172)。ここまでが一連の切り替え処理の流れである。   The intermediate unit 20 identifies the type of packet information used for generating the synchronization code based on the number of combinations (step S169). Specifically, in this case, since the remainder obtained by dividing 3 which is the number of connections by 3 which is X is 0, it is determined that the packet information is intermittent packet information (see FIG. 5). Subsequently, the intermediate unit 20 performs authentication using a synchronization code by a method corresponding to the specified packet information (step S170) and performs authentication using a time code (step S171). If the authentication using the synchronization code and the authentication using the time code are both successful, the intermediate unit 20 authenticates the control signal as a correct signal (step S172). This is the flow of a series of switching processes.

2回目の処理の説明に移り、主制御部10は、再び任意の方法で個体検査値の生成に用いるデータ量を決定する。例えば、個体検査値の生成に用いるデータ量を、それぞれ4バイト、3バイト、2バイト、3バイトとすると、4つの個体検査値を生成することになり、分割数=4となる(ステップS173)。主制御部10は、プログラムコード記憶領域400の先頭から順に4バイト、3バイト、2バイト、3バイトのデータを読み出し、それぞれのデータを用いて4つの個体検査値を算出し、これらの個体検査値に暗号化処理を行って個体認証データを生成する(ステップS174)。   Turning to the description of the second processing, the main control unit 10 again determines the amount of data to be used for generating the individual test value by an arbitrary method. For example, if the data amount used for generating the individual test value is 4 bytes, 3 bytes, 2 bytes, and 3 bytes, respectively, four individual test values are generated, and the number of divisions is 4 (step S173). . The main control unit 10 reads 4 bytes, 3 bytes, 2 bytes, and 3 bytes of data in order from the top of the program code storage area 400, calculates four individual test values using each data, and these individual tests The individual authentication data is generated by encrypting the value (step S174).

また、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS175)。具体的には、分割数(この場合「4」)をXの値(この場合「3」)で割る。この余りの値は1であるため、主制御部10は連続パケット情報を選択する。主制御部10は、連続パケット情報を用いて同期コードを生成するとともに時間コードを生成する(ステップS176)。そして、主制御部10は、個体認証データ、同期コード及び時間コードを含む認証データ付制御信号を中間部20に送信する(ステップS177)。   Further, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S175). Specifically, the number of divisions (in this case “4”) is divided by the value of X (in this case “3”). Since the remainder value is 1, the main control unit 10 selects continuous packet information. The main control unit 10 generates a synchronization code using the continuous packet information and also generates a time code (step S176). The main control unit 10 transmits a control signal with authentication data including the individual authentication data, the synchronization code, and the time code to the intermediate unit 20 (step S177).

続いて、中間部20は、主制御部10から送信された認証データ付制御信号を受信し(ステップS178)、個体検査値を抽出して結合処理を行う(ステップS179)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体に対する認証を成功させる(ステップS180)。今回の場合は、4つの個体検査値を用いて結合処理を行った際に期待値と一致する(結合数=4)。結合結果が期待値と一致すると、中間部20は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS181)。具体的には、今回の場合は、結合数である4をXである3で割った余りは1であるため、連続パケット情報であると判別する。   Subsequently, the intermediate unit 20 receives the control signal with authentication data transmitted from the main control unit 10 (step S178), extracts the individual test value, and performs a combination process (step S179). The combined result is compared with the expected value for individual authentication, and when the combined result matches the expected value for individual authentication, the intermediate unit 20 succeeds in authenticating the individual of the main control unit 10 (step S180). In this case, when the combination processing is performed using the four individual test values, it matches the expected value (number of connections = 4). When the combination result matches the expected value, the intermediate unit 20 specifies the type of packet information used for generating the synchronization code based on the number of combinations (step S181). Specifically, in this case, since the remainder obtained by dividing 4 which is the number of connections by 3 which is X is 1, it is determined that the packet information is continuous packet information.

そして、中間部20は、特定したパケット情報に対応した方法で同期コードを用いた認証を行うとともに(ステップS182)、時間コードを用いた認証を行う(ステップS183)。同期コードを用いた認証及び時間コードを用いた認証の両方が成功すると、中間部20は、制御信号を正しい信号として認証する(ステップS184)。以上が一連の流れとなる。   Then, the intermediate unit 20 performs authentication using a synchronization code by a method corresponding to the specified packet information (step S182) and performs authentication using a time code (step S183). When both the authentication using the synchronization code and the authentication using the time code are successful, the intermediate unit 20 authenticates the control signal as a correct signal (step S184). The above is a series of flows.

以上説明したように、本実施の形態2にかかるパチンコ遊技機は、主制御部において、分割数そのものを決定するのではなく、個体認証データの生成に用いるデータ量を決定する。このため、分割数が不正に窃取される可能性を低減することができる。本実施の形態2においては、本実施の形態1により得られる効果も当然に得られる。   As described above, in the pachinko gaming machine according to the second embodiment, the main control unit does not determine the division number itself, but determines the data amount used for generating the individual authentication data. For this reason, the possibility that the number of divisions is illegally stolen can be reduced. In the second embodiment, the effects obtained by the first embodiment are naturally obtained.

<実施の形態3>
上記実施の形態1,2では、中間部20と演出制御部203とは別個のハードウェア構成とする例を示したが、これに限定されない。
例えば、実施の形態1に関していえば、中間部20を構成するCPU20aが有する機能と演出制御部203を構成するCPU203aが有する機能を1個のCPUが有するように構成するとともに、中間部20を構成するROM20bに記憶されているプログラムコードやそれ以外の固定データと演出制御部203を構成するROM203bに記憶されているプログラムコードやそれ以外の固定データを1個のROMに記憶するように構成してもよい。この場合、中間部20と演出制御部203との間におけるデータや認証データ付制御信号等の送信及び受信は、例えば、中間部20を構成するRAM20cのワークエリアとして機能するとともに、演出制御部203を構成するRAM203cのワークエリアとして機能する1個のRAMにおいて、ある記憶領域から他の記憶領域へのデータの複写や参照すべきアドレスの書き換えなどにより実現することができる。
<Embodiment 3>
In the said Embodiment 1, 2, although the intermediate part 20 and the production | presentation control part 203 showed the example set as a separate hardware structure, it is not limited to this.
For example, with respect to the first embodiment, one CPU has the functions of the CPU 20a configuring the intermediate unit 20 and the function of the CPU 203a configuring the effect control unit 203, and the intermediate unit 20 is configured. The program code stored in the ROM 20b and other fixed data and the program code stored in the ROM 203b constituting the effect control unit 203 and other fixed data are stored in one ROM. Also good. In this case, transmission and reception of data, a control signal with authentication data, and the like between the intermediate unit 20 and the effect control unit 203 function as a work area of the RAM 20c configuring the intermediate unit 20, and the effect control unit 203, for example. Can be realized by copying data from one storage area to another storage area or rewriting an address to be referred to.

但し、上記のような場合、1個のCPUが2個のCPUの機能を備えることになるので、一般的には処理負荷が増大する。そこで、例えば、デュアルCPUの構成により中間部20の処理を行う、などが考えられる。   However, in the above case, since one CPU has the functions of two CPUs, the processing load generally increases. Thus, for example, the processing of the intermediate unit 20 may be performed with a dual CPU configuration.

本実施の形態3のパチンコ遊技機は中間部と演出制御部とを1個のソフトウェアで構成したので、実施の形態1及び2において得られる効果の他に、さらに以下に示す効果が得られる。   In the pachinko gaming machine of the third embodiment, the intermediate part and the effect control part are configured by a single piece of software, so that the following effects can be obtained in addition to the effects obtained in the first and second embodiments.

1.並行開発及び情報セキュリティ向上
演出制御部と中間部とがソフトウェア構成上分離独立している場合は、演出制御部及び中間部をそれぞれ並行して個別に開発することが可能であり、これにより、例えば、以下に示す効果が得られる。
1. Parallel development and information security improvement When the production control unit and the intermediate unit are separated and independent on the software configuration, it is possible to develop the production control unit and the intermediate unit individually in parallel, for example, The following effects can be obtained.

[1]演出制御部と中間部とについて同時に設計、開発を行うことができるため、並行開発できない場合と比較して、製品の開発期間を短縮することができる。
[2]演出制御部と中間部とについてそれぞれ独立した開発体制をとることができるため、演出制御部と中間部の設計製造検証を行う際の業務上の機密情報(例えば、認証処理の方式など、遊技に関する処理など)を、それぞれの開発体制外に流出させる可能性を減らすことができる。
[1] Since the production control unit and the intermediate unit can be designed and developed at the same time, the product development period can be shortened compared to the case where parallel development is not possible.
[2] Since it is possible to take independent development systems for the production control unit and the intermediate unit, confidential business information (for example, an authentication processing method, etc.) when performing design and manufacturing verification of the production control unit and the intermediate unit. , Processing related to games, etc.) can be reduced out of the respective development system.

2.認証機能の導入容易性及び他の機種へ移植容易性
中間部の認証処理は既存の遊技処理と独立しているため、中間部の認証処理と既存の遊技処理との間の認証情報の送信は、既存の遊技処理のために設けられているインターフェイスを用いて行うことができる。したがって、認証機能を導入することが容易になる。
2. Ease of introduction of authentication function and ease of porting to other models Since the authentication process in the intermediate part is independent of the existing game process, transmission of authentication information between the authentication process in the intermediate part and the existing game process is It can be performed using an interface provided for existing game processing. Therefore, it becomes easy to introduce an authentication function.

また、遊技機の新機種を設計開発検証する際に、遊技機の新機種の機能と以前の機種の機能との差異が中間部の実装とは余り関連しない可能性が高い。したがって、中間部に関して以前の機種から新機種への移行を行う際に、設計変更が軽微なもので済む可能性が高い。   In addition, when designing, developing, and verifying a new model of a gaming machine, there is a high possibility that the difference between the function of the new model of the gaming machine and the function of the previous model is not so much related to the implementation of the intermediate part. Therefore, there is a high possibility that a slight design change is required when the middle part is shifted from the previous model to the new model.

3.検証の容易性
演出制御部と中間部とがソフトウェア構成上分離独立している場合は、演出制御部及び中間部に対しそれぞれ個別に検証を行うことが可能である。したがって、演出制御部と中間部とが分離されていないものに対する検証を行う場合と比較し、それぞれの機能が狭い機能で閉じているため、短期間かつ少人数で検証を行うことができる。
3. Ease of verification When the production control unit and the intermediate unit are separated and independent in terms of software configuration, it is possible to individually verify the production control unit and the intermediate unit. Therefore, as compared with the case where verification is performed for a case where the production control unit and the intermediate unit are not separated, each function is closed by a narrow function, so that verification can be performed in a short period of time with a small number of people.

4.認証方式の変更容易性
認証方式を変更したり、認証アルゴリズムをバージョンアップしたりする場合、主制御部及び中間部だけで変更又はバージョンアップを図ればよく、演出制御部の認証に関する処理を変更しなくて済む。
4). Ease of change of authentication method When changing the authentication method or upgrading the authentication algorithm, only the main control unit and the intermediate unit need to be changed or upgraded. No need.

5.認証用のハードウェアとして、演出制御部とは別個のCPU又は専用集積回路などを設けることができない場合であっても、ソフトウェアで容易に認証機能を追加することができる。 5). Even if it is not possible to provide a CPU or dedicated integrated circuit separate from the effect control unit as hardware for authentication, an authentication function can be easily added by software.

6.演出制御部の処理負荷軽減
中間部に実装する認証機能を演出制御部のソフトウェアで実装する場合、演出制御部の既存の遊技処理に認証機能を追加することにより、演出制御部の処理負荷が増大することになる。そこで、演出制御部を構成するCPUとしてデュアルコアCPUを用いることが考えられる。認証処理を実現するための処理負荷をデュアルコアCPUを利用することによって、処理の分散を図ることが可能になるため、演出制御部の既存の遊技処理をできる限り影響しないように、認証機能を追加することができ、認証機能の実現が容易になる。
6). Reduction of processing load of the production control unit When the authentication function to be implemented in the intermediate unit is implemented by software of the production control unit, the processing load of the production control unit increases by adding an authentication function to the existing game processing of the production control unit Will do. Therefore, it is conceivable to use a dual core CPU as the CPU constituting the production control unit. Since the processing load for realizing the authentication process can be distributed by using the dual core CPU, the authentication function is provided so as not to affect the existing game process of the production control unit as much as possible. The authentication function can be easily realized.

<その他の実施の形態>
本発明の具体的な構成は上記各実施の形態に限られるものではなく、本発明の要旨を逸脱しない範囲の設計の変更等があっても本発明に含まれる。
例えば、実施の形態1では、主制御部10と演出制御部203との間に中間部20を設ける例を示したが、これに限定されず、主制御部10と賞球制御部204との間に中間部を設けてもよい。この場合、賞球制御部204は報知手段を備えていないが、主制御部10と賞球制御部204との間は双方向通信が可能であるので、認証が不成功となった場合には、賞球制御部204から主制御部10に対して、制御コマンドデータ301及び付随データ302とともに認証が不成功となった旨のデータを送信するように構成してもよい。そして、主制御部10は、上記不成功となった旨のデータを中間部20を介して演出制御部203に送信し、演出制御部203において、不成功となった旨のデータに基づいて、不正行為が行われたことを報知させる。
また、上記各実施の形態では、中間部20をCPU、ROM、RAM等を備えて構成しているが、同様の機能を持たせたLSI等の集積回路として実現するようにしてもよい。
<Other embodiments>
The specific configuration of the present invention is not limited to the above-described embodiments, and any design change or the like within a range not departing from the gist of the present invention is included in the present invention.
For example, in Embodiment 1, although the example which provides the intermediate | middle part 20 between the main control part 10 and the production | generation control part 203 was shown, it is not limited to this, Between the main control part 10 and the prize ball control part 204 An intermediate part may be provided between them. In this case, the prize ball control unit 204 is not provided with an informing means, but since bidirectional communication is possible between the main control unit 10 and the prize ball control unit 204, the authentication is unsuccessful. The prize ball control unit 204 may transmit data indicating that the authentication has failed together with the control command data 301 and the accompanying data 302 to the main control unit 10. Then, the main control unit 10 transmits the data indicating the unsuccessfulness to the effect control unit 203 via the intermediate unit 20, and the effect control unit 203 based on the data indicating the unsuccessful, Notify that fraud has occurred.
In each of the above embodiments, the intermediate unit 20 includes a CPU, a ROM, a RAM, and the like. However, the intermediate unit 20 may be realized as an integrated circuit such as an LSI having a similar function.

また、実施の形態1〜3に係るパチンコ遊技機において、主制御部10は、同期コードに含まれるパケット情報として連続パケット情報及び間欠パケット情報の2種類のパケット情報から選択するとしたが、これに限定されず、複数種類のパケット情報から選択してもよい。パケット情報の種類は、連続して生成されたパケット情報間の相関条件の値(例えば、パケット情報の基本値の差分値)によって決まる。複数種類のパケット情報は、それぞれことなる相関関係を有する異なる種類のパケット情報である。この場合、主制御部10は、分割数(データブロックの数)に基づいて複数種類のパケット情報から一つを選択し、選択したパケット情報を用いて同期コードを生成する。中間部20は、結合数に基づいて、複数種類のパケット情報から今回の同期コードの生成に用いられたパケット情報の種類を特定する。中間部20は、同期コードに含まれているパケット情報が、特定したパケット情報の種類に対応した相関関係を満たしているか否かに基づいて同期コードを用いた認証を行う。   Moreover, in the pachinko gaming machine according to the first to third embodiments, the main control unit 10 selects from two types of packet information, continuous packet information and intermittent packet information, as packet information included in the synchronization code. It is not limited, You may select from multiple types of packet information. The type of packet information is determined by the value of the correlation condition between packet information generated continuously (for example, the difference value of the basic value of packet information). The plurality of types of packet information are different types of packet information each having a different correlation. In this case, the main control unit 10 selects one of a plurality of types of packet information based on the number of divisions (the number of data blocks), and generates a synchronization code using the selected packet information. The intermediate unit 20 specifies the type of packet information used for generating the current synchronization code from a plurality of types of packet information based on the number of combinations. The intermediate unit 20 performs authentication using the synchronization code based on whether or not the packet information included in the synchronization code satisfies a correlation corresponding to the specified type of packet information.

また、実施の形態1〜3に係るパチンコ遊技機において、個体認証データの生成を、動作認証データである同期コードや時間コードの一部又は全部を用いて行ってもよい。具体的には、主制御部10は、個体認証データの生成より前に、動作認証データを生成する。次に、主制御部10は、複数の個体検査値を生成し、生成した複数の個体検査値に暗号化処理を施して個体認証データを生成する際に、生成された複数の個体検査値の内のいずれか1つと動作認証データの一部又は全部とを併せて暗号化処理を施して個体認証データを生成する。個体認証データの生成に用いる動作認証データは所定の決定方法で決定される。この場合、中間部20は、受信した動作認証データから個体認証データの生成に用いられた動作認証データを主制御部10と同じ所定の決定方法で決定し、決定した動作認証データと記憶手段11に記憶されている所定のデータとを併せて半群演算を行った値を個体認証用検査値として個体認証を行えばよい。このように、動作認証データの一部又は全部を用いて個体認証データを生成することにより、不正な制御部によって動作認証データを再利用された場合であっても、個体認証処理の際に、動作認証データの整合がとれず、不正を検知することができる。また、誤動作により動作認証データが変更された場合であっても、認証は成功しないため、上記雑音等に起因する誤動作を防止することもできる。   Moreover, in the pachinko gaming machine according to the first to third embodiments, the individual authentication data may be generated using part or all of the synchronization code and the time code that are the operation authentication data. Specifically, the main control unit 10 generates operation authentication data before generating individual authentication data. Next, the main control unit 10 generates a plurality of individual test values, performs encryption processing on the generated plurality of individual test values, and generates individual authentication data. Any one of them and a part or all of the operation authentication data are encrypted together to generate individual authentication data. The operation authentication data used for generating the individual authentication data is determined by a predetermined determination method. In this case, the intermediate unit 20 determines the operation authentication data used for generating the individual authentication data from the received operation authentication data by the same predetermined determination method as the main control unit 10, and the determined operation authentication data and the storage unit 11. Individual authentication may be performed using a value obtained by performing a semi-group operation in combination with predetermined data stored in the data as an individual authentication test value. Thus, by generating individual authentication data using a part or all of the operation authentication data, even when the operation authentication data is reused by an unauthorized control unit, during the individual authentication process, Since the operation authentication data is not consistent, fraud can be detected. Further, even if the operation authentication data is changed due to a malfunction, since the authentication is not successful, it is possible to prevent malfunction caused by the noise or the like.

また、実施の形態1〜3に係るパチンコ遊技機において、動作認証データである同期コードや時間コードに暗号化処理を施す際に個体認証データの一部又は全部と併せて行ってもよい。具体的には、主制御部10は、同期コード及び時間コードの暗号化処理より前に、個体認証データを生成する。次に、主制御部10は、同期コード及び時間コードの暗号化処理を施す際に、同期コード及び/又は時間コードと個体認証データの一部又は全部とを併せて暗号化処理を施す。暗号化処理に用いる個体認証データは所定の決定方法で決定される。この場合、中間部20は、受信した個体認証データから暗号化処理に用いられた個体認証データを主制御部10と同じ所定の決定方法で決定し、決定した個体認証データを用いて同期コード及び時間コードを抽出して動作認証を行えばよい。このように、個体認証データの一部又は全部を用いて同期コードや時間コードに暗号化処理を施すことにより、不正な制御部によって個体認証データを再利用された場合であっても、動作認証処理の際に、個体認証データの整合がとれず、不正を検知することができる。また、誤動作により個体認証データが変更された場合であっても、認証は成功しないため、上記雑音等に起因する誤動作を防止することもできる。   In addition, in the pachinko gaming machine according to the first to third embodiments, when the encryption process is performed on the synchronization code or the time code that is the operation authentication data, it may be performed together with a part or all of the individual authentication data. Specifically, the main control unit 10 generates the individual authentication data before the synchronization code and time code encryption processing. Next, when performing the encryption process of the synchronization code and the time code, the main control unit 10 performs the encryption process by combining the synchronization code and / or the time code and a part or all of the individual authentication data. The individual authentication data used for the encryption process is determined by a predetermined determination method. In this case, the intermediate unit 20 determines the individual authentication data used for the encryption process from the received individual authentication data by the same predetermined determination method as that of the main control unit 10, and uses the determined individual authentication data for the synchronization code and The time code may be extracted to perform operation authentication. In this way, even if the individual authentication data is reused by an unauthorized control unit by performing encryption processing on the synchronization code or time code using a part or all of the individual authentication data In the process, the individual authentication data cannot be matched, and fraud can be detected. Further, even if the individual authentication data is changed due to a malfunction, since the authentication is not successful, it is possible to prevent malfunction caused by the noise or the like.

また、実施の形態1〜3に係るパチンコ遊技機は、制御コマンドを送信する際に、個体認証データ又は動作認証データの少なくともいずれか一方を制御コマンドに付加すると説明したが、本発明に係る遊技機はこれに限定されない。主制御部10が認証データ付制御信号を任意のタイミングで出力してもよい。例えば、所定時間毎に認証データ付制御信号を出力してもよい。   Moreover, although the pachinko gaming machine according to the first to third embodiments has been described as adding at least one of individual authentication data and operation authentication data to the control command when transmitting the control command, the game according to the present invention The machine is not limited to this. The main control unit 10 may output a control signal with authentication data at an arbitrary timing. For example, a control signal with authentication data may be output every predetermined time.

また、主制御部10は、認証データ付制御信号の他に、制御コマンドデータ及び付随データに個体認証データを付加した個体認証データ付制御信号や、制御コマンドデータ及び付随データに動作認証データを付加した動作認証データ付制御信号を中間部に送信してもよい。また、動作認証データである同期コードと時間コードとを別の制御信号に付加し、それぞれ別々に中間部に送信してもよい。但し、個体認証データ及び動作認証データを別々に送信する場合(個体認証データ付制御信号及び動作認証データ付制御信号をそれぞれ送信する場合)で且つ個体認証データが動作認証データを用いて生成されている場合は、個体認証が行われる前に動作認証データを送信する必要がある。同様に、動作認証データが個体認証データを用いて暗号化処理を施されている場合は、動作認証が行われる前に個体認証データを送信する必要がある。   In addition to the control signal with authentication data, the main control unit 10 adds control data with individual authentication data to the control command data and accompanying data, and adds operation authentication data to the control command data and accompanying data. The control signal with operation authentication data may be transmitted to the intermediate unit. Further, the synchronization code and the time code, which are operation authentication data, may be added to different control signals and transmitted separately to the intermediate unit. However, when the individual authentication data and the operation authentication data are transmitted separately (when the control signal with individual authentication data and the control signal with operation authentication data are transmitted respectively) and the individual authentication data is generated using the operation authentication data. If it is, the operation authentication data needs to be transmitted before the individual authentication is performed. Similarly, when the operation authentication data is encrypted using the individual authentication data, it is necessary to transmit the individual authentication data before the operation authentication is performed.

また、本実施の形態1〜3に係るパチンコ遊技機では、所定のタイミング、例えば、所定の制御コマンドを送信する場合にのみ個体認証データ及び動作認証データを生成するようにしてもよい。この場合、主制御部10は、制御コマンドが所定の制御コマンドか否かを判断し、所定の制御コマンドの場合に個体認証データ及び動作認証データを生成する。主制御部10は、生成した個体認証データ及び動作認証データを制御コマンドに付加した認証データ付制御信号を中間部20に送信する。なお、主制御部10は、生成した個体認証データ及び動作認証データの全てを送信するまでは、所定のタイミング(例えば、所定の制御コマンドの送信タイミング)になっても新たに個体認証データ及び動作認証データを生成せずに認証データ付制御信号の送信を行う。このように、所定のタイミングのときにのみ個体認証データ及び動作認証データを生成することにより、認証データの生成回数を制限することができ、認証処理による処理負荷を低減することができる。   In the pachinko gaming machine according to the first to third embodiments, the individual authentication data and the operation authentication data may be generated only when a predetermined timing, for example, a predetermined control command is transmitted. In this case, the main control unit 10 determines whether or not the control command is a predetermined control command, and generates individual authentication data and operation authentication data in the case of the predetermined control command. The main control unit 10 transmits to the intermediate unit 20 a control signal with authentication data in which the generated individual authentication data and operation authentication data are added to the control command. Note that the main control unit 10 newly starts the individual authentication data and the operation even when the predetermined timing (for example, the transmission timing of the predetermined control command) is reached until all of the generated individual authentication data and operation authentication data are transmitted. A control signal with authentication data is transmitted without generating authentication data. As described above, by generating the individual authentication data and the operation authentication data only at the predetermined timing, it is possible to limit the number of generations of the authentication data, and to reduce the processing load due to the authentication processing.

また、本実施の形態1〜3に係るパチンコ遊技機では、所定のタイミング、例えば、所定の制御コマンドを送信する場合にのみ個体認証データ、同期コード又は時間コードの少なくともいずれかを制御コマンドに付加して送信するようにしてもよい。この場合、主制御部10は、制御コマンドが所定の制御コマンドか否かを判断し、所定の制御コマンドのときにのみ個体認証データ、同期コード又は時間コードの少なくともいずれかを制御コマンドに付加した認証データ付制御信号を中間部20に送信し、所定の制御コマンド以外の制御コマンドのときは通常の制御信号を中間部20に送信する。また、中間部20は、制御コマンドが所定の制御コマンドか否かを判断するか、又は制御コマンドに個体認証データ又は動作認証データの少なくともいずれか一方が付加されているか否かを判断する。中間部20は、通常の制御信号が送信されてきた場合は通常の制御信号をそのまま演出制御部203に送信し、演出制御部201は、受信した通常の制御信号に基づいて処理を行う。   In addition, in the pachinko gaming machines according to the first to third embodiments, at least one of individual authentication data, a synchronization code, and a time code is added to a control command only when transmitting a predetermined control command, for example, a predetermined control command. Then, it may be transmitted. In this case, the main control unit 10 determines whether or not the control command is a predetermined control command, and adds at least one of the individual authentication data, the synchronization code, and the time code to the control command only when the control command is the predetermined control command. A control signal with authentication data is transmitted to the intermediate unit 20, and a normal control signal is transmitted to the intermediate unit 20 for a control command other than a predetermined control command. The intermediate unit 20 determines whether the control command is a predetermined control command, or determines whether at least one of individual authentication data or operation authentication data is added to the control command. When a normal control signal is transmitted, the intermediate unit 20 transmits the normal control signal as it is to the effect control unit 203, and the effect control unit 201 performs processing based on the received normal control signal.

ここで、所定の制御コマンドとは、パチンコ遊技機1の通電中において、パチンコ遊技機1の動作(例えば、初期化動作や演出動作あるいは客待ちデモンストレーションなど)を指示するために、各種の制御コマンドの中から任意に選定した特定の制御コマンドをいう。所定の制御コマンドとは、より具体的に例を挙げれば、大当たり状態の継続中に送信される大当たりコマンド、大当たり状態の処理を開始させるための大当たり開始コマンド、大当たり状態の処理を終了させるための大当たり終了コマンド、周辺部に大当たり前のリーチ状態の処理を実行させるための大当たりリーチコマンド、周辺部に電源投入時の処理を実行させるための電源投入コマンド、周辺部に非遊技状態におけるデモ表示を実行させるための客待ちデモコマンド、周辺部に非遊技状態におけるデモ表示を停止させるための客待ちデモ停止コマンド、周辺部に抽選時の抽選結果がはずれの場合の処理を実行させるためのはずれコマンド、普通電動役物(電動チューリップ)の開放抽選やいわゆるフェイクと呼ばれる大当たりと同様に特別電動役物が短時間だけ開放するような小当たり状態の継続中に送信される小当たりコマンドなどをいう。所定の制御コマンドとしては、上記のものの他、例えば、電源オフコマンド、はずれリーチコマンド、はずれ非リーチコマンド、ラウンド開始コマンド、ラウンド終了コマンドなどがある。   Here, the predetermined control command refers to various control commands for instructing the operation of the pachinko gaming machine 1 (for example, initialization operation, performance operation, customer waiting demonstration, etc.) while the pachinko gaming machine 1 is energized. A specific control command arbitrarily selected from the above. More specifically, the predetermined control command is, for example, a jackpot command transmitted while the jackpot state continues, a jackpot start command for starting the jackpot state processing, and a jackpot state process for ending the jackpot state processing. A jackpot end command, a jackpot reach command for causing the peripheral part to execute the process of reaching the jackpot, a power-on command for causing the peripheral part to execute a power-on process, and a demonstration display in the non-game state on the peripheral part A customer waiting demo command to be executed, a customer waiting demo stop command to stop the demonstration display in the non-gaming state in the peripheral part, and a quit command to cause the peripheral part to execute processing when the lottery result at the lottery is off , Like the open lottery of ordinary electric accessories (electric tulips) and the jackpot called the so-called fake It refers to such small hit command transmitted for the duration of the small contact state such as another electric combination thereof is opened for a short time. As the predetermined control command, there are, for example, a power-off command, an unreach reach command, an unreach non-reach command, a round start command, and a round end command.

このように構成されるパチンコ遊技機1では、所定の制御コマンドを送信するタイミングで、主制御部10の正規性を認証するための認証データを用いて認証処理を行う。認証処理を行うことによって主制御部10や演出制御部203の処理負荷が増大するのは、所定の制御コマンドの制御コマンドデータ301を受信している期間のみであり、主制御部10や演出制御部203の処理負荷が増大する割合を抑えることができる。   In the pachinko gaming machine 1 configured as described above, at the timing of transmitting a predetermined control command, authentication processing is performed using authentication data for authenticating the normality of the main control unit 10. The processing load on the main control unit 10 and the effect control unit 203 increases by performing the authentication process only during a period in which the control command data 301 of a predetermined control command is received. The rate at which the processing load of the unit 203 increases can be suppressed.

また、所定の制御コマンドの制御コマンドデータ301にのみ認証データ303が付加されるので、演出制御部203が実行するプログラムには所定の制御コマンドに関する認証処理を追加するだけでよい。したがって、演出制御部203が実行するプログラム全体にわたる新たなタイミングの設計する必要がないので、すべての制御コマンドの制御コマンドデータ301に認証データ303が付加される場合と比較して、認証機能を追加するタイミングの設計、機能の実装、機能の検証など、より簡単に、少ない作業工数で実現することができる。   Further, since the authentication data 303 is added only to the control command data 301 of the predetermined control command, it is only necessary to add an authentication process related to the predetermined control command to the program executed by the effect control unit 203. Accordingly, since it is not necessary to design a new timing for the entire program executed by the effect control unit 203, an authentication function is added as compared with the case where the authentication data 303 is added to the control command data 301 of all control commands. Designing timing, implementing functions, verifying functions, etc. can be achieved more easily and with less work man-hours.

また、主制御部10は、中間部20に所定の制御コマンドを送信する場合のみ、制御コマンドデータ301に個体認証データ303又は動作認証データの少なくともいずれかを付加する。すなわち、認証処理が行われるのは所定の制御コマンドの制御コマンドデータの送信時のみであるので、主制御部10や演出制御部203の処理負荷が認証処理によって増大する割合を抑えることができる。所定の制御コマンドが大当たりコマンドである場合、大当たりコマンドは大当たり中のラウンドごとに送信されるため、大当たり状態にある一定期間中に複数回の認証処理を行うこととなり、認証処理の確度を向上させることができる。   The main control unit 10 adds at least one of the individual authentication data 303 and the operation authentication data to the control command data 301 only when transmitting a predetermined control command to the intermediate unit 20. That is, since the authentication process is performed only when the control command data of the predetermined control command is transmitted, the rate at which the processing load of the main control unit 10 and the effect control unit 203 increases due to the authentication process can be suppressed. When the predetermined control command is a jackpot command, the jackpot command is transmitted for each round of jackpot, so the authentication process is performed multiple times during a certain period in the jackpot state, improving the accuracy of the authentication process. be able to.

また、所定の制御コマンドが大当たり開始コマンドや大当たり終了コマンドである場合、大当たり開始コマンドや大当たり終了コマンドは、大当たり状態を開始又は終了させる制御コマンドであり、他の制御コマンドと比較して、送信頻度が低い。したがって、制御信号の中から認証データ303が抽出される可能性を低減することができる。また、制御信号の中から認証データ303が抽出されても、取得できるサンプル数が少ないため、認証データ303が解析される危険性を低減することができる。   Also, when the predetermined control command is a jackpot start command or jackpot end command, the jackpot start command or jackpot end command is a control command for starting or ending the jackpot state, and compared with other control commands, the transmission frequency Is low. Therefore, the possibility that the authentication data 303 is extracted from the control signal can be reduced. Further, even if the authentication data 303 is extracted from the control signal, the number of samples that can be acquired is small, so that the risk of the authentication data 303 being analyzed can be reduced.

また、所定の制御コマンドが大当たりリーチコマンドである場合、大当たりリーチは、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。したがって、大当たりリーチコマンドデータを送信する際に認証処理を行うことにより、時間軸上における認証処理の実施位置が分散される。そして、このように時間軸上における認証処理の実施位置を分散することによって、認証処理の信頼性を向上させることができる。これは、認証データの通信不具合や認証データの改ざんが一定の期間行われた場合であっても、時間をおいてランダムに認証処理が行われるので、通信不具合や改ざんの影響を回避できる可能性が高くなるためである。   When the predetermined control command is a jackpot reach command, the jackpot reach is generated more frequently than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the authentication process when transmitting the jackpot reach command data, the execution positions of the authentication process on the time axis are distributed. And the reliability of an authentication process can be improved by distributing the implementation position of the authentication process on a time axis in this way. This is because even if authentication data communication failure or authentication data tampering is performed for a certain period, authentication processing is performed at random time, so the possibility of avoiding communication failure and tampering may be avoided This is because of the increase.

さらに、所定の制御コマンドが電源投入コマンドである場合、電源投入コマンドは、パチンコ遊技機1の電源の投入時やリセット時など、パチンコ遊技機1の初期化処理を行う際に送信される。初期化処理は、パチンコ遊技機1のメインの処理である遊技(ゲーム進行)関連処理とは異なる処理区分に分類される。したがって、本発明のように、初期化処理中に認証処理を組み込めば、遊技関連処理中に認証処理を組み込む場合と比較して、プログラム設計やテストにかかる工程(工数)が増加する割合を低減することができる。すなわち、初期化処理中に認証処理を組み込むことによって、開発コストの低減や品質管理上のメリットを得ることができる。また、初期化処理中に認証処理を組み込めば、パチンコ遊技機1の起動直後に認証処理を行うため、遊技店が閉店した後に不正が行われた場合などであっても、顧客が入店する前に不正を検出することができる。よって、不正による被害が発生する危険性を低減することができる。   Further, when the predetermined control command is a power-on command, the power-on command is transmitted when the pachinko gaming machine 1 is initialized, such as when the pachinko gaming machine 1 is powered on or reset. The initialization process is classified into a process category different from the game (game progress) related process which is the main process of the pachinko gaming machine 1. Therefore, if the authentication process is incorporated during the initialization process as in the present invention, the rate of increase in the number of steps (man-hours) required for program design and testing is reduced compared to the case where the authentication process is incorporated during the game-related process. can do. That is, by incorporating the authentication process during the initialization process, it is possible to obtain development merit and quality control merit. Further, if authentication processing is incorporated during initialization processing, authentication processing is performed immediately after the pachinko gaming machine 1 is started, so that even if a fraud is performed after the game store is closed, the customer enters the store. Fraud can be detected before. Therefore, the risk of damage caused by fraud can be reduced.

また、所定の制御コマンドが客待ちデモコマンド又は客待ちデモ停止コマンドである場合、客待ちデモコマンド又は客待ちデモ停止コマンドは、パチンコ遊技機1が非遊技状態、すなわち、パチンコ遊技機1のメインの処理である遊技(ゲーム進行)関連処理が行われていない場合に送信されるので、認証処理による処理負荷の増大が遊技関連処理に影響を与えることがない。このため、主制御部10や演出制御部203が高度な処理能力を有していない場合や、遊技関連処理の処理負荷が大きいパチンコ遊技機1であっても、認証処理機能を追加することができる。また、客待ちデモコマンド及び客待ちデモ停止コマンドは、顧客がパチンコ遊技機1を操作する前に発行されるコマンドであるので、顧客がパチンコ遊技機1を操作する前に不正行為を検出することができる。   When the predetermined control command is a customer waiting demo command or a customer waiting demo stop command, the customer waiting demo command or the customer waiting demo stop command indicates that the pachinko gaming machine 1 is in a non-game state, that is, the main of the pachinko gaming machine 1 This is transmitted when the game (game progress) related process is not performed, so that an increase in processing load due to the authentication process does not affect the game related process. For this reason, even when the main control unit 10 and the effect control unit 203 do not have a high processing capacity, or even in the pachinko gaming machine 1 with a large processing load of game-related processing, an authentication processing function can be added. it can. Further, since the customer waiting demo command and the customer waiting demo stop command are commands issued before the customer operates the pachinko gaming machine 1, the customer detects an illegal act before operating the pachinko gaming machine 1. Can do.

さらに、所定の制御コマンドがはずれコマンドである場合、「はずれ」は、抽選時の抽選結果として最も発生頻度が高いので、はずれコマンドデータの送信時に制御コマンドに認証データ303を付加することとすれば、抽選から認証処理への流れをパチンコ遊技機1の処理の基本形とみなすことができる。一方、大当たりリーチ時や大当たり時の処理は、パチンコ遊技機1の機種ごとに演出方法が変更されるなど、特殊な処理に区分されるが、はずれ時の処理はパチンコ遊技機1の機種ごとの差異が少ない。このため、本実施の形態1のように、はずれ時の処理に認証処理を組み込めば、認証処理の流れに大きな変更を加えることなく、パチンコ遊技機1の本体を他の機種に再利用することが可能となる。   Furthermore, when the predetermined control command is a loss command, “out of” occurs most frequently as a lottery result at the time of lottery, so that authentication data 303 is added to the control command when the loss command data is transmitted. The flow from the lottery to the authentication process can be regarded as a basic form of processing of the pachinko gaming machine 1. On the other hand, processing at the time of jackpot reach and jackpot is classified into special processing such as changing the presentation method for each model of pachinko gaming machine 1, but processing at the time of losing is different for each model of pachinko gaming machine 1 There are few differences. For this reason, if the authentication process is incorporated in the process at the time of disconnection as in the first embodiment, the main body of the pachinko gaming machine 1 can be reused for another model without making a major change in the flow of the authentication process. Is possible.

また、中間部20は、演出制御部203に所定の制御コマンドを送信する場合のみ、制御コマンドに中間処理情報305を付加するようにしてもよい。この場合、中間部20の認証処理が行われるのは所定の制御コマンドの送信時のみであるので、演出制御部203の処理負荷が認証処理によって増大する割合を抑えることができる。   The intermediate unit 20 may add the intermediate processing information 305 to the control command only when transmitting a predetermined control command to the effect control unit 203. In this case, since the authentication process of the intermediate unit 20 is performed only when a predetermined control command is transmitted, the rate at which the processing load of the effect control unit 203 increases due to the authentication process can be suppressed.

また、実施の形態1〜3に係るパチンコ遊技機は、所定の半群演算を用いて個体検査値を生成し、所定の個体認証用期待値を用いて個体認証処理を行うとしたが、これに限定されない。主制御部10は、複数の半群演算を予め用意しておき、今回の分割数に基づいて、複数の半群演算の中から次回の個体検査値の生成に用いる1個の半群演算を選択するように構成し、中間部20は、主制御部10における個体検査値生成方法の切り替えに対応して、結合数に基づいて個体認証用期待値を切り替えるように構成してもよい。具体的には、主制御部10は、例えば、今回の分割数が奇数の場合は次回の半群演算を今回用いた半群演算と異なるものを選択し、今回の分割数が偶数の場合は次回の半群演算を今回用いた半群演算と同一のものを選択する。また、中間部20は、分割数及び結合数が奇数の場合には個体検査値生成方法及び個体認証用期待値を切り替え、分割数及び結合数が偶数の場合には前回用いた個体検査値生成方法及び個体認証用期待値を継続して使用する。この場合、初回の半群演算については、主制御部10と中間部20との間で同一の方式を利用するものと予め設定しておく。分割数は主制御部10のみが知る値であり、中間部20は個体認証が成功した時に初めてその値を結合数として知ることができる。よって、不正行為者は分割数及び結合数を知ることができず、個体検査値生成方法の切り替えタイミングを知ることができない。分割数に基づいて、半群演算及び期待値を変更することにより、不正行為者によって個体検査値が不正に生成されることを防止することができる。   In addition, the pachinko gaming machine according to the first to third embodiments generates an individual test value using a predetermined half-group operation and performs an individual authentication process using a predetermined expected value for individual authentication. It is not limited to. The main control unit 10 prepares a plurality of semi-group operations in advance, and performs one semi-group operation used to generate the next individual test value from the plurality of semi-group operations based on the number of divisions this time. The intermediate unit 20 may be configured to switch the individual authentication expected value based on the number of connections corresponding to the switching of the individual test value generation method in the main control unit 10. Specifically, for example, when the current division number is an odd number, the main control unit 10 selects the next half group calculation different from the currently used half group calculation, and when the current division number is an even number, The next half group calculation is the same as the half group calculation used this time. Further, the intermediate unit 20 switches the individual test value generation method and the individual authentication expected value when the number of divisions and the number of connections are odd, and generates the individual test value used previously when the number of divisions and the number of connections is even. Continue to use the method and expected values for individual authentication. In this case, the first half group calculation is set in advance to use the same method between the main control unit 10 and the intermediate unit 20. The number of divisions is a value that only the main control unit 10 knows, and the intermediate unit 20 can know the value as the number of connections only when individual authentication is successful. Therefore, the fraudster cannot know the number of divisions and the number of connections, and cannot know the switching timing of the individual test value generation method. By changing the half-group operation and the expected value based on the number of divisions, it is possible to prevent an individual test value from being illegally generated by an unauthorized person.

また、上記各実施の形態では、本発明をパチンコ遊技機に適用する例を示したが、これに限定されず、本発明は、雀球遊技機、アレンジボール等のパチンコ遊技機以外の弾球遊技機、スロットマシン等の回胴式遊技機などの他の遊技機にも適用することができる。これらの遊技機においても、上記各実施の形態と同様に構成することにより、上記各実施の形態と同様の効果を得ることができる。
また、上記各実施の形態は、その目的及び構成等に特に矛盾や問題がない限り、互いの技術を流用することができる。
In each of the above embodiments, the present invention is applied to a pachinko gaming machine. However, the present invention is not limited to this, and the present invention is not limited to a pachinko gaming machine such as a sparrow ball gaming machine or an arrangement ball. The present invention can also be applied to other gaming machines such as a revolving type gaming machine such as a gaming machine or a slot machine. Even in these gaming machines, the same effects as those of the above-described embodiments can be obtained by configuring similarly to the above-described embodiments.
In addition, each of the above embodiments can utilize each other's technology as long as there is no particular contradiction or problem in the purpose, configuration, or the like.

1 パチンコ遊技機
10 主制御部
10a,20a,203a,204a CPU
10b,20b,203b,204b ROM
10c,20c,203c,204c RAM
11 データ記憶手段
12 決定手段
13 個体検査値生成手段
14 同期コード生成手段
15 時間コード生成手段
20 中間部
21 演算値記憶手段
22 個体認証手段
23 動作認証手段
203 演出制御部
203d VRAM
204 賞球制御部
301 制御コマンドデータ
302 付随データ
303 個体認証データ
304 動作認証データ
304a 同期コード
304b 時間コード
305 中間処理情報
310 認証データ付制御信号
321,322,323 中間処理情報付制御信号
1 Pachinko machine 10 Main controller 10a, 20a, 203a, 204a CPU
10b, 20b, 203b, 204b ROM
10c, 20c, 203c, 204c RAM
DESCRIPTION OF SYMBOLS 11 Data storage means 12 Determination means 13 Individual test value generation means 14 Synchronization code generation means 15 Time code generation means 20 Intermediate part 21 Calculation value storage means 22 Individual authentication means 23 Operation authentication means 203 Effect control part 203d VRAM
204 Prize Ball Control Unit 301 Control Command Data 302 Accompanying Data 303 Individual Authentication Data 304 Operation Authentication Data 304a Synchronization Code 304b Time Code 305 Intermediate Process Information 310 Control Data with Authentication Data 321, 322 and 323 Control Signal with Intermediate Process Information

Claims (25)

制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機であって、
前記主制御部は、
所定のデータが記憶されているデータ記憶手段と、
前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する個体検査値生成手段と、
前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された複数のパケット情報を用いて一又は複数の同期コードを生成する同期コード生成手段と、
計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する時間コード生成手段とを備え、
前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信し、
前記中間部は、
前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値が記憶されている演算値記憶手段と、
前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する個体認証手段と、
前記個体認証手段によって前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられたパケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、前記時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する動作認証手段とを備え、
前記個体認証手段又は前記動作認証手段が得た認証結果を制御コマンドに付加して前記周辺部に送信する
ことを特徴とする遊技機。
A gaming machine comprising a main control unit that outputs a control command, an intermediate unit, and a peripheral unit that performs processing according to the control command,
The main control unit
Data storage means for storing predetermined data;
Individual test value generation means for dividing the predetermined data stored in the data storage means, and performing one-or-more individual test values by performing a binary operation satisfying a coupling law using each of the divided data When,
From a plurality of types of packet information classified by the correlation of generation timings of a plurality of packet information generated in accordance with the operation of the main control unit, one packet information A synchronization code generating unit that selects a type, generates packet information at each of a plurality of generation timings according to the selected type, and generates one or a plurality of synchronization codes using the generated plurality of packet information;
A time code generating means for measuring time and generating one or a plurality of time codes using information of a plurality of time measuring times generated at each of a plurality of timings designated in advance;
The individual test value, the synchronization code and the time code are added to the control command and transmitted to the intermediate unit,
The intermediate part is
A calculation value storage means for storing a calculation value obtained by performing the two-term calculation using the predetermined data stored in the data storage means;
The two-term calculation is performed using the individual test value added to the control command, and the calculation result and the calculation value stored in the calculation value storage means match the calculation value. An individual authentication means for authenticating the normality of the individual of the main control unit;
The type of packet information used to generate the synchronization code based on the number of the individual test values subjected to the binary operation when the individual authentication unit succeeds in authenticating the individual of the main control unit. The plurality of pieces of packet information used to generate the one or more synchronization codes transmitted from the main control unit satisfy the predetermined correlation. And an operation authentication means for authenticating the continuity of the operation of the main control unit based on whether or not the information of the plurality of time measuring times used for generating the time code has continuity,
An authentication result obtained by the individual authentication unit or the operation authentication unit is added to a control command and transmitted to the peripheral unit.
前記個体検査値生成手段は、前記個体検査値を第1の暗号化方式で暗号化し、
前記同期コード生成手段は、前記同期コードを第2の暗号化方式で暗号化し、
前記時間コード生成手段は、前記時間コードを第3の暗号化方式で暗号化し、
前記個体認証手段は、前記個体検査値生成手段で暗号化された前記個体検査値を前記第1の暗号化方式に対応する復号化方式で復号化して前記主制御部の個体の認証を行い、
前記動作認証手段は、前記同期コード生成手段で暗号化された前記同期コードを前記第2の暗号化方式に対応する復号化方式で復号化し、前記時間コード生成手段で暗号化された前記時間コードを前記第3の暗号化方式に対応する復号化方式で復号化して前記主制御部の動作順序の認証を行う
ことを特徴とする請求項1に記載の遊技機。
The individual test value generating means encrypts the individual test value with a first encryption method,
The synchronization code generating means encrypts the synchronization code by a second encryption method;
The time code generation means encrypts the time code with a third encryption method,
The individual authentication unit performs authentication of the individual of the main control unit by decrypting the individual test value encrypted by the individual test value generation unit by a decryption method corresponding to the first encryption method,
The operation authentication means decrypts the synchronization code encrypted by the synchronization code generation means by a decoding method corresponding to the second encryption method, and the time code encrypted by the time code generation means. The gaming machine according to claim 1, wherein the operation order of the main control unit is authenticated by decrypting with a decryption method corresponding to the third encryption method.
前記主制御部は、前記データ記憶手段に記憶されている前記所定のデータを分割する分割数を決定する決定手段をさらに備えることを特徴とする請求項1に記載の遊技機。   The gaming machine according to claim 1, wherein the main control unit further includes a determination unit that determines a division number for dividing the predetermined data stored in the data storage unit. 前記個体検査値生成手段は、複数の2項演算が実行可能であり、前記分割数に基づいて、前記複数の2項演算の中から次回の前記検査値の生成に用いる2項演算を選択し、
前記演算値記憶手段は、前記データ記憶手段に記憶されている前記所定のデータを用いて前記複数の2項演算をそれぞれ行って得られた複数の演算値を記憶し、
前記個体認証手段は、複数の2項演算が実行可能であり、前記主制御部の個体の認証が成功した際に前記選択した2項演算の対象となった前記個体検査値の数に基づいて、前記複数の2項演算から次回の前記主制御部の個体の認証に用いる2項演算を選択する
ことを特徴とする請求項3に記載の遊技機。
The individual test value generation means can execute a plurality of binary operations, and selects a binary operation to be used for generation of the next test value from the plurality of binary operations based on the number of divisions. ,
The calculation value storage means stores a plurality of calculation values obtained by performing the plurality of binary calculations using the predetermined data stored in the data storage means,
The individual authentication means is capable of performing a plurality of binary operations, and based on the number of the individual test values subjected to the selected binary operation when the individual authentication of the main control unit is successful 4. The gaming machine according to claim 3, wherein a binary operation used for the next authentication of the individual main controller is selected from the plurality of binary operations.
前記個体検査値生成手段は、前記個体検査値を第1の暗号化方式で暗号化し、
前記同期コード生成手段は、前記同期コードを第2の暗号化方式で暗号化し、
前記時間コード生成手段は、前記時間コードを第3の暗号化方式で暗号化し、
前記個体認証手段は、前記個体検査値生成手段で暗号化された前記個体検査値を前記第1の暗号化方式に対応する復号化方式で復号化して前記主制御部の個体の認証を行い、
前記動作認証手段は、前記同期コード生成手段で暗号化された前記同期コードを前記第2の暗号化方式に対応する復号化方式で復号化し、前記時間コード生成手段で暗号化された前記時間コードを前記第3の暗号化方式に対応する復号化方式で復号化して前記主制御部の動作順序の認証を行う
ことを特徴とする請求項3又は4に記載の遊技機。
The individual test value generating means encrypts the individual test value with a first encryption method,
The synchronization code generating means encrypts the synchronization code by a second encryption method;
The time code generation means encrypts the time code with a third encryption method,
The individual authentication unit performs authentication of the individual of the main control unit by decrypting the individual test value encrypted by the individual test value generation unit by a decryption method corresponding to the first encryption method,
The operation authentication means decrypts the synchronization code encrypted by the synchronization code generation means by a decoding method corresponding to the second encryption method, and the time code encrypted by the time code generation means. The gaming machine according to claim 3 or 4, wherein the operation order of the main control unit is authenticated by decrypting with a decryption method corresponding to the third encryption method.
前記主制御部は、前記分割数に基づいて、前記個体検査値、前記同期コード及び前記時間コードの暗号化方式を変更し、
前記中間部は、前記主制御部の個体の認証が成功した際に前記2項演算の対象となった前記検査値の数に基づいて、前記個体検査値、前記同期コード及び前記時間コードの復号化方式を変更する
ことを特徴とする請求項5に記載の遊技機。
The main control unit changes the encryption method of the individual test value, the synchronization code, and the time code based on the number of divisions,
The intermediate unit decodes the individual test value, the synchronization code, and the time code based on the number of the test values subjected to the binary operation when the main control unit is successfully authenticated. The gaming machine according to claim 5, wherein the game system is changed.
前記主制御部は、前記データ記憶手段に記憶されている前記所定のデータを分割するデータ量を決定する決定手段をさらに備えることを特徴とする請求項1に記載の遊技機。   The gaming machine according to claim 1, wherein the main control unit further includes a determination unit that determines a data amount for dividing the predetermined data stored in the data storage unit. 前記個体検査値生成手段は、複数の2項演算が実行可能であり、前記所定のデータを前記データ量で分割して得られた前記所定のデータのブロックの数に基づいて、前記複数の2項演算の中から次回の前記個体検査値の生成に用いる2項演算を選択し、
前記演算値記憶手段は、前記データ記憶手段に記憶されている前記所定のデータを用いて前記複数の2項演算をそれぞれ行って得られた複数の演算値を記憶し、
前記個体認証手段は、複数の2項演算が実行可能であり、前記主制御部の個体の認証が成功した際に前記選択した2項演算の対象となった前記個体検査値の数に基づいて、前記複数の2項演算から次回の前記主制御部の個体の認証に用いる2項演算を選択する
ことを特徴とする請求項7に記載の遊技機。
The individual test value generation means is capable of performing a plurality of binary operations, and based on the number of blocks of the predetermined data obtained by dividing the predetermined data by the data amount, Select a binary operation to be used for generating the next individual test value from the term operations,
The calculation value storage means stores a plurality of calculation values obtained by performing the plurality of binary calculations using the predetermined data stored in the data storage means,
The individual authentication means is capable of performing a plurality of binary operations, and based on the number of the individual test values subjected to the selected binary operation when the individual authentication of the main control unit is successful The game machine according to claim 7, wherein a binary operation used for next authentication of the individual main controller is selected from the plurality of binary operations.
前記個体検査値生成手段は、前記個体検査値を第1の暗号化方式で暗号化し、
前記同期コード生成手段は、前記同期コードを第2の暗号化方式で暗号化し、
前記時間コード生成手段は、前記時間コードを第3の暗号化方式で暗号化し、
前記個体認証手段は、前記個体検査値生成手段で暗号化された前記個体検査値を前記第1の暗号化方式に対応する復号化方式で復号化して前記主制御部の個体の認証を行い、
前記動作認証手段は、前記同期コード生成手段で暗号化された前記同期コードを前記第2の暗号化方式に対応する復号化方式で復号化し、前記時間コード生成手段で暗号化された前記時間コードを前記第3の暗号化方式に対応する復号化方式で復号化して前記主制御部の動作順序の認証を行う
ことを特徴とする請求項7又は8に記載の遊技機。
The individual test value generating means encrypts the individual test value with a first encryption method,
The synchronization code generating means encrypts the synchronization code by a second encryption method;
The time code generation means encrypts the time code with a third encryption method,
The individual authentication unit performs authentication of the individual of the main control unit by decrypting the individual test value encrypted by the individual test value generation unit by a decryption method corresponding to the first encryption method,
The operation authentication means decrypts the synchronization code encrypted by the synchronization code generation means by a decoding method corresponding to the second encryption method, and the time code encrypted by the time code generation means. The gaming machine according to claim 7 or 8, wherein the operation order of the main control unit is authenticated by decrypting with a decryption method corresponding to the third encryption method.
前記主制御部は、前記分割数に基づいて、前記個体検査値、前記同期コード及び前記時間コードの暗号化方式を変更し、
前記中間部は、前記主制御部の個体の認証が成功した際に前記2項演算の対象となった前記検査値の数に基づいて、前記個体検査値、前記同期コード及び前記時間コードの復号化方式を変更する
ことを特徴とする請求項9に記載の遊技機。
The main control unit changes the encryption method of the individual test value, the synchronization code, and the time code based on the number of divisions,
The intermediate unit decodes the individual test value, the synchronization code, and the time code based on the number of the test values subjected to the binary operation when the main control unit is successfully authenticated. The gaming machine according to claim 9, wherein the game system is changed.
前記個体検査値生成手段は、前記個体検査値が付加される前記制御コマンドを示すデータ又は該データの付随データの少なくともいずれか一方のデータと、前記個体検査値とを併せたデータを暗号化することを特徴とする請求項2、5、6、9又は10のいずれかに記載の遊技機。   The individual test value generation means encrypts data combining at least one of data indicating the control command to which the individual test value is added or accompanying data of the data, and the individual test value. The gaming machine according to any one of claims 2, 5, 6, 9 and 10. 前記同期コード生成手段は、前記同期コードが付加される前記制御コマンドを示すデータ又は該データの付随データの少なくともいずれか一方のデータと、前記同期コードとを併せたデータを暗号化することを特徴とする請求項2、5、6、9乃至10のいずれかに記載の遊技機。   The synchronization code generation means encrypts data combining the synchronization code with at least one of data indicating the control command to which the synchronization code is added or data accompanying the data, and the synchronization code. A gaming machine according to any one of claims 2, 5, 6, 9 to 10. 前記時間コード生成手段は、前記時間コードが付加される前記制御コマンドを示すデータ又は該データの付随データの少なくともいずれか一方のデータと、前記時間コードとを併せたデータを暗号化することを特徴とする請求項2、5、6、9乃至10のいずれかに記載の遊技機。   The time code generation means encrypts data including at least one of data indicating the control command to which the time code is added or data accompanying the data, and the time code. A gaming machine according to any one of claims 2, 5, 6, 9 to 10. 前記同期コード生成手段は、前記主制御部の動作に伴って連続して生成される前記パケット情報と、前記主制御部の動作に伴って所定の間隔ごとに生成される前記パケット情報とのいずれかを用いて前記同期コードを生成することを特徴とする請求項1乃至11のいずれかに記載の遊技機。   The synchronization code generation means includes any one of the packet information generated continuously with the operation of the main control unit and the packet information generated at predetermined intervals with the operation of the main control unit. The game machine according to any one of claims 1 to 11, wherein the synchronization code is generated by using. 前記同期コード生成手段は、前記分割された各データの数を特定値で割った時の余りの数に基づいて前記パケット情報の種類を選択し、
前記動作認証手段は、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数を特定値で割った時の余りの数に基づいて前記パケット情報の種類を特定することを特徴とする請求項1乃至14のいずれかに記載の遊技機。
The synchronization code generation means selects the type of packet information based on the number of remainders when the number of each divided data is divided by a specific value,
The operation authentication means is configured to determine whether the packet is based on a remainder when the number of the individual test values subjected to the binary operation when the individual authentication of the main control unit is successful is divided by a specific value. The gaming machine according to claim 1, wherein a type of information is specified.
前記同期コード生成手段は、前記分割された各データの数と、前回の個体検査値の生成時おける前記分割された各データの数との差分値に基づいて前記パケット情報の種類を選択し、
前記動作認証手段は、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数と、前回の前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数との差分値に基づいて前記パケット情報の種類を特定することを特徴とする請求項1乃至14のいずれかに記載の遊技機。
The synchronization code generation means selects the type of the packet information based on a difference value between the number of each divided data and the number of each divided data at the time of generating the previous individual test value,
The operation authentication means includes the number of the individual test values subjected to the binary operation when the individual authentication of the main control unit is successful, and the previous authentication of the individual of the main control unit The game machine according to any one of claims 1 to 14, wherein the type of the packet information is specified based on a difference value with respect to the number of the individual test values subjected to the two-term operation.
前記所定のデータは、前記主制御部が実行する処理を表す所定のプログラムコードを含むことを特徴とする請求項1乃至16のいずれかに記載の遊技機。   The gaming machine according to any one of claims 1 to 16, wherein the predetermined data includes predetermined program code representing processing executed by the main control unit. 前記所定の制御コマンドは、
大当たり中の各ラウンドに対応する大当たりコマンド、
大当たり状態の処理を開始させるための大当たり開始コマンド、
大当たり状態の処理を終了させるための大当たり終了コマンド、
前記周辺部に大当たり前のリーチ状態の処理を実行させるための大当たりリーチコマンド、
前記周辺部に電源投入時の処理を実行させるための電源投入コマンド、
前記周辺部に非遊技状態におけるデモ表示を実行させるための客待ちデモコマンド、
前記周辺部に非遊技状態におけるデモ表示を停止させるための客待ちデモ停止コマンド、
前記周辺部に抽選時の抽選結果がはずれの場合の処理を実行させるためのはずれコマンド、
小当たり中の各ラウンドに対応する小当たりコマンドのいずれかであることを特徴とする請求項1乃至17のいずれかに記載の遊技機。
The predetermined control command is:
Jackpot command corresponding to each round of jackpot,
Jackpot start command to start the jackpot processing,
Jackpot end command to end jackpot processing,
A jackpot reach command for causing the peripheral portion to execute a process of reaching a jackpot reach state,
A power-on command for causing the peripheral portion to execute processing at power-on,
A customer-waiting demo command for executing a demonstration display in a non-game state in the peripheral portion,
A customer waiting demo stop command for stopping the demonstration display in the non-gaming state in the peripheral portion,
An off command for causing the peripheral portion to execute processing when the lottery result at the time of the lottery is off,
The gaming machine according to any one of claims 1 to 17, wherein the gaming machine is any one of the small hit commands corresponding to each round in the small hit.
前記周辺部は、前記認証結果が前記主制御部の認証不成功を示す場合には、その旨を報知する報知信号を出力することを特徴とする請求項1乃至18のいずれかに記載の遊技機。   The game according to any one of claims 1 to 18, wherein, when the authentication result indicates that the main control unit is unsuccessful, the peripheral unit outputs a notification signal informing that effect. Machine. 中間部によって認証され、前記中間部を介して接続された周辺部に所定の処理を行わせるための制御コマンドを前記中間部に送信する遊技機の主制御部であって、
所定のデータが記憶されているデータ記憶手段と、
前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する個体検査値生成手段と、
前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された前記複数のパケット情報を用いて一又は複数の同期コードを生成する同期コード生成手段と、
計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する時間コード生成手段とを備え、
前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信する
ことを特徴とする主制御部。
A main control unit of a gaming machine that transmits a control command to the intermediate unit that is authenticated by the intermediate unit and causes a peripheral unit connected via the intermediate unit to perform a predetermined process,
Data storage means for storing predetermined data;
Individual test value generation means for dividing the predetermined data stored in the data storage means, and performing one-or-more individual test values by performing a binary operation satisfying a coupling law using each of the divided data When,
From a plurality of types of packet information classified by the correlation of generation timings of a plurality of packet information generated in accordance with the operation of the main control unit, one packet information A synchronization code generating unit that selects a type, generates packet information at each of a plurality of generation timings according to the selected type, and generates one or a plurality of synchronization codes using the generated plurality of packet information; ,
A time code generating means for measuring time and generating one or a plurality of time codes using information of a plurality of time measuring times generated at each of a plurality of timings designated in advance;
The main control unit, wherein the individual test value, the synchronization code, and the time code are added to a control command and transmitted to the intermediate unit.
請求項20に記載の主制御部が搭載されていることを特徴とする遊技機の主制御基板。   A main control board of a gaming machine, wherein the main control unit according to claim 20 is mounted. 主制御部と周辺部とを備えた遊技機に設けられた中間部であって、
前記主制御部が備えるデータ記憶手段に記憶されている所定のデータを用いて結合法則を満たす2項演算を行って得られた演算値が記憶されている演算値記憶手段と、
前記主制御部によって、前記所定のデータを分割した各データを用いて前記2項演算を行って生成され、制御コマンドに付加されて送信された一又は複数の個体検査値を用いて前記2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する個体認証手段と、
前記主制御部によって、前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて選択された一つのパケット情報の種類に応じた複数の生成タイミングのそれぞれで生成された複数のパケット情報を用いて生成され、制御コマンドに付加されて送信された一又は複数の同期コードの生成に用いられたパケット情報の種類を、前記個体認証手段によって前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、主制御部によって、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて生成され、制御コマンドに付加されて送信された一又は複数の時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する動作認証手段とを備え、
前記個体認証手段又は前記動作認証手段が得た認証結果を制御コマンドに付加して前記周辺部に送信する
ことを特徴とする中間部。
An intermediate portion provided in a gaming machine having a main control portion and a peripheral portion,
An operation value storage means in which an operation value obtained by performing a binary operation satisfying a coupling law using predetermined data stored in a data storage means included in the main control unit is stored;
The main control unit generates the two terms using each data obtained by dividing the predetermined data, and uses the one or more individual test values that are generated by adding to the control command and transmitting the two terms. An individual authentication unit that performs an operation and authenticates the normality of the individual of the main control unit based on whether or not the operation result matches the operation value stored in the operation value storage unit;
Based on the number of pieces of data divided from among a plurality of types of packet information classified by the main control unit according to the correlation of the generation timings of the plurality of packet information generated along with the operation of the main control unit. Generation of one or a plurality of synchronization codes generated by using a plurality of packet information generated at each of a plurality of generation timings according to the type of one packet information selected in the process and added to the control command and transmitted The type of packet information used for the identification is specified based on the number of the individual test values subjected to the binary operation when the individual authentication unit succeeds in authenticating the individual of the main control unit. The plurality of pieces of packet information used for generating the one or more synchronization codes transmitted from the main control unit are a predetermined correlation. One or a plurality of information that is generated by using the information of a plurality of timekeeping times generated at each of a plurality of timings specified in advance by the main control unit, added to the control command, and transmitted by the main control unit Operation authentication means for authenticating the continuity of the operation of the main control unit based on whether or not the information of the plurality of time measuring times used for generating the time code is continuous,
An intermediate unit, wherein an authentication result obtained by the individual authentication unit or the operation authentication unit is added to a control command and transmitted to the peripheral unit.
請求項22に記載の中間部及び前記周辺部が搭載されていることを特徴とする遊技機の周辺基板。   23. A peripheral board of a gaming machine, wherein the intermediate part according to claim 22 and the peripheral part are mounted. 主制御部と、中間部と、周辺部とを備える遊技機で用いられる認証方法であって、
前記主制御部が、データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する第1のステップと、
前記主制御部が、前前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された前記複数のパケット情報を用いて一又は複数の同期コードを生成する第2のステップと、
前記主制御部が、計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する第3のステップと、
前記主制御部が、前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信する第4のステップと、
前記中間部が、前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する第5のステップと、
前記中間部が、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられたパケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしているか否かに基づいて前記主制御部の動作の継続性を認証する第6のステップと、
前記中間部が、前記時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する第7のステップと、
中間部が、前記第5のステップ、前記第6のステップ又は前記第7のステップで得られた認証結果を制御コマンドに付加して前記周辺部に送信する第8のステップと
を有することを特徴とする認証方法。
An authentication method used in a gaming machine including a main control unit, an intermediate unit, and a peripheral unit,
The main control unit divides the predetermined data stored in the data storage unit, performs binary operation satisfying a coupling law using each divided data, and generates one or a plurality of individual test values A first step;
The main control unit determines the number of pieces of divided data from a plurality of types of packet information classified according to the correlation of generation timings of a plurality of packet information generated in accordance with the operation of the main control unit. One type of packet information is selected based on the generated packet information at each of a plurality of generation timings according to the selected type, and one or more synchronization codes are generated using the generated plurality of packet information. A second step of generating;
A third step in which the main control unit performs time measurement and generates one or a plurality of time codes using information on a plurality of time measuring times generated at each of a plurality of predetermined timings;
A fourth step in which the main control unit adds the individual test value, the synchronization code, and the time code to a control command and transmits the control command to the intermediate unit;
The intermediate unit performs the two-term operation using the individual test value added to the control command, and uses the calculation result and the predetermined data stored in the data storage unit to execute the two-term operation. A fifth step of authenticating the normality of the individual of the main control unit based on whether or not the calculated value obtained by performing the calculation matches;
The intermediate unit determines the type of packet information used to generate the synchronization code based on the number of the individual test values subjected to the binary operation when the individual authentication of the main control unit is successful. Whether the plurality of pieces of packet information used to generate the one or more synchronization codes transmitted from the main control unit satisfy a predetermined correlation, the packet information being identified and identified A sixth step of authenticating continuity of operation of the main control unit based on whether or not;
A seventh step in which the intermediate unit authenticates continuity of operation of the main control unit based on whether or not the information of the plurality of time measuring times used for generating the time code has continuity;
The intermediate unit has an eighth step of adding the authentication result obtained in the fifth step, the sixth step or the seventh step to the control command and transmitting it to the peripheral unit. Authentication method.
制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機に搭載されるコンピュータに、
前記主制御部が、データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する個体検査値生成機能と、
前記主制御部が、前記主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された複数のパケット情報を用いて一又は複数の同期コードを生成する同期コード生成機能と、
前記主制御部が、計時を行い、予め指定された複数のタイミングのそれぞれで生成された複数の計時時間の情報を用いて一又は複数の時間コードを生成する時間コード生成機能と、
前記主制御部が、前記個体検査値、前記同期コード及び前記時間コードを制御コマンドに付加して前記中間部に送信する個体検査値送信機能と、
前記中間部が、前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値とが一致するか否かに基づいて前記主制御部の個体の正規性を認証する個体認証機能と、
前記中間部が、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられたパケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、前記時間コードの生成に用いられた前記複数の計時時間の情報が連続性を有するか否かに基づいて前記主制御部の動作の継続性を認証する動作認証機能と、
前記中間部が、前記主制御部の個体の正規性の認証の認証結果又は前記主制御部の動作の継続性の認証の認証結果を制御コマンドに付加して前記周辺部に送信する認証結果送信機能と
を実現させるためのコンピュータ読み取り可能な認証プログラム。
In a computer mounted on a gaming machine including a main control unit that outputs a control command, an intermediate unit, and a peripheral unit that performs processing according to the control command,
The main control unit divides the predetermined data stored in the data storage unit, performs binary operation satisfying a coupling law using each divided data, and generates one or a plurality of individual test values Individual test value generation function,
The main control unit is based on the number of pieces of data divided from a plurality of types of packet information classified by the correlation of generation timings of a plurality of packet information generated in accordance with the operation of the main control unit. Select one packet information type, generate packet information at each of a plurality of generation timings corresponding to the selected type, and generate one or a plurality of synchronization codes using the generated plurality of packet information Synchronous code generation function,
The main control unit performs time measurement, and a time code generation function for generating one or a plurality of time codes using information of a plurality of time measurement times generated at each of a plurality of timings specified in advance,
The main control unit adds the individual test value, the synchronization code and the time code to the control command and transmits to the intermediate unit, an individual test value transmission function,
The intermediate unit performs the two-term operation using the individual test value added to the control command, and uses the calculation result and the predetermined data stored in the data storage unit to execute the two-term operation. An individual authentication function for authenticating the normality of the individual of the main control unit based on whether or not the calculated value obtained by performing the calculation matches,
The intermediate unit determines the type of packet information used to generate the synchronization code based on the number of the individual test values subjected to the binary operation when the individual authentication of the main control unit is successful. The plurality of pieces of packet information used to generate the one or more synchronization codes transmitted from the main control unit satisfy the predetermined correlation. And an operation authentication function for authenticating the continuity of the operation of the main control unit based on whether the information of the plurality of timekeeping times used for generating the time code has continuity, and
An authentication result transmission in which the intermediate unit adds an authentication result of authentication of normality of the individual of the main control unit or an authentication result of authentication of continuity of operation of the main control unit to a control command and transmits it to the peripheral unit A computer-readable authentication program for realizing the functions.
JP2010016852A 2010-01-28 2010-01-28 Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program Expired - Fee Related JP5002661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010016852A JP5002661B2 (en) 2010-01-28 2010-01-28 Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010016852A JP5002661B2 (en) 2010-01-28 2010-01-28 Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program

Publications (2)

Publication Number Publication Date
JP2011152340A JP2011152340A (en) 2011-08-11
JP5002661B2 true JP5002661B2 (en) 2012-08-15

Family

ID=44538732

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010016852A Expired - Fee Related JP5002661B2 (en) 2010-01-28 2010-01-28 Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program

Country Status (1)

Country Link
JP (1) JP5002661B2 (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2821306B2 (en) * 1992-03-06 1998-11-05 三菱電機株式会社 Authentication method and system between IC card and terminal
JP4236728B2 (en) * 1998-03-27 2009-03-11 株式会社三共 Game machine
JP2002135241A (en) * 2000-10-24 2002-05-10 Nec Access Technica Ltd Data communications equipment and its method for encrypting and decoding
JP2002306786A (en) * 2001-04-10 2002-10-22 Maruhon Ind Co Ltd Control circuit for pachinko game machine
JP4448967B2 (en) * 2006-08-08 2010-04-14 京楽産業.株式会社 Authentication method, authentication program, and electronic device
JP2008279037A (en) * 2007-05-10 2008-11-20 Kyoraku Sangyo Kk Pachinko game machine, main control board, peripheral board, authentication method, and authentication program
JP5067966B2 (en) * 2007-07-20 2012-11-07 株式会社ピーエーネット技術研究所 One-chip microcomputer for gaming machine and gaming machine
JP2009093436A (en) * 2007-10-09 2009-04-30 Kyoraku Sangyo Kk Electronic equipment, main control board, peripheral board, authentication method and authentication program

Also Published As

Publication number Publication date
JP2011152340A (en) 2011-08-11

Similar Documents

Publication Publication Date Title
JP5096450B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5002663B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program
JP5067742B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5322903B2 (en) Game machine and authentication method
JP5322902B2 (en) Game machine and authentication method
JP5182723B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5142408B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program
JP5153820B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5182721B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5182719B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5142407B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5114623B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5002661B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5182722B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5096448B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5002662B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program
JP5002660B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5181361B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5181357B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5181362B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5007330B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program
JP5322905B2 (en) Game machine and authentication method
JP5096451B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5096449B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5322904B2 (en) Game machine and authentication method

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120424

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120521

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees