JPH0528050A - Method and circuit for copy protection of memory ic card - Google Patents

Method and circuit for copy protection of memory ic card

Info

Publication number
JPH0528050A
JPH0528050A JP3178550A JP17855091A JPH0528050A JP H0528050 A JPH0528050 A JP H0528050A JP 3178550 A JP3178550 A JP 3178550A JP 17855091 A JP17855091 A JP 17855091A JP H0528050 A JPH0528050 A JP H0528050A
Authority
JP
Japan
Prior art keywords
memory
card
key information
copy protection
circuit
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
JP3178550A
Other languages
Japanese (ja)
Inventor
Toyonori Ishida
豊範 石田
Etsuo Kenmoku
悦男 見目
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
NEC Engineering Ltd
Original Assignee
NEC Corp
NEC Engineering 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 NEC Corp, NEC Engineering Ltd filed Critical NEC Corp
Priority to JP3178550A priority Critical patent/JPH0528050A/en
Publication of JPH0528050A publication Critical patent/JPH0528050A/en
Pending legal-status Critical Current

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

PURPOSE:To prevent important program data or the like in a card from being used without permission. CONSTITUTION:A memory IC card 20 which incorporates a storage circuit 1 and can be read out from the external has the memory address space divided into several segments, and one key information for each segment is provided in this card, and a comparator which compares key information with key information given from the external and a means 3 are provided, and this means 3 validates the read result, of the memory IC card 20 only when all of key information corresponding to respective segments are correct.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、名刺大のメモリ−IC
カードのコピープロテクト方法及び回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a business card memory IC.
The present invention relates to a card copy protection method and circuit.

【0002】[0002]

【従来の技術】従来メモリ−ICカードは、その読み出
し及び書き込み器具、例えばROMライター等により読
み出し、容易にコピーすることが可能であった。
2. Description of the Related Art Conventional memory-IC cards can be easily read and read by a read / write device such as a ROM writer.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のメモリ
−ICカードは、ROMライター等により読み出し、容
易にコピーすることが可能であるため、重要なプログラ
ム,データ等を無断で流用させてしまうおそれがある。
将来、メモリ−ICカードがフロッピーディスクの様に
一般的なものとなった時に、そのコピー防止は重要な課
題になる。
The above-mentioned conventional memory-IC card can be read by a ROM writer or the like and easily copied, so that important programs, data, etc. may be diverted without permission. There is.
In the future, when the memory-IC card becomes common as a floppy disk, its copy protection will become an important issue.

【0004】本発明の目的は、このような課題を解決す
るメモリ−ICカードのコピープロテクト方法及び回路
を提供することにある。
An object of the present invention is to provide a memory-IC card copy protection method and circuit for solving such a problem.

【0005】[0005]

【課題を解決するための手段】本発明は、内部に記憶回
路を内蔵し、外部ら読み出し可能なメモリ−ICカード
のコピープロテクト方法であって、前記メモリ−ICカ
ードのアドレス空間をいくつかのセグメントに分割し、
それぞれのセグメントに対して1つのキー情報を付与
し、前記キー情報を外部より書き込むことによって、前
記メモリ−ICカードの読み出し結果を有効にし、キー
情報が外部より与えられなかった場合は、その読み出し
結果を無効にすることでコピー防止を行うことを特徴と
する。
SUMMARY OF THE INVENTION The present invention is a copy protection method for a memory-IC card which has a storage circuit inside and is readable from the outside, and which has several address spaces of the memory-IC card. Divided into segments,
By adding one key information to each segment and writing the key information from the outside, the reading result of the memory-IC card is validated, and when the key information is not given from the outside, the reading is performed. The feature is that copy protection is performed by invalidating the result.

【0006】また本発明は、内部に記憶回路を内蔵し、
外部から読み出し可能なメモリ−ICカードのコピープ
ロテクト回路であって、予め決められた各アドレスセグ
メントに対応したキー情報が書き込まれている第1のメ
モリと、前記キー情報と同様のキー情報を外部より書き
込むことのできる第2のメモリと、前記第1のメモリの
キー情報と前記第2のメモリに書き込まれたキー情報と
を比較し、一致した場合にのみ前記記憶回路を読み出し
可能とするコンパレータとを備えることを特徴とする。
Further, according to the present invention, a memory circuit is incorporated inside,
Externally readable memory-A copy protection circuit for an IC card, which stores a first memory in which key information corresponding to each predetermined address segment is written and key information similar to the key information to the outside. A second memory which can be written more, and the key information of the first memory and the key information written in the second memory are compared, and a comparator which can read the memory circuit only when they match And is provided.

【0007】[0007]

【実施例】次に本発明の実施例について図面を参照して
説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は、本発明のコピープロテクト回路を
備えるメモリ−ICカード20のブロック図である。メ
モリ−アレイ1はアドレスバス5によって指定されたア
ドレスの内容をチップセレクト信号6がONのときに限
り、トライステートバッファ2を通してデータバス8に
出力することができるものとする。プロテクト回路3
は、アドレスバス5によって指定された上位8ビットの
アドレス(以下アドレスセグメントと略す)に対応する
キー情報が予め外部より書き込まれている時に限り、そ
の出力9をONにする。その後、チップセレクト信号6
をONにすることでAND回路4の出力がONとなり、
トライステートバッファ2を通してメモリ−アレイの読
み出し結果をデータバス8に出力することが可能とな
る。なお図1において、7は制御信号である。
FIG. 1 is a block diagram of a memory-IC card 20 having a copy protect circuit according to the present invention. It is assumed that the memory-array 1 can output the contents of the address designated by the address bus 5 to the data bus 8 through the tristate buffer 2 only when the chip select signal 6 is ON. Protect circuit 3
Turns on its output 9 only when the key information corresponding to the upper 8-bit address (hereinafter referred to as an address segment) designated by the address bus 5 is written in advance from the outside. After that, chip select signal 6
By turning on, the output of the AND circuit 4 turns on,
Through the tristate buffer 2, the read result of the memory-array can be output to the data bus 8. In FIG. 1, 7 is a control signal.

【0009】次に、プロテクト回路3について、図2を
参照して説明する。このプロテクト回路3は、リードオ
ンリメモリ(ROM)12と、ランダムアクセスメモリ
(RAM)10とコンパレータ(CMP)11とから構
成される。
Next, the protect circuit 3 will be described with reference to FIG. The protect circuit 3 includes a read only memory (ROM) 12, a random access memory (RAM) 10 and a comparator (CMP) 11.

【0010】ROM12内には予め決められた各アドレ
スセグメントに対応したキー情報が書き込まれており、
RAM10に同様のキー情報を外部より書き込むことで
全てのアドレスセグメントに対し、コンパレータ11の
出力がONになる。本実施例では、256個のアドレス
セグメントが存在し、それぞれに対応したキー情報が存
在する。このメモリ−ICカードを正しく動作させるた
めには、外部より256個のキー情報をRAM10に書
き込む必要がある。一つでも誤ったキー情報を書き込め
ば、メモリ−カードの読み出し結果は不定になる。正し
いキー情報を試行錯誤によって見い出そうとしても、そ
の試行回数は、例えば本実施例の場合256!以上にな
るため、キー情報の収集は困難である。
Key information corresponding to each predetermined address segment is written in the ROM 12,
By writing the same key information to the RAM 10 from the outside, the output of the comparator 11 is turned on for all address segments. In this embodiment, there are 256 address segments, and key information corresponding to each exists. In order to operate this memory-IC card correctly, it is necessary to write 256 pieces of key information from the outside into the RAM 10. If at least one wrong key information is written, the reading result of the memory-card becomes undefined. Even when trying to find the correct key information by trial and error, the number of trials is 256! Because of the above, it is difficult to collect key information.

【0011】[0011]

【発明の効果】以上説明したように本発明はメモリ−カ
ード内部にプロテクト回路を内蔵させることでコピー防
止を行うことができるという効果がある。
As described above, the present invention has an effect that copy protection can be performed by incorporating a protect circuit in the memory card.

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

【図1】本発明のコピープロテクト回路を備えるメモリ
−ICカードのブロック図である。
FIG. 1 is a block diagram of a memory-IC card including a copy protection circuit of the present invention.

【図2】図1のコピープロテクト回路の詳細図である。FIG. 2 is a detailed diagram of the copy protection circuit of FIG.

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

1 メモリ−アレイ 2 トライステートバッファ 3 プロテクト回路 4 AND回路 5 アドレスバス 6 チップセレクト信号 7 制御信号 8 データバス 9 プロテクト信号 10 RAM(ランダムアクセスメモリ) 11 コンパレータ(比較器) 12 ROM(リードオンリーメモリ) 1 memory-array 2 tri-state buffer 3 Protect circuit 4 AND circuit 5 address bus 6 Chip select signal 7 control signal 8 data buses 9 Protect signal 10 RAM (random access memory) 11 Comparator 12 ROM (Read Only Memory)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】内部に記憶回路を内蔵し、外部ら読み出し
可能なメモリ−ICカードのコピープロテクト方法であ
って、 前記メモリ−ICカードのアドレス空間をいくつかのセ
グメントに分割し、それぞれのセグメントに対して1つ
のキー情報を付与し、前記キー情報を外部より書き込む
ことによって、前記メモリ−ICカードの読み出し結果
を有効にし、キー情報が外部より与えられなかった場合
は、その読み出し結果を無効にすることでコピー防止を
行うことを特徴とするメモリ−ICカードのコピープロ
テクト方法。
1. A method of copy protection for a memory-IC card having a memory circuit inside and readable from the outside, comprising: dividing an address space of the memory-IC card into several segments; To the memory-IC card is validated by adding one key information to the above and writing the key information from the outside, and when the key information is not given from the outside, the read result is invalid. A copy protection method for a memory-IC card, characterized in that copy protection is performed by using the above method.
【請求項2】内部に記憶回路を内蔵し、外部から読み出
し可能なメモリ−ICカードのコピープロテクト回路で
あって、 予め決められた各アドレスセグメントに対応したキー情
報が書き込まれている第1のメモリと、 前記キー情報と同様のキー情報を外部より書き込むこと
のできる第2のメモリと、 前記第1のメモリのキー情報と前記第2のメモリに書き
込まれたキー情報とを比較し、一致した場合にのみ前記
記憶回路を読み出し可能とするコンパレータとを備える
ことを特徴とするメモリ−ICカードのコピープロテク
ト回路。
2. A copy protection circuit for a memory-IC card, which has a storage circuit inside and is readable from the outside, wherein key information corresponding to each predetermined address segment is written. The memory, the second memory in which the same key information as the key information can be written from the outside, the key information of the first memory and the key information written in the second memory are compared and match. A copy protection circuit for a memory-IC card, comprising a comparator that enables the storage circuit to be read only when the memory-IC card is read.
JP3178550A 1991-07-19 1991-07-19 Method and circuit for copy protection of memory ic card Pending JPH0528050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3178550A JPH0528050A (en) 1991-07-19 1991-07-19 Method and circuit for copy protection of memory ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3178550A JPH0528050A (en) 1991-07-19 1991-07-19 Method and circuit for copy protection of memory ic card

Publications (1)

Publication Number Publication Date
JPH0528050A true JPH0528050A (en) 1993-02-05

Family

ID=16050446

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3178550A Pending JPH0528050A (en) 1991-07-19 1991-07-19 Method and circuit for copy protection of memory ic card

Country Status (1)

Country Link
JP (1) JPH0528050A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0765036A (en) * 1993-08-27 1995-03-10 Towa Electron Kk Electronic publication

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0765036A (en) * 1993-08-27 1995-03-10 Towa Electron Kk Electronic publication

Similar Documents

Publication Publication Date Title
US8397042B2 (en) Secure memory interface
JPS6235702B2 (en)
KR960004734B1 (en) Information protection method and information memory media
US5361341A (en) Device for enabling the use of the contents of memory areas of an electronic microprocessor system
JP3025842B2 (en) Apparatus for protecting a memory area of an electronic system with a microprocessor
US5237531A (en) Read-only memory having a security circuit preventing unauthorized memory retrieval
GB1003924A (en) Indirect addressing system
JPH0528050A (en) Method and circuit for copy protection of memory ic card
JPS6325748A (en) Control of electronic circuit and circuit for implementing the same method
JPH0778231A (en) Memory card
US6742073B1 (en) Bus controller technique to control N buses
KR960004223B1 (en) Memory system
JP2988426B2 (en) Storage device
GB2129586A (en) Improvements in or relating to memory systems
JP2001043140A (en) Memory access control circuit
JPS63279341A (en) Memory integrated circuit
JPH03276346A (en) Memory card
KR920002829B1 (en) Memory access control system
US20050262320A1 (en) Register unit
JPS6273349A (en) Semiconductor storage device
JPH086905A (en) Access arbitration circuit for multi-port ram
JPH03283188A (en) Memory system
JPS6010669B2 (en) Storage device control method
JPS5921062B2 (en) Memory contention control method
JPH0378196A (en) Semiconductor integrated circuit