JP4800357B2 - Electronic device, game machine, main control board, peripheral board, authentication method and authentication program - Google Patents

Electronic device, game machine, main control board, peripheral board, authentication method and authentication program Download PDF

Info

Publication number
JP4800357B2
JP4800357B2 JP2008218658A JP2008218658A JP4800357B2 JP 4800357 B2 JP4800357 B2 JP 4800357B2 JP 2008218658 A JP2008218658 A JP 2008218658A JP 2008218658 A JP2008218658 A JP 2008218658A JP 4800357 B2 JP4800357 B2 JP 4800357B2
Authority
JP
Japan
Prior art keywords
data
main control
correction data
control command
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
JP2008218658A
Other languages
Japanese (ja)
Other versions
JP2010051481A (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 JP2008218658A priority Critical patent/JP4800357B2/en
Publication of JP2010051481A publication Critical patent/JP2010051481A/en
Application granted granted Critical
Publication of JP4800357B2 publication Critical patent/JP4800357B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

この発明は、複数の基板を備え、これらの基板間の通信の認証をおこなう電子機器、遊技機、主制御基板、周辺基板、認証方法および認証プログラムに関する。   The present invention relates to an electronic device, a gaming machine, a main control board, a peripheral board, an authentication method, and an authentication program that include a plurality of boards and authenticate communication between these boards.

従来、複数の基板を備えた電子機器において、これら各基板に対する不正を防止するための様々な技術が提案されている。複数の基板を備えた電子機器としては、たとえば、ぱちんこ遊技機などがある。ぱちんこ遊技機には、電子機器全体の動作を司る主制御基板と、電子機器の各部の動作をおこなう被制御基板(周辺基板)とを備えている。この主制御基板は、周辺基板に制御コマンドを含む制御信号を出力し、その他の周辺基板は、主制御基板から送信された制御信号にしたがって動作を実行する機能を備えている。   Conventionally, in an electronic apparatus having a plurality of substrates, various techniques have been proposed for preventing fraud on these substrates. As an electronic device provided with a plurality of substrates, for example, there is a pachinko gaming machine. The pachinko gaming machine includes a main control board that controls the operation of the entire electronic device and a controlled board (peripheral board) that performs the operation of each part of the electronic device. The main control board outputs a control signal including a control command to the peripheral board, and the other peripheral boards have a function of executing an operation according to the control signal transmitted from the main control board.

主制御基板に対する不正には、たとえば、正規の主制御基板を不正な制御基板に取り替えたり、主制御基板がおこなう処理を規定したプログラムコードを改ざんしたりするなどの方法がある。このような不正を防止するため、たとえば、主制御基板内に搭載されたROMに記録されているプログラムデータをROMチェッカによってチェックして、ROMの不正交換などを防止する技術が提案されている(たとえば、下記特許文献1参照。)。   Examples of frauds with respect to the main control board include a method of replacing a regular main control board with an illegal control board, or altering a program code that defines processing performed by the main control board. In order to prevent such fraud, for example, a technique has been proposed in which program data recorded in a ROM mounted on the main control board is checked by a ROM checker to prevent illegal exchange of the ROM ( For example, see the following Patent Document 1.)

また、他の方法としては、表示制御部などの周辺基板内に搭載されたROMにあらかじめ、他の基板の照合をおこなうための期待値を保持させておき、この期待値と、主制御基板および他の周辺基板のID(固有の値)の和と、が一致した場合に、他の基板を認証することで、不正な基板が挿入されたことを検知する技術が提案されている(たとえば、下記特許文献2参照。)。   As another method, the ROM mounted in the peripheral board such as the display control unit holds in advance an expected value for collating other boards, and this expected value is compared with the main control board and When the sum of IDs (unique values) of other peripheral boards matches, a technique for detecting that an illegal board has been inserted by authenticating other boards has been proposed (for example, (See Patent Document 2 below.)

特開平11−333108号公報JP 11-333108 A 特開2005−21330号公報JP-A-2005-21330

しかしながら、上述した特許文献1の技術によれば、プログラムデータの改ざんは検知できるが、正規な主制御基板と被制御基板との間に不正な制御基板が接続されてしまうのを防止することができない。このため、不正な制御基板から出力される制御信号によって、被制御基板が不正な制御をおこなってしまうという問題がある。   However, according to the technique disclosed in Patent Document 1 described above, although falsification of program data can be detected, it is possible to prevent an unauthorized control board from being connected between a regular main control board and a controlled board. Can not. For this reason, there is a problem that the controlled substrate performs unauthorized control by the control signal output from the unauthorized control substrate.

ここで、図14および図15を用いて、従来技術による不正防止技術について説明する。図14は、従来技術による不正防止技術の概要を示す説明図である。また、図15は、不正な制御基板の挿入例を示す説明図である。図14に示すように、正規の主制御基板1401は、周辺基板1402に対して正規の制御信号RSを出力して、周辺基板1402の動作を制御する。正規の主制御基板1401には、検査用ポート1403が設けられている。この検査用ポート1403から正規の主制御基板1401の内部に設けられたROMなどに記録されたプログラムデータを検査して、正規の主制御基板1401に不正がおこなわれていないかを検査する。   Here, a fraud prevention technique according to the prior art will be described with reference to FIGS. 14 and 15. FIG. 14 is an explanatory diagram showing an outline of a fraud prevention technique according to the prior art. FIG. 15 is an explanatory diagram showing an example of inserting an unauthorized control board. As shown in FIG. 14, the regular main control board 1401 outputs a regular control signal RS to the peripheral board 1402 to control the operation of the peripheral board 1402. The regular main control board 1401 is provided with an inspection port 1403. The program data recorded in the ROM or the like provided in the regular main control board 1401 is inspected from the inspection port 1403 to inspect whether the regular main control board 1401 is fraudulent.

ところが、図15に示すように、正規の主制御基板1401と周辺基板1402との間に、不正な制御基板1501が挿入されてしまう場合がある。不正な制御基板1501は、正規の主制御基板1401から出力された正規の制御信号RSを破棄または無視し、替わりに不正な制御信号FSを周辺基板1402に出力する。ここで、周辺基板1402は、入力された信号が、正規の制御信号RSであるか不正な制御信号FSであるかを判別することができない。このため、周辺基板1402は、不正な制御信号FSにしたがって動作してしまうという問題がある。   However, as shown in FIG. 15, an unauthorized control board 1501 may be inserted between the regular main control board 1401 and the peripheral board 1402. The unauthorized control board 1501 discards or ignores the authorized control signal RS output from the authorized main control board 1401 and outputs an unauthorized control signal FS to the peripheral board 1402 instead. Here, the peripheral board 1402 cannot determine whether the input signal is the normal control signal RS or the illegal control signal FS. For this reason, there is a problem that the peripheral board 1402 operates in accordance with an unauthorized control signal FS.

また、検査用ポート1403は正規の主制御基板1401のみに設けられているため、検査用ポート1403を用いた検査をおこなっても、正規の主制御基板1401内の処理に対する検査結果が返ってしまう。このため、検査用ポート1403を用いた検査をおこなっても、不正な制御基板1501による不正制御を検知することができないという問題がある。   In addition, since the inspection port 1403 is provided only on the regular main control board 1401, even if the inspection using the inspection port 1403 is performed, the inspection result for the process in the regular main control board 1401 is returned. . For this reason, even if the inspection using the inspection port 1403 is performed, there is a problem that unauthorized control by the unauthorized control board 1501 cannot be detected.

また、上述した特許文献2の技術では、不正な制御基板が挿入されたことを検知することができる。しかしながら、基板が変更されると、IDも変わるため、他の基板が変更になる度に、期待値を書き換えなければならないという問題がある。したがって、主制御基板や他の周辺基板の認証をおこなう基板の設定を、主制御基板や他の周辺基板が変更される度に変更しなければならず、手間がかかるという問題がある。   Further, with the technique of Patent Document 2 described above, it can be detected that an unauthorized control board has been inserted. However, since the ID changes when the substrate is changed, there is a problem that the expected value must be rewritten every time another substrate is changed. Therefore, there is a problem that the setting of the board for performing authentication of the main control board and other peripheral boards must be changed every time the main control board and other peripheral boards are changed, which is troublesome.

また、特許文献2の技術では、いずれかの基板が変更された場合、変更後の主制御基板や他の周辺基板のIDの和で、期待値を自動更新する異常解除スイッチが備えられている。しかしながら、たとえば不正な基板が挿入されているときに異常解除スイッチが操作されると、不正な基板を正規の基板として認証してしまうという問題がある。   Further, in the technique of Patent Document 2, when any of the boards is changed, an abnormality canceling switch is provided that automatically updates the expected value with the sum of the IDs of the changed main control board and other peripheral boards. . However, for example, if the abnormality release switch is operated while an unauthorized substrate is inserted, there is a problem that the unauthorized substrate is authenticated as a regular substrate.

この発明は、上述した従来技術による問題点を解消するため、主制御基板を認証するために用いる期待値を簡単な方法で補正し、かつ主制御基板から周辺基板に対する不正制御や、期待値の流用を防止することができる電子機器、遊技機、主制御基板、周辺基板、認証方法および認証プログラムを提供することを目的とする。   The present invention corrects the expected value used to authenticate the main control board by a simple method in order to solve the above-described problems caused by the prior art, and performs improper control of the peripheral board from the main control board and the expected value. An object is to provide an electronic device, a gaming machine, a main control board, a peripheral board, an authentication method, and an authentication program that can prevent diversion.

上述した課題を解決し、目的を達成するため、請求項1の発明にかかる電子機器は、制御コマンドを送信する主制御部と、前記主制御部によって送信された前記制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器であって、前記主制御部は、前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正するための補正データを生成する補正データ生成手段と、前記周辺部に送信する前記制御コマンドが当該周辺部に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、前記補正データ生成手段によって生成された前記補正データを当該制御コマンドに付加する補正データ付加手段と、前記補正データ付加手段によって前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を前記周辺部に送信する補正データ送信手段と、前記主制御部を認証するための認証データを生成する認証データ生成手段と、前記補正データ送信手段によって前記補正データ付制御コマンドが前記周辺部に送信された後に、当該周辺部に送信する前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ生成手段によって生成された前記認証データを当該制御コマンドに付加する認証データ付加手段と、前記認証データ付加手段によって前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を前記周辺部に送信する認証データ送信手段と、を備え、前記周辺部は、前記主制御部によって送信された前記補正データ付制御コマンドを受信する補正データ受信手段と、前記補正データ受信手段によって受信された前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正手段と、前記主制御部によって送信された前記認証データ付制御コマンドを受信する認証データ受信手段と、前記認証データ受信手段によって受信された前記認証データ付制御コマンドを用いて算出された値が、前記補正手段によって補正された前記期待値と一致するか否かを判断する判断手段と、前記判断手段によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御部を認証する認証手段と、を備えることを特徴とする。   In order to solve the above-described problems and achieve the object, an electronic device according to a first aspect of the present invention includes a main control unit that transmits a control command, and a predetermined control based on the control command transmitted by the main control unit. Correction data for correcting an expected value used for collation of data transmitted from the main control unit, the main control unit being held in the peripheral unit. When the control command transmitted to the peripheral part is a jackpot reach command that causes the peripheral part to execute a process of reaching a jackpot, the correction data generating unit generates the correction data Correction data adding means for adding correction data to the control command; and the control frame to which the correction data is added by the correction data adding means. Correction data transmitting means for transmitting a command (hereinafter referred to as “control command with correction data”) to the peripheral section, authentication data generating means for generating authentication data for authenticating the main control section, and the correction data transmission After the control command with correction data is transmitted to the peripheral part by the means, when the control command transmitted to the peripheral part is the jackpot reach command, the authentication data generated by the authentication data generating means is Authentication data adding means for adding to the control command, and authentication data transmitting means for transmitting the control command to which the authentication data is added by the authentication data adding means (hereinafter referred to as “control command with authentication data”) to the peripheral part. And the peripheral portion includes the control frame with correction data transmitted by the main control portion. Correction data receiving means for receiving a command, correction means for correcting the expected value held in the peripheral part using the control command with correction data received by the correction data receiving means, and the main control part An authentication data receiving means for receiving the control command with authentication data transmitted by the control unit, and a value calculated using the control command with authentication data received by the authentication data receiving means is corrected by the correction means. If it is determined that the expected value matches the expected value, a determination unit that determines whether the expected value matches, a value calculated by the determination unit using the control command with authentication data, and the expected value, And authentication means for authenticating the control unit.

この請求項1の発明によれば、主制御部から送信される制御コマンドが大当たりリーチコマンドである場合、制御コマンドに補正データまたは認証データを付加する。ここで、大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。これは、補正データや認証データの通信不具合、補正データや認証データの改ざんが一定の期間おこなわれた場合であっても、時間をおいてランダムに補正処理や認証処理がおこなわれるので、通信不具合や改ざんの影響を回避できる可能性が高くなるためである。また、認証処理がおこなわれるのは大当たりリーチコマンドの送信時のみであるので、全ての制御コマンドの送信時に認証処理や補正処理をおこなうのと比べて、主制御部や周辺部の処理負荷を減らすことができる。   According to the first aspect of the present invention, when the control command transmitted from the main control unit is a jackpot reach command, correction data or authentication data is added to the control command. Here, for example, the jackpot reach is not only a jackpot state after the jackpot reach, but also may be in a state such as a pseudo-ream or a revival, so the occurrence frequency is higher than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way. This is because communication errors in correction data and authentication data, and even if correction data and authentication data are falsified for a certain period, correction processing and authentication processing are performed at random intervals, so communication problems This is because there is a high possibility of avoiding the effects of tampering. In addition, since authentication processing is performed only when a jackpot reach command is transmitted, the processing load on the main control unit and peripheral units is reduced compared to performing authentication processing and correction processing when all control commands are transmitted. be able to.

さらに、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   Furthermore, the jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

また、請求項2の発明にかかる電子機器は、請求項1に記載の発明において、前記補正データ付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部に電源が投入された後の最初の前記大当たりリーチコマンドである場合、当該大当たりリーチコマンドに前記補正データを付加することを特徴とする。   According to a second aspect of the present invention, in the electronic device according to the first aspect, the correction data adding means is configured such that the control command to be transmitted to the peripheral portion is turned on to the main control portion. In the case of the first jackpot reach command, the correction data is added to the jackpot reach command.

この請求項2の発明によれば、たとえば電源が投入される前に主制御部が他の主制御部に変更されても、電源投入後の最初の大当たりリーチコマンドで変更後の主制御部に応じた期待値に補正することができる。このため、認証処理の前に補正処理をおこなうことができるので、変更後の主制御部を正規の基板であると認証することができる。   According to the second aspect of the present invention, even if the main control unit is changed to another main control unit before the power is turned on, for example, the first jackpot reach command after the power is turned on changes the main control unit to the main control unit. The expected value can be corrected accordingly. For this reason, since a correction process can be performed before an authentication process, it can authenticate that the main control part after a change is a regular board | substrate.

また、請求項3の発明にかかる電子機器は、請求項1または2に記載の発明において、前記補正データ付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部のリセット後の最初の前記大当たりリーチコマンドである場合、当該大当たりリーチコマンドに前記補正データを付加することを特徴とする。   According to a third aspect of the present invention, there is provided the electronic device according to the first or second aspect, wherein the correction data adding means is configured so that the control command to be transmitted to the peripheral portion is the first after the reset of the main control portion. In the case of the jackpot reach command, the correction data is added to the jackpot reach command.

この請求項3の発明によれば、たとえばリセット後の動作開始時に期待値を補正することができる。このため、認証処理の前に補正処理をおこなうことができるので、変更後の主制御部を正規の基板であると認証することができる。   According to the third aspect of the present invention, for example, the expected value can be corrected at the start of operation after reset. For this reason, since a correction process can be performed before an authentication process, it can authenticate that the main control part after a change is a regular board | substrate.

また、請求項4の発明にかかる電子機器は、請求項1〜3のいずれか一つに記載の発明において、前記認証データ付加手段は、前記周辺部に送信する前記制御コマンドが、前記補正データ送信手段によって送信された前記補正データ付制御コマンドの次の前記大当たりリーチコマンドである場合、当該大当たりリーチコマンドに前記認証データを付加することを特徴とする。   An electronic device according to a fourth aspect of the present invention is the electronic device according to any one of the first to third aspects, wherein the control data transmitted to the peripheral portion is the correction data. In the case of the jackpot reach command next to the control command with correction data transmitted by the transmitting means, the authentication data is added to the jackpot reach command.

この請求項4の発明によれば、認証処理の前に補正処理をおこなうことができるので、変更後の主制御部を正規の基板であると認証することができる。また、補正処理をおこなった後に、認証処理をおこなうことができるので、認証の強度を向上させることができる。   According to the fourth aspect of the present invention, since the correction process can be performed before the authentication process, the main controller after the change can be authenticated as a regular board. In addition, since the authentication process can be performed after the correction process is performed, the strength of the authentication can be improved.

また、請求項5の発明にかかる電子機器は、請求項1〜4のいずれか一つに記載の発明において、前記補正データ生成手段は、前記主制御部が他の前記主制御部に変更された場合、前記周辺部に保持された前記期待値を、他の前記主制御部から送信されたデータの照合に用いる期待値に補正するための補正データを生成することを特徴とする。   An electronic device according to a fifth aspect of the present invention is the electronic device according to any one of the first to fourth aspects, wherein the main control unit is changed to another main control unit. In this case, correction data for correcting the expected value held in the peripheral portion to an expected value used for collation of data transmitted from the other main control unit is generated.

この請求項5の発明によれば、主制御部が変更される度に、補正処理をおこなうことができる。このため、主制御部が変更されているのにも関わらず、周辺部に保持された期待値が補正されていないことを防ぐことができる。   According to the fifth aspect of the present invention, the correction process can be performed every time the main control unit is changed. For this reason, it is possible to prevent the expected value held in the peripheral part from being corrected, although the main control part is changed.

また、請求項6の発明にかかる電子機器は、請求項1〜5のいずれか一つに記載の発明において、前記主制御部は、前記主制御部に設定されている固有の値を記録する記録手段を備え、前記補正データ生成手段は、前記記録手段によって記録された前記固有の値を用いて前記補正データを生成することを特徴とする。   An electronic device according to a sixth aspect of the present invention is the electronic device according to any one of the first to fifth aspects, wherein the main control unit records a unique value set in the main control unit. The correction data generation unit generates the correction data using the unique value recorded by the recording unit.

この請求項6の発明によれば、主制御部が複数ある場合、各主制御部を認識可能な値によって補正データを生成することができる。これによって、期待値を各主制御部に固有の値とすることができるため、より不正な基板を検知しやすくなり、認証の強度を向上させることができる。   According to the sixth aspect of the present invention, when there are a plurality of main control units, it is possible to generate correction data with values that can recognize each main control unit. As a result, the expected value can be set to a value unique to each main control unit, so that it becomes easier to detect an unauthorized substrate and the strength of authentication can be improved.

また、請求項7の発明にかかる電子機器は、請求項6に記載の発明において、前記補正データ生成手段は、前記主制御部が他の前記主制御部に変更された場合、前記記録手段に記録された、変更される前の前記主制御部に設定されていた固有の値と、変更された後の他の前記主制御部に設定されている固有の値との差分を、前記補正データとして生成することを特徴とする。   According to a seventh aspect of the present invention, in the electronic device according to the sixth aspect of the present invention, the correction data generating means may be arranged such that when the main control section is changed to another main control section, the recording means is used. The difference between the recorded unique value set in the main control unit before the change and the unique value set in the other main control unit after the change is calculated as the correction data. It is characterized by producing | generating as.

この請求項7の発明によれば、主制御部が複数ある場合、各主制御部を認識可能な値の差分によって補正データを生成することができる。これによって、期待値を各主制御部に固有の値とすることができるため、より不正な基板を検知しやすくなり、認証の強度を向上させることができる。   According to the seventh aspect of the present invention, when there are a plurality of main control units, it is possible to generate correction data based on a difference in values that can recognize each main control unit. As a result, the expected value can be set to a value unique to each main control unit, so that it becomes easier to detect an unauthorized substrate and the strength of authentication can be improved.

また、請求項8の発明にかかる電子機器は、請求項1〜5のいずれか一つに記載の発明において、前記主制御部は、所定のプログラムコードを記録した記録手段を備え、前記補正データ生成手段は、前記記録手段に記録されたプログラムコードを用いて前記補正データを生成することを特徴とする。   According to an eighth aspect of the present invention, in the electronic device according to any one of the first to fifth aspects, the main control unit includes recording means for recording a predetermined program code, and the correction data The generating means generates the correction data using a program code recorded in the recording means.

この請求項8の発明によれば、主制御部に記録されたプログラムコードを用いて補正データを生成する。これにより、主制御部に記録されたプログラムコードの書き換えや、主制御部の交換などの不正を検知することができる。   According to the eighth aspect of the invention, the correction data is generated using the program code recorded in the main control unit. Thereby, fraud such as rewriting of the program code recorded in the main control unit or replacement of the main control unit can be detected.

また、請求項9の発明にかかる電子機器は、請求項8に記載の発明において、前記補正データ生成手段は、前記プログラムコードとともに前記大当たりリーチコマンドを用いて前記補正データを生成することを特徴とする。   An electronic device according to a ninth aspect of the present invention is the electronic device according to the eighth aspect, wherein the correction data generating means generates the correction data using the jackpot reach command together with the program code. To do.

この請求項9の発明によれば、補正データとともに送信する制御コマンド(大当たりリーチコマンド)を用いて認証データを生成する。一般に、不正な制御基板は、正規の主制御部と異なる制御コマンドを送信することによって、周辺部に不正な動作をおこなわせようとする。したがって、今回送信する制御コマンドを用いて補正データを生成すれば、不正な制御基板によって補正データを再利用された場合であっても、補正データと制御コマンドの整合がとれず、不正を検知することができる。   According to the ninth aspect of the present invention, the authentication data is generated using the control command (big hit reach command) transmitted together with the correction data. In general, an unauthorized control board attempts to cause an unauthorized operation to be performed by transmitting a control command different from that of a regular main control unit. Therefore, if the correction data is generated by using the control command transmitted this time, even if the correction data is reused by an unauthorized control board, the correction data and the control command cannot be matched, and the fraud is detected. be able to.

また、請求項10の発明にかかる電子機器は、請求項1〜9のいずれか一つに記載の発明において、前記主制御部は、所定のプログラムコードを記録した記録手段を備え、前記認証データ生成手段は、前記記録手段によって記録されたプログラムコードを用いて前記認証データを生成することを特徴とする。   An electronic device according to a tenth aspect of the present invention is the electronic device according to any one of the first to ninth aspects, wherein the main control unit includes recording means for recording a predetermined program code, and the authentication data The generating means generates the authentication data using the program code recorded by the recording means.

この請求項10の発明によれば、主制御部に記録されたプログラムコードを用いて認証データを生成する。これにより、主制御部に記録されたプログラムコードの書き換えや、主制御部の交換などの不正を検知することができる。   According to the tenth aspect of the present invention, the authentication data is generated using the program code recorded in the main control unit. Thereby, fraud such as rewriting of the program code recorded in the main control unit or replacement of the main control unit can be detected.

また、請求項11の発明にかかる電子機器は、請求項10に記載の発明において、前記認証データ生成手段は、前記プログラムコードとともに前記大当たりリーチコマンドを用いて前記認証データを生成することを特徴とする。   The electronic device according to claim 11 is the electronic device according to claim 10, wherein the authentication data generating means generates the authentication data using the jackpot reach command together with the program code. To do.

この請求項11の発明によれば、認証データとともに送信する制御コマンド(大当たりリーチコマンド)を用いて認証データを生成する。したがって、今回送信する制御コマンドを用いて認証データを生成すれば、不正な制御基板によって認証データを再利用された場合であっても、認証データと制御コマンドの整合がとれず、不正を検知することができる。   According to the eleventh aspect of the present invention, the authentication data is generated using a control command (a jackpot reach command) transmitted together with the authentication data. Therefore, if the authentication data is generated using the control command transmitted this time, even if the authentication data is reused by an unauthorized control board, the authentication data cannot be matched with the control command, and the fraud is detected. be able to.

また、請求項12の発明にかかる電子機器は、請求項1〜11のいずれか一つに記載の発明において、前記補正手段は、前記主制御部から送信された前記制御コマンドが前記補正データ付制御コマンドの場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする。   An electronic device according to a twelfth aspect of the present invention is the electronic device according to any one of the first to eleventh aspects, wherein the correction means is configured such that the control command transmitted from the main control unit includes the correction data. In the case of a control command, the expected value held in the peripheral portion is corrected using the control command with correction data.

この請求項12の発明によれば、周辺部は、制御コマンドに補正データが付加されているか否かを確認するのみで、補正処理をおこなうか否かを判断することができる。よって、補正処理による周辺部の処理負荷を低減させることができる。   According to the twelfth aspect of the present invention, the peripheral portion can determine whether or not to perform the correction process only by checking whether or not the correction data is added to the control command. Therefore, it is possible to reduce the processing load on the peripheral part due to the correction process.

また、請求項13の発明にかかる電子機器は、請求項1〜11のいずれか一つに記載の発明において、前記補正手段は、前記主制御部から送信された前記制御コマンドが前記大当たりリーチコマンドである場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする。   An electronic device according to a thirteenth aspect of the present invention is the electronic device according to any one of the first to eleventh aspects, wherein the correction means is configured such that the control command transmitted from the main control unit is the jackpot reach command. In this case, the expected value held in the peripheral portion is corrected using the control command with correction data.

この請求項13の発明によれば、周辺部は、主制御部が送信した制御コマンドの種類を確認して、補正処理をおこなうか否かを判断することができる。よって、制御コマンドに基づく処理と補正処理とのタイミング設計をおこないやすくすることができる。   According to the thirteenth aspect of the present invention, the peripheral unit can confirm the type of the control command transmitted by the main control unit and determine whether or not to perform the correction process. Therefore, it is possible to facilitate the timing design between the process based on the control command and the correction process.

また、請求項14の発明にかかる電子機器は、請求項1〜13のいずれか一つに記載の発明において、前記判断手段は、前記主制御部から送信された前記制御コマンドが前記認証データ付制御コマンドの場合、前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致するか否かを判断することを特徴とする。   An electronic device according to a fourteenth aspect of the present invention is the electronic device according to any one of the first to thirteenth aspects, wherein the determination means includes the control command transmitted from the main control unit with the authentication data. In the case of a control command, it is determined whether or not the value calculated using the control command with authentication data matches the expected value.

この請求項14の発明によれば、周辺部は、制御コマンドに認証データが付加されているか否かを確認するのみで、認証処理をおこなうか否かを判断することができる。よって、認証処理による周辺部の処理負荷を低減させることができる。   According to the fourteenth aspect of the present invention, the peripheral part can determine whether or not to perform the authentication process only by confirming whether or not the authentication data is added to the control command. Therefore, the processing load on the peripheral part due to the authentication process can be reduced.

また、請求項15の発明にかかる電子機器は、請求項1〜13のいずれか一つに記載の発明において、前記判断手段は、前記主制御部から送信された前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致するか否かを判断することを特徴とする。   An electronic device according to a fifteenth aspect of the present invention is the electronic device according to any one of the first to thirteenth aspects, wherein the determination means is configured such that the control command transmitted from the main control unit is the jackpot reach command. If it is, it is determined whether or not the value calculated using the control command with authentication data matches the expected value.

この請求項15の発明によれば、周辺部は、主制御部が送信した制御コマンドの種類を確認して、認証処理をおこなうか否かを判断することができる。よって、制御コマンドに基づく処理と認証処理とのタイミング設計をおこないやすくすることができる。   According to the fifteenth aspect of the present invention, the peripheral unit can confirm the type of the control command transmitted by the main control unit and determine whether or not to perform the authentication process. Therefore, it is possible to easily perform the timing design between the process based on the control command and the authentication process.

また、請求項16の発明にかかる電子機器は、請求項1〜15のいずれか一つに記載の発明において、前記周辺部は、前記認証手段によって前記主制御部が認証されなかった場合、報知信号を出力する出力手段を備えることを特徴とする。   An electronic device according to a sixteenth aspect of the present invention is the electronic device according to any one of the first to fifteenth aspects, wherein the peripheral section notifies when the main control section is not authenticated by the authenticating means. Output means for outputting a signal is provided.

この請求項16の発明によれば、主制御部に不正がおこなわれた旨を、ユーザに報知することができる。   According to the invention of claim 16, it is possible to notify the user that fraud has been made to the main control unit.

また、請求項17の発明にかかる遊技機は、請求項1〜16のいずれか一つに記載の電子機器を備え、主制御基板は、前記認証データ付制御コマンドを送信し、周辺基板は、前記主制御基板によって送信された前記認証データ付制御コマンドに基づいて認証処理をおこなうことを特徴とする。   A gaming machine according to claim 17 comprises the electronic device according to any one of claims 1 to 16, wherein the main control board transmits the control command with authentication data, and the peripheral board is An authentication process is performed based on the control command with authentication data transmitted by the main control board.

この請求項17の発明によれば、請求項1〜16のいずれか一つに記載の電子機器の機能をぱちんこ遊技機などの遊技機に適用することができる。   According to the seventeenth aspect of the present invention, the function of the electronic device according to any one of the first to sixteenth aspects can be applied to a gaming machine such as a pachinko gaming machine.

また、請求項18の発明にかかる主制御基板は、電子機器に搭載され、周辺基板に所定の処理をおこなわせる制御コマンドを送信する主制御基板であって、前記周辺基板に保持され、前記主制御基板から送信されたデータの照合に用いる期待値を補正するための補正データを生成する補正データ生成手段と、前記周辺基板に送信する前記制御コマンドが当該周辺基板に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、前記補正データ生成手段によって生成された前記補正データを当該制御コマンドに付加する補正データ付加手段と、前記補正データ付加手段によって前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を前記周辺基板に送信する補正データ送信手段と、前記主制御基板を認証するための認証データを生成する認証データ生成手段と、前記補正データ送信手段によって前記補正データ付制御コマンドが前記周辺基板に送信された後に、当該周辺基板に送信する前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ生成手段によって生成された前記認証データを当該制御コマンドに付加する認証データ付加手段と、前記認証データ付加手段によって前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を前記周辺基板に送信する認証データ送信手段と、を備えることを特徴とする。   A main control board according to the invention of claim 18 is a main control board that is mounted on an electronic device and transmits a control command for performing a predetermined process on the peripheral board, and is held on the peripheral board, and is Correction data generating means for generating correction data for correcting expected values used for collation of data transmitted from the control board, and processing of reach state where the control command transmitted to the peripheral board is a big hit on the peripheral board The correction data adding means for adding the correction data generated by the correction data generating means to the control command, and the control to which the correction data is added by the correction data adding means. Correction data transmitting means for transmitting a command (hereinafter referred to as “control command with correction data”) to the peripheral board Authentication data generation means for generating authentication data for authenticating the main control board, and the correction data transmission means transmits the control command with correction data to the peripheral board, and then transmits the control data to the peripheral board. When the control command is the jackpot reach command, the authentication data adding means for adding the authentication data generated by the authentication data generating means to the control command, and the authentication data added by the authentication data adding means And an authentication data transmitting means for transmitting a control command (hereinafter referred to as “control command with authentication data”) to the peripheral board.

この請求項18の発明によれば、主制御基板から送信される制御コマンドが大当たりリーチコマンドである場合、制御コマンドに補正データまたは認証データを付加する。ここで、大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。これは、補正データや認証データの通信不具合、補正データや認証データの改ざんが一定の期間おこなわれた場合であっても、時間をおいてランダムに補正処理や認証処理がおこなわれるので、通信不具合や改ざんの影響を回避できる可能性が高くなるためである。また、認証処理がおこなわれるのは大当たりリーチコマンドの送信時のみであるので、全ての制御コマンドの送信時に認証処理や補正処理をおこなうのと比べて、主制御部や周辺部の処理負荷を減らすことができる。   According to the eighteenth aspect of the present invention, when the control command transmitted from the main control board is a jackpot reach command, correction data or authentication data is added to the control command. Here, for example, the jackpot reach is not only a jackpot state after the jackpot reach, but also may be in a state such as a pseudo-ream or a revival, so the occurrence frequency is higher than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way. This is because communication errors in correction data and authentication data, and even if correction data and authentication data are falsified for a certain period, correction processing and authentication processing are performed at random intervals, so communication problems This is because there is a high possibility of avoiding the effects of tampering. In addition, since authentication processing is performed only when a jackpot reach command is transmitted, the processing load on the main control unit and peripheral units is reduced compared to performing authentication processing and correction processing when all control commands are transmitted. be able to.

さらに、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   Furthermore, the jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

また、請求項19の発明にかかる周辺基板は、電子機器に搭載され、主制御基板から送信された制御コマンドに応じた処理をおこなう周辺基板であって、前記主制御基板によって送信され、前記主制御基板から送信されたデータの照合に用いる期待値を補正するための補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を受信する補正データ受信手段と、前記補正データ受信手段によって受信された前記補正データ付制御コマンドを用いて前記周辺基板に保持されている前記期待値を補正する補正手段と、前記主制御基板によって送信された、前記主制御基板を認証するための認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を受信する認証データ受信手段と、前記認証データ受信手段によって受信された前記認証データ付制御コマンドを用いて算出された値が、前記補正手段によって補正された前記期待値と一致するか否かを判断する判断手段と、前記判断手段によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御基板を認証する認証手段と、を備えることを特徴とする。   A peripheral board according to a nineteenth aspect of the invention is a peripheral board that is mounted on an electronic device and performs processing according to a control command transmitted from a main control board, and is transmitted by the main control board, Correction data receiving means for receiving the control command to which correction data for correcting an expected value used for collation of data transmitted from the control board is added (hereinafter referred to as “control command with correction data”), and the correction Using the control command with correction data received by the data receiving means, the correcting means for correcting the expected value held in the peripheral board, and the main control board transmitted by the main control board are authenticated. Authentication data receiving means for receiving the control command to which authentication data for authentication is added (hereinafter referred to as “control command with authentication data”); Determining means for determining whether a value calculated using the control command with authentication data received by the authentication data receiving means matches the expected value corrected by the correcting means; and the determining means Authentication means for authenticating the main control board when it is determined that the value calculated using the control command with authentication data matches the expected value.

この請求項19の発明によれば、主制御基板から送信された制御コマンドに付加された補正データまたは認証データを用いて、補正処理または認証処理をおこなうことができる。このため、補正データまたは認証データ単体で送信する場合と比較して、主制御基板と周辺基板との間の通信負荷を減らすことができる。また、補正データまたは認証データを単体で送信する場合と比較して、通信データ中から補正データまたは認証データが抽出され、解析されてしまう可能性を低減することができる。また、期待値を補正する補正処理または認証処理がおこなわれるのは所定の制御コマンドの送信時のみであるので、全ての制御コマンドの送信時に認証処理や補正処理をおこなうのと比べて、主制御基板や周辺基板の処理負荷を減らすことができる。   According to the nineteenth aspect of the present invention, the correction process or the authentication process can be performed using the correction data or the authentication data added to the control command transmitted from the main control board. For this reason, the communication load between the main control board and the peripheral board can be reduced as compared with the case where the correction data or the authentication data is transmitted alone. Moreover, compared with the case where correction data or authentication data is transmitted alone, the possibility that correction data or authentication data is extracted from communication data and analyzed can be reduced. In addition, since the correction process or authentication process for correcting the expected value is performed only when a predetermined control command is transmitted, the main control is compared with the case where the authentication process or the correction process is performed when all control commands are transmitted. The processing load on the substrate and the peripheral substrate can be reduced.

また、請求項20の発明にかかる認証方法は、制御コマンドを送信する主制御部と、前記主制御部によって送信された制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器における認証方法であって、前記主制御部において、前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正するための補正データを生成する補正データ生成工程と、前記周辺部に送信する前記制御コマンドが当該周辺部に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、前記補正データ生成工程によって生成された前記補正データを当該制御コマンドに付加する補正データ付加工程と、前記補正データ付加工程によって前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を前記周辺部に送信する補正データ送信工程と、前記主制御部を認証するための認証データを生成する認証データ生成工程と、前記補正データ送信手段によって前記補正データ付制御コマンドが前記周辺部に送信された後に、当該周辺部に送信する前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ生成工程によって生成された前記認証データを当該制御コマンドに付加する認証データ付加工程と、前記認証データ付加工程によって前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を前記周辺部に送信する認証データ送信工程と、を含み、前記周辺部において、前記主制御部によって送信された前記補正データ付制御コマンドを受信する補正データ受信工程と、前記補正データ受信工程によって受信された前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正工程と、前記主制御部によって送信された前記認証データ付制御コマンドを受信する認証データ受信工程と、前記認証データ受信工程によって受信された前記認証データ付制御コマンドを用いて算出された値が、前記補正工程によって補正された前記期待値と一致するか否かを判断する判断工程と、前記判断工程によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御部を認証する認証工程と、を含むことを特徴とする。   An authentication method according to the invention of claim 20 is an electronic device comprising: a main control unit that transmits a control command; and a peripheral unit that performs predetermined processing based on the control command transmitted by the main control unit. In the main control unit, a correction data generation step of generating correction data for correcting an expected value used for collation of data held in the peripheral unit and transmitted from the main control unit in the main control unit; When the control command to be transmitted to the peripheral portion is a jackpot reach command that causes the peripheral portion to execute the process of reaching the jackpot, the correction data generated by the correction data generation step is added to the control command. A correction data adding step, and the control command to which the correction data is added in the correction data adding step (hereinafter referred to as “compensation”). A correction data transmission step for transmitting a control command with data ”to the peripheral portion, an authentication data generation step for generating authentication data for authenticating the main control portion, and the correction data transmission means by the correction data transmission means. After the control command is transmitted to the peripheral part, when the control command to be transmitted to the peripheral part is the jackpot reach command, authentication for adding the authentication data generated by the authentication data generating step to the control command A data addition step, and an authentication data transmission step for transmitting the control command to which the authentication data has been added by the authentication data addition step (hereinafter referred to as “control command with authentication data”) to the peripheral part, In the peripheral part, the control command with correction data transmitted by the main control part is received. Correction data receiving step, a correction step for correcting the expected value held in the peripheral portion using the control command with correction data received by the correction data receiving step, and a transmission by the main control unit. The authentication data receiving step for receiving the control command with authentication data, and the expected value obtained by correcting the value calculated by using the control command with authentication data received by the authentication data receiving step. If the judgment step for judging whether or not the values match, the value calculated using the control command with authentication data by the judgment step and the expected value are judged to match, the main control unit is And an authentication step of authenticating.

この請求項20の発明によれば、主制御部から送信される制御コマンドが大当たりリーチコマンドである場合、制御コマンドに補正データまたは認証データを付加する。ここで、大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。これは、補正データや認証データの通信不具合、補正データや認証データの改ざんが一定の期間おこなわれた場合であっても、時間をおいてランダムに補正処理や認証処理がおこなわれるので、通信不具合や改ざんの影響を回避できる可能性が高くなるためである。また、認証処理がおこなわれるのは大当たりリーチコマンドの送信時のみであるので、全ての制御コマンドの送信時に認証処理や補正処理をおこなうのと比べて、主制御部や周辺部の処理負荷を減らすことができる。   According to the twentieth aspect of the present invention, when the control command transmitted from the main control unit is a jackpot reach command, correction data or authentication data is added to the control command. Here, for example, the jackpot reach is not only a jackpot state after the jackpot reach, but also may be in a state such as a pseudo-ream or a revival, so the occurrence frequency is higher than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way. This is because communication errors in correction data and authentication data, and even if correction data and authentication data are falsified for a certain period, correction processing and authentication processing are performed at random intervals, so communication problems This is because there is a high possibility of avoiding the effects of tampering. In addition, since authentication processing is performed only when a jackpot reach command is transmitted, the processing load on the main control unit and peripheral units is reduced compared to performing authentication processing and correction processing when all control commands are transmitted. be able to.

さらに、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   Furthermore, the jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

また、請求項21の発明にかかる認証プログラムは、請求項20に記載の認証方法をコンピュータに実行させることを特徴とする。   An authentication program according to claim 21 causes a computer to execute the authentication method according to claim 20.

この請求項21の発明によれば、請求項20に記載の認証方法をコンピュータに実行させることができる。   According to the twenty-first aspect, the authentication method according to the twentieth aspect can be executed by a computer.

本発明にかかる電子機器、遊技機、主制御基板、周辺基板、認証方法および認証プログラムによれば、主制御基板を認証するために用いる期待値を簡単な方法で補正し、かつ主制御基板から周辺基板に対する不正制御や、期待値の流用を防止することができるという効果を奏する。   According to the electronic device, the gaming machine, the main control board, the peripheral board, the authentication method, and the authentication program according to the present invention, the expected value used for authenticating the main control board is corrected by a simple method, and from the main control board There is an effect that it is possible to prevent unauthorized control of the peripheral board and diversion of expected values.

(実施の形態)
以下に添付図面を参照して、この発明にかかる電子機器の機能を有したぱちんこ遊技機と、このぱちんこ遊技機に搭載されている複数の基板間(主制御基板および周辺基板)の制御信号に含まれる制御コマンドを認証する認証方法および認証プログラムの好適な実施の形態を詳細に説明する。
(Embodiment)
Referring to the accompanying drawings, control signals between a pachinko gaming machine having the function of an electronic device according to the present invention and a plurality of boards (main control board and peripheral board) mounted on the pachinko gaming machine will be described below. A preferred embodiment of an authentication method and an authentication program for authenticating an included control command will be described in detail.

(ぱちんこ遊技機の基本構成)
図1は、本発明のぱちんこ遊技機の遊技盤の一例を示す正面図である。遊技盤101の下部位置に配置された発射部(図2参照)の駆動によって発射された遊技球は、レール102a,102b間を上昇して遊技盤101の上部位置に達した後、遊技領域103内を落下する。遊技領域103には、図示を省略する複数の釘が設けられ、遊技球を各種の方向に向けて落下させるとともに、落下途中の位置には、遊技球の落下方向を変化させる風車や、入賞口が配設されている。
(Basic configuration of pachinko machine)
FIG. 1 is a front view showing an example of a game board of a pachinko gaming machine according to the present invention. A game ball launched by driving a launching unit (see FIG. 2) arranged at a lower position of the game board 101 ascends between the rails 102a and 102b and reaches an upper position of the game board 101, and then the game area 103 Fall inside. A plurality of nails (not shown) are provided in the game area 103, and a game ball is dropped in various directions, and a windmill or a prize opening that changes the fall direction of the game ball is placed in the middle of the fall. Is arranged.

遊技盤101の遊技領域103の中央部分には、図柄表示部104が配置されている。図柄表示部104としては、たとえば液晶表示器(LCD)が用いられる。なお、図柄表示部104としては、LCDに限らずCRTなどを用いることもできる。図柄表示部104の下方には、始動入賞させるための始動入賞口105が配設されている。図柄表示部104の左右には、それぞれ入賞ゲート106が配設されている。   A symbol display unit 104 is arranged at the center of the game area 103 of the game board 101. As the symbol display unit 104, for example, a liquid crystal display (LCD) is used. The symbol display unit 104 is not limited to the LCD, and a CRT or the like can also be used. Below the symbol display unit 104, a start winning port 105 for starting winning is arranged. Winning gates 106 are arranged on the left and right of the symbol display unit 104, respectively.

入賞ゲート106は、遊技球の通過を検出し、始動入賞口105を一定時間だけ開放させる抽選をおこなうために設けられる。図柄表示部104の側部や下方などには普通入賞口107が配設されている。普通入賞口107に遊技球が入賞すると、普通入賞時の賞球数(たとえば10個)の払い出しをおこなう。遊技領域103の最下部には、どの入賞口にも入賞しなかった遊技球を回収する回収口108が設けられている。   The winning gate 106 is provided to detect the passing of the game ball and perform a lottery to open the start winning opening 105 for a predetermined time. A normal winning opening 107 is disposed on the side of the symbol display unit 104 or below. When a game ball wins the normal winning opening 107, the number of winning balls (for example, 10) at the time of the normal winning is paid out. At the bottom of the game area 103, there is provided a collection port 108 for collecting game balls that have not won any winning ports.

上述した図柄表示部104は、特定の入賞口に遊技球が入賞したとき(始動入賞時)に、複数の図柄の表示の変動を開始させ、所定時間後に図柄が停止する。この停止時に特定図柄(たとえば「777」)に揃ったとき、大当たり状態となる。大当たり状態のとき、下方に位置する大入賞口109が一定の期間開放を所定ラウンド(たとえば15ラウンド)繰り返し、入賞した遊技球に対応した賞球数を払い出す。   The symbol display unit 104 described above starts a variation in the display of a plurality of symbols when a game ball is won at a specific winning opening (at the time of starting winning), and the symbol stops after a predetermined time. When the specific symbols (for example, “777”) are aligned at the time of the stop, a big hit state is obtained. In the big hit state, the big winning opening 109 located below repeats opening for a predetermined period for a predetermined round (for example, 15 rounds), and pays out the number of winning balls corresponding to the winning game balls.

図2は、ぱちんこ遊技機の制御部の内部構成を示すブロック図である。制御部200は、複数の制御部により構成されている。図示の例では、主制御部201と、周辺部(演出制御部202、賞球制御部203)とを有する。主制御部201は、ぱちんこ遊技機の遊技にかかる基本動作を制御する。演出制御部202は、遊技中の演出動作を制御する。賞球制御部203は、払い出す賞球数を制御する。   FIG. 2 is a block diagram showing the internal configuration of the control unit of the pachinko gaming machine. The control unit 200 includes a plurality of control units. In the example of illustration, it has the main control part 201 and the peripheral part (The effect control part 202, the prize ball control part 203). The main control unit 201 controls basic operations related to the game of the pachinko gaming machine. The production control unit 202 controls the production operation during the game. The prize ball control unit 203 controls the number of prize balls to be paid out.

主制御部201は、ROM212に記憶されたプログラムデータに基づき、遊技内容の進行に伴う基本処理を実行するCPU211と、CPU211の演算処理時におけるデータのワークエリアとして機能するRAM213、各検出部221〜224から各種データを受信するとともに、演出制御部202および賞球制御部203への各種データの送信をおこなうインタフェース(I/F)214などを備えて構成される。主制御部201は、たとえばいわゆる主制御基板によってその機能を実現する。   Based on the program data stored in the ROM 212, the main control unit 201 executes a CPU 211 that performs basic processing as the game content progresses, a RAM 213 that functions as a data work area when the CPU 211 performs arithmetic processing, and each detection unit 221- An interface (I / F) 214 that receives various data from the H.224 and transmits various data to the effect control unit 202 and the prize ball control unit 203 is configured. The main control unit 201 realizes its function by, for example, a so-called main control board.

この主制御部201の入力側には、始動入賞口105に入賞した入賞球を検出する始動入賞口検出部221と、入賞ゲート106を通過した遊技球を検出するゲート検出部222と、普通入賞口107に入賞した遊技球を検出する普通入賞口検出部223と、大入賞口109に入賞した入賞球を検出する大入賞口検出部224とがI/F214を介して接続されている。これらの検出部としては、近接スイッチなどを用いて構成できる。   On the input side of the main control unit 201, a start winning port detection unit 221 that detects a winning ball that has won a winning winning port 105, a gate detection unit 222 that detects a game ball that has passed through the winning gate 106, and a normal win An ordinary winning opening detection unit 223 that detects a game ball won in the mouth 107 and a large winning opening detection unit 224 that detects a winning ball won in the big winning opening 109 are connected via the I / F 214. These detection units can be configured using proximity switches or the like.

この主制御部201の出力側には、大入賞口開閉部231が接続され、この大入賞口開閉部231の開閉を制御する。大入賞口開閉部231は、大当たり時に大入賞口109を一定期間開放する機能であり、ソレノイドなどを用いて構成される。この大当たりは、生成した乱数(大当たり判定用乱数)に基づいて所定の確率(たとえば300分の1など)で発生するようあらかじめプログラムされている。   A prize winning opening / closing part 231 is connected to the output side of the main control part 201, and the opening / closing of the prize winning opening / closing part 231 is controlled. The special prize opening / closing unit 231 has a function of opening the special prize opening 109 for a certain period of time when a big hit is made, and is configured using a solenoid or the like. This jackpot is programmed in advance to occur with a predetermined probability (for example, 1/300, etc.) based on the generated random number (random number for jackpot determination).

演出制御部202は、主制御部201から各種の制御コマンドを含む制御信号を受け取り、このコマンドに基づいてROM242に記憶されたプログラムデータを実行して遊技中における演出制御をおこなう。この演出制御部202は、演出処理を実行するCPU241と、CPU241の演算処理時におけるデータのワークエリアとして機能するRAM243、図柄表示部104に表示させる画像データを書き込むVRAM244、主制御部201からの各種データの受信およびランプ制御部251や音声制御部252への各種データの送信をおこなうインタフェース(I/F)245などを備えて構成される。演出制御部202は、たとえばいわゆる演出基板によってその機能を実現する。また、演出制御部202の出力側には、上述した図柄表示部(LCD)104、ランプ制御部251、音声制御部252がI/F245を介して接続されている。   The effect control unit 202 receives control signals including various control commands from the main control unit 201, and executes program data stored in the ROM 242 based on these commands to perform effect control during the game. The effect control unit 202 includes a CPU 241 that executes effect processing, a RAM 243 that functions as a data work area during the calculation processing of the CPU 241, a VRAM 244 that writes image data to be displayed on the symbol display unit 104, and various types from the main control unit 201. An interface (I / F) 245 for receiving data and transmitting various data to the lamp control unit 251 and the voice control unit 252 is provided. The effect control unit 202 realizes its function by, for example, a so-called effect board. In addition, the above-described symbol display unit (LCD) 104, lamp control unit 251, and voice control unit 252 are connected to the output side of the effect control unit 202 via the I / F 245.

賞球制御部203は、主制御部201から各種の制御コマンドを含む制御信号を受け取り、このコマンドに基づいてROM282に記憶されたプログラムデータを実行して賞球制御をおこなう。この賞球制御部203は、賞球制御の処理を実行するCPU281と、CPU281の演算処理時におけるデータのワークエリアとして機能するRAM283、主制御部201からの各種データの受信および発射部292との各種データの送受信をおこなうインタフェース(I/F)284などを備えて構成される。賞球制御部203は、たとえばいわゆる賞球基板によってその機能を実現する。   The winning ball control unit 203 receives control signals including various control commands from the main control unit 201, and executes program data stored in the ROM 282 based on these commands to perform winning ball control. The prize ball control unit 203 includes a CPU 281 that executes prize ball control processing, a RAM 283 that functions as a data work area when the CPU 281 performs arithmetic processing, and various data reception and emission units 292 from the main control unit 201. An interface (I / F) 284 that transmits and receives various data is provided. The prize ball control unit 203 realizes its function by, for example, a so-called prize ball substrate.

賞球制御部203は、接続される払出部291に対して入賞時の賞球数を払い出す制御をおこなう。また、発射部292に対する遊技球の発射の操作を検出し、遊技球の発射を制御する。払出部291は、遊技球の貯留部から所定数を払い出すためのモータなどからなる。賞球制御部203は、この払出部291に対して、各入賞口(始動入賞口105、普通入賞口107、大入賞口109)に入賞した遊技球に対応した賞球数を払い出す制御をおこなう。   The winning ball control unit 203 performs control for paying out the number of winning balls at the time of winning a prize to the connected paying unit 291. In addition, an operation of launching a game ball with respect to the launch unit 292 is detected, and the launch of the game ball is controlled. The payout unit 291 includes a motor for paying out a predetermined number from the game ball storage unit. The winning ball control unit 203 controls the paying unit 291 to pay out the number of winning balls corresponding to the game balls won in each winning port (start winning port 105, normal winning port 107, large winning port 109). Do it.

発射部292は、遊技のための遊技球を発射するものであり、遊技者による遊技操作を検出するセンサと、遊技球を発射させるソレノイドなどを備える。賞球制御部203は、発射部292のセンサにより遊技操作を検出すると、検出された遊技操作に対応してソレノイドなどを駆動させて遊技球を間欠的に発射させ、遊技盤101の遊技領域103に遊技球を送り出す。   The launcher 292 launches a game ball for a game, and includes a sensor that detects a game operation by the player, a solenoid that launches the game ball, and the like. When the prize ball control unit 203 detects a game operation by the sensor of the launch unit 292, the prize ball control unit 203 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.

上記構成の主制御部201と、演出制御部202と、賞球制御部203は、それぞれ異なるプリント基板(主制御基板、演出基板、賞球基板)に設けられる。これに限らず、たとえば、賞球制御部203は、主制御部201と同一のプリント基板上に設けることもできる。   The main control unit 201, the effect control unit 202, and the prize ball control unit 203 configured as described above are provided on different printed circuit boards (main control board, effect board, and prize ball board). For example, the prize ball control unit 203 can be provided on the same printed circuit board as the main control unit 201.

(主制御基板および周辺基板の機能的構成)
図3は、主制御基板(主制御部)および周辺基板(演出制御部、賞球制御部)の機能的構成を示すブロック図である。まず、主制御部201としての機能を有する主制御基板310の機能的構成について説明する。図3に示すように、主制御基板310は、周辺基板320を動作させるための制御コマンドを送信する機能部であり、制御コマンド格納部311、記録部312、補正データ生成部313、補正データ付加部314、補正データ送信部315、認証データ生成部316、認証データ付加部317、認証データ送信部318によって構成される。
(Functional configuration of main control board and peripheral board)
FIG. 3 is a block diagram showing a functional configuration of a main control board (main control unit) and peripheral boards (effect control unit, prize ball control unit). First, a functional configuration of the main control board 310 having a function as the main control unit 201 will be described. As shown in FIG. 3, the main control board 310 is a functional part that transmits a control command for operating the peripheral board 320, and includes a control command storage part 311, a recording part 312, a correction data generation part 313, and correction data addition. 314, correction data transmission unit 315, authentication data generation unit 316, authentication data addition unit 317, and authentication data transmission unit 318.

制御コマンド格納部311は、周辺基板320に送信する制御コマンドのデータ(制御コマンドデータ)を格納する。また、記録部312は、主制御基板310に固有の値や所定のプログラムコードを記録する。主制御部201に固有の値とは、たとえば主制御基板310が複数ある場合に、それぞれの主制御基板310を識別可能な値である。   The control command storage unit 311 stores control command data (control command data) transmitted to the peripheral board 320. The recording unit 312 records a value unique to the main control board 310 and a predetermined program code. The value unique to the main control unit 201 is a value that can identify each main control board 310 when there are a plurality of main control boards 310, for example.

主制御基板310は、たとえば、記録部312に記録された所定のプログラムコードにしたがって、制御コマンド格納部311から周辺基板320に送信する制御コマンドを選択して、周辺基板320に制御コマンドを送信する。なお、制御コマンド格納部311と記録部312とを別個に設けるのではなく、一体としてもよい。たとえば、記録部312に制御コマンドデータとプログラムコードと主制御基板310に固有の値とを格納してもよい。   The main control board 310 selects a control command to be transmitted from the control command storage unit 311 to the peripheral board 320 according to a predetermined program code recorded in the recording unit 312 and transmits the control command to the peripheral board 320, for example. . Note that the control command storage unit 311 and the recording unit 312 may not be provided separately, but may be integrated. For example, control command data, a program code, and a value unique to the main control board 310 may be stored in the recording unit 312.

補正データ生成部313は、主制御基板310から送信されたデータの照合に用いる期待値を補正するための補正データを生成する。期待値とは、たとえば周辺基板320にあらかじめ(製造時など)保持されている値であり、周辺基板320において主制御基板310から送信されたデータの照合をおこなう際に用いる値である。また、期待値は、固定した値ではなく、たとえば基本値から演算により生成される値でもよい。なお、主制御基板310が複数ある場合、それぞれの主制御基板310に対して期待値は異なることとする。このため、たとえば主制御基板310が他の主制御基板310に変更された場合、他の主制御基板310が正当な主制御基板310であっても、周辺基板320の期待値が補正されないと、周辺基板320においては照合がおこなえなくなってしまったり、正当な主制御基板310を不正な主制御部と判断してしまったりする。このような照合の不具合を防ぐために、主制御基板310は、周辺基板320に保持されている期待値を補正するための補正データを周辺基板320に送信する。   The correction data generation unit 313 generates correction data for correcting an expected value used for collation of data transmitted from the main control board 310. The expected value is, for example, a value that is held in advance (for example, during manufacturing) on the peripheral board 320, and is a value that is used when collating data transmitted from the main control board 310 on the peripheral board 320. Further, the expected value is not a fixed value, but may be a value generated by calculation from a basic value, for example. When there are a plurality of main control boards 310, the expected values are different for each main control board 310. For this reason, for example, when the main control board 310 is changed to another main control board 310, even if the other main control board 310 is a valid main control board 310, the expected value of the peripheral board 320 is not corrected. The peripheral board 320 may not be verified, or the legitimate main control board 310 may be determined to be an unauthorized main control unit. In order to prevent such a verification failure, the main control board 310 transmits correction data for correcting the expected value held in the peripheral board 320 to the peripheral board 320.

補正データ生成部313が補正データを生成するタイミングは、たとえば主制御基板310が他の主制御基板310に変更された場合である。この場合、補正データ生成部313は、周辺基板320に保持された変更前の主制御基板310に対応する期待値を、変更後の他の主制御基板310から送信されたデータの照合に用いる期待値に補正するための補正データを生成する。   The timing at which the correction data generation unit 313 generates the correction data is, for example, when the main control board 310 is changed to another main control board 310. In this case, the correction data generation unit 313 uses the expected value corresponding to the main control board 310 before the change held in the peripheral board 320 for the verification of the data transmitted from the other main control board 310 after the change. Correction data for correcting the value is generated.

補正データ生成部313による補正データの生成方法としては、記録部312によって記録された固有の値を用いて補正データを生成してもよい。具体的には、補正データ生成部313は、たとえば主制御基板310が他の主制御基板310に変更された場合、変更後の他の主制御基板310に設定されている固有の値と、記録部312に記録されている変更前の主制御基板310に設定されていた固有の値との差分を、補正データとして生成する。また、補正データ生成部313は、記録部312に記録されたプログラムコードを用いて補正データを生成してもよい。さらに、補正データ生成部313は、プログラムコードとともに、今回送信する制御コマンドを用いて補正データを生成してもよい。また、補正データ生成部313は、生成された補正データを暗号化してもよい。   As a method of generating correction data by the correction data generation unit 313, correction data may be generated using a unique value recorded by the recording unit 312. Specifically, for example, when the main control board 310 is changed to another main control board 310, the correction data generation unit 313 records a unique value set in the other main control board 310 after the change, and the recording A difference from the unique value set in the main control board 310 before the change recorded in the unit 312 is generated as correction data. Further, the correction data generation unit 313 may generate correction data using the program code recorded in the recording unit 312. Furthermore, the correction data generation unit 313 may generate correction data using a control command transmitted this time together with the program code. The correction data generation unit 313 may encrypt the generated correction data.

補正データ付加部314は、周辺基板320に送信する制御コマンドが周辺基板320に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、補正データ生成部313によって生成された補正データをこの大当たりリーチコマンドに付加して制御信号を生成する。   When the control command transmitted to the peripheral board 320 is a jackpot reach command that causes the peripheral board 320 to execute the process of reaching the jackpot, the correction data adding section 314 uses the correction data generated by the correction data generating section 313 as the correction data. A control signal is generated in addition to the jackpot reach command.

補正データ付加部314は、具体的には、周辺基板320に送信する制御コマンドが主制御基板310に電源が投入された後の最初の大当たりリーチコマンドである場合、この大当たりリーチコマンドに補正データを付加する。また、補正データ付加部314は、周辺基板320に送信する制御コマンドが主制御基板310のリセット後の最初の大当たりリーチコマンドである場合、この大当たりリーチコマンドに補正データを付加してもよい。   Specifically, when the control command transmitted to the peripheral board 320 is the first jackpot reach command after the main control board 310 is turned on, the correction data adding unit 314 supplies the correction data to the jackpot reach command. Append. Further, when the control command transmitted to the peripheral board 320 is the first jackpot reach command after the main control board 310 is reset, the correction data adding unit 314 may add correction data to the jackpot reach command.

なお、補正データ付加部314は、電源投入から所定回数後の大当たりリーチコマンドに補正データを付加してもよい。さらに、補正データ付加部314は、電源を投入されてから電源がオフされるまでの間に、1回以上の大当たりリーチコマンドに補正データを付加すればよく、複数回の大当たりリーチコマンドに補正データを付加してもよい。すなわち、補正データ付加部314は、後述する認証データ付加部317によって制御コマンドに認証データが付加される前に、大当たりリーチコマンドに補正データを付加すればよい。   The correction data adding unit 314 may add correction data to the jackpot reach command after a predetermined number of times after the power is turned on. Further, the correction data adding unit 314 may add correction data to one or more jackpot reach commands between when the power is turned on and when the power is turned off, and the correction data is added to a plurality of jackpot reach commands. May be added. In other words, the correction data adding unit 314 may add correction data to the jackpot reach command before the authentication data is added to the control command by the authentication data adding unit 317 described later.

補正データ送信部315は、補正データ付加部314によって補正データの付加された制御コマンド(以下、「補正データ付制御コマンド」という)を周辺基板320に送信する。補正データ送信部315は、今回送信するコマンドが大当たりリーチコマンドである場合は、補正データ付制御コマンドを周辺基板320に送信する。また、補正データ送信部315は、今回送信するコマンドが大当たりリーチコマンドでない場合は、補正データが付加されていない制御コマンドを周辺基板320に送信する。   The correction data transmission unit 315 transmits the control command to which the correction data is added by the correction data addition unit 314 (hereinafter referred to as “control command with correction data”) to the peripheral board 320. If the command to be transmitted this time is a jackpot reach command, the correction data transmission unit 315 transmits a control command with correction data to the peripheral board 320. If the command to be transmitted this time is not a jackpot reach command, the correction data transmission unit 315 transmits a control command to which no correction data is added to the peripheral board 320.

認証データ生成部316は、主制御基板310を認証するための認証データを生成する。認証データ生成部316は、たとえば記録部312によって記録されたプログラムコードを用いて認証データを生成する。さらに、認証データ生成部316は、プログラムコードとともに、今回送信する制御コマンドを用いて認証データを生成してもよい。認証データは、認証者(周辺基板320)が、周辺基板320に保持されている期待値を用いて照合をおこなうことにより、主制御基板310を正規の主制御基板310であると認証するための情報である。   The authentication data generation unit 316 generates authentication data for authenticating the main control board 310. The authentication data generation unit 316 generates authentication data using, for example, a program code recorded by the recording unit 312. Further, the authentication data generation unit 316 may generate authentication data using a control command transmitted this time together with the program code. The authentication data is used by an authenticator (peripheral board 320) to verify that the main control board 310 is a legitimate main control board 310 by performing verification using an expected value held in the peripheral board 320. Information.

認証データ付加部317は、補正データ送信部315によって補正データ付制御コマンドが周辺基板320に送信された後に、この周辺基板320に送信する制御コマンドが大当たりリーチコマンドである場合、認証データ生成部316によって生成された認証データを制御コマンドに付加する。認証データ付加部317は、具体的には周辺基板320に送信する制御コマンドが、補正データ送信部315によって送信された補正データ付制御コマンドの次の大当たりリーチコマンドである場合、この大当たりリーチコマンドに認証データを付加する。   If the control command to be transmitted to the peripheral board 320 is a jackpot reach command after the correction data transmission control command is transmitted to the peripheral board 320 by the correction data transmitting section 315, the authentication data generating section 316 The authentication data generated by is added to the control command. Specifically, when the control command transmitted to the peripheral board 320 is the next jackpot reach command of the control command with correction data transmitted by the correction data transmitting section 315, the authentication data adding unit 317 uses this jackpot reach command. Add authentication data.

なお、認証データ付加部317は、補正データ付制御コマンドを送信した後の全ての大当たりリーチコマンドに認証データを付加してもよいし、いずれかの大当たりリーチコマンドに認証データを付加してもよい。また、認証データ付加部317は、補正データ付加部314によって電源投入から所定回数後の大当たりリーチコマンドに補正データが付加された後、電源がオフされるまでの間、大当たりリーチコマンドに認証データを付加してもよい。   The authentication data adding unit 317 may add the authentication data to all jackpot reach commands after transmitting the control command with correction data, or may add the authentication data to any jackpot reach command. . Further, the authentication data adding unit 317 adds the authentication data to the jackpot reach command after the correction data is added to the jackpot reach command a predetermined number of times after the power is turned on by the correction data adding unit 314 until the power is turned off. It may be added.

認証データ送信部318は、認証データ付加部317によって認証データの付加された制御コマンド(以下、「認証データ付制御コマンド」という)を周辺基板320に送信する。なお、認証データ送信部318は、今回送信するコマンドが大当たりリーチコマンドでない場合は、認証データが付加されていない制御コマンドを含む制御信号を周辺基板320に送信する。   The authentication data transmitting unit 318 transmits a control command to which the authentication data is added by the authentication data adding unit 317 (hereinafter referred to as “control command with authentication data”) to the peripheral board 320. If the command to be transmitted this time is not a jackpot reach command, the authentication data transmission unit 318 transmits a control signal including a control command to which authentication data is not added to the peripheral board 320.

このように、認証データ付加部317および認証データ送信部318は、補正データ送信部315によって補正データ付制御コマンドが周辺基板320に送信された後に、認証データを付加して認証データ付制御コマンドを周辺基板320に送信する。したがって、周辺基板320においては、期待値の補正処理をおこなってから、認証処理をおこなうことができる。このため、たとえば主制御基板310が他の主制御基板310に変更された場合に、期待値が補正される前に認証処理がおこなわれるのを防ぐことができる。これによって、周辺基板320における認証処理において、正当な主制御基板310が不当な主制御基板310であると認証されるのを防ぐことができる。   As described above, the authentication data adding unit 317 and the authentication data transmitting unit 318 add the authentication data and send the control command with authentication data after the correction data transmitting control command is transmitted to the peripheral board 320 by the correction data transmitting unit 315. Transmit to peripheral board 320. Therefore, in the peripheral board 320, the authentication process can be performed after the expected value correction process. For this reason, for example, when the main control board 310 is changed to another main control board 310, it is possible to prevent the authentication process from being performed before the expected value is corrected. As a result, it is possible to prevent the legitimate main control board 310 from being authenticated as an invalid main control board 310 in the authentication process on the peripheral board 320.

また、主制御基板310から周辺基板320に期待値の補正データを送信するため、主制御基板310が変更された際に、周辺基板320を変更したり周辺基板320に保持されている期待値の設定を変更しなくても、変更後の主制御基板310に対応した期待値に簡単に補正することができる。また、補正データ送信部315は、期待値をそのまま送信せず、補正値のみを送信する。したがって、たとえば第三者によって送信したデータが窃取されても、期待値が解読されないため、認証の強度を向上させることができる。   Further, since the correction data of the expected value is transmitted from the main control board 310 to the peripheral board 320, when the main control board 310 is changed, the peripheral board 320 is changed or the expected value held in the peripheral board 320 is changed. Even if the setting is not changed, the expected value corresponding to the changed main control board 310 can be easily corrected. Also, the correction data transmission unit 315 transmits only the correction value without transmitting the expected value as it is. Therefore, for example, even if data transmitted by a third party is stolen, the expected value is not decoded, so that the strength of authentication can be improved.

また、補正データ付加部314および認証データ付加部317は、主制御基板310が周辺基板320に大当たりリーチコマンドを送信する際にのみ、制御信号に補正データまたは認証データを付加する。大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。これは、補正データや認証データの通信不具合、補正データや認証データの改ざんが一定の期間おこなわれた場合であっても、時間をおいてランダムに補正処理や認証処理がおこなわれるので、通信不具合や改ざんの影響を回避できる可能性が高くなるためである。   The correction data adding unit 314 and the authentication data adding unit 317 add the correction data or the authentication data to the control signal only when the main control board 310 transmits a jackpot reach command to the peripheral board 320. The jackpot reach, for example, is not only a jackpot state after the jackpot reach, but also a state such as a pseudo-ream or a revival, so the occurrence frequency is higher than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way. This is because communication errors in correction data and authentication data, and even if correction data and authentication data are falsified for a certain period, correction processing and authentication processing are performed at random intervals, so communication problems This is because there is a high possibility of avoiding the effects of tampering.

また、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   The jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

また、補正データ付加部314および認証データ付加部317は、主制御基板310に大当たりリーチコマンドを送信する際にのみ、制御信号に補正データまたは認証データを付加する。このため、たとえば補正データや認証データを付加しない制御信号のみを送信するような従来の主制御基板を、補正データや認証データを付加した制御信号を送信するような本実施の形態にかかる主制御基板310に変更する場合、全ての制御コマンドの送信処理に補正データまたは認証データの付加処理を追加する手間を省くことができる。このように、単一の制御コマンドの送信処理のみに付加処理を追加すればよいため、処理を追加するための設定の難易度が容易であり、設定にかかる時間を短縮することができる。   The correction data adding unit 314 and the authentication data adding unit 317 add correction data or authentication data to the control signal only when a jackpot reach command is transmitted to the main control board 310. For this reason, for example, a conventional main control board that transmits only a control signal that does not add correction data or authentication data, and a main control according to the present embodiment that transmits a control signal to which correction data or authentication data is added. When changing to the substrate 310, it is possible to save the trouble of adding correction data or authentication data addition processing to the transmission processing of all control commands. As described above, since it is only necessary to add an additional process to the transmission process of a single control command, it is easy to set a difficulty for adding a process, and the time required for the setting can be shortened.

つぎに、演出制御部202や賞球制御部203などの周辺部としての機能を有する周辺基板320の機能的構成について説明する。図3に示すように、演出制御部202、賞球制御部203などの周辺基板320は、補正データ受信部321、補正部322、認証データ受信部323、判断部324、認証部325、報知信号出力部326によって構成される。   Next, a functional configuration of the peripheral board 320 having functions as peripheral portions such as the effect control unit 202 and the prize ball control unit 203 will be described. As shown in FIG. 3, the peripheral board 320 such as the effect control unit 202 and the prize ball control unit 203 includes a correction data reception unit 321, a correction unit 322, an authentication data reception unit 323, a determination unit 324, an authentication unit 325, a notification signal. The output unit 326 is configured.

補正データ受信部321は、主制御基板310によって送信された補正データ付制御コマンドを含む制御信号を受信する。補正部322は、補正データ受信部321によって受信された補正データ付制御コマンドを用いて周辺基板320に保持されている期待値を補正する。補正部322は、受信した補正データが暗号化されている場合、この補正データを復元した値を用いて期待値を補正する。   The correction data receiving unit 321 receives a control signal including a control command with correction data transmitted by the main control board 310. The correction unit 322 corrects the expected value held on the peripheral board 320 using the control command with correction data received by the correction data receiving unit 321. When the received correction data is encrypted, the correction unit 322 corrects the expected value using a value obtained by restoring the correction data.

補正部322は、たとえば、制御コマンドに補正データが付加されているか否かを判断し、制御コマンドに補正データが付加されている場合、補正データを用いて周辺基板320の期待値を補正する。また、補正部322は、制御コマンドが大当たりリーチコマンドであるか否かを判断し、制御コマンドが大当たりリーチコマンドである場合、補正データを用いて周辺基板320の期待値を補正することとしてもよい。さらに、補正部322は、制御コマンドが電源投入後またはリセット後の最初の(または、所定回数後の)大当たりリーチコマンドであるか否かを判断し、制御コマンドが電源投入後またはリセット後の最初の大当たりリーチコマンドである場合、補正データを用いて周辺基板320の期待値を補正することとしてもよい。   For example, the correction unit 322 determines whether or not correction data is added to the control command. When the correction data is added to the control command, the correction unit 322 corrects the expected value of the peripheral substrate 320 using the correction data. The correction unit 322 may determine whether or not the control command is a jackpot reach command. If the control command is a jackpot reach command, the correction unit 322 may correct the expected value of the peripheral board 320 using the correction data. . Further, the correction unit 322 determines whether the control command is the first jackpot reach command after power-on or reset (or after a predetermined number of times), and the control command is first after power-on or reset In the case of the jackpot reach command, the expected value of the peripheral substrate 320 may be corrected using the correction data.

認証データ受信部323は、主制御基板310によって送信された認証データ付制御コマンドを受信する。判断部324は、認証データ受信部323によって受信された認証データ付制御コマンドを用いて算出された値が、補正部322によって補正された期待値と一致するか否かを判断する。   The authentication data receiving unit 323 receives the control command with authentication data transmitted by the main control board 310. The determination unit 324 determines whether or not the value calculated using the control command with authentication data received by the authentication data receiving unit 323 matches the expected value corrected by the correction unit 322.

判断部324は、たとえば、制御コマンドに認証データが付加されているか否かを判断し、主制御基板310から送信された制御コマンドに認証データが付加されている場合、認証データ付制御コマンドを用いて算出された値と、期待値と、が一致するか否かを判断する。また、判断部324は、制御コマンドが大当たりリーチコマンドであるか否かを判断し、主制御基板310から送信された制御コマンドが大当たりリーチコマンドである場合、認証データ付制御コマンドを用いて算出された値と、期待値と、が一致するか否かを判断してもよい。さらに、判断部324は、制御コマンドが補正部322において補正がおこなわれた大当たりリーチコマンドの次の大当たりリーチコマンドであるか否かを判断し、制御コマンドが補正部322において補正がおこなわれた大当たりリーチコマンドの次の(または、所定回数後の)大当たりリーチコマンドである場合、認証データ付制御コマンドを用いて算出された値と、期待値と、が一致するか否かを判断することとしてもよい。   For example, the determination unit 324 determines whether or not authentication data is added to the control command. When the authentication data is added to the control command transmitted from the main control board 310, the determination unit 324 uses the control command with authentication data. It is determined whether or not the calculated value matches the expected value. In addition, the determination unit 324 determines whether or not the control command is a jackpot reach command. If the control command transmitted from the main control board 310 is a jackpot reach command, the determination unit 324 is calculated using the control command with authentication data. It may be determined whether the expected value matches the expected value. Further, the determination unit 324 determines whether or not the control command is a jackpot reach command next to the jackpot reach command that has been corrected by the correction unit 322, and the control command is a jackpot that has been corrected by the correction unit 322. In the case of a jackpot reach command next to the reach command (or after a predetermined number of times), it may be determined whether or not the value calculated using the control command with authentication data matches the expected value. Good.

認証部325は、判断部324によって認証データ付制御コマンドを用いて算出された値と、期待値と、が一致すると判断された場合、主制御基板310を認証する。   The authentication unit 325 authenticates the main control board 310 when it is determined that the value calculated by the determination unit 324 using the control command with authentication data matches the expected value.

報知信号出力部326は、認証部325によって主制御基板310が認証されなかった場合、報知信号を出力する。周辺基板320が演出制御部202の場合、報知信号出力部326は、たとえば、図柄表示部104やランプ制御部251、音声制御部252(図2参照)などに出力する。また、報知信号出力部326は、ぱちんこ遊技機を管理するセンター制御装置などに報知信号を出力することとしてもよい。   The notification signal output unit 326 outputs a notification signal when the main control board 310 is not authenticated by the authentication unit 325. When the peripheral board 320 is the effect control unit 202, the notification signal output unit 326 outputs the symbol display unit 104, the lamp control unit 251, the voice control unit 252 (see FIG. 2), and the like, for example. The notification signal output unit 326 may output a notification signal to a center control device that manages pachinko gaming machines.

報知信号出力部326によって出力された報知信号に基づいて、図柄表示部104やランプ制御部251、音声制御部252は、主制御基板310に不正がおこなわれた可能性がある旨を報知する演出を実行する。この演出は、たとえば、図柄表示部104に通常出現しないキャラクタを出現させたり、通常出現するキャラクタを通常とは異なる方法で出現させるなどである。また、図柄表示部104の輝度を変えたり、色を変えたり、ランプ制御部251に対して所定のランプを表示制御するようにしてもよい。いずれにせよ、当該ぱちんこ遊技機の前を通過した際に、従業員がその状態に気がつくようにしてあればよい。また、この演出は、顧客がその状態に気がつかないような演出でもよく、また、顧客が容易に気がつく演出であってもよい。顧客が容易に気がつく演出にすれば、不正行為を効率的に抑止することができる。   Based on the notification signal output by the notification signal output unit 326, the symbol display unit 104, the lamp control unit 251, and the audio control unit 252 notify that the main control board 310 may have been cheated. Execute. 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 normal. Further, the brightness of the symbol display unit 104 may be changed, the color may be changed, or the lamp control unit 251 may be controlled to display a predetermined lamp. In any case, it is only necessary for employees to be aware of the condition when passing in front of the pachinko machine. Further, 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.

また、報知信号に「大当たり中」や「確率変動中」などのぱちんこ遊技機の遊技状態に関する情報を含めてもよい。これらの遊技状態に関する情報に基づいて、ぱちんこ遊技機を管理するセンター制御装置などによって不正行為がおこなわれているか否かの判断をおこなってもよい。たとえば、大当たり中や確率変動中は入賞が集中していても正常である場合がある。よって、大当たり中や確率変動中は、その他の状態とは異なる条件で不正行為のおそれがあるかについて判断するのがよい。また、遊技状態に関する情報は、報知信号に含めずに別信号として出力するようにしてもよい。この場合、従業員は、報知信号と遊技状態に関する情報の両方に基づいて、不正行為のおそれがあるか否かについて判断する。   In addition, information related to the gaming state of the pachinko gaming machine, such as “Big hit” or “Probability changing” may be included in the notification signal. Based on the information on the gaming state, a determination may be made as to whether an illegal act has been performed by a center control device that manages pachinko gaming machines. For example, there may be cases where winnings are concentrated during jackpots or probability fluctuations, even if the winnings are concentrated. Therefore, during the jackpot or the probability fluctuation, it is better to determine whether there is a possibility of fraudulent behavior under conditions different from other states. 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.

なお、図3において、期待値は、他の構成部から周辺基板320に送信されることとしてもよい。他の構成部とは、たとえば、他の周辺部や期待値を生成するための専用の処理部(以下、「期待値算出部」という)などである。主制御部や期待値算出部は、あらかじめ記録されている期待値を周辺基板320に送信してもよいし、照合処理ごとに期待値を生成してもよい。また、外部接続用I/F(図示なし)を介して、外部の機器から周辺基板320や期待値算出部に期待値を算出するために必要な係数などを送信してもよい。このように、周辺基板320に、あらかじめ期待値を記録させずに、他の構成部から取得する場合、補正部322は、補正データ受信部321によって受信された補正データから補正値を取得し、判断部324は、取得された期待値および補正値を用いて算出された値が、認証データ受信部323によって受信された認証データ付制御コマンドを用いて算出された値と一致するか否かを判断してもよい。   In FIG. 3, the expected value may be transmitted to the peripheral board 320 from another component. The other components are, for example, other peripheral units, a dedicated processing unit for generating expected values (hereinafter referred to as “expected value calculating unit”), and the like. The main control unit and the expected value calculation unit may transmit an expected value recorded in advance to the peripheral board 320, or may generate an expected value for each verification process. Also, a coefficient necessary for calculating an expected value may be transmitted from an external device to the peripheral board 320 or the expected value calculation unit via an external connection I / F (not shown). As described above, when acquiring from other components without recording the expected value in advance on the peripheral substrate 320, the correction unit 322 acquires the correction value from the correction data received by the correction data receiving unit 321; The determination unit 324 determines whether or not the value calculated using the acquired expected value and correction value matches the value calculated using the control command with authentication data received by the authentication data receiving unit 323. You may judge.

また、周辺基板320は、補正後の期待値(最終期待値)そのものを固定値として保持しなくてもよい。この場合、たとえば製造時から、補正データによる補正処理をおこなわないと、認証が不成立となるように設計する。このようにすることで、最終期待値を知り得る者を限定することができ、期待値に関する情報の流出などのリスクを低減することができる。   Further, the peripheral substrate 320 may not hold the corrected expected value (final expected value) itself as a fixed value. In this case, for example, the design is such that the authentication is not established unless correction processing using correction data is performed from the time of manufacture. By doing in this way, the person who can know the final expected value can be limited, and the risk of leakage of information related to the expected value can be reduced.

補正データ付加部314は、補正値を分散させて付加してもよい。たとえば16ビットの補正値の場合、上位8ビットと、下位8ビットとを、2回に分けて付加してもよい。なお、分割するビット数は任意であり、さらに、ビット位置はランダムでもよい。すなわち、16ビットの補正値を、ビット位置に関わらず、たとえば2ビットと、5ビットと、9ビットと、の3回に分けて付加してもよい。この場合、所定の制御コマンドから補正値を分散させた数の所定の制御コマンドに順次補正値を付加すればよい。また、補正データ受信部321は、所定の制御コマンドから補正値を分散させた回数の制御コマンドが補正データ付制御コマンドであると判断してもよい。補正値の分散の回数は、主制御基板310および周辺基板320にあらかじめ設定されていてもよい。   The correction data adding unit 314 may add correction values in a distributed manner. For example, in the case of a 16-bit correction value, the upper 8 bits and the lower 8 bits may be added in two portions. Note that the number of bits to be divided is arbitrary, and the bit positions may be random. That is, a 16-bit correction value may be added in three steps, for example, 2 bits, 5 bits, and 9 bits, regardless of the bit position. In this case, correction values may be sequentially added to a predetermined number of control commands in which correction values are dispersed from the predetermined control command. Further, the correction data receiving unit 321 may determine that the control command of the number of times the correction value is dispersed from the predetermined control command is the control command with correction data. The number of correction value dispersions may be set in advance on the main control board 310 and the peripheral board 320.

また、補正データ生成部313や認証データ生成部316は、補正データや認証データに、複数回の暗号化処理をおこなってもよい。この場合、周辺基板320においては、複数回の復号処理によって補正データや認証データを復号化する。また、認証データ生成部316は、2種類以上の暗号化方法のいずれかを選んで暗号化処理をおこなってもよい。この場合、周辺基板320においては、2種類以上の復号方法によって復号して誤り検査値を取得し、判断部324によって、取得されたいずれかの誤り検査値が期待値と一致するか否かを判断してもよい。そして、認証部325は、取得された誤り検査値のうちのいずれかが期待値と一致した場合に、主制御基板310を認証してもよい。   Further, the correction data generation unit 313 and the authentication data generation unit 316 may perform a plurality of encryption processes on the correction data and the authentication data. In this case, in the peripheral board 320, the correction data and the authentication data are decrypted by a plurality of decryption processes. In addition, the authentication data generation unit 316 may perform encryption processing by selecting one of two or more types of encryption methods. In this case, the peripheral board 320 obtains an error check value by decoding using two or more decoding methods, and the determination unit 324 determines whether any of the obtained error check values matches the expected value. You may judge. Then, the authentication unit 325 may authenticate the main control board 310 when any of the acquired error check values matches the expected value.

(ぱちんこ遊技機の基本動作)
上記構成によるぱちんこ遊技機の基本動作の一例を説明する。主制御部201は、各入賞口に対する遊技球の入賞状況を制御コマンドとして賞球制御部203に出力する。賞球制御部203は、主制御部201から出力された制御コマンドに応じて、入賞状況に対応した賞球数の払い出しをおこなう。
(Basic operation of pachinko machines)
An example of the basic operation of the pachinko gaming machine having the above configuration will be described. The main control unit 201 outputs the winning status of the game ball for each winning port to the winning ball control unit 203 as a control command. The winning ball control unit 203 pays out the number of winning balls corresponding to the winning situation in accordance with the control command output from the main control unit 201.

また、主制御部201は、始動入賞口105に遊技球が入賞するごとに、対応する制御コマンドを演出制御部202に出力し、演出制御部202は、図柄表示部104の図柄を変動表示させ、停止させることを繰り返す。大当たりの発生が決定しているときには、対応する制御コマンドを演出制御部202に出力し、演出制御部202は、所定の図柄で揃えて停止させる。このとき同時に、大入賞口109を開放する制御をおこなう。演出制御部202は、大当たり発生期間中、および大当たり発生までの間のリーチ時や、リーチ予告時などには、図柄表示部104に対して、図柄の変動表示に加えて各種の演出表示をおこなう。このほか、各種役物に対して特定の駆動をおこなったり、ランプ261の表示状態を変更するなどの演出をおこなう。   The main control unit 201 outputs a corresponding control command to the effect control unit 202 every time a game ball wins the start winning opening 105, and the effect control unit 202 displays the symbols on the symbol display unit 104 in a variable manner. Repeat to stop. When the occurrence of the big hit has been determined, the corresponding control command is output to the effect control unit 202, and the effect control unit 202 stops with a predetermined pattern aligned. At the same time, control for opening the special winning opening 109 is performed. The effect control unit 202 displays various effects on the symbol display unit 104 in addition to the symbol variation display during the jackpot occurrence period, during the reach until the jackpot occurrence, or at the time of reach notice. . In addition, a specific drive is performed for various types of accessories, and effects such as changing the display state of the lamp 261 are performed.

そして、大当たり発生時には、大入賞口109が複数回開放される。1回の開放が1ラウンドとして、たとえば15回のラウンドが繰り返し実行される。1ラウンドの期間は、遊技球がたとえば10個入賞したとき、あるいは所定期間(たとえば30秒)とされている。この際、賞球制御部203は、大入賞口109に対する遊技球1個の入賞あたり、たとえば15個の賞球数で払い出しをおこなう。大当たり終了後は、この大当たり状態が解除され、通常の遊技状態に復帰する。   When a big hit occurs, the big winning opening 109 is opened a plurality of times. One release is one round, for example, 15 rounds are repeatedly executed. The period of one round is set, for example, when 10 game balls are won or for a predetermined period (for example, 30 seconds). At this time, the winning ball control unit 203 pays out with, for example, 15 winning balls per winning game ball to the big winning opening 109. After the jackpot is over, the jackpot state is canceled and the normal gaming state is restored.

(各制御部による処理の詳細)
つぎに、各制御部がおこなう各種処理の詳細について説明する。はじめに、主制御部201による演出制御部202の制御処理について説明する。図4および図5は、主制御部による演出制御部の制御処理の手順を示すフローチャートである。なお、図4〜9においては、演出制御部202の制御処理の手順を明確にするため、補正データ、認証データおよび付随データについては考慮しないものとする。すなわち、図4〜図9の説明において、「コマンドを送信する」とは、「当該コマンドを示すデータ(制御コマンドデータ)を含む制御信号を送信する」との意味であり、たとえば補正データや認証データや付随データ(図10参照)の有無は考慮しないものとする。
(Details of processing by each control unit)
Next, details of various processes performed by each control unit will be described. First, the control process of the effect control unit 202 by the main control unit 201 will be described. 4 and 5 are flowcharts showing the procedure of the control process of the effect control unit by the main control unit. 4 to 9, correction data, authentication data, and accompanying data are not considered in order to clarify the control processing procedure of the effect control unit 202. That is, in the description of FIGS. 4 to 9, “transmit a command” means “transmit a control signal including data (control command data) indicating the command”, for example, correction data or authentication. The presence or absence of data and accompanying data (see FIG. 10) is not considered.

図4および図5のフローチャートにおいて、主制御部201は、まず、ぱちんこ遊技機の電源がオンにされるまで待機する(ステップS401:Noのループ)。ぱちんこ遊技機の電源がオンにされると(ステップS401:Yes)、主制御部201は、演出制御部202や賞球制御部203などの周辺基板に対して電源オンコマンドを送信する(ステップS402)。電源オンコマンドが送信されると、演出制御部202は、ランプ制御部251や音声制御部252、図柄表示部104に対して、それぞれに対して電源オン時の演出用の制御コマンド(具体的には、ランプの点灯や音声の出力、デモ画面の表示などを指示する制御コマンド)を送信する。   4 and 5, the main control unit 201 first waits until the pachinko gaming machine is turned on (step S401: No loop). When the power of the pachinko gaming machine is turned on (step S401: Yes), the main control unit 201 transmits a power-on command to peripheral boards such as the effect control unit 202 and the prize ball control unit 203 (step S402). ). When the power-on command is transmitted, the effect control unit 202 controls the lamp control unit 251, the sound control unit 252, and the symbol display unit 104 for the effect control command (specifically, when the power is turned on). Transmits a control command for instructing lamp lighting, sound output, demonstration screen display, and the like.

つぎに、主制御部201は、ROM212またはRAM213に記録されている未抽選入賞回数データを参照して、未抽選入賞回数が0回か否かを判断する(ステップS403)。未抽選入賞回数とは、始動入賞口に検出された入賞球の数(入賞回数)から、入賞球に対応する抽選がおこなわれた回数(既抽選回数)を減じた数である。未抽選入賞回数が0回の場合(ステップS403:Yes)、主制御部201は、デモが開始されてから経過した時間を計測する(ステップS404)。   Next, the main control unit 201 determines whether or not the number of undrawn winning prizes is 0 with reference to the data of the undrawn winning prizes recorded in the ROM 212 or the RAM 213 (step S403). The number of undrawn winning prizes is a number obtained by subtracting the number of times a lottery corresponding to the winning ball has been made (number of already drawn lots) from the number of winning balls detected at the start winning opening (number of winning prizes). When the number of undrawn winning prizes is 0 (step S403: Yes), the main control unit 201 measures the time elapsed since the demonstration was started (step S404).

デモが開始されてから所定時間が経過すると(ステップS405:Yes)、主制御部201は、演出制御部202に客待ちデモコマンドを送信して(ステップS406)、ステップS407に移行する。デモが開始されてから所定時間が経過しない場合は(ステップS405:No)、そのままステップS407に移行する。ステップS406で客待ちデモコマンドが送信されると、演出制御部202は、ランプ制御部251や音声制御部252、図柄表示部104に対して客待ちデモ用の制御信号を送信する。また、ステップS403で、未抽選入賞回数が0回ではない場合は(ステップS403:No)、ステップS410に移行する。   When a predetermined time elapses after the demonstration is started (step S405: Yes), the main control unit 201 transmits a customer waiting demonstration command to the effect control unit 202 (step S406), and proceeds to step S407. If the predetermined time has not elapsed since the demonstration was started (step S405: No), the process proceeds to step S407 as it is. When the customer waiting demonstration command is transmitted in step S406, the effect control unit 202 transmits a control signal for the customer waiting demonstration to the lamp control unit 251, the voice control unit 252, and the symbol display unit 104. In step S403, when the number of undrawn winning prizes is not zero (step S403: No), the process proceeds to step S410.

つぎに、主制御部201は、始動入賞口検出部221によって始動入賞口への入賞球が検出されたか否か判断する(ステップS407)。始動入賞口への入賞球が検出されると(ステップS407:Yes)、主制御部201は、デモが開始されてから計測していた時間をクリアして(ステップS408)、未抽選入賞回数に1を加える(ステップS409)。つづいて、主制御部201は、大当たり判定用乱数を取得して(ステップS410)、未抽選入賞回数から1を減算し(ステップS411)、図5のステップS412に移行する。また、ステップS407で、始動入賞口への入賞球が検出されない場合は(ステップS407:No)、ステップS404に戻り、以降の処理を継続する。   Next, the main control unit 201 determines whether or not a winning ball for the starting winning port is detected by the starting winning port detecting unit 221 (step S407). When a winning ball is detected at the start winning opening (step S407: Yes), the main control unit 201 clears the time that has been measured since the demonstration was started (step S408), and the number of undrawn winning prizes is reached. 1 is added (step S409). Subsequently, the main control unit 201 acquires a jackpot determination random number (step S410), subtracts 1 from the number of undrawn winning prizes (step S411), and proceeds to step S412 in FIG. If no winning ball for the start winning opening is detected in step S407 (step S407: No), the process returns to step S404 and the subsequent processing is continued.

つぎに、主制御部201は、ステップS410で取得した大当たり判定用乱数が、あらかじめ定められた大当たり乱数であるか否かを判断する(ステップS412)。大当たり判定用乱数が大当たり乱数である場合(ステップS412:Yes)、主制御部201は、演出制御部202に大当たりリーチコマンド(図柄変動コマンド)を送信する(ステップS413)。主制御部201は、図柄変動時間が経過するまで待機して(ステップS414:Noのループ)、図柄変動時間が経過すると(ステップS414:Yes)、演出制御部202に図柄停止コマンドを送信する(ステップS415)。   Next, the main control unit 201 determines whether or not the jackpot determination random number acquired in step S410 is a predetermined jackpot random number (step S412). When the jackpot determination random number is a jackpot random number (step S412: Yes), the main control unit 201 transmits a jackpot reach command (symbol variation command) to the effect control unit 202 (step S413). The main control unit 201 waits until the symbol variation time has elapsed (step S414: No loop), and when the symbol variation time has elapsed (step S414: Yes), transmits a symbol stop command to the effect control unit 202 ( Step S415).

つぎに、主制御部201は、演出制御部202に大当たり開始コマンドを送信し(ステップS416)、つづけて、大当たり中の各ラウンドに対応するコマンド(大当たりコマンド)を順次送信する(ステップS417)。そして、主制御部201は、全てのラウンドの大当たりコマンドの送信が終わると、大当たり終了コマンドを送信して(ステップS418)、ステップS422に移行する。   Next, the main control unit 201 transmits a jackpot start command to the effect control unit 202 (step S416), and then sequentially transmits commands corresponding to the rounds during the jackpot (jackpot command) (step S417). Then, when transmission of the jackpot command for all rounds is completed, the main control unit 201 transmits a jackpot end command (step S418), and proceeds to step S422.

一方、ステップS412で、大当たり判定用乱数が大当たり乱数でなかった場合(ステップS412:No)、主制御部201は、演出制御部202にはずれリーチコマンド(図柄変動コマンド)を送信する(ステップS419)。主制御部201は、図柄変動時間が経過するまで待機して(ステップS420:Noのループ)、図柄変動時間が経過すると(ステップS420:Yes)、演出制御部202に図柄停止コマンドを送信する(ステップS421)。   On the other hand, if the jackpot determination random number is not a jackpot random number in step S412, the main control unit 201 transmits a shift reach command (design variation command) to the effect control unit 202 (step S419). . The main control unit 201 waits until the symbol variation time has elapsed (step S420: No loop), and when the symbol variation time has elapsed (step S420: Yes), transmits a symbol stop command to the effect control unit 202 ( Step S421).

主制御部201は、ぱちんこ遊技機の電源がオフにされるまでは(ステップS422:No)、図4のステップS403に戻り、以降の処理を繰り返す。そして、ぱちんこ遊技機の電源がオフにされると(ステップS422:Yes)、主制御部201は、演出制御部202に終了処理コマンドを送信して(ステップS423)、本フローチャートによる処理を終了する。   The main control unit 201 returns to step S403 in FIG. 4 and repeats the subsequent processing until the pachinko gaming machine is turned off (step S422: No). Then, when the power of the pachinko gaming machine is turned off (step S422: Yes), the main control unit 201 transmits an end process command to the effect control unit 202 (step S423), and ends the process according to this flowchart. .

図6は、大当たり関連コマンド(大当たりリーチコマンド、大当たり開始コマンド、大当たりコマンド、大当たり終了コマンド)の送信タイミングを示すタイムチャートである。大当たりリーチコマンドは、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。また、大当たり開始コマンドは、実際に大当たりが発生した場合に、大当たり状態に移行する際に1度だけ送信される。また、大当たりコマンドは、大当たり状態に移行した後、ラウンドごとに継続的に送信される。また、大当たり終了コマンドは、大当たり状態の全てのラウンドが終了し、通常の状態に移行する際に1度だけ送信される。   FIG. 6 is a time chart showing the transmission timing of a jackpot related command (a jackpot reach command, a jackpot start command, a jackpot command, a jackpot end command). The jackpot reach command is transmitted more frequently and randomly than the actual jackpot occurs. The jackpot start command is transmitted only once when shifting to the jackpot state when a jackpot is actually generated. The jackpot command is continuously transmitted for each round after shifting to the jackpot state. The jackpot end command is transmitted only once when all rounds of the jackpot state are completed and the normal state is entered.

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

図7は、演出制御部による図柄変動処理の手順を示すフローチャートである。図7のフローチャートにおいて、演出制御部202は、まず、図柄変動コマンドである大当たりリーチコマンド(図5のステップS413参照)、または、はずれリーチコマンド(図5のステップS419参照)を受信するまで待機する(ステップS701:Noのループ)。図柄変動コマンドを受信すると(ステップS701:Yes)、演出制御部202は、変動演出選択用の乱数を取得して(ステップS702)、取得した乱数に基づいて変動演出の種類を選択する(ステップS703)。そして、演出制御部202は、ランプ制御部251や音声制御部252に対して変動演出別の演出開始コマンドを送信する(ステップS704)。   FIG. 7 is a flowchart showing the procedure of the symbol variation process by the effect control unit. In the flowchart of FIG. 7, the effect control unit 202 first waits until a jackpot reach command (see step S413 in FIG. 5) or a miss reach command (see step S419 in FIG. 5), which is a symbol variation command. (Step S701: No loop). When the symbol variation command is received (step S701: Yes), the effect control unit 202 acquires a random effect selection random number (step S702), and selects a variation effect type based on the acquired random number (step S703). ). Then, the effect control unit 202 transmits an effect start command for each variable effect to the lamp control unit 251 and the sound control unit 252 (step S704).

演出制御部202は、変動演出の演出時間が経過したか否かや(ステップS705)、主制御部201から図柄停止コマンド(図5のステップS415,S421参照)を受信したか否かを判断する(ステップS706)。演出時間が経過した場合(ステップS705:Yes)、または図柄停止コマンドを受信した場合(ステップS706:Yes)、演出制御部202は、ランプ制御部251や音声制御部252に対して演出停止コマンドを送信する(ステップS707)。また、演出時間が経過せず(ステップS705:No)、かつ図柄停止コマンドを受信しない場合は(ステップS706:No)、ステップS705に戻り、以降の処理を繰り返す。   The effect control unit 202 determines whether or not the effect time of the variable effect has elapsed (step S705) and whether or not a symbol stop command (see steps S415 and S421 in FIG. 5) has been received from the main control unit 201. (Step S706). When the production time has elapsed (step S705: Yes) or when the symbol stop command is received (step S706: Yes), the production control unit 202 issues a production stop command to the lamp control unit 251 and the audio control unit 252. Transmit (step S707). If the production time has not elapsed (step S705: No) and the symbol stop command has not been received (step S706: No), the process returns to step S705, and the subsequent processing is repeated.

つぎに、演出制御部202の大当たり時の処理について説明する。図8は、演出制御部による大当たり時の処理の手順を示すフローチャートである。図8のフローチャートにおいて、演出制御部202は、まず、主制御部201から大当たり開始コマンド(図5のステップS416参照)を受信するまで待機する(ステップS801:Noのループ)。大当たり開始コマンドを受信すると(ステップS801:Yes)、演出制御部202は、ランプ制御部251や音声制御部252に対して大当たり開始処理コマンドを送信する(ステップS802)。   Next, the processing for the big hit of the effect control unit 202 will be described. FIG. 8 is a flowchart showing the procedure of the big hit processing by the effect control unit. In the flowchart of FIG. 8, the effect control unit 202 first waits until a jackpot start command (see step S416 in FIG. 5) is received from the main control unit 201 (step S801: No loop). When the jackpot start command is received (step S801: Yes), the effect control unit 202 transmits a jackpot start processing command to the lamp control unit 251 and the sound control unit 252 (step S802).

つぎに、演出制御部202は、主制御部201からラウンド別の大当たりコマンド(図5のステップS417参照)を受信するまで待機する(ステップS803:Noのループ)。大当たりコマンドを受信すると(ステップS803:Yes)、演出制御部202は、ランプ制御部251や音声制御部252に対して受信したラウンド別の大当たりコマンドに対応するラウンド別処理コマンドを送信する(ステップS804)。   Next, the effect control unit 202 waits until receiving a round jackpot command (see step S417 in FIG. 5) from the main control unit 201 (step S803: No loop). When the jackpot command is received (step S803: Yes), the effect control unit 202 transmits a round processing command corresponding to the received round jackpot command to the lamp control unit 251 and the sound control unit 252 (step S804). ).

つづいて、演出制御部202は、主制御部201から大当たり終了コマンド(図5のステップS418参照)を受信するまで待機する(ステップS805:Noのループ)。大当たり終了コマンドを受信すると(ステップS805:Yes)、演出制御部202は、ランプ制御部251や音声制御部252に対して大当たり終了処理コマンドを送信して(ステップS806)、本フローチャートによる処理を終了する。   Subsequently, the effect control unit 202 waits until a jackpot end command (see step S418 in FIG. 5) is received from the main control unit 201 (step S805: No loop). When the jackpot end command is received (step S805: Yes), the effect control unit 202 transmits a jackpot end processing command to the lamp control unit 251 and the audio control unit 252 (step S806), and ends the processing according to this flowchart. To do.

つづいて、ランプ制御部251によるランプ制御処理について説明する。ここでは、演出制御部202から図柄変動コマンドを受信した場合(図柄変動時)の処理について説明する。図9は、ランプ制御部による図柄変動時のランプ制御処理の手順を示すフローチャートである。図9のフローチャートにおいて、ランプ制御部251は、まず、演出制御部202から演出開始コマンドを受信するまで待機する(ステップS901:Noのループ)。   Subsequently, a lamp control process by the lamp control unit 251 will be described. Here, processing when a symbol variation command is received from the effect control unit 202 (during symbol variation) will be described. FIG. 9 is a flowchart showing the procedure of the lamp control process when the symbol is changed by the lamp control unit. In the flowchart of FIG. 9, the lamp control unit 251 first waits until an effect start command is received from the effect control unit 202 (step S901: No loop).

演出制御部202から演出開始コマンドを受信すると(ステップS901:Yes)、ランプ制御部251は、コマンド別に用意されているデータを読み出して(ステップS902)、コマンド別の選択ルーチンを実行し(ステップS903)、ランプデータをセットする(ステップS904)。そして、ランプ制御部251は、ランプ261に対してランプデータを出力する(ステップS905)。ランプ制御部251から出力されたランプデータに基づいて、ランプ261は点灯または消灯する。   When an effect start command is received from the effect control unit 202 (step S901: Yes), the lamp control unit 251 reads data prepared for each command (step S902) and executes a selection routine for each command (step S903). ), Ramp data is set (step S904). Then, the lamp control unit 251 outputs lamp data to the lamp 261 (step S905). Based on the lamp data output from the lamp control unit 251, the lamp 261 is turned on or off.

ランプ制御部251は、演出制御部202から演出停止コマンドを受信するまでは(ステップS906:No)、ステップS905に戻り、ランプデータの出力を継続する。演出停止コマンドを受信すると(ステップS906:Yes)、ランプ制御部251は、ランプデータの出力を停止して(ステップS907)、本フローチャートによる処理を終了する。   Until the lamp control unit 251 receives an effect stop command from the effect control unit 202 (step S906: No), the lamp control unit 251 returns to step S905 and continues outputting the lamp data. When the production stop command is received (step S906: Yes), the lamp control unit 251 stops the output of the lamp data (step S907) and ends the processing according to this flowchart.

なお、図9にはランプ制御部251の処理を記載したが、音声制御部252による音声制御も、図9の処理とほぼ同様である。音声制御部252による音声制御処理は、図9の処理において、ステップS904,S905,S907の「ランプデータ」を「音声データ」と読み替えればよい。   Note that although the processing of the lamp control unit 251 is shown in FIG. 9, the sound control by the sound control unit 252 is almost the same as the processing of FIG. In the sound control process by the sound control unit 252, “ramp data” in steps S <b> 904, S <b> 905, and S <b> 907 in the process of FIG.

このように、演出制御部202や賞球制御部203などの周辺部は、主制御部201によって出力された制御コマンドに基づいて各種の処理をおこなう。一方、たとえば、主制御部201と周辺部との間に不正な制御基板が接続された場合(図15参照)などのように、制御コマンドの出力元が正規の主制御部201ではない場合、周辺部は不正な制御基板から出力された不正な制御コマンドによって不正な動作をおこなってしまう。   As described above, peripheral units such as the effect control unit 202 and the prize ball control unit 203 perform various processes based on the control commands output by the main control unit 201. On the other hand, when the output source of the control command is not the regular main control unit 201, for example, when an unauthorized control board is connected between the main control unit 201 and the peripheral unit (see FIG. 15), The peripheral portion performs an illegal operation by an illegal control command output from an unauthorized control board.

この不正な動作を防止するため、本実施の形態にかかる電子機器では、たとえばぱちんこ遊技機において、主制御部201から出力される制御コマンドが所定のコマンドである場合、主制御部201と周辺部との間で認証処理をおこなう。所定のコマンドとは、具体的には、周辺部に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである。この認証処理によって、主制御部201が不正な制御基板に交換されたり、主制御部201と周辺基板との間に不正な制御基板が取り付けられるなどの不正を検知して、ぱちんこ遊技機への不正を防止することができる。   In order to prevent this unauthorized operation, in the electronic device according to the present embodiment, for example, in a pachinko gaming machine, when the control command output from the main control unit 201 is a predetermined command, the main control unit 201 and the peripheral unit Authentication processing is performed with Specifically, the predetermined command is a jackpot reach command that causes the peripheral portion to execute a process of the reach condition that is a jackpot. By this authentication process, the main control unit 201 is replaced with an unauthorized control board, or an unauthorized control board is attached between the main control unit 201 and the peripheral board, and the fraudulent game machine is detected. Fraud can be prevented.

一方、周辺部においては、主制御部201に対する認証処理をおこなう際に、周辺部に保持されている期待値によって、主制御部201から出力されたデータを照合し、このデータを用いて算出された値と、期待値とが一致する場合に、主制御部201を認証する。このとき、たとえばぱちんこ遊技機の仕様が変更されたり、賞球数や確率の変更があった場合に、主制御部201を他の主制御部201に変更すると、周辺部には変更前の主制御部201に応じた期待値が保持されているため、変更後の他の主制御部201を認証することができない。このため、変更後の他の主制御部201を、正規な制御基板であるにも関わらず不正な制御基板と認証してしまい、認証処理を誤ってしまう。   On the other hand, in the peripheral part, when the authentication process for the main control part 201 is performed, the data output from the main control part 201 is collated with the expected value held in the peripheral part, and calculated using this data. The main control unit 201 is authenticated when the obtained value matches the expected value. At this time, for example, when the specifications of the pachinko gaming machine are changed or the number of prize balls or the probability is changed, if the main control unit 201 is changed to another main control unit 201, the main part before the change is displayed in the peripheral part. Since the expected value corresponding to the control unit 201 is held, the other main control unit 201 after the change cannot be authenticated. For this reason, the other main control unit 201 after the change is authenticated as an unauthorized control board although it is a legitimate control board, and the authentication process is erroneous.

この認証処理の誤りを防止するため、本実施の形態にかかる電子機器では、たとえばぱちんこ遊技機において、主制御部201から出力される制御コマンドが所定のコマンドである場合、主制御部201から周辺部へ、期待値の補正をおこなうための補正データを送信する。そして、周辺部においては、この補正データを用いて期待値の補正処理をおこなう。所定のコマンドとは、具体的には、大当たりリーチコマンドである。この補正処理によって、主制御部201が他の主制御部201に変更されても、周辺部を変更したり、期待値を変更したりせずに、変更後の他の主制御部201に応じた期待値に補正することができる。したがって、認証処理の誤りを防止し、たとえば主制御部201が変更されても、変更後の他の主制御部201を正規の制御基板であると認証することができる。また、補正値のみを送信し、期待値そのものは送信しないため、第三者に期待値が窃取されにくく、ぱちんこ遊技機への不正を防止することができる。   In order to prevent this authentication processing error, in the electronic device according to the present embodiment, for example, in a pachinko gaming machine, if the control command output from the main control unit 201 is a predetermined command, The correction data for correcting the expected value is transmitted to the section. Then, in the peripheral portion, the expected value is corrected using this correction data. Specifically, the predetermined command is a jackpot reach command. Even if the main control unit 201 is changed to another main control unit 201 by this correction processing, the peripheral unit is not changed and the expected value is not changed. The expected value can be corrected. Therefore, an error in the authentication process can be prevented, and even if the main control unit 201 is changed, for example, the other main control unit 201 after the change can be authenticated as a regular control board. Further, since only the correction value is transmitted and the expected value itself is not transmitted, the expected value is not easily stolen by a third party, and fraud to the pachinko gaming machine can be prevented.

ここで、大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。   Here, for example, the jackpot reach is not only a jackpot state after the jackpot reach, but also may be in a state such as a pseudo-ream or a revival, so the occurrence frequency is higher than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way.

また、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   The jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

(制御信号のデータフォーマット)
つづいて、主制御部201が周辺基板に出力する制御信号のデータフォーマットについて説明する。図10は、主制御部が出力する制御信号のデータフォーマットを模式的に示す説明図である。図10に示すように、主制御部201が出力する通常の制御信号1010には、制御コマンドデータ1001および付随データ1002が含まれている。制御コマンドデータ1001は、たとえば大当たりリーチコマンドや大当たり開始コマンド、ラウンド別コマンドなどの各コマンド固有のデータである。また、付随データ1002は、制御コマンドデータ1001に付随するデータであり、たとえば、入賞した遊技球の数など制御コマンドデータ1001に基づく処理に必要なデータである。
(Control signal data format)
Next, the data format of the control signal output from the main control unit 201 to the peripheral board will be described. FIG. 10 is an explanatory diagram schematically showing a data format of a control signal output from the main control unit. As shown in FIG. 10, the normal control signal 1010 output from the main control unit 201 includes control command data 1001 and accompanying data 1002. The control command data 1001 is data unique to each command such as a jackpot reach command, a jackpot start command, and a round command. The accompanying data 1002 is data accompanying the control command data 1001, and is data necessary for processing based on the control command data 1001, such as the number of winning game balls.

一方、主制御部201は、制御信号内の制御コマンドデータ1001が特定の種類のコマンドである場合、制御コマンドデータ1001および付随データ1002に加え、認証データ1003または補正データ1004を含んだ、認証データ付制御信号1020または補正データ付制御信号1030を周辺基板に出力する。具体的には、主制御部201は、制御コマンドデータ1001が電源投入後の最初の大当たりリーチコマンドである場合に、補正データ1004を含んだ制御信号を周辺基板に出力し、制御コマンドデータ1001が電源投入後の2回目以降の大当たりリーチコマンドである場合に、認証データ1003を含んだ制御信号を周辺基板に出力する。   On the other hand, when the control command data 1001 in the control signal is a specific type of command, the main control unit 201 includes authentication data including authentication data 1003 or correction data 1004 in addition to the control command data 1001 and accompanying data 1002. The attached control signal 1020 or the corrected data attached control signal 1030 is output to the peripheral board. Specifically, when the control command data 1001 is the first jackpot reach command after power-on, the main control unit 201 outputs a control signal including correction data 1004 to the peripheral board, and the control command data 1001 In the case of a jackpot reach command for the second and subsequent times after power-on, a control signal including authentication data 1003 is output to the peripheral board.

なお、補正データ1004を含んだ制御信号を出力するのは、電源投入後の最初の大当たりリーチコマンドでなくてもよく、認証データ1003を含んだ制御信号を出力する前の大当たりリーチコマンドであれば電源投入後の何回目の大当たりリーチコマンドでもよい。すなわち、電源投入後から所定回数後の大当たりリーチコマンドに補正データを付加する。そして、補正データを送信した後の大当たりリーチコマンドには、補正データか認証データのいずれかのデータを付加してもよいし、これらのデータを付加しなくてもよい。   The output of the control signal including the correction data 1004 may not be the first jackpot reach command after the power is turned on, but may be the jackpot reach command before outputting the control signal including the authentication data 1003. Any number of jackpot reach commands after power-on is acceptable. That is, the correction data is added to the jackpot reach command after a predetermined number of times after the power is turned on. Then, either the correction data or the authentication data may be added to the jackpot reach command after the correction data is transmitted, or these data may not be added.

このように、認証データ1003または補正データ1004を制御信号に含めることによって、認証データ単体または補正データ単体で送信する場合と比較して、主制御部201と周辺部との間の通信負荷を減らすことができる。また、認証データ1003または補正データ1004を制御信号に含めることによって、認証データ1003または補正データ1004を単体で送信する場合と比較して、通信データ中から認証データまたは補正データが抽出され、解析されてしまう可能性を低減することができる。また、認証処理は、大当たりリーチコマンドを送信するときにのみおこなわれるため、全ての制御コマンドを送信するときに認証処理をおこなうのと比べると、認証処理による主制御基板や周辺基板の処理負荷を減らすことができる。   As described above, by including the authentication data 1003 or the correction data 1004 in the control signal, the communication load between the main control unit 201 and the peripheral unit is reduced as compared with the case of transmitting the authentication data alone or the correction data alone. be able to. Further, by including the authentication data 1003 or the correction data 1004 in the control signal, the authentication data or the correction data is extracted from the communication data and analyzed as compared with the case where the authentication data 1003 or the correction data 1004 is transmitted alone. The possibility of being lost can be reduced. In addition, since the authentication process is performed only when the jackpot reach command is transmitted, the processing load on the main control board and the peripheral board due to the authentication process is less than when the authentication process is performed when all the control commands are transmitted. Can be reduced.

認証データ1003は、周辺部が保持している期待値と照合することで、制御コマンドデータ1001および付随データ1002が正規の主制御部201から出力されたものであることを、認証するためのデータである。認証データ1003は、たとえば、主制御部201のROM212に記録されたプログラムデータを元に生成された値である。より具体的には、認証データ1003は、たとえば、ROM212に記録されたプログラムデータの全てまたは一部に対して、ハッシュ関数による演算やパリティチェック、巡回冗長検査(Cyclic Redundancy Check:CRC)、チェックサムなどの、誤り検出演算をおこなって得られた値(以下、「プログラムコード認証値」という)を、所定の暗号化方式で暗号化した値である。   The authentication data 1003 is data for authenticating that the control command data 1001 and the accompanying data 1002 are output from the regular main control unit 201 by collating with the expected value held by the peripheral part. It is. The authentication data 1003 is a value generated based on program data recorded in the ROM 212 of the main control unit 201, for example. More specifically, the authentication data 1003 includes, for example, hash function calculation, parity check, cyclic redundancy check (CRC), checksum for all or part of the program data recorded in the ROM 212. A value obtained by performing an error detection calculation such as the following (hereinafter referred to as “program code authentication value”) is encrypted by a predetermined encryption method.

このように、認証データ1003は、主制御部201のROM212に記録されたプログラムデータを用いて生成される。このため、周辺部は、認証データ1003を期待値と照合させることで認証をおこなうことによって、制御信号の出力元が正規の主制御部201であるか否かを判断することができる。また、主制御部201のROM212に記録されたプログラムコードの不正な書き換えや、主制御部201のROM212の不正な取り替えなどを検出することができる。   As described above, the authentication data 1003 is generated using the program data recorded in the ROM 212 of the main control unit 201. For this reason, the peripheral unit can determine whether or not the output source of the control signal is the regular main control unit 201 by performing authentication by collating the authentication data 1003 with the expected value. Further, it is possible to detect unauthorized rewriting of the program code recorded in the ROM 212 of the main control unit 201 or unauthorized replacement of the ROM 212 of the main control unit 201.

なお、主制御部201は、それぞれの制御信号に対して異なる認証データ1003を生成するものとする。具体的には、たとえば、認証データ1003を生成するために用いるROM212内のプログラムコードの範囲を異ならせたり、認証データ1003を生成するための誤り検出演算を異ならせるようにする。また、認証データ1003を生成するにあたって用いるデータは、プログラムコードに限らず、ROM212に記録された任意のデータであってもよい。   Note that the main control unit 201 generates different authentication data 1003 for each control signal. Specifically, for example, the range of the program code in the ROM 212 used for generating the authentication data 1003 is different, or the error detection calculation for generating the authentication data 1003 is different. The data used for generating the authentication data 1003 is not limited to the program code, and may be any data recorded in the ROM 212.

また、補正データ1004は、周辺部において主制御部201から送信されたデータの照合に用いる期待値を補正するためのデータである。補正データ1004は、たとえば主制御部201に固有の値を元に生成された値である。具体的には、補正データ1004は、主制御部201が複数ある場合、それぞれの主制御部201を識別可能な値であり、たとえば、主制御部201が他の主制御部201に変更された場合、周辺部に保持された変更前の主制御部201に応じた期待値を、変更後の他の主制御部201に応じた期待値に補正するための値である。より具体的には、補正データ1004は、主制御部201が他の主制御部201に変更された場合、変更される前の主制御部201に設定されていた固有の値と、変更された後の他の主制御部201に設定されている固有の値との差分である。なお、補正データ1004は、たとえば、認証データ1003と同様に、主制御部201のROM212に記録されたプログラムデータを元に生成された値でもよい。   The correction data 1004 is data for correcting an expected value used for collation of data transmitted from the main control unit 201 in the peripheral part. The correction data 1004 is a value generated based on a value unique to the main control unit 201, for example. Specifically, the correction data 1004 is a value that can identify each main control unit 201 when there are a plurality of main control units 201. For example, the main control unit 201 is changed to another main control unit 201. In this case, the expected value corresponding to the main control unit 201 before the change held in the peripheral part is a value for correcting the expected value according to the other main control unit 201 after the change. More specifically, when the main control unit 201 is changed to another main control unit 201, the correction data 1004 is changed with a unique value set in the main control unit 201 before being changed. This is a difference from a unique value set in the other main control unit 201 later. The correction data 1004 may be a value generated based on the program data recorded in the ROM 212 of the main control unit 201, for example, as in the authentication data 1003.

また、認証データ1003や補正データ1004には、認証データ1003や補正データ1004とともに送信される制御コマンドデータ1001や付随データ1002に関するデータを含ませてもよい。制御コマンドデータ1001や付随データ1002に関するデータとは、制御コマンドデータ1001や付随データ1002そのものや、制御コマンドデータ1001や付随データ1002に対して上述したような誤り検出方式を用いた演算をおこなって得られた値などである。   Further, the authentication data 1003 and the correction data 1004 may include data related to the control command data 1001 and the accompanying data 1002 transmitted together with the authentication data 1003 and the correction data 1004. The data related to the control command data 1001 and the accompanying data 1002 can be obtained by performing an operation using the error detection method as described above on the control command data 1001 and the accompanying data 1002 itself, or the control command data 1001 and the accompanying data 1002. Value.

一般に、不正な制御基板は、正規の主制御部201と異なる制御コマンドを送信することによって、周辺部に不正な動作をおこなわせようとする。認証データ1003や補正データ1004とともに送信する制御コマンドデータ1001や付随データ1002を用いて認証データ1003や補正データ1004を生成すれば、不正な制御基板によって認証データ1003や補正データ1004が再利用された場合であっても、認証データ1003や補正データ1004と制御コマンドデータ1001の整合がとれず、不正を検知することができる。   In general, an unauthorized control board attempts to cause an unauthorized operation to be performed by transmitting a control command different from that of the regular main control unit 201. If the authentication data 1003 and the correction data 1004 are generated using the control command data 1001 and the accompanying data 1002 transmitted together with the authentication data 1003 and the correction data 1004, the authentication data 1003 and the correction data 1004 are reused by an unauthorized control board. Even in this case, the authentication data 1003 or the correction data 1004 and the control command data 1001 cannot be matched, and fraud can be detected.

認証データ1003や補正データ1004に制御コマンドデータ1001や付随データ1002に関するデータを含ませる場合、主制御部201は制御コマンドデータ1001や付随データ1002に関するデータとプログラムコード認証値とを合わせて暗号化して、認証データ1003や補正データ1004を生成する。   When the authentication data 1003 and the correction data 1004 include data related to the control command data 1001 and the accompanying data 1002, the main control unit 201 encrypts the data related to the control command data 1001 and the accompanying data 1002 together with the program code authentication value. Authentication data 1003 and correction data 1004 are generated.

なお、制御コマンドデータ1001、付随データ1002、認証データ1003または補正データ1004の並び方は、図10に示す順番に限らず、たとえば認証データ1003または補正データ1004を制御信号の先頭にしたり、制御コマンドデータ1001と付随データ1002との間に認証データ1003または補正データ1004を挿入してもよい。また、制御コマンドデータ1001および付随データ1002とは別個に認証データ1003を出力することとしてもよい。たとえば、大当たりリーチコマンドを含む制御信号を送信した後、1回目の制御信号送信時に補正データ1004を付加して、3回目の制御信号送信時に認証データ1003を付加する、などとしてもよい。   The arrangement of the control command data 1001, the accompanying data 1002, the authentication data 1003, or the correction data 1004 is not limited to the order shown in FIG. 10, and for example, the authentication data 1003 or the correction data 1004 is set to the head of the control signal, or the control command data Authentication data 1003 or correction data 1004 may be inserted between 1001 and accompanying data 1002. Further, the authentication data 1003 may be output separately from the control command data 1001 and the accompanying data 1002. For example, after transmitting a control signal including a jackpot reach command, the correction data 1004 may be added when the first control signal is transmitted, and the authentication data 1003 may be added when the control signal is transmitted for the third time.

さらに、認証データ1003や補正データ1004を含まない通常の制御信号1010に、補正データ1004や認証データ1003と同程度のサイズのダミーデータ(不図示)を付加してもよい。ここで、ダミーデータは、補正処理や認証処理に用いないデータである。このようにすることで、通常の制御信号1010のデータサイズを、認証データ付制御信号1020や補正データ付制御信号1030と同程度とすることができる。このため、第三者にデータサイズの違いによって認証データ1003や補正データ1004が付加されてる制御信号を見破られることを防ぐことができる。   Further, dummy data (not shown) having the same size as the correction data 1004 and the authentication data 1003 may be added to the normal control signal 1010 that does not include the authentication data 1003 and the correction data 1004. Here, the dummy data is data that is not used for the correction process or the authentication process. By doing in this way, the data size of the normal control signal 1010 can be made comparable with the control signal with authentication data 1020 and the control signal with correction data 1030. For this reason, it is possible to prevent a third party from seeing through the control signal to which the authentication data 1003 or the correction data 1004 is added due to a difference in data size.

(制御信号の送受信処理)
つづいて、図11、図12を用いて、主制御部201と周辺部との間でおこなう制御信号の送受信処理について説明する。以下、主制御部201と演出制御部202との間の制御信号の送受信処理について説明するが、主制御部201と賞球制御部203との間の制御信号の送受信処理も同様の手順でおこなわれる。
(Control signal transmission / reception processing)
Next, a control signal transmission / reception process performed between the main control unit 201 and the peripheral unit will be described with reference to FIGS. 11 and 12. Hereinafter, the transmission / reception process of the control signal between the main control unit 201 and the effect control unit 202 will be described, but the transmission / reception process of the control signal between the main control unit 201 and the prize ball control unit 203 is performed in the same procedure. It is.

図11は、主制御部による制御信号の送信処理の手順を示すフローチャートである。図11のフローチャートにおいて、主制御部201は、まず、主制御部201の電源がオンにされるまで待機する(ステップS1101:Noのループ)。主制御部201の電源がオンにされた場合(ステップS1101:Yes)、補正データを生成する(ステップS1102)。そして、制御コマンドの送信タイミングとなるまで待機する(ステップS1103:Noのループ)。制御コマンドの送信タイミングとなった場合(ステップS1103:Yes)、主制御部201は、今回送信する制御コマンドが大当たりリーチコマンドか否かを判断する(ステップS1104)。   FIG. 11 is a flowchart illustrating a procedure of control signal transmission processing by the main control unit. In the flowchart of FIG. 11, the main control unit 201 first waits until the main control unit 201 is turned on (step S1101: No loop). When the main control unit 201 is turned on (step S1101: Yes), correction data is generated (step S1102). And it waits until it becomes the transmission timing of a control command (step S1103: No loop). When it is the transmission timing of the control command (step S1103: Yes), the main control unit 201 determines whether or not the control command to be transmitted this time is a jackpot reach command (step S1104).

今回送信する制御コマンドが大当たりリーチコマンドである場合(ステップS1104:Yes)、主制御部201は、補正データを送信済みか否かを判断する(ステップS1105)。ステップS1105において、まだ補正データを送信していないと判断された場合(ステップS1105:No)、制御コマンドデータ1001(大当たりリーチコマンドデータ)および付随データ1002をセットする(ステップS1106)。つぎに、主制御部201は、ステップS1102,S1106で生成した制御コマンドデータ1001、付随データ1002、補正データ1004からなる制御信号(補正データ付制御信号1030)を演出制御部202に送信する(ステップS1107)。そして、主制御部201の電源がオフにされたか否かを判断して(ステップS1108)、主制御部201の電源がオフにされない場合(ステップS1108:No)、ステップS1103に戻り、次の制御コマンドの送信タイミングまで待機して、以降の処理を繰り返しおこなう。そして、ステップS1108において電源がオフにされた場合(ステップS1108:Yes)、本フローチャートによる処理を終了する。   When the control command transmitted this time is a jackpot reach command (step S1104: Yes), the main control unit 201 determines whether correction data has been transmitted (step S1105). If it is determined in step S1105 that correction data has not yet been transmitted (step S1105: No), control command data 1001 (big hit reach command data) and associated data 1002 are set (step S1106). Next, the main control unit 201 transmits a control signal (control signal with correction data 1030) including the control command data 1001, the accompanying data 1002, and the correction data 1004 generated in steps S1102 and S1106 to the effect control unit 202 (step). S1107). Then, it is determined whether or not the power source of the main control unit 201 has been turned off (step S1108). When the power source of the main control unit 201 is not turned off (step S1108: No), the process returns to step S1103 to perform the next control. Wait until the command transmission timing and repeat the following processing. If the power is turned off in step S1108 (step S1108: Yes), the processing according to this flowchart ends.

一方、ステップS1105において、すでに補正データを送信済みの場合(ステップS1105:Yes)、主制御部201は、制御コマンドデータ1001(大当たりリーチコマンドデータ)および付随データ1002をセットする(ステップS1109)。また、主制御部201は、認証データ1003を生成する(ステップS1110)。このとき、ステップS1109とステップS1110の順序を入れ替えてもよい。つぎに、主制御部201は、ステップS1109,S1110で生成した制御コマンドデータ1001、付随データ1002、認証データ1003からなる制御信号(認証データ付制御信号1020)を演出制御部202に送信する(ステップS1111)。そして、ステップS1108に進み、電源がオフにされた場合(ステップS1108:Yes)、本フローチャートによる処理を終了する。   On the other hand, if the correction data has already been transmitted in step S1105 (step S1105: Yes), the main control unit 201 sets the control command data 1001 (big hit reach command data) and the accompanying data 1002 (step S1109). Further, the main control unit 201 generates authentication data 1003 (step S1110). At this time, the order of step S1109 and step S1110 may be switched. Next, the main control unit 201 transmits a control signal (control signal with authentication data 1020) composed of the control command data 1001, the accompanying data 1002, and the authentication data 1003 generated in steps S1109 and S1110 to the effect control unit 202 (step). S1111). Then, the process proceeds to step S1108, and when the power is turned off (step S1108: Yes), the process according to this flowchart is terminated.

また、ステップS1104において今回送信する制御コマンドが大当たりリーチコマンド以外のコマンドである場合(ステップS1104:No)、主制御部201は、制御コマンドデータ1001(大当たりリーチコマンド以外のコマンド)および付随データ1002をセットする(ステップS1112)。つぎに、ステップS1112でセットした制御コマンドデータ1001および付随データ1002からなる制御信号(通常の制御信号)を演出制御部202に送信する(ステップS1113)。そして、ステップS1108に進み、電源がオフにされた場合(ステップS1108:Yes)、本フローチャートによる処理を終了する。   When the control command transmitted this time in step S1104 is a command other than the jackpot reach command (step S1104: No), the main control unit 201 stores the control command data 1001 (command other than the jackpot reach command) and the accompanying data 1002. Set (step S1112). Next, a control signal (normal control signal) made up of the control command data 1001 and accompanying data 1002 set in step S1112 is transmitted to the effect control unit 202 (step S1113). Then, the process proceeds to step S1108, and when the power is turned off (step S1108: Yes), the process according to this flowchart is terminated.

なお、図11のフローチャートにおいては、ステップS1102において補正データを生成するとしているが、これに限らず、ステップS1107において補正データ付制御信号1030を送信する前に補正データ1004を生成してもよい。具体的には、たとえば補正データ1004をプログラムコードや制御コマンドを用いて生成する場合、ステップS1105:Noにおいて補正データ1004を送信していないと判断された後で、ステップS1106において制御コマンドデータ1001および付随データ1002をセットする前に、補正データ1004を生成してもよい。また、ステップS1106において制御コマンドデータ1001および付随データ1002をセットした後で、ステップS1107において補正データ付制御信号1030を送信する前に、補正データ1004を生成してもよい。   In the flowchart of FIG. 11, the correction data is generated in step S1102. However, the present invention is not limited to this, and the correction data 1004 may be generated before transmitting the control signal with correction data 1030 in step S1107. Specifically, for example, when the correction data 1004 is generated using a program code or a control command, it is determined in step S1105: No that the correction data 1004 is not transmitted, and then in step S1106, the control command data 1001 and The correction data 1004 may be generated before the accompanying data 1002 is set. Further, the correction data 1004 may be generated after the control command data 1001 and the accompanying data 1002 are set in step S1106 and before the control signal with correction data 1030 is transmitted in step S1107.

また、図11のフローチャートにおいては、ステップS1105:Yesにおいて補正データを送信済みの場合、ステップS1109〜ステップS1111の処理をおこなって、認証データ付制御信号を送信するとしているが、これに限るものではない。たとえば、ステップS1105:Yesにおいて、すでに補正データを送信済みであると判断されても、ステップS1106,ステップS1107の処理をおこなって、再度補正データ付制御信号を送信する構成でもよい。   In the flowchart of FIG. 11, when the correction data has already been transmitted in step S1105: Yes, the processing of steps S1109 to S1111 is performed and the control signal with authentication data is transmitted. However, the present invention is not limited to this. Absent. For example, even if it is determined in step S1105: Yes that the correction data has already been transmitted, the processing of steps S1106 and S1107 may be performed to transmit the control signal with correction data again.

このように、主制御部201は、周辺部に大当たりリーチコマンドを送信する際にのみ、制御コマンドデータ1001に補正データ1004または認証データ1003を付加する。大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。   In this way, the main control unit 201 adds the correction data 1004 or the authentication data 1003 to the control command data 1001 only when transmitting a jackpot reach command to the peripheral part. The jackpot reach, for example, is not only a jackpot state after the jackpot reach, but also a state such as a pseudo-ream or a revival, so the occurrence frequency is higher than the jackpot reach. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way.

また、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   The jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

つぎに、演出制御部202による制御信号の受信処理について説明する。図12は、演出制御部202による制御信号の受信処理の手順を示すフローチャートである。図12のフローチャートにおいて、演出制御部202は、まず、主制御部201から制御信号を受信するまで待機する(ステップS1201:Noのループ)。主制御部201から制御信号を受信すると(ステップS1201:Yes)、演出制御部202は、受信した制御信号に補正データ1004が含まれているか否かを判断する(ステップS1202)。制御信号に補正データ1004が含まれているか否かの判断は、たとえば、制御信号のデータ量が通常の制御信号よりも多いか否かや、補正データ1004が含まれていることを示すフラグが制御信号に立てられているか否かを判断することによっておこなう。   Next, control signal reception processing by the effect control unit 202 will be described. FIG. 12 is a flowchart showing a procedure of control signal reception processing by the effect control unit 202. In the flowchart of FIG. 12, the effect control unit 202 first waits until a control signal is received from the main control unit 201 (step S1201: No loop). When the control signal is received from the main control unit 201 (step S1201: Yes), the effect control unit 202 determines whether or not the correction data 1004 is included in the received control signal (step S1202). The determination as to whether or not the correction data 1004 is included in the control signal is based on, for example, whether or not the data amount of the control signal is greater than that of the normal control signal and a flag indicating that the correction data 1004 is included. This is done by determining whether or not the control signal is set.

ステップS1202において、制御信号に補正データ1004が含まれている場合(ステップS1202:Yes)、演出制御部202は、制御信号から補正データ1004を抽出し、この補正データ1004を用いて演出制御部202に保持されている期待値を補正する(ステップS1203)。   In step S1202, when the correction data 1004 is included in the control signal (step S1202: Yes), the effect control unit 202 extracts the correction data 1004 from the control signal and uses the correction data 1004 to produce the effect control unit 202. The expected value held in is corrected (step S1203).

また、ステップS1202において、演出制御部202は、受信した制御信号に補正データ1004が含まれているか否かではなく、制御信号に含まれる制御コマンドデータ1001が大当たりリーチコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、制御信号に含まれる制御コマンドデータ1001が大当たりリーチコマンドのデータである場合に、制御信号から補正データ1004を抽出し、ステップS1203に進む。また、ステップS1202において、演出制御部202は、たとえば電源が投入されてから、所定回数目の大当たりリーチコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、所定回数目の大当たりリーチコマンドのデータである場合に、制御信号から補正データを抽出し、ステップS1203に進むこととしてもよい。   In step S1202, the effect control unit 202 determines whether the control command data 1001 included in the control signal is data of a big hit reach command, not whether the correction data 1004 is included in the received control signal. May be judged. In this case, the effect control unit 202 extracts the correction data 1004 from the control signal when the control command data 1001 included in the control signal is jackpot reach command data, and proceeds to step S1203. In step S1202, the effect control unit 202 may determine whether or not the data is a jackpot reach command for a predetermined number of times after the power is turned on, for example. In this case, the effect control unit 202 may extract the correction data from the control signal and proceed to step S1203 when the data is a predetermined number of jackpot reach commands.

つぎに、制御信号に含まれている制御コマンドデータ1001および付随データ1002に基づく処理をおこなって(ステップS1204)、ステップS1201に戻り、次の制御信号を受信するまで待機し、以降の処理を繰り返しおこなう。   Next, processing based on the control command data 1001 and accompanying data 1002 included in the control signal is performed (step S1204), the process returns to step S1201, waits until the next control signal is received, and the subsequent processing is repeated. Do it.

一方、ステップS1202において、制御信号に補正データ1004が含まれていない場合(ステップS1202:No)、演出制御部202は、ステップS1201において受信した制御信号に認証データ1003が含まれているか否かを判断する(ステップS1205)。制御信号に認証データ1003が含まれているか否かの判断は、たとえば、制御信号のデータ量が通常の制御信号よりも多いか否かや、認証データ1003が含まれていることを示すフラグが制御信号に立てられているか否かを判断することによっておこなう。   On the other hand, in step S1202, when the correction data 1004 is not included in the control signal (step S1202: No), the effect control unit 202 determines whether or not the authentication data 1003 is included in the control signal received in step S1201. Judgment is made (step S1205). For example, whether or not the authentication data 1003 is included in the control signal is determined based on whether or not the data amount of the control signal is larger than that of the normal control signal and a flag indicating that the authentication data 1003 is included. This is done by determining whether or not the control signal is set.

また、ステップS1205において、演出制御部202は、受信した制御信号に認証データ1003が含まれているか否かではなく、制御信号に含まれる制御コマンドデータ1001が大当たりリーチコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、制御信号に含まれる制御コマンドデータ1001が大当たりリーチコマンドのデータである場合に、制御信号から認証データ1003を抽出し、ステップS1206に進む。また、ステップS1205において、演出制御部202は、たとえば電源が投入(または、リセット)されてから、所定回数目の大当たりリーチコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、電源が投入(または、リセット)されてから、所定回数目の大当たりリーチコマンドのデータである場合に、制御信号から認証データ1003を抽出し、ステップS1206に進むこととしてもよい。   In step S1205, the effect control unit 202 determines whether or not the control command data 1001 included in the control signal is data of a big hit reach command, not whether or not the authentication data 1003 is included in the received control signal. May be judged. In this case, the effect control unit 202 extracts the authentication data 1003 from the control signal when the control command data 1001 included in the control signal is jackpot reach command data, and proceeds to step S1206. In step S1205, the effect control unit 202 may determine whether or not the data is a jackpot reach command for a predetermined number of times after the power is turned on (or reset), for example. In this case, the effect control unit 202 extracts the authentication data 1003 from the control signal when the data is the jackpot reach command for the predetermined number of times after the power is turned on (or reset), and proceeds to step S1206. It is good.

制御信号に認証データ1003が含まれている場合(ステップS1205:Yes)、演出制御部202は、制御信号から認証データ1003を抽出し、ステップS1203において補正された期待値を取得して(ステップS1206)、制御信号に含まれている認証データ1003と期待値とが一致するか否かを判断する(ステップS1207)。このとき、演出制御部202は、認証データ1003と期待値とが一致するか否かではなく、認証データ1003と期待値とが所定の関係にあるか否かを判断してもよい。所定の関係とは、たとえば、認証データ1003に所定の演算をおこなって得た値が期待値と一致する、などの関係である。   When authentication data 1003 is included in the control signal (step S1205: Yes), the effect control unit 202 extracts the authentication data 1003 from the control signal, and acquires the expected value corrected in step S1203 (step S1206). ), It is determined whether or not the authentication data 1003 included in the control signal matches the expected value (step S1207). At this time, the effect control unit 202 may determine whether or not the authentication data 1003 and the expected value have a predetermined relationship, rather than whether or not the authentication data 1003 and the expected value match. The predetermined relationship is, for example, a relationship in which a value obtained by performing a predetermined calculation on the authentication data 1003 matches an expected value.

認証データと期待値とが一致する場合(ステップS1207:Yes)、演出制御部202は、制御信号を送信した主制御部201の正当性を認証し、ステップS1204に進み、制御信号に含まれている制御コマンドデータ1001および付随データ1002に基づく処理をおこなう。一方、認証データと期待値とが一致しない場合(ステップS1207:No)、演出制御部202は、制御信号を送信した主制御部201の正当性を認証せず、制御コマンドデータ1001および付随データ1002を破棄するとともに、報知信号出力部326(図3参照)から報知信号を出力して(ステップS1208)、本フローチャートによる処理を終了する。なお、ステップS1208では、データの破棄と報知のいずれかのみをおこなうこととしてもよい。   When the authentication data matches the expected value (step S1207: Yes), the effect control unit 202 authenticates the validity of the main control unit 201 that has transmitted the control signal, and proceeds to step S1204, and is included in the control signal. The processing based on the control command data 1001 and the accompanying data 1002 is performed. On the other hand, when the authentication data does not match the expected value (step S1207: No), the effect control unit 202 does not authenticate the validity of the main control unit 201 that has transmitted the control signal, and the control command data 1001 and the accompanying data 1002 are not authenticated. And a notification signal is output from the notification signal output unit 326 (see FIG. 3) (step S1208), and the processing according to this flowchart ends. Note that in step S1208, only one of data discarding and notification may be performed.

また、ステップS1205において、制御信号に認証データ1003が含まれていない場合(ステップS1205:No)、演出制御部202は、認証処理をおこなわず、そのままステップS1204に進み、制御コマンドデータ1001および付随データ1002に基づく処理をおこなってもよい。   If the authentication data 1003 is not included in the control signal in step S1205 (step S1205: No), the effect control unit 202 proceeds to step S1204 as it is without performing the authentication process, and the control command data 1001 and associated data. Processing based on 1002 may be performed.

なお、図12のフローチャートにおいては、演出制御部202があらかじめ期待値を保持せず、期待値が他の構成部から送信される場合、ステップS1203においては期待値を補正せず、補正データ1004を抽出して記録部などに記録しておく。そして、ステップS1206において期待値を他の構成部から取得した後に、記録された補正データ1004を用いて期待値を補正し、ステップS1207に進み、補正された期待値が認証データ1003と一致するか否かを判断してもよい。   In the flowchart of FIG. 12, when the effect control unit 202 does not hold the expected value in advance and the expected value is transmitted from another component, the expected value is not corrected in step S1203 and the correction data 1004 is stored. Extracted and recorded in a recording unit or the like. Then, after the expected value is acquired from another component in step S1206, the expected value is corrected using the recorded correction data 1004, and the process proceeds to step S1207, where the corrected expected value matches the authentication data 1003. It may be determined whether or not.

(制御部間の制御信号の流れの一例)
つぎに、主制御部201と周辺部との間の制御信号の流れを、図13のシーケンス図を用いて説明する。ここで、周辺部は、たとえば演出制御部202や賞球制御部203(図2)である。図13は、制御部間の制御信号の流れの一例を示すシーケンス図である。図13において、点線Aに囲まれた部分が1回分の補正処理のステップであり、点線Bに囲まれた部分が1回分の認証処理のステップである。なお、図13のシーケンス図においては、補正処理および認証処理を明確にするため、大当たりリーチコマンド以外のコマンドの際の制御信号の流れを省略して記載している。
(Example of control signal flow between control units)
Next, the flow of control signals between the main control unit 201 and the peripheral unit will be described with reference to the sequence diagram of FIG. Here, the peripheral portion is, for example, the effect control unit 202 or the prize ball control unit 203 (FIG. 2). FIG. 13 is a sequence diagram illustrating an example of a flow of a control signal between control units. In FIG. 13, a portion surrounded by a dotted line A is a correction processing step for one time, and a portion surrounded by a dotted line B is a single authentication processing step. In the sequence diagram of FIG. 13, in order to clarify the correction process and the authentication process, the flow of control signals for commands other than the jackpot reach command is omitted.

図13に示すように、まず、主制御部201は、補正値Maを生成する(ステップS1301)。補正値Maは、主制御部201の照合用の期待値を補正する値であり、補正データ1004の元となる値である。補正値Maは、好適には、実際の補正値とソルト値との演算結果値がよい。また、aは、補正処理の処理順序をあらわし、たとえば主制御部201の電源がオンされてから1回目の補正処理の場合、a=1となる。   As shown in FIG. 13, first, the main control unit 201 generates a correction value Ma (step S1301). The correction value Ma is a value for correcting the expected value for collation of the main control unit 201, and is a value that is the basis of the correction data 1004. The correction value Ma is preferably a calculation result value of an actual correction value and a salt value. Further, a represents the processing sequence of the correction processing. For example, in the case of the first correction processing after the main control unit 201 is turned on, a = 1.

そして、制御コマンドデータ1001が大当たりリーチコマンドである場合、主制御部201は、制御コマンドデータ1001(大当たりリーチコマンドデータ)および付随データ1002をセットする(ステップS1302)。また、主制御部201は、補正データ1004(Vma)を生成する(ステップS1303)。ステップS1303においては、たとえば下記(1)式によって補正データ1004(Vma)を生成する。ここで、nは、大当たり状態の処理順序をあらわし、たとえば主制御部201の電源がオンされてから1回目の大当たり状態の処理を開始する大当たりリーチコマンドの場合、n=1となる。Fnは、たとえば主制御部201の電源がオンされてからn回目の大当たりリーチコマンドの際に、ステップS1302においてセットされた制御コマンドデータ1001および付随データ1002をあらわす。また、Ec(A,B)は、暗号化演算式をあらわす。なお、暗号化演算による暗号化処理を、2回以上おこなってもよい。   If the control command data 1001 is a jackpot reach command, the main control unit 201 sets the control command data 1001 (jackpot reach command data) and accompanying data 1002 (step S1302). Further, the main control unit 201 generates correction data 1004 (Vma) (step S1303). In step S1303, for example, correction data 1004 (Vma) is generated by the following equation (1). Here, n represents the processing order of the jackpot state. For example, in the case of the jackpot reach command for starting the first jackpot state processing after the main control unit 201 is turned on, n = 1. For example, Fn represents the control command data 1001 and the accompanying data 1002 set in step S1302 in the case of the n-th jackpot reach command after the main control unit 201 is turned on. Ec (A, B) represents an encryption operation expression. Note that the encryption processing by the encryption operation may be performed twice or more.

Vma=Ec(Ma,Fn) ・・・(1)     Vma = Ec (Ma, Fn) (1)

ここで、具体的には、たとえばMa=0x35、Fn=0x22であり、Ec(A,B)が、A xor B(排他的論理和)の場合、Vmaは下記(2)式によって、0x17となる。   Specifically, for example, when Ma = 0x35 and Fn = 0x22, and Ec (A, B) is A xor B (exclusive OR), Vma is expressed as 0x17 by the following equation (2). Become.

Vma=Ec(0x35,0x22)
=0x35 xor 0x22
=0x17 ・・・(2)
Vma = Ec (0x35, 0x22)
= 0x35 xor 0x22
= 0x17 (2)

つぎに、主制御部201は、制御コマンドデータ1001、付随データ1002、補正データ1004を含む補正データ付制御信号1030(Fn,Vma)を周辺部に送信する(ステップS1304)。なお、ステップS1304においては、大当たりリーチコマンドのn回目に付随データ1002がセットされた制御コマンドデータ1001(Fn)と、補正データ1004(Vma)とを、別々に周辺部に送信してもよい。また、この場合、送信順序は、順不同でよい。   Next, the main control unit 201 transmits a control signal with correction data 1030 (Fn, Vma) including control command data 1001, accompanying data 1002, and correction data 1004 to the peripheral part (step S1304). In step S1304, the control command data 1001 (Fn) in which the accompanying data 1002 is set at the nth time of the jackpot reach command and the correction data 1004 (Vma) may be separately transmitted to the peripheral portion. In this case, the transmission order may be out of order.

演出制御部202は、ステップS1304で送信された補正データ付制御信号(Fn,Vma)を受信する(ステップS1305)。つぎに、演出制御部202は、補正データ1004(Vma)を復元する(ステップS1306)。ステップS1306においては、下記(3)式によって補正データ1004(Vma)を復元し、補正値Maを取得する。ここで、Dc(A,B)は、復号化演算式をあらわす。   The effect control unit 202 receives the control signal with correction data (Fn, Vma) transmitted in step S1304 (step S1305). Next, the effect control unit 202 restores the correction data 1004 (Vma) (step S1306). In step S1306, the correction data 1004 (Vma) is restored by the following equation (3) to obtain the correction value Ma. Here, Dc (A, B) represents a decoding arithmetic expression.

Ma=Dc(Vma,Fn) ・・・(3)     Ma = Dc (Vma, Fn) (3)

ここで、具体的には、たとえばVma=0x17、Fn=0x22であり、Dc(A,B)が、A xor Bの場合、Maは下記(4)式によって、0x35となる。   Specifically, for example, when Vma = 0x17 and Fn = 0x22, and Dc (A, B) is A xor B, Ma is 0x35 according to the following equation (4).

Ma=Dc(0x17,0x22)
=0x17 xor 0x22
=0x35 ・・・(4)
Ma = Dc (0x17, 0x22)
= 0x17 xor 0x22
= 0x35 (4)

つぎに、ステップS1306において取得された補正値Maを用いて期待値補正処理をおこなう(ステップS1307)。なお、たとえば周辺部にあらかじめ期待値が保持されていない場合、ステップS1307において、周辺部は、他の制御部から期待値を取得し、取得された期待値に期待値補正処理をおこなう。そして、周辺部は、制御コマンドデータ1001および付随データ1002に基づく処理をおこなう(ステップS1308)。   Next, an expected value correction process is performed using the correction value Ma acquired in step S1306 (step S1307). For example, when the expected value is not held in advance in the peripheral portion, in step S1307, the peripheral portion acquires the expected value from another control unit, and performs the expected value correction process on the acquired expected value. Then, the peripheral part performs processing based on the control command data 1001 and the accompanying data 1002 (step S1308).

なお、具体的には、ステップS1307において、あらかじめ保持されていた期待値(旧期待値)が、0xACの場合、補正処理によって補正された期待値(新期待値)は、下記(5)式によって0x77となる。そして、周辺部は、この0x77を主制御部201の照合用の期待値として保持する。   Specifically, in step S1307, when the expected value (old expected value) held in advance is 0xAC, the expected value (new expected value) corrected by the correction process is expressed by the following equation (5). 0x77. The peripheral portion holds this 0x77 as an expected value for collation of the main control unit 201.

0xAC(旧期待値)−0x35(補正値)=0x77(新期待値) ・・・(5)     0xAC (old expected value) −0x35 (correction value) = 0x77 (new expected value) (5)

つぎに、補正処理がおこなわれた後に、制御コマンドデータ1001が大当たりリーチコマンドの場合、主制御部201は、制御コマンドデータ1001(大当たりリーチコマンドデータ)および付随データ1002をセットする(ステップS1311)。また、主制御部201は、誤り検査値Cbを生成する(ステップS1312)。ここで、誤り検査値Cbは、主制御部201の備える記録部などに記録された所定のプログラムコードなどから生成した誤り検出可能な数値である。誤り検査値Cbは、好適には、実際の誤り検査値とソルト値との演算結果値がよい。また、bは、認証処理の処理順序をあらわし、たとえば電源がオンされてから1回目の認証処理の場合、b=1となる。   Next, when the control command data 1001 is a jackpot reach command after the correction process is performed, the main control unit 201 sets the control command data 1001 (jackpot reach command data) and the accompanying data 1002 (step S1311). Further, the main control unit 201 generates an error check value Cb (step S1312). Here, the error check value Cb is a numerical value capable of error detection generated from a predetermined program code or the like recorded in a recording unit or the like included in the main control unit 201. The error check value Cb is preferably an operation result value of an actual error check value and a salt value. Further, b represents the processing order of the authentication processing. For example, in the case of the first authentication processing after the power is turned on, b = 1.

さらに、主制御部201は、認証データ1003(Vcb)を生成する(ステップS1313)。ステップS1313においては、たとえば下記(6)式によって認証データ1003(Vcb)を生成する。なお、ステップS1313において、暗号化演算をおこなう方式は、1種類でもよいし、2種類以上でもよい。暗号化方式が2種類以上の場合、ステップS1313においては、複数の暗号化方式の中から1種類の暗号化方式を選択し、選択した暗号化方式によって暗号化演算をおこなう。また、暗号化演算による暗号化処理を、2回以上おこなってもよい。   Further, the main control unit 201 generates authentication data 1003 (Vcb) (step S1313). In step S1313, for example, authentication data 1003 (Vcb) is generated by the following equation (6). In step S1313, the method for performing the encryption operation may be one type or two or more types. If there are two or more types of encryption methods, in step S1313, one type of encryption method is selected from a plurality of encryption methods, and an encryption operation is performed using the selected encryption method. Further, the encryption process by the encryption operation may be performed twice or more.

Vcb=Ec(Cb,Fn+1) ・・・(6)     Vcb = Ec (Cb, Fn + 1) (6)

ここで、具体的には、たとえばCb=0x77、Fn+1=0x22であり、Ec(A,B)が、A xor Bの場合、Vcbは下記(7)式によって、0x55となる。   Specifically, for example, when Cb = 0x77 and Fn + 1 = 0x22, and Ec (A, B) is A xor B, Vcb is 0x55 according to the following equation (7).

Vcb=Ec(0x77,0x22)
=0x77 xor 0x22
=0x55 ・・・(7)
Vcb = Ec (0x77, 0x22)
= 0x77 xor 0x22
= 0x55 (7)

つぎに、主制御部201は、制御コマンドデータ1001、付随データ1002、認証データ1003を含む認証データ付制御信号1020(Fn+1,Vcb)を周辺部に送信する(ステップS1314)。なお、ステップS1313においては、大当たりリーチコマンドのn+1回目に付随データ1002がセットされた制御コマンドデータ1001(Fn+1)と、認証データ1003(Vcb)とを、別々に周辺部に送信してもよい。また、この場合、送信順序は、順不同でよい。   Next, the main control unit 201 transmits an authentication data-added control signal 1020 (Fn + 1, Vcb) including control command data 1001, accompanying data 1002, and authentication data 1003 to the peripheral unit (step S1314). In step S1313, the control command data 1001 (Fn + 1) in which the accompanying data 1002 is set at the n + 1th time of the jackpot reach command and the authentication data 1003 (Vcb) may be separately transmitted to the peripheral portion. In this case, the transmission order may be out of order.

周辺部は、ステップS1314で送信された認証データ付制御信号(Fn+1,Vcb)を受信する(ステップS1315)。つぎに、演出制御部202は、認証データ1003(Vcb)を復元する(ステップS1316)。ステップS1316においては、下記(8)式によって認証データ1003(Vcb)を復元し、誤り検査値Cbを取得する。なお、ステップS1316においては、ステップS1314において複数の暗号化方式の中から1種類の暗号化方式が選択されて暗号化処理された場合、複数の復号化方式によって復号化する。   The peripheral part receives the control signal with authentication data (Fn + 1, Vcb) transmitted in step S1314 (step S1315). Next, the effect control unit 202 restores the authentication data 1003 (Vcb) (step S1316). In step S1316, the authentication data 1003 (Vcb) is restored by the following equation (8) to obtain the error check value Cb. In step S1316, when one type of encryption method is selected from the plurality of encryption methods in step S1314 and encryption processing is performed, decryption is performed using a plurality of decryption methods.

Cb=Dc(Vcb,Fn+1) ・・・(8)     Cb = Dc (Vcb, Fn + 1) (8)

ここで、具体的には、たとえばVcb=0x55、Fn+1=0x22であり、Dc(A,B)が、A xor Bの場合、誤り検査値Cbは下記(9)式によって、0x77となる。   Specifically, for example, when Vcb = 0x55 and Fn + 1 = 0x22 and Dc (A, B) is A xor B, the error check value Cb is 0x77 according to the following equation (9).

Cb=Dc(0x55,0x22)
=0x55 xor 0x22
=0x77 ・・・(9)
Cb = Dc (0x55, 0x22)
= 0x55 xor 0x22
= 0x77 (9)

つぎに、ステップS1307において補正された期待値(新期待値)と、ステップS1316において取得された誤り検査値Cbと、を用いて認証処理をおこなう(ステップS1317)。ステップS1317においては、たとえば期待値と誤り検査値Cbとが一致する場合に、主制御部201を認証する。なお、ステップS1317においては、ステップS1316において複数の復号化方式によって復号化され、取得された誤り検査値Cbのいずれかが期待値と一致する場合に、主制御部201を認証してもよい。   Next, an authentication process is performed using the expected value (new expected value) corrected in step S1307 and the error check value Cb acquired in step S1316 (step S1317). In step S1317, for example, when the expected value matches the error check value Cb, the main control unit 201 is authenticated. Note that in step S1317, the main control unit 201 may be authenticated when any of the error check values Cb decoded in step S1316 and obtained by the plurality of decoding methods matches the expected value.

ここで、具体的には、新期待値は、上述の(5)式によって算出されたように0x77であり、誤り検査値Cbは、上述の(9)式によって算出されたように0x77である。したがって、新期待値と誤り検査値Cbとが一致するため、この場合、認証が成立することとなる。   Specifically, the new expected value is 0x77 as calculated by the above equation (5), and the error check value Cb is 0x77 as calculated by the above equation (9). . Therefore, since the new expected value matches the error check value Cb, authentication is established in this case.

ステップS1317において、認証が成立した場合、周辺部は制御コマンドデータ1001および付随データ1002に基づく処理をおこなう(ステップS1318)。なお、ステップS1317において、認証が成立しなかった場合は、制御コマンドデータ1001および付随データ1002を破棄する(図12のステップS1208参照)。   If authentication is established in step S1317, the peripheral unit performs processing based on the control command data 1001 and accompanying data 1002 (step S1318). If authentication is not established in step S1317, the control command data 1001 and accompanying data 1002 are discarded (see step S1208 in FIG. 12).

なお、図13のシーケンス図においては、一例としてn回目の大当たりリーチコマンドのときに補正データ付制御信号1030を送信し、(n+1)回目の大当たりリーチコマンドのときに認証データ付制御信号1020を送信することとしているが、これに限るものではない。具体的には、たとえば補正データ付制御信号1030を送信してから、認証データ付制御信号1020を送信するまでの間の大当たりリーチコマンドのときに、補正データ1004や認証データ1003の付加されていない制御信号1010を送信してもよい。すなわち、認証データ付制御信号1020を送信するのは、(n+1)回目の大当たりリーチコマンドのときでなくてもよく、たとえば(n+2)回目や(n+3)回目の大当たりリーチコマンドのときでもよい。   In the sequence diagram of FIG. 13, for example, the control signal with correction data 1030 is transmitted at the n-th jackpot reach command, and the control signal with authentication data 1020 is transmitted at the (n + 1) -th jackpot reach command. However, it is not limited to this. Specifically, for example, correction data 1004 and authentication data 1003 are not added in the case of a jackpot reach command from when the control signal with correction data 1030 is transmitted until when the control signal with authentication data 1020 is transmitted. A control signal 1010 may be transmitted. That is, the control signal with authentication data 1020 may not be transmitted at the (n + 1) th jackpot reach command, for example, at the (n + 2) th or (n + 3) th jackpot reach command.

また、図13のシーケンス図においては、認証処理の前に、少なくとも1回の補正処理がおこなわれていればよい。したがって、図13に示す認証処理の後には、主制御部201は、補正データ付制御信号1030を送信してもよいし、認証データ付制御信号1020を送信してもよい。また、補正データ1004または認証データ1003の付加されていない通常の制御信号1010を送信してもよい。   Further, in the sequence diagram of FIG. 13, at least one correction process may be performed before the authentication process. Therefore, after the authentication process illustrated in FIG. 13, the main control unit 201 may transmit the control signal with correction data 1030 or the control signal with authentication data 1020. Further, a normal control signal 1010 to which correction data 1004 or authentication data 1003 is not added may be transmitted.

また、図13のシーケンス図において、周辺部は、ステップS1307において期待値補正をおこなった後に、補正後の期待値(最終期待値)そのものを固定値として保持しなくてもよい。この場合、たとえば製造時から、補正データ1004による補正処理をおこなわないと、ステップS1318において認証が不成立となるように設計する。このようにすることで、最終期待値を知り得る者を限定することができ、期待値に関する情報の流出などのリスクを低減することができる。   In the sequence diagram of FIG. 13, the peripheral unit may not hold the corrected expected value (final expected value) itself as a fixed value after performing the expected value correction in step S1307. In this case, for example, if the correction process using the correction data 1004 is not performed from the time of manufacture, the authentication is not established in step S1318. By doing in this way, the person who can know the final expected value can be limited, and the risk of leakage of information related to the expected value can be reduced.

また、図13のシーケンス図における具体例においては、暗号化演算式および復号化演算式に、排他的論理和を用いたが、四則や暗号演算など、他の演算式を用いてもよい。すなわち、主制御部201および周辺部において、あらかじめ相互で定められている認証方式や演算式であればよい。   Further, in the specific example in the sequence diagram of FIG. 13, the exclusive OR is used for the encryption arithmetic expression and the decryption arithmetic expression, but other arithmetic expressions such as four rules and encryption arithmetic may be used. That is, the authentication method and the arithmetic expression may be determined in advance in the main control unit 201 and the peripheral unit.

また、認証データを用いた認証処理は、認証データを受信する度におこなうのではなく、複数の認証データを受信した時点でおこなうこととしてもよい。この場合、周辺部は、たとえば、第1の大当たりリーチコマンドデータおよび第1の制御データとともに第1の認証データを受信した場合、認証処理をおこなわずに、第1の大当たりリーチコマンドデータおよび第1の制御データに基づく処理をおこなう。そして、周辺部は、第2の大当たりリーチコマンドデータおよび第2の制御データとともに第2の認証データを受信した場合、第2の大当たりリーチコマンドデータおよび第2の制御データに基づく処理をおこなう前に、第1の認証データを用いた認証処理をおこなう。このとき、周辺部は、第1の認証データと第2の認証データの両方を用いて認証処理をおこなってもよい。このように、複数の認証データを受信した時点で認証処理をおこなえば、エラーによって制御信号に余分なデータが付加されてしまった場合などに、誤って認証処理をおこなってしまうことを防ぐことができる。   Further, the authentication process using the authentication data may be performed at the time when a plurality of authentication data is received, instead of being performed every time the authentication data is received. In this case, for example, when the first authentication data is received together with the first jackpot reach command data and the first control data, the peripheral unit performs the first jackpot reach command data and the first without performing the authentication process. Process based on the control data. When the peripheral portion receives the second authentication data together with the second jackpot reach command data and the second control data, the peripheral section performs processing based on the second jackpot reach command data and the second control data. Then, an authentication process using the first authentication data is performed. At this time, the peripheral part may perform the authentication process using both the first authentication data and the second authentication data. In this way, if authentication processing is performed at the time when a plurality of authentication data is received, it is possible to prevent erroneous authentication processing when extra data is added to the control signal due to an error. it can.

また、上述した説明では、大当たりリーチコマンドを送信する際に認証データを送信することとしたが、他の制御コマンドを送信する際に認証データを送信することとしてもよい。具体的には、たとえば、電源オンコマンドや大当たり開始コマンド、大当たりコマンド、大当たり終了コマンド、客待ちデモコマンド、はずれコマンドなどのうち、いずれか(複数でも可)を送信する際に認証データを送信することとしてもよい。また、大当たりリーチコマンドのみならずはずれリーチコマンドを送信する際にも認証データを送信することとしてもよい。   In the above description, the authentication data is transmitted when the jackpot reach command is transmitted. However, the authentication data may be transmitted when another control command is transmitted. Specifically, for example, authentication data is transmitted when any one or more of a power-on command, a jackpot start command, a jackpot command, a jackpot end command, a customer waiting demo command, a miss command, etc. are transmitted. It is good as well. Further, the authentication data may be transmitted not only when the jackpot reach command is transmitted but also when the miss reach command is transmitted.

以上説明したように、本実施の形態にかかる電子機器では、所定の制御コマンドを送信する際、周辺部において主制御部の照合に用いる期待値を補正するための補正データを用いて期待値補正処理をおこなう。また、補正データを送信した後で、所定の制御コマンドを送信する際、主制御部の正当性を認証するための認証データを用いて認証処理をおこなう。補正データは、主制御部に固有の値によって生成される。たとえば、補正データは主制御部が変更された場合、変更前の主制御部に固有の値と、変更後の主制御部に固有の値との差分によって生成される。   As described above, in the electronic device according to the present embodiment, when a predetermined control command is transmitted, expected value correction is performed using correction data for correcting expected values used for verification of the main control unit in the peripheral part. Perform processing. In addition, when transmitting a predetermined control command after transmitting the correction data, authentication processing is performed using authentication data for authenticating the validity of the main control unit. The correction data is generated by a value unique to the main control unit. For example, when the main control unit is changed, the correction data is generated by a difference between a value unique to the main control unit before the change and a value unique to the main control unit after the change.

また、認証データは、正規の主制御部に格納されたプログラムデータによって生成される。そして、認証データを用いて算出された値と、補正データを用いて補正された期待値とが一致する場合、主制御部を正規の主制御部と認証することができる。このため、正規の主制御部が不正な基板に交換されたり、正規の主制御部と周辺部との間に不正な基板が取り付けられたことを検知することができる。また、主制御部が他の正規の主制御部に変更された場合、誤って変更後の主制御部を不正な基板と認証することを防ぐことができる。さらに、今回送信する制御コマンドデータや付随データを含めて補正データや認証データを生成することとすれば、不正な制御基板による補正データや認証データの再利用を防止して、電子機器への不正を防止することができる。   The authentication data is generated by program data stored in the regular main control unit. When the value calculated using the authentication data matches the expected value corrected using the correction data, the main control unit can be authenticated as a regular main control unit. For this reason, it can be detected that the authorized main controller is replaced with an unauthorized substrate, or that an unauthorized substrate is attached between the authorized main controller and the peripheral portion. Further, when the main control unit is changed to another regular main control unit, it is possible to prevent the changed main control unit from being erroneously authenticated as an unauthorized substrate. Furthermore, if correction data and authentication data including control command data and accompanying data to be transmitted this time are generated, the reuse of correction data and authentication data by an illegal control board is prevented, and unauthorized use of electronic devices is prevented. Can be prevented.

また、主制御部の照合に用いる最終期待値(補正後の期待値)そのものである固定値を周辺部に保持せないことで、照合に用いる最終期待値を知り得る者を限定することができる。この場合、具体的には、たとえば製造時から、期待値の補正処理をおこなわないと、認証が不成立となるように設計する。これにより、期待値に関する情報の流出などのリスクを軽減することができる。   In addition, by not holding the fixed value, which is the final expected value (expected value after correction) itself, used for verification of the main control unit in the peripheral portion, it is possible to limit who can know the final expected value used for verification. . In this case, specifically, the design is designed so that the authentication is not established unless the expected value is corrected from the time of manufacture. As a result, it is possible to reduce risks such as leakage of information regarding expected values.

また、本実施の形態にかかる電子機器(たとえば、ぱちんこ遊技機)では、たとえば主制御部が周辺部に大当たりリーチコマンドを送信する場合に、周辺部において主制御部を照合するための期待値の補正処理と、主制御部の正当性を認証する認証処理をおこなう。よって、大当たりリーチコマンドのタイミング設計のみを変更することによって、既存のぱちんこ遊技機に補正処理および認証処理を実行させることができる。また、補正処理や認証処理を全ての制御コマンドの送信時におこなう場合と比べると、大当たりリーチコマンドが送信されている期間に認証処理や補正処理をおこなうのみであるため、主制御部や周辺部の処理負荷を減らすことができる。   In the electronic device (for example, pachinko gaming machine) according to the present embodiment, for example, when the main control unit transmits a jackpot reach command to the peripheral unit, an expected value for checking the main control unit in the peripheral unit A correction process and an authentication process for authenticating the validity of the main control unit are performed. Therefore, by changing only the timing design of the jackpot reach command, it is possible to cause the existing pachinko gaming machine to execute the correction process and the authentication process. Compared to the case where correction processing and authentication processing are performed when all control commands are transmitted, only authentication processing and correction processing are performed during the period when the jackpot reach command is transmitted. Processing load can be reduced.

また、本実施の形態にかかるぱちんこ遊技機においては、大当たりリーチは、たとえば大当たりリーチ後に大当たり状態になるだけでなく、疑似連や復活などの状態になることもあるため、大当たりと比較して発生頻度が高い。また、大当たりリーチの発生タイミングはランダム性を有する。よって、大当たりリーチコマンドを送信する際に補正処理や認証処理をおこなうことにより、時間軸上における補正処理や認証処理の実施位置が分散される。そして、このように時間軸上における補正処理や認証処理の実施位置を分散することによって、補正処理や認証処理の信頼性を向上させることができる。   Moreover, in the pachinko gaming machine according to the present embodiment, the jackpot reach is not only a jackpot state after the jackpot reach, for example, but may be a pseudo-ream or a revival state. The frequency is high. Moreover, the occurrence timing of jackpot reach has randomness. Therefore, by performing the correction process and the authentication process when transmitting the jackpot reach command, the execution positions of the correction process and the authentication process on the time axis are distributed. And the reliability of correction | amendment processing and authentication processing can be improved by distributing the execution position of correction | amendment processing and authentication processing on a time axis in this way.

また、大当たりリーチコマンドは、大当たり状態になる前に、実際に大当たりが発生するよりも頻繁に、かつランダムに送信される。このため、たとえば大当たりリーチコマンドを少数ずつ連続して送信する場合、大当たり状態になる前に、補正処理と認証処理との両処理ともおこなうことができる。したがって、大当たり状態になる前に、期待値の補正と、認証処理と、をおこなうことができるので、大当たり状態になる前に不正を検知することができる。これによって、不正な制御によって不正な大当たり状態となることを防ぐことができる。   The jackpot reach command is transmitted more frequently and randomly than the jackpot actually occurs before the jackpot state is reached. For this reason, for example, when a jackpot reach command is continuously transmitted in small numbers, both the correction process and the authentication process can be performed before the jackpot state is reached. Therefore, since the expected value can be corrected and the authentication process can be performed before the big hit state, it is possible to detect fraud before the big hit state. As a result, it is possible to prevent an illegal jackpot state due to an unauthorized control.

なお、本実施の形態で説明した主制御部および周辺部の制御方法は、あらかじめ用意されたプログラムをパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、CD−ROM、MO、DVD等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。またこのプログラムは、インターネット等のネットワークを介して配布することが可能な伝送媒体であってもよい。   The control method for the main control unit and the peripheral units described in the present embodiment can be realized by executing a program prepared in advance on a computer such as a personal computer or a workstation. This program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD-ROM, an MO, and a DVD, and is executed by being read from the recording medium by the computer. The program may be a transmission medium that can be distributed via a network such as the Internet.

以上のように、本発明は、制御部への不正が懸念される電子機器やその電子機器に搭載される制御基板に有用であり、特に、ぱちんこ遊技機、スロット遊技機、その他各種の遊技機に適している。   As described above, the present invention is useful for an electronic device in which fraud to the control unit is concerned and a control board mounted on the electronic device, and in particular, a pachinko gaming machine, a slot gaming machine, and other various gaming machines. Suitable for

本発明のぱちんこ遊技機の遊技盤の一例を示す正面図である。It is a front view which shows an example of the game board of the pachinko game machine of this invention. ぱちんこ遊技機の制御部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the control part of a pachinko game machine. 主制御基板および周辺基板の機能的構成を示すブロック図である。It is a block diagram which shows the functional structure of a main control board and a peripheral board | substrate. 主制御部による演出制御部の制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the control process of the production | presentation control part by the main control part. 主制御部による演出制御部の制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the control process of the production | presentation control part by the main control part. 大当たり関連コマンドの送信タイミングを示すタイムチャートである。It is a time chart which shows the transmission timing of a jackpot related command. 演出制御部による図柄変動処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the symbol variation process by an effect control part. 演出制御部による大当たり時の処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the process at the time of the big hit by an effect control part. ランプ制御部による図柄変動時のランプ制御処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the lamp control process at the time of the symbol variation by a lamp control part. 主制御部が出力する制御信号のデータフォーマットを模式的に示す説明図である。It is explanatory drawing which shows typically the data format of the control signal which a main control part outputs. 主制御部による制御信号の送信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the transmission process of the control signal by a main control part. 演出制御部による制御信号の受信処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of the reception process of the control signal by an effect control part. 制御部間の制御信号の流れの一例を示すシーケンス図である。It is a sequence diagram which shows an example of the flow of the control signal between control parts. 従来技術による不正防止技術の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the fraud prevention technique by a prior art. 従来技術による不正防止技術の概要を示す説明図である。It is explanatory drawing which shows the outline | summary of the fraud prevention technique by a prior art.

符号の説明Explanation of symbols

301 主制御基板
311 制御コマンド格納部
312 記録部
313 補正データ生成部
314 補正データ付加部
315 補正データ送信部
316 認証データ生成部
317 認証データ付加部
318 認証データ送信部
320 周辺基板
321 補正データ受信部
322 補正部
323 認証データ受信部
324 判断部
325 認証部
326 報知信号出力部
301 Main control board 311 Control command storage unit 312 Recording unit 313 Correction data generation unit 314 Correction data addition unit 315 Correction data transmission unit 316 Authentication data generation unit 317 Authentication data addition unit 318 Authentication data transmission unit 320 Peripheral board 321 Correction data reception unit 322 Correction unit 323 Authentication data reception unit 324 Judgment unit 325 Authentication unit 326 Notification signal output unit

Claims (21)

制御コマンドを送信する主制御部と、前記主制御部によって送信された前記制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器であって、
前記主制御部は、
前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正するための補正データを生成する補正データ生成手段と、
前記周辺部に送信する前記制御コマンドが当該周辺部に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、前記補正データ生成手段によって生成された前記補正データを当該制御コマンドに付加する補正データ付加手段と、
前記補正データ付加手段によって前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を前記周辺部に送信する補正データ送信手段と、
前記主制御部を認証するための認証データを生成する認証データ生成手段と、
前記補正データ送信手段によって前記補正データ付制御コマンドが前記周辺部に送信された後に、当該周辺部に送信する前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ生成手段によって生成された前記認証データを当該制御コマンドに付加する認証データ付加手段と、
前記認証データ付加手段によって前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を前記周辺部に送信する認証データ送信手段と、を備え、
前記周辺部は、
前記主制御部によって送信された前記補正データ付制御コマンドを受信する補正データ受信手段と、
前記補正データ受信手段によって受信された前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正手段と、
前記主制御部によって送信された前記認証データ付制御コマンドを受信する認証データ受信手段と、
前記認証データ受信手段によって受信された前記認証データ付制御コマンドを用いて算出された値が、前記補正手段によって補正された前記期待値と一致するか否かを判断する判断手段と、
前記判断手段によって前記認証データ付制御コマンドを用いて算出された値と、前記補正手段によって補正された期待値と、が一致すると判断された場合、前記主制御部を認証する認証手段と、
を備えることを特徴とする電子機器。
An electronic apparatus comprising: a main control unit that transmits a control command; and a peripheral unit that performs predetermined processing based on the control command transmitted by the main control unit,
The main control unit
Correction data generation means for generating correction data for correcting expected values used for collation of data held in the peripheral portion and transmitted from the main control unit;
When the control command to be transmitted to the peripheral part is a jackpot reach command that causes the peripheral part to execute the process of reaching the jackpot, the correction data generated by the correction data generating unit is added to the control command. Correction data adding means;
Correction data transmitting means for transmitting the control command to which the correction data is added by the correction data adding means (hereinafter referred to as “control command with correction data”) to the peripheral portion;
Authentication data generating means for generating authentication data for authenticating the main control unit;
After the control command with correction data is transmitted to the peripheral portion by the correction data transmitting means, when the control command to be transmitted to the peripheral portion is the jackpot reach command, the authentication data generating means generates the Authentication data adding means for adding authentication data to the control command;
Authentication data transmission means for transmitting the control command to which the authentication data is added by the authentication data addition means (hereinafter referred to as “control command with authentication data”) to the peripheral part,
The peripheral portion is
Correction data receiving means for receiving the control command with correction data transmitted by the main control unit;
Correction means for correcting the expected value held in the peripheral portion using the control command with correction data received by the correction data receiving means;
Authentication data receiving means for receiving the control command with authentication data transmitted by the main control unit;
Determining means for determining whether or not a value calculated by using the control command with authentication data received by the authentication data receiving means matches the expected value corrected by the correcting means;
An authentication unit for authenticating the main control unit when it is determined that the value calculated by the determination unit using the control command with authentication data matches the expected value corrected by the correction unit;
An electronic device comprising:
前記補正データ付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部に電源が投入された後の最初の前記大当たりリーチコマンドである場合、当該大当たりリーチコマンドに前記補正データを付加することを特徴とする請求項1に記載の電子機器。   The correction data adding means adds the correction data to the jackpot reach command when the control command transmitted to the peripheral section is the first jackpot reach command after the main control section is powered on. The electronic device according to claim 1. 前記補正データ付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部のリセット後の最初の前記大当たりリーチコマンドである場合、当該大当たりリーチコマンドに前記補正データを付加することを特徴とする請求項1または2に記載の電子機器。   The correction data adding means adds the correction data to the jackpot reach command when the control command transmitted to the peripheral section is the first jackpot reach command after resetting the main control section. The electronic device according to claim 1 or 2. 前記認証データ付加手段は、前記周辺部に送信する前記制御コマンドが、前記補正データ送信手段によって送信された前記補正データ付制御コマンドの次の前記大当たりリーチコマンドである場合、当該大当たりリーチコマンドに前記認証データを付加することを特徴とする請求項1〜3のいずれか一つに記載の電子機器。   When the control command transmitted to the peripheral part is the jackpot reach command next to the control command with correction data transmitted by the correction data transmitting section, the authentication data adding means includes the jackpot reach command in the Authentication data is added, The electronic device as described in any one of Claims 1-3 characterized by the above-mentioned. 前記補正データ生成手段は、前記主制御部が他の前記主制御部に変更された場合、前記周辺部に保持された前記期待値を、他の前記主制御部から送信されたデータの照合に用いる期待値に補正するための補正データを生成することを特徴とする請求項1〜4のいずれか一つに記載の電子機器。   When the main control unit is changed to another main control unit, the correction data generation unit uses the expected value held in the peripheral unit to collate data transmitted from the other main control unit. The electronic apparatus according to claim 1, wherein correction data for correcting the expected value to be used is generated. 前記主制御部は、
前記主制御部に設定されている固有の値を記録する記録手段を備え、
前記補正データ生成手段は、前記記録手段によって記録された前記固有の値を用いて前記補正データを生成することを特徴とする請求項1〜5のいずれか一つに記載の電子機器。
The main control unit
Recording means for recording a unique value set in the main control unit;
The electronic device according to claim 1, wherein the correction data generation unit generates the correction data using the unique value recorded by the recording unit.
前記補正データ生成手段は、前記主制御部が他の前記主制御部に変更された場合、前記記録手段に記録された、変更される前の前記主制御部に設定されていた固有の値と、変更された後の他の前記主制御部に設定されている固有の値との差分を、前記補正データとして生成することを特徴とする請求項6に記載の電子機器。   When the main control unit is changed to another main control unit, the correction data generation unit is recorded in the recording unit and has a unique value set in the main control unit before being changed. The electronic apparatus according to claim 6, wherein a difference from a unique value set in the other main control unit after being changed is generated as the correction data. 前記主制御部は、
所定のプログラムコードを記録した記録手段を備え、
前記補正データ生成手段は、前記記録手段に記録されたプログラムコードを用いて前記補正データを生成することを特徴とする請求項1〜5のいずれか一つに記載の電子機器。
The main control unit
Comprising a recording means for recording a predetermined program code;
The electronic device according to claim 1, wherein the correction data generation unit generates the correction data using a program code recorded in the recording unit.
前記補正データ生成手段は、前記プログラムコードとともに前記大当たりリーチコマンドを用いて前記補正データを生成することを特徴とする請求項8に記載の電子機器。   The electronic device according to claim 8, wherein the correction data generation unit generates the correction data using the jackpot reach command together with the program code. 前記主制御部は、
所定のプログラムコードを記録した記録手段を備え、
前記認証データ生成手段は、前記記録手段によって記録されたプログラムコードを用いて前記認証データを生成することを特徴とする請求項1〜9のいずれか一つに記載の電子機器。
The main control unit
Comprising a recording means for recording a predetermined program code;
The electronic device according to claim 1, wherein the authentication data generation unit generates the authentication data using a program code recorded by the recording unit.
前記認証データ生成手段は、前記プログラムコードとともに前記大当たりリーチコマンドを用いて前記認証データを生成することを特徴とする請求項10に記載の電子機器。   The electronic device according to claim 10, wherein the authentication data generation unit generates the authentication data using the jackpot reach command together with the program code. 前記補正手段は、前記主制御部から送信された前記制御コマンドが前記補正データ付制御コマンドの場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする請求項1〜11のいずれか一つに記載の電子機器。   When the control command transmitted from the main control unit is the control command with correction data, the correction unit corrects the expected value held in the peripheral portion using the control command with correction data. The electronic device according to claim 1, wherein: 前記補正手段は、前記主制御部から送信された前記制御コマンドが前記大当たりリーチコマンドである場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする請求項1〜11のいずれか一つに記載の電子機器。   When the control command transmitted from the main control unit is the jackpot reach command, the correction unit corrects the expected value held in the peripheral portion using the control command with correction data. The electronic apparatus according to claim 1, wherein the electronic apparatus is characterized in that 前記判断手段は、前記主制御部から送信された前記制御コマンドが前記認証データ付制御コマンドの場合、前記認証データ付制御コマンドを用いて算出された値と、前記補正手段によって補正された期待値と、が一致するか否かを判断することを特徴とする請求項1〜13のいずれか一つに記載の電子機器。 When the control command transmitted from the main control unit is the control command with authentication data, the determination unit calculates the value calculated using the control command with authentication data and the expected value corrected by the correction unit. And the electronic device according to claim 1, wherein it is determined whether or not the two match. 前記判断手段は、前記主制御部から送信された前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ付制御コマンドを用いて算出された値と、前記補正手段によって補正された期待値と、が一致するか否かを判断することを特徴とする請求項1〜13のいずれか一つに記載の電子機器。 The determination means, when the control command transmitted from the main control unit is the jackpot reach command, a value calculated using the control command with authentication data, and an expected value corrected by the correction means The electronic apparatus according to claim 1, wherein it is determined whether or not and match each other. 前記周辺部は、
前記認証手段によって前記主制御部が認証されなかった場合、報知信号を出力する出力手段を備えることを特徴とする請求項1〜15のいずれか一つに記載の電子機器。
The peripheral portion is
16. The electronic apparatus according to claim 1, further comprising an output unit that outputs a notification signal when the main control unit is not authenticated by the authentication unit.
請求項1〜16のいずれか一つに記載の電子機器を備え、
主制御基板は、前記認証データ付制御コマンドを送信し、周辺基板は、前記主制御基板によって送信された前記認証データ付制御コマンドに基づいて認証処理をおこなうことを特徴とする遊技機。
An electronic device according to any one of claims 1 to 16, comprising:
The main control board transmits the control command with authentication data, and the peripheral board performs authentication processing based on the control command with authentication data transmitted by the main control board.
電子機器に搭載され、周辺基板に所定の処理をおこなわせる制御コマンドを送信する主制御基板であって、
前記周辺基板に保持され、前記主制御基板から送信されたデータの照合に用いる期待値を補正するための補正データを生成する補正データ生成手段と、
前記周辺基板に送信する前記制御コマンドが当該周辺基板に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、前記補正データ生成手段によって生成された前記補正データを当該制御コマンドに付加する補正データ付加手段と、
前記補正データ付加手段によって前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を前記周辺基板に送信する補正データ送信手段と、
前記主制御基板を認証するための認証データを生成する認証データ生成手段と、
前記補正データ送信手段によって前記補正データ付制御コマンドが前記周辺基板に送信された後に、当該周辺基板に送信する前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ生成手段によって生成された前記認証データを当該制御コマンドに付加する認証データ付加手段と、
前記認証データ付加手段によって前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を前記周辺基板に送信する認証データ送信手段と、
を備えることを特徴とする主制御基板。
A main control board that is mounted on an electronic device and transmits a control command to perform a predetermined process on a peripheral board,
Correction data generating means for generating correction data for correcting an expected value that is held in the peripheral board and used for collation of data transmitted from the main control board;
When the control command to be transmitted to the peripheral board is a jackpot reach command that causes the peripheral board to execute the process of reaching the jackpot, the correction data generated by the correction data generation unit is added to the control command. Correction data adding means;
Correction data transmitting means for transmitting the control command to which the correction data is added by the correction data adding means (hereinafter referred to as “control command with correction data”) to the peripheral board;
Authentication data generating means for generating authentication data for authenticating the main control board;
After the control command with correction data is transmitted to the peripheral board by the correction data transmitting means, when the control command to be transmitted to the peripheral board is the jackpot reach command, the authentication data generating means generates the Authentication data adding means for adding authentication data to the control command;
Authentication data transmitting means for transmitting the control command to which the authentication data is added by the authentication data adding means (hereinafter referred to as “control command with authentication data”) to the peripheral board;
A main control board comprising:
電子機器に搭載され、主制御基板から送信された制御コマンドに応じた処理をおこなう周辺基板であって、
前記主制御基板によって送信され、当該主制御基板から送信されたデータの照合に用いる期待値を補正するための補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を受信する補正データ受信手段と、
前記補正データ受信手段によって受信された前記補正データ付制御コマンドを用いて前記周辺基板に保持されている前記期待値を補正する補正手段と、
前記主制御基板によって送信された、前記主制御基板を認証するための認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を受信する認証データ受信手段と、
前記認証データ受信手段によって受信された前記認証データ付制御コマンドを用いて算出された値が、前記補正手段によって補正された前記期待値と一致するか否かを判断する判断手段と、
前記判断手段によって前記認証データ付制御コマンドを用いて算出された値と、前記補正手段によって補正された期待値と、が一致すると判断された場合、前記主制御基板を認証する認証手段と、
を備えることを特徴とする周辺基板。
A peripheral board that is mounted on an electronic device and performs processing according to a control command transmitted from the main control board,
The control command (hereinafter referred to as “control command with correction data”) to which correction data for correcting an expected value used for collation of data transmitted from the main control board and transmitted from the main control board is added. Correction data receiving means for receiving;
Correction means for correcting the expected value held on the peripheral board using the control command with correction data received by the correction data receiving means;
Authentication data receiving means for receiving the control command to which authentication data for authenticating the main control board transmitted by the main control board is added (hereinafter referred to as “control command with authentication data”);
Determining means for determining whether or not a value calculated by using the control command with authentication data received by the authentication data receiving means matches the expected value corrected by the correcting means;
An authentication unit that authenticates the main control board when it is determined that the value calculated by the determination unit using the control command with authentication data matches the expected value corrected by the correction unit;
A peripheral substrate comprising:
制御コマンドを送信する主制御部と、前記主制御部によって送信された制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器における認証方法であって、
前記主制御部において、
前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正するための補正データを生成する補正データ生成工程と、
前記周辺部に送信する前記制御コマンドが当該周辺部に大当たり前のリーチ状態の処理を実行させる大当たりリーチコマンドである場合、前記補正データ生成工程によって生成された前記補正データを当該制御コマンドに付加する補正データ付加工程と、
前記補正データ付加工程によって前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)を前記周辺部に送信する補正データ送信工程と、
前記主制御部を認証するための認証データを生成する認証データ生成工程と、
前記補正データ送信手段によって前記補正データ付制御コマンドが前記周辺部に送信された後に、当該周辺部に送信する前記制御コマンドが前記大当たりリーチコマンドである場合、前記認証データ生成工程によって生成された前記認証データを当該制御コマンドに付加する認証データ付加工程と、
前記認証データ付加工程によって前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)を前記周辺部に送信する認証データ送信工程と、を含み、
前記周辺部において、
前記主制御部によって送信された前記補正データ付制御コマンドを受信する補正データ受信工程と、
前記補正データ受信工程によって受信された前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正工程と、
前記主制御部によって送信された前記認証データ付制御コマンドを受信する認証データ受信工程と、
前記認証データ受信工程によって受信された前記認証データ付制御コマンドを用いて算出された値が、前記補正工程によって補正された前記期待値と一致するか否かを判断する判断工程と、
前記判断工程によって前記認証データ付制御コマンドを用いて算出された値と、前記補正工程によって補正された期待値と、が一致すると判断された場合、前記主制御部を認証する認証工程と、
を含むことを特徴とする認証方法。
An authentication method in an electronic device comprising: a main control unit that transmits a control command; and a peripheral unit that performs predetermined processing based on the control command transmitted by the main control unit,
In the main control unit,
A correction data generation step for generating correction data for correcting expected values used for collation of data held in the peripheral portion and transmitted from the main control unit;
When the control command to be transmitted to the peripheral portion is a jackpot reach command that causes the peripheral portion to execute the process of reaching the jackpot, the correction data generated by the correction data generation step is added to the control command. Correction data addition step;
A correction data transmission step of transmitting the control command to which the correction data is added in the correction data addition step (hereinafter referred to as “control command with correction data”) to the peripheral portion;
An authentication data generation step of generating authentication data for authenticating the main control unit;
After the control command with correction data is transmitted to the peripheral portion by the correction data transmitting means, when the control command to be transmitted to the peripheral portion is the jackpot reach command, the authentication data generating step generates the An authentication data adding step of adding authentication data to the control command;
An authentication data transmission step of transmitting the control command to which the authentication data is added by the authentication data addition step (hereinafter referred to as “control command with authentication data”) to the peripheral part,
In the periphery,
A correction data receiving step for receiving the control command with correction data transmitted by the main control unit;
A correction step of correcting the expected value held in the peripheral portion using the control command with correction data received by the correction data receiving step;
An authentication data receiving step of receiving the control command with authentication data transmitted by the main control unit;
A determination step of determining whether or not a value calculated using the control command with authentication data received by the authentication data reception step matches the expected value corrected by the correction step;
An authentication step for authenticating the main control unit when it is determined that the value calculated using the control command with authentication data by the determination step matches the expected value corrected by the correction step;
An authentication method comprising:
請求項20に記載の認証方法をコンピュータに実行させることを特徴とする認証プログラム。   An authentication program for causing a computer to execute the authentication method according to claim 20.
JP2008218658A 2008-08-27 2008-08-27 Electronic device, game machine, main control board, peripheral board, authentication method and authentication program Expired - Fee Related JP4800357B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008218658A JP4800357B2 (en) 2008-08-27 2008-08-27 Electronic device, game machine, main control board, peripheral board, authentication method and authentication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008218658A JP4800357B2 (en) 2008-08-27 2008-08-27 Electronic device, game machine, main control board, peripheral board, authentication method and authentication program

Publications (2)

Publication Number Publication Date
JP2010051481A JP2010051481A (en) 2010-03-11
JP4800357B2 true JP4800357B2 (en) 2011-10-26

Family

ID=42068033

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008218658A Expired - Fee Related JP4800357B2 (en) 2008-08-27 2008-08-27 Electronic device, game machine, main control board, peripheral board, authentication method and authentication program

Country Status (1)

Country Link
JP (1) JP4800357B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09271066A (en) * 1996-03-29 1997-10-14 Sony Corp Communication method, communication system, communication terminal equipment and communication management equipment
JP4236728B2 (en) * 1998-03-27 2009-03-11 株式会社三共 Game machine
JP4598250B2 (en) * 2000-09-06 2010-12-15 株式会社サンセイアールアンドディ Pachinko machine
JP2005021660A (en) * 2003-06-11 2005-01-27 Olympia:Kk Game machine, and command communication method and command communication program for game machine

Also Published As

Publication number Publication date
JP2010051481A (en) 2010-03-11

Similar Documents

Publication Publication Date Title
JP5129096B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933521B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129100B2 (en) Electronic device, game machine, authentication method and authentication program
JP2008279037A (en) Pachinko game machine, main control board, peripheral board, authentication method, and authentication program
JP2008279039A (en) Pachinko game machine, main control board, peripheral board, authentication method, and authentication program
JP2008279042A (en) Pachinko game machine, main control board, peripheral board, authentication method, and authentication program
JP2008279038A (en) Pachinko game machine, main control board, peripheral board, authentication method, and authentication program
JP5220638B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933524B2 (en) Electronic device, game machine, authentication method and authentication program
JP2010172490A (en) Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program
JP5129098B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933523B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933522B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129097B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129101B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933525B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933526B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129099B2 (en) Electronic device, game machine, authentication method and authentication program
JP4800360B2 (en) Electronic device, game machine, main control board, peripheral board, authentication method and authentication program
JP2010172487A (en) Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program
JP2010172486A (en) Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program
JP2010172489A (en) Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program
JP2010172488A (en) Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program
JP4800357B2 (en) Electronic device, game machine, main control board, peripheral board, authentication method and authentication program
JP4800355B2 (en) Electronic device, game machine, main control board, peripheral board, authentication method and authentication program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110412

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110613

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110803

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

Free format text: PAYMENT UNTIL: 20140812

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

Ref document number: 4800357

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140812

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

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees