JP5002660B2 - 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
JP5002660B2
JP5002660B2 JP2010016851A JP2010016851A JP5002660B2 JP 5002660 B2 JP5002660 B2 JP 5002660B2 JP 2010016851 A JP2010016851 A JP 2010016851A JP 2010016851 A JP2010016851 A JP 2010016851A JP 5002660 B2 JP5002660 B2 JP 5002660B2
Authority
JP
Japan
Prior art keywords
control unit
main control
unit
authentication
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
JP2010016851A
Other languages
Japanese (ja)
Other versions
JP2011152339A (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 JP2010016851A priority Critical patent/JP5002660B2/en
Publication of JP2011152339A publication Critical patent/JP2011152339A/en
Application granted granted Critical
Publication of JP5002660B2 publication Critical patent/JP5002660B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

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 each time the main control unit performs a specific process, one or a plurality of operation codes using a value related to the operation order of the main control unit An operation code generating means for generating the individual test value, the synchronization code, and the operation code added to a control command for transmission, and the intermediate unit is stored in the data storage means A calculation value storage means for storing a calculation value obtained by performing the binary calculation using data, and the binary calculation using the individual test value added to the control command; Individual authentication means for authenticating the validity of the individual of the main control unit based on whether the result and the calculated value stored in the calculated value storage means match, and the main authentication means by the individual authentication means System Identifying the type of packet information used for generating the synchronization code based on the number of the individual test values that are the targets of the binary operation when the individual authentication of the part is successful, The packet information and the plurality of packet information used to generate the one or more synchronization codes transmitted from the main control unit satisfy a predetermined correlation, and the operation code is used. Operation verification means for verifying the operation sequence of the main control section and authenticating the continuity of the operation of the main control section, and using the authentication result obtained by the individual authentication means or the operation authentication means as a control command. In addition, the information is 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 a value related to the operation order of the main control unit each time the main control unit performs a specific process. Operation code generating means for generating one or more operation codes, and adding the individual test value, the synchronization code, and the operation code to a control command and transmitting them 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-described problems, the present invention is an intermediate unit provided in a gaming machine having a main control unit and a peripheral unit, and uses predetermined data stored in the main control unit. The binary value satisfying the coupling law using the arithmetic value storage means storing the arithmetic value obtained by performing the binary operation satisfying the coupling law and the data obtained by dividing the predetermined data by the main control unit Performing the calculation, performing the binary calculation using the individual test value added to the control command and transmitted from the main control unit, the calculation result and the calculation value storage means stored in the calculation value storage means Correlation between the individual authentication means for authenticating the validity of the individual of the main control unit based on whether or not the calculated values match, and the generation timing of a plurality of packet information generated in accordance with the operation of the main control unit Among multiple types classified by relationship Among the one or a plurality of synchronization codes generated using a plurality of packet information generated at each of a plurality of generation timings according to one type, the individual authentication unit authenticates the individual of the main control unit. The packet information of the one type is specified based on the number of the individual test values that are the targets of the binary operation when succeeded, and the packet information of the specified type is transmitted from the main control unit Each time the plurality of pieces of packet information used for generating the one or more synchronization codes that have been satisfied satisfy a predetermined correlation and the main control unit performs a specific process, the main control unit An operation for authenticating the continuity of the operation of the main control unit by determining whether one or more operation codes generated using the value related to the operation sequence of And a certification means, adds the authentication result the individual authentication means or said operation authorization means to obtain the control command and transmits to the peripheral unit.

さらにまた、上記課題を解決するために本発明の遊技機の周辺基板は、本発明の中間部及び前記周辺部が搭載されていることを特徴とする。   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のステップと、前記中間部が、前記第5のステップ、前記第6のステップで得られた認証結果を制御コマンドに付加して前記周辺部に送信する第7のステップとを有することを特徴とする。   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. Dividing the predetermined data being performed, performing a binary operation satisfying a coupling law using each divided data to generate one or a plurality of individual test values, and the main control unit, One packet information based on the number of pieces of data divided from the plurality of types of packet information classified by the correlation of the generation timings of the plurality of packet information generated in accordance with the operation of the main control unit. A second step of selecting a type, 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; Above Each time the control unit performs a specific process, a third step of generating one or a plurality of operation codes using values related to the operation order of the main control unit, the main control unit, the individual test value, A fourth step of adding a synchronization code and the operation code to the control command and transmitting to the intermediate part; and the intermediate part performs the binary operation using the individual test value added to the control command. Based on whether or not the calculation result and the calculation value obtained by performing the two-term calculation using the predetermined data stored in the data storage means match, And the intermediate unit determines the synchronization based on the number of the individual test values subjected to the binary operation when the individual of the main control unit is successfully authenticated. The parameters used to generate the code A plurality of pieces of packet information used for generation of the one or more synchronization codes transmitted from the main control unit. A sixth step of satisfying the correlation and verifying the operation sequence of the main control unit using the operation code to authenticate the continuity of the operation of the main control unit; and the intermediate unit, And a seventh step of adding the authentication result obtained in the fifth step and the sixth step to a control command and transmitting the result to the peripheral portion.

さらにまた、上記課題を解決するために本発明のコンピュータ読み取り可能な認証プログラムは、制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機に搭載されるコンピュータに、前記主制御部が、データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす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 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 from the packet information based on the number of each divided data, and packet at each of multiple generation timings according to the selected type And a synchronization code generation function for generating one or a plurality of synchronization codes using the generated plurality of packet information, and the operation order of the main control unit each time the main control unit performs a specific process. An operation code generation function for generating one or a plurality of operation codes using a value related to the value, and the main control unit adds the individual test value, the synchronization code, and the operation code to a control command and transmits the control command to the intermediate unit The test value transmission function and the intermediate unit perform the two-term calculation using the individual test value added to the control command, and the calculation result and the predetermined value stored in the data storage means An individual authentication function for authenticating the validity of the individual of the main control unit based on whether or not the calculated value obtained by performing the binary operation using data matches, and the intermediate unit includes the main unit Control unit The type of packet information used to generate the synchronization code is specified based on the number of the individual test values that are the targets of the binary operation when the test is successful, and the packet information of the specified type The plurality of packet information used for generating the one or more synchronization codes transmitted from the main control unit satisfy a predetermined correlation, and the main control is performed using the operation code. An operation authentication function for verifying the operation sequence of the unit and authenticating the continuity of the operation of the main control unit, and the intermediate unit is an authentication result of the validity of the individual of the main control unit or the operation of the main control unit The authentication result transmission function of adding the authentication result of the continuity to the control command and transmitting it to the peripheral part is realized.

本発明によれば、遊技機の正規の主制御基板と不正な主制御基板との交換等による不正行為や遊技機の誤動作を検知でき、周辺部の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 inspection value obtained by the inspection value generation unit using predetermined data stored in the data storage unit to the control command and transmits the control command to the intermediate unit. The intermediate unit 2 uses the operation value obtained by performing the binary operation using predetermined data stored in the data storage means of the main control unit and the inspection value added to the predetermined control command. The main control unit is authenticated based on whether or not the calculation result obtained by performing the term calculation matches. 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.

さらにまた、本発明によれば、主制御部は、個体検査値を生成するために所定のデータを分割し、分割された各データの数(分割数)に基づいて、動作認証に関する処理の際に同期コードを生成するために生成するパケット情報の種類を選択する。また、中間部は、主制御部に対する個体認証が成功した際に2項演算の対象となった認証データの数(結合数)に基づいて、動作認証に関する処理の際に同期コードを生成するために生成したとして認識するパケット情報の種類を特定する。分割数は主制御部だけが知り得る値であり、結合数は個体認証が成功して初めて中間部が知り得る値であるため、不正行為者は、同期コードの生成に用いられたパケット情報の種類を特定することができない。このため、不正行為者が同期コードを不正に生成することを防止して、主制御部と中間部との間の認証処理の強度を向上させることができるとともに、上記不正行為及び遊技機の誤動作を検知することができ、これらに起因する不正な制御コマンドの実行を防止することができる。   Furthermore, according to the present invention, the main control unit divides predetermined data to generate individual test values, and performs processing related to operation authentication based on the number of divided data (number of divisions). The type of packet information to be generated in order to generate a synchronization code is selected. In addition, the intermediate unit generates a synchronization code during the process related to the operation authentication based on the number of authentication data (the number of combinations) subjected to the binary operation when the individual authentication to the main control unit is successful. The type of packet information that is recognized as being generated is identified. Since the number of divisions is a value that only the main control unit can know, and the number of connections is a value that the intermediate unit can know only after successful individual authentication, The type cannot be specified. 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, and execution of unauthorized control commands due to these can be prevented.

さらにまた、本発明によれば、中間部は、同期コードおよび動作コードの2種類の動作検査値を用いて主制御部の動作順序を検証する。2種類の動作検査値を用いて二重に認証処理を行うことにより、中間部による動作認証処理の強度を向上させることができるとともに、主制御部の動作順序を検証することによって、主制御部の動作の連続性を認証することができ、例えば信号切替回路などを搭載した不正な制御基板を検知することができる。   Furthermore, according to the present invention, the intermediate unit verifies the operation order of the main control unit by using two types of operation test values of the synchronization code and the operation code. By performing the authentication process twice using two types of operation inspection values, the strength of the operation authentication process by the intermediate unit can be improved, and the operation order of the main control unit can be verified to verify the main control unit. The continuity of the operation can be authenticated, and for example, an unauthorized control board equipped with a signal switching circuit or the like can be detected.

本発明の実施の形態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 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 operation 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 means 13 generates an individual test value used for authenticating the legitimacy (identity) of the main control unit 10 as an individual. 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 verifies the operation sequence of the main control unit 10 and controls it as one of operation inspection values for authenticating that the process (operation) by the main control unit 10 is continuously executed. A synchronization code including packet information generated when the command is transmitted is generated. The synchronization code is information for verifying that transmission of the control command by the main control unit 10 is continuously executed. In addition, the synchronization code generation unit 14 selects 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). Selects the type of packet information used for generation. Note that the type of packet information is determined by the correlation between two pieces of continuous packet information of the selected packet information.

動作コード生成手段15は、主制御部10の動作の継続性を認証するための動作検査値の一つとして、主制御部10が行う処理において一定の関係性をもって変動する値を用いて生成される。例えば、主制御部10によって実行されるプログラムにおいて所定の機能を実行するための処理ごとに予め重複なく割り当てられた番号(以下、機能番号という)や、主制御部10における認証処理の実行回数(以下、認証回数という)などである。   The operation code generation means 15 is generated using a value that varies with a certain relationship in the processing performed by the main control unit 10 as one of the operation inspection values for authenticating the continuity of the operation of the main control unit 10. The For example, in a program executed by the main control unit 10, a number assigned in advance for each process for executing a predetermined function (hereinafter referred to as a function number) or the number of times authentication processing is executed in the main control unit 10 ( Hereinafter, the number of times of authentication).

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

一方、中間部20は、演算値記憶手段21と、個体認証手段22と、動作認証手段23とを備えている。演算値記憶手段21には、主制御部10を構成するデータ記憶手段11に記憶されている所定のデータを用いて2項演算を行って得られた演算値(以下、個体認証用期待値という)が予め記憶されている。個体認証手段22は、制御コマンドに付加されて送信された個体検査値に対して上記結合法則を満たす2項演算を行い、この演算結果と、演算値記憶手段21に記憶されている個体認証用期待値とが一致するか否かに基づいて主制御部10を認証(個体認証)する。   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. 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 unit 10 is authenticated (individual authentication) based on whether or not the expected value matches.

動作認証手段23は、動作検査値(同期コード及び動作コード)を用いて主制御部10の動作の継続性を認証(動作認証)する。動作認証手段23は、同期コードを用いて主制御部10の動作認証を行う際、個体認証手段22による個体認証が成功したときの個体検査値の数(結合数)に基づいて、主制御部10より送信され同期コードを生成する際に生成したと認識するパケット情報の種類を特定して動作認証を行う。   The operation authentication unit 23 authenticates (operation authentication) the continuity of the operation of the main control unit 10 using the operation inspection value (synchronization code and operation code). When performing the operation authentication of the main control unit 10 using the synchronization code, the operation authentication unit 23 is 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 type of the packet information recognized as being generated when generating the synchronization code transmitted from 10 is identified, and the operation authentication is performed.

そして、中間部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 unit>
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]〜[7]の通りであるが、[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 shown in [1] to [7] 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項演算の種類等)については、主制御部10と中間部20との間で同一のものを予め設定しておけばよい。
[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. Note that the same method is set in advance between the main control unit 10 and the intermediate unit 20 for the generation method of the individual test values (for example, the type of binary operation that satisfies the combining law used for generating the individual test values). You just have to.

「結合法則を満たす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の個体としての正当性を認証するためのデータを総称して「個体認証データ」と呼ぶことにする。個体認証データは、各個体検査値、又はこれら個体検査値に対して暗号化処理を施すことにより得られたデータである。また、制御コマンドに付加される主制御部10の動作の継続性を認証するためのデータを総称して「動作認証データ」と呼ぶことにする。動作認証データは、各動作検査値、又はこれら動作検査値に対して暗号化処理を施すことにより得られたデータである。以下、本実施の形態1では、個体認証データ又は動作認証データは、個体検査値又は動作検査値に暗号化処理を施して得られたデータとして説明するが、本発明はこれに限定されず、個体検査値又は動作検査値そのものを個体認証データ又は動作認証データとして認証に関する処理を行ってもよい。この場合、主制御部10において個体検査値又は動作検査値に暗号化処理を施す必要がなく、中間部20で個体検査値又は動作検査値を抽出する際に個体認証データ又は動作認証データの復号化処理を施す必要がないため、認証に関する処理を簡易化することができ、処理負荷の増大を抑制することができる。
なお、上記個体検査値を生成する処理を実行する手段は、例えば、図1に示す個体検査値生成手段13に対応させることができる。
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 authenticity of the main control unit 10 added to the control command is 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. In addition, data for authenticating the continuity of the operation of the main control unit 10 added to the control command will be collectively referred to as “operation authentication data”. The operation authentication data is data obtained by performing encryption processing on each operation inspection value or these operation inspection values. Hereinafter, in the first embodiment, the individual authentication data or the operation authentication data will be described as data obtained by performing encryption processing on the individual inspection value or the operation inspection value, but the present invention is not limited to this, Processing related to authentication may be performed using the individual test value or the operation test value itself as the individual authentication data or the operation authentication data. In this case, it is not necessary to encrypt the individual test value or the operation test value in the main control unit 10, and the individual authentication data or the operation authentication data is decrypted when the individual test value or the operation test value is extracted in the intermediate unit 20. Since there is no need to perform the authentication process, the process related to authentication can be simplified, and an increase in processing load can be suppressed.
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に送信する場合と比較して、各個体検査値を不正行為者により分析される可能性を低減することができる。なお、主制御部10は、各個体検査値に対して異なる暗号化処理を施してもよい。   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. The main control unit 10 may perform different encryption processing on each individual test value.

上記暗号化処理に対して、更に所定の加工処理を加えてもよい。所定の加工処理としては、例えば、暗号化処理が施された各個体検査値を用いた四則演算又は論理演算等を行って所定のデータ長を有する演算データを得る処理、これらの四則演算又は論理演算等により得られた演算データのビット配列を並び変える処理、上記演算データのビットをシフト又はロテイト(rotate)する処理、暗号化処理が施された各個体検査値を構成する複数のビットを取り出して所定の規則に従って並べて1つのデータを生成する処理などが考えられる。   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が、各個体検査値を生成するタイミングと、各個体検査値を用いて個体認証データを生成するタイミングとは、特に制限はなく、主制御部10の制御プログラム中に、各個体検査値を生成する処理と、各個体検査値を用いて個体認証データを生成する処理とを行うプログラムを組み込んでおけばよい。   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 in the control program of the main control unit 10, What is necessary is just to incorporate the program which performs the process which produces | generates each individual test value, and the process which produces | generates individual authentication data using each individual test value.

[4]動作検査値の生成
主制御部10は、中間部20において主制御部10の動作の継続性を認証するために、制御コマンドデータ及び付随データに付加されて中間部20に送信される動作検査値として、同期コード及び動作コードの2種類のコードを生成し、RAM10cの所定の記憶領域である動作検査値用メモリに記憶する。RAM10cの動作検査値用メモリは、同期コードを記憶させるための同期コード用メモリと、動作コードを記憶させるための動作コード用メモリに分かれている。以下に、同期コード及び動作コードの生成について詳細に説明する。
[4] Generation of Operation Test Value The main control unit 10 adds the control command data and accompanying data to the intermediate unit 20 so as to authenticate the continuity of the operation of the main control unit 10 in the intermediate unit 20. Two types of codes, a synchronization code and an operation code, are generated as the operation inspection value and stored in an operation inspection value memory which is a predetermined storage area of the RAM 10c. The operation test value memory of the RAM 10c is divided into a synchronization code memory for storing a synchronization code and an operation code memory for storing an operation code. Hereinafter, generation of the synchronization code and the operation code will be described in detail.

{1}同期コードの生成
主制御部10は、動作検査値の一つとして主制御部10の動作の継続性を認証するために、主制御部10の継続性を有する動作に伴って生成されるパケット情報を生成し、生成されたパケット情報を取得して同期コードを作成する。パケット情報は、主制御部10が連続して動作していることを認証可能な情報であって、連続した生成タイミングのパケット情報を比較したときに、パケット情報同士はお互いの生成間隔(所定の時間間隔や所定のクロック数間隔、又は命令実行数間隔など)に起因する所定の相関関係を有している。本実施の形態1では、主制御部10の制御コマンドの送信に伴ってパケット情報を生成するとし、連続した制御コマンドの送信タイミングに準じた生成タイミングで生成されたパケット情報同士の相関関係が、予め設定された所定の相関関係を有しているか否かによって、主制御部10の動作の継続性を認証する。なお、主制御部10がパケット情報を生成するタイミングと取得するタイミングの関係としては、パケット情報が生成されるタイミングごとに取得するように設定したり、パケット情報が生成されるタイミングとは別のタイミングで取得するように設定したりできるが、本実施の形態1では、パケット情報が生成されるタイミングごとに取得することとする。
{1} Generation of Synchronization Code The main control unit 10 is generated along with the operation having the continuity of the main control unit 10 in order to authenticate the continuity of the operation of the main control unit 10 as one of the operation inspection values. Packet information is generated, and the generated packet information is acquired to generate a synchronization code. The packet information is information that can authenticate that the main control unit 10 is operating continuously. When packet information at successive generation timings is compared, the packet information is generated between each other (a predetermined interval). A predetermined correlation caused by a time interval, a predetermined clock number interval, or an instruction execution number interval). In the first embodiment, it is assumed that the packet information is generated along with the transmission of the control command of the main control unit 10, and the correlation between the packet information generated at the generation timing according to the transmission timing of the continuous control command is The continuity of operation of the main control unit 10 is authenticated depending on whether or not a predetermined correlation is set in advance. The relationship between the timing at which the main control unit 10 generates packet information and the timing at which it is acquired is set so as to be acquired at each timing at which packet information is generated, or is different from the timing at which packet information is generated. Although it can be set to be acquired at the timing, in the first embodiment, it is acquired at every timing when the packet information is generated.

主制御部10の動作に伴って生成されるパケット情報は、その生成間隔によって、例えば、次の2種類に分類することができる。具体的には、主制御部10は制御コマンドの送信に伴って連続して生成されるパケット情報(連続パケット情報)と、制御コマンドの送信に伴って特定の間隔ごとに生成されるパケット情報(間欠パケット情報)である。   The packet information generated with the operation of the main control unit 10 can be classified into the following two types, for example, according to the generation interval. Specifically, the main control unit 10 continuously generates packet information (continuous packet information) with the transmission of the control command, and packet information (at a specific interval with the transmission of the control command) ( Intermittent 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 of the continuous packet information. If packet information can be generated for each clock timing, the continuous packet information is generated for each clock timing. If packet information can be generated every 4 clock timings, every 4 clock timings become the generation timing of continuous packet information. At this time, 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クロックタイミングごとを間欠パケット情報の生成タイミングと設定することができる。このとき、主制御部10は、2クロックタイミングごとにパケット情報を生成させ、2クロックタイミングごとにパケット情報を取得して間欠パケット情報とする。
The intermittent packet information is packet information generated by at least two (twice) timings (timing at specific intervals) of the packet information generated by the main control unit 10. Here, the timing for each specific interval means, for example, that continuous generation timings are intermittent with a specific interval. The reference of this interval may be based on clock timing such as every 1 clock timing or every 4 clock timings, or may be based on a time such as 1 second or 0.5 seconds.
More specifically, the intermittent packet information is a part of the predetermined generation timing at which the continuous packet information is generated by the main control unit 10 and is generated intermittently at specific intervals. It is at least two (two times) packet information. For example, when the main control unit 10 can generate packet information every clock timing, the generation timing of intermittent packet information can be set as the generation timing of intermittent packet information every two clock timings. At this time, the main control unit 10 generates packet information every two clock timings, acquires packet information every two clock timings, and sets it as intermittent packet information.

このように、パケット情報を用いて同期コードを生成する場合、それぞれのパケット情報は、所定の生成間隔、例えば、所定の時間間隔や所定のクロック数間隔、又は命令実行数間隔などに設定された生成タイミングで生成される。このとき、連続した生成タイミングのパケット情報同士は、所定の相関関係を有する情報として生成される。すなわち、連続して生成されたパケット情報同士の相関関係は、連続的に絶え間なく生成された連続パケット情報と、特定の間隔を有して間欠的に生成された間欠パケット情報とで異なるが、連続パケット情報及び間欠パケット情報においてそれぞれ所定の相関関係を有する。従って、連続する生成タイミングの複数のパケット情報同士の相関関係を求めることによって主制御部10の動作の継続性を認証することができる。   Thus, when generating a synchronization code using packet information, each packet information is set to a predetermined generation interval, for example, a predetermined time interval, a predetermined clock number interval, or an instruction execution number interval. Generated at the generation 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 continuously and intermittent packet information generated intermittently with a specific interval, Each of the continuous 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 the correlation between a plurality of pieces of packet information at successive generation timings.

なお、パケット情報を用いて同期コードを生成する場合、一つのパケット情報を用いて一つの同期コードを生成してもよいし、複数のパケット情報を用いて一又は複数の同期コードを生成してもよい。但し、後述する中間部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. These also apply to the generation of operation codes described later.

主制御部10は、同期コードの生成に用いるパケット情報の種類を、分割数に基づいて選択することができる。より詳細には、主制御部10は、間欠パケット情報を用いて同期コードを生成するか、連続パケット情報を用いて同期コードを生成するかを、分割数に基づく所定の取り決めに従って選択することができる。所定の取り決めは、主制御部10と中間部20とで共有されており、例えば、次の(選択例1)や(選択例2)のようなものがある。図5に、主制御部10におけるパケット情報の選択方法とする所定の取り決めを模式的に示す。   The main control unit 10 can select the type of packet information used for generating the synchronization code based on the number of divisions. More specifically, the main control unit 10 may select whether to generate a synchronization code using intermittent packet information or to generate a synchronization code using continuous packet information according to a predetermined agreement based on the number of divisions. it can. The predetermined agreement is shared between the main control unit 10 and the intermediate unit 20, and includes, for example, the following (Selection Example 1) and (Selection Example 2). FIG. 5 schematically shows a predetermined agreement as a packet information selection method in the main control unit 10.

(選択例1:分割数/Xの余り値)
図5に示す選択例1では、分割数として決定された値を予め決められている特定値Xで除算した際の余り値に基づいて、同期コードの生成に用いるパケット情報の種類を選択する。例えば、特定値X=3、分割数=3であれば、余り値=0となり、図5の選択例1では、間欠パケット情報を選択し、特定値X=3、分割数=4であれば、余り値=1となり、図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 = 3 and the number of divisions = 3, the remainder value = 0, and in the selection example 1 of FIG. 5, intermittent packet information is selected, and if the specific value X = 3 and the number of divisions = 4 The remainder value = 1, and in the selection example 1 in FIG. 5, continuous packet information is selected.

(選択例2:|前回の分割数−今回の分割数|の絶対値)
図5に示す選択例2では、前回決定された分割数と今回決定された分割数の減算した際の絶対値に基づいて、同期コードの生成に用いるパケット情報を選択する。例えば、前回の分割数=3、今回の分割数=5であれば、絶対値|−2|=2となり図5の選択例2では、連続パケット情報を選択する。
(Selection example 2: | absolute value of previous division number-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の場合は連続パケット・・・というように、選択するパケット情報を分割数ごとに決めておく方法や、分割数が偶数の場合は同期コードの生成に用いるパケット情報の種類を変更し、分割数が奇数の場合は現在用いている種類のパケット情報を継続して用いる方法などがある。   Other predetermined arrangements include, for example, a method in which packet information to be selected is determined for each division number, such as an intermittent packet in the case of division number 2, a continuous packet in the case of division number 3 or the like. There is a method of changing the type of packet information used for generating the synchronization code when the number is even, and continuously using the type of packet information currently used when the number of divisions is odd.

同期コードを用いて主制御部10の動作順序を検証することによって不正な制御部に信号切替回路等が搭載された場合であっても、同期コードによって認証した動作順序が連続していなければ主制御部10から送信された制御コマンド以外の不正な制御部から送信された制御コマンドであると判断し、不正制御を検知することができる。   Even when a signal switching circuit or the like is mounted on an unauthorized control unit by verifying 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は、主制御部10のみが知る分割数の値に基づいて同期コードの生成に用いるパケット情報の種類を選択することにより、不正行為者に同期コードの生成にどの種類のパケット情報を用いているかを知られることを防止できる。これにより、同期コードが不正に生成されることを防止することができる。以下、本実施の形態1では、所定の取り決めとして図5に示す(選択例1)を採用し、特定値XをX=3として説明する。また、上記同期コードを生成する処理を実行する手段は、例えば、図1に示す同期コード生成手段14に対応させることができる。   In addition, the main control unit 10 selects the type of packet information used for generating the synchronization code based on the value of the number of divisions that only the main control unit 10 knows, so that the fraudster can determine which type of synchronization code is generated. It can be prevented that the packet information is used. Thereby, it is possible to prevent the synchronization code from being illegally generated. Hereinafter, in the first embodiment, (selection example 1) shown in FIG. 5 is adopted as the predetermined agreement, and the specific value X is described as X = 3. The means for executing the process for generating the synchronization code can correspond to, for example, the synchronization code generation means 14 shown in FIG.

本実施の形態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 the two types of intermittent packet information that generates packet information at specific intervals instead of every transmission of the synchronization code. However, in the present invention, the generation timing of the synchronization code is not limited to this, and the synchronization code is generated. 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.

{2}動作コードの生成
また、主制御部10は、動作検査値の一つとして主制御部10の動作の継続性を認証するために、主制御部10の継続性を有する動作(ここでは、制御コマンドの送信とする)の動作順序を検証するための情報である動作コードを生成する。動作コードは、機能番号や認証回数などの一定の関係性で変動する値を用いて生成される。以下に、機能番号又は認証回数を用いて動作コードとして生成する場合について説明するが、動作コードが何を用いて生成されているかについては、中間部20との間で予め決定されている。動作コードは、機能番号及び認証回数の両方を用いて生成した動作コードなどのように、主制御部10の動作順序を検証するための情報を複数含んでもよい。
{2} Generation of Operation Code In addition, the main control unit 10 recognizes the continuity of the operation of the main control unit 10 as one of the operation inspection values. And an operation code which is information for verifying the operation order of the control command transmission). The operation code is generated using a value that varies with a certain relationship such as a function number or the number of authentications. Hereinafter, a case where the operation code is generated using the function number or the number of authentications will be described. However, what the operation code is generated is determined in advance with the intermediate unit 20. The operation code may include a plurality of pieces of information for verifying the operation sequence of the main control unit 10 such as an operation code generated using both the function number and the number of authentications.

まず、機能番号を用いて動作コードを生成する場合について説明する。主制御部10では、実行される各種のプログラム(例えば、大当たりコマンド等)において所定の機能を実行するための処理毎に機能番号が予め重複なく割り当てられている。主制御部10は、機能番号が割り当てられたプログラムを実行すると、所定の機能を実行する毎に機能番号を取得する。主制御部10は、取得した機能番号を動作コードとしてRAM10cの所定の記憶領域である動作コード用メモリに、取得した順番が判別可能な状態で記憶する。例えば、主制御部10は、取得した複数の機能番号(動作コード)を、取得した順番に並べて記憶する。この取得された順番に並べられて記憶された複数の動作コードは、主制御部10が各種のプログラムを実行した際の動作順序を示している。   First, a case where an operation code is generated using a function number will be described. In the main control unit 10, function numbers are assigned in advance without duplication for each process for executing a predetermined function in various programs to be executed (for example, jackpot commands). When the main control unit 10 executes the program to which the function number is assigned, the main control unit 10 acquires the function number every time a predetermined function is executed. The main control unit 10 stores the acquired function number as an operation code in an operation code memory, which is a predetermined storage area of the RAM 10c, in a state where the acquired order can be determined. For example, the main control unit 10 stores a plurality of acquired function numbers (operation codes) in the order of acquisition. The plurality of operation codes arranged and stored in the acquired order indicate the operation order when the main control unit 10 executes various programs.

機能番号の割り当て方の具体例について説明する。機能番号は、例えば、大当たりリーチコマンド、大当たり開始コマンド及びそれに続く大当たりコマンド(例えば、15ラウンド分)等の連続して生成される制御コマンドに対して割り当てることができる。この場合、大当たりリーチコマンドに機能番号1を割り当てる。次に、大当たり開始コマンドに機能番号2を割り当てる。次に、15ラウンドの大当たりコマンドの各コマンドのそれぞれに機能番号3〜18を割り当てる。このように、時系列的に連続して発生する制御コマンドに連続する機能番号を割り当て、連続して発生する機能番号の連続性を検査することにより、主制御部10の動作順序の連続性を検証することができる。なお、機能番号は、連続して実行されるプログラムの所定の機能毎に割り当てればよく、そのプログラムの所定の機能の粒度(granularity)については特に制限されない。   A specific example of how to assign function numbers will be described. The function number can be assigned to control commands generated in succession such as a jackpot reach command, a jackpot start command, and a subsequent jackpot command (for example, for 15 rounds). In this case, function number 1 is assigned to the jackpot reach command. Next, function number 2 is assigned to the jackpot start command. Next, function numbers 3 to 18 are assigned to each of the 15 round jackpot commands. In this way, continuity of the operation sequence of the main control unit 10 is increased by assigning consecutive function numbers to control commands that are generated continuously in time series and checking the continuity of the function numbers that are generated continuously. Can be verified. The function number may be assigned for each predetermined function of a program that is continuously executed, and the granularity of the predetermined function of the program is not particularly limited.

次に、認証回数を用いて動作コードを生成する場合について説明する。認証回数とはパチンコ遊技機1の電源がオンになってからの認証処理の総回数であり、認証処理とは個体認証処理と動作認証処理を併せた処理の総称である。すなわち、認証回数とは、主制御部10が個体検査値の生成処理を行った回数である。主制御部10は、この認証回数を動作コードとしてRAM10cの所定の記憶領域である動作コード用メモリに記憶している。主制御部10は、認証処理が行われる度にRAM10cに記憶された認証回数の値に+1して、新たな認証回数の値、すなわち新たな動作コードを生成し、この動作コードをRAM10cに記憶する。なお、動作コードを生成する処理を実行する手段は、例えば、図1に示す動作コード生成手段15に対応させることができる。   Next, a case where an operation code is generated using the number of authentications will be described. The number of times of authentication is the total number of authentication processes since the power of the pachinko gaming machine 1 is turned on, and the authentication process is a general term for processes that combine the individual authentication process and the operation authentication process. That is, the number of times of authentication is the number of times that the main control unit 10 has performed an individual test value generation process. The main control unit 10 stores the number of times of authentication as an operation code in an operation code memory which is a predetermined storage area of the RAM 10c. The main control unit 10 adds 1 to the value of the number of times of authentication stored in the RAM 10c every time the authentication process is performed, generates a new value of the number of times of authentication, that is, a new operation code, and stores this operation code in the RAM 10c. To do. Note that the means for executing the process for generating the operation code can correspond to, for example, the operation code generation means 15 shown in FIG.

[5]動作認証データの生成
主制御部10は、上記[4]の{1}の処理で生成した各同期コード、及び上記[4]の{2}の処理で生成した各動作コードに対して暗号化処理を施してもよい。ここで、暗号化方式としては、個体認証データの生成の際に用いた方式と同様のものが考えられる。なお、個体認証データの生成の際に施す暗号化処理と、各同期コードに施す暗号化処理と、各動作コードに施す暗号化処理とは、同じ暗号化処理でもよく、それぞれ異なる暗号化処理でもよい。また、同期コードごとや動作コードごとで異なる暗号化処理を施してもよい。これらのことは、後述する中間部20での中間処理情報305に関する処理にも同様に当てはまる。
[5] Generation of operation authentication data The main control unit 10 generates each synchronization code generated by the process {1} of [4] and each operation code generated by the process {2} of [4]. The encryption process may be performed. Here, as the encryption method, the same method as that used when generating the individual authentication data can be considered. The encryption processing performed when generating the individual authentication data, the encryption processing applied to each synchronization code, and the encryption processing applied to each operation code may be the same encryption processing or different encryption processing. Good. Different encryption processing may be performed for each synchronization code or operation code. The same applies to processing related to intermediate processing information 305 in the intermediate unit 20 described later.

ここで、主制御部10は、動作コードの生成において機能番号を用いて複数の動作コードを生成した場合、複数の動作コードが生成された順番、すなわち主制御部10の動作順序の情報を維持したまま、同期コードと併せて複数の動作認証データを生成する。例えば、主制御部10は、取得した順番に並べられた複数の機能番号(動作コード)の配列を維持したまま、動作コードのそれぞれに同期コードと併せて暗号化処理を施して、複数の動作認証データを生成する。したがって、配列された複数の動作認証データは、複数の動作コードと同様に、主制御部10が各種のプログラムを実行した際の動作順序を示している。   Here, when generating a plurality of operation codes using function numbers in the generation of operation codes, the main control unit 10 maintains information on the order in which the plurality of operation codes are generated, that is, the operation order of the main control unit 10. As it is, a plurality of operation authentication data are generated together with the synchronization code. For example, the main control unit 10 performs an encryption process on each of the operation codes together with the synchronization code while maintaining the arrangement of the plurality of function numbers (operation codes) arranged in the acquired order, and performs a plurality of operations. Generate authentication data. Therefore, like the plurality of operation codes, the plurality of arranged operation authentication data indicates the operation order when the main control unit 10 executes various programs.

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

また、同期コードとともに送信される制御コマンドデータ又はその付随データの少なくともいずれか一方のデータと同期コードとを併せたデータに暗号化処理を施してもよい。同様に、動作コードとともに送信される制御コマンドデータ又はその付随データの少なくともいずれか一方のデータと動作コードとを併せたデータに暗号化処理を施してもよい。また、同期コード及び動作コードには、これらとともに送信される制御コマンドデータや付随データに関するデータを含ませてもよい。また、上記暗号化処理に対して、個体認証データの生成の際と同様、更に所定の加工処理を加えてもよい。   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 operation code and the accompanying data and the operation code. In addition, the synchronization code and the operation code may include control command data and accompanying data transmitted together with the synchronization code and the operation code. In addition, a predetermined processing process may be further added to the encryption process as in the case of generating individual authentication data.

なお、主制御部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.

[6]制御信号へのデータ付加
主制御部10は、中間部20を介して演出制御部203に送信される制御コマンドデータ及び付随データへ、個体認証データ及び動作認証データを付加して認証データ付制御信号を生成する。以下、個体認証データ及び動作認証データを併せて認証データともいう。
[6] Data addition to control signal The main control unit 10 adds individual 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 to generate authentication data. A control signal is generated. Hereinafter, the individual authentication data and the operation authentication data are also referred to as authentication data.

[7]制御信号の送信
主制御部10は、認証データ付制御信号を中間部20に送信する。
[7] 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つの動作認証データのみを示す。図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. A plurality of operation authentication data are generated when an operation inspection value is generated using a function number as an operation code, but only one operation authentication data is shown in FIG. 6 for simplicity. 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 authentication data to the intermediate unit 20, the main control unit 10 stores 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. A control signal with authentication data 310 is generated and output. The operation authentication data 304 includes a synchronization code 304a and an operation 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 operation code 304b as shown in FIG. 6 (2). 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 operation 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のみからなる通常の制御信号、又は制御コマンドデータ301、付随データ302、個体認証データ303及び動作認証データ304(同期コード304a及び動作コード304b)からなる認証データ付制御信号を受信する。なお中間部20は、通常の制御信号を受信した場合には、演出制御部203にそのまま送信する。
In the first embodiment, this intermediate processing is as follows [1] to [7].
[1] Reception of Control Signal The intermediate unit 20 receives a normal control signal consisting only of the control command data 301 and the accompanying data 302 from the main control unit 10, or the control command data 301, the accompanying data 302, the individual authentication data 303, and the operation. A control signal with authentication data comprising authentication data 304 (synchronization code 304a and operation code 304b) is received. In addition, the intermediate | middle part 20 transmits to the production | presentation control part 203 as it is, when a normal control signal is received.

[2]個体検査値、動作検査値の抽出
中間部20は、認証データ付制御信号から個体認証データ303、動作認証データ304(同期コード304a及び動作コード304b)を抽出する。次に中間部20は、個体認証データ生成時に使用した暗号化処理に対応する復号化処理を抽出した個体認証データに施し、個体検査値を抽出する。中間部20は、抽出した個体検査値をRAM20cの所定の記憶領域である個体検査値用メモリに記憶する。また、中間部20は、抽出した動作認証データ304から同期コード304a及び動作コード304bを抽出し、RAM20cの所定の記憶領域である同期コード用メモリ及び動作コード用メモリに記憶する。なお、同期コード304a及び動作コード304bに主制御部10において暗号化処理が施されている場合、中間部20は、施された暗号化処理に対応する復合化処理を抽出した同期コード304a及び動作コード304bに施す。
[2] Extraction of Individual Test Value and Operation Test Value The intermediate unit 20 extracts the individual authentication data 303 and the operation authentication data 304 (synchronization code 304a and operation 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 the individual test value memory, which is a predetermined storage area of the RAM 20c. Further, the intermediate unit 20 extracts the synchronization code 304a and the operation code 304b from the extracted operation authentication data 304, and stores them in a synchronization code memory and an operation code memory, which are predetermined storage areas of the RAM 20c. Note that when the main control unit 10 performs encryption processing on the synchronization code 304a and the operation code 304b, the intermediate unit 20 extracts the synchronization code 304a and operation extracted from the decryption processing corresponding to the applied encryption processing. It is applied to the code 304b.

本実施の形態1において、主制御部10の動作検査値生成の際に使用するRAM10cの動作検査値用メモリと、中間部20の動作検査値抽出の際に使用するRAM20cの動作検査値用メモリとは、特に混乱なく識別することができるため、これ以降、特筆しない限り両者区別なく動作検査値用メモリという用語を使用する。同期コード用メモリや動作コード用メモリなども同様とする。   In the first embodiment, an operation test value memory of the RAM 10c used when generating the operation test value of the main control unit 10, and an operation test value memory of the RAM 20c used when extracting the operation test value of the intermediate unit 20 Can be identified without any particular confusion. Henceforth, the term “memory for operation test values” will be used without distinction between the two unless otherwise specified. The same applies to the synchronization code memory and operation code memory.

[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 is performed to authenticate the validity of the main control unit 10 as an individual (hereinafter simply referred to as validity) by authenticating the individual of the main control unit 10 as to whether or not it is a main control unit.
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に予め記憶されている所定のプログラムコードのすべてに対して半群演算を行って得られた結果である個体認証用期待値と、所定のプログラムコードから生成された分割数分の個体検査値に対して半群演算を行って得られた結合結果とは一致する。このとき、すなわち主制御部10に対する個体認証が成功したときは、結合処理の対象となった個体検査値の数(以下、結合数という)と、分割数とは当然に一致する。これにより、中間部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. At this time, that is, when the individual authentication for the main control unit 10 is successful, the number of individual test values (hereinafter referred to as the number of connections) subjected to the combination process and the number of divisions naturally match. Thereby, the intermediate unit 20 authenticates the validity 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は、個体認証が成功したことを示す個体認証結果を生成し、RAM20cの個体検査値用メモリに記憶されている全ての個体検査値を消去する。     If the individual authentication is successful in the processing of {4} {3}, the intermediate unit 20 generates an individual authentication result indicating that the individual authentication is successful, and stores all the individual test value memories stored in the RAM 20c. Clear individual test values.

{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 the range not less than the current number of connections (number of divisions) and not more than the number (maximum number of divisions) in which the program code stored in the program code storage area 400 (see FIG. 4) can be divided. is there.
{5-1} When the number of received individual authentication data is less than the predetermined number, the intermediate unit 20 determines that the individual authentication is not yet possible and can replace the individual authentication result with the authentication intermediate data, for example, An arbitrary value (for example, all 0 or all 1) having the same data length as the data length of the individual authentication result is generated.
{5-2} If the number of received individual authentication data is equal to or greater than the predetermined number, the intermediate unit 20 determines that the individual authentication has not been successful, and generates an individual authentication result indicating that the individual authentication has not been successful. To do.

(個体認証用期待値生成の計算例)
個体認証用期待値の生成方法について、図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.

[4]動作認証
中間部20は、動作認証データ304から抽出された動作検査値である同期コード304a及び動作コード304bのそれぞれを用いて、以下に示す順序で主制御部10の動作の継続性を認証する。なお、中間部20は、動作認証に先立って、個体認証が成功した際の、結合処理の対象となった個体検査値の数(結合数)を特定する。
[4] Operation Authentication The intermediate unit 20 uses the synchronization code 304a and the operation code 304b, which are operation inspection values extracted from the operation authentication data 304, to continue the operation of the main control unit 10 in the following order. Authenticate. The intermediate unit 20 specifies the number of individual test values (the number of connections) that are the targets of the combination process when the individual authentication is successful prior to the operation authentication.

{1}同期コードを用いた動作認証
中間部20は、同期コード用記メモリに記憶されている同期コード304aを用いて主制御部10の動作順序を検証する。同期コード304aには所定の生成タイミングによって生成された複数のパケット情報の少なくとも一つが含まれている。中間部20は、これら複数のパケット情報の差分を求めることによって、パケット情報同士が、予め特定されたパケット情報の種類に応じた所定の相関関係が維持されているか否かを判断することができる。
Operation Authentication Using {1} Synchronization Code The intermediate unit 20 verifies 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 pieces of packet information generated at a predetermined generation timing. The intermediate unit 20 can determine whether or not a predetermined correlation according to the type of packet information specified in advance is maintained between the pieces of packet information by obtaining a difference between the plurality of pieces of packet information. .

{1−1}中間部20は、主制御部10の同期コード生成時に生成されたと認識するパケット情報の種類を、結合数に基づいた所定の取り決めに従って特定する。所定の取り決めは、主制御部10が同期コード生成時に用いたパケット情報の種類を選択するために使用した所定の取り決めと同一のものである。本実施の形態1では、所定の取り決めとして上記選択例1を採用している。選択例1の場合、中間部20は、個体認証が成功した際の結合数を、主制御部10との間で予め決められている特定値X(ここではX=3)で除算した際の余り値に基づいて、パケット情報の種類を特定する。例えば、特定値X=3、結合数=3であれば、余り値=0となり、間欠パケット情報とする。
{1−2}中間部20は、あるタイミングで生成されたパケット情報と、このパケット情報から所定の生成間隔だけ経過したタイミングで生成されたパケット情報との差分を求め、この差分が、{1−1}の処理で特定されたパケット情報の種類に応じた所定の相関関係を有しているかを検証する。
{1-1} The intermediate unit 20 specifies the type of packet information recognized as being generated when the main control unit 10 generates the synchronization code, according to a predetermined agreement based on the number of combinations. The predetermined agreement is the same as the predetermined agreement used by the main control unit 10 to select the type of packet information used when generating the synchronization code. In the first embodiment, the above selection example 1 is adopted as a predetermined agreement. In the case of the selection example 1, the intermediate unit 20 is configured to divide the number of connections when the individual authentication is successful by a specific value X (here, X = 3) determined in advance with the main control unit 10. Based on the remainder value, the type of packet information is specified. For example, if the specific value X = 3 and the number of connections = 3, the remainder value = 0, which is intermittent packet information.
The {1-2} intermediate unit 20 obtains a difference between the packet information generated at a certain timing and the packet information generated at a timing when a predetermined generation interval has elapsed from this packet information, and this difference is calculated as {1 -1}, it is verified whether or not it has a predetermined correlation according to the type of packet information specified.

{1−3}パケット情報同士の差分が所定の相関関係を有している場合、中間部20は、主制御部10が正しい動作順序で制御コマンド送信処理を行っていると判断し、主制御部10に対する同期コードを用いた動作認証が成功したと判断する。動作認証に成功した場合、中間部20は、動作認証が成功であったことを示す動作認証結果を生成する。
{1−4}パケット情報同士の差分が所定の相関関係を有していない場合、中間部20は、主制御部10が正しい動作順序で制御コマンド送信処理を行っておらず、不正な制御コマンド送信処理が行われていると判断し、主制御部10に対する同期コードを用いた動作認証が成功しなかったと判断する。動作認証に成功しなかった場合、中間部20は、動作認証が不成功であったことを示す動作認証結果を生成する。
{1-3} If the difference between the packet information has a predetermined correlation, the intermediate unit 20 determines that the main control unit 10 is performing the control command transmission process in the correct operation order, and the main control It is determined that the operation authentication using the synchronization code for the unit 10 is successful. When the operation authentication is successful, the intermediate unit 20 generates an operation authentication result indicating that the operation authentication is successful.
{1-4} If the difference between the packet information does not have a predetermined correlation, the intermediate unit 20 does not perform the control command transmission processing in the correct operation order by the main control unit 10, and the illegal control command It is determined that the transmission process is being performed, and it is determined that the operation authentication using the synchronization code for the main control unit 10 has not succeeded. If the operation authentication is not successful, the intermediate unit 20 generates an operation authentication result indicating that the operation authentication is unsuccessful.

なお、主制御部10において同期コードに暗号化処理が施されている場合、中間部20は、主制御部10の暗号化処理の内容に応じた復号化処理を施して同期コードを取得する。そして、この同期コードが、主制御部10の動作が正しい動作順序であることを表すものであった場合、主制御部10の動作は継続性があると認証する。なお、中間部20は、直接同期コードを受信した場合には、この同期コードを用いて主制御部10の動作の継続性の認証を行う。   When the main control unit 10 performs the encryption process on the synchronization code, the intermediate unit 20 performs the decryption process according to the content of the encryption process of the main control unit 10 to obtain the synchronization code. If the synchronization code indicates that the operation of the main control unit 10 is in the correct operation order, the operation of the main control unit 10 is authenticated as being continuous. When the intermediate unit 20 directly receives the synchronization code, the intermediate unit 20 authenticates the continuity of the operation of the main control unit 10 using the synchronization code.

(同期コードを用いた動作認証の計算例)
以下、中間部20における同期コード304aを用いた動作認証の計算例を説明する。中間部20は、連続した生成タイミングで生成された2つのパケット情報同士の相関関係から同期状態を検証する。例えば、1回目のパケット(以下、「パケット1」という)の基本値=0x03、2回目のパケット(以下「パケット2」という)の基本値=0x05であり、パケット1とパケット2との相関条件(認証成功条件)は「+2」となる。そして主制御部10から送信するパケット1の検査値は、基本値のまま0x03となり、パケット2の検査値は、パケット1+パケット2すなわち0x03+0x05となり「0x08」が送信される。
(Calculation example of operation authentication using synchronization code)
Hereinafter, a calculation example of the operation authentication using the synchronization code 304a 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 at successive generation timings. 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”. The inspection value of packet 1 transmitted from the main control unit 10 remains 0x03 as the basic value, and the inspection 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 the operation authentication is successful. After the operation authentication is successful, the synchronization code stored in the synchronization code memory 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は、動作コード用記メモリに記憶されている動作コード304bを用いて主制御部10の動作順序を検証する。中間部20は、主制御部10が生成する動作コードが、時系列的に所定の関係性を維持しながら生成されているかを検証するための情報として、動作コードの生成方法の種類(機能番号を用いた生成や認証回数を用いた生成など)のそれぞれに対応する動作コード用期待値を記憶している。機能番号を用いた動作コードに対応する動作コード用期待値は、主制御部10の動作順序を判別可能なように複数の動作コードが関連付けられて形成されたデータ、例えば、複数の動作コードが主制御部10の動作順序を示す順番で配列されたデータテーブルなどである。
Operation Authentication Using {2} Operation Code The intermediate unit 20 verifies the operation sequence of the main control unit 10 using the operation code 304b stored in the operation code memory. The intermediate unit 20 uses the operation code generation method type (function number) as information for verifying whether the operation code generated by the main control unit 10 is generated while maintaining a predetermined relationship in time series. And the like using the number of times of authentication and the number of times of authentication, etc.) are stored. The expected value for the operation code corresponding to the operation code using the function number is data formed by associating a plurality of operation codes so that the operation order of the main control unit 10 can be determined, for example, a plurality of operation codes. A data table arranged in the order indicating the operation order of the main control unit 10.

また、認証回数を用いた動作コードに対応する動作コード用期待値は、認証回数を示す値である。この場合、中間部20は、動作認証処理が行われる度に動作コード用期待値を更新する。具体的には、中間部20は、主制御部10と同様に、動作認証処理が行われる度にRAM20cに記憶された動作コード用期待値(認証回数)の値に+1して、新たな動作コード用期待値(認証回数)として記憶する。以下に、動作コードが機能番号又は認証回数を用いて生成された場合の動作認証について説明するが、動作コードが何を用いて生成されているかについては、主制御部10との間で予め決定されている。   The expected value for the operation code corresponding to the operation code using the number of authentications is a value indicating the number of authentications. In this case, the intermediate unit 20 updates the expected value for the action code every time the action authentication process is performed. Specifically, like the main control unit 10, the intermediate unit 20 increments the value of the expected value for the operation code (number of times of authentication) stored in the RAM 20 c every time the operation authentication process is performed, and performs a new operation. Stored as expected value for code (number of authentications). In the following, the operation authentication when the operation code is generated using the function number or the number of times of authentication will be described. However, what the operation code is generated using is determined in advance with the main control unit 10. Has been.

{2−1}動作コードが機能番号を用いて生成されている場合、動作コード用メモリから読み出した複数の動作コード304bと、動作コード用期待値としてのデータテーブルとを用いて、複数の動作認証データが正規の順序で配列されているかを判断する照合処理を行う。照合処理の結果、複数の動作認証データが正規の順序で配列されていた場合には、中間部20は、動作認証に成功したと判断する。一方、複数の動作認証データが正規の順序で配列されていなかった場合には、中間部20は、動作認証に成功しなかったと判断する。
{2−2}動作コードが認証回数を用いて生成されている場合、動作コード用メモリから読み出した複数の動作コード304bと、動作コード用期待値としての認証回数とが一致するか否かを判断する照合処理を行う。照合処理の結果、動作コードと動作コード用期待値とが一致した場合には、中間部20は、動作認証に成功したと判断する。一方、動コードと動作コード用期待値とが一致しなかった場合には、中間部20は、動作認証に成功しなかったと判断する。そして中間部20は、認証回数を示す動作コード用期待値を更新する。
{2−3}上記{2−1}、{2−2}の処理で、動作認証に成功した場合、中間部20は、動作認証が成功したことを示す認証結果を生成し、動作認証に成功しなかった場合、中間部20は、動作認証が成功しなかったことを示す認証結果を生成する。
{2-1} When an operation code is generated using a function number, a plurality of operations using a plurality of operation codes 304b read from the operation code memory and a data table as an expected value for the operation code A verification process is performed to determine whether the authentication data is arranged in a regular order. As a result of the collation processing, when a plurality of operation authentication data are arranged in a regular order, the intermediate unit 20 determines that the operation authentication is successful. On the other hand, when the plurality of operation authentication data are not arranged in the regular order, the intermediate unit 20 determines that the operation authentication has not been successful.
{2-2} If the operation code is generated using the number of authentications, whether or not the plurality of operation codes 304b read from the operation code memory matches the number of authentications as the expected value for the operation code. The collation process to judge is performed. As a result of the collation processing, when the operation code matches the expected value for the operation code, the intermediate unit 20 determines that the operation authentication has succeeded. On the other hand, if the motion code does not match the expected value for the motion code, the intermediate unit 20 determines that the motion authentication has not been successful. Then, the intermediate unit 20 updates the expected value for operation code indicating the number of times of authentication.
{2-3} When the operation authentication is successful in the processes {2-1} and {2-2}, the intermediate unit 20 generates an authentication result indicating that the operation authentication is successful, and performs the operation authentication. If not successful, the intermediate unit 20 generates an authentication result indicating that the operation authentication has not succeeded.

なお、主制御部10において同期コード及び動作コードに所定の演算が施されている場合、中間部20は、主制御部10の演算処理の内容に応じて所定の演算を行って同期コード及び動作コードを取得する。そして、この同期コード及び動作コードが、主制御部10の動作が正しい順序の動作であることを表す動作検査値であった場合、主制御部10の動作の継続性が確保されていると判断する。なお、中間部20は、直接同期コード及び動作コードを受信した場合には、この同期コード及び動作コードを用いて主制御部10の動作の継続性の認証を行う。以下、本実施の形態1では、動作コードが機能番号を用いて生成されるとして説明する。   When the main control unit 10 performs a predetermined calculation on the synchronization code and the operation code, the intermediate unit 20 performs a predetermined calculation according to the content of the calculation process of the main control unit 10 to perform the synchronization code and operation. Get the code. If the synchronization code and the operation code are operation inspection values indicating that the operation of the main control unit 10 is performed in the correct order, it is determined that the continuity of the operation of the main control unit 10 is ensured. To do. When the intermediate unit 20 directly receives the synchronization code and the operation code, the intermediate unit 20 authenticates the continuity of the operation of the main control unit 10 using the synchronization code and the operation code. In the following description of the first embodiment, it is assumed that the operation code is generated using the function number.

[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. Hereinafter, the individual authentication process and the operation authentication process are also referred to as an authentication process.

(中間処理情報生成の計算例)
中間処理情報の生成の計算の一例を以下に示す。
中間部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]の処理)の詳細については、後述する。また、上記の個体認証処理、及び動作認証処理を実行する手段は、例えば、図1に示す個体認証手段22、及び動作認証手段23に対応させることができる。
[7] Transmission of control signal with intermediate processing information 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. Further, the means for executing the individual authentication process and the action authentication process can correspond to, for example, the individual authentication means 22 and the action authentication means 23 shown in FIG.

ここで、中間部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に表示させるための画像データが書き込まれる。
<Production 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 units>
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への遊技球の入球が検出された場合には、主制御部10は、ステップ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. When a game ball entering the mouth 120 is detected, the main control unit 10 proceeds to step S8.

一方、ステップS7の判断結果が「NO」の場合、すなわち、第1始動口検出部221で第1始動口105への遊技球の入球が検出されず、かつ、第2始動口検出部225で第2始動口120への遊技球の入球が検出されない場合には、主制御部10は、ステップ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 entry of the game ball into the second starting port 120 is not detected, the main control unit 10 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 operation authentication data. Data is 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. Further, the intermediate unit 20 authenticates whether the operation sequence of the main control unit 10 is correct and whether the control signal is a correct control signal by using each operation inspection value (synchronization code and operation code) from the operation authentication data. Do. 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 validity of the individual of the main control unit 10 and the continuity of the control command transmitted from the main control unit 10 are increased. 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及び周辺部30との間で行う認証に関する処理について説明する。以下、主制御部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 30 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は通常の制御信号の送信を行いながら(ステップS61)、認証データの送信タイミングであるか否かを判断する(ステップS62)。この判断結果がNOの場合には、主制御部10は、ステップS61に戻り、再びステップS62の判断を行う。認証データの送信タイミングになると、すなわち、出力する制御コマンドが所定の制御コマンドとなると、ステップS62の判断結果が「YES」となり、主制御部10はステップ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 determines whether it is the transmission timing of the authentication data while transmitting a normal control signal (step S61) (step S62). If the determination result is NO, the main control unit 10 returns to step S61 and performs the determination in step S62 again. When the authentication data transmission timing comes, that is, when the output control command becomes a predetermined control command, the determination result in step S62 is “YES”, and the main control unit 10 proceeds to step S63 to determine the number of divisions. The method for determining the number of divisions is arbitrary. The number of divisions may be determined before the transmission timing of authentication data.

次に、主制御部10は、決定した分割数で所定のプログラムコードを分割し、分割された各データそれぞれに対して半群演算を行って個体検査値を算出し(ステップS64)、個体検査値に対して暗号化処理を施して個体認証データを生成する(ステップS65)。この処理により、分割数分の個体検査値及び個体認証データが生成される。なお、個体検査値の生成は、認証データの送信タイミングとなる前に行っておいてもよい。   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 S64). The value is subjected to encryption processing to generate individual authentication data (step S65). 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 authentication data transmission timing comes.

次に、主制御部10は、ステップS63で決定した分割数に基づいて、同期コードの生成に用いるパケット情報の種類を選択する(ステップS66)。具体的には、間欠パケット情報又は連続パケット情報のいずれかを選択する。そして、選択したパケット情報を生成して、そのパケット情報を元にして同期コードを生成する(ステップS67)。なお、ステップS66とステップS67とを入れ替えて、間欠パケット情報及び連続パケット情報の両方をそれぞれ用いて2つの同期コードを生成しておき、どちらの同期コードを利用するかを後から選択するようにしてもよい。また、主制御部10は、機能番号を用いて動作コードを生成する(ステップS68)。   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 S63 (step S66). Specifically, either intermittent packet information or continuous packet information is selected. Then, the selected packet information is generated, and a synchronization code is generated based on the packet information (step S67). Note that step S66 and step S67 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 generates an operation code using the function number (step S68).

続いて、主制御部10は、個体検査値(個体認証データ)、同期コード及び動作コード(動作認証データ)を制御コマンドデータに付加して(ステップS69)、周辺部に認証データ付制御信号を送信する(ステップS70)。認証データ付制御信号は連続して送信してもよいし、通常の制御信号に混ぜて送信してもよい。また、認証データの送信順序も任意である。主制御部10は、全ての認証データ(個体認証データ及び動作認証データ)を送信するまで(ステップS71:NO)、ステップS70に戻り、認証データ付制御信号の送信を繰り返す。なお、主制御部10は、生成した認証データのうち未送信の認証データがある場合(ステップS71:NO)、新たに認証データを生成せず、必ずステップS70に戻り認証データ付制御信号の送信を行う。また、認証データを付加する制御コマンドは特に制限されず任意の制御コマンドでよい。そして、全ての認証データを送信すると(ステップS71:YES)、本フローチャートによる処理を終了する。   Subsequently, the main control unit 10 adds the individual test value (individual authentication data), the synchronization code and the operation code (operation authentication data) to the control command data (step S69), and sends a control signal with authentication data to the peripheral part. Transmit (step S70). 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 S70 and repeats transmission of the control signal with authentication data until all authentication data (individual authentication data and operation authentication data) is transmitted (step S71: NO). When there is untransmitted authentication data among the generated authentication data (step S71: NO), the main control unit 10 does not generate new authentication data, and always returns to step S70 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. Then, when all the authentication data is transmitted (step S71: YES), the processing according to this flowchart is terminated.

次に、中間部20による主制御部10の認証処理について説明する。図15は、中間部20による主制御部10の認証処理の手順を示すフローチャートである。まず、中間部20は、主制御部10から送信された図5に示すような制御信号を受信したか否かを判断する(ステップS81)。この判断結果が「NO」の場合には、中間部20は、同判断を繰り返す。そして、主制御部10から送信された制御信号を受信すると(ステップS81:YES)、中間部20は、ステップS82へ進む。   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. First, the intermediate unit 20 determines whether or not a control signal as shown in FIG. 5 transmitted from the main control unit 10 has been received (step S81). If the determination result is “NO”, the intermediate unit 20 repeats the determination. And if the control signal transmitted from the main control part 10 is received (step S81: YES), the intermediate part 20 will progress to step S82.

ステップS82では、中間部20は、受信した制御信号に各認証データが含まれているか否かを判断する。受信した制御信号に各認証データが含まれている場合(ステップS82:YES)、中間部20は、ステップS83へ進む。ここで、制御信号に各認証データが含まれているか否かの判断は、例えば、制御信号のデータ量が通常の制御信号よりも多いか否かや、制御信号において、制御コマンドデータ301又は付随データ302を構成する任意のビット又は別個に設けられている識別データ(図示略)が各認証データが含まれていることを示しているか否かを判断することによって行う。なお、ステップS82の処理において、中間部20は、受信した制御信号に各認証データが含まれているか否かを判断するのではなく、制御信号に含まれる制御コマンドデータ301が所定の制御コマンドの制御コマンドデータであるか否かを判断してもよい。   In step S82, the intermediate unit 20 determines whether or not each authentication data is included in the received control signal. When each authentication data is included in the received control signal (step S82: YES), the intermediate unit 20 proceeds to step S83. Here, the determination as to whether or not each authentication data is included in the control signal is, for example, whether or not the data amount of the control signal is larger than that of the normal control signal, or whether the control command data 301 or the accompanying information is included in the control signal. This is performed by determining whether or not any bit constituting the data 302 or separately provided identification data (not shown) indicates that each authentication data is included. In the process of step S82, the intermediate unit 20 does not determine whether each authentication data is included in the received control signal, but the control command data 301 included in the control signal indicates that the predetermined control command is included. It may be determined whether it is control command data.

受信した制御信号に各認証データが含まれている場合(ステップS82:YES)、すなわち、受信した制御信号が認証データ付制御信号の場合、中間部20は、受信した認証データ付制御信号に含まれている個体認証データを抽出して復号化処理を行って個体検査値を取得するとともに、認証データ付制御信号に含まれている動作認証データを抽出して復号化処理を行って同期コード及び動作コードを取得する(ステップS83)。   When each authentication data is included in the received control signal (step S82: YES), that is, when the received control signal is a control signal with authentication data, the intermediate unit 20 is included in the received control signal with authentication data. The individual authentication data is extracted and the decryption process is performed to obtain the individual test value, and the operation authentication data included in the control signal with the authentication data is extracted and the decryption process is performed to obtain the synchronization code and An operation code is acquired (step S83).

中間部20は、取得した個体検査値を個体検査値用メモリに、同期コードを同期コード用メモリに、動作コードを動作コード用メモリに記憶して(ステップS84)する。次に、中間部20は、個体検査値用メモリ内の全ての個体検査値に対して半群演算(結合処理)を行う(ステップS85)。個体検査値用メモリ内の検査値が1つの場合は、結合処理を行わずにそのままステップS86に移行する。   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 operation code in the operation code memory (step S84). 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 S85). If there is one test value in the individual test value memory, the process proceeds to step S86 without performing the combining process.

そして、中間部20は、結合処理の演算結果(結合結果)と保持している個体認証用期待値とを照合して、結合結果と個体認証用期待値とが一致するか否かを判断する(ステップS86)。結合結果と個体認証用期待値とが一致する場合(ステップS86:YES)、中間部20は、主制御部10の個体認証を成功させる(ステップS87)主制御部10の個体認証が成功すると、中間部20は、認証結果に基づいて結合数を特定する(ステップS88)。   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 S86). If the combined result matches the expected value for individual authentication (step S86: YES), the intermediate unit 20 makes the individual authentication of the main control unit 10 successful (step S87). The intermediate unit 20 specifies the number of connections based on the authentication result (step S88).

続いて、中間部20は、結合数に基づいて同期コードの生成に用いられたとするパケット情報の種類を特定する(ステップS89)。そして、ステップS89で特定したパケット情報に対応する方法で、同期コードを用いた動作認証を行う(ステップS90)。同期コードを用いた動作認証は、同期コードに含まれるパケット情報の相関関係がパケット情報の種類に応じた所定の相関関係であるか否かを判断することにより行う。同期コードを用いた動作認証が成功すると(ステップS91:YES)、中間部20は、動作コードを用いた動作認証を行う(ステップS92)。なお、同期コードを用いた動作認証と動作コードを用いた動作認証とは、順番を入れ替えてもよい。   Subsequently, the intermediate unit 20 specifies the type of packet information used for generating the synchronization code based on the number of combinations (step S89). Then, operation authentication using the synchronization code is performed by a method corresponding to the packet information specified in step S89 (step S90). The operation 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 according to the type of the packet information. When the operation authentication using the synchronization code is successful (step S91: YES), the intermediate unit 20 performs the operation authentication using the operation code (step S92). The operation authentication using the synchronization code and the operation authentication using the operation code may be switched in order.

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

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

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

また、ステップS82で、受信した制御信号に各認証データが含まれていない場合、すなわち、受信した制御信号が通常の制御信号300である場合(ステップS82:NO)、中間部20は、認証処理を行わず、受信した通常の制御信号300をそのまま演出制御部203に送信し(ステップS101)、本フローチャートによる処理を終了する。   If each authentication data is not included in the received control signal in step S82, that is, if the received control signal is the normal control signal 300 (step S82: NO), the intermediate unit 20 performs the authentication process. The received normal control signal 300 is transmitted as it is to the effect control unit 203 (step S101), and the processing according to this flowchart ends.

このように、中間部20において、同期コードおよび動作コードの2種類の動作検査値を用いて主制御部10の動作順序を検証する。2種類の動作検査値を用いて二重に認証処理を行うことにより、中間部20による動作認証処理の強度を向上させることができるとともに、主制御部10の動作順序を検証することによって、主制御部10の動作の連続性を認証することができ、例えば信号切替回路などを搭載した不正な制御基板を検知することができる。   As described above, the intermediate unit 20 verifies the operation sequence of the main control unit 10 using the two types of operation inspection values of the synchronization code and the operation code. By performing authentication processing twice using two types of operation inspection values, the strength of the operation authentication processing by the intermediate unit 20 can be improved, and the operation sequence of the main control unit 10 can be verified, The continuity of operation of the control unit 10 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で最後に生成された同期コード及び動作コードを残してメモリ内のデータを削除し、今回の認証に関する処理の最後に生成された同期コード及び動作コードと、次回の認証に関する処理で生成される同期コード及び動作コードとを用いて、主制御部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 last data stored in each memory, that is, the data in the memory is deleted while leaving the synchronization code and the operation code last generated by the main control unit 10, and generated at the end of the process related to the current authentication. The operation authentication of the main control unit 10 may be performed using the synchronization code and the operation code, and the synchronization code and the operation code generated in the process related to the next authentication. Thereby, operation | movement authentication can be performed between the process regarding this authentication, and the process regarding the next authentication.

次に、演出制御部203による認証に関する処理について説明する。図16は、演出制御部203による認証に関する処理の一例を示すフローチャートである。まず、演出制御部203は、中間部20から制御信号を受信したか否かを判断する(ステップS111)。この判断結果が「NO」の場合には、演出制御部203は、同判断を繰り返す。そして、中間部20から制御信号を受信すると、ステップS111の判断結果が「YES」となり、演出制御部203は、ステップS112へ進む。   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 is received from the intermediate unit 20 (step S111). 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 S111 will be "YES", and the production | presentation control part 203 will progress to step S112.

ステップS112では、演出制御部203は、受信した制御信号に中間処理情報305が含まれているか否かを判断する。ステップS112の判断結果が「YES」の場合、すなわち、受信した制御信号に中間処理情報305が含まれている場合には、演出制御部203は、ステップS113へ進む。ここで、制御信号に中間処理情報305が含まれているか否かの判断は、例えば、制御信号のデータ量が通常の制御信号よりも多いか否かや、制御信号において、制御コマンドデータ301又は付随データ302を構成する任意のビット又は別個に設けられている識別データ(図示略)が、中間処理情報305が含まれていることを示しているか否かを判断するか、あるいは、制御信号に含まれる制御コマンドデータ301が、認証処理を行うために予め設定した所定の制御コマンドの制御コマンドデータであるか否かを判断してもよい。   In step S112, the effect control unit 203 determines whether or not the intermediate control information 305 is included in the received control signal. If the determination result in step S112 is “YES”, that is, if the received control signal includes the intermediate processing information 305, the effect control unit 203 proceeds to step S113. 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.

ステップS113では、演出制御部203は、制御信号から中間処理情報305を取り出し、この中間処理情報305から認証結果を抽出した後、ステップS114へ進む。   In step S113, 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 S114.

ステップS114では、演出制御部203は、抽出した認証結果が認証に成功したことを示しているか否かを判断する。ステップS114の判断結果が「YES」の場合、すなわち、抽出した認証結果が認証に成功したことを示している場合には、演出制御部203は、ステップS115へ進む。また、ステップS112の判断結果が「NO」の場合、すなわち、受信した制御信号に中間処理情報305が含まれていない場合、つまり、通常の制御信号である場合にも、演出制御部203は、ステップS115へ進む。   In step S114, 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 S114 is “YES”, that is, if the extracted authentication result indicates that the authentication is successful, the effect control unit 203 proceeds to step S115. In addition, when the determination result of step S112 is “NO”, that is, when the intermediate processing information 305 is not included in the received control signal, that is, when it is a normal control signal, the effect control unit 203 Proceed to step S115.

ステップS115では、演出制御部203は、制御コマンドデータ301及び付随データ302に基づく処理を行った後、一連の処理を終了する。一方、ステップS114の判断結果が「NO」の場合、すなわち、抽出した認証結果が認証に成功したことを示していない場合には、演出制御部203は、ステップS116へ進む。ステップS116では、演出制御部203は、制御コマンドデータ301及び付随データ302を破棄するとともに、不正行為を報知するための報知信号を図柄表示部104やランプ制御部205、あるいはパチンコ遊技機1を管理するセンター制御装置などに送信した後、一連の処理を終了する。なお、ステップS116の処理では、演出制御部203は、データの破棄と報知のいずれか一方のみを行うようにしてもよい。   In step S115, the effect control unit 203 ends the series of processes after performing the process based on the control command data 301 and the accompanying data 302. On the other hand, if the determination result in step S114 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 S116. In step S116, 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 S116, 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 selection example of the type of packet information based on the number of divisions, the type of packet information to be used is selected according to selection example 1 (here, X = 3) shown in FIG. .

まず、主制御部10は、ステップS121の処理へ進み、任意の方法で今回の個体認証処理に用いる分割数を決定した後、ステップS122へ進む。主制御部10は、例えば、今回の分割数を3と決定する。ステップS122では、主制御部10は、ROM10bの記憶領域に予め記憶されている所定のプログラムコードを3個のブロック(記憶領域)に分割し、各ブロックに記憶されているプログラムコードを用いて3つの個体検査値を生成し、これらの個体検査値に暗号化処理を施し個体認証データを生成する(ステップS122)。   First, the main control unit 10 proceeds to the process of step S121, determines the number of divisions used for the current individual authentication process by an arbitrary method, and then proceeds to step S122. For example, the main control unit 10 determines that the current number of divisions is three. In step S122, 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 S122).

次に、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS123)。具体的には、分割数(この場合「3」)をXの値(この場合「3」)で割り、その余りの値によってパケット情報を選択する。この場合、3を3で割った余りは0であるため、主制御部10は間欠パケット情報を選択する。主制御部10は、間欠パケット情報を用いて同期コードを生成するとともに、動作コードを生成する(ステップS124)。そして、主制御部10は、個体認証データ、同期コード及び動作コードを含む認証データ付制御信号を中間部20に送信する(ステップS125)。   Next, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S123). 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 an operation code while generating a synchronization code using intermittent packet information (step S124). Then, the main control unit 10 transmits an authentication data-added control signal including the individual authentication data, the synchronization code, and the operation code to the intermediate unit 20 (step S125).

続いて、中間部20における処理について説明する。中間部20は、主制御部10から送信された認証データ付制御信号を受信する(ステップS126)。そして、認証データ付制御信号から個体検査値を抽出し、個体検査値に対して結合処理を行う(ステップS127)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体認証を成功させる(ステップS128)。今回の場合は、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 S126). 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 S127). 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 makes the individual authentication of the main control unit 10 successful (step S128). In this case, when the combination process is performed using three individual test values, it matches the expected value for individual authentication (number of connections = 3).

中間部20は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS129)。具体的には、今回の場合は、結合数である3をXである3で割った余りは0であるため、間欠パケット情報であると判別する(図5参照)。続いて、中間部20は、特定したパケット情報に対応した方法で同期コードを用いた動作認証を行うとともに(ステップS130)、動作コードを用いた動作認証を行う(ステップS131)。同期コードを用いた動作認証及び動作コードを用いた動作認証の両方が成功すると、中間部20は、制御信号を正しい信号として認証し、動作の継続性を認証する(ステップS132)。ここまでが一連の選択処理の流れである。   The intermediate unit 20 identifies the type of packet information used for generating the synchronization code based on the number of combinations (step S129). 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 operation authentication using the synchronization code by a method corresponding to the specified packet information (step S130), and performs operation authentication using the operation code (step S131). If both the operation authentication using the synchronization code and the operation authentication using the operation code are successful, the intermediate unit 20 authenticates the control signal as a correct signal and authenticates the continuity of the operation (step S132). This is the flow of a series of selection processes.

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

次に、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS135)。具体的には、分割数(この場合「4」)をXの値(この場合「3」)で割る。この余りの値は1であるため、主制御部10は連続パケット情報を選択する。主制御部10は、連続パケット情報を用いて同期コードを生成するとともに動作コードを生成する(ステップS136)。そして、主制御部10は、個体認証データ、同期コード及び動作コードを含む認証データ付制御信号を中間部20に送信する(ステップS137)。   Next, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S135). 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 generates an operation code (step S136). The main control unit 10 transmits a control signal with authentication data including the individual authentication data, the synchronization code, and the operation code to the intermediate unit 20 (step S137).

続いて、中間部20は、主制御部10から送信された認証データ付制御信号を受信し(ステップS138)、個体検査値を抽出して結合処理を行う(ステップS139)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体認証を成功させる(ステップS140)。今回の場合は、4つの個体検査値を用いて結合処理を行った際に個体認証用期待値と一致する(結合数=4)。結合結果が個体認証用期待値と一致すると、周辺部は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS141)。具体的には、今回の場合は、結合数である4をXである3で割った余りは1であるため、連続パケット情報であると判別する。   Subsequently, the intermediate unit 20 receives the control signal with authentication data transmitted from the main control unit 10 (step S138), extracts the individual test value, and performs the coupling process (step S139). 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 makes the individual authentication of the main control unit 10 succeed (step S140). In this case, when the combination process is performed using the four individual test values, it matches the expected value for individual authentication (number of connections = 4). When the combined result matches the expected value for individual authentication, the peripheral unit specifies the type of packet information used for generating the synchronization code based on the number of connections (step S141). 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は、特定したパケット情報に対応した方法で同期コードを用いた動作認証を行うとともに(ステップS142)、動作コードを用いた動作認証を行う(ステップS143)。同期コードを用いた動作認証及び動作コードを用いた動作認証の双方が成功すると、中間部20は、制御信号を正しい信号として認証し、動作の継続性を認証する(ステップS144)。以上が一連の流れとなる。   Then, the intermediate unit 20 performs operation authentication using the synchronization code by a method corresponding to the specified packet information (step S142) and performs operation authentication using the operation code (step S143). If both the operation authentication using the synchronization code and the operation authentication using the operation code are successful, the intermediate unit 20 authenticates the control signal as a correct signal and authenticates the continuity of the operation (step S144). 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の個体認証データの両方を用いて認証処理を行ってもよい。   Note that the intermediate unit 20 may perform the individual authentication process using the individual authentication data at the time when a plurality of individual authentication data is received, instead of performing the individual authentication data 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」が得られる。主制御部10は、プログラムコード記憶領域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 10 has generated the individual test value using all the 12 program codes stored in the program code storage area 400, the main control unit 10 ends the generation of the individual test value.

以下、主制御部10における認証に関する処理について説明する。図18は、主制御部10による認証に関する処理の一例を示すフローチャートである。本フローチャートでは、個体検査値を生成する毎にデータ量を決定し、所定のプログラムコードを分割する場合の処理について説明する。主制御部10は通常の制御信号の送信を行いながら(ステップS151)、認証データの送信タイミングであるか否かを判断する(ステップS152)。この判断結果がNOの場合には、主制御部10は、ステップS151に戻り、再びステップS152の判断を行う。認証データの送信タイミングになると(ステップS152:YES)、主制御部10は個体検査値の生成に用いるプログラムコードのデータ量を決定する(ステップS153)。データ量の決定方法は任意である。   Hereinafter, a process related to authentication in the main control unit 10 will be described. FIG. 18 is a flowchart illustrating an example of processing related to authentication by the main control unit 10. 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 determines whether it is the transmission timing of the authentication data (step S152) while transmitting a normal control signal (step S151). If the determination result is NO, the main control unit 10 returns to step S151 and performs the determination in step S152 again. When the transmission timing of the authentication data comes (step S152: YES), the main control unit 10 determines the data amount of the program code used for generating the individual test value (step S153). The method for determining the data amount is arbitrary.

次に、主制御部10は、例えば、プログラムコード記憶領域400の先頭から、ステップS153で決定したデータ量のプログラムデータを読み出し、読み出したデータに対して半群演算を行って個体検査値を生成し(ステップS154)、さらに暗号化処理を行って個体認証データを生成する(ステップS155)。この処理により、個体検査値の生成方法(生成に用いる演算の種類など)は、予め決定されている。   Next, the main control unit 10 reads out the program data having the data amount determined in step S153 from the head of the program code storage area 400, for example, and performs a semi-group operation on the read data to generate an individual test value (Step S154), and further encryption processing is performed to generate individual authentication data (Step S155). By this processing, the method for generating the individual test value (such as the type of calculation used for generation) is determined in advance.

プログラムコード記憶領域400内の全てのデータを用いて個体検査値を生成するまで(ステップS156:NO)、主制御部10は、ステップS153に戻り、以降の処理を繰り返す。ここで、「プログラムコード記憶領域400内の全てのデータを用いて」とは、プログラムコード記憶領域400内のデータをもれなく、かつ重複なく用いて、という意味である。主制御部10は、例えばプログラムコード記憶領域400の先頭から順番にデータを読み出して個体検査値の生成に用いる。2つ目以降の個体検査値を生成する場合は、前の個体検査値の生成に用いたプログラムコードの次の領域に書き込まれたデータを、ステップS153で決定した量だけ読み出して個体検査値を生成する。なお、最後の個体検査値を生成する際は、ステップS153で決定したデータ量に足りない可能性があるが、主制御部10は、取得できる分のプログラムデータのみを用いて個体検査値を生成する。主制御部10では、プログラムコード記憶領域400内の全てのプログラムコードを用いて個体検査値を生成すると(ステップS156:YES)、生成した個体検査値の数、すなわちプログラムコードをデータ量で分割して得られたデータブロックの数が判明し、今回の分割数が判明する。なお、個体認証データの生成は、制御コマンドの送信タイミングとなる前に行っておいてもよい。   Until the individual test value is generated using all data in the program code storage area 400 (step S156: NO), the main control unit 10 returns to step S153 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 values is read by the amount determined in step S153, and the individual test values are obtained. Generate. Note that when generating the last individual test value, the data amount determined in step S153 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. In the main control unit 10, when individual test values are generated using all program codes in the program code storage area 400 (step S156: YES), the number of generated individual test values, that is, the program code is divided by the data amount. The number of data blocks obtained in this way is found, and the current number of divisions is found. The generation of the individual authentication data may be performed before the control command transmission timing.

次に、主制御部10は、ステップS154で生成した個体検査値の個数、すなわち分割数に基づいて、同期コードの生成に用いるパケット情報の種類を選択する(ステップS157)。具体的には、間欠パケット情報又は連続パケット情報のいずれかを選択する。そして、選択したパケット情報の種類に応じたパケット情報を生成して、そのパケット情報を元にして同期コードを生成する(ステップS158)。なお、ステップS157とステップS158とを入れ替えて、間欠パケット情報及び連続パケット情報の両方をそれぞれ用いて2つの同期コードを生成しておき、どちらの同期コードを利用するかを後から選択するようにしてもよい。また、主制御部10は、機能番号を用いて動作コードを生成する(ステップS159)。   Next, the main control unit 10 selects the type of packet information used for generating the synchronization code based on the number of individual test values generated in step S154, that is, the number of divisions (step S157). 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 S158). Note that step S157 and step S158 are interchanged to generate two synchronization codes using both intermittent packet information and continuous packet information, and select which synchronization code to use later. May be. Further, the main control unit 10 generates an operation code using the function number (step S159).

続いて、主制御部10は、個体認証データ、同期コード及び動作コード(動作認証データ)を制御コマンドデータに付加して(ステップS160)、中間部20に認証データ付制御信号を送信する(ステップS161)。認証データ付制御信号は連続して送信してもよいし、通常の制御信号に混ぜて送信してもよい。また、認証データの送信順序も任意である。主制御部10は、全ての個体認証データ及び動作認証データを送信するまで(ステップS162:NO)、ステップS161に戻り、認証データ付制御信号の送信を繰り返す。なお、主制御部10は、生成した認証データのうち未送信の認証データがある場合(ステップS162:NO)、新たに認証データを生成せず、必ずステップS161に戻り認証データ付制御信号の送信を行う。また、認証データを付加する制御コマンドは特に制限されず任意の制御コマンドでよい。そして、全ての認証データを送信すると(ステップS162:YES)、本フローチャートによる処理を終了する。   Subsequently, the main control unit 10 adds the individual authentication data, the synchronization code, and the operation code (operation authentication data) to the control command data (step S160), and transmits a control signal with authentication data to the intermediate unit 20 (step S160). S161). 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 S161 and repeats transmission of the control signal with authentication data until all the individual authentication data and the operation authentication data are transmitted (step S162: NO). When there is untransmitted authentication data among the generated authentication data (step S162: NO), the main control unit 10 does not newly generate authentication data, and always returns to step S161 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 S162: YES), the processing according to this flowchart is terminated.

中間部20及び演出制御部203における認証に関する処理は、実施の形態1と同様である。すなわち、中間部20は、主制御部10から送信された認証データ付制御信号から個体認証データを抽出し、個体認証データを用いて個体認証処理を行うとともに、主制御部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 the individual authentication data from the control signal with authentication data transmitted from the main control unit 10, performs the individual authentication process using the individual authentication data, and the authentication transmitted from the main control unit 10. Operation authentication data is extracted from the control signal with data, operation authentication processing is performed using the operation authentication data, intermediate processing information is generated using each authentication result, and the control signal with intermediate processing information is transmitted to the effect control unit 203. To do. 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 selection example of the type of packet information based on the number of divisions, the type of packet information to be used is selected according to selection example 1 (here, X = 3) 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となる(ステップS171)。主制御部10は、プログラムコード記憶領域400の先頭から順に4バイト、3バイト、5バイトのデータを読み出し、それぞれのデータを用いて3つの個体検査値を生成し、これらの個体検査値に暗号化処理を施し個体認証データを生成する(ステップS172)。   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 S171). 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 S172).

次に、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS173)。具体的には、分割数(この場合「3」)をXの値(この場合「3」)で割り、その余りの値によってパケット情報を選択する。この場合、3を3で割った余りは0であるため、主制御部10は間欠パケット情報を選択する。主制御部10は、間欠パケット情報を用いて同期コードを生成するとともに、動作コードを生成する(ステップS174)。そして、主制御部10は、個体認証データ、同期コード及び動作コードを含む認証データ付制御信号を中間部20に送信する(ステップS175)。   Next, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S173). 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 an operation code while generating a synchronization code using intermittent packet information (step S174). Then, the main control unit 10 transmits a control signal with authentication data including the individual authentication data, the synchronization code, and the operation code to the intermediate unit 20 (step S175).

続いて、中間部20における処理について説明する。中間部20は、主制御部10から送信された認証データ付制御信号を受信する(ステップS176)。そして、認証データ付制御信号から個体検査値を抽出し、個体検査値に対して結合処理を行う(ステップS177)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体認証を成功させる(ステップS178)。今回の場合は、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 S176). 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 S177). 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 makes the individual authentication of the main control unit 10 successful (step S178). 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は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS179)。具体的には、今回の場合は、結合数である3をXである3で割った余りは0であるため、間欠パケット情報であると判別する(図5参照)。続いて、中間部20は、特定したパケット情報に対応した方法で同期コードを用いた動作認証を行うとともに(ステップS180)、動作コードを用いた動作認証を行う(ステップS181)。同期コードを用いた動作認証及び動作コードを用いた動作認証の双方が成功すると、中間部20は、制御信号を正しい信号として認証し、動作の継続性を認証する(ステップS182)。ここまでが一連の選択処理の流れである。   The intermediate unit 20 identifies the type of packet information used for generating the synchronization code based on the number of combinations (step S179). 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 operation authentication using the synchronization code by a method corresponding to the specified packet information (step S180) and performs operation authentication using the operation code (step S181). If both the operation authentication using the synchronization code and the operation authentication using the operation code are successful, the intermediate unit 20 authenticates the control signal as a correct signal and authenticates the continuity of the operation (step S182). This is the flow of a series of selection processes.

2回目の処理の説明に移り、主制御部10は、再び任意の方法で個体検査値の生成に用いるデータ量を決定する。例えば、個体検査値の生成に用いるデータ量を、それぞれ4バイト、3バイト、2バイト、3バイトとすると、4つの個体検査値を生成することになり、分割数=4となる(ステップS183)。主制御部10は、プログラムコード記憶領域400の先頭から順に4バイト、3バイト、2バイト、3バイトのデータを読み出し、それぞれのデータを用いて4つの個体検査値を算出し、これらの個体検査値に暗号化処理を行って個体認証データを生成する(ステップS184)。   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 S183). . 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 value is subjected to encryption processing to generate individual authentication data (step S184).

また、主制御部10は、分割数に基づいて、同期コードの生成に用いるパケット情報を選択する(ステップS185)。具体的には、分割数(この場合「4」)をXの値(この場合「3」)で割る。この余りの値は1であるため、主制御部10は連続パケット情報を選択する。主制御部10は、連続パケット情報を用いて同期コードを生成するとともに動作コードを生成する(ステップS186)。そして、主制御部10は、個体認証データ、同期コード及び動作コードを含む認証データ付制御信号を中間部20に送信する(ステップS187)。   Further, the main control unit 10 selects packet information used for generating a synchronization code based on the number of divisions (step S185). 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 generates an operation code (step S186). The main control unit 10 transmits a control signal with authentication data including the individual authentication data, the synchronization code, and the operation code to the intermediate unit 20 (step S187).

続いて、中間部20は、主制御部10から送信された認証データ付制御信号を受信し(ステップS188)、個体検査値を抽出して結合処理を行う(ステップS189)。結合結果を個体認証用期待値と照合し、結合結果が個体認証用期待値と一致すると中間部20は主制御部10の個体認証を成功させる(ステップS190)。今回の場合は、4つの個体検査値を用いて結合処理を行った際に個体認証用期待値と一致する(結合数=4)。結合結果が個体認証用期待値と一致すると、周辺部は、結合数に基づいて、同期コードの生成に用いられているパケット情報の種類を特定する(ステップS191)。具体的には、今回の場合は、結合数である4をXである3で割った余りは1であるため、連続パケット情報であると判別する。   Subsequently, the intermediate unit 20 receives the control signal with authentication data transmitted from the main control unit 10 (step S188), extracts the individual test value, and performs the combining process (step S189). 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 makes the individual authentication of the main control unit 10 successful (step S190). In this case, when the combination process is performed using the four individual test values, it matches the expected value for individual authentication (number of connections = 4). When the combined result matches the expected value for individual authentication, the peripheral unit specifies the type of packet information used for generating the synchronization code based on the number of connections (step S191). 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は、特定したパケット情報に対応した方法で同期コードを用いた動作認証を行うとともに(ステップS192)、動作コードを用いた動作認証を行う(ステップS193)。同期コードを用いた動作認証及び動作コードを用いた動作認証の双方が成功すると、中間部20は、制御信号を正しい信号として認証し、動作の継続性を認証する(ステップS194)。以上が一連の流れとなる。   Then, the intermediate unit 20 performs operation authentication using the synchronization code by a method corresponding to the specified packet information (step S192), and performs operation authentication using the operation code (step S193). When both the operation authentication using the synchronization code and the operation authentication using the operation code are successful, the intermediate unit 20 authenticates the control signal as a correct signal and authenticates the continuity of the operation (step S194). The above is a series of flows.

以上説明したように、本実施の形態2にかかるパチンコ遊技機1は、主制御部10において、分割数そのものを決定するのではなく、個体認証データの生成に用いるデータ量を決定する。このため、分割数が不正に窃取される可能性を低減することができる。本実施の形態2においては、本実施の形態1により得られる効果も当然に得られる。   As described above, in the pachinko gaming machine 1 according to the second embodiment, the main control unit 10 does not determine the number of divisions itself, but determines the amount of data used for generating 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は中間部20と演出制御部203とを1個のソフトウェアで構成したので、実施の形態1及び2において得られる効果の他に、さらに以下に示す効果が得られる。   Since the pachinko gaming machine 1 according to the third embodiment has the intermediate unit 20 and the effect control unit 203 configured by a single piece of software, in addition to the effects obtained in the first and second embodiments, the following effects can be obtained. can get.

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との間に中間部20を設けてもよい。この場合、賞球制御部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 portion 20 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に係るパチンコ遊技機1において、主制御部10は、同期コードに含まれるパケット情報として連続パケット情報及び間欠パケット情報の2種類のパケット情報から選択するとしたが、これに限定されず、複数種類のパケット情報から選択してもよい。パケット情報の種類は、連続して生成されたパケット情報間の相関条件の値(例えば、パケット情報の基本値の差分値)によって決まる。複数種類のパケット情報は、それぞれ異なる相関関係を有する異なる種類のパケット情報である。この場合、主制御部10は、分割数(データブロックの数)に基づいて複数種類のパケット情報から一つを選択し、選択したパケット情報を用いて同期コードを生成する。中間部20は、結合数に基づいて、複数種類のパケット情報から今回の同期コードの生成に用いられたパケット情報の種類を特定する。中間部20は、同期コードに含まれているパケット情報が、特定したパケット情報の種類に対応した相関関係を満たしているか否かに基づいて同期コードを用いた動作認証を行う。   Further, in the pachinko gaming machine 1 according to the first to third embodiments, the main control unit 10 selects the packet information included in the synchronization code from two types of packet information, continuous packet information and intermittent packet information. However, the packet information may be selected from a plurality of 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 operation authentication using the synchronization code based on whether or not the packet information included in the synchronization code satisfies the correlation corresponding to the specified type of packet information.

また、実施の形態1〜3に係るパチンコ遊技機1において、個体認証データの生成を、動作認証データを構成する同期コードや動作コードの一部又は全部を用いて行ってもよい。具体的には、主制御部10は、個体認証データの生成より前に、動作認証データを生成する。次に、主制御部10は、複数の個体検査値を生成し、生成した複数の個体検査値に暗号化処理を施して個体認証データを生成する際に、生成された複数の個体検査値の内のいずれか1つと動作認証データを構成する同期コードや動作コードの一部又は全部とを併せて暗号化処理を施して個体認証データを生成する。個体認証データの生成に用いる動作認証データは所定の決定方法で決定される。この場合、中間部20は、受信した動作認証データから個体認証データの生成に用いられた動作認証データを主制御部10と同じ所定の決定方法で決定し、決定した動作認証データと記憶手段11に記憶されている所定のデータとを併せて半群演算を行った値を個体認証用検査値として個体認証を行えばよい。このように、動作認証データを構成する同期コードや動作コードの一部又は全部を用いて個体認証データを生成することにより、不正な制御部によって動作認証データを再利用された場合であっても、個体認証処理の際に、動作認証データの整合がとれず、不正を検知することができる。また、誤動作により動作認証データが変更された場合であっても、認証は成功しないため、上記雑音等に起因する誤動作を防止することもできる。   Moreover, in the pachinko gaming machine 1 according to the first to third embodiments, the individual authentication data may be generated using part or all of the synchronization code and the operation code constituting 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. Individual authentication data is generated by performing encryption processing together with any one of them and a synchronization code or a part or all of the operation code constituting the operation 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. As described above, even when the operation authentication data is reused by an unauthorized control unit by generating individual authentication data using a part or all of the synchronization code and operation code constituting the operation authentication data. In the individual authentication process, the operation authentication data cannot be matched and 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に係るパチンコ遊技機1において、動作認証データを構成する同期コードや動作コードに暗号化処理を施す際に個体認証データの一部又は全部と併せて行ってもよい。具体的には、主制御部10は、同期コード及び動作コードの暗号化処理より前に、個体認証データを生成する。次に、主制御部10は、同期コード及び動作コードの暗号化処理を施す際に、同期コード及び/又は動作コードと個体認証データの一部又は全部とを併せて暗号化処理を施す。暗号化処理に用いる個体認証データは所定の決定方法で決定される。この場合、中間部20は、受信した個体認証データから暗号化処理に用いられた個体認証データを主制御部10と同じ所定の決定方法で決定し、決定した個体認証データを用いて同期コード及び動作コードを抽出して動作認証を行えばよい。このように、個体認証データの一部又は全部を用いて同期コードや動作コードに暗号化処理を施すことにより、不正な制御部によって個体認証データを再利用された場合であっても、動作認証処理の際に、個体認証データの整合がとれず、不正を検知することができる。また、誤動作により個体認証データが変更された場合であっても、認証は成功しないため、上記雑音等に起因する誤動作を防止することもできる。   Further, in the pachinko gaming machine 1 according to the first to third embodiments, when the encryption process is performed on the synchronization code or the operation code constituting 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 individual authentication data prior to the encryption code and operation code encryption processing. Next, when performing the encryption process of the synchronization code and the operation code, the main control unit 10 performs the encryption process by combining the synchronization code and / or the operation code with 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 operation 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 operation code using part or all of the individual authentication data, the operation authentication is performed. 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に係るパチンコ遊技機1は、制御コマンドを送信する際に、個体認証データ又は動作認証データの少なくともいずれか一方を制御コマンドに付加すると説明したが、本発明に係る遊技機はこれに限定されない。主制御部10が認証データ付制御信号を任意のタイミングで出力してもよい。例えば、所定時間毎に認証データ付制御信号を出力してもよい。   Further, the pachinko gaming machine 1 according to the first to third embodiments has been described as adding at least one of the individual authentication data and the operation authentication data to the control command when transmitting the control command. The gaming 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 to which the individual authentication data and the operation authentication data are added, the main control unit 10 has a control signal with individual authentication data in which only the individual authentication data is added to the control command data and accompanying data, A control signal with operation authentication data in which only operation authentication data is added to the control command data and accompanying data may be transmitted to each intermediate unit. Alternatively, the synchronization code and the operation code constituting the 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に係るパチンコ遊技機1では、所定のタイミング、例えば、所定の制御コマンドを送信する場合にのみ個体認証データ及び動作認証データを付加するようにしてもよい。この場合、主制御部10は、制御コマンドが所定の制御コマンドか否かを判断し、所定の制御コマンドの場合に個体認証データ及び動作認証データを生成する。主制御部10は、生成した個体認証データ及び動作認証データを制御コマンドに付加した認証データ付制御信号を中間部20に送信する。なお、主制御部10は、生成した個体認証データ及び動作認証データの全てを送信するまでは、所定のタイミング(例えば、所定の制御コマンドの送信タイミング)になっても新たに個体認証データ及び動作認証データを生成せずに認証データ付制御信号の送信を行う。このように、所定のタイミングのときにのみ個体認証データ及び動作認証データを生成することにより、認証データの生成回数を制限することができ、認証処理による処理負荷を低減することができる。   In the pachinko gaming machine 1 according to the first to third embodiments, the individual authentication data and the operation authentication data may be added only when a predetermined control command is transmitted, for example, a predetermined control command. 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に係るパチンコ遊技機1では、所定のタイミング、例えば、所定の制御コマンドを送信する場合にのみ個体認証データ、同期コード又は動作コードの少なくともいずれかを制御コマンドに付加して送信するようにしてもよい。この場合、主制御部10は、制御コマンドが所定の制御コマンドか否かを判断し、所定の制御コマンドのときにのみ個体認証データ、同期コード又は動作コードの少なくともいずれかを制御コマンドに付加した認証データ付制御信号を中間部20に送信し、所定の制御コマンド以外の制御コマンドのときは通常の制御信号を中間部20に送信する。また、中間部20は、制御コマンドが所定の制御コマンドか否かを判断するか、若しくは制御コマンドに個体認証データ、同期コード又は動作コードの少なくともいずれか一方が付加されているか否かを判断する。中間部20は、通常の制御信号が送信されてきた場合は通常の制御信号をそのまま演出制御部203に送信し、演出制御部201は、受信した通常の制御信号に基づいて処理を行う。   Further, in the pachinko gaming machine 1 according to the first to third embodiments, at least one of individual authentication data, a synchronization code, and an operation code is used as a control command only when a predetermined control command is transmitted, for example, a predetermined control command. You may make it add and transmit. 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 operation 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, a synchronization code, and an operation code 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 validity 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の処理負荷が認証処理によって増大する割合を抑えることができる。所定の制御コマンドが大当たりコマンドである場合、大当たりコマンドは大当たり中のラウンドごとに送信されるため、大当たり状態にある一定期間中に複数回の認証処理を行うこととなり、認証処理の確度を向上させることができる。   Further, only when the main control unit 10 transmits a predetermined control command to the intermediate unit 20, when at least one of the individual authentication data 303 or the operation authentication data is added to the control command data 301, an authentication process is performed. Is only at the time of transmission of control command data of a predetermined control command, it is possible to suppress 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. 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に係るパチンコ遊技機1は、所定の半群演算を用いて個体検査値を生成し、所定の個体認証用期待値を用いて個体認証処理を行うとしたが、これに限定されない。主制御部10は、複数の半群演算を予め用意しておき、今回の分割数に基づいて、複数の半群演算の中から次回の個体検査値の生成に用いる1個の半群演算を選択するように構成し、中間部20は、主制御部10における個体検査値生成方法の切り替えに対応して、結合数に基づいて個体認証用期待値を切り替えるように構成してもよい。具体的には、主制御部10は、例えば、今回の分割数が奇数の場合は次回の半群演算を今回用いた半群演算と異なるものを選択し、今回の分割数が偶数の場合は次回の半群演算を今回用いた半群演算と同一のものを選択する。また、中間部20は、分割数及び結合数が奇数の場合には個体検査値生成方法及び個体認証用期待値を切り替え、分割数及び結合数が偶数の場合には前回用いた個体検査値生成方法及び個体認証用期待値を継続して使用する。この場合、初回の半群演算については、主制御部10と中間部20との間で同一の方式を利用するものと予め設定しておく。分割数は主制御部10のみが知る値であり、中間部20は個体認証が成功した時に初めてその値を結合数として知ることができる。よって、不正行為者は分割数及び結合数を知ることができず、個体検査値生成方法の切り替えタイミングを知ることができない。これにより、不正行為者によって個体検査値が不正に生成されることを防止することができる。   In addition, the pachinko gaming machine 1 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 this. 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. Thereby, it is possible to prevent an individual inspection value from being illegally generated by an unauthorized person.

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

また、実施の形態1〜3に係るパチンコ遊技機1において、動作コードとして機能番号を用いる場合、機能番号を主制御部10によって実行されるプログラムの所定の機能を実行するための処理毎に実行される順番に従って連続して増加又は減少する番号を重複なく割り当てておいてもよい。このように機能番号を割り当てることにより、中間部20は、受信した動作認証データから動作コードを復元し、受信した順に動作コードの値が連続しているか否かを判定することで動作認証を行うことができる。すなわち、中間部20は、動作認証を行うために、予め動作コード用期待値を記憶しておいたり、動作コードと動作コード用期待値とを用いて照合処理を行ったりする必要がない。これにより、中間部20の動作認証による処理負荷や、中間部20の記憶領域を占める動作コードによる動作認証に関するデータ量を低減することができる。   In the pachinko gaming machine 1 according to the first to third embodiments, when a function number is used as an operation code, the function number is executed for each process for executing a predetermined function of a program executed by the main control unit 10. You may assign | assign the number which increases or decreases continuously according to the order performed without duplication. By assigning the function number in this way, the intermediate unit 20 restores the operation code from the received operation authentication data, and performs operation authentication by determining whether or not the values of the operation code are consecutive in the order received. be able to. That is, it is not necessary for the intermediate unit 20 to store the operation code expected value in advance or perform the collation process using the operation code and the operation code expected value in order to perform the operation authentication. Thereby, it is possible to reduce the processing load due to the operation authentication of the intermediate unit 20 and the data amount related to the operation authentication by the operation code occupying the storage area of the intermediate unit 20.

また、実施の形態1〜3に係るパチンコ遊技機1において、動作コードとして機能番号及び認証回数を例示したが、動作コードとして制御コマンドの送信回数を用いてもよい。この場合、中間部20は、受信した制御コマンドの数、すなわち、制御コマンドの受信回数を動作認証用の期待値として動作認証処理を行えばよい。主制御部10は、制御コマンドの送信タイミングになったら、RAM10cの動作コード用メモリに記憶されている制御コマンドの送信回数の値を+1して更新し、更新した送信回数を動作コードとして取得する。主制御部10は、取得した動作コードに所定の演算や暗号化処理を施して動作認証データを生成し、生成した動作認証データを上記制御コマンドに付加して中間部20に送信する。中間部20は、動作認証データを付加された制御コマンドを受信したら、動作認証データを抽出するとともにRAM20cに記憶されている動作コード用期待値の値を+1して更新し、抽出した動作認証データと更新した動作コード用期待値とを用いて動作認証を行う。 In the pachinko gaming machine 1 according to the first to third embodiments, the function number and the number of authentications are exemplified as the operation code, but the number of transmissions of the control command may be used as the operation code. In this case, the intermediate unit 20 may perform the operation authentication process using the number of received control commands, that is, the number of receptions of the control command as an expected value for operation authentication. When the control command transmission timing comes, the main control unit 10 updates the value of the control command transmission count stored in the operation code memory of the RAM 10c by +1, and acquires the updated transmission count as the operation code. . The main control unit 10 performs operation and encryption processing on the acquired operation code to generate operation authentication data, adds the generated operation authentication data to the control command, and transmits it to the intermediate unit 20. When the intermediate unit 20 receives the control command to which the operation authentication data is added, the intermediate unit 20 extracts the operation authentication data, updates the operation code expected value stored in the RAM 20c by +1, and extracts the extracted operation authentication data. And perform the operation authentication using the updated expected value for the operation code.

また、動作コードとして主制御部10が生成した個体検査値の数(すなわち分割数の総数)を用いてもよい。この場合、中間部20は、主制御部10から送信された個体認証データの数(すなわち、結合数の総数)を動作コード用期待値として認証処理を行えばよい。主制御部10は、動作コードの更新タイミングになったら、動作コードとしてRAM10cに記憶されている個体検査値の数に今回新たに生成した個体検査値の数を加算して個体検査値の数(動作コード)を更新する。中間部20は、動作コード用期待値の更新タイミングになったら、RAM20cに記憶されている動作コード用期待値の値に今回の個体認証処理の対象となった個体検査値の数(すなわち、今回の結合数)を加算して動作コード用期待値を更新する。   Further, the number of individual test values generated by the main control unit 10 (that is, the total number of divisions) may be used as the operation code. In this case, the intermediate unit 20 may perform authentication processing using the number of pieces of individual authentication data transmitted from the main control unit 10 (that is, the total number of connections) as the expected value for operation code. When the operation code update timing comes, the main control unit 10 adds the number of individual test values newly generated this time to the number of individual test values stored in the RAM 10c as the operation code (the number of individual test values ( Update the operation code). When it is time to update the expected value for operation code, the intermediate unit 20 adds the number of individual test values subjected to the current individual authentication process to the value of the expected value for operation code stored in the RAM 20c (that is, this time The expected value for the operation code is updated.

また、上記各実施の形態では、本発明をパチンコ遊技機に適用する例を示したが、これに限定されず、本発明は、雀球遊技機、アレンジボール等のパチンコ遊技機以外の弾球遊技機、スロットマシン等の回胴式遊技機などの他の遊技機にも適用することができる。これらの遊技機においても、上記各実施の形態と同様に構成することにより、上記各実施の形態と同様の効果を得ることができる。
また、上記各実施の形態は、その目的及び構成等に特に矛盾や問題がない限り、互いの技術を流用することができる。
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 memory | storage means 12 Determination means 13 Individual test value generation means 14 Synchronization code generation means 15 Operation code generation means 20 Intermediate part 21 Operation 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 Operation Code 305 Intermediate Process Information 310 Control Data with Authentication Data 321, 322 and 323 Control Signal with Intermediate Process Information

Claims (26)

制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機であって、
前記主制御部は、
所定のデータが記憶されているデータ記憶手段と、前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす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 storing predetermined data and the predetermined data stored in the data storage means are divided, and a binary operation satisfying a coupling law is performed using each of the divided data. Individual test value generating means for generating a plurality of individual test values;
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;
An operation code generating means for generating one or a plurality of operation codes using a value related to the operation order of the main control unit each time the main control unit performs a specific process;
The individual test value, the synchronization code and the operation code are added to the control command and transmitted,
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 validity 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 operation verification means for verifying the operation sequence of the main control unit using the operation code and authenticating the continuity of the operation of the main control unit,
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 operation code generation means encrypts the operation code with a third encryption method,
The individual authentication unit authenticates the validity 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. And
The operation authentication unit decrypts the synchronization code encrypted by the synchronization code generation unit by a decoding method corresponding to the second encryption method, and the operation code encrypted by the operation code generation unit The gaming machine according to claim 1, wherein the continuity of operation 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 when authenticating the next individual of the main control unit is authenticated 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 operation code generation means encrypts the operation code with a third encryption method,
The individual authentication unit authenticates the validity 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. And
The operation authentication unit decrypts the synchronization code encrypted by the synchronization code generation unit by a decoding method corresponding to the second encryption method, and the operation code encrypted by the operation code generation unit The gaming machine according to claim 3 or 4, wherein the continuity of operation 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, based on the division number, changes the encryption method of the individual test value, the synchronization code, the operation code,
The intermediate unit, 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 individual test value, the synchronization code, the operation code The game machine according to claim 5, wherein a decryption method corresponding to the encryption method 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 8. The gaming machine according to claim 7, wherein a binary operation to be used when authenticating an individual of the main control unit next time 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 operation code generation means encrypts the operation code with a third encryption method,
The individual authentication unit authenticates the validity 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. And
The operation authentication unit decrypts the synchronization code encrypted by the synchronization code generation unit by a decoding method corresponding to the second encryption method, and the operation code encrypted by the operation code generation unit The gaming machine according to claim 7 or 8, wherein the continuity of operation 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, based on the number of blocks of the predetermined data obtained by dividing the predetermined data by the data amount, the encryption method of the individual test value, the synchronization code, the operation code Change
The intermediate unit, 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 individual test value, the synchronization code, the operation code The game machine according to claim 9, wherein a decryption method corresponding to the encryption method 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 or 10. 前記動作コード生成手段は、前記動作コードが付加される前記制御コマンドを示すデータ又は該データの付随データの少なくともいずれか一方のデータと、前記動作コードとを併せたデータを暗号化することを特徴とする請求項2、5、6、9又は10のいずれかに記載の遊技機。   The operation code generation means encrypts data combining at least one of data indicating the control command to which the operation code is added or data accompanying the data, and the operation code. A gaming machine according to any one of claims 2, 5, 6, 9 or 10. 前記同期コード生成手段は、前記主制御部の動作に伴って連続して生成される前記パケット情報と、前記主制御部の動作に伴って特定の間隔ごとに生成される前記パケット情報とのいずれかを用いて前記同期コードを生成することを特徴とする請求項1乃至13のいずれかに記載の遊技機。   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 specific intervals with the operation of the main control unit. The game machine according to claim 1, wherein the synchronization code is generated by using. 前記動作順序に関する値は、前記個体認証値生成手段による前記複数の個体検査値の生成処理が行われた回数、又は前記動作認証値生成手段による前記動作コードの生成処理が行われた回数であることを特徴とする請求項1乃至14のいずれかに記載の遊技機。   The value related to the operation order is the number of times the plurality of individual test value generation processing is performed by the individual authentication value generation unit, or the number of times the operation code generation processing is performed by the operation authentication value generation unit. The gaming machine according to claim 1, wherein the gaming machine is any one of the above. 前記動作順序に関する値は、前記主制御部によって実行されたプログラムにおいて、所定の機能を実行するための処理ごとに割り振られた番号群であることを特徴とする請求項1乃至14のいずれかに記載の遊技機。   15. The value relating to the operation order is a number group assigned for each process for executing a predetermined function in a program executed by the main control unit. The gaming machine described. 前記動作コード生成手段は、前記分割された各データの数に基づいて、前記動作コードの生成に用いられる前記動作順序に関する値の種類を変更し、
前記動作認証手段は、前記個体認証手段による前記主制御部の個体の認証が成功した際に前記2項演算の対象となった前記個体検査値の数に基づいて、前記動作コードを用いた前記主制御部の動作順序の検証に用いる前記動作コードの期待値を、前記動作順序に関する値の前記種類に対応して変更する
ことを特徴とする請求項1乃至16のいずれかに記載の遊技機。
The operation code generation means changes the type of the value related to the operation order used for generating the operation code based on the number of each divided data,
The operation authentication unit uses the operation 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 gaming machine according to any one of claims 1 to 16, wherein an expected value of the operation code used for verifying an operation sequence of the main control unit is changed in accordance with the type of the value related to the operation sequence. .
前記所定のデータは、前記主制御部が実行する処理を表す所定のプログラムコードを含むことを特徴とする請求項1乃至17のいずれかに記載の遊技機。   18. The gaming machine according to claim 1, wherein the predetermined data includes a predetermined program code representing processing executed by the main control unit. 前記所定の制御コマンドは、
大当たり中の各ラウンドに対応する大当たりコマンド、
大当たり状態の処理を開始させるための大当たり開始コマンド、
大当たり状態の処理を終了させるための大当たり終了コマンド、
前記周辺部に大当たり前のリーチ状態の処理を実行させるための大当たりリーチコマンド、
前記周辺部に電源投入時の処理を実行させるための電源投入コマンド、
前記周辺部に非遊技状態におけるデモ表示を実行させるための客待ちデモコマンド、
前記周辺部に非遊技状態におけるデモ表示を停止させるための客待ちデモ停止コマンド、
前記周辺部に抽選時の抽選結果がはずれの場合の処理を実行させるためのはずれコマンド、
小当たり中の各ラウンドに対応する小当たりコマンドのいずれかであることを特徴とする請求項1乃至18のいずれかに記載の遊技機。
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 18, wherein the gaming machine is any one of the small hit commands corresponding to each round in the small hit.
前記周辺部は、前記認証結果が前記主制御部の認証不成功を示す場合には、その旨を報知する報知信号を出力することを特徴とする請求項1乃至19のいずれかに記載の遊技機。   The game according to any one of claims 1 to 19, 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,
One type of packet based on the number of each divided data out of 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 A synchronization code generating means for selecting 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;
An operation code generating means for generating one or a plurality of operation codes using a value related to the operation order of the main control unit each time the main control unit performs a specific process;
The main control unit, wherein the individual test value, the synchronization code, and the operation code are added to a control command and transmitted to the intermediate unit.
請求項21に記載の主制御部が搭載されていることを特徴とする遊技機の主制御基板。   A main control board of a gaming machine, wherein the main control unit according to claim 21 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 for storing operation values obtained by performing a binary operation satisfying a coupling law using predetermined data stored in the main control unit;
Using the individual test value that is generated by performing a binary operation satisfying the coupling law using each data obtained by dividing the predetermined data by the main control unit, and added to the control command and transmitted from the main control unit An individual authentication unit that performs the two-term operation and authenticates the validity of the individual of the main control unit based on whether or not the calculation result matches the calculated value stored in the calculated value storage unit When,
A plurality of packets generated at each of a plurality of generation timings according to one type of 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 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 from among one or a plurality of synchronization codes generated using information The one type of packet information is identified based on the one or more of the plurality of synchronization information used for generating the one or more synchronization codes transmitted from the main control unit. One or more operations that are generated using values related to the operation order of the main control unit each time the packet information satisfies a predetermined correlation and the main control unit performs a specific process. By the over de determines whether shows the operation sequence of the main control unit, and a behavior authentication means for authenticating the continuity of the operation of the main control unit,
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.
請求項23に記載の中間部及び前記周辺部が搭載されていることを特徴とする遊技機の周辺基板。   24. A peripheral board of a gaming machine, wherein the intermediate part according to claim 23 and the peripheral part are mounted. 主制御部と、中間部と、周辺部とを備える遊技機で用いられる認証方法であって、
前記主制御部が、データ記憶手段に記憶されている所定のデータを分割し、分割された各データを用いて結合法則を満たす2項演算を行って一又は複数の個体検査値を生成する第1のステップと、
前記主制御部が、該主制御部の動作に伴って生成される複数のパケット情報の生成タイミングの相関関係で分類される複数種類のパケット情報の中から、分割された各データの数に基づいて一つのパケット情報の種類を選択し、選択された種類に応じた複数の生成タイミングのそれぞれでパケット情報を生成し、生成された複数のパケット情報を用いて一又は複数の同期コードを生成する第2のステップと、
前記主制御部が特定の処理を行う毎に、前記主制御部の動作順序に関する値を用いて一又は複数の動作コードを生成する第3のステップと、
前記主制御部が、前記個体検査値、前記同期コード及び前記動作コードを制御コマンドに付加して前記中間部に送信する第4のステップと、
前記中間部が、前記制御コマンドに付加された前記個体検査値を用いて前記2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記2項演算を行って得られた演算値とが一致するか否かに基づいて前記主制御部の個体の正当性を認証する第5のステップと、
前記中間部が、前記主制御部の個体の認証が成功した際の前記2項演算の対象となった前記個体検査値の数に基づいて前記同期コードの生成に用いられた前記パケット情報の種類を特定し、特定された種類の前記パケット情報であって前記主制御部から送信されてきた前記一又は複数の同期コードの生成に用いられた前記複数のパケット情報が所定の相関関係を満たしており、かつ、前記動作コードを用いて前記主制御部の動作順序を検証して、前記主制御部の動作の継続性を認証する第6のステップと、
前記中間部が、前記第5のステップ、前記第6のステップで得られた認証結果を制御コマンドに付加して前記周辺部に送信する第7のステップと
を有することを特徴とする認証方法。
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 predetermined data stored in the data storage means, performs binary operation satisfying a coupling rule using each divided data, and generates one or a plurality of individual test values 1 step,
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 A second step;
A third step of generating one or a plurality of operation codes using values related to the operation sequence of the main control unit each time the main control unit performs a specific process;
A fourth step in which the main control unit adds the individual test value, the synchronization code, and the operation 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 validity of the individual of the main control unit based on whether or not the calculated value obtained by performing the calculation matches;
The type of packet information used for generation of 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 verifying the operation sequence of the main control unit using the operation code, and authenticating the continuity of the operation of the main control unit,
And a seventh step in which the intermediate part adds the authentication result obtained in the fifth step and the sixth step to a control command and transmits the result to the peripheral part.
制御コマンドを出力する主制御部と、中間部と、前記制御コマンドに応じた処理を行う周辺部とを備える遊技機に搭載されるコンピュータに、
前記主制御部が、データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす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,
Each time the main control unit performs a specific process, an operation code generation function that generates one or a plurality of operation codes using values related to the operation order of the main control unit;
The main control unit adds the individual test value, the synchronization code, and the operation code to a control command and transmits to the intermediate unit a 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 legitimacy 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, the operation authentication function for verifying the operation sequence of the main control unit using the operation code and authenticating the continuity of the operation of the main control unit,
The intermediate unit realizes an authentication result transmission function for adding the authentication result of the validity of the individual of the main control unit or the authentication result of the continuity of the operation of the main control unit to the control command and transmitting the control command to the peripheral unit. A computer-readable authentication program.
JP2010016851A 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 JP5002660B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010016851A JP5002660B2 (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
JP2010016851A JP5002660B2 (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
JP2011152339A JP2011152339A (en) 2011-08-11
JP5002660B2 true JP5002660B2 (en) 2012-08-15

Family

ID=44538731

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010016851A Expired - Fee Related JP5002660B2 (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) JP5002660B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
JP2011152339A (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
JP5322902B2 (en) Game machine and authentication method
JP5182723B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5322903B2 (en) Game machine and authentication method
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
JP5182719B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5182718B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5182717B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5182721B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5182716B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5114623B2 (en) Game machine, intermediate 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
JP5002662B2 (en) Game machine, main control unit, main control board, rear stage 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
JP5322905B2 (en) Game machine and authentication method
JP5322904B2 (en) Game machine and authentication method
JP5002661B2 (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

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

Ref document number: 5002660

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees