JP4999209B2 - Gaming machine and gaming machine authentication method - Google Patents

Gaming machine and gaming machine authentication method Download PDF

Info

Publication number
JP4999209B2
JP4999209B2 JP2010124158A JP2010124158A JP4999209B2 JP 4999209 B2 JP4999209 B2 JP 4999209B2 JP 2010124158 A JP2010124158 A JP 2010124158A JP 2010124158 A JP2010124158 A JP 2010124158A JP 4999209 B2 JP4999209 B2 JP 4999209B2
Authority
JP
Japan
Prior art keywords
unit
information
data
authentication
command
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2010124158A
Other languages
Japanese (ja)
Other versions
JP2011245225A (en
Inventor
直幸 渡辺
浩 水上
元成 横島
静 張
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyoraku Industrial Co Ltd
Original Assignee
Kyoraku Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kyoraku Industrial Co Ltd filed Critical Kyoraku Industrial Co Ltd
Priority to JP2010124158A priority Critical patent/JP4999209B2/en
Publication of JP2011245225A publication Critical patent/JP2011245225A/en
Application granted granted Critical
Publication of JP4999209B2 publication Critical patent/JP4999209B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Pinball Game Machines (AREA)

Description

本発明は、パチンコ店等の遊技店に設置されるパチンコ遊技機、雀球遊技機、アレンジボール等の弾球遊技機、スロットマシン等の回胴式遊技機などの遊技機及び各遊技機で行われる認証方法に関する。   The present invention relates to a pachinko machine, a sparrow ball game machine, a ball ball game machine such as an arrangement ball, a game machine such as a revolving game machine such as a slot machine, and each game machine installed in a game shop such as a pachinko shop. It relates to the authentication method to be performed.

遊技機に対し行われる、メダルや遊技球など(以下、遊技媒体という)を遊技とは無関係に強制的に払い出させる不正行為のうち、主制御部が搭載された主制御基板や周辺部が搭載された周辺基板に関するものとして、例えば以下に示すものがある。
(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周辺部は、第1識別情報と第2識別情報と第3識別情報を用いて所定演算を行う演算手段と、演算手段の演算結果に基づいて遊技機に不正な改造が行われたか否かを判別する手段を有している(例えば、特許文献1参照。)。以下、この技術を第1の従来例と呼ぶ。   In order to prevent such illegal acts, there are the following conventional gaming machines. That is, the gaming machine includes a main control unit (main control unit) storing third identification information and a first sub control unit (first control unit) connected to the main control unit and storing first identification information. 1 peripheral part) and a second sub-control part (second peripheral part) connected to the main control part and storing the second identification information. In this gaming machine, 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 an illegal modification to the gaming machine based on the computation result of the computing unit. It has a means to discriminate | determine whether it was performed (for example, refer 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の従来例と呼ぶ。   Also, the conventional gaming machine includes a main control device (main control unit) that transmits data to the symbol control unit according to the game situation, and a symbol display device based on control data received from the main control unit according to the game situation. Some have a symbol control section (peripheral section) for controlling the above. 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. Encryption means and first key changing means for changing the first key data at a predetermined timing are provided. 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. The second key data is made to correspond to the first key data at a timing determined in advance so as to coincide with the change timing of the first key data and the authentication means for determining and authenticating the encrypted data when it is valid Second key changing means for changing to (for example, see 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 portion performs predetermined calculation using the first identification information, the second identification information, and the third identification information, and is mounted on the second peripheral portion that controls the display. The determined CPU 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, much time and labor are required for the design and verification for adding the authentication function, and there is a problem that it takes a lot of time and effort to develop the gaming machine. Furthermore, with the recent diversification of the effects of gaming machines, the code size of programs to be executed by the CPU tends to become enormous, so that the above problem increases with the addition of the authentication function.

また、CPUに既存の処理の他に認証処理を実行させる場合、CPUの処理負荷が増大するため、処理速度が低下するなどの問題があった。特に最近では、遊技の興趣向上を図るために遊技者の視覚や聴覚に訴える演出が多様となる傾向にあり、上記問題が発生するおそれが増大する。   In addition, when the CPU executes authentication processing in addition to existing processing, there is a problem in that the processing speed of the CPU is increased and the processing speed is reduced. In recent years, in particular, there is a tendency for various effects to appeal to the visual and auditory senses of players in order to improve the interest of the game, and the possibility that the above problems 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 main control unit and the peripheral unit to execute the authentication process in addition to the existing processing, the processing load of the CPU configuring the main control unit and the peripheral unit increases. Therefore, it is difficult to cause the CPU configuring the main control unit and the peripheral unit to execute authentication processing by a more complicated calculation and authentication processing more than once 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 means encrypts the control data corresponding to the first key data, and the first key change means sets the first key data at a predetermined timing. Has changed. The peripheral unit determines the validity of the received encrypted data by performing processing corresponding to the second key data on the encrypted data received by the authentication unit, authenticates the encrypted data if it is valid, The two-key changing means changes the second key data so as to correspond to the first key data at a predetermined timing so as to coincide with 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 the data is transmitted to the part, the processing load on the CPU in the main control part and the peripheral part increases, so that it is considered that the processing speed is reduced and there is a design restriction that makes it difficult to add the authentication process itself.

さらに、主制御部や周辺部を構成するCPUに既存の処理の他に認証処理を実行させることにより主制御部や周辺部を構成するCPUが実行するプログラム容量が増大する。それゆえ、ソフトウェア制御の柔軟性や拡張性を維持しながらも、主制御部や周辺部を構成するCPUにセキュリティをより強化するために、今まで以上に複雑な演算による認証処理や複数回の認証処理を実行させることは困難である。   Further, by causing the CPU configuring the main control unit and the peripheral unit to execute the authentication process in addition to the existing processing, the capacity of the program executed by the CPU configuring the main control unit and the peripheral unit increases. Therefore, while maintaining the flexibility and expandability of software control, in order to further strengthen the security of the CPU that constitutes the main control unit and the peripheral unit, authentication processing by more complicated calculations and multiple times It is difficult to execute the authentication process.

ところで、遊技機は、外部から電気的な雑音や機械的な振動等が加えられた場合、誤動作する場合がある。例えば、主制御部から周辺部に制御コマンドが送信されている際に、電磁波や静電気などの雑音が遊技機外部から加えられると、この雑音の影響により制御コマンドデータにビットエラーが発生し、制御コマンドが変更されてしまうという誤動作が生じる。ところが、第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. However, in the first to third conventional examples, no countermeasures are taken for such a problem of malfunction, so 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 an illegal act or malfunction of a gaming machine due to an exchange of a regular main control board and an unauthorized main control board of a gaming machine, and the main control unit and the surroundings. It is an object of the present invention to provide a gaming machine and a gaming machine authentication method that can reduce the processing load on the CPU of each section and have a high degree of design freedom when adding an authentication function.

上記課題を解決するために本発明は、主制御手段(主制御部10)と、前記主制御手段が出力する所定の情報に応じて処理を行う副制御手段(周辺部30)と、前記主制御手段と前記副制御手段との間に設けられた中間制御手段(中間部20)とを備えた遊技機であって、前記主制御手段は、所定の遊技情報が記憶されている情報記憶部(データ記憶部510)と、前記情報記憶部に記憶されている遊技情報に従って所定の演算を行う演算処理部(メインCPUコア500)と、所定の情報を前記中間制御手段へ送信する情報送信部(送信部520)と、前記情報記憶部に記憶されている特定の情報を読み込んで、前記情報記憶部に記憶されている情報の正当性を認証するための認証情報を生成する認証情報生成部(暗号化部530)と、前記認証情報生成部が生成した認証情報を記憶する認証情報記憶部(暗号化部530の認証データ記憶領域)と、前記認証情報記憶部に記憶されている認証情報を前記情報送信部に送信させる認証情報送信指示部(データ入出力部532)とを備え、前記演算処理部は、所定の演算結果の情報を前記情報送信部に送信させるための送信指示命令を前記情報送信部へ出力し、前記情報送信部は、前記送信指示命令が入力されると、前記所定の演算結果の情報を受け取り、受け取った前記所定の演算結果の情報を前記中間制御手段へ送信し、前記認証情報送信指示部は、前記演算処理部から前記情報送信部へ出力された前記送信指示命令を入力し、該送信指示命令を入力すると所定時間遅延して、前記認証情報記憶部に記憶されている認証情報を前記情報送信部に送信させ、前記中間制御手段は、前記情報送信部にて送信された認証情報を受信し、受信した認証情報に基づいて、前記情報記憶部に記憶されている情報を認証することにより、前記主制御手段の正当性を認証することを特徴とする。   In order to solve the above-described problems, the present invention includes a main control unit (main control unit 10), a sub-control unit (peripheral unit 30) that performs processing according to predetermined information output by the main control unit, A gaming machine comprising intermediate control means (intermediate unit 20) provided between the control means and the sub-control means, wherein the main control means is an information storage unit in which predetermined game information is stored (Data storage unit 510), an arithmetic processing unit (main CPU core 500) that performs a predetermined calculation according to game information stored in the information storage unit, and an information transmission unit that transmits predetermined information to the intermediate control means (Transmission unit 520) and an authentication information generation unit that reads specific information stored in the information storage unit and generates authentication information for authenticating the validity of the information stored in the information storage unit (Encryption unit 530) and the previous An authentication information storage unit (authentication data storage area of the encryption unit 530) that stores the authentication information generated by the authentication information generation unit, and an authentication that causes the information transmission unit to transmit the authentication information stored in the authentication information storage unit An information transmission instruction unit (data input / output unit 532), and the arithmetic processing unit outputs a transmission instruction command for causing the information transmission unit to transmit information on a predetermined calculation result to the information transmission unit, When the transmission instruction command is input, the information transmission unit receives the information on the predetermined calculation result, transmits the received information on the predetermined calculation result to the intermediate control unit, and the authentication information transmission instruction unit The transmission instruction command output from the arithmetic processing unit to the information transmission unit is input, and when the transmission instruction command is input, the authentication information stored in the authentication information storage unit The information is transmitted to the information transmission unit, and the intermediate control unit receives the authentication information transmitted from the information transmission unit and authenticates the information stored in the information storage unit based on the received authentication information. To authenticate the validity of the main control means.

本発明によれば、暗号化制御回路(ハードウェア)で構成される暗号化部が、主制御部の個体認証に必要な認証データを、プログラムコードに記述されたメインCPUコアからの指示によらず、独自に保持するアルゴリズムに従って生成し、中間部へ自動的に送信している。また、認証データの復号化に必要な鍵データは、メインCPUコアからの読み出し指示のみで暗号化制御回路から出力され、中間部へ送信される。従って、主制御部に対する認証機能を有しながらも、認証機能を有することで増大する主制御部のCPUの処理負荷やプログラム容量を最大限抑制することができ、パチンコ遊技機のセキュリティ強度の向上と処理速度の向上とを両立させることができる。また、本発明によれば、認証データ及び鍵コマンドの送信タイミングの設定や鍵データの更新タイミング等は、特定時間経過後や特定クロック数経過後など自由なタイミング設計が可能であり、ソフトウェア制御の拡張性や柔軟性も備えた認証機能を提供することができる。   According to the present invention, the encryption unit configured by the encryption control circuit (hardware) receives the authentication data necessary for the individual authentication of the main control unit according to the instruction from the main CPU core described in the program code. Instead, it is generated according to its own algorithm and automatically sent to the middle part. The key data necessary for decrypting the authentication data is output from the encryption control circuit only by a read instruction from the main CPU core, and transmitted to the intermediate unit. Therefore, while having an authentication function for the main control unit, it is possible to suppress the CPU processing load and program capacity of the main control unit, which increase by having the authentication function, to the maximum, and to improve the security strength of the pachinko gaming machine And improvement in processing speed can be achieved. In addition, according to the present invention, the setting of authentication data and key command transmission timing, key data update timing, etc. can be freely designed such as after a specific time or a specific number of clocks, and software control An authentication function with extensibility and flexibility can be provided.

また、本発明によれば、認証データの復号化処理や検査値と期待値との照合処理といった認証処理の大部分は中間部が実行する。よって、演出制御部で認証処理が実行されるのは、中間部から認証結果データを受信した場合のみである。すなわち、認証処理を行うことによって演出制御部のCPUの処理負荷が増大するのは、認証結果データを受信したときのみであるため、演出制御部の処理負荷が増大する割合を抑えることができる。また、演出制御部が実行するプログラムコードには認証結果データ解析処理に関するプログラムコードを追加するだけでよい。従って、演出制御部が実行するプログラムコード全体にわたっての新たなタイミング設計を行う必要がないので、認証結果データの解析機能を追加するだけのタイミング設計で済み、機能の実装、機能の検証などを、より簡単に少ない作業工数で実施することができる。また、このことで認証処理に関する機能を追加する際の設計自由度を高くすることができる。   Further, according to the present invention, most of the authentication processing such as the authentication data decryption processing and the inspection value / expected value matching processing is executed by the intermediate section. Therefore, the production control unit executes the authentication process only when the authentication result data is received from the intermediate unit. That is, the processing load on the CPU of the production control unit increases only when the authentication result data is received by performing the authentication process, and thus the rate at which the processing load of the production control unit increases can be suppressed. Further, the program code related to the authentication result data analysis process need only be added to the program code executed by the effect control unit. Therefore, since it is not necessary to perform a new timing design over the entire program code executed by the production control unit, the timing design only needs to add the analysis function of the authentication result data, the implementation of the function, the verification of the function, etc. It can be carried out more easily and with less man-hours. This also increases the degree of design freedom when adding functions related to authentication processing.

本発明の実施の形態に係るパチンコ遊技機の外観構成の一例を示す正面図である。It is a front view which shows an example of the external appearance structure of the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機の電気的構成の一例を示すブロック図である。It is a block diagram showing an example of an electrical configuration of a pachinko gaming machine according to an embodiment of the present invention. 本発明の実施の形態に係るパチンコ遊技機を構成する主制御部の認証処理に関する電気的構成の一例を示すブロック図である。It is a block diagram which shows an example of the electrical structure regarding the authentication process of the main control part which comprises the pachinko game machine which concerns on embodiment of this invention. 図3に示す主制御部の構成を詳細に説明するためのブロック図である。It is a block diagram for demonstrating in detail the structure of the main control part shown in FIG. 本発明の実施の形態に係るパチンコ遊技機を構成する主制御部が出力する制御コマンドの種別の一例を示す図である。It is a figure which shows an example of the classification of the control command which the main control part which comprises the pachinko game machine which concerns on embodiment of this invention outputs. 本発明の実施の形態に係るパチンコ遊技機を構成する主制御部による演出制御部へのコマンド送信を含む動作におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the operation | movement including the command transmission to the production | presentation control part by the main control part which comprises the pachinko gaming machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する主制御部による認証処理におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the authentication process by the main control part which comprises the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する主制御部による認証処理におけるタイムチャートの一例を示す図である。It is a figure which shows an example of the time chart in the authentication process by the main control part which comprises the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する中間部による認証処理におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the authentication process by the intermediate part which comprises the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する演出制御部によるメイン処理におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the main process by the production | presentation control part which comprises the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する演出制御部による割込処理におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the interruption process by the production | presentation control part which comprises the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する演出制御部によるコマンド解析処理におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the command analysis process by the production | presentation control part which comprises the pachinko game machine which concerns on embodiment of this invention. 本発明の実施の形態に係るパチンコ遊技機を構成する演出制御部による認証結果データ解析処理におけるフローチャートの一例を示す図である。It is a figure which shows an example of the flowchart in the authentication result data analysis process by the presentation control part which comprises the pachinko game machine which concerns on embodiment of this invention.

以下、図面を参照して本発明を実施するための形態について説明する。
[遊技機の基本構成]
図1は、本発明の実施の形態に係る遊技機の1つであるパチンコ遊技機1の外観構成を示す正面図である。また、図2は、図1に示すパチンコ遊技機1の電気的構成を示すブロック図である。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
[Basic configuration of gaming machine]
FIG. 1 is a front view showing an external configuration of a pachinko gaming machine 1 that is one of gaming machines according to an embodiment of the present invention. FIG. 2 is a block diagram showing an electrical configuration of the pachinko gaming machine 1 shown in FIG.

本実施の形態に係るパチンコ遊技機1は、遊技盤101を備えている。遊技盤101の図1において右下方であって、枠部材110の右下部には、遊技者によって操作され、発射部292(図2参照)を作動させるための操作ハンドル113が設けられている。操作ハンドル113は、遊技者側に突出する形状を呈している。操作ハンドル113は、発射部292を作動させて遊技球を発射させる発射指示部材114を備えている。発射指示部材114は、操作ハンドル113の外周部において、遊技者から見て右回りに回転可能に設けられている。発射部292は、発射指示部材114が遊技者によって直接操作されている場合に、遊技球を発射させる。公知の技術であるため説明を省略するが、操作ハンドル113には、遊技者が発射指示部材114を直接操作していることを検出するセンサなどが設けられている。   The pachinko gaming machine 1 according to the present embodiment includes a game board 101. An operation handle 113 is provided on the lower right side of the game board 101 in FIG. 1 and on the lower right side of the frame member 110 to operate the launching section 292 (see FIG. 2). 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 is directed in various directions. To drop. 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 start port 120 is unable to receive the game ball or is difficult to receive, and when the pair of movable pieces is in the open state. Is easier to accept the game ball 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(図2参照)から第1始動口105又は第2始動口120に遊技球が入球したことが報知されたときに、複数の装飾図柄の変動表示を開始し、所定時間経過後に当該装飾図柄の変動を停止させる。この停止時に特定図柄(例えば、「777」)が揃うと、遊技者は第1大当たり遊技(長当たり遊技)を実行する権利を獲得したこととなり、その後、第1大当たり遊技(長当たり遊技)が開始される。第1大当たり遊技(長当たり遊技)が開始されると、遊技領域103の下方に位置する第1大入賞口開閉装置109における第1大入賞口開閉扉109aが、一定の期間開放する動作を所定回数(例えば、15回)繰り返し、入球した遊技球に対応する賞球が払い出される。   The symbol display unit 104 changes a plurality of decorative symbols when it 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. 2) described later. 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 light emitted from the plurality of lights 112 provided in the respective lights is the vertical direction, that is, the front of the pachinko gaming machine 1 The player 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, thereby moving 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).

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

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

加えて、枠部材110には、演出効果音又は不正を知らしめる音響を出力するスピーカ277(図2参照)が組み込まれている。このスピーカ277は、高音・中音・低音の領域を出力できるタイプのものであり、通常演出時は高音・中音・低音をバランスよく出力するが、例えば、特別演出時又は不正等があった場合には、周りによく聞こえるように高音領域を高く出力するように制御される。   In addition, the frame member 110 incorporates a speaker 277 (see FIG. 2) that outputs a production effect sound or a sound that informs the 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の電気的構成について、図2に示すブロック図を参照して説明する。パチンコ遊技機1は、電気的な構成上は、制御手段200に、第1始動口検出部221等の各種検出手段や、図柄表示部104等の各種演出手段、役物作動装置231、払出部291、発射部292などが接続されて構成されている。制御手段200は、図2に示す例では、主制御部10と、中間部20と、演出制御部203と、賞球制御部204と、ランプ制御部205とから構成されている。   Next, the electrical configuration of the pachinko gaming machine 1 according to the embodiment of the present invention will be described with reference to the block diagram shown in FIG. In terms of electrical configuration, the pachinko gaming machine 1 has a control means 200, various detection means such as a first start port detection unit 221, various presentation means such as a symbol display unit 104, an accessory operating device 231 and a payout unit. 291 and a launching unit 292 are connected to each other. In the example shown in FIG. 2, the control unit 200 includes a main control unit 10, an intermediate unit 20, an effect control unit 203, a prize ball control unit 204, and a lamp control unit 205.

主制御部10は、CPU10aと、ROM10bと、RAM10cと、暗号化制御回路10gと、カウンタ回路(タイマ)(図示せず)から少なくとも構成されるワンチップマイコン10m等を備えている。CPU10aは、パチンコ遊技機1の遊技に係る基本動作を制御し、ROM10bに予め記憶されているプログラム(プログラムコード)に基づき、遊技内容の進行に伴う基本処理を実行する。ROM10bには、CPU10aがパチンコ遊技機1の遊技内容の進行に伴う基本処理を実行するためのプログラムコードが予め記憶されている。   The main control unit 10 includes a CPU 10a, a ROM 10b, a RAM 10c, an encryption control circuit 10g, a one-chip microcomputer 10m including at least 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.

RAM10cは、CPU10aがパチンコ遊技機1の遊技内容の進行に伴う基本処理を実行する際に行う演算処理において、データ等のワークエリアとして機能する。暗号化制御回路10gは、主制御部10の個体としての正当性(アイデンティティ)を認証する(以下、単に「個体認証」という)ために用いる検査値を取得し、検査値に対して暗号化処理を施して認証データを生成する。また、暗号化制御回路10gは、生成した認証データを演出制御部203へ送信する処理を制御する。なお、これら認証処理に関するものの詳細については後述する。また、カウンタ回路(タイマ)は、経過時間をカウントする。この主制御部10では、第1始動口105又は第2始動口120への遊技球の入球を契機として、大当たりの抽選を行うとともに、この抽選結果に基づいて、ROM10bに記憶されている演出に係わる制御コマンドの選択を行う。   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 encryption control circuit 10g acquires a test value used to authenticate the identity (identity) of the main control unit 10 as an individual (hereinafter simply referred to as “individual authentication”), and performs an encryption process on the test value. To generate authentication data. In addition, the encryption control circuit 10g controls processing for transmitting the generated authentication data to the effect control unit 203. Details regarding these authentication processes will be described later. 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. The control command related to is selected.

主制御部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 big prize opening detection unit 224 detects the game ball that has entered the second big prize opening 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が接続されている。本実施の形態では、役物作動装置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 present embodiment, the accessory actuating device 231 includes a first grand prize opening / closing solenoid 109b and a second grand prize opening / closing solenoid that open and close the first grand prize opening / closing door 109a and the second large prize opening / closing door 129a, respectively. 129b and a second start port opening / closing solenoid 120b for opening and closing the second start port 120.

役物作動装置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.

中間部20は、CPU20aと、ROM20bと、RAM20c等を備えている。CPU20aは、主にパチンコ遊技機1の認証に係る動作を制御し、ROM20bに予め記憶されているプログラム(プログラムコード)に基づき認証処理を実行する。ROM20bには、CPU20aが処理を実行するためのプログラムコードに加え、主制御部10を構成するROM10bに予め記憶された主制御部10固有の情報である検査値に対応する期待値が予め記憶されている。RAM20cは、CPU20aが処理を実行する際に行う演算処理や認証処理を実行する際に行う演算処理等のワークエリアとして機能する。   The intermediate unit 20 includes a CPU 20a, a ROM 20b, a RAM 20c, and the like. The CPU 20a mainly controls operations related to authentication of the pachinko gaming machine 1, and executes authentication processing based on a program (program code) stored in advance in the ROM 20b. In addition to the program code for the CPU 20a to execute processing, the ROM 20b stores in advance an expected value corresponding to a test value, which is information unique to the main control unit 10 stored in advance in the ROM 10b constituting the main control unit 10. ing. The RAM 20c functions as a work area for arithmetic processing performed when the CPU 20a executes processing and arithmetic processing performed when the authentication processing is executed.

演出制御部203は、CPU203aと、ROM203bと、RAM203cと、VRAM203d等を備えている。CPU203aは、主にパチンコ遊技機1の遊技中における演出を制御し、ROM203bに予め記憶されているプログラム(プログラムコード)に基づき、主制御部10から中間部20を介して送信される制御信号にて示された制御コマンドに基づいて演出の抽選及び演出処理を実行する。ROM203bには、CPU203aが演出の抽選及び演出処理を実行するためのプログラムコードと、過去の演出パターンとが予め記憶されている。また、ROM203bには、主制御部10に予め記憶された主制御部10固有の情報である検査値に対応する期待値が予め記憶されている。RAM203cは、CPU203aが演出の抽選及び演出処理を実行する際に行う演算処理等を実行する際に行う演算処理等のワークエリアとして機能する。VRAM203dには、図柄表示部104に表示させるための画像データが書き込まれる。   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 effects during the game of the pachinko gaming machine 1, and based on a program (program code) stored in advance in the ROM 203b, a control signal transmitted from the main control unit 10 via the intermediate unit 20 The effect lottery and effect processing are executed based on the control commands shown. 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 ROM 203b stores in advance an expected value corresponding to an inspection value that is information unique to the main control unit 10 stored in advance in the main control unit 10. The RAM 203c functions as a work area for arithmetic processing and the like performed when the CPU 203a performs arithmetic processing and the like performed when the effect lottery and the effect processing are executed. Image data to be displayed on the symbol display unit 104 is written in the VRAM 203d.

この演出制御部203は、主制御部10から中間部20を介して送信される演出に係る制御コマンドを示す制御信号を受信すると、この制御信号にて示された制御コマンドに基づいて抽選を行い、演出背景パターン、リーチ演出パターン、登場キャラクター等の演出を確定するとともに、当該確定した演出の制御を行う。
また、演出制御部203の出力側には、図柄表示部104が接続されており、抽選によって決定された内容のとおりに、図柄表示部104に、例えば、図柄変動の演出表示を展開する。
When receiving the control signal indicating the control command related to the effect transmitted from the main control unit 10 via the intermediate unit 20, the effect control unit 203 performs lottery based on the control command indicated by the control signal. In addition to confirming the effects such as the effect background pattern, the reach effect pattern, and the appearing character, 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に記憶させる。
Usually, the CPU 203a reads the program code 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, reads necessary image data from the ROM 203b, and executes VRAM 203d. Write to. 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の入力側には、上記演出ボタン117が操作されたことを検出する演出ボタン検出部220が接続されている。また演出制御部203の出力側には、スピーカ277が接続されており、演出制御部203において確定したとおりに、音声が出力されるようにしている。
また演出制御部203の出力側には、ランプ制御部205を備えている。
An effect button detector 220 that detects that the effect button 117 has been operated is connected to the input side of the effect controller 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等の、演出用の役物を作動させるモータやソレノイド等によって構成されている。   The lamp control unit 205 operates the program read from the ROM 205b based on the control command indicated by the control signal transmitted from the effect control unit 203 to execute the effect process, and the program code and various effect pattern data. And a RAM 205c functioning as a data work area when the CPU 205a performs arithmetic processing. 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.
In addition, the lamp control unit 205 operates the solenoid of the effect agent actuating device 254 that operates the effect agent 115 and the collar unit 116 based on the control command indicated by the control signal transmitted from the effect control unit 203. The drive control etc. with respect to the motor of the production | presentation actor operating device 254 to perform are 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 the program code 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 launcher 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.

ここで、上記構成の演出制御部203、賞球制御部204、及びランプ制御部205を総称して「周辺部30」とする。また、主制御部10と、中間部20と、演出制御部203と、賞球制御部204と、ランプ制御部205とは、それぞれ異なるプリント基板(例えば、主制御部10は主制御基板、中間部20は中間基板、演出制御部203は演出制御基板、賞球制御部204は賞球制御基板、ランプ制御部205はランプ制御基板)に搭載されている。これらのうち、演出制御基板、賞球制御基板、及びランプ制御基板を総称して「周辺基板」とする。なお、中間部20及びランプ制御部205は、演出制御部203と同一のプリント基板上に搭載することもできる。また、賞球制御部204は、主制御部10と同一のプリント基板上に搭載することもできる。   Here, the effect control unit 203, the prize ball control unit 204, and the lamp control unit 205 configured as described above are collectively referred to as the “peripheral unit 30”. In addition, the main control unit 10, the intermediate unit 20, the effect control unit 203, the prize ball control unit 204, and the lamp control unit 205 are different from each other (for example, the main control unit 10 is the main control board, The unit 20 is mounted on the intermediate board, the effect control unit 203 is mounted on the effect control board, the prize ball control unit 204 is mounted on the prize ball control board, and the lamp control unit 205 is mounted on the lamp control board. Among these, the effect control board, the prize ball control board, and the lamp control board are collectively referred to as “peripheral boards”. The intermediate unit 20 and the lamp control unit 205 can also 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が不正防止のために有する認証機能を実現する手段について、図面を参照しながら説明する。本実施の形態に係るパチンコ遊技機1の認証機能は、中間部20が主制御部10に対する個体認証を行うことによって実現される。そして、中間部20で得られた認証結果は周辺部30へ送信され、周辺部30にて受信した認証結果に応じた処理が行われる。なお、本実施の形態では、中間部20で得られた認証結果は、周辺部30のうち演出制御部203へ送信され、演出制御部203が認証結果に応じた処理を行うこととして説明する。
[Configuration for gaming machine authentication]
Next, means for realizing the authentication function that the pachinko gaming machine 1 having the above configuration has for preventing fraud will be described with reference to the drawings. The authentication function of the pachinko gaming machine 1 according to the present embodiment is realized by the intermediate unit 20 performing individual authentication with respect to the main control unit 10. Then, the authentication result obtained by the intermediate unit 20 is transmitted to the peripheral unit 30, and processing according to the authentication result received by the peripheral unit 30 is performed. In the present embodiment, the authentication result obtained by the intermediate unit 20 is described as being transmitted to the effect control unit 203 in the peripheral unit 30, and the effect control unit 203 performs processing according to the authentication result.

具体的には、主制御部10が保持する固有の情報を検査値とし、中間部20に予め記憶されている主制御部10固有の情報に対応する情報を期待値として、検査値と期待値とが一致すると主制御部10に対する個体認証が成功したと判断される。中間部20は、得られた主制御部10に対する個体認証の結果を、演出制御部203へ送信する。演出制御部203は、中間部20から送信された認証結果を参照し、参照した認証結果に応じた処理を行う。また、主制御部10は、認証処理を実行するに際して、検査値を生成し中間部20へ送信するが、送信前に暗号鍵を用いて検査値に暗号化処理を施す。中間部20は、暗号化された検査値に対して復号化処理を施して検査値を抽出する。本実施の形態では、検査値に対して暗号化処理を施して得られたデータを「認証データ」という。また、検査値に対する暗号化処理に用いる暗号鍵、及び認証データに対する復号化処理に用いる復号鍵を総称して「鍵データ」という。   Specifically, the test information and the expected value are obtained by using the unique information held by the main control unit 10 as the test value and the information corresponding to the information unique to the main control unit 10 stored in the intermediate unit 20 as the expected value. Is matched, it is determined that the individual authentication for the main control unit 10 is successful. The intermediate unit 20 transmits the obtained result of individual authentication for the main control unit 10 to the effect control unit 203. The effect control unit 203 refers to the authentication result transmitted from the intermediate unit 20, and performs processing according to the referred authentication result. Further, when executing the authentication process, the main control unit 10 generates a test value and transmits it to the intermediate unit 20, but performs an encryption process on the test value using an encryption key before transmission. The intermediate unit 20 performs a decryption process on the encrypted check value and extracts the check value. In the present embodiment, data obtained by performing the encryption process on the inspection value is referred to as “authentication data”. The encryption key used for the encryption process for the check value and the decryption key used for the decryption process for the authentication data are collectively referred to as “key data”.

図3は、本発明の実施の形態に係るパチンコ遊技機1を構成する主制御部10の認証処理に関する電気的構成を示すブロック図である。主制御部10は、メインCPUコア500と、データ記憶部510と、送信部520と、暗号化部530と、パルス発生部540と、内部バス550とを少なくとも備えている。以下、メインCPUコア500、データ記憶部510、送信部520、暗号化部530、パルス発生部540、又は内部バス550を総称して「主制御部10の構成部」という。   FIG. 3 is a block diagram showing an electrical configuration related to the authentication process of the main control unit 10 constituting the pachinko gaming machine 1 according to the embodiment of the present invention. The main control unit 10 includes at least a main CPU core 500, a data storage unit 510, a transmission unit 520, an encryption unit 530, a pulse generation unit 540, and an internal bus 550. Hereinafter, the main CPU core 500, the data storage unit 510, the transmission unit 520, the encryption unit 530, the pulse generation unit 540, or the internal bus 550 are collectively referred to as “components of the main control unit 10”.

メインCPUコア500は、パチンコ遊技機1の認証処理の進行に伴う基本動作を制御する。メインCPUコア500は、データ記憶部510に記憶され予め取り決められた認証処理に関する処理内容や手順を記述したプログラムコードに基づいて、認証処理を進行させる際に行う各種演算処理を実行する。例えば、メインCPUコア500は、認証処理に関する制御コマンドを実行し、主制御部10の認証処理に係る他の回路に指示し認証処理を制御する。なお、メインCPUコア500が有する機能を実現する手段は、例えば、図2に示すCPU10aの一部から構成することができる。   The main CPU core 500 controls basic operations accompanying the progress of the authentication process of the pachinko gaming machine 1. The main CPU core 500 executes various arithmetic processes that are performed when the authentication process proceeds based on a program code that is stored in the data storage unit 510 and describes processing contents and procedures related to the predetermined authentication process. For example, the main CPU core 500 executes a control command related to the authentication process, and instructs other circuits related to the authentication process of the main control unit 10 to control the authentication process. Note that the means for realizing the functions of the main CPU core 500 can be configured, for example, from a part of the CPU 10a shown in FIG.

データ記憶部510には、メインCPUコア500がパチンコ遊技機1にて認証処理を実行するための認証処理に関するプログラムコードが予め記憶されている。また、データ記憶部510には、主制御部10に対する個体認証を行うために用いる検査値が記憶されている。データ記憶部510は、メインCPUコア500や暗号化部530の読み出し指示に従って、認証処理に関するプログラムコードや検査値を転送する。ここで、「転送」とは、主制御部10の各構成部間のデータや信号の移動を意味する。また、「受け渡し」とは、主制御部10の各構成部内のデータや信号の移動を意味する。また、「送信」とは、例えば主制御部10の外部(例えば、中間部20)へのデータや信号の伝送を意味する。なお、データ記憶部510が有する機能を実現する手段は、例えば、図2に示すROM10bの一部から構成することができる。   In the data storage unit 510, a program code related to authentication processing for the main CPU core 500 to execute authentication processing in the pachinko gaming machine 1 is stored in advance. Further, the data storage unit 510 stores test values used for individual authentication with respect to the main control unit 10. The data storage unit 510 transfers a program code and an inspection value related to the authentication process in accordance with a read instruction from the main CPU core 500 or the encryption unit 530. Here, “transfer” means movement of data and signals between the components of the main controller 10. Further, “delivery” means movement of data and signals in each component of the main control unit 10. “Transmission” means, for example, transmission of data and signals to the outside of the main control unit 10 (for example, the intermediate unit 20). Note that the means for realizing the functions of the data storage unit 510 can be configured, for example, from a part of the ROM 10b shown in FIG.

送信部520は、メインCPUコア500や暗号化部530から転送された制御コマンドやデータ等を、中間部20や中間部20を介して演出制御部203へ送信するためのインターフェイスの役割を果たす。例えば、送信部520は、メインCPUコア500が認証処理に関する制御コマンドを実行して中間部20に認証処理を実行させる際に、メインCPUコア500から認証処理に関する制御コマンドに対応した制御コマンドデータを受け取る。そして送信部520は、受け取った制御コマンドデータを制御信号に変換し中間部20へ送信する。なお、送信部520が有する機能を実現する手段は、上記変換機能を有する公知の入出力装置から構成することができる。但し、主制御部10から中間部20への一方向のみ伝送可能となっている。   The transmission unit 520 serves as an interface for transmitting control commands, data, and the like transferred from the main CPU core 500 and the encryption unit 530 to the effect control unit 203 via the intermediate unit 20 and the intermediate unit 20. For example, when the main CPU core 500 executes a control command related to authentication processing and causes the intermediate unit 20 to execute authentication processing, the transmission unit 520 sends control command data corresponding to the control command related to authentication processing from the main CPU core 500. receive. Then, the transmission unit 520 converts the received control command data into a control signal and transmits it to the intermediate unit 20. Note that the means for realizing the function of the transmission unit 520 can be configured by a known input / output device having the conversion function. However, transmission in only one direction from the main control unit 10 to the intermediate unit 20 is possible.

なお、制御信号は、制御コマンドの内容を表す制御コマンドデータに誤り検出符号等を付加して構成されたデータを電気信号に変換したものを意味するが、以下、「制御コマンド」という言葉には、中間部20や演出制御部203などへの制御命令の意味だけではなく、制御コマンドデータや制御信号の意味も含まれるものとする。また、制御信号を中間部20や演出制御部203などへ送信することを単に「制御コマンドを送信する」という。また、「制御コマンドを書き込む」とは、制御コマンドデータのみを書き込むことに限定されず、制御信号を構成する制御コマンドデータ以外のデータの書き込みも含まれているものとする。   The control signal means the control command data representing the contents of the control command, which is obtained by converting the data configured by adding an error detection code or the like into an electric signal. Hereinafter, the term “control command” In addition, not only the meaning of the control command to the intermediate unit 20 and the effect control unit 203 but also the meaning of the control command data and the control signal are included. In addition, transmitting a control signal to the intermediate unit 20 or the effect control unit 203 is simply referred to as “transmitting a control command”. “Writing a control command” is not limited to writing only control command data, and includes writing of data other than control command data constituting a control signal.

暗号化部530は、いわゆるハードウェアであって、自身が保持するアルゴリズムに従って検査値を暗号化する際の暗号鍵として鍵データを生成するとともに、データ記憶部510から転送された検査値を暗号化して認証データを生成する。そして、暗号化部530は、生成した認証データを予め取り決められた所定のタイミングによって送信部520へ転送し、中間部20へ送信させる。また、暗号化部530は、メインCPUコア500からの読み出し指示に従って、生成した鍵データをメインCPUコア500に転送する。なお、暗号化部530が有する機能を実現する手段は、例えば、図2に示す暗号化制御回路10gから構成することができる。   The encryption unit 530 is so-called hardware, which generates key data as an encryption key when encrypting a test value according to an algorithm held by the encryption unit 530, and encrypts the test value transferred from the data storage unit 510. To generate authentication data. Then, the encryption unit 530 transfers the generated authentication data to the transmission unit 520 at a predetermined timing determined in advance, and causes the intermediate unit 20 to transmit the authentication data. Further, the encryption unit 530 transfers the generated key data to the main CPU core 500 in accordance with a read instruction from the main CPU core 500. Note that the means for realizing the functions of the encryption unit 530 can be configured by, for example, the encryption control circuit 10g shown in FIG.

パルス発生部540は、メインCPUコア500、送信部520、及び暗号化部530に対してクロック信号を送る。パルス発生部540と接続されたメインCPUコア500等は、受け取ったクロック信号を基に互いの動作を同期させている。また、メインCPUコア500等は、パルス発生部から受け取ったクロック信号をカウントして割込処理等を行う際のタイマ機能を保有している。パルス発生部540が有する機能を実現する手段は、公知のクロックパルス発生装置から構成することができる。内部バス550は、メインCPUコア500と暗号化部530とのデータの転送など、主制御部10を構成する構成要素が互いに各種データや信号をやり取りするための経路である。内部バス550は、アドレスバス及びデータバスの機能を少なくとも含み、内部バス550が有する機能を実現する手段は、公知の信号線から構成することができる。   The pulse generation unit 540 sends a clock signal to the main CPU core 500, the transmission unit 520, and the encryption unit 530. The main CPU core 500 and the like connected to the pulse generator 540 synchronize operations with each other based on the received clock signal. Further, the main CPU core 500 or the like has a timer function for performing an interrupt process or the like by counting the clock signal received from the pulse generator. The means for realizing the functions of the pulse generator 540 can be configured from a known clock pulse generator. The internal bus 550 is a path through which constituent elements of the main control unit 10 such as data transfer between the main CPU core 500 and the encryption unit 530 exchange various data and signals. The internal bus 550 includes at least functions of an address bus and a data bus, and means for realizing the functions of the internal bus 550 can be configured by a known signal line.

次に、認証処理時における主制御部10の各構成部の処理について説明する。図4は、図3に示した主制御部10の構成を詳細に説明するためのブロック図である。
パチンコ遊技機1の電源が投入され、メインCPUコア500が初期設定処理を行った後、主制御部10を構成する暗号化部530は、鍵データの生成を開始する。暗号化部530が鍵データの生成を開始するタイミングは、メインCPUコア500からの指示によらず、暗号化部530が保持するアルゴリズムで予め設定されている。具体的には、暗号化部530を構成する鍵決定部531は、例えば、乱数生成回路(図示せず)や乱数生成アルゴリズムなどの自身が保持する乱数生成手段によって生成された値を鍵データとする。
Next, processing of each component of the main control unit 10 during authentication processing will be described. FIG. 4 is a block diagram for explaining the configuration of the main control unit 10 shown in FIG. 3 in detail.
After the pachinko gaming machine 1 is turned on and the main CPU core 500 performs an initial setting process, the encryption unit 530 constituting the main control unit 10 starts generating key data. The timing at which the encryption unit 530 starts generating the key data is set in advance by an algorithm held by the encryption unit 530 regardless of an instruction from the main CPU core 500. Specifically, the key determination unit 531 constituting the encryption unit 530 uses, as key data, a value generated by random number generation means held by itself such as a random number generation circuit (not shown) or a random number generation algorithm, for example. To do.

なお、鍵決定部531は、乱数を用いないで鍵データを決定するようにしてもよい。例えば、鍵決定部531は、鍵データを決定するためのデータテーブルを予め保持させておき、鍵データを生成するタイミング等で鍵決定部531がそのテーブルから予め定めた規則に応じて鍵データを取得するようにしてもよい。また、鍵決定部531は、一度に1つの鍵データを生成して一意に決定してもよいし、一度に複数の鍵データを生成し複数の鍵データの中から1つの鍵データを選択し、今回の認証処理で使用する鍵データを決定してもよい。但し、今回の認証処理で使用する鍵データを決定するタイミングは、後述するメインCPUコア500への鍵データの出力よりも前とする。   Note that the key determination unit 531 may determine key data without using random numbers. For example, the key determination unit 531 holds a data table for determining key data in advance, and the key determination unit 531 obtains key data from the table according to a predetermined rule at the timing of generating the key data. You may make it acquire. Further, the key determination unit 531 may generate one key data at a time and determine the key data uniquely, or generate a plurality of key data at a time and select one key data from the plurality of key data. The key data used in the current authentication process may be determined. However, the timing for determining the key data used in the current authentication process is before the output of the key data to the main CPU core 500 described later.

続いて、暗号化部530は、主制御部10に対する個体認証を行うために用いる検査値をデータ記憶部510から取り込む。具体的には、暗号化部530を構成する暗号回路533が、データ記憶部510を構成するデータ記憶回路511が有する検査値を、内部バス550及びデータ入出力部532を介して転送させる。そして、暗号回路533は、データ入出力部532に書き込まれた検査値を、暗号回路533自身が保持する検査値用記憶領域に記憶させる。検査値は、主制御部10が保持する固有の情報であれば特に限定されない。例えば、メインCPUコア500に固有に付与されている識別番号(ID)の他、データ記憶回路511に記憶されている特定のアドレスに記憶されているデータ(制御コマンドデータ、命令コード及び固定データ等)のチェックサム等が考えられる。   Subsequently, the encryption unit 530 takes in a test value used for performing individual authentication for the main control unit 10 from the data storage unit 510. Specifically, the encryption circuit 533 included in the encryption unit 530 causes the test value of the data storage circuit 511 included in the data storage unit 510 to be transferred via the internal bus 550 and the data input / output unit 532. Then, the encryption circuit 533 stores the inspection value written in the data input / output unit 532 in the inspection value storage area held by the encryption circuit 533 itself. The inspection value is not particularly limited as long as it is unique information held by the main control unit 10. For example, in addition to an identification number (ID) uniquely assigned to the main CPU core 500, data (control command data, instruction code, fixed data, etc.) stored at a specific address stored in the data storage circuit 511 ) Checksum etc. can be considered.

暗号回路533は、取り込んだ検査値を検査値用記憶領域から読み出し、予め鍵決定部531で生成した鍵データを用いて暗号化処理を施し、認証データを生成する。暗号化処理の演算方式(以下、「暗号化方式」という)は、主制御部10と中間部20や演出制御部203との間で予め取り決めてあれば、特に限定されない。暗号化方式は、例えば、検査値と鍵データとを用いた四則演算又は論理演算等を行って所定のデータ長を有する演算データを得る処理方式、これらの四則演算又は論理演算等により得られた演算データのビット配列を並び変える処理方式、上記演算データのビットをシフト又はローテイトする処理方式、検査値を構成する複数のビットを取り出して所定の規則に従って並べて1つのデータを生成する処理方式などである。   The encryption circuit 533 reads the acquired inspection value from the inspection value storage area, performs encryption processing using the key data generated by the key determination unit 531 in advance, and generates authentication data. The calculation method of the encryption process (hereinafter referred to as “encryption method”) is not particularly limited as long as it is determined in advance between the main control unit 10 and the intermediate unit 20 or the effect control unit 203. The encryption method is obtained by, for example, a processing method for obtaining arithmetic data having a predetermined data length by performing four arithmetic operations or logical operations using the inspection value and the key data, and these four arithmetic operations or logical operations. A processing method for rearranging the bit array of operation data, a processing method for shifting or rotating the bits of the operation data, a processing method for extracting a plurality of bits constituting a test value and arranging them according to a predetermined rule to generate one data is there.

暗号回路533は、認証データを生成すると、自身の認証データ用記憶領域に記憶し、中間部20へ認証データを送信するタイミングまで保持しておく。そして、暗号回路533は、中間部20への認証データの送信タイミングを設定する。認証データの送信タイミングは、メインCPUコア500からの指示によらず、暗号化部530が保持するアルゴリズムで予め設定されている。暗号回路533は、認証データの送信タイミングになると、データ入出力部532及び内部バス550を介して主制御部10を構成する送信部520へ認証データを転送し、中間部20へ送信させる。具体的には、暗号回路533は、認証データの送信タイミングとなると、生成した認証データをデータ入出力部532へ受け渡す。データ入力部532は、受け渡された認証データを直ちに内部バス550を介して送信部520を構成するデータ入力部522へ書き込む。なお、鍵決定部531が鍵データを生成するタイミングと暗号回路533が検査値を取得するタイミングとは、暗号回路533が認証データをデータ入出力部532へ受け渡す前であれば特に制限はない。また、認証データの送信タイミングや送信部520の構成については後述する。   When generating the authentication data, the encryption circuit 533 stores the authentication data in its own authentication data storage area, and holds it until the authentication data is transmitted to the intermediate unit 20. The encryption circuit 533 sets the transmission timing of the authentication data to the intermediate unit 20. The transmission timing of the authentication data is set in advance by an algorithm held by the encryption unit 530 regardless of an instruction from the main CPU core 500. The encryption circuit 533 transfers the authentication data to the transmission unit 520 constituting the main control unit 10 via the data input / output unit 532 and the internal bus 550 and transmits the authentication data to the intermediate unit 20 at the authentication data transmission timing. Specifically, the encryption circuit 533 delivers the generated authentication data to the data input / output unit 532 at the authentication data transmission timing. The data input unit 532 immediately writes the passed authentication data to the data input unit 522 constituting the transmission unit 520 via the internal bus 550. Note that the timing at which the key determination unit 531 generates key data and the timing at which the encryption circuit 533 acquires the inspection value are not particularly limited as long as the encryption circuit 533 does not pass the authentication data to the data input / output unit 532. . Further, the transmission timing of the authentication data and the configuration of the transmission unit 520 will be described later.

一方、主制御部10を構成するメインCPUコア500は、中間部20に認証処理を開始させるトリガとなる鍵コマンドを実行する。具体的には、メインCPUコア500を構成する処理部501は、認証処理に関するプログラムコードに従って、鍵コマンドの実行するために必要な鍵データを取得する。より詳細には、メインCPUコア500を構成する処理部501は、鍵決定部531で決定された鍵データを取得するために、メインCPUコア500を構成するデータ入力出部502、内部バス550、及びデータ入出力部532を介して、鍵決定部531に対して鍵データの読み出し指示を行う。鍵決定部531は、処理部501からの鍵データの読み出し指示を受けると、予め決定した鍵データをデータ入力出部532へ受け渡す。データ入出力部532は、受け渡された鍵データを直ちに内部バス550を介してデータ入出力部502へ出力する。データ入出力部502は、出力された鍵データを処理部501に受け渡す。処理部501は、受け取った鍵データを用いて鍵コマンドを生成して、直ちに内部バス550及びデータ入出力部502を介して送信部520を構成するデータ入力部522へ書き込む。なお、鍵コマンドの詳細とその送信タイミングについては後述する。   On the other hand, the main CPU core 500 constituting the main control unit 10 executes a key command serving as a trigger for causing the intermediate unit 20 to start an authentication process. Specifically, the processing unit 501 constituting the main CPU core 500 acquires key data necessary for executing a key command according to a program code related to authentication processing. More specifically, the processing unit 501 configuring the main CPU core 500 acquires the key data determined by the key determining unit 531, the data input / output unit 502 configuring the main CPU core 500, the internal bus 550, The key determination unit 531 is instructed to read out key data via the data input / output unit 532. Upon receiving the key data read instruction from the processing unit 501, the key determination unit 531 delivers the predetermined key data to the data input / output unit 532. The data input / output unit 532 immediately outputs the received key data to the data input / output unit 502 via the internal bus 550. The data input / output unit 502 delivers the output key data to the processing unit 501. The processing unit 501 generates a key command using the received key data and immediately writes it to the data input unit 522 constituting the transmission unit 520 via the internal bus 550 and the data input / output unit 502. Details of the key command and its transmission timing will be described later.

送信部520は、主制御部10の各構成部からデータを転送されると、受け取ったデータを直ちに中間部20へ送信する。例えば、メインCPUコア500から内部バス550を介して送信部520を構成するデータ入力部522へ制御コマンドが書き込まれると、データ入力部522は、書き込まれた制御コマンドを直ちに送信回路521へ受け渡す。送信回路521は、受け渡された制御コマンドを送信データとして、直ちに中間部20へ送信する。   When data is transferred from each component of the main controller 10, the transmitter 520 immediately transmits the received data to the intermediate unit 20. For example, when a control command is written from the main CPU core 500 to the data input unit 522 configuring the transmission unit 520 via the internal bus 550, the data input unit 522 immediately transfers the written control command to the transmission circuit 521. . The transmission circuit 521 immediately transmits the received control command to the intermediate unit 20 as transmission data.

なお、主制御部10の各構成部がデータ入力部522へデータを書き込む際には、内部バス550内で他のデータとの衝突が生じないように、データ入力部522へ書き込むデータと同時に各構成部から書き込み信号が出力される。内部バス550は、出力された書き込み信号を通じて内部バス550を通るデータの割り当てを行う。書き込み信号を出力していない他の構成部は、内部バス550に通じる書き込み信号を参照することで、何のデータがデータ入力部522へ書き込まれているのかを知ることができる。例えば、メインCPUコア500からデータ入力部522へ制御コマンドが書き込まれる際に、その旨を示す書き込み信号が出力されると、暗号化部530は、当該書き込み信号を参照して現在はメインCPUコア500が制御コマンドをデータ入力部522へ書き込んでいることを知ることができる。   When each component of the main control unit 10 writes data to the data input unit 522, each data is written simultaneously with the data to be written to the data input unit 522 so that the internal bus 550 does not collide with other data. A write signal is output from the component. The internal bus 550 assigns data passing through the internal bus 550 through the output write signal. Other components that have not output the write signal can know what data is being written to the data input unit 522 by referring to the write signal communicated to the internal bus 550. For example, when a control signal is written from the main CPU core 500 to the data input unit 522, when a write signal indicating that is output, the encryption unit 530 refers to the write signal and currently reads the main CPU core. It can be seen that 500 is writing a control command to the data input unit 522.

一方、送信部530は、内部バス550を通じてデータ入力部522へ書き込むデータとその旨を示す書き込み信号とが入力されると、内部バス550から当該データを読み込んでデータ入力部522に書き込む。そして、送信部530は、データ入力部522にデータが書き込まれると、書き込まれたデータを送信回路521に受け渡し、送信データを構成して直ちに中間部20へ送信する。従って、例えば、暗号化部530は、メインCPUコア500の制御コマンドの書き込み信号を参照することによって、メインCPUコア500の制御コマンドの送信タイミングを知ることができる。   On the other hand, when data to be written to the data input unit 522 and a write signal indicating that are input via the internal bus 550, the transmission unit 530 reads the data from the internal bus 550 and writes it to the data input unit 522. Then, when data is written in the data input unit 522, the transmission unit 530 transfers the written data to the transmission circuit 521, configures transmission data, and immediately transmits the data to the intermediate unit 20. Therefore, for example, the encryption unit 530 can know the control command transmission timing of the main CPU core 500 by referring to the control command write signal of the main CPU core 500.

次に、主制御部10から中間部20に対して、又は中間部20を介して演出制御部203に対して送信される制御コマンドの種別について説明する。図5は、本発明の実施の形態に係るパチンコ遊技機1を構成する主制御部10が出力する制御コマンドの種別の一例を示す図であって、図5に示された制御コマンドの種別に限定されるものではない。主制御部10から中間部20や中間部20を介して演出制御部203へ送信される制御コマンドは、1コマンドが2バイトのデータで構成されており、制御コマンドの分類を識別するための1バイトのMODEの情報と、各制御コマンドの詳細な制御内容を示す1バイトのDATAの情報とから構成されている。なお、制御コマンドには一般的なデータ通信で伝送される信号と同様に、BCC(Block Check Character)等が付加されている場合もある。BCCは、データ伝送の過程で発生するデータ誤りなどをチェックするために、伝送ブロックごとに付加される誤り検出符号である。   Next, the types of control commands transmitted from the main control unit 10 to the intermediate unit 20 or to the effect control unit 203 via the intermediate unit 20 will be described. FIG. 5 is a diagram showing an example of the types of control commands output by the main control unit 10 constituting the pachinko gaming machine 1 according to the embodiment of the present invention, and the control command types shown in FIG. It is not limited. The control command transmitted from the main control unit 10 to the effect control unit 203 via the intermediate unit 20 or the intermediate unit 20 is composed of 2 bytes of data, and 1 for identifying the control command classification. It consists of byte MODE information and 1-byte DATA information indicating the detailed control contents of each control command. Note that BCC (Block Check Character) or the like may be added to the control command in the same manner as a signal transmitted in general data communication. 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.

MODEの情報とDATAの情報は鍵コマンド以外の通常の遊技処理に用いられる制御コマンド(以下、通常の制御コマンドという)については、データ記憶部510のデータ記憶回路511に予め記憶されている。鍵コマンドの場合、「MODE」の情報は、通常の制御コマンドと同様である(例えば、図5では「E8H」に割り当てられている)。一方、「DATA」の情報は、暗号化部530を構成する鍵決定部531から、メインCPUコア500への鍵データ出力よりも前に決定された1バイトの鍵データ(例えば、図5では「○×H」)が使用される。なお、鍵データは、鍵決定部531において予め設定されたタイミングで適宜更新される。よって、鍵コマンドを構成する「DATA」の情報の種類は、少なくとも鍵データの更新時に鍵データが取り得る値の分は少なくとも用意されており、鍵データの更新の度に、例えば、「○×H」→「△○H」→「□×H」等のように適宜変更される。   The MODE information and DATA information are stored in advance in the data storage circuit 511 of the data storage unit 510 for control commands (hereinafter referred to as normal control commands) used for normal game processing other than key commands. In the case of a key command, the information of “MODE” is the same as that of a normal control command (for example, assigned to “E8H” in FIG. 5). On the other hand, the information of “DATA” is 1-byte key data determined before the key data output to the main CPU core 500 from the key determination unit 531 constituting the encryption unit 530 (for example, “DATA” in FIG. ○ × H ”) is used. The key data is appropriately updated at a timing set in advance in the key determination unit 531. Therefore, at least the amount of information that can be taken by the key data at the time of updating the key data is prepared as the type of information of “DATA” constituting the key command. For example, “○ × It is appropriately changed such as “H” → “ΔH” → “□ × H”.

「電源投入コマンド」は、パチンコ遊技機1の電源が投入されたことを示すものであり、「MODE」が「E1H」で設定され、「DATA」が「00H」に設定されている。
この電源投入コマンドは、パチンコ遊技機1の電源が投入されたときに中間部20や中間部20を介して演出制御部203へ送信される。具体的には、パチンコ遊技機1の電源が投入されたとき、主制御部10を構成するメインCPUコア500の処理部501は、送信部520を構成するデータ入力部522に対して書き込み信号を出力するとともに、電源投入コマンドをデータ入力部522の記憶領域に書き込む。その後、データ入力部522は、書き込まれた電源投入コマンドを直ちに送信回路521に受け渡す。送信回路521は、受け渡された電源投入コマンドを送信データとして、直ちに中間部20へ送信する。このように、制御コマンドを中間部20や中間部20を介して演出制御部203へ送信するに際して、送信部520を構成するデータ入力部522に書き込み信号を出力するとともに、制御コマンドをデータ入力部522の記憶領域に書き込み、送信回路521へ受け渡して送信データとすることを、以下、単に「制御コマンドをセットする」という。
The “power-on command” indicates that the power of the pachinko gaming machine 1 is turned on, “MODE” is set to “E1H”, and “DATA” is set to “00H”.
This power-on command is transmitted to the effect control unit 203 via the intermediate unit 20 and the intermediate unit 20 when the pachinko gaming machine 1 is powered on. Specifically, when the power of the pachinko gaming machine 1 is turned on, the processing unit 501 of the main CPU core 500 that constitutes the main control unit 10 sends a write signal to the data input unit 522 that constitutes the transmission unit 520. In addition to outputting, a power-on command is written in the storage area of the data input unit 522. Thereafter, the data input unit 522 immediately transfers the written power-on command to the transmission circuit 521. The transmission circuit 521 immediately transmits the received power-on command as transmission data to the intermediate unit 20. As described above, when the control command is transmitted to the effect control unit 203 via the intermediate unit 20 or the intermediate unit 20, a write signal is output to the data input unit 522 constituting the transmission unit 520, and the control command is transmitted to the data input unit. Writing to the storage area 522 and transferring it to the transmission circuit 521 as transmission data is hereinafter simply referred to as “setting a control command”.

「客待ちデモコマンド」は、パチンコ遊技機1が非遊技状態における客待ちのデモ画面を表示させることを示すものであり、「MODE」が「E2H」で設定され、「DATA」が「00H」に設定されている。
この客待ちデモコマンドは、電源投入時に表示される初期演出表示としてデモが開始されてから、又は後述する未抽選入賞回数がゼロとなりデモが開始されてから、所定時間経過したときに中間部20を介して演出制御部203へ送信される。具体的には、上記デモが開始され所定時間経過後に、客待ちデモコマンドが送信部520にセットされる。その後、直ちに送信部520にセットされている客待ちデモコマンドが中間部20を介して演出制御部203へ送信されることとなる。
The “customer waiting demonstration command” indicates that the pachinko machine 1 displays a demonstration screen waiting for a customer in a non-game state, “MODE” is set to “E2H”, and “DATA” is “00H”. Is set to
This customer-waiting demo command is displayed in the intermediate section 20 when a predetermined time elapses after the demonstration is started as the initial effect display displayed when the power is turned on, or after the number of undrawn winning prizes described later becomes zero and the demonstration is started. Is transmitted to the effect control unit 203. Specifically, a customer waiting demo command is set in the transmission unit 520 after a predetermined time elapses after the demonstration is started. Thereafter, the customer waiting demonstration command set in the transmission unit 520 is immediately transmitted to the effect control unit 203 via the intermediate unit 20.

「図柄変動パターンコマンド」は、パチンコ遊技機1の始動口(第1始動口105又は第2始動口125)に遊技球が入賞し、図柄表示部104にて入賞抽選結果に応じた図柄の変動態様を示すものであり、「MODE」が「E3H」で設定され、各種の変動パターンに合わせてDATAの情報が設定されている。
この図柄変動パターンコマンドは、入賞抽選時の大当たり判定後の各種の図柄変動パターンの決定時に中間部20を介して演出制御部203へ送信される。具体的には、入賞抽選時に取得した大当たり判定用乱数が予め設定された大当たり判定テーブルのいずれかの乱数値と対応するかが判断され、各種の図柄変動パターンが決定されて図柄変動が開始されたときに、決定された図柄変動パターンに対応する図柄変動パターンコマンドが送信部520にセットされる。その後、直ちに送信部520にセットされている図柄変動パターンコマンドが中間部20を介して演出制御部203へ送信されることになる。
The “symbol change pattern command” indicates that the game ball wins at the start port (first start port 105 or second start port 125) of the pachinko gaming machine 1 and the symbol change according to the winning lottery result on the symbol display unit 104. In this example, “MODE” is set as “E3H”, and DATA information is set according to various variation patterns.
This symbol variation pattern command is transmitted to the effect control unit 203 via the intermediate unit 20 when various symbol variation patterns after the jackpot determination at the time of winning lottery are determined. Specifically, it is determined whether or not the jackpot determination random number acquired at the time of winning lottery corresponds to any random number value in the preset jackpot determination table, various symbol variation patterns are determined, and symbol variation is started. The symbol variation pattern command corresponding to the determined symbol variation pattern is set in the transmission unit 520. Thereafter, the symbol variation pattern command set in the transmission unit 520 is immediately transmitted to the effect control unit 203 via the intermediate unit 20.

「図柄停止コマンド」は、図柄変動を停止表示させることを示すものであり、「MODE」が「E4H」で設定され、「DATA」が「00H」に設定されている。
この図柄停止コマンドは、図柄変動が開始され図柄変動時間が経過した後に中間部20を介して演出制御部203へ送信される。具体的には、図柄変動が開始され後、予め設定された図柄変動時間が経過したため図柄変動を停止させるときに、図柄停止コマンドが送信部520にセットされる。その後、直ちに送信部520にセットされている図柄停止コマンドが中間部20を介して演出制御部203へ送信されることになる。
The “symbol stop command” indicates that the symbol variation is stopped and displayed, “MODE” is set to “E4H”, and “DATA” is set to “00H”.
The symbol stop command is transmitted to the effect control unit 203 via the intermediate unit 20 after the symbol variation has started and the symbol variation time has elapsed. Specifically, the symbol stop command is set in the transmission unit 520 when the symbol variation is stopped because a predetermined symbol variation time has elapsed after the symbol variation is started. Thereafter, the symbol stop command set in the transmission unit 520 is immediately transmitted to the effect control unit 203 via the intermediate unit 20.

「大当たり開始コマンド」は、各種の大当りが開始することを示すものであり、「MODE」が「E5H」で設定され、大当たりの種別に合わせてDATAの情報が設定されている。
この大当たり開始コマンドは、各種の大当りが開始するときに、大当たりの種別に対応する大当たり開始コマンドが中間部20を介して演出制御部203へ送信される。具体的には、大当たり遊技処理の開始のときに、大当たりの種別に対応する大当たり開始コマンドが送信部520にセットされる。その後、直ちに送信部520にセットされている大当たり開始コマンドが中間部20を介して演出制御部203へ送信されることになる。
The “big jack start command” indicates that various jackpots start, “MODE” is set as “E5H”, and DATA information is set according to the jackpot type.
As for the jackpot start command, when various jackpots start, the jackpot start command corresponding to the jackpot type is transmitted to the effect control unit 203 via the intermediate unit 20. Specifically, when the jackpot game process is started, a jackpot start command corresponding to the jackpot type is set in the transmission unit 520. Thereafter, the jackpot start command set in the transmission unit 520 is immediately transmitted to the effect control unit 203 via the intermediate unit 20.

「大当たりコマンド」は、各種大当りの種別に合わせた大当たりのラウンド数を示すものであり、「MODE」が「E6H」で設定され、大当たりのラウンド数に合わせてDATAの情報が設定されている。
この大当たりコマンドは、大当りラウンドが開始されるときに、開始されたラウンド数に対応する大当たりコマンドが中間部20を介して演出制御部203へ送信される。具体的には、第1大入賞口開閉扉109a又は第2大入賞口開閉扉129aを開放させるときに、開放させるときのラウンド数に対応する大当たりコマンドが送信部520にセットされる。その後、直ちに送信部520にセットされている大当たりコマンドが中間部20を介して演出制御部203へ送信されることになる。
The “big hit command” indicates the number of big hit rounds according to various types of big hits, “MODE” is set as “E6H”, and DATA information is set according to the number of round hits.
As for the jackpot command, when the jackpot round is started, the jackpot command corresponding to the started round number is transmitted to the effect control unit 203 via the intermediate unit 20. Specifically, when the first big prize opening opening / closing door 109a or the second big prize opening opening / closing door 129a is opened, a jackpot command corresponding to the number of rounds to be opened is set in the transmission unit 520. Thereafter, the jackpot command set in the transmission unit 520 is immediately transmitted to the effect control unit 203 via the intermediate unit 20.

「大当たり終了コマンド」は、各種の大当りが終了したことを示すものであり、「MODE」が「E7H」で設定され、大当たりの種別に合わせてDATAの情報が設定されている。
この大当たり終了コマンドは、各種の大当りが終了するときに、大当たりの種別に対応する大当たり終了コマンドが中間部20を介して演出制御部203へ送信される。具体的には、大当り遊技終了処理の開始のときに、大当たりの種別に対応する大当たり終了コマンドが送信部520にセットされる。その後、直ちに送信部520にセットされている大当たり終了コマンドが中間部20を介して演出制御部203へ送信されることになる。
The “big jackpot end command” indicates that various jackpots have ended, “MODE” is set as “E7H”, and DATA information is set according to the jackpot type.
The jackpot end command is transmitted to the effect control unit 203 via the intermediate unit 20 when the various jackpots end. Specifically, a jackpot end command corresponding to the jackpot type is set in the transmission unit 520 at the start of the jackpot game end process. Thereafter, the jackpot end command set in the transmission unit 520 is immediately transmitted to the effect control unit 203 via the intermediate unit 20.

「鍵コマンド」は、パチンコ遊技機1で認証処理を実行するため認証データを復号化させることを示すものであり、「MODE」が「E8H」で設定され、鍵決定部531で決定された各種の鍵データに合わせてDATAの情報が設定されている。
この鍵コマンドは、パチンコ遊技機1で認証処理を実行するときに中間部20へ送信される。中間部20は、主制御部10から鍵コマンドを受信すると、鍵コマンドを用いて認証データを復号化して認証処理を開始し、得られた認証結果を演出制御部203へ送信する。演出制御部203は、中間部20から送信された認証結果に応じた処理を行う。パチンコ遊技機1で認証処理を実行させるタイミングは基本的に任意に設定することができる。但し、演出制御部203では、認証処理の他に通常の遊技進行に伴って演出処理を実行する必要があるため、演出制御部203における認証処理の処理負荷はできるだけ抑制することが望ましい。よって、例えば、電源投入時や客待ちデモ開始時に、パチンコ遊技機1で認証処理を実行させることが考えられる。
The “key command” indicates that the authentication data is decrypted in order to execute the authentication process in the pachinko gaming machine 1, and “MODE” is set to “E8H”, and various types of keys determined by the key determination unit 531. DATA information is set according to the key data.
This key command is transmitted to the intermediate unit 20 when the pachinko gaming machine 1 executes an authentication process. When receiving the key command from the main control unit 10, the intermediate unit 20 decrypts the authentication data using the key command, starts an authentication process, and transmits the obtained authentication result to the effect control unit 203. The effect control unit 203 performs processing according to the authentication result transmitted from the intermediate unit 20. The timing at which the pachinko gaming machine 1 executes the authentication process can basically be set arbitrarily. However, in the effect control unit 203, it is necessary to execute the effect process as the normal game progresses in addition to the authentication process, so it is desirable to suppress the processing load of the authentication process in the effect control unit 203 as much as possible. Therefore, for example, when the power is turned on or the customer waiting demonstration is started, it is conceivable that the pachinko gaming machine 1 executes the authentication process.

例えば、鍵コマンドの送信タイミングを電源投入時と設定した場合、メインCPUコア500は、電源投入コマンドが送信部520にセットされた時から所定時間が経過した後に、鍵決定部531から取得された鍵データを用いて鍵コマンドを構成し、送信部520にセットする。その後、直ちに送信部520にセットされている鍵コマンドが中間部20へ送信されることになる。
また、例えば、鍵コマンドの送信タイミングを客待ちデモ開始時と設定した場合、鍵コマンドは、客待ちデモコマンドが送信部520にセットされた時から所定時間が経過した後に、鍵決定部531から取得された鍵データを用いて構成され、送信部520にセットされる。その後、直ちに送信部520にセットされている鍵コマンドが中間部20へ送信されることになる。以下、本実施の形態では、電源投入時に鍵コマンドを送信することとして説明する。
For example, when the transmission timing of the key command is set to when the power is turned on, the main CPU core 500 is acquired from the key determination unit 531 after a predetermined time has elapsed since the power-on command was set in the transmission unit 520. A key command is constructed using the key data and set in the transmission unit 520. Thereafter, the key command set in the transmission unit 520 is immediately transmitted to the intermediate unit 20.
Further, for example, when the transmission timing of the key command is set to the time when the customer waiting demo is started, the key command is received from the key determining unit 531 after a predetermined time has elapsed since the customer waiting demo command was set in the transmitting unit 520. It is configured using the acquired key data and is set in the transmission unit 520. Thereafter, the key command set in the transmission unit 520 is immediately transmitted to the intermediate unit 20. In the following description of the present embodiment, it is assumed that a key command is transmitted when the power is turned on.

[遊技機の動作処理]
次に、上記構成のパチンコ遊技機1の動作処理について、図面を参照して説明する。以下、主制御部10による中間部20及び演出制御部203への制御コマンドの送信を含む動作処理について、図6に示すフローチャートを参照して説明する。主制御部10の構成部であるメインCPUコア500は、パルス発生部540のクロックパルス発生回路541から出力されるクロック信号に基づいて、所定の周期(例えば4ミリ秒)ごとに制御コマンドの実行等の処理を行う。
[Game machine operation processing]
Next, the operation process of the pachinko gaming machine 1 configured as described above will be described with reference to the drawings. Hereinafter, an operation process including transmission of control commands to the intermediate unit 20 and the effect control unit 203 by the main control unit 10 will be described with reference to a flowchart shown in FIG. The main CPU core 500, which is a component of the main control unit 10, executes a control command every predetermined period (for example, 4 milliseconds) based on the clock signal output from the clock pulse generation circuit 541 of the pulse generation unit 540. And so on.

ステップS1において、まず、主制御部10を構成するメインCPUコア500は、パチンコ遊技機1の電源投入に伴う初期設定処理を実行した後、ステップS2へ進む。なお、パチンコ遊技機1に電源が投入された際には、周辺基板等が主制御基板から受信する制御コマンドを確実に取り込むために、周辺基板等が立ち上がってRAM領域の初期化を行い、待機状態となった後、主制御基板が立ち上がるように構成されている。メインCPUコア500は、初期設定処理として、例えば、スタックポインタに予め決められた所定値を設定するとともに、中間部20や演出制御部203が待機状態になることを待つために、一定時間(例えば、約1秒間)だけ待機する。   In step S1, first, the main CPU core 500 constituting the main control unit 10 executes an initial setting process associated with power-on of the pachinko gaming machine 1, and then proceeds to step S2. When the pachinko gaming machine 1 is turned on, the peripheral board and the like are started up to initialize the RAM area in order to reliably capture the control command received from the main control board by the peripheral board and the like. After entering the state, the main control board is configured to stand up. As an initial setting process, the main CPU core 500 sets, for example, a predetermined value in a stack pointer, and waits for the intermediate unit 20 and the effect control unit 203 to enter a standby state (for example, , About 1 second).

ステップS2において、メインCPUコア500は、図5に示す電源投入コマンドを送信部520にセットし、中間部20へ送信する。電源投入コマンドをセットした後、メインCPUコア500は、ステップS3へ進む。電源投入コマンドを受信すると、中間部20は、演出制御部203及び演出制御部203を介して図柄表示部104やランプ制御部205のそれぞれに対して電源投入時の演出用の制御コマンド、具体的には、遊技機が非遊技状態における客待ちのデモ画面を表示するための客待ちデモコマンド、あるいは、ランプの点灯等を行うための制御コマンドを送信する。   In step S <b> 2, the main CPU core 500 sets the power-on command shown in FIG. 5 in the transmission unit 520 and transmits it to the intermediate unit 20. After setting the power-on command, the main CPU core 500 proceeds to step S3. When the power-on command is received, the intermediate unit 20 sends a control command for the effect at power-on to each of the symbol display unit 104 and the lamp control unit 205 via the effect control unit 203 and the effect control unit 203. In this case, the gaming machine transmits a customer waiting demonstration command for displaying a demonstration screen waiting for a customer in a non-gaming state, or a control command for lighting a lamp or the like.

なお、電源投入コマンドは、電源投入後に電源投入に伴う処理を実行させるための制御コマンドを示し、各制御基板が立ち上がった後に、主制御部10から中間部20や中間部20を介して演出制御部203等へ送信される制御コマンドであって、電源投入後の立ち上げ時における遊技を制御するための初期制御情報、例えば、制御モード、バックアップデータ等を送信するための制御コマンド、あるいは初期演出表示の制御を行うための制御コマンド、各種のデモ表示を開始させるための制御コマンドである。また、この電源投入コマンドは遊技機のリセットボタンを押圧したときに実行される、上記制御モード、バックアップデータ等を送信するための制御コマンドも含む。   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, effect control is performed from the main control unit 10 via the intermediate unit 20 or the intermediate unit 20. Control command transmitted to the unit 203, etc., and initial control information for controlling a game at the time of start-up after power-on, for example, a control command for transmitting a control mode, backup data, etc., or an initial effect A control command for controlling display and a control command for starting various demonstration displays. 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.

ここで、メインCPUコア500は、鍵コマンドの送信タイミングを電源投入時と設定した場合、ステップS2の後にパルス発生部540からのクロック信号に基づいて割込処理を行う。電源投入コマンドが送信部520にセットされた時から所定時間が経過した後に、鍵決定部531から取得した鍵データを用いて鍵コマンドを構成し、送信部520にセットする。その後、直ちに送信部520にセットされている鍵コマンドが中間部20へ送信され、中間部20にて認証処理が開始される。なお、認証処理の詳細については後述する。   Here, when the transmission timing of the key command is set to when the power is turned on, the main CPU core 500 performs an interrupt process based on the clock signal from the pulse generator 540 after step S2. After a predetermined time has elapsed since the power-on command was set in the transmission unit 520, a key command is configured using the key data acquired from the key determination unit 531 and set in the transmission unit 520. Thereafter, the key command set in the transmission unit 520 is immediately transmitted to the intermediate unit 20, and authentication processing is started in the intermediate unit 20. Details of the authentication process will be described later.

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

ステップS4において、メインCPUコア500は、電源投入時のデモが開始されてから経過した時間を計測した後、ステップS5へ進む。
ステップS5において、メインCPUコア500は、電源投入時のデモが開始されてから所定時間が経過したか否かを判断する。ステップS5の判断結果が「YES」の場合、すなわち、電源投入時のデモが開始されてから所定時間が経過した場合には、メインCPUコア500は、ステップS6へ進む。なお、上記電源投入時のデモを開始するための制御コマンドは、客待ちデモコマンドとしてもよい。
In step S4, the main CPU core 500 measures the time that has elapsed since the start-up demonstration was started, and then proceeds to step S5.
In step S5, the main CPU core 500 determines whether or not a predetermined time has elapsed since the demonstration at the time of power-on 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 CPU core 500 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において、メインCPUコア500は、客待ちデモコマンドを送信部520にセットし、中間部20を介して演出制御部203へ送信した後、ステップS7へ進む。客待ちデモコマンドを受信すると、演出制御部203は、図柄表示部104やランプ制御部205のそれぞれに対して客待ちデモ演出用の制御コマンドを送信する。   In step S6, the main CPU core 500 sets the customer waiting demo command in the transmission unit 520 and transmits it to the effect control unit 203 via the intermediate unit 20, and then proceeds to step S7. When the customer waiting demonstration command is received, the effect control unit 203 transmits a control command for customer waiting demonstration effect to each of the symbol display unit 104 and the lamp control unit 205.

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

一方、ステップS7の判断結果が「NO」の場合、すなわち、第1始動口検出部221で第1始動口105への遊技球の入球が検出されず、かつ、第2始動口検出部225で第2始動口120への遊技球の入球が検出されない場合には、メインCPUコア500は、ステップ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 When the game ball is not detected to enter the second start port 120, the main CPU core 500 returns to step S4 and repeats the processes after step S4.

ステップS8において、メインCPUコア500は、客待ちデモ(又は電源投入時のデモ)が開始されてから計測していた時間をクリアした後、ステップS9へ進む。
ステップS9において、メインCPUコア500は、未抽選入賞回数に1を加算する。なお、第1始動口検出部221又は第2始動口検出部225で複数の遊技球の入球が検出された場合、このステップS9では、メインCPUコア500は、未抽選入賞回数に入球に相当する数を加算する。そして、メインCPUコア500は、ステップS10へ進む。
In step S8, the main CPU core 500 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 CPU core 500 adds 1 to the number of undrawn prizes. If the first start port detection unit 221 or the second start port detection unit 225 detects a plurality of game balls entering, in this step S9, the main CPU core 500 enters the number of undrawn winning prizes. Add the corresponding numbers. Then, the main CPU core 500 proceeds to step S10.

ステップS10において、メインCPUコア500は、予め用意された乱数カウンタ(例えば、0〜255をカウント)から1つの大当たり判定用乱数を無作為に取得した後、ステップS11へ進む。
ステップS11において、メインCPUコア500は、未抽選入賞回数から1を減算した後、ステップS12へ進む。
In step S10, the main CPU core 500 randomly obtains one jackpot determination random number from a random number counter (for example, counts 0 to 255) prepared in advance, and then proceeds to step S11.
In step S11, the main CPU core 500 subtracts 1 from the number of undrawn winning prizes, and then proceeds to step S12.

ステップS12において、メインCPUコア500は、例えば、予めデータ記憶部510に記憶されている大当り判定データテーブルを参照して、ステップS10の処理で取得した大当たり判定用乱数が、この大当り判定データテーブルに記憶されている大当たりの乱数値であるか否かを判断する。また、ステップS12では、メインCPUコア500は、取得した大当たり判定用乱数がはずれの乱数の場合には、例えば、大当り判定データテーブルを参照して、さらに「リーチ有りのはずれ」又は「リーチ無しのはずれ」であるかについても判断する。ステップS12の判断結果が「YES」の場合、すなわち、ステップS10で取得した大当たり判定用乱数が予め定められた大当たり乱数である場合には、メインCPUコア500は、ステップS13へ進む。   In step S12, the main CPU core 500 refers to the jackpot determination data table stored in advance in the data storage unit 510, for example, 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 number value is stored. In step S12, if the acquired big hit determination random number is an out-of-order random number, the main CPU core 500 refers to, for example, the big hit determination data table, 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 CPU core 500 proceeds to step S13.

ステップS13において、メインCPUコア500は、例えば、大当たりの種別コード(通常当りか確率変動当りか等)、リーチ有り、図柄変動時間、等の「MODE]の情報を含む図柄変動コマンド(大当たりリーチコマンド)を送信部520にセットし、中間部20を介して演出制御部203へ送信した後、ステップS14へ進む。
ステップS14において、メインCPUコア500は、図柄変動時間が経過したか否かを判断する。ステップS14の判断結果が「NO」の場合、すなわち、図柄変動時間が経過していない場合には、メインCPUコア500は、同判断を繰り返す。そして、図柄変動時間が経過すると、ステップS14の判断結果が「YES」となり、メインCPUコア500は、ステップS15へ進む。
In step S13, the main CPU core 500 determines, for example, a symbol variation command (bonus reach command) including “MODE” information such as a jackpot type code (whether it is a normal hit or a probability variation), reach, symbol variation time, etc. ) Is set in the transmission unit 520 and transmitted to the effect control unit 203 via the intermediate unit 20, and then the process proceeds to step S14.
In step S14, the main CPU core 500 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 CPU core 500 repeats the same determination. When the symbol variation time has elapsed, the determination result in step S14 is “YES”, and the main CPU core 500 proceeds to step S15.

ステップS15において、メインCPUコア500は、図柄停止コマンドを送信部520にセットし、中間部20を介して演出制御部203へ送信した後、ステップS16へ進む。
ステップS16において、メインCPUコア500は、大当たり開始コマンドを送信部520にセットし、中間部20を介して演出制御部203へ送信した後、ステップS17へ進む。
ステップS17において、メインCPUコア500は、大当たり中の各ラウンドに対応するコマンド(大当たりコマンド)を送信部520にセットし、中間部20を介して演出制御部203へ順次送信し、すべてのラウンドの大当たりコマンドの送信を終了した後、ステップS18へ進む。
ステップS18において、メインCPUコア500は、大当たり終了コマンドを送信部520にセットし、中間部20を介して演出制御部203へ送信した後、ステップS22へ進む。
In step S15, the main CPU core 500 sets a symbol stop command to the transmission unit 520, transmits it to the effect control unit 203 via the intermediate unit 20, and then proceeds to step S16.
In step S <b> 16, the main CPU core 500 sets a jackpot start command to the transmission unit 520, transmits it to the effect control unit 203 via the intermediate unit 20, and then proceeds to step S <b> 17.
In step S17, the main CPU core 500 sets a command corresponding to each of the big hits (a big hit command) to the transmission unit 520, and sequentially transmits it to the effect control unit 203 via the intermediate unit 20, and all the rounds After sending the jackpot command, the process proceeds to step S18.
In step S18, the main CPU core 500 sets a jackpot end command to the transmission unit 520, transmits it to the effect control unit 203 via the intermediate unit 20, and then proceeds to step S22.

一方、ステップS12の判断結果が「NO」の場合、すなわち、ステップS10の処理で取得した大当たり判定用乱数が予め定められた大当たり乱数でない場合には、メインCPUコア500は、ステップS19へ進む。
ステップS19において、メインCPUコア500は、「リーチ有りのはずれ」の場合には「リーチ有りのはずれ」に対応する図柄変動パターンコマンド(はずれリーチコマンド)を、「リーチ無しのはずれ」の場合には「リーチ無しのはずれ」に対応する図柄変動パターンコマンド(はずれコマンド)を送信部520にセットし、中間部20を介して演出制御部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 CPU core 500 proceeds to step S19.
In step S19, the main CPU core 500 displays a symbol variation pattern command (out of reach reach command) corresponding to “out of reach” in the case of “out of reach” and in the case of “out of reach”. A symbol variation pattern command (outgoing command) corresponding to “no reach” is set in the transmission unit 520 and transmitted to the effect control unit 203 via the intermediate unit 20, and then the process proceeds to step S20.

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

ステップS22において、メインCPUコア500は、パチンコ遊技機1の電源がオフにされたか否かを判断する。ステップS22の判断結果が「NO」の場合、すなわち、パチンコ遊技機1の電源がオフにされていない場合には、メインCPUコア500は、ステップS3へ戻り、ステップS3以降の処理を繰り返す。   In step S22, the main CPU core 500 determines whether or not the power of the pachinko gaming machine 1 is turned off. When the determination result of step S22 is “NO”, that is, when the power of the pachinko gaming machine 1 is not turned off, the main CPU core 500 returns to step S3 and repeats the processes after step S3.

一方、ステップS22の判断結果が「YES」の場合、すなわち、パチンコ遊技機1の電源がオフにされた場合には、メインCPUコア500は、ステップS23へ進む。
ステップS23において、メインCPUコア500は、終了処理コマンドを送信部520にセットし、中間部20を介して演出制御部203へ送信した後、本フローチャートによる処理を終了する。
On the other hand, if the determination result in step S22 is “YES”, that is, if the power of the pachinko gaming machine 1 is turned off, the main CPU core 500 proceeds to step S23.
In step S <b> 23, the main CPU core 500 sets an end process command to the transmission unit 520 and transmits it to the effect control unit 203 via the intermediate unit 20, and then ends the process according to this flowchart.

以下、主制御部10と中間部20及び演出制御部203との間で行われる認証処理について説明する。
図7は、主制御部10による認証処理の手順の一例を示すフローチャートである。
ステップS101において、主制御部10に電源が投入され初期設定処理を行った後、暗号化部530は、メインCPUコア500からの指示によらず、自身が保持するアルゴリズムに従って今回の認証処理に使用する鍵データを決定する。暗号化部530を構成する鍵決定部531は、例えば、乱数生成手段等によって生成された乱数値を鍵データとして用いることができる。鍵決定部531は、決定した鍵データを自身の鍵データ用記憶領域に書き込むとともに、暗号回路533へ受け渡す。暗号回路533は、受け取った鍵データを自身の鍵データ用記憶領域に書き込む。
Hereinafter, an authentication process performed between the main control unit 10, the intermediate unit 20, and the effect control unit 203 will be described.
FIG. 7 is a flowchart illustrating an example of a procedure of authentication processing by the main control unit 10.
In step S101, after the main control unit 10 is turned on and the initial setting process is performed, the encryption unit 530 is used for the current authentication process according to the algorithm held by the encryption unit 530 regardless of an instruction from the main CPU core 500. The key data to be determined is determined. The key determination unit 531 constituting the encryption unit 530 can use, for example, a random number value generated by a random number generation unit or the like as key data. The key determination unit 531 writes the determined key data in its own key data storage area and transfers it to the encryption circuit 533. The encryption circuit 533 writes the received key data in its own key data storage area.

ステップS102において、暗号化部530は、データ記憶部510に記憶されている検査値を取り込み、検査値に暗号化処理を施し認証データを生成する。具体的には、暗号化部530を構成する暗号回路533は、データ記憶部510を構成するデータ記憶回路511の特定のアドレスに記憶されているデータをデータ入出力部532及び内部バス550を介して読み出す。そして、暗号回路533は、読み出した検査値を自身の検査値用記憶領域に記憶し検査値を取り込む。   In step S102, the encryption unit 530 takes in the inspection value stored in the data storage unit 510, performs encryption processing on the inspection value, and generates authentication data. Specifically, the encryption circuit 533 constituting the encryption unit 530 transfers the data stored at a specific address of the data storage circuit 511 constituting the data storage unit 510 via the data input / output unit 532 and the internal bus 550. Read out. Then, the encryption circuit 533 stores the read inspection value in its own inspection value storage area and takes in the inspection value.

ステップS103において、暗号化部530は、取り込んだ検査値に対して暗号化処理を施し認証データを生成する。具体的には、暗号回路533は、ステップ101で鍵決定部531から受け取った鍵データを自身の鍵データ用記憶領域から読み出し、検査値に対して読み出した鍵データを予め設定された暗号化方式で演算する。暗号回路533は、この演算結果を認証データとして認証データ用記憶領域に記憶し、認証データの送信タイミングまで保持しておく。   In step S <b> 103, the encryption unit 530 performs encryption processing on the acquired inspection value and generates authentication data. Specifically, the encryption circuit 533 reads the key data received from the key determination unit 531 in step 101 from its own key data storage area, and sets the read key data for the inspection value to a preset encryption method. Calculate with. The encryption circuit 533 stores the calculation result as authentication data in the authentication data storage area and holds it until the transmission timing of the authentication data.

ステップS104において、メインCPUコア500は、電源投入後の初期設定処理を実行した後、制御コマンド(電源投入コマンド)を中間部20へ送信するべく、送信部520を構成するデータ入力部522に書き込む。具体的には、メインCPUコア500の処理部501は、データ記憶回路511に記憶されている制御コマンド(電源投入コマンド)を、データ入出力部502及び内部バス550を介して取り込む。そして、処理部501は、取り込んだ制御コマンド(電源投入コマンド)をデータ入力部522に書き込むための書き込み信号を、データ入出力部502を介して内部バス550へ出力する。そして、処理部501は、制御コマンド(電源投入コマンド)をデータ入出力部502及び内部バス550を介してデータ入力部522の記憶領域に書き込んで制御コマンド(電源投入コマンド)をセットする。   In step S104, the main CPU core 500 executes an initial setting process after power-on, and then writes the control command (power-on command) in the data input unit 522 constituting the transmission unit 520 to transmit the control command (power-on command) to the intermediate unit 20. . Specifically, the processing unit 501 of the main CPU core 500 takes in a control command (power-on command) stored in the data storage circuit 511 via the data input / output unit 502 and the internal bus 550. Then, the processing unit 501 outputs a write signal for writing the fetched control command (power-on command) to the data input unit 522 to the internal bus 550 via the data input / output unit 502. Then, the processing unit 501 writes the control command (power-on command) to the storage area of the data input unit 522 via the data input / output unit 502 and the internal bus 550, and sets the control command (power-on command).

ステップS105において、送信部520は、データ入力部522に制御コマンド(電源投入コマンド)が書き込まれると、直ちに中間部20へ送信する。具体的には、送信部520を構成するデータ入力部522は、ステップS104で書き込まれた制御コマンド(電源投入コマンド)を送信回路521に受け渡す。送信回路521は、受け渡された制御コマンド(電源投入コマンド)を直ちに中間部20へ送信する。   In step S105, when a control command (power-on command) is written in the data input unit 522, the transmission unit 520 immediately transmits it to the intermediate unit 20. Specifically, the data input unit 522 configuring the transmission unit 520 transfers the control command (power-on command) written in step S104 to the transmission circuit 521. The transmission circuit 521 immediately transmits the transferred control command (power-on command) to the intermediate unit 20.

ステップS106において、暗号化部530は、メインCPUコア500が制御コマンド(電源投入コマンド)をデータ入力部522に書き込んでから特定時間経過後に認証データを中間部20へ送信するとして、認証データの送信タイミングを設定する。具体的には、暗号回路533は、メインCPUコア500がステップS104で制御コマンド(電源投入コマンド)をデータ入力部522に書き込む際に出力される書き込み信号を参照する。そして、暗号回路533は、書き込み信号の出力から特定時間(例えば2ミリ秒)経過後のタイミングで、ステップS103で生成した認証データをデータ入出力部522の記憶領域に書き込むように設定する。   In step S106, the encryption unit 530 transmits the authentication data on the assumption that the main CPU core 500 transmits the authentication data to the intermediate unit 20 after a specific time has elapsed since the main CPU core 500 wrote the control command (power-on command) to the data input unit 522. Set the timing. Specifically, the encryption circuit 533 refers to a write signal output when the main CPU core 500 writes a control command (power-on command) to the data input unit 522 in step S104. Then, the encryption circuit 533 sets the authentication data generated in step S103 to be written in the storage area of the data input / output unit 522 at a timing after the elapse of a specific time (for example, 2 milliseconds) from the output of the write signal.

ステップS107において、暗号化部530は、特定時間経過後、認証データをデータ入力部522に書き込む。
ステップS108において、送信部520は、データ入力部522に認証データに書き込まると直ちに中間部20へ送信する。具体的には、送信部520を構成するデータ入力部522は、ステップS107で書き込まれた認証データを送信回路521に受け渡す。送信回路521は、受け渡された認証データを直ちに中間部20へ送信する。なお、暗号回路533が、制御コマンドの書き込み信号から特定時間経過した後に、認証データをデータ入出力部522に書き込むタイミングについては、後述する。
In step S107, the encryption unit 530 writes the authentication data to the data input unit 522 after a specific time has elapsed.
In step S <b> 108, the transmission unit 520 transmits the authentication data to the intermediate unit 20 as soon as the authentication data is written in the data input unit 522. Specifically, the data input unit 522 constituting the transmission unit 520 transfers the authentication data written in step S107 to the transmission circuit 521. The transmission circuit 521 immediately transmits the passed authentication data to the intermediate unit 20. The timing at which the encryption circuit 533 writes the authentication data to the data input / output unit 522 after a specific time has elapsed from the control command write signal will be described later.

また、メインCPUコア500は、所定の周期(例えば4ミリ秒)ごとに制御コマンドの実行を行う。メインCPUコア500は、制御コマンド(電源投入コマンド)の送信から例えば4ミリ秒経過した後、鍵コマンドの実行を行う。具体的には、以下のステップS109〜S111の処理である。   Further, the main CPU core 500 executes a control command every predetermined cycle (for example, 4 milliseconds). The main CPU core 500 executes the key command after, for example, 4 milliseconds have elapsed since the transmission of the control command (power-on command). Specifically, the following steps S109 to S111 are performed.

ステップS109において、まず、メインCPUコア500の処理部501は、暗号化部530の鍵決定部531に対して鍵データの読み出し指示を行う。
ステップS110において、鍵決定部531は、処理部501からの鍵データの読み出し指示を受けると、ステップS101で決定した鍵データを鍵データ用記憶領域から読み出し、データ入力出部532及び内部バス550を介してメインCPUコア500のデータ入出力部502へ出力する。データ入出力部502は、出力された鍵データを処理部501に受け渡す。
ステップS111において、処理部501は、受け取った鍵データを用いて鍵コマンドを生成して、直ちにデータ入出力部502及び内部バス550を介してデータ入力部522の記憶領域に書き込んで、鍵コマンドをセットする。
In step S109, first, the processing unit 501 of the main CPU core 500 instructs the key determination unit 531 of the encryption unit 530 to read out key data.
In step S110, when the key determination unit 531 receives a key data read instruction from the processing unit 501, the key determination unit 531 reads the key data determined in step S101 from the key data storage area, and stores the data input / output unit 532 and the internal bus 550. To the data input / output unit 502 of the main CPU core 500. The data input / output unit 502 delivers the output key data to the processing unit 501.
In step S111, the processing unit 501 generates a key command using the received key data, and immediately writes the key command in the storage area of the data input unit 522 via the data input / output unit 502 and the internal bus 550. set.

ステップS112において、送信部520は、データ入力部522に鍵コマンドが書き込まれると、直ちに中間部20へ送信する。具体的には、送信部520を構成するデータ入力部522は、ステップS111で書き込まれた鍵コマンドを送信回路521に受け渡す。送信回路521は、受け渡された鍵コマンドを直ちに中間部20へ送信する。なお、処理部501は、鍵コマンドをデータ入力部522へ書き込む際に、ステップS104と同様に、書き込み信号を出力する。暗号回路533は、ステップS106と同様に、ステップ111での書き込み信号の出力を基にして、次回の認証処理に用いる認証データの送信タイミングを決定することができる。   In step S112, when the key command is written in the data input unit 522, the transmission unit 520 immediately transmits it to the intermediate unit 20. Specifically, the data input unit 522 constituting the transmission unit 520 transfers the key command written in step S111 to the transmission circuit 521. The transmission circuit 521 immediately transmits the passed key command to the intermediate unit 20. Note that the processing unit 501 outputs a write signal when writing the key command to the data input unit 522, as in step S104. Similarly to step S106, the encryption circuit 533 can determine the transmission timing of authentication data used for the next authentication process based on the output of the write signal in step 111.

ステップS113において、暗号化部530は、ステップS101と同様の方法で鍵データを更新する。なお、鍵データの更新のタイミングは、ステップS110の後、すなわち、暗号化部530がステップS109のメインCPUコア500からの鍵データの読み出し指示に応答して、ステップ110で鍵データを出力した後とする。なお、鍵データの更新タイミングについては後述する。   In step S113, the encryption unit 530 updates the key data using the same method as in step S101. The update timing of the key data is after step S110, that is, after the encryption unit 530 outputs the key data in step 110 in response to the key data read instruction from the main CPU core 500 in step S109. And The update timing of the key data will be described later.

次に、図7で説明した電源投入コマンド送信時にパチンコ遊技機1で認証処理を実行させる場合の、主制御部10の鍵コマンド及び認証データの送信タイミングについて、図8を用いて説明する。図8の横軸は時間軸を表す。なお、図8は、電源投入直後のRAM領域の初期化処理や動作安定化のための待機処理等の初期設定処理の説明は省略している。また、主制御部10はクロック信号の立ち上り時に各構成部の動作開始時点が同期されるものとして説明する。   Next, the transmission timing of the key command and the authentication data of the main control unit 10 when the pachinko gaming machine 1 executes the authentication process when the power-on command described in FIG. 7 is transmitted will be described with reference to FIG. The horizontal axis in FIG. 8 represents the time axis. In FIG. 8, description of initialization processing such as initialization processing of the RAM area immediately after power-on and standby processing for stabilizing operation is omitted. The main control unit 10 will be described on the assumption that the operation start time of each component unit is synchronized when the clock signal rises.

図8の(ア)の時点に示すように、主制御部10に電源が投入されると、メインCPUコア500とは独立して暗号化部530にて鍵データが決定され認証データが生成される。なお、(ア)の時点で生成された認証データを認証データ(A)とする。そして、図8の(イ)の時点に示すように、メインCPUコア500にて制御コマンド(電源投入コマンド)が実行される。具体的には、メインCPUコア500にて書き込み信号が送信部520へ出力されるとともに、制御コマンド(電源投入コマンド)が書き込まれる。そして、図8の(ウ)の時点に示すように、送信部520に書き込まれた制御コマンド(電源投入コマンド)は、直ちに中間部20への送信が開始される。   As shown in FIG. 8A, when the main control unit 10 is powered on, key data is determined by the encryption unit 530 independently of the main CPU core 500, and authentication data is generated. The The authentication data generated at the time of (a) is referred to as authentication data (A). Then, as shown in FIG. 8B, a control command (power-on command) is executed in the main CPU core 500. Specifically, the main CPU core 500 outputs a write signal to the transmission unit 520 and writes a control command (power-on command). Then, as shown in FIG. 8C, transmission of the control command (power-on command) written in the transmission unit 520 to the intermediate unit 20 is immediately started.

ここで、主制御部10のメインCPUコア500では、所定の周期ごとに制御コマンドが実行されるが、図8では、この制御コマンドの実行周期を、模式的にクロック数=16クロックとして説明している。よって、メインCPUコア500の動作は、(イ)の時点で示した制御コマンド(電源投入コマンド)の書き込みが行われた時点からカウントして16クロック目に次の動作が開始される。   Here, in the main CPU core 500 of the main control unit 10, a control command is executed every predetermined cycle. In FIG. 8, the execution cycle of this control command is schematically described as the number of clocks = 16 clocks. ing. Therefore, the operation of the main CPU core 500 is counted from the time when the control command (power-on command) shown at the time (a) is written, and the next operation is started at the 16th clock.

また、(ウ)の時点に示すように、(イ)の時点での書き込み信号の出力をトリガとして、暗号化部530にて認証データの送信タイミングが設定される。認証データの送信タイミングは、メインCPUコア500にて所定の周期で送信されるそれぞれの制御コマンドの間に割り込んで認証データが送信されるようなタイミングに設定する。また、認証データを送信する時点では、具体的には、暗号化部530が認証データを送信部520に書き込む時点(図8の(オ)の時点)では、送信部520に他の送信データが停滞していない必要がある。すなわち、図8の(オ)の時点に示すように、送信部520における制御コマンドの送信が完了した時点(図8の(エ)の時点)以降に、認証データが送信部520に書き込まれるように、認証データの送信タイミングを設定する必要がある。   Also, as shown in (c), the encryption unit 530 sets the transmission timing of the authentication data with the output of the write signal at (i) as a trigger. The transmission timing of the authentication data is set to a timing at which the authentication data is transmitted by interrupting each control command transmitted by the main CPU core 500 at a predetermined cycle. Further, at the time when the authentication data is transmitted, specifically, at the time when the encryption unit 530 writes the authentication data to the transmission unit 520 (the time of (e) in FIG. 8), other transmission data is stored in the transmission unit 520. It should not be stagnant. That is, as shown in FIG. 8 (e), the authentication data is written to the transmission unit 520 after the transmission of the control command in the transmission unit 520 is completed (time (d) in FIG. 8). In addition, it is necessary to set the transmission timing of authentication data.

従って、認証データの送信タイミング、すなわち、暗号化部530が認証データを送信部520に書き込むタイミングは、メインCPUコア500にて制御コマンドが送信部520に書き込まれる際の書き込み信号が出力された以降(図8では、(ウ)の時点以降)であって、メインCPUコア500の次の制御コマンドの実行より前(図8では、(ク)の時点)に認証データの送信が完了(図8では、(キ)の時点)可能なタイミングに設定する。図8では、認証データの送信タイミングは、例えば(ウ)の時点から8クロック目の(オ)の時点とする。そして、図8の(オ)の時点に示すように、(ウ)の時点からカウントして8クロック目に、暗号化部530にて認証データ(A)が送信部520に書き込まれる。その後、図8の(カ)の時点に示すように、送信部520に書き込まれた認証データ(A)は、直ちに中間部20への送信が開始される。   Therefore, the transmission timing of the authentication data, that is, the timing at which the encryption unit 530 writes the authentication data to the transmission unit 520 is after the write signal when the control command is written to the transmission unit 520 in the main CPU core 500 is output. (In FIG. 8, the time point after (c)) and before the execution of the next control command of the main CPU core 500 (in FIG. 8, time point (c)), the transmission of the authentication data is completed (FIG. 8). Then, set to a possible timing. In FIG. 8, the transmission timing of the authentication data is, for example, the time point (e) of the eighth clock from the point (c). Then, as shown at (e) in FIG. 8, the authentication data (A) is written into the transmitting unit 520 by the encryption unit 530 at the eighth clock from the time (c). Thereafter, as shown in FIG. 8F, transmission of the authentication data (A) written in the transmission unit 520 to the intermediate unit 20 is immediately started.

認証データの送信タイミングを上記のように設定することで、認証データと他の送信データ(上記では制御コマンド)との送信部520への書き込み時機が重複して、認証データ又は他の送信データが上書きされて送信エラーとなるおそれを低減することができる。このことが、中間部20での認証処理の際に、認証データと鍵データとの不一致によって復号化処理が実行不可となることを防止し、認証処理の確度を向上することができる。また、認証データの送信タイミングを上記のように設定することで、認証データの送信タイミングと制御コマンドの送信タイミングの時間軸上の位置関係が明確化され、認証データの送信は、制御コマンドの送信の直後に必ず行われることとなる。これによって、中間部20では、受信データの種別を解析するに際して、新たな判断処理ステップや特別な解析手段を設けなくとも、認証データと制御コマンドとを容易に識別することができる。また、このことで、ソフトウェア開発上、制御コマンドの送信に関する既存のプログラムコードに対する認証データの送信に関するコードの結合度が低いままで認証データの送信に関する機能を追加することができる。よって、例えば、デバッグ作業時は、既存の制御コマンドの送信に関するものだけ先に作業を行った上で、認証データの送信に関するものは後から作業を行うことができ、より簡単に少ない作業工数で実施することができる。   By setting the transmission timing of the authentication data as described above, the timing of writing the authentication data and other transmission data (in the above example, the control command) to the transmission unit 520 overlaps, and the authentication data or other transmission data is The possibility of being overwritten and causing a transmission error can be reduced. This prevents the decryption process from being disabled due to a mismatch between the authentication data and the key data during the authentication process in the intermediate unit 20, and improves the accuracy of the authentication process. Also, by setting the authentication data transmission timing as described above, the positional relationship on the time axis between the authentication data transmission timing and the control command transmission timing is clarified. This must be done immediately after. As a result, the intermediate unit 20 can easily identify the authentication data and the control command without providing a new determination processing step or special analysis means when analyzing the type of received data. In addition, this makes it possible to add a function related to the transmission of authentication data while maintaining a low degree of coupling of the code related to the transmission of the authentication data with respect to the existing program code related to the transmission of the control command in software development. Thus, for example, during debugging, only work related to transmission of existing control commands can be performed first, and work related to transmission of authentication data can be performed later. Can be implemented.

続いて、図8の(ク)の時点に示すように、(イ)の時点からカウントして16クロック目では、鍵コマンドの実行を開始するために、メインCPUコア500にて鍵データの読み出し指示が暗号化部530に対して行われる。そして、図8の(ケ)の時点に示すように、暗号化部530にて鍵データの読み出し指示を受けると、直ちにメインCPUコア500に対して鍵データが出力される。この鍵データは、認証データ(A)を生成した際に用いられた鍵データと同一であるため、鍵データ(A)とする。そして、図8の(コ)の時点に示すように、メインCPUコア500にて鍵データ(A)を受け取ると、直ちに鍵コマンドが実行される。具体的には、メインCPUコア500にて書き込み信号が送信部520へ出力されるとともに、鍵データ(A)から構成された鍵コマンドが書き込まれる。そして、図8の(サ)の時点に示すように、送信部520に書き込まれた鍵データ(A)から構成された鍵コマンドは、直ちに中間部20への送信が開始される。   Subsequently, as shown in FIG. 8 (c), the main CPU core 500 reads the key data in order to start the execution of the key command at the 16th clock from the time (b). An instruction is given to the encryption unit 530. Then, as shown in FIG. 8 (K), when the encryption unit 530 receives a key data read instruction, the key data is immediately output to the main CPU core 500. Since this key data is the same as the key data used when the authentication data (A) is generated, it is assumed to be key data (A). When the main CPU core 500 receives the key data (A), the key command is immediately executed as shown in FIG. Specifically, the main CPU core 500 outputs a write signal to the transmission unit 520 and writes a key command composed of key data (A). Then, as shown at the point (S) in FIG. 8, the key command composed of the key data (A) written in the transmission unit 520 is immediately started to be transmitted to the intermediate unit 20.

そして、図8の(シ)の時点に示すように、鍵データを更新する。ここでは、鍵データ(A)から鍵データ(B)に変更されたとする。ここで、鍵データの更新タイミングは、暗号化部530が、メインCPUコア500からの鍵データの読み出し指示に応答して、鍵データを出力した後の時点(図8の(コ)の時点)を基準として、規定時間経過後に設定する。仮に、鍵データの更新タイミングを、図8の(コ)の時点より前に設定すると、(カ)の時点で送信した認証データの生成に用いた鍵データと、(サ)の時点で送信した鍵コマンドを構成する鍵データとが一致しなくなるおそれが生じる。そうすると、中間部20では、鍵コマンドを受信して認証処理を開始しても認証データを復号化することができない。よって、鍵データの更新タイミングは、暗号化部530が、メインCPUコア500からの鍵データの読み出し指示に応答して、鍵データを出力した後の時点(図8では(コ)の時点)以降とする。   Then, the key data is updated as shown in FIG. Here, it is assumed that the key data (A) is changed to the key data (B). Here, the update timing of the key data is the time after the encryption unit 530 outputs the key data in response to the key data read instruction from the main CPU core 500 (time of (c) in FIG. 8). Is set after the lapse of the specified time. If the update timing of the key data is set before the point (C) in FIG. 8, the key data used for generating the authentication data transmitted at the point (F) and the key data transmitted at the point (S) There is a risk that the key data constituting the key command will not match. Then, even if the intermediate unit 20 receives the key command and starts the authentication process, the authentication data cannot be decrypted. Therefore, the update timing of the key data is after the time after the encryption unit 530 outputs the key data in response to the read instruction of the key data from the main CPU core 500 (the time of (C) in FIG. 8). And

鍵データの更新タイミングを上記のように設定することで、中間部20での認証処理の際に、認証データと鍵データとの不一致によって復号化処理が実行不可となることを防止し、認証処理の確度を向上することができる。   By setting the update timing of the key data as described above, it is possible to prevent the decryption process from being disabled due to a mismatch between the authentication data and the key data during the authentication process in the intermediate unit 20. Accuracy can be improved.

その後、図8の(ス)の時点に示すように、暗号化部530にて二回目の認証データの生成が行われる。この認証データは、(シ)の時点で更新された鍵データ(B)を用いて生成されるため、認証データ(B)とする。そして、図8の(セ)の時点に示すように、認証データ(A)の書き込みのときと同様に、(サ)の時点からカウントして8クロック目に、暗号化部530にて認証データ(B)が送信部520に書き込まれる。その後、図8の(ソ)の時点に示すように、送信部520に書き込まれた認証データ(B)は、直ちに中間部20への送信が開始され、図8の(タ)の時点で送信が完了する。   Thereafter, as shown in FIG. 8 (S), the authentication unit 530 generates authentication data for the second time. Since this authentication data is generated by using the key data (B) updated at the time (S), it is assumed to be authentication data (B). Then, as shown in FIG. 8 (C), as in the case of writing the authentication data (A), the encryption unit 530 counts the authentication data at the 8th clock from the time (S). (B) is written in the transmission unit 520. Thereafter, as shown in FIG. 8 (So), the authentication data (B) written in the transmission unit 520 immediately starts to be transmitted to the intermediate unit 20, and is transmitted at the time (T) in FIG. Is completed.

続いて、図8の(チ)の時点に示すように、(コ)の時点からカウントして16クロック目では、鍵コマンドの実行を開始するために、メインCPUコア500にて鍵データの読み出し指示が暗号化部530に対して行われる。そして、図8の(ツ)の時点に示すように、暗号化部530にて鍵データの読み出し指示を受けると、直ちにメインCPUコア500に対して鍵データ(B)が出力される。そして、図8の(テ)の時点に示すように、メインCPUコア500にて鍵データ(B)を受け取ると、直ちに鍵コマンドが実行される。具体的には、メインCPUコア500にて書き込み信号が送信部520へ出力されるとともに、鍵データ(B)から構成された鍵コマンドが書き込まれる。そして、図8の(ト)の時点に示すように、送信部520に書き込まれた鍵データ(B)から構成された鍵コマンドは、直ちに中間部20への送信が開始され、図8の(ナ)の時点で送信が完了する。   Subsequently, as shown in FIG. 8 (h), the main CPU core 500 reads the key data to start execution of the key command at the 16th clock from the time (c). An instruction is given to the encryption unit 530. Then, as shown in FIG. 8 (tsu), when the encryption unit 530 receives a key data read instruction, the key data (B) is immediately output to the main CPU core 500. When the main CPU core 500 receives the key data (B), the key command is immediately executed as shown in FIG. Specifically, the main CPU core 500 outputs a write signal to the transmission unit 520 and writes a key command composed of key data (B). Then, as shown in FIG. 8G, the key command composed of the key data (B) written in the transmission unit 520 is immediately started to be transmitted to the intermediate unit 20, and ( The transmission is completed at the time of na).

図8では、鍵コマンドを送信する契機となる電源投入コマンドが1回送信されたときに、所定の周期で鍵コマンドが2回送信された時点までを記載しているが、所定の周期で更に鍵コマンドを送信してよいことは言うまでもない。また、図8では、上記の所定の周期としてクロック数による周期を用いた例を示したが、所定時間や制御コマンドの所定送信回数等による周期を用いても構わない。また、鍵コマンドを送信する契機となる制御コマンドも、1種類の制御コマンドに限定する必要はなく、例えば、電源投入コマンドと客待ちデモコマンドの2種類、或いは2種類以上の制御コマンドを契機とするように構成してもよい。また、鍵コマンドを送信する契機となる制御コマンドを、予め設定した取り決めに従って変更するように構成してもよい。また、図8では、鍵コマンドを送信する契機となる制御コマンドが送信される度に認証データを逐次送信しているが、例えば、鍵コマンドを送信する契機となる制御コマンドが2回送信されたら1回だけ認証データ(及び鍵コマンド)を送る等と構成してもよい。   FIG. 8 shows the time until the key command is transmitted twice at a predetermined cycle when the power-on command that triggers transmission of the key command is transmitted once. Needless to say, the key command may be transmitted. FIG. 8 shows an example in which a cycle based on the number of clocks is used as the predetermined cycle. However, a cycle based on a predetermined time, a predetermined number of transmissions of control commands, or the like may be used. Also, the control command that triggers the transmission of the key command need not be limited to one type of control command. For example, when triggered by two or more types of control commands, a power-on command and a customer waiting demo command. You may comprise. Further, the control command that triggers the transmission of the key command may be configured to be changed according to a preset rule. In FIG. 8, the authentication data is sequentially transmitted every time a control command that triggers transmission of a key command is transmitted. For example, when a control command that triggers transmission of a key command is transmitted twice. The authentication data (and key command) may be sent only once.

また、図8では、認証データの送信タイミングを設定するにあたって、鍵コマンドを送信する契機となる制御コマンドの書き込み信号を基準として、特定時間が経過した後(図8では(ウ)の時点から8クロック目に位置する(オ)の時点に到達後)に、認証データの書き込みが開始されるように、送信タイミングが設定されている。しかしながら、本発明はこれに限定されず、例えば、鍵コマンドを送信する契機となる制御コマンドの書き込み信号を基準として、特定クロック数が経過した後や、制御コマンドの送信回数が特定回数経過した後などとしてもよい。すなわち、認証データの送信タイミングは、鍵コマンドを送信する契機となる制御コマンドの送信から特定時間遅延させて、送信部520への書き込み時機が重複しないようなタイミングであればよい。また、認証データの送信タイミングは、鍵コマンドを送信する契機となる制御コマンドの書き込み信号を基準とするだけではなく、送信フラグが立てられたことを基準とすることもできる。この場合、特定時間経過後に認証データを書き込むことは勿論のこと、送信フラグが立ったのを確認したら直ちに認証データを書き込むこととしてもよい。   Further, in FIG. 8, when setting the transmission timing of the authentication data, a specific time has elapsed with reference to the write signal of the control command that triggers the transmission of the key command (in FIG. 8, 8 from the point of (c)). The transmission timing is set so that the writing of the authentication data is started after reaching the time point (e) located at the clock. However, the present invention is not limited to this, for example, after a specific number of clocks has elapsed or a specific number of times the number of control command transmissions has elapsed with reference to a write signal of a control command that triggers transmission of a key command. And so on. That is, the transmission timing of the authentication data may be a timing that is delayed by a specific time from the transmission of the control command that triggers the transmission of the key command so that the timing of writing to the transmission unit 520 does not overlap. Further, the transmission timing of the authentication data can be based not only on the write signal of the control command that triggers the transmission of the key command but also on the basis that the transmission flag is set. In this case, it is possible to write the authentication data immediately after confirming that the transmission flag is set, as well as writing the authentication data after the elapse of the specific time.

また、図8では、鍵データの更新タイミングを設定するにあたって、認証データの送信と鍵コマンドの送信とが1回ずつ完了する度に、新たな鍵データで認証データが生成されるように、更新タイミングが設定されている。そして、メインCPUコア500からの鍵データの読み出し指示に応答した暗号化部530の鍵データの出力を基準として、規定時間経過した後(図8では(コ)の時点を基準として(シ)の時点に到達後)に、鍵データの更新タイミングを設定している。しかしながら、本発明はこれに限定されず、例えば、鍵データの読み出し指示に応答した鍵データの出力を基準として、規定クロック数が経過した後や、制御コマンドの送信回数が規定回数経過した後などとしてもよい。   In FIG. 8, when setting the update timing of the key data, the update is performed so that the authentication data is generated with the new key data every time the transmission of the authentication data and the transmission of the key command are completed once. Timing is set. Then, after a specified time has elapsed with reference to the key data output of the encryption unit 530 in response to the key data read instruction from the main CPU core 500 (in FIG. After reaching the time point, the update timing of the key data is set. However, the present invention is not limited to this, for example, after a specified number of clocks has elapsed or a specified number of control command transmissions have elapsed, with reference to the output of key data in response to a key data read instruction. It is good.

以下、中間部20による認証処理を含む動作処理について、図9に示すフローチャートを参照して説明する。中間部20のCPU20aを構成するCPUコア(図示せず)は、中間部20に設けられたクロックパルス発生回路(図示せず)から出力されるクロック信号に基づいて、所定の周期(例えば2ミリ秒)ごとに、制御コマンドに応じた処理等を行う。   Hereinafter, the operation process including the authentication process by the intermediate unit 20 will be described with reference to the flowchart shown in FIG. A CPU core (not shown) constituting the CPU 20a of the intermediate unit 20 is based on a clock signal output from a clock pulse generation circuit (not shown) provided in the intermediate unit 20, for a predetermined period (for example, 2 mm). Every second), processing according to the control command is performed.

ステップS201において、中間部20のCPUコアは、まず、パチンコ遊技機1の電源投入後の初期設定処理の後、主制御部10から送信された送信データ(各種制御コマンドやデータ等)を受信したか否かを判断する。具体的には、中間部20のCPUコアは、中間部20を構成するデータ入出力部(図示せず)を介してRAM20cの受信データ用記憶領域に、主制御部10からの送信データが書き込まれているか否かを判断する。主制御部10からの送信データが受信データ用記憶領域に書き込まれていない場合は、中間部20のCPUコアは、本フローチャートによる処理を終了する。   In step S201, the CPU core of the intermediate unit 20 first receives the transmission data (various control commands, data, etc.) transmitted from the main control unit 10 after the initial setting process after turning on the power of the pachinko gaming machine 1. Determine whether or not. Specifically, the CPU core of the intermediate unit 20 writes the transmission data from the main control unit 10 into the reception data storage area of the RAM 20c via the data input / output unit (not shown) constituting the intermediate unit 20. It is determined whether or not. When the transmission data from the main control unit 10 is not written in the reception data storage area, the CPU core of the intermediate unit 20 ends the processing according to this flowchart.

一方、主制御部10からの送信データが受信データ用記憶領域に書き込まれた場合(ステップS201:YES)、中間部20のCPUコアは、コマンド解析処理を行う。具体的には下記のとおりである。
ステップS202において、中間部20のCPUコアは、受信データ用記憶領域に書き込まれたデータが、鍵コマンドか否かを判断する。そして、中間部20のCPUコアは、受信データ用記憶領域に書き込まれたデータが、鍵コマンドである場合(ステップS202:YES)は、認証処理を開始し、受信データ用記憶領域に書き込まれたデータが、鍵コマンドでない場合(ステップS202:NO)は、さらに受信データの内容を解析する。具体的には、受信データ用記憶領域に書き込まれたデータが認証データである場合には、RAM20cの認証データ用記憶領域に記憶させておく。一方、受信データ用記憶領域に書き込まれたデータが認証データ以外のデータである場合には、ステップS203へ進む。
On the other hand, when the transmission data from the main control unit 10 is written in the reception data storage area (step S201: YES), the CPU core of the intermediate unit 20 performs command analysis processing. Specifically, it is as follows.
In step S202, the CPU core of the intermediate unit 20 determines whether or not the data written in the received data storage area is a key command. Then, when the data written in the received data storage area is a key command (step S202: YES), the CPU core of the intermediate unit 20 starts the authentication process and is written in the received data storage area. If the data is not a key command (step S202: NO), the contents of the received data are further analyzed. Specifically, if the data written in the received data storage area is authentication data, it is stored in the authentication data storage area of the RAM 20c. On the other hand, if the data written in the received data storage area is data other than the authentication data, the process proceeds to step S203.

ステップS203において、中間部20のCPUコアは、受信データ用記憶領域に書き込まれたデータ(鍵コマンド及び認証データ以外のデータ)を演出制御部203へそのまま送信させる。具体的には、中間部20のCPUコアは、受信データ用記憶領域に書き込まれたデータを、そのままRAM20cの送信データ用記憶領域に書き込む。
ステップS204において、中間部20のCPUコアは、送信データ用記憶領域に書き込まれたデータを、送信データとして直ちに演出制御部203へ送信させ、本フローチャートによる処理を終了する。
In step S <b> 203, the CPU core of the intermediate unit 20 transmits the data written in the received data storage area (data other than the key command and the authentication data) to the effect control unit 203 as it is. Specifically, the CPU core of the intermediate unit 20 writes the data written in the reception data storage area as it is in the transmission data storage area of the RAM 20c.
In step S204, the CPU core of the intermediate unit 20 immediately transmits the data written in the transmission data storage area to the effect control unit 203 as transmission data, and ends the processing according to this flowchart.

ステップS205において、中間部20のCPUコアは、受信データ用記憶領域に書き込まれたデータが、鍵コマンドである場合(ステップS202:YES)、受信データ用記憶領域の鍵コマンドをRAM20cの鍵データ用記憶領域に記憶させる。
ステップS206において、中間部20のCPUコアは、認証データ用記憶領域に予め受信した認証データが記憶されているか否かを確認する。認証データ用記憶領域に認証データが記憶されていない場合は(ステップS206:NO)、中間部20のCPUコアは、未だ、認証処理が行える段階ではないとして、本フローチャートによる処理を終了する。
In step S205, when the data written in the reception data storage area is a key command (step S202: YES), the CPU core of the intermediate unit 20 uses the key command in the reception data storage area for the key data in the RAM 20c. Store in the storage area.
In step S206, the CPU core of the intermediate unit 20 confirms whether or not the authentication data received in advance is stored in the authentication data storage area. When the authentication data is not stored in the authentication data storage area (step S206: NO), the CPU core of the intermediate unit 20 ends the processing according to this flowchart, assuming that the authentication processing is not yet possible.

ステップS207において、中間部のCPUコアは、認証データ用記憶領域に認証データが記憶されている場合(ステップS206:YES)、鍵データ用記憶領域及び認証データ用記憶領域から鍵データ及び認証データを読み出す。なお、鍵データ用記憶領域及び認証データ用記憶領域から鍵データ及び認証データを読み出す際には、両記憶領域に書き込まれた順番と両記憶領域から読み出す順番とが一致するように取り決めておく(いわゆる、先入れ先出し。以下、先入れ先出しのルールという)と、認証データの生成に用いた鍵データと鍵コマンドを構成する鍵データとが、より確実に一致する。よって、鍵データと認証データの不一致によって復号化処理が実行不可となることを防止し、認証処理の確度を向上することができる。   In step S207, when the authentication data is stored in the authentication data storage area (step S206: YES), the intermediate CPU core obtains the key data and the authentication data from the key data storage area and the authentication data storage area. read out. When the key data and the authentication data are read from the key data storage area and the authentication data storage area, it is determined that the order written in both the storage areas matches the order read from both the storage areas ( The so-called first-in first-out rule (hereinafter referred to as a first-in first-out rule) matches the key data used for generating the authentication data and the key data constituting the key command more reliably. Therefore, it is possible to prevent the decryption process from being disabled due to a mismatch between the key data and the authentication data, and improve the accuracy of the authentication process.

ステップS208において、中間部20のCPUコアは、読み出した鍵データと認証データとを用いて検査値を抽出する。具体的には、中間部20のCPUコアは、認証データに対して鍵データを予め設定された復号化方式で演算する。中間部20のCPUコアは、この演算結果が検査値に相当すると認識し、RAM20cの検査値用記憶領域に記憶しておく。
ステップS209において、中間部20のCPUコアは、中間部20を構成するROM20bの所定の記憶領域に予め記憶された期待値を読み出す。
In step S208, the CPU core of the intermediate unit 20 extracts a test value using the read key data and authentication data. Specifically, the CPU core of the intermediate unit 20 calculates the key data with respect to the authentication data by a preset decryption method. The CPU core of the intermediate unit 20 recognizes that the calculation result corresponds to the inspection value, and stores it in the inspection value storage area of the RAM 20c.
In step S <b> 209, the CPU core of the intermediate unit 20 reads the expected value stored in advance in a predetermined storage area of the ROM 20 b configuring the intermediate unit 20.

ステップS210において、中間部20のCPUコアは、検査値用記憶領域から抽出した検査値を読み出し、検査値と期待値とが一致するか否かを判断する。検査値と期待値とが一致する場合(ステップS210:YES)、中間部20のCPUコアは、今回の認証処理において主制御部10に対する個体認証が成功し、パチンコ遊技機1の正規性を認証することができたと判断し、ステップS211へ進む。一方、検査値と期待値とが一致しない場合(ステップS210:NO)、中間部20のCPUコアは、今回の認証処理において主制御部10に対する個体認証は不成功であり、パチンコ遊技機1で不正行為や誤動作が発生したおそれがあると判断し、ステップ212へ進む。   In step S210, the CPU core of the intermediate unit 20 reads the inspection value extracted from the inspection value storage area, and determines whether or not the inspection value matches the expected value. If the inspection value matches the expected value (step S210: YES), the CPU core of the intermediate unit 20 succeeds in individual authentication for the main control unit 10 in the current authentication process, and authenticates the normality of the pachinko gaming machine 1 The process proceeds to step S211. On the other hand, if the inspection value does not match the expected value (step S210: NO), the CPU core of the intermediate unit 20 has not succeeded in individual authentication for the main control unit 10 in the current authentication process, and the pachinko gaming machine 1 It is determined that there is a possibility that an illegal act or malfunction has occurred, and the routine proceeds to step 212.

ステップS211において、中間部20のCPUコアは、成功を示す認証結果データを生成し、ステップS213へ進む。
ステップS212において、中間部20のCPUコアは、不成功を示す認証結果データを生成し、ステップS213へ進む。
In step S211, the CPU core of the intermediate unit 20 generates authentication result data indicating success, and proceeds to step S213.
In step S212, the CPU core of the intermediate unit 20 generates authentication result data indicating unsuccessfulness, and proceeds to step S213.

ステップS213において、中間部20のCPUコアは、得られた認証結果データを演出制御部203へ送信させる。具体的には、中間部20のCPUコアは、ステップS211又はステップS212で生成した成功又は不成功を示す認証結果データを、送信データ用記憶領域に書き込む。
ステップS214において、中間部20のCPUコアは、送信データ用記憶領域に書き込まれたデータを、送信データとして直ちに演出制御部203へ送信させ、本フローチャートによる処理を終了する。
In step S213, the CPU core of the intermediate unit 20 transmits the obtained authentication result data to the effect control unit 203. Specifically, the CPU core of the intermediate unit 20 writes the authentication result data indicating success or failure generated in step S211 or step S212 in the transmission data storage area.
In step S214, the CPU core of the intermediate unit 20 immediately transmits the data written in the transmission data storage area to the effect control unit 203 as transmission data, and ends the processing according to this flowchart.

以下、演出制御部203が実行する制御処理について、図10〜図13に示すフローチャートを参照して説明する。
図10は、演出制御部203によるメイン処理の手順の一例を示すフローチャートである。
ステップS1000において、演出制御部203のCPU203aを構成するサブCPUコア(図示せず)は、初期設定処理を行う。この処理において、サブCPUコアは、電源投入に応じて、演出制御部203のROM203bからメイン処理に関するプログラムコードを読み込む。これとともに、サブCPUコアは、演出制御部203のRAM203cに記憶されるフラグなどを初期化し、所定値に設定する処理を行う。この処理が終了した場合には、ステップS1300に処理を移す。
Hereinafter, the control processing executed by the effect control unit 203 will be described with reference to the flowcharts shown in FIGS.
FIG. 10 is a flowchart showing an example of the procedure of the main process performed by the effect control unit 203.
In step S1000, a sub CPU core (not shown) constituting the CPU 203a of the effect control unit 203 performs an initial setting process. In this process, the sub CPU core reads the program code related to the main process from the ROM 203b of the effect control unit 203 in response to power-on. At the same time, the sub CPU core performs a process of initializing a flag and the like stored in the RAM 203c of the effect control unit 203 and setting it to a predetermined value. If this process ends, the process moves to a step S1300.

ステップS1100において、サブCPUコアは、演出用乱数更新処理を行う。この処理において、サブCPUコアは、RAM203cに記憶される演出用乱数値を更新する処理を行う。以降は、所定の割込処理が行われるまで、上記ステップS1100の処理を繰り返し行う。   In step S1100, the sub CPU core performs an effect random number update process. In this process, the sub CPU core performs a process of updating the effect random number value stored in the RAM 203c. Thereafter, the process of step S1100 is repeated until a predetermined interrupt process is performed.

図11は、演出制御部203による割込処理の手順の一例を示すフローチャートである。サブCPUコアは、演出制御部203に設けられたクロックパルス発生回路(図示せず)から出力されるクロック信号に基づいて、所定の周期(例えば2ミリ秒)ごとに、演出制御部203のタイマ割込処理を実行する。   FIG. 11 is a flowchart illustrating an example of the procedure of the interrupt process performed by the effect control unit 203. Based on a clock signal output from a clock pulse generation circuit (not shown) provided in the effect control unit 203, the sub CPU core performs a timer of the effect control unit 203 every predetermined period (for example, 2 milliseconds). Execute interrupt processing.

ステップS1300において、サブCPUコアは、CPU203aのレジスタに格納されている情報をスタック領域に退避させる。
ステップS1400において、サブCPUコアは、演出制御部203で用いられる各種タイマカウンタの更新処理を行う。
In step S1300, the sub CPU core saves the information stored in the register of the CPU 203a to the stack area.
In step S1400, the sub CPU core performs update processing of various timer counters used in the effect control unit 203.

ステップS1500において、サブCPUコアは、コマンド解析処理を行う。この処理において、サブCPUコアは、RAM203cの受信データ用記憶領域に書き込まれた制御コマンドを解析する処理を行う。演出制御部203では、主制御部10から中間部20を介して送信された制御コマンドを受信すると、制御コマンドの受信割込処理が発生し、サブCPUコアは、受信した制御コマンドを受信データ用記憶領域に記憶する。その後、本ステップS1500において受信した制御コマンドの解析処理が行われる。なお、コマンド解析処理の詳細については後述する。   In step S1500, the sub CPU core performs command analysis processing. In this process, the sub CPU core performs a process of analyzing the control command written in the received data storage area of the RAM 203c. When the production control unit 203 receives a control command transmitted from the main control unit 10 via the intermediate unit 20, a reception interruption process for the control command occurs, and the sub CPU core uses the received control command for the received data. Store in the storage area. Thereafter, the control command received in step S1500 is analyzed. Details of the command analysis process will be described later.

ステップS1600において、サブCPUコアは、認証結果データ解析処理を行う。この処理において、サブCPUコアは、RAM203cの受信データ用記憶領域に書き込まれた各種データが認証結果データであるとき、当該認証結果データの内容を解析する処理を行う。演出制御部203では、中間部20から送信された各種の送信データのうち、認証結果データが送信された場合に、認証結果データの受信割込処理が発生し、サブCPUコアは、受信した認証結果データを受信データ用記憶領域に記憶する。その後、本ステップS1600において受信した認証結果データの内容を解析し、認証結果が示す内容に応じた処理を実行する。なお、認証結果データ解析処理の詳細については後述する。   In step S1600, the sub CPU core performs an authentication result data analysis process. In this process, the sub CPU core performs a process of analyzing the contents of the authentication result data when the various data written in the received data storage area of the RAM 203c is the authentication result data. In the effect control unit 203, when authentication result data is transmitted among various types of transmission data transmitted from the intermediate unit 20, authentication result data reception interruption processing occurs, and the sub CPU core receives the received authentication data. The result data is stored in the reception data storage area. Thereafter, the content of the authentication result data received in step S1600 is analyzed, and processing corresponding to the content indicated by the authentication result is executed. The details of the authentication result data analysis process will be described later.

ステップS1700において、サブCPUコアは、演出ボタン検出部220の信号のチェックを行い、演出ボタン検出部220に関する演出入力制御処理を行う。
ステップS1800において、サブCPUコアは、RAM203cの送信データ用記憶領域に書き込まれた制御コマンドや各種データを図柄表示部104やランプ制御部205へ送信するデータ送信処理を行う。
ステップS1900において、サブCPUコアは、ステップS1300で退避した情報をCPU203aのレジスタに復帰させる。
In step S <b> 1700, the sub CPU core checks the signal of the effect button detection unit 220 and performs effect input control processing related to the effect button detection unit 220.
In step S1800, the sub CPU core performs a data transmission process of transmitting the control command and various data written in the transmission data storage area of the RAM 203c to the symbol display unit 104 and the lamp control unit 205.
In step S1900, the sub CPU core restores the information saved in step S1300 to the register of the CPU 203a.

図12は、演出制御部203によるコマンド解析処理の手順の一例を示すフローチャートである。
ステップS1501において、サブCPUコアは、受信データ用記憶領域に制御コマンドが書き込まれているか否かを確認して、制御コマンドを受信したか否かを確認する。サブCPUコアは、受信データ用記憶領域に制御コマンドが書き込まれていなければコマンド解析処理を終了し、受信データ用記憶領域に制御コマンドが書き込まれていればステップS1510へ進む。
FIG. 12 is a flowchart illustrating an example of a procedure of command analysis processing by the effect control unit 203.
In step S1501, the sub CPU core confirms whether or not the control command is written in the received data storage area, and confirms whether or not the control command is received. If the control command is not written in the reception data storage area, the sub CPU core ends the command analysis processing, and if the control command is written in the reception data storage area, the sub CPU core proceeds to step S1510.

ステップS1510において、サブCPUコアは、受信データ用記憶領域に書き込まれている制御コマンドが、客待ちデモコマンド(図6のステップS6参照)であればステップS1511へ進み、客待ちデモコマンドでなければステップS1520へ進む。
ステップS1511において、サブCPUコアは、客待ちデモ用の演出パターンを決定するデモ演出処理を行う。具体的には、客待ちデモ用の演出パターンを決定し、決定したデモ演出パターンに基づく演出処理コマンドをRAM203cの送信データ用記憶領域に書き込んで送信データとし、図柄表示部140やランプ制御部205へ送信させる。
In step S1510, the sub CPU core proceeds to step S1511 if the control command written in the received data storage area is the customer waiting demo command (see step S6 in FIG. 6), and if not, the sub CPU core is not the customer waiting demo command. The process proceeds to step S1520.
In step S1511, the sub CPU core performs a demonstration effect process for determining a demonstration pattern for a customer waiting demonstration. More specifically, an effect pattern for the customer waiting demonstration is determined, and an effect processing command based on the determined demonstration effect pattern is written in the transmission data storage area of the RAM 203c as transmission data, and the symbol display unit 140 and the lamp control unit 205 are used. To send to.

ステップS1520において、サブCPUコアは、受信データ用記憶領域に書き込まれている制御コマンドが、大当たり用又ははずれ用の図柄変動パターンコマンド(図6のステップS13又はステップS19参照)であればステップS1521へ進み、図柄変動パターンコマンドでなければステップS1530へ進む。
ステップS1521において、サブCPUコアは、大当たり用又ははずれ用のそれぞれについて用意された各種変動演出パターンの中から、1つ変動演出パターンを決定する図柄変動演出処理を行う。具体的には、サブCPUコアは、図10のステップS1100において更新されている演出用乱数値から1つの乱数値を取得し、取得した演出用乱数値とROM203bに予め保持する変動演出パターン決定テーブルとに基づいて、1つの変動演出パターンを決定する。そして、サブCPUコアは、決定した変動演出パターンに基づく演出処理コマンドを送信データ用記憶領域に書き込んで送信データとし、図柄表示部140やランプ制御部205へ送信させる。
In step S1520, the sub CPU core proceeds to step S1521 if the control command written in the storage area for received data is a symbol variation pattern command for jackpot or loss (see step S13 or step S19 in FIG. 6). If NO in step S1530, the flow advances to step S1530.
In step S1521, the sub CPU core performs symbol variation effect processing for determining one variation effect pattern from the various variation effect patterns prepared for each of the jackpot or loss. Specifically, the sub CPU core acquires one random number value from the effect random number value updated in step S1100 of FIG. 10, and the variable effect pattern determination table stored in advance in the acquired effect random value and the ROM 203b. Based on the above, one variation effect pattern is determined. Then, the sub CPU core writes an effect processing command based on the determined variation effect pattern in the transmission data storage area as transmission data, and transmits it to the symbol display unit 140 and the lamp control unit 205.

ステップS1530において、サブCPUコアは、受信データ用記憶領域に書き込まれている制御コマンドが、図柄停止コマンド(図6のステップS15又はステップS21参照)であればステップS1531へ進み、図柄停止コマンドでなければステップS1540へ進む。
ステップS1531において、サブCPUコアは、変動態様を示す演出図柄を停止表示させるための図柄停止演出処理を行う。具体的には、サブCPUコアは、図柄停止コマンドに基づく演出処理コマンドを送信データ用記憶領域に書き込んで送信データとし、図柄表示部140やランプ制御部205へ送信させる。
In step S1530, the sub CPU core proceeds to step S1531 if the control command written in the received data storage area is a symbol stop command (see step S15 or step S21 in FIG. 6), and must be a symbol stop command. If so, the process proceeds to step S1540.
In step S1531, the sub CPU core performs a symbol stop effect process for stopping and displaying the effect symbol indicating the variation mode. Specifically, the sub CPU core writes an effect processing command based on the symbol stop command in the transmission data storage area to transmit it to the symbol display unit 140 and the lamp control unit 205.

ステップS1540において、サブCPUコアは、受信データ用記憶領域に書き込まれている制御コマンドが、大当たり開始コマンド(図6のステップS16参照)であればステップS1541へ進み、大当たり開始コマンドでなければステップS1550へ進む。
ステップS1541おいて、サブCPUコアは、大当たり開始演出パターンを決定する大当たり開始演出処理を行う。具体的には、サブCPUコアは、大当たり開始コマンドに基づいて大当たり開始演出パターンを決定し、決定した大当たり開始演出パターンに基づく演出処理コマンドを送信データ用記憶領域に書き込んで送信データとし、図柄表示部140やランプ制御部205へ送信させる。
In step S1540, the sub CPU core proceeds to step S1541 if the control command written in the received data storage area is a jackpot start command (see step S16 in FIG. 6), and if not a jackpot start command, step S1550. Proceed to
In step S1541, the sub CPU core performs a jackpot start effect process for determining a jackpot start effect pattern. Specifically, the sub CPU core determines a jackpot start effect pattern based on the jackpot start command, writes an effect processing command based on the determined jackpot start effect pattern in the transmission data storage area as transmission data, and displays the symbol display. To the unit 140 and the lamp control unit 205.

ステップS1550において、サブCPUコアは、受信データ用記憶領域に書き込まれている制御コマンドが、大当たりコマンド(図6のステップS17参照)であればステップS1551へ進み、大当たりコマンドでなければステップS1560へ進む。
ステップS1551おいて、サブCPUコアは、ラウンド別の大当たりコマンドに対応する大当たり演出処理を行う。具体的には、サブCPUコアは、各大当たりラウンドのそれぞれに対応した大当たりコマンドに基づく演出処理コマンドを送信データ用記憶領域に書き込んで送信データとし、図柄表示部140やランプ制御部205へ送信させる。
In step S1550, the sub CPU core proceeds to step S1551 if the control command written in the received data storage area is a jackpot command (see step S17 in FIG. 6), and proceeds to step S1560 if it is not a jackpot command. .
In step S1551, the sub CPU core performs a jackpot presentation process corresponding to the round jackpot command. Specifically, the sub CPU core writes an effect processing command based on the jackpot command corresponding to each of the jackpot rounds to the transmission data storage area as transmission data, and transmits it to the symbol display section 140 and the lamp control section 205. .

ステップS1560において、サブCPUコアは、受信データ用記憶領域に書き込まれている制御コマンドが、大当たり終了コマンド(図6のステップS18参照)であればステップS1561へ進み、大当たり終了コマンドでなければ本フローチャートによる処理を終了する。
ステップS1561において、サブCPUコアは、大当たり終了演出パターンを決定する大当たり終了演出処理を行う。具体的には、サブCPUコアは、大当たり終了コマンドに基づいて大当たり終了演出パターンを決定し、決定した大当たり終了演出パターンに基づく演出処理コマンドを送信データ用記憶領域に書き込んで送信データとし、図柄表示部140やランプ制御部205へ送信させ、本フローチャートによる処理を終了する。
In step S1560, the sub CPU core proceeds to step S1561 if the control command written in the received data storage area is the jackpot end command (see step S18 in FIG. 6), and if not the jackpot end command, this flowchart. The process by is terminated.
In step S1561, the sub CPU core performs a jackpot end effect process for determining a jackpot end effect pattern. Specifically, the sub CPU core determines a jackpot end effect pattern based on the jackpot end command, writes an effect processing command based on the determined jackpot end effect pattern in the transmission data storage area as transmission data, and displays the symbol display. The processing according to this flowchart is terminated.

図13は、演出制御部203による認証結果データ解析処理の手順の一例を示すフローチャートである。
ステップS1601において、サブCPUコアは、受信データ用記憶領域に認証結果データが書き込まれているか否かを確認して、認証結果データを受信したか否かを確認する。サブCPUコアは、受信データ用記憶領域に認証結果データが書き込まれていなければ認証結果データ解析処理を終了し、受信データ用記憶領域に認証結果データが書き込まれていればステップS1610へ進む。
FIG. 13 is a flowchart illustrating an example of a procedure of authentication result data analysis processing by the effect control unit 203.
In step S1601, the sub CPU core confirms whether or not the authentication result data is written in the reception data storage area, and confirms whether or not the authentication result data is received. If the authentication result data is not written in the reception data storage area, the sub CPU core ends the authentication result data analysis process. If the authentication result data is written in the reception data storage area, the sub CPU core proceeds to step S1610.

ステップ1610において、サブCPUコアは、受信データ用記憶領域に書き込まれた認証結果データが、認証成功を示す結果であるか否かを確認する。認証結果データが認証成功を示す結果である場合(ステップS1610:YES)、サブCPUコアは、今回の中間部20での認証処理において主制御部10に対する個体認証が成功し、パチンコ遊技機1の正規性を認証することができたと判断して、本フローチャートによる処理を終了する。一方、認証結果データが認証不成功を示す結果である場合(ステップS1610:NO)、サブCPUコアは、今回の中間部20での認証処理において主制御部10に対する個体認証は不成功であり、パチンコ遊技機1で不正行為や誤動作が発生したおそれがあると判断し、ステップS1620へ進む。   In step 1610, the sub CPU core confirms whether or not the authentication result data written in the reception data storage area is a result indicating a successful authentication. When the authentication result data is a result indicating that the authentication is successful (step S1610: YES), the sub CPU core succeeds in the individual authentication for the main control unit 10 in the authentication process in the intermediate unit 20 this time, and the pachinko gaming machine 1 When it is determined that the normality can be authenticated, the processing according to this flowchart is terminated. On the other hand, if the authentication result data is a result indicating unsuccessful authentication (step S1610: NO), the sub CPU core has not succeeded in individual authentication for the main control unit 10 in the authentication process in the intermediate unit 20 this time, It is determined that there is a possibility that an illegal act or malfunction has occurred in the pachinko gaming machine 1, and the process proceeds to step S1620.

ステップ1620において、パチンコ遊技機1で不正行為や誤動作が発生したおそれがあると判断された場合(ステップS1610:NO)、サブCPUコアは、その旨を報知する為に報知信号を出力し、本フローチャートによる処理を終了する。   In step 1620, if it is determined that there is a possibility that an illegal act or malfunction has occurred in the pachinko gaming machine 1 (step S1610: NO), the sub CPU core outputs a notification signal to notify that, The process according to the flowchart ends.

サブCPUコアは、生成した報知信号を、例えば、図柄表示部104やランプ制御部205、あるいはパチンコ遊技機1を管理するセンター制御装置などへ送信する。図柄表示部104やランプ制御部205などは、受信した報知信号に基づいて、パチンコ遊技機1で不正行為や誤動作が発生したおそれがある旨を報知する演出を実行する。この演出は、例えば、図柄表示部104に通常出現しないキャラクターを出現させたり、通常出現するキャラクターを通常とは異なる方法で出現させるなどである。また、図柄表示部104の輝度を変えたり、色を変えたり、ランプ制御部205に対して所定のランプを表示制御するようにしてもよい。いずれにせよ、遊技店の従業員が当該パチンコ遊技機1の前を通過した際に、その状態に気付くようにしてあればよい。また、この演出は、顧客がその状態に気付かないような演出でもよく、また、顧客が容易に気付く演出であってもよい。顧客が容易に気付く演出にすれば、不正行為を効率的に抑止することができる。   The sub CPU core transmits the generated notification signal to, for example, the symbol display unit 104, the lamp control unit 205, or the center control device that manages the pachinko gaming machine 1. Based on the received notification signal, the symbol display unit 104, the lamp control unit 205, and the like execute an effect of notifying that there is a possibility that an illegal act or malfunction has occurred in the pachinko gaming machine 1. 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.

なお、主制御部10と賞球制御部204との間に中間部20を設けた場合の認証処理は、主制御部10と演出制御部203との間に中間部20を設けた場合の認証処理とほぼ同様の手順で行われるため説明を省略する。   The authentication process when the intermediate unit 20 is provided between the main control unit 10 and the prize ball control unit 204 is the authentication when the intermediate unit 20 is provided between the main control unit 10 and the effect control unit 203. Since the procedure is almost the same as the processing, the description is omitted.

以上のように、本実施の形態では、暗号化制御回路10g(ハードウェア)で構成される暗号化部530が、主制御部10の個体認証に必要な認証データを、プログラムコードに記述されたメインCPUコア500からの指示によらず、独自に保持するアルゴリズムに従って生成し、中間部20へ自動的に送信している。また、認証データの復号化に必要な鍵データは、メインCPUコア500からの読み出し指示のみで暗号化制御回路10gから出力され、直ちに中間部20へ送信される。従って、主制御部10に対する認証機能を有しながらも、認証機能を有することで増大する主制御部10のCPUの処理負荷やプログラム容量を最大限抑制することができ、パチンコ遊技機1のセキュリティ強度の向上と処理速度の向上とを両立させることができる。   As described above, in the present embodiment, the encryption unit 530 configured by the encryption control circuit 10g (hardware) describes the authentication data necessary for individual authentication of the main control unit 10 in the program code. Regardless of an instruction from the main CPU core 500, it is generated in accordance with an algorithm that is uniquely stored and automatically transmitted to the intermediate unit 20. The key data necessary for decrypting the authentication data is output from the encryption control circuit 10 g only by a read instruction from the main CPU core 500 and immediately transmitted to the intermediate unit 20. Therefore, while having the authentication function for the main control unit 10, the processing load and program capacity of the CPU of the main control unit 10 that is increased by having the authentication function can be suppressed to the maximum, and the security of the pachinko gaming machine 1 Both improvement in strength and improvement in processing speed can be achieved.

また、本実施の形態では、認証データの生成や送信に関する処理の制御は、暗号化部530自身のアルゴリズムで定義すればよい。また、鍵コマンドの実行に関する処理の制御も、メインCPUコア500が実行するプログラムコードに1種類の制御コマンド(鍵コマンド)に対応するコードを追加するだけよい。具体的には、鍵データの読み出し指示に関するコード及び鍵コマンドの書き込みに関するコードを追加するだけでよく、コードステップ数換算でそれぞれ僅か1命令分だけの追加で足りる。従って、認証データ及び鍵コマンドの送信タイミングの設定や鍵データの更新タイミング等は、特定時間経過後や特定クロック数経過後など自由なタイミング設計が可能であり、ソフトウェア制御の拡張性や柔軟性も備えた認証機能を提供することができる。これに加えて、メインCPUコア500が実行するプログラムコード全体にわたっての新たなタイミング設計を行う必要がないので、認証機能を追加するだけのタイミング設計で済み、機能の実装、機能の検証などを、より簡単に少ない作業工数で実施することができる。また、このことで認証機能を追加する際の設計自由度を高くすることができる。   Further, in the present embodiment, control of processing relating to generation and transmission of authentication data may be defined by the algorithm of the encryption unit 530 itself. In addition, for the control of the processing related to the execution of the key command, a code corresponding to one type of control command (key command) may be added to the program code executed by the main CPU core 500. Specifically, it is only necessary to add a code relating to the key data reading instruction and a code relating to the writing of the key command, and it is sufficient to add only one instruction each in terms of the number of code steps. Therefore, the timing setting of authentication data and key command transmission, the update timing of key data, etc. can be designed freely, such as after a specific time or a specific number of clocks, and software control expandability and flexibility are also possible. The provided authentication function can be provided. In addition to this, since it is not necessary to perform a new timing design over the entire program code executed by the main CPU core 500, it is only necessary to design a timing by adding an authentication function. It can be carried out more easily and with less man-hours. This also increases the degree of freedom in design when adding an authentication function.

また、本実施の形態では、認証データの復号化処理や検査値と期待値との照合処理といった認証処理の大部分は中間部20が実行する。よって、演出制御部203で認証処理が実行されるのは、中間部20から認証結果データを受信した場合のみである。すなわち、認証処理を行うことによって演出制御部203のCPUの処理負荷が増大するのは、認証結果データを受信したときのみであるため、演出制御部203の処理負荷が増大する割合を抑えることができる。また、演出制御部203が実行するプログラムコードには認証結果データ解析処理に関するプログラムコードを追加するだけでよい。従って、演出制御部203が実行するプログラムコード全体にわたっての新たなタイミング設計を行う必要がないので、認証結果データの解析機能を追加するだけのタイミング設計で済み、機能の実装、機能の検証などを、より簡単に少ない作業工数で実施することができる。また、このことで認証処理に関する機能を追加する際の設計自由度を高くすることができる。   In the present embodiment, the intermediate unit 20 executes most of the authentication process such as the authentication data decryption process and the verification value and expected value matching process. Therefore, the production control unit 203 executes the authentication process only when the authentication result data is received from the intermediate unit 20. In other words, the processing load on the CPU of the effect control unit 203 increases only when the authentication result data is received by performing the authentication process, so that the rate of increase in the processing load of the effect control unit 203 can be suppressed. it can. Further, it is only necessary to add a program code related to the authentication result data analysis process to the program code executed by the effect control unit 203. Accordingly, since it is not necessary to perform new timing design over the entire program code executed by the production control unit 203, timing design can be performed simply by adding an analysis function of authentication result data, and function implementation, function verification, etc. It can be carried out more easily and with less work man-hours. This also increases the degree of design freedom when adding functions related to authentication processing.

また、本実施の形態では、鍵コマンドの送信タイミングを、電源投入コマンドを基準に設定し、パチンコ遊技機1の認証処理を電源投入時に開始している。この場合、電源投入コマンドは、パチンコ遊技機1の電源の投入時やリセット時など、パチンコ遊技機1の初期化処理を行う際(初期設定処理の後)に送信される。パチンコ遊技機1の初期化処理は、パチンコ遊技機1のメインの処理である遊技(ゲーム進行)関連処理とは異なる処理区分に分類される。したがって、本発明のように、パチンコ遊技機1の初期化処理中に認証処理を組み込めば、遊技関連処理中に認証処理を組み込む場合と比較して、プログラム設計やテストにかかる工程(工数)が増加する割合を低減することができる。すなわち、パチンコ遊技機1の初期化処理中に認証処理を組み込むことによって、開発コストの低減や品質管理上のメリットを得ることができる。また、パチンコ遊技機1の初期化処理中に認証処理を組み込めば、パチンコ遊技機1の起動直後に認証処理を行うため、遊技店が閉店した後に不正が行われた場合などであっても、顧客が入店する前に不正を検出することができる。よって、不正による被害が発生する危険性を低減することができる。   In the present embodiment, the transmission timing of the key command is set based on the power-on command, and the authentication process of the pachinko gaming machine 1 is started when the power is turned on. In this case, the power-on command is transmitted when the pachinko gaming machine 1 is initialized (after the initial setting process), such as when the pachinko gaming machine 1 is powered on or reset. The initialization process of the pachinko gaming machine 1 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 of the pachinko gaming machine 1 as in the present invention, the steps (man-hours) required for the program design and testing are compared with the case where the authentication process is incorporated during the game related process. The rate of increase can be reduced. That is, by incorporating the authentication process during the initialization process of the pachinko gaming machine 1, it is possible to obtain a merit in reducing development costs and quality control. In addition, if the authentication process is incorporated during the initialization process of the pachinko gaming machine 1, the authentication process is performed immediately after the pachinko gaming machine 1 is activated, so that even if the fraud is performed after the game store is closed, It is possible to detect fraud before the customer enters the store. Therefore, the risk of damage caused by fraud can be reduced.

また、鍵コマンドの送信タイミングを、客待ちデモコマンドを基準に設定し、パチンコ遊技機1の認証処理を客待ちデモ時に開始した場合、客待ちデモコマンドは、パチンコ遊技機1が非遊技状態、すなわち、パチンコ遊技機1のメインの処理である遊技(ゲーム進行)関連処理が行われていない場合に送信されるので、認証処理による処理負荷の増大が遊技関連処理に影響を与えることがない。このため、主制御部10や周辺部30が高度な処理能力を有していない場合や、遊技関連処理の処理負荷が大きいパチンコ遊技機1であっても、認証処理機能を追加することができる。また、客待ちデモコマンドは、顧客がパチンコ遊技機1を操作する前に発行されるコマンドであるので、顧客がパチンコ遊技機1を操作する前に不正行為を検出することができる。   Further, when the transmission timing of the key command is set based on the customer waiting demo command and the authentication process of the pachinko gaming machine 1 is started at the customer waiting demo, the customer waiting demo command indicates that the pachinko gaming machine 1 is in a non-game state, That is, since it is transmitted when the game (game progress) related process which is the main process of the pachinko gaming machine 1 is not performed, 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 peripheral unit 30 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. . Further, since the customer waiting demo command is a command issued before the customer operates the pachinko gaming machine 1, it is possible to detect fraud before the customer operates the pachinko gaming machine 1.

また、本実施の形態では、中間部20での認証処理の際に、鍵コマンド及び認証データを構成する鍵データの種類が不一致とならないように、認証データの送信と鍵コマンドの送信とが1回ずつ完了する度に、新たな鍵データで認証データが生成されるように、鍵データの更新タイミングが設定されている。しかしながら、本発明はこれに限定されず、1回の鍵コマンドの送信が完了する間に複数回の認証データの送信が行われた後に、鍵データの更新を行うように構成してもよい。この場合、鍵データの更新が行われる前の認証データの送信回数は、中間部20の認証データ記憶領域にて保持可能な認証データ数以下に抑えておけばよい。このとき、中間部20では、復号化処理時の先入れ先出しのルールを守れば、本実施の形態のように、鍵コマンド受信時の直前に受信した認証データに対して復号化処理を施すことに限定されず、例えば、鍵コマンド受信時より所定回数前に受信した認証データに対して復号化処理を施すことができる。また、当該所定回数を示す情報や鍵データの更新状況を示した情報を鍵データとともに都度送信するように構成することもできる。   Further, in the present embodiment, at the time of authentication processing in the intermediate unit 20, the transmission of authentication data and the transmission of the key command are 1 so that the types of key data constituting the key command and the authentication data do not match. The update timing of the key data is set so that the authentication data is generated with new key data every time it is completed. However, the present invention is not limited to this, and the key data may be updated after the authentication data is transmitted a plurality of times while the transmission of one key command is completed. In this case, the number of authentication data transmissions before the key data is updated may be kept below the number of authentication data that can be held in the authentication data storage area of the intermediate unit 20. At this time, if the first-in first-out rule at the time of the decryption process is observed, the intermediate unit 20 is limited to performing the decryption process on the authentication data received immediately before receiving the key command as in the present embodiment. For example, the decryption process can be performed on the authentication data received a predetermined number of times before the key command is received. Further, the information indicating the predetermined number of times and the information indicating the update status of the key data may be transmitted together with the key data.

また、本実施の形態では、主制御部10において、認証データを先に送信した後に鍵コマンドを送信することとしたが、本発明はこれに限定されず、鍵コマンドを先に送信した後に認証データを送信することとしてもよい。このとき、中間部20にて、鍵コマンド受信時に復号化処理の対象となる認証データは、当該鍵コマンド受信時の直後に受信した認証データとなるが、復号化処理時は先入れ先出しではなく、後入れ先出しのルールを取り決めておけばよい。また、中間部20での認証処理のトリガを、鍵コマンドの受信ではなく認証データの受信とするように構成することもできる。   In the present embodiment, the main control unit 10 transmits the key command after transmitting the authentication data first. However, the present invention is not limited to this, and the authentication is performed after the key command is transmitted first. Data may be transmitted. At this time, in the intermediate unit 20, the authentication data to be decrypted when the key command is received is authentication data received immediately after the key command is received. You just have to decide on first-in first-out rules. Further, the authentication processing trigger in the intermediate unit 20 may be configured to receive authentication data instead of receiving a key command.

また、本実施の形態では、主制御部10を構成する送信部520にて、各構成部から受け取ったデータを直ちに中間部20へ送信することとしているが、本発明はこれに限定されず、受け取ったデータを送信部520にて一時的に保存し、送信部520でも中間部20への送信タイミングを計ることができるような構成としてもよい。このことは、中間部20から演出制御部203への制御コマンドや認証結果データの送信についても同様であり、RAM20cの送信データ用記憶領域に書き込まれたデータを、送信データとして演出制御部203へ送信する際に、中間部20を構成する送信部(図示せず)にて送信データを一時的に保存し、送信部で演出制御部203への送信タイミングを計ることができるような構成としてもよい。   In the present embodiment, the transmission unit 520 constituting the main control unit 10 immediately transmits the data received from each component to the intermediate unit 20, but the present invention is not limited to this, The received data may be temporarily stored in the transmission unit 520, and the transmission unit 520 may be configured to measure the transmission timing to the intermediate unit 20. The same applies to transmission of control commands and authentication result data from the intermediate unit 20 to the effect control unit 203, and data written in the transmission data storage area of the RAM 20c is transmitted to the effect control unit 203 as transmission data. When transmitting, the transmission unit (not shown) constituting the intermediate unit 20 can temporarily store the transmission data, and the transmission unit can measure the transmission timing to the effect control unit 203. Good.

また、本実施の形態では、主制御部10では、検査値を暗号化して認証データを生成し、中間部20へ送信し、中間部20では、認証データに復号化して検査値を抽出し認証処理を行っている。そして、中間部20は、得られた認証結果に対して特に暗号化処理を施さずに、認証結果データとして演出制御部203へ送信している。しかしながら、本発明は、これに限定されない。例えば、認証データは、検査値に暗号化処理を施さずに検査値そのものを認証データとして中間部20へ送信してもよい。また、認証結果データは、得られた認証結果に対して暗号化処理を施したものを認証結果データとして演出制御部203へ送信してもよい。なお、認証データ及び認証結果データの双方とも暗号化処理が施されたものを用いる場合、中間部20は、受信した認証データの復号化処理に用いた鍵データと、生成する認証結果データの暗号化処理に用いる鍵データとは同じものを使用すればよい。すなわち、中間部20は、主制御部10から送信された鍵コマンドを構成する鍵データを用いて認証データを復号化した後、得られた認証結果に対して当該鍵データで暗号化処理を施して認証結果データを生成すればよい。   In the present embodiment, the main control unit 10 encrypts the inspection value to generate authentication data and transmits it to the intermediate unit 20, and the intermediate unit 20 decrypts the authentication value to extract the inspection value and authenticates it. Processing is in progress. Then, the intermediate unit 20 transmits the obtained authentication result to the effect control unit 203 as authentication result data without performing any particular encryption process. However, the present invention is not limited to this. For example, the authentication data may be transmitted to the intermediate unit 20 as authentication data without performing encryption processing on the inspection value. Further, the authentication result data may be transmitted to the effect control unit 203 as authentication result data obtained by performing encryption processing on the obtained authentication result. When both the authentication data and the authentication result data are encrypted, the intermediate unit 20 encrypts the key data used for the decryption process of the received authentication data and the generated authentication result data. What is necessary is just to use the same key data used for the digitization process. In other words, the intermediate unit 20 decrypts the authentication data using the key data constituting the key command transmitted from the main control unit 10, and then performs an encryption process on the obtained authentication result with the key data. Authentication result data may be generated.

また、このような場合、本実施の形態では、主制御部10と演出制御部203との間に中間部20を設けているので、主制御部10を構成するCPU10aと演出制御部203を構成するCPU203aとの間の処理能力の差異や、主制御部10を構成するROM10bやRAM10cと演出制御部203を構成するROM203bやRAM203cとの間の記憶容量の差異を、中間部20において吸収することができる。これにより、主制御部10と演出制御部203との間で処理能力や記憶容量に差異がある場合でも、主制御部10と演出制御部203との間のセキュリティ強度を維持することができる。   In such a case, in the present embodiment, since the intermediate unit 20 is provided between the main control unit 10 and the effect control unit 203, the CPU 10a and the effect control unit 203 constituting the main control unit 10 are configured. The intermediate unit 20 absorbs the processing capacity difference between the CPU 203 a and the storage capacity difference between the ROM 10 b or RAM 10 c constituting the main control unit 10 and the ROM 203 b or RAM 203 c constituting the effect control unit 203. Can do. Thereby, even when there is a difference in processing capacity and storage capacity between the main control unit 10 and the effect control unit 203, the security strength between the main control unit 10 and the effect control unit 203 can be maintained.

すなわち、例えば、主制御部10を構成するCPU10aの処理能力や主制御部10を構成するROM10bやRAM10cの記憶容量が、演出制御部203を構成するCPU203aの処理能力や演出制御部203を構成するROM203bやRAM203cの記憶容量と比較して余裕がある場合、主制御部10は、検査値に対して複雑な暗号化処理を施して認証データを生成し中間部20へ送信する。中間部20は、受信した認証データを用いて認証処理を行い、得られた認証結果に対して比較的簡易な暗号化処理を施して(又は認証結果そのもので)認証結果データを生成し演出制御部203へ送信する。演出制御部203は、受信した認証結果データに対して比較的簡易な復号化処理を施して(又は認証結果データそのもので)認証処理を行うことができる。このように構成することにより、演出制御部203において複雑な復号化方式を採用しなくても、パチンコ遊技機1として高度のセキュリティ強度を維持することができる。   That is, 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 and the RAM 10 c constituting the main control unit 10 constitute the processing capacity of the CPU 203 a constituting the effect control unit 203 and the effect control unit 203. When there is a margin in comparison with the storage capacity of the ROM 203b or the RAM 203c, the main control unit 10 performs complex encryption processing on the inspection value, generates authentication data, and transmits the authentication data to the intermediate unit 20. The intermediate unit 20 performs an authentication process using the received authentication data, performs a relatively simple encryption process on the obtained authentication result (or the authentication result itself), generates authentication result data, and effects control To the unit 203. The effect control unit 203 can perform the authentication process by performing a relatively simple decryption process on the received authentication result data (or the authentication result data itself). With this configuration, the pachinko gaming machine 1 can maintain a high level of security without adopting a complicated decoding method in the effect control unit 203.

また、例えば、演出制御部203を構成するCPU203aの処理能力や演出制御部203を構成するROM203bやRAM203bの記憶容量が、主制御部10を構成するCPU10aの処理能力や主制御部10を構成するROM10bやRAM10cの記憶容量と比較して余裕がある場合、主制御部10は、検査値に対して比較的簡易な暗号化処理を施して(又は検査値そのもので)認証データを生成し中間部20へ送信する。中間部20は、受信した認証データを用いて認証処理を行い、得られた認証結果に対して複雑な暗号化処理を施して認証結果データを生成し演出制御部203へ送信する。演出制御部203は、受信した認証結果データに対して複雑な復号化処理を施して認証処理を行うこととなる。このように構成することにより、主制御部10において複雑な暗号化方式を採用しなくても、パチンコ遊技機1として高度のセキュリティ強度を維持することができる。   Further, for example, the processing capacity of the CPU 203 a configuring the effect control unit 203 and the storage capacity of the ROM 203 b and the RAM 203 b configuring the effect control unit 203 configure the processing capability of the CPU 10 a configuring the main control unit 10 and the main control unit 10. When there is a margin in comparison with the storage capacity of the ROM 10b or RAM 10c, the main control unit 10 performs a relatively simple encryption process on the inspection value (or with the inspection value itself) to generate authentication data and generate an intermediate unit 20 is transmitted. The intermediate unit 20 performs authentication processing using the received authentication data, performs complex encryption processing on the obtained authentication result, generates authentication result data, and transmits the authentication result data to the effect control unit 203. The effect control unit 203 performs an authentication process by performing a complex decryption process on the received authentication result data. With this configuration, the pachinko gaming machine 1 can maintain a high level of security without adopting a complicated encryption method in the main control unit 10.

また、本実施の形態に係るパチンコ遊技機1では、中間部20をCPU、ROM、RAM等を備えて構成しているが、同様の機能をLSI等の集積回路として実現するように構成してもよい。
また、本実施の形態では、本発明をパチンコ遊技機に適用する例を示したが、これに限定されず、本発明は、雀球遊技機、アレンジボール等のパチンコ遊技機以外の弾球遊技機、スロットマシン等の回胴式遊技機などの他の遊技機にも適用することができる。これらの遊技機においても、本実施の形態と同様に構成することにより、本実施の形態と同様の効果を得ることができる。また、本実施の形態は、その目的及び構成等に特に矛盾や問題がない限り、互いの技術を流用することができる。
Further, in the pachinko gaming machine 1 according to the present embodiment, the intermediate unit 20 is configured to include a CPU, a ROM, a RAM, and the like, but the same function is configured to be realized as an integrated circuit such as an LSI. Also good.
In this embodiment, 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 game machines such as a spinning machine such as a machine or a slot machine. Even in these gaming machines, the same effects as in the present embodiment can be obtained by configuring in the same manner as in the present embodiment. Moreover, this embodiment can divert each other's technology as long as there is no particular contradiction or problem in its purpose and configuration.

1 パチンコ遊技機
10 主制御部
10a,20a,203a,204a CPU
10b,20b,203b,204b ROM
10c,20c,203c,204c RAM
10m ワンチップマイコン
10g 暗号化制御回路
20 中間部
203 演出制御部
203d VRAM
204 賞球制御部
500 CPUコア
501 処理部
502 データ入出力部
510 データ記憶部
511 データ記憶回路
520 送信部
521 送信回路
522 データ入力部
530 暗号化部
531 鍵決定部
532 データ入出力部
533 暗号回路
540 パルス発生部
541 パルス発生回路
550 内部バス
1 Pachinko machine 10 Main controller 10a, 20a, 203a, 204a CPU
10b, 20b, 203b, 204b ROM
10c, 20c, 203c, 204c RAM
10m One-chip microcomputer 10g Encryption control circuit 20 Intermediate part 203 Production control part 203d VRAM
204 Prize Ball Control Unit 500 CPU Core 501 Processing Unit 502 Data Input / Output Unit 510 Data Storage Unit 511 Data Storage Circuit 520 Transmission Unit 521 Transmission Circuit 522 Data Input Unit 530 Encryption Unit 531 Key Determination Unit 532 Data Input / Output Unit 533 Cryptographic Circuit 540 Pulse generation unit 541 Pulse generation circuit 550 Internal bus

Claims (6)

主制御手段と、前記主制御手段が出力する所定の情報に応じて処理を行う副制御手段と、前記主制御手段と前記副制御手段との間に設けられた中間制御手段とを備えた遊技機であって、
前記主制御手段は、
所定の遊技情報が記憶されている情報記憶部と、
前記情報記憶部に記憶されている遊技情報に従って所定の演算を行う演算処理部と、
所定の情報を前記中間制御手段へ送信する情報送信部と、
前記情報記憶部に記憶されている特定の情報を読み込んで、前記情報記憶部に記憶されている情報の正当性を認証するための認証情報を生成する認証情報生成部と、
前記認証情報生成部が生成した認証情報を記憶する認証情報記憶部と、
前記認証情報記憶部に記憶されている認証情報を前記情報送信部に送信させる認証情報送信指示部とを備え、
前記演算処理部は、所定の演算結果の情報を前記情報送信部に送信させるための送信指示命令を前記情報送信部へ出力し、
前記情報送信部は、前記送信指示命令が入力されると、前記所定の演算結果の情報を受け取り、受け取った前記所定の演算結果の情報を前記中間制御手段へ送信し、
前記認証情報送信指示部は、前記演算処理部から前記情報送信部へ出力された前記送信指示命令を入力し、該送信指示命令を入力すると所定時間遅延して、前記認証情報記憶部に記憶されている認証情報を前記情報送信部に送信させ、
前記中間制御手段は、前記情報送信部にて送信された認証情報を受信し、受信した認証情報に基づいて、前記情報記憶部に記憶されている情報を認証することにより、前記主制御手段の正当性を認証する
ことを特徴とする遊技機。
A game comprising main control means, sub control means for performing processing in accordance with predetermined information output from the main control means, and intermediate control means provided between the main control means and the sub control means Machine,
The main control means includes
An information storage unit in which predetermined game information is stored;
An arithmetic processing unit that performs a predetermined calculation according to the game information stored in the information storage unit;
An information transmitter for transmitting predetermined information to the intermediate control means;
An authentication information generation unit that reads specific information stored in the information storage unit and generates authentication information for authenticating the validity of the information stored in the information storage unit;
An authentication information storage unit for storing authentication information generated by the authentication information generation unit;
An authentication information transmission instruction unit that causes the information transmission unit to transmit the authentication information stored in the authentication information storage unit,
The arithmetic processing unit outputs a transmission instruction command for causing the information transmitting unit to transmit information on a predetermined arithmetic result to the information transmitting unit,
When the transmission instruction command is input, the information transmission unit receives the information on the predetermined calculation result, transmits the received information on the predetermined calculation result to the intermediate control unit,
The authentication information transmission instruction unit inputs the transmission instruction command output from the arithmetic processing unit to the information transmission unit, and when the transmission instruction command is input, the authentication information transmission instruction unit stores a delay for a predetermined time and is stored in the authentication information storage unit. Authentication information is transmitted to the information transmission unit,
The intermediate control unit receives the authentication information transmitted by the information transmission unit, and authenticates the information stored in the information storage unit based on the received authentication information, whereby the main control unit A gaming machine characterized by authenticity verification.
前記認証情報送信指示部は、前記情報送信部によって演算結果の情報の送信が完了した後に、前記認証情報記憶部に記憶されている認証情報を前記情報送信部に送信させることを特徴とする請求項1に記載の遊技機。   The authentication information transmission instructing unit causes the information transmission unit to transmit authentication information stored in the authentication information storage unit after the information transmission unit completes transmission of information of a calculation result. Item 1. A gaming machine according to Item 1. 前記認証情報生成部は、
所定の暗号鍵情報を決定する暗号鍵決定部と、
前記情報記憶部に記憶されている特定の情報を読み込み、前記暗号鍵決定手段によって決定された暗号鍵情報に基づいて、読み込んだ前記特定の情報を暗号化して認証情報を生成する暗号生成部とを備える
ことを特徴とする請求項1又2に記載の遊技機。
The authentication information generation unit
An encryption key determination unit for determining predetermined encryption key information;
A cipher generation unit that reads the specific information stored in the information storage unit and encrypts the read specific information based on the encryption key information determined by the encryption key determination unit to generate authentication information; The gaming machine according to claim 1 or 2, further comprising:
前記演算処理部は、前記情報送信部に前記暗号鍵決定部によって決定された暗号鍵情報を送信させる送信指示命令を出力することを特徴とする請求項3に記載の遊技機。   The gaming machine according to claim 3, wherein the arithmetic processing unit outputs a transmission instruction command for causing the information transmitting unit to transmit the encryption key information determined by the encryption key determining unit. 前記暗号鍵決定部は、所定の更新条件が成立すると、新たに暗号鍵情報を決定することを特徴とする請求項2乃至4のいずれかに記載の遊技機。   5. The gaming machine according to claim 2, wherein the encryption key determination unit newly determines encryption key information when a predetermined update condition is satisfied. 主制御手段と、前記主制御手段が出力する所定の情報に応じて処理を行う副制御手段と、前記主制御手段と前記副制御手段との間に設けられた中間制御手段とを備えた遊技機の認証方法であって、
認証情報生成部が、所定の遊技情報が記憶されている情報記憶部に記憶されている特定の情報を読み込んで、前記情報記憶部に記憶されている情報の認証を行うための認証情報を生成する第1のステップと、
認証情報記憶部が、前記第1のステップで生成された前記認証情報を記憶する第2のステップと、
前記情報記憶部に記憶されている遊技情報に従って所定の演算を行う演算処理部が、前記所定の演算結果の情報を送信させるための送信指示命令を、所定の情報を前記中間制御手段へ送信する情報送信部へ出力する第3のステップと、
前記情報送信部が、前記送信指示命令が入力されると、前記所定の演算結果の情報を受け取り、受け取った前記所定の演算結果の情報を前記中間制御手段へ送信する第4のステップと、
認証情報送信指示部が、前記演算処理部から前記情報送信部へ出力された前記送信指示命令を入力し、該送信指示命令を入力すると所定時間遅延して、前記認証情報記憶部に記憶されている認証情報を前記情報送信部に送信させる第5のステップと、
前記中間制御手段が、前記第5のステップで送信された前記認証情報を受信し、受信した認証情報に基づいて、前記情報記憶部に記憶されている情報を認証することにより、前記主制御手段の正当性を認証する第6のステップとを有する
ことを特徴とする遊技機の認証方法。
A game comprising main control means, sub control means for performing processing in accordance with predetermined information output from the main control means, and intermediate control means provided between the main control means and the sub control means Machine authentication method,
An authentication information generation unit reads specific information stored in an information storage unit in which predetermined game information is stored, and generates authentication information for authenticating the information stored in the information storage unit A first step to:
A second step in which an authentication information storage unit stores the authentication information generated in the first step;
An arithmetic processing unit that performs a predetermined operation according to the game information stored in the information storage unit transmits a transmission instruction command for transmitting the information of the predetermined operation result to the intermediate control unit. A third step of outputting to the information transmitter;
A fourth step in which, when the transmission instruction command is input, the information transmission unit receives the information on the predetermined calculation result, and transmits the received information on the predetermined calculation result to the intermediate control unit;
An authentication information transmission instruction unit inputs the transmission instruction command output from the arithmetic processing unit to the information transmission unit, and when the transmission instruction command is input, the authentication information transmission instruction unit is stored in the authentication information storage unit with a predetermined time delay. A fifth step of causing the information transmission unit to transmit authentication information that is present;
The intermediate control means receives the authentication information transmitted in the fifth step, and authenticates the information stored in the information storage unit based on the received authentication information, whereby the main control means And a sixth step of authenticating the legitimacy of the game machine.
JP2010124158A 2010-05-31 2010-05-31 Gaming machine and gaming machine authentication method Expired - Fee Related JP4999209B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010124158A JP4999209B2 (en) 2010-05-31 2010-05-31 Gaming machine and gaming machine authentication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010124158A JP4999209B2 (en) 2010-05-31 2010-05-31 Gaming machine and gaming machine authentication method

Publications (2)

Publication Number Publication Date
JP2011245225A JP2011245225A (en) 2011-12-08
JP4999209B2 true JP4999209B2 (en) 2012-08-15

Family

ID=45411198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010124158A Expired - Fee Related JP4999209B2 (en) 2010-05-31 2010-05-31 Gaming machine and gaming machine authentication method

Country Status (1)

Country Link
JP (1) JP4999209B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4244240B2 (en) * 1997-11-25 2009-03-25 株式会社ソフィア Game machine
JP2007233960A (en) * 2006-03-03 2007-09-13 Matsushita Electric Ind Co Ltd Authentication processing device and authentication processing method
JP2008067795A (en) * 2006-09-12 2008-03-27 Kita Denshi Corp Communication unit and premium exchange ticket issuing apparatus provided with the communication unit

Also Published As

Publication number Publication date
JP2011245225A (en) 2011-12-08

Similar Documents

Publication Publication Date Title
JP5109016B2 (en) Game machine
JP5109015B2 (en) Game machine
JP5109014B2 (en) Game machine
JP5109023B2 (en) Game machine
JP5109008B2 (en) Game machine
JP5238760B2 (en) Game machine
JP5322902B2 (en) Game machine and authentication method
JP5322903B2 (en) Game machine and authentication method
JP4999209B2 (en) Gaming machine and gaming machine authentication method
JP2010233657A (en) Game machine, main control part, main control board, intermediate part, peripheral board, authentication method, and authentication program
JP4999210B2 (en) Gaming machine and gaming machine authentication method
JP4970488B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5109007B2 (en) Game machine
JP4999208B2 (en) Gaming machine and gaming machine authentication method
JP5238761B2 (en) Game machine
JP5238759B2 (en) Game machine
JP5109006B2 (en) Game machine
JP5109022B2 (en) Game machine
JP4970485B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5181361B2 (en) Game machine, intermediate part, peripheral board, authentication method and authentication program
JP5109021B2 (en) Game machine
JP4981090B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP4970491B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP4970489B2 (en) Game machine, main control unit, main control board, intermediate part, peripheral board, authentication method and authentication program
JP5007330B2 (en) Game machine, main control unit, main control board, rear stage part, peripheral board, authentication method and authentication program

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120417

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120418

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120514

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees