JP4933525B2 - Electronic device, game machine, authentication method and authentication program - Google Patents

Electronic device, game machine, authentication method and authentication program Download PDF

Info

Publication number
JP4933525B2
JP4933525B2 JP2008328641A JP2008328641A JP4933525B2 JP 4933525 B2 JP4933525 B2 JP 4933525B2 JP 2008328641 A JP2008328641 A JP 2008328641A JP 2008328641 A JP2008328641 A JP 2008328641A JP 4933525 B2 JP4933525 B2 JP 4933525B2
Authority
JP
Japan
Prior art keywords
data
command
control command
authentication
authentication data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008328641A
Other languages
Japanese (ja)
Other versions
JP2010148614A (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 JP2008328641A priority Critical patent/JP4933525B2/en
Publication of JP2010148614A publication Critical patent/JP2010148614A/en
Application granted granted Critical
Publication of JP4933525B2 publication Critical patent/JP4933525B2/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, an authentication method, and an authentication program that include a plurality of substrates and perform authentication of communication between these substrates.

従来、複数の基板を備えた電子機器において、これら各基板に対する不正を防止するための様々な技術が提案されている。複数の基板を備えた電子機器としては、たとえば、ぱちんこ遊技機などがある。ぱちんこ遊技機には、電子機器全体の動作を司る主制御基板と、電子機器の各部の動作をおこなう被制御基板(周辺基板)とを備えている。この主制御基板は、周辺基板に制御コマンドを含む制御信号を出力し、その他の周辺基板は、主制御基板から送信された制御信号にしたがって動作を実行する機能を備えている。   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. 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 regular control signal RS output from the regular main control board 1401 and replaces it.

Instead, an illegal control signal FS is output to the peripheral board 1402. 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 for authenticating the main control board by a simple method in order to solve the above-mentioned problems caused by the prior art, and also performs illegal control from the main control board to the peripheral board, the expected value and It is an object to provide an electronic device, a gaming machine, an authentication method, and an authentication program that can prevent the diversion of information related to authentication.

上述した課題を解決し、目的を達成するため、この発明にかかる電子機器は、制御コマンドを送信する主制御部と、前記主制御部によって送信された前記制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器であって、前記主制御部は、前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正する補正処理のための補正データを生成する補正データ生成手段と、前記主制御部を認証する認証処理のための認証データを生成する認証データ生成手段と、前記認証データのダミーデータ(以下、「ダミー認証データ」という)を生成するダミー認証データ生成手段と、前記周辺部に送信する前記制御コマンドが、前記電子機器のメインの処理の待機中に表示されるデモ表示を開始する制御コマンド(以下、「デモ表示開始コマンド」という)または前記デモ表示を停止させる制御コマンド(以下、「デモ表示停止コマンド」という)である場合、前記補正データ生成手段によって生成された前記補正データを当該制御コマンドに付加し、前記補正データが付加された後に、前記周辺部に送信する前記制御コマンドが前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、前記認証データ生成手段によって生成された前記認証データを当該制御コマンドに付加し、前記補正データまたは前記認証データが付加された前記制御コマンド以外の制御コマンドに、前記ダミー認証データ生成手段によって生成されたダミー認証データを付加し、前記補正データ、前記認証データあるいは前記ダミー認証データのいずれかを付加した前記制御コマンドを同一のデータ長とする付加手段と、前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)、前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)または前記ダミー認証データの付加された前記制御コマンド(以下、「ダミー認証データ付制御コマンド」という)を前記周辺部に送信する送信手段と、を備え、前記周辺部は、前記主制御部によって送信された前記補正データ付制御コマンド、前記認証データ付制御コマンドまたは前記ダミー認証データ付制御コマンドを受信する受信手段と、前記受信手段によって前記補正データ付制御コマンドを受信した場合、当該補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正手段と、前記受信手段によって前記認証データ付制御コマンドを受信した場合、当該認証データ付制御コマンドを用いて算出された値が、前記補正手段によって補正された前記期待値と一致するか否かを判断する判断手段と、前記判断手段によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御部を認証する認証手段と、を備え、前記認証手段は、前記受信手段によって前記ダミー認証データ付制御コマンドを受信した場合、前記主制御部を認証することを特徴とする。   In order to solve the above-described problems and achieve the object, an electronic device according to the present invention performs a predetermined process based on a main control unit that transmits a control command and the control command transmitted by the main control unit. Correction data for correction processing 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 Correction data generating means for generating authentication data, authentication data generating means for generating authentication data for authentication processing for authenticating the main control unit, and dummy data of the authentication data (hereinafter referred to as “dummy authentication data”) A dummy authentication data generating means that controls the control command to be transmitted to the peripheral portion and to start a demonstration display that is displayed during standby of the main processing of the electronic device. Command (hereinafter referred to as “demo display start command”) or a control command for stopping the demonstration display (hereinafter referred to as “demo display stop command”), the correction data generated by the correction data generation means When the control command to be transmitted to the peripheral part after adding the correction data to the control command is the demonstration display start command or the demonstration display stop command, the authentication data generating unit generates the authentication command. Authentication data is added to the control command, dummy authentication data generated by the dummy authentication data generating means is added to a control command other than the control command to which the correction data or the authentication data is added, and the correction data , Either the authentication data or the dummy authentication data An adding means for setting the added control command to the same data length, the control command to which the correction data is added (hereinafter referred to as “control command with correction data”), and the control command to which the authentication data is added ( Transmission means for transmitting the control command to which the dummy authentication data is added (hereinafter referred to as “control command with dummy authentication data”) to the peripheral unit, The peripheral unit receives the control command with correction data, the control command with correction data, or the control command with dummy authentication data transmitted by the main control unit, and the control with correction data by the reception unit. When a command is received, it is held in the peripheral part using the control command with correction data When the control command with authentication data is received by the correction means for correcting the expected value and the reception means, the value calculated using the control command with authentication data is the expected value corrected by the correction means. If it is determined that the value calculated by the determination unit using the control command with authentication data matches the expected value, the main control unit is Authenticating means for authenticating, wherein the authenticating means authenticates the main control unit when the receiving means receives the control command with dummy authentication data.

この請求項1の発明によれば、主制御部から送信される制御コマンドがデモ表示開始コマンドまたはデモ表示停止コマンドである場合、制御コマンドに補正データや認証データを付加する。これにより、補正データまたは認証データを単体で送信する場合と比較して、主制御部と周辺部との間の通信負荷を減らすことができる。また、補正データまたは認証データを単体で送信する場合と比較して、通信データ中から補正データまたは認証データが抽出され、解析されてしまう可能性を低減することができる。さらに、期待値を補正する補正処理または認証処理がおこなわれるのは所定の制御コマンドの送信時のみであるので、全ての制御コマンドの送信時に認証処理や補正処理をおこなうのと比べて、主制御部や周辺部の処理負荷を減らすことができる。なお、補正データおよび認証データを、デモ表示開始コマンドまたはデモ表示停止コマンドのどちらか一方にのみ付加することとしてもよい。この場合、主制御部や周辺部の処理負荷をさらに減らすことができ、電子機器に認証処理および補正処理を追加する作業がさらに容易になる。また、補正処理をおこなってから認証処理をおこなうため、たとえば主制御部が変更されても、変更後の主制御部を正規の基板であると認証することができる。   According to the first aspect of the present invention, when the control command transmitted from the main control unit is a demonstration display start command or a demonstration display stop command, correction data and authentication data are added to the control command. Thereby, compared with the case where correction data or authentication data is transmitted independently, the communication load between a main control part and a peripheral part can be reduced. 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. Furthermore, since the correction process or the 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 part and the peripheral part can be reduced. The correction data and the authentication data may be added only to either the demonstration display start command or the demonstration display stop command. In this case, the processing load on the main control unit and the peripheral part can be further reduced, and the work of adding authentication processing and correction processing to the electronic device is further facilitated. Further, since the authentication process is performed after the correction process is performed, for example, even if the main control unit is changed, the changed main control unit can be authenticated as a regular board.

ここで、デモ表示は、電子機器のメインの処理がおこなわれていないときに表示される。よって、補正処理や認証処理による処理負荷がメイン処理に影響を与えることがない。このため、主制御部や周辺部が高度な処理能力を有していない場合や、メイン処理の処理負荷が大きい電子機器であっても、補正処理機能および認証処理機能を追加することができる。   Here, the demonstration display is displayed when the main processing of the electronic device is not performed. Therefore, the processing load due to the correction process and the authentication process does not affect the main process. For this reason, a correction processing function and an authentication processing function can be added even when the main control unit and the peripheral unit do not have a high processing capability, or even in an electronic device having a large processing load on the main processing.

さらに、制御コマンドがデモ表示開始コマンドである場合に、制御コマンドに補正データを付加し、制御コマンドがデモ表示停止コマンドである場合に、制御コマンドに認証データを付加してもよい。デモ表示は、デモ表示開始コマンドによって開始され、デモ表示停止コマンドによって停止される。このため、1回のデモ表示に、デモ表示開始コマンドとデモ表示停止コマンドがこの順に1度ずつ送信される。したがって、1回のデモ表示において、補正処理と認証処理をこの順に両処理ともおこなうことができる。このように、メイン処理以外の状態の間に、補正処理と認証処理をおこなうことができるため、メイン処理をおこなう前に、不正を検知することができる。このため、メイン処理を安全な状態でおこなわせることができる。   Further, when the control command is a demonstration display start command, correction data may be added to the control command, and when the control command is a demonstration display stop command, authentication data may be added to the control command. The demonstration display is started by a demonstration display start command and stopped by a demonstration display stop command. For this reason, a demo display start command and a demo display stop command are transmitted once in this order in one demo display. Therefore, both correction processing and authentication processing can be performed in this order in one demonstration display. As described above, since the correction process and the authentication process can be performed during a state other than the main process, fraud can be detected before the main process is performed. For this reason, the main process can be performed in a safe state.

なお、制御コマンドがデモ表示停止コマンドである場合に、制御コマンドに補正データを付加し、制御コマンドがデモ表示停止コマンドである場合に、制御コマンドに認証データを付加してもよい。このように、補正データまたは認証データをデモ表示開始コマンドまたはデモ表示停止コマンドに任意に付加すればよいため、補正処理や認証処理を追加する設計の自由度が増し、第三者に補正データや認証データが窃取されにくくなる。   When the control command is a demonstration display stop command, correction data may be added to the control command, and when the control command is a demonstration display stop command, authentication data may be added to the control command. Since correction data or authentication data can be arbitrarily added to the demonstration display start command or demonstration display stop command in this way, the degree of freedom in design for adding correction processing and authentication processing is increased. Authentication data is less likely to be stolen.

また、補正処理や認証処理のタイミングではない場合に、制御コマンドにダミー認証データを付加することができる。これによって、補正データや認証データがいつ送信されたかを第三者に知られることを防ぐことができる。したがって、補正データや認証データが窃取されることを防ぐことができるため、認証の強度を上げることができる。   Further, dummy authentication data can be added to the control command when it is not the timing of the correction process or the authentication process. As a result, it is possible to prevent a third party from knowing when correction data or authentication data has been transmitted. Therefore, the correction data and the authentication data can be prevented from being stolen, so that the authentication strength can be increased.

さらに、補正データ、認証データまたはダミー認証データを付加する付加部と、補正データ付制御コマンド、認証データ付制御コマンドまたはダミー認証データ付制御コマンドを周辺部に送信する送信部と、がそれぞれ1つのみであり、付加するデータの種類毎に分かれていない。このため、本発明をたとえば遊技機などの機器に適用する際に、プログラムコードやデータを記憶するメモリ容量を節約することができる。また、たとえば本発明を適用した遊技機などの機器の動作検証を行う際に、付加部について1つのみ、送信部についても1つのみを検証すればよく、検証にかかる工程数を少なくすることができる。   Furthermore, there is one additional section for adding correction data, authentication data, or dummy authentication data, and one transmission section for transmitting a control command with correction data, a control command with authentication data, or a control command with dummy authentication data to the peripheral section. However, it is not divided for each type of data to be added. For this reason, when the present invention is applied to a device such as a gaming machine, it is possible to save a memory capacity for storing program codes and data. For example, when performing operation verification of a device such as a gaming machine to which the present invention is applied, only one additional unit and only one transmission unit need to be verified, and the number of steps required for verification is reduced. Can do.

また、請求項2の発明にかかる電子機器は、請求項1に記載の発明において、前記付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部に電源が投入されてから所定回数後の前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、当該デモ表示開始コマンドまたは当該デモ表示停止コマンドに前記補正データを付加することを特徴とする。   The electronic device according to a second aspect of the present invention is the electronic device according to the first aspect, wherein the adding means is configured to perform the control command transmitted to the peripheral portion a predetermined number of times after the main control portion is powered on. In the case of the later demonstration display start command or the demonstration display stop command, the correction data is added to the demonstration display start command or the demonstration display stop command.

この請求項2の発明によれば、たとえば電源が投入される前に主制御部が他の主制御部に変更されても、電源が投入されてから所定回数後のデモ表示開始コマンドまたはデモ表示停止コマンドで変更後の主制御部に応じた期待値に補正することができる。このため、認証処理の前に補正処理をおこなうことができる、かつ補正処理のタイミングを第三者に見破られることを防ぐことができる。したがって、変更後の主制御部を正規の基板であると認証することができ、かつ補正データを窃取されることを防ぐことができる。   According to the second aspect of the present invention, for example, even if the main control unit is changed to another main control unit before the power is turned on, the demonstration display start command or the demo display after a predetermined number of times after the power is turned on A stop command can be used to correct the expected value according to the changed main control unit. For this reason, it is possible to perform the correction process before the authentication process, and it is possible to prevent the timing of the correction process from being overlooked by a third party. Therefore, it is possible to authenticate the changed main control unit as a legitimate board and to prevent the correction data from being stolen.

また、請求項3の発明にかかる電子機器は、請求項1または2に記載の発明において、前記付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部のリセットされてから所定回数後の前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、当該デモ表示開始コマンドまたは当該デモ表示停止コマンドに前記補正データを付加することを特徴とする。   The electronic device according to a third aspect of the present invention is the electronic device according to the first or second aspect, wherein the adding means is a predetermined number of times after the control command transmitted to the peripheral section is reset by the main control section. In the case of the later demonstration display start command or the demonstration display stop command, the correction data is added to the demonstration display start command or the demonstration display stop command.

この請求項3の発明によれば、たとえばリセット後の動作開始時から所定回数後のデモ表示開始コマンドまたはデモ表示停止コマンドの送信時に期待値を補正することができる。このため、認証処理の前に補正処理をおこなうことができ、かつ補正処理のタイミングを第三者に見破られることを防ぐことができる。したがって、変更後の主制御部を正規の基板であると認証することができ、かつ補正データを窃取されることを防ぐことができる。   According to the third aspect of the present invention, for example, the expected value can be corrected when a demo display start command or a demo display stop command is transmitted a predetermined number of times after the start of operation after reset. For this reason, it is possible to perform the correction process before the authentication process, and it is possible to prevent the correction process from being overlooked by a third party. Therefore, it is possible to authenticate the changed main control unit as a legitimate board and to prevent the correction data from being stolen.

また、請求項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 adding means is not the control command to which the correction data or the authentication data is added. The dummy authentication data is added when the control command is the demonstration display start command or the demonstration display stop command before the correction data is added.

この請求項4の発明によれば、たとえば第三者に、デモ表示開始コマンドまたはデモ表示停止コマンドの送信時に補正処理や認証処理がおこなわれることを知られても、補正データや認証データを送るタイミングを知られないため、補正データや認証データが窃取されず、認証の強度を上げることができる。   According to the invention of claim 4, for example, even if it is known that a correction process or an authentication process is performed when a demo display start command or a demo display stop command is transmitted to a third party, the correction data and the authentication data are sent. Since the timing is not known, correction data and authentication data are not stolen, and the strength of authentication can be increased.

また、請求項5の発明にかかる電子機器は、請求項1〜3のいずれか一つに記載の発明において、前記付加手段は、前記デモ表示開始コマンドまたは前記デモ表示停止コマンド以外の種類の制御コマンドの場合に、前記ダミー認証データを付加することを特徴とする。   An electronic device according to a fifth aspect of the present invention is the electronic device according to any one of the first to third aspects, wherein the additional means is a control other than the demo display start command or the demo display stop command. In the case of a command, the dummy authentication data is added.

この請求項5の発明によれば、たとえば第三者に、デモ表示開始コマンドまたはデモ表示停止コマンドの送信時に補正処理や認証処理がおこなわれていることを知られないため、補正データや認証データが窃取されず、認証の強度を上げることができる。   According to the invention of claim 5, for example, it is not known to a third party that the correction process or the authentication process is being performed when the demonstration display start command or the demonstration display stop command is transmitted. Is not stolen, and the strength of authentication can be increased.

また、請求項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 authentication unit receives the control command with dummy authentication data by the reception unit. The main control unit is authenticated by omitting the process of determining whether or not the value calculated by using the dummy authentication data by the determination unit matches the expected value.

この請求項6の発明によれば、周辺部における余計な処理を増やすことなくダミー認証データの送信処理を追加することができる。したがって、簡単な方法で、補正データや認証データが窃取されることを防ぎ、認証の強度を上げることができる。   According to the sixth aspect of the present invention, dummy authentication data transmission processing can be added without increasing unnecessary processing in the peripheral portion. Therefore, the correction data and authentication data can be prevented from being stolen by a simple method, and the strength of authentication can be increased.

また、請求項7の発明にかかる電子機器は、請求項1〜5のいずれか一つに記載の発明において、前記判断手段は、前記受信手段によって受信された前記ダミー認証データ付制御コマンドを用いて算出された値と前記期待値とが一致するか否かを判断し、前記認証手段は、前記判断手段による判断結果が前記ダミー認証データを用いて算出された値と前記期待値とが一致したか否かに関わらず、前記主制御部を認証することを特徴とする。   An electronic device according to a seventh aspect of the present invention is the electronic device according to any one of the first to fifth aspects, wherein the determining means uses the control command with dummy authentication data received by the receiving means. Whether the value calculated by the determination unit matches the expected value, and the authentication unit determines that the determination result by the determination unit matches the value calculated using the dummy authentication data and the expected value. Regardless of whether or not it is performed, the main control unit is authenticated.

この請求項7の発明によれば、周辺部がダミー認証データを受信した場合でも、認証データを受信した場合と同様の処理をおこなうことができる。このため、周辺部における処理時間、または処理によって発生する熱量などが、正規な認証データを受信し認証処理をおこなうのと、同程度とすることができる。したがって、第三者に周辺部において認証処理をおこなっているタイミングを知られることを防ぐことができるため、より認証の強度を上げることができる。   According to the seventh aspect of the present invention, even when the peripheral portion receives dummy authentication data, the same processing as when authentication data is received can be performed. For this reason, the processing time in the peripheral portion or the amount of heat generated by the processing can be comparable to that when the normal authentication data is received and the authentication processing is performed. Therefore, since it is possible to prevent a third party from knowing the timing at which the authentication processing is performed in the peripheral portion, the strength of authentication can be further increased.

また、請求項8の発明にかかる電子機器は、請求項1〜7のいずれか一つに記載の発明において、前記付加手段は、前記周辺部に送信する前記制御コマンドが、前記送信手段によって送信された前記補正データ付制御コマンドによって開始された前記デモ表示の処理を終了させる前記デモ表示停止コマンドである場合、当該デモ表示停止コマンドに前記認証データを付加することを特徴とする。   According to an eighth aspect of the present invention, in the electronic device according to any one of the first to seventh aspects, the adding unit transmits the control command transmitted to the peripheral portion by the transmitting unit. In the case of the demonstration display stop command for ending the demonstration display process started by the control command with correction data, the authentication data is added to the demonstration display stop command.

この請求項8の発明によれば、認証処理の前に補正処理をおこなうことができるので、変更後の主制御部を正規の基板であると認証することができる。また、補正処理をおこなった後に、認証処理をおこなうことができるので、認証の強度を向上させることができる。   According to the eighth aspect of the present invention, since the correction process can be performed before the authentication process, the changed main control unit 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.

また、請求項10の発明にかかる電子機器は、請求項1〜9のいずれか一つに記載の発明において、前記主制御部は、前記主制御部に設定されている固有の値を記録する記録手段を備え、前記補正データ生成手段は、前記記録手段によって記録された前記固有の値を用いて前記補正データを生成することを特徴とする。   According to a tenth aspect of the present invention, in the electronic device according to any one of the first to ninth aspects, 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.

この請求項10の発明によれば、主制御部が複数ある場合、各主制御部を認識可能な値によって補正データを生成することができる。これによって、期待値を各主制御部に固有の値とすることができるため、より不正な基板を検知しやすくなり、認証の強度を向上させることができる。   According to the tenth 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.

また、請求項11の発明にかかる電子機器は、請求項10に記載の発明において、前記補正データ生成手段は、前記主制御部が他の前記主制御部に変更された場合、前記記録手段に記録された、変更される前の前記主制御部に設定されていた固有の値と、変更された後の他の前記主制御部に設定されている固有の値との差分を、前記補正データとして生成することを特徴とする。   According to an eleventh aspect of the present invention, in the electronic device according to the tenth aspect, the correction data generating unit may be configured such that when the main control unit is changed to another main control unit, the correction unit is stored in the recording unit. 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.

この請求項11の発明によれば、主制御部が複数ある場合、各主制御部を認識可能な値の差分によって補正データを生成することができる。これによって、期待値を各主制御部に固有の値とすることができるため、より不正な基板を検知しやすくなり、認証の強度を向上させることができる。   According to the eleventh 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.

また、請求項12の発明にかかる電子機器は、請求項10または11に記載の発明において、前記補正データ生成手段は、前記固有の値とともに前記補正データを付加する前記制御コマンドを用いて当該補正データを生成することを特徴とする。   An electronic device according to a twelfth aspect of the invention is the electronic device according to the tenth or eleventh aspect, wherein the correction data generation means uses the control command to add the correction data together with the unique value. It is characterized by generating data.

この請求項12の発明によれば、補正データとともに送信する制御コマンド(所定の制御コマンド)を用いて認証データを生成する。一般に、不正な制御基板は、正規の主制御部と異なる制御コマンドを送信することによって、周辺部に不正な動作をおこなわせようとする。したがって、今回送信する制御コマンドを用いて補正データを生成すれば、不正な制御基板によって補正データを再利用された場合であっても、補正データと制御コマンドの整合がとれず、不正を検知することができる。   According to the twelfth aspect of the present invention, the authentication data is generated using the control command (predetermined control 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.

また、請求項13の発明にかかる電子機器は、請求項1〜9のいずれか一つに記載の発明において、前記主制御部は、所定のプログラムコードを記録した記録手段を備え、前記補正データ生成手段は、前記記録手段に記録されたプログラムコードを用いて前記補正データを生成することを特徴とする。   An electronic device according to a thirteenth 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 correction data. The generating means generates the correction data using a program code recorded in the recording means.

この請求項13の発明によれば、主制御部に記録されたプログラムコードを用いて補正データを生成する。これにより、主制御部に記録されたプログラムコードの書き換えや、主制御部の交換などの不正を検知することができる。   According to the thirteenth aspect of the present 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.

また、請求項14の発明にかかる電子機器は、請求項13に記載の発明において、前記補正データ生成手段は、前記プログラムコードとともに前記補正データを付加する前記制御コマンドを用いて当該補正データを生成することを特徴とする。   According to a fourteenth aspect of the present invention, in the electronic device according to the thirteenth aspect, the correction data generating means generates the correction data using the control command for adding the correction data together with the program code. It is characterized by doing.

この請求項14の発明によれば、補正データとともに送信する制御コマンド(デモ表示開始コマンドまたはデモ停止コマンド)を用いて認証データを生成する。一般に、不正な制御部は、正規の主制御部と異なる制御コマンドを送信することによって、周辺部に不正な動作をおこなわせようとする。したがって、今回送信する制御コマンドを用いて補正データを生成すれば、不正な制御部によって補正データを再利用された場合であっても、補正データと制御コマンドの整合がとれず、不正を検知することができる。   According to the fourteenth aspect of the present invention, authentication data is generated using a control command (a demo display start command or a demo stop command) transmitted together with correction data. In general, an unauthorized control unit tries 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 using the control command to be transmitted this time, even if the correction data is reused by an unauthorized control unit, the correction data and the control command cannot be matched, and fraud is detected. be able to.

また、請求項15の発明にかかる電子機器は、請求項1〜14のいずれか一つに記載の発明において、前記主制御部は、所定のプログラムコードを記録した記録手段を備え、前記認証データ生成手段は、前記記録手段によって記録されたプログラムコードを用いて前記認証データを生成することを特徴とする。   An electronic device according to a fifteenth aspect of the present invention is the electronic device according to any one of the first to fourteenth 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.

この請求項15の発明によれば、主制御部に記録されたプログラムコードを用いて認証データを生成する。これにより、主制御部に記録されたプログラムコードの書き換えや、主制御部の交換などの不正を検知することができる。   According to the fifteenth 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.

また、請求項16の発明にかかる電子機器は、請求項15に記載の発明において、前記認証データ生成手段は、前記プログラムコードとともに前記認証データを付加する前記制御コマンドを用いて当該認証データを生成することを特徴とする。   According to a sixteenth aspect of the present invention, in the electronic device according to the fifteenth aspect, the authentication data generating means generates the authentication data using the control command that adds the authentication data together with the program code. It is characterized by doing.

この請求項16の発明によれば、認証データとともに送信する制御コマンド(デモ表示開始コマンドまたはデモ表示停止コマンド)を用いて認証データを生成する。したがって、今回送信する制御コマンドを用いて認証データを生成すれば、不正な制御部によって認証データを再利用された場合であっても、認証データと制御コマンドの整合がとれず、不正を検知することができる。   According to the sixteenth aspect of the present invention, the authentication data is generated using the control command (demo display start command or demo display stop command) transmitted together with the authentication data. Therefore, if the authentication data is generated using the control command to be transmitted this time, even if the authentication data is reused by an unauthorized control unit, the authentication data and the control command cannot be matched, and fraud is detected. be able to.

また、請求項17の発明にかかる電子機器は、請求項1〜16のいずれか一つに記載の発明において、前記補正手段は、前記主制御部から送信された前記制御コマンドが前記補正データ付制御コマンドの場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする。   An electronic device according to a seventeenth aspect of the present invention is the electronic device according to any one of the first to sixteenth aspects, wherein the correction unit 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.

この請求項17の発明によれば、周辺部は、制御コマンドに補正データが付加されているか否かを確認するのみで、補正処理をおこなうか否かを判断することができる。よって、補正処理による周辺部の処理負荷を低減させることができる。   According to the seventeenth 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.

また、請求項18の発明にかかる電子機器は、請求項1〜16のいずれか一つに記載の発明において、前記補正手段は、前記主制御部から送信された前記制御コマンドが前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする。   An electronic device according to an invention of claim 18 is the electronic device according to any one of claims 1 to 16, wherein the correction means is configured to start the demonstration display when the control command transmitted from the main control unit. In the case of a command or the demonstration display stop command, the expected value held in the peripheral portion is corrected using the control command with correction data.

この請求項18の発明によれば、周辺部は、主制御部が送信した制御コマンドの種類を確認して、補正処理をおこなうか否かを判断することができる。よって、制御コマンドに基づく処理と補正処理とのタイミング設計をおこないやすくすることができる。   According to the eighteenth 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.

また、請求項19の発明にかかる電子機器は、請求項1〜18のいずれか一つに記載の発明において、前記判断手段は、前記主制御部から送信された前記制御コマンドが前記認証データ付制御コマンドの場合、前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致するか否かを判断することを特徴とする。   An electronic device according to a nineteenth aspect of the present invention is the electronic device according to any one of the first to eighteenth aspects, wherein the determination means includes the control data 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.

この請求項19の発明によれば、周辺部は、制御コマンドに認証データが付加されているか否かを確認するのみで、認証処理をおこなうか否かを判断することができる。よって、認証処理による周辺部の処理負荷を低減させることができる。   According to the nineteenth aspect of the present invention, the peripheral portion 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.

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

この請求項20の発明によれば、周辺部は、主制御部が送信した制御コマンドの種類を確認して、認証処理をおこなうか否かを判断することができる。よって、制御コマンドに基づく処理と認証処理とのタイミング設計をおこないやすくすることができる。   According to the twentieth 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.

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

この請求項21の発明によれば、主制御部に不正がおこなわれた旨を、ユーザに報知することができる。   According to the twenty-first aspect of the present invention, the user can be notified that fraud has been made to the main control unit.

また、請求項22の発明にかかる遊技機は、請求項1〜21のいずれか一つに記載の電子機器を備え、主制御基板は、前記認証データ付制御コマンドを送信し、周辺基板は、前記主制御基板によって送信された前記認証データ付制御コマンドに基づいて認証処理をおこなうことを特徴とする。   A gaming machine according to a twenty-second aspect of the invention includes the electronic device according to any one of the first to twenty-first aspects, 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.

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

また、この発明にかかる認証方法は、制御コマンドを送信する主制御部と、前記主制御部によって送信された制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器における認証方法であって、前記主制御部において、前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正する補正処理のための補正データを生成する補正データ生成工程と、前記主制御部を認証する認証処理のための認証データを生成する認証データ生成工程と、前記認証データのダミーデータ(以下、「ダミー認証データ」という)を生成するダミー認証データ生成工程と、前記周辺部に送信する前記制御コマンドが、前記電子機器のメインの処理の待機中に表示されるデモ表示を開始する制御コマンド(以下、「デモ表示開始コマンド」という)または前記デモ表示を停止させる制御コマンド(以下、「デモ表示停止コマンド」という)である場合、前記補正データ生成工程によって生成された前記補正データを当該制御コマンドに付加し、前記補正データが付加された後に、前記周辺部に送信する前記制御コマンドが前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、前記認証データ生成工程によって生成された前記認証データを当該制御コマンドに付加し、前記補正データまたは前記認証データが付加された前記制御コマンド以外の制御コマンドに、前記ダミー認証データ生成工程によって生成されたダミー認証データを付加し、前記補正データ、前記認証データあるいは前記ダミー認証データのいずれかを付加した前記制御コマンドを同一のデータ長とする付加工程と、前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)、前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)または前記ダミー認証データの付加された前記制御コマンド(以下、「ダミー認証データ付制御コマンド」という)を前記周辺部に送信する送信工程と、を含み、前記周辺部において、前記主制御部によって送信された前記補正データ付制御コマンド、前記認証データ付制御コマンドまたは前記ダミー認証データ付制御コマンドを受信する受信工程と、前記受信工程によって前記補正データ付制御コマンドを受信した場合、当該補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正工程と、前記受信工程によって前記認証データ付制御コマンドを受信した場合、当該認証データ付制御コマンドを用いて算出された値が、前記補正工程によって補正された前記期待値と一致するか否かを判断する判断工程と、前記判断工程によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御部を認証する認証工程と、を含み、前記認証工程は、前記受信工程によって前記ダミー認証データ付制御コマンドを受信した場合、前記主制御部を認証することを特徴とする。   An authentication method according to the present invention is an authentication method in an electronic device including 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 correction processing for correcting an expected value used for collation of data held in the peripheral unit and transmitted from the main control unit; An authentication data generating step for generating authentication data for authentication processing for authenticating the main control unit; a dummy authentication data generating step for generating dummy data of the authentication data (hereinafter referred to as “dummy authentication data”); The control command to be transmitted to the peripheral part is a control command for starting a demonstration display (hereinafter referred to as “de- Display control command) or a control command for stopping the demonstration display (hereinafter referred to as “demo display stop command”), the correction data generated by the correction data generation step is added to the control command, After the correction data is added, when the control command transmitted to the peripheral portion is the demonstration display start command or the demonstration display stop command, the authentication data generated by the authentication data generation step is the control command. The dummy authentication data generated by the dummy authentication data generation step is added to a control command other than the control command to which the correction data or the authentication data is added, and the correction data, the authentication data, or the The control command with one of the dummy authentication data added. And the control command to which the correction data is added (hereinafter referred to as “control command with correction data”) and the control command to which the authentication data is added (hereinafter referred to as “authentication”). A transmission step of transmitting the control command with the dummy authentication data (hereinafter referred to as “control command with dummy authentication data”) to the peripheral portion. A receiving step for receiving the control command with correction data, the control command with authentication data or the control command with dummy authentication data transmitted by the main control unit, and the control command with correction data received by the receiving step. The expected value held in the peripheral portion using the control command with correction data. When the control process with authentication data is received by the correction process to be corrected and the reception process, does the value calculated using the control command with authentication data match the expected value corrected by the correction process? A determination step of determining whether or not, and an authentication step of authenticating the main control unit when it is determined that the value calculated by using the control command with authentication data by the determination step matches the expected value The authentication step authenticates the main control unit when receiving the control command with dummy authentication data in the receiving step.

この発明によれば、主制御部から送信される制御コマンドがデモ表示開始コマンドまたはデモ表示停止コマンドである場合、制御コマンドに補正データや認証データを付加する。これにより、補正データまたは認証データを単体で送信する場合と比較して、主制御部と周辺部との間の通信負荷を減らすことができる。また、補正データまたは認証データを単体で送信する場合と比較して、通信データ中から補正データまたは認証データが抽出され、解析されてしまう可能性を低減することができる。さらに、期待値を補正する補正処理または認証処理がおこなわれるのは所定の制御コマンドの送信時のみであるので、全ての制御コマンドの送信時に認証処理や補正処理をおこなうのと比べて、主制御部や周辺部の処理負荷を減らすことができる。なお、補正データおよび認証データを、デモ表示開始コマンドまたはデモ表示停止コマンドのどちらか一方にのみ付加することとしてもよい。この場合、主制御部や周辺部の処理負荷をさらに減らすことができ、電子機器に認証処理および補正処理を追加する作業がさらに容易になる。また、補正処理をおこなってから認証処理をおこなうため、たとえば主制御部が変更されても、変更後の主制御部を正規の基板であると認証することができる。   According to the present invention, when the control command transmitted from the main control unit is a demonstration display start command or a demonstration display stop command, correction data and authentication data are added to the control command. Thereby, compared with the case where correction data or authentication data is transmitted independently, the communication load between a main control part and a peripheral part can be reduced. 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. Furthermore, since the correction process or the 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 part and the peripheral part can be reduced. The correction data and the authentication data may be added only to either the demonstration display start command or the demonstration display stop command. In this case, the processing load on the main control unit and the peripheral part can be further reduced, and the work of adding authentication processing and correction processing to the electronic device is further facilitated. Further, since the authentication process is performed after the correction process is performed, for example, even if the main control unit is changed, the changed main control unit can be authenticated as a regular board.

ここで、デモ表示は、電子機器のメインの処理がおこなわれていないときに表示される。よって、補正処理や認証処理による処理負荷がメイン処理に影響を与えることがない。このため、主制御部や周辺部が高度な処理能力を有していない場合や、メイン処理の処理負荷が大きい電子機器であっても、補正処理機能および認証処理機能を追加することができる。   Here, the demonstration display is displayed when the main processing of the electronic device is not performed. Therefore, the processing load due to the correction process and the authentication process does not affect the main process. For this reason, a correction processing function and an authentication processing function can be added even when the main control unit and the peripheral unit do not have a high processing capability, or even in an electronic device having a large processing load on the main processing.

さらに、制御コマンドがデモ表示開始コマンドである場合に、制御コマンドに補正データを付加し、制御コマンドがデモ表示停止コマンドである場合に、制御コマンドに認証データを付加してもよい。デモ表示は、デモ表示開始コマンドによって開始され、デモ表示停止コマンドによって停止される。このため、1回のデモ表示に、デモ表示開始コマンドとデモ表示停止コマンドがこの順に1度ずつ送信される。したがって、1回のデモ表示において、補正処理と認証処理をこの順に両処理ともおこなうことができる。このように、メイン処理以外の状態の間に、補正処理と認証処理をおこなうことができるため、メイン処理をおこなう前に、不正を検知することができる。このため、メイン処理を安全な状態でおこなわせることができる。   Further, when the control command is a demonstration display start command, correction data may be added to the control command, and when the control command is a demonstration display stop command, authentication data may be added to the control command. The demonstration display is started by a demonstration display start command and stopped by a demonstration display stop command. For this reason, a demo display start command and a demo display stop command are transmitted once in this order in one demo display. Therefore, both correction processing and authentication processing can be performed in this order in one demonstration display. As described above, since the correction process and the authentication process can be performed during a state other than the main process, fraud can be detected before the main process is performed. For this reason, the main process can be performed in a safe state.

なお、制御コマンドがデモ表示停止コマンドである場合に、制御コマンドに補正データを付加し、制御コマンドがデモ表示停止コマンドである場合に、制御コマンドに認証データを付加してもよい。このように、補正データまたは認証データをデモ表示開始コマンドまたはデモ表示停止コマンドに任意に付加すればよいため、補正処理や認証処理を追加する設計の自由度が増し、第三者に補正データや認証データが窃取されにくくなる。   When the control command is a demonstration display stop command, correction data may be added to the control command, and when the control command is a demonstration display stop command, authentication data may be added to the control command. Since correction data or authentication data can be arbitrarily added to the demonstration display start command or demonstration display stop command in this way, the degree of freedom in design for adding correction processing and authentication processing is increased. Authentication data is less likely to be stolen.

また、補正処理や認証処理のタイミングではない場合に、制御コマンドにダミー認証データを付加することができる。これによって、補正データや認証データがいつ送信されたかを第三者に知られることを防ぐことができる。したがって、補正データや認証データが窃取されることを防ぐことができるため、認証の強度を上げることができる。   Further, dummy authentication data can be added to the control command when it is not the timing of the correction process or the authentication process. As a result, it is possible to prevent a third party from knowing when correction data or authentication data has been transmitted. Therefore, the correction data and the authentication data can be prevented from being stolen, so that the authentication strength can be increased.

さらに、補正データ、認証データまたはダミー認証データを付加する付加部と、補正データ付制御コマンド、認証データ付制御コマンドまたはダミー認証データ付制御コマンドを周辺部に送信する送信部と、がそれぞれ1つのみであり、付加するデータの種類毎に分かれていない。このため、本発明をたとえば遊技機などの機器に適用する際に、プログラムコードやデータを記憶するメモリ容量を節約することができる。また、たとえば本発明を適用した遊技機などの機器の動作検証を行う際に、付加部について1つのみ、送信部についても1つのみを検証すればよく、検証にかかる工程数を少なくすることができる。   Furthermore, there is one additional section for adding correction data, authentication data, or dummy authentication data, and one transmission section for transmitting a control command with correction data, a control command with authentication data, or a control command with dummy authentication data to the peripheral section. However, it is not divided for each type of data to be added. For this reason, when the present invention is applied to a device such as a gaming machine, it is possible to save a memory capacity for storing program codes and data. For example, when performing operation verification of a device such as a gaming machine to which the present invention is applied, only one additional unit and only one transmission unit need to be verified, and the number of steps required for verification is reduced. Can do.

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

この発明によれば、上記の認証方法をコンピュータに実行させることができる。   According to the present invention, the above authentication method can be executed by a computer.

本発明によれば、主制御基板を認証するために用いる期待値を簡単な方法で補正し、かつ主制御基板から周辺基板に対する不正制御や、期待値の流用を防止することができるという効果を奏する。   According to the present invention, it is possible to correct the expected value used for authenticating the main control board by a simple method, and to prevent unauthorized control from the main control board to the peripheral board and diversion of the expected value. Play.

(実施の形態)
以下に添付図面を参照して、この発明にかかる電子機器の機能を有したぱちんこ遊技機と、このぱちんこ遊技機に搭載されている複数の基板間(主制御基板および周辺基板)の制御信号に含まれる制御コマンドを認証する認証方法および認証プログラムの好適な実施の形態を詳細に説明する。
(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 game ball 103 is intermittently fired by driving a solenoid or the like in response to the detected game operation, and the game area 103 of the game board 101 is played. 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は、周辺基板330を動作させるための制御コマンドを送信する機能部であり、制御コマンド格納部311、記録部312、補正データ生成部313、認証データ生成部314、ダミー認証データ生成部315、付加部316、送信部317によって構成される。
(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 unit that transmits a control command for operating the peripheral board 330, and includes a control command storage unit 311, a recording unit 312, a correction data generation unit 313, and authentication data generation. 314, a dummy authentication data generation unit 315, an addition unit 316, and a transmission unit 317.

制御コマンド格納部311は、周辺基板330に送信する制御コマンドのデータ(制御コマンドデータ)を格納する。また、記録部312は、主制御基板310に固有の値や所定のプログラムコードを記録する。主制御部201に固有の値とは、たとえば主制御基板310が複数ある場合に、それぞれの主制御基板310を識別可能な値である。   The control command storage unit 311 stores control command data (control command data) transmitted to the peripheral board 330. 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から周辺基板330に送信する制御コマンドを選択して、周辺基板330に制御コマンドを送信する。なお、制御コマンド格納部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 330 according to a predetermined program code recorded in the recording unit 312 and transmits the control command to the peripheral board 330, 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から送信されたデータの照合に用いる期待値を補正するための補正データを生成する。期待値とは、たとえば周辺基板330にあらかじめ(製造時など)保持されている値であり、周辺基板330において主制御基板310から送信されたデータの照合をおこなう際に用いる値である。また、期待値は、固定した値ではなく、たとえば基本値から演算により生成される値でもよい。なお、主制御基板310が複数ある場合、それぞれの主制御基板310に対して期待値は異なることとする。このため、たとえば主制御基板310が他の主制御基板310に変更された場合、他の主制御基板310が正当な主制御基板310であっても、周辺基板330の期待値が補正されないと、周辺基板330においては照合がおこなえなくなってしまったり、正当な主制御基板310を不正な主制御部と判断してしまったりする。このような照合の不具合を防ぐために、主制御基板310は、周辺基板330に保持されている期待値を補正するための補正データを周辺基板330に送信する。   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 (such as during manufacturing) on the peripheral board 330 and is a value that is used when collating data transmitted from the main control board 310 on the peripheral board 330. 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. Therefore, 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 330 is not corrected. The peripheral board 330 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 330 to the peripheral board 330.

補正データ生成部313が補正データを生成するタイミングは、たとえば主制御基板310が他の主制御基板310に変更された場合である。この場合、補正データ生成部313は、周辺基板330に保持された変更前の主制御基板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 330 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は、固有の値とともに、今回送信する制御コマンドを用いて補正データを生成してもよい。また、補正データ生成部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. Furthermore, the correction data generation unit 313 may generate correction data using the control command transmitted this time together with the unique value. 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は、主制御基板310を認証するための認証データを生成する。認証データ生成部314は、たとえば記録部312によって記録されたプログラムコードを用いて認証データを生成する。さらに、認証データ生成部314は、プログラムコードとともに、今回送信する制御コマンドを用いて認証データを生成してもよい。認証データは、認証者(周辺基板330)が、周辺基板330に保持されている期待値を用いて照合をおこなうことにより、主制御基板310を正規の主制御基板310であると認証するための情報である。   The authentication data generation unit 314 generates authentication data for authenticating the main control board 310. The authentication data generation unit 314 generates authentication data using, for example, a program code recorded by the recording unit 312. Furthermore, the authentication data generation unit 314 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 330) 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 330. Information.

ダミー認証データ生成部315は、認証データのダミーデータ(以下、「ダミー認証データ」という)を生成する。ダミー認証データは、認証者(周辺基板330)が、周辺基板330に保持されている期待値を用いて照合をおこなわずに、主制御基板310を正規の主制御基板310であると仮に認証するための情報である。また、ダミー認証データは、周辺基板330に保持されている期待値を用いて照合をおこない、照合の結果が一致しても不一致でも主制御基板310を正規の主制御基板310であると仮に認証するための情報である。さらに、ダミー認証データは、上述の補正データおよび認証データを用いた認証とは別種類の認証に用いる認証データであってもよい。   The dummy authentication data generation unit 315 generates dummy data of authentication data (hereinafter referred to as “dummy authentication data”). In the dummy authentication data, the authenticator (peripheral board 330) temporarily authenticates the main control board 310 as the regular main control board 310 without performing verification using the expected value held in the peripheral board 330. It is information for. The dummy authentication data is collated using the expected value held in the peripheral board 330, and the main control board 310 is temporarily authenticated as the regular main control board 310 regardless of whether the collation results match or do not match. It is information to do. Further, the dummy authentication data may be authentication data used for a different type of authentication from the above-described authentication using the correction data and the authentication data.

付加部316は、周辺基板330に送信する制御コマンドが電子機器のメインの処理の待機中に表示されるデモ表示を開始する制御コマンド(以下、「デモ表示開始コマンド」という)である場合、補正データ生成部313によって生成された補正データをこのデモ表示開始コマンドに付加して制御信号を生成する。ここで、デモ表示開始コマンドは、電子機器がぱちんこ遊技機の場合、ぱちんこ遊技機の非遊技状態におけるデモ表示(客待ちデモ)を実行させる客待ちデモコマンドである。   When the control command transmitted to the peripheral board 330 is a control command for starting a demonstration display displayed during standby of the main processing of the electronic device (hereinafter referred to as “demo display start command”), the addition unit 316 corrects the correction. The correction data generated by the data generation unit 313 is added to the demonstration display start command to generate a control signal. Here, when the electronic device is a pachinko gaming machine, the demo display start command is a customer waiting demo command for executing a demonstration display (customer waiting demo) in a non-gaming state of the pachinko gaming machine.

付加部316は、具体的には、周辺基板330に送信する制御コマンドが主制御基板310に電源が投入されてから所定回数後のデモ表示開始コマンドである場合、このデモ表示開始コマンドに補正データを付加する。また、付加部316は、周辺基板330に送信する制御コマンドが主制御基板310のリセットされてから所定回数後のデモ表示開始コマンドである場合、このデモ表示開始コマンドに補正データを付加してもよい。なお、付加部316は、電源を投入されてから電源がオフされるまでの間に、1回以上のデモ表示開始コマンドに補正データを付加すればよく、複数回のデモ表示開始コマンドに補正データを付加してもよい。すなわち、付加部316は、制御コマンドに認証データが付加される前に、デモ表示開始コマンドに補正データを付加すればよい。   Specifically, when the control command transmitted to the peripheral board 330 is a demonstration display start command a predetermined number of times after the main control board 310 is powered on, the adding unit 316 adds correction data to the demonstration display start command. Is added. Further, when the control command transmitted to the peripheral board 330 is a demo display start command after a predetermined number of times after the main control board 310 is reset, the adding unit 316 may add correction data to the demo display start command. Good. The adding unit 316 may add correction data to one or more demonstration display start commands between the time when the power is turned on and the time when the power is turned off. May be added. That is, the adding unit 316 may add correction data to the demonstration display start command before adding authentication data to the control command.

また、付加部316は、後述する送信部317によって補正データ付制御コマンドが周辺基板330に送信された後に、この周辺基板330に送信する制御コマンドがデモ表示(客待ちデモ)を停止させる制御コマンド(以下、「デモ表示停止コマンド」とする)である場合、認証データ生成部314によって生成された認証データを制御コマンドに付加する。付加部316は、具体的には周辺基板330に送信する制御コマンドが、送信部317によって送信された補正データ付制御コマンドによって開始されたデモ表示を停止させるデモ表示停止コマンドである場合、このデモ表示停止コマンドに認証データを付加する。ここで、デモ表示停止コマンドは、電子機器がぱちんこ遊技機の場合、ぱちんこ遊技機の非遊技状態におけるデモ表示(客待ちデモ)を停止させる客待ちデモ停止コマンドである。   In addition, the adding unit 316 transmits a control command with correction data to the peripheral board 330 after the transmission unit 317 described later transmits a control command to stop the demonstration display (customer waiting demo). (Hereinafter referred to as “demo display stop command”), the authentication data generated by the authentication data generation unit 314 is added to the control command. Specifically, when the control command transmitted to the peripheral board 330 is a demonstration display stop command for stopping the demonstration display started by the control command with correction data transmitted by the transmission unit 317, the adding unit 316 transmits the demonstration command. Add authentication data to the display stop command. Here, when the electronic device is a pachinko gaming machine, the demonstration display stop command is a customer waiting demo stop command that stops the demonstration display (customer waiting demo) in the non-gaming state of the pachinko gaming machine.

なお、付加部316は、補正データ付制御コマンドを送信した後の全てのデモ表示停止コマンドに認証データを付加してもよいし、いずれかのデモ表示停止コマンドに認証データを付加してもよい。また、付加部316は、電源投入から所定回数後のデモ表示開始コマンドに補正データが付加した後、電源がオフされるまでの間、デモ表示開始コマンドに認証データを付加してもよい。   The adding unit 316 may add authentication data to all demonstration display stop commands after transmitting the control command with correction data, or may add authentication data to any of the demonstration display stop commands. . Further, the adding unit 316 may add the authentication data to the demonstration display start command after the correction data is added to the demonstration display start command after a predetermined number of times after the power is turned on until the power is turned off.

また、付加部316は、ダミー認証データ生成部315によって生成されたダミー認証データを、補正データまたは認証データが付加された制御コマンド以外の制御コマンドに付加する。付加部316は、補正データおよび認証データの付加された制御コマンド以外の制御コマンドには、ランダムにダミー認証データを付加してもよいし、あらかじめ設定された順番または種類の制御コマンドにダミー認証データを付加してもよい。   The adding unit 316 adds the dummy authentication data generated by the dummy authentication data generating unit 315 to a control command other than the control command to which correction data or authentication data is added. The adding unit 316 may randomly add dummy authentication data to control commands other than the control command to which correction data and authentication data are added, or dummy authentication data may be added to a preset order or type of control commands. May be added.

付加部316は、具体的には、補正データまたは認証データが付加された制御コマンド以外の制御コマンドが、補正データが付加される前のデモ表示開始コマンドまたはデモ表示停止コマンドの場合に、ダミー認証データを付加する。すなわち、付加部316は、補正データ付制御コマンドを送信する前のデモ表示開始コマンドまたはデモ表示停止コマンドの場合に、ダミー認証データを付加する。補正データ付制御コマンドを送信する前の全てのデモ表示開始コマンドまたはデモ表示停止コマンドにダミー認証データを付加してもよいし、いずれかのデモ表示開始コマンドまたはデモ表示停止コマンドにダミー認証データを付加してもよい。さらに、付加部316は、補正データ付制御コマンドを送信した後のデモ表示開始コマンドまたはデモ表示停止コマンドに、ダミー認証データを付加してもよい。また、付加部316は、デモ表示開始コマンドまたはデモ表示停止コマンド以外の種類の制御コマンドの場合に、ダミー認証データを付加してもよい。   Specifically, the adding unit 316 performs dummy authentication when the control command other than the control command to which the correction data or the authentication data is added is a demonstration display start command or a demonstration display stop command before the correction data is added. Append data. That is, the adding unit 316 adds dummy authentication data in the case of a demonstration display start command or a demonstration display stop command before transmitting the control command with correction data. Dummy authentication data may be added to all demonstration display start commands or demonstration display stop commands before sending a control command with correction data, or dummy authentication data may be added to any demonstration display start command or demonstration display stop command. It may be added. Further, the adding unit 316 may add dummy authentication data to the demonstration display start command or the demonstration display stop command after transmitting the control command with correction data. Further, the adding unit 316 may add dummy authentication data in the case of a control command of a type other than the demonstration display start command or the demonstration display stop command.

送信部317は、付加部316によって補正データの付加された制御コマンド(以下、「補正データ付制御コマンド」という)、認証データの付加された制御コマンド(以下、「認証データ付制御コマンド」という)またはダミー認証データの付加された制御コマンド(以下、「ダミー認証データ付制御コマンド」という)を周辺基板330に送信する。送信部317は、今回送信するコマンドがデモ表示開始コマンドまたはデモ表示停止コマンドである場合は、補正データ付制御コマンドを周辺基板330に送信し、補正データ付制御コマンドを送信した後に、送信するコマンドがデモ表示開始コマンドまたはデモ表示停止コマンドでない場合は、補正データや認証データが付加されていない制御コマンドを周辺基板330に送信する。なお、送信部317は、今回送信するコマンドがデモ表示開始コマンドまたはデモ表示停止コマンドであっても、補正データまたは認証データが付加されていない場合、ダミー認証データ付制御コマンドを周辺基板330に送信してもよい。   The transmission unit 317 includes a control command to which correction data is added by the adding unit 316 (hereinafter referred to as “control command with correction data”) and a control command to which authentication data is added (hereinafter referred to as “control command with authentication data”). Alternatively, a control command to which dummy authentication data is added (hereinafter referred to as “control command with dummy authentication data”) is transmitted to the peripheral board 330. When the command to be transmitted this time is a demonstration display start command or a demonstration display stop command, the transmission unit 317 transmits a control command with correction data to the peripheral board 330, and transmits the control command with correction data after transmitting the control command with correction data. Is not a demonstration display start command or a demonstration display stop command, a control command to which no correction data or authentication data is added is transmitted to the peripheral board 330. Even if the command to be transmitted this time is a demonstration display start command or a demonstration display stop command, if the correction data or the authentication data is not added, the transmission unit 317 transmits a control command with dummy authentication data to the peripheral board 330. May be.

このように、付加部316および送信部317は、補正データ付制御コマンドが周辺基板330に送信された後に、認証データを付加して認証データ付制御コマンドを周辺基板330に送信する。したがって、周辺基板330においては、期待値の補正処理をおこなってから、認証処理をおこなうことができる。このため、たとえば主制御基板310が他の主制御基板310に変更された場合に、期待値が補正される前に認証処理がおこなわれるのを防ぐことができる。これによって、周辺基板330における認証処理において、正当な主制御基板310が不当な主制御基板310であると認証されるのを防ぐことができる。   Thus, after the control command with correction data is transmitted to the peripheral board 330, the adding unit 316 and the transmission unit 317 add the authentication data and transmit the control command with authentication data to the peripheral board 330. Therefore, the peripheral substrate 330 can perform the authentication process after performing 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. Accordingly, 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 330.

また、付加部316は、周辺基板330にデモ表示開始コマンドを送信する際に補正データを付加し、デモ表示停止コマンドを送信する際に認証データを付加する。デモ表示開始コマンドまたはデモ表示停止コマンドは、ぱちんこ遊技機が非遊技状態、すなわちぱちんこ遊技機のメインの処理である遊技(ゲーム進行)関連処理がおこなわれていない場合に送信される。このように、客待ちデモの開始のときに補正処理をおこない、客待ちデモの停止のときに認証処理をおこなうことで、非遊技状態の間に、補正処理と認証処理とをおこなうことができる。したがって、遊技状態になる前に、不正を検知することができるため、遊技状態のときに不正がおこなわれるのを防ぐことができる。また、非遊技状態の間に補正処理や認証処理をおこなうことで、これらの処理負荷が遊技関連処理に影響を与えることがない。このため、主制御基板301や周辺基板330が高度な処理能力を有していない場合や、遊技関連処理の処理負荷が大きいぱちんこ遊技機であっても、補正処理機能や認証処理機能を容易に追加することができる。   The adding unit 316 adds correction data when transmitting a demonstration display start command to the peripheral board 330, and adds authentication data when transmitting a demonstration display stop command. The demonstration display start command or the demonstration display stop command is transmitted when the pachinko gaming machine is in a non-game state, that is, when a game (game progress) related process which is the main process of the pachinko gaming machine is not performed. As described above, the correction process is performed at the start of the customer waiting demo, and the authentication process is performed at the stop of the customer waiting demo, so that the correction process and the authentication process can be performed during the non-game state. . Therefore, since it is possible to detect fraud before entering the gaming state, it is possible to prevent fraud from being performed in the gaming state. Further, by performing correction processing and authentication processing during the non-game state, these processing loads do not affect game-related processing. Therefore, even if the main control board 301 and the peripheral board 330 do not have a high processing capacity, or even a pachinko gaming machine with a large processing load of game-related processing, the correction processing function and the authentication processing function can be easily performed. Can be added.

なお、付加部316は、周辺基板330にデモ表示停止コマンドを送信する際に、補正データを付加してもよい。この場合、付加部316は、補正データを送信した後の、デモ表示開始コマンドまたはデモ表示停止コマンドを送信する際に、認証データを付加すればよい。   The adding unit 316 may add correction data when transmitting a demonstration display stop command to the peripheral board 330. In this case, the adding unit 316 may add authentication data when transmitting the demonstration display start command or the demonstration display stop command after transmitting the correction data.

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

また、付加部316および送信部317は、補正データ付制御コマンドが周辺基板330に送信される前および後のいずれでも、ダミー認証データを付加してダミー認証データ付制御コマンドを周辺基板330に送信することができる。このようにすることで、主制御基板310から周辺基板330へ補正データや認証データがいつ送信されたのかを、第三者に知られることを防ぎ、補正データや認証データが窃取されることを防ぐことができる。   The adding unit 316 and the transmitting unit 317 add dummy authentication data and transmit the dummy authentication data-added control command to the peripheral board 330 before and after the correction data-added control command is transmitted to the peripheral board 330. can do. By doing so, it is possible to prevent a third party from knowing when correction data and authentication data were transmitted from the main control board 310 to the peripheral board 330, and to prevent the correction data and authentication data from being stolen. Can be prevented.

また、たとえば補正データや認証データを付加しない制御信号のみを送信するような従来の主制御基板を、補正データや認証データを付加した制御信号を送信するような本実施の形態にかかる主制御基板310に変更する場合、全ての制御コマンドの送信処理に補正データまたは認証データの付加処理を追加する手間を省くことができる。このように、所定の制御コマンドの送信処理のみに付加処理を追加すればよいため、処理を追加するための設定の難易度が容易であり、設定にかかる時間を短縮することができる。   Further, for example, a conventional main control board that transmits only a control signal without adding correction data or authentication data, and a main control board according to the present embodiment that transmits a control signal with correction data or authentication data added. In the case of changing to 310, the trouble of adding correction data or authentication data addition processing to the transmission processing of all control commands can be saved. As described above, since it is only necessary to add the additional process only to the transmission process of the predetermined control command, the difficulty level of the setting for adding the process is easy, and the time required for the setting can be shortened.

さらに、補正データ、認証データまたはダミー認証データを付加する付加部316と、補正データ付制御コマンド、認証データ付制御コマンドまたはダミー認証データ付制御コマンドを周辺部に送信する送信部317と、がそれぞれ1つのみであり、付加するデータの種類毎に分かれていない。このため、本発明をたとえば遊技機などの機器に適用する際に、プログラムコードやデータを記憶するメモリ容量を節約することができる。また、たとえば本発明を適用した遊技機などの機器の動作検証を行う際に、付加部について1つのみ、送信部についても1つのみを検証すればよく、検証にかかる工程数を少なくすることができる。   Furthermore, an adding unit 316 that adds correction data, authentication data, or dummy authentication data, and a transmission unit 317 that transmits a control command with correction data, a control command with authentication data, or a control command with dummy authentication data to the peripheral unit, respectively. There is only one, and it is not divided for each type of data to be added. For this reason, when the present invention is applied to a device such as a gaming machine, it is possible to save a memory capacity for storing program codes and data. For example, when performing operation verification of a device such as a gaming machine to which the present invention is applied, only one additional unit and only one transmission unit need to be verified, and the number of steps required for verification is reduced. Can do.

つぎに、演出制御部202や賞球制御部203などの周辺部としての機能を有する周辺基板330の機能的構成について説明する。図3に示すように、演出制御部202、賞球制御部203などの周辺基板330は、受信部331、補正部332、判断部333、認証部334、報知信号出力部335によって構成される。   Next, a functional configuration of the peripheral board 330 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 330 such as the effect control unit 202 and the prize ball control unit 203 includes a reception unit 331, a correction unit 332, a determination unit 333, an authentication unit 334, and a notification signal output unit 335.

受信部331は、主制御基板310によって送信された補正データ付制御コマンド、認証データ付制御コマンドまたはダミー認証データ付制御コマンドを含む制御信号を受信する。受信部331は、あらかじめ定められた順序によって、受信した制御信号が、補正データ付制御コマンド、認証データ付制御コマンドまたはダミー認証データ付制御コマンドのうちのいずれかのコマンドを含んだ制御信号であるかを判断してもよい。   The receiving unit 331 receives a control signal including the control command with correction data, the control command with authentication data, or the control command with dummy authentication data transmitted by the main control board 310. In the receiving unit 331, the received control signal is a control signal including any one of a control command with correction data, a control command with authentication data, or a control command with dummy authentication data in a predetermined order. It may be judged.

補正部332は、受信部331によって補正データ付制御コマンドを受信した場合、この補正データ付制御コマンドを用いて周辺基板330に保持されている期待値を補正する。補正部332は、受信した補正データが暗号化されている場合、この補正データを復元した値を用いて期待値を補正する。   When the correction unit with correction data is received by the reception unit 331, the correction unit 332 corrects the expected value held on the peripheral board 330 using the control command with correction data. When the received correction data is encrypted, the correction unit 332 corrects the expected value using a value obtained by restoring the correction data.

補正部332は、たとえば、制御コマンドに補正データが付加されているか否かを判断し、制御コマンドに補正データが付加されている場合、補正データを用いて周辺基板330の期待値を補正する。また、補正部332は、制御コマンドがデモ表示開始コマンドであるか否かを判断し、制御コマンドがデモ表示開始コマンドである場合、補正データを用いて周辺基板330の期待値を補正することとしてもよい。さらに、補正部332は、制御コマンドが電源投入後の最初のデモ表示開始コマンドであるか否かを判断し、制御コマンドが電源投入後の最初のデモ表示開始コマンドである場合、補正データを用いて周辺基板330の期待値を補正することとしてもよい。また、補正部332は、付加部316がデモ表示停止コマンドを送信する際に補正データを付加する場合、制御コマンドがデモ表示停止コマンドか否かを判断し、制御コマンドがデモ表示停止コマンドである場合、補正データを用いて周辺基板330の期待値を補正してもよい。   For example, the correction unit 332 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 332 corrects the expected value of the peripheral board 330 using the correction data. Further, the correction unit 332 determines whether or not the control command is a demonstration display start command, and corrects the expected value of the peripheral board 330 using the correction data when the control command is the demonstration display start command. Also good. Further, the correction unit 332 determines whether or not the control command is the first demonstration display start command after turning on the power. If the control command is the first demonstration display start command after turning on the power, the correction data is used. The expected value of the peripheral substrate 330 may be corrected. Further, when the correction unit 332 adds correction data when the adding unit 316 transmits a demonstration display stop command, the correction unit 332 determines whether the control command is a demonstration display stop command, and the control command is a demonstration display stop command. In this case, the expected value of the peripheral board 330 may be corrected using the correction data.

判断部333は、受信部331によって認証データ付制御コマンドを受信した場合、この認証データ付制御コマンドを用いて算出された値が、補正部332によって補正された期待値と一致するか否かを判断する。   When the reception unit 331 receives the control command with authentication data, the determination unit 333 determines whether or not the value calculated using the control command with authentication data matches the expected value corrected by the correction unit 332. to decide.

判断部333は、たとえば、制御コマンドに認証データが付加されているか否かを判断し、主制御基板310から送信された制御コマンドに認証データが付加されている場合、認証データ付制御コマンドを用いて算出された値と、期待値と、が一致するか否かを判断する。また、判断部333は、制御コマンドがデモ表示停止コマンドであるか否かを判断し、主制御基板310から送信された制御コマンドがデモ表示停止コマンドである場合、認証データ付制御コマンドを用いて算出された値と、期待値と、が一致するか否かを判断してもよい。さらに、判断部333は、制御コマンドが補正部332において補正がおこなわれたデモ表示開始コマンドによって開始されたデモ表示を停止させるデモ表示停止コマンドであるか否かを判断し、制御コマンドが補正部332において補正がおこなわれたデモ表示開始コマンドによって開始されたデモ表示を停止させるデモ表示停止コマンドである場合、認証データ付制御コマンドを用いて算出された値と、期待値と、が一致するか否かを判断することとしてもよい。   For example, the determination unit 333 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 333 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 333 determines whether or not the control command is a demonstration display stop command. When the control command transmitted from the main control board 310 is the demonstration display stop command, the determination unit 333 uses the control command with authentication data. It may be determined whether the calculated value matches the expected value. Further, the determination unit 333 determines whether or not the control command is a demonstration display stop command for stopping the demonstration display started by the demonstration display start command corrected by the correction unit 332, and the control command is determined by the correction unit. In the case of the demonstration display stop command for stopping the demonstration display started by the demonstration display start command that has been corrected in 332, does the value calculated using the control command with authentication data match the expected value? It may be determined whether or not.

なお、判断部333は、たとえば、制御コマンドにダミー認証データが付加されているか否かを判断し、主制御基板310から送信された制御コマンドにダミー認証データが付加されている場合、ダミー認証データ付制御コマンドを用いて算出された値と期待値とが一致するか否かを判断してもよい。   For example, the determination unit 333 determines whether or not dummy authentication data is added to the control command. If the dummy authentication data is added to the control command transmitted from the main control board 310, the dummy authentication data is determined. It may be determined whether the value calculated using the attached control command matches the expected value.

認証部334は、判断部333によって認証データ付制御コマンドを用いて算出された値と、期待値と、が一致すると判断された場合、主制御基板310を認証する。また、認証部334は、受信部331によってダミー認証データ付制御コマンドを受信した場合、主制御基板310を認証する。具体的には、認証部334は、判断部333によるダミー認証データを用いて算出された値と期待値とが一致するか否かの処理を省略して、主制御基板310を認証する。   The authentication unit 334 authenticates the main control board 310 when it is determined that the value calculated by the determination unit 333 using the control command with authentication data matches the expected value. Further, when the receiving unit 331 receives the control command with dummy authentication data, the authenticating unit 334 authenticates the main control board 310. Specifically, the authentication unit 334 authenticates the main control board 310 by omitting the process of whether or not the value calculated using the dummy authentication data by the determination unit 333 matches the expected value.

また、認証部334は、判断部333によって、ダミー認証データ付制御コマンドを用いて算出された値と期待値とが一致するか否かを判断し、一致したか否かに関わらず、主制御基板310を認証してもよい。このようにすることで、正規の認証データを受信した場合と処理時間または処理の際に生じる熱量などが同程度となるので、周辺基板330において正規な認証データを受信したタイミングを第三者に知られることを防ぐことができる。これによって、より認証の強度を上げることができる。   Further, the authentication unit 334 determines whether or not the value calculated using the control command with dummy authentication data matches the expected value by the determination unit 333, and the main control is performed regardless of whether or not the values match. The substrate 310 may be authenticated. By doing so, since the processing time or the amount of heat generated during the processing becomes the same level as when the regular authentication data is received, the timing at which the regular authentication data is received at the peripheral board 330 is set to a third party. It can prevent being known. Thereby, the strength of authentication can be further increased.

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

報知信号出力部335によって出力された報知信号に基づいて、図柄表示部104やランプ制御部251、音声制御部252は、主制御基板310に不正がおこなわれた可能性がある旨を報知する演出を実行する。この演出は、たとえば、図柄表示部104に通常出現しないキャラクタを出現させたり、通常出現するキャラクタを通常とは異なる方法で出現させたりするなどである。また、図柄表示部104の輝度を変えたり、色を変えたり、ランプ制御部251に対して所定のランプを表示制御するようにしてもよい。いずれにせよ、当該ぱちんこ遊技機の前を通過した際に、従業員がその状態に気がつくようにしてあればよい。また、この演出は、顧客がその状態に気がつかないような演出でもよく、また、顧客が容易に気がつく演出であってもよい。顧客が容易に気がつく演出にすれば、不正行為を効率的に抑止することができる。   Based on the notification signal output by the notification signal output unit 335, the symbol display unit 104, the lamp control unit 251, and the audio control unit 252 notify that there is a possibility that the main control board 310 has 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 the 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において、期待値は、他の構成部から周辺基板330に送信されることとしてもよい。他の構成部とは、たとえば、他の周辺部や期待値を生成するための専用の処理部(以下、「期待値算出部」という)などである。主制御部や期待値算出部は、あらかじめ記録されている期待値を周辺基板330に送信してもよいし、照合処理ごとに期待値を生成してもよい。また、外部接続用I/F(図示なし)を介して、外部の機器から周辺基板330や期待値算出部に期待値を算出するために必要な係数などを送信してもよい。このように、周辺基板330に、あらかじめ期待値を記録させずに、他の構成部から取得する場合、補正部332は、受信部331によって受信された補正データから補正値を取得し、判断部333は、取得された期待値および補正値を用いて算出された値が、受信部331によって受信された認証データ付制御コマンドを用いて算出された値と一致するか否かを判断してもよい。   In FIG. 3, the expected value may be transmitted to the peripheral board 330 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 330 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 330 or the expected value calculation unit via an external connection I / F (not shown). As described above, when the expected value is not recorded on the peripheral substrate 330 in advance and is acquired from another component, the correction unit 332 acquires the correction value from the correction data received by the reception unit 331, and determines the determination unit. 333 also determines whether or not the value calculated using the acquired expected value and the correction value matches the value calculated using the control command with authentication data received by the receiving unit 331. Good.

また、周辺基板330は、補正後の期待値(最終期待値)そのものを固定値として保持しなくてもよい。この場合、たとえば製造時から、補正データによる補正処理をおこなわないと、ダミー認証データを受信した場合は認証が成立となり、認証データを受信した場合は認証が不成立となるように設計する。このようにすることで、最終期待値を知り得る者を限定することができ、期待値に関する情報の流出などのリスクを低減することができる。   Further, the peripheral board 330 may not hold the expected value (final expected value) itself after correction as a fixed value. In this case, for example, when the correction process using the correction data is not performed from the time of manufacture, the authentication is established when the dummy authentication data is received, and the authentication is not established when the authentication data is received. 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.

付加部316は、補正値を分散させて付加してもよい。たとえば16ビットの補正値の場合、上位8ビットと、下位8ビットとを、2回に分けて付加してもよい。なお、分割するビット数は任意であり、さらに、ビット位置はランダムでもよい。すなわち、16ビットの補正値を、ビット位置に関わらず、たとえば2ビットと、5ビットと、9ビットと、の3回に分けて付加してもよい。この場合、所定の制御コマンドから補正値を分散させた数の所定の制御コマンドに順次補正値を付加すればよい。また、受信部331は、所定の制御コマンドから補正値を分散させた回数の制御コマンドが補正データ付制御コマンドであると判断してもよい。補正値の分散の回数は、主制御基板310および周辺基板330にあらかじめ設定されていてもよい。   The adding unit 316 may add the correction value 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. The receiving unit 331 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 330.

また、補正データ生成部313や認証データ生成部314は、補正データや認証データに、複数回の暗号化処理をおこなってもよい。この場合、周辺基板330においては、複数回の復号処理によって補正データや認証データを復号化する。また、認証データ生成部314は、2種類以上の暗号化方法のいずれかを選んで暗号化処理をおこなってもよい。この場合、周辺基板330においては、2種類以上の復号方法によって復号して誤り検査値を取得し、判断部333によって、取得されたいずれかの誤り検査値が期待値と一致するか否かを判断してもよい。そして、認証部334は、取得された誤り検査値のうちのいずれかが期待値と一致した場合に、主制御基板310を認証してもよい。   Further, the correction data generation unit 313 and the authentication data generation unit 314 may perform a plurality of encryption processes on the correction data and the authentication data. In this case, in the peripheral board 330, the correction data and the authentication data are decrypted by a plurality of decryption processes. In addition, the authentication data generation unit 314 may perform encryption processing by selecting one of two or more encryption methods. In this case, the peripheral board 330 obtains an error check value by decoding using two or more kinds of decoding methods, and the determination unit 333 determines whether any of the obtained error check values matches the expected value. You may judge. Then, the authentication unit 334 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, effects such as performing specific driving for various types of accessories and 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)。なお、ステップS406において客待ちデモコマンドを送信した後に、ステップS407:Yesにおいて、始動入賞口への入賞球が検出された場合、主制御部201は、演出制御部202に客待ちデモ停止コマンドを送信する。このように、客待ちデモ停止コマンドが送信されると、演出制御部202は、ランプ制御部251や音声制御部252、図柄表示部104に対して送信している客待ちデモ用の制御信号を停止する。   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). In addition, after transmitting the customer waiting demonstration command in step S406, if a winning ball to the start winning opening is detected in step S407: Yes, the main control unit 201 sends a customer waiting demonstration stop command to the effect control unit 202. Send. Thus, when the customer waiting demonstration stop command is transmitted, the effect control unit 202 transmits the control signal for the customer waiting demonstration transmitted to the lamp control unit 251, the voice control unit 252, and the symbol display unit 104. Stop.

つづいて、主制御部201は、大当たり判定用乱数を取得して(ステップS410)、未抽選入賞回数から1を減算し(ステップS411)、図5のステップS412に移行する。また、ステップS407で、始動入賞口への入賞球が検出されない場合は(ステップS407:No)、ステップS404に戻り、以降の処理を継続する。   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 the 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 customer waiting demo stop command which is a command for stopping the demonstration display in the non-game state of the pachinko gaming machine. This authentication process detects fraud such as the main control unit 201 being replaced with an unauthorized control board, or an unauthorized control board being attached between the main control unit 201 and the peripheral part. Can prevent fraud.

一方、周辺部においては、主制御部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 peripheral part is not changed. Since the expected value corresponding to the main 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から周辺部へ、期待値の補正をおこなうための補正データを送信する。そして、周辺部においては、この補正データを用いて期待値の補正処理をおこなう。   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.

所定のコマンドとは、具体的には、ぱちんこ遊技機の非遊技状態におけるデモ表示を実行させるコマンドである客待ちデモコマンドである。この補正処理によって、主制御部201が他の主制御部201に変更されても、周辺部を変更したり、期待値を変更したりせずに、変更後の他の主制御部201に応じた期待値に補正することができる。したがって、認証処理の誤りを防止し、たとえば主制御部201が変更されても、変更後の他の主制御部201を正規の制御基板であると認証することができる。また、補正値のみを送信し、期待値そのものは送信しないため、第三者に期待値が窃取されにくく、ぱちんこ遊技機への不正を防止することができる。   Specifically, the predetermined command is a customer waiting demo command that is a command for executing a demonstration display in a non-game state of the pachinko gaming machine. 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.

ここで、客待ちデモは、客待ちデモコマンドによって開始され、客待ちデモ停止コマンドによって停止される。このため、1回の客待ちデモに、客待ちデモコマンドと客待ちデモ停止コマンドがこの順に1度ずつ送信される。したがって、1回の客待ちデモにおいて、補正処理と認証処理をこの順に両処理ともおこなうことができる。このように、非遊技状態の間に、補正処理と認証処理をおこなうことができるため、遊技状態になる前に、不正を検知することができる。このため、遊技状態を、不正のない安全な状態でおこなうことができる。   Here, the customer waiting demo is started by the customer waiting demo command and stopped by the customer waiting demo stop command. Therefore, the customer waiting demo command and the customer waiting demo stop command are transmitted once in this order for each customer waiting demo. Therefore, both correction processing and authentication processing can be performed in this order in one customer waiting demonstration. As described above, since the correction process and the authentication process can be performed during the non-gaming state, fraud can be detected before the gaming state is entered. For this reason, the gaming state can be performed in a safe state without fraud.

また、たとえば第三者が客待ちデモの間に不正をおこない、そのまま遊技状態に入ろうとした際、客待ちデモを停止するときに認証処理をおこなうことができる。そして、このときに、報知信号の出力によって報知することで、不正をおこなった可能性の高い第三者を従業員に報知することができる。   Further, for example, when a third party cheats during a customer waiting demo and tries to enter the gaming state as it is, an authentication process can be performed when the customer waiting demo is stopped. At this time, by notifying by the output of the notification signal, it is possible to notify the employee of a third party who has a high possibility of fraud.

また、補正データおよび認証データをともに、客待ちデモコマンド(もしくは客待ちデモ停止コマンド)の場合に送信してもよい。この場合、コマンドの発生頻度が低くなり、制御信号中から、補正データまたは認証データが抽出される可能性を低減することができる。また、客待ちデモコマンドか客待ち停止コマンドのいずれかの制御コマンドに関する処理のみに、補正処理と認証処理とを追加すればよいため、客待ちデモコマンドおよび客待ち停止コマンドの2つの制御コマンドに補正処理と認証処理とを追加する場合に比べて、処理負荷をさらに抑えることができる。   Further, both the correction data and the authentication data may be transmitted in the case of a customer waiting demo command (or a customer waiting demo stop command). In this case, the frequency of command generation is reduced, and the possibility that correction data or authentication data is extracted from the control signal can be reduced. In addition, the correction process and the authentication process need only be added to the process related to the control command of either the customer waiting demo command or the customer waiting stop command, so that the two control commands of the customer waiting demo command and the customer waiting stop command are included. The processing load can be further reduced as compared with the case where correction processing and authentication processing are added.

(制御信号のデータフォーマット)
つづいて、主制御部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 unit 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、ダミー認証データ1005を含んだ、認証データ付制御信号1020または補正データ付制御信号1030、ダミー認証データ付制御信号1040を周辺部に出力する。
具体的には、主制御部201は、制御コマンドデータ1001が客待ちデモコマンドである場合に、補正データ1004を含んだ制御信号を周辺部に出力し、制御コマンドデータ1001が客待ちデモ停止コマンドである場合に、認証データ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 receives authentication data 1003 or correction data 1004 and dummy authentication data 1005 in addition to the control command data 1001 and accompanying data 1002. The control signal with authentication data 1020 or the control signal with correction data 1030 and the control signal with dummy authentication data 1040 are output to the peripheral portion.
Specifically, when the control command data 1001 is a customer waiting demo command, the main control unit 201 outputs a control signal including correction data 1004 to the peripheral portion, and the control command data 1001 is a customer waiting demo stop command. If it is, a control signal including the authentication data 1003 is output to the peripheral portion.

具体的には、主制御部201は、制御コマンドデータ1001が電源投入後からn回目より前のデモ表示開始コマンドまたはデモ表示停止コマンドである場合に、ダミーデータ1005を含んだ制御信号を周辺基板に出力し、制御コマンドデータ1001が電源投入後からn回目のデモ表示開始コマンドまたはデモ表示停止コマンドである場合に、補正データ1004を含んだ制御信号を周辺基板に出力する。そして、制御コマンドデータ1001が電源投入後からn回目より後のデモ表示開始コマンドまたはデモ表示停止コマンドである場合に、認証データ1003を含んだ制御信号またはダミーデータ1005を含んだ制御信号を周辺基板に出力する。なお、認証データ1003、補正データ1004、ダミー認証データ1005を含んだ制御信号を送信する順番は、主制御部201および周辺部において、あらかじめ設定されていてもよい。   Specifically, the main control unit 201 sends a control signal including dummy data 1005 to the peripheral board when the control command data 1001 is a demo display start command or a demo display stop command before the nth time after the power is turned on. When the control command data 1001 is the nth demonstration display start command or the demonstration display stop command after the power is turned on, a control signal including the correction data 1004 is output to the peripheral board. When the control command data 1001 is a demonstration display start command or a demonstration display stop command after the nth time after the power is turned on, a control signal including authentication data 1003 or a control signal including dummy data 1005 is transmitted to the peripheral board. Output to. Note that the order in which the control signal including the authentication data 1003, the correction data 1004, and the dummy authentication data 1005 is transmitted may be set in advance in the main control unit 201 and the peripheral unit.

なお、補正データ1004を含んだ制御信号を出力するのは、認証データ1003を含んだ制御信号を出力する前のデモ表示開始コマンドまたはデモ表示停止コマンドであれば電源投入後のn回目のデモ表示開始コマンドまたはデモ表示停止コマンドでもよい。すなわち、電源投入後からn回目までのデモ表示開始コマンドまたはデモ表示停止コマンドには、ダミーデータ1005を付加する。電源投入後からn回目のデモ表示開始コマンドまたはデモ表示停止コマンドには、補正データ1004を付加する。そして、補正データを送信した後のデモ表示開始コマンドまたはデモ表示停止コマンドには、補正データ1004か認証データ1003かダミーデータ1005かのいずれかのデータを付加してもよいし、これらのデータを付加しなくてもよい。   If the control signal including the correction data 1004 is output if the demonstration display start command or the demonstration display stop command before outputting the control signal including the authentication data 1003, the nth demonstration display after the power is turned on. It may be a start command or a demo display stop command. That is, dummy data 1005 is added to the demonstration display start command or the demonstration display stop command from the power-on to the nth time. Correction data 1004 is added to the nth demo display start command or demo display stop command after the power is turned on. Then, either the correction data 1004, the authentication data 1003, or the dummy data 1005 may be added to the demonstration display start command or the demonstration display stop command after the correction data is transmitted. It is not necessary to add it.

このように、認証データ1003または補正データ1004を制御信号に含めることによって、認証データ単体または補正データ単体で送信する場合と比較して、主制御部201と周辺部との間の通信負荷を減らすことができる。また、認証データ1003または補正データ1004を制御信号に含めることによって、認証データ1003または補正データ1004を単体で送信する場合と比較して、通信データ中から認証データまたは補正データが抽出され、解析されてしまう可能性を低減することができる。また、補正処理や認証処理は、所定の制御コマンド(たとえば、客待ちデモコマンドまたは客待ちデモ停止コマンド)を送信するときにのみおこなわれるため、全ての制御コマンドを送信するときに補正処理や認証処理をおこなうのと比べると、補正処理や認証処理による主制御部201や周辺部の処理負荷を減らすことができる。   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 correction process and the authentication process are performed only when a predetermined control command (for example, a customer waiting demo command or a customer waiting demo stop command) is transmitted, the correction process and the authentication process are performed when all the control commands are transmitted. Compared with processing, it is possible to reduce the processing load on the main control unit 201 and the peripheral unit due to correction processing and authentication processing.

認証データ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.

ここで、通常の制御信号1010は、認証データ1003や補正データ1004が含まれていないため、認証データ付制御信号1020や補正データ付制御信号1030より、データサイズが小さくなる。このため、認証データ1003や補正データ1004の付加された制御信号が見破られやすくなり、これらのデータが窃取されやすくなる。   Here, since the normal control signal 1010 does not include the authentication data 1003 and the correction data 1004, the data size is smaller than that of the control signal with authentication data 1020 and the control signal with correction data 1030. For this reason, the control signal to which the authentication data 1003 and the correction data 1004 are added is easily overlooked, and these data are easily stolen.

このような問題を防ぐために、認証データ1003や補正データ1004を含まない通常の制御信号1010に、補正データ1004や認証データ1003と同程度のサイズのダミー認証データ1005を付加し、ダミー認証データ付制御信号1040としてもよい。   In order to prevent such a problem, dummy authentication data 1005 having the same size as the correction data 1004 and the authentication data 1003 is added to a normal control signal 1010 that does not include the authentication data 1003 and the correction data 1004. The control signal 1040 may be used.

ここで、ダミー認証データ1005は、認証データ1002のダミーデータであり、周辺部において補正処理や認証処理に無効なデータである。すなわち、ダミー認証データ1005は、周辺部が保持している期待値と照合をおこなわずに、制御コマンドデータ1001および付随データ1002が正規の主制御部201から出力されたものであることを、仮に認証するためのデータである。また、ダミー認証データ1005は、周辺部が保持している期待値と照合をおこない、照合の結果が一致または不一致のいずれでも、制御コマンドデータ1001および付随データ1002が正規の主制御部201から出力されたものであることを、仮に認証するためのデータである。ダミー認証データ1005は、たとえば認証データ1003と同様の値によって生成されてもよい。また、ダミーデータ1005は、他の(別種類の)認証処理に用いる認証データであってもよい。他の認証処理とは、たとえば期待値の補正処理が必要のない認証処理である。   Here, the dummy authentication data 1005 is dummy data of the authentication data 1002 and is invalid data for correction processing and authentication processing in the peripheral portion. That is, it is assumed that the dummy authentication data 1005 indicates that the control command data 1001 and the accompanying data 1002 are output from the regular main control unit 201 without collating with the expected value held by the peripheral part. This is data for authentication. The dummy authentication data 1005 is collated with the expected value held by the peripheral part, and the control command data 1001 and the accompanying data 1002 are output from the regular main control unit 201 regardless of whether the collation result is coincident or disagreeable. This is data for temporarily authenticating that it has been done. The dummy authentication data 1005 may be generated by the same value as the authentication data 1003, for example. Further, the dummy data 1005 may be authentication data used for another (different type) authentication process. The other authentication processing is, for example, authentication processing that does not require expected value correction processing.

なお、制御コマンドデータ1001と、付随データ1002と、認証データ1003または補正データ1004、ダミー認証データ1005と、の並び方は、図10に示す順番に限らず、たとえば認証データ1003または補正データ1004、ダミー認証データ1005を制御信号の先頭にしたり、制御コマンドデータ1001と付随データ1002との間に認証データ1003または補正データ1004、ダミー認証データ1005を挿入してもよい。また、制御コマンドデータ1001および付随データ1002とは別個に認証データ1003または補正データ1004、ダミー認証データ1005を出力することとしてもよい。たとえば、デモ表示開始コマンド(またはデモ表示停止コマンド)を含む制御信号を送信した後、n−1回目の制御信号送信時にダミー認証データ1005を付加して、n回目の制御信号送信時に補正データ1004を付加して、n+1回目の制御信号送信時に認証データ1003を付加する、などとしてもよい。   Note that the arrangement of the control command data 1001, the accompanying data 1002, the authentication data 1003 or the correction data 1004, and the dummy authentication data 1005 is not limited to the order shown in FIG. 10, and for example, the authentication data 1003 or the correction data 1004 and the dummy Authentication data 1005 may be used as the head of a control signal, or authentication data 1003 or correction data 1004 and dummy authentication data 1005 may be inserted between control command data 1001 and accompanying data 1002. Further, the authentication data 1003 or the correction data 1004 and the dummy authentication data 1005 may be output separately from the control command data 1001 and the accompanying data 1002. For example, after transmitting a control signal including a demonstration display start command (or demonstration display stop command), dummy authentication data 1005 is added when the n-1th control signal is transmitted, and correction data 1004 is transmitted when the nth control signal is transmitted. And the authentication data 1003 may be added at the time of the (n + 1) th control signal transmission.

また、ダミー認証データ1005は、認証データ1003や補正データ1004を含まない通常の制御信号1010の全てに付加しても良いし、所定のコマンドデータ(デモ表示開始コマンドまたはデモ表示停止コマンド)を含む制御信号のうちの、認証データ1003や補正データ1004を含まない通常の制御信号1010にダミー認証データ1005を付加してもよい。このようにすることで、通常の制御信号1010のデータサイズを、認証データ付制御信号1020や補正データ付制御信号1030と同程度とすることができる。このため、第三者にデータサイズの違いによって認証データ1003や補正データ1004が付加されている制御信号を見破られることを防ぐことができる。   The dummy authentication data 1005 may be added to all normal control signals 1010 that do not include the authentication data 1003 and the correction data 1004, or includes predetermined command data (a demo display start command or a demo display stop command). The dummy authentication data 1005 may be added to a normal control signal 1010 that does not include the authentication data 1003 and the correction data 1004 among the control signals. 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)、補正データ1004を生成する(ステップ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 power source of the main control unit 201 is turned on (step S1101: Yes), correction data 1004 is generated (step S1102). And it waits until it becomes the transmission timing of a control command (step S1103: No loop). When the control command transmission timing comes (step S1103: Yes), the main control unit 201 determines whether or not the control command to be transmitted this time is a customer waiting demo command (step S1104).

今回送信する制御コマンドが客待ちデモコマンドである場合(ステップS1104:Yes)、主制御部201は、補正処理または認証処理のタイミングか否かを判断する(ステップS1105)。ステップS1105において、補正処理または認証処理のタイミングでない場合(ステップS1105:No)、制御コマンドデータ1001(客待ちデモコマンドデータ)および付随データ1002をセットする(ステップS1106)。また、主制御部201は、ダミー認証データ1005を生成する(ステップS1107)。このとき、ステップS1106とステップS1107の順序を入れ替えてもよい。つぎに、主制御部201は、ステップS1106,S1107で生成した制御コマンドデータ1001、付随データ1002、ダミー認証データ1005からなる制御信号(ダミー認証データ付制御信号1040)を演出制御部202に送信する(ステップS1108)。そして、主制御部201の電源がオフにされたか否かを判断して(ステップS1109)、主制御部201の電源がオフにされない場合(ステップS1109:No)、ステップS1103に戻り、次の制御コマンドの送信タイミングまで待機して、以降の処理を繰り返しおこなう。   When the control command to be transmitted this time is a customer waiting demonstration command (step S1104: Yes), the main control unit 201 determines whether it is the timing of the correction process or the authentication process (step S1105). If it is not the timing of the correction process or the authentication process in step S1105 (step S1105: No), control command data 1001 (customer waiting demo command data) and associated data 1002 are set (step S1106). Further, the main control unit 201 generates dummy authentication data 1005 (step S1107). At this time, the order of step S1106 and step S1107 may be switched. Next, the main control unit 201 transmits a control signal (control signal 1040 with dummy authentication data) composed of the control command data 1001 generated in steps S1106 and S1107, accompanying data 1002, and dummy authentication data 1005 to the effect control unit 202. (Step S1108). Then, it is determined whether or not the power source of the main control unit 201 has been turned off (step S1109). If the power source of the main control unit 201 is not turned off (step S1109: No), the process returns to step S1103 to perform the next control. Wait until the command transmission timing and repeat the following processing.

一方、ステップS1105において補正処理または認証処理のタイミングである場合(ステップS1105:Yes)、主制御部201は、補正データを送信済みか否かを判断する(ステップS1110)。ステップS1110において、まだ補正データを送信していないと判断された場合(ステップS1110:No)、主制御部201は、制御コマンドデータ1001(客待ちデモコマンドデータ)および付随データ1002をセットする(ステップS1111)。つぎに、主制御部201は、ステップS1102,S1111で生成した制御コマンドデータ1001、付随データ1002、補正データ1004からなる制御信号(補正データ付制御信号1030)を演出制御部202に送信する(ステップS1112)。そして、ステップS1109に進み、主制御部201の電源がオフにされない場合、ステップS1103に戻り、次の制御コマンドの送信タイミングまで待機して、以降の処理を繰り返しおこなう。   On the other hand, when it is the timing of the correction process or the authentication process in step S1105 (step S1105: Yes), the main control unit 201 determines whether correction data has been transmitted (step S1110). If it is determined in step S1110 that correction data has not been transmitted yet (step S1110: No), the main control unit 201 sets control command data 1001 (customer waiting demo command data) and accompanying data 1002 (step S1110). S1111). 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 S1111 to the effect control unit 202 (step). S1112). In step S1109, if the main control unit 201 is not turned off, the process returns to step S1103, waits until the next control command transmission timing, and repeats the subsequent processing.

また、ステップS1110において、すでに補正データを送信済みの場合(ステップS1110:Yes)、主制御部201は、制御コマンドデータ1001(客待ちデモコマンドデータ)および付随データ1002をセットする(ステップS1113)。また、主制御部201は、認証データ1003を生成する(ステップS1114)。このとき、ステップS1109とステップS1110の順序を入れ替えてもよい。つぎに、主制御部201は、ステップS1113,S1114で生成した制御コマンドデータ1001、付随データ1002、認証データ1003からなる制御信号(認証データ付制御信号1020)を演出制御部202に送信する(ステップS1115)。そして、ステップS1109に進み、電源がオフにされない場合、ステップS1103に戻り、次の制御コマンドの送信タイミングまで待機して、以降の処理を繰り返しおこなう。   In step S1110, when the correction data has already been transmitted (step S1110: Yes), the main control unit 201 sets the control command data 1001 (customer waiting demo command data) and the accompanying data 1002 (step S1113). Further, the main control unit 201 generates authentication data 1003 (step S1114). 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) including the control command data 1001, the accompanying data 1002, and the authentication data 1003 generated in steps S1113 and S1114 to the effect control unit 202 (step). S1115). Then, the process proceeds to step S1109, and if the power is not turned off, the process returns to step S1103, waits until the next control command transmission timing, and the subsequent processing is repeated.

また、ステップS1104において今回送信する制御コマンドが客待ちデモコマンド以外のコマンドである場合(ステップS1104:No)、主制御部201は、制御コマンドデータ1001(客待ちデモコマンド以外のコマンド)および付随データ1002をセットする(ステップS1116)。つぎに、ステップS1116でセットした制御コマンドデータ1001および付随データ1002からなる制御信号(通常の制御信号1010)を演出制御部202に送信する(ステップS1117)。そして、ステップS1109に進み、電源がオフにされない場合、ステップS1103に戻り、次の制御コマンドの送信タイミングまで待機して、以降の処理を繰り返しおこなう。そして、ステップS1109において電源がオフにされた場合(ステップS1109:Yes)、本フローチャートによる処理を終了する。   When the control command to be transmitted this time is a command other than the customer waiting demo command in step S1104 (step S1104: No), the main control unit 201 controls the control command data 1001 (command other than the customer waiting demo command) and accompanying data. 1002 is set (step S1116). Next, a control signal (normal control signal 1010) composed of the control command data 1001 and the accompanying data 1002 set in step S1116 is transmitted to the effect control unit 202 (step S1117). Then, the process proceeds to step S1109, and if the power is not turned off, the process returns to step S1103, waits until the next control command transmission timing, and the subsequent processing is repeated. If the power is turned off in step S1109 (step S1109: Yes), the processing according to this flowchart is terminated.

なお、図11のフローチャートにおいては、ステップS1102において補正データを生成するとしているが、これに限らず、ステップS1112において補正データ付制御信号1030を送信する前に補正データ1004を生成してもよい。具体的には、たとえば補正データ1004をプログラムコードや制御コマンドを用いて生成する場合、ステップS1110:Noにおいて補正データ1004を送信していないと判断された後で、ステップS1111において制御コマンドデータ1001および付随データ1002をセットする前に、補正データ1004を生成してもよい。また、ステップS1111において制御コマンドデータ1001および付随データ1002をセットした後で、ステップS1112において補正データ付制御信号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 S1112. Specifically, for example, when the correction data 1004 is generated using a program code or a control command, it is determined in step S1110: No that the correction data 1004 is not transmitted, and then in step S1111 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 setting the control command data 1001 and the accompanying data 1002 in step S1111 and before transmitting the control signal with correction data 1030 in step S1112.

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

また、図11のフローチャートにおいては、ステップS1104:Noにおいて今回送信する制御コマンドが客待ちデモコマンド以外のコマンドである場合、ステップS1116〜ステップS1117の処理をおこなって、通常の制御信号1010を送信するとしているが、これに限るものではない。たとえばステップS1104:Noにおいて今回送信する制御コマンドが客待ちデモコマンド以外のコマンドである場合に、ステップS1106〜ステップS1108の処理をおこなって、ダミー認証データ付制御信号1040を送信する構成でもよい。   In the flowchart of FIG. 11, when the control command to be transmitted this time in Step S1104: No is a command other than the customer waiting demonstration command, the processing of Step S1116 to Step S1117 is performed and the normal control signal 1010 is transmitted. However, it is not limited to this. For example, when the control command to be transmitted this time in Step S1104: No is a command other than the customer waiting demo command, the process of Steps S1106 to S1108 may be performed to transmit the control signal 1040 with dummy authentication data.

このように、主制御部201は、周辺部に客待ちデモコマンドおよび客待ちデモ停止コマンドを送信する際にのみ、制御コマンドデータ1001に補正データ1004または認証データ1003を付加する。客待ちデモコマンドや客待ちデモ停止コマンドは、客待ちデモを開始または停止させるコマンドである。客待ちデモは、ぱちんこ遊技機のメインの処理である遊技(ゲーム進行)関連処理がおこなわれていないときに表示される。よって、補正処理や認証処理による処理負荷が遊技関連処理に影響を与えることがない。このため、主制御部201や周辺部が高度な処理能力を有していない場合や、遊技関連処理の処理負荷が大きいぱちんこ遊技機であっても、補正処理機能および認証処理機能を追加することができる。さらに、補正処理や認証処理のタイミングではない場合でも、制御信号に補正データ1004または認証データ1003と同程度のサイズのダミー認証データ1005を付加することができる。これによって、補正データ1004や認証データ1003の付加された制御信号が、いつ送信されたのかを第三者に見破られることを防ぐことができるので、より補正データ1004または認証データ1003が抽出される可能性を低減することができる。   As described above, the main control unit 201 adds the correction data 1004 or the authentication data 1003 to the control command data 1001 only when transmitting the customer waiting demo command and the customer waiting demo stop command to the peripheral part. The customer waiting demo command and the customer waiting demo stop command are commands for starting or stopping the customer waiting demo. The customer waiting demo is displayed when a game (game progress) related process which is the main process of the pachinko gaming machine is not performed. Therefore, the processing load due to the correction process and the authentication process does not affect the game related process. For this reason, even if the main control unit 201 and the peripheral part do not have a high processing capacity, or even a pachinko gaming machine with a large processing load of game-related processing, a correction processing function and an authentication processing function should be added. Can do. Furthermore, even when it is not the timing of the correction process or the authentication process, dummy authentication data 1005 having the same size as the correction data 1004 or the authentication data 1003 can be added to the control signal. Thus, it is possible to prevent a third party from seeing when the control signal to which the correction data 1004 and the authentication data 1003 are added is transmitted, so that the correction data 1004 or the authentication data 1003 is further extracted. The possibility can be reduced.

また、客待ちデモは、客待ちデモコマンドによって開始され、客待ちデモ停止コマンドによって停止される。このため、1回の客待ちデモに、客待ちデモコマンドと客待ちデモ停止コマンドがこの順に1度ずつ送信される。したがって、1回の客待ちデモにおいて、補正処理と認証処理をこの順に両処理ともおこなうことができる。このように、非遊技状態の間に、補正処理と認証処理をおこなうことができるため、遊技状態になる前に、不正を検知することができる。このため、遊技状態を、不正のない安全な状態でおこなうことができる。   The customer waiting demo is started by a customer waiting demo command and stopped by a customer waiting demo stop command. Therefore, the customer waiting demo command and the customer waiting demo stop command are transmitted once in this order for each customer waiting demo. Therefore, both correction processing and authentication processing can be performed in this order in one customer waiting demonstration. As described above, since the correction process and the authentication process can be performed during the non-gaming state, fraud can be detected before the gaming state is entered. For this reason, the gaming state can be performed in a safe state without fraud.

また、たとえば第三者が客待ちデモの間に不正をおこない、そのまま遊技状態に入ろうとした際、客待ちデモを停止するときに認証処理をおこなうことができる。そして、このときに、報知信号の出力によって報知することで、不正をおこなった可能性の高い第三者を従業員に報知することができる。   Further, for example, when a third party cheats during a customer waiting demo and tries to enter the gaming state as it is, an authentication process can be performed when the customer waiting demo is stopped. At this time, by notifying by the output of the notification signal, it is possible to notify the employee of a third party who has a high possibility of fraud.

つぎに、演出制御部202による制御信号の受信処理について説明する。図12は、演出制御部202による制御信号の受信処理の手順を示すフローチャートである。図12のフローチャートにおいて、演出制御部202は、まず、主制御部201から制御信号を受信するまで待機する(ステップS1201:Noのループ)。主制御部201から制御信号を受信すると(ステップS1201:Yes)、演出制御部202は、受信した制御信号に補正データ1004が含まれているか否かを判断する(ステップS1202)。制御信号に補正データ1004が含まれているか否かの判断は、たとえば、データ量が通常の制御信号よりも多い制御信号のうちの、周辺部の電源が投入されてからn番目の制御信号か否かを判断したり、補正データ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). Whether or not the correction data 1004 is included in the control signal is determined by, for example, whether the control signal has a data amount larger than that of the normal control signal or the nth control signal after the peripheral power is turned on. This is done by determining whether or not a flag indicating that the correction data 1004 is included is set in the control signal.

ステップ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は、たとえば電源が投入(または、リセット)されてから、n回目の客待ちデモコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、電源が投入(または、リセット)されてからn回目の客待ちデモコマンドのデータである場合に、制御信号から補正データを抽出し、ステップ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 customer waiting demonstration command, not whether the received control signal includes the correction data 1004. It 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 data of a customer waiting demo command, and proceeds to step S1203. In step S1202, the effect control unit 202 may determine whether or not the data is for the nth customer waiting demo command after the power is turned on (or reset), for example. In this case, the effect control unit 202 may extract correction data from the control signal and proceed to step S1203 when the data is the n-th waiting customer demo command after the power is turned on (or reset). Good.

つぎに、制御信号に含まれている制御コマンドデータ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やダミー認証データ1005などの認証に関するデータが含まれているか否かを判断する(ステップS1205)。制御信号に認証に関するデータが含まれているか否かの判断は、たとえば、制御信号のデータ量が通常の制御信号よりも多いか否かを判断することによっておこなう。   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 includes authentication data 1003, dummy authentication data 1005, and the like in the control signal received in step S1201. It is determined whether data relating to authentication is included (step S1205). The determination as to whether or not the data related to authentication is included in the control signal is made, for example, by determining whether or not the data amount of the control signal is larger than that of the normal control signal.

また、ステップS1205において、演出制御部202は、受信した制御信号に認証に関するデータが含まれているか否かではなく、制御信号に含まれる制御コマンドデータ1001が客待ちデモコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、制御信号に含まれる制御コマンドデータ1001が客待ちデモコマンドのデータである場合に、制御信号に認証に関するデータが含まれていると判断し、ステップS1206に進む。また、ステップS1205において、演出制御部202は、たとえば電源が投入(または、リセット)されてから、n回目以外の客待ちデモコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、電源が投入(または、リセット)されてから、n回目以外の客待ちデモコマンドのデータである場合に、制御信号に認証に関するデータが含まれていると判断してもよい。   In step S1205, the effect control unit 202 determines whether the control command data 1001 included in the control signal is data of a customer waiting demo command, not whether the received control signal includes data related to authentication. It may be judged. In this case, when the control command data 1001 included in the control signal is data of a customer waiting demo command, the effect control unit 202 determines that the data related to authentication is included in the control signal, and proceeds to step S1206. In step S1205, the effect control unit 202 may determine whether or not the data is for a customer waiting demo command other than the nth time after the power is turned on (or reset), for example. In this case, the effect control unit 202 determines that the control signal includes data related to authentication when the data is a demo command for waiting for a customer other than the nth time after the power is turned on (or reset). May be.

制御信号に認証に関するデータが含まれている場合(ステップS1205:Yes)、演出制御部202は、認証に関するデータがダミー認証データ1005か否かを判断する(ステップS1206)。認証に関するデータがダミー認証データ1005か否かの判断は、たとえば、制御信号のデータ量が通常の制御信号よりも多い制御信号のうちの、周辺部の電源が投入されてからn番目より前の制御信号か否かを判断したり、ダミー認証データ1005が含まれていることを示すフラグが制御信号に立てられているか否かを判断したりすることによっておこなう。   If the control signal includes data related to authentication (step S1205: Yes), the effect control unit 202 determines whether the data related to authentication is dummy authentication data 1005 (step S1206). The determination as to whether the data related to authentication is dummy authentication data 1005 is, for example, a control signal having a data amount of a control signal larger than that of a normal control signal before the nth time from when the peripheral power is turned on. This is performed by determining whether or not the control signal is present, or determining whether or not a flag indicating that the dummy authentication data 1005 is included is set in the control signal.

また、ステップS1206において、演出制御部202は、認証に関するデータがダミー認証データ1005か否かではなく、制御信号に含まれる制御コマンドデータ1001が客待ちデモコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、制御信号に含まれる制御コマンドデータ1001が客待ちデモコマンドのデータ以外である場合に、ダミー認証データ1005であると判断し、客待ちデモコマンドのデータである場合に、認証データ1003であると判断してもよい。また、ステップS1206において、演出制御部202は、たとえば電源が投入(または、リセット)されてから、n回目より前の客待ちデモコマンドのデータであるか否かを判断してもよい。この場合、演出制御部202は、電源が投入(または、リセット)されてから、n回目より前の客待ちデモコマンドのデータである場合に、認証に関するデータをダミー認証データ1005であると判断し、n回目より後の客待ちデモコマンドのデータである場合に、認証に関するデータが認証データ1003であると判断してもよい。   In step S1206, the effect control unit 202 determines whether the control command data 1001 included in the control signal is data of a customer waiting demonstration command, not whether the data related to authentication is dummy authentication data 1005 or not. May be. In this case, when the control command data 1001 included in the control signal is other than the customer waiting demo command data, the effect control unit 202 determines that the dummy authentication data 1005 is the data waiting for the customer waiting demo command. In addition, the authentication data 1003 may be determined. In step S1206, for example, the effect control unit 202 may determine whether or not the data is a demo command for waiting for a customer before the nth time after the power is turned on (or reset). In this case, the effect control unit 202 determines that the data related to the authentication is the dummy authentication data 1005 when the data is for the customer waiting demo command before the nth time after the power is turned on (or reset). , It may be determined that the data related to authentication is the authentication data 1003 when the data is for the customer waiting demo command after the nth time.

ステップS1206において認証に関するデータがダミー認証データ1005であると判断された場合(ステップS1206:Yes)、期待値との照合をおこなわず、ステップS1204に進み、制御信号に含まれている制御コマンドデータ1001および付随データ1002に基づく処理をおこなう。   If it is determined in step S1206 that the data related to authentication is dummy authentication data 1005 (step S1206: Yes), the process proceeds to step S1204 without collating with the expected value, and the control command data 1001 included in the control signal. Then, processing based on the accompanying data 1002 is performed.

一方、ステップS1206において認証に関するデータが認証データ1003であると判断された場合(ステップS1206:No)、演出制御部202は、制御信号から認証データ1003を抽出し、ステップS1203において補正された期待値を取得して(ステップS1207)、制御信号に含まれている認証データ1003と期待値とが一致するか否かを判断する(ステップS1208)。このとき、演出制御部202は、認証データ1003と期待値とが一致するか否かではなく、認証データ1003と期待値とが所定の関係にあるか否かを判断してもよい。所定の関係とは、たとえば、認証データ1003に所定の演算をおこなって得た値が期待値と一致する、などの関係である。   On the other hand, when it is determined in step S1206 that the data related to authentication is the authentication data 1003 (step S1206: No), the effect control unit 202 extracts the authentication data 1003 from the control signal, and the expected value corrected in step S1203 Is obtained (step S1207), and it is determined whether or not the authentication data 1003 included in the control signal matches the expected value (step S1208). 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.

認証データと期待値とが一致する場合(ステップS1208:Yes)、演出制御部202は、制御信号を送信した主制御部201の正当性を認証し、ステップS1204に進み、制御信号に含まれている制御コマンドデータ1001および付随データ1002に基づく処理をおこなう。一方、認証データと期待値とが一致しない場合(ステップS1208:No)、演出制御部202は、制御信号を送信した主制御部201の正当性を認証せず、制御コマンドデータ1001および付随データ1002を破棄するとともに、報知信号出力部335(図3参照)から報知信号を出力して(ステップS1209)、本フローチャートによる処理を終了する。なお、ステップS1208では、データの破棄と報知のいずれかのみをおこなうこととしてもよい。   If the authentication data matches the expected value (step S1208: 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 to be 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 S1208: 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 335 (see FIG. 3) (step S1209), and the processing according to this flowchart ends. Note that in step S1208, only one of data discarding and notification may be performed.

また、ステップS1205において、演出制御部202は、受信した制御信号に認証に関するデータが含まれていない場合(ステップS1205:No)、すなわち制御信号が通常の制御信号1010の場合、演出制御部202は、期待値との照合をおこなわず、そのままステップS1204に進み、制御コマンドデータ1001および付随データ1002に基づく処理をおこなってもよい。   In step S1205, when the control signal received does not include data related to authentication (step S1205: No), that is, when the control signal is the normal control signal 1010, the effect control unit 202 Instead of collating with the expected value, the process may directly proceed to step S1204 to perform processing based on the control command data 1001 and the accompanying data 1002.

なお、図12のフローチャートにおいては、演出制御部202があらかじめ期待値を保持せず、期待値が他の構成部から送信される場合、ステップS1203においては期待値を補正せず、補正データ1004を抽出して記録部などに記録しておく。そして、ステップS1207において期待値を他の構成部から取得した後に、記録された補正データ1004を用いて期待値を補正し、ステップS1208に進み、補正された期待値が認証データ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 S1207, the expected value is corrected using the recorded correction data 1004, and the process proceeds to step S1208, where the corrected expected value matches the authentication data 1003. It may be determined whether or not.

また、図12のフローチャートにおいては、ステップS1206において認証に関するデータがダミー認証データ1005であるか否かを判断するとしているが、これに限るものではない。たとえばステップS1205:Yesにおいて認証に関するデータが含まれていると判断された場合、ステップS1207およびステップS1208の処理をおこなってもよい。そして、認証に関するデータがダミー認証データ1005の場合は、ステップS1208においてダミー認証データ1005と期待値とが一致してもしなくても、ステップS1204に進む構成としてもよい。   In the flowchart of FIG. 12, it is determined in step S1206 whether or not the data related to authentication is dummy authentication data 1005. However, the present invention is not limited to this. For example, if it is determined in step S1205: Yes that authentication-related data is included, the processing in steps S1207 and S1208 may be performed. If the data related to authentication is dummy authentication data 1005, the process may proceed to step S1204 even if the dummy authentication data 1005 does not match the expected value in step S1208.

このようにすることで、演出制御部202が認証データ1003またはダミー認証データ1005のいずれを受信した場合でも、演出制御部202における処理量や処理時間が変わらなくすることができる。これによって、正規な認証処理に用いる認証データ1003をいつ受信したのかを第三者に見破られることを防ぎ、認証データ1003が窃取されることを防ぐことができる。   By doing in this way, even if the production | presentation control part 202 receives any of the authentication data 1003 or the dummy authentication data 1005, the processing amount and processing time in the production | presentation control part 202 can be made unchanged. As a result, it is possible to prevent a third party from seeing when the authentication data 1003 used for the normal authentication process has been received, and to prevent the authentication data 1003 from being stolen.

(制御部間の制御信号の流れの一例)
つぎに、主制御部201と周辺部との間の制御信号の流れを、図13のシーケンス図を用いて説明する。ここで、周辺部は、たとえば演出制御部202や賞球制御部203(図2)である。図13は、制御部間の制御信号の流れの一例を示すシーケンス図である。図13において、点線Aに囲まれた部分が1回分のダミー認証処理のステップであり、点線Bに囲まれた部分が1回分の補正処理のステップであり、点線Cに囲まれた部分が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 dummy authentication processing step for one time, a portion surrounded by a dotted line B is a correction processing step for one time, and a portion surrounded by a dotted line C is 1 This is a step of authentication processing for a batch. The dummy authentication process is an authentication process in which authentication is temporarily established in the peripheral part without collating with an expected value. 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 customer waiting demo command is omitted.

図13に示すように、制御コマンドデータ1001が周辺部の電源が投入されてから所定番目より前(x<n)の客待ちデモコマンドの場合、主制御部201は、制御コマンドデータ1001および付随データ1002をセットする(ステップS1301)。また、主制御部201は、誤り検査値Cb’を生成する(ステップS1302)。ここで、誤り検査値Cb’は、主制御部201の備える記録部などに記録された所定のプログラムコードなどから生成した誤り検出可能な数値である。誤り検査値Cb’は、好適には、実際の誤り検査値とソルト値との演算結果値がよい。また、b’は、ダミー認証処理の処理順序をあらわし、たとえば周辺部の電源がオンされてから1回目のダミー認証処理の場合、b’=1となる。   As shown in FIG. 13, when the control command data 1001 is a demo command waiting for a customer before the predetermined number (x <n) after the peripheral power is turned on, the main control unit 201 displays the control command data 1001 and the accompanying command command data 1001. Data 1002 is set (step S1301). In addition, the main control unit 201 generates an error check value Cb ′ (step S <b> 1302). Here, the error check value Cb ′ is a numerical value capable of detecting an error 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 dummy authentication processing. For example, in the case of the first dummy authentication processing after the peripheral power is turned on, b ′ = 1.

さらに、主制御部201は、認証データ1003(Vcb’)を生成する(ステップS1303)。ステップS1303においては、たとえば下記(1)式によって認証データ1003(Vcb’)を生成する。なお、ステップS1303において、暗号化演算をおこなう方式は、1種類でもよいし、2種類以上でもよい。暗号化方式が2種類以上の場合、ステップS1303においては、複数の暗号化方式の中から1種類の暗号化方式を選択し、選択した暗号化方式によって暗号化演算をおこなう。また、暗号化演算による暗号化処理を、2回以上おこなってもよい。xは、客待ちデモコマンドの処理順序をあらわし、Fxは、たとえば主制御部201の電源がオンされてからn番目より前(x<n)の客待ちデモコマンドの際に、ステップS1302においてセットされた制御コマンドデータ1001および付随データ1002をあらわす。   Further, the main control unit 201 generates authentication data 1003 (Vcb ′) (step S1303). In step S1303, for example, authentication data 1003 (Vcb ') is generated by the following equation (1). In step S1303, the encryption calculation method may be one type or two or more types. When there are two or more encryption methods, in step S1303, 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. x represents the processing sequence of the customer waiting demo command, and Fx is set in step S1302 at the time of the customer waiting demo command before the nth (x <n) after the main control unit 201 is turned on, for example. The control command data 1001 and the accompanying data 1002 are displayed.

Vcb’=Ec(Cb’,Fx) ・・・(1)     Vcb '= Ec (Cb', Fx) (1)

つぎに、主制御部201は、制御コマンドデータ1001、付随データ1002、認証データ1003を含む認証データ付制御信号1020(Fx,Vcb’)を周辺部に送信する(ステップS1304)。なお、ステップS1304においては、周辺部に電源が投入されてからn番目より前のx番目に付随データ1002がセットされた制御コマンドデータ1001(Fx)と、認証データ1003(Vcb’)とを、別々に周辺部に送信してもよい。また、この場合、送信順序は、順不同でよい。   Next, the main control unit 201 transmits an authentication data-added control signal 1020 (Fx, Vcb ′) including control command data 1001, accompanying data 1002, and authentication data 1003 to the peripheral unit (step S1304). In step S1304, the control command data 1001 (Fx) in which the accompanying data 1002 is set to the xth before the nth after power is supplied to the peripheral portion, and the authentication data 1003 (Vcb ′) are You may transmit to a peripheral part separately. In this case, the transmission order may be out of order.

周辺部は、ステップS1304で送信された認証データ付制御信号(Fx,Vcb’)を受信する(ステップS1305)。そして、期待値との照合を行わずに、主制御部201を認証し、制御コマンドデータ1001および付随データ1002に基づく処理をおこなう(ステップS1306)。   The peripheral unit receives the control signal with authentication data (Fx, Vcb ′) transmitted in step S1304 (step S1305). Then, the main control unit 201 is authenticated without collating with the expected value, and processing based on the control command data 1001 and the accompanying data 1002 is performed (step S1306).

つぎに、制御コマンドデータ1001が周辺部の電源が投入されてから所定番目(n)の客待ちデモコマンドの場合、主制御部201は、補正値Maを生成する(ステップS1311)。補正値Maは、主制御部201の照合用の期待値を補正する値であり、補正データ1004の元となる値である。補正値Maは、好適には、実際の補正値とソルト値との演算結果値がよい。また、aは、補正処理の処理順序をあらわし、たとえば主制御部201の電源がオンされてから1回目の補正処理の場合、a=1となる。なお、ステップS1311における補正値Maの生成は、後述するステップS1313において補正データを生成する前であればよく、具体的には、たとえばダミー認証処理の前、すなわちステップS1301の前でもよい。   Next, when the control command data 1001 is a predetermined (n) customer waiting demo command after the peripheral power is turned on, the main control unit 201 generates a correction value Ma (step S1311). 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. The generation of the correction value Ma in step S1311 may be performed before the correction data is generated in step S1313, which will be described later. Specifically, for example, it may be performed before the dummy authentication process, that is, before step S1301.

そして、制御コマンドデータ1001が客待ちデモコマンドである場合、主制御部201は、制御コマンドデータ1001(客待ちデモコマンドデータ)および付随データ1002をセットする(ステップS1312)。また、主制御部201は、補正データ1004(Vma)を生成する(ステップS1313)。ステップS1313においては、たとえば下記(2)式によって補正データ1004(Vma)を生成する。ここで、nは、大当たり状態の処理順序をあらわし、たとえば主制御部201の電源がオンされてから1回目の客待ちデモの処理を開始する客待ちデモコマンドの場合、n=1となる。Fnは、たとえば主制御部201の電源がオンされてからn回目の客待ちデモコマンドの際に、ステップS1312においてセットされた制御コマンドデータ1001および付随データ1002をあらわす。また、Ec(A,B)は、暗号化演算式をあらわす。なお、暗号化演算による暗号化処理を、2回以上おこなってもよい。   If the control command data 1001 is a customer waiting demo command, the main control unit 201 sets the control command data 1001 (customer waiting demo command data) and accompanying data 1002 (step S1312). Further, the main control unit 201 generates correction data 1004 (Vma) (step S1313). In step S1313, for example, correction data 1004 (Vma) is generated by the following equation (2). Here, n represents the processing order of the jackpot state. For example, in the case of a customer waiting demo command for starting the first customer waiting demo processing after the main control unit 201 is turned on, n = 1. Fn represents, for example, the control command data 1001 and accompanying data 1002 set in step S1312 at the time of the n-th customer waiting demo 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) ・・・(2)     Vma = Ec (Ma, Fn) (2)

ここで、具体的には、たとえばMa=0x35、Fn=0x22であり、Ec(A,B)が、A xor B(排他的論理和)の場合、Vmaは下記(3)式によって、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 (3). Become.

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

つぎに、主制御部201は、制御コマンドデータ1001、付随データ1002、補正データ1004を含む補正データ付制御信号1030(Fn,Vma)を周辺部に送信する(ステップS1314)。なお、ステップS1314においては、客待ちデモコマンドの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 S1314). In step S1314, the control command data 1001 (Fn) in which the accompanying data 1002 is set for the nth time of the customer waiting demo 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は、ステップS1314で送信された補正データ付制御信号(Fn,Vma)を受信する(ステップS1315)。つぎに、演出制御部202は、補正データ1004(Vma)を復元する(ステップS1316)。ステップS1316においては、下記(4)式によって補正データ1004(Vma)を復元し、補正値Maを取得する。ここで、Dc(A,B)は、復号化演算式をあらわす。   The effect control unit 202 receives the control signal with correction data (Fn, Vma) transmitted in step S1314 (step S1315). Next, the effect control unit 202 restores the correction data 1004 (Vma) (step S1316). In step S1316, the correction data 1004 (Vma) is restored by the following equation (4) to obtain the correction value Ma. Here, Dc (A, B) represents a decoding arithmetic expression.

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

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

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

つぎに、ステップS1316において取得された補正値Maを用いて期待値補正処理をおこなう(ステップS1317)。なお、たとえば周辺部にあらかじめ期待値が保持されていない場合、ステップS1317において、周辺部は、他の制御部から期待値を取得し、取得された期待値に期待値補正処理をおこなう。そして、周辺部は、制御コマンドデータ1001および付随データ1002に基づく処理をおこなう(ステップS1318)。   Next, an expected value correction process is performed using the correction value Ma acquired in step S1316 (step S1317). For example, if the expected value is not held in advance in the peripheral portion, in step S1317, 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 S1318).

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

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

つぎに、制御コマンドデータ1001が周辺部の電源が投入されてから所定番目より後(y<n)の客待ちデモコマンドの場合、主制御部201は、制御コマンドデータ1001および付随データ1002をセットする(ステップS1321)。また、主制御部201は、誤り検査値Cbを生成する(ステップS1322)。ここで、誤り検査値Cbは、主制御部201の備える記録部などに記録された所定のプログラムコードなどから生成した誤り検出可能な数値である。誤り検査値Cbは、好適には、実際の誤り検査値とソルト値との演算結果値がよい。また、bは、認証処理の処理順序をあらわし、たとえば電源がオンされてから1回目の認証処理の場合、b=1となる。   Next, when the control command data 1001 is a customer waiting demo command after a predetermined time (y <n) after the peripheral power is turned on, the main control unit 201 sets the control command data 1001 and the accompanying data 1002. (Step S1321). Further, the main control unit 201 generates an error check value Cb (step S1322). 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)を生成する(ステップS1323)。ステップS1323においては、たとえば下記(7)式によって認証データ1003(Vcb)を生成する。なお、ステップS1323において、暗号化演算をおこなう方式は、1種類でもよいし、2種類以上でもよい。暗号化方式が2種類以上の場合、ステップS1323においては、複数の暗号化方式の中から1種類の暗号化方式を選択し、選択した暗号化方式によって暗号化演算をおこなう。また、暗号化演算による暗号化処理を、2回以上おこなってもよい。yは、客待ちデモコマンドの処理順序をあらわし、Fyは、たとえば主制御部201の電源がオンされてからn番目より後(y>n)の客待ちデモコマンドの際に、ステップS1321においてセットされた制御コマンドデータ1001および付随データ1002をあらわす。   Further, the main control unit 201 generates authentication data 1003 (Vcb) (step S1323). In step S1323, for example, authentication data 1003 (Vcb) is generated by the following equation (7). In step S 1323, the encryption calculation method may be one type or two or more types. If there are two or more encryption schemes, in step S1323, one encryption scheme is selected from a plurality of encryption schemes, and an encryption operation is performed using the selected encryption scheme. Further, the encryption process by the encryption operation may be performed twice or more. y represents the processing sequence of the customer waiting demo command, and Fy is set in step S1321 at the customer waiting demo command after the n-th (y> n), for example, after the main control unit 201 is turned on. The control command data 1001 and the accompanying data 1002 are displayed.

Vcb=Ec(Cb,Fy) ・・・(7)     Vcb = Ec (Cb, Fy) (7)

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

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

つぎに、主制御部201は、制御コマンドデータ1001、付随データ1002、認証データ1003を含む認証データ付制御信号1020(Fy,Vcb)を周辺部に送信する(ステップS1324)。なお、ステップS1324においては、周辺部の電源が投入されてからn番目より後のy番目に付随データ1002がセットされた制御コマンドデータ1001(Fy)と、認証データ1003(Vcb)とを、別々に周辺部に送信してもよい。また、この場合、送信順序は、順不同でよい。   Next, the main control unit 201 transmits an authentication data-added control signal 1020 (Fy, Vcb) including control command data 1001, accompanying data 1002, and authentication data 1003 to the peripheral unit (step S1324). In step S1324, the control command data 1001 (Fy) in which the accompanying data 1002 is set to the yth after the nth after the peripheral power is turned on, and the authentication data 1003 (Vcb) are separately provided. May be transmitted to the peripheral part. In this case, the transmission order may be out of order.

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

Cb=Dc(Vcb,Fy) ・・・(9)     Cb = Dc (Vcb, Fy) (9)

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

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

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

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

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

なお、図13のシーケンス図においては、一例としてn番目より前の客待ちデモコマンドのときにダミー認証データ付制御信号1040を送信し、n番目の客待ちデモコマンドのときに補正データ付制御信号1030を送信し、n番目より後の客待ちデモコマンドのときに認証データ付制御信号1020を送信することとしているが、これに限るものではない。具体的には、たとえば補正データ付制御信号1030を送信してから、認証データ付制御信号1020を送信するまでの間の客待ちデモコマンドのときに、ダミー認証データ付制御信号1040を送信してもよいし、補正データ1004や認証データ1003の付加されていない通常の制御信号1010を送信してもよい。   In the sequence diagram of FIG. 13, as an example, the control signal with dummy authentication data 1040 is transmitted when the customer waiting demo command is earlier than the nth, and the control signal with correction data is transmitted when the nth customer waiting demo command. 1030 is transmitted, and the control signal with authentication data 1020 is transmitted at the time of the customer waiting demo command after the nth, but the present invention is not limited to this. Specifically, for example, a control signal with dummy authentication data 1040 is transmitted at the time of a customer waiting demo command from when the control signal with correction data 1030 is transmitted until the control signal with authentication data 1020 is transmitted. Alternatively, a normal control signal 1010 to which correction data 1004 and authentication data 1003 are not added may be transmitted.

また、図13のシーケンス図においては、補正処理の前にダミー認証処理が複数回行われてもよいし、行われなくてもよい。認証処理の前に、少なくとも1回の補正処理がおこなわれていればよい。すなわち、補正データ付制御信号1030が送信される前には、ダミー認証データ付制御信号1040または通常の制御信号1010を送信し、補正データ付制御信号1030が送信された後には、ダミー認証データ付制御信号1040または通常の制御信号1010だけでなく、認証データ付制御信号1020を送信してもよいし、補正データ付制御信号1030をさらに送信してもよい。   In the sequence diagram of FIG. 13, the dummy authentication process may or may not be performed a plurality of times before the correction process. Prior to the authentication process, at least one correction process may be performed. That is, before the control signal with correction data 1030 is transmitted, the control signal with dummy authentication data 1040 or the normal control signal 1010 is transmitted, and after the control signal with correction data 1030 is transmitted, the dummy authentication data is added. In addition to the control signal 1040 or the normal control signal 1010, the control signal with authentication data 1020 may be transmitted, or the control signal with correction data 1030 may be further transmitted.

また、図13のシーケンス図において、周辺部は、ステップS1317において期待値補正をおこなった後に、補正後の期待値(最終期待値)そのものを固定値として保持しなくてもよい。この場合、たとえば製造時から、補正データ1004による補正処理(B)をおこなわないと、ダミー認証処理(A)においては認証が成立となり、認証処理(C)においては認証が不成立となるように設計する。このようにすることで、最終期待値を知り得る者を限定することができ、期待値に関する情報の流出などのリスクを低減することができる。   In the sequence diagram of FIG. 13, the peripheral part may not hold the corrected expected value (final expected value) itself as a fixed value after performing the expected value correction in step S <b> 1317. In this case, for example, if the correction process (B) using the correction data 1004 is not performed from the time of manufacture, authentication is established in the dummy authentication process (A), and authentication is not established in the authentication process (C). To do. 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 or the arithmetic expression determined in advance may be used in the main control unit 201 and the peripheral unit.

また、補正データを用いた補正処理や認証データを用いた認証処理は、補正データや認証データを受信する度におこなうのではなく、複数の補正データや認証データを受信した時点でおこなうこととしてもよい。この場合、周辺部は、たとえば、第1の客待ちデモコマンドデータ(または、第1の客待ちデモ停止コマンドデータ)および第1の制御データとともに第1の補正データを受信した場合、補正処理をおこなわずに、第1の客待ちデモコマンドデータ(または、第1の客待ちデモ停止コマンドデータ)および第1の制御データに基づく処理をおこなう。   In addition, correction processing using correction data and authentication processing using authentication data are not performed every time correction data or authentication data is received, but may be performed when a plurality of correction data or authentication data is received. Good. In this case, for example, when the peripheral unit receives the first correction data together with the first customer waiting demo command data (or the first customer waiting demo stop command data) and the first control data, the peripheral unit performs the correction process. Without performing, processing based on the first customer waiting demo command data (or the first customer waiting demo stop command data) and the first control data is performed.

そして、周辺部は、第2の客待ちデモコマンドデータ(または、第2の客待ちデモ停止コマンドデータ)および第2の制御データとともに第2の補正データを受信した場合、第2の客待ちデモコマンドデータ(または、第2の客待ちデモ停止コマンドデータ)および第2の制御データに基づく処理をおこなう前に、第1の補正データを用いた補正処理をおこなう。このとき、周辺部は、第1の補正データと第2の補正データの両方を用いて補正処理をおこなってもよい。このように、複数の補正データを受信した時点で補正処理をおこなえば、エラーによって制御信号に余分なデータが付加されてしまった場合などに、誤って補正処理をおこなってしまうことを防ぐことができる。なお、上述した説明では補正処理について説明したが、認証処理についても同様である。   When the second correction data is received together with the second customer waiting demo command data (or the second customer waiting demo stop command data) and the second control data, the peripheral portion receives the second customer waiting demo. Before performing processing based on command data (or second customer waiting demo stop command data) and second control data, correction processing using the first correction data is performed. At this time, the peripheral portion may perform correction processing using both the first correction data and the second correction data. In this way, if correction processing is performed when a plurality of correction data is received, it is possible to prevent erroneous correction processing when extra data is added to the control signal due to an error. it can. Although the correction process has been described in the above description, the same applies to the authentication process.

また、上述した説明では、客待ちデモ停止コマンド(または客待ちデモコマンド)を送信する際に認証データを送信することとしたが、他の制御コマンドを送信する際に認証データを送信することとしてもよい。具体的には、たとえば、電源オンコマンドや大当たりリーチコマンド、大当たり開始コマンド、大当たりコマンド、大当たり終了コマンド、はずれコマンドなどのうち、いずれか(複数でも可)を送信する際に認証データを送信することとしてもよい。また、上述した説明では、客待ちデモコマンドを送信する際にダミー認証データ1005を送信することとしたが、これに限るものではない。たとえば補正データ1004および認証データ1003を客待ちデモコマンドを送信する際にのみに送信する場合でも、ダミー認証データ1005を他の制御コマンドを送信する際に送信してもよい。このようにすることで、さらに補正データ1004や認証データ1003の送信されたタイミングが第三者に見破られることを防ぎ、補正データ1004や認証データ1003が窃取されることをより防ぐことができる。   In the above description, the authentication data is transmitted when the customer waiting demo stop command (or the customer waiting demo command) is transmitted. However, the authentication data is transmitted when another control command is transmitted. Also good. Specifically, for example, authentication data is transmitted when any one or more of a power-on command, a jackpot reach command, a jackpot start command, a jackpot command, a jackpot end command, a miss command, etc. are transmitted. It is good. In the above description, the dummy authentication data 1005 is transmitted when the customer waiting demo command is transmitted. However, the present invention is not limited to this. For example, even when the correction data 1004 and the authentication data 1003 are transmitted only when the customer waiting demo command is transmitted, the dummy authentication data 1005 may be transmitted when another control command is transmitted. In this way, it is possible to further prevent the third party from seeing the timing at which the correction data 1004 and the authentication data 1003 are transmitted, and to further prevent the correction data 1004 and the authentication data 1003 from being stolen.

以上説明したように、本実施の形態にかかる電子機器では、所定の制御コマンドを送信する際、周辺部において主制御部の照合に用いる期待値を補正するための補正データを用いて期待値補正処理をおこなう。また、補正データを送信した後で、所定の制御コマンドを送信する際、主制御部の正当性を認証するための認証データを用いて認証処理をおこなう。補正データは、主制御部に固有の値によって生成される。たとえば、補正データは主制御部が変更された場合、変更前の主制御部に固有の値と、変更後の主制御部に固有の値との差分によって生成される。   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 collation of the main control unit, in the peripheral part, it is possible to limit the persons who can know the final expected value used for collation. In this case, specifically, for example, when the expected value correction process is not performed from the time of manufacturing, the dummy authentication process is designed so that authentication is established, and the authentication process is not established. As a result, it is possible to reduce risks such as leakage of information regarding expected values.

また、補正処理や認証処理をおこなうタイミング以外の場合、所定の制御コマンドを送信する際に、ダミー認証データを付加することができる。ダミー認証データは、認証データのダミーデータであり、補正処理や認証処理に用いられない。そして、たとえば補正処理がおこなわれる前でも、主制御部を仮に認証することができる。したがって、補正データや認証データの送信されるタイミング、すなわち補正処理や認証処理のおこなわれるポイントが第3者に見破られることを防ぎ、期待値に関する情報や認証に関する情報の流出などのリスクをより軽減することができる。   In addition to the timing for performing the correction process and the authentication process, dummy authentication data can be added when a predetermined control command is transmitted. The dummy authentication data is dummy data of the authentication data and is not used for correction processing or authentication processing. For example, even before the correction process is performed, the main control unit can be temporarily authenticated. Therefore, the timing at which correction data and authentication data are transmitted, that is, points where correction processing and authentication processing are performed is prevented from being overlooked by a third party, and risks such as leakage of information on expected values and information on authentication are further reduced. can do.

また、本実施の形態にかかる電子機器(たとえば、ぱちんこ遊技機)では、たとえば主制御部が周辺部に客待ちデモコマンドまたは客待ちデモ停止コマンドを送信する場合に、周辺部において主制御部を照合するための期待値の補正処理や、主制御部の正当性を認証する認証処理をおこなう。よって、客待ちデモコマンドや客待ちデモ停止コマンドのタイミング設計のみを変更することによって、既存のぱちんこ遊技機に補正処理および認証処理を実行させることができる。また、補正処理や認証処理を全ての制御コマンドの送信時におこなう場合と比べると、客待ちデモコマンドおよび客待ちデモ停止コマンドが送信されている期間(客待ちデモの処理の開始時と終了時)に認証処理や補正処理をおこなうのみであるため、主制御部や周辺部の処理負荷を減らすことができる。なお、補正データおよび認証データを、客待ちデモコマンドまたは客待ちデモ停止コマンドのどちらか一方のみに付加することとしてもよい。この場合、主制御部や周辺部の処理負荷をさらに減らすことができ、電子機器に認証処理および補正処理を追加する作業がさらに容易になる。   Moreover, in the electronic device (for example, pachinko gaming machine) according to the present embodiment, for example, when the main control unit transmits a customer waiting demo command or a customer waiting demo stop command to the peripheral unit, the main control unit is provided in the peripheral unit. An expected value correction process for collation and an authentication process for authenticating the validity of the main control unit are performed. Therefore, by changing only the timing design of the customer waiting demo command or the customer waiting demo stop 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, the period when the customer waiting demo command and the customer waiting demo stop command are transmitted (at the start and end of the customer waiting demo processing) Since only the authentication process and the correction process are performed, the processing load on the main control unit and peripheral units can be reduced. The correction data and the authentication data may be added only to either the customer waiting demo command or the customer waiting demo stop command. In this case, the processing load on the main control unit and the peripheral part can be further reduced, and the work of adding authentication processing and correction processing to the electronic device is further facilitated.

また、客待ちデモは、ぱちんこ遊技機のメインの処理である遊技(ゲーム進行)関連処理がおこなわれていないときに表示される。よって、補正処理や認証処理による処理負荷が遊技関連処理に影響を与えることがない。このため、主制御部や周辺部が高度な処理能力を有していない場合や、遊技関連処理の処理負荷が大きいぱちんこ遊技機であっても、補正処理機能および認証処理機能を追加することができる。   The customer waiting demo is displayed when the game (game progress) related process which is the main process of the pachinko gaming machine is not performed. Therefore, the processing load due to the correction process and the authentication process does not affect the game related process. For this reason, even if the main control unit or peripheral part does not have a high processing capacity, or even a pachinko gaming machine with a large processing load of game-related processing, a correction processing function and an authentication processing function may be added. it can.

さらに、本実施の形態にかかるぱちんこ遊技機においては、たとえば制御コマンドが客待ちデモコマンドである場合に、制御コマンドに補正データを付加し、制御コマンドが客待ちデモ停止コマンドである場合に、制御コマンドに認証データを付加する。客待ちデモは、客待ちデモコマンドによって開始し、客待ちデモ停止コマンドによって停止される。このため、1回の客待ちデモに、客待ちデモコマンドと客待ちデモ停止コマンドがこの順に1度ずつ送信される。したがって、1回の客待ちデモにおいて、補正処理と認証処理をこの順に両処理ともおこなうことができる。このように、非遊技状態の間に、補正処理と認証処理をおこなうことができるため、遊技状態になる前に、不正を検知することができる。このため、遊技状態を、不正のない安全な状態でおこなうことができる。   Furthermore, in the pachinko gaming machine according to the present embodiment, for example, when the control command is a customer waiting demo command, correction data is added to the control command, and when the control command is a customer waiting demo stop command, the control is performed. Add authentication data to the command. The customer waiting demo is started by the customer waiting demo command and stopped by the customer waiting demo stop command. Therefore, the customer waiting demo command and the customer waiting demo stop command are transmitted once in this order for each customer waiting demo. Therefore, both correction processing and authentication processing can be performed in this order in one customer waiting demonstration. As described above, since the correction process and the authentication process can be performed during the non-gaming state, fraud can be detected before the gaming state is entered. For this reason, the gaming state can be performed in a safe state without fraud.

また、たとえば第三者が客待ちデモの間に不正をおこない、そのまま遊技状態に入ろうとした際、客待ちデモを停止するときに認証処理をおこなうことができる。そして、このときに、報知信号の出力によって報知することで、不正をおこなった可能性の高い第三者を従業員に報知することができる。   Further, for example, when a third party cheats during a customer waiting demo and tries to enter the gaming state as it is, an authentication process can be performed when the customer waiting demo is stopped. At this time, by notifying by the output of the notification signal, it is possible to notify the employee of a third party who has a high possibility of fraud.

なお、制御コマンドが客待ちデモ停止コマンドである場合に、制御コマンドに補正データを付加し、制御コマンドが客待ちデモコマンドである場合に、制御コマンドに認証データを付加してもよい。このように、補正データまたは認証データを客待ちデモコマンドまたは客待ちデモ停止コマンドに任意に付加すればよいため、補正処理や認証処理を追加する設計の自由度が増し、第三者に補正データや認証データが窃取されにくくなる。   When the control command is a customer waiting demo stop command, correction data may be added to the control command, and when the control command is a customer waiting demo command, authentication data may be added to the control command. In this way, correction data or authentication data can be arbitrarily added to the customer waiting demo command or customer waiting demo stop command, so the degree of freedom in design for adding correction processing and authentication processing is increased, and correction data is sent to a third party. And authentication data are less likely to be stolen.

なお、本実施の形態で説明した主制御部および周辺部の制御方法は、あらかじめ用意されたプログラムをパーソナル・コンピュータやワークステーション等のコンピュータで実行することにより実現することができる。このプログラムは、ハードディスク、フレキシブルディスク、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 送信部
330 周辺基板
331 受信部
332 補正部
333 判断部
334 認証部
335 放置信号出力部
301 main control board 311 control command storage unit 312 recording unit 313 correction data generation unit 314 authentication data generation unit 315 dummy authentication data generation unit 316 addition unit 317 transmission unit 330 peripheral board 331 reception unit 332 correction unit 333 judgment unit 334 authentication unit 335 Unattended signal output section

Claims (23)

制御コマンドを送信する主制御部と、前記主制御部によって送信された前記制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器であって、
前記主制御部は、
前記周辺部に保持され、前記主制御部から送信されたデータの照合に用いる期待値を補正する補正処理のための補正データを生成する補正データ生成手段と、
前記主制御部を認証する認証処理のための認証データを生成する認証データ生成手段と、
前記認証データのダミーデータ(以下、「ダミー認証データ」という)を生成するダミー認証データ生成手段と、
前記周辺部に送信する前記制御コマンドが、前記電子機器のメインの処理の待機中に表示されるデモ表示を開始する制御コマンド(以下、「デモ表示開始コマンド」という)または前記デモ表示を停止させる制御コマンド(以下、「デモ表示停止コマンド」という)である場合、前記補正データ生成手段によって生成された前記補正データを当該制御コマンドに付加し、前記補正データが付加された後に、前記周辺部に送信する前記制御コマンドが前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、前記認証データ生成手段によって生成された前記認証データを当該制御コマンドに付加し、前記補正データまたは前記認証データが付加された前記制御コマンド以外の制御コマンドに、前記ダミー認証データ生成手段によって生成されたダミー認証データを付加し、前記補正データ、前記認証データあるいは前記ダミー認証データのいずれかを付加した前記制御コマンドを同一のデータ長とする付加手段と、
前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)、前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)または前記ダミー認証データの付加された前記制御コマンド(以下、「ダミー認証データ付制御コマンド」という)を前記周辺部に送信する送信手段と、
を備え、
前記周辺部は、
前記主制御部によって送信された前記補正データ付制御コマンド、前記認証データ付制御コマンドまたは前記ダミー認証データ付制御コマンドを受信する受信手段と、
前記受信手段によって前記補正データ付制御コマンドを受信した場合、当該補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正手段と、
前記受信手段によって前記認証データ付制御コマンドを受信した場合、当該認証データ付制御コマンドを用いて算出された値が、前記補正手段によって補正された前記期待値と一致するか否かを判断する判断手段と、
前記判断手段によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御部を認証する認証手段と、
を備え、
前記認証手段は、前記受信手段によって前記ダミー認証データ付制御コマンドを受信した場合、前記主制御部を認証することを特徴とする電子機器。
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 correction processing for correcting an expected value used for collation of data held in the peripheral portion and transmitted from the main control unit;
Authentication data generating means for generating authentication data for authentication processing for authenticating the main control unit;
Dummy authentication data generating means for generating dummy data of the authentication data (hereinafter referred to as “dummy authentication data”);
The control command to be transmitted to the peripheral part is a control command (hereinafter referred to as “demo display start command”) that starts a demonstration display that is displayed while waiting for main processing of the electronic device, or the demonstration display is stopped. In the case of a control command (hereinafter referred to as “demo display stop command”), the correction data generated by the correction data generation means is added to the control command, and after the correction data is added, When the control command to be transmitted is the demonstration display start command or the demonstration display stop command, the authentication data generated by the authentication data generation means is added to the control command, and the correction data or the authentication data is added. In response to a control command other than the received control command, the dummy authentication data generating means Adding dummy authentication data generated Te, and the correction data, adding means to the authentication data or the same data length the control command obtained by adding one of the dummy authentication data,
The control command to which the correction data is added (hereinafter referred to as “control command with correction data”), the control command to which the authentication data is added (hereinafter referred to as “control command with authentication data”), or the dummy authentication data. Transmitting means for transmitting the control command to which the information is added (hereinafter referred to as “control command with dummy authentication data”) to the peripheral part;
With
The peripheral portion is
Receiving means for receiving the control command with correction data, the control command with authentication data or the control command with dummy authentication data transmitted by the main control unit;
When the control command with correction data is received by the receiving means, the correction means for correcting the expected value held in the peripheral part using the control command with correction data;
When receiving the control command with authentication data by the receiving means, a determination to determine whether or not the value calculated using the control command with authentication data matches the expected value corrected by the correction means Means,
An authentication unit that authenticates 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;
With
The electronic device is characterized in that, when the receiving unit receives the control command with dummy authentication data, the authentication unit authenticates the main control unit.
前記付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部に電源が投入されてから所定回数後の前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、当該デモ表示開始コマンドまたは当該デモ表示停止コマンドに前記補正データを付加することを特徴とする請求項1に記載の電子機器。   When the control command to be transmitted to the peripheral unit is the demo display start command or the demo display stop command after a predetermined number of times after the main control unit is powered on, the demonstration display start command The electronic device according to claim 1, wherein the correction data is added to the demonstration display stop command. 前記付加手段は、前記周辺部に送信する前記制御コマンドが前記主制御部リセットされてから所定回数後の前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、当該デモ表示開始コマンドまたは当該デモ表示停止コマンドに前記補正データを付加することを特徴とする請求項1または2に記載の電子機器。 Said additional means, the control command to be transmitted to the peripheral portion, if the main controller is the demonstration display start command or the demonstration display stop command after a predetermined number of times since the resetting, the demonstration display start command or The electronic device according to claim 1, wherein the correction data is added to the demonstration display stop command. 前記付加手段は、前記補正データまたは前記認証データが付加された前記制御コマンド以外の制御コマンドが、前記補正データが付加される前の前記大当たりリーチコマンドの場合に、前記ダミー認証データを付加することを特徴とする請求項1〜3のいずれか一つに記載の電子機器。   The adding means adds the dummy authentication data when a control command other than the control command to which the correction data or the authentication data is added is the jackpot reach command before the correction data is added. The electronic device according to claim 1, wherein 前記付加手段は、前記大当たりリーチコマンド以外の種類の制御コマンドの場合に、前記ダミー認証データを付加することを特徴とする請求項1〜3のいずれか一つに記載の電子機器。   The electronic device according to claim 1, wherein the adding unit adds the dummy authentication data in the case of a control command of a type other than the jackpot reach command. 前記認証手段は、前記受信手段によって前記ダミー認証データ付制御コマンドを受信した場合、前記判断手段による前記ダミー認証データを用いて算出された値と前記期待値とが一致するか否かの処理を省略して、前記主制御部を認証することを特徴とする請求項1〜5のいずれか一つに記載の電子機器。   When the authentication unit receives the control command with dummy authentication data by the receiving unit, the authentication unit performs processing to determine whether or not the value calculated using the dummy authentication data by the determination unit matches the expected value. The electronic device according to claim 1, wherein the electronic control unit is omitted and authenticates the main control unit. 前記判断手段は、前記受信手段によって受信された前記ダミー認証データ付制御コマンドを用いて算出された値と前記期待値とが一致するか否かを判断し、
前記認証手段は、前記判断手段による判断結果が前記ダミー認証データを用いて算出された値と前記期待値とが一致したか否かに関わらず、前記主制御部を認証することを特徴とする請求項1〜5のいずれか一つに記載の電子機器。
The determination means determines whether the value calculated using the control command with dummy authentication data received by the reception means matches the expected value;
The authentication unit authenticates the main control unit regardless of whether or not a result of determination by the determination unit matches a value calculated using the dummy authentication data and the expected value. The electronic device as described in any one of Claims 1-5.
前記付加手段は、前記周辺部に送信する前記制御コマンドが、前記送信手段によって送信された前記補正データ付制御コマンドによって開始された前記デモ表示の処理を終了させる前記デモ表示停止コマンドである場合、当該デモ表示停止コマンドに前記認証データを付加することを特徴とする請求項1〜7のいずれか一つに記載の電子機器。   When the control command transmitted to the peripheral part is the demonstration display stop command for ending the demonstration display process started by the control command with correction data transmitted by the transmission unit, 8. The electronic apparatus according to claim 1, wherein the authentication data is added to the demonstration display stop command. 前記主制御部は、The main control unit
前記主制御部に設定されている固有の値を記録する記録手段を備え、  Recording means for recording a unique value set in the main control unit;
前記補正データ生成手段は、前記記録手段によって記録された前記固有の値を用いて前記補正データを生成することを特徴とする請求項1〜5のいずれか一つに記載の電子機器。  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.
前記補正データ生成手段は、前記主制御部が他の前記主制御部に変更された場合、前記記録手段に記録された、変更される前の前記主制御部に設定されていた固有の値と、変更された後の他の前記主制御部に設定されている固有の値との差分を、前記補正データとして生成することを特徴とする請求項9に記載の電子機器。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 9, wherein a difference from a unique value set in the other main control unit after being changed is generated as the correction data. 前記補正データ生成手段は、前記固有の値とともに前記補正データを付加する前記制御コマンドを用いて当該補正データを生成することを特徴とする請求項9または10に記載の電子機器。The electronic device according to claim 9, wherein the correction data generation unit generates the correction data by using the control command that adds the correction data together with the unique value. 前記主制御部は、The main control unit
所定のプログラムコードを記録した記録手段を備え、  Comprising a recording means for recording a predetermined program code;
前記補正データ生成手段は、前記記録手段に記録されたプログラムコードを用いて前記補正データを生成することを特徴とする請求項1〜8のいずれか一つに記載の電子機器。  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.
前記補正データ生成手段は、前記プログラムコードとともに前記補正データを付加する前記制御コマンドを用いて当該補正データを生成することを特徴とする請求項12に記載の電子機器。13. The electronic apparatus according to claim 12, wherein the correction data generation unit generates the correction data using the control command that adds the correction data together with the program code. 前記主制御部は、The main control unit
所定のプログラムコードを記録した記録手段を備え、  Comprising a recording means for recording a predetermined program code;
前記認証データ生成手段は、前記記録手段によって記録されたプログラムコードを用いて前記認証データを生成することを特徴とする請求項1〜13のいずれか一つに記載の電子機器。  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.
前記認証データ生成手段は、前記プログラムコードとともに前記認証データを付加する前記制御コマンドを用いて当該認証データを生成することを特徴とする請求項14に記載の電子機器。The electronic device according to claim 14, wherein the authentication data generation unit generates the authentication data using the control command that adds the authentication data together with the program code. 前記補正手段は、前記主制御部から送信された前記制御コマンドが前記補正データ付制御コマンドの場合、前記補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正することを特徴とする請求項1〜15のいずれか一つに記載の電子機器。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〜15のいずれか一つに記載の電子機器。When the control command transmitted from the main control unit is the demonstration display start command or the demonstration display stop command, the correction means is held in the peripheral unit using the control command with correction data. The electronic apparatus according to claim 1, wherein an expected value is corrected. 前記判断手段は、前記主制御部から送信された前記制御コマンドが前記認証データ付制御コマンドの場合、前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致するか否かを判断することを特徴とする請求項1〜17のいずれか一つに記載の電子機器。In the case where the control command transmitted from the main control unit is the control command with authentication data, the determination means determines whether the value calculated using the control command with authentication data matches the expected value. The electronic apparatus according to claim 1, wherein it is determined whether or not. 前記判断手段は、前記主制御部から送信された前記制御コマンドが前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致するか否かを判断することを特徴とする請求項1〜17のいずれか一つに記載の電子機器。The determination means, when the control command transmitted from the main control unit is the demonstration display start command or the demonstration display stop command, a value calculated using the control command with authentication data, and the expected value And the electronic apparatus according to claim 1, wherein it is determined whether or not the two match. 前記周辺部は、The peripheral portion is
前記認証手段によって前記主制御部が認証されなかった場合、報知信号を出力する出力手段を備えることを特徴とする請求項1〜19のいずれか一つに記載の電子機器。  20. 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〜20のいずれか一つに記載の電子機器を備え、The electronic apparatus according to any one of claims 1 to 20, 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.
制御コマンドを送信する主制御部と、前記主制御部によって送信された制御コマンドに基づいて所定の処理をおこなう周辺部と、を備える電子機器における認証方法であって、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 correction processing for correcting an expected value used for collation of data held in the peripheral portion and transmitted from the main control unit;
前記主制御部を認証する認証処理のための認証データを生成する認証データ生成工程と、  An authentication data generation step of generating authentication data for authentication processing for authenticating the main control unit;
前記認証データのダミーデータ(以下、「ダミー認証データ」という)を生成するダミー認証データ生成工程と、  Dummy authentication data generating step for generating dummy data of the authentication data (hereinafter referred to as “dummy authentication data”);
前記周辺部に送信する前記制御コマンドが、前記電子機器のメインの処理の待機中に表示されるデモ表示を開始する制御コマンド(以下、「デモ表示開始コマンド」という)または前記デモ表示を停止させる制御コマンド(以下、「デモ表示停止コマンド」という)である場合、前記補正データ生成工程によって生成された前記補正データを当該制御コマンドに付加し、前記補正データが付加された後に、前記周辺部に送信する前記制御コマンドが前記デモ表示開始コマンドまたは前記デモ表示停止コマンドである場合、前記認証データ生成工程によって生成された前記認証データを当該制御コマンドに付加し、前記補正データまたは前記認証データが付加された前記制御コマンド以外の制御コマンドに、前記ダミー認証データ生成工程によって生成されたダミー認証データを付加し、前記補正データ、前記認証データあるいは前記ダミー認証データのいずれかを付加した前記制御コマンドを同一のデータ長とする付加工程と、  The control command to be transmitted to the peripheral part is a control command (hereinafter referred to as “demo display start command”) that starts a demonstration display that is displayed while waiting for main processing of the electronic device, or the demonstration display is stopped. In the case of a control command (hereinafter referred to as “demo display stop command”), the correction data generated by the correction data generation step is added to the control command, and after the correction data is added, When the control command to be transmitted is the demonstration display start command or the demonstration display stop command, the authentication data generated by the authentication data generation step is added to the control command, and the correction data or the authentication data is added. In response to the dummy authentication data generation step, a control command other than the received control command is assigned. Adding dummy authentication data generated Te, the additional step of the correction data, the same data length the control command obtained by adding any of the authentication data or the dummy authentication data,
前記補正データの付加された前記制御コマンド(以下、「補正データ付制御コマンド」という)、前記認証データの付加された前記制御コマンド(以下、「認証データ付制御コマンド」という)または前記ダミー認証データの付加された前記制御コマンド(以下、「ダミー認証データ付制御コマンド」という)を前記周辺部に送信する送信工程と、  The control command to which the correction data is added (hereinafter referred to as “control command with correction data”), the control command to which the authentication data is added (hereinafter referred to as “control command with authentication data”), or the dummy authentication data. A transmission step of transmitting the control command to which the information is added (hereinafter referred to as “control command with dummy authentication data”) to the peripheral portion;
を含み、  Including
前記周辺部において、  In the periphery,
前記主制御部によって送信された前記補正データ付制御コマンド、前記認証データ付制御コマンドまたは前記ダミー認証データ付制御コマンドを受信する受信工程と、  Receiving the control command with correction data, the control command with authentication data or the control command with dummy authentication data transmitted by the main control unit;
前記受信工程によって前記補正データ付制御コマンドを受信した場合、当該補正データ付制御コマンドを用いて前記周辺部に保持されている前記期待値を補正する補正工程と、  When the control command with correction data is received by the receiving step, a correction step of correcting the expected value held in the peripheral portion using the control command with correction data;
前記受信工程によって前記認証データ付制御コマンドを受信した場合、当該認証データ付制御コマンドを用いて算出された値が、前記補正工程によって補正された前記期待値と一致するか否かを判断する判断工程と、  When receiving the control command with authentication data by the reception step, a determination to determine whether or not the value calculated using the control command with authentication data matches the expected value corrected by the correction step Process,
前記判断工程によって前記認証データ付制御コマンドを用いて算出された値と、前記期待値と、が一致すると判断された場合、前記主制御部を認証する認証工程と、  An authentication step of 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;
を含み、  Including
前記認証工程は、前記受信工程によって前記ダミー認証データ付制御コマンドを受信した場合、前記主制御部を認証することを特徴とする認証方法。  The authentication method is characterized in that the main control unit is authenticated when the control command with dummy authentication data is received in the receiving step.
請求項22に記載の認証方法をコンピュータに実行させることを特徴とする認証プログラム。An authentication program causing a computer to execute the authentication method according to claim 22.
JP2008328641A 2008-12-24 2008-12-24 Electronic device, game machine, authentication method and authentication program Expired - Fee Related JP4933525B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008328641A JP4933525B2 (en) 2008-12-24 2008-12-24 Electronic device, game machine, authentication method and authentication program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008328641A JP4933525B2 (en) 2008-12-24 2008-12-24 Electronic device, game machine, authentication method and authentication program

Publications (2)

Publication Number Publication Date
JP2010148614A JP2010148614A (en) 2010-07-08
JP4933525B2 true JP4933525B2 (en) 2012-05-16

Family

ID=42568397

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008328641A Expired - Fee Related JP4933525B2 (en) 2008-12-24 2008-12-24 Electronic device, game machine, authentication method and authentication program

Country Status (1)

Country Link
JP (1) JP4933525B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010172489A (en) * 2009-01-29 2010-08-12 Kyoraku Sangyo Kk Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4933523B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933524B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933522B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933521B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933526B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4236728B2 (en) * 1998-03-27 2009-03-11 株式会社三共 Game machine
JP2000093623A (en) * 1998-09-25 2000-04-04 Daiman:Kk Game machine
JP4271892B2 (en) * 2002-01-18 2009-06-03 株式会社ソフィア Game machine
JP2004206574A (en) * 2002-12-26 2004-07-22 Toshiba Corp Portable electronic medium and authentication processing method for it
JP2008279041A (en) * 2007-05-10 2008-11-20 Kyoraku Sangyo Kk Pachinko game machine, main control board, peripheral board, authentication method, and authentication program
JP4933523B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933524B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933522B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933521B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program
JP4933526B2 (en) * 2008-12-24 2012-05-16 京楽産業.株式会社 Electronic device, game machine, authentication method and authentication program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010172489A (en) * 2009-01-29 2010-08-12 Kyoraku Sangyo Kk Electronic equipment, game machine, main control board, peripheral board, authentication method and authentication program

Also Published As

Publication number Publication date
JP2010148614A (en) 2010-07-08

Similar Documents

Publication Publication Date Title
JP5129096B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129100B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933521B2 (en) Electronic device, game machine, authentication method and authentication program
JP2008279042A (en) Pachinko game machine, main control board, peripheral board, 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
JP2008279041A (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
JP4933525B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933526B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933522B2 (en) Electronic device, game machine, authentication method and authentication program
JP4933523B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129097B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129098B2 (en) Electronic device, game machine, authentication method and authentication program
JP5129101B2 (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
JP2010172489A (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
JP2010172487A (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
JP4800359B2 (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: 20110726

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110926

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150224

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20150224

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

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees