JPH08314715A - Data processor - Google Patents

Data processor

Info

Publication number
JPH08314715A
JPH08314715A JP7118064A JP11806495A JPH08314715A JP H08314715 A JPH08314715 A JP H08314715A JP 7118064 A JP7118064 A JP 7118064A JP 11806495 A JP11806495 A JP 11806495A JP H08314715 A JPH08314715 A JP H08314715A
Authority
JP
Japan
Prior art keywords
program
code
protect
main body
data processing
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
JP7118064A
Other languages
Japanese (ja)
Inventor
Toshiaki Igasaki
俊朗 伊賀崎
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.)
TEC CORP
Original Assignee
TEC CORP
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TEC CORP filed Critical TEC CORP
Priority to JP7118064A priority Critical patent/JPH08314715A/en
Publication of JPH08314715A publication Critical patent/JPH08314715A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To prohibit the use of software for a data processor of a different protection code and also to freely copy the software. CONSTITUTION: A data processor starts a program to process data and is provided with an NVRAM 25 which previously stores a main body protection code to judge whether a program should be carried out or not. Then, it is judged whether the program protection code included in the program to be carried out is coincident with the main body protection code received from the NVRAM 25. When both codes are judged to be not coincident with each other, the execution of the program is prohibited, and the program is carried out when the coincidence is judged between both protection codes.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、プログラムを起動させ
てデータ処理を行うデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device for activating a program to perform data processing.

【0002】[0002]

【従来の技術】この種のデータ処理装置においては、不
正にコピーしたソフトウエアのプログラムによってデー
タ処理が実行されることを阻止する目的で、ソフトウエ
アにプロテクトをかけてソフトウエアのコピーが取れな
いようにしている。
2. Description of the Related Art In this type of data processing apparatus, the software is protected so that it cannot be copied in order to prevent the data processing from being executed by an illegally copied software program. I am trying.

【0003】例えば、プログラム実行時に所定の実行プ
ロテクトコードを入力させて、プログラムに含まれてい
るプログラムコードと一致したときに、はじめてそのプ
ログラムを実行できるようにするものがある。
For example, there is a method in which a predetermined execution protect code is input when a program is executed, and the program can be executed only when it matches the program code included in the program.

【0004】また、近年はハードディスクが普及してお
り、専用ソフトウエアを使って組込みができても、その
組込時にプロテクトをかけて、ハードディスク上のソフ
トウエアをコピーしても実行できないようにするものも
ある。
Further, in recent years, hard disks have become widespread, and even if they can be installed by using dedicated software, protection is applied at the time of installation so that they cannot be executed even if the software on the hard disk is copied. There are also things.

【0005】[0005]

【発明が解決しようとする課題】しかし、このようなデ
ータ処理装置においては、プロテクトをかけたため、プ
ログラムを実行する度に、実行プロテクトコードの入力
等を行わなければならないため煩わしいという問題があ
った。
However, such a data processing device has a problem that it is troublesome because the protection code is applied and the execution protection code must be input each time the program is executed. .

【0006】また、プロテクトをかけると、バックアッ
プコピーも自由にとれないため、事故が起こったときに
代替がきかないなどの不便を正規のユーザーに強いるこ
とにもなる。
[0006] Further, if the protection is applied, a backup copy cannot be freely made, so that a legitimate user is forced to inconvenience that a substitute cannot be used when an accident occurs.

【0007】そこで、本発明は、ソフトウエアが持つプ
ロテクトコードが装置が持つプロテクトコードと一致す
る場合のみ実行可能とすることによって、プロテクトコ
ードが異なる装置でのソフトウエアの使用を防止でき、
しかも自由にソフトウエアをコピーでき、実行時にはコ
ード入力等の操作も不要なデータ処理装置を提供しよう
とするものである。
Therefore, the present invention can be executed only when the protect code of the software matches the protect code of the device, thereby preventing the use of the software in the device having different protect codes.
Moreover, it is an object of the present invention to provide a data processing device in which software can be freely copied and operation such as code input is unnecessary at the time of execution.

【0008】[0008]

【課題を解決するための手段】請求項1記載の本発明
は、プログラムを起動させてデータ処理を行うデータ処
理装置において、プログラムを実行するか否かを判断す
るための本体用プロテクトコードが予め記憶された不揮
発性記憶手段と、これから実行しようとするプログラム
に含まれたプログラム用プロテクトコードと不揮発性記
憶手段からの本体用プロテクトコードが一致するか否か
を判断するコード一致判断手段と、このコード一致判断
手段がプロテクトコードが不一致であると判断したとき
には、そのプログラムの実行を禁止するプロテクト手段
とを設けたものである。
According to a first aspect of the present invention, in a data processing device for activating a program to perform data processing, a protect code for a main body for determining whether or not to execute the program is provided in advance. The stored non-volatile storage means, the code matching determination means for determining whether or not the program protection code included in the program to be executed and the main body protection code from the non-volatile storage means match, When the code matching judging means judges that the protect codes do not match, a protecting means for prohibiting the execution of the program is provided.

【0009】請求項2記載の本発明は、プログラムを起
動させてデータ処理を行うデータ処理装置において、プ
ログラムを実行するか否かを判断するための本体用プロ
テクトコードが予め記憶された不揮発性記憶手段と、こ
れから実行しようとするプログラムがプロテクトコード
を含んでいるか否かを判断するプロテクトコード有無判
断手段と、このプロテクトコード有無判断手段がプロテ
クトコードを含んでいないと判断したときにそのプログ
ラムを実行するプログラム実行手段と、プロテクトコー
ド有無判断手段がプロテクトコードを含んでいると判断
したときに、そのプログラムに含まれたプログラム用プ
ロテクトコードと不揮発性記憶手段からの本体用プロテ
クトコードが一致するか否かを判断するコード一致判断
手段と、このコード一致判断手段がプロテクトコードが
不一致であると判断したときには、そのプログラムの実
行を禁止するプロテクト手段とを設けたものである。
According to a second aspect of the present invention, in a data processing device for activating a program to perform data processing, a nonvolatile memory in which a main body protect code for determining whether or not to execute the program is stored in advance. Means, a protect code presence / absence determining means for determining whether or not the program to be executed contains a protect code, and the program is executed when the protect code presence / absence determining means determines that the program does not include a protect code. When the program executing means to be executed and the protect code presence / absence determining means determine that the protect code is included, whether or not the program protect code included in the program and the main body protect code from the non-volatile storage means match each other. Code matching determining means for determining whether When a match determination unit determines that protect code do not match, it is provided with a a protection means for inhibiting the execution of the program.

【0010】[0010]

【作用】請求項1記載の本発明においては、プログラム
を実行する際、コード一致判断手段はそのプログラムに
含まれたプログラム用プロテクトコードと不揮発性記憶
手段からの本体用プロテクトコードが一致するか否かを
判断する。そして、プロテクトコードの一致を判断する
と、そのプログラムを実行し、プロテクトコードの不一
致を判断すると、そのプログラムの実行を禁止する。
According to the present invention, when the program is executed, the code coincidence determining means determines whether or not the program protect code contained in the program coincides with the main body protect code from the non-volatile storage means. To judge. Then, when it is determined that the protect codes match, the program is executed, and when it is determined that the protect codes do not match, the execution of the program is prohibited.

【0011】請求項2記載の本発明においては、プログ
ラムを実行する際、プロテクトコード有無判断手段はそ
のプログラムがプロテクトコードを含んでいるか否かを
判断する。そして、プロテクトコードを含んでいないと
判断すると、プログラム実行手段はそのプログラムを実
行する。また、プロテクトコードを含んでいないと判断
すると、コード一致判断手段はそのプログラムに含まれ
たプログラム用プロテクトコードと不揮発性記憶手段か
らの本体用プロテクトコードとが一致するか否かを判断
する。このとき、プロテクトコードの一致を判断する
と、そのプログラムを実行し、プロテクトコードの不一
致を判断すると、そのプログラムの実行を禁止する。
In the present invention according to claim 2, when the program is executed, the protect code presence / absence determining means determines whether or not the program includes the protect code. When it is determined that the protection code is not included, the program executing means executes the program. When it is determined that the protect code is not included, the code matching determining means determines whether or not the program protect code included in the program and the main body protect code from the non-volatile storage means match. At this time, if it is determined that the protect codes match, the program is executed, and if it is determined that the protect codes do not match, execution of the program is prohibited.

【0012】[0012]

【実施例】以下、本発明の実施例を図面を参照して説明
する。
Embodiments of the present invention will be described below with reference to the drawings.

【0013】図1は、本実施例の外観構成を示す斜視図
で、1はデータ処理装置である。このデータ処理装置1
の前面にはキーボード2、フロッピディスク装置3、液
晶表示等を行うための表示器4、伝票用紙や帳票用紙等
の用紙を挿入する挿入部5が設けられ、中央部にはシリ
アルプリンタ6が設けられ、側部には上記プリンタ6の
プラテンを手動回転させるためのプラテンノブ7が設け
られている。
FIG. 1 is a perspective view showing the external structure of this embodiment, and 1 is a data processing device. This data processing device 1
A keyboard 2, a floppy disk device 3, a display device 4 for displaying a liquid crystal display, an insertion portion 5 for inserting paper such as slip paper and form paper, and a serial printer 6 are provided in the center of the front surface of the A platen knob 7 for manually rotating the platen of the printer 6 is provided on the side.

【0014】図2は、上記データ処理装置1の構成を示
すブロック図で、11は、制御部本体を構成するCPU
(中央処理装置)、12はこのCPU11が行う処理の
プログラムデータ等が記憶されたROM(リ−ド・オン
リ・メモリ)、13はCPU11が処理を行う時に使用
する各種メモリのエリアが形成されたRAM(ランダム
・アクセス・メモリ)、14は複数のアプリケーション
プログラム及び各種データが記憶されたハードディスク
装置15とのデータの伝送制御を行うハードディスクイ
ンタフェース、16はアプリケーションプログラム及び
各種データが記憶されたフロッピディスク装置17との
データの伝送制御を行うフロッピディスクインタフェー
スである。
FIG. 2 is a block diagram showing the configuration of the data processing device 1, and 11 is a CPU constituting the control unit main body.
(Central processing unit), 12 is a ROM (read only memory) in which program data of processing performed by the CPU 11 and the like are stored, and 13 is an area of various memories used when the CPU 11 performs processing. RAM (random access memory), 14 is a hard disk interface for controlling data transmission with a hard disk device 15 in which a plurality of application programs and various data are stored, and 16 is a floppy disk device in which application programs and various data are stored. This is a floppy disk interface for controlling data transmission with the device 17.

【0015】上記CPU11と、ROM12、RAM1
3、ハードディスクインタフェース14、フロッピディ
スクインタフェース16とは、それぞれデータバス、シ
ステムバス、制御バス等のバスライン18を介して相互
に接続している。
The CPU 11, ROM 12, RAM 1
3. The hard disk interface 14 and the floppy disk interface 16 are connected to each other via a bus line 18 such as a data bus, a system bus, a control bus, or the like.

【0016】また、CPU11にはバスライン18を介
して、文字等のコードデータをイメージデータに変換す
るためのCG(キャラクタジェネレータ)21、上記表
示器4に表示するイメージデータを一時的に記憶するV
RAM(ビデオRAM)22、このVRAM22からの
イメージデータに基づいて上記表示器4を制御する表示
コントローラ23、上記キーボード2とのデータの伝送
制御を行うキーボードインタフェース24が接続してい
る。
Further, the CPU 11 temporarily stores, via the bus line 18, a CG (character generator) 21 for converting code data such as characters into image data and image data to be displayed on the display 4. V
A RAM (video RAM) 22, a display controller 23 for controlling the display 4 based on image data from the VRAM 22, and a keyboard interface 24 for controlling data transmission with the keyboard 2 are connected.

【0017】さらに、CPU11にはバスライン18を
介して、電源を切っても記憶内容が消えず、しかも読書
き可能なNVRAM(不揮発性RAM)25、上記プリ
ンタ6を制御するプリンタコントローラ26、通信回線
等を介して外部装置が接続される外部インタフェース2
7が接続している。
Further, in the CPU 11, the stored contents are not erased even when the power is turned off and the contents can be read / written via the bus line 18, and the NVRAM (nonvolatile RAM) 25, the printer controller 26 for controlling the printer 6, the communication. An external interface 2 to which an external device is connected via a line or the like
7 is connected.

【0018】上記フロッピディスク装置3に挿入するフ
ロッピディスクやハードディスク装置15には図5に示
すようなプログラムが記憶されている。このプログラム
は、16バイトで構成された業務名を示すデータ31a
を先頭に、不正コピーによるプログラム実行を禁止する
ための16バイトで構成されたプログラム用プロテクト
コード31b及びプログラム本体31cが連続するデー
タからなる。また、NVRAM22には、上記フロッピ
ディスクのプログラムを実行するか否かを判断するため
の本体用プロテクトコードが予め記憶されている。
A program as shown in FIG. 5 is stored in the floppy disk or the hard disk device 15 to be inserted into the floppy disk device 3. This program consists of data 31a that consists of 16 bytes and indicates the business name.
At the beginning, a program protect code 31b composed of 16 bytes for prohibiting program execution due to illegal copying and a program body 31c consist of continuous data. Further, the NVRAM 22 stores in advance a main body protect code for determining whether or not to execute the floppy disk program.

【0019】上記CPU11は、データ処理を行うプロ
グラムを実行する際、図3に示すようなプロテクト制御
処理を行うようになっている。すなわちCPU11は、
先ずST(ステップ)1にてNVRAM25から本体用
プロテクトコードを読出す。
The CPU 11 is adapted to perform a protect control process as shown in FIG. 3 when executing a program for data processing. That is, the CPU 11
First, in ST (step) 1, the main body protect code is read from the NVRAM 25.

【0020】続いて、ST2にて実行しようとするプロ
グラム中のプログラム用プロテクトコードをサーチして
読出す。そして、ST3にてプログラム中にプログラム
用プロテクトコードがあったか否か、すなわちプログラ
ム用プロテクトコードを読出せたか否かを判断する(プ
ロテクトコード有無判断手段)。
Then, in ST2, the program protect code in the program to be executed is searched and read. Then, in ST3, it is determined whether or not there is a program protect code in the program, that is, whether or not the program protect code is read (protect code presence / absence determining means).

【0021】このとき、プログラム用プロテクトコード
を読出せたと判断した場合は、ST4にてこのプログラ
ム用プロテクトコードが上記NVRAM25からの本体
用プロテクトコードと一致するか否かを判断する(コー
ド一致判断手段)。プロテクトコードが一致すると判断
した場合は、ST5にてそのプログラムを実行してプロ
テクト処理を終了する。
At this time, when it is judged that the program protect code has been read, it is judged at ST4 whether or not this program protect code matches the main body protect code from the NVRAM 25 (code matching judging means). ). If it is determined that the protect codes match, the program is executed in ST5, and the protect process ends.

【0022】これに対し、ST4にてプロテクトコード
が一致しないと判断した場合は、ST6にて表示器4を
駆動してユーザにプログラム実行不能の旨の注意を与え
る。例えば、「プロテクトコードが一致しないため実行
できません。」と表示器4に表示させてこのプロテクト
処理を終了する(プロテクト手段)。この場合はそのプ
ログラムが実行されることはない。
On the other hand, if it is determined in ST4 that the protection codes do not match, the display 4 is driven in ST6 to warn the user that the program cannot be executed. For example, "Protection code does not match, execution cannot be performed." Is displayed on the display unit 4 and the protection process is terminated (protection means). In this case, the program will not be executed.

【0023】また、ST3にてプログラム用プロテクト
コードを読出せないと判断した場合は、ST5にてプロ
グラムを実行し(プログラム実行手段)、このプロテク
ト処理を終了する。これにより、プログラム用プロテク
トコードがないプログラムの実行も可能である。
If it is determined in ST3 that the program protect code cannot be read, the program is executed in ST5 (program executing means), and this protect processing is terminated. As a result, it is possible to execute a program without the program protection code.

【0024】ところで、NVRAM25へ本体用プロテ
クトコードを設定する場合には、上記CPU11は図4
に示すようなプロテクトコード入力処理を行うようにな
っている。すなわちCPU11は先ずST11にてNV
RAM25から本体用プロテクトコードを読出す。
By the way, when setting the main body protect code in the NVRAM 25, the CPU 11 operates as shown in FIG.
The protection code input process as shown in FIG. That is, the CPU 11 first NVs at ST11.
The main body protect code is read from the RAM 25.

【0025】続いて、ST12にてNVRAM25から
本体用プロテクトコードが読出せたか否か、すなわち本
体用プロテクトコードが設定されていたか否かを判断す
る。このとき、本体用プロテクトコードが設定されてい
たと判断した場合はST13にてユーザにNVRAM2
5に既に設定されている本体用プロテクトコードの入力
を促す。例えば、「前プロテクトコードを入力して下さ
い。」と表示器4に表示する。
Subsequently, in ST12, it is determined whether or not the main body protect code can be read from the NVRAM 25, that is, whether or not the main body protect code has been set. At this time, if it is determined that the protect code for the main body is set, the user is instructed to NVRAM2
Prompt for the protection code for the main unit that has already been set to 5. For example, "Please input the previous protect code" is displayed on the display unit 4.

【0026】そして、ST14にてコードが入力された
か否かを判断する。コードが入力されたと判断した場合
は、ST15にて入力されたコードが既にNVRAM2
5に設定されている本体用プロテクトコードと一致する
か否かを判断する。
Then, in ST14, it is determined whether or not a code is input. If it is determined that the code has been input, the code input in ST15 is already NVRAM2.
It is determined whether or not it matches the protection code for the main body set to 5.

【0027】このとき、本体用プロテクトコードと一致
すると判断した場合は、ST16にてユーザに本体用プ
ロテクトコードの入力を促す。例えば、「プロテクトコ
ードを入力して下さい。」と表示器4に表示させる。
At this time, if it is determined that the main body protect code matches, the user is prompted to input the main body protect code in ST16. For example, the message “Please enter the protect code.” Is displayed on the display unit 4.

【0028】続いて、ST17にてコードが入力された
か否かを判断する。そして、コードが入力されたと判断
した場合は、ST18にて入力されたコードを本体用プ
ロテクトコードとしてNVRAM25に書込んで、プロ
テクトコード入力処理を終了する。
Subsequently, in ST17, it is determined whether or not a code is input. When it is determined that the code has been input, the code input in ST18 is written in the NVRAM 25 as the main body protect code, and the protect code input process ends.

【0029】また、ST15にて入力されたコードが既
にNVRAM25に設定されている本体用プロテクトコ
ードと一致しないと判断した場合は、ST19にてユー
ザに本体用プロテクトコードの設定ができない旨の表示
を行う。例えば、「プロテクトコードが一致しませ
ん。」と表示器4に表示させてこのプロテクトコード入
力処理を終了する。従って、この場合は本体用プロテク
トコードを書換えることも、設定することもできない。
When it is determined that the code input in ST15 does not match the body protection code already set in the NVRAM 25, the user is informed in ST19 that the body protection code cannot be set. To do. For example, the message "Protect codes do not match." Is displayed on the display unit 4 and the protect code input process is terminated. Therefore, in this case, the protect code for the main body cannot be rewritten or set.

【0030】ところで、ST12にてNVRAM25に
本体用プロテクトコードが設定されていないと判断した
場合は、ST16の処理に移り、本体用プロテクトコー
ドの設定処理が行われる。
If it is determined in ST12 that the main body protect code is not set in the NVRAM 25, the process proceeds to ST16 and the main body protect code is set.

【0031】このような構成の本実施例においては、プ
ログラム用プロテクトコードを持つプログラムを実行す
る際、そのプログラム用プロテクトコードがデータ処理
装置のNVRAM25に設定された本体用プロテクトコ
ードと一致した場合には、そのプログラムを実行し、一
致しない場合にはそのプログラムを実行しない。
In the present embodiment having such a structure, when the program having the program protect code is executed, if the program protect code matches the main body protect code set in the NVRAM 25 of the data processor. Runs the program and, if they do not match, does not run the program.

【0032】これにより、プロテクトコードが異なる装
置でのソフトウエアの使用を防止できる。さらに、プロ
グラムをコピーすれば、そのプログラム用プロテクトコ
ードも一緒にコピーされるため、コピーされたプログラ
ムでも本体用プロテクトコードと一致すればそのプログ
ラムは実行できる。このため、自由にソフトウエア(プ
ログラム)をコピーでき、バックアップをとることも可
能となる。しかも、プログラム実行時にはプロテクトコ
ード入力等の煩わしい操作も必要ないため、ユーザへの
負担を軽減することができる。
As a result, it is possible to prevent the software from being used in devices having different protect codes. Further, when the program is copied, the protect code for the program is also copied, so that the copied program can be executed if it matches the protect code for the main body. Therefore, software (program) can be freely copied and backup can be made. Moreover, since a troublesome operation such as inputting a protect code is not necessary when executing the program, the burden on the user can be reduced.

【0033】具体的には、例えば図6に示すように、本
体用プロテクトコードとして「ABC00001」が予
め設定されているデータ処理装置Aを備える販売代理店
Aで使用するプログラムにはすべてプログラム用プロテ
クトコードとして「ABC00001」が予め含まれい
るとする。
More specifically, for example, as shown in FIG. 6, all programs used in a sales agency A having a data processing device A in which "ABC00001" is preset as a body protection code are protected by the program. It is assumed that “ABC00001” is included as a code in advance.

【0034】一方、本体用プロテクトコードとして「X
YZ00009」が予め設定されているデータ処理装置
Bを備える販売代理店Bで使用するプログラムにはすべ
てプログラム用プロテクトコードとして「XYZ000
09」が予め含まれいるとする。
On the other hand, as the protect code for the main body, "X
All programs used by the sales agent B having the data processing device B in which “YZ00009” is preset are provided with “XYZ000” as the program protection code.
09 ”is included in advance.

【0035】このような場合、販売代理店AのユーザA
1 ,A2 ,A3 がそれぞれデータ処理装置Aを用いて
「ABC00001」のプログラム用プロテクトコード
を含むプログラムに基づいてデータ処理を行う場合は、
プロテクトコードが一致するため、問題なくプログラム
を実行できる。
In such a case, user A of sales agent A
When 1, A2 and A3 respectively perform data processing using the data processing device A based on the program including the program protect code of "ABC00001",
Since the protect codes match, the program can be executed without problems.

【0036】また、販売代理店BのユーザB1 ,B2 が
それぞれデータ処理装置Bを用いて「XYZ0000
9」のプログラム用プロテクトコードを含むプログラム
に基づいてデータ処理を行う場合は、プロテクトコード
が一致するため、問題なくプログラムを実行できる。
Also, the users B1 and B2 of the sales agent B use the data processing device B to select "XYZ0000".
When the data processing is performed based on the program including the program protect code of "9", the protect codes match and the program can be executed without any problem.

【0037】しかしながら、販売代理店Bが販売代理店
AのユーザA3 から不正にプログラムを入手した場合、
このプログラムにはプログラム用プロテクトコードとし
て「ABC00001」が含まれているため、販売代理
店Bのデータ処理装置Bの本体用プロテクトコードと一
致しない。このため販売代理店Aから不正に入手したプ
ログラムを販売代理店Bのデータ処理装置Bでは実行で
きいない。
However, when the sales agent B illegally obtains the program from the user A3 of the sales agent A,
Since this program includes “ABC00001” as the program protect code, it does not match the main body protect code of the data processing device B of the sales agent B. Therefore, the program illegally obtained from the sales agency A cannot be executed by the data processing device B of the sales agency B.

【0038】しかも、販売代理店Aのプログラム用プロ
テクトコードを知る手段がないため、データ処理装置B
の本体用プロテクトコードをデータ処理装置Aの本体用
プロテクトコードに変更することもできない。さらに、
プログラムのエディットもできない。こうして、不正な
コピーによるプログラムの実行を有効に禁止することが
できる。
Moreover, since there is no means for knowing the program protection code of the sales agent A, the data processor B
It is also impossible to change the main body protect code of the main body of the data processor A to the main body protect code of the data processing apparatus A. further,
You cannot edit the program. In this way, it is possible to effectively prohibit the execution of the program by illegal copying.

【0039】また、プログラム用プロテクトコードを含
まないプログラムは、通常通りそのまま実行されるた
め、プログラム用プロテクトコードの有無を問わずこの
プロテクト処理を行うことができる。従って、各種のデ
ータ処理装置に適用できる。また、選択的にプログラム
用プロテクトコードを含ませておけば、重要なプログラ
ムだけ選択的にプログラムの実行を禁止することもでき
る。
Further, since the program which does not include the program protect code is executed as it is as usual, the protect processing can be performed regardless of the presence or absence of the program protect code. Therefore, it can be applied to various data processing devices. Further, by selectively including a program protection code, it is possible to selectively prohibit the execution of an important program.

【0040】ところで、このようなデータ処理装置の本
体用プロテクトコードを変更する場合には、既に設定さ
れている本体用プロテクトコードの入力がなければ、コ
ードの変更もできない。これにより、本体用プロテクト
コードの自由な変更を防止することができる。
By the way, when changing the protect code for the main body of such a data processing apparatus, the code cannot be changed unless the preset protect code for the main body is input. Thereby, it is possible to prevent the protect code for the main body from being freely changed.

【0041】但し、本体用プロテクトコードが未だ設定
されていない場合、例えば出荷前等では、本体用プロテ
クトコードの入力を自由に行うことができる。これによ
り、初期入力時でのコード入力等の煩わしい操作を不要
とすることができ、出荷時の初期設定を迅速に行うこと
ができるようになる。
However, if the main body protect code is not set yet, for example, before shipment, the main body protect code can be freely input. As a result, it is possible to eliminate a troublesome operation such as code input at the time of initial input, and it is possible to quickly perform initial setting at the time of shipping.

【0042】なお、本実施例においては、不揮発性記憶
手段としてNVRAMを使用するものについて述べた
が、必ずしもこれに限定されるものではなく、不揮発性
記憶手段としてP(Programmable)ROM、EP(Eras
able and Programmable )ROM、EEPROM、フラ
ッシュメモリ等を使用するものであってもよい。
In this embodiment, the NVRAM is used as the non-volatile storage means, but the non-volatile storage means is not necessarily limited to this, and the non-volatile storage means may be a P (Programmable) ROM or EP (Eras).
A programmable and programmable ROM, EEPROM, flash memory or the like may be used.

【0043】[0043]

【発明の効果】以上詳述したように本発明によれば、ソ
フトウエアが持つプロテクトコードが装置が持つプロテ
クトコードと一致する場合のみ実行可能とすることによ
って、プロテクトコードが異なる装置でのソフトウエア
の使用を防止でき、しかも自由にソフトウエアをコピー
でき、実行時にはコード入力等の操作も不要なデータ処
理装置を提供できるものである。
As described above in detail, according to the present invention, the software can be executed only when the protect code of the software matches the protect code of the apparatus, so that the software of the apparatus having the different protect code can be executed. It is possible to provide a data processing device which can prevent the use of the software, can copy the software freely, and does not require operations such as code input at the time of execution.

【0044】また、プログラム用プロテクトコードを含
まないプログラムは、通常通りそのまま実行されるた
め、プログラム用プロテクトコードの有無を問わずこの
プロテクト処理を行うことができる。従って、各種のデ
ータ処理装置に適用できる。また、選択的にプログラム
用プロテクトコードを含ませておけば、重要なプログラ
ムだけ選択的にプログラムの実行を禁止することもでき
る。
Further, since the program which does not include the program protect code is executed as it is as usual, the protect processing can be performed regardless of the presence or absence of the program protect code. Therefore, it can be applied to various data processing devices. Further, by selectively including a program protection code, it is possible to selectively prohibit the execution of an important program.

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

【図1】本発明の実施例の外観構成を示す斜視図。FIG. 1 is a perspective view showing an external configuration of an embodiment of the present invention.

【図2】図1に示すデータ処理の構成を示すブロック
図。
FIG. 2 is a block diagram showing a configuration of data processing shown in FIG.

【図3】図2に示すCPUが行うプロテクト処理を示す
流れ図。
FIG. 3 is a flowchart showing a protect process performed by the CPU shown in FIG.

【図4】図2に示すCPUが行うプロテクトコード入力
処理を示す流れ図。
FIG. 4 is a flowchart showing a protect code input process performed by the CPU shown in FIG.

【図5】同実施例かかるデータ処理装置で実行するプロ
グラム構成の一例を示す図。
FIG. 5 is a diagram showing an example of a program configuration executed by the data processing apparatus according to the embodiment.

【図6】同実施例の作用を説明する図。FIG. 6 is a view for explaining the operation of the same embodiment.

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

1…データ処理装置 11…CPU 25…不揮発性記憶手段(NVRAM) DESCRIPTION OF SYMBOLS 1 ... Data processing device 11 ... CPU 25 ... Nonvolatile storage means (NVRAM)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを起動させてデータ処理を行
うデータ処理装置において、プログラムを実行するか否
かを判断するための本体用プロテクトコードが予め記憶
された不揮発性記憶手段と、これから実行しようとする
プログラムに含まれたプログラム用プロテクトコードと
前記不揮発性記憶手段からの本体用プロテクトコードが
一致するか否かを判断するコード一致判断手段と、この
コード一致判断手段がプロテクトコードが不一致である
と判断したときには、そのプログラムの実行を禁止する
プロテクト手段とを設けたことを特徴とするデータ処理
装置。
1. In a data processing device for activating a program to perform data processing, a non-volatile storage means in which a main body protection code for determining whether or not to execute the program is stored in advance, and an attempt is made to execute it. And a code match judging means for judging whether or not the protect code for the program included in the program and the protect code for the main body from the non-volatile storage means match, and the code match judging means determines that the protect codes do not match. A data processing device comprising a protect means for prohibiting execution of the program when a judgment is made.
【請求項2】 プログラムを起動させてデータ処理を行
うデータ処理装置において、プログラムを実行するか否
かを判断するための本体用プロテクトコードが予め記憶
された不揮発性記憶手段と、これから実行しようとする
プログラムがプロテクトコードを含んでいるか否かを判
断するプロテクトコード有無判断手段と、このプロテク
トコード有無判断手段がプロテクトコードを含んでいな
いと判断したときにそのプログラムを実行するプログラ
ム実行手段と、前記プロテクトコード有無判断手段がプ
ロテクトコードを含んでいると判断したときに、そのプ
ログラムに含まれたプログラム用プロテクトコードと前
記不揮発性記憶手段からの本体用プロテクトコードが一
致するか否かを判断するコード一致判断手段と、このコ
ード一致判断手段がプロテクトコードが不一致であると
判断したときには、そのプログラムの実行を禁止するプ
ロテクト手段とを設けたことを特徴とするデータ処理装
置。
2. In a data processing device for activating a program to perform data processing, a non-volatile storage means in which a main body protect code for determining whether or not to execute the program is stored in advance, and an attempt is made to execute it. A protect code presence / absence determining means for determining whether or not the program to be protected includes a protect code; a program executing means for executing the program when the protect code presence / absence determining means determines that the program does not include a protect code; A code for determining whether or not the program protect code included in the program and the main body protect code from the non-volatile storage means match when the protect code presence / absence determining means determines that the protect code is included. The matching judgment means and this code matching judgment means A data processing device comprising: a protection means for prohibiting execution of the program when it is determined that the protection codes do not match.
JP7118064A 1995-05-17 1995-05-17 Data processor Pending JPH08314715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7118064A JPH08314715A (en) 1995-05-17 1995-05-17 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7118064A JPH08314715A (en) 1995-05-17 1995-05-17 Data processor

Publications (1)

Publication Number Publication Date
JPH08314715A true JPH08314715A (en) 1996-11-29

Family

ID=14727123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7118064A Pending JPH08314715A (en) 1995-05-17 1995-05-17 Data processor

Country Status (1)

Country Link
JP (1) JPH08314715A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240518A (en) * 1997-02-25 1998-09-11 Mitsubishi Electric Corp Software copyright protective device
JP2007193550A (en) * 2006-01-19 2007-08-02 Oki Electric Ind Co Ltd Microcontroller, its authentication method and authentication program
US11107769B2 (en) 2019-08-02 2021-08-31 Samsung Electronics Co., Ltd. Semiconductor package and a method of fabricating the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10240518A (en) * 1997-02-25 1998-09-11 Mitsubishi Electric Corp Software copyright protective device
JP2007193550A (en) * 2006-01-19 2007-08-02 Oki Electric Ind Co Ltd Microcontroller, its authentication method and authentication program
US11107769B2 (en) 2019-08-02 2021-08-31 Samsung Electronics Co., Ltd. Semiconductor package and a method of fabricating the same

Similar Documents

Publication Publication Date Title
US6651150B2 (en) Data-processing apparatus and method of controlling the rewriting of a nonvolatile storage device
US6085299A (en) Secure updating of non-volatile memory
US6223284B1 (en) Method and apparatus for remote ROM flashing and security management for a computer system
KR100648533B1 (en) Virus resistant and hardware independent method of flashing system bios
US6738810B1 (en) Method and apparatus for encouraging timely payments associated with a computer system
KR100929870B1 (en) How to keep BIOS security of computer system
JPH08305558A (en) Ciphering program arithmetic unit
US20030070102A1 (en) Password changing method and computer system, and computer readable record medium storing a program therein
EP1647885A2 (en) Rewriting a non-volatile memory
JPH07325712A (en) Illicit copy preventing device for program
JPH08314715A (en) Data processor
US6591366B1 (en) Method and configuration for loading data for basic system routines of a data processing system
JPH0934799A (en) Data protection method
US7600132B1 (en) System and method for authentication of embedded RAID on a motherboard
JPH09305249A (en) Information processor and method for mounting electronic equipment on the information processor
US7502942B1 (en) System and method for authentication of embedded raid on a motherboard having input/output processor
JP3302593B2 (en) Software copyright protection device
JP4197227B2 (en) Expansion external storage system
JP4471120B2 (en) Programmable controller
JP2003186753A (en) Electronic device, control method of electronic device and control program of electronic device
JPH04104325A (en) Protection system for software
JP2779092B2 (en) Erasing method for IC card and its data storage memory
JP3504461B2 (en) Transmission apparatus and control method thereof
JP2003108256A (en) Computer apparatus and method for preventing unauthorized use thereof
JPS59229646A (en) Without-permission use inhibiting device of coded program