[go: up one dir, main page]

JP2008289716A - Illegal operation prevention device for game machine, its method, and game machine - Google Patents

Illegal operation prevention device for game machine, its method, and game machine Download PDF

Info

Publication number
JP2008289716A
JP2008289716A JP2007139203A JP2007139203A JP2008289716A JP 2008289716 A JP2008289716 A JP 2008289716A JP 2007139203 A JP2007139203 A JP 2007139203A JP 2007139203 A JP2007139203 A JP 2007139203A JP 2008289716 A JP2008289716 A JP 2008289716A
Authority
JP
Japan
Prior art keywords
program
memory
processing circuit
gaming machine
game
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.)
Pending
Application number
JP2007139203A
Other languages
Japanese (ja)
Inventor
Katsuyoshi Okawa
克好 大河
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.)
PSD KK
Modus ID Corp
Original Assignee
PSD KK
Modus ID Corp
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 PSD KK, Modus ID Corp filed Critical PSD KK
Priority to JP2007139203A priority Critical patent/JP2008289716A/en
Publication of JP2008289716A publication Critical patent/JP2008289716A/en
Pending legal-status Critical Current

Links

Landscapes

  • Pinball Game Machines (AREA)
  • Slot Machines And Peripheral Devices (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an illegal operation prevention device for a game machine, capable of preventing the game machine from performing illegal operation on the basis of an illegal program when the program of the game machine is illegally altered. <P>SOLUTION: A program PRGM of a ROM 13 is written to a monitoring ROM 37 in advance as a collation program. In an idle mode after the execution of the program PRGM in a main CPU 17, coincidence between the program PRGM stored in the ROM 13 and the collation program PRGMC stored in the monitoring ROM 37 is verified by a monitoring CPU 39. When the monitoring CPU 39 detects noncoincidence, it closes a bus gate 9 on a data bus 6. Thus, a game processing circuit 5 does not execute a command issued by the main CPU 17. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、不正なプログラムの実行による遊技機の不正動作を防止する遊技機不正動作防止装置およびその方法と遊技機に関する。   The present invention relates to a gaming machine unauthorized operation preventing apparatus, a method thereof, and a gaming machine for preventing unauthorized operation of a gaming machine due to execution of an unauthorized program.

従来より、パチンコやスロットマシンなどの遊技機には、制御用マイクロコンピュータが内蔵されており、当該マイクロコンピュータの制御により、電動役物や回胴の回転制御等の各種制御を行っている。
このような遊技機に用いられるマイクロコンピュータのプログラムは、マイクロコンピュータ内のROM(Read Only Memory)に開発製造業者によって書き込まれる。
ところで、このようなパチンコやスロットマシンなどの遊技機は、風俗営業法に基づく規則にしたがって認定及び検定を受けなければ、販売することができない。そのため、マイクロコンピュータを組み込んだ遊技機は、所定の協会の形式試験を受け合格する必要がある。
Conventionally, game machines such as pachinko machines and slot machines have built-in microcomputers for control, and various controls such as the rotation control of the electric accessory and the spinning cylinder are performed under the control of the microcomputer.
A microcomputer program used in such a gaming machine is written by a development manufacturer in a ROM (Read Only Memory) in the microcomputer.
By the way, gaming machines such as pachinko machines and slot machines cannot be sold unless they are certified and certified according to the rules based on the customs business law. Therefore, it is necessary for a gaming machine incorporating a microcomputer to pass a formal test of a predetermined association.

特開2002−306806号公報JP 2002-306806 A

しかしながら、上述した遊技機は、形式試験合格後にプログラムが改変されたとしても、それを発見することが困難であり、正規の遊技機として取り扱われてしまう可能性がある。
このようにプログラムを改変した不正な遊技機が用いられると、遊技者に不測の不利益をもたらすとともに、形式試験に合格した遊技機を取り扱っている開発製造業者あるいは販売業者等の信用が失われてしまう。
However, even if the above-mentioned gaming machine is modified after the formal test is passed, it is difficult to find it and there is a possibility that it will be handled as a regular gaming machine.
If an unauthorized gaming machine with a modified program is used in this way, it will cause an unexpected disadvantage to the player, and the trust of the development manufacturer or distributor handling the gaming machine that has passed the formal test will be lost. End up.

本発明はかかる事情に鑑みてなされたものであり、その目的は、遊技機のプログラムを不正に改変された場合に、その不正なプログラムを基に遊技機が不正な動作をすることを防止する遊技機不正動作防止装置およびその方法と遊技機を提供することにある。   The present invention has been made in view of such circumstances, and an object thereof is to prevent a gaming machine from performing an illegal operation based on the unauthorized program when the program of the gaming machine is illegally modified. An object of the present invention is to provide a gaming machine illegal operation preventing apparatus and method, and a gaming machine.

上述した目的を達成するために、第1の観点の発明の遊技機不正動作防止装置は、第1のメモリに記憶されたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止装置であって、前記遊戯動作を制御する前の初期動作において、前記第1のメモリから読み出された前記プログラムが、比較用プログラムとして書き込まれる第2のメモリと、前記初期動作後に、前記第1のメモリから読み出されたプログラムと前記第2のメモリから読み出された前記比較用プログラムとの間に不一致を検出すると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶されたプログラムを実行する動作を禁止する制御回路とを有する。   In order to achieve the above-described object, the gaming machine unauthorized operation preventing apparatus according to the first aspect of the invention is an illegal gaming machine that performs a gaming operation by controlling a processing circuit based on a program stored in a first memory. A gaming machine illegal operation preventing apparatus for preventing operation, wherein the program read from the first memory is written as a comparison program in an initial operation before controlling the game operation. And a command issued by the processing circuit when a mismatch is detected between the program read from the first memory and the comparison program read from the second memory after the initial operation. A control circuit for prohibiting the game operation based on the above or the operation of the processing circuit executing the program stored in the first memory.

第1の観点の発明の遊技機不正動作防止装置では、前記遊戯動作を制御する前の初期動作において、前記第1のメモリから読み出された前記プログラムが、比較用プログラムとして第2のメモリに書き込まれる。
そして、制御回路が、前記初期動作後に、前記第1のメモリから読み出された前記プログラムと前記第2のメモリから読み出された前記比較用プログラムとの間の一致/不一致を検出する。
そして、前記制御回路が、上記不一致を検出すると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶された前記プログラムを実行する動作を禁止する。
これにより、不正なプログラムを基にした処理回路の制御によって、不正な遊戯動作が行われることを防止できる。
In the gaming machine illegal operation preventing apparatus according to the first aspect of the invention, in the initial operation before controlling the game operation, the program read from the first memory is stored in the second memory as a comparison program. Written.
Then, after the initial operation, the control circuit detects a match / mismatch between the program read from the first memory and the comparison program read from the second memory.
When the control circuit detects the inconsistency, the game operation based on the command issued by the processing circuit or the operation of the processing circuit executing the program stored in the first memory is prohibited. To do.
Thereby, it is possible to prevent an illegal play operation from being performed by the control of the processing circuit based on the unauthorized program.

第2の観点の発明の遊技機不正動作防止装置は、給電されていることを条件に記憶状態を保持する揮発性メモリから読みだしたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止装置であって、前記揮発性メモリに記憶されたプログラムの改変を検出する改変検出手段と、前記改変検出手段が前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する制御回路とを有する。   The gaming machine unauthorized operation preventing apparatus according to the second aspect of the invention is a game in which a game operation is performed by controlling a processing circuit based on a program read from a volatile memory that retains a memory state on condition that power is supplied. A gaming machine unauthorized operation preventing apparatus for preventing unauthorized operation of a machine, wherein a modification detection means for detecting modification of a program stored in the volatile memory, and when the modification detection means detects the modification, And a control circuit for stopping the power supply to the volatile memory.

第2の観点の発明の遊技機不正動作防止装置では、改変検出手段が、揮発性メモリに記憶されたプログラムの改変の有無を検出する。
そして、制御回路が、前記改変検出手段が前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する。
これにより、前記不揮発性メモリに記憶された不正なプログラムは消去され、当該不正なプログラムに基づいて制御回路が遊戯動作を制御することを防止できる。
In the gaming machine unauthorized operation preventing apparatus according to the second aspect of the invention, the alteration detecting means detects whether or not the program stored in the volatile memory is altered.
Then, the control circuit stops the power supply to the volatile memory when the modification detection unit detects the modification.
Thereby, the illegal program stored in the non-volatile memory is erased, and the control circuit can be prevented from controlling the play operation based on the illegal program.

第3の観点の発明の遊技機は、入力したコマンドを基に各種の遊戯動作を実行する遊戯処理手段と、前記遊戯処理手段に前記コマンドを出力するメイン処理回路と、前記遊戯処理手段の不正動作を防止する監視回路とを有し、前記メイン処理回路は、プログラムを記憶する第1のメモリと、前記第1のメモリから読み出した前記プログラムを基に動作し、前記遊戯動作を制御する前の初期動作において、前記第1のメモリから読み出した前記プログラムを前記監視回路に出力し、前記初期動作後の所定のタイミングで前記第1のメモリから読み出した前記プログラムを前記監視回路に出力する第1の制御回路とを有し、前記監視回路は、前記初期動作において、前記メイン処理回路から入力した前記プログラムが比較用プログラムとして書き込まれる第2のメモリと、前記初期動作後に、前記第1のメモリから読み出されたプログラムと前記第2のメモリから読み出された前記比較用プログラムとの不一致を検出すると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶されたプログラムを実行する動作を禁止する第2の制御回路とを有する。   A gaming machine according to a third aspect of the invention provides a game processing means for executing various game operations based on an input command, a main processing circuit for outputting the command to the game processing means, and an illegality of the game processing means. A monitoring circuit for preventing operation, and the main processing circuit operates based on the first memory for storing a program and the program read from the first memory, and controls the game operation before In the initial operation, the program read from the first memory is output to the monitoring circuit, and the program read from the first memory is output to the monitoring circuit at a predetermined timing after the initial operation. And the monitoring circuit writes the program input from the main processing circuit as a comparison program in the initial operation. When the mismatch between the second memory to be read and the program read from the first memory after the initial operation and the comparison program read from the second memory is detected, the processing circuit A second control circuit for prohibiting the game operation based on the issued command or the operation of the processing circuit executing the program stored in the first memory.

第4の観点の発明の遊技機は、給電されていることを条件に記憶状態を保持する揮発性メモリと、前記揮発性メモリから読み出したプログラムを基に、遊戯動作を制御するメイン処理回路と、前記揮発性メモリに記憶されたプログラムの改変を検出する改変検出手段と、前記改変検出手段が前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する監視回路とを有する遊技機。   A gaming machine according to a fourth aspect of the invention includes a volatile memory that retains a memory state on condition that power is supplied, and a main processing circuit that controls a game operation based on a program read from the volatile memory. A game having a modification detection unit for detecting a modification of a program stored in the volatile memory, and a monitoring circuit for stopping the power supply to the volatile memory when the modification detection unit detects the modification. Machine.

第5の観点の発明の遊技機不正動作防止方法は、第1のメモリに記憶されたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止方法であって、前記遊戯動作を制御する前に、前記第1のメモリから前記プログラムを読み出して第2のメモリに比較用プログラムとして書き込む初期工程と、前記初期工程後に、前記第1のメモリから読み出された前記プログラムと、前記第2のメモリから読み出された前記比較用プログラムとが一致しているか否かを判断する比較工程と、前記比較工程において不一致であると判断されると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶された前記プログラムを実行する動作を禁止する禁止工程とを有する。   A gaming machine unauthorized operation prevention method according to a fifth aspect of the invention is a gaming machine unauthorized operation prevention method for preventing an unauthorized operation of a gaming machine performing a gaming operation by controlling a processing circuit based on a program stored in a first memory. An initial step of reading the program from the first memory and writing it as a comparison program into a second memory before controlling the play operation, and after the initial step, from the first memory A comparison step for determining whether or not the read program and the comparison program read from the second memory match, and when it is determined that there is a mismatch in the comparison step, The game operation based on a command issued by the processing circuit or the operation of the processing circuit executing the program stored in the first memory is prohibited. And a stop process.

第6の観点の発明の遊技機不正動作防止方法は、給電されていることを条件に記憶状態を保持する揮発性メモリから読みだしたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止方法であって、前記揮発性メモリに記憶されたプログラムの改変を検出する改変検出工程と、前記改変検出工程で前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する給電停止工程とを有する。   According to a sixth aspect of the present invention, there is provided a gaming machine illegal operation preventing method in which a game operation is performed by controlling a processing circuit based on a program read from a volatile memory that retains a memory state on condition that power is supplied. A gaming machine unauthorized operation prevention method for preventing unauthorized operation of a machine, wherein a modification detection step for detecting modification of a program stored in the volatile memory, and when the modification is detected in the modification detection step, A power supply stopping step of stopping the power supply to the volatile memory.

本発明によれば、遊技機のプログラムを不正に改変された場合に、その不正なプログラムを基に遊技機が不正な動作をすることを防止する遊技機不正動作防止装置およびその方法と遊技機を提供することができる。
According to the present invention, when a game machine program is illegally altered, a gaming machine illegal operation preventing apparatus and method and game machine for preventing the gaming machine from performing illegal operations based on the unauthorized program. Can be provided.

以下、本発明の実施形態に係る遊技機について説明する。
本明細書において、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示する。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを明確にするためのものである。従って、本発明の構成要件は、それに対応付けられた本実施形態の構成に限定されるものではない。
以下に説明する本実施形態の遊技機は、例えば、パチンコやスロットマシーン等である。
Hereinafter, a gaming machine according to an embodiment of the present invention will be described.
In this specification, the correspondence relationship between the configuration requirements of the present invention and the embodiments described in the specification or the drawings is illustrated. This description is intended to clarify that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, the configuration requirements of the present invention are not limited to the configuration of the present embodiment associated therewith.
The gaming machine of this embodiment described below is, for example, a pachinko machine or a slot machine.

<第1実施形態>
図1は、本発明の第1実施形態に係る遊技機の信号処理装置10のハードウェア構成図である。
図1において、ROM13が本発明の第1のメモリの一例であり、監視用ROM37が本発明の第2のメモリの一例であり、メインCPU17が本発明の処理回路の一例であり、監視用CPU39が本発明の制御回路の一例である。
図1に示すように、信号処理装置10は、例えば、入力部3、遊戯処理回路5、メイン処理回路11および監視回路31がデータバス6を介して接続された構成を有している。
また、データバス6上のメイン処理回路11と監視回路31との間には、バスゲート7,9が配設されている。
<First Embodiment>
FIG. 1 is a hardware configuration diagram of a signal processing device 10 of a gaming machine according to the first embodiment of the present invention.
1, the ROM 13 is an example of the first memory of the present invention, the monitoring ROM 37 is an example of the second memory of the present invention, the main CPU 17 is an example of the processing circuit of the present invention, and the monitoring CPU 39 Is an example of the control circuit of the present invention.
As shown in FIG. 1, the signal processing device 10 has a configuration in which, for example, an input unit 3, a game processing circuit 5, a main processing circuit 11, and a monitoring circuit 31 are connected via a data bus 6.
Bus gates 7 and 9 are arranged between the main processing circuit 11 and the monitoring circuit 31 on the data bus 6.

また、信号処理装置10は、初期動作において、監視回路31がメイン処理回路11から入力したプログラムPRGMを格納する監視用ROM37を有する。
バスゲート9、監視回路31および監視用ROM37は、シールドケース62内に収容されている。シールドケース62は、物理的に分解困難であり、且つ、その内部に収容されている回路の動作情報、並びにデータを取得困難な耐タンパ性の収容体である。
さらに、信号処理装置10は、メイン処理回路11がデータバス6に送出したデータ等の出力先を指定するアドレスを生成するアドレスデコーダ21を有する。
信号処理装置10では、メイン処理回路11が発行したコマンドをデータバス6を介して遊戯処理回路5に出力し、遊戯処理回路5が当該コマンドを実行して電動役物や回胴の回転制御等の制御が行われる。
なお、入力部3は、遊戯者が遊戯進行に応じて操作する操作手段、あるいは管理者が操作する操作手段等からの信号を入力する。また、バスゲート7は、例えば、所定の条件を満たすと、メイン処理回路11によって開閉される。
Further, the signal processing apparatus 10 includes a monitoring ROM 37 that stores the program PRGM input from the main processing circuit 11 by the monitoring circuit 31 in the initial operation.
The bus gate 9, the monitoring circuit 31, and the monitoring ROM 37 are accommodated in the shield case 62. The shield case 62 is a tamper-resistant container that is physically difficult to disassemble and that is difficult to obtain operation information and data of circuits housed therein.
Further, the signal processing device 10 includes an address decoder 21 that generates an address for designating an output destination of data or the like sent from the main processing circuit 11 to the data bus 6.
In the signal processing device 10, the command issued by the main processing circuit 11 is output to the game processing circuit 5 via the data bus 6, and the game processing circuit 5 executes the command to control the rotation of the electric accessory or the spinning cylinder. Is controlled.
The input unit 3 inputs a signal from an operation means operated by the player according to the progress of the game or an operation means operated by the administrator. The bus gate 7 is opened and closed by the main processing circuit 11 when a predetermined condition is satisfied, for example.

[メイン処理回路11]
図1に示すように、メイン処理回路11は、ROM13、RAM(Random
Access Memory) 15、メインCPU(Central Processing Unit)17を有し、これらがデータバス6に接続されている。
ROM13は、メイン処理回路11が実行する(アプリケーション)プログラムPRGMを記憶する。なお、本実施形態において、プログラムという用語には、プログラムコードの他、当該プログラムコードの実行に必要なデータも含むこととする。
RAM15は、メインCPU17の処理に用いられる各種のデータを記憶する。
メインCPU17は、ROM13からプログラムPRGMを読み出して実行し、遊戯処理回路5を制御する各種のコマンドを生成する。メインCPU17は、当該コマンドにより、遊技機の動作を統括的に制御する。
メインCPU17は、上記生成したコマンドをデータバス6に送出する。信号処理装置10では、後述するように、監視用ROM37においてROM13に記憶されたプログラムPRGMの不正な改変が検出された場合には、バスゲート9が閉じられ、メインCPU17からデータバス6に送出されたコマンドは遊戯処理回路5によって取得されない。これにより、遊戯処理回路5が不正なプログラムを基にした不正な動作を行うことを防止できる。
[Main processing circuit 11]
As shown in FIG. 1, the main processing circuit 11 includes a ROM 13 and a RAM (Random
An access memory (15) and a main CPU (central processing unit) 17 are connected to the data bus 6.
The ROM 13 stores an (application) program PRGM executed by the main processing circuit 11. In the present embodiment, the term “program” includes data necessary for executing the program code in addition to the program code.
The RAM 15 stores various data used for processing of the main CPU 17.
The main CPU 17 reads out and executes the program PRGM from the ROM 13 and generates various commands for controlling the game processing circuit 5. The main CPU 17 comprehensively controls the operation of the gaming machine according to the command.
The main CPU 17 sends the generated command to the data bus 6. In the signal processing device 10, as described later, when an unauthorized modification of the program PRGM stored in the ROM 13 is detected in the monitoring ROM 37, the bus gate 9 is closed and sent from the main CPU 17 to the data bus 6. The command is not acquired by the game processing circuit 5. Thereby, it is possible to prevent the game processing circuit 5 from performing an illegal operation based on an unauthorized program.

[監視回路31]
図1に示すように、監視回路31は、ROM33、RAM35および監視用CPU39を有している。
ROM33は、監視回路31が実行するプログラムPRGSを記憶する。
RAM35は、監視用CPU39の処理に用いられる各種のデータを記憶する。
監視用CPU39は、ROM33からプログラムPRGSを読み出して実行し、メイン処理回路11の監視動作を行う。
[Monitoring circuit 31]
As shown in FIG. 1, the monitoring circuit 31 includes a ROM 33, a RAM 35, and a monitoring CPU 39.
The ROM 33 stores a program PRGS executed by the monitoring circuit 31.
The RAM 35 stores various data used for processing of the monitoring CPU 39.
The monitoring CPU 39 reads the program PRGS from the ROM 33 and executes it, and performs the monitoring operation of the main processing circuit 11.

監視用CPU39は、メイン処理回路11のROM13の正当性を検証し、不正を検出した場合に、バスゲート9をオフにする。これにより、メイン処理回路11と遊戯処理回路5との間のデータバス6上の経路が非接続状態になり、メイン処理回路11が不正なプログラムを基に発行したコマンドを遊戯処理回路5が入力して実行することを防止できる。
具体的には、監視用CPU39は、メイン処理回路11から事前に入力したプログラムPRGMを、比較用プログラムPRGCとして監視用ROM37に書き込む。
そして、監視用CPU39は、所定のタイミングでメイン処理回路11から入力したROM13に記憶されたプログラムPRGMと、監視用ROM37から読み出した比較用プログラムPRGCとを比較して、その正当性(一致)を検証する。
The monitoring CPU 39 verifies the validity of the ROM 13 of the main processing circuit 11 and turns off the bus gate 9 when an illegality is detected. As a result, the path on the data bus 6 between the main processing circuit 11 and the game processing circuit 5 is disconnected, and the game processing circuit 5 inputs a command issued by the main processing circuit 11 based on an illegal program. Can be prevented.
Specifically, the monitoring CPU 39 writes the program PRGM input in advance from the main processing circuit 11 into the monitoring ROM 37 as the comparison program PRGC.
Then, the monitoring CPU 39 compares the program PRGM stored in the ROM 13 input from the main processing circuit 11 at a predetermined timing with the comparison program PRGC read from the monitoring ROM 37, and confirms its validity (match). Validate.

以下、図1に示す信号処理装置10の動作例を説明する。
図2は、図1に示す信号処理装置10の動作例を説明するためのフローチャートである。
先ず、メイン処理回路11の動作を中心に説明する。
メイン処理回路11のメインCPU17は、初期化処理を行う(ステップST11)。
次に、メインCPU17は、乱数発生処理を行い、発生した乱数aをRAM15に書き込む(ステップST12)。
次に、メインCPU17は、RAM15から上記乱数aを読み出し、これをデータバス6を介して監視回路31に出力する(ステップST13)。このとき、メインCPU17は、監視回路31を指定したアドレスをアドレスデコーダ21に出力する。
Hereinafter, an operation example of the signal processing apparatus 10 illustrated in FIG. 1 will be described.
FIG. 2 is a flowchart for explaining an operation example of the signal processing apparatus 10 shown in FIG.
First, the operation of the main processing circuit 11 will be mainly described.
The main CPU 17 of the main processing circuit 11 performs initialization processing (step ST11).
Next, the main CPU 17 performs random number generation processing and writes the generated random number a in the RAM 15 (step ST12).
Next, the main CPU 17 reads the random number a from the RAM 15 and outputs it to the monitoring circuit 31 via the data bus 6 (step ST13). At this time, the main CPU 17 outputs an address designating the monitoring circuit 31 to the address decoder 21.

また、メインCPU17は、ROM13から読み出したプログラムPRGMと、RAM15から読み出した乱数aとの排他的論理和(XOR)を演算し、その結果であるプログラムPRGMXをRAM15に書き込む。
そして、メインCPU17は、RAM15から上記プログラムPRGMXを、データバス6を介して監視回路31に出力する(ステップST14)。このとき、メインCPU17は、監視回路31を指定したアドレスをアドレスデコーダ21に出力する。
Further, the main CPU 17 calculates an exclusive OR (XOR) of the program PRGM read from the ROM 13 and the random number a read from the RAM 15, and writes the resulting program PRGMX in the RAM 15.
Then, the main CPU 17 outputs the program PRGMX from the RAM 15 to the monitoring circuit 31 via the data bus 6 (step ST14). At this time, the main CPU 17 outputs an address designating the monitoring circuit 31 to the address decoder 21.

次に、メインCPU17は、ROM13から読み出したプログラムPRGMを実行する(ステップST15)。
メインCPU17は、上記プログラムPRGMの実行過程でコマンドを生成し、これをデータバス6に出力する。このとき、メインCPU17は、遊戯処理回路5を指定したアドレスをアドレスデコーダ21に出力する。
Next, the main CPU 17 executes the program PRGM read from the ROM 13 (step ST15).
The main CPU 17 generates a command in the course of executing the program PRGM and outputs it to the data bus 6. At this time, the main CPU 17 outputs an address designating the game processing circuit 5 to the address decoder 21.

次に、メインCPU17は、プログラムPRGMの実行後のアイドルモードにおいて、ROM13から読み出したプログラムPRGMと、RAM15から読み出した乱数aとの排他的論理和(XOR)を演算し、その結果であるプログラムPRGMXをデータバス6を介して監視回路31に出力する(ステップST16)。このとき、メインCPU17は、監視回路31を指定したアドレスをアドレスデコーダ21に出力する。
その後、メインCPU17は、上述したステップST15,ST16の処理を繰り返す。
このように、メイン処理回路11は、ステップST11〜ST14の処理を初期動作として起動時に行い、その後、ステップST15,ST16の処理を繰り返す。
Next, in the idle mode after the execution of the program PRGM, the main CPU 17 calculates an exclusive OR (XOR) of the program PRGM read from the ROM 13 and the random number a read from the RAM 15, and the program PRGMX as a result is calculated. Is output to the monitoring circuit 31 via the data bus 6 (step ST16). At this time, the main CPU 17 outputs an address designating the monitoring circuit 31 to the address decoder 21.
Thereafter, the main CPU 17 repeats the processes of steps ST15 and ST16 described above.
As described above, the main processing circuit 11 performs the processing of steps ST11 to ST14 as an initial operation at the time of activation, and then repeats the processing of steps ST15 and ST16.

以下、監視回路31の動作を、上述したメイン処理回路11の動作と関連付けながら説明する。
監視回路31の監視用CPU39は、初期化処理を行う(ステップST21)。
次に、監視用CPU39は、前述したステップST13でメイン処理回路11がデータバス6に出力した乱数aを受信し、これをRAM35に書き込む(ステップST22)。
Hereinafter, the operation of the monitoring circuit 31 will be described in association with the operation of the main processing circuit 11 described above.
The monitoring CPU 39 of the monitoring circuit 31 performs an initialization process (step ST21).
Next, the monitoring CPU 39 receives the random number a output from the main processing circuit 11 to the data bus 6 in step ST13 described above, and writes it into the RAM 35 (step ST22).

次に、監視用CPU39は、前述したステップST14でメイン処理回路11がデータバス6に出力したプログラムPRGMXを受信し、これとRAM35から読み出した乱数aとの排他的論理和(XOR)を演算し、その結果であるプログラムPRGMをRAM35に書き込む(ステップST23)。すなわち、プログラムPRGMと乱数aとの排他的論理和であるプログラムPRGMと、乱数aとの排他的論理和をメイン処理回路11において再度演算することで、プログラムPRGMが取得(復元)される。   Next, the monitoring CPU 39 receives the program PRGMX output from the main processing circuit 11 to the data bus 6 in step ST14 described above, and calculates the exclusive OR (XOR) of this and the random number a read from the RAM 35. The resulting program PRGM is written into the RAM 35 (step ST23). That is, the program PRGM is acquired (restored) by calculating again in the main processing circuit 11 the exclusive OR of the program PRGM and the random number a and the program PRGM and the random number a.

監視用CPU39は、監視用ROM37が初期化状態であるか否かを判断し、初期化状態である場合にはステップST25に進み、そうでない場合にはステップST26に進む(ステップST24)。
監視用CPU39は、監視用ROM37が初期化状態である場合に、RAM35からプログラムPRGMを読み出し、これを照合用プログラムPRGCとして監視用ROM37に書き込む(ステップST25)。
The monitoring CPU 39 determines whether or not the monitoring ROM 37 is in an initialization state. If the monitoring ROM 37 is in the initialization state, the process proceeds to step ST25, and if not, the process proceeds to step ST26 (step ST24).
When the monitoring ROM 37 is in the initialized state, the monitoring CPU 39 reads the program PRGM from the RAM 35 and writes it in the monitoring ROM 37 as a verification program PRGC (step ST25).

一方、監視用CPU39は、監視用ROM37が初期化状態ではない場合に、監視用ROM37から読み出した照合用プログラムPRGCと、RAM35から読み出したプログラムPRGMとを比較する(ステップST26)。
次に、監視用CPU39は、ステップST26の比較の結果、一致していると判断された場合にはステップST28に進み、そうでない場合にはステップST32に進む(ステップST27)。
次に、監視用CPU39は、監視用タイマ(図示せず)によるカウントを開始させる(ステップST28)。
On the other hand, when the monitoring ROM 37 is not in the initialized state, the monitoring CPU 39 compares the verification program PRGC read from the monitoring ROM 37 with the program PRGM read from the RAM 35 (step ST26).
Next, the monitoring CPU 39 proceeds to step ST28 when it is determined as a result of the comparison in step ST26 that the two match, and proceeds to step ST32 otherwise (step ST27).
Next, the monitoring CPU 39 starts counting by a monitoring timer (not shown) (step ST28).

次に、監視用CPU39は、メイン処理回路11からプログラムPRGMXを受信したか否か、並びに監視用タイマが所定のしきい値に達したか否かを判断する。
そして、監視用CPU39は、前述したステップST16に対応してメイン処理回路11からプログラムPRGMXを受信したと判断した場合にステップST30に進み、監視用タイマの値が所定のしきい値に達した(タイムアウトした)と判断した場合にステップST32に進む(ステップST29)。
Next, the monitoring CPU 39 determines whether or not the program PRGMX has been received from the main processing circuit 11 and whether or not the monitoring timer has reached a predetermined threshold value.
When the monitoring CPU 39 determines that the program PRGMX has been received from the main processing circuit 11 in response to the above-described step ST16, the monitoring CPU 39 proceeds to step ST30, and the value of the monitoring timer reaches a predetermined threshold value ( If it is determined that a timeout has occurred, the process proceeds to step ST32 (step ST29).

監視用CPU39は、メイン処理回路11からプログラムPRGMXを受信したと判断した場合に、当該受信したプログラムPRGMXと、RAM35から読み出した乱数aとの排他的論理和(XOR)を演算し、その結果であるプログラムPRGMをRAM35に書き込む(ステップST30)。
監視用CPU39は、RAM35から読み出したプログラムPRGMと、監視用ROM37から読み出した照合用プログラムPRGCとを比較する(ステップST31)。
そして、監視用CPU39は、ステップST31の比較で一致したと判断した場合にステップST28に戻り、そうでない場合にステップST32に進む。
When the monitoring CPU 39 determines that the program PRGMX has been received from the main processing circuit 11, the monitoring CPU 39 calculates the exclusive OR (XOR) of the received program PRGMX and the random number a read from the RAM 35. A certain program PRGM is written in the RAM 35 (step ST30).
The monitoring CPU 39 compares the program PRGM read from the RAM 35 with the verification program PRGC read from the monitoring ROM 37 (step ST31).
Then, the monitoring CPU 39 returns to step ST28 when determining that the values match in the comparison at step ST31, and proceeds to step ST32 otherwise.

監視用CPU39は、ステップST27,ST31で不一致と判断された場合、あるいはステップST29で監視用タイマの値が所定のしきい値に達したと判断した場合に、図1に示すバスゲート9を閉じる制御を行う(ステップST32)。これにより、メイン処理回路11と遊戯処理回路5との間のデータバス6上の経路が非接続状態になり、メイン処理回路11が不正なプログラムを基に発行したコマンドを遊戯処理回路5が入力して実行することを防止できる。   The monitoring CPU 39 closes the bus gate 9 shown in FIG. 1 when it is determined in steps ST27 and ST31 that they do not match or when it is determined in step ST29 that the value of the monitoring timer has reached a predetermined threshold value. Control is performed (step ST32). As a result, the path on the data bus 6 between the main processing circuit 11 and the game processing circuit 5 is disconnected, and the game processing circuit 5 inputs a command issued by the main processing circuit 11 based on an illegal program. Can be prevented.

以上説明したように、信号処理装置10によれば、図2に示すように、メインCPU17におけるプログラムPRGMの実行後のアイドルモードにおいて、ROM13に記憶されたプログラムPRGMと、監視用ROM37に記憶された照合用プログラムPRGMCとの一致性を検証し、不一致の場合にデータバス6上のバスゲート9を閉じる。
これにより、メイン処理回路11が不正なプログラムを基に発行したコマンドを遊戯処理回路5が入力して実行することを防止できる。すなわち、本実施形態の遊技機が不正なプログラムを基に動作をすることを防止できる。
また、信号処理装置10では、図2に示すステップST14、ST16において、プログラムPRGMをメイン処理回路11から監視回路31にデータバス6を介して出力するのではなく、プログラムPRGMと乱数aとの排他的論理和(XOR)であるプログラムPRGMXを出力する。そのため、データバス6の監視によってプログラムPRGMが不正に取得されてしまうことを防止できる。
As described above, according to the signal processing device 10, as shown in FIG. 2, in the idle mode after the execution of the program PRGM in the main CPU 17, the program PRGM stored in the ROM 13 and the monitoring ROM 37 are stored. The consistency with the verification program PRGMC is verified, and if not, the bus gate 9 on the data bus 6 is closed.
Thereby, it is possible to prevent the game processing circuit 5 from inputting and executing a command issued by the main processing circuit 11 based on an unauthorized program. That is, it is possible to prevent the gaming machine of this embodiment from operating based on an unauthorized program.
Further, in the signal processing device 10, in steps ST14 and ST16 shown in FIG. 2, the program PRGM is not output from the main processing circuit 11 to the monitoring circuit 31 via the data bus 6, but the program PRGM and the random number a are excluded. A program PRGMX which is a logical OR (XOR) is output. Therefore, it is possible to prevent the program PRGM from being illegally acquired by monitoring the data bus 6.

<第2実施形態>
上述した第1実施形態ではメインCPU17が実行するプログラムPRGMが不正に改変された場合に、メインCPU17が遊戯処理回路5にコマンドを出力するデータバス6上のバスゲート9を閉じる場合を例示した。本実施形態では、メインCPU117は、ROM113からSRAM115に読み出されたプログラムPRGM2を実行し、上記不正を検出すると、給電回路141によるSRAM115の給電を停止してSRAM115の記憶を消去する。
Second Embodiment
In the first embodiment described above, the case where the main CPU 17 closes the bus gate 9 on the data bus 6 that outputs a command to the game processing circuit 5 when the program PRGM executed by the main CPU 17 is illegally modified is illustrated. In the present embodiment, the main CPU 117 executes the program PRGM2 read from the ROM 113 to the SRAM 115, and when the fraud is detected, the main CPU 117 stops the power supply of the SRAM 115 by the power supply circuit 141 and erases the storage of the SRAM 115.

図3は、本発明の第2実施形態に係る遊技機の信号処理装置110のハードウェア構成図である。
図3において、SRAM115が本発明の不揮発性メモリの一例であり、監視用CPU139が改変検出手段および制御回路の一例である。
FIG. 3 is a hardware configuration diagram of the signal processing device 110 of the gaming machine according to the second embodiment of the present invention.
In FIG. 3, an SRAM 115 is an example of a nonvolatile memory according to the present invention, and a monitoring CPU 139 is an example of a modification detection unit and a control circuit.

図3に示すように、信号処理装置110は、例えば、入力部3、遊戯処理回路5、メイン処理回路111および監視回路131がデータバス6を介して接続した構成を有している。
信号処理装置110は、初期動作において、監視回路131がメイン処理回路111から入力したプログラムPRGM2を格納する監視用ROM137を有する。
監視回路131および監視用ROM137は、シールドケース162内に収容されている。
信号処理装置110において、入力部3、遊戯処理回路5およびアドレスデコーダ21の機能は第1実施形態で説明したものと同じである。
As shown in FIG. 3, the signal processing device 110 has a configuration in which, for example, the input unit 3, the game processing circuit 5, the main processing circuit 111, and the monitoring circuit 131 are connected via the data bus 6.
The signal processing device 110 includes a monitoring ROM 137 that stores the program PRGM2 input from the main processing circuit 111 by the monitoring circuit 131 in the initial operation.
The monitoring circuit 131 and the monitoring ROM 137 are accommodated in the shield case 162.
In the signal processing device 110, the functions of the input unit 3, the game processing circuit 5, and the address decoder 21 are the same as those described in the first embodiment.

また、信号処理装置110は、バッテリ43からの電力を信号処理装置110の構成要素に供給する給電回路141を有する。
信号処理装置110では、監視回路131において、メイン処理回路111のメインCPU117で実行されるプログラムPRGM2の改竄等が検出されると、監視回路131からの制御により、給電回路141はメイン処理回路111のSRAM115への給電を停止する。これにより、SRAM115に記憶されている不正なプログラムが自動的に消去され、メインCPU117が不正なプログラムを実行することを防止できる。
In addition, the signal processing device 110 includes a power supply circuit 141 that supplies power from the battery 43 to the components of the signal processing device 110.
In the signal processing device 110, when the monitoring circuit 131 detects falsification or the like of the program PRGM2 executed by the main CPU 117 of the main processing circuit 111, the power feeding circuit 141 controls the main processing circuit 111 under the control of the monitoring circuit 131. Power supply to the SRAM 115 is stopped. As a result, the unauthorized program stored in the SRAM 115 is automatically deleted, and the main CPU 117 can be prevented from executing the unauthorized program.

[メイン処理回路11]
図3に示すように、メイン処理回路111は、ROM113、SRAM(Static
Random Access Memory)115、メインCPU117を有し、これらがデータバス6に接続された構成を有している。
ROM113は、メイン処理回路111が実行する(アプリケーション)プログラムPRGM2を記憶する。ROM113は、例えば、不揮発性メモリである。
SRAM115は、メインCPU117の処理に用いられる各種のデータを記憶する。
SRAM115は、フリップフロップ等の順序回路を用いてデータを記憶し、給電回路141からの電源(電力)の供給がなくなると、記憶内容が失われる揮発メモリである。
なお、信号処理装置110の電源を切断しても、通常状態では、バッテリ43からの電力が給電回路141を介してSRAM115に供給され、SRAM115に記憶されたデータはバッテリ切れにならない限り保存される。
[Main processing circuit 11]
As shown in FIG. 3, the main processing circuit 111 includes a ROM 113, an SRAM (Static
Random Access Memory) 115 and main CPU 117, which are connected to the data bus 6.
The ROM 113 stores an (application) program PRGM2 executed by the main processing circuit 111. The ROM 113 is, for example, a nonvolatile memory.
The SRAM 115 stores various data used for processing of the main CPU 117.
The SRAM 115 is a volatile memory in which data is stored using a sequential circuit such as a flip-flop, and the stored contents are lost when the power supply (power) is not supplied from the power supply circuit 141.
Even when the signal processing device 110 is turned off, in a normal state, the power from the battery 43 is supplied to the SRAM 115 via the power supply circuit 141, and the data stored in the SRAM 115 is saved unless the battery runs out. .

メインCPU117は、SRAM115からプログラムPRGM2を読み出して実行し、遊戯処理回路5を制御する各種のコマンドを生成する。メインCPU117は、当該コマンドにより、遊技機の動作を統括的に制御する。メインCPU117は、上記生成したコマンドをデータバス6に送出する。
このように、メイン処理回路111は、ROM113からプログラムPRGM2を直接読み出して実行するのではなく、ROM113からSRAM115に読み出されたプログラムPRGM2をSRAM115から読み出して実行する。
The main CPU 117 reads out and executes the program PRGM2 from the SRAM 115, and generates various commands for controlling the game processing circuit 5. The main CPU 117 comprehensively controls the operation of the gaming machine by the command. The main CPU 117 sends the generated command to the data bus 6.
As described above, the main processing circuit 111 does not directly read and execute the program PRGM2 from the ROM 113, but reads and executes the program PRGM2 read from the ROM 113 to the SRAM 115.

[監視回路131]
図3に示すように、監視回路131は、ROM133、RAM135および監視用CPU139を有している。
ROM133は、監視回路131が実行するプログラムPRGS2を記憶する。
RAM135は、監視用CPU137の処理に用いられる各種のデータを記憶する。
監視用CPU139は、ROM133からプログラムPRGS2を読み出して実行し、メイン処理回路111の監視動作を行う。
監視用CPU139は、メイン処理回路111で実行されるプログラムPRGM2の正当性を検証し、不正を検出した場合に、メイン処理回路111のSRAM115への給電回路141による給電を停止させる。これにより、メイン処理回路111が不正なプログラムを基に生成したコマンドが遊戯処理回路5によって実行されることを防止できる。
[Monitoring circuit 131]
As shown in FIG. 3, the monitoring circuit 131 includes a ROM 133, a RAM 135, and a monitoring CPU 139.
The ROM 133 stores a program PRGS2 executed by the monitoring circuit 131.
The RAM 135 stores various data used for the processing of the monitoring CPU 137.
The monitoring CPU 139 reads and executes the program PRGS2 from the ROM 133, and performs the monitoring operation of the main processing circuit 111.
The monitoring CPU 139 verifies the validity of the program PRGM2 executed by the main processing circuit 111, and stops the power supply by the power supply circuit 141 to the SRAM 115 of the main processing circuit 111 when an illegality is detected. Thereby, it is possible to prevent the game processing circuit 5 from executing a command generated by the main processing circuit 111 based on an unauthorized program.

以下、図3に示す信号処理装置110の動作例を説明する。
図4は、図3に示す信号処理装置110の動作例を説明するためのフローチャートである。図4において、図2と同じ符号を付した処理は、第1実施形態で説明した処理と同じであるため、説明を省略する。
Hereinafter, an operation example of the signal processing apparatus 110 illustrated in FIG. 3 will be described.
FIG. 4 is a flowchart for explaining an operation example of the signal processing apparatus 110 shown in FIG. In FIG. 4, the processes denoted by the same reference numerals as those in FIG.

先ず、メイン処理回路111の動作を中心に説明する。
メイン処理回路111のメインCPU117は、初期化処理を行う(ステップST111)。
次に、メインCPU117は、ROM113からプログラムPRGM2を読み出してSRAM115に書き込む(ステップST112)。
このとき、メインCPU117は、例えば、信号処理装置110の管理者の認証を行い、当該管理者の正当性が認証されたことを条件に、ROM113からプログラムPRGM2を読み出してSRAM115に書き込む。
当該認証は、例えば、管理者が所定の共通鍵を記憶したICカードを用いて、入力部3を介して、メインCPU117との間で暗号化通信をを行ったり、パスワード等を用いて行われる。
First, the operation of the main processing circuit 111 will be mainly described.
The main CPU 117 of the main processing circuit 111 performs initialization processing (step ST111).
Next, the main CPU 117 reads out the program PRGM2 from the ROM 113 and writes it in the SRAM 115 (step ST112).
At this time, for example, the main CPU 117 authenticates the administrator of the signal processing apparatus 110, reads the program PRGM2 from the ROM 113, and writes it in the SRAM 115 on the condition that the legitimacy of the administrator is authenticated.
For example, the authentication is performed using an IC card in which a manager stores a predetermined common key, performing encrypted communication with the main CPU 117 via the input unit 3, or using a password or the like. .

次に、メインCPU117は、乱数発生処理を行い、発生した乱数aをSRAM115に書き込む(ステップST113)。
次に、メインCPU117は、SRAM115から上記乱数aを読み出し、これをデータバス6を介して監視回路131に出力する(ステップST114)。このとき、メインCPU117は、監視回路131を指定したアドレスをアドレスデコーダ21に出力する。
Next, the main CPU 117 performs random number generation processing and writes the generated random number a in the SRAM 115 (step ST113).
Next, the main CPU 117 reads the random number a from the SRAM 115 and outputs it to the monitoring circuit 131 via the data bus 6 (step ST114). At this time, the main CPU 117 outputs an address designating the monitoring circuit 131 to the address decoder 21.

また、メインCPU117は、SRAM115から読み出したプログラムPRGM2と、SRAM115から読み出した乱数aとの排他的論理和(XOR)を演算し、その結果であるプログラムPRGM2XをSRAM115に書き込む。
そして、メインCPU117は、SRAM115から上記プログラムPRGM2Xを、データバス6を介して監視回路131に出力する(ステップST115)。このとき、メインCPU117は、監視回路131を指定したアドレスをアドレスデコーダ21に出力する。
Further, the main CPU 117 calculates an exclusive OR (XOR) of the program PRGM2 read from the SRAM 115 and the random number a read from the SRAM 115, and writes the resulting program PRGM2X in the SRAM 115.
Then, the main CPU 117 outputs the program PRGM2X from the SRAM 115 to the monitoring circuit 131 via the data bus 6 (step ST115). At this time, the main CPU 117 outputs an address designating the monitoring circuit 131 to the address decoder 21.

次に、メインCPU117は、SRAM115から読み出したプログラムPRGM2を実行する(ステップST116)。
メインCPU117は、上記プログラムPRGM2の実行過程でコマンドを生成し、これをデータバス6に出力する。このとき、メインCPU117は、遊戯処理回路5を指定したアドレスをアドレスデコーダ21に出力する。
Next, the main CPU 117 executes the program PRGM2 read from the SRAM 115 (step ST116).
The main CPU 117 generates a command in the course of executing the program PRGM2 and outputs it to the data bus 6. At this time, the main CPU 117 outputs an address designating the game processing circuit 5 to the address decoder 21.

次に、メインCPU117は、プログラムPRGM2実行後のアイドルモードにおいて、SRAM115から読み出したプログラムPRGM2と、SRAM115から読み出した乱数aとの排他的論理和(XOR)を演算し、その結果であるプログラムPRGM2Xをデータバス6を介して監視回路131に出力する(ステップST117)。このとき、メインCPU117は、監視回路131を指定したアドレスをアドレスデコーダ21に出力する
その後、メインCPU117は、上述したステップST116,ST117の処理を繰り返す。
Next, in the idle mode after execution of the program PRGM2, the main CPU 117 calculates an exclusive OR (XOR) of the program PRGM2 read from the SRAM 115 and the random number a read from the SRAM 115, and the program PRGM2X as a result is calculated. The data is output to the monitoring circuit 131 via the data bus 6 (step ST117). At this time, the main CPU 117 outputs the address designated by the monitoring circuit 131 to the address decoder 21. Thereafter, the main CPU 117 repeats the processes of steps ST116 and ST117 described above.

以下、監視回路131の処理を、上述したメイン処理回路111の処理と関連付けながら説明する。
図4において、図2と同一の符号を付したステップST21〜ST31は、プログラムPRGM2Xを受信して記憶等する点を除いて、第1実施形態で説明したものと実質的に同一であるので説明を省略する。
監視用CPU139は、メイン処理回路111のメインCPU117で実行されるプログラムPRGM2の改竄等の可能性があると判断した場合に、給電回路141を制御して、給電回路141からはメイン処理回路111のSRAM115への給電を停止させる(ステップST132)。これにより、SRAM115に記憶されている不正なプログラムが自動的に消去され、メインCPU117が不正なプログラムを実行することが防止される。
Hereinafter, the processing of the monitoring circuit 131 will be described in association with the processing of the main processing circuit 111 described above.
4, steps ST21 to ST31 denoted by the same reference numerals as those in FIG. 2 are substantially the same as those described in the first embodiment except that the program PRGM2X is received and stored. Is omitted.
When the monitoring CPU 139 determines that there is a possibility of falsification of the program PRGM2 executed by the main CPU 117 of the main processing circuit 111, the monitoring CPU 139 controls the power feeding circuit 141, and the power feeding circuit 141 starts the main processing circuit 111. The power supply to the SRAM 115 is stopped (step ST132). As a result, the unauthorized program stored in the SRAM 115 is automatically deleted, and the main CPU 117 is prevented from executing the unauthorized program.

<上述した実施形態の変形例>
本発明は上述した実施形態には限定されない。
すなわち、当業者は、本発明の技術的範囲またはその均等の範囲内において、上述した実施形態の構成要素に関し、様々な変更、コンビネーション、サブコンビネーション、並びに代替を行ってもよい。
<Modification of the above-described embodiment>
The present invention is not limited to the embodiment described above.
That is, those skilled in the art may make various modifications, combinations, subcombinations, and alternatives regarding the components of the above-described embodiments within the technical scope of the present invention or an equivalent scope thereof.

上述した第1実施形態では、初期動作において、メイン処理回路11,111から監視回路31,131に乱数を送信する場合を例示したが、予め共通の値を保持し、特に乱数を送信しない構成にしてもよい。
また、上述した実施形態では、メイン処理回路11,111において、プログラムPRGM,PRGM2と乱数aとの排他的論理和を演算して監視回路31,131に送信するプログラムPRGMX,PRGM2Xを生成する場合を例示したが、排他的論理和以外の所定の演算を施してもよい。
In the first embodiment described above, the case where random numbers are transmitted from the main processing circuits 11 and 111 to the monitoring circuits 31 and 131 in the initial operation is exemplified. However, a common value is held in advance, and no random number is transmitted. May be.
In the above-described embodiment, the main processing circuits 11 and 111 calculate the exclusive OR of the programs PRGM and PRGM2 and the random number a and generate the programs PRGMX and PRGM2X to be transmitted to the monitoring circuits 31 and 131. Although illustrated, predetermined operations other than exclusive OR may be performed.

また、上述した実施形態では、監視回路31,131において、受信したプログラムPRGMX,PRGM2Xと乱数aとの排他的論理和を演算してプログラムPRGM,PRGM2を復元したが、これらを復元せずに、そのまま記憶して比較してもよい。   In the above-described embodiment, the monitoring circuits 31 and 131 restore the programs PRGM and PRGM2 by calculating the exclusive logical sum of the received programs PRGMX and PRGM2X and the random number a. You may memorize and compare as it is.

また、上述した実施形態では、ROM13,113から読み出されたプログラムPRGM,PRGM2と照合用プログラムとの比較で不一致と判断された場合に、図1に示すデータバス6上のバスゲート9を閉じる例と、図3に示す給電回路141によるSRAM115の給電を停止する場合を例示した。本発明は、上記不一致と判断した場合に、これらの例以外の動作を行って、不正なプログラムによる遊戯処理回路5の動作を禁止してもよい。例えば、メインCPU117や遊戯処理回路5の動作を強制的に停止させてしまう動作等を行ってもよい。また、これらの禁止動作と並行して、所定のセンタに通報したり、警報を出力する動作を行ってもよい。   Further, in the above-described embodiment, when it is determined that the programs PRGM and PRGM2 read from the ROMs 13 and 113 and the verification program do not match, the bus gate 9 on the data bus 6 shown in FIG. 1 is closed. An example and a case where power supply to the SRAM 115 by the power supply circuit 141 illustrated in FIG. 3 is stopped are illustrated. In the present invention, when it is determined that there is a mismatch, operations other than these examples may be performed to prohibit the operation of the game processing circuit 5 by an unauthorized program. For example, an operation for forcibly stopping the operation of the main CPU 117 or the game processing circuit 5 may be performed. In parallel with these prohibition operations, an operation of reporting to a predetermined center or outputting an alarm may be performed.

また、信号処理装置10,110は、例えば、メインCPU117やメイン処理回路111が取り外されたか否かを検出する取り外し検出部を備え、当該取り外し検出部が取り外しを検出したことをトリガーとして監視用CPU39,139が上述した禁止動作を行ってもよい。   In addition, the signal processing devices 10 and 110 include, for example, a removal detection unit that detects whether or not the main CPU 117 and the main processing circuit 111 are removed, and the monitoring CPU 39 is triggered by the detection of the removal by the removal detection unit. , 139 may perform the prohibition operation described above.

また、上述した実施形態では、メイン処理回路11,111と監視回路31,131とがデータバス6を介して接続された構成を例示したが、これらをデータバスを介さずに接続してもよいし、メイン処理回路11,111内に監視回路31,131の機能を組み込んでもよい。   In the above-described embodiment, the configuration in which the main processing circuits 11 and 111 and the monitoring circuits 31 and 131 are connected via the data bus 6 is illustrated. However, these may be connected without using the data bus. The functions of the monitoring circuits 31 and 131 may be incorporated in the main processing circuits 11 and 111.

また、上述した第2実施形態では、監視回路131がプログラムPRGM2の改変を検出した場合に給電回路141によるSRAM115への給電を停止する場合を例示したが、メイン処理回路111全体への給電を停止するようにしてもよい。   In the second embodiment described above, the case where the power supply circuit 141 stops the power supply to the SRAM 115 when the monitoring circuit 131 detects the modification of the program PRGM2 is exemplified. However, the power supply to the entire main processing circuit 111 is stopped. You may make it do.

本発明は、不正なプログラムの実行による不正動作を防止する必要がある遊技機に適用可能である。   The present invention can be applied to a gaming machine that needs to prevent unauthorized operation due to execution of an unauthorized program.

図1は、本発明の第1実施形態に係る遊技機の信号処理装置のハードウェア構成図である。FIG. 1 is a hardware configuration diagram of a signal processing device of a gaming machine according to the first embodiment of the present invention. 図2は、図1に示す信号処理装置の動作例を説明するためのフローチャートである。FIG. 2 is a flowchart for explaining an operation example of the signal processing apparatus shown in FIG. 図3は、本発明の第2実施形態に係る遊技機の信号処理装置のハードウェア構成図である。FIG. 3 is a hardware configuration diagram of the signal processing device of the gaming machine according to the second embodiment of the present invention. 図4は、図3に示す信号処理装置の動作例を説明するためのフローチャートである。FIG. 4 is a flowchart for explaining an operation example of the signal processing apparatus shown in FIG.

符号の説明Explanation of symbols

3…入力部、5…遊戯処理回路、6…データバス、7,9…バスゲート、10,110…信号処理装置、13,113…ROM、15…RAM、115…SRAM,17,117…メインCPU、21…アドレスデコーダ、33,133…ROM、35,135…RAM、37,137…監視用ROM、39,139…監視用CPU、43…バッテリ、41,141…給電回路
DESCRIPTION OF SYMBOLS 3 ... Input part, 5 ... Game processing circuit, 6 ... Data bus, 7, 9 ... Bus gate, 10, 110 ... Signal processing device, 13, 113 ... ROM, 15 ... RAM, 115 ... SRAM, 17, 117 ... Main CPU, 21 ... Address decoder, 33, 133 ... ROM, 35, 135 ... RAM, 37, 137 ... Monitoring ROM, 39, 139 ... Monitoring CPU, 43 ... Battery, 41, 141 ... Power feeding circuit

Claims (12)

第1のメモリに記憶されたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止装置であって、
前記遊戯動作を制御する前の初期動作において、前記第1のメモリから読み出された前記プログラムが、比較用プログラムとして書き込まれる第2のメモリと、
前記初期動作後に、前記第1のメモリから読み出された前記プログラムと前記第2のメモリから読み出された前記比較用プログラムとの間に不一致を検出すると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶されたプログラムを実行する動作を禁止する制御回路と
を有する遊技機不正動作防止装置。
A gaming machine unauthorized operation preventing device for preventing an unauthorized operation of a gaming machine performing a gaming operation by controlling a processing circuit based on a program stored in a first memory,
A second memory in which the program read from the first memory is written as a comparison program in an initial operation before controlling the play operation;
If a mismatch is detected between the program read from the first memory and the comparison program read from the second memory after the initial operation, a command issued by the processing circuit is used. And a control circuit for prohibiting the game operation or the operation of the processing circuit executing the program stored in the first memory.
前記制御回路は、
前記初期動作において、前記第1のメモリから読み出された前記プログラムに所定の演算が施されたプログラムを入力し、当該入力したプログラムに前記所定の演算に対応した演算を施して前記演算前のプログラムを復元し、当該復元したプログラムを前記比較用プログラムとして前記第2のメモリに書き込み、
前記初期動作後において、前記第1のメモリから読み出された前記プログラムに所定の演算が施されたプログラムを入力し、当該入力したプログラムに前記所定の演算に対応した演算を施して前記演算前のプログラムを復元し、当該復元したプログラムと前記第2のメモリから読み出された前記比較用プログラムとが一致しているか否かを判断する
請求項1に記載の遊技機不正動作防止装置。
The control circuit includes:
In the initial operation, a program obtained by performing a predetermined operation on the program read from the first memory is input, an operation corresponding to the predetermined operation is performed on the input program, and the program before the operation is calculated. A program is restored, and the restored program is written in the second memory as the comparison program,
After the initial operation, a program obtained by performing a predetermined operation on the program read from the first memory is input, and an operation corresponding to the predetermined operation is performed on the input program before the operation. The gaming machine unauthorized operation preventing device according to claim 1, wherein the program is restored, and it is determined whether or not the restored program matches the comparison program read from the second memory.
前記所定の演算は、前記第1のメモリから読み出されたプログラムと、乱数との排他的論理和を計算する演算であり、
前記制御回路は、前記初期動作において前記乱数を入力し、前記初期動作後において、
前記入力したプログラムと前記入力した乱数との排他的論理和を演算して前記演算前のプログラムを復元する
請求項2に記載の遊技機不正動作防止装置。
The predetermined operation is an operation for calculating an exclusive OR of a program read from the first memory and a random number,
The control circuit inputs the random number in the initial operation, and after the initial operation,
The gaming machine unauthorized operation preventing apparatus according to claim 2, wherein an exclusive OR of the input program and the input random number is calculated to restore the program before the calculation.
前記制御回路は、前記不一致を検出した場合に、前記処理回路が発行した前記コマンドを、当該コマンドを基に前記遊技機の動作を制御する遊戯処理回路に伝送する伝送路を遮断状態にする
請求項1〜3のいずれかに記載の遊技機不正動作防止装置。
When the control circuit detects the mismatch, the control circuit sets the transmission path for transmitting the command issued by the processing circuit to the game processing circuit that controls the operation of the gaming machine based on the command. Item 4. The gaming machine unauthorized operation prevention device according to any one of Items 1 to 3.
前記処理回路の取り外しを検出する取り外し検出手段
をさらに有し、
前記制御回路は、前記取り外し検出手段が前記処理回路の取り外しを検出した場合に、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶されたプログラムを実行する動作を禁止する
請求項1〜4いずれかに記載の装置。
A removal detecting means for detecting removal of the processing circuit;
When the removal detection unit detects removal of the processing circuit, the control circuit stores the game operation based on a command issued by the processing circuit or the processing circuit is stored in the first memory. The apparatus according to claim 1, wherein an operation for executing a program is prohibited.
給電されていることを条件に記憶状態を保持する揮発性メモリから読みだしたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止装置であって、
前記揮発性メモリに記憶されたプログラムの改変を検出する改変検出手段と、
前記改変検出手段が前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する制御回路と
を有する遊技機不正動作防止装置。
A gaming machine unauthorized operation prevention device that prevents unauthorized operation of a gaming machine that performs a game operation by controlling a processing circuit based on a program read from a volatile memory that retains a storage state under the condition that power is supplied. And
Modification detection means for detecting modification of a program stored in the volatile memory;
And a control circuit that stops the power supply to the volatile memory when the alteration detection means detects the alteration.
前記制御回路は、所定の認証処理を経たことを条件に、不揮発性メモリから前記揮発性メモリに前記プログラムを読み出す動作を許可する
請求項6に記載の遊技機不正動作防止装置。
The gaming machine unauthorized operation preventing apparatus according to claim 6, wherein the control circuit permits an operation of reading the program from a nonvolatile memory to the volatile memory on condition that a predetermined authentication process has been performed.
前記処理回路の取り外しを検出する取り外し検出手段
をさらに有し、
前記制御回路は、前記取り外し検出手段が前記処理回路の取り外しを検出した場合に、前記不揮発性メモリへの前記給電を停止する
請求項6または請求項7に記載の装置。
A removal detecting means for detecting removal of the processing circuit;
The apparatus according to claim 6, wherein the control circuit stops the power supply to the nonvolatile memory when the removal detection unit detects removal of the processing circuit.
入力したコマンドを基に各種の遊戯動作を実行する遊戯処理手段と、
前記遊戯処理手段に前記コマンドを出力するメイン処理回路と、
前記遊戯処理手段の不正動作を防止する監視回路と
を有し、
前記メイン処理回路は、
プログラムを記憶する第1のメモリと、
前記第1のメモリから読み出した前記プログラムを基に動作し、前記遊戯動作を制御する前の初期動作において、前記第1のメモリから読み出した前記プログラムを前記監視回路に出力し、前記初期動作後の所定のタイミングで前記第1のメモリから読み出した前記プログラムを前記監視回路に出力する第1の制御回路と
を有し、
前記監視回路は、
前記初期動作において、前記メイン処理回路から入力した前記プログラムが比較用プログラムとして書き込まれる第2のメモリと、
前記初期動作後に、前記第1のメモリから読み出されたプログラムと前記第2のメモリから読み出された前記比較用プログラムとの不一致を検出すると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶されたプログラムを実行する動作を禁止する第2の制御回路と
を有する遊技機。
Game processing means for executing various game operations based on the input command;
A main processing circuit for outputting the command to the game processing means;
A monitoring circuit for preventing illegal operation of the game processing means,
The main processing circuit includes:
A first memory for storing a program;
It operates based on the program read from the first memory and outputs the program read from the first memory to the monitoring circuit in an initial operation before controlling the game operation, and after the initial operation. A first control circuit that outputs the program read from the first memory to the monitoring circuit at a predetermined timing of:
The monitoring circuit is
In the initial operation, a second memory in which the program input from the main processing circuit is written as a comparison program;
When a mismatch between the program read from the first memory and the comparison program read from the second memory is detected after the initial operation, the processing circuit is based on the command issued by the processing circuit. A game machine comprising: a second control circuit that prohibits a game operation or an operation in which the processing circuit executes a program stored in the first memory.
給電されていることを条件に記憶状態を保持する揮発性メモリと、
前記揮発性メモリから読み出したプログラムを基に、遊戯動作を制御するメイン処理回路と、
前記揮発性メモリに記憶されたプログラムの改変を検出する改変検出手段と、
前記改変検出手段が前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する監視回路と
を有する遊技機。
A volatile memory that maintains a memory state on condition that power is supplied;
Based on the program read from the volatile memory, a main processing circuit for controlling the game operation,
Modification detection means for detecting modification of a program stored in the volatile memory;
A gaming machine comprising: a monitoring circuit that stops the power supply to the volatile memory when the modification detection unit detects the modification.
第1のメモリに記憶されたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止方法であって、
前記遊戯動作を制御する前に、前記第1のメモリから前記プログラムを読み出して第2のメモリに比較用プログラムとして書き込む初期工程と、
前記初期工程後に、前記第1のメモリから読み出されたプログラムと、前記第2のメモリから読み出された前記比較用プログラムとが一致しているか否かを判断する比較工程と、
前記比較工程において不一致であると判断されると、前記処理回路が発行したコマンドを基にした前記遊戯動作、あるいは前記処理回路が前記第1のメモリに記憶されたプログラムを実行する動作を禁止する禁止工程と
を有する遊技機不正動作防止方法。
A gaming machine unauthorized operation prevention method for preventing an unauthorized operation of a gaming machine performing a gaming operation by controlling a processing circuit based on a program stored in a first memory,
An initial step of reading the program from the first memory and writing it as a comparison program in the second memory before controlling the play operation;
A comparison step for determining whether or not the program read from the first memory and the comparison program read from the second memory match after the initial step;
If it is determined in the comparison step that they do not match, the game operation based on a command issued by the processing circuit or an operation in which the processing circuit executes a program stored in the first memory is prohibited. A method for preventing illegal operation of a gaming machine having a prohibited process.
給電されていることを条件に記憶状態を保持する揮発性メモリから読みだしたプログラムを基にした処理回路の制御によって遊戯動作を行う遊技機の不正動作を防止する遊技機不正動作防止方法であって、
前記揮発性メモリに記憶されたプログラムの改変を検出する改変検出工程と、
前記改変検出工程で前記改変を検出した場合に、前記揮発性メモリへの前記給電を停止する給電停止工程と
を有する遊技機不正動作防止方法。
It is a gaming machine illegal operation prevention method for preventing an illegal operation of a gaming machine that performs a game operation by controlling a processing circuit based on a program read from a volatile memory that holds a storage state on condition that power is supplied. And
A modification detection step for detecting modification of the program stored in the volatile memory;
A gaming machine improper operation prevention method comprising: a power supply stopping step of stopping the power supply to the volatile memory when the modification is detected in the modification detection step.
JP2007139203A 2007-05-25 2007-05-25 Illegal operation prevention device for game machine, its method, and game machine Pending JP2008289716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007139203A JP2008289716A (en) 2007-05-25 2007-05-25 Illegal operation prevention device for game machine, its method, and game machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007139203A JP2008289716A (en) 2007-05-25 2007-05-25 Illegal operation prevention device for game machine, its method, and game machine

Publications (1)

Publication Number Publication Date
JP2008289716A true JP2008289716A (en) 2008-12-04

Family

ID=40165078

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007139203A Pending JP2008289716A (en) 2007-05-25 2007-05-25 Illegal operation prevention device for game machine, its method, and game machine

Country Status (1)

Country Link
JP (1) JP2008289716A (en)

Similar Documents

Publication Publication Date Title
US7461268B2 (en) E-fuses for storing security version data
US8407488B2 (en) Semiconductor device including encryption section, semiconductor device including external interface, and content reproduction method
CN113486360B (en) RISC-V based safe starting method and system
JP5419776B2 (en) Semiconductor device and data processing method
JP6373888B2 (en) Information processing apparatus and control method
US7827397B2 (en) Gaming machine having a secure boot chain and method of use
US5396609A (en) Method of protecting programs and data in a computer against unauthorized access and modification by monitoring address regions
US20120272071A1 (en) Gaming Security System
JP4925422B2 (en) Managing access to content in data processing equipment
TW200832427A (en) Virtual secure on-chip one time programming
KR20090095843A (en) Processor apparatus having secure performance
US7228569B2 (en) Programmable unit
JP4401468B2 (en) Gaming machine control chip monitoring system
JP2000233057A5 (en)
KR20170102285A (en) Security Elements
WO2018040678A1 (en) Memory data protection method, integrated circuit chip, and storage medium
JP6622360B2 (en) Information processing device
JP2620020B2 (en) Microprocessor microprocessor
JP2975522B2 (en) Microprocessor microprocessor
JP2008289716A (en) Illegal operation prevention device for game machine, its method, and game machine
JP2918855B2 (en) Microprocessor microprocessor
JP5761880B2 (en) Automobile
AU2009202742A1 (en) Gaming security system
JP5603993B2 (en) Electrical unit and data processing method
JP2000000369A (en) Game controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100524

A072 Dismissal of procedure

Free format text: JAPANESE INTERMEDIATE CODE: A073

Effective date: 20110926