JP2011110360A - Game machine, main control part, main control board, subsequent stage part, peripheral board, authentication method and authentication program - Google Patents

Game machine, main control part, main control board, subsequent stage part, peripheral board, authentication method and authentication program Download PDF

Info

Publication number
JP2011110360A
JP2011110360A JP2009272016A JP2009272016A JP2011110360A JP 2011110360 A JP2011110360 A JP 2011110360A JP 2009272016 A JP2009272016 A JP 2009272016A JP 2009272016 A JP2009272016 A JP 2009272016A JP 2011110360 A JP2011110360 A JP 2011110360A
Authority
JP
Japan
Prior art keywords
control unit
authentication
main control
data
unit
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.)
Granted
Application number
JP2009272016A
Other languages
Japanese (ja)
Other versions
JP5322903B2 (en
Inventor
Naoyuki Watanabe
直幸 渡辺
Hiroshi Mizukami
浩 水上
Motonari Yokoshima
元成 横島
Shizuka Cho
静 張
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.)
Trinity Security Systems Inc
Kyoraku Sangyo Co Ltd
Original Assignee
Trinity Security Systems Inc
Kyoraku Sangyo 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 Trinity Security Systems Inc, Kyoraku Sangyo Co Ltd filed Critical Trinity Security Systems Inc
Priority to JP2009272016A priority Critical patent/JP5322903B2/en
Publication of JP2011110360A publication Critical patent/JP2011110360A/en
Application granted granted Critical
Publication of JP5322903B2 publication Critical patent/JP5322903B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To reduce the processing load of a CPU of a peripheral part by detecting a fraud by replacement or the like of a regular main control board of a game machine with a fraudulent main control board and malfunction of the game machine. <P>SOLUTION: A main control part 10 of a Pachinko game machine 1 includes an inspection value production means 13 which executes dyadic operations using data acquired by dividing prescribed data stored in a data storage 11 to produce a plurality of inspection values; adds the plurality of inspection values to a prescribed control command; and transmits it to a subsequent stage part 20 via a peripheral part 30. The subsequent stage part 20 has an authenticator which authenticates the main control part 10 based on whether or not operation values stored in an operation value storage 21 which stores a plurality of operation values acquired by executing a plurality of dyadic operations using the prescribed data stored in the data storage 11, are accorded with operation results acquired by executing the diadic operations using the plurality of inspection values added to the prescribed control command. <P>COPYRIGHT: (C)2011,JPO&INPIT

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, a rear stage provided on each gaming machine, a peripheral board on which the rear stage 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 the above problem is further increased by adding an 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. are diversified, 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, a rear stage part, a peripheral board, an authentication method, and an authentication program that can reduce the processing load.

上記課題を解決するために本発明は、制御コマンドを出力する主制御部と、前記制御コマンドに応じた処理を行う周辺部と、後段部とを備え、前記主制御部は、所定のデータが記憶されているデータ記憶手段と、前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成する検査値生成手段とを備え、前記複数の検査値を所定の制御コマンドに付加して前記周辺部に送信し、前記周辺部は、前記所定の制御コマンドに基づいて所定の処理を行うとともに、前記所定の制御コマンドに付加された前記複数の検査値を前記後段部に送信し、前記後段部は、前記データ記憶手段に記憶されている前記所定のデータを用いて前記一又は複数の2項演算をそれぞれ行って得られた複数の演算値が記憶されている演算値記憶手段と、前記複数の検査値を用いて前記主制御部と同じ2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記2項演算に対応する前記演算値とが一致するか否かに基づいて前記主制御部を認証する認証手段とを備え、前記認証手段が得た認証結果を前記周辺部に送信することを特徴とする。   In order to solve the above-described problems, the present invention includes a main control unit that outputs a control command, a peripheral unit that performs processing according to the control command, and a rear-stage unit. One of one or a plurality of binary operations that divides the stored data storage means and the predetermined data stored in the data storage means and satisfies the combining law using each of the divided data And a test value generating means for generating a plurality of test values by performing the two-term operation of the above, and adding the plurality of test values to a predetermined control command and transmitting the same to the peripheral part. A predetermined process is performed based on the control command, and the plurality of inspection values added to the predetermined control command are transmitted to the subsequent stage unit, and the subsequent stage unit is stored in the data storage unit. Using predetermined data A calculation value storage means in which a plurality of calculation values obtained by performing each of the one or a plurality of binomial calculations is stored, and the same binomial calculation as the main control unit is performed using the plurality of inspection values, Authentication means for authenticating the main control unit based on whether or not the calculation result matches the calculation value corresponding to the two-term calculation stored in the calculation value storage means; The authentication result obtained by the means is transmitted to the peripheral part.

また、上記課題を解決するために本発明は、周辺部を介して接続された後段部によって認証され、前記周辺部に所定の処理を行わせるための制御コマンドを出力する遊技機の主制御部であって、所定のデータを記憶するデータ記憶手段と、前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成する検査値生成手段とを備え、前記複数の検査値を所定の制御コマンドに付加して前記周辺部を介して前記後段部に送信することを特徴とする。   Further, in order to solve the above problems, the present invention provides a main control unit of a gaming machine that outputs a control command that is authenticated by a subsequent stage unit connected via a peripheral unit and causes the peripheral unit to perform a predetermined process. The data storage means for storing predetermined data, and the predetermined data stored in the data storage means are divided, and one or a plurality of two terms satisfying a combining law using each of the divided data Inspection value generating means for generating a plurality of inspection values by performing one binary operation in the operation, and adding the plurality of inspection values to a predetermined control command and passing through the peripheral portion to the subsequent stage It transmits to a part.

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

さらにまた、上記課題を解決するために本発明は、主制御部と周辺部とを備えた遊技機に設けられた後段部であって、前記主制御部に記憶されている所定のデータを用いて結合法則を満たす一又は複数の2項演算をそれぞれ行って得られた複数の演算値が記憶されている演算値記憶手段と、前記主制御部で前記所定のデータを分割した各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って生成した複数の検査値が所定の制御コマンドに付加されて前記周辺部を介して送信された場合に、前記複数の検査値を用いて前記2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記2項演算に対応する前記演算値とが一致するか否かに基づいて前記主制御部を認証する認証手段とを備え、前記認証手段が得た認証結果を前記周辺部に送信することを特徴とする。   Furthermore, in order to solve the above-described problems, the present invention is a rear stage 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. Using a calculation value storage means storing a plurality of calculation values obtained by performing one or a plurality of binary operations satisfying the combining law, and each data obtained by dividing the predetermined data by the main control unit When a plurality of inspection values generated by performing one binary operation among one or a plurality of binary operations satisfying the combining law are added to a predetermined control command and transmitted via the peripheral portion The binary operation is performed using the plurality of inspection values, and based on whether the operation result matches the operation value corresponding to the binary operation stored in the operation value storage means. Authentication means for authenticating the main control unit, The authentication result is testimony means to obtain and transmits to the peripheral unit.

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

さらにまた、上記課題を解決するために本発明は、主制御部と、周辺部と、後段部とを備える遊技機で用いられる認証方法であって、前記主制御部が出力する制御コマンドが所定の制御コマンドである場合に、前記主制御部が、データ記憶手段に記憶されている所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成し、前記複数の検査値を所定の制御コマンドに付加して前記周辺部を介して前記後段部に送信する第1のステップと、前記後段部が、前記所定の制御コマンドに付加された前記複数の検査値を用いて前記主制御部と同じ2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記一又は複数の2項演算をそれぞれ行って得られた複数の演算値のうち、前記2項演算に対応する前記演算値が一致するか否かに基づいて前記主制御部を認証し、得られた認証結果を前記周辺部に送信する第2のステップとを有することを特徴とする。   Furthermore, in order to solve the above-described problem, the present invention provides an authentication method used in a gaming machine including a main control unit, a peripheral unit, and a rear stage unit, and a control command output by the main control unit is predetermined. The main control unit divides predetermined data stored in the data storage means, and uses one of the divided data to satisfy a combining law. Performing a single binary operation to generate a plurality of inspection values, adding the plurality of inspection values to a predetermined control command and transmitting the plurality of inspection values to the subsequent stage through the peripheral portion; and The subsequent stage unit performs the same binary operation as the main control unit using the plurality of inspection values added to the predetermined control command, and the calculation result and the predetermined value stored in the data storage unit Using one or more data Out of a plurality of operation values obtained by performing each term operation, the main control unit is authenticated based on whether or not the operation values corresponding to the two-term operation match, and the obtained authentication result is And a second step of transmitting to the peripheral portion.

さらにまた、上記課題を解決するために本発明のコンピュータ読み取り可能なプログラムは、制御コマンドを出力する主制御部と、前記制御コマンドに応じた処理を行う周辺部と、後段部とを備える遊技機に搭載されるコンピュータに、前記主制御部が出力する制御コマンドが所定の制御コマンドである場合には、前記主制御部が、データ記憶手段に記憶されている所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成し、前記複数の検査値を所定の制御コマンドに付加して前記周辺部を介して前記後段部に送信する検査値生成機能と、前記後段部が、前記所定の制御コマンドに付加された前記複数の検査値を用いて前記主制御部と同じ2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記一又は複数の2項演算をそれぞれ行って得られた複数の演算値のうち、前記2項演算に対応する前記演算値が一致するか否かに基づいて前記主制御部を認証し、得られた認証結果を前記周辺部に送信する認証機能と、前記周辺部が、前記認証結果に応じて処理を行う処理機能とを実現させることを特徴とする。   Furthermore, in order to solve the above-described problem, a computer-readable program according to the present invention includes a main control unit that outputs a control command, a peripheral unit that performs processing according to the control command, and a subsequent unit. When the control command output from the main control unit is a predetermined control command, the main control unit divides the predetermined data stored in the data storage means and Using each data, one binary operation in one or a plurality of binary operations satisfying the combining law is performed to generate a plurality of inspection values, and the plurality of inspection values are added to a predetermined control command. A test value generation function to be transmitted to the subsequent stage through the peripheral part, and the latter stage is the same binary operation as the main control unit using the plurality of test values added to the predetermined control command. The line Corresponding to the two-term operation among a plurality of operation values obtained by performing the one or plural binary operations using the calculation result and the predetermined data stored in the data storage means. An authentication function for authenticating the main control unit based on whether the calculated values match, and transmitting the obtained authentication result to the peripheral unit; and the peripheral unit performs processing according to the authentication result. And a processing function to be performed.

本発明によれば、遊技機の正規の主制御基板と不正な主制御基板との交換等による不正行為や遊技機の誤動作を検知でき、周辺部の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項演算を行って得られた演算値と、所定の制御コマンドに付加された検査値を用いて2項演算を行って得られた演算結果とが一致するか否かに基づいて主制御部を認証する。これにより、上記不正行為や遊技機の誤動作を検知することができ、遊技者に不当に多くの遊技媒体が払い出され、遊技店が多大な損害を被ることを防止できる。   Specifically, according to the present invention, the main control unit adds the inspection value obtained by the binary operation using the predetermined data stored in the data storage means by the inspection value generating means to the control command. Then, the latter part is transmitted to the rear part via the peripheral part, and the latter part uses a predetermined data stored in the data storage means of the main control part to perform a binary operation and a predetermined value. The main control unit is authenticated based on whether or not the calculation result obtained by performing the binary operation using the inspection value added to the control command 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 subsequent stage 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 latter part for executing the authentication process and the peripheral part for performing the predetermined process are separate and independent, 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 subsequent stage without changing the peripheral part for performing the predetermined processing. The authentication algorithm can be changed by man-hours.

本発明の実施の形態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 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 flowchart which shows the process including the command transmission to the production | presentation control 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 production | presentation control 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 which concerns on 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 back | latter stage 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 back | latter stage part (authenticator) which comprise the pachinko game machine which concerns on Embodiment 1 of this invention respectively perform. 本発明の実施の形態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 back | latter stage part (authenticator) which comprise the pachinko game machine which concerns on Embodiment 2 of this invention each performs.

<実施の形態1>
以下、図面を参照して本発明を実施するための形態である実施の形態1について説明する。
図1は、本発明の実施の形態1に係る遊技機1の構成を示すブロック図である。この遊技機1は、主制御部10と、後段部20と、周辺部30とを備えている。主制御部10は、データ記憶手段11と、決定手段12と、検査値生成手段13とを備えている。データ記憶手段11には、主制御部10で用いられるプログラム等のデータが記憶されている。決定手段12は、データ記憶手段11に記憶されているデータのうち所定のデータを分割する数である分割数を決定する。ここで、所定のデータとは、データ記憶手段11に記憶されているデータの全部又は一部である。検査値生成手段13は、主制御部10の正当性を認証するために用いる検査値を生成する。具体的には、検査値生成手段13は、結合法則を満たす複数の2項演算(例えば、加算、乗算、排他的論理和)の中から1個の2項演算を選択し、データ記憶手段11に記憶されている所定のデータを決定手段12が決定した分割数で分割し、分割された各データに対して予め選択した2項演算を行って、分割数分(分割数と同数)の検査値を生成する。そして、主制御部10は、生成された分割数分の検査値に暗号化処理を施して得られた分割数分の認証データのそれぞれを、出力する制御コマンドに付加して周辺部30を介して後段部20に送信する。
<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. The gaming machine 1 includes a main control unit 10, a rear stage unit 20, and a peripheral unit 30. The main control unit 10 includes data storage means 11, determination means 12, and inspection value generation means 13. 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 inspection value generation unit 13 generates an inspection value used for authenticating the validity of the main control unit 10. Specifically, the test value generation unit 13 selects one binary operation from a plurality of binary operations (for example, addition, multiplication, exclusive OR) satisfying the combining law, and the data storage unit 11 The predetermined data stored in is divided by the number of divisions determined by the determination means 12, and a binary operation selected in advance is performed on each of the divided data to check the number of divisions (the same number as the number of divisions). Generate a value. Then, the main control unit 10 adds the authentication data for the number of divisions obtained by performing the encryption process on the inspection values for the generated number of divisions to the control command to be output, and passes through the peripheral unit 30. To the subsequent stage 20.

一方、後段部20は、演算値記憶手段21と、認証手段22とを備えている。演算値記憶手段21には、主制御部10を構成するデータ記憶手段11に記憶されている所定のデータを用いて複数の2項演算をそれぞれ行って得られた複数の演算値(以下、期待値という)が予め記憶されている。認証手段22は、上記結合法則を満たす複数の2項演算の中から1個の2項演算を予め選択し、制御コマンドに付加されて送信された検査値に対して予め選択した2項演算を行い、この演算結果と、演算値記憶手段21に記憶されている期待値とが一致するか否かに基づいて主制御部10を認証する。そして、後段部20は、認証手段22が得た認証結果を周辺部30に送信する。これにより、周辺部30は、認証結果に応じた処理を行う。   On the other hand, the rear stage unit 20 includes a calculation value storage unit 21 and an authentication unit 22. The calculated value storage means 21 includes a plurality of calculated values (hereinafter, expected values) obtained by performing a plurality of binary calculations using predetermined data stored in the data storage means 11 constituting the main control unit 10. Value) is stored in advance. The authentication means 22 preselects one binary operation from a plurality of binary operations that satisfy the above-mentioned combination rule, and performs a preselected binary operation on the inspection value added to the control command and transmitted. And the main control unit 10 is authenticated based on whether or not this calculation result matches the expected value stored in the calculation value storage means 21. Then, the post-stage unit 20 transmits the authentication result obtained by the authentication unit 22 to the peripheral unit 30. Thereby, the peripheral part 30 performs the process according to an authentication result.

図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 on the lower right side of the frame member 110 to operate the launching unit 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 receive the game ball or is difficult to receive. 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 to open and close the character's buttocks 116 and move the buttocks 116 along the vertical direction as the character blinks. 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 illustrated in FIG. 3, the control unit 200 includes a main control unit 10, a rear stage 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]〜[5]の通りであるが、[3]に示す暗号化処理については必要に応じて実行される。   In addition to the basic operation control related to the game of the pachinko gaming machine 1 as outlined above, the main control unit 10 is a process related to authentication of the main control unit 10 for preventing fraud, which is a feature of the first embodiment. Means for executing. The means for executing the processing relating to the authentication is realized by the CPU 10a executing a program (program code) stored in advance in the ROM 10b. The processing related to this authentication is as described in [1] to [5] below, but the encryption processing shown in [3] is executed as necessary.

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

[2]検査値の生成
次に、主制御部10は、ROM10b内の所定のプログラムコードが予め記憶されている記憶領域を[1]の処理において決定された分割数で分割する。そして、主制御部10は、ROM10bの分割された各記憶領域に記憶されているプログラムコードに対して2項演算を行って、主制御部10を認証するための分割数分の検査値を生成する。なお、検査値の生成方式(例えば、検査値の生成に用いる結合法則を満たす2項演算の種類等)については、前回の認証データ付制御信号送信時に決定されている。
[2] Generation of Inspection Value Next, the main control unit 10 divides the storage area in the ROM 10b in which a predetermined program code 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, and generates test values for the number of divisions for authenticating the main control unit 10. To do. Note that the test value generation method (for example, the type of binary operation that satisfies the combining rule used for the test value generation) is determined at the time of the previous transmission of the control signal with authentication data.

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

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

主制御部10は、今回の分割数に基づいて、複数の半群演算の中から次回の検査値の生成に用いる1個の半群演算を選択するように構成することができる。具体的には、主制御部10は、例えば、今回の分割数が奇数の場合は次回の半群演算を今回用いた半群演算と異なるものを選択し、今回の分割数が偶数の場合は次回の半群演算を今回用いた半群演算と同一のものを選択する。なお、初回の半群演算については、主制御部10と後段部20との間で同一の方式を利用するものと予め設定しておく。   The main control unit 10 can be configured to select one half-group operation to be used for generating the next inspection value from a plurality of half-group operations based on the current number of divisions. 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. Note that the first half-group operation is set in advance to use the same method between the main control unit 10 and the subsequent stage unit 20.

各検査値の生成方法について、図4を参照して説明する。
図4は、主制御部10における検査値の生成方法を模式的に示す説明図である。検査値は、主制御部10がROM10bに予め記憶されている所定のデータを用いて生成する。より詳細には、主制御部10は、ROM10bの所定の記憶領域を任意の分割数で分割した上で、分割した記憶領域にそれぞれ記憶されたプログラムコードに対して結合法則を満たす2項演算(半群演算)を行って検査値を算出する。半群演算としては、上記のように、例えば、加算、乗算や排他的論理和演算などが挙げられる。
A method of generating each inspection value will be described with reference to FIG.
FIG. 4 is an explanatory diagram schematically showing a method for generating inspection values in the main control unit 10. The inspection 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 ( A 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 inspection value generation)
An example of the calculation for inspection 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 a 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 inspection value “0x0A” is obtained by addition. Similarly, three program codes “0x05”, “0x06”, “0x07” stored in the second block 400b are added, and the second inspection value “0x12” is stored in the third block 400c. Program codes “0x08”, “0x09”, “0x0A”, “0x0B”, and “0x0C” are added to obtain a third inspection value “0x32”, respectively.

また、例えば、半群演算として式(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 inspection value“ 0x04 ”. Similarly, exclusive OR operation is performed on the three program codes “0x05”, “0x06”, “0x07” stored in the second block 400b, and the second check value “0x04” is stored in the third block 400c. A third check value “0x0C” is obtained by performing an exclusive OR operation on the five program codes “0x08”, “0x09”, “0x0A”, “0x0B”, and “0x0C”.

本実施の形態1では、主制御部10は、後述するように、出力する制御コマンドが所定の制御コマンド(例えば、大当たりコマンド)である場合に、主制御部10を認証するためのデータを生成し、生成したデータを制御コマンドに付加して演出制御部203を介して後段部20に送信する。ここでは、制御コマンドに付加される主制御部10を認証するためのデータを総称して「認証データ」と呼ぶことにする。認証データは、各検査値、又はこれら検査値に対して暗号化処理を施すことにより得られたデータである。以下、本実施形態では、認証データは、検査値を暗号化して得られたデータとして説明するが、本発明はこれに限定されず、検査値そのものを認証データとして認証に関する処理を行ってもよい。この場合、主制御部において検査値に暗号化処理を施す必要がなく、後段部で検査値を抽出する際に認証データの復号化処理を施す必要がないため、認証に関する処理を簡易化することができ、処理負荷の増大を抑制することができる。   In the first embodiment, as will be described later, the main control unit 10 generates data for authenticating the main control unit 10 when the output control command is a predetermined control command (for example, a jackpot command). Then, the generated data is added to the control command and transmitted to the rear stage unit 20 via the effect control unit 203. Here, data for authenticating the main control unit 10 added to the control command will be collectively referred to as “authentication data”. The authentication data is data obtained by performing encryption processing on each inspection value or these inspection values. Hereinafter, in the present embodiment, the authentication data is described as data obtained by encrypting the inspection value. However, the present invention is not limited to this, and the processing related to authentication may be performed using the inspection value itself as authentication data. . In this case, it is not necessary to perform encryption processing on the inspection value in the main control unit, and it is not necessary to perform authentication data decryption processing when extracting the inspection value in the subsequent stage, thereby simplifying processing related to authentication. And increase in processing load can be suppressed.

ここで、所定の制御コマンドとは、パチンコ遊技機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に示す検査値生成手段13に対応させることができる。   The means for executing the process for generating the inspection value can correspond to, for example, the inspection value generation means 13 shown in FIG.

[3]認証データの生成
主制御部10は、上記[2]の処理で生成した各検査値に対して暗号化処理を施し、制御コマンド(制御コマンドデータ及び付随データ)に付加する認証データを生成する。ここで、暗号化方式としては、例えば、シーザー暗号、単一換字暗号、エニグマなど、比較的簡易なものを採用することができる。以下において用いる暗号化方式についても同様である。シーザー暗号は、メッセージ(平文)を構成する文字を一定の文字数だけずらすことによって暗号化する暗号化方式である。単一換字暗号は、平文を構成する文字を別の文字に変換することによって暗号化する暗号化方式である。エニグマは、鍵暗号鍵を用いたエニグマの設定、エニグマを用いた通信鍵の暗号化、通信鍵を用いたエニグマの再設定、平文の暗号化及び、暗号化された通信鍵と暗号化された平文の結合による通信文の生成という過程を経る暗号化方式である。
[3] Generation of Authentication Data The main control unit 10 performs an encryption process on each inspection value generated in the process [2] and adds authentication data to be added to the control command (control command data and accompanying data). Generate. 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において、各検査値に対して暗号化処理を施すことにより得た各認証データを、演出制御部203を介して後段部20に送信した場合には、何らの処理も施していない各検査値を、そのまま演出制御部203を介して後段部20に送信する場合と比較して、各検査値を不正行為者により分析される可能性を低減することができる。   In the main control unit 10, when each authentication data obtained by performing encryption processing on each inspection value is transmitted to the subsequent stage unit 20 via the effect control unit 203, no processing is performed. Compared with the case where each inspection value is transmitted as it is to the subsequent stage unit 20 via the effect control unit 203, the possibility that each inspection value is analyzed by an unauthorized person can be reduced.

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

なお、上記暗号化処理に対して、更に所定の加工処理を加えてもよい。所定の加工処理としては、例えば、暗号化処理が施された各検査値を用いた四則演算又は論理演算等を行って所定のデータ長を有する演算データを得る処理、これらの四則演算又は論理演算等により得られた演算データのビット配列を並び変える処理、上記演算データのビットをシフト又はロテイト(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 each inspection value subjected to encryption processing, these four arithmetic operations or logical operations A process for rearranging the bit arrangement of the operation data obtained by the above, a process for shifting or rotating the bits of the operation data, and a plurality of bits constituting each inspection value subjected to the encryption process For example, a process of generating one piece of data in accordance with the above 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 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 of authentication data generation)
An example of authentication data generation calculation is shown below.
An example of generating authentication data from the first inspection value “0x0A” shown in FIG. 4 will be described. As the encryption process, a process of adding control command data to the inspection value and then subtracting “0x03” from the obtained data is employed. The main control unit 10 generates the authentication data by performing the above-described encryption processing on the first inspection value.

この認証データを付加する制御コマンドデータ及び付随データの値を仮に「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 this 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 inspection value “0x0A”, “0xF8” is obtained. Next, by subtracting “0x03” from this “0xF8”, the value “0xF5” of the authentication data is obtained.
Similarly, if the authentication data is generated from the second inspection value “0x12” recorded in the program code storage area 400 shown in FIG. 4, the authentication data is generated from the value “0xF2” and the third inspection value “0x32”. 0x1D ".

なお、認証データとともに送信される制御コマンドデータ又はその付随データの少なくともいずれか一方のデータと検査値とを併せたデータに暗号化処理を施すことにより認証データを生成してもよい。また、認証データには、認証データとともに送信される制御コマンドデータや付随データに関するデータを含ませてもよい。制御コマンドデータや付随データに関するデータとは、制御コマンドデータや付随データに対して上記加工処理や、ハッシュ関数による演算やパリティチェック、巡回冗長検査(Cyclic Redundancy Check:CRC)、チェックサムなどの演算を行って得られた値などである。   Note that the authentication data may be generated by performing an encryption process on the data that includes at least one of the control command data transmitted along with the authentication data or the accompanying data and the inspection value. Further, the authentication data may include data related to control command data and accompanying data transmitted together with the authentication 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 authentication data using control command data and accompanying data that are sent together with the authentication data, even if the authentication data is reused by an unauthorized control unit, the authentication data and the control command cannot be matched. , Fraud can be detected. Further, even if the control command data is changed due to a malfunction, authentication is not successful, so that 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 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 inspection value, and generates authentication data. Processing may be performed.

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

[4]制御信号へのデータ付加
主制御部10は、演出制御部203を介して後段部20に送信される制御コマンドデータ及び付随データへ、認証データを付加して認証データ付制御信号を生成する。
[4] Addition of data to control signal The main control unit 10 generates control signal with authentication data by adding authentication data to control command data and accompanying data transmitted to the rear stage unit 20 via the effect control unit 203. To do.

[5]制御信号の送信
主制御部10は、認証データ付制御信号を演出制御部203を介して後段部20に送信する。
[5] Transmission of Control Signal The main control unit 10 transmits a control signal with authentication data to the rear stage unit 20 via the effect control unit 203.

ここで、主制御部10が演出制御部203を介して後段部20に送信する制御信号のデータフォーマットの一例について、図5に示す模式図を参照して説明する。図5(1)に示すように、主制御部10が出力する通常の制御信号300には、制御コマンドデータ301及び付随データ302が含まれている。制御コマンドデータ301は、制御コマンド固有のデータである。また、付随データ302は、制御コマンドデータ301に付随するデータであり、例えば、現在の遊技状態を示すデータなど制御コマンドデータ301に対応する処理を実行するために必要な制御データである。   Here, an example of a data format of a control signal transmitted from the main control unit 10 to the rear stage unit 20 via the effect control unit 203 will be described with reference to a schematic diagram shown in FIG. As shown in FIG. 5 (1), the normal control signal 300 output from the main control unit 10 includes 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は、演出制御部203を介して後段部20に認証データを送信する場合、図5(2)に示すように、制御コマンドデータ301及び付随データ302に加え、認証データ303を含んだ認証データ付制御信号310を生成し、出力する。なお、図5には示していないが、通常の制御信号300及び認証データ付制御信号310には、一般的なデータ通信で伝送される制御信号と同様に、BCC(Block Check Character)等が含まれている場合もある。BCCは、データ伝送の過程で発生するデータ誤りなどをチェックするために、伝送ブロックごとに付加される誤り検出符号である。後述する認証データ付制御信号311、312についても同様である。   On the other hand, when the main control unit 10 transmits the authentication data to the subsequent stage unit 20 via the effect control unit 203, the authentication data 303 is added to the control command data 301 and the accompanying data 302 as shown in FIG. Is generated and output. Although not shown in FIG. 5, the normal control signal 300 and the control signal with authentication data 310 include BCC (Block Check Character) and the like, as with the control signal 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 control signals with authentication data 311 and 312 described later.

なお、認証データ付制御信号は、図5(2)に示すような制御コマンドデータ301、付随データ302、認証データ303の順で配置された認証データ付制御信号310に限らず、例えば、図5(3)に示すように、認証データ303を制御信号の先頭に設けた認証データ付制御信号311としたり、図5(4)に示すように、制御コマンドデータ301と付随データ302との間に認証データ303を挿入した認証データ付制御信号312としたりしてもよい。また、制御コマンドデータ301及び付随データ302とは別個に認証データ303を出力することとしてもよい。例えば、大当たりコマンドデータを含む制御信号を送信した後、3回目の制御信号送信時に認証データ303を付加する、などとしてもよい。   The control signal with authentication data is not limited to the control signal with authentication data 310 arranged in the order of the control command data 301, the accompanying data 302, and the authentication data 303 as shown in FIG. As shown in (3), the authentication data 303 is a control signal with authentication data 311 provided at the head of the control signal, or between the control command data 301 and the accompanying data 302 as shown in FIG. Alternatively, the control signal 312 with authentication data into which the authentication data 303 is inserted may be used. Further, the authentication data 303 may be output separately from the control command data 301 and the accompanying data 302. For example, after transmitting a control signal including jackpot command data, the authentication data 303 may be added at the time of the third control signal transmission.

このように、認証データ303を制御信号に含めることによって、認証データ303単体で送信する場合と比較して、主制御部10と演出制御部203との間の通信負荷の増大を抑えることができる。また、認証データ303を制御信号に含めることによって、認証データ303を単体で送信する場合と比較して、通信データ中から認証データ303が抽出され、解析されてしまう危険性を低減することができる。   Thus, by including the authentication data 303 in the control signal, an increase in communication load between the main control unit 10 and the effect control unit 203 can be suppressed as compared with the case where the authentication data 303 is transmitted alone. . In addition, by including the authentication data 303 in the control signal, it is possible to reduce the risk that the authentication data 303 is extracted from the communication data and analyzed as compared with the case where the authentication data 303 is transmitted alone. .

(後段部)
後段部20は、CPU20aと、ROM20bと、RAM20c等を備えている。CPU20aは、ROM20bに予め記憶されているプログラム(プログラムコード)に基づき処理(以下、中間処理という)を実行する。ROM20bには、CPU20aが中間処理を実行するためのプログラムコードと、主制御部10を構成するROM10bに予め記憶されている分割対象の所定のプログラムコードを用いて、複数の半群演算をそれぞれ行って得られた複数の期待値とが予め記憶されている。ROM20bの記憶領域のうち、上記複数の期待値が予め記憶されている記憶領域は、例えば、図1に示す演算値記憶手段21に対応させることができる。RAM20cは、CPU20aが中間処理を実行する際に行う演算のワークエリアとして機能する。
(Rear part)
The rear stage 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 obtained in this manner are stored in advance. Among the storage areas of the ROM 20b, the storage area in which the plurality of expected values 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]〜[5]の通りである。
[1]認証データ付制御信号の受信
後段部20は、主制御部10から演出制御部203を介して、制御コマンドデータ301、付随データ302及び認証データ303からなる認証データ付制御信号を受信する。
In the first embodiment, the intermediate processing is as follows [1] to [5].
[1] Reception of control signal with authentication data The post-stage unit 20 receives a control signal with authentication data including the control command data 301, accompanying data 302, and authentication data 303 from the main control unit 10 through the effect control unit 203. .

[2]検査値抽出
後段部20は、認証データ付制御信号から認証データ303を抽出する。次に後段部20は、認証データ生成時に使用した暗号化処理に対応する復号化処理を抽出した認証データに施し、検査値を抽出する。後段部20は、抽出した検査値をRAM20cの所定の記憶領域(以下、検査値用メモリという)に記憶する。
[2] Examination Value Extraction The post-stage unit 20 extracts the authentication data 303 from the control signal with authentication data. Next, the post-stage unit 20 applies a decryption process corresponding to the encryption process used at the time of generating the authentication data to the extracted authentication data, and extracts a check value. The rear stage unit 20 stores the extracted inspection value in a predetermined storage area of the RAM 20c (hereinafter referred to as inspection value memory).

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

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

{4}{3}の処理で認証に成功した場合、後段部20は、認証が成功したことを示す認証結果を生成する。
{5}{3}の処理で認証に成功した場合、後段部20は、結合処理の対象となった検査値の数(以下、結合数という)が所定の値か否かを判断する。所定の値とは、例えば、奇数(又は偶数)などである。
{5−1}結合数が所定の値である場合、後段部20は、複数の半群演算の中から、次回の認証に用いる半群演算の種類を選択するとともに、検査値の期待値を変更した後、上記検査値用メモリ内に記憶されているすべての検査値を消去する。
{5−2}結合数が所定の値でない場合、後段部20は、認証に用いる半群演算の種類及び検査値の期待値を変更せずに、上記検査値用メモリ内に記憶されているすべての検査値を消去する。
If the authentication is successful in the processing of {4} {3}, the subsequent stage unit 20 generates an authentication result indicating that the authentication is successful.
When the authentication is successful in the process {5} {3}, the post-stage unit 20 determines whether or not the number of inspection values (hereinafter referred to as the combined number) subjected to the combining process is a predetermined value. The predetermined value is, for example, an odd number (or even number).
When the number of {5-1} bonds is a predetermined value, the rear stage unit 20 selects the type of the semi-group operation used for the next authentication from the plurality of semi-group operations, and sets the expected value of the test value. After the change, all inspection values stored in the inspection value memory are erased.
If the number of {5-2} combinations is not a predetermined value, the post-stage unit 20 is stored in the inspection value memory without changing the type of semi-group operation used for authentication and the expected value of the inspection value. Erase all inspection values.

このように、後段部20は、主制御部10に対する認証が成功した際に選択した半群演算の対象となった検査値の数である結合数に基づいて、複数の半群演算から次回の認証に用いる半群演算を選択する。主制御部10に対する認証が成功した際に選択した半群演算の対象となった検査値の数である結合数は、分割数と一致する。このため、主制御部10の検査値生成手段13と、認証手段22とにおいて同じルールで半群演算を選択することにより、検査値の生成に用いる半群演算を変更しながら認証処理を継続させることができる。   As described above, the subsequent stage unit 20 performs the next half-group operation from the next half-group operation based on the number of inspections that is the target of the half-group operation selected when the authentication to the main control unit 10 is successful. Select the semi-group operation used for authentication. The number of joins, which is the number of inspection values that are the targets of the semigroup operation selected when the authentication to the main control unit 10 is successful, matches the number of divisions. For this reason, by selecting the semi-group operation with the same rule in the inspection value generation unit 13 and the authentication unit 22 of the main control unit 10, the authentication process is continued while changing the semi-group operation used for generating the inspection value. be able to.

分割数は主制御部10だけが認識している値であるので、不正行為者は、検査値の生成に用いる半群演算の切り替えタイミングを知ることができない。これにより、主制御部10と演出制御部203との間に不正な制御部が挿入されたことを検知することができ、不正な制御部による不正な処理を防止することができる。   Since the number of divisions is a value recognized only by the main control unit 10, the fraudster cannot know the switching timing of the half-group operation used for generating the test value. Thereby, it can be detected that an unauthorized control unit is inserted between the main control unit 10 and the effect control unit 203, and unauthorized processing by the unauthorized control unit can be prevented.

{6}{3}の処理で認証が成功しなかった場合、後段部20は、主制御部10から受信した認証データの数が所定数以上か否かを判断する。所定数は、今回の結合数(分割数)以上かつプログラムコード記憶領域400(図4参照)に記憶されているプログラムコードを分割可能な数(最大分割数)以下の範囲内の任意の数である。
{6−1}受信した認証データの数が所定数未満の場合、後段部20は、まだ認証が行える段階ではないと判断して認証結果に換えて、認証中途データとして、例えば、認証結果のデータ長と同一のデータ長を有する任意の値(例えば、オール0又はオール1)を生成する。
{6−2}受信した認証データの数が所定数以上の場合、後段部20は、認証が成功しなかったと判断して、認証が成功しなかったことを示す認証結果を生成する。
If authentication is not successful in the processing of {6} {3}, the post-stage unit 20 determines whether or not the number of 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.
{6-1} If the number of received authentication data is less than the predetermined number, the post-stage unit 20 determines that the authentication is not yet possible, and instead of the authentication result, as the authentication halfway data, for example, the authentication result An arbitrary value (for example, all 0 or all 1) having the same data length as the data length is generated.
{6-2} If the number of received authentication data is greater than or equal to the predetermined number, the rear stage unit 20 determines that the authentication has not succeeded, and generates an authentication result indicating that the authentication has not succeeded.

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

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

後段部20は、主制御部10における検査値生成方法の切り替えに対応して、結合数に基づいて期待値を切り替える。例えば、分割数及び結合数が奇数の場合には検査値生成方法及び期待値を切り替え、分割数及び結合数が偶数の場合には前回用いた検査値生成方法及び期待値を継続して使用する。分割数は主制御部10のみが知る値であり、後段部20は認証が成功した時に初めてその値を結合数として知ることができる。よって、不正行為者は分割数及び結合数を知ることができず、検査値生成方法の切り替えタイミングを知ることができない。これにより、不正行為者によって検査値が不正に生成されることを防止することができる。   The rear stage unit 20 switches the expected value based on the number of connections in response to the switching of the test value generation method in the main control unit 10. For example, when the number of divisions and the number of connections are odd, the inspection value generation method and the expected value are switched, and when the number of divisions and the number of connections is an even number, the previously used inspection value generation method and the expected value are continuously used. . The number of divisions is a value that only the main control unit 10 knows, and the subsequent unit 20 can know the value as the number of connections only when the 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 test value generation method. Thereby, it is possible to prevent the inspection value from being illegally generated by an unauthorized person.

[4]認証不成功信号の生成
後段部20は、[3]の処理で生成した認証結果が、認証が成功しなかったことを示す結果であった場合、認証不成功の結果に基づいて認証不成功信号を生成する。このとき後段部20は、認証不成功信号に対して主制御部10で認証データを生成した際と同様に暗号化処理を施してもよい。
[4] Generation of Authentication Unsuccessful Signal When the authentication result generated in the process of [3] is a result indicating that the authentication has not been successful, the latter stage unit 20 authenticates based on the result of the authentication failure. Generate a failure signal. At this time, the post-stage unit 20 may perform an encryption process on the authentication unsuccessful signal in the same manner as when the main control unit 10 generates the authentication data.

[5]認証不成功信号の送信
後段部20は、認証不成功信号を演出制御部203に送信する。
なお、これらの中間処理([1]〜[5]の処理)の詳細については、後述する。
上記認証処理を実行する手段は、例えば、図1に示す認証手段22に対応させることができる。
[5] Transmission of Authentication Unsuccessful Signal The subsequent stage unit 20 transmits an authentication unsuccessful signal to the effect control unit 203.
Details of these intermediate processes (the processes [1] to [5]) will be described later.
For example, the means for executing the authentication process can correspond to the authentication means 22 shown in FIG.

(演出制御部)
演出制御部203は、CPU203aと、ROM203bと、RAM203cと、VRAM203d等を備えている。CPU203aは、主に遊技中における演出を制御し、ROM203bに予め記憶されているプログラム(プログラムコード)に基づき、主制御部10より送信される制御コマンドに基づいて演出の抽選及び演出処理を実行する。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 effect during the game, and executes the effect lottery and effect processing based on the control command transmitted from the main control unit 10 based on the program (program code) stored in advance in the ROM 203b. . 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より送信される演出に係る制御コマンドを受信すると、この制御コマンドに基づいて抽選を行い、演出背景パターン、リーチ演出パターン、登場キャラクター等の演出を確定するとともに、当該確定した演出の制御を行う。
また、演出制御部203の出力側には、図柄表示部104が接続されており、抽選によって決定された内容のとおりに、図柄表示部104に、例えば、図柄変動の演出表示を展開する。
When the effect control unit 203 receives a control command related to the effect transmitted from the main control unit 10, the effect control unit 203 performs a lottery based on the control command and finalizes effects such as an effect background pattern, a reach effect pattern, and an appearance character. At the same time, 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は、以上概略説明した処理の他に、主制御部10や後段部20から送信された制御信号の種類に応じて、ROM203bに予め記憶されているプログラムに基づき、以下の[1]〜[4]に示す認証に関する処理を実行する。   In addition to the processing outlined above, the effect control unit 203 is based on a program stored in advance in the ROM 203b in accordance with the type of control signal transmitted from the main control unit 10 or the subsequent stage unit 20 as follows. The processing related to authentication shown in [1] to [4] is executed.

[1]制御信号の受信
演出制御部203は、主制御部10から送信された制御信号が、制御コマンドデータ301及び付随データ302のみからなる通常の制御信号か、制御コマンドデータ301及び付随データ302に認証データ303が付加された認証データ付制御信号かを判断する。
[2]制御コマンドに基づく処理の実行
演出制御部203は、主制御部10から送信された制御信号が、通常の制御信号の場合には、上記のように制御コマンドに基づく処理を行う。
[3]後段部への認証データ付制御信号の送信
演出制御部203は、主制御部10から送信された制御信号が、認証データ付制御信号の場合には、認証データ付制御信号を後段部20にそのまま送信する。なお、認証データ付制御信号から認証データ303を抽出し、認証データだけを後段部20に送信してもよい。
[4]認証不成功信号に基づく処理
演出制御部203は、後段部20から認証不成功信号を受信した場合、認証が不成功の旨を報知する。
なお、これら認証に関する処理の詳細については、後述する。
[1] Reception of Control Signal The effect control unit 203 determines whether the control signal transmitted from the main control unit 10 is a normal control signal including only the control command data 301 and the accompanying data 302, or the control command data 301 and the accompanying data 302. It is determined whether the control signal has authentication data 303 to which authentication data 303 is added.
[2] Execution of processing based on control command When the control signal transmitted from the main control unit 10 is a normal control signal, the effect control unit 203 performs processing based on the control command as described above.
[3] Transmission of control signal with authentication data to subsequent stage When the control signal transmitted from the main control unit 10 is a control signal with authentication data, the effect control unit 203 transmits the control signal with authentication data to the subsequent stage. 20 is transmitted as it is. Note that the authentication data 303 may be extracted from the control signal with authentication data, and only the authentication data may be transmitted to the subsequent stage unit 20.
[4] Processing Based on Authentication Unsuccessful Signal When the production control unit 203 receives an authentication unsuccessful signal from the subsequent unit 20, the effect control unit 203 notifies that the authentication has failed.
The details of the processing related to authentication will be described later.

演出制御部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とは、それぞれ異なるプリント基板(主制御基板、中間基板、演出制御基板、賞球制御基板、ランプ制御基板)に搭載されている。これらのうち、中間基板、演出制御基板、賞球制御基板及びランプ制御基板の総称として、「周辺基板」を用いる。なお、例えば、後段部20は、演出制御部203と同一のプリント基板上に搭載することもできる。また、賞球制御部204は、主制御部10と同一のプリント基板上に搭載することもできる。   The main control unit 10, the rear stage unit 20, the stage control unit 203, the prize ball control unit 204, and the lamp control unit 205 having the above-described configuration are respectively different printed boards (main control board, intermediate board, stage control board, (Prize ball control board, 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 rear stage 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の動作について、図面を参照して説明する。なお、以下の説明において、「制御コマンドを送信する」とは、「当該制御コマンドを示すデータ(制御コマンドデータ)を含む制御信号を送信する」という意味であり、例えば、図5に示す認証データや付随データの有無は考慮しないものとする。   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 indicating the control command (control command data)”. For example, the authentication data shown in FIG. And the presence or absence of accompanying data are not considered.

主制御部10による演出制御部203及び賞球制御部204への制御コマンド送信を含む処理について、図6及び図7に示すフローチャートを参照して説明する。
まず、主制御部10は、パチンコ遊技機1の電源投入に伴う初期設定処理を実行(ステップS1)した後、ステップS2へ進む。なお、パチンコ遊技機1に電源が投入された際には、周辺基板が主制御基板から送信される制御コマンドを確実に取り込むために、周辺基板が立ち上がってRAM領域の初期化処理を行い、待機状態となった後、主制御基板が立ち上がるように構成されている。主制御部10は、初期設定処理として、例えば、スタックポインタに予め決められた所定値を設定するとともに、後段部20、演出制御部203及び賞球制御部204が待機状態になることを待つために、所定時間(例えば、約1秒間)だけ待機する。
Processing including control command transmission by the main control unit 10 to the effect control unit 203 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 power is turned on to the pachinko gaming machine 1, the peripheral board starts up and initializes the RAM area in order to reliably capture the control command transmitted from the main control board. After entering the state, the main control board is configured to stand up. For example, the main control unit 10 sets a predetermined value in the stack pointer as an initial setting process, and waits for the rear stage unit 20, the production 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は、演出制御部203及び賞球制御部204に電源投入コマンドを送信した後、ステップS3へ進む。電源投入コマンドを受信すると、演出制御部203は、当該電源投入コマンドを後段部20及びランプ制御部205に送信する。電源投入コマンドを受信すると、演出制御部203は、図柄表示部104やランプ制御部205のそれぞれに対して電源投入時の演出用の制御コマンド、具体的には、遊技機が非遊技状態における客待ちのデモ画面を表示するための客待ちデモコマンド、あるいは、ランプの点灯等を行うための制御コマンドを送信する。   In step S2, the main control unit 10 transmits a power-on command to the effect control unit 203 and the prize ball control unit 204, and then proceeds to step S3. When receiving the power-on command, the effect control unit 203 transmits the power-on command to the rear stage unit 20 and the lamp control unit 205. 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が演出制御部203、賞球制御部204、演出制御部203を介して後段部20、及びランプ制御部205に送信する制御コマンドであって、電源投入後の立ち上げ時における遊技を制御するための初期制御情報、例えば、制御モード、バックアップデータ等を送信するための制御コマンド、あるいは初期演出表示の制御を行うための制御コマンド、例えば、客待ちデモ等の各種のデモ表示を開始させるための制御コマンドである。また、この電源投入コマンドは遊技機のリセットボタンを押圧したときに実行される、上記制御モード、バックアップデータ等を送信するための制御コマンドも含む。   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 performs the effect control unit 203, the prize ball control unit 204, and the effect. Control command to be transmitted to the post-stage unit 20 and the lamp control unit 205 via the control unit 203, and initial control information for controlling the game at the start-up after power-on, for example, control mode, backup data, etc. 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 is 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は、演出制御部203に客待ちデモコマンドを送信した後、ステップS7へ進む。客待ちデモコマンドを受信すると、演出制御部203は、図柄表示部104やランプ制御部205のそれぞれに対して客待ちデモ用の制御信号を送信する。   In step S6, the main control unit 10 transmits a customer waiting demonstration command to the effect control unit 203, and then proceeds to step S7. When receiving the customer waiting demonstration command, the effect control unit 203 transmits a control signal for the customer waiting demonstration to each of the symbol display unit 104 and the lamp control unit 205.

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

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

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

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

ステップS13では、主制御部10は、演出制御部203に、例えば、大当たりの種別コード(通常当りか確率変動当りか等)、リーチ有り、図柄変動時間、等の制御データ(付随データ)を含む大当たりリーチコマンド(図柄変動コマンド)を送信した後、ステップS14へ進む。ステップS14では、主制御部10は、図柄変動時間が経過したか否かを判断する。ステップS14の判断結果が「NO」の場合、すなわち、図柄変動時間が経過していない場合には、主制御部10は、同判断を繰り返す。そして、図柄変動時間が経過すると、ステップS14の判断結果が「YES」となり、主制御部10は、ステップS15へ進む。   In step S13, the main control unit 10 includes, for example, control data (accompanying data) such as a jackpot type code (whether it is a normal hit or per probability fluctuation), reach, symbol variation time, etc. in the effect control unit 203. After transmitting the jackpot reach command (design variation command), the process proceeds to step S14. 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は、演出制御部203に図柄停止コマンドを送信した後、ステップS16へ進む。ステップS16では、主制御部10は、演出制御部203に大当たり開始コマンドを送信した後、ステップS17へ進む。ステップS17では、主制御部10は、演出制御部203に大当たり中の各ラウンドに対応するコマンド(大当たりコマンド)を順次送信し、すべてのラウンドの大当たりコマンドの送信を終了した後、ステップS18へ進む。ステップS18では、主制御部10は、演出制御部203に大当たり終了コマンドを送信した後、ステップS22へ進む。   In step S15, the main control unit 10 transmits a symbol stop command to the effect control unit 203, and then proceeds to step S16. In step S16, the main control unit 10 transmits a jackpot start command to the effect control unit 203, and then proceeds to step S17. In step S17, the main control unit 10 sequentially transmits to the effect control unit 203 commands corresponding to each of the big hits (big hit command), and after completing the transmission of the big hit command for all the rounds, proceeds to step S18. . In step S18, the main control unit 10 transmits a jackpot end command to the effect control unit 203, and then proceeds to step S22.

一方、ステップS12の判断結果が「NO」の場合、すなわち、ステップS10の処理で取得した大当たり判定用乱数が予め定められた大当たり乱数でない場合には、主制御部10は、ステップS19へ進む。ステップS19では、主制御部10は、「リーチ有りのはずれ」の場合には「はずれリーチコマンド(図柄変動コマンド)」を、「リーチ無しのはずれ」の場合には「はずれコマンド(図柄変動コマンド)」を演出制御部203に送信した後、ステップS20へ進む。   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 “removal command (design variation command)”. Is transmitted to the effect control unit 203, and then the process proceeds to step S20.

ステップS20では、主制御部10は、図柄変動時間が経過したか否かを判断する。ステップS20の判断結果が「NO」の場合、すなわち、図柄変動時間が経過していない場合には、主制御部10は、同判断を繰り返す。そして、図柄変動時間が経過すると、ステップS20の判断結果が「YES」となり、主制御部10は、ステップS21へ進む。ステップS21では、主制御部10は、演出制御部203に図柄停止コマンドを送信した後、ステップS22へ進む。   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 effect control unit 203, and then proceeds to step S22.

ステップS22では、主制御部10は、パチンコ遊技機1の電源がオフにされたか否かを判断する。ステップS22の判断結果が「NO」の場合、すなわち、パチンコ遊技機1の電源がオフにされていない場合には、主制御部10は、図6に示すステップ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は、演出制御部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 an end process command to the effect control unit 203 and then ends a series of processes.

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

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

まず、演出制御部203による図柄変動処理について、図9に示すフローチャートを参照して説明する。
演出制御部203は、主制御部10から図柄変動コマンドである大当たりリーチコマンド(図7に示すステップS13参照)又ははずれリーチコマンド(図7に示すステップS19参照)のいずれかを受信したか否かを判断する(図9のステップ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.
Whether or not the effect control unit 203 has received either a jackpot reach command (see step S13 shown in FIG. 7) or a miss reach command (see step S19 shown in FIG. 7), which is a symbol variation command, from the main control unit 10. Is determined (see step S31 in FIG. 9). 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から図柄停止コマンド(図7に示すステップ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. 7) has been received from the main control unit 10. 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による大当たり時の処理について、図10に示すフローチャートを参照して説明する。
まず、演出制御部203は、主制御部10から大当たり開始コマンド(図7に示すステップS16参照)を受信したか否かを判断する(図10のステップ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. 7) is received from the main control unit 10 (see step S41 in FIG. 10). 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からラウンド別の大当たりコマンド(図7に示すステップ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. 7) has been received from the main control unit 10. 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 | presentation control part 203 will progress to step S44.

ステップS44では、演出制御部203は、図柄表示部104やランプ制御部205に受信したラウンド別の大当たりコマンドに対応するラウンド別処理コマンドを送信した後、ステップS45へ進む。ステップS45では、主制御部10から大当たり終了コマンド(図7に示すステップ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 or not a jackpot end command (see step S18 shown in FIG. 7) has been received from the main control unit 10. 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から図柄変動コマンドを受信した場合(図柄変動時)の処理について、図11に示すフローチャートを参照して説明する。
まず、ランプ制御部205は、演出制御部203から演出開始コマンド(図9に示すステップS34参照)を受信したか否かを判断する(図11のステップ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. 9) has been received from the effect control unit 203 (see step S51 in FIG. 11). 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から演出停止コマンド(図9に示すステップ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. 9) 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では、演出制御部203の後段に後段部20を設けている。
そして、本実施の形態1においては、主制御部10は、出力する制御コマンドが所定の制御コマンドである場合、所定のプログラムコードを用いて分割数分の認証データを生成し、これら認証データを制御コマンドに付加し演出制御部203を介して後段部20に送信する。
By the way, as described above, game media such as medals and game balls are paid out regardless of the game due to misconduct performed on the game machine or malfunction of the game machine due to noise, etc. You may suffer damage. Therefore, in order to prevent malfunctions of the gaming machine due to the above-mentioned fraudulent acts and noise, the pachinko gaming machine 1 according to the present embodiment 1 is provided with the rear stage unit 20 at the rear stage of the effect control unit 203.
In the first embodiment, when the output control command is a predetermined control command, the main control unit 10 generates authentication data corresponding to the number of divisions using a predetermined program code, and outputs these authentication data. It adds to a control command and transmits to the back | latter stage part 20 via the production control part 203. FIG.

後段部20は、主制御部10から演出制御部203を介して受信した認証データから得られた各検査値を用いて主制御部10が正規の主制御部であるか否かの認証を行う。次に、後段部20は、上記認証処理で得られた認証結果が認証不成功の場合には認証不成功信号を演出制御部203に送信する。そして、演出制御部203は、後段部20から受信した認証不成功信号に基づき、その旨の報知を行う。このように、後段部20を認証者、主制御部10を被認証者とした認証処理を行い、主制御部10から送信される制御コマンドの正当性を認証する。この認証処理によって、上記不正行為を検知して、パチンコ遊技機1への不正を防止することができるとともに、外部から加えられる電気的な雑音や機械的な振動等に起因するパチンコ遊技機1の誤動作を低減することもできる。   The post-stage unit 20 authenticates whether or not the main control unit 10 is a regular main control unit by using each inspection value obtained from the authentication data received from the main control unit 10 via the effect control unit 203. . Next, the post-stage unit 20 transmits an authentication unsuccessful signal to the effect control unit 203 when the authentication result obtained by the authentication process is unsuccessful. Then, the effect control unit 203 notifies the fact based on the authentication failure signal received from the subsequent stage unit 20. In this way, authentication processing is performed with the latter-stage unit 20 as the authenticator and the main control unit 10 as the person to be authenticated, and the validity of the control command transmitted from the main control unit 10 is authenticated. By this authentication process, the fraudulent act can be detected and fraud to the pachinko gaming machine 1 can be prevented, and the pachinko gaming machine 1 caused by electrical noise or mechanical vibration applied from the outside can be prevented. Malfunctions can also be reduced.

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

図12は、主制御部10による認証に関する処理の一例を示すフローチャートである。主制御部10は通常の制御信号の送信を行いながら(ステップS61)、認証データの送信タイミングであるか否かを判断する(ステップS62)。この判断結果がNOの場合には、主制御部10は、ステップS61に戻り、再びステップS62の判断を行う。認証データの送信タイミングになると、ステップS62の判断結果が「YES」となり、主制御部10はステップS63に進み分割数を決定する。分割数の決定方法は任意である。また、分割数は認証データの送信タイミングとなる前に決定されてもよい。   FIG. 12 is a flowchart illustrating an example of processing related to authentication 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, 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, calculates a test value (step S64), On the other hand, an encryption process is performed to generate authentication data (step S65). By this processing, the inspection value and authentication data for the number of divisions are generated. Further, the method of generating the inspection value (such as the type of calculation used for generation) is determined at the previous authentication data transmission time.

次に、主制御部10は、生成した認証データを含む認証データ付制御信号を順次送信する(ステップS66)。なお、認証データを付加する制御コマンドデータは特に制限されず任意の制御コマンドでよい。また、認証データ付制御信号は連続して送信してもよいし、通常の制御信号に混ぜて送信してもよい。また認証データの送信順序も任意である。主制御部10は、ステップS65で生成した認証データをすべて送信するまで(ステップS67:NO)、ステップS66に戻り、認証データ付制御信号の送信を継続する。なお主制御部10は、生成した認証データのうち未送信の認証データがある場合(ステップS67:NO)、所定の制御コマンドの送信タイミングであっても新たに認証データを生成せずに、必ずステップS66に戻り認証データ付制御信号の送信を行う。   Next, the main control unit 10 sequentially transmits a control signal with authentication data including the generated authentication data (step S66). The control command data to which the authentication data is added is not particularly limited and may be an arbitrary control command. The control signal with authentication data may be transmitted continuously, or may be transmitted by mixing with a normal control signal. The order of transmitting the authentication data is also arbitrary. The main control unit 10 returns to step S66 and continues to transmit the control signal with authentication data until all the authentication data generated in step S65 is transmitted (step S67: NO). If there is untransmitted authentication data among the generated authentication data (step S67: NO), the main control unit 10 does not generate new authentication data even at a predetermined control command transmission timing. Returning to step S66, the control signal with authentication data is transmitted.

認証データをすべて送信すると(ステップS67:YES)、ステップS63で決定した分割数が所定の値か否かを判断する(ステップS68)。所定の値とは、例えば、奇数(又は偶数)などである。分割数が所定の値である場合(ステップS68:YES)、主制御部10は検査値の生成方法を切り替えて(ステップS69)、本フローチャートによる処理を終了する。一方、分割数が所定の値でない場合は(ステップS68:NO)、検査値の生成方法を切り替えずに、そのまま本フローチャートによる処理を終了する。   When all the authentication data is transmitted (step S67: YES), it is determined whether or not the number of divisions determined in step S63 is a predetermined value (step S68). The predetermined value is, for example, an odd number (or even number). When the number of divisions is a predetermined value (step S68: YES), the main control unit 10 switches the inspection value generation method (step S69), and ends the processing according to this flowchart. On the other hand, when the number of divisions is not a predetermined value (step S68: NO), the process according to this flowchart is terminated without switching the method for generating the inspection value.

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

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

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

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

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

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

次に、後段部20による認証に関する処理について説明する。図13は、後段部20による認証に関する処理の一例を示すフローチャートである。まず、後段部20は、主制御部10から演出制御部203を介して送信される図5に示すような認証データ付制御信号を受信したか否かを判断する(ステップS71)。この判断結果が「NO」の場合には、後段部20は、同判断を繰り返す。そして、主制御部10から演出制御部203を介して認証データ付制御信号を受信すると(ステップS71:YES)、後段部20は、ステップS72へ進む。   Next, processing related to authentication by the latter stage unit 20 will be described. FIG. 13 is a flowchart illustrating an example of processing related to authentication by the rear-stage unit 20. First, the rear stage unit 20 determines whether or not an authentication data-added control signal as shown in FIG. 5 transmitted from the main control unit 10 via the effect control unit 203 has been received (step S71). When the determination result is “NO”, the rear stage unit 20 repeats the same determination. Then, when the control signal with authentication data is received from the main control unit 10 via the effect control unit 203 (step S71: YES), the rear stage unit 20 proceeds to step S72.

後段部20は、認証データ付制御信号を受信した場合(ステップS71:YES)、制御信号から認証データ303を抽出し、さらに復号化処理を施して検査値を取得する(ステップS72)。後段部20は、取得した検査値を検査値用メモリに記憶し(ステップS73)、検査値用メモリ内のすべての検査値に対して半群演算(結合処理)を行う(ステップS74)。なお、ステップS74で行う半群演算の種類は、前回の認証データ受信時に決定されている。また、検査値用メモリ内の検査値が1つの場合は、結合処理を行わずにそのままステップS75に進む。   When receiving the control signal with authentication data (step S71: YES), the subsequent stage unit 20 extracts the authentication data 303 from the control signal, further performs a decoding process, and obtains a check value (step S72). The rear stage unit 20 stores the acquired inspection value in the inspection value memory (step S73), and performs a semi-group operation (joining process) on all the inspection values in the inspection value memory (step S74). Note that the type of half-group operation performed in step S74 is determined when the previous authentication data is received. If there is one inspection value in the inspection value memory, the process directly proceeds to step S75 without performing the combining process.

そして、後段部20は、演算結果(結合結果)と保持している検査値の期待値と照合して、結合結果と期待値とが一致するか否かを判断する(ステップS75)。結合結果と期待値が一致する場合(ステップS75:YES)、後段部20は、主制御部10に対する認証を成功させ(ステップS76)、ステップS77に進む。   Then, the post-stage unit 20 collates the operation result (combination result) with the expected value of the stored test value, and determines whether or not the combination result and the expected value match (step S75). When the combined result and the expected value match (step S75: YES), the rear stage unit 20 makes the authentication with respect to the main control unit 10 successful (step S76), and proceeds to step S77.

続いて、後段部20は、認証成功時において結合処理の対象となった検査値の数(結合数)が所定の値か否かを判断する(ステップS77)。所定の値とは、例えば奇数(又は偶数)などである。結合数が所定の値である場合(ステップS77:YES)、後段部20は認証に用いる検査値の期待値を切り替え(ステップS78)、検査値用メモリ内のデータを消去して(ステップS79)、本フローチャートによる処理を終了する。また、結合数が所定の値でない場合(ステップS77:NO)、後段部20は、認証に用いる検査値の期待値を切り替えずに、検査値用メモリ内のデータを消去して(ステップS79)、本フローチャートによる処理を終了する。   Subsequently, the post-stage unit 20 determines whether or not the number of inspection values (joining number) that is a target of the joining process when authentication is successful is a predetermined value (step S77). The predetermined value is, for example, an odd number (or even number). When the number of combinations is a predetermined value (step S77: YES), the subsequent stage unit 20 switches the expected value of the test value used for authentication (step S78), and erases the data in the test value memory (step S79). Then, the process according to this flowchart is terminated. If the number of connections is not a predetermined value (step S77: NO), the subsequent stage unit 20 deletes the data in the test value memory without switching the expected value of the test value used for authentication (step S79). Then, the process according to this flowchart is terminated.

また、ステップS75において、検査値の演算結果と期待値が一致しない場合(ステップS75:NO)、後段部20は、所定数以上の認証データを受信するまで(ステップS80:NO)、ステップS71に戻り、結合処理を繰り返す。所定数以上の認証データを受信すると(ステップS80:YES)、後段部20は、主制御部10に対する認証を不成功とし(ステップS81)、ステップ82に進む。所定数は、今回の分割数以上かつプログラムコード記憶領域400(図4参照)に記憶されているプログラムコードを分割可能な数(最大分割数)以下の範囲内の任意の数である。そして後段部20は、認証不成功の結果に基づいて認証不成功信号を生成して演出制御部203に送信し(ステップS82)、本フローチャートによる処理を終了する。   In step S75, if the calculation result of the inspection value does not match the expected value (step S75: NO), the rear stage unit 20 proceeds to step S71 until receiving a predetermined number or more of authentication data (step S80: NO). Return and repeat the join process. When the authentication data of a predetermined number or more is received (step S80: YES), the rear stage unit 20 makes the authentication to the main control unit 10 unsuccessful (step S81), and proceeds to step 82. The predetermined number is an arbitrary number within a range equal to or greater than the current division number and less than or equal to the number (maximum division number) in which the program code stored in the program code storage area 400 (see FIG. 4) can be divided. Then, the post-stage unit 20 generates an authentication failure signal based on the result of the authentication failure and transmits it to the effect control unit 203 (step S82), and ends the processing according to this flowchart.

このように、後段部20は、主制御部10の認証が成功した場合には認証成功信号生成及び送信を行わず、認証が不成功の場合にのみ認証不成功信号を送信するので、後段部20の処理負荷が認証処理によって増大する割合を抑えることができる。   In this way, the post-stage unit 20 does not generate and transmit the authentication success signal when the authentication of the main control unit 10 is successful, and transmits the authentication unsuccessful signal only when the authentication is unsuccessful. The rate at which the processing load of 20 increases due to the authentication process can be suppressed.

また、認証データの復号化及び検査値と期待値との照合といった認証処理は、後段部20のみが実行するので、演出制御部203を構成するCPU203aの処理負荷が増大することはない。このため、演出制御部203の処理速度が低下し、演出のための表示がスムーズに行われないなどの問題が発生することを防止することができる。   Further, since authentication processing such as decryption of authentication data and collation between the inspection value and the expected value is executed only by the rear-stage unit 20, the processing load on the CPU 203a constituting the effect control unit 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.

次に、演出制御部203による認証に関する処理について説明する。図14は、演出制御部203による認証に関する処理の一例を示すフローチャートである。まず、演出制御部203は、主制御部10から送信された制御信号を受信したか否かを判断する(ステップS91)。演出制御部203は、主制御部10から送信された制御信号を受信していない場合には(ステップS91:NO)、同判断を繰り返す。そして、主制御部10から送信された制御信号を受信すると(ステップS91:YES)、演出制御部203は、ステップS92へ進む。   Next, processing related to authentication by the effect control unit 203 will be described. FIG. 14 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 or not the control signal transmitted from the main control unit 10 has been received (step S91). The effect control unit 203 repeats the same determination when the control signal transmitted from the main control unit 10 is not received (step S91: NO). And if the control signal transmitted from the main control part 10 is received (step S91: YES), the production control part 203 proceeds to step S92.

ステップS92では、演出制御部203は、受信した制御信号に認証データ303が含まれているか否かを判断する。受信した制御信号に認証データ303が含まれていない通常の制御信号300の場合(ステップ92:NO)、演出制御部203は、通常の制御信号300に含まれる制御コマンドデータ301及び付随データ302に基づく処理を行い(ステップS97)、本フローチャートによる処理を終了する。   In step S92, the effect control unit 203 determines whether the authentication data 303 is included in the received control signal. In the case of the normal control signal 300 in which the authentication data 303 is not included in the received control signal (step 92: NO), the effect control unit 203 includes the control command data 301 and the accompanying data 302 included in the normal control signal 300. The process based on this flowchart is complete | finished based on the process based on this (step S97).

一方、演出制御部203が受信した制御信号に認証データ303が含まれている場合には(ステップS92:YES)、演出制御部203は、ステップS93へ進む。ここで、制御信号に認証データ303が含まれているか否かの判断は、例えば、制御信号のデータ量が通常の制御信号よりも多いか否かや、制御信号において、制御コマンドデータ301又は付随データ302を構成する任意のビット又は別個に設けられている識別データ(図示略)が、認証データ303に含まれていることを示しているか否かを判断することによって行う。なお、ステップS92の処理において、演出制御部203は、受信した制御信号に認証データ303が含まれているか否かを判断するのではなく、制御信号に含まれる制御コマンドデータ301が、認証処理を行うために予め設定した所定の制御コマンドの制御コマンドデータであるか否かを判断してもよい。   On the other hand, when the authentication data 303 is included in the control signal received by the effect control unit 203 (step S92: YES), the effect control unit 203 proceeds to step S93. Here, whether or not the authentication data 303 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, This is performed by determining whether or not any bit constituting the data 302 or separately provided identification data (not shown) indicates that it is included in the authentication data 303. In the process of step S92, the effect control unit 203 does not determine whether the authentication data 303 is included in the received control signal, but the control command data 301 included in the control signal performs the authentication process. It may be determined whether or not the control command data is a predetermined control command set in advance for execution.

ステップS93では、演出制御部203は、受信した認証データ付制御信号をそのまま後段部20に送信した後、制御コマンドデータ301及び付随データ302に基づく処理を開始した後(ステップS94)、ステップS95へ進む。   In step S93, the effect control unit 203 transmits the received control signal with authentication data as it is to the post-stage unit 20, starts processing based on the control command data 301 and the accompanying data 302 (step S94), and then proceeds to step S95. move on.

ステップS95では、演出制御部203は、後段部20から送信された認証不成功信号を受信したか否かを判断する。後段部20から認証不成功信号を受信していない場合は(ステップS95:NO)、演出制御部203は、後段部20において主制御部10の認証に成功したと判断して、本フローチャートによる処理を終了する。   In step S95, the effect control unit 203 determines whether or not the authentication unsuccessful signal transmitted from the succeeding unit 20 has been received. When the authentication unsuccessful signal has not been received from the rear stage unit 20 (step S95: NO), the effect control unit 203 determines that the main control unit 10 has been successfully authenticated in the rear stage unit 20, and the processing according to this flowchart. Exit.

一方、後段部20から認証不成功信号を受信した場合には(ステップ95:YES)、演出制御部203は、後段部20において主制御部10の認証に成功しなかったと判断して、ステップS94の処理で開始した制御コマンドデータ301及び付随データ302に基づく処理を中断するとともに、不正行為を報知するための報知信号を図柄表示部104やランプ制御部205、あるいはパチンコ遊技機21を管理するセンター制御装置などに送信した後(ステップS96)、本フローチャートによる処理を終了する。   On the other hand, when the authentication failure signal is received from the rear stage unit 20 (step 95: YES), the effect control unit 203 determines that the main stage control unit 10 has not been successfully authenticated in the rear stage unit 20, and step S94. The center based on the control command data 301 and the accompanying data 302 started in the above process is interrupted, and a notification signal for notifying an illegal act is managed by the symbol display unit 104, the lamp control unit 205, or the pachinko gaming machine 21 After transmission to the control device or the like (step S96), the processing according to this flowchart is terminated.

図柄表示部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.

なお、演出制御部203は、認証不成功信号を受信した場合、制御コマンドに基づく処理を中断するとともに不正行為を報知する報知信号を送信するとしたが、不正行為を報知する報知信号を送信するだけでもよい。   When the production control unit 203 receives the authentication unsuccessful signal, the production control unit 203 interrupts the process based on the control command and transmits the notification signal for notifying the illegal act, but only transmits the notification signal for notifying the illegal activity. But you can.

また、演出制御部203は、図14のフローチャートでは、主制御部10より送信された制御信号が、通常の制御信号か、あるいは認証データ付制御信号かを判断しているが、同判断を行わずに、受信した制御信号の種類に関わらずそのまま後段部20へ送信してもよい。具体的には、演出制御部203は、受信した制御信号に認証データ303が含まれているか否かの判断を行わず、そのまま後段部20へ送信するとともに、制御コマンドデータ301及び付随データ302に基づく処理を開始する。この場合、後段部20は、受信した制御信号に認証データ303が含まれているか否かを判断し、含まれている場合には、結合処理を開始し、含まれていない場合には、結合処理を開始せず、受信した制御コマンドデータ301及び付随データ302を破棄して後段部20の認証に関する処理を終了する。   Further, in the flowchart of FIG. 14, the effect control unit 203 determines whether the control signal transmitted from the main control unit 10 is a normal control signal or a control signal with authentication data. Instead, it may be transmitted to the subsequent stage 20 as it is regardless of the type of the received control signal. Specifically, the effect control unit 203 does not determine whether or not the authentication data 303 is included in the received control signal, and transmits it to the subsequent stage unit 20 as it is, and also transmits it to the control command data 301 and the accompanying data 302. Start processing based on. In this case, the post-stage unit 20 determines whether or not the authentication data 303 is included in the received control signal. If the authentication data 303 is included, the post-processing unit 20 starts the combining process. Without starting the process, the received control command data 301 and the accompanying data 302 are discarded, and the process relating to the authentication of the subsequent stage unit 20 is terminated.

次に、図12及び図13に示す処理のうち、検査値生成方法の切り替え処理の具体例について説明する。図15は、主制御部10(被認証者)及び後段部20(認証者)がそれぞれ実行する処理の相互関係の一例を示す処理シーケンスである。図15では、検査値の生成方法として方式A及び方式B(図4参照)の2種類があり、分割数が奇数の場合に検査値の生成方法を切り替えるものとする。また、デフォルトの生成方式を方式Aとする。なお、本実施の形態1では、後段部20は、主制御部10が送信した認証データを周辺部30(演出制御部203)を介して受信するが、図15のシーケンス図では説明簡略化のために周辺部30の処理の記載を省略している。   Next, a specific example of the inspection value generation method switching process among the processes shown in FIGS. 12 and 13 will be described. FIG. 15 is a processing sequence illustrating an example of a mutual relationship between processes executed by the main control unit 10 (authenticated person) and the succeeding unit 20 (authenticated person). In FIG. 15, there are two types of inspection value generation methods, method A and method B (see FIG. 4), and the inspection value generation method is switched when the number of divisions is an odd number. The default generation method is assumed to be method A. In the first embodiment, the post-stage unit 20 receives the authentication data transmitted by the main control unit 10 via the peripheral unit 30 (the effect control unit 203). However, in the sequence diagram of FIG. Therefore, the description of the processing of the peripheral part 30 is omitted.

まず、主制御部10は、ステップS101の処理へ進み、任意の方法で今回の認証処理に用いる分割数を決定した後、ステップS102へ進む。主制御部10は、例えば、今回の分割数を3と決定する。ステップS102では、主制御部10は、ROM10bの記憶領域に予め記憶されている所定のプログラムコードを3個のブロック(記憶領域)に分割し、各ブロックに記憶されているプログラムコードを用いて、デフォルトの生成方式である方式Aで検査値を算出した後、ステップS103へ進む。   First, the main control unit 10 proceeds to the process of step S101, determines the number of divisions used for the current authentication process by an arbitrary method, and then proceeds to step S102. For example, the main control unit 10 determines that the current number of divisions is three. In step S102, 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, After the inspection value is calculated by the method A which is the default generation method, the process proceeds to step S103.

ステップS103では、主制御部10は、検査値に対して、暗号化処理を施すことにより、認証データを生成した後、ステップS104へ進む。ステップS104では、主制御部10は、認証データを含む認証データ付制御信号を演出制御部203を介して後段部20に送信した後、ステップS105へ進む。ステップS105では、主制御部10は、今回の分割数が奇数であるため、検査値の生成方法を切り替える。具体的には、主制御部10は、検査値の生成方式を方式Aから方式Bに切り替える。   In step S103, the main control unit 10 generates authentication data by performing an encryption process on the inspection value, and then proceeds to step S104. In step S104, the main control unit 10 transmits a control signal with authentication data including authentication data to the rear stage unit 20 via the effect control unit 203, and then proceeds to step S105. In step S105, the main control unit 10 switches the inspection value generation method because the current division number is an odd number. Specifically, the main control unit 10 switches the test value generation method from method A to method B.

これにより、後段部20は、主制御部10から送信された認証データ付制御信号を演出制御部203を介して受信した(ステップS106)後、ステップS107へ進む。ステップS107では、後段部20は、認証データ付制御信号から認証データを抽出した後、ステップS108へ進む。ステップS108では、後段部20は、認証データに対して、復号化処理を施すことにより、検査値を取得し、検査値用メモリに記憶した後、ステップS109へ進む。   As a result, the post-stage unit 20 receives the control signal with authentication data transmitted from the main control unit 10 via the effect control unit 203 (step S106), and then proceeds to step S107. In step S107, the post-stage unit 20 extracts the authentication data from the control signal with authentication data, and then proceeds to step S108. In step S108, the post-stage unit 20 performs a decryption process on the authentication data to acquire a test value and store it in the test value memory, and then proceeds to step S109.

ステップS109では、後段部20は、取得した検査値に対して方式Aで結合処理を行った後、ステップS110へ進む。ステップS110では、後段部20は、結合結果を期待値と照合し、結合結果と期待値が一致した場合には認証に成功したと判断し、結合結果と期待値が一致しなかった場合には認証に成功しなかったと判断した後、ステップS111へ進む。今回の場合、3個の検査値を用いて結合処理を行った際に結合結果と期待値は一致するはずである(結合数=3)。   In step S109, the post-stage unit 20 performs the combining process on the acquired inspection value using the method A, and then proceeds to step S110. In step S110, the post-stage unit 20 collates the combined result with the expected value, determines that the authentication is successful when the combined result and the expected value match, and determines that the combined result does not match the expected value. After determining that the authentication is not successful, the process proceeds to step S111. In this case, when the joining process is performed using three inspection values, the joining result and the expected value should match (joining number = 3).

ステップS111では、後段部20は、今回の結合数が奇数であるため、認証成功時に用いる期待値を切り替える。具体的には、後段部20は、期待値を方式Aに対応する値から方式Bに対応する値に切り替える。ここまでが一連の認証処理の流れである。   In step S <b> 111, the subsequent stage unit 20 switches the expected value used when the authentication is successful because the current coupling number is an odd number. Specifically, the rear stage unit 20 switches the expected value from a value corresponding to the method A to a value corresponding to the method B. This is the flow of a series of authentication processes.

2回目の認証処理の説明に移り、主制御部10は、ステップS112の処理へ進み、再び任意の方法で今回の認証処理に用いる分割数を決定した後、ステップS113へ進む。主制御部10は、例えば、今回の分割数を4と決定する。ステップS113では、主制御部10は、ROM10bの記憶領域に予め記憶されている所定のプログラムコードを4個のブロック(記憶領域)に分割し、各ブロックに記憶されているプログラムコードを用いて、切り替え後の生成方式である方式Bで検査値を算出した後、ステップS114へ進む。   Moving to the description of the second authentication process, the main control unit 10 proceeds to the process of step S112, determines again the number of divisions used for the current authentication process by an arbitrary method, and then proceeds to step S113. For example, the main control unit 10 determines that the current number of divisions is four. In step S113, 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, After calculating the inspection value by method B, which is the generation method after switching, the process proceeds to step S114.

ステップS114では、主制御部10は、検査値に対して、暗号化処理を施すことにより、認証データを生成した後、ステップS115へ進む。ステップS115では、主制御部10は、認証データを含む認証データ付制御信号を演出制御部203を介して後段部20に送信した後、ステップS116へ進む。ステップS116では、主制御部10は、今回の分割数が偶数であるため、検査値の生成方法を切り替えず、前回の生成方式を継続させる。具体的には、主制御部10は、検査値の生成方式を方式Bのままとする。   In step S114, the main control unit 10 performs authentication processing on the inspection value to generate authentication data, and then proceeds to step S115. In step S115, the main control unit 10 transmits a control signal with authentication data including authentication data to the rear stage unit 20 via the effect control unit 203, and then proceeds to step S116. In step S116, the main control unit 10 continues the previous generation method without switching the inspection value generation method because the current division number is an even number. Specifically, the main control unit 10 keeps the inspection value generation method as the method B.

これにより、後段部20は、主制御部10から送信された認証データ付制御信号を演出制御部203を介して受信した(ステップS117)後、ステップS118へ進む。ステップS118では、後段部20は、認証データ付制御信号から認証データを抽出した後、ステップS119へ進む。ステップS119では、後段部20は、認証データに対して、復号化処理を施すことにより、検査値を取得し、検査値用メモリに記憶した後、ステップS120へ進む。   As a result, the post-stage unit 20 receives the control signal with authentication data transmitted from the main control unit 10 via the effect control unit 203 (step S117), and then proceeds to step S118. In step S118, the post-stage unit 20 extracts the authentication data from the control signal with authentication data, and then proceeds to step S119. In step S119, the post-stage unit 20 performs a decryption process on the authentication data to acquire a test value and store it in the test value memory, and then proceeds to step S120.

ステップS120では、後段部20は、取得した検査値に対して方式Bで結合処理を行った後、ステップS121へ進む。ステップS121では、後段部20は、結合結果を期待値と照合し、結合結果と期待値が一致した場合には認証に成功したと判断し、結合結果と期待値が一致しなかった場合には認証に成功しなかったと判断した後、ステップS122へ進む。今回の場合、4個の検査値を用いて結合処理を行った際に結合結果と期待値は一致するはずである(結合数=4)。ステップS122では、後段部20は、今回の結合数が偶数であるため、認証成功時に用いる期待値を切り替えずに、生成方式を方式Bに対応する期待値のまま継続させる。   In step S120, the post-stage unit 20 performs a combining process on the acquired inspection value using the method B, and then proceeds to step S121. In step S121, the post-stage unit 20 collates the combined result with the expected value, determines that the authentication is successful when the combined result and the expected value match, and determines that the combined result does not match the expected value. After determining that the authentication is not successful, the process proceeds to step S122. In this case, when the joining process is performed using four inspection values, the joining result and the expected value should match (joining number = 4). In step S122, the subsequent stage unit 20 continues the generation method with the expected value corresponding to the method B without switching the expected value used when the authentication is successful because the current number of couplings is an even number.

この場合、主制御部10は、ROM10bに記憶された所定のプログラムコードを分割し、その分割数に基づいて次回の認証時において認証データの生成方式(検査値の生成方法及び暗号化方法等)を変更する。分割数は主制御部10のみが知る値であるので、不正行為者は、認証データの値の生成に用いる半群演算の切り替えタイミングを知ることができない。このため、上記不正行為及び遊技機の誤動作を検知することができる。なお、分割数に基づいて検査値の生成方式を切り替えずに、暗号化方法のみを切り替えるようにしてもよい。   In this case, the main control unit 10 divides a predetermined program code stored in the ROM 10b, and based on the number of divisions, a method for generating authentication data (test value generation method, encryption method, etc.) at the next authentication time To change. Since the number of divisions is a value that only the main control unit 10 knows, the fraudster cannot know the switching timing of the half-group operation used for generating the authentication data value. For this reason, it is possible to detect the cheating and the malfunction of the gaming machine. Note that only the encryption method may be switched without switching the inspection value generation method based on the number of divisions.

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

また、今回送信する制御コマンドデータ301や付随データ302を含めて認証データ303を生成してもよい。これにより、不正な主制御部による認証データ303の再利用を防止して、より確実に不正行為や誤動作を検知することができ、不正行為や誤動作に起因する不正な制御コマンドの実行を防止することができる。   Further, the authentication data 303 may be generated including the control command data 301 and the accompanying data 302 transmitted this time. Thereby, it is possible to prevent authentication data 303 from being reused by an unauthorized main control unit, and to detect unauthorized actions and malfunctions more reliably, and prevent execution of unauthorized control commands caused by unauthorized actions and malfunctions. be able to.

また、後段部20は、認証が不成功の場合のみ認証不成功信号を生成し演出制御部203へ送信するとしたが、認証が成功の場合も認証成功信号を生成し演出制御部203へ送信してもよい。
また、後段部20は、認証不成功信号のみを演習制御部203に送信し、演出制御部203は、認証不成功信号を受信した場合に制御コマンドに基づく処理を中断するとしたが、これに限定されない。例えば、後段部20は、認証成功信号も演出制御部203へ送信し、演出制御部203は、後段部20から認証成功信号を受信するまで制御コマンドに基づく処理を保留し、認証成功信号を受信してから制御コマンドに基づく処理を実行してもよい。これにより、演出制御部203が不正行為や誤動作に起因する不正な制御コマンドを実行することを防止することができる。
Further, the post-stage unit 20 generates an authentication unsuccessful signal only when the authentication is unsuccessful and transmits it to the effect control unit 203, but also generates and transmits an authentication success signal to the effect control unit 203 when the authentication is successful. May be.
Further, the rear stage unit 20 transmits only the authentication unsuccessful signal to the exercise control unit 203, and the presentation control unit 203 interrupts the processing based on the control command when the authentication unsuccessful signal is received. Not. For example, the post-stage unit 20 also transmits an authentication success signal to the effect control unit 203, and the effect control unit 203 suspends processing based on the control command and receives an authentication success signal until an authentication success signal is received from the post-stage unit 20. Then, processing based on the control command may be executed. Thereby, it can prevent that the production | presentation control part 203 performs the unauthorized control command resulting from an unauthorized act or malfunction.

本実施の形態1に係るパチンコ遊技機1では、所定の制御コマンドを送信するタイミングで、主制御部10の正当性を認証するための認証データを生成し、生成した認証データを用いて認証処理を行う。認証処理を行うことによって主制御部10や演出制御部203の処理負荷が増大するのは、所定の制御コマンドが送信されている期間のみであり、主制御部10や演出制御部203の処理負荷が増大する割合を抑えることができる。   In the pachinko gaming machine 1 according to the first embodiment, authentication data for authenticating the legitimacy of the main control unit 10 is generated at a timing when a predetermined control command is transmitted, and authentication processing is performed using the generated authentication data. I do. The processing load on the main control unit 10 and the effect control unit 203 increases only during a period during which a predetermined control command is transmitted, and the processing load on the main control unit 10 and the effect control unit 203 increases. Can increase the rate of increase.

また、認証処理を実行する後段部20と、主として演出処理を実行する演出制御部203とが別個独立しているため、認証用のプログラムと演出用のプログラムとは別個に設計することができる。これにより、演出制御部203の演出処理に認証機能を追加する場合と比較して、認証機能を追加するタイミングの設計・機能の実装・機能の検証などより簡単に、少ない作業工数で実現することができる。
また、従来のように、演出制御部203が認証処理と演出処理の両方を行う構成において、上記いずれか一方のプログラムの設計変更を行う必要が生じた場合に生じる以下の(a)〜(c)に示すような問題が発生することはない。
Further, since the rear stage 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.

また、所定の制御コマンドにのみ認証データ303を付加する場合、演出制御部203が実行するプログラムには所定の制御コマンドに関する認証処理を追加するだけでよい。したがって、演出制御部203が実行するプログラム全体にわたる新たなタイミングの設計する必要がないので、すべての制御コマンドに認証データ303が付加される場合と比較して、認証機能を追加するタイミングの設計、機能の実装、機能の検証など、より簡単に、少ない作業工数で実現することができる。   Further, when the authentication data 303 is added only to a 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. Therefore, since it is not necessary to design a new timing over the entire program executed by the effect control unit 203, the timing design for adding the authentication function as compared with the case where the authentication data 303 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.

さらに、本実施の形態1では、演出制御部203の後段に後段部20を設けているので、主制御部10を構成するCPU10aと演出制御部203を構成するCPU203aとの間の処理能力の差異や、主制御部10を構成するROM10bと演出制御部203を構成するROM203bとの間の記憶容量の差異を、後段部20において吸収することができる。これにより、主制御部10と演出制御部203との間で処理能力や記憶容量に差異があるにもかかわらず、主制御部10と演出制御部203との間のセキュリティレベルを維持することができる。   Furthermore, in this Embodiment 1, since the back | latter stage part 20 is provided in the back | latter stage of the production | presentation control part 203, the difference of the processing capability between CPU10a which comprises the main control part 10, and CPU203a which comprises the production | generation control part 203 In addition, a difference in storage capacity between the ROM 10 b constituting the main control unit 10 and the ROM 203 b constituting the effect control unit 203 can be absorbed by the rear stage unit 20. 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を認証した認証結果に対して比較的簡易又は低度な暗号化処理を施して得られた認証成功信号又は認証不成功信号(以下、認証成功信号等という)を演出制御部203に送信する。そして、演出制御部203で認証成功信号等から得られた認証結果に応じた処理を行う。このように構成することにより、複雑又は高度な認証方式を採用しなくても、比較的簡易な認証方式を採用した認証処理を行えば、主制御部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. When there is a margin in comparison, the main control unit 10 transmits the authentication data 303 obtained by performing a complicated or advanced encryption process to each inspection value to the subsequent stage unit 20, and the subsequent stage unit 20 receives the above-mentioned An authentication success signal or an authentication failure signal (obtained by applying a relatively simple or low-level encryption process to the authentication result obtained by authenticating the main control unit 10 using each inspection value obtained from the authentication data 303 ( Hereinafter, the authentication success signal or the like) is transmitted to the effect control unit 203. Then, the production control unit 203 performs processing according to the authentication result obtained from the authentication success signal or the like. 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, the main control unit 10 and the latter part 20 and the latter part 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を認証した認証結果に対して複雑又は高度な再暗号化処理を施して得られた認証成功信号等を演出制御部203に送信する。そして、演出制御部203で認証成功信号等から得られた認証結果に応じた処理を行う。このように構成することにより、複雑又は高度な認証方式を採用しなくても、比較的簡易な認証方式を採用した認証処理を行えば、主制御部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 a margin in comparison, the main control unit 10 transmits the respective inspection values as the authentication data 303 as they are or transmits the authentication data 303 obtained by performing relatively simple or low-level encryption processing to the subsequent stage unit 20. The succeeding unit 20 is an authentication success signal obtained by subjecting the authentication result obtained by authenticating the main control unit 10 using each inspection value obtained from the received authentication data 303 to a complicated or advanced re-encryption process. And the like are transmitted to the effect control unit 203. Then, the production control unit 203 performs processing according to the authentication result obtained from the authentication success signal or the like. 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, the main control unit 10 and the latter part 20 and the latter part 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 a 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 (such as version upgrade), the data structure of each inspection value, etc. The same applies to the case where a formal difference occurs between the main control unit 10 and the effect control unit 203.

<実施の形態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 the target of test value generation. 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 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 semi-group operation for each data block, and generates 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 inspection 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 test value until the generation of the 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 inspection values are generated (that is, how many divisions are to be made) depends on the generation of inspection values using all program codes in a predetermined area of the ROM 10b. I do not know until completion.

なお、1つの検査値を生成するごとにデータ量を決定するのではなく、予め検査値の生成に用いるデータ量を決定しておいてもよい。また、全ての検査値の生成に用いるデータ量を等しくするようにしてもよい。この場合、データ量を決定した時点で分割数が予測可能となる。   Instead of determining the amount of data every time one inspection value is generated, the amount of data used for generating the inspection value may be determined in advance. Further, the data amount used for generation of all inspection 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 inspection value generation)
An example in which the test value is generated by the method A using addition as the semi-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 for generating the first inspection value is determined to be 4 bytes, 4 bytes of program code (“0x01”, “0x02”, “0x03”, “0x04”) are divided into first blocks 400a. Next, the program code “0x01”, “0x02”, “0x03”, “0x04” stored in the first block 400a is added to obtain the first inspection value “0x0A”.

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

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

以下、主制御部における認証に関する処理について説明する。図16は、主制御部による認証に関する処理の一例を示すフローチャートである。本フローチャートでは、検査値を生成する毎にデータ量を決定し、所定のプログラムコードを分割する場合の処理について説明する。主制御部10は、通常の制御信号の送信を行いながら(ステップS131)、認証データの送信タイミングになるまで待機する(ステップS132:NO)。認証データの送信タイミングになると(ステップS132:YES)、主制御部10は検査値の生成に用いるプログラムコードのデータ量を決定する(ステップS133)。データ量の決定方法は任意である。   Hereinafter, a process related to authentication in the main control unit will be described. FIG. 16 is a flowchart illustrating an example of processing related to authentication by the main control unit. In this flowchart, a process when the data amount is determined every time a test value is generated and a predetermined program code is divided will be described. The main control unit 10 waits until the authentication data transmission timing comes (step S132: NO) while transmitting a normal control signal (step S131). When the transmission timing of the authentication data comes (step S132: YES), the main control unit 10 determines the data amount of the program code used for generating the inspection value (step S133). The method for determining the data amount is arbitrary.

次に、主制御部10は、例えば、プログラムコード記憶領域400の先頭から、ステップS133で決定したデータ量のプログラムコードを読み出し、半群演算を行って検査値を算出し(ステップS134)、検査値に対して暗号化処理を施して認証データを生成する(ステップS135)。この処理により、分割数分の検査値及び認証データが生成される。また、検査値の生成方法(生成に用いる演算の種類など)は、前回の認証データ送信時に決定されている。   Next, the main control unit 10 reads out the program code having the data amount determined in step S133, for example, from the top of the program code storage area 400, performs a semi-group operation, and calculates a test value (step S134). Authentication data is generated by performing encryption processing on the value (step S135). By this processing, the inspection value and authentication data for the number of divisions are generated. Further, the method of generating the inspection value (such as the type of calculation used for generation) is determined at the previous authentication data transmission time.

次に、主制御部10は、生成した認証データを含む認証データ付制御信号を送信する(ステップS136)。プログラムコード記憶領域400内の全てのプログラムコードを用いて検査値を生成するまで(ステップS137:NO)、主制御部10は、所定の制御コマンドの送信タイミングであるか否かに関わらず、必ずステップS133に戻り、次のデータ量を決定し、以降の処理を繰り返す。ここで、「プログラムコード記憶領域400内の全てのプログラムコードを用いて」とは、プログラムコード記憶領域400内のプログラムコードをもれなく、かつ重複なく用いて、という意味である。2つ目以降の検査値を生成する場合、主制御部10は、例えば、前の検査値生成に用いたプログラムプログラムコードの次の領域に書き込まれたプログラムコードを、ステップS133で決定した量だけ読み出して検査値を生成する。なお、最後の検査値を生成する際は、ステップS133で決定したデータ量に足りない可能性があるが、主制御部10は、取得できる分のプログラムコードのみを用いて検査値を生成する。   Next, the main control unit 10 transmits a control signal with authentication data including the generated authentication data (step S136). Until the test value is generated using all the program codes in the program code storage area 400 (step S137: NO), the main control unit 10 always ensures whether or not it is the transmission timing of the predetermined control command. Returning to step S133, the next data amount is determined, and the subsequent processing is repeated. Here, “using all the program codes in the program code storage area 400” means that the program codes in the program code storage area 400 are used without any duplication. When generating the second and subsequent test values, the main control unit 10, for example, the program code written in the area next to the program program code used for the previous test value generation by the amount determined in step S133. Read to generate inspection value. Note that when the last test value is generated, the data amount determined in step S133 may be insufficient, but the main control unit 10 generates the test value using only the program code that can be acquired.

ここで、認証データを付加する制御コマンドは特に制限されず任意の制御コマンドでよい。また、認証データ付制御信号は連続して送信してもよいし、通常の制御信号に混ぜて送信してもよい。また、認証データを生成した直後に送信するのではなく、全ての認証データを生成した後(すなわち、プログラムコード記憶領域400内の全てのプログラムコードを用いて認証データを生成した後)に、認証データの送信を開始してもよい。   Here, the control command for adding the authentication data is not particularly limited and may be an arbitrary control command. The control signal with authentication data may be transmitted continuously, or may be transmitted by mixing with a normal control signal. In addition, the authentication data is not transmitted immediately after it is generated, but is generated after all the authentication data is generated (that is, after the authentication data is generated using all the program codes in the program code storage area 400). Data transmission may be started.

プログラムコード記憶領域400内の全てのプログラムコードを用いて検査値を生成すると(ステップS137:YES)、主制御部10は、生成した認証データ(検査値)の数、すなわち分割数が所定の値か否かを判断する(ステップS138)。所定の値とは、例えば奇数(又は偶数)などである。分割数が所定の値である場合(ステップS138:YES)、主制御部10は検査値の生成方法を切り替えて(ステップS139)、本フローチャートによる処理を終了する。一方、分割数が所定の値でない場合は(ステップS138:NO)、検査値の生成方法を切り替えずに、そのまま本フローチャートによる処理を終了する。   When the inspection value is generated using all the program codes in the program code storage area 400 (step S137: YES), the main control unit 10 determines that the number of generated authentication data (inspection value), that is, the number of divisions is a predetermined value. Whether or not (step S138). The predetermined value is, for example, an odd number (or even number). When the number of divisions is a predetermined value (step S138: YES), the main control unit 10 switches the inspection value generation method (step S139), and ends the processing according to this flowchart. On the other hand, if the number of divisions is not a predetermined value (step S138: NO), the process according to this flowchart is terminated without switching the inspection value generation method.

後段部20及び演出制御部203における認証に関する処理は実施の形態1と同様である。後段部20は、演出制御部203を介して主制御部10から送信された認証データ付制御信号から認証データを抽出し、認証データを用いて認証処理を行い、認証不成功の場合に認証不成功信号を生成して演出制御部203に送信する。演出制御部203は、後段部20から認証不成功信号を受信した場合、制御コマンドに基づく処理を中断するとともに報知信号を送信する。   Processing related to authentication in the rear stage unit 20 and the effect control unit 203 is the same as that in the first embodiment. The post-stage unit 20 extracts authentication data from the control signal with authentication data transmitted from the main control unit 10 via the effect control unit 203, performs authentication processing using the authentication data, and performs authentication processing when authentication is unsuccessful. A success signal is generated and transmitted to the effect control unit 203. When the production control unit 203 receives an authentication failure signal from the rear stage unit 20, the production control unit 203 interrupts the processing based on the control command and transmits a notification signal.

次に、図16及び図14に示す処理のうち、検査値生成方法の切り替え処理の具体例について説明する。図17は、主制御部10(被認証者)及び後段部20(認証者)がそれぞれ実行する処理の相互関係の一例を示す処理シーケンスである。図17においては、検査値の生成方法として方式A及び方式B(図4参照)の2種類があり、分割数が奇数の場合に検査値の生成方法を切り替えるものとする。また、デフォルトの生成方法を方式Aとする。本シーケンス図では、説明の便宜上、検査値の生成に用いるデータ量を一括して決定するように表記しているが、図16のフローチャートのように、検査値を生成するごとにデータ量を決定してもよい。なお、本実施の形態2では、後段部20は、主制御部10が送信した認証データを周辺部30(演出制御部203)を介して受信するが、図17のシーケンス図では説明簡略化のために周辺部30の処理の記載を省略している。   Next, a specific example of the inspection value generation method switching process among the processes shown in FIGS. 16 and 14 will be described. FIG. 17 is a processing sequence illustrating an example of a mutual relationship between processes executed by the main control unit 10 (authenticated person) and the succeeding unit 20 (authenticated person). In FIG. 17, there are two types of inspection value generation methods, method A and method B (see FIG. 4), and the inspection value generation method is switched when the number of divisions is an odd number. Further, the default generation method is assumed to be method A. In this sequence diagram, for convenience of explanation, the data amount used to generate the inspection value is collectively determined. However, as shown in the flowchart of FIG. 16, the data amount is determined every time the inspection value is generated. May be. In the second embodiment, the post-stage unit 20 receives the authentication data transmitted by the main control unit 10 via the peripheral unit 30 (the effect control unit 203). However, in the sequence diagram of FIG. Therefore, the description of the processing of the peripheral part 30 is omitted.

まず、主制御部10は、任意の方法で認証データの生成に用いるデータ量を決定する。例えば、全データ量が12バイトあり、検査値の生成に用いるデータ量を、それぞれ4バイト、3バイト、5バイトとすると、3つの検査値を生成することになり、分割数=3となる(ステップS141)。主制御部10は、プログラムコード記憶領域400の先頭から順に4バイト、3バイト、5バイトのプログラムコードを読み出し、それぞれのプログラムコードを用いて、デフォルトの生成方法である方式Aで検査値を算出する(ステップS142)。主制御部10は、検査値に暗号化処理を施して認証データを生成し(ステップS143)、認証データを含む認証データ付制御信号を演出制御部203を介して後段部20に送信する(ステップS144)。   First, the main control unit 10 determines a data amount used for generating authentication data by an arbitrary method. For example, if the total amount of data is 12 bytes, and the amount of data used to generate inspection values is 4 bytes, 3 bytes, and 5 bytes, respectively, three inspection values are generated, and the number of divisions = 3 ( Step S141). The main control unit 10 reads out 4-byte, 3-byte, and 5-byte program codes in order from the top of the program code storage area 400, and uses each program code to calculate a test value by the method A that is the default generation method. (Step S142). The main control unit 10 performs an encryption process on the inspection value to generate authentication data (step S143), and transmits a control signal with authentication data including the authentication data to the subsequent stage unit 20 via the effect control unit 203 (step S143). S144).

その後、主制御部10は今回の分割数が奇数であるため、検査値の生成方法を切り替える(ステップS145)。具体的には、検査値の生成方法を方式Aから方式Bに切り替える。   Thereafter, the main control unit 10 switches the inspection value generation method because the current division number is an odd number (step S145). Specifically, the inspection value generation method is switched from method A to method B.

続いて、後段部20における処理について説明する。後段部20は、主制御部10から送信された認証データ付制御信号を演出制御部203を介して受信する(ステップS146)。そして、認証データ付制御信号から認証データを抽出し(ステップS147)、復号化処理を施して検査値を取得する(ステップS148)。後段部20は、取得した検査値に対して方式Aで結合処理を行い(ステップS149)、結合結果を期待値と照合する。期待値と一致すると、後段部20は主制御部10との認証を成功させる(ステップS150)。今回の場合は、3つの検査値を用いて結合処理を行った際に期待値と一致するはずである(結合数=3)。   Next, processing in the rear stage unit 20 will be described. The rear stage unit 20 receives the control signal with authentication data transmitted from the main control unit 10 via the effect control unit 203 (step S146). Then, authentication data is extracted from the control signal with authentication data (step S147), and decryption processing is performed to obtain a check value (step S148). The post-stage unit 20 performs a combining process on the acquired inspection value by the method A (step S149), and collates the combined result with the expected value. If it matches the expected value, the rear stage unit 20 makes the authentication with the main control unit 10 successful (step S150). In this case, when combining processing is performed using three inspection values, it should match the expected value (number of connections = 3).

その後、後段部20は今回の結合数が奇数であるため、認証時に用いる結合結果の期待値を切り替える(ステップS151)。具体的には、結合結果の期待値を方式Aに対応する値から方式Bに対応する値に切り替える。ここまでが一連の認証処理の流れである。   After that, since the number of couplings this time is an odd number, the rear stage unit 20 switches the expected value of the coupling result used at the time of authentication (step S151). Specifically, the expected value of the combination result is switched from the value corresponding to method A to the value corresponding to method B. This is the flow of a series of authentication processes.

2回目の認証処理の説明に移り、主制御部10は、再び任意の方法で認証データの生成に用いるデータ量を決定する。例えば、検査値の生成に用いるデータ量を、それぞれ4バイト、2バイト、3バイト、3バイトとすると、4つの検査値を生成することになり、分割数=4となる(ステップS152)。主制御部10は、プログラムコード記憶領域400の先頭から順に4バイト、2バイト、3バイト、3バイトのプログラムコードを読み出し、それぞれのプログラムコードを用いて、切り替え後の生成方法である方式Bで検査値を算出する(ステップS153)。主制御部10は、検査値に暗号化処理を施して認証データを生成し(ステップS154)、認証データを含む認証データ付制御信号を演出制御部203を介して後段部20に送信する(ステップS155)。今回の分割数は偶数であるため、主制御部10は検査値の生成方法を切り替えず、生成方法を継続させる(ステップS156)。具体的には、検査値の生成方法を方式Bのままとする。   Turning to the description of the second authentication process, the main control unit 10 again determines the amount of data used for generating authentication data by an arbitrary method. For example, if the amount of data used to generate the inspection value is 4 bytes, 2 bytes, 3 bytes, and 3 bytes, respectively, four inspection values are generated, and the number of divisions is 4 (step S152). The main control unit 10 reads out the 4-byte, 2-byte, 3-byte, and 3-byte program codes in order from the top of the program code storage area 400, and uses the respective program codes in the method B that is a generation method after switching. An inspection value is calculated (step S153). The main control unit 10 encrypts the inspection value to generate authentication data (step S154), and transmits a control signal with authentication data including the authentication data to the subsequent stage unit 20 via the effect control unit 203 (step S154). S155). Since the current number of divisions is an even number, the main control unit 10 continues the generation method without switching the inspection value generation method (step S156). Specifically, the inspection value generation method remains the method B.

続いて、後段部20は、主制御部10から送信された認証データ付制御信号を演出制御部203を介して受信し(ステップS157)、認証データを抽出する(ステップS158)。そして、復号化処理を施して検査値を取得し(ステップS159)、取得した検査値に対して方式Bで結合処理を行う(ステップS160)。結合結果が期待値と一致すると、後段部20は主制御部10との認証を成功させる(ステップS161)。今回の場合は、4つの検査値を用いて結合処理を行った際に期待値と一致するはずである(結合数=4)。後段部20は今回の結合数は偶数であるため、認証に用いる結合結果の期待値を切り替えずに、生成方法を方式Bに対応する期待値のまま継続させる(ステップS162)。   Subsequently, the post-stage unit 20 receives the control signal with authentication data transmitted from the main control unit 10 via the effect control unit 203 (step S157), and extracts the authentication data (step S158). Then, decryption processing is performed to obtain a check value (step S159), and the obtained check value is combined with method B (step S160). When the combined result matches the expected value, the rear stage unit 20 succeeds in authentication with the main control unit 10 (step S161). In this case, when the joining process is performed using four inspection values, it should match the expected value (number of joins = 4). Since the latter-stage unit 20 has an even number of couplings this time, the generation method is continued with the expected value corresponding to the method B without switching the expected value of the coupling result used for authentication (step S162).

以上説明したように、本実施の形態2にかかるパチンコ遊技機は、主制御部において、分割数そのものを決定するのではなく、認証データの生成に用いるデータ量を決定する。このため、分割数が不正に窃取される可能性を低減することができる。本実施の形態2によれば、本実施の形態1により得られる効果も当然に得られる。   As described above, in the pachinko gaming machine according to the second embodiment, the main control unit does not determine the division number itself, but determines the data amount used for generating the authentication data. For this reason, the possibility that the number of divisions is illegally stolen can be reduced. According to the second embodiment, the effects obtained by the first embodiment can be 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 first and second embodiments, the example in which the rear-stage unit 20 and the effect control unit 203 have separate hardware configurations is shown, but the present invention is not limited to this.
For example, with respect to the first embodiment, one CPU has the functions of the CPU 20a constituting the rear stage unit 20 and the function of the CPU 203a constituting the presentation control unit 203, and the rear stage 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 rear stage unit 20 and the production control unit 203 function as a work area of the RAM 20c constituting the rear stage unit 20 and the production 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. Therefore, for example, it is conceivable to perform the processing of the rear stage unit 20 with a dual CPU configuration.

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

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

[1]演出制御部と後段部とについて同時に設計、開発を行うことができるため、並行開発できない場合と比較して、製品の開発期間を短縮することができる。
[2]演出制御部と後段部とについてそれぞれ独立した開発体制をとることができるため、演出制御部と後段部の設計製造検証を行う際の業務上の機密情報(例えば、認証処理の方式など、遊技に関する処理など)を、それぞれの開発体制外に流出させる可能性を減らすことができる。
[1] Since the production control unit and the rear stage 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 impossible.
[2] Since it is possible to take independent development systems for the production control unit and the latter part, confidential business information (for example, an authentication processing method, etc.) when performing design and manufacturing verification of the production control unit and the latter part , 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 latter part is independent of the existing game process, the transmission of authentication information between the authentication process in the latter 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 mounting of the subsequent stage. Therefore, there is a high possibility that the design change will be minimal when the transition from the previous model to the new model is performed for the rear stage.

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

4.認証方式の変更容易性
認証方式を変更したり、認証アルゴリズムをバージョンアップしたりする場合、主制御部及び後段部だけで変更又はバージョンアップを図ればよく、演出制御部の認証に関する処理を変更しなくて済む。
4). Ease of change of authentication method When changing the authentication method or upgrading the authentication algorithm, it is sufficient to change or upgrade only the main control unit and the latter part, and change the processing related to the authentication of the production control unit. 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). Reducing the processing load of the production control unit When the authentication function to be implemented in the latter stage unit is implemented with the software of the production control unit, the processing load on 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では、演出制御部203の後段に後段部20を設ける例を示したが、これに限定されず、賞球制御部204の後段に後段部を設けてもよい。この場合、賞球制御部204は報知手段を備えていないが、主制御部10と賞球制御部204との間は双方向通信が可能であるので、認証が不成功となった場合には、賞球制御部204から主制御部10に対して、制御コマンドデータ301及び付随データ302とともに認証が不成功となった旨のデータを送信するように構成してもよい。そして、主制御部10は、上記不成功となった旨のデータを演出制御部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 back | latter stage part 20 in the back | latter stage of the production | presentation control part 203 was shown, it is not limited to this, You may provide a back | latter stage part in the back | latter stage of the prize ball control part 204. 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 failure to the effect control unit 203, and the effect control unit 203 performs an illegal act based on the data indicating the failure. Let them know.
In each of the above-described embodiments, the rear stage unit 20 is configured to include a CPU, a ROM, a RAM, and the like, but may be realized as an integrated circuit such as an LSI having the same function.

また、上記各実施の形態では、本発明をパチンコ遊技機に適用する例を示したが、これに限定されず、本発明は、雀球遊技機、アレンジボール等のパチンコ遊技機以外の弾球遊技機、スロットマシン等の回胴式遊技機などの他の遊技機にも適用することができる。これらの遊技機においても、上記各実施の形態と同様に構成することにより、上記各実施の形態と同様の効果を得ることができる。
また、上記各実施の形態は、その目的及び構成等に特に矛盾や問題がない限り、互いの技術を流用することができる。
Further, in each of the above embodiments, an example in which the present invention is applied to a pachinko gaming machine has been shown. 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 検査値生成手段
20 後段部
21 演算値記憶手段
22 認証手段
203 演出制御部
203d VRAM
204 賞球制御部
204a CPU
204b ROM
204c RAM
301 制御コマンドデータ
302 付随データ
303 認証データ
310,311,312 認証データ付制御信号
1 Pachinko machine 10 Main controller 10a, 20a, 203a, 204a CPU
10b, 20b, 203b, 204b ROM
10c, 20c, 203c, 204c RAM
DESCRIPTION OF SYMBOLS 11 Data storage means 12 Determination means 13 Inspection value production | generation means 20 Back | latter stage part 21 Computation value storage means 22 Authentication means 203 Production control part 203d VRAM
204 Prize ball control unit 204a CPU
204b ROM
204c RAM
301 Control command data 302 Accompanying data 303 Authentication data 310, 311, 312 Control signal with authentication data

Claims (33)

制御コマンドを出力する主制御部と、前記制御コマンドに応じた処理を行う周辺部と、後段部とを備え、
前記主制御部は、
所定のデータが記憶されているデータ記憶手段と、前記データ記憶手段に記憶されている前記所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成する検査値生成手段とを備え、
前記複数の検査値を所定の制御コマンドに付加して前記周辺部に送信し、
前記周辺部は、
前記所定の制御コマンドに基づいて所定の処理を行うとともに、前記所定の制御コマンドに付加された前記複数の検査値を前記後段部に送信し、
前記後段部は、
前記データ記憶手段に記憶されている前記所定のデータを用いて前記一又は複数の2項演算をそれぞれ行って得られた複数の演算値が記憶されている演算値記憶手段と、前記複数の検査値を用いて前記主制御部と同じ2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記2項演算に対応する前記演算値とが一致するか否かに基づいて前記主制御部を認証する認証手段とを備え、
前記認証手段が得た認証結果を前記周辺部に送信する
ことを特徴とする遊技機。
A main control unit that outputs a control command, a peripheral unit that performs processing according to the control command, and a rear stage unit,
The main control unit
Data storage means for storing predetermined data, and the predetermined data stored in the data storage means, and one or a plurality of binary operations satisfying a combining law using each of the divided data A test value generating means for performing a single binary operation to generate a plurality of test values,
The plurality of inspection values are added to a predetermined control command and transmitted to the peripheral part,
The peripheral portion is
Performing a predetermined process based on the predetermined control command, and transmitting the plurality of inspection values added to the predetermined control command to the subsequent stage,
The latter part is
Calculation value storage means storing a plurality of calculation values obtained by performing the one or plural binary operations using the predetermined data stored in the data storage means, and the plurality of inspections The same binomial operation as that of the main control unit is performed using a value, and based on whether or not the operation result matches the operation value corresponding to the binary operation stored in the operation value storage means. Authentication means for authenticating the main control unit,
An authentication result obtained by the authentication means is transmitted to the peripheral part.
前記検査値生成手段は、前記検査値を所定の暗号化方式で暗号化し、
前記認証手段は、前記検査値生成手段で暗号化された前記検査値を前記所定の暗号化方式に対応する復号化方式で復号化して前記認証を行う
ことを特徴とする請求項1に記載の遊技機。
The inspection value generation means encrypts the inspection value with a predetermined encryption method,
2. The authentication unit according to claim 1, wherein the authentication unit performs the authentication by decrypting the inspection value encrypted by the inspection value generation unit using a decryption method corresponding to the predetermined encryption method. Gaming machine.
前記主制御部は、前記データ記憶手段に記憶されている前記所定のデータを分割する分割数を決定する決定手段をさらに備えることを特徴とする請求項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項演算を選択する
ことを特徴とする請求項3に記載の遊技機。
The inspection value generation means selects a binary operation to be used for generation of the next inspection value from the plurality of binary operations based on the number of divisions,
The authentication means is used for the next authentication from the plurality of binomial operations based on the number of the inspection values subjected to the selected binary operation when the authentication to the main control unit is successful. The gaming machine according to claim 3, wherein a binary operation is selected.
前記検査値生成手段は、前記検査値を所定の暗号化方式で暗号化し、
前記認証手段は、前記検査値生成手段で暗号化された前記検査値を前記所定の暗号化方式に対応する復号化方式で復号化して前記認証を行う
ことを特徴とする請求項3又は4に記載の遊技機。
The inspection value generation means encrypts the inspection value with a predetermined encryption method,
5. The authentication unit according to claim 3, wherein the authentication unit performs the authentication by decrypting the inspection value encrypted by the inspection value generation unit using a decryption method corresponding to the predetermined encryption method. The gaming machine described.
前記検査値生成手段は、前記分割数に基づいて、前記検査値の暗号化方式を変更し、
前記認証手段は、前記主制御部に対する前記認証が成功した際に前記選択した2項演算の対象となった前記検査値の数に基づいて、前記検査値の復号化方式を変更する
ことを特徴とする請求項5に記載の遊技機。
The inspection value generation means changes the inspection value encryption method based on the number of divisions,
The authentication means changes a decoding method of the check value based on the number of the check values subjected to the selected binary operation when the authentication with respect to the main control unit is successful. The gaming machine according to claim 5.
前記主制御部は、前記データ記憶手段に記憶されている前記所定のデータを分割するデータ量を決定する決定手段をさらに備えることを特徴とする請求項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項演算を選択する
ことを特徴とする請求項7に記載の遊技機。
The inspection value generation means is configured to select from the plurality of binary operations based on the number of blocks of the predetermined data obtained by dividing the predetermined data to be authenticated by the data amount. Select the binary operation to be used for the next generation of the test value,
The authentication means is used for the next authentication from the plurality of binomial operations based on the number of the inspection values subjected to the selected binary operation when the authentication to the main control unit is successful. The gaming machine according to claim 7, wherein a binary operation is selected.
前記検査値生成手段は、前記検査値を所定の暗号化方式で暗号化し、
前記認証手段は、前記検査値生成手段で暗号化された前記検査値を前記所定の暗号化方式に対応する復号化方式で復号化して前記認証を行う
ことを特徴とする請求項7又は8に記載の遊技機。
The inspection value generation means encrypts the inspection value with a predetermined encryption method,
9. The authentication unit according to claim 7, wherein the authentication unit performs the authentication by decrypting the inspection value encrypted by the inspection value generation unit using a decryption method corresponding to the predetermined encryption method. The gaming machine described.
前記検査値生成手段は、前記認証の対象とされた前記所定のデータを前記データ量で分割して得られた前記所定のデータのブロックの数に基づいて、前記検査値の暗号化方式を変更し、
前記認証手段は、前記主制御部に対する前記認証が成功した際に前記選択した2項演算の対象となった前記検査値の数に基づいて、前記検査値の復号化方式を変更する
ことを特徴とする請求項9に記載の遊技機。
The inspection value generation unit changes the encryption method of the inspection value based on the number of blocks of the predetermined data obtained by dividing the predetermined data to be authenticated by the data amount. And
The authentication means changes a decoding method of the check value based on the number of the check values subjected to the selected binary operation when the authentication with respect to the main control unit is successful. The gaming machine according to claim 9.
前記検査値生成手段は、前記検査値が付加される前記制御コマンドを示すデータ又は該データの付随データの少なくともいずれか一方のデータと、前記検査値とを併せたデータを暗号化することを特徴とする請求項2、5、6、9又は10のいずれか1項に記載の遊技機。   The inspection value generation means encrypts data combining at least one of data indicating the control command to which the inspection value is added or data accompanying the data, and the inspection value. The gaming machine according to any one of claims 2, 5, 6, 9, or 10. 前記所定のデータは、前記主制御部が実行する処理を表す所定のプログラムコードを含むことを特徴とする請求項1乃至11のいずれかに記載の遊技機。   The gaming machine according to claim 1, wherein the predetermined data includes predetermined program code representing processing executed by the main control unit. 前記所定の制御コマンドは、
大当たり中の各ラウンドに対応する大当たりコマンド、
大当たり状態の処理を開始させるための大当たり開始コマンド、
大当たり状態の処理を終了させるための大当たり終了コマンド、
前記周辺部に大当たり前のリーチ状態の処理を実行させるための大当たりリーチコマンド、
前記周辺部に電源投入時の処理を実行させるための電源投入コマンド、
前記周辺部に非遊技状態におけるデモ表示を実行させるための客待ちデモコマンド、
前記周辺部に非遊技状態におけるデモ表示を停止させるための客待ちデモ停止コマンド、
前記周辺部に抽選時の抽選結果がはずれの場合の処理を実行させるためのはずれコマンド、
小当たり中の各ラウンドに対応する小当たりコマンドのいずれかであることを特徴とする請求項1乃至12のいずれかに記載の遊技機。
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 12, wherein the gaming machine is any one of the small hit commands corresponding to each round of the small hits.
前記周辺部は、前記認証結果が前記主制御部の認証不成功を示す場合には、その旨を報知する報知信号を出力することを特徴とする請求項1乃至13のいずれかに記載の遊技機。   The game according to any one of claims 1 to 13, 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項演算の中の1個の2項演算を行って複数の検査値を生成する検査値生成手段とを備え、
前記複数の検査値を所定の制御コマンドに付加して前記周辺部を介して前記後段部に送信する
ことを特徴とする主制御部。
A main control unit of a gaming machine that is authenticated by a subsequent stage connected via a peripheral part and outputs a control command for causing the peripheral part to perform a predetermined process,
Data storage means for storing predetermined data;
Dividing the predetermined data stored in the data storage means, and using each of the divided data, performing one binary operation among one or a plurality of binary operations satisfying a combining law, A test value generating means for generating a test value;
The main control unit, wherein the plurality of inspection values are added to a predetermined control command and transmitted to the subsequent stage unit via the peripheral unit.
請求項15に記載の主制御部が搭載されていることを特徴とする遊技機の主制御基板。   A main control board of a gaming machine, wherein the main control unit according to claim 15 is mounted. 主制御部と周辺部とを備えた遊技機に設けられた後段部であって、
前記主制御部に記憶されている所定のデータを用いて結合法則を満たす一又は複数の2項演算をそれぞれ行って得られた複数の演算値が記憶されている演算値記憶手段と、
前記主制御部で前記所定のデータを分割した各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って生成した複数の検査値が所定の制御コマンドに付加されて前記周辺部を介して送信された場合に、前記複数の検査値を用いて前記2項演算を行い、この演算結果と、前記演算値記憶手段に記憶されている前記2項演算に対応する前記演算値とが一致するか否かに基づいて前記主制御部を認証する認証手段とを備え、
前記認証手段が得た認証結果を前記周辺部に送信する
ことを特徴とする後段部。
A rear stage provided in a gaming machine having a main control part and a peripheral part,
A calculation value storage means for storing a plurality of calculation values obtained by performing one or a plurality of binary calculations that satisfy a coupling law using predetermined data stored in the main control unit;
A plurality of test values generated by performing one binary operation in one or a plurality of binary operations satisfying a coupling law using each data obtained by dividing the predetermined data by the main control unit is a predetermined control. When added to a command and transmitted via the peripheral portion, the two-term operation is performed using the plurality of inspection values, and the calculation result and the two-term stored in the calculated-value storage means Authentication means for authenticating the main control unit based on whether or not the calculated value corresponding to the calculation matches,
The latter part which transmits the authentication result obtained by the said authentication means to the said peripheral part.
請求項17に記載の前記周辺部及び後段部が搭載されていることを特徴とする遊技機の周辺基板。   A peripheral board for a gaming machine, wherein the peripheral part and the rear stage part according to claim 17 are mounted. 主制御部と、周辺部と、後段部とを備える遊技機で用いられる認証方法であって、
前記主制御部が出力する制御コマンドが所定の制御コマンドである場合に、
前記主制御部が、データ記憶手段に記憶されている所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成し、前記複数の検査値を所定の制御コマンドに付加して前記周辺部を介して前記後段部に送信する第1のステップと、
前記後段部が、前記所定の制御コマンドに付加された前記複数の検査値を用いて前記主制御部と同じ2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記一又は複数の2項演算をそれぞれ行って得られた複数の演算値のうち、前記2項演算に対応する前記演算値が一致するか否かに基づいて前記主制御部を認証し、得られた認証結果を前記周辺部に送信する第2のステップと
を有することを特徴とする認証方法。
An authentication method used in a gaming machine including a main control unit, a peripheral unit, and a subsequent unit,
When the control command output by the main control unit is a predetermined control command,
The main control unit divides predetermined data stored in the data storage means, and performs one binary operation in one or a plurality of binary operations satisfying a combining law using each divided data. A first step of generating a plurality of inspection values, adding the plurality of inspection values to a predetermined control command, and transmitting the plurality of inspection values to the subsequent stage through the peripheral portion;
The subsequent stage unit performs the same binary operation as the main control unit using the plurality of inspection values added to the predetermined control command, and the calculation result and the predetermined value stored in the data storage unit The main control unit based on whether or not the calculation values corresponding to the two-term calculation among the plurality of calculation values obtained by performing the one or plural binary calculations using the data of And a second step of transmitting the obtained authentication result to the peripheral part.
前記第1のステップにおいて、前記主制御部は、前記検査値を所定の暗号化方式で暗号化し、
前記第2のステップにおいて、前記後段部は、前記主制御部で暗号化された前記検査値を前記所定の暗号化方式に対応する復号化方式で復号化して前記認証を行う
ことを特徴とする請求項19に記載の認証方法。
In the first step, the main control unit encrypts the inspection value with a predetermined encryption method,
In the second step, the post-stage unit performs the authentication by decrypting the check value encrypted by the main control unit with a decryption method corresponding to the predetermined encryption method. The authentication method according to claim 19.
前記第1のステップにおいて、前記主制御部が、前記データ記憶手段に記憶されている前記所定のデータを分割する分割数を決定し、前記所定のデータを前記分割数に分割することを特徴とする請求項19に記載の認証方法。   In the first step, the main control unit determines a division number for dividing the predetermined data stored in the data storage means, and divides the predetermined data into the division number. The authentication method according to claim 19. 前記第1のステップにおいて、前記主制御部が、前記分割数に基づいて、前記複数の2項演算の中から次回の前記検査値の生成に用いる2項演算を選択し、
前記第2のステップにおいて、前記後段部が、前記主制御部に対する前記認証が成功した際に前記選択した2項演算の対象となった前記検査値の数に基づいて、前記複数の2項演算から次回の前記認証に用いる2項演算を選択する
ことを特徴とする請求項21に記載の認証方法。
In the first step, the main control unit selects a binary operation to be used for generating the next inspection value from the plurality of binary operations based on the number of divisions,
In the second step, the subsequent stage unit performs the plurality of binary operations based on the number of the inspection values subjected to the selected binary operation when the authentication to the main control unit is successful. The binary method used for the next authentication is selected from the following.
前記第1のステップにおいて、前記主制御部は、前記検査値を所定の暗号化方式で暗号化し、
前記第2のステップにおいて、前記後段部は、前記主制御部で暗号化された前記検査値を前記所定の暗号化方式に対応する復号化方式で復号化して前記認証を行う
ことを特徴とする請求項21又は22に記載の認証方法。
In the first step, the main control unit encrypts the inspection value with a predetermined encryption method,
In the second step, the post-stage unit performs the authentication by decrypting the check value encrypted by the main control unit with a decryption method corresponding to the predetermined encryption method. The authentication method according to claim 21 or 22.
前記第1のステップにおいて、前記主制御部は、前記分割数に基づいて、前記検査値の暗号化方式を変更し、
前記第2のステップにおいて、前記後段部は、前記主制御部に対する前記認証が成功した際に前記選択した2項演算の対象となった前記検査値の数に基づいて、前記検査値の復号化方式を変更する
ことを特徴とする請求項23に記載の認証方法。
In the first step, the main control unit changes the inspection value encryption method based on the number of divisions;
In the second step, the post-stage unit decodes the test value based on the number of the test values subjected to the selected binary operation when the authentication to the main control unit is successful. The authentication method according to claim 23, wherein the method is changed.
前記第1のステップにおいて、前記主制御部が、前記データ記憶手段に記憶されている前記所定のデータを分割するデータ量を決定し、前記所定のデータを前記データ量に分割することを特徴とする請求項19に記載の認証方法。   In the first step, the main control unit determines a data amount for dividing the predetermined data stored in the data storage means, and divides the predetermined data into the data amount. The authentication method according to claim 19. 前記第1のステップにおいて、前記主制御部が、前記認証の対象とされた前記所定のデータを前記データ量で分割して得られた前記所定のデータのブロックの数に基づいて、前記複数の2項演算の中から次回の前記検査値の生成に用いる2項演算を選択し、
前記第2のステップにおいて、前記後段部が、前記主制御部に対する前記認証が成功した際に前記選択した2項演算の対象となった前記検査値の数に基づいて、前記複数の2項演算から次回の前記認証に用いる2項演算を選択する
ことを特徴とする請求項25に記載の認証方法。
In the first step, the main control unit, based on the number of blocks of the predetermined data obtained by dividing the predetermined data to be authenticated by the data amount, Select a binary operation to be used for the next generation of the inspection value from the binary operations,
In the second step, the subsequent stage unit performs the plurality of binary operations based on the number of the inspection values subjected to the selected binary operation when the authentication to the main control unit is successful. 26. The authentication method according to claim 25, further comprising: selecting a binary operation to be used for the next authentication.
前記第1のステップにおいて、前記主制御部は、前記検査値を所定の暗号化方式で暗号化し、
前記第2のステップにおいて、前記後段部は、前記主制御部で暗号化された前記検査値を前記所定の暗号化方式に対応する復号化方式で復号化して前記認証を行う
ことを特徴とする請求項25又は26に記載の認証方法。
In the first step, the main control unit encrypts the inspection value with a predetermined encryption method,
In the second step, the post-stage unit performs the authentication by decrypting the check value encrypted by the main control unit with a decryption method corresponding to the predetermined encryption method. The authentication method according to claim 25 or 26.
前記第1のステップにおいて、前記主制御部は、前記認証の対象とされた前記所定のデータを前記データ量で分割して得られた前記所定のデータのブロックの数に基づいて、前記検査値の暗号化方式を変更し、
前記第2のステップにおいて、前記後段部は、前記主制御部に対する前記認証が成功した際に前記選択した2項演算の対象となった前記検査値の数に基づいて、前記検査値の復号化方式を変更する
ことを特徴とする請求項27に記載の認証方法。
In the first step, the main control unit determines the test value based on the number of blocks of the predetermined data obtained by dividing the predetermined data to be authenticated by the data amount. Change the encryption method of
In the second step, the post-stage unit decodes the test value based on the number of the test values subjected to the selected binary operation when the authentication to the main control unit is successful. The authentication method according to claim 27, wherein the method is changed.
前記第1のステップにおいて、前記主制御部は、前記検査値が付加される前記制御コマンドを示すデータ又は該データの付随データの少なくともいずれか一方のデータと、前記検査値とを併せたデータを暗号化することを特徴とする請求項20、23、24、27又は28のいずれかに記載の認証方法。   In the first step, the main control unit obtains data combining at least one of data indicating the control command to which the inspection value is added or accompanying data of the data, and the inspection value. The authentication method according to any one of claims 20, 23, 24, 27, and 28, wherein encryption is performed. 前記所定のデータは、前記主制御部が実行する処理を表す所定のプログラムコードを含むことを特徴とする請求項19乃至29のいずれかに記載の認証方法。   30. The authentication method according to any one of claims 19 to 29, wherein the predetermined data includes predetermined program code representing processing executed by the main control unit. 前記所定の制御コマンドは、
大当たり中の各ラウンドに対応する大当たりコマンド、
大当たり状態の処理を開始させるための大当たり開始コマンド、
大当たり状態の処理を終了させるための大当たり終了コマンド、
前記周辺部に大当たり前のリーチ状態の処理を実行させるための大当たりリーチコマンド、
前記周辺部に電源投入時の処理を実行させるための電源投入コマンド、
前記周辺部に非遊技状態におけるデモ表示を実行させるための客待ちデモコマンド、
前記周辺部に非遊技状態におけるデモ表示を停止させるための客待ちデモ停止コマンド、
前記周辺部に抽選時の抽選結果がはずれの場合の処理を実行させるためのはずれコマンド、
小当たり中の各ラウンドに対応する小当たりコマンドのいずれかであることを特徴とする請求項19乃至30のいずれかに記載の認証方法。
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 authentication method according to any one of claims 19 to 30, wherein the authentication method is any one of the small hit commands corresponding to each round in the small hit.
前記周辺部は、前記認証結果が前記主制御部の認証不成功を示す場合には、その旨を報知する報知信号を出力する第3のステップをさらに有することを特徴とする請求項19乃至31のいずれかに記載の認証方法。   The said peripheral part has further the 3rd step which outputs the alerting | reporting signal which alert | reports that when the said authentication result shows that the authentication of the said main control part is unsuccessful, The Claim 19 thru | or 31 characterized by the above-mentioned. The authentication method in any one of. 制御コマンドを出力する主制御部と、前記制御コマンドに応じた処理を行う周辺部と、後段部とを備える遊技機に搭載されるコンピュータに、
前記主制御部が出力する制御コマンドが所定の制御コマンドである場合には、
前記主制御部が、データ記憶手段に記憶されている所定のデータを分割し、分割された各データを用いて結合法則を満たす一又は複数の2項演算の中の1個の2項演算を行って複数の検査値を生成し、前記複数の検査値を所定の制御コマンドに付加して前記周辺部を介して前記後段部に送信する検査値生成機能と、
前記後段部が、前記所定の制御コマンドに付加された前記複数の検査値を用いて前記主制御部と同じ2項演算を行い、この演算結果と、前記データ記憶手段に記憶されている前記所定のデータを用いて前記一又は複数の2項演算をそれぞれ行って得られた複数の演算値のうち、前記2項演算に対応する前記演算値が一致するか否かに基づいて前記主制御部を認証し、得られた認証結果を前記周辺部に送信する認証機能と、
前記周辺部が、前記認証結果に応じて処理を行う処理機能と
を実現させるためのコンピュータ読み取り可能な認証プログラム。
In a computer mounted on a gaming machine including a main control unit that outputs a control command, a peripheral unit that performs processing according to the control command, and a subsequent unit,
When the control command output by the main control unit is a predetermined control command,
The main control unit divides predetermined data stored in the data storage means, and performs one binary operation in one or a plurality of binary operations satisfying a combining law using each divided data. A test value generation function for generating a plurality of test values, adding the plurality of test values to a predetermined control command, and transmitting the test values to the subsequent stage unit via the peripheral unit;
The subsequent stage unit performs the same binary operation as the main control unit using the plurality of inspection values added to the predetermined control command, and the calculation result and the predetermined value stored in the data storage unit The main control unit based on whether or not the calculation values corresponding to the two-term calculation among the plurality of calculation values obtained by performing the one or plural binary calculations using the data of And an authentication function for transmitting the obtained authentication result to the peripheral part,
A computer-readable authentication program for realizing a processing function in which the peripheral unit performs processing according to the authentication result.
JP2009272016A 2009-11-30 2009-11-30 Game machine and authentication method Expired - Fee Related JP5322903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009272016A JP5322903B2 (en) 2009-11-30 2009-11-30 Game machine and authentication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009272016A JP5322903B2 (en) 2009-11-30 2009-11-30 Game machine and authentication method

Publications (2)

Publication Number Publication Date
JP2011110360A true JP2011110360A (en) 2011-06-09
JP5322903B2 JP5322903B2 (en) 2013-10-23

Family

ID=44233158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009272016A Expired - Fee Related JP5322903B2 (en) 2009-11-30 2009-11-30 Game machine and authentication method

Country Status (1)

Country Link
JP (1) JP5322903B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013009764A (en) * 2011-06-28 2013-01-17 Kyoraku Sangyo Kk Game machine and method of authenticating electronic equipment
JP2013009765A (en) * 2011-06-28 2013-01-17 Kyoraku Sangyo Kk Game machine and method of authenticating electronic equipment
JP2013009766A (en) * 2011-06-28 2013-01-17 Kyoraku Sangyo Kk Game machine and method of authenticating electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07250941A (en) * 1994-03-15 1995-10-03 Sankyo Kk Device for game
JP2005021330A (en) * 2003-07-01 2005-01-27 Daiman:Kk Game machine
JP2006204636A (en) * 2005-01-28 2006-08-10 Newgin Corp Game machine
JP2009022539A (en) * 2007-07-20 2009-02-05 Pa Net Gijutsu Kenkyusho:Kk One-chip microcomputer for game machine and game machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07250941A (en) * 1994-03-15 1995-10-03 Sankyo Kk Device for game
JP2005021330A (en) * 2003-07-01 2005-01-27 Daiman:Kk Game machine
JP2006204636A (en) * 2005-01-28 2006-08-10 Newgin Corp Game machine
JP2009022539A (en) * 2007-07-20 2009-02-05 Pa Net Gijutsu Kenkyusho:Kk One-chip microcomputer for game machine and game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013009764A (en) * 2011-06-28 2013-01-17 Kyoraku Sangyo Kk Game machine and method of authenticating electronic equipment
JP2013009765A (en) * 2011-06-28 2013-01-17 Kyoraku Sangyo Kk Game machine and method of authenticating electronic equipment
JP2013009766A (en) * 2011-06-28 2013-01-17 Kyoraku Sangyo Kk Game machine and method of authenticating electronic equipment

Also Published As

Publication number Publication date
JP5322903B2 (en) 2013-10-23

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
JP5322903B2 (en) Game machine and authentication method
JP5322902B2 (en) Game machine and authentication method
JP5067742B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5182723B2 (en) Game machine, rear stage, 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
JP5142408B2 (en) Game machine, main control unit, main control board, rear stage part, 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
JP5182720B2 (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
JP5181362B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5181361B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5182722B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5096451B2 (en) Game machine, rear stage, peripheral board, authentication method and authentication program
JP5007330B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program
JP5322905B2 (en) Game machine and authentication method
JP5002661B2 (en) Game machine, main control unit, main control board, 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
JP5096449B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5002662B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program
JP5322904B2 (en) Game machine and authentication method
JP5096448B2 (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

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120501

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120626

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20120720

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121204

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130204

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130716

R150 Certificate of patent or registration of utility model

Ref document number: 5322903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees