JP2000000369A - Game controller - Google Patents

Game controller

Info

Publication number
JP2000000369A
JP2000000369A JP10165444A JP16544498A JP2000000369A JP 2000000369 A JP2000000369 A JP 2000000369A JP 10165444 A JP10165444 A JP 10165444A JP 16544498 A JP16544498 A JP 16544498A JP 2000000369 A JP2000000369 A JP 2000000369A
Authority
JP
Japan
Prior art keywords
information
decryption
self
key
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
JP10165444A
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 JP10165444A priority Critical patent/JP2000000369A/en
Publication of JP2000000369A publication Critical patent/JP2000000369A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To surely prevent the alteration of a game program. SOLUTION: A game controller 1 as a device for controlling the operation of a game machine based on game program information Pr is provided with a memory 2 for storing the game program information Pr, a decoding means 3 having a specified decoding key and a decoding algorithm A for decoding information and a switching means 4 for switching write information SP to be sent to the decoding means 3 when the write information SP into the memory 2 is inputted from the outside, the decoding means 3 decodes the write information SP from the switching means 4 to generate decoded write information P, and the decoded write information P is outputted to the memory 2 and written.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、各遊技機に設け
られその遊技機の動作を遊技プログラム情報に基づいて
制御する遊技制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention 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.

【0002】[0002]

【従来の技術】近年、パチンコ機などの遊技機は、電子
化が広範に進められて、コンピュータ制御されるように
なっており、その遊技内容も、「大当たり」を組み込む
などして、多様化し、遊技としての興趣性も増してい
る。そして、その遊技内容は、不揮発性のメモリである
ROMに記億した遊技プログラムに従うものとなってい
る。
2. Description of the Related Art 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". Interest in games is also increasing. The game content is in accordance with a game program stored in a ROM, which is a nonvolatile memory.

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

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

【0005】そして、このような、改竄した遊技プログ
ラムの書き込みを防止するために、例えば下記のような
遊技プログラム検証を行うようにしている。すなわち、
正規の遊技プログラムに所定の関数で演算処理を施した
結果を認証データとして予めメモリに記憶しておき、遊
技機の立ち上げ時毎に、ROMの遊技プログラムに同じ
関数での演算処理を施し、その演算結果が予め記憶して
いる認証データと一致するか否かの判別を行い、双方が
一致しなければ、遊技プログラムが改竄されているとし
て、所定の不正対応処理を行うようにしている。
[0005] 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 with 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 a game program in a ROM, It is determined whether or not the calculation result matches the authentication data stored in advance, and if they do not match, it is determined that the game program has been tampered with and a predetermined fraud handling process is performed.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記従来の遊
技プログラム検証方法では、機器の動作に関係のないデ
ータ量の大きい認証データがメモリに付与されることと
なるので、メモリの利用範囲が狭められるだけでなく、
認証データ自体は意味のないデータでもあるため、デバ
ックや逆アセンブル等の検査では却って邪魔になる。
However, in the above-described 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 that the use range of the memory is narrowed. Not only
Since the authentication data itself is meaningless data, it becomes a hindrance to inspections such as debugging and disassembling.

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

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

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

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

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明は、各遊技機に設けられその
遊技機の動作を遊技プログラム情報に基づいて制御する
遊技制御装置において、上記遊技プログラム情報を記憶
するメモリと、所定の復号キー及び復号化アルゴリズム
を有し情報の復号化を行う復号手段と、上記メモリへの
書き込み情報が外部から入力されたとき、その書き込み
情報を復号手段に送るように切り換える切り換え手段
と、を有し、上記復号手段は、上記切り換え手段からの
書き込み情報を復号化して復号書き込み情報を生成し、
その復号書き込み情報をメモリに出力して書き込むよう
にした、ことを特徴としている。
According to an 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 game program information. A memory for storing the game program information, a decryption means having a predetermined decryption key and a decryption algorithm for decrypting information, and, when write information to the memory is externally input, the write information Switching means for switching to send to the decoding means, wherein the decoding means decodes the write information from the switching means to generate decoded write information,
The decrypted write information is output to a memory and written.

【0012】また、請求項3に記載の発明は、上記した
請求項1に記載の発明の構成に加えて、予め書き換え不
能に記憶している自己検査情報及び自己検査基準情報の
うち、自己検査情報を上記復号手段に出力するととも
に、上記復号手段において復号化された復号自己検査情
報を受け取り、その復号自己検査情報を自己検査基準情
報と比較し、双方が一致するか否かを判別する自己検証
手段、を備えていることを特徴としている。
According to a third aspect of the present invention, in addition to the configuration of the first aspect of the present invention, the self-inspection information and the self-inspection reference information stored in advance in a non-rewritable manner. Output the information to the decoding means, receive the decoded self-inspection information decoded by the decoding means, compare the decoded self-inspection information with self-inspection reference information, and determine whether or not both match. Verification means.

【0013】また、請求項5に記載の発明は、各遊技機
に設けられその遊技機の動作を遊技プログラム情報に基
づいて制御する遊技制御装置において、上記遊技プログ
ラム情報を記憶するメモリと、所定の復号キー及び復号
化アルゴリズムを有し情報の復号化を行う復号手段と、
上記メモリへの書き込み情報が外部から入力されたと
き、その書き込み情報を復号手段に送るように切り換え
る切り換え手段と、を有し、上記復号手段は、入力され
た暗号化認証キーを上記復号化アルゴリズムに従い復号
化して復号認証キーを生成し、続いてその復号認証キー
及び上記所定の復号キーで合成復号キーを生成し、この
合成キー生成手順で得られた合成復号キーにより上記復
号化アルゴリズムを用いて、入力された書き込み情報を
復号化し、その復号化により得られた復号書き込み情報
をメモリに出力して書き込むようにした、ことを特徴と
している。
According to a fifth aspect of the present invention, in 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 for storing the game program information, Decryption means for decrypting information having a decryption key and a decryption algorithm of
Switching means for switching the write information to be sent to the decryption means when the write information to the memory is externally input, wherein the decryption means converts the input encrypted authentication key to the decryption algorithm. To generate a decryption authentication key, generate a composite decryption key using the decryption authentication key and the predetermined decryption key, and use the decryption algorithm with the composite decryption key obtained in the composite key generation procedure. Thus, the input write information is decoded, and the decoded write information obtained by the decoding is output to a memory and written.

【0014】さらに、請求項6に記載の発明は、請求項
5に記載の発明の構成に加えて、予め書き換え不能に記
憶している暗号化認証キー、自己検査情報及び自己検査
基準情報のうち、暗号化認証キー及び自己検査情報を上
記復号手段に出力するとともに、上記復号手段において
その暗号化認証キーを基にして上記合成キー生成手順で
得た合成復号キーを用いることで自己検査情報を復号化
したその復号自己検査情報を当該復号手段から受け取
り、復号自己検査情報を自己検査基準情報と比較し、双
方が一致するか否かを判別する自己検証手段、を備えて
いることを特徴としている。
According to a sixth aspect of the present invention, in addition to the configuration of the fifth aspect of the present invention, the encrypted authentication key, the self-inspection information, and the self-inspection reference information stored in a non-rewritable manner in advance. Outputting the encrypted authentication key and the self-inspection information to the decryption means, and using the composite decryption key obtained in the composite key generation procedure on the basis of the encrypted authentication key in the decryption means. Self-verification means for receiving the decrypted self-inspection information from the decoding means, comparing the decrypted self-inspection information with self-inspection reference information, and determining whether or not both coincide with each other. I have.

【0015】[0015]

【発明の実施の形態】以下にこの発明の実施の形態を図
面に基づいて詳細に説明する。図1はこの発明の遊技制
御装置の原理ブロック図である。図において、この発明
の遊技制御装置1は、各遊技機に設けられその遊技機の
動作を遊技プログラム情報Prに基づいて制御する装置
であり、遊技プログラム情報Prを記憶するメモリ2
と、所定の復号キーK及び復号化アルゴリズムAを有し
情報の復号化を行う復号手段3と、メモリ2への書き込
み情報SPが外部から入力されたとき、その書き込み情
報SPを復号手段3に送るように切り換える切り換え手
段4と、を有し、復号手段3は、切り換え手段4からの
書き込み情報SPを復号化して復号書き込み情報Pを生
成し、その復号書き込み情報Pをメモリ2に出力して書
き込むようにした、ことを特徴としている。
Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 1 is a principle block diagram of a 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 the game program information Pr, and a memory 2 for storing the game program information Pr.
A decryption means 3 having a predetermined decryption key K and a decryption algorithm A for decrypting information; and, when write information SP to the memory 2 is inputted from outside, the write information SP is transmitted to the decryption means 3. And switching means 4 for switching to send the data. 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. It is characterized by writing.

【0016】この場合、メモリ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 to 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.

【0017】上記のように、この実施形態では、メモリ
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 decoding means 3, and the decoded write information P decoded by the decoding means 3 is written to the memory 2.

【0018】ここで、書き込み情報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. It can be obtained by encrypting at 6.
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.

【0019】なお、この場合の暗号キーKと復号キーK
とは同一のキーKであり、暗号化に用いるか復号化に用
いるかという点のみが相違している。同様に、暗号化ア
ルゴリズムAと復号化アルゴリズムAとは同一のアルゴ
リズムAであり、暗号化に用いるか復号化に用いるかと
いう点のみが相違している。
In this case, the encryption key K and the decryption key K
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.

【0020】上記暗号手段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 the decryption key K of the decryption means 3 and the algorithm A in advance, but the decryption key K is managed as a private key. The third party cannot know the decryption key K as long as it is. 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.

【0021】このように、遊技制御装置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. In addition, tampering of the game program information stored in the memory 2 can be reliably prevented.

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

【0023】さらに、メモリには遊技プログラム情報の
みを書き込み、認証に必要な情報は書き込まないので、
メモリを最大限有効に活用することができる。
Further, since only the game program information is written in the memory and the information necessary for authentication is not written,
It is possible to make the best use of the memory.

【0024】なお、上記の説明では、復号書き込み情報
Pをそのままメモリ2に書き込むようにしたが、復号書
き込み情報Pをメモリ2に書き込む前に、正規の遊技プ
ログラム情報と比較し、一致するときのみ書き込むよう
にしてもよい。この場合、正規の遊技プログラム情報は
例えば外部記憶装置に予め記憶させておく。このよう
に、メモリ2への書き込み前にその一致を確認すること
により、不正の遊技プログラム情報の書き込みを未然に
確実に防止することができる。
In the above description, the decrypted write information P is written to the memory 2 as it is. However, before the decrypted write information P is written to the memory 2, the decrypted write information P is compared with regular game program information, and only when there is a match. You may write it. 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.

【0025】この遊技制御装置1は、下記のような自己
検証手段5を備え、復号手段3に記憶している復号キー
K及び復号化アルゴリズムAの認証を自分自身で行って
いる。すなわち、この自己検証手段5は、予め書き換え
不能に記憶している自己検査情報SI及び自己検査基準
情報I0のうち、自己検査情報SIを復号手段3に出力
する。
The game control device 1 includes the following self-verifying 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-verifying means 5 outputs the self-test information SI to the decoding means 3 among the self-test information SI and the self-test reference information I0 stored in advance in a non-rewritable manner.

【0026】なお、自己検査情報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. Accordingly, if the self-test information SI is decrypted using the decryption algorithm A with the decryption key K, the information coincides with the self-test reference information I0.

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

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

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

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

【0031】図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 block diagram showing the principle 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 to control the operation of the game machine based on the game program information Pr, and a memory 20 for storing the game program information Pr;
A decryption unit 30 having a predetermined decryption key K2 and a decryption algorithm A for decrypting information, and a configuration in which when the write information SP to the memory 20 is externally input, the write information SP is transmitted to the decryption unit 30. 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, decrypts the decrypted authentication key K1 A decryption key K3 is generated using the decryption key K2, and the input write information SP is decrypted using the decryption algorithm A using the composite decryption key K3 obtained in the composite key generation procedure. The decrypted write information P is output to the memory 20 and written therein.

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

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

【0034】ここで、暗号化認証キー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 encrypted by using the encryption algorithm A, while the write information SP is transmitted from the encryption unit 62 to the composite encryption key K3 using the authentication key K1 and the encryption key K2.
Is generated by encrypting the original information P as the desired decryption write information P using the encryption algorithm A with the synthetic encryption key K3.

【0035】なお、この場合の認証キーK1と復号認証
キーK1とは同一のキーK1であり、暗号化に用いるか
復号化に用いるかという点のみが相違している。同様
に、暗号キーK2と復号キーK2とは同一のキーK2で
あり、暗号化に用いるか復号化に用いるかという点のみ
が相違している。また、第1の実施形態の場合と同様
に、暗号化アルゴリズムAと復号化アルゴリズムAとは
同一のアルゴリズムAであり、暗号化に用いるか復号化
に用いるかという点のみが相違している。
In this case, the authentication key K1 and the decryption authentication key K1 are the same key K1, and the only difference is 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.

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

【0037】この遊技制御装置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 the following self-verification means 50, and authenticates the decryption key K2 and the decryption algorithm A stored in the decryption means 30. Going on your own. That is, the self-verification unit 50 is configured to use the encrypted authentication key SK1 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.
The self-inspection information SI is output to the decoding means 30, and the decoded self-inspection information I decoded by the decoding means 30 is compared with the self-inspection reference information I0.

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

【0039】復号手段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 based on the encrypted authentication key SK1 from the self-verification means 50 by the above-described composite key generation procedure, and generates the composite decryption key K3.
Is used to decode the self-inspection information SI and output the decoded self-inspection information SI to the self-verification unit 50. Then, the self-verifying 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
, But if they do not match, it is determined that the decryption key K2 or the decryption algorithm A in the decryption means 30 has been tampered with and the subsequent operation of the gaming machine is stopped. And perform an unauthorized response process.

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

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

【0042】図3はこの発明の遊技制御装置の構成例を
示す図である。図において、遊技制御装置100は、遊
技機の動作を制御するシステムLSIとして構成され、
CPU101、R/W(リードライト)選択回路10
6、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 that controls the operation of a game machine,
CPU 101, R / W (read / write) selection circuit 10
6, a ROM 102, a mask ROM 109, a switching circuit 104, a decoding circuit 103, and a self-verification circuit 105, which are commonly connected to a bus 110 for addresses and data. Further, a ROM writer 107 having a master file 108 is disposed outside the game control device 100.
It is connected to the bus 110 via the / W selection circuit 106.

【0043】マスタファイル108はフロッピィディス
クやICメモリカード、PROM等の記憶媒体であり、
このマスタファイル108には、認証認定機関が認証し
た正規の遊技プログラム情報P0、認証認定機関が遊技
機メーカに発行する認証キーK1、この認証キーK1を
暗号化した暗号化認証キーSK1、及び遊技制御装置1
00の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 the regular game program information P0 authenticated by the certification authority, an authentication key K1 issued to the game machine maker by the certification authority, an encrypted authentication key SK1 obtained by encrypting the authentication key K1, and a game. Control device 1
The write information SP to be written in the ROM 102 is stored in advance.

【0044】上記の遊技プログラム情報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 required in connection with the game program. Also, the encryption authentication key SK1 is
The authentication key K1 is encrypted according to an algorithm A of data encryption (decryption) such as DES (data encryption standard). The write information SP is composed of a combined encryption key K3 formed by combining an authentication key K1 corresponding to the key body and an encryption key K2 corresponding to the key groove shape.
Thus, the regular game program information P0 is obtained by encrypting using the algorithm A.

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

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

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

【0048】上記構成の遊技制御装置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,
Writing of the game program information to the ROM 102 is performed as follows. First, the master file 108 is stored in ROM
The ROM writer 107 is connected to the writer 107 and turns on the ROM mode and the write mode W.
At this time, the ROM 102 enters a writable state based on a signal from the R / W selection circuit 106. 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.

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

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

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

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

【0053】なお、この場合、復号書き込み情報PをR
OM102に書き込む前に、正規の遊技プログラム情報
P0と比較し、一致するときのみ書き込むようにしても
よい。その場合は、ROMライタ107において、RO
Mモードと読み出しモードRとをオンにする。このと
き、復号回路103で生成された復号書き込み情報P及
び復号認証キーK1は、切り換え回路104経由でRO
Mライタ107にフィードバックされ、そのROMライ
タ107において正規の遊技プログラム情報P0及びマ
スタファイルの認証キーK1との比較がそれぞれなされ
る。そして、復号書き込み情報Pと正規の遊技プログラ
ム情報P0が一致し、かつ復号認証キーK1とマスタフ
ァイルの認証キーK1とが一致するときのみ、復号書き
込み情報PのROM102への書き込みを行うようにす
る。このように、ROM102への書き込み前にその一
致を確認することにより、不正の遊技プログラム情報の
書き込みを未然に確実に防止することができる。
In this case, the decryption write information P is
Before writing to the OM 102, it may be compared with the regular game program information P0 and written only when they match. In that case, the ROM writer 107
The M 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 transmitted to the RO
The information is fed back to the M writer 107, and the ROM writer 107 compares the regular game program information P0 with the authentication key K1 of the master file. Then, only when the decrypted 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.

【0054】また、上記構成の遊技制御装置100は、
復号回路103に記憶している復号キーK2及び復号化
アルゴリズムAの認証を自分自身で行っている。この自
己検証は、CPU101がマスクROM109の自己検
証プログラムPDに従って行うソフトウェアによる動作
と、自己検証回路105が行う動作との協調作業で行う
ものであり、電源立ち上げ時に毎回行われる。
Also, the game control device 100 having the above-described configuration
Authentication of the decryption key K2 and the decryption algorithm A stored in the decryption circuit 103 is performed by itself. This self-verification is performed by a cooperative operation of an operation by software performed by the CPU 101 according to 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.

【0055】すなわち、自己検証回路105は、CPU
101からの指令に基づき、先ず暗号化認証キーSK1
及び自己検査情報SIを復号回路103に出力する。次
に、復号回路103は、その暗号化認証キーSK1を基
にして上記した合成キー生成手順で合成復号キーK3を
生成し、その合成復号キーK3及び復号化アルゴリズム
Aを用いることで、自己検証回路105からの自己検査
情報SIを復号化し、その復号自己検査情報SIを自己
検証回路105に出力する。自己検証回路105では、
その復号自己検査情報Iと、予め記憶している自己検査
基準情報I0とが一致しているか否かの判別を行い、一
致していなければ、上記したように、復号キーK2ある
いは復号化アルゴリズムAが不正に改竄されているとし
て、その後の遊技機の動作を停止する等の不正対応処理
を行う。
That is, the self-verification circuit 105 includes a CPU
Based on the command from 101, first, the encryption authentication key SK1
And outputs the self-test information SI to the decoding circuit 103. 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. In the self-verification circuit 105,
It is determined whether or not the decryption self-check information I matches the self-check reference information I0 stored in advance, and if they do not match, as described above, the decryption key K2 or the decryption algorithm A Is determined to have been tampered with, and unauthorized processing such as stopping the operation of the gaming machine thereafter is performed.

【0056】[0056]

【発明の効果】この発明は上記した構成からなるので、
以下に説明するような効果を奏することができる。請求
項1に記載の発明では、内蔵している復号キーとアルゴ
リズムとを用いて書き込み情報を復号化するようにした
ので、復号手段が有する復号キーを第三者に不明とする
限り、第三者が書き込み情報を作成し入力しても、その
復号書き込み情報は正しく復号化されず、正規の遊技プ
ログラム情報とは成り得ない。したがって、外部から遊
技プログラム情報を書き換えたとしても、遊技機を正常
に動作させることはできず、その使用を阻止できるの
で、メモリに記憶してある遊技プログラム情報の改竄を
確実に防止することができる。
Since the present invention has the above-described configuration,
The following effects can be obtained. According to the first aspect of the present invention, the write information is decrypted using the built-in decryption key and the algorithm. Therefore, as long as the decryption key of the decryption means is unknown 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 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.

【0057】また、外部から不正に遊技プログラム情報
を書き換えようとしても、遊技機は正常に動作せず暴走
するようになるので、直ちにその不正を検出でき、また
その不正な遊技プログラムでの遊技は成立しないので、
遊技店に損失を与えるようなことも全く生じない。
Further, even if an attempt is made to illegally rewrite the game program information from the outside, the game machine does not operate normally and runs out of control, so that the illegality can be immediately detected, and the game using the illegal game program cannot be performed. Since it does not hold,
There is no loss to the game store.

【0058】また、メモリには遊技プログラム情報のみ
を書き込み、認証に必要な情報は書き込まないので、メ
モリを最大限有効に活用することができる。
Further, 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 effectively as possible.

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

【0060】この自己検証による復号キー等の認証を行
っておけば、メモリ内の遊技プログラム情報の書き換え
を確実に完全に防止することができ、したがって、通常
はこの自己検証を行うだけで遊技制御装置のセキュリテ
ィを充分に保つことができる。
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. Therefore, the game control is normally performed only by performing the self-verification. The security of the device can be sufficiently maintained.

【0061】しかも、この自己検証は、自己検査情報を
復号化して比較するだけなので、処理するデータ量も少
なく、短時間で完了させることができ、たとえ遊技機の
立ち上げ時に毎回行ったとしても、スムーズに遊技機の
通常の動作に移行させることができる。
Moreover, since this self-verification is only performed by decoding the self-check information and comparing it, the amount of data to be processed is small and can be completed in a short time. Even if the self-verification is performed every time the gaming machine is started up, The game machine can be smoothly shifted to the normal operation.

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

【0063】さらに、請求項6に記載の発明では、自己
検証手段は、自己検査情報の他に暗号化認証キーを復号
手段に出力するので、合成復号キーにより復号化アルゴ
リズムを用いて情報の復号化を行う復号手段の構成に見
合った自己検証を行うことができ、当該復号手段内の改
竄を確実に検出することができる。したがって、復号手
段のセキュリティを確実に確保することができ、遊技制
御装置に対して不正な行為を行うことを完全に防止する
ことができる。
Further, in the invention according to claim 6, since the self-verifying means outputs the encrypted authentication key to the decoding means in addition to the self-inspection information, the self-verification means decodes the information using the decoding algorithm with the combined decoding key. It is possible to carry out self-verification corresponding to the configuration of the decryption means for performing the decryption, and to reliably detect tampering in the decryption means. 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.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の遊技制御装置の原理ブロック図であ
る。
FIG. 1 is a principle block diagram of a game control device of the present invention.

【図2】この発明の第2の実施形態における原理ブロッ
ク図である。
FIG. 2 is a principle block diagram according to a second embodiment of the present invention.

【図3】この発明の遊技制御装置の構成例を示す図であ
る。
FIG. 3 is a diagram showing a configuration example of a game control device of the present invention.

【符号の説明】[Explanation of symbols]

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 Decryption means 4 Switching means 5 Self-verification means 6 Encryption means 10 Game control device 20 Memory 30 Decryption means 40 Switching means 50 Self-verification means 61 Encryption means 62 Encryption means 100 Game control device 101 CPU 102 ROM 103 Decryption 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-inspection information I0 Self-inspection 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 Regular game program information SI Self-check Information SK1 Encryption authentication key SP Write information

───────────────────────────────────────────────────── フロントページの続き (72)発明者 大沢 健 東京都世田谷区代田二丁目7番10号 (72)発明者 佐々木 幸治 神奈川県横浜市戸塚区品濃町553−1 (72)発明者 守谷 岳雄 埼玉県所沢市若狭4−2524−5 Fターム(参考) 2C088 BC45 DA21 5B017 AA07 BA05 BA07 CA15  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Ken Osawa 2-7-10 Daida, Setagaya-ku, Tokyo (72) Inventor Koji Sasaki 553-1 Shinano-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture (72) Inventor Takeo Moriya 4-2524-5 Wakasa, Tokorozawa-shi, Saitama F-term (reference) 2C088 BC45 DA21 5B017 AA07 BA05 BA07 CA15

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 各遊技機に設けられその遊技機の動作を
遊技プログラム情報に基づいて制御する遊技制御装置に
おいて、 上記遊技プログラム情報を記憶するメモリと、 所定の復号キー及び復号化アルゴリズムを有し情報の復
号化を行う復号手段と、 上記メモリへの書き込み情報が外部から入力されたと
き、その書き込み情報を復号手段に送るように切り換え
る切り換え手段と、 を有し、 上記復号手段は、上記切り換え手段からの書き込み情報
を復号化して復号書き込み情報を生成し、その復号書き
込み情報をメモリに出力して書き込むようにした、 ことを特徴とする遊技制御装置。
1. A game control device provided in each game machine for controlling the operation of the game machine based on game program information, comprising: a memory for storing the game program information; a predetermined decryption key and a predetermined decryption algorithm. Decoding means for decoding the information, and switching means for switching the write information to be sent to the decoding means when the write information to the memory is externally input, the decoding means comprising: A game control device comprising: decoding write information from a switching means to generate decoded write information; and outputting the decoded write information to a memory for writing.
【請求項2】 上記復号手段が復号化し生成した復号書
き込み情報を、正規の遊技プログラム情報と比較し、双
方が一致するか否かを判別する一致判別手段を設け、 上記復号書き込み情報と正規の遊技プログラム情報とが
一致するとき、当該復号書き込み情報をメモリに書き込
むようにした、 ことを特徴とする請求項1に記載の遊技制御装置。
2. Decoding means for comparing decrypted and written information generated by decoding by the decrypting means with regular game program information and determining whether or not both match each other. The game control device according to claim 1, wherein when the game program information matches, the decrypted write information is written to a memory.
【請求項3】 予め書き換え不能に記憶している自己検
査情報及び自己検査基準情報のうち、自己検査情報を上
記復号手段に出力するとともに、上記復号手段において
復号化された復号自己検査情報を受け取り、その復号自
己検査情報を自己検査基準情報と比較し、双方が一致す
るか否かを判別する自己検証手段、 を備えていることを特徴とする請求項1に記載の遊技制
御装置。
3. The self-inspection information of the self-inspection information and the self-inspection reference information stored in advance in a non-rewritable manner is output to the decoding means, and the self-inspection information decoded by the decoding means is received. 2. The game control device according to claim 1, further comprising: self-verification means for comparing the decrypted self-test information with self-test reference information to determine whether or not the two match.
【請求項4】 上記自己検証手段は、上記復号自己検査
情報と自己検査基準情報とが一致しないとき、遊技機の
動作を停止させる、 ことを特徴とする請求項3に記載の遊技制御装置。
4. The game control device according to claim 3, wherein the self-verification means stops the operation of the gaming machine when the decrypted self-check information and the self-check reference information do not match.
【請求項5】 各遊技機に設けられその遊技機の動作を
遊技プログラム情報に基づいて制御する遊技制御装置に
おいて、 上記遊技プログラム情報を記憶するメモリと、 所定の復号キー及び復号化アルゴリズムを有し情報の復
号化を行う復号手段と、 上記メモリへの書き込み情報が外部から入力されたと
き、その書き込み情報を復号手段に送るように切り換え
る切り換え手段と、 を有し、 上記復号手段は、入力された暗号化認証キーを上記復号
化アルゴリズムに従い復号化して復号認証キーを生成
し、続いてその復号認証キー及び上記所定の復号キーで
合成復号キーを生成し、この合成キー生成手順で得られ
た合成復号キーにより上記復号化アルゴリズムを用い
て、入力された書き込み情報を復号化し、その復号化に
より得られた復号書き込み情報をメモリに出力して書き
込むようにした、 ことを特徴とする遊技制御装置。
5. A game control device provided in each game machine for controlling the operation of the game machine based on game program information, comprising: a memory for storing the game program information; a predetermined decryption key and a predetermined decryption algorithm. Decoding means for decoding the information, and switching means for switching the write information to be sent to the decoding means when the write information to the memory is input from outside, the decoding means comprising: The decrypted encryption authentication key is decrypted according to the decryption algorithm to generate a decryption authentication key, and then a decryption key is generated using the decryption authentication key and the predetermined decryption key. The input write information is decrypted using the decryption algorithm by the synthesized decryption key, and the decryption / write obtained by the decryption is performed. Information was written is output to the memory, the game control device, characterized in that.
【請求項6】 予め書き換え不能に記憶している暗号化
認証キー、自己検査情報及び自己検査基準情報のうち、
暗号化認証キー及び自己検査情報を上記復号手段に出力
するとともに、上記復号手段においてその暗号化認証キ
ーを基にして上記合成キー生成手順で得た合成復号キー
を用いることで自己検査情報を復号化したその復号自己
検査情報を当該復号手段から受け取り、復号自己検査情
報を自己検査基準情報と比較し、双方が一致するか否か
を判別する自己検証手段、 を備えていることを特徴とする請求項5に記載の遊技制
御装置。
6. An encrypted authentication key, self-inspection information and self-inspection reference information stored in advance in a non-rewritable manner.
The encrypted authentication key and the self-inspection information are output to the decryption means, and the decryption means decrypts the self-inspection information by using the composite decryption key obtained in the composite key generation procedure based on the encrypted authentication key. Self-verification means for receiving the decrypted self-inspection information from the decoding means, comparing the decrypted self-inspection information with the self-inspection reference information, and judging whether or not both coincide with each other. The game control device according to claim 5.
JP10165444A 1998-06-12 1998-06-12 Game controller Pending JP2000000369A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Child Applications (1)

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

Publications (1)

Publication Number Publication Date
JP2000000369A true JP2000000369A (en) 2000-01-07

Family

ID=15812558

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JP2000000369A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001224817A (en) * 2000-02-16 2001-08-21 Takasago Electric Ind Co Ltd Control data storage system and control device provided with the same
US8033986B2 (en) 2005-12-28 2011-10-11 Olympus Medical Systems Corp. Endoscope control device
JP2016064066A (en) * 2014-09-25 2016-04-28 株式会社ユニバーサルエンターテインメント Game machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001224817A (en) * 2000-02-16 2001-08-21 Takasago Electric Ind Co Ltd Control data storage system and control device provided with the same
US8033986B2 (en) 2005-12-28 2011-10-11 Olympus Medical Systems Corp. Endoscope control device
JP2016064066A (en) * 2014-09-25 2016-04-28 株式会社ユニバーサルエンターテインメント Game machine

Similar Documents

Publication Publication Date Title
JP4099039B2 (en) Program update method
USRE39368E1 (en) Electronic casino gaming system with improved play capacity, authentication and security
JP3774260B2 (en) Memory card security system device and memory card thereof
US6149522A (en) Method of authenticating game data sets in an electronic casino gaming system
KR101885393B1 (en) Device for and method of handling sensitive data
KR100670005B1 (en) Apparatus for verifying memory integrity remotely for mobile platform and system thereof and method for verifying integrity
US7461268B2 (en) E-fuses for storing security version data
JP2002507307A (en) Apparatus and method for loading a program into a processor
JP2000233057A (en) Monitoring system for chip for controlling game machine
USRE39369E1 (en) Electronic casino gaming system with improved play capacity, authentication and security
JP2010182070A (en) Apparatus, method and program for processing information
KR102324328B1 (en) security element
JP2008148851A (en) Control chip for game machine and rom writer for the same
JP2000076063A (en) System and device for certification and recording medium
JPH1040095A (en) Security chip including program execution memory
JPH1139156A (en) Enciphered data decoding device
JP2003076611A (en) Memory card having security function
JP2006268513A (en) Log-on management device for terminal device
JP2000000369A (en) Game controller
JP6137808B2 (en) Gaming machine control board, chip, and related method
JP2000029792A (en) Secret information storage device
JPH10108963A (en) Collation judgment information of game machine control substrate and enciphering communication system
JP2001195551A (en) Ic card reader and ic card system
JP2004103027A (en) Game controller
EP1441464A1 (en) Electronic casino gaming system with authentication and security

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040209

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040316

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20040409