JP2000259801A - Memory device for ic card with initialization function - Google Patents

Memory device for ic card with initialization function

Info

Publication number
JP2000259801A
JP2000259801A JP11060934A JP6093499A JP2000259801A JP 2000259801 A JP2000259801 A JP 2000259801A JP 11060934 A JP11060934 A JP 11060934A JP 6093499 A JP6093499 A JP 6093499A JP 2000259801 A JP2000259801 A JP 2000259801A
Authority
JP
Japan
Prior art keywords
memory unit
circuit
data
initialization
code
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
JP11060934A
Other languages
Japanese (ja)
Inventor
Shinji Yajima
信二 矢島
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP11060934A priority Critical patent/JP2000259801A/en
Publication of JP2000259801A publication Critical patent/JP2000259801A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a memory device for an IC card capable of being reused while being provided with a secret protective function. SOLUTION: Operations to be enabled by respective identification codes are different depending on the plural identification codes. By permitting read and write to a memory part 5 by matching a first identification code A and enabling the initialization of the memory part 5 in addition to the read and write by matching a second identification code B, since the second identification code B is not used at the time of normally using the IC card, leakage does not occur and unauthorized initialization and reuse are not performed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、高い機密保護機能
を有し、偽造を防止することが出来る再生可能なICカ
ード用メモリ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory device for a reproducible IC card having a high security function and preventing forgery.

【0002】[0002]

【従来の技術】テレホンカード、プリペイドカードや各
種カードとして、機密保護機能が高く、記憶容量が多
く、電気的に書き換えが可能であることから、LSIを
内蔵したICカードが用いられている。このICカード
では、機密保護機能として、暗証コードにより不揮発性
メモリへのアクセスの許可/禁止が設定されているもの
の、ICカードの再使用を考慮した場合には、偽造防止
に対しては、十分ではない。
2. Description of the Related Art As telephone cards, prepaid cards and various types of cards, IC cards with a built-in LSI are used because they have a high security function, a large storage capacity, and are electrically rewritable. In this IC card, access to the non-volatile memory is set as permission / inhibition by a security code as a security function. However, when the reuse of the IC card is considered, it is not enough to prevent forgery. is not.

【0003】図6に従来例を示す。入出力回路1は、外
部からのコマンドやアドレスやデータを各ブロックに伝
達し、また読み出しデータの出力を行う。制御回路2
は、入出力回路1からのコマンドを識別し、後述の許可
フラグd8を検出すると各ブロックに対して以下の制御
を行う。
FIG. 6 shows a conventional example. The input / output circuit 1 transmits an external command, address, or data to each block, and outputs read data. Control circuit 2
Identifies the command from the input / output circuit 1 and performs the following control on each block when detecting a permission flag d8 described later.

【0004】メモリ部5は暗証コードを記憶する暗証コ
ードエリア10とデータを記憶するデータエリア11と
で構成されている。デコーダ回路3は、メモリ部5のア
ドレスを選択する。書き込み回路4はメモリ部5にデー
タの書き込みを行う。読み出し回路6は、メモリ部5の
データを読み出す。照合回路7は、読み出し回路6を介
してメモリ部5から読み出した暗証コードd5と外部よ
り入力された暗証コードd2との照合を行って照合結果
d7を出力する。照合結果d7を識別してアクセスの許
可/禁止を判定する条件判定回路8は、暗証コードd5
とd2が一致すると前記の許可フラグd8を制御回路2
に出力する。
[0004] The memory unit 5 comprises a password code area 10 for storing a password and a data area 11 for storing data. The decoder circuit 3 selects an address of the memory unit 5. The writing circuit 4 writes data to the memory unit 5. The read circuit 6 reads data from the memory unit 5. The collation circuit 7 collates the personal identification code d5 read out from the memory unit 5 via the readout circuit 6 with a personal identification code d2 input from the outside, and outputs a collation result d7. The condition determination circuit 8 that identifies the collation result d7 and determines whether the access is permitted / prohibited is performed by the secret code d5.
And d2 match, the permission flag d8 is set to the control circuit 2
Output to

【0005】したがって、暗証コードd5とd2が一致
すると許可フラグd8が発生して、制御回路2を介して
上記のようにメモり部5へのアクセスが可能となる。
Therefore, when the passwords d5 and d2 match, a permission flag d8 is generated, and the memory unit 5 can be accessed via the control circuit 2 as described above.

【0006】[0006]

【発明が解決しようとする課題】このように従来のIC
カード用メモリ装置では、ICカードを通常に使用する
度に、暗証コードを用いているため、正しい暗証コード
が漏洩する可能性が高く、暗証コードが漏洩してしまう
とメモリ部5の初期化が簡単に出来てしまって、偽造さ
れる問題がある。
As described above, the conventional IC
In the card memory device, the security code is used every time the IC card is used normally. Therefore, there is a high possibility that the correct security code is leaked. If the security code is leaked, the memory unit 5 is initialized. There is a problem that it can be easily made and forged.

【0007】偽造を防止するうえでは、初期化できない
ようにすることが最も確実な方法であった。本発明は、
メモリ部を初期化して再使用が可能で、しかも、使用中
に暗証コードが漏洩しても、偽造を防止できるICカー
ド用メモリ装置を提供することを目的とする。
[0007] In order to prevent forgery, it was the most reliable method to prevent initialization. The present invention
It is an object of the present invention to provide an IC card memory device that can initialize a memory portion and reuse it, and can prevent forgery even if a secret code leaks during use.

【0008】[0008]

【課題を解決するための手段】本発明の初期化機能付き
ICカード用メモリ装置では、複数の暗証コードによ
り、それぞれの暗証コードにより可能となる動作が異な
り、第1の暗証コードを一致させることで、メモリ部へ
の読み出しと書き込みを許可し、第2の暗証コードを一
致させることで、読み出しと書き込みに加えてメモリの
初期化を可能とすることを特徴とする。
In the memory device for an IC card with an initialization function according to the present invention, the operation which can be performed by each of the plurality of security codes differs depending on the plurality of security codes, and the first security code is matched. Thus, reading and writing to the memory section are permitted, and the second password is made to match, thereby enabling initialization of the memory in addition to reading and writing.

【0009】この本発明によると、ICカードを通常に
使用しているときは、初期化用の第2の暗証コードは使
用しないので漏洩することがなく、不正に初期化して再
使用されることを防ぎながら、再生することが可能とな
る。
According to the present invention, when the IC card is normally used, the second secret code for initialization is not used, so that the secret code is not leaked, and the IC card is incorrectly initialized and reused. , And can be reproduced.

【0010】[0010]

【発明の実施の形態】請求項1記載の初期化機能付きI
Cカード用メモリ装置は、外部からのコマンドやアドレ
スやデータを出力して読み出しデータの出力を行う入出
力回路と、メモリ部のアドレスを選択するデコーダ回路
と、メモリ部にデータの書き込みを行う書き込み回路
と、複数の暗証コードを記憶することが可能なメモリ部
と、メモリ部のデータを読み出す読み出し回路と、外部
より入力された暗証コードと前記メモリ部に記憶されて
いる第1,第2の暗証コードの照合を行う照合回路と、
照合結果によりアクセスの許可/禁止を判定する条件判
定回路と、入出力回路からのコマンドを識別し前記条件
判定回路が許可と判定した上記の各部の制御を行う制御
回路と、初期化データを前記書き込み回路に送り前記メ
モリ部の初期化を行う初期化回路とを設け、前記制御回
路を、第1の暗証コードが一致したことを前記条件判定
回路が検出すると前記メモリ部へのアクセスして読み出
しを許可し、第2の暗証コードを一致したことを前記条
件判定回路が検出すると前記初期化回路に前記メモリ部
の初期化を実行するよう構成したことを特徴とする。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An I with initialization function according to claim 1.
The C-card memory device includes an input / output circuit that outputs an external command, address, and data to output read data, a decoder circuit that selects an address of the memory unit, and a write operation that writes data to the memory unit. A circuit, a memory unit capable of storing a plurality of personal identification codes, a readout circuit for reading data from the memory unit, and a first and a second personal identification code stored in the memory unit and an externally input personal identification code. A verification circuit for verifying the personal identification code;
A condition determination circuit for determining whether access is permitted / inhibited based on the comparison result, a control circuit for identifying a command from the input / output circuit and controlling each of the above-described units determined to be permitted by the condition determination circuit; And an initialization circuit for sending the data to a write circuit and initializing the memory unit. When the condition judgment circuit detects that the first password matches, the memory unit is accessed and read. And when the condition determination circuit detects that the second secret code matches, the initialization circuit executes the initialization of the memory unit.

【0011】請求項2記載の初期化機能付きICカード
用メモリ装置は、請求項1において、メモリ部を、複数
の暗証コードに加えて条件データを記憶するように構成
し、制御回路を、外部から入力されたコードが前記暗証
コードのうちの第1の暗証コードに一致し、かつ条件デ
ータの設定内容に応じて前記メモリ部へのアクセスが可
能となり、初期化用の第2の暗証コードが一致し、かつ
条件データの設定内容に応じて初期化が可能となること
を特徴とする。
According to a second aspect of the present invention, there is provided a memory device for an IC card with an initialization function according to the first aspect, wherein the memory section is configured to store condition data in addition to a plurality of personal identification codes, and the control circuit is provided externally. And the code input from the memory unit matches the first security code of the security code, and the memory unit can be accessed according to the setting contents of the condition data, and the second security code for initialization is It is characterized in that they match and can be initialized according to the setting contents of the condition data.

【0012】請求項3記載の初期化機能付きICカード
用メモリ装置は、請求項1において、メモリ部を、複数
の暗証コードに加えて再生回数データを記憶するように
構成し、制御回路を、外部から入力されたコードが前記
暗証コードのうちの第1の暗証コードに一致し、かつ条
件データの設定内容に応じて前記メモリ部へのアクセス
が可能となり、初期化用の第2の暗証コードが一致し、
かつ前記メモリ部から読み出した再生回数データで表さ
れる初期化回数が規定範囲内の場合に初期化すると共に
メモリ部の前記再生回数データを更新することを特徴と
する。
According to a third aspect of the present invention, there is provided a memory device for an IC card having an initialization function according to the first aspect, wherein the memory unit is configured to store reproduction number data in addition to a plurality of personal identification codes, and the control circuit includes: A code input from the outside matches the first security code of the security code, and the memory unit can be accessed in accordance with the set contents of the condition data, and a second security code for initialization is provided. Matches
When the number of times of initialization represented by the number-of-reproductions data read from the memory unit is within a specified range, initialization is performed and the number-of-reproductions data in the memory unit is updated.

【0013】請求項4記載の初期化機能付きICカード
用メモリ装置は、請求項1において、メモリ部を、複数
の暗証コードに加えて識別データを記憶するように構成
し、制御回路を、外部から入力されたコードが前記暗証
コードのうちの第1の暗証コードに一致すると前記メモ
リ部へのアクセスが可能となり、初期化用の第2の暗証
コードが一致し、かつ前記メモリ部から読み出した識別
コードと初期化を実行しようとしている装置の識別コー
ドとの一致により初期化が可能となることを特徴とす
る。
According to a fourth aspect of the present invention, there is provided a memory device for an IC card with an initialization function according to the first aspect, wherein the memory section is configured to store identification data in addition to a plurality of personal identification codes, and the control circuit is provided with an external circuit. When the code inputted from the memory unit matches the first security code of the security code, access to the memory unit is enabled, the second security code for initialization matches, and the code is read from the memory unit. It is characterized in that initialization is possible by matching the identification code with the identification code of the device to be initialized.

【0014】請求項5記載の初期化機能付きICカード
用メモリ装置は、請求項1において、メモリ部を、複数
の暗証コードに加えて条件データ,再生回数データおよ
び識別データを記憶するように構成し、制御回路を、外
部から入力されたコードが前記暗証コードのうちの第1
の暗証コードに一致し、かつ条件データの設定内容に応
じて前記メモリ部へのアクセスが可能となり、条件デー
タの設定内容が初期化可能で、かつ初期化用の第2の暗
証コードが一致し、前記メモリ部から読み出した識別コ
ードと初期化を実行しようとしている装置の識別コード
とが一致し、前記メモリ部から読み出した再生回数デー
タで表される初期化回数が規定範囲内の場合に初期化す
ると共にメモリ部の前記再生回数データを更新すること
を特徴とする。
According to a fifth aspect of the present invention, there is provided a memory device for an IC card having an initialization function according to the first aspect, wherein the memory unit stores condition data, reproduction count data, and identification data in addition to a plurality of passwords. The control circuit determines that the code input from the outside is the first of the passwords.
And the memory unit can be accessed in accordance with the set contents of the condition data, the set contents of the condition data can be initialized, and the second secret code for initialization matches. If the identification code read from the memory unit matches the identification code of the device to be initialized and the number of times of initialization represented by the number-of-reproductions data read from the memory unit is within a specified range, And updating the number-of-reproductions data in the memory unit.

【0015】以下、本発明のICカード用メモリ装置の
各実施の形態を図1〜図5に基づいて説明する。なお、
従来例を示す図6と同様のブロックには同一の符号を付
けて説明する。 (実施の形態1)図1に本発明の(実施の形態1)を示
す。
Hereinafter, embodiments of an IC card memory device according to the present invention will be described with reference to FIGS. In addition,
The same blocks as those in FIG. 6 showing the conventional example are denoted by the same reference numerals and described. (Embodiment 1) FIG. 1 shows (Embodiment 1) of the present invention.

【0016】この(実施の形態1)では、メモリ部5の
データを保護する機密保護機能として、暗証コードAと
暗証コードBを有しており、暗証コードが一致しなけれ
ば、メモリ部5へのアクセスを禁止するように構成され
ている。具体的には、メモリ部5の暗証コードエリア1
0には、従来では単一の暗証コードが書き込まれていた
が、この(実施の形態1)では暗証コードエリア10の
第1のエリア10aに暗証コードAが設定され、第2の
エリア10bに暗証コードBが区別して設定されてい
る。制御回路2は機密保護機能を解除した後であれば、
任意にメモリ部5を書き替えが可能となる。
In this (Embodiment 1), a security code A and a security code B are provided as a security protection function for protecting data in the memory 5, and if the security codes do not match, the security code is transferred to the memory 5. Access is prohibited. Specifically, the password code area 1 of the memory unit 5
0, a single security code is conventionally written, but in this (Embodiment 1), the security code A is set in the first area 10a of the security code area 10, and the security code A is set in the second area 10b. The secret code B is set to be distinguished. If the control circuit 2 has released the security function,
The memory unit 5 can be arbitrarily rewritten.

【0017】制御回路2は次のように構成されている。
入出力回路1を介してコマンドが制御回路2に伝達さ
れ、制御回路2でコマンドを識別する。ICカードを通
常に使用する際には、暗証コードAを一致させる。制御
回路2によりコマンドを識別した後、デコーダ回路3に
よりメモリ部5の暗証コードAを記憶している第1のエ
リア10aを選択する。
The control circuit 2 is configured as follows.
The command is transmitted to the control circuit 2 via the input / output circuit 1, and the control circuit 2 identifies the command. When the IC card is used normally, the password A is matched. After the control circuit 2 identifies the command, the decoder circuit 3 selects the first area 10a of the memory unit 5 where the password A is stored.

【0018】次に、読み出し回路6によりメモリ部5か
ら暗証コードAを読み出し、照合回路7に暗証コードA
を送る。照合回路7は、入出力回路1を介して外部から
入力された暗証コードd2とメモリ部5から読み出した
暗証コードAとを照合し、照合結果d7を条件判定回路
8に送る。
Next, the secret code A is read from the memory unit 5 by the read circuit 6, and the secret code A
Send. The collation circuit 7 collates the personal identification code d2 input from the outside via the input / output circuit 1 with the personal identification code A read from the memory unit 5, and sends the collation result d7 to the condition determination circuit 8.

【0019】条件判定回路8は、暗証コードが一致した
場合、読み出しと書き込みだけのアクセス許可を示すフ
ラグd8’を制御回路2に送る。このように暗証コード
Aが一致した後は、メモリ部5のデータエリア11への
アクセスが許可され、データの読み出しと書き込みが可
能になる。メモリ部5から読み出されたデータは読み出
し回路6から入出力回路1を介して外部に出力される。
When the passwords match, the condition determination circuit 8 sends to the control circuit 2 a flag d8 'indicating access permission only for reading and writing. After the passwords A match in this manner, access to the data area 11 of the memory unit 5 is permitted, and data can be read and written. Data read from the memory unit 5 is output from the read circuit 6 to the outside via the input / output circuit 1.

【0020】また、不一致の場合は、メモリ部5へのア
クセスは許可されずにデータの読み出し、書き込みが禁
止されたままになる。ICカードを初期化して再使用す
る場合は、暗証コードBを一致させる。この場合には、
制御回路2によりコマンドを識別した後、デコーダ回路
3によりメモリ部5の暗証コードBを記憶しているエリ
ア10bを選択する。
In the case of a mismatch, access to the memory unit 5 is not permitted, and reading and writing of data remain prohibited. When the IC card is initialized and reused, the password B is matched. In this case,
After the control circuit 2 identifies the command, the decoder circuit 3 selects the area 10b of the memory section 5 where the password B is stored.

【0021】次に、読み出し回路6によりメモリ部5か
ら暗証コードBを読み出し、照合回路7に暗証コードd
5を送る。照合回路7は、入出力回路1を介して外部か
ら入力された暗証コードd2とメモリ部5から読み出し
た暗証コードBとを照合し、結果を条件判定回路7へ送
る。
Next, the secret code B is read from the memory unit 5 by the read circuit 6, and the secret code d
Send 5 The collation circuit 7 collates the security code d2 input from the outside via the input / output circuit 1 with the security code B read from the memory unit 5, and sends the result to the condition determination circuit 7.

【0022】条件判定回路8は、暗証コードが一致した
場合に、読み出しと書き込みに加えてメモリの初期化を
可能とするフラグd8を制御回路2へ送る。このフラグ
d8を検出した制御回路2は、メモリ部5の初期化を行
うために初期化回路9に制御信号d9を送る。この制御
信号d9を検出した初期化回路9は、初期データ(AL
L1)を書き込み回路4に送り、書き込み回路4がメモ
リ部5の初期化を行う。メモリ部5の初期化されたIC
カードは、目的のデータを書き込んで再使用することが
できる。
When the passwords match, the condition determination circuit 8 sends a flag d8 to the control circuit 2 to enable initialization of the memory in addition to reading and writing. The control circuit 2 that has detected the flag d8 sends a control signal d9 to the initialization circuit 9 to initialize the memory unit 5. Upon detecting the control signal d9, the initialization circuit 9 initializes the initial data (AL
L1) is sent to the writing circuit 4, and the writing circuit 4 initializes the memory unit 5. Initialized IC of the memory unit 5
The card can be reused by writing desired data.

【0023】(実施の形態2)図2に本発明の(実施の
形態2)を示す。この(実施の形態2)では、メモリ部
5のデータを保護する機密保護機能として、暗証コード
Aと暗証コードBと条件データが設定されている。具体
的には、メモリ部5には、第1,第2のエリア10a,
10bで構成される暗証コードエリア10と、データエ
リア11と、条件エリア12とが設けられており、第
1,第2のエリア10a,10bには(実施の形態1)
と同様に暗証コードAと暗証コードBが区別して書き込
まれている。条件エリア12にはメモリ部5へのアクセ
スの許可/禁止の別を指定する条件データが書き込まれ
ている。
(Embodiment 2) FIG. 2 shows (Embodiment 2) of the present invention. In this (Embodiment 2), a security code A, a security code B and condition data are set as a security protection function for protecting data in the memory unit 5. Specifically, the memory unit 5 includes first and second areas 10a,
A security code area 10 constituted by 10b, a data area 11, and a condition area 12 are provided, and the first and second areas 10a and 10b are (first embodiment).
Similarly, the password A and the password B are separately written. In the condition area 12, condition data designating permission / inhibition of access to the memory unit 5 is written.

【0024】制御回路2は次のように構成されている。
入出力回路1を介してコマンドが制御回路2に伝達さ
れ、制御回路2でコマンドを識別し、各部に必要な制御
信号を送り、各々のブロックが動作する。ICカードを
通常に使用する際は、暗証コードAの一致と条件エリア
12の設定を行う。
The control circuit 2 is configured as follows.
A command is transmitted to the control circuit 2 via the input / output circuit 1, the command is identified by the control circuit 2, necessary control signals are sent to each unit, and each block operates. When the IC card is used normally, the matching of the password A and the setting of the condition area 12 are performed.

【0025】制御回路2によりコマンドを識別した後、
デコーダ回路3によりメモリ部5の暗証コードAを記憶
しているエリア10aを選択する。次に、読み出し回路
6によりメモリ部5から暗証コードAを読み出し、照合
回路7に暗証コードAを送る。照合回路7は、入出力回
路1を介して外部から入力された暗証コードd2とメモ
リ部5から読み出した暗証コードAとを照合し、結果d
7を条件判定回路7に送る。
After the control circuit 2 identifies the command,
The decoder circuit 3 selects an area 10a of the memory unit 5 where the password A is stored. Next, the readout circuit 6 reads the password A from the memory unit 5 and sends the password A to the verification circuit 7. The collation circuit 7 collates the personal identification code d2 input from the outside via the input / output circuit 1 with the personal identification code A read from the memory unit 5, and the result d
7 is sent to the condition determination circuit 7.

【0026】入出力回路1を介して制御回路2へ書き込
みコマンドを送り、デコーダ回路3は条件エリア12を
選択し、データは、入出力回路1を介して書き込み回路
4に送られ、書き込み回路4がメモリ部11にデータを
書き込む。次に、デコーダ回路3により条件エリア12
を選択し、読み出し回路6により条件データを読み出
し、条件判定回路8に送り、アクセス許可の設定である
かを判定し、許可状態であれば制御回路2に許可フラグ
d8を送る。
A write command is sent to the control circuit 2 via the input / output circuit 1, the decoder circuit 3 selects the condition area 12, and data is sent to the write circuit 4 via the input / output circuit 1, Writes data in the memory unit 11. Next, the condition area 12 is
Is read by the read circuit 6, and the condition data is read and sent to the condition determination circuit 8 to determine whether or not the access is permitted. If the access is permitted, the permission flag d8 is sent to the control circuit 2.

【0027】暗証コードが一致し、条件コードが許可状
態の時、メモリ部5へのアクセスが許可され、データの
読み出しと書き込みが可能になる。暗証コードの不一
致、または条件データが「 禁止状態 」の場合は、メ
モリ部5へのアクセスは、許可されずにデータの読み出
し、書き込みが禁止されたままになる。
When the passwords match and the condition code is in the permitted state, access to the memory unit 5 is permitted, and data can be read and written. If the passwords do not match, or if the condition data is in the “prohibited state”, access to the memory unit 5 is not permitted, and data reading and writing remain prohibited.

【0028】ICカードを初期化して再使用する場合
は、暗証コードBの一致と条件データの設定を行う。制
御回路2によりコマンドを識別した後、デコーダ回路3
によりメモリ部5の暗証コードBを記憶しているエリア
を選択する。次に暗証コードBを読み出し、照合回路7
に暗証コードBを送る。照合回路7は、入出力回路1を
介して外部から入力された暗証コードd2とメモリ部5
から読み出した暗証コードBとを照合し、結果を条件判
定回路7に送る。条件判定回路部8は、暗証コードが一
致し、条件データが許可状態に設定されていた場合、ア
クセス許可を示すフラグd8を制御回路2へ送る。制御
回路2では、メモリ部5の初期化を行うため、初期化回
路9に制御信号d9を送る。初期化回路9は、初期デー
タ(ALL1)を書き込み回路4に送り、書き込み回路
4がメモリの初期化を行い、ICカードは、再度使用す
ることが可能になる。
When the IC card is initialized and reused, the matching of the secret code B and the setting of the condition data are performed. After the control circuit 2 identifies the command, the decoder circuit 3
To select an area of the memory unit 5 where the security code B is stored. Next, the security code B is read out, and the collation circuit 7 is read.
To send the PIN code B. The collation circuit 7 includes a password code d2 input from the outside via the input / output circuit 1 and the memory unit 5
Is compared with the personal identification code B read out from the server, and the result is sent to the condition determination circuit 7. If the passwords match and the condition data is set to the permitted state, the condition determination circuit unit 8 sends a flag d8 indicating access permission to the control circuit 2. The control circuit 2 sends a control signal d9 to the initialization circuit 9 in order to initialize the memory unit 5. The initialization circuit 9 sends the initial data (ALL1) to the writing circuit 4, and the writing circuit 4 initializes the memory, so that the IC card can be used again.

【0029】(実施の形態3)図3に本発明の(実施の
形態3)を示す。メモリのデータを保護するための機密
保護機能として、暗証コードAと暗証コードBを有して
おり、メモリへアクセスする場合は、暗証コードを一致
させる必要がある。
(Embodiment 3) FIG. 3 shows (Embodiment 3) of the present invention. It has a security code A and a security code B as a security protection function for protecting data in the memory, and when accessing the memory, it is necessary to match the security code.

【0030】具体的には、メモリ部5には、第1,第2
のエリア10a,10bで構成される暗証コードエリア
10と、データエリア11と、再生回数エリア13とが
設けられており、第1,第2のエリア10a,10bに
は(実施の形態1)と同様に暗証コードAと暗証コード
Bが区別して書き込まれている。再生回数エリア13に
は再生回数データが書き込まれている。
More specifically, the memory unit 5 includes first and second
A password code area 10 composed of areas 10a and 10b, a data area 11, and a reproduction count area 13 are provided, and the first and second areas 10a and 10b are described as (Embodiment 1). Similarly, the secret code A and the secret code B are separately written. In the reproduction count area 13, reproduction count data is written.

【0031】制御回路2は次のように構成されている。
入出力回路1を介してコマンドが制御回路2に伝達さ
れ、制御回路2ではコマンドを識別し、各部に必要な制
御信号を送り、各々のブロックが動作する。ICカード
を通常に使用する際は、暗証コードAを一致させる。制
御回路2によりコマンドを識別した後、デコーダ回路3
によりメモリ部5内の暗証コードAを記憶しているエリ
アを選択する。次に読み出し回路6により暗証コードA
を読み出し、照合回路7に暗証コードAを送る。照合回
路7は、入出力回路1を介して外部から入力された暗証
コードd2とメモリ部5から読み出した暗証コードAと
を照合し、結果を条件判定回路8に送る。
The control circuit 2 is configured as follows.
The command is transmitted to the control circuit 2 via the input / output circuit 1, and the control circuit 2 identifies the command, sends necessary control signals to each unit, and operates each block. When the IC card is used normally, the password A is matched. After the control circuit 2 identifies the command, the decoder circuit 3
To select an area in the memory unit 5 where the password A is stored. Next, the secret code A
And sends the password A to the matching circuit 7. The collation circuit 7 collates the personal identification code d2 input from the outside via the input / output circuit 1 with the personal identification code A read from the memory unit 5, and sends the result to the condition determination circuit 8.

【0032】条件判定回路8は、暗証コードが一致した
場合、許可フラグd8を制御回路2へ送り、メモリ部5
へのアクセスを許可し、データの読み出しと書き込みが
可能になる。また、暗証コードが不一致の場合は、メモ
リへのアクセスは、許可されずにデータの読み出し、書
き込みは、禁止されたままになる。
When the passwords match, the condition determination circuit 8 sends a permission flag d8 to the control circuit 2, and the memory unit 5
Access is allowed, and data can be read and written. If the passwords do not match, access to the memory is not permitted, and reading and writing of data remain prohibited.

【0033】ICカードを初期化して再使用する場合
は、暗証コードBを一致させる。制御回路2によりコマ
ンドを識別した後、デコーダ回路3によりメモリ部5内
の暗証コードBを記憶しているエリアを選択します。次
に読み出し回路6により暗証コードBを読み出し、照合
回路7に暗証コードを送る。入出力回路1を介して外部
から入力された暗証コードd2は、照合回路7に送ら
れ、照合回路7では、メモリ部5から読み出した暗証コ
ードd5と外部から入力された暗証コードd2とを照合
し、結果を条件判定回路8に送る。
When the IC card is initialized and reused, the password B is matched. After the control circuit 2 identifies the command, the decoder circuit 3 selects an area in the memory section 5 where the security code B is stored. Next, the readout circuit 6 reads out the personal identification code B, and sends the personal identification code to the collation circuit 7. The security code d2 input from the outside via the input / output circuit 1 is sent to the verification circuit 7, and the verification circuit 7 collates the security code d5 read from the memory unit 5 with the security code d2 input from the outside. Then, the result is sent to the condition determination circuit 8.

【0034】再生回数については、デコーダ回路3によ
り再生回数エリア13のアドレスを選択し、読み出し回
路6により再生回数のデータを読み出す。条件判定回路
8は、暗証コードBの一致と、再生回数が制限を越えて
いないかの判定を行い、アクセス許可を示すフラグd8
を制御回路2へ送る。制御回路2では、メモリの初期化
を行うため、初期化回路9に制御信号d9を送る。初期
化回路9は、初期データ(ALL1)を書き込み回路4
に送り、書き込み回路4がメモリの初期化を行う。
Regarding the number of times of reproduction, the address of the number-of-times-of-reproduction area 13 is selected by the decoder circuit 3, and the data of the number of times of reproduction are read by the read circuit 6. The condition judging circuit 8 judges whether the code B matches and whether the number of times of reproduction does not exceed the limit, and sets a flag d8 indicating access permission.
To the control circuit 2. The control circuit 2 sends a control signal d9 to the initialization circuit 9 in order to initialize the memory. The initialization circuit 9 writes the initial data (ALL1) into the write circuit 4
And the write circuit 4 initializes the memory.

【0035】再生回数の記憶は、読み出し回路6から先
に読み出した再生回数に1を加えて、書き込み回路4に
送り再生回数データを記憶しているエリアに書き込む。
このように再生回数を記憶することで、再生を行う回数
に上限を持たせることができ、偽造による再生を制限し
たり、書き換え保証回数を超えないようにして、故障を
防ぐことができる。
The storage of the number of reproductions is performed by adding 1 to the number of reproductions previously read from the read circuit 6 and sending the result to the writing circuit 4 to write the data in the area where the number of reproductions is stored.
By storing the number of times of reproduction in this way, an upper limit can be given to the number of times of reproduction, so that reproduction by forgery can be restricted, and failure can be prevented by not exceeding the guaranteed number of times of rewriting.

【0036】(実施の形態4)図4に本発明の(実施の
形態4)を示す。メモリのデータを保護するための機密
保護機能として、この(実施の形態4)では、暗証コー
ドAと暗証コードBの一致が必要であり、再生を行う場
合は、さらに再生を行う装置の識別コードの一致が必要
である。
(Embodiment 4) FIG. 4 shows (Embodiment 4) of the present invention. In this (Embodiment 4), the security code A and the security code B need to match each other as a security function for protecting the data in the memory. Is required.

【0037】具体的には、メモリ部5には、第1,第2
のエリア10a,10bで構成される暗証コードエリア
10と、データエリア11と、識別エリア14とが設け
られており、第1,第2のエリア10a,10bには
(実施の形態1)と同様に暗証コードAと暗証コードB
が区別して書き込まれている。識別エリア14には識別
データが書き込まれている。
More specifically, the memory section 5 has first and second
A password code area 10 composed of areas 10a and 10b, a data area 11, and an identification area 14 are provided. The first and second areas 10a and 10b are the same as those in the first embodiment. PIN A and PIN B
Is written to distinguish. Identification data is written in the identification area 14.

【0038】制御回路2は次のように構成されている。
入出力回路1を介してコマンドが制御回路2に伝達さ
れ、制御回路2ではコマンドを識別して各部に必要な制
御信号を送り、各々のブロックが動作する。ICカード
を通常に使用する際は、暗証コードAを一致させる。制
御回路2によりコマンドを識別した後、デコーダ回路3
によりメモリ部5の暗証コードAを記憶しているエリア
を選択する。次に読み出し回路6により暗証コードAを
メモリ部5から読み出し、照合回路7に暗証コードAを
送る。
The control circuit 2 is configured as follows.
The command is transmitted to the control circuit 2 via the input / output circuit 1. The control circuit 2 identifies the command, sends necessary control signals to each unit, and operates each block. When the IC card is used normally, the password A is matched. After the control circuit 2 identifies the command, the decoder circuit 3
Selects the area of the memory unit 5 where the password A is stored. Next, the readout circuit 6 reads the personal identification code A from the memory unit 5 and sends the personal identification code A to the collation circuit 7.

【0039】照合回路7は、入出力回路1を介して外部
から入力された暗証コードd2とメモリ部5から読み出
した暗証コードAとを照合し、結果を条件判定回路8に
送る。暗証コードが一致した場合に条件判定回路8はア
クセス許可を示すフラグd8を制御回路2に送る。そし
て、メモリ部5へのアクセスを許可し、データの読み出
し、書き込みが可能になる。
The collation circuit 7 collates the security code d2 input from the outside via the input / output circuit 1 with the security code A read from the memory unit 5, and sends the result to the condition judgment circuit 8. When the passwords match, the condition determination circuit 8 sends a flag d8 indicating access permission to the control circuit 2. Then, access to the memory unit 5 is permitted, and data can be read and written.

【0040】また、暗証コードが不一致の場合は、メモ
リ部5へのアクセスは、許可されずにデータの読み出し
と書き込みは、禁止されたままになる。ICカードを初
期化して再使用する場合は、暗証コードBの一致と再生
を行う装置の識別コードの一致を行う。制御回路2によ
りコマンドを識別した後、デコーダ回路3によりメモリ
部5の暗証コードBを記憶しているエリアを選択する。
If the passwords do not match, access to the memory unit 5 is not permitted, and reading and writing of data are prohibited. When the IC card is initialized and reused, the code B is matched with the identification code of the device to be reproduced. After the control circuit 2 identifies the command, the decoder circuit 3 selects an area of the memory unit 5 where the password B is stored.

【0041】次に読み出し回路6により暗証コードBを
読み出し、照合回路7に暗証コードを送る。照合回路7
は、入出力回路1を介して外部から入力された暗証コー
ドd2とメモリ部13から読み出した暗証コードBとを
照合し、結果を条件判定回路8に送る。そして、初期化
を行う装置の確認のため、識別エリア14のアドレスを
選択し、読み出し回路6により読み出した識別コード
と、外部より入出力回路1を介して入力された識別コー
ドd2とを照合回路7が照合し、結果を条件判定回路8
に送る。
Next, the readout circuit 6 reads out the personal identification code B, and sends the personal identification code to the verification circuit 7. Matching circuit 7
Compares the personal identification code d2 input from the outside via the input / output circuit 1 with the personal identification code B read from the memory unit 13, and sends the result to the condition determination circuit 8. Then, in order to confirm the device to be initialized, the address of the identification area 14 is selected, and the identification code read by the read circuit 6 and the identification code d2 input from the outside via the input / output circuit 1 are compared with the matching circuit. 7 collates and the result is judged by the condition judgment circuit 8
Send to

【0042】判定回路8は、暗証コードBと識別コード
が共に一致した場合に、初期化を許可するフラグd8を
制御回路2に送る。制御回路2では、メモリの初期化を
行うため、初期化回路9に制御信号d9を送る。初期化
回路9は、初期データ(ALL1)を書き込み回路4に
送り、書き込み回路4がメモリの初期化を行う。 (実施の形態5)図5に本発明の(実施の形態5)を示
す。
The judgment circuit 8 sends a flag d8 for permitting initialization to the control circuit 2 when both the password B and the identification code match. The control circuit 2 sends a control signal d9 to the initialization circuit 9 in order to initialize the memory. The initialization circuit 9 sends the initial data (ALL1) to the writing circuit 4, and the writing circuit 4 initializes the memory. (Embodiment 5) FIG. 5 shows (Embodiment 5) of the present invention.

【0043】メモリ部5のデータを保護するための機密
保護機能として、暗証コードの一致と条件データの設定
が必要であり、再生を行うためには別の暗証コードの一
致と条件データの設定が必要で、再生回数を記憶するエ
リアを持ち、再生回数を制限することが出来、再生を行
える装置の識別コードを記憶するエリアを持ち、再生を
行える装置を識別することができる。
As a confidentiality protection function for protecting data in the memory unit 5, it is necessary to match a secret code and set condition data. To perform reproduction, it is necessary to match another secret code and set condition data. If necessary, it is possible to have an area for storing the number of times of reproduction, limit the number of times of reproduction, have an area for storing an identification code of a device capable of reproducing, and identify a device capable of reproducing.

【0044】具体的には、メモリ部5には、第1,第2
のエリア10a,10bで構成される暗証コードエリア
10と、データエリア11と、条件エリア12と、再生
回数データ13および識別エリア14とが設けられてお
り、第1,第2のエリア10a,10bには(実施の形
態1)と同様に暗証コードAと暗証コードBが区別して
書き込まれている。条件エリア12にはメモリ部5への
アクセスの許可/禁止の別を指定する条件データが書き
込まれている。再生回数データ13 再生回数データが
書き込まれている。識別エリア14には識別データが書
き込まれている。
More specifically, the memory section 5 includes first and second
A password code area 10, a data area 11, a condition area 12, a number-of-reproductions data 13, and an identification area 14 are provided. The first and second areas 10a, 10b are provided. In the same manner as in the first embodiment, a password A and a password B are separately written. In the condition area 12, condition data designating permission / inhibition of access to the memory unit 5 is written. Reproduction count data 13 Reproduction count data is written. Identification data is written in the identification area 14.

【0045】制御回路2は次のように構成されている。
入出力回路1を介してコマンドが制御回路2に伝達さ
れ、制御回路2ではコマンドを識別し、各部に必要な制
御信号を送り、各々のブロックが動作する。ICカード
を通常に使用する際は、暗証コードAを一致させる。制
御回路2によりコマンドを識別した後、デコーダ回路3
によりメモリ部5の暗証コードAを記憶しているエリア
を選択する。
The control circuit 2 is configured as follows.
The command is transmitted to the control circuit 2 via the input / output circuit 1, and the control circuit 2 identifies the command, sends necessary control signals to each unit, and operates each block. When the IC card is used normally, the password A is matched. After the control circuit 2 identifies the command, the decoder circuit 3
Selects the area of the memory unit 5 where the password A is stored.

【0046】次に読み出し回路6により暗証コードAを
読み出し、照合回路7に暗証コードAを送る。照合回路
7は、入出力回路1を介して外部から入力された暗証コ
ードd2とメモリ部14から読み出した暗証コードAと
を照合し、結果を条件判定回路7に送る。条件コードの
設定は、条件エリアへアクセスを許可するデータ書き込
む。入出力回路1を介して、制御回路2へ、書き込みコ
マンドを送り、デコーダ回路3は条件データのエリアを
選択し、データは、入出力回路1を介して書き込み回路
4に送られ、書き込み回路4がメモリ部14にデータを
書き込む。次に、デコーダ回路3により条件データエリ
アを選択し、読み出し回路6により条件データを読み出
し、条件判定回路8に送り、アクセス許可の設定である
かを判定し、許可状態であれば、制御回路2に許可フラ
グd8を送る。暗証コードが一致し、条件コードが許可
状態の時には、メモリ部5へのアクセスが許可され、デ
ータの読み出しと書き込みが可能になる。
Next, the readout circuit 6 reads out the password A, and sends the password A to the verification circuit 7. The collation circuit 7 collates the security code d2 input from the outside via the input / output circuit 1 with the security code A read from the memory unit 14, and sends the result to the condition determination circuit 7. To set the condition code, write data permitting access to the condition area. A write command is sent to the control circuit 2 via the input / output circuit 1, the decoder circuit 3 selects an area of the condition data, and the data is sent to the write circuit 4 via the input / output circuit 1, and the write circuit 4 Writes data in the memory unit 14. Next, the condition data area is selected by the decoder circuit 3, the condition data is read by the read circuit 6, and is sent to the condition determination circuit 8 to determine whether the access is permitted or not. To the permission flag d8. When the passwords match and the condition code is in the permitted state, access to the memory unit 5 is permitted, and data can be read and written.

【0047】また、暗証コードの不一致または、条件デ
ータが許可状態でない場合には、メモリ部5へのアクセ
スは、許可されずにデータの読み出し、書き込みは、禁
止されたままになる。ICカードを初期化して再使用す
る場合は、暗証コードBの一致と、条件データの設定
と、再生を行う装置の識別コードの一致の検出を行う。
制御回路2によりコマンドを識別した後、デコーダ回路
3によりメモリ部5内の暗証コードBを記憶しているエ
リア10bを選択する。次にメモリ部5に接続する読み
出し回路6により暗証コードBを読み出し、照合回路7
に暗証コードを送る。照合回路7は、入出力回路1を介
して外部から入力された暗証コードd2とメモリ部14
から読み出した暗証コードBを照合し、結果を条件判定
回路8に送る。
If the passwords do not match or the condition data is not in a permitted state, access to the memory unit 5 is not permitted, and reading and writing of data remain prohibited. When the IC card is initialized and reused, the matching of the secret code B, the setting of the condition data, and the matching of the identification code of the reproducing apparatus are detected.
After the control circuit 2 identifies the command, the decoder circuit 3 selects the area 10b in the memory unit 5 where the password B is stored. Next, the secret code B is read by the read circuit 6 connected to the memory unit 5, and the collation circuit 7 is read.
Send your PIN code to. The collation circuit 7 includes a password code d2 input from the outside via the input / output circuit 1 and the memory unit 14
The secret code B read out from the above is collated, and the result is sent to the condition determination circuit 8.

【0048】再生装置の確認を行うため、デコーダ回路
3により、識別エリアのアドレスを選択し、読み出し回
路6により読み出した識別コードd5と、外部より入出
力回路1を介して入力された識別コードd2を照合回路
7で照合を行います。条件判定回路8は、暗証コードB
と識別コードが共に一致し、条件データが許可状態にあ
る場合に、初再生を許可するフラグd8を制御回路2に
送る。制御回路2では、メモリの初期化を行うため、初
期化回路9に制御信号d9を送る。初期化回路9は、初
期データ(ALL1)を書き込み回路4に送り、書き込
み回路4がメモリの初期化を行う。再生回数について
は、デコーダ回路3により、再生回数エリアのアドレス
を選択し、読み出し回路6により、再生回数のデータを
読み出します。
In order to confirm the reproducing apparatus, the address of the identification area is selected by the decoder circuit 3, and the identification code d5 read by the read circuit 6 and the identification code d2 input from the outside via the input / output circuit 1 are selected. Is compared by the matching circuit 7. The condition determination circuit 8 determines that the password code B
When the condition data is in the permitted state, the flag d8 for permitting the first reproduction is sent to the control circuit 2. The control circuit 2 sends a control signal d9 to the initialization circuit 9 in order to initialize the memory. The initialization circuit 9 sends the initial data (ALL1) to the writing circuit 4, and the writing circuit 4 initializes the memory. As for the number of times of reproduction, the decoder circuit 3 selects an address of the number of times of reproduction area, and the read circuit 6 reads data of the number of times of reproduction.

【0049】条件判定回路8は、暗証コードBの一致
と、再生回数が、制限を越えていないかの判定を行い、
アクセス許可を示すフラグd8を制御回路2へ送る。制
御回路2では、メモリの初期化を行うため、初期化回路
9に制御信号d9を送る。初期化回路9は、初期データ
(ALL1)を書き込み回路4に送り、書き込み回路4
がメモリの初期化を実行する。再生回数の記憶は、読み
出し回路6により先に読み出した再生回数に1を加え
て、書き込み回路4に送り再生回数データを記憶してい
るエリアに書き込む。
The condition determination circuit 8 determines whether the password B matches and whether the number of reproductions does not exceed the limit.
A flag d8 indicating access permission is sent to the control circuit 2. The control circuit 2 sends a control signal d9 to the initialization circuit 9 in order to initialize the memory. The initialization circuit 9 sends the initial data (ALL1) to the writing circuit 4, and
Performs memory initialization. The number of times of reproduction is stored by adding 1 to the number of times of reproduction previously read out by the readout circuit 6 and sending it to the write circuit 4 to write in the area where the number of times of reproduction is stored.

【0050】このように、再生回数を記憶することで、
再生を行う回数に上限を持たせることができ、偽造によ
る再生を制限したり、書き換え保証回数を超えないよう
にして、故障を防ぐことができる。
As described above, by storing the number of times of reproduction,
An upper limit can be given to the number of times of reproduction, and a failure can be prevented by restricting reproduction by forgery or not exceeding the guaranteed number of rewrites.

【0051】[0051]

【発明の効果】以上のように本発明の初期化機能付きI
Cカード用メモリ装置は、第1の暗証コードを一致させ
ることで、メモリ部へのアクセスを許可し、第2の暗証
コードを一致させることで、メモリ部の初期化が出来
る。ICカードを通常に使用しているときは、第1の暗
証コードを使用して初期化用の第2の暗証コードは使用
しないので、漏洩する恐れが無く、不正にデータを初期
化して再利用することを防ぎながら、再使用することが
可能となる。
As described above, the I with initialization function of the present invention
The memory device for the C card allows the access to the memory unit by matching the first PIN code, and initializes the memory unit by matching the second PIN code. When the IC card is used normally, the first PIN code is not used and the second PIN code for initialization is not used, so there is no risk of leakage, and the data is initialized and reused illegally. It is possible to reuse it while preventing it.

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

【図1】本発明の(実施の形態1)のICカード用メモ
リ装置の構成図
FIG. 1 is a configuration diagram of a memory device for an IC card according to a first embodiment of the present invention;

【図2】本発明の(実施の形態2)のICカード用メモ
リ装置の構成図
FIG. 2 is a configuration diagram of an IC card memory device according to a second embodiment of the present invention;

【図3】本発明の(実施の形態3)のICカード用メモ
リ装置の構成図
FIG. 3 is a configuration diagram of a memory device for an IC card according to a third embodiment of the present invention;

【図4】本発明の(実施の形態4)のICカード用メモ
リ装置の構成図
FIG. 4 is a configuration diagram of an IC card memory device according to (Embodiment 4) of the present invention;

【図5】本発明の(実施の形態5)のICカード用メモ
リ装置の構成図
FIG. 5 is a configuration diagram of a memory device for an IC card according to a fifth embodiment of the present invention.

【図6】従来のICカード用メモリ装置の構成図FIG. 6 is a configuration diagram of a conventional memory device for an IC card.

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

1 入出力回路 2 制御回路 3 デコーダ部 4 書き込み回路 5 メモリ部 6 読み出し回路 7 照合回路 8 条件判定回路 9 初期化回路 REFERENCE SIGNS LIST 1 input / output circuit 2 control circuit 3 decoder section 4 write circuit 5 memory section 6 read circuit 7 verification circuit 8 condition determination circuit 9 initialization circuit

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】外部からのコマンドやアドレスやデータを
出力して読み出しデータの出力を行う入出力回路と、 メモリ部のアドレスを選択するデコーダ回路と、 メモリ部にデータの書き込みを行う書き込み回路と、 複数の暗証コードを記憶することが可能なメモリ部と、 メモリ部のデータを読み出す読み出し回路と、 外部より入力された暗証コードと前記メモリ部に記憶さ
れている第1,第2の暗証コードの照合を行う照合回路
と、 照合結果によりアクセスの許可/禁止を判定する条件判
定回路と、 入出力回路からのコマンドを識別し前記条件判定回路が
許可と判定した上記の各部の制御を行う制御回路と、 初期化データを前記書き込み回路に送り前記メモリ部の
初期化を行う初期化回路とを設け、前記制御回路を、 第1の暗証コードが一致したことを前記条件判定回路が
検出すると前記メモリ部へのアクセスして読み出しを許
可し、 第2の暗証コードを一致したことを前記条件判定回路が
検出すると前記初期化回路に前記メモリ部の初期化を実
行するよう構成した初期化機能付きICカード用メモリ
装置。
1. An input / output circuit for outputting a read data by outputting a command, address or data from the outside, a decoder circuit for selecting an address of a memory unit, and a write circuit for writing data to the memory unit. A memory unit capable of storing a plurality of security codes, a readout circuit for reading data from the memory unit, a security code input from outside, and first and second security codes stored in the memory unit A control circuit for checking access permission / prohibition based on a result of the check; a control for identifying a command from the input / output circuit and controlling each of the above-described units that the condition determination circuit determines to be permitted And an initialization circuit that sends initialization data to the write circuit and initializes the memory unit. When the condition judgment circuit detects that the memory unit has been matched, access to the memory unit is permitted to be read, and when the condition judgment circuit detects that the second password code matches, the initialization circuit stores the memory unit in the memory unit. A memory device for an IC card with an initialization function configured to execute initialization.
【請求項2】メモリ部を、複数の暗証コードに加えて条
件データを記憶するように構成し、 制御回路を、外部から入力されたコードが前記暗証コー
ドのうちの第1の暗証コードに一致し、かつ条件データ
の設定内容に応じて前記メモリ部へのアクセスが可能と
なり、初期化用の第2の暗証コードが一致し、かつ条件
データの設定内容に応じて初期化が可能となる請求項1
記載の初期化機能付きICカード用メモリ装置。
2. The memory unit is configured to store condition data in addition to a plurality of personal identification codes, and the control circuit is configured to determine whether a code input from the outside corresponds to a first personal identification code of the personal identification codes. And the memory unit can be accessed according to the setting contents of the condition data, the second password for initialization matches, and the initialization can be performed according to the setting contents of the condition data. Item 1
A memory device for an IC card with an initialization function as described in the above.
【請求項3】メモリ部を、複数の暗証コードに加えて再
生回数データを記憶するように構成し、 制御回路を、外部から入力されたコードが前記暗証コー
ドのうちの第1の暗証コードに一致し、かつ条件データ
の設定内容に応じて前記メモリ部へのアクセスが可能と
なり、初期化用の第2の暗証コードが一致し、かつ前記
メモリ部から読み出した再生回数データで表される初期
化回数が規定範囲内の場合に初期化すると共にメモリ部
の前記再生回数データを更新する請求項1記載の初期化
機能付きICカード用メモリ装置。
3. The memory section is configured to store data of the number of times of reproduction in addition to a plurality of passwords, and the control circuit is configured to store a code input from the outside as a first password of the passwords. It is possible to access the memory unit in accordance with the set contents of the condition data, and the initial password represented by the reproduction number data read from the memory unit matches the second password code for initialization. 2. The memory device for an IC card with an initialization function according to claim 1, wherein the initialization is performed when the number of times of initialization is within a prescribed range, and the data of the number of times of reproduction is updated in a memory unit.
【請求項4】メモリ部を、複数の暗証コードに加えて識
別データを記憶するように構成し、 制御回路を、外部から入力されたコードが前記暗証コー
ドのうちの第1の暗証コードに一致すると前記メモリ部
へのアクセスが可能となり、初期化用の第2の暗証コー
ドが一致し、かつ前記メモリ部から読み出した識別コー
ドと初期化を実行しようとしている装置の識別コードと
の一致により初期化が可能となる請求項1記載の初期化
機能付きICカード用メモリ装置。
4. The memory unit is configured to store identification data in addition to a plurality of personal identification codes, and the control circuit controls the control circuit so that a code input from the outside matches the first personal identification code of the personal identification codes. Then, access to the memory unit is enabled, and the second secret code for initialization matches, and the initial code is read when the identification code read from the memory unit matches the identification code of the device to be initialized. The memory device for an IC card with an initialization function according to claim 1, wherein the memory device can be initialized.
【請求項5】メモリ部を、複数の暗証コードに加えて条
件データ,再生回数データおよび識別データを記憶する
ように構成し、 制御回路を、外部から入力されたコードが前記暗証コー
ドのうちの第1の暗証コードに一致し、かつ条件データ
の設定内容に応じて前記メモリ部へのアクセスが可能と
なり、条件データの設定内容が初期化可能で、かつ初期
化用の第2の暗証コードが一致し、前記メモリ部から読
み出した識別コードと初期化を実行しようとしている装
置の識別コードとが一致し、前記メモリ部から読み出し
た再生回数データで表される初期化回数が規定範囲内の
場合に初期化すると共にメモリ部の前記再生回数データ
を更新する請求項1記載の初期化機能付きICカード用
メモリ装置。
5. The memory unit is configured to store condition data, number-of-reproductions data, and identification data in addition to a plurality of personal identification codes. The memory unit can be accessed according to the setting contents of the condition data, and the setting contents of the condition data can be initialized, and the second security code for initialization is identical. When the identification code read from the memory unit matches the identification code of the device to be initialized, and the number of times of initialization represented by the reproduction number data read from the memory unit is within a specified range. 2. The memory device for an IC card having an initialization function according to claim 1, wherein the memory device is initialized and the number-of-reproductions data in the memory unit is updated.
JP11060934A 1999-03-09 1999-03-09 Memory device for ic card with initialization function Pending JP2000259801A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11060934A JP2000259801A (en) 1999-03-09 1999-03-09 Memory device for ic card with initialization function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11060934A JP2000259801A (en) 1999-03-09 1999-03-09 Memory device for ic card with initialization function

Publications (1)

Publication Number Publication Date
JP2000259801A true JP2000259801A (en) 2000-09-22

Family

ID=13156716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11060934A Pending JP2000259801A (en) 1999-03-09 1999-03-09 Memory device for ic card with initialization function

Country Status (1)

Country Link
JP (1) JP2000259801A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002047069A1 (en) * 2000-12-07 2002-06-13 Sony Corporation Reproduction apparatus and reproduction method
KR20030043405A (en) * 2001-11-28 2003-06-02 주식회사 에스원 Card re-initializing system and method thereof
US7739520B2 (en) 2001-02-09 2010-06-15 Infineon Technologies Ag Data processing device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002047069A1 (en) * 2000-12-07 2002-06-13 Sony Corporation Reproduction apparatus and reproduction method
JP2002175090A (en) * 2000-12-07 2002-06-21 Sony Corp Device and method of reproduction
KR100838901B1 (en) * 2000-12-07 2008-06-16 소니 가부시끼 가이샤 Reproducing apparatus and reproducing method
US7512320B2 (en) 2000-12-07 2009-03-31 Sony Corporation Reproduction apparatus and reproducing method
US8755671B2 (en) 2000-12-07 2014-06-17 Sony Corporation Reproducing apparatus and reproducing method
US7739520B2 (en) 2001-02-09 2010-06-15 Infineon Technologies Ag Data processing device
KR20030043405A (en) * 2001-11-28 2003-06-02 주식회사 에스원 Card re-initializing system and method thereof

Similar Documents

Publication Publication Date Title
JP3074639B2 (en) Method and apparatus for validating system operation
JP3396043B2 (en) Micro circuit
JP2755828B2 (en) Secure application card for sharing application data and procedures between multiple microprocessors
US7607177B2 (en) Secure compact flash
US7996911B2 (en) Memory card
US20060184799A1 (en) Security circuit and method to secure information in a device
WO1999027499A2 (en) Secure memory having anti-wire tapping
JPS6138519B2 (en)
NO309887B1 (en) Secure memory card
JP2003263618A (en) Nv fuse authenticating method and device, authentication computer program product and computer readable storage medium with its program stored
US20030212871A1 (en) Memory device and method of controlling the same
EP0593244B1 (en) Secure IC card system with reusable prototype card
EP1058216B1 (en) Memory card
EP1193601A2 (en) Memory apparatus and memory access restricting method
KR20090072717A (en) New data storage usb disc, computer interface usb device and method by flash memory's bad patten
JPH0896106A (en) Ic card and ic card system
CN112199740B (en) Encryption lock implementation method and encryption lock
EP3091468B1 (en) Integrated circuit access
US6735697B1 (en) Circuit arrangement for electronic data processing
US20080275917A1 (en) Itso Fvc2 Application Monitor
JP2000259801A (en) Memory device for ic card with initialization function
JP2003208586A (en) Method and device for controlling access to eeprom, corresponding computer software product, and corresponding computer-readable storage medium
JP2007200244A (en) Information management system and information management method
EP1079340A2 (en) Integrated circuit card protected from unauthorized access
JP2005524915A (en) System and authentication method