JPH0243222B2 - - Google Patents
Info
- Publication number
- JPH0243222B2 JPH0243222B2 JP25691088A JP25691088A JPH0243222B2 JP H0243222 B2 JPH0243222 B2 JP H0243222B2 JP 25691088 A JP25691088 A JP 25691088A JP 25691088 A JP25691088 A JP 25691088A JP H0243222 B2 JPH0243222 B2 JP H0243222B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- writing
- code
- access
- memory element
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
- G06F21/75—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by inhibiting the analysis of circuitry or operation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/71—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
- G06F21/75—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by inhibiting the analysis of circuitry or operation
- G06F21/755—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by inhibiting the analysis of circuitry or operation with measures against power attack
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/78—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data
- G06F21/79—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure storage of data in semiconductor storage media, e.g. directly-addressable memories
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/341—Active cards, i.e. cards including their own processing means, e.g. including an IC or chip
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/34—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using cards, e.g. integrated circuit [IC] cards or magnetic cards
- G06Q20/357—Cards having a plurality of specified features
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/02—Banking, e.g. interest calculation or account maintenance
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/10—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/10—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
- G07F7/1008—Active credit-cards provided with means to personalise their use, e.g. with PIN-introduction/comparison system
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07F—COIN-FREED OR LIKE APPARATUS
- G07F7/00—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus
- G07F7/08—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means
- G07F7/10—Mechanisms actuated by objects other than coins to free or to actuate vending, hiring, coin or paper currency dispensing or refunding apparatus by coded identity card or credit card or other personal identification means together with a coded signal, e.g. in the form of personal identification information, like personal identification number [PIN] or biometric data
- G07F7/1025—Identification of user by a PIN code
- G07F7/1083—Counting of PIN attempts
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/22—Safety or protection circuits preventing unauthorised or accidental access to memory cells
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Strategic Management (AREA)
- Mathematical Physics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Microelectronics & Electronic Packaging (AREA)
- Finance (AREA)
- Development Economics (AREA)
- Economics (AREA)
- Marketing (AREA)
- Technology Law (AREA)
- Storage Device Security (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Credit Cards Or The Like (AREA)
Description
【発明の詳細な説明】
本発明は、その先願に係る特願昭53−102790号
明細書(特開昭54−46447号公報)に記載のよう
な、プログラム可能な読出し専用メモリでの読出
しおよび書込みを行なうマイクロプロセツサの読
出しおよび書込み手段と組合されて、盗用防止を
行なう手段を備えた、データを記憶し、処理する
ための携帯可能なデータ担体の改良に関する。DETAILED DESCRIPTION OF THE INVENTION The present invention is directed to a programmable read-only memory as described in Japanese Patent Application No. 53-102790 (Japanese Unexamined Patent Publication No. 54-46447) related to the earlier application. The present invention relates to an improvement in a portable data carrier for storing and processing data, which, in combination with reading and writing means of a microprocessor for writing, is provided with means for providing protection against plagiarism.
前記先願明細書に記載の携帯可能なデータ担体
は、不揮発生メモリであるプログラム可能な読出
し専用メモリ“PROM”(英語の用語
“programmable read only memory”の略語)
と組合されたマイクロプロセツサを有し、該マイ
クロプロセツサは該プログラム可能な読出し専用
メモリの諸部分において読出しおよび書込みを行
なうための手段と、該プログラム可能な読出し専
用メモリの諸部分から読出したり書込んだりする
データを受信したり伝送したりする手段とを備え
ることを特徴とする。上記の携帯可能なデータ担
体では、さらに、その読出しおよび書込みを行な
うための手段が第1手段ないし第3手段を有して
いて、第1手段は、可能化キーすなわちアクセ
ス・キーを認識すなわちチエツクするものであ
り、第2手段は、第1手段と組合されて、該キー
が誤りであるときに、該プログラム可能な読出し
専用メモリの或るゾーンにエラー・ビツトを書込
むものであり、第3手段は、第1手段と組合され
て、該キーが正しいときに、該プログラム可能な
読出し専用メモリの他のゾーンにアクセス・ビツ
ト書込むものであることをも特徴とする。 The portable data carrier mentioned in said earlier application is a non-volatile memory, a programmable read only memory “PROM” (abbreviation for the English term “programmable read only memory”).
a microprocessor associated with a microprocessor having means for reading and writing to portions of the programmable read-only memory; and means for reading and writing from portions of the programmable read-only memory. It is characterized by comprising means for receiving and transmitting data to be written. In the portable data carrier as described above, the means for reading and writing further comprise first means to third means, the first means recognizing or checking the enabling key or access key. a second means, in combination with the first means, for writing an error bit in a zone of the programmable read-only memory when the key is in error; It is also characterized in that three means, in combination with the first means, write an access bit to another zone of the programmable read-only memory when the key is correct.
前記先願明細書に記載のデータを記憶し、処理
するための携帯可能なデータ担体に関する発明を
創作するに当たつて、本発明者が注目したのは、
アクセス・キーというものは、不揮発性メモリで
あるプログラム可能な読出し専用メモリPROM
の特定のゾーンにおける読出しおよび書込みにつ
いての或る種の権利に関係しており、アクセス・
キーを用いてプログラム可能な読出し専用メモリ
へアクセスすることは、或る種の応用においては
保護する必要があるという事実であつた。 In creating the invention relating to a portable data carrier for storing and processing the data described in the specification of the prior application, the present inventor focused on the following:
The access key is a non-volatile programmable read-only memory PROM.
related to certain rights for reading and writing in specific zones of the
Accessing programmable read-only memory using keys has been a fact that needs to be protected in certain applications.
メモリへアクセスするアクセス・キーを発見し
ようと、いろいろと試行を行なつてみる不法行為
者を断念させる手段については、従来、種々提案
されている。これらの手段の内、最もよく知られ
ているものは、キー・エラーを不揮発性メモリへ
永久的に書込んで記憶し、このエラーの数が予め
定められた値を超えたときに、動作を禁止するも
のである。しかし乍ら、この手段はそれ単独で用
いる場合には有効ではない。実際、メモリにおけ
る書込み電流の変化を観測し、エラーの記録が生
じ得ないように該電流を適当に制限するならば、
正しいキーを正確に決定することができる。この
問題は前記先願明細書に記載の発明では、マイク
ロプロセツサによる書込み動作の自動検証に関連
して、マイクロプロセツサの対称的な動作を利用
することにより解決されている。 Various methods have been proposed in the past for discouraging illegal offenders from making various attempts to discover an access key to access memory. The most well-known of these methods is to permanently write key errors to non-volatile memory and take action when the number of errors exceeds a predetermined value. It is prohibited. However, this means is not effective when used alone. In fact, if we observe the variation of the write current in the memory and limit it appropriately so that no error recording can occur,
The correct key can be accurately determined. This problem is solved in the invention described in the above-mentioned specification by utilizing the symmetrical operation of the microprocessor in connection with automatic verification of write operations by the microprocessor.
すなわち、アクセス・キーが正しいか正しくな
いかに関係なく、メモリには常に書込みが行なわ
れる。したがつて、不法行為者は、自らが行なつ
た行為もしくは作業の結果を調べることができな
い。 That is, the memory is always written to, regardless of whether the access key is correct or incorrect. Therefore, tortfeasors cannot examine the results of their acts or work.
前記先願明細書に記載のものは、書込み動作に
おいては完全に満足すべきものである。と言うの
は、メモリ内容がいずれにしろ変更されるからで
ある。書込むべき符号として1個のエラー・ビツ
トまたは1個のアクセス・ビツトを用いることに
より、対称性が保証される。 What is described in the above-mentioned prior application is completely satisfactory in writing operations. This is because the memory contents will be changed anyway. By using one error bit or one access bit as the code to write, symmetry is guaranteed.
読出し動作においては、キーを用いてアクセス
を保護したい場合には、先ず、このために用意し
てあるメモリのゾーンへ書込みを行なうことを必
要とするようにする。 In a read operation, if it is desired to protect access using a key, it is first necessary to write to a zone of memory reserved for this purpose.
このようにすれば、全てのアクセスは、正しい
か正しくないかに関係なく、アクセス用のメモリ
へ記憶もしくは格納されることになるが、このこ
とは、保護される読出し動作の回数を制限するこ
とが重要である場合には、有利である。 In this way, all accesses, correct or incorrect, will be memorized or stored in the access memory, which may limit the number of protected read operations. Advantageous if important.
他方、この機能を持たせようとすると、メモリ
の容量が比較的大きいことを必要とするので、メ
モリの点では不利である。さらに、作業用メモリ
(memoire de travail)が満杯にならない限り、
回数に制限なく読取りアクセスを保護したい場合
には、この機能は採用できない。 On the other hand, providing this function requires a relatively large memory capacity, which is disadvantageous in terms of memory. Furthermore, unless working memory (memoire de travail) is full,
This feature cannot be used if you want to protect read access an unlimited number of times.
本発明は、上記の技術的課題を解決するため
に、電気的書換え可能ROMであるアクセス・メ
モリおよびエラー・メモリを付加するものであ
る。 In order to solve the above technical problem, the present invention adds an access memory and an error memory which are electrically rewritable ROMs.
本発明によれば、データを記憶し、処理するた
めの携帯可能なデータ担体であつて、マイクロプ
ロセツサと、可能化キーによつてアクセスが保護
される不揮発性メモリと、電気的書換え可能
ROMであるメモリ要素と、前記マイクロプロセ
ツサは、少なくとも、前記保護されるメモリにお
ける読出しおよび書込みのための内部的な第1手
段と、外部データを受信するための内部的な第2
手段とを含むことと、前記内部的な第1手段は、
外部装置から前記データ担体に受信された可能化
キーをチエツクするための手段と、或る可能化キ
ーが前記データ担体に伝送されることによりアク
セスの試行がなされるごとに、或る符号を前記電
気的書換え可能ROMであるメモリ要素に書込む
ための手段と、前記符号を前記電気的書換え可能
ROMであるメモリ要素に書込むごとに、その直
前に、前記電気的書換え可能ROMであるメモリ
要素の該当部分の消去を行なうための手段と、前
記符号の前記電気的書換え可能ROMへの書込み
が実際に行なわれたことをチエツクするための手
段とをも併せて含むこととから成ることを特徴と
するデータを記憶し、処理するための携帯可能な
データ担体が提供される。 According to the invention, a portable data carrier for storing and processing data includes a microprocessor, a non-volatile memory whose access is protected by an enabling key, and an electrically rewritable
The memory element is a ROM and the microprocessor has at least an internal first means for reading and writing in the protected memory and an internal second means for receiving external data.
and the internal first means comprises:
means for checking an enabling key received on said data carrier from an external device; means for writing into a memory element that is an electrically rewritable ROM;
A means for erasing a corresponding portion of the electrically rewritable ROM memory element immediately before each write to the electrically rewritable ROM memory element, and a means for erasing the corresponding portion of the electrically rewritable ROM memory element, and writing the code to the electrically rewritable ROM. A portable data carrier for storing and processing data is provided, characterized in that it also comprises means for checking what has actually been done.
以下に、本発明の一実施例を添付図面に基づい
て詳細に説明する。 EMBODIMENT OF THE INVENTION Below, one Example of this invention will be described in detail based on an accompanying drawing.
第1図には、本発明に係る携帯可能なデータ担
体の一実施例の概略の構成を示す。マイクロプロ
セツサ1は、データ・アドレス母線34を介して
不揮発性メモリであるプログラム可能な読出し専
用メモリ2へ接続しており、そしてエラー・メモ
リ3およびアクセス・メモリ4は、データ・アド
レス母線34に直接に接続している。(第1図に
示すマイクロプロセツサ1、不揮発性メモリ2お
よびデータ・アドレス母線34は、前記先願明細
書の第1図のマイクロプロセツサ1、プログラム
可能な読出し専用メモリ2、ならびに第5図のデ
ータおよびアドレス母線34に相当する。)マイ
クロプロセツサ1は、データ・アドレス母線34
を介して不揮発性メモリ2、エラー・メモリ3お
よびアクセス・メモリ4を完全に制御する。不揮
発性メモリ2は一般的の情報および秘密情報を記
憶する。 FIG. 1 shows a schematic structure of an embodiment of a portable data carrier according to the present invention. The microprocessor 1 is connected to a non-volatile memory programmable read-only memory 2 via a data address bus 34, and an error memory 3 and an access memory 4 are connected to the data address bus 34. connected directly. (The microprocessor 1, non-volatile memory 2 and data address bus 34 shown in FIG. 1 are similar to the microprocessor 1, programmable read-only memory 2 and FIG. ) The microprocessor 1 corresponds to the data and address bus 34.
through which the non-volatile memory 2, error memory 3 and access memory 4 are completely controlled. Non-volatile memory 2 stores general information and secret information.
エラー・メモリ3およびアクセス・メモリ4
は、本発明によつて付加されたものであつて、任
意の容量とすることができるが、しかし、マイク
ロプロセツサ1の専有する機能により電気的に消
去可能であることが重要である。 Error memory 3 and access memory 4
is added according to the present invention and can be any capacitance, but it is important that it can be electrically erased by a function exclusive to the microprocessor 1.
ここで、「マイクロプロセツサ1の専有する機
能」の「専有する」とは、これらエラー・メモリ
3およびアクセス・メモリ4が携帯可能なデータ
担体の外部装置によつては消去できないことを意
味する。そして、このマイクロプロセツサ1の専
有する機能は、プログラムによつて動作する鎖錠
装置(dispositif de verrouillage)によつて得る
ことができるのであるが、この鎖錠装置は本発明
とは関わりがない。 Here, "exclusively" in "functions exclusive to microprocessor 1" means that these error memory 3 and access memory 4 cannot be erased by an external device of the portable data carrier. . The functions exclusive to this microprocessor 1 can be obtained by a locking device (dispositif de verrouillage) operated by a program, but this locking device is not related to the present invention. .
エラー・メモリ3およびアクセス・メモリ4と
しては、不揮発性メモリであるEAROMを用い
ることができる。EAROMは英語の用語
“Electrically Alterable Read Only Memory”
(電気的書換え可能ROM)の略語である。この
ようなメモリの詳細に関し必要とあれば、パリ市
75015、ルクールブ街(rue Lecourbe)313、シ
ベツクス社(SYBEX)発行、ロツドネー・ザツ
クス(RODNAY ZAKS)、ピエール・ル・ボー
(PIERRE LE BEUX)共著「マイクロコンピユ
ータ」(Les microprocesseurs)第77頁ないし第
81頁を参照されたい。 As the error memory 3 and the access memory 4, EAROM, which is a nonvolatile memory, can be used. EAROM is the English term “Electrically Alterable Read Only Memory”
(Electrically rewritable ROM). If you require further information regarding such memory, please contact the City of Paris.
Les microprocesseurs, co-authored by RODNAY ZAKS and PIERRE LE BEUX, published by SYBEX, 313 rue Lecourbe, 75015, pages 77 to 75015.
See page 81.
本発明に係る携帯可能なデータ担体の動作は、
いくつかの異なつた態様を取ることができるが、
いずれにせよ、マイクロプロセツサ1に関連する
制御メモリ(前記先願明細書添附図面第5図の制
御メモリ20に相当する)に格納されたプログラ
ムにより実行される。以下に、第2図および第3
図のフローチヤートを用いてその説明をする。 The operation of the portable data carrier according to the invention is as follows:
Although it can take several different forms,
In any case, the program is executed by a program stored in a control memory associated with the microprocessor 1 (corresponding to the control memory 20 in FIG. 5 attached to the specification of the prior application). Below, Figures 2 and 3
This will be explained using the flowchart shown in the figure.
第2図の例では、各アクセスごとのスタートに
際して(ステツプ100)、アクセス・メモリ4は消
去される。ステツプ101では、マイクロプロセツ
サ1は、要求されたアクセスが正しいキーで行な
われたか否かをチエツクする。 In the example of FIG. 2, at the start of each access (step 100), the access memory 4 is erased. In step 101, microprocessor 1 checks whether the requested access was made with the correct key.
キーが正しい場合には、データ・ビツトがアク
セス・メモリ4に書込まれる(ステツプ102)が、
しかし乍ら、キーが正しくない場合には、このデ
ータ・ビツトはエラー・メモリ3に書込まれる
(ステツプ104)。ステツプ103およびステツプ105
においては、実際に一つのビツトがエラー・メモ
リ3またはアクセス・メモリ4のいずれかに書込
まれたか否かがチエツクされる。このことは書込
み時間、書込み電流の監視、書込まれたビツトを
読出しての照合、等により行なわれる。かなる書
込み動作も行なわれなかつた場合には、エラーと
なる。 If the key is correct, the data bits are written to access memory 4 (step 102);
However, if the key is incorrect, this data bit is written to the error memory 3 (step 104). Step 103 and Step 105
At , it is checked whether a bit has actually been written to either the error memory 3 or the access memory 4. This is accomplished by monitoring the write time, write current, reading and verifying the written bits, etc. If no write operation is performed, an error occurs.
この動作モードでは、キーが正しいか正しくな
いかに関係なく、実行される動作が対照的である
ことを特徴とする。アクセス・メモリ4の予備消
去により、各読取りに際し無制限にこのゾーンを
再使用することができる。エラー・メモリ3につ
いては、エラー・ビツトは、或る所定のアドレス
から出発して遂次大きくなるアドレスに書込まれ
る。したがつて、正しくないアクセスについて
は、その痕跡が消されることなく記憶される。 This mode of operation is characterized by a contrast in the actions performed, regardless of whether the key is correct or incorrect. Pre-erasing the access memory 4 allows unlimited reuse of this zone for each read. For error memory 3, error bits are written to successively larger addresses starting from a certain predetermined address. Therefore, traces of incorrect access are stored without being erased.
第3図は、エラー・メモリ3およびアクセス・
メモリ4の使用の変形例を示す。各アクセスごと
のスタートに際して(ステツプ106)、アクセス・
メモリ4およびエラー・メモリ3の内容である符
号が読出されて、マイクロプロセツサ1のAレジ
スタおよびBレジスタ(前記先願明細書の第5図
のレジスタA,Bに相当する)に格納される。 Figure 3 shows error memory 3 and access memory 3.
A modification example of the use of the memory 4 is shown. At the start of each access (step 106), the access
The codes that are the contents of the memory 4 and the error memory 3 are read out and stored in the A and B registers of the microprocessor 1 (corresponding to registers A and B in FIG. 5 of the specification of the prior application). .
ステツプ107では、キーがチエツクされ、正し
いキーの場合には、アクセス・メモリ4の内容は
ステツプ108で消去される。Aレジスタはこの場
合、アクセス・カウンタとしての機能を営むよう
にされ、1単位だけ増分されて、そしてステツプ
109でアクセス・メモリ4に再び書込まれる。キ
ーが正しくない場合には、エラー・メモリ3の内
容はステツプ111で消去される。Bレジスタはこ
の場合、エラー・カウンタとしての機能を営むよ
うにされ、1単位だけ増力されて、そしてステツ
プ112でエラー・メモリ3に再び書込まれる。 In step 107 the key is checked and if it is the correct key, the contents of the access memory 4 are erased in step 108. The A register is then made to act as an access counter, incremented by one unit, and then
It is written again to the access memory 4 in step 109. If the key is incorrect, the contents of error memory 3 are erased in step 111. The B register is then made to act as an error counter, incremented by one unit and written back to the error memory 3 in step 112.
ステツプ110およびステツプ113おいては、書込
み動作が実際に行なわれたか否かがチエツクされ
る。動作の対称性を維持するためには、増分の前
後でエラーおよびアクセスの回数を記録するのに
nアウト・オブm符号(code n parmi m)を
使用するのが好ましい。この場合には、Aレジス
タおよびBレジスタにおけるカウンタの増分は、
nアウト・オブm符号と十進数との対照表に基づ
いて行なう。 In steps 110 and 113, it is checked whether a write operation has actually occurred. To maintain symmetry of operation, it is preferable to use an n out of m code (code n parmi m) to record errors and number of accesses before and after increments. In this case, the increment of the counters in the A and B registers is
This is done based on a comparison table of n out of m codes and decimal numbers.
この動作モードにおいても、キーが正しいか正
しくないかに関係なく、実行される動作が対称的
であることを特徴とする。アクセス・メモリ4ま
たはエラー・メモリ3の予備消去により、各読取
りに際しほぼ無制限にこのゾーンを再使用するこ
とができる。しかも、キー・エラーのみならず正
しいアクセスの正確な回数をも記憶できるので、
回数券的な使用をするのに好ましい。 This mode of operation is also characterized by the fact that the operations performed are symmetrical, regardless of whether the key is correct or incorrect. Pre-erasing the access memory 4 or the error memory 3 allows an almost unlimited reuse of this zone for each read. Moreover, it can remember not only key errors but also the exact number of correct accesses.
Suitable for use as a coupon ticket.
第1図は、本発明に係る携帯可能なデータ担体
の一実施例の概略の構成を示し、第2図は、その
一つの動作態様を示すフローチヤートであり、第
3図は、別の動作態様を示すフローチヤートであ
る。
1……マイクロプロセツサ、2……不揮発性メ
モリ、3……エラー・メモリ、4……アクセス・
メモリ、34……データ・アドレス母線。
FIG. 1 shows a schematic configuration of an embodiment of a portable data carrier according to the present invention, FIG. 2 is a flow chart showing one mode of operation thereof, and FIG. 3 is a flowchart showing another mode of operation. It is a flowchart showing an aspect. 1...Microprocessor, 2...Non-volatile memory, 3...Error memory, 4...Access memory
Memory, 34...data address bus.
Claims (1)
データ担体であつて、 マイクロプロセツサと、 可能化キーによつてアクセスが保護される不揮
発生メモリと、 電気的書換え可能ROMであるメモリ要素と、 前記マイクロプロセツサは、少なくとも、前記
保護されるメモリにおける読出しおよび書込みの
ための内部的な第1手段と、外部データを受信す
るための内部的な第2手段とを含むことと、 前記内部的な第1手段は、外部装置から前記デ
ータ担体に受信された可能化キーをチエツクする
ための手段と、或る可能化キーが前記データ担体
に伝送されることによりアクセスの試行がなされ
るごとに、或る符号を前記電気的書換え可能
ROMであるメモリ要素に書込むための手段と、
前記符号を前記電気的書換え可能ROMであるメ
モリ要素に書込むごとに、その直前に、前記電気
的書換え可能ROMであるメモリ要素の該当部分
の消去を行なうための手段と、前記符号の前記電
気的書換え可能ROMへの書込みが実際に行なわ
れたことをチエツクするための手段と、をも併せ
て含むことと、 から成ることを特徴とするデータを記憶し、処理
するための携帯可能なデータ担体。 2 前記電気的書換え可能ROMであるメモリ要
素は、伝送された可能化キーが正しいときに、ア
クセスを示す符号を書込むための第1部分、およ
び前記可能化キーが正しくないときに、エラーを
示す符号を書込むための第2部分から成ることを
特徴とする特許請求の範囲第1項に記載の携帯可
能なデータ担体。 3 前記電気的書換え可能ROMに書込む符号は
nアウト・オブm符号であることを特徴とする特
許請求の範囲第1項または第2項に記載の携帯可
能なデータ担体。 4 前記内部的な第1手段は、さらに、前記メモ
リ要素の第1部分および第2部分にアクセスおよ
びエラー情報を示す符号のカウントおよび書込み
を行なつて、アクセス回数およびエラー回数のそ
れぞれの値を表わすようにする手段を具備するこ
とを特徴とする特許請求の範囲第2項または第3
項に記載の携帯可能なデータ担体。[Scope of Claims] 1. A portable data carrier for storing and processing data, comprising: a microprocessor; a non-volatile memory whose access is protected by an enabling key; and an electrically rewritable memory. a memory element that is a ROM; and the microprocessor has at least internal first means for reading and writing in the protected memory and internal second means for receiving external data. said internal first means include means for checking an enabling key received on said data carrier from an external device; Each time a trial is made, a certain code can be electrically rewritten.
a means for writing to a memory element that is a ROM;
means for erasing a corresponding portion of the memory element that is the electrically rewritable ROM immediately before each writing of the code into the memory element that is the electrically rewritable ROM; and a means for checking whether writing to the rewritable ROM has actually been carried out. Portable data for storing and processing data characterized by comprising: carrier. 2. The memory element, which is an electrically rewritable ROM, has a first part for writing a code indicating access when the transmitted enabling key is correct, and a first part for writing an error code when the enabling key is incorrect. Portable data carrier according to claim 1, characterized in that it comprises a second part for writing an indicating code. 3. The portable data carrier according to claim 1 or 2, wherein the code written in the electrically rewritable ROM is an n out of m code. 4. The internal first means further counts and writes codes indicative of access and error information in the first and second portions of the memory element to obtain respective values of the number of accesses and the number of errors. Claim 2 or 3 is characterized in that it comprises means for making the expression
Portable data carriers as described in Section.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| FR7917171 | 1979-07-02 | ||
| FR7917171A FR2460506B2 (en) | 1979-07-02 | 1979-07-02 | DEVICE FOR PROTECTING ACCESS TO A PERMANENT MEMORY OF AN INFORMATION PROCESSING APPARATUS |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27203892A Division JP2547368B2 (en) | 1979-07-02 | 1992-10-09 | Portable data carrier |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH01152589A JPH01152589A (en) | 1989-06-15 |
| JPH0243222B2 true JPH0243222B2 (en) | 1990-09-27 |
Family
ID=9227404
Family Applications (4)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8928980A Pending JPS5638651A (en) | 1979-07-02 | 1980-07-02 | Portable data carrier |
| JP63256910A Granted JPH01152589A (en) | 1979-07-02 | 1988-10-12 | Portable data carrier |
| JP27203892A Expired - Lifetime JP2547368B2 (en) | 1979-07-02 | 1992-10-09 | Portable data carrier |
| JP23879195A Expired - Lifetime JP2547379B2 (en) | 1979-07-02 | 1995-09-18 | Portable data carrier |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP8928980A Pending JPS5638651A (en) | 1979-07-02 | 1980-07-02 | Portable data carrier |
Family Applications After (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27203892A Expired - Lifetime JP2547368B2 (en) | 1979-07-02 | 1992-10-09 | Portable data carrier |
| JP23879195A Expired - Lifetime JP2547379B2 (en) | 1979-07-02 | 1995-09-18 | Portable data carrier |
Country Status (3)
| Country | Link |
|---|---|
| JP (4) | JPS5638651A (en) |
| DE (1) | DE3025044A1 (en) |
| FR (1) | FR2460506B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07277319A (en) * | 1994-03-31 | 1995-10-24 | Itoukei Pack Sangyo Kk | Assembly folding box |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS58221479A (en) * | 1982-06-17 | 1983-12-23 | Fujitsu Kiden Ltd | Credit card |
| JPS5971195A (en) * | 1982-10-17 | 1984-04-21 | Dainippon Printing Co Ltd | Information processing method in IC card |
| DE3318101A1 (en) * | 1983-05-18 | 1984-11-22 | Siemens AG, 1000 Berlin und 8000 München | CIRCUIT ARRANGEMENT WITH A STORAGE AND ACCESS CONTROL UNIT |
| JPS603082A (en) * | 1983-06-18 | 1985-01-09 | Dainippon Printing Co Ltd | Ic card |
| JPS60153581A (en) * | 1984-01-23 | 1985-08-13 | Kyodo Printing Co Ltd | Ic card having function inhibiting illegal use |
| JPS613279A (en) * | 1984-06-18 | 1986-01-09 | Toshiba Corp | Portable electronic device |
| JPS615389A (en) * | 1984-06-19 | 1986-01-11 | Casio Comput Co Ltd | Identification card |
| FR2617976B1 (en) * | 1987-07-10 | 1989-11-10 | Thomson Semiconducteurs | BINARY LOGIC LEVEL ELECTRIC DETECTOR |
| KR100808948B1 (en) | 2006-12-19 | 2008-03-04 | 삼성전자주식회사 | Security device, security method and system of nonvolatile memory |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| FR2311360A1 (en) * | 1975-05-13 | 1976-12-10 | Innovation Ste Int | SYSTEM FOR STORING DATA CONFIDENTIALLY BY MEANS OF PORTABLE ELECTRONIC OBJECTS INCLUDING A CONFIDENTIAL CODE ERROR MEMORIZATION CIRCUIT |
| DE2738113C2 (en) * | 1976-09-06 | 1998-07-16 | Gao Ges Automation Org | Device for performing machining operations with an identifier |
| FR2401459A1 (en) * | 1977-08-26 | 1979-03-23 | Cii Honeywell Bull | PORTABLE INFORMATION MEDIA EQUIPPED WITH A MICROPROCESSOR AND A PROGRAMMABLE DEAD MEMORY |
-
1979
- 1979-07-02 FR FR7917171A patent/FR2460506B2/en not_active Expired
-
1980
- 1980-07-02 JP JP8928980A patent/JPS5638651A/en active Pending
- 1980-07-02 DE DE19803025044 patent/DE3025044A1/en active Granted
-
1988
- 1988-10-12 JP JP63256910A patent/JPH01152589A/en active Granted
-
1992
- 1992-10-09 JP JP27203892A patent/JP2547368B2/en not_active Expired - Lifetime
-
1995
- 1995-09-18 JP JP23879195A patent/JP2547379B2/en not_active Expired - Lifetime
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07277319A (en) * | 1994-03-31 | 1995-10-24 | Itoukei Pack Sangyo Kk | Assembly folding box |
Also Published As
| Publication number | Publication date |
|---|---|
| DE3025044C2 (en) | 1991-02-28 |
| JPH05274499A (en) | 1993-10-22 |
| JP2547368B2 (en) | 1996-10-23 |
| JP2547379B2 (en) | 1996-10-23 |
| JPH01152589A (en) | 1989-06-15 |
| DE3025044A1 (en) | 1981-05-27 |
| JPS5638651A (en) | 1981-04-13 |
| FR2460506A2 (en) | 1981-01-23 |
| JPH08110937A (en) | 1996-04-30 |
| FR2460506B2 (en) | 1985-09-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4295041A (en) | Device for the protection of access to a permanent memory of a portable data carrier | |
| US5206938A (en) | Ic card with memory area protection based on address line restriction | |
| US6453397B1 (en) | Single chip microcomputer internally including a flash memory | |
| JPH02210590A (en) | Portable data carrier for storing and processing data | |
| JPS6138519B2 (en) | ||
| JPH0243222B2 (en) | ||
| US5812446A (en) | Method and apparatus for the protection of non-volatile memory zones | |
| JPH06502032A (en) | How to distribute integrated circuit memory between multiple applications | |
| US7054121B2 (en) | Protection circuit for preventing unauthorized access to the memory device of a processor | |
| US20040186947A1 (en) | Access control system for nonvolatile memory | |
| EP1079340A2 (en) | Integrated circuit card protected from unauthorized access | |
| JPH048838B2 (en) | ||
| JP2001167236A (en) | Portable electronic devices | |
| KR19990078265A (en) | Microcomputer | |
| JP2609645B2 (en) | Portable electronic devices | |
| JP4031693B2 (en) | Nonvolatile memory and data storage device having the same | |
| JPH11259357A (en) | Semiconductor integrated device and nonvolatile memory writing method | |
| JP3168572B2 (en) | IC card with CPU runaway detection function | |
| JPH026115B2 (en) | ||
| JP2528466B2 (en) | IC card | |
| JPH0778126A (en) | Microcomputer for IC card | |
| JP2501587B2 (en) | IC card | |
| JP2752074B2 (en) | Data storage method for portable electronic device | |
| JP4580724B2 (en) | Nonvolatile memory control method | |
| JPH052536A (en) | IC card |