JP2004103027A - Game controller - Google Patents

Game controller Download PDF

Info

Publication number
JP2004103027A
JP2004103027A JP2003332735A JP2003332735A JP2004103027A JP 2004103027 A JP2004103027 A JP 2004103027A JP 2003332735 A JP2003332735 A JP 2003332735A JP 2003332735 A JP2003332735 A JP 2003332735A JP 2004103027 A JP2004103027 A JP 2004103027A
Authority
JP
Japan
Prior art keywords
decryption
information
key
write information
game program
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
JP2003332735A
Other languages
Japanese (ja)
Inventor
Takeshi Osawa
大沢 健
Koji Sasaki
佐々木 幸治
Takao Moriya
守谷 岳雄
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.)
JAPAN ID KK
Toshiba Information Systems Japan Corp
PA Network Laboratory Co Ltd
Original Assignee
JAPAN ID KK
Toshiba Information Systems Japan Corp
PA Network Laboratory 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 JAPAN ID KK, Toshiba Information Systems Japan Corp, PA Network Laboratory Co Ltd filed Critical JAPAN ID KK
Priority to JP2003332735A priority Critical patent/JP2004103027A/en
Publication of JP2004103027A publication Critical patent/JP2004103027A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To surely prevent falsification of a game program. <P>SOLUTION: This game controller 1 controls operations of a game machine based on game program information Pr and constituted so that it has a memory 2 for storing the game program information Pr, a decoding means having a prescribed decoding key K and decoding algorithm A and for decoding information, a switching means 4 for switching writing information SP so that it is transmitted to the decoding means 3 when the writing information SP to the memory 2 is inputted from the outside and the decoding means 3 generates decoded writing information P by decoding the writing information SP from the switching means 4, outputs and writes the decoded writing information P in the memory 2. <P>COPYRIGHT: (C)2004,JPO

Description

 この発明は、各遊技機に設けられその遊技機の動作を遊技プログラム情報に基づいて制御する遊技制御装置に関するものである。 The present invention relates to a game control device provided in each game machine for controlling the operation of the game machine based on game program information.

 近年、パチンコ機などの遊技機は、電子化が広範に進められて、コンピュータ制御されるようになっており、その遊技内容も、「大当たり」を組み込むなどして、多様化し、遊技としての興趣性も増している。そして、その遊技内容は、不揮発性のメモリであるROMに記億した遊技プログラムに従うものとなっている。 In recent years, gaming machines such as pachinko machines have been widely computerized and controlled by computers, and the contents of the games have been diversified by incorporating “big hits” into the game, and the entertainment as a game has become popular. Sex is also increasing. The game content is in accordance with a game program stored in a ROM, which is a nonvolatile memory.

 ところで、上記コンピュータ制御の遊技機では、ROMを交換し遊技プログラムを差し替えることで、遊技内容を変更できるので、遊技内容が遊技者に有利となるように遊技プログラムを差し替え改竄するという、新たな不正行為が発生するようになった。そして、一旦遊技プログラムが改竄されると、「大当たり」が異常に多発するなど、遊技店が受ける被害は、従来とは比べものにならないほど大きいものとなってしまう。また、このような不正行為により、遊技の健全性が損なわれ、遊技者の信頼が失われるという問題も生じている。 By the way, in the computer-controlled gaming machine, the content of the game can be changed by replacing the ROM and replacing the game program, so that a new illegal operation of replacing and falsifying the game program so that the game content is advantageous to the player is provided. Acts began to occur. Then, once the game program is tampered with, the damage to the game store becomes extremely large, such as abnormal occurrence of "big hits". In addition, due to such misconduct, the soundness of the game is impaired, and the trust of the player is lost.

 そこで、このような問題点を解決すべく、例えばROMを基板と一体に形成し、ROMそのものの交換を不可能としたものもあるが、この場合でも、ROMへの書き込みで遊技プログラムを改竄することができ、遊技プログラムの改竄という不正行為は依然として発生している。 Therefore, in order to solve such a problem, for example, a ROM is formed integrally with the substrate, and the ROM itself cannot be replaced. However, even in this case, the game program is falsified by writing to the ROM. The tampering of the game program is still occurring.

 そして、このような、改竄した遊技プログラムの書き込みを防止するために、例えば下記のような遊技プログラム検証を行うようにしている。すなわち、正規の遊技プログラムに所定の関数で演算処理を施した結果を認証データとして予めメモリに記憶しておき、遊技機の立ち上げ時毎に、ROMの遊技プログラムに同じ関数での演算処理を施し、その演算結果が予め記憶している認証データと一致するか否かの判別を行い、双方が一致しなければ、遊技プログラムが改竄されているとして、所定の不正対応処理を行うようにしている。 (4) In order to prevent such a falsified game program from being written, for example, the following game program verification is performed. That is, a result obtained by performing a calculation process using a predetermined function on a regular game program is stored in advance in a memory as authentication data, and every time the game machine is started up, a calculation process using the same function is performed on the ROM game program. It is determined whether the calculation result matches the authentication data stored in advance, and if the two do not match, it is determined that the game program has been tampered with and a predetermined fraud handling process is performed. I have.

 しかし、上記従来の遊技プログラム検証方法では、機器の動作に関係のないデータ量の大きい認証データがメモリに付与されることとなるので、メモリの利用範囲が狭められるだけでなく、認証データ自体は意味のないデータでもあるため、デバックや逆アセンブル等の検査では却って邪魔になる。 However, in the above-mentioned conventional game program verification method, authentication data having a large data amount irrelevant to the operation of the device is added to the memory, so not only the use range of the memory is narrowed, but also the authentication data itself is Since it is meaningless data, it becomes a hindrance to inspections such as debugging and disassembling.

 また、遊技プログラムの改竄そのものを防止しているわけではないため、遊技プログラムの改竄があってから、次回の検証時迄はその改竄した遊技プログラムが稼働することとなり、このためその間に多大な損失を招いてしまう結果となっていた。 Also, since the tampering of the game program itself is not prevented, the tampered game program will be operated until the next verification after the tampering of the game program, resulting in a great loss during that time. Was inviting.

 また、遊技機の立ち上げ時毎に検証を行うので、立ち上げに時間を要してしまい、立ち上げを煩雑なものとしていた。 検 証 In addition, since the verification is performed every time the game machine is started, it takes time to start the game machine, and the start-up is complicated.

 さらに、遊技プログラムの検証実施毎に掛かる時間もデータ長に比例して長くなるため、機器立ち上げ時間がデータ長により可変となり、機器全体の制御の妨げになっていた。 Furthermore, the time required for each verification of the game program also increases in proportion to the data length, so that the device start-up time is variable depending on the data length, which hinders control of the entire device.

 この発明は上記に鑑み提案されたもので、データ量の大きい認証データのメモリへの記載が不要で、立ち上げ時の遊技プログラム検証も行わずして、遊技プログラム改竄を確実に防止することができる遊技制御装置を提供することを目的とする。 The present invention has been proposed in view of the above, and it is unnecessary to write authentication data having a large data amount in a memory, and it is possible to reliably prevent a game program from being tampered without performing a game program verification at the time of startup. It is an object of the present invention to provide a game control device capable of performing the game.

 上記目的を達成するために、請求項1に記載の発明は、各遊技機に設けられその遊技機の動作を遊技プログラム情報に基づいて制御する遊技制御装置において、上記遊技プログラム情報を記憶するROMとしてのメモリと、非公開キーとして管理されている所定の復号キー及び所定の復号化アルゴリズムを予め書き換え不能にかつアクセス不能に有し情報の復号化を行う復号手段と、上記メモリへの書き込み情報が外部から入力されたとき、その書き込み情報を復号手段に送るように切り換える切り換え手段と、を有し、元情報の遊技プログラム情報を上記復号キー及び復号化アルゴリズムとそれぞれ同一の暗号キー及び暗号化アルゴリズムで暗号化して書き込み情報を生成し、この書き込み情報を当該遊技制御装置に書き込む際には、切り替え手段にROMライタを接続しその書き込み情報をROMライタから切り換え手段を介して入力し、上記復号手段は、上記切り換え手段からの書き込み情報を復号化して復号書き込み情報を生成し、その復号書き込み情報を遊技プログラム情報としてメモリに出力して書き込み、その後はROMライタを切り離して使用する、ことを特徴としている。 In order to achieve the above object, an invention according to claim 1 is provided in a game control device provided in each game machine for controlling the operation of the game machine based on the game program information, and a ROM storing the game program information. A decryption means for decrypting information by previously non-rewriting and non-accessing a predetermined decryption key and a predetermined decryption algorithm managed as a secret key, and information written to the memory. And a switching means for switching the write information to be sent to the decryption means when the information is input from the outside. The game program information of the original information has the same encryption key and encryption as the decryption key and the decryption algorithm, respectively. When writing information is generated by encrypting with the algorithm and this writing information is written to the game control device, A ROM writer is connected to the switching means, and the write information is input from the ROM writer through the switching means, and the decoding means decodes the write information from the switching means to generate decoded write information, and outputs the decoded write information. Is output to a memory as game program information and written, and thereafter, the ROM writer is separated and used.

 また、請求項2に記載の発明は、上記した請求項1に記載の発明の構成に加えて、上記復号手段が復号化し生成した復号書き込み情報を、正規の遊技プログラム情報と比較し、双方が一致するか否かを判別する一致判別手段を設け、上記復号書き込み情報と正規の遊技プログラム情報とが一致するとき、当該復号書き込み情報をメモリに書き込むようにした、ことを特徴としている。 According to a second aspect of the present invention, in addition to the configuration of the first aspect of the present invention, the decryption / writing information decrypted and generated by the decryption means is compared with regular game program information. There is provided a coincidence determining means for determining whether or not the information coincides with each other, and when the decrypted write information matches the regular game program information, the decrypted write information is written to a memory.

 また、請求項3に記載の発明は、各遊技機に設けられその遊技機の動作を遊技プログラム情報に基づいて制御する遊技制御装置において、上記遊技プログラム情報を記憶するROMとしてのメモリと、未公開キーとして管理されている所定の復号キー及び所定の復号化アルゴリズムを予め書き換え不能にかつアクセス不能に有し情報の復号化を行う復号手段と、上記メモリへの書き込み情報が外部から入力されたとき、その書き込み情報を復号手段に送るように切り換える切り換え手段と、を有し、元情報の遊技プログラム情報を、認証認定機関から発行された認証キーと上記復号キーと同一の暗号キーとで生成した合成暗号キー及び上記復号化アルゴリズムと同一の暗号化アルゴリズムで暗号化して書き込み情報を生成し、また認証キーをその暗号化アルゴリズムで暗号化して暗号化認証キーを生成し、この書き込み情報を当該遊技制御装置に書き込む際には、切り替え手段にROMライタを接続しその書き込み情報と暗号化認証キーとをROMライタから切り換え手段を介して入力し、上記復号手段は、入力された暗号化認証キーを上記復号化アルゴリズムに従い復号化して復号認証キーを生成し、続いてその復号認証キー及び上記所定の復号キーで合成復号キーを生成し、この合成キー生成手順で得られた合成復号キーにより上記復号化アルゴリズムを用いて、入力された書き込み情報を復号化し、その復号化により得られた復号書き込み情報をメモリに出力して書き込み、その後はROMライタを切り離して使用する、ことを特徴としている。 According to a third aspect of the present invention, there is provided a game control device provided in each game machine for controlling the operation of the game machine based on the game program information, a memory serving as a ROM for storing the game program information, Decryption means for preliminarily and without inaccessibility of a predetermined decryption key and a predetermined decryption algorithm managed as a public key to decrypt information, and information written to the memory is externally input. Switching means for switching the write information to be sent to the decryption means, wherein the game program information of the original information is generated by using an authentication key issued by an authentication and certification organization and the same encryption key as the decryption key. Generates the write information by encrypting with the same composite encryption key and the same encryption algorithm as the above-mentioned decryption algorithm. When an encrypted authentication key is generated by encrypting with the encryption algorithm and this write information is written to the game control device, a ROM writer is connected to the switching means, and the write information and the encrypted authentication key are written in the ROM writer. The decryption means decrypts the input encrypted authentication key according to the decryption algorithm to generate a decryption authentication key, and then generates the decryption authentication key and the predetermined decryption key. A composite decryption key is generated, the input write information is decrypted using the decryption algorithm by the composite decryption key obtained in the composite key generation procedure, and the decrypted write information obtained by the decryption is stored in the memory. It is characterized by outputting and writing, and thereafter using the ROM writer separately.

 この発明の遊技制御装置では、内蔵している復号キーとアルゴリズムとを用いて書き込み情報を復号化するようにしたので、復号手段が有する復号キーを第三者に非公開とする限り、第三者が書き込み情報を作成し入力しても、その復号書き込み情報は正しく復号化されず、正規の遊技プログラム情報とは成り得ず、メモリに記憶してある遊技プログラム情報の改竄を確実に防止することができる。 In the game control device of the present invention, the write information is decrypted by using the built-in decryption key and the algorithm. Therefore, as long as the decryption key of the decryption means is not disclosed to a third party, the third information is decrypted. Even if a player creates and inputs write information, the decrypted write information is not correctly decrypted, cannot be legitimate game program information, and reliably prevents tampering of game program information stored in the memory. be able to.

 また、合成復号キーにより書き込み情報を復号化する構成を付加したことにより、書き込み情報を作成する段階での暗号化処理には、事前に復号認証キーと復号キーと復号化アルゴリズムの三つを知っておく必要があり、したがって、第三者が事前に暗号化処理を行える可能性はより一層少なくなり、メモリに記憶してある遊技プログラム情報の改竄防止をより一層確実なものとすることができる。 In addition, by adding a configuration for decrypting the write information using the synthetic decryption key, the encryption process at the stage of creating the write information requires the prior knowledge of the decryption authentication key, the decryption key, and the decryption algorithm. Therefore, the possibility that a third party can perform the encryption process in advance is further reduced, and the tampering of the game program information stored in the memory can be more reliably prevented. .

 以下にこの発明の実施の形態を図面に基づいて詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

 図1はこの発明の遊技制御装置の原理ブロック図である。図において、この発明の遊技制御装置1は、各遊技機に設けられその遊技機の動作を遊技プログラム情報Prに基づいて制御する装置であり、遊技プログラム情報Prを記憶するメモリ2と、所定の復号キーK及び復号化アルゴリズムAを有し情報の復号化を行う復号手段3と、メモリ2への書き込み情報SPが外部から入力されたとき、その書き込み情報SPを復号手段3に送るように切り換える切り換え手段4と、を有し、復号手段3は、切り換え手段4からの書き込み情報SPを復号化して復号書き込み情報Pを生成し、その復号書き込み情報Pをメモリ2に出力して書き込むようにした、ことを特徴としている。 FIG. 1 is a principle block diagram of the game control device of the present invention. In the figure, a game control device 1 of the present invention is a device provided in each game machine for controlling the operation of the game machine based on game program information Pr, and a memory 2 for storing game program information Pr, The decryption means 3 having a decryption key K and a decryption algorithm A for decrypting information, and switching so as to send the write information SP to the decryption means 3 when write information SP to the memory 2 is input from outside. Switching means 4, wherein the decoding means 3 decodes the write information SP from the switching means 4 to generate decoded write information P, and outputs the decoded write information P to the memory 2 for writing. , Is characterized.

 この場合、メモリ2に予め遊技プログラム情報Prが書き込まれていれば、復号書き込み情報Pをその遊技プログラム情報Prに上書きする。また、メモリ2に何も書き込まれていなければ、新規に復号書き込み情報Pを書き込む。その後、遊技制御装置1は、この復号書き込み情報Pを遊技プログラム情報として取り扱い、この復号書き込み情報Pに基づいて遊技機の動作を制御する。 In this case, if the game program information Pr has been written in the memory 2 in advance, the decrypted write information P is overwritten on the game program information Pr. If nothing has been written in the memory 2, the decryption write information P is newly written. Thereafter, the game control device 1 treats the decrypted write information P as game program information, and controls the operation of the gaming machine based on the decrypted write information P.

 上記のように、この実施形態では、メモリ2への書き込み情報SPが外部から入力されたときは、その書き込み情報SPは必ず復号手段3に送られ、その復号手段3において復号化された復号書き込み情報Pがメモリ2に書き込まれる。 As described above, in this embodiment, when the write information SP to the memory 2 is externally input, the write information SP is always sent to the decryption means 3 and the decrypted write information Information P is written to the memory 2.

 ここで、書き込み情報SPについて説明する。上記のように、書き込み情報SPを復号化することで復号書き込み情報Pが得られるということは、その逆に復号書き込み情報Pを暗号化することで書き込み情報SPが得られることを意味している。そして、遊技プログラム情報としての所望の復号書き込み情報Pを得るに至らせる書き込み情報SPは、図に示すように、所望の復号書き込み情報Pを元情報Pとし、その元情報Pを事前に暗号手段6において暗号化することで入手できる。この暗号手段6における暗号化は、元情報Pに対して暗号キーKにより暗号化アルゴリズムAを用いて行うものでなければならない。 Here, the write information SP will be described. As described above, obtaining the decrypted write information P by decrypting the write information SP means that the write information SP is obtained by encrypting the decrypted write information P. . Then, as shown in the figure, the write information SP for obtaining the desired decrypted write information P as the game program information is, as shown in FIG. 6 and can be obtained by encryption. The encryption in the encryption means 6 must be performed on the original information P using the encryption algorithm A with the encryption key K.

 なお、この場合の暗号キーKと復号キーKとは同一のキーKであり、暗号化に用いるか復号化に用いるかという点のみが相違している。同様に、暗号化アルゴリズムAと復号化アルゴリズムAとは同一のアルゴリズムAであり、暗号化に用いるか復号化に用いるかという点のみが相違している。 Note that the encryption key K and the decryption key K in this case are the same key K, and differ only in whether they are used for encryption or decryption. Similarly, the encryption algorithm A and the decryption algorithm A are the same algorithm A, and differ only in whether the algorithm is used for encryption or decryption.

 上記暗号手段6において元情報Pを暗号化するには、復号手段3の復号キーKとアルゴリズムAとを事前に知っておく必要があるが、復号キーKを非公開キーとして管理する限り、第三者はその復号キーKを知ることはできない。したがって、第三者がそのような状況下で元情報Pから書き込み情報を作成し、その書き込み情報を外部から入力しても、復号化処理の結果得られる復号書き込み情報は元情報Pとは一致せず、プログラムとして成立しない無意味な情報となる。このような復号書き込み情報がメモリ2に書き込まれても、遊技制御装置1は正常に機能せずに遊技機の動作を暴走させることとなり、それ以降の使用は不能となる。すなわち、遊技プログラム情報の不正な書き換えを阻止することができる。 In order to encrypt the original information P in the encryption means 6, it is necessary to know in advance the decryption key K of the decryption means 3 and the algorithm A, but as long as the decryption key K is managed as a secret key, The three cannot know the decryption key K. Therefore, even if a third party creates write information from the original information P in such a situation and inputs the write information from the outside, the decrypted write information obtained as a result of the decryption processing matches the original information P. Without this, it becomes meaningless information that does not hold as a program. Even if such decryption / writing information is written in the memory 2, the game control device 1 does not function properly, causing the game machine to run out of control, and cannot be used thereafter. That is, illegal rewriting of the game program information can be prevented.

 このように、遊技制御装置1に埋め込んだ復号キーKを第三者に未公開とする限り、第三者が書き込み情報SPを作成し入力しても、その使用は阻止され、したがって、メモリ2に記憶してある遊技プログラム情報の改竄を確実に防止することができる。 Thus, as long as the decryption key K embedded in the game control device 1 is not disclosed to a third party, even if the third party creates and inputs the write information SP, use of the write information SP is prevented, and therefore, the memory 2 is used. Can be securely prevented from being falsified.

 また、不正に暗号化した遊技プログラム情報を外部から入力し書き換えたとしても、遊技機は正常に動作せず暴走するようになるので、直ちにその不正を検出でき、またその不正な遊技プログラムでの遊技は成立しないので、遊技店に損失を与えるようなことも全く生じない。 Also, even if the game program information that has been illegally encrypted is externally input and rewritten, the game machine will not operate normally and will run away, so that the illegality can be immediately detected and the illegal game program Since the game is not established, there is no loss at the game store.

 さらに、メモリには遊技プログラム情報のみを書き込み、認証に必要な情報は書き込まないので、メモリを最大限有効に活用することができる。 Furthermore, since only the game program information is written in the memory, and the information necessary for authentication is not written, the memory can be utilized as efficiently as possible.

 なお、上記の説明では、復号書き込み情報Pをそのままメモリ2に書き込むようにしたが、復号書き込み情報Pをメモリ2に書き込む前に、正規の遊技プログラム情報と比較し、一致するときのみ書き込むようにしてもよい。この場合、正規の遊技プログラム情報は例えば外部記憶装置に予め記憶させておく。このように、メモリ2への書き込み前にその一致を確認することにより、不正の遊技プログラム情報の書き込みを未然に確実に防止することができる。 In the above description, the decrypted write information P is written in the memory 2 as it is. However, before the decrypted write information P is written in the memory 2, the decrypted write information P is compared with regular game program information and written only when they match. You may. In this case, the regular game program information is stored in an external storage device in advance, for example. In this way, by confirming the match before writing to the memory 2, it is possible to reliably prevent unauthorized game program information from being written.

 この遊技制御装置1は、下記のような自己検証手段5を備え、復号手段3に記憶している復号キーK及び復号化アルゴリズムAの認証を自分自身で行っている。すなわち、この自己検証手段5は、予め書き換え不能に記憶している自己検査情報SI及び自己検査基準情報I0のうち、自己検査情報SIを復号手段3に出力する。 This game control device 1 is provided with the following self-verification means 5 and authenticates the decryption key K and the decryption algorithm A stored in the decryption means 3 by itself. That is, the self-verification unit 5 outputs the self-inspection information SI to the decoding unit 3 among the self-inspection information SI and the self-inspection reference information I0 stored in advance in a non-rewritable manner.

 なお、自己検査情報SIは、自己検査基準情報I0を、暗号キーKにより暗号化アルゴリズムAを用いて暗号化することで生成した情報である。したがって、自己検査情報SIを逆に復号キーKにより復号化アルゴリズムAを用いて復号化すれば、その情報は自己検査基準情報I0に一致することとなる。 The self-inspection information SI is information generated by encrypting the self-inspection reference information I0 with the encryption key K using the encryption algorithm A. Therefore, if the self-test information SI is decrypted using the decryption algorithm A with the decryption key K, the information matches the self-test reference information I0.

 自己検証手段5は、復号手段3において復号化された復号自己検査情報Iを当該復号手段3から受け取り、その復号自己検査情報Iを自己検査基準情報I0と比較し、双方が一致するか否かの判別を行っている。上記したように、復号自己検査情報Iと自己検査基準情報I0とは本来一致するようになっているが、双方が一致していなければ、復号キーKあるいは復号化アルゴリズムAが不正に改竄されている場合であり、その場合は遊技機の動作を停止する等の不正対応処理を行う。 The self-verifying unit 5 receives the decoded self-check information I decoded by the decoding unit 3 from the decoding unit 3, compares the decoded self-check information I with the self-check reference information I0, and determines whether or not both match. Is determined. As described above, the decryption self-check information I and the self-check reference information I0 are originally matched, but if they do not match, the decryption key K or the decryption algorithm A is tampered with. In such a case, an unauthorized response process such as stopping the operation of the gaming machine is performed.

 第三者が復号手段3の復号キーKあるいは復号化アルゴリズムAを改竄することで、復号手段3での復号化を巧みに切り抜け、遊技プログラム情報を書き換えたとしても、この実施形態では自己検証を行うので、復号手段3内の改竄を確実に検出することができる。 Even if a third party falsifies the decryption by the decryption means 3 by altering the decryption key K or the decryption algorithm A of the decryption means 3 and rewrites the game program information, in this embodiment, the self-verification is performed. Therefore, tampering in the decryption means 3 can be reliably detected.

 この自己検証による復号キーK等の認証を行っておけば、メモリ2内の遊技プログラム情報の書き換えを確実に完全に防止することができ、したがって、通常はこの自己検証を行うだけで遊技制御装置1のセキュリティを充分に保つことができる。 If the authentication of the decryption key K or the like by this self-verification is performed, rewriting of the game program information in the memory 2 can be completely prevented without fail. 1 can be sufficiently maintained.

 しかも、この自己検証は、自己検査情報を復号化して比較するだけなので、処理するデータ量も少なく、短時間で完了させることができ、たとえ遊技機の立ち上げ時に毎回行ったとしても、スムーズに遊技機の通常の動作に移行させることができる。 In addition, since this self-verification only decrypts and compares the self-inspection information, the amount of data to be processed is small and can be completed in a short period of time. It is possible to shift to a normal operation of the gaming machine.

 図2はこの発明の第2の実施形態における原理ブロック図である。図において、この発明の遊技制御装置10は、各遊技機に設けられその遊技機の動作を遊技プログラム情報Prに基づいて制御する装置であり、遊技プログラム情報Prを記憶するメモリ20と、所定の復号キーK2及び復号化アルゴリズムAを有し情報の復号化を行う復号手段30と、メモリ20への書き込み情報SPが外部から入力されたとき、その書き込み情報SPを復号手段30に送るように切り換える切り換え手段40と、を有し、復号手段30は、入力された暗号化認証キーSK1を復号化アルゴリズムAに従い復号化して復号認証キーK1を生成し、続いてその復号認証キーK1及び所定の復号キーK2で合成復号キーK3を生成し、この合成キー生成手順で得られた合成復号キーK3により復号化アルゴリズムAを用いて、入力された書き込み情報SPを復号化し、その復号化により得られた復号書き込み情報Pをメモリ20に出力して書き込むようにした、ことを特徴としている。 FIG. 2 is a principle block diagram of the second embodiment of the present invention. In the figure, a game control device 10 of the present invention is a device provided in each game machine for controlling the operation of the game machine based on the game program information Pr, and a memory 20 for storing the game program information Pr, The decryption means 30 having the decryption key K2 and the decryption algorithm A and performing decryption of information is switched so that when the write information SP to the memory 20 is input from outside, the write information SP is transmitted to the decryption means 30. Switching means 40, and the decryption means 30 decrypts the input encrypted authentication key SK1 in accordance with the decryption algorithm A to generate a decrypted authentication key K1, and then generates the decrypted authentication key K1 and a predetermined decryption key. A composite decryption key K3 is generated with the key K2, and the decryption algorithm A is used with the composite decryption key K3 obtained by the composite key generation procedure. Decoding the force has been written information SP, and the decoded write information P obtained by the decoding to write to output to the memory 20, it is characterized in that.

 この場合、上記第1の実施形態と同様に、メモリ20に予め遊技プログラム情報Prが書き込まれていれば、復号書き込み情報Pをその遊技プログラム情報Prに上書きする。また、メモリ20に何も書き込まれていなければ、新規に復号書き込み情報Pを書き込む。その後、遊技制御装置10は、この復号書き込み情報Pを遊技プログラム情報として取り扱い、この復号書き込み情報Pに基づいて遊技機の動作を制御する。 In this case, as in the first embodiment, if the game program information Pr has been written in the memory 20 in advance, the decrypted write information P is overwritten on the game program information Pr. If nothing is written in the memory 20, the decryption write information P is newly written. Thereafter, the game control device 10 treats the decrypted write information P as game program information, and controls the operation of the gaming machine based on the decrypted write information P.

 また、上記第1の実施形態の場合と同様に、この実施形態でも、メモリ20への書き込み情報SPが外部から入力されたときは、その書き込み情報SPは必ず復号手段30に送られ、その復号手段30において復号化された復号書き込み情報Pがメモリ20に書き込まれる。 Also, as in the case of the first embodiment, in this embodiment, when the write information SP to the memory 20 is externally input, the write information SP is always sent to the decryption means 30 and the decryption is performed. The decrypted write information P decrypted by the means 30 is written to the memory 20.

 ここで、暗号化認証キーSK1と書き込み情報SPとについて説明する。図に示すように、暗号化認証キーSK1は、暗号手段61において認証キーK1を暗号化アルゴリズムAを用いて暗号化して得たものであり、一方、書き込み情報SPは、暗号手段62において、認証キーK1及び暗号キーK2で合成暗号キーK3を生成し、この合成暗号キーK3により暗号化アルゴリズムAを用いて、所望の復号書き込み情報Pとしての元情報Pを暗号化して得たものである。 Here, the encryption authentication key SK1 and the write information SP will be described. As shown in the figure, the encrypted authentication key SK1 is obtained by encrypting the authentication key K1 using the encryption algorithm A in the encryption means 61, while the write information SP is transmitted to the authentication means 62 in the encryption means 62. A composite encryption key K3 is generated using the key K1 and the encryption key K2, and the original information P as the desired decryption write information P is obtained by encrypting the composite encryption key K3 using the encryption algorithm A.

 なお、この場合の認証キーK1と復号認証キーK1とは同一のキーK1であり、暗号化に用いるか復号化に用いるかという点のみが相違している。同様に、暗号キーK2と復号キーK2とは同一のキーK2であり、暗号化に用いるか復号化に用いるかという点のみが相違している。また、第1の実施形態の場合と同様に、暗号化アルゴリズムAと復号化アルゴリズムAとは同一のアルゴリズムAであり、暗号化に用いるか復号化に用いるかという点のみが相違している。 Note that the authentication key K1 and the decryption authentication key K1 in this case are the same key K1, and differ only in whether the key is used for encryption or decryption. Similarly, the encryption key K2 and the decryption key K2 are the same key K2, and differ only in that they are used for encryption or decryption. Further, as in the case of the first embodiment, the encryption algorithm A and the decryption algorithm A are the same algorithm A, and differ only in whether they are used for encryption or decryption.

 このように、この第2の実施形態における復号手段30は、外部からの暗号化認証キーSK1を復号化して生成した復号認証キーK1と、予め所有している復号キーK2とで合成復号キーK3を生成し、その合成復号キーK3により書き込み情報SPの復号化を行う。すなわち、書き込み情報SPを作成する段階での暗号化処理には、事前に復号認証キーK1と復号キーK2の双方を知っておく必要があり、したがって、第三者が事前に暗号化処理を行える可能性はより一層少なくなり、メモリ20に記憶してある遊技プログラム情報の改竄防止はより一層確実なものとなる。 As described above, the decryption means 30 in the second embodiment uses a decryption key K1 generated by decrypting the externally encrypted authentication key SK1 and a decryption key K2 previously possessed to generate a composite decryption key K3. Is generated, and the write information SP is decrypted using the composite decryption key K3. That is, in the encryption process at the stage of creating the write information SP, it is necessary to know both the decryption authentication key K1 and the decryption key K2 in advance, and therefore, a third party can perform the encryption process in advance. The possibility is further reduced, and the falsification of the game program information stored in the memory 20 is more reliably prevented.

 この遊技制御装置10は、第1の実施形態の場合と同様に、下記のような自己検証手段50を備え、復号手段30に記憶している復号キーK2及び復号化アルゴリズムAの認証を自分自身で行っている。すなわち、この自己検証手段50は、予め書き換え不能に記憶している暗号化認証キーSK1、自己検査情報SI及び自己検査基準情報I0のうち、暗号化認証キーSK1及び自己検査情報SIを復号手段30に出力するとともに、復号手段30において復号化された復号自己検査情報Iを自己検査基準情報I0と比較している。 As in the first embodiment, the game control device 10 includes a self-verification unit 50 as described below, and authenticates the decryption key K2 and the decryption algorithm A stored in the decryption unit 30 by itself. It is done in. That is, the self-verification unit 50 decodes the encrypted authentication key SK1 and the self-inspection information SI out of the encrypted authentication key SK1, the self-inspection information SI, and the self-inspection reference information I0 stored in advance in a non-rewritable manner. , And compares the decoded self-check information I decoded by the decoding means 30 with the self-check reference information I0.

 自己検査情報SIは、自己検査基準情報I0に対して、認証キーK1と暗号キーK2とを合成して生成した合成暗号キーK3により暗号化アルゴリズムAを用いて暗号化処理を施すことで生成した情報である。したがって、自己検査情報SIを逆に合成復号キーK3により復号化アルゴリズムAを用いて復号化すれば、その情報は自己検査基準情報I0に一致することとなる。 The self-inspection information SI is generated by subjecting the self-inspection reference information I0 to an encryption process using an encryption algorithm A with a combined encryption key K3 generated by combining the authentication key K1 and the encryption key K2. Information. Therefore, if the self-test information SI is decrypted using the decryption algorithm A with the combined decryption key K3, the information matches the self-test reference information I0.

 復号手段30は、自己検証手段50からの暗号化認証キーSK1を基にして上記の合成キー生成手順で合成復号キーK3を生成し、その合成復号キーK3を用いることで自己検査情報SIを復号化し、その復号自己検査情報SIを自己検証手段50に出力する。そして、自己検証手段50は、送られてきた復号自己検査情報Iと、予め記憶している自己検査基準情報I0とが一致するか否かの判別を行う。上記第1の実施形態の場合と同様に、復号自己検査情報Iと自己検査基準情報I0とは本来一致するようになっているが、双方が一致していなければ、復号手段30内の復号キーK2あるいは復号化アルゴリズムAが不正に改竄されているとして、その後の遊技機の動作を停止する等の不正対応処理を行う。 The decryption means 30 generates a composite decryption key K3 by the above-described composite key generation procedure based on the encrypted authentication key SK1 from the self-verification means 50, and decrypts the self-inspection information SI by using the composite decryption key K3. And outputs the decrypted self-inspection information SI to the self-verification means 50. Then, the self-verification means 50 determines whether or not the transmitted decrypted self-check information I matches the self-check reference information I0 stored in advance. As in the case of the first embodiment, the decryption self-check information I and the self-check reference information I0 originally match, but if they do not match, the decryption key in the decryption means 30 Assuming that the K2 or the decryption algorithm A has been tampered with, unauthorized processing such as stopping the operation of the subsequent gaming machine is performed.

 このように、自己検証手段50は、自己検査情報SIの他に暗号化認証キーSK1を復号手段30に出力するので、合成復号キーK3により復号化アルゴリズムAを用いて情報の復号化を行う復号手段30の構成に見合った自己検証を行うことができ、当該復号手段30内の改竄を確実に検出することができる。したがって、復号手段30のセキュリティを確実に確保することができ、遊技制御装置1に対して不正な行為を行うことを完全に防止することができる。 As described above, since the self-verifying unit 50 outputs the encrypted authentication key SK1 to the decoding unit 30 in addition to the self-inspection information SI, the self-verification unit 50 performs the decoding using the decoding algorithm A with the combined decoding key K3. Self-verification corresponding to the configuration of the means 30 can be performed, and tampering in the decoding means 30 can be reliably detected. Therefore, the security of the decryption means 30 can be reliably ensured, and it is possible to completely prevent an unauthorized act on the game control device 1.

 次に、上記第2の実施形態における具体的な構成例を図3を用いて説明する。なお、以下の説明では、遊技機メーカが認証認定機関からマスタファイルを受け取り、そのマスタファイルを遊技制御装置のROMに書き込む場合について説明する。 Next, a specific configuration example in the second embodiment will be described with reference to FIG. In the following description, a case will be described in which a gaming machine maker receives a master file from an authentication and certification organization and writes the master file in a ROM of the gaming control device.

 図3はこの発明の遊技制御装置の構成例を示す図である。図において、遊技制御装置100は、遊技機の動作を制御するシステムLSIとして構成され、CPU101、R/W(リードライト)選択回路106、ROM102、マスクROM109、切り換え回路104、復号回路103、及び自己検証回路105を有し、これらはアドレス及びデータのためのバス110に共通に接続してある。また、この遊技制御装置100の外部には、マスタファイル108を備えたROMライタ107が配置してあり、このROMライタ107は、R/W選択回路106を介してバス110に接続してある。 FIG. 3 is a diagram showing a configuration example of a game control device of the present invention. In the figure, a game control device 100 is configured as a system LSI for controlling the operation of a game machine, and includes a CPU 101, an R / W (read / write) selection circuit 106, a ROM 102, a mask ROM 109, a switching circuit 104, a decoding circuit 103, It has verification circuits 105, which are commonly connected to a bus 110 for addresses and data. A ROM writer 107 having a master file 108 is provided outside the game control device 100. The ROM writer 107 is connected to a bus 110 via an R / W selection circuit 106.

 マスタファイル108はフロッピィディスクやICメモリカード、PROM等の記憶媒体であり、このマスタファイル108には、認証認定機関が認証した正規の遊技プログラム情報P0、認証認定機関が遊技機メーカに発行する認証キーK1、この認証キーK1を暗号化した暗号化認証キーSK1、及び遊技制御装置100のROM102に書き込む書き込み情報SPを予め記憶してある。 The master file 108 is a storage medium such as a floppy disk, an IC memory card, or a PROM. The master file 108 includes regular game program information P0 certified by a certification / certification organization, and a certification issued by a certification / certification organization to a game machine maker. A key K1, an encrypted authentication key SK1 obtained by encrypting the authentication key K1, and write information SP to be written into the ROM 102 of the game control device 100 are stored in advance.

 上記の遊技プログラム情報P0は、遊技プログラムそのものと、それに関連して必要となる諸データを含むものとする。また、暗号化認証キーSK1は、DES(data encryption standard)等のデータ暗号化(復号化)のアルゴリズムAに従って認証キーK1を暗号化したものである。また、書き込み情報SPは、キー本体に相当する認証キーK1と、キーの溝形状に相当する暗号キーK2とを合成して形成した合成暗号キーK3により、アルゴリズムAを用いて正規の遊技プログラム情報P0を暗号化して得られたものである。 The game program information P0 includes the game program itself and various data necessary for the game program. The encryption authentication key SK1 is obtained by encrypting the authentication key K1 according to a data encryption (decryption) algorithm A such as DES (data encryption standard). In addition, the writing information SP is obtained by combining the authentication key K1 corresponding to the key body and the encryption key K2 corresponding to the groove shape of the key with a combined encryption key K3 formed by combining the authentication key K1 and the regular game program information using the algorithm A. This is obtained by encrypting P0.

 復号回路103には、予め書き換え不能に、またアクセスできない状態で、上記のアルゴリズムAと、暗号キーK2とを記憶してある。なお、復号回路103においては、認証キーK1は復号認証キーK1と、暗号キーK2は復号キーK2と、合成暗号キーK3は合成復号キーK3と、またアルゴリズムAは復号化アルゴリズムAとそれぞれ言い換えて使用することとする。 The algorithm A and the encryption key K2 are previously stored in the decryption circuit 103 in a non-rewritable and inaccessible state. In the decryption circuit 103, the authentication key K1 is a decryption authentication key K1, the encryption key K2 is a decryption key K2, the composite encryption key K3 is a composite decryption key K3, and the algorithm A is a decryption algorithm A. Shall be used.

 自己検証回路105には、予め書き換え不能に自己検査情報SI、暗号化認証キーSK1、及び自己基準情報I0を記憶してある。 (4) The self-verification circuit 105 previously stores the self-check information SI, the encrypted authentication key SK1, and the self-reference information I0 in a non-rewritable manner.

 さらに、マスクROM109には、予め書き換え不能に自己検証プログラムPDを記憶してある。 (4) Further, the self-verification program PD is stored in the mask ROM 109 in advance so that it cannot be rewritten.

 上記構成の遊技制御装置100において、ROM102への遊技プログラム情報の書き込みは、次のようにして行う。先ずマスタファイル108をROMライタ107に接続し、そのROMライタ107において、ROMモードと書き込みモードWとをオンにする。このとき、ROM102はR/W選択回路106からの信号に基づいて書き込み可能状態となる。また、マスタファイル108の暗号化認証キーSK1及び書き込み情報SPは、切り換え回路104に送られ、さらにその切り換え回路104の作用で復号回路103に送られる。 In the game control device 100 having the above configuration, the writing of the game program information to the ROM 102 is performed as follows. First, the master file 108 is connected to the ROM writer 107, and in the ROM writer 107, the ROM mode and the write mode W are turned on. At this time, the ROM 102 enters a writable state based on a signal from the R / W selection circuit 106. Further, the encrypted authentication key SK1 and the write information SP of the master file 108 are sent to the switching circuit 104, and further sent to the decryption circuit 103 by the operation of the switching circuit 104.

 復号回路103では、入力された暗号化認証キーSK1を復号化アルゴリズムAに従い復号化して復号認証キーK1を生成し、続いてその復号認証キーK1及び復号キーK2で合成復号キーK3を生成し、この合成復号キーK3により復号化アルゴリズムAを用いて、入力された書き込み情報SPを復号化し、その復号化により得られた復号書き込み情報PをROM102に出力する。 The decryption circuit 103 decrypts the input encrypted authentication key SK1 according to the decryption algorithm A to generate a decryption authentication key K1, and subsequently generates a composite decryption key K3 using the decryption authentication key K1 and the decryption key K2. The input write information SP is decrypted using the decryption algorithm A using the composite decryption key K3, and the decrypted write information P obtained by the decryption is output to the ROM 102.

 このときのROM102は、上記したように書き込み可能状態となっているので、ROM102には、その復号書き込み情報Pが書き込まれる。 (4) Since the ROM 102 at this time is in a writable state as described above, the decrypted write information P is written in the ROM 102.

 マスタファイル108の書き込み情報SPは、正規の遊技プログラム情報P0に、認証キーK1、暗号キーK2及びアルゴリズムAを用いて暗号化処理を施して生成したものであり、一方、復号書き込み情報Pは、認証キーK1、復号キーK2及びアルゴリズムAを用いて復号化処理を施したものであり、暗号化と復号化とを完全に対応させているため、復号書き込み情報Pは正規の遊技プログラム情報P0と同一のものとなる。 The write information SP of the master file 108 is generated by performing an encryption process on the regular game program information P0 using the authentication key K1, the encryption key K2, and the algorithm A, while the decryption write information P is Since the decryption processing is performed by using the authentication key K1, the decryption key K2 and the algorithm A, and the encryption and decryption are completely associated, the decryption write information P is the same as the regular game program information P0. It will be the same.

 書き込み情報SPが、例えば認証キーK1、暗号キー(復号キー)K2、あるいはアルゴリズムAのいずれか一つでも事前に知らない第三者により作成されたものであれば、その復号書き込み情報Pは正規の遊技プログラム情報P0とは一致しないものとなり、したがって、上記したように、遊技機を動作させても遊技機は暴走する結果となる。 If the write information SP is created by a third party who does not know in advance any one of the authentication key K1, the encryption key (decryption key) K2, or the algorithm A, the decryption write information P is a regular Does not match the game program information P0 of the game machine. Therefore, as described above, even if the game machine is operated, the game machine runs out of control.

 なお、この場合、復号書き込み情報PをROM102に書き込む前に、正規の遊技プログラム情報P0と比較し、一致するときのみ書き込むようにしてもよい。その場合は、ROMライタ107において、ROMモードと読み出しモードRとをオンにする。このとき、復号回路103で生成された復号書き込み情報P及び復号認証キーK1は、切り換え回路104経由でROMライタ107にフィードバックされ、そのROMライタ107において正規の遊技プログラム情報P0及びマスタファイルの認証キーK1との比較がそれぞれなされる。そして、復号書き込み情報Pと正規の遊技プログラム情報P0が一致し、かつ復号認証キーK1とマスタファイルの認証キーK1とが一致するときのみ、復号書き込み情報PのROM102への書き込みを行うようにする。このように、ROM102への書き込み前にその一致を確認することにより、不正の遊技プログラム情報の書き込みを未然に確実に防止することができる。 In this case, before writing the decryption write information P to the ROM 102, the decryption write information P may be compared with the regular game program information P0, and may be written only when they match. In that case, in the ROM writer 107, the ROM mode and the read mode R are turned on. At this time, the decryption write information P and the decryption authentication key K1 generated by the decryption circuit 103 are fed back to the ROM writer 107 via the switching circuit 104, and the ROM writer 107 uses the regular game program information P0 and the authentication key of the master file. Each comparison with K1 is made. Then, only when the decryption / write information P matches the regular game program information P0 and the decryption authentication key K1 matches the authentication key K1 of the master file, the decryption / write information P is written to the ROM 102. . In this way, by confirming the match before writing to the ROM 102, it is possible to reliably prevent unauthorized game program information from being written.

 また、上記構成の遊技制御装置100は、復号回路103に記憶している復号キーK2及び復号化アルゴリズムAの認証を自分自身で行っている。この自己検証は、CPU101がマスクROM109の自己検証プログラムPDに従って行うソフトウェアによる動作と、自己検証回路105が行う動作との協調作業で行うものであり、電源立ち上げ時に毎回行われる。 {Circle around (1)} The game control device 100 having the above configuration authenticates the decryption key K2 and the decryption algorithm A stored in the decryption circuit 103 by itself. This self-verification is performed by a cooperative operation of an operation by software performed by the CPU 101 in accordance with the self-verification program PD in the mask ROM 109 and an operation performed by the self-verification circuit 105, and is performed every time the power is turned on.

 すなわち、自己検証回路105は、CPU101からの指令に基づき、先ず暗号化認証キーSK1及び自己検査情報SIを復号回路103に出力する。次に、復号回路103は、その暗号化認証キーSK1を基にして上記した合成キー生成手順で合成復号キーK3を生成し、その合成復号キーK3及び復号化アルゴリズムAを用いることで、自己検証回路105からの自己検査情報SIを復号化し、その復号自己検査情報SIを自己検証回路105に出力する。自己検証回路105では、その復号自己検査情報Iと、予め記憶している自己検査基準情報I0とが一致しているか否かの判別を行い、一致していなければ、上記したように、復号キーK2あるいは復号化アルゴリズムAが不正に改竄されているとして、その後の遊技機の動作を停止する等の不正対応処理を行う。 That is, the self-verification circuit 105 first outputs the encrypted authentication key SK1 and the self-check information SI to the decryption circuit 103 based on a command from the CPU 101. Next, the decryption circuit 103 generates a composite decryption key K3 by the above-described composite key generation procedure based on the encrypted authentication key SK1, and uses the composite decryption key K3 and the decryption algorithm A to perform self-verification. The self-inspection information SI from the circuit 105 is decoded, and the decoded self-inspection information SI is output to the self-verification circuit 105. The self-verification circuit 105 determines whether or not the decrypted self-check information I matches the self-check reference information I0 stored in advance. Assuming that the K2 or the decryption algorithm A has been tampered with, unauthorized processing such as stopping the operation of the gaming machine thereafter is performed.

 以上述べたように、この発明では、内蔵している復号キーとアルゴリズムとを用いて書き込み情報を復号化するようにしたので、復号手段が有する復号キーを第三者に不明とする限り、第三者が書き込み情報を作成し入力しても、その復号書き込み情報は正しく復号化されず、正規の遊技プログラム情報とは成り得ない。したがって、外部から遊技プログラム情報を書き換えたとしても、遊技機を正常に動作させることはできず、その使用を阻止できるので、メモリに記憶してある遊技プログラム情報の改竄を確実に防止することができる。 As described above, in the present invention, the write information is decrypted by using the built-in decryption key and the algorithm. Even if the three parties create and input the write information, the decrypted write information is not correctly decrypted and cannot be legitimate game program information. Therefore, even if the game program information is rewritten from the outside, the gaming machine cannot be operated normally and its use can be prevented, so that the tampering of the game program information stored in the memory can be reliably prevented. it can.

 また、外部から不正に遊技プログラム情報を書き換えようとしても、遊技機は正常に動作せず暴走するようになるので、直ちにその不正を検出でき、またその不正な遊技プログラムでの遊技は成立しないので、遊技店に損失を与えるようなことも全く生じない。 Also, even if an attempt is made to illegally rewrite the game program information from the outside, the gaming machine will not operate properly and will run away, so that the illegality can be immediately detected and the game in the illegal game program will not be established. Also, there is no loss of the game store.

 また、メモリには遊技プログラム情報のみを書き込み、認証に必要な情報は書き込まないので、メモリを最大限有効に活用することができる。 Also, since only the game program information is written in the memory, and the information necessary for authentication is not written, the memory can be utilized as efficiently as possible.

 請求項3に記載の発明では、復号手段の内部を自己検証するようにしたので、たとえ第三者が復号手段の復号キーあるいは復号化アルゴリズムを改竄することで、復号手段での復号化を巧みに切り抜け、遊技プログラム情報を書き換えたとしても、自己検証でその復号手段内の改竄を確実に検出することができる。 According to the third aspect of the present invention, since the inside of the decryption means is self-verified, even if a third party falsifies the decryption key or the decryption algorithm of the decryption means, the decryption by the decryption means is skillfully performed. Even if the game program information is rewritten, the tampering in the decryption means can be reliably detected by self-verification.

 この自己検証による復号キー等の認証を行っておけば、メモリ内の遊技プログラム情報の書き換えを確実に完全に防止することができ、したがって、通常はこの自己検証を行うだけで遊技制御装置のセキュリティを充分に保つことができる。 If the authentication of the decryption key or the like by the self-verification is performed, the rewriting of the game program information in the memory can be completely prevented without fail. Can be kept sufficiently.

 しかも、この自己検証は、自己検査情報を復号化して比較するだけなので、処理するデータ量も少なく、短時間で完了させることができ、たとえ遊技機の立ち上げ時に毎回行ったとしても、スムーズに遊技機の通常の動作に移行させることができる。 In addition, since this self-verification only decrypts and compares the self-inspection information, the amount of data to be processed is small and can be completed in a short period of time. It is possible to shift to a normal operation of the gaming machine.

 またこの発明では、復号手段は、外部からの暗号化認証キーを復号化して生成した復号認証キーと、予め所有している復号キーとで合成復号キーを生成し、その合成復号キーにより書き込み情報の復号化を行うようにしたので、書き込み情報を作成する段階での暗号化処理には、事前に復号認証キーと復号キーと復号化アルゴリズムの三つを知っておく必要があり、したがって、第三者が事前に暗号化処理を行える可能性はより一層少なくなり、メモリに記憶してある遊技プログラム情報の改竄防止をより一層確実なものとすることができる。 Further, in the present invention, the decryption means generates a composite decryption key using a decryption authentication key generated by decrypting an externally-encrypted authentication key and a decryption key owned in advance, and writes the write information using the composite decryption key. Since decryption is performed, it is necessary to know in advance the decryption authentication key, the decryption key, and the decryption algorithm in the encryption process at the stage of creating the write information. The possibility that the three parties can perform the encryption process in advance is further reduced, and the falsification of the game program information stored in the memory can be more reliably prevented.

 さらに、自己検証手段は、自己検査情報の他に暗号化認証キーを復号手段に出力するので、合成復号キーにより復号化アルゴリズムを用いて情報の復号化を行う復号手段の構成に見合った自己検証を行うことができ、当該復号手段内の改竄を確実に検出することができる。したがって、復号手段のセキュリティを確実に確保することができ、遊技制御装置に対して不正な行為を行うことを完全に防止することができる。 Further, since the self-verification means outputs the encrypted authentication key to the decryption means in addition to the self-inspection information, the self-verification means conforms to the configuration of the decryption means for decrypting the information using the decryption algorithm with the combined decryption key. And tampering in the decryption means can be reliably detected. Therefore, the security of the decryption means can be reliably ensured, and it is possible to completely prevent an unauthorized act on the game control device.

この発明の遊技制御装置の原理ブロック図である。It is a principle block diagram of the game control device of this invention. この発明の第2の実施形態における原理ブロック図である。It is a principle block diagram in a 2nd embodiment of this invention. この発明の遊技制御装置の構成例を示す図である。It is a figure showing an example of composition of a game control device of the present invention.

符号の説明Explanation of reference numerals

  1  遊技制御装置
  2  メモリ
  3  復号手段
  4  切り換え手段
  5  自己検証手段
  6  暗号手段
 10  遊技制御装置
 20  メモリ
 30  復号手段
 40  切り換え手段
 50  自己検証手段
 61  暗号手段
 62  暗号手段
100  遊技制御装置
101  CPU
102  ROM
103  復号回路
104  切り換え回路
105  自己検証回路
106  R/W選択回路
107  ROMライタ
108  マスタファイル
109  マスクROM
  A  復号化アルゴリズム(暗号化アルゴリズム、アルゴリズム)
  I  復号自己検査情報
  I0 自己検査基準情報
  K  復号キー(暗号キー)
  K1 復号認証キー(認証キー)
  K2 復号キー(暗号キー)
  K3 合成復号キー(合成暗号キー)
  P  復号書き込み情報(元情報)
  Pr 遊技プログラム情報
  P0 正規の遊技プログラム情報
  SI 自己検査情報
  SK1 暗号化認証キー
  SP 書き込み情報
DESCRIPTION OF SYMBOLS 1 Game control device 2 Memory 3 Decoding means 4 Switching means 5 Self-verification means 6 Encryption means 10 Game control device 20 Memory 30 Decoding means 40 Switching means 50 Self-verification means 61 Encryption means 62 Encryption means 100 Game control device 101 CPU
102 ROM
103 Decoding circuit 104 Switching circuit 105 Self-verification circuit 106 R / W selection circuit 107 ROM writer 108 Master file 109 Mask ROM
A Decryption algorithm (encryption algorithm, algorithm)
I decryption self-check information I0 self-check reference information K decryption key (encryption key)
K1 decryption authentication key (authentication key)
K2 decryption key (encryption key)
K3 synthetic decryption key (synthetic encryption key)
P decryption write information (original information)
Pr game program information P0 legitimate game program information SI self-check information SK1 encryption authentication key SP write information

Claims (3)

 各遊技機に設けられその遊技機の動作を遊技プログラム情報に基づいて制御する遊技制御装置において、
 上記遊技プログラム情報を記憶するROMとしてのメモリと、
 非公開キーとして管理されている所定の復号キー及び所定の復号化アルゴリズムを予め書き換え不能にかつアクセス不能に有し情報の復号化を行う復号手段と、
 上記メモリへの書き込み情報が外部から入力されたとき、その書き込み情報を復号手段に送るように切り換える切り換え手段と、
 を有し、
 元情報の遊技プログラム情報を上記復号キー及び復号化アルゴリズムとそれぞれ同一の暗号キー及び暗号化アルゴリズムで暗号化して書き込み情報を生成し、この書き込み情報を当該遊技制御装置に書き込む際には、切り替え手段にROMライタを接続しその書き込み情報をROMライタから切り換え手段を介して入力し、
 上記復号手段は、上記切り換え手段からの書き込み情報を復号化して復号書き込み情報を生成し、その復号書き込み情報を遊技プログラム情報としてメモリに出力して書き込み、
 その後はROMライタを切り離して使用する、
 ことを特徴とする遊技制御装置。
In a game control device provided in each game machine and controlling the operation of the game machine based on game program information,
A memory as a ROM for storing the game program information,
Decryption means for decrypting information having a predetermined decryption key and a predetermined decryption algorithm managed as a private key in a non-rewriteable and inaccessible manner in advance,
Switching means for switching the write information to be sent to the decoding means when write information to the memory is externally input;
Has,
When the game program information of the original information is encrypted with the same encryption key and encryption algorithm as the above-mentioned decryption key and decryption algorithm to generate write information, and when writing the write information to the game control device, the switching means Connected to a ROM writer, and input the write information from the ROM writer through the switching means.
The decoding means decodes the writing information from the switching means to generate decoding writing information, and outputs the decoding writing information to a memory as game program information and writes the same.
After that, separate the ROM writer and use it.
A game control device characterized by the above-mentioned.
 上記復号手段が復号化し生成した復号書き込み情報を、正規の遊技プログラム情報と比較し、双方が一致するか否かを判別する一致判別手段を設け、
 上記復号書き込み情報と正規の遊技プログラム情報とが一致するとき、当該復号書き込み情報をメモリに書き込むようにした、
 ことを特徴とする請求項1に記載の遊技制御装置。
Decoding write information generated by decoding by the decoding means is compared with regular game program information, and match determination means for determining whether or not both match is provided.
When the decryption write information and the regular game program information match, the decryption write information is written to the memory,
The game control device according to claim 1, wherein:
各遊技機に設けられその遊技機の動作を遊技プログラム情報に基づいて制御する遊技制御装置において、
 上記遊技プログラム情報を記憶するROMとしてのメモリと、
 未公開キーとして管理されている所定の復号キー及び所定の復号化アルゴリズムを予め書き換え不能にかつアクセス不能に有し情報の復号化を行う復号手段と、
 上記メモリへの書き込み情報が外部から入力されたとき、その書き込み情報を復号手段に送るように切り換える切り換え手段と、
 を有し、
 元情報の遊技プログラム情報を、認証認定機関から発行された認証キーと上記復号キーと同一の暗号キーとで生成した合成暗号キー及び上記復号化アルゴリズムと同一の暗号化アルゴリズムで暗号化して書き込み情報を生成し、また認証キーをその暗号化アルゴリズムで暗号化して暗号化認証キーを生成し、この書き込み情報を当該遊技制御装置に書き込む際には、切り替え手段にROMライタを接続しその書き込み情報と暗号化認証キーとをROMライタから切り換え手段を介して入力し、
 上記復号手段は、入力された暗号化認証キーを上記復号化アルゴリズムに従い復号化して復号認証キーを生成し、続いてその復号認証キー及び上記所定の復号キーで合成復号キーを生成し、この合成キー生成手順で得られた合成復号キーにより上記復号化アルゴリズムを用いて、入力された書き込み情報を復号化し、その復号化により得られた復号書き込み情報をメモリに出力して書き込み、
 その後はROMライタを切り離して使用する、
 ことを特徴とする遊技制御装置。
In a game control device provided in each game machine and controlling the operation of the game machine based on game program information,
A memory as a ROM for storing the game program information,
A decryption means for decrypting information having a predetermined decryption key and a predetermined decryption algorithm which are managed as an undisclosed key in advance and non-rewriteable and inaccessible;
Switching means for switching the write information to be sent to the decoding means when write information to the memory is externally input;
Has,
The game program information of the original information is encrypted with a synthetic encryption key generated by using an authentication key issued by a certification authority and the same encryption key as the above-mentioned decryption key and the same encryption algorithm as the above-mentioned decryption algorithm, and the write information is written Is generated, and the authentication key is encrypted with the encryption algorithm to generate an encrypted authentication key. When writing this write information to the game control device, a ROM writer is connected to the switching means, and the write information and Input the encrypted authentication key from the ROM writer through the switching means,
The decryption means decrypts the input encrypted authentication key according to the decryption algorithm to generate a decryption authentication key, and then generates a composite decryption key using the decryption authentication key and the predetermined decryption key. Using the above-described decryption algorithm with the composite decryption key obtained in the key generation procedure, the input write information is decrypted, and the decrypted write information obtained by the decryption is output to the memory for writing.
After that, separate the ROM writer and use it.
A game control device characterized by the above-mentioned.
JP2003332735A 2003-09-25 2003-09-25 Game controller Pending JP2004103027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003332735A JP2004103027A (en) 2003-09-25 2003-09-25 Game controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003332735A JP2004103027A (en) 2003-09-25 2003-09-25 Game controller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP10165444A Division JP2000000369A (en) 1998-06-12 1998-06-12 Game controller

Publications (1)

Publication Number Publication Date
JP2004103027A true JP2004103027A (en) 2004-04-02

Family

ID=32290772

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003332735A Pending JP2004103027A (en) 2003-09-25 2003-09-25 Game controller

Country Status (1)

Country Link
JP (1) JP2004103027A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327187A (en) * 2004-05-17 2005-11-24 Matsushita Electric Ind Co Ltd Program execution controller and program execution control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005327187A (en) * 2004-05-17 2005-11-24 Matsushita Electric Ind Co Ltd Program execution controller and program execution control method
WO2005114353A1 (en) * 2004-05-17 2005-12-01 Matsushita Electric Industrial Co., Ltd. Program execution control device and program execution control method
JP4583808B2 (en) * 2004-05-17 2010-11-17 パナソニック株式会社 Program execution control device and program execution control method
US8127351B2 (en) 2004-05-17 2012-02-28 Panasonic Corporation Program execution control apparatus and program execution control method

Similar Documents

Publication Publication Date Title
JP4099039B2 (en) Program update method
US7461268B2 (en) E-fuses for storing security version data
KR101885393B1 (en) Device for and method of handling sensitive data
JP3881942B2 (en) Semiconductor device having encryption unit
US8171275B2 (en) ROM BIOS based trusted encrypted operating system
CA2618544C (en) Rom bios based trusted encrypted operating system
JP2002507307A (en) Apparatus and method for loading a program into a processor
US20080254850A1 (en) Trusted Computing in a Wagering Game Machine
JP2009070397A (en) Method and system for using tamperproof hardware to provide copy protection and online security
TWI526866B (en) Code protection using online authentication and encrypted code execution
JP2006295872A (en) Formation method of device-dependent key, confidential information lsi equipped with secret information function using the method, host equipment using the lsi, record medium with authentication function used for the host equipment, and mobile terminal with recording medium equipped with authentication function
JPWO2010116618A1 (en) Key implementation system
JP2007141044A (en) Information processor and program execution control method
JP2000076063A (en) System and device for certification and recording medium
JP2004054834A (en) Program development method, program development support device, and program packaging method
JP2008148851A (en) Control chip for game machine and rom writer for the same
JP2000233057A (en) Monitoring system for chip for controlling game machine
KR20180007717A (en) Soc having double security features, and double security method for soc
JPH1040095A (en) Security chip including program execution memory
WO2023240866A1 (en) Cipher card and root key protection method therefor, and computer readable storage medium
JP6137808B2 (en) Gaming machine control board, chip, and related method
JP2004103027A (en) Game controller
JP2000000369A (en) Game controller
EP2393029A1 (en) Method for activating at least a function on a chipset and chipset for the implementation of the method
CN106611108B (en) Optical disk copyright protection method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060829

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061030

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070717

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20071120