JPS59212954A - Program robbery preventing device for electronic circuit - Google Patents
Program robbery preventing device for electronic circuitInfo
- Publication number
- JPS59212954A JPS59212954A JP58088219A JP8821983A JPS59212954A JP S59212954 A JPS59212954 A JP S59212954A JP 58088219 A JP58088219 A JP 58088219A JP 8821983 A JP8821983 A JP 8821983A JP S59212954 A JPS59212954 A JP S59212954A
- Authority
- JP
- Japan
- Prior art keywords
- terminal
- signal
- memory
- ram
- buffer
- 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
Links
- 230000002265 prevention Effects 0.000 claims description 2
- 230000002457 bidirectional effect Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 7
- 238000000034 method Methods 0.000 description 4
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 1
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
Abstract
Description
【発明の詳細な説明】
本発明はコンピュータのプログラム複写を防止するため
の電子回路におけるプログラム盗難防止装置に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a program theft prevention device in an electronic circuit for preventing computer program copying.
近年、マイクロコンピュータが普及し、その利用分野は
多方面にわたっている。オフィスオートメーション、パ
ーソナルコンピュータ、を子ゲーム機等々身近かなとこ
ろでマイクロコンピュータは太いに利用されている。そ
の反面、このマイクロコンピュータのプログラムが複写
されて不当に一使用されるということも相次ぎ発生して
おり、今般社会的問題として取り沙汰されている。した
がッテ、最近ではコンピュータのソフトウェアにも著作
権法による権利を認める傾向になってぎた。In recent years, microcomputers have become widespread, and their applications are wide-ranging. Microcomputers are widely used in everyday applications such as office automation, personal computers, and child game consoles. On the other hand, there have been a number of cases where microcomputer programs have been copied and used illegally, and this is currently being discussed as a social problem. Recently, however, there has been a trend to grant rights under copyright law to computer software as well.
しかし、現実的な問題としてソフトウェアが複写されて
使用された場合の実質的な損失は計り知れないものがあ
る。結局は、ソフトウェアを複写されないような対策を
講じる必要がある。However, as a practical matter, when software is copied and used, the substantial loss is immeasurable. Ultimately, it is necessary to take measures to prevent software from being copied.
本発明の目的は、このようにコンピュータのソフトウェ
アを複写されないような対策を開発することにある。An object of the present invention is to develop a countermeasure to prevent computer software from being copied in this way.
従来、複写防止の対策としては、ゲートアレイあるいは
ロジックアレイと呼ばれるLSI(大規模集積回路)を
カスタムIC(ユーザーの専用集積回路)として使用す
る方法がある。しかし、この方法もゲート回路を複数個
組み合わせて作ったものであり、入力と出力のデーター
からこのLSI の内部構造が解読される。しかしこの
方法は解読するための時間が多少長くなる程度のもので
あり、論理的に解読不可能という方法ではない。Conventionally, as a measure to prevent copying, there is a method of using an LSI (Large Scale Integrated Circuit) called a gate array or a logic array as a custom IC (a user's exclusive integrated circuit). However, this method is also made by combining multiple gate circuits, and the internal structure of this LSI can be decoded from input and output data. However, this method only takes a little longer to decipher, and is not logically impossible to decipher.
本発明者は上記の点を考慮し、マイクロコンビユータ内
においてデータバスの端子台の入力部分にバッファー回
路を構成し、記憶素子内に記憶されている内容を外部に
取り出せない機構を設けることにより本発明を完成させ
た。Taking the above points into consideration, the inventor constructed a buffer circuit at the input part of the terminal block of the data bus in the microcomputer, and provided a mechanism that prevents the contents stored in the memory element from being taken out. The present invention has been completed.
以下図面につき本発明の一実施例を詳細に説明する。An embodiment of the present invention will be described in detail below with reference to the drawings.
第1図は本発明の実施例を示したもので、小規模なマイ
クロコンピュータの回路図であり、端子台/を通して外
部回路に接続されるようになっている。、2はRAM、
3はcpu (セントラル・プロセッサ・ユニット)
、りはアドレスデコーダ、Eは電源、B1ハアドレスバ
ス、B2 k”!データバスで、これらは従来のものと
同様であるから、その詳細な説明を省略する。FIG. 1 shows an embodiment of the present invention, and is a circuit diagram of a small-scale microcomputer, which is connected to an external circuit through a terminal block. , 2 is RAM,
3 is cpu (central processor unit)
, ri is an address decoder, E is a power supply, B1 is an address bus, and B2 is a data bus, and since these are the same as those of the conventional ones, detailed explanation thereof will be omitted.
本発明においてはそのデータバスB2においてその端子
台/の入力部分に双方向バス・バッファ6な挿入する。In the present invention, a bidirectional bus buffer 6 is inserted into the input portion of the terminal block in the data bus B2.
このバス・パックアロは例えば第2図(イ)、(ロ)(
反転出力型)示の論理図を何するMsL?wtp/Mt
Lz、:zz7P(三菱電機株式会社製) 5N7Q
4LS、:2Fj (テキサスインストルメント社製)
。For example, this bus pack aro is shown in Figure 2 (a), (b) (
What should MsL do with the logic diagram shown (inverted output type)? wtp/Mt
Lz, :zz7P (manufactured by Mitsubishi Electric Corporation) 5N7Q
4LS, :2Fj (manufactured by Texas Instruments)
.
MB74tLB2¥! (富士通株式会社製)のような
双方向性バスドライバで第1図示のようにイネーブル端
子■と方向端子DIRとを有し、端子σにHすなわち/
信号が入力すると゛ディスイネーブルすなわちAB間が
不導通となる。端子汀にLすなわちθ信号が入力すると
AB間は導通するが方向端子DIRにθ信号が入力した
とぎはAからBへのみ導通し、方向端子り工Rに/信号
が入力したときにはBからAに導通する。なお、メモリ
ーリード信号すがHのとき(ライトのときを含む)はゲ
ートとの出力信号fがHとなり、双方向バスφバッファ
にの導通はBからAに向うものである。この方向を決め
るときにバスリクエストの信号りは常時Hになっている
ものである。MB74tLB2¥! (manufactured by Fujitsu Limited) has an enable terminal ■ and a direction terminal DIR as shown in the first diagram, and the terminal σ has an H or /
When a signal is input, it is disabled, that is, there is no conduction between AB. When L, that is, the θ signal, is input to the terminal terminal, conduction occurs between AB, but when the θ signal is input to the direction terminal DIR, conduction occurs only from A to B, and when the / signal is input to the direction terminal R, conduction occurs from B to A. conducts to. Note that when the memory read signal S is H (including when writing), the output signal f to the gate is H, and conduction to the bidirectional bus φ buffer is from B to A. When determining this direction, the bus request signal is always at H level.
端子台/のメモリーリード端子/aとCPU 3の端子
n間には例えばアンプのようなバッファ7な端子台/か
らは信号を通さないような向きに挿入する。It is inserted between the memory lead terminal /a of the terminal block / and the terminal n of the CPU 3 in such a direction that no signal is passed from the terminal block /, such as a buffer 7 such as an amplifier.
端子台/のバスリクエスト端子/bは0PUjの端子B
USRQ、に接続し、この接続線の信号りは+!Vの電
源に接続して常時Hすなわち/@号にあるようにし、端
子/bをLにしたときのみLすなLちO信号レベルに落
ちるようにする。Bus request terminal /b of terminal block / is terminal B of 0PUj
Connect to USRQ, and the signal on this connection line is +! It is connected to the V power supply so that it is always at H, that is, the /@ signal level, and drops to the L or L O signal level only when the terminal /b is set to L.
端子台/の書き込み端子/Cはインバータタを介して信
号gとしてRAM 2の端子R/Wに入力する0
アドレスデコーダグがリードアウト用のθ番地に割付け
られたとぎ端子yo より出る信号aはOとなる。The write terminal /C of the terminal block / is inputted to the terminal R/W of RAM 2 as a signal g via an inverter.0 When the address decoder is assigned to address θ for readout, the signal a output from the terminal yo is It becomes O.
上記信号aとbは入力及否定のアンド回路よりなるゲー
トjに入力し、その出力信号eを双方向バス・パックア
ロのイネーブル端子石に入力する。The signals a and b are input to a gate j consisting of an input and negative AND circuit, and the output signal e thereof is input to an enable terminal of the bidirectional bus pack-allo.
上記信号すとhは全否定のノア回路よりなるゲート/に
入力し、その出力信号f1.(双方向バス・バッファぶ
の方向端子DIRに入力する。The above signal f1.h is input to a gate consisting of a full-NOR circuit, and its output signal f1. (Input to the direction terminal DIR of the bidirectional bus buffer.
上記信号すとgはオア回路10に否定して入力し、その
否定出力信号Cは上記信号aと共に否定してアンド回路
//に入力し、この出力信号dをRAM 2のチップセ
レクト端子面に入力する。The above signal S and g are negated and inputted to the OR circuit 10, and the negated output signal C is negated together with the above signal a and inputted to the AND circuit //, and this output signal d is input to the chip select terminal surface of the RAM 2. input.
上記信号gはRAM 2のリード/ライト端子VWに入
力する。The signal g is input to the read/write terminal VW of the RAM 2.
次にこの装置の動作を説明する。Next, the operation of this device will be explained.
(1) プログラムを走らせたとぎのデータの流れ。(1) The flow of data when the program is run.
動f’fi中クロックパルス3aの信号によりCPU3
は、アドレス信号をアドレスバスB1を通して端子台/
、RAMJ及びアドレスデコーダ弘に送りRAM 、2
の中にプログラムが入っていれば、データバスB2を通
してCPU 3がその内容を読み出して命令を実行する
ことが出来る。RAM 2はアドレスデコーダ弘によっ
てメモリ番地の割り付けがなされている0θ番地に割付
けられていれば直ちにRAM 2のプログラムが走るこ
とになる。The CPU 3 is activated by the signal of the clock pulse 3a during the dynamic f'fi.
passes the address signal through the address bus B1 to the terminal block/
, send to RAMJ and address decoder Hiro RAM, 2
If a program is contained in the CPU 3, the CPU 3 can read the contents through the data bus B2 and execute instructions. If RAM 2 is allocated to address 0θ, which is the memory address allocated by the address decoder Hiroshi, the program in RAM 2 will immediately run.
(la)上記動作中、アドレスデコーダ弘によってRA
M 、2がチップセレクトされた時、すなわちアドレス
デコーダ弘の端子yoの出力信号a (アクティブ、し
、すなわち0)と0PU3のメモリーリード端子nの信
号b (アクティブ、L、すなわちO)で、オア回路l
Oの出力信号CはO、アンド回路//の出力信号dは0
でRAM 2の端子面にθ信号が入力したとき、その信
号aとbとがゲートjに入り、その出力信号e (H,
すなわち/)が双方向バス・バッファにのイネーブル端
子′5に入る。この端子?B+″−Hすなわち/の時は
双方向バス・バッファ乙のAB間がオフになるため端子
台/のデータバス上に信号は出てこない。したがってグ
ログシムを走らせているときにも′RAM 、2のデー
タが外部に表われることがない。(la) During the above operation, RA is
When M and 2 are chip selected, that is, the output signal a of the address decoder Hiro's terminal yo (active, i.e. 0) and the signal b of the memory read terminal n of 0PU3 (active, L, i.e. O), or circuit l
The output signal C of O is O, and the output signal d of AND circuit // is 0
When the θ signal is input to the terminal surface of RAM 2, the signals a and b enter the gate j, and the output signal e (H,
That is, /) enters the enable terminal '5 of the bidirectional bus buffer. This terminal? When B+''-H, that is, /, the line between A and B of the bidirectional bus buffer B is turned off, so no signal is output on the data bus of the terminal block /.Therefore, even when GLOGSIM is running, 'RAM, data is never exposed to the outside world.
(1b〉上記動作中、アドレスデコーダグによってRA
Mj以外のメモリーがチップセレクトされたとき、アド
レスデコーダの出力信号aはHすなわち/になる。よっ
てクー)1の出力信号eはメモリーリード信号すとは無
関係にL、すなわちθになり、双方向パスバッファ乙の
イネーブル端子丁にはθ信号が入力する。しかしその時
メモリーリード信号すがL、すなわちO(リードの時)
なのでゲートどの出力信号fIJ″−L、すなわち0に
なり、双方向バス・バッファ乙のDIR端子にはO信号
が人力し、双方向バス・バッファgの導通はAからBに
向かうのみである0したがってデータが外部に表われる
ことはない。(1b> During the above operation, RA is
When a memory other than Mj is chip-selected, the output signal a of the address decoder becomes H, that is, /. Therefore, the output signal e of C)1 becomes L, that is, θ, regardless of the memory read signal S, and the θ signal is input to the enable terminal of bidirectional path buffer B. However, at that time, the memory read signal is L, that is, O (when reading)
Therefore, the output signal fIJ''-L of the gate becomes 0, the O signal is applied to the DIR terminal of the bidirectional bus buffer B, and the conduction of the bidirectional bus buffer G only goes from A to B. Therefore, the data is never exposed to the outside world.
(2) 端子台/より故意にメモリーを読今出ぞ−う
としたとき 、 、、、/端子台
/のメモリーリード端子/aに強制的KLすなわちO信
号を入力しれバッファ7があるためにCPU 3のメモ
リーリード端子nの信号すをLにすることは出来ない。(2) When you intentionally try to read the memory from the terminal block/, a forced KL or O signal is input to the memory lead terminal /a of the terminal block/, and the CPU It is not possible to set the signal of the memory lead terminal n of No. 3 to L.
したがって信号すはH、オア回路10の出力信号Cは/
、アンド回路//の出力信号dは/となるのでRAM
2の端子面には/信号が入力し、チップセレクトが行な
われないのでRAM =2のデータが外部に表われるこ
とはない。したがって、端子台/からの操作によって動
的にしろ静的にしろRAM 2の内容な読み出すことは
出来ない。Therefore, the signal S is H, and the output signal C of the OR circuit 10 is /
, the output signal d of the AND circuit // becomes /, so the RAM
Since the / signal is input to the terminal surface of 2 and no chip selection is performed, the data of RAM=2 will not appear externally. Therefore, the contents of the RAM 2 cannot be read out dynamically or statically by operation from the terminal block.
なお、バッファ7が無い時はメモリーリード端子nを強
制的にLにするとゲート♂の出力信号fはLとなり、双
方向バス命バッファの方向決め端子DIRをLにする。Note that when the buffer 7 is not present, when the memory read terminal n is forcibly set to L, the output signal f of the gate ♂ becomes L, and the direction determining terminal DIR of the bidirectional bus instruction buffer is set to L.
この端子DIRがLの時はAからBへデーターが流れる
ような双方向ハス・バッファーを用いればよい。When this terminal DIR is at L, a bidirectional hash buffer that allows data to flow from A to B may be used.
゛(3) RAM2への書き込み。゛(3) Write to RAM2.
次にRAM 、!の中へのデーターを入れる時のことを
説明する。Next, RAM! Explain what happens when you input data into .
端子台/のバスリクエスト端子/bの信号りをLにする
と0PU3のアドレスバス、データバス、トジイ・ステ
ー ト制御出力信号が高インピーダンス状態になると同
時にクートトの出力信号fがLとなり、双方向バス・バ
ッファの方向決め端子1)工RをLKする。これは前述
の7bの動作で述べた通り双方向バス・バッファにはA
からBに向つ゛〔導通する。すなわち、データバスB2
は外部から内部へ向ってのみ導通する。When the signal of the bus request terminal /b of the terminal block / is set to L, the address bus, data bus, and state control output signal of 0PU3 become high impedance state, and at the same time, the output signal f of the output becomes L, and the bidirectional bus is activated.・LK the buffer direction determining terminal 1) R. As mentioned in operation 7b above, this means that the bidirectional bus buffer has A
from to B. That is, data bus B2
conducts only from the outside to the inside.
・そして端子台/からアドレスバスB1 及びデーター
バスB2にそれぞれアドレス及びデークーを送り、かつ
書き込み端子/Cに信号Hを入れるとインバータタの出
力信号gはLとなり、RAM uのリード/ライト端子
R/W をLにする。- Then, when the address and data are sent from the terminal block / to the address bus B1 and data bus B2, and the signal H is input to the write terminal /C, the output signal g of the inverter becomes L, and the read/write terminal R of the RAM u /W to L.
すなわち、指定されたアドレスにデーターバス上のデー
ターをRAM 2へ書き込んだことになる。That is, the data on the data bus is written to the RAM 2 at the specified address.
RAMを用い外部からRAMの中ヘプログラムな書き込
む方法Fマ前述した通りである。ここでRhMk用いる
替りに、既にプログラムな書き込んだROMを用いるこ
とも充分可畦である0このように、本発明は、メモリー
エOの種類によりその効用が制限されることはない。A method of writing a program into RAM from outside using RAM is as described above. Here, instead of using RhMk, it is quite possible to use a ROM in which a program has already been written.In this way, the effectiveness of the present invention is not limited by the type of memory O.
以上から明らかなように、本発明ではその電子回路を密
封して端子台/の端子からしか操作できないようにすれ
ば、メモリーの内容は外部から絶対に読み出すことは出
来ない0
したがって本発明によれば、解読不可能なマイクロコン
ピュータの製造を可能にし、これはマイクロコンピュー
タの応用分野、例えば、電子ゲーム機等に適用する際、
きわめてその効用は太きいものであ、る。As is clear from the above, in the present invention, if the electronic circuit is sealed so that it can only be operated from the terminal of the terminal block, the contents of the memory cannot be read from the outside. For example, it enables the production of unreadable microcomputers, which is useful when applied to microcomputer applications such as electronic game machines, etc.
Its benefits are extremely great.
第1図は、バッファー回路を設けたマイクロコンピュー
タの回路図、第2図(イ)、(ロ)は夫々双方向バッフ
ァを具体的に示す論理図である。
/・・・端子台、B2・・・データバス、乙・・・バス
・バツファー回路。
隻1図
算2図
(イフFIG. 1 is a circuit diagram of a microcomputer provided with a buffer circuit, and FIGS. 2(a) and 2(b) are logic diagrams specifically showing a bidirectional buffer. /...terminal block, B2...data bus, B...bus buffer circuit. 1 diagram, 2 diagrams (If
Claims (1)
台の入力部分にバッファー回路を設け、これにより記憶
素子内に記憶されている内容な外部に取り出せなくした
ことを特徴とする電子回路におけるプログラム盗難防止
装置。A program theft prevention device for an electronic circuit, characterized in that a buffer circuit is provided at the input part of a terminal block of a data bus in a microcomputer, thereby making it impossible to take out the contents stored in a storage element.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58088219A JPS59212954A (en) | 1983-05-18 | 1983-05-18 | Program robbery preventing device for electronic circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58088219A JPS59212954A (en) | 1983-05-18 | 1983-05-18 | Program robbery preventing device for electronic circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS59212954A true JPS59212954A (en) | 1984-12-01 |
Family
ID=13936772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58088219A Pending JPS59212954A (en) | 1983-05-18 | 1983-05-18 | Program robbery preventing device for electronic circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS59212954A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996034334A1 (en) * | 1995-04-27 | 1996-10-31 | Casio Computer Co., Ltd. | Device for executing enciphered program |
-
1983
- 1983-05-18 JP JP58088219A patent/JPS59212954A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO1996034334A1 (en) * | 1995-04-27 | 1996-10-31 | Casio Computer Co., Ltd. | Device for executing enciphered program |
AU690840B2 (en) * | 1995-04-27 | 1998-04-30 | Casio Computer Co., Ltd. | Device for executing enciphered program |
US5982887A (en) * | 1995-04-27 | 1999-11-09 | Casio Computer Co., Ltd. | Encrypted program executing apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6113629B2 (en) | ||
JP2001043139A (en) | Signal processor and information recording medium used for the processor | |
JPS59212954A (en) | Program robbery preventing device for electronic circuit | |
JP2992284B1 (en) | Signal processing device | |
JPS58109957A (en) | Single chip microcomputer system | |
JPH09160831A (en) | Information processing device | |
JPS6330658B2 (en) | ||
JP2854996B2 (en) | IC card connection device | |
JP2560312B2 (en) | Information processing system | |
JPS62217346A (en) | Program unauthorized use prevention method | |
JPS59121455A (en) | Prefixing system | |
JPS61133449A (en) | Access method to external memory in computer | |
JPH0322073A (en) | Data transfer controller | |
JPS59180900A (en) | Control system of random access memory | |
JP2000207235A (en) | Information processor | |
JP2001175611A (en) | Inter-processor, communication interface circuit and semiconductor integrated circuit device | |
JPS599755A (en) | Microprogram read-out control system | |
JPH03127126A (en) | Information processor | |
JPH0399346A (en) | Semiconductor storage device | |
JPH0333939A (en) | Microprocessor | |
JPH02249052A (en) | Data transfer device | |
JPH01276241A (en) | Multiple interrupting device | |
JPH02176843A (en) | Dma controller | |
JPH0222473B2 (en) | ||
JPH044451A (en) | Computer system |