JPH0363854A - Data protective circuit - Google Patents

Data protective circuit

Info

Publication number
JPH0363854A
JPH0363854A JP1201617A JP20161789A JPH0363854A JP H0363854 A JPH0363854 A JP H0363854A JP 1201617 A JP1201617 A JP 1201617A JP 20161789 A JP20161789 A JP 20161789A JP H0363854 A JPH0363854 A JP H0363854A
Authority
JP
Japan
Prior art keywords
rom
read
processor
software
data
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
JP1201617A
Other languages
Japanese (ja)
Inventor
Hideaki Fujimori
藤森 英明
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP1201617A priority Critical patent/JPH0363854A/en
Publication of JPH0363854A publication Critical patent/JPH0363854A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To protect information desired not to be recognized from a general user by applying control in such a way that a select signal is prohibited to be inputted to a ROM(Read Only Memory) which holds protect data unless it is reset after reading the protect data once. CONSTITUTION:The circuit consists of a processor 1, the ROM 102 which holds data to be protected, a decoder 103 to make access from the processor 1 to the ROM 102, control logic which applies the control in such a way that no ROM 102 can be accessed unless it is reset after the ROM 102 is accessed from the processor 101 once i.e. a flip-flop 104, and an OR 105. When the system is started, the content of the ROM 102 is read once, and the content of the ROM 102 is prohibited to read again from software, and when charged software is executed, a device number read when the system is started is compared with a device number held in the software, and the software is executed when coincidence is obtained, and is not executed when noncoincidence is obtained. Thereby, information is protected from being read easily by the user.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報処理装置に関し、特にデータをプロテクト
する方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an information processing device, and particularly to a method for protecting data.

〔従来の技術〕[Conventional technology]

情報処理装置においては、装置の識別番号をROM(R
ead  0nly  Memory)にもたせている
ものがある、これは有償ソフトウェアの不正コピーを行
わさないための手段に用いている。その方法は有償ソフ
トウェアにも装置の番号を保持させ、そのソフトウェア
をロードしたときにそのソフトウェア側で保持した装置
番号と装置のROMに入っている識別番号とを比較する
In information processing equipment, the identification number of the equipment is stored in the ROM (R
This is used as a means to prevent unauthorized copying of paid software. In this method, the paid software also stores the device number, and when the software is loaded, the device number held by the software is compared with the identification number stored in the ROM of the device.

そして、もし一致していればその有償ソフトウェアは対
応する装置上での実行なので、実行に移る。もし一致し
ていなければ不正に有償ソフトウェアをコピーして他の
装置上で実行させようとしたので、実行に移らず、「こ
の装置では実行できません、」等の警告を出力して終了
する。
Then, if they match, the paid software is to be executed on the corresponding device, so the process moves to execution. If they do not match, an attempt was made to illegally copy the paid software and run it on another device, so the program does not proceed with execution and outputs a warning such as "Cannot be executed on this device" and exits.

このように装置の識別番号はソフトウェアの著作権保護
上重要な情報であるが、従来の技術ではハードウェアと
しては単にROMにその識別番号を記憶させているだけ
であった。
As described above, the identification number of the device is important information for software copyright protection, but in the conventional technology, the hardware simply stores the identification number in the ROM.

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

上述した従来の識別情報を単にROMに持たせる方式で
は、ユーザがROMの内容を読みだそうと思えばメモリ
ロードの命令で読出し可能なので識別情報をプロテクト
するには不十分であり、識別情報をユーザが知ることに
より悪用される危険があった。
The conventional method described above in which the identification information is simply stored in the ROM is insufficient to protect the identification information because if the user wants to read the contents of the ROM, he or she can read it with a memory load command. There was a risk that it could be misused if the user knew about it.

本発明の目的はユーザが上記のように容易には情報を読
みだせないようなデータプロテクトの手段を提供するこ
とである。
An object of the present invention is to provide data protection means that prevents users from easily reading out information as described above.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のデータプロテクト回路は、プロテクトするデー
タを保持する記憶手段と、その記憶手段をプロセッサか
らアクセス可能にするアドレスデコード手段と、プロテ
クトするデータを保持する記憶手段をプロセッサから一
度アクセスするとリセットしない限り再度アクセスする
ことはできないようにする制御手段とを有する。
The data protection circuit of the present invention includes a storage means for holding data to be protected, an address decoding means for making the storage means accessible from a processor, and a storage means for holding data to be protected. and control means for preventing access again.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第1図は本発明の一実施例を示すブロック図である。同
図において、データプロテクト回路は、プロセッサ10
1と、プロテクトするデータを保持するROM102と
、プロセッサ101からROM 102をアクセスする
ためのデコーダ103と、−度プロセッサ101からR
OM 102をアクセスするとリセットしない限り再度
ROM102をアクセスできないようにする制御ロジッ
ク、すなわちフリップフロップ104と論理和105か
らなる。
FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, the data protection circuit includes a processor 10.
1, a ROM 102 holding data to be protected, a decoder 103 for accessing the ROM 102 from the processor 101, and a ROM 102 for storing data to be protected;
It consists of control logic, that is, a flip-flop 104 and an OR 105, which prevents the ROM 102 from being accessed again unless the ROM 102 is accessed once the OM 102 is accessed.

これらを結ぶ信号線は、 106  リセット信号(0)のときリセット)フリッ
プフロック104をリセットす る。
A signal line connecting these resets the flip-flop 104 (reset when the reset signal is 0).

107  アドレスバス 108  データバス 109  AS(アドレスストローブ、Oのときアドレ
スバス有効) 110  R/W(リードのとき1、ライトのとき0) 111  その他の制御線りここでは特に言及しない、
プロセッサへのアクルッジ信 号等、〉 112  ROM102をセレクトする信号(Oのとき
セレクト、) 113 セレクト信号をマスクする信号114 セレク
ト信号112とマスク信号113の論理和で、ROM 
102のセレクト信号の入力信号 115 フリップフロップ104のデータインプット(
つねに1) である。
107 Address bus 108 Data bus 109 AS (address strobe, address bus valid when O) 110 R/W (1 for read, 0 for write) 111 Other control lines Not specifically mentioned here.
Acknowledge signal to processor, etc.〉 112 Signal to select ROM 102 (selected when O) 113 Signal to mask select signal 114 Logical sum of select signal 112 and mask signal 113, ROM
Input signal 115 of select signal of 102 Data input of flip-flop 104 (
It is always 1).

次に、このように構成されたデータプロテクト回路の動
作について説明する。
Next, the operation of the data protection circuit configured as described above will be explained.

リセットされた直後の状態ではフリップフロップ104
の出力113は0であり、デコーダlO3の出力112
はマスクされない、したがってプロセッサ101がRO
M102をアクセスすることが可能になっている。すな
わちプロセッサ101がROM 102をリードすると
き、デコーダ103の出力112はOすなわちセレクト
となる。フリップフロップ104の出力113もOなの
で論理和105の出力114はOになりROM102が
セレクトされる。したがってROMIO2の内容〈プロ
テクトデータ〉をプロセッサ101は読むことができる
In the state immediately after being reset, the flip-flop 104
The output 113 of decoder lO3 is 0, and the output 112 of decoder lO3
is not masked, so processor 101
It is now possible to access M102. That is, when the processor 101 reads the ROM 102, the output 112 of the decoder 103 becomes O, ie, select. Since the output 113 of the flip-flop 104 is also O, the output 114 of the logical sum 105 becomes O, and the ROM 102 is selected. Therefore, the processor 101 can read the contents (protected data) of ROMIO2.

このリードサイクルの終了時にデコーダ103の出力1
12が0から1に変わる。これがフリップフロップ10
4のクロック(CK)に入力されることにより、フリッ
プフロップの出力113は0から1になる。したがって
、このリードサイクルが終了した後はプロセッサ101
がROM 102をリードしようとしてもデコーダ10
3の出力を出力113がマスクしてしまうので、ROM
 102はセレクトされない、すなわちROM102の
内容は読めなくなる。
At the end of this read cycle, the output of decoder 103 is 1.
12 changes from 0 to 1. This is flip flop 10
By being inputted to the clock (CK) of 4, the output 113 of the flip-flop changes from 0 to 1. Therefore, after this read cycle ends, the processor 101
Even if the decoder 10 tries to read the ROM 102,
Since the output 113 masks the output of 3, the ROM
102 is not selected, that is, the contents of ROM 102 cannot be read.

このようなハードウェア機構を設けることにより、シス
テム立上げ時に一度ROM102の内容(装置番号〉を
読み、それ以後はソフトウェアからROM 102の内
容を読めなくする(データをプロテクトする)ことがで
きる。
By providing such a hardware mechanism, the contents of the ROM 102 (device number) can be read once at system start-up, and thereafter the contents of the ROM 102 can be prevented from being read by software (data is protected).

有償ソフトウェアを実行するときには、立上げ時に読ん
だ装置番号と有償ソフトウェアで保持している装置番号
を比較し、等しければ実行し、等しくなければ実行しな
いようにする。
When executing paid software, the device number read at startup is compared with the device number held by the paid software, and if they are equal, it is executed, and if they are not equal, it is not executed.

なお、ROM 102はリセットすればまたプロセッサ
からり−ド(1回だけ〉することができる。
Note that if the ROM 102 is reset, it can be read again from the processor (only once).

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、−度プロテクトデータを
リードするとリセットしない限りプロテクトデータを保
持するROMにセレクト信号がいかないように制御する
ことにより、一般ユーザには知られたくない情報をプロ
テクトすることができる。
As explained above, the present invention protects information that general users do not want to know by controlling so that when the protected data is read, the select signal is not sent to the ROM that holds the protected data unless it is reset. I can do it.

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

第1図は本発明−のデータプロテクト回路の一実施例を
示すブロック図である。 101・・・プロセッサ、102・・・プロテクトする
データを保持するROM、103・・・デコーダ、10
4・・・フリップフロップ、105・・・論理和。
FIG. 1 is a block diagram showing an embodiment of a data protection circuit according to the present invention. 101... Processor, 102... ROM holding data to be protected, 103... Decoder, 10
4...Flip-flop, 105...Logic OR.

Claims (1)

【特許請求の範囲】[Claims] プロテクトするデータを保持する記憶手段と、その記憶
手段をプロセッサからアクセス可能にするアドレスデコ
ード手段と、プロテクトするデータを保持する記憶手段
をプロセッサから一度アクセスするとリセットしない限
り再度アクセスすることはできないようにする制御手段
とを有するデータプロテクト回路。
A storage means for holding data to be protected, an address decoding means for making the storage means accessible from the processor, and a storage means for holding the data to be protected cannot be accessed again from the processor unless reset. a data protection circuit having a control means for controlling the data protection circuit;
JP1201617A 1989-08-02 1989-08-02 Data protective circuit Pending JPH0363854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1201617A JPH0363854A (en) 1989-08-02 1989-08-02 Data protective circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1201617A JPH0363854A (en) 1989-08-02 1989-08-02 Data protective circuit

Publications (1)

Publication Number Publication Date
JPH0363854A true JPH0363854A (en) 1991-03-19

Family

ID=16444030

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1201617A Pending JPH0363854A (en) 1989-08-02 1989-08-02 Data protective circuit

Country Status (1)

Country Link
JP (1) JPH0363854A (en)

Similar Documents

Publication Publication Date Title
JP3710671B2 (en) One-chip microcomputer, IC card using the same, and access control method for one-chip microcomputer
JP2788590B2 (en) Memory protection device and address generation method
JP3529800B2 (en) Data protection microprocessor circuit for portable data carrier
JPS60189554A (en) Data processing system
EP0661642B1 (en) Microcomputer with memory read protection
JPS61195443A (en) Method of protecting system file in data processing system and data processing system
JP2004240536A (en) Information processing equipment
JPS5992500A (en) Protection system for data processor
JP2001005726A (en) Memory address space expanding device and storage medium stored with program
JP2004005679A (en) Computer system, memory structure, and method of executing program
JP2005316599A (en) Interrupt control device
EP0892955B1 (en) Method and apparatus for protecting data using lock values in a computer system
WO2007040228A1 (en) Information processing device, information processing method, and program
US5742826A (en) Object encapsulation protection apparatus
JPH0363854A (en) Data protective circuit
JP4739206B2 (en) Transfer of security data between two memories
JPH01261760A (en) computer equipment
JPH0538385A (en) Program copy preventing device
JPS6225214B2 (en)
JPS63279341A (en) Memory integrated circuit
JPH03278255A (en) Information processor
JPS6155754A (en) Memory protection system
JPS6054691B2 (en) Memory protection method for information processing equipment
JPH02138622A (en) Microprocessor
JP2005235071A (en) Information processor, information processing method, program, and recording medium