JPH0612521B2 - Program execution prohibition method - Google Patents

Program execution prohibition method

Info

Publication number
JPH0612521B2
JPH0612521B2 JP61280034A JP28003486A JPH0612521B2 JP H0612521 B2 JPH0612521 B2 JP H0612521B2 JP 61280034 A JP61280034 A JP 61280034A JP 28003486 A JP28003486 A JP 28003486A JP H0612521 B2 JPH0612521 B2 JP H0612521B2
Authority
JP
Japan
Prior art keywords
program
hardware
information
medium
random number
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.)
Expired - Lifetime
Application number
JP61280034A
Other languages
Japanese (ja)
Other versions
JPS63132336A (en
Inventor
正道 星野
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61280034A priority Critical patent/JPH0612521B2/en
Publication of JPS63132336A publication Critical patent/JPS63132336A/en
Publication of JPH0612521B2 publication Critical patent/JPH0612521B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、プログラム実行禁止方式に関し、特に同一機
種のハードウェアによるプログラムの実行を禁止する方
式に関する。
The present invention relates to a program execution prohibition method, and more particularly to a method for prohibiting execution of a program by hardware of the same model.

〔従来の技術〕[Conventional technology]

従来、情報処理システム,例えばパーソナルコンピュー
タ,ワードプロセッサ等に使用されるプログラムは有償
ということでプログラムプロダクト化しているが、顧客
で簡単にコピーできる。このため、莫大な開発費をかけ
て作ったプログラムの回収ができなくなり、同一機種の
他のハードウェアではプログラムが実行できないように
禁止することによりプログラムプロダクトを保護する必
要がある。情報の機密を保護するものとしては、例え
ば、特開昭56−153462号公報に記載されている
ように、入力コード列と秘密コード列が一致した場合は
機密処理のプロテクトが解除されて機密サービス部が作
動する方式が知られているが、ハードウェアの年月日,
時間を秘密コードとして処理する点については配慮され
ていない。
Conventionally, programs used in information processing systems, such as personal computers and word processors, have been commercialized for a fee, but they can be easily copied by customers. For this reason, it becomes impossible to recover a program that has been made at an enormous development cost, and it is necessary to protect the program product by prohibiting the program from executing on other hardware of the same model. To protect the confidentiality of information, for example, as described in Japanese Patent Laid-Open No. 56-153462, when the input code string and the secret code string match, the protection of the confidential processing is canceled and the confidential service is provided. It is known that the parts operate, but the date of the hardware,
No consideration is given to treating time as a secret code.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

上記従来技術では、プログラムプロダクトをユーザに提
供する場合、プログラム実行の禁止が配慮されておら
ず、プログラムをコピーした媒体が、同一機種の他のハ
ードウェアでも実行できるため、プログラムの保護が図
れないという問題があった。
In the above conventional technology, when the program product is provided to the user, the prohibition of the program execution is not taken into consideration, and the medium in which the program is copied can be executed by other hardware of the same model, so the program cannot be protected. There was a problem.

本発明の目的は、このような従来の問題を解決し、同一
機種の他のハードウェアでは、コピーしたプログラムの
実行が禁止可能なプログラム実行禁止方式を提供するこ
とにある。
An object of the present invention is to solve such a conventional problem and to provide a program execution prohibition method capable of prohibiting execution of a copied program on other hardware of the same model.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点を解決するため、本発明では、プログラム媒
体をある指定のハードウェアにセットしたとき、該プロ
グラム媒体の固有情報として、上記ハードウェアに内蔵
されたタイマによりカウントされる年月日・時分秒から
なる乱数値およびプログラム媒体内の各プログラム毎の
プログラム登録情報を、上記ハードウェア内の電池付バ
ックアップRAMおよび上記プログラム媒体に書込むこ
とにより、上記指定以外のハードウェアによるプログラ
ム実行を禁止することに特徴がある。
In order to solve the above-mentioned problems, according to the present invention, when a program medium is set in certain designated hardware, the date and time counted by a timer built in the hardware is set as unique information of the program medium. By writing the random number consisting of minutes and seconds and the program registration information for each program in the program medium to the backup RAM with battery in the above hardware and the above program medium, the program execution by the hardware other than the above specified is prohibited. There is a feature in doing it.

〔作用〕[Action]

本発明における乱数値は、ハードウェアのタイマ値を使
用するが、年月日および時分秒の値であり、電池付バッ
クアップRAMおよびプログラム媒体上に書込む場合、
ハードウェア固有情報となり、ユニークな製番に対応す
る。また、そのバックアップRAMへ書込んだ情報はハ
ードウェアの電源が切断されても消えることはない。こ
れにより、プログラム媒体をコピーして同一機種の他の
ハードウェアでプログラム実行しようとしても、固有情
報(すなわち、乱数値)が一致しないため、プログラム
実行が禁止できる。
A hardware timer value is used as the random value in the present invention, but it is a value of year, month, day, hour, minute, and second, and when writing to the backup RAM with battery and the program medium,
It becomes hardware-specific information and corresponds to a unique serial number. Further, the information written in the backup RAM is not erased even when the power of the hardware is cut off. Accordingly, even if the program medium is copied and the program is executed by other hardware of the same model, the unique information (that is, the random number value) does not match, so that the program execution can be prohibited.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面により詳細に説明す
る。
An embodiment of the present invention will be described in detail below with reference to the drawings.

第2図は、本発明を適用した情報処理システムの構成図
である。
FIG. 2 is a block diagram of an information processing system to which the present invention is applied.

第2図において、10は各種データの処理を行う処理装
置、11はキーボード等の入力装置、12はフロッピー
ディスクまたはハードディスク等の外部記憶装置、13
はハードウェアタイマ、14はプログラムプロテクト情
報等を記憶する電池付バックアップRAM(以下、バッ
クアップRAMという)であり、処理装置10の電源が
切断されてもバックアップRAM14内の情報は記憶さ
れている。
In FIG. 2, 10 is a processing device that processes various data, 11 is an input device such as a keyboard, 12 is an external storage device such as a floppy disk or a hard disk, and 13
Is a hardware timer, and 14 is a backup RAM with a battery (hereinafter referred to as backup RAM) for storing program protect information and the like, and the information in the backup RAM 14 is stored even when the power of the processing device 10 is cut off.

第3図は、第2図はバックアップRAM14に記憶され
る情報テーブルの構成例を示す図である。
FIG. 3 is a diagram showing a configuration example of the information table stored in the backup RAM 14 shown in FIG.

第3図において、20はプログラムをプロテクトするた
めの情報等を格納する情報テーブル、21は情報テーブ
ル20内にセットされるプログラムプロテクト情報エリ
アである。
In FIG. 3, 20 is an information table for storing information for protecting a program, and 21 is a program protect information area set in the information table 20.

第4図は、第3図のプログラムプロテクト情報エリア2
1の形式を示す図である。
FIG. 4 shows the program protect information area 2 of FIG.
It is a figure which shows the form of 1.

第4図において、30はプログラムプロテクト情報を示
す識別子であり、以下では織別子“R”をセットするこ
とでプロテクト情報であることを示す。31は本情報処
理システムで規定した乱数値を示す。この乱数値は、後
述第6図に示す初期設定プログラムでセットする可変の
値である。32はプロテクトするプログラム登録情報を
示す。すなわち、プログラム対応に1ビットの情報を持
ち、0のとき未登録、1のとき登録済を示す。
In FIG. 4, reference numeral 30 is an identifier showing the program protect information, and in the following, it is shown that the protect information is set by setting the weaving machine “R”. Reference numeral 31 denotes a random number value defined by this information processing system. This random number value is a variable value set by the initial setting program shown in FIG. Reference numeral 32 indicates program registration information to be protected. That is, it has 1-bit information corresponding to the program, and 0 indicates unregistered and 1 indicates registered.

第5図は、プログラム媒体内に記憶されるプログラムプ
ロダクト固有情報テーブルの構成例を示す図である。こ
の固有情報テーブルは、プログラム媒体内の各プログラ
ムプロダクト(以下、PPという)毎にセットされるテ
ーブルであり、特定のディスクアドレス(書込み可能,
読出し不可エリア)に記憶する。
FIG. 5 is a diagram showing a configuration example of a program product unique information table stored in the program medium. This unique information table is a table set for each program product (hereinafter referred to as PP) in the program medium, and has a specific disk address (writable,
Store in the unreadable area).

第5図において、40は固有情報テーブルの識別子であ
り、以下では識別子“MS”がセットされているときは
正常なプログラム媒体として処理し、“MS”がセット
されていないときは不正なプログラム媒体として処理す
る。41は各PPのプログラム番号である。この値は、
第4図に示すプログラム登録情報32のビット位置に対
応し、該当プログラム番号のプログラムが指定のハード
ウェアで実行する登録済となる。42は登録区分を示
し,(0000)16のとき未登録、(FFFF)16のとき登
録済を示す。この登録区分42は、該当プログラム番号
のプログラムが指定のハードウェアで実行されたとき、
登録済,すなわ(FFFF)16となる。43は第4図の乱
数値31でセットされた値と同じ乱数値である。この乱
数値43は、該当プログラム番号のプログラムが指定の
ハードウェアで実行されたとき、バックアップRAM1
4内より入力し、このエリアにセットする。44は将来
拡張のための予備エリアである。ここで、プログラム媒
体(フロッピーディスク等)を出荷する前に各PP毎に織
別子“MS”およびPP番号(プログラム番号)をあら
かじめ書込んでおくものとする。
In FIG. 5, reference numeral 40 denotes an identifier of the unique information table. In the following, when the identifier “MS” is set, it is processed as a normal program medium, and when “MS” is not set, it is an invalid program medium. Process as. 41 is the program number of each PP. This value is
Corresponding to the bit position of the program registration information 32 shown in FIG. 4, the program of the corresponding program number is already registered to be executed by the designated hardware. Reference numeral 42 indicates a registration classification, where (0000) 16 indicates unregistered and (FFFF) 16 indicates registered. When the program of the corresponding program number is executed by the designated hardware, this registration section 42
Registered, it will be Sunawa (FFFF) 16 . 43 is the same random number value as the value set as the random number value 31 in FIG. This random number value 43 is used for the backup RAM 1 when the program of the corresponding program number is executed by the designated hardware.
Input from 4 and set in this area. Reference numeral 44 is a spare area for future expansion. Here, before shipping the program medium (such as a floppy disk), it is assumed that the fabric segregator “MS” and the PP number (program number) are written in advance for each PP.

第6図は、第2図のバックアップRAR14のプログラ
ムプロテクト情報エリア21に乱数をセッとする初期設
定プログラムの処理フローチャートである。以下、第2
図を用いて、第6図に従って乱数値セット動作を説明す
る。
FIG. 6 is a processing flowchart of the initial setting program that sets a random number in the program protect information area 21 of the backup RAR 14 of FIG. Below, the second
The random number value setting operation will be described with reference to FIG.

まず、入力処置11より任意の一文字が入力されると
(601)、処理装置10内になるプログラムで、ハード
ウェアタイマ13の年月日および時分秒を読取り、これ
を乱数値として記憶する(602)。
First, when an arbitrary character is input from the input procedure 11,
(601), the program stored in the processing device 10 reads the date and hour / minute / second of the hardware timer 13 and stores this as a random number value (602).

また、バックアップRAM14内のプログラムプロテク
ト情報を入力し(603)、識別子30が“R”であるか
チェックする(604)。“R”でなければ、識別子
“R”を求めた乱数値“年月日および時分秒”とをバッ
クアップRAM14に登録すると同時にグログラムプロ
ダクト(PP)登録情報エリア32をゼロクリアする(6
05,606)。
Further, the program protect information in the backup RAM 14 is input (603) and it is checked whether the identifier 30 is "R" (604). If it is not "R", the random number value "year, month, day and hour, minute, second" for which the identifier "R" is obtained is registered in the backup RAM 14 and, at the same time, the program (PP) registration information area 32 is cleared to zero (6
05,606).

なお、第6図のプログラムは第2図のハードウェア上で
最初に実行するプログラムである。
The program shown in FIG. 6 is the first program to be executed on the hardware shown in FIG.

プログラムプロテクト情報エリア21内のプログラム登
録情報32は、指定PP番号に対応するPP登録情報フ
ラグをセットすることにより記憶される。
The program registration information 32 in the program protection information area 21 is stored by setting the PP registration information flag corresponding to the designated PP number.

第1図は、本発明の一実施例を示すプログラム実行禁止
方式を説明するための図である。これは、処理装置10
による外部記憶装置12のプログラム実行時の処理フロ
ーを示し、プログラム実行をプロテクトするかどうかの
処理のプログラムは、外部記憶装置12にセットされる
プログラム媒体内の各PPに組込まれている。
FIG. 1 is a diagram for explaining a program execution prohibition system showing an embodiment of the present invention. This is the processing device 10
7 shows a processing flow when a program is executed in the external storage device 12 according to the above, and a program for processing to protect the program execution is incorporated in each PP in the program medium set in the external storage device 12.

まず、第2図のバックアップRAM14内の当該プログ
ラム番号に対応する登録情報を読み込み、PP登録情報
のチェックを行う(101)。このチェックは、まずプロ
グラムプロテクト情報エリア21の識別子が“R”であ
るか否かを見て、“R”でない場合は不正として処理を
終了する。“R”の場合は第6図の処理で得た乱数値3
1をパラメータテーブルにセットしておき、プログラム
登録情報32の指定PP番号に対応するPP登録情報フ
ラグをチェックする。
First, the registration information corresponding to the program number in the backup RAM 14 of FIG. 2 is read, and the PP registration information is checked (101). This check first checks whether the identifier of the program protect information area 21 is "R", and if it is not "R", it is determined to be incorrect and the process is terminated. In the case of "R", the random number value 3 obtained in the process of FIG. 6
1 is set in the parameter table, and the PP registration information flag corresponding to the designated PP number of the program registration information 32 is checked.

上述したPP登録情報チェックの後(102)、PP登録
情報フラグが未登録の場合、第2図の外部記憶装置12
にセットされている当該プログラム媒体の固有情報を入
力し(103)、識別子40が“MS”かどうかチェック
する(104)。“MS”でないときは、不正なプログラ
ム媒体であるため、「本プログラムは実行できません」等
のエラーメッセージを表示装置(図示せず)に出力し(1
10)、本プログラムの実行を禁止する。“MS”であ
るときは、正常な媒体として処理し、第5図の登録区分
42のチェックを行い(105)、未登録のときはバック
アップRAM14内のプログラム登録情報32当該PP
番号に対応するヒットを“1”とする(106)。次にバ
ックアップRAM14内のプログラム登録情報32を調
べ、正常であれば(107)、PP媒体固有情報内の登録
区分42を(FFFF)16にセットし(108)、プログラ
ムプロダクト情報エリア内の乱数値をエリア43にセッ
トする(109)。
After checking the PP registration information (102), if the PP registration information flag is not registered, the external storage device 12 of FIG.
The unique information of the program medium set in (1) is input (103), and it is checked whether the identifier 40 is "MS" (104). If it is not "MS", it is an illegal program medium and an error message such as "This program cannot be executed" is output to the display device (not shown) (1
10) Prohibit execution of this program. If it is "MS", it is processed as a normal medium and the registration section 42 of FIG. 5 is checked (105). If it is not registered, the program registration information 32 in the backup RAM 14 32
The hit corresponding to the number is set to "1" (106). Next, the program registration information 32 in the backup RAM 14 is checked, and if normal (107), the registration division 42 in the PP medium unique information is set to (FFFF) 16 (108), and the random number value in the program product information area is set. Is set in the area 43 (109).

バックアップRAM14内の当該プログラム番号に対応
する登録情報が登録済の場合(102)、PP媒体固有情
報を入力し(111)、バックアップRMA14内の乱数
値とプログラムプロダクト媒体固有情報内の乱数値が一
致しなければ(112)、処理110を行い、当該プロ
グラムの実行を禁止する。一致したときは、各PPを実
行する。
When the registration information corresponding to the program number in the backup RAM 14 is already registered (102), the PP medium unique information is input (111), and the random number value in the backup RMA 14 and the random number value in the program product medium unique information are equal. If not (112), the process 110 is performed to prohibit the execution of the program. When they match, each PP is executed.

このように、本実施例においては、プログラムプロダク
トが指定したハードウェア以外での実行を禁止すること
ができる。
As described above, in this embodiment, it is possible to prohibit the execution of the program product other than the hardware designated by the program product.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明によれば、同一機種の他の
ハードウェアでは、コピーしたプログラムの実行を禁止
でき、プログラムの保護が図れるようになる。
As described above, according to the present invention, the execution of the copied program can be prohibited by other hardware of the same model, and the program can be protected.

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

第1図は本発明の一実施例を示すブログラム実行禁止方
式を説明するための図、第2図は本発明を適用した情報
処理システムの構成図、第3図はバックアップRAMに
記憶される情報テーブル構成図、第4図はプログラムプ
ロテクト情報エリアの形式を示す図、第5図はプログラ
ム媒体内に記憶されるプログラムプロダクト固有情報テ
ーブル構成図、第6図は乱数をセットするプログラムの
処理フローチャートである。 30:プログラムプロテクト情報識別子、31:乱数
値、32:プログラム登録情報、40:固有情報テーブ
ル識別子、41:プログラムプロダクト番号、42:登
録区分、43:乱数値、44:予備エリア。
FIG. 1 is a diagram for explaining a program execution prohibition system showing an embodiment of the present invention, FIG. 2 is a block diagram of an information processing system to which the present invention is applied, and FIG. 3 is stored in a backup RAM. 4 is an information table configuration diagram, FIG. 4 is a diagram showing the format of the program protection information area, FIG. 5 is a configuration diagram of the program product unique information table stored in the program medium, and FIG. 6 is a processing flowchart of a program for setting a random number. Is. 30: program protect information identifier, 31: random number value, 32: program registration information, 40: unique information table identifier, 41: program product number, 42: registration classification, 43: random number value, 44: spare area.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】プログラム媒体をある指定のハードウェア
にセットしたとき、該プログラム媒体の固有情報とし
て、上記ハードウェアに内蔵されたタイマによりカウン
トされる年月日・時分秒からなる乱数値およびプログラ
ム媒体内の各プログラム毎のプログラム登録情報を、上
記ハードウェア内の電池付バックアップRAMおよび上
記プログラム媒体に書込むことにより、上記指定以外の
ハードウェアによるプログラム実行を禁止することを特
徴とするプログラム実行禁止方式。
1. When a program medium is set in certain designated hardware, a unique value of the program medium includes a random number value consisting of year / month / day / hour / minute / second counted by a timer built in the hardware and A program characterized by prohibiting program execution by hardware other than the above-mentioned designation by writing the program registration information for each program in the program medium in the backup RAM with battery in the hardware and the program medium Execution prohibition method.
JP61280034A 1986-11-25 1986-11-25 Program execution prohibition method Expired - Lifetime JPH0612521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61280034A JPH0612521B2 (en) 1986-11-25 1986-11-25 Program execution prohibition method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61280034A JPH0612521B2 (en) 1986-11-25 1986-11-25 Program execution prohibition method

Publications (2)

Publication Number Publication Date
JPS63132336A JPS63132336A (en) 1988-06-04
JPH0612521B2 true JPH0612521B2 (en) 1994-02-16

Family

ID=17619372

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61280034A Expired - Lifetime JPH0612521B2 (en) 1986-11-25 1986-11-25 Program execution prohibition method

Country Status (1)

Country Link
JP (1) JPH0612521B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02165334A (en) * 1988-12-20 1990-06-26 Nec Corp Program protection system
JPH04111126A (en) * 1990-08-31 1992-04-13 Nec Corp Device identification number deciding system and identification system for application of software storage medium
AU6837996A (en) * 1995-12-11 1997-07-03 Akira Sugiyama Device for generating characteristic time and authentication apparatus using such device
JP4391056B2 (en) * 2002-04-15 2009-12-24 ソニー株式会社 Information management apparatus and method, recording medium, and program
JP2008065785A (en) 2006-09-11 2008-03-21 Ricoh Co Ltd Unauthorized use prevention system

Also Published As

Publication number Publication date
JPS63132336A (en) 1988-06-04

Similar Documents

Publication Publication Date Title
US4748561A (en) Method of protecting computer software
US4584641A (en) Copyprotecting system for software protection
CN1545657A (en) Method for backing up and recovering data in hard disk of computer
JPH01129328A (en) Copy preventing device
JPS63213027A (en) Software copy protection system
JPH0612521B2 (en) Program execution prohibition method
CN101349980B (en) Hard disk data backup and protection method
JPH07325712A (en) Illicit copy preventing device for program
US7882353B2 (en) Method for protecting data in a hard disk
US7529973B2 (en) Method of and apparatus for taking back-up and checking alteration of data, and computer product
JP3834241B2 (en) Software recording unit separation type information processing apparatus and software management method
JPS599937B2 (en) information processing equipment
JPH0244448A (en) Floppy disk
JP3302593B2 (en) Software copyright protection device
JPH02244353A (en) Copying prevention system for program
JPS6279526A (en) Software protecting system
JP4596602B2 (en) Nonvolatile memory data management method
JPH0449423A (en) Method for preventing software from being illegally copied
JPS59229646A (en) Without-permission use inhibiting device of coded program
JPH10207778A (en) Method for protecting data security and device therefor
JPH05334195A (en) Information processor
JPH08185347A (en) Method for retracting/restoring file
JPS62251833A (en) Computer system
JPS62236035A (en) Software protecting system
JPS6329357A (en) Copy protect method for floppy disk