[go: up one dir, main page]

JPS62251833A - computer system - Google Patents

computer system

Info

Publication number
JPS62251833A
JPS62251833A JP61096055A JP9605586A JPS62251833A JP S62251833 A JPS62251833 A JP S62251833A JP 61096055 A JP61096055 A JP 61096055A JP 9605586 A JP9605586 A JP 9605586A JP S62251833 A JPS62251833 A JP S62251833A
Authority
JP
Japan
Prior art keywords
processing device
software
identification information
stored
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP61096055A
Other languages
Japanese (ja)
Inventor
Junichi Yamamoto
純一 山本
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 JP61096055A priority Critical patent/JPS62251833A/en
Publication of JPS62251833A publication Critical patent/JPS62251833A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent a program to be used by a device other than a specified one by reading out the program only when the device coincides with device discriminating information previously registered in an external storage medium. CONSTITUTION:A system forming program 9 stores a random number of eight digits generated from a random number generating part 3 at the formation of the system in an area 5. The value becomes the discrimination number of a processor. The information can be used only by the system forming program 9, and once the information is set up, the information may not be changed. At the registration of provided software, the system forming program stores the discriminating information stored in the area 5 in a discriminating information setting area 7 of an external storage medium 6. An operating system 10 compares the discriminating information of the area 5 with the information of the medium 6, and only at the time of coincidence, reads out instruction data.

Description

【発明の詳細な説明】 3.5allJI(7)詳、G11lな説明【産業上の
利用分野〕 本発明は、計算機システムに関し、特に処理装置Ifと
その上で動作するプログラムを別々に提供するシステム
において、正当な権限を有する処理装置上においてのみ
提供プログラムが実行できるようにした計算機システム
に関するものである。
Detailed Description of the Invention: 3.5allJI(7) Detailed, G11l Explanation [Field of Industrial Application] The present invention relates to a computer system, and particularly to a system that separately provides a processing device If and a program running thereon. The present invention relates to a computer system in which a provided program can be executed only on a processing device having proper authority.

〔従来の技術〕[Conventional technology]

従来、ソフトウェアの保護にあたって、そのソフトウェ
アが指定された処理装置でのみ稼働させるため、該提供
ソフトウェアに対応した個別情報を保持する特殊なハー
ドウェア回路を、該ソフトウェアの提供と共に提供し、
それが処理装置に実装されていることを判別し、ソフト
ウェアを保護する方式が採られていた。この方式による
と、1つの処理装置上で複数の提供ソフトウェアを実行
させるためには、複数の上記特殊なハードウエア回路を
追加する必要があり、コスト的にも不利であり、また処
理装置の実装エリアにも上限があるため、実行できるソ
フトウェアが限られてしまうという問題があった。
Conventionally, when protecting software, in order to run the software only on a designated processing device, a special hardware circuit that holds individual information corresponding to the provided software is provided along with the provided software.
A method was adopted to protect the software by determining whether it was installed on a processing device. According to this method, in order to run multiple pieces of provided software on one processing device, it is necessary to add multiple special hardware circuits, which is disadvantageous in terms of cost, and also requires the implementation of the processing device. Since there is also an upper limit on the area, there was a problem in that the software that could be executed was limited.

また、ソフトウェアを実行する前に処理装置に該特殊ハ
ードウェア回路を実装する必要があり、使用考にとって
は、扱いづらいという問題もあった。これらの問題を解
決する方式として、特開昭50 231650号公報に
記載されているようなソフトウェア保護処理方式が提案
されている。
Furthermore, it is necessary to install the special hardware circuit in the processing device before executing the software, which poses a problem that it is difficult to use. As a method for solving these problems, a software protection processing method as described in Japanese Patent Laid-Open No. 50-231650 has been proposed.

それによれば、指定の処理装置で始めてソフトウェアを
稼働させるとき5もしくは外部記憶媒体のの内容を複写
するときに、その処理装置〃のCP[J−LDを、該記
録媒体の特殊な領域に書込み、以後両押を比較し、一致
するときのみそのソフトウェアの稼働を認めるというも
のである。
According to this, when running software on a designated processing device for the first time, or when copying the contents of an external storage medium, the processing device's CP[J-LD is written to a special area of the storage medium. After that, both presses are compared, and only when they match, the software is allowed to operate.

一般に処理装置のCPtJ−T Oとしては、5!J造
番号等が採用され、スイッチ回路にて、処理装置個有に
提供されている。上記特開昭59−231650号公報
においてはCI) U −I Dの提供については配慮
されていなかった。
Generally, the CPtJ-T O of a processing device is 5! J construction number etc. are adopted and are provided to each processing device individually in the switch circuit. In the above-mentioned Japanese Patent Laid-Open No. 59-231650, no consideration was given to the provision of CI) U-ID.

〔発明が解決しようとする問題点] しかしながら、従来のようにスイッチ回路によりCI’
 LJ −11)を構成する方式では、ハードウェアコ
ス]・が」1昇するとともに、製造において、一台の処
理装置ごとに個有のスイッチ設定が必要であり、製造上
非常に不都合であるという問題があった。
[Problems to be solved by the invention] However, as in the conventional switch circuit, CI'
The method of configuring LJ-11) increases the hardware cost by 1, and requires unique switch settings for each processing device during manufacturing, which is extremely inconvenient for manufacturing. was there.

本発明の目的は、二のような従来の問題を解決し、特別
なスイッチ回路等のハードウェアを不要とし、かつ、ソ
フトウェア保護処理が可能な計算機システムを提供する
ことにある。
An object of the present invention is to solve the second conventional problem, to provide a computer system that does not require hardware such as a special switch circuit, and is capable of software protection processing.

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

上記問題点を解決するため、本発明では、処理装置と該
処理装置上で動作するプログラム等からなるソフトウェ
アを別々に提供する計算機システムにおいて、上記処理
装置は、電池バックアップメモリやE”FROM等の不
揮発性メモリと、乱数発生手段とを備え、システム構成
定義時に、上記乱数発生手段により発生させた乱数を、
上記処理袋2tの装置識別情報として、上記不揮発性メ
モリに格納すると同時に、提供されるソフトウェアの命
令データが格納されている記録媒体上に、上記装置識別
情報を格納し、−に記記録媒体からの上記提供ソフトウ
ェアの命令データの読み出しに当って、上記不揮発性メ
モリに格納されている装置識別情報と上記記録媒体に格
納されている装置識別情報とを比較し、一致した場合に
のみ命令データの読み出しを行うことに特徴がある。
In order to solve the above-mentioned problems, the present invention provides a computer system that separately provides software consisting of a processing device and a program that runs on the processing device. It is equipped with a nonvolatile memory and a random number generation means, and when defining the system configuration, the random number generated by the random number generation means is
As the device identification information of the processing bag 2t, the device identification information is stored in the non-volatile memory, and at the same time, the device identification information is stored on a recording medium in which command data of the software to be provided is stored, and from the recording medium written in -. When reading the instruction data of the software provided above, the device identification information stored in the nonvolatile memory is compared with the device identification information stored in the recording medium, and only if they match, the instruction data is read. It is characterized by reading.

〔作用) 指定の処理装置でシステム構成定義を行う時に。[action] When defining the system configuration for a specified processing unit.

1乱数発生部により乱数を発生させ、その値をCI”し
J −1,1)として不揮発性メモリに格納すると同時
に、はじめてその処理装置でソフトウェアを稼働させる
とき、そのソフトウェアが格納されている記録媒体に上
記不揮発性メモリに格納されたC I)[J −11)
を書き込み、その記録媒体からのソフトウェアの読み出
しに当って、L記処理装置内の不揮ざ6刊メモリに格納
されているC I’ LJ −f I’)と。
1 A random number generator generates a random number, stores the value as CI" (J -1,1) in nonvolatile memory, and at the same time, when software is run on the processing device for the first time, the record where the software is stored is stored. CI) [J-11) stored in the above non-volatile memory in the medium
When writing the software and reading the software from the recording medium, C I' LJ -f I') stored in the non-volatile memory in the L processing device.

その記録媒体に格納されている(:IJJ−ID(以下
、[処理装置識別情報jという)とを比較し、一致した
場合にのみ上記ソフトウェアの読み出しを行うようにし
た9 を実施例〕 以1:、本発明の一実施例を、図面により詳細に説明す
る。
(:IJJ-ID (hereinafter referred to as [processing device identification information j)] stored in the recording medium, and the above software is read only if they match.9 is an embodiment) Below 1 : An embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例を示す計算機システムの構
成図である。
FIG. 1 is a configuration diagram of a computer system showing an embodiment of the present invention.

第1図において、■は提供ソフトウェアのプログラムを
オペレーティングシステムIOに上りロードして各種処
理を行う処理装置、2はバッテリバックアップメモリ4
に電源を供給するバッテリ、3は本発明により設けられ
た乱数発生部(乱数発生部の構成はソフトウェア、ハー
ドウェアのどちらで実現してもよい。)、4は本発明に
より設けられたバッテリバックアップメモリ(以下、単
に「メモリ」という)、5はメモリ4の処理装置識別情
報が格納されるエリア、6は提供ソフトウェアが格納さ
れている外部記録媒体、7は提供ソフトウェア中の処理
装置識別情報が設定される処理装置識別情報設定エリア
、8は提0(ソフトウェアの中のプログラムが格納され
るプログラム格納エリア、9はシステムを生成するため
のシステム生成プログラム、10はメモリ4内の処理装
置識別情報と処理装置識別情報設定エリア7内の情報と
の比較を行い、外部記録媒体6のプログラムをロードす
るオペレーティングシステム、11はロードされたプロ
グラムを格納するメインメモリ(RAM)である。
In FIG. 1, ■ is a processing device that loads the provided software program onto the operating system IO and performs various processes, and 2 is a battery backup memory 4.
3 is a random number generator provided according to the present invention (the configuration of the random number generator may be realized by either software or hardware); 4 is a battery backup provided according to the present invention. A memory (hereinafter simply referred to as "memory"), 5 is an area of the memory 4 in which processing device identification information is stored, 6 is an external recording medium in which the provided software is stored, and 7 is an area in which the processing device identification information in the provided software is stored. The processing device identification information setting area to be set, 8 is the program storage area where the program in the software is stored, 9 is the system generation program for generating the system, 10 is the processing device identification information in the memory 4 11 is a main memory (RAM) that stores the loaded program.

処理装置1にはバッテリ2.メインメモリ11゜乱数発
生手段3、およびバッテリ2よりf[!源供給を受ける
メモリ4がある。乱数発生部3は乱数を発生する機能を
有しており、本実施例では8桁の数値を乱数として発生
するものとする。メモリ4の中には処理装置識別情報を
格納するエリア5がある。一方、提供ソフトウェアが格
納される外部記録媒体6には決められたエリアに処理装
置識別情報設定エリア7とプログラム格納エリア8とが
ある。システム生成プログラム9はシステムを生成する
プログラムであり、処理装置lにロードされ実行する。
The processing device 1 includes a battery 2. From the main memory 11° random number generation means 3 and the battery 2, There is a memory 4 which receives power supply. The random number generator 3 has a function of generating random numbers, and in this embodiment, it is assumed that an 8-digit numerical value is generated as a random number. Within the memory 4 is an area 5 for storing processing device identification information. On the other hand, the external recording medium 6 in which the provided software is stored has a processing device identification information setting area 7 and a program storage area 8 in predetermined areas. The system generation program 9 is a program for generating a system, and is loaded into the processing device 1 and executed.

システム生成プログラム9はシステム生成時に乱数発生
H1+ 3により発生させた8桁の乱数を、エリア5へ
格納する。例えば、乱数発生部:3により発生した乱数
が“8201533ビ。
The system generation program 9 stores in area 5 an 8-digit random number generated by random number generation H1+3 during system generation. For example, the random number generated by the random number generator 3 is "8201533bi."

であれば、その値が処理装置識別情報となる。メモリ4
はバッテリ2により?LE ea+供給を受けているの
で処理装置lの電源がオフされても情報は消えることな
く残っているにの処理装fef gi別情報はシステム
生成プログラムのみが扱うことができ、−nJ定される
と変更することはない。システム生成プログラム9は提
供ソフトウェアを登録する登録機能も有している。この
登録機能は一般には提供ソフトウェアのバージョンや作
成日付等を登録するものであるが1本実施例においては
、さらに、エリア5に格納されている処理装置識別情報
を読み出し、提供ソフトウェアが格納されている外部記
録媒体6の中の処理装置識別情報設定エリア7に格納す
る。
If so, that value becomes the processing device identification information. memory 4
is due to battery 2? Since it is supplied with LE ea+, the information remains even if the power to the processing device L is turned off.The processing device fef gi information can only be handled by the system generation program, and -nJ is specified. and will not change. The system generation program 9 also has a registration function for registering provided software. This registration function generally registers the version, creation date, etc. of the provided software, but in this embodiment, it also reads out the processing device identification information stored in area 5 and registers the version and creation date of the provided software. The information is stored in the processing device identification information setting area 7 in the external recording medium 6.

このようにして、システム生成プログラム9による提供
ソフトウェアの登録が終了する0通常のオペレーティン
グシステム1oはシステム生成が終了した後に、処理装
置1にロードされる。しかし、本実施例で用いられるオ
ペレーティングシステムIOでは、そのシステム構成時
の処理装置識別情報判定部によりメモリ4の処理装置識
別情報と外部記録媒体(jの処理装置情報とを比較して
、一致したときのみ命令データの読み出しを行うことに
より、ソフトウェアの保護を図っている。
In this way, the normal operating system 1o, in which the registration of the provided software by the system generation program 9 is completed, is loaded into the processing device 1 after the system generation is completed. However, in the operating system IO used in this embodiment, the processing device identification information determination unit in the system configuration compares the processing device identification information in the memory 4 with the processing device information in the external storage medium (j), and determines whether they match. The software is protected by reading the instruction data only when the

第2図は、第1図のオペレーティングシステムの処理フ
ローチャートである。これは、提供ソフトウェアの中の
プログラム格納エリア8に格納されているプログラムを
ロードする場合の処理を示したものである。
FIG. 2 is a processing flowchart of the operating system of FIG. This shows the process when loading a program stored in the program storage area 8 in the provided software.

まず、提供ソフトウェアが格納されている外部記録媒体
6中の処理装置識別情報設定エリア7から設定された処
理装置識別情報の読み出しを行・う(ステップ2o1)
。次に、メモリ4のエリア5に格納されている処理装置
識別情報を読み出す(ステップ202)。読み出された
2つの処理装置識別情報の比較を行う(ステップ203
)。比較した結果、一致していれば、プログラム格納エ
リア8のプログラムをメインメモリ(RAM)11へロ
ードしくステップ204)、そのプログラムの実行を行
う(ステップ205)。一致していなければ、エラー処
理を行う(ステップ206)。
First, the set processing device identification information is read from the processing device identification information setting area 7 in the external recording medium 6 in which the provided software is stored (step 2o1).
. Next, the processing device identification information stored in area 5 of memory 4 is read out (step 202). The two read processing device identification information are compared (step 203).
). As a result of the comparison, if they match, the program in the program storage area 8 is loaded into the main memory (RAM) 11 (step 204), and the program is executed (step 205). If they do not match, error processing is performed (step 206).

本実施例では、システム構成時に設定された処理装置識
別情報を格納するメモリ4にバックアップメモリを用い
たが、書き込み可能な不揮発性メモリ(例えば、[>’
[’ROM)などを用いてもさしつかえない。また、本
実施例では、システム構成定義時に、乱数発生+inに
より乱数を発生させ、その値を処理装置識別情報として
処理装置のメモリに消えることなく格納し、さらに、そ
の識別情報を外部記り媒体の提供ソフトウェアに登録を
行い、双方の情報が一致した時のみプログラム(命令デ
ータ)、の読み出しを行うことにより、特別なスイッチ
回路等が不要となるばかりでなく、製造における工数も
削減できる。
In this embodiment, a backup memory is used as the memory 4 that stores the processing device identification information set at the time of system configuration, but a writable nonvolatile memory (for example,
['ROM) etc. may be used. Furthermore, in this embodiment, when defining the system configuration, a random number is generated using random number generation + in, the value is permanently stored in the memory of the processing device as processing device identification information, and the identification information is stored in an external storage medium. By registering in the software provided by , and reading the program (command data) only when the information on both sides matches, not only is there no need for special switch circuits, but the number of man-hours in manufacturing can also be reduced.

また、本実施例において発生される乱数の桁数は何桁に
設定してもよい。
Further, the number of digits of the random number generated in this embodiment may be set to any number of digits.

[発明の効果〕 以」−1悦明したように、本発明によれば、処理装置n
識別用に特別なスイッチ回路等のハードウェアが不要と
なり、また、製造において、個々の処理装置に番号を付
けるという作業は行わなくても、ソフトウェア保護すな
わち、ソフトウェアを指定外の処理装置で転用すること
を防止することができる。
[Effects of the Invention] As described above, according to the present invention, the processing device n
It eliminates the need for hardware such as special switch circuits for identification, and eliminates the need to number each individual processing device during manufacturing, making it possible to protect software, i.e., to prevent software from being diverted to a non-designated processing device. This can be prevented.

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

第1図は本発明の一実施例を示す計算機システムの構成
図、第2図はオペレーティングシステムの処理フローチ
ャートである。 1:処理装置、2:バッテリ、3:1L数発生手段、4
:メモリ(バッテリバックアップ)、6:外部記録媒体
、9ニジステム生成プログラム、10:オペレーティン
グシステム、11:メインメモリ。 特許出願人 株式会社 日 立 製 作 所第    
 1     図 L−J
FIG. 1 is a configuration diagram of a computer system showing an embodiment of the present invention, and FIG. 2 is a processing flowchart of an operating system. 1: Processing device, 2: Battery, 3: 1L number generation means, 4
: Memory (battery backup), 6: External recording medium, 9 System generation program, 10: Operating system, 11: Main memory. Patent applicant: Hitachi, Ltd.
1 Figure L-J

Claims (1)

【特許請求の範囲】[Claims] 1、処理装置と該処理装置上で動作するプログラム等か
らなるソフトウェアを別々に提供する計算機システムに
おいて、上記処理装置は、電池バックアップメモリやE
^2PROM等の不揮発性メモリと乱数発生手段とを備
え、システム構成定義時に、上記乱数発生手段により発
生させた乱数を上記処理装置の装置識別情報として上記
不揮発性メモリに格納すると同時に、提供されるソフト
ウェアの命令データが格納されている記録媒体上に上記
装置識別情報を格納し、上記記録媒体からの上記提供ソ
フトウェアの命令データの読み出しに当つて、上記不揮
発性メモリに格納されている装置識別情報と上記記録媒
体に格納されている装置識別情報とを比較し、一致した
場合にのみ命令データの読み出しを行うことを特徴とす
る計算機システム。
1. In a computer system that separately provides a processing device and software such as a program that runs on the processing device, the processing device has a battery backup memory or an electronic memory.
^2Equipped with a nonvolatile memory such as a PROM and a random number generation means, the random number generated by the random number generation means is stored in the nonvolatile memory as device identification information of the processing device at the time of system configuration definition, and is provided at the same time. The device identification information is stored on a recording medium in which software command data is stored, and the device identification information stored in the nonvolatile memory is used when reading the provided software command data from the recording medium. and device identification information stored in the recording medium, and reads instruction data only when they match.
JP61096055A 1986-04-24 1986-04-24 computer system Pending JPS62251833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61096055A JPS62251833A (en) 1986-04-24 1986-04-24 computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61096055A JPS62251833A (en) 1986-04-24 1986-04-24 computer system

Publications (1)

Publication Number Publication Date
JPS62251833A true JPS62251833A (en) 1987-11-02

Family

ID=14154760

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61096055A Pending JPS62251833A (en) 1986-04-24 1986-04-24 computer system

Country Status (1)

Country Link
JP (1) JPS62251833A (en)

Cited By (3)

* 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
US6049670A (en) * 1995-01-10 2000-04-11 Fujitsu Limited Identifier managing device and method in software distribution system
US7676401B2 (en) 1998-03-26 2010-03-09 Sharp Kabushiki Kaisha Data distribution system and data selling apparatus therefor, data retrieving apparatus, duplicated data detecting system, and data reproduction apparatus

Cited By (3)

* 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
US6049670A (en) * 1995-01-10 2000-04-11 Fujitsu Limited Identifier managing device and method in software distribution system
US7676401B2 (en) 1998-03-26 2010-03-09 Sharp Kabushiki Kaisha Data distribution system and data selling apparatus therefor, data retrieving apparatus, duplicated data detecting system, and data reproduction apparatus

Similar Documents

Publication Publication Date Title
JP3529800B2 (en) Data protection microprocessor circuit for portable data carrier
KR100444537B1 (en) Data processor
US6453397B1 (en) Single chip microcomputer internally including a flash memory
JPH0227687B2 (en)
JPS5992500A (en) Protection system for data processor
JPH01219982A (en) IC card
JP3376306B2 (en) Data processing apparatus and data processing method
JPH04215194A (en) Ic card
JPS62251833A (en) computer system
JPH03147086A (en) Ic card
JP3046328B2 (en) Pachinko game machine controller
JPH05225361A (en) Register rewriting system
JPS5958699A (en) Data storage system of nonvolatile ram
JPH05173894A (en) Information processor
JPH0769822B2 (en) Calculation register bypass check method
JP3039479B2 (en) Extended BIOS protection system
JP2581057B2 (en) Evaluation microcomputer
JPH06309236A (en) Illegal write detecting circuit for memory
JPS6234262A (en) Access system for nonvolatile memory
JPS62126448A (en) Memory management/protection method
JPH07271751A (en) Microcontroller incorporated with security circuit
JPS62266602A (en) Setting guard device for system parameter
JPS63266562A (en) semiconductor integrated circuit
JPH0676134A (en) Ic card
JPS58141500A (en) Memory management protecting system