JPH07325714A - Data security system - Google Patents

Data security system

Info

Publication number
JPH07325714A
JPH07325714A JP6120418A JP12041894A JPH07325714A JP H07325714 A JPH07325714 A JP H07325714A JP 6120418 A JP6120418 A JP 6120418A JP 12041894 A JP12041894 A JP 12041894A JP H07325714 A JPH07325714 A JP H07325714A
Authority
JP
Japan
Prior art keywords
data
game
rom
ram
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.)
Withdrawn
Application number
JP6120418A
Other languages
Japanese (ja)
Inventor
Atsushi Kitahara
篤 北原
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.)
Sega Corp
Original Assignee
Sega Enterprises 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 Sega Enterprises Ltd filed Critical Sega Enterprises Ltd
Priority to JP6120418A priority Critical patent/JPH07325714A/en
Publication of JPH07325714A publication Critical patent/JPH07325714A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To provide a data security system which can surely prevent such a case where the data are copied and improperly analyzed and executed by an unauthorized person and also enables an authorized person to easily carry out the data. CONSTITUTION:A game cartridge 2 contains a ROM IC, a security IC 6 and a back-up battery 7, and a game program is stored in a ROM 5a of the ROM IC. Such data that can not carry out the game program by itself is prepared, and the game program is partly ciphered. A RAM 8 is included in the IC 6 and stores the supplemental data 11b. A synthesizing part 9 synthesizes together the game program and the data 11b, and a switch part 10 performs the connection/disconnection among the part 9, the ROM 5a and the RAM 8.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、例えばゲームのプログ
ラムを記録したROMの内容が、不当にコピーされ、解
析、実行されることを防止するデータセキュリティシス
テムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data security system for preventing, for example, the contents of a ROM recording a game program from being illegally copied, analyzed and executed.

【0002】[0002]

【従来の技術】初期の頃の単純なテレビゲーム機は、本
体内に固定されたメモリにゲームプログラムが記録さ
れ、このプログラムによって実現されるゲームだけを楽
しむことしかできなかった。しかし、近年では、ゲーム
プログラムを記録したROMを、ゲーム機本体に着脱自
在に設け、このROMを交換するだけで様々な異なった
ゲームを楽しむことができるテレビゲーム機が開発さ
れ、広く普及している。このようなROMは、ゲームカ
ートリッジのように専用の回路を小ケース内に封入した
カートリッジ型のもの、CD−ROMのように光学記憶
媒体を使用したものなどがあり、それぞれの利点を生か
した利用がなされている。
2. Description of the Related Art In the early days of simple video game machines, a game program was recorded in a memory fixed in the main body, and only a game realized by this program could be enjoyed. However, in recent years, a video game machine in which a ROM storing a game program is detachably provided in the game machine body and various kinds of games can be enjoyed just by exchanging the ROM has been developed and widely spread. There is. Such ROMs include a cartridge type in which a dedicated circuit is enclosed in a small case such as a game cartridge, and a type using an optical storage medium such as a CD-ROM. Utilizing the respective advantages. Has been done.

【0003】そして、特に人気のあるゲームプログラム
を記録したゲームカートリッジやCD−ROMは、商品
の供給が需要に対応できず、高額で取り引きされること
が多い。このため、ROMの内容が違法にコピーされ、
市場に出回るケースが後を絶たない。また、ゲームセン
ターにおけるアーケードゲーム機の場合には、ゲームプ
ログラムを記録したROMとして、基板上の回路によっ
て構成したROMボードが用いられている。このような
ROMボードも、本体に着脱自在に設けられているの
で、内容が違法にコピーされ、業務用として盗用される
可能性が高い。
Game cartridges and CD-ROMs that record particularly popular game programs cannot often meet the demand for products, and are often traded at a high price. Therefore, the contents of the ROM are copied illegally,
There are a lot of cases in the market. Further, in the case of an arcade game machine at a game center, a ROM board constituted by a circuit on a board is used as a ROM for recording a game program. Since such a ROM board is also provided detachably on the main body, there is a high possibility that the contents will be illegally copied and stolen for business use.

【0004】これに対処するため、通常のゲーム機のシ
ステムには、不当な解析や実行を制限する工夫が施さ
れ、不当にコピーされたROM内のゲームプログラムの
実行を制限するデータセキュリティシステムが設けられ
ている。
In order to deal with this, a system for a normal game machine is provided with a device for restricting illegal analysis and execution, and a data security system for restricting execution of a game program in an illegally copied ROM. It is provided.

【0005】このようなデータセキュリティシステムの
一例として、ゲーム機およびゲームカートリッジにより
構成されるものを以下に説明する。まず、市販されるゲ
ームカートリッジは、以下のように構成されている。す
なわち、図7に示すように、ゲームカートリッジ12の
内部にゲーム用IC13が封入されていて、このゲーム
用IC13上に、ROM14およびRAM15が実現さ
れている。ROM14には、ゲームのメニューや開始画
面を記録した初期データを含むゲームプログラム全体が
記録されている。このROM14内のデータは、一度書
き込みがおこなわれたら再び書き込んだり消去したりで
きないようになっている。さらに、ROM14内のデー
タ全体は暗号化されている。暗号化の方法としては、所
定の乱数列等によってデータ配列を変える「スクランブ
ル」や、所定の変換方法によってデータの集約度を高め
る「圧縮」等がある。
As an example of such a data security system, a system composed of a game machine and a game cartridge will be described below. First, a commercially available game cartridge is configured as follows. That is, as shown in FIG. 7, a game IC 13 is enclosed in the game cartridge 12, and a ROM 14 and a RAM 15 are realized on the game IC 13. The ROM 14 stores the entire game program including initial data that records a game menu and a start screen. The data in the ROM 14 cannot be rewritten or erased once it has been written. Further, the entire data in the ROM 14 is encrypted. Examples of the encryption method include "scramble" in which the data array is changed by a predetermined random number sequence and the like, and "compression" in which the data intensity is increased by a predetermined conversion method.

【0006】また、RAM15はゲームをどの段階まで
おこなったかについてのデータを書き込んだり、プレイ
ヤーの名前に関するデータを書き込んだりすることがで
きる領域である。このRAM15には、バックアップ用
バッテリ16が接続されていて、このバックアップ用バ
ッテリ16によって前記のデータが保持される構成とな
っている。したがって、ゲームカートリッジが分解さ
れ、RAM15とバックアップ用バッテリ16との接続
が解除されると、RAM15内のデータは消える。
Further, the RAM 15 is an area in which it is possible to write data regarding to what stage the game has been played and data regarding the name of the player. A backup battery 16 is connected to the RAM 15, and the backup battery 16 holds the data. Therefore, when the game cartridge is disassembled and the connection between the RAM 15 and the backup battery 16 is released, the data in the RAM 15 disappears.

【0007】以上のようなゲームカートリッジ内のデー
タの中で、ROM14に書き込まれたデータは、ケース
を分解することによっても消去されないので、コピーさ
れる可能性がある。初期データは不当にコピーされ、使
用されても実害はないが、ゲームプログラムは、上記の
ように不当な実行を防止する必要がある。そこで、ゲー
ムカートリッジ12内には、前記ゲーム用ICとは別個
に特殊なセキュリティ用IC17が付加され、このセキ
ュリティ用IC17に所定の識別用コードが書きこまれ
ている。これに対応させて、市販のゲーム機にもセキュ
リティ識別用ICまたはソフトが搭載されていて、この
セキュリティ用ICにも識別用コードが書き込まれてい
る。そして、ゲームカートリッジ12側とゲーム機側の
識別用コードが同じものでなければ、ゲームを開始でき
ない構成となっている。
Among the data in the game cartridge as described above, the data written in the ROM 14 is not erased even by disassembling the case, and thus may be copied. Although the initial data is illegally copied and harmless if used, the game program needs to prevent the illegal execution as described above. Therefore, in the game cartridge 12, a special security IC 17 is added separately from the game IC, and a predetermined identification code is written in the security IC 17. Corresponding to this, a security identification IC or software is also installed in a commercially available game machine, and the identification code is also written in this security IC. The game cannot be started unless the identification codes on the game cartridge 12 side and the game machine side are the same.

【0008】以上のようなゲームカートリッジ12は、
市販のゲーム機に装着されることによって、ゲーム機の
CPUに接続される。そして、ゲームカートリッジ側と
ゲーム機側との識別用コードが同じものであるかどうか
が検証され、同じでなければゲームは実行されない。識
別用コードが一致すれば、CPUがROM14の初期デ
ータおよびゲームプログラムを読み込み、暗号化された
データの復合化がおこなわれてゲームが実行される。
The game cartridge 12 as described above is
By being attached to a commercially available game machine, it is connected to the CPU of the game machine. Then, it is verified whether the identification codes of the game cartridge side and the game machine side are the same, and if they are not the same, the game is not executed. If the identification codes match, the CPU reads the initial data of the ROM 14 and the game program, decrypts the encrypted data, and executes the game.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、上記の
ような従来のデータセキュリティシステムには、以下の
ような問題点があった。すなわち、ROM14内には、
ゲームプログラムとして実行するために必要なデータは
すべて記憶され、ケースの分解等をおこなっても消える
ことはない。そして、セキュリティIC17内の識別用
コードも、ケースの分解等をおこなっても消えることは
なく、永久に解析不能ということは有り得ない。このた
め、もし分解等により解析がなされれば、即ゲームを実
行することができることになる。したがって、市販のゲ
ームカートリッジ内のゲームプログラム22を、不当な
実行から完全に守ることが困難である。
However, the conventional data security system as described above has the following problems. That is, in the ROM 14,
All the data required to execute the game program is stored, and will not disappear even if the case is disassembled. The identification code in the security IC 17 does not disappear even if the case is disassembled, etc., and it is impossible that it cannot be analyzed forever. Therefore, if the analysis is performed by disassembling or the like, the game can be immediately executed. Therefore, it is difficult to completely protect the game program 22 in the commercially available game cartridge from improper execution.

【0010】さらに、ROM14のデータ全体を暗号化
しなければならないので、暗号化するデータ量が非常に
膨大になり、製造効率、コストの点で問題がある。ま
た、正当な権限を有するユーザーがゲームを実行する場
合に、データの復合化に時間がかかり、ゲーム開始まで
に要する時間が長くなるのでゲームの楽しみが害され
る。
Further, since the entire data in the ROM 14 must be encrypted, the amount of data to be encrypted becomes extremely large, which causes problems in manufacturing efficiency and cost. In addition, when a user who has a legitimate authority executes a game, it takes time to restore the data and the time required to start the game becomes long, so that the enjoyment of the game is impaired.

【0011】本発明は、上記のような問題点を解決する
ために提案されたもので、その目的は、正当な権限の無
い者によりデータがコピーされ、不当な実行、解析がお
こなわれることを確実に防止しつつ、正当な権限のある
者によるデータの実行が容易にできるデータセキュリテ
ィシステムを提供することである。
The present invention has been proposed in order to solve the above problems, and an object thereof is to copy data by an unauthorized person and to execute and analyze it unfairly. It is to provide a data security system capable of easily executing data by a person who has a legitimate authority while surely preventing it.

【0012】[0012]

【課題を解決するための手段】上記の目的を達成するた
めに、請求項1記載の発明は、単独では実行できないメ
インデータを記憶した第1の記憶手段と、前記メインデ
ータを補完する補完データを記憶した第2の記憶手段
と、前記メインデータを読み込んで実行するプログラム
実行手段と、前記メインデータと前記補完データとを演
算して前記プログラム実行手段により実行可能なデータ
を作成し、前記プログラム実行手段に送出する演算手段
と、前記プログラム実行手段の指令に基づいて、前記演
算手段による前記第1の記憶手段へのアクセスを許可す
るスイッチ部とを有することを特徴とする。
In order to achieve the above object, the invention according to claim 1 is the first storage means for storing main data which cannot be executed by itself, and complementary data for complementing the main data. And a second storage unit that stores the main data, a program execution unit that reads and executes the main data, a calculation of the main data and the complementary data to create data that can be executed by the program execution unit, and the program It is characterized in that it has an arithmetic means for sending to the execution means and a switch section for permitting the arithmetic means to access the first storage means based on a command from the program execution means.

【0013】請求項2記載の発明は、請求項1記載のデ
ータセキュリティシステムにおいて、前記第2の記憶手
段を、RAM上に構成したことを特徴とする。
According to a second aspect of the present invention, in the data security system according to the first aspect, the second storage means is constructed on a RAM.

【0014】請求項3記載の発明は、請求項2記載のデ
ータセキュリティシステムにおいて、前記スイッチ部
は、前記演算手段が前記メインデータと前記補完データ
とを演算して前記プログラム実行手段により実行可能な
データを作成し、前記プログラム実行手段に送出した後
に、前記演算手段による前記第1の記憶手段へのアクセ
スを解除する機能を有することを特徴とする。
According to a third aspect of the present invention, in the data security system according to the second aspect, the switch section can be executed by the program executing section after the calculating section calculates the main data and the complementary data. After the data is created and sent to the program executing means, it has a function of canceling the access to the first storage means by the computing means.

【0015】請求項4記載の発明は、請求項3記載のデ
ータセキュリティシステムにおいて、前記プログラム実
行手段をコンピュータを有するゲーム機とし、前記メイ
ンデータをゲーム用プログラムとし、前記第1の記憶手
段をROM上に構成し、前記RAMに、前記補完データ
を保持するためのバックアップ用バッテリを接続し、前
記ROM、前記RAMおよび前記バックアップ用バッテ
リをゲームカートリッジ内に封入し、前記ゲームカート
リッジを前記ゲーム機に着脱自在に設けたことを特徴と
する。
According to a fourth aspect of the present invention, in the data security system according to the third aspect, the program executing means is a game machine having a computer, the main data is a game program, and the first storage means is a ROM. With the above configuration, a backup battery for holding the complementary data is connected to the RAM, the ROM, the RAM, and the backup battery are enclosed in a game cartridge, and the game cartridge is installed in the game machine. It is characterized by being detachably installed.

【0016】[0016]

【作用】上記のような構成を有する本発明の作用は以下
の通りである。すなわち、請求項1記載の発明では、プ
ログラム実行手段の指令によりスイッチ部が作動し、デ
ータ演算手段が第1の記憶手段および第2の記憶手段に
アクセス可能となる。プログラム実行手段により、第1
の記憶手段およびメインデータ第2の記憶手段から補完
データを読み込まれ、実行可能なデータが作成される。
このように実行可能となったデータは、プログラム実行
手段に送出され、実行される。
The operation of the present invention having the above construction is as follows. That is, according to the first aspect of the invention, the switch section is operated by the command of the program executing means, and the data calculating means can access the first storing means and the second storing means. By the program executing means, the first
Complementary data is read from the storage means and the main data second storage means to create executable data.
The data made executable in this way is sent to the program executing means and executed.

【0017】請求項2記載の発明では、第2の記憶手段
はRAM上に実現されているので、補完データは電源と
の接続が解除されると消える。したがって、機械的解析
に対し強い防御となる。
According to the second aspect of the invention, since the second storage means is realized on the RAM, the complementary data disappears when the connection with the power supply is released. Therefore, it provides a strong defense against mechanical analysis.

【0018】請求項3記載の発明では、プログラム実行
手段の指令によって、スイッチ部がデータ演算手段のア
クセス機能を許可し、データ演算手段が作動した後、ス
イッチ部はアクセス機能を解除する。したがって、デー
タ演算手段によるアクセス機能は必要なときのみ作動す
るので、不当な実行を防止できる。
According to the third aspect of the present invention, the switch unit permits the access function of the data calculation unit according to a command from the program execution unit, and after the data calculation unit operates, the switch unit releases the access function. Therefore, since the access function by the data calculation means operates only when necessary, it is possible to prevent improper execution.

【0019】請求項4記載の発明では、ゲーム用のプロ
グラム、補完データ、データ演算手段はカートリッジ内
に封入され、ゲーム機に着脱自在に設けられている。し
たがって、正当な権限を有するユーザーは、従来のゲー
ムカートリッジと同様に取扱うことができる。このよう
なゲームカートリッジは広範に用いられると、正当な権
限の無いユーザーが、ゲームプログラムを不当に解析し
ようとしてカートリッジを分解する可能性がある。しか
し、ゲーム用のプログラムの実行に必要な補完データは
RAMに設けられ、バックアップ用バッテリによって保
持されているので、カートリッジを分解するとRAMと
バックアップ用バッテリとの接続が解除され補完データ
が消える。したがって、正当な権限の無いユーザーの不
当な解析、実行を防ぐことができる。
According to the fourth aspect of the invention, the game program, the complementary data, and the data calculation means are enclosed in a cartridge and are detachably provided in the game machine. Therefore, a user having the proper authority can handle the game cartridge in the same manner as the conventional game cartridge. When such a game cartridge is widely used, a user without proper authority may disassemble the cartridge in an attempt to illegally analyze the game program. However, since the complementary data necessary for executing the game program is provided in the RAM and is held by the backup battery, when the cartridge is disassembled, the connection between the RAM and the backup battery is released and the complementary data disappears. Therefore, it is possible to prevent the improper analysis and execution of the user who does not have the proper authority.

【0020】[0020]

【実施例】請求項1〜請求項4記載の本発明に対応する
一実施例を、図面にしたがって以下に説明する。なお、
請求項1記載の第1の記憶手段はROM、第2の記憶手
段はRAM、プログラム実行手段はゲーム機のコンピュ
ータ(CPU)、演算手段は合成部とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment corresponding to the present invention described in claims 1 to 4 will be described below with reference to the drawings. In addition,
The first storage means according to claim 1 is a ROM, the second storage means is a RAM, the program execution means is a computer (CPU) of a game machine, and the calculation means is a combining unit.

【0021】本実施例は、図1に示すように、ゲーム機
1のCPU1aおよびゲームカートリッジ2内に実現さ
れるものである。このゲーム機1のCPU1aは、I/
O制御回路1bを介してテレビ3およびコントローラ4
に接続されている。本実施例の各機能は、IC等の専用
の電子回路を、プログラムの形式で表現された所定の手
順で動作させることによって実現されている。以下、本
実施例の各機能を表現したブロック図を用いて説明す
る。
This embodiment is realized in the CPU 1a and the game cartridge 2 of the game machine 1, as shown in FIG. The CPU 1a of this game machine 1
The television 3 and the controller 4 via the O control circuit 1b
It is connected to the. Each function of this embodiment is realized by operating a dedicated electronic circuit such as an IC in a predetermined procedure expressed in the form of a program. Hereinafter, description will be given using a block diagram expressing each function of this embodiment.

【0022】(1)実施例の構成 本実施例の構成を以下に説明する。すなわち、図2に示
すように、ゲームカートリッジ2には、ROM用IC
5、セキュリティ用IC6およびバックアップ用バッテ
リ7が内蔵されている。ROM用IC5およびセキュリ
ティ用IC6は、ゲームカートリッジ2がゲーム機に装
着されると、ゲーム機1のCPU1aに接続される構成
となっている。また、セキュリティ用IC6は、バック
アップ用バッテリ7に接続されている。
(1) Configuration of Embodiment The configuration of this embodiment will be described below. That is, as shown in FIG. 2, the game cartridge 2 includes a ROM IC
5, a security IC 6 and a backup battery 7 are built in. The ROM IC 5 and the security IC 6 are configured to be connected to the CPU 1a of the game machine 1 when the game cartridge 2 is mounted on the game machine. The security IC 6 is connected to the backup battery 7.

【0023】ROM用IC5上の記憶領域であるROM
5aは、図3に示すように、アドレス番号を付された多
数のエリア5bに区分され、これらのエリア5bにはゲ
ームプログラムが格納されている。CPU1aがゲーム
プログラムを読み込む順番は、他のプログラムによって
あらかじめ決定されているアドレス番号順か、もしくは
アドレス番号の若い順となっている。最初に読み込むべ
きアドレス番号のエリア5bには、ゲームのメニューや
開始画面を記録した初期データが格納されている。そし
て、次に読み込むべきエリア5bには、RAM8の所定
のエリア8a(後述)への書き込み命令が格納されてい
る。次に読み込むべきエリア5bには、実際にゲーム進
行に必要なデータの一部(初めの部分)が格納されてい
る。この初めの部分は、単独では実行不可能なデータと
なっていて、スクランブル等の手法により暗号化されて
いる。さらに、その後に読み込むべきエリア5bには、
前記の初めの部分以降のゲーム進行に必要なデータが格
納されている。
ROM which is a storage area on the ROM IC 5
As shown in FIG. 3, 5a is divided into a number of areas 5b to which address numbers are assigned, and a game program is stored in these areas 5b. The order in which the CPU 1a reads the game programs is the order of the address numbers which are predetermined by other programs, or the order of the smallest address numbers. In the area 5b of the address number to be read first, initial data recording a game menu and a start screen is stored. Then, in the area 5b to be read next, a write command to a predetermined area 8a (described later) of the RAM 8 is stored. In the area 5b to be read next, a part (initial part) of data actually required for the progress of the game is stored. This first part is data that cannot be executed by itself, and is encrypted by a method such as scrambling. Furthermore, in the area 5b to be read after that,
The data necessary for the progress of the game after the first part is stored.

【0024】セキュリティ用IC6上には、図4に示す
ように、RAM8、合成部9およびスイッチ部10が構
成されている。RAM8は、図5に示すように、アドレ
ス番号を付された多数のエリア8aに区分され、これら
のエリア8aには通常のRAM15と同様の書き込み動
作をおこなうことが可能となっている。よって、ゲーム
をどの段階までおこなったかについてのデータや、プレ
イヤーの名前に関するデータ等のバックアップ用データ
11aを書き込んだりすることができる。RAM8のあ
るエリア8aには、あらかじめ補完データ11bが格納
されている。この補完データ11bは、上記のゲームプ
ログラムの中の単独では実行できないデータと合成され
ることにより、ゲームプログラムを実行可能なデータと
する機能を有している。補完データ11bは、単独で解
析されても意味の無いデータとなっている。
On the security IC 6, as shown in FIG. 4, a RAM 8, a synthesis section 9 and a switch section 10 are formed. As shown in FIG. 5, the RAM 8 is divided into a large number of areas 8a to which address numbers are assigned, and the same write operation as that of the normal RAM 15 can be performed in these areas 8a. Therefore, it is possible to write the backup data 11a such as the data up to which stage the game has been played and the data regarding the name of the player. Complementary data 11b is stored in advance in an area 8a having the RAM 8. The complementary data 11b has a function of making the game program executable by being combined with data that cannot be executed by itself in the game program. The complementary data 11b is meaningless even when analyzed alone.

【0025】合成部9はゲームプログラムにおける単独
では実行できないデータと、補完データ11bとを合成
する機能を有する。この合成部9による合成方法に関す
るデータである合成方法用データ11cは、RAM8の
あるエリア8aに格納されている。
The synthesizing unit 9 has a function of synthesizing the data that cannot be executed by itself in the game program and the complementary data 11b. The synthesizing method data 11c, which is data relating to the synthesizing method by the synthesizing unit 9, is stored in the area 8a in the RAM 8.

【0026】スイッチ部10は、CPU1aとROM5
aとの間の接続線に接続され、合成部9とROM5aと
の接続の開閉をおこなう機能を有する。スイッチ部10
がオフの場合には合成部9とROM5aとの接続は解除
され、オンの場合には合成部9とROM5aとが接続さ
れる。そして、このスイッチ部10は、ゲームカートリ
ッジ1をゲーム機に装着した直後はオフとなっていて、
CPU1aがROM5の書き込み命令にしたがって、あ
る特定のアドレス番号に書き込み動作をおこなう等のあ
る特定の動作をおこなうと、スイッチ部10がオンとな
るように設定されている。さらに、スイッチ部10は合
成部9において合成されたデータがCPU1aに送り出
された後に、オフとなるように設定されている。
The switch unit 10 includes a CPU 1a and a ROM 5
It has a function of being connected to the connecting line between the a and the connection line and opening and closing the connection between the synthesizing unit 9 and the ROM 5a. Switch part 10
When is off, the connection between the composition unit 9 and the ROM 5a is released, and when it is on, the composition unit 9 and the ROM 5a are connected. The switch unit 10 is off immediately after the game cartridge 1 is mounted on the game machine,
When the CPU 1a performs a specific operation such as a write operation to a specific address number according to the write command of the ROM 5, the switch unit 10 is set to be turned on. Further, the switch unit 10 is set to be turned off after the data combined by the combining unit 9 is sent to the CPU 1a.

【0027】以上のようなセキュリティ用IC6におい
て、RAM8のエリア8aに格納されたデータ(バック
アップ用データ11a、補完データ11b、合成方法用
データ11c等)は、バックアップ用バッテリ7によっ
て保持される構成となっている。
In the security IC 6 as described above, the data stored in the area 8a of the RAM 8 (backup data 11a, complementary data 11b, synthesizing method data 11c, etc.) is held by the backup battery 7. Has become.

【0028】(2)実施例の作用 以上のような構成を有する本実施例の作用を、処理手順
を示す図6のフローチャートにしたがって以下に説明す
る。まず、電源をONにして(ステップ601)、ゲー
ムカートリッジ2をゲーム機1に装着する(ステップ6
02)。このとき、セキュリティ用ICのスイッチ部1
0はオフの状態になっている。CPU1aによって、ゲ
ームのメニューや開始画面を記録した初期データが読み
込まれ、実行される(ステップ603)。したがって、
テレビ3の画面には、ゲームの初期画面が表示される。
次に、コントローラ4によってゲーム開始の入力をおこ
なうと、CPU1aはある特定の動作、例えば書き込み
命令をROM5から読み込み、この命令にしたがってR
AM8における所定のアドレス番号のエリア8aへ書き
込み動作をおこなう(ステップ604)。すると、スイ
ッチ部10がオンとなるので、合成部9がROM5aお
よびRAM8に接続される(ステップ605)。
(2) Operation of the Embodiment The operation of the present embodiment having the above-mentioned structure will be described below with reference to the flowchart of FIG. 6 showing the processing procedure. First, the power is turned on (step 601), and the game cartridge 2 is attached to the game machine 1 (step 6).
02). At this time, the switch unit 1 of the security IC
0 is in the off state. The CPU 1a reads and executes initial data in which a game menu and a start screen are recorded (step 603). Therefore,
The initial screen of the game is displayed on the screen of the television 3.
Next, when the game start is input by the controller 4, the CPU 1a reads a specific operation, for example, a write command from the ROM 5, and executes the R command in accordance with this command.
A write operation is performed in the area 8a having a predetermined address number in the AM 8 (step 604). Then, the switch unit 10 is turned on, so that the combining unit 9 is connected to the ROM 5a and the RAM 8 (step 605).

【0029】合成部9はゲームプログラムの中の単独で
は実行不可能なデータをROM5aより読み込み、RA
M8のエリア8aに格納された補完データ11bと合成
する(ステップ606)。この合成は、RAM8のエリ
ア8aに格納されている合成方法用データ11cに基づ
いておこなわれ、合成されたデータはCPU1aに送り
出されて(ステップ607)、スイッチ部11はオフと
なる(ステップ608)。送出された合成データは暗号
化された状態にあるので、CPU1aにおいて復合化が
おこなわれる(ステップ609)。
The synthesizing unit 9 reads data which cannot be executed by itself in the game program from the ROM 5a, and RA
It is combined with the complementary data 11b stored in the area 8a of M8 (step 606). This combining is performed based on the combining method data 11c stored in the area 8a of the RAM 8, the combined data is sent to the CPU 1a (step 607), and the switch unit 11 is turned off (step 608). . Since the transmitted combined data is in the encrypted state, the CPU 1a carries out the decoding (step 609).

【0030】次に、CPU1aからROM8へのアクセ
スにより、前記実行不可能なデータの後のゲームの実行
に必要なデータが読み込まれ(ステップ610)、ゲー
ムが実行される(ステップ611)。
Next, by accessing the ROM 8 from the CPU 1a, the data necessary for executing the game after the inexecutable data is read (step 610), and the game is executed (step 611).

【0031】ステップ604において、ROM5に書き
込み命令が格納されておらず、RAM8への書き込みが
おこなわれなかった場合には、スイッチ部11はオフの
ままなので、ゲームは実行されない。ステップ609で
暗号化されたデータの復合化ができなかった場合にもゲ
ームは実行されない。
In step 604, when the write command is not stored in the ROM 5 and the write in the RAM 8 is not performed, the switch unit 11 remains off, and the game is not executed. Even if the encrypted data cannot be decrypted in step 609, the game is not executed.

【0032】(3)実施例の効果 以上のような本実施例の効果は以下の通りである。すな
わち、ゲームカートリッジ1のROM5a内のデータ
は、分解等がなされても消えないデータであり、コピー
される可能性がある。しかし、たとえコピーされてもゲ
ームプログラムには、単独では意味をなさず実行不可能
なデータが含まれているので、不当な実行を防ぐことが
できる。また、スクランブル等の暗号化は、ゲームプロ
グラムの一部である実行不可能なデータだけにかけるだ
けで、秘密保持は十分に達成できる。したがって、ゲー
ムプログラム全体を暗号化する場合に比べて、製造効
率、コストの点で有利である。
(3) Effects of the Embodiment The effects of this embodiment as described above are as follows. That is, the data in the ROM 5a of the game cartridge 1 is data that is not erased even if it is disassembled, and may be copied. However, even if copied, the game program contains data that does not make sense and cannot be executed by itself, and thus it is possible to prevent improper execution. Further, encryption such as scramble can be sufficiently achieved by only applying to the inexecutable data which is a part of the game program. Therefore, as compared with the case where the entire game program is encrypted, it is advantageous in terms of manufacturing efficiency and cost.

【0033】実行不可能なデータを実行可能とする補完
データ11bおよび合成方法用データは、RAM8のエ
リア8aに格納されているので、バックアップ用バッテ
リ7によって保持される。したがって、分解等がなされ
てRAM8とバックアップ用バッテリ7との接続が解除
された場合には、上記データは消えるので、機械的、電
気的な解析に対して強い保護が期待できる。
Since the complementary data 11b and the synthesizing method data that make the unexecutable data executable are stored in the area 8a of the RAM 8, the backup battery 7 holds them. Therefore, when the connection between the RAM 8 and the backup battery 7 is released due to disassembly or the like, the above data disappears, and strong protection against mechanical and electrical analysis can be expected.

【0034】合成部9は、CPU1aによって特定の書
き込み動作等がなされたときに、合成部9がROM5a
へアクセス可能となり、合成部9が合成データをCPU
1aに送出した後にはアクセスができなくなる。このた
め、装着されたゲームカートリッジが正規のものでない
場合には、ROM5aに補完した後の全ての正しい命令
が格納されておらず、正常に動作することができないた
め、不当な実行を防止できる。また、書き込み命令等の
特定の命令は自由に変更できるので、解析がしにくくな
る。
When the CPU 1a performs a specific write operation or the like, the synthesizing unit 9 causes the synthesizing unit 9 to read the ROM 5a.
Access becomes possible, and the synthesizing unit 9 sends the synthesized data to the CPU.
After sending to 1a, access is no longer possible. For this reason, if the mounted game cartridge is not a legitimate one, all correct instructions after complementing are not stored in the ROM 5a, and normal operation cannot be performed, so that improper execution can be prevented. In addition, a specific command such as a write command can be freely changed, which makes it difficult to analyze.

【0035】ROM用IC5およびセキュリティ用IC
6は、ゲームカートリッジ1内に一体化されているの
で、従来と同様の製造、販売等をおこなうことができ、
ユーザー側も利用しやすい。
ROM IC 5 and security IC
Since 6 is integrated in the game cartridge 1, it can be manufactured and sold in the same manner as before.
It is also easy for users to use.

【0036】(4)その他の実施例 本発明は、以上のような実施例に限定されるものではな
く、各機能ブロックの接続、配置および設定等は適宜変
更可能である。例えば、ROM用IC5およびCPU1
aに、それぞれIDデータを記憶した領域を設け、スイ
ッチ部10にID照合手段を接続するという構成にする
ことも可能である。このような構成にすれば、ゲームカ
ートリッジ2をゲーム機に装着した後に、ID照合手段
によってROM用IC5およびCPU1aのIDデータ
が照合され、両IDデータが一致する場合にのみ、CP
U1aがRAM8にアクセス可能となるように、前記ス
イッチ部の作動が制御される。したがって、CPU1a
と同じIDデータを有する正規のゲームカートリッジ2
のゲームプログラムのみが実行可能となるので、不当な
実行から一層確実に守られる。このような構成にする場
合に、ROM用IC5およびCPU1aのIDデータの
組み合わせを複数設定し、一つでも一致しないIDがあ
ると、プログラムデータを読み出すことができないよう
に設定すれば、秘密保持の確実性はさらに増す。
(4) Other Embodiments The present invention is not limited to the embodiments described above, and the connection, arrangement, setting, etc. of each functional block can be changed as appropriate. For example, ROM IC 5 and CPU 1
It is also possible to provide a region for storing ID data in a and connect the ID collating means to the switch unit 10. With such a configuration, after the game cartridge 2 is mounted on the game machine, the ID collating means collates the ID data of the ROM IC 5 and the CPU 1a, and only when both the ID data match, the CP
The operation of the switch unit is controlled so that U1a can access the RAM 8. Therefore, the CPU 1a
Regular game cartridge 2 with the same ID data as
Since only the game program can be executed, it is more surely protected from improper execution. In the case of such a configuration, if a plurality of combinations of the ID data of the ROM IC 5 and the CPU 1a are set, and if even one ID does not match, the program data cannot be read out, confidentiality can be maintained. Certainty is further increased.

【0037】補完データ11bおよび合成方法用データ
11cの内容は、自由に設定、変更が可能である。例え
ば、ゲームプログラムの一部および補完データ11bを
所定のビットを抜いたデータとし、両者を合成させるこ
とによって完全なデータとする合成方法、両データを所
定の論理演算により実行可能なデータを作成する方法等
がある。また、単独では実行不可能なデータや、このデ
ータが補完データ11bと合成された後の合成データ
を、一端、RAM8のエリア8aに書き込んでおく方法
をとることも可能である。このような方法によっても、
分解等がなされてRAM8とバックアップ用バッテリ7
との接続が解除された場合には、上記データは消えるの
で、機械的、電気的な解析に対して強い保護が期待でき
る。さらに、データの合成のために、必ずしも合成方法
用データ11cを格納しておく必要はなく、合成回路を
あらかじめ組み込んでおき、すべてハード的に処理する
ことによってデータ合成を実現することも可能である。
The contents of the complementary data 11b and the synthesizing method data 11c can be freely set and changed. For example, a part of the game program and the complementary data 11b may be data without a predetermined bit, and a combination method of combining the two to obtain complete data, and data that can be executed by a predetermined logical operation are created. There are ways. It is also possible to write the data that cannot be executed by itself or the combined data after this data is combined with the complementary data 11b in the area 8a of the RAM 8 once. By this method,
RAM8 and backup battery 7 after disassembly
When the connection with is released, the above data disappears, so strong protection can be expected against mechanical and electrical analysis. Furthermore, the data 11c for the synthesizing method does not necessarily have to be stored for synthesizing the data, and it is possible to implement the data synthesizing by incorporating a synthesizing circuit in advance and processing all by hardware. .

【0038】特定の書き込み命令等は、必ずしもROM
5に格納されている必要はなく、CPU1aにあらかじ
め設定されている構成にすることもできる。また、ゲー
ム機側からの書き込み動作は、スイッチ部11をオン状
態にできればよいので、書き込み動作があった場合に、
必ずしも実際に何らかのデータがRAM8に書き込まれ
る必要はない。すなわち、書き込み動作は、実際に書き
込みをおこなわない一種の偽装的な動作でもよい。
A specific write command or the like is not necessarily ROM
5 does not have to be stored in the CPU 5, and may be configured in advance in the CPU 1a. Further, since the writing operation from the game machine side only needs to be able to turn on the switch unit 11, when there is a writing operation,
It is not always necessary that some data be actually written in the RAM 8. That is, the write operation may be a kind of camouflaged operation in which writing is not actually performed.

【0039】そして、スイッチ部11を制御するための
動作は、上記実施例においてはRAM8に対する書き込
み動作として設定されているが、この動作はRAM8に
対する読み込み動作として設定してもよい。また、書き
込みや読み込み以外のゲームカートリッジ2側の他の動
作、例えば、アクノレッジ動作(送信側に対する受信側
の肯定的な応答動作)として設定してもよい。
The operation for controlling the switch section 11 is set as a write operation for the RAM 8 in the above embodiment, but this operation may be set as a read operation for the RAM 8. Further, it may be set as another operation on the game cartridge 2 side other than writing and reading, for example, an acknowledge operation (a positive response operation of the receiving side with respect to the transmitting side).

【0040】本発明は、ゲーム機1ばかりでなく、通常
のコンピュータにおけるデータセキュリティシステムと
して用いることもできる。したがって、記憶手段として
ゲームカートリッジ以外のもの、例えば、CD−RO
M、ROMボード、フロッピーディスク、RAMカー
ド、磁気テープ、光磁気ディスク等であってもよい。こ
のような記憶媒体を使用する場合には、これらに対応し
た入力手段を、データ実行手段に接続する必要がある。
The present invention can be used not only as the game machine 1 but also as a data security system in a normal computer. Therefore, the storage means other than the game cartridge, such as a CD-RO, is used.
It may be an M, ROM board, floppy disk, RAM card, magnetic tape, magneto-optical disk, or the like. When using such a storage medium, it is necessary to connect the input means corresponding to these to the data execution means.

【0041】ROM5aとRAM8とは、必ずしも一体
化している必要はない。とくに、上記のように、ROM
5aとしてゲームカートリッジ2以外の記憶媒体を用い
る場合には、ROM用IC5とセキュリティIC6との
一体化は困難な場合があるので、RAM8のみを別の記
憶媒体としたり、RAM8をゲーム機側に設けることも
可能である。
The ROM 5a and the RAM 8 do not necessarily have to be integrated. Especially, as mentioned above, ROM
When a storage medium other than the game cartridge 2 is used as 5a, it may be difficult to integrate the ROM IC 5 and the security IC 6, so that only the RAM 8 is used as another storage medium or the RAM 8 is provided on the game machine side. It is also possible.

【0042】スイッチ部10は、機械的なスイッチによ
って実現することも可能であるし、専用の回路およびプ
ログラム上の手法によっても実現できる。また、スイッ
チ部10はゲーム機1側に設けてもよい。さらに、バッ
クアップ用データ11aが記憶されているRAM8の領
域は、スイッチ部10を介してCPU1aとROM5a
との接続線に接続されていてもよく、スイッチ部10を
介さずに当該接続線に接続されていてもよい。
The switch section 10 can be realized by a mechanical switch, or by a dedicated circuit and a program method. The switch unit 10 may be provided on the game machine 1 side. Further, the area of the RAM 8 in which the backup data 11a is stored is connected to the CPU 1a and the ROM 5a via the switch unit 10.
May be connected to a connection line with the connection line, or may be connected to the connection line without the switch unit 10.

【0043】[0043]

【発明の効果】以上のような本発明によれば、実行不可
能なメインデータと補完データとを合成して実行可能な
データにする合成手段を設けるという構成によって、正
当な権限の無い者によりデータがコピーされ、不当な実
行、解析がおこなわれることを確実に防止しつつ、正当
な権限のある者によるデータの実行が容易にできるデー
タセキュリティシステムを提供することができる。
As described above, according to the present invention, by the constitution that the synthesizing means for synthesizing the unexecutable main data and the complementary data into the executable data is provided, it is possible for an unauthorized person to have the authority. It is possible to provide a data security system capable of easily executing data by a person who has a legitimate authority while surely preventing data from being copied and performing unlawful execution and analysis.

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

【図1】本発明の一実施例を構成したゲーム機およびゲ
ームカートリッジと、他の装置との接続関係を示すブロ
ック図。
FIG. 1 is a block diagram showing a connection relationship between a game machine and a game cartridge that constitute an embodiment of the present invention, and another device.

【図2】図1の実施例におけるゲームカートリッジの構
成を示すブロック図。
FIG. 2 is a block diagram showing the configuration of a game cartridge in the embodiment of FIG.

【図3】図1の実施例におけるROMの各エリアを示す
説明図。
FIG. 3 is an explanatory diagram showing each area of a ROM in the embodiment of FIG.

【図4】図1の実施例の構成を示すブロック図。FIG. 4 is a block diagram showing the configuration of the embodiment shown in FIG.

【図5】図1の実施例におけるRAMの各エリアを示す
説明図。
5 is an explanatory diagram showing each area of the RAM in the embodiment of FIG.

【図6】図1の実施例の処理の手順を示すフローチャー
ト。
FIG. 6 is a flowchart showing a processing procedure of the embodiment of FIG.

【図7】従来のゲームカートリッジの一例を示すブロッ
ク図。
FIG. 7 is a block diagram showing an example of a conventional game cartridge.

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

1…ゲーム機 1a…CPU 1b…I/O制御回路 2,12…ゲームカートリッジ 3…テレビ 4…コントローラー 5…ROM用IC 5a,14…ROM 6,17…セキュリティ用IC 7,16…バックアップ用バッテリ 8,15…RAM 9…合成部 10…スイッチ部 11a…バックアップ用データ 11b…補完データ 11c…合成方法用データ 601以降…手順の各ステップ 1 ... Game console 1a ... CPU 1b ... I / O control circuit 2, 12 ... Game cartridge 3 ... Television 4 ... Controller 5 ... ROM IC 5a, 14 ... ROM 6,17 ... Security IC 7, 16 ... Backup battery 8, 15 ... RAM 9 ... Compositing section 10 ... Switch section 11a ... Backup data 11b ... Complementary data 11c ... Combining method data 601 or later ... Each step of procedure

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 単独では実行できないメインデータを記
憶した第1の記憶手段と、 前記メインデータを補完する補完データを記憶した第2
の記憶手段と、 前記メインデータを読み込んで実行するプログラム実行
手段と、 前記メインデータと前記補完データとを演算して前記プ
ログラム実行手段により実行可能なデータを作成し、前
記プログラム実行手段に送出する演算手段と、 前記プログラム実行手段の指令に基づいて、前記演算手
段による前記第1の記憶手段へのアクセスを許可するス
イッチ部とを有することを特徴とするデータセキュリテ
ィシステム。
1. A first storage means for storing main data that cannot be executed independently, and a second storage means for storing complementary data for complementing the main data.
Storage means, a program executing means for reading and executing the main data, a calculation of the main data and the complementary data to create data executable by the program executing means, and sending the data to the program executing means. A data security system, comprising: a computing unit; and a switch unit that permits the computing unit to access the first storage unit based on a command from the program executing unit.
【請求項2】 前記第2の記憶手段を、RAM上に構成
したことを特徴とする請求項1記載のデータセキュリテ
ィシステム。
2. The data security system according to claim 1, wherein the second storage means is configured on a RAM.
【請求項3】 前記スイッチ部は、前記演算手段が前記
メインデータと前記補完データとを演算して前記プログ
ラム実行手段により実行可能なデータを作成し、前記プ
ログラム実行手段に送出した後に、前記演算手段による
前記第1の記憶手段へのアクセスを解除する機能を有す
ることを特徴とする請求項2記載のデータセキュリティ
システム。
3. The switch unit is configured to calculate the main data and the complementary data by the calculation unit to generate data executable by the program execution unit, and to send the data to the program execution unit, and then to perform the calculation. 3. The data security system according to claim 2, further comprising a function of canceling access to the first storage means by means.
【請求項4】 前記プログラム実行手段をゲーム機のコ
ンピュータとし、 前記メインデータをゲーム用プログラムとし、 前記第1の記憶手段をROM上に構成し、 前記RAMに、前記補完データを保持するためのバック
アップ用バッテリを接続し、 前記ROM、前記RAMおよび前記バックアップ用バッ
テリをゲームカートリッジ内に封入し、 前記ゲームカートリッジを前記ゲーム機に着脱自在に設
けたことを特徴とする請求項3記載のデータセキュリテ
ィシステム。
4. The program executing means is a computer of a game machine, the main data is a game program, the first storage means is configured on a ROM, and the complementary data is held in the RAM. The data security according to claim 3, wherein a backup battery is connected, the ROM, the RAM, and the backup battery are enclosed in a game cartridge, and the game cartridge is detachably provided in the game machine. system.
JP6120418A 1994-06-01 1994-06-01 Data security system Withdrawn JPH07325714A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6120418A JPH07325714A (en) 1994-06-01 1994-06-01 Data security system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6120418A JPH07325714A (en) 1994-06-01 1994-06-01 Data security system

Publications (1)

Publication Number Publication Date
JPH07325714A true JPH07325714A (en) 1995-12-12

Family

ID=14785739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6120418A Withdrawn JPH07325714A (en) 1994-06-01 1994-06-01 Data security system

Country Status (1)

Country Link
JP (1) JPH07325714A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09282156A (en) * 1996-04-17 1997-10-31 Ricoh Co Ltd Program protection device and program protection method
JP2009252079A (en) * 2008-04-09 2009-10-29 Mega Chips Corp Semiconductor memory device
CN101896885A (en) * 2007-12-13 2010-11-24 汤姆森许可贸易公司 Copy-protected software cartridge
JP2013020565A (en) * 2011-07-14 2013-01-31 Mega Chips Corp Memory system, memory device, and operation method for memory system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09282156A (en) * 1996-04-17 1997-10-31 Ricoh Co Ltd Program protection device and program protection method
CN101896885A (en) * 2007-12-13 2010-11-24 汤姆森许可贸易公司 Copy-protected software cartridge
JP2011507086A (en) * 2007-12-13 2011-03-03 トムソン ライセンシング Copy-protected software cartridge
JP2009252079A (en) * 2008-04-09 2009-10-29 Mega Chips Corp Semiconductor memory device
JP2013020565A (en) * 2011-07-14 2013-01-31 Mega Chips Corp Memory system, memory device, and operation method for memory system

Similar Documents

Publication Publication Date Title
EP0191162B1 (en) Method of software protection
US6712704B2 (en) Security system for video game system with hard disk drive and internet access capability
JP4875493B2 (en) Static dynamic and restricted unrestricted content rights
EP1363284B1 (en) Computer program copy management system
US7721116B2 (en) Security system
US5754646A (en) Method for protecting publicly distributed software
USRE39401E1 (en) Electronic casino gaming system with improved play capacity, authentication and security
US8375455B2 (en) System, method, and device for storing and delivering data
US20040215909A1 (en) Nonvolatile memory device and data processing system
JPH08305558A (en) Ciphering program arithmetic unit
US20020116632A1 (en) Tamper-resistant computer system
JPH08286905A (en) Computer system for video graphic and video game play copy limiting method for the same
JPH07508604A (en) A device that protects programs and data using a card reader
KR20010023732A (en) A tamper resistant player for scrambled contents
JP2002515765A (en) Electronic casino game system with excellent gaming functions and authentication and security
US7350081B1 (en) Secure execution of downloaded software
JP2007527056A (en) Distribution of license information using short messaging system protocol in closed content distribution system
KR20110106849A (en) Method and system for controling code execution on a computing device using recursive security protocol
JP2006227930A (en) Game machine operation authentication system and game machine
WO1997025675A1 (en) A secure pay-as-you-use system for computer software
JPH07325714A (en) Data security system
JPS59123954A (en) Prevention system for illegal use of stored data
JPS59173847A (en) Method and device for protecting computer software
AU725098B2 (en) Computer software authentication, protection, and security system
JPH05274498A (en) Ic card and erasing method for its data storage memory

Legal Events

Date Code Title Description
A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010904