JP3048550B2 - IC chip for IC card - Google Patents

IC chip for IC card

Info

Publication number
JP3048550B2
JP3048550B2 JP9366145A JP36614597A JP3048550B2 JP 3048550 B2 JP3048550 B2 JP 3048550B2 JP 9366145 A JP9366145 A JP 9366145A JP 36614597 A JP36614597 A JP 36614597A JP 3048550 B2 JP3048550 B2 JP 3048550B2
Authority
JP
Japan
Prior art keywords
response data
initial response
data
registered
card
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
Application number
JP9366145A
Other languages
Japanese (ja)
Other versions
JPH10187913A (en
Inventor
俊弘 宮野
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP9366145A priority Critical patent/JP3048550B2/en
Publication of JPH10187913A publication Critical patent/JPH10187913A/en
Application granted granted Critical
Publication of JP3048550B2 publication Critical patent/JP3048550B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 【0001】[発明の目的] 【産業上の利用分野】本発明は、たとえばカードリーダ
・ライタ(外部装置)との間で半二重伝送によりデータ
の授受を行ない、カードリーダ・ライタからの制御信号
により起動され、起動後、起動開始を意味する初期応答
データをカードリーダ・ライタに出力し、その後カード
リーダ・ライタからの命令データを受取ることによりそ
の命令データを解読し、これに対する処理を実行した
後、その処理結果を応答データとしてカードリーダ・ラ
イタに出力するICカードに組み込まれるICカード用
ICチップに関する。 【0002】 【従来の技術】カードリーダ・ライタとの間で半二重伝
送によりデータの授受を行ない、カードリーダ・ライタ
からのリセット信号により制御プログラムが起動され、
かつその後カードリーダ・ライタからの命令データを受
取って解読し、これに対する処理を実行した後、その処
理結果を応対データとしてカードリーダ・ライタに出力
するようなICカードがある。このようなICカードに
おいては、その伝送プロトコルをカードリーダ・ライタ
が既知である場合に正常に動作する。 【0003】ところで、一般にICカードは機種により
その伝送プロトコルが違ってくる。このため、ICカー
ドは伝送プロトコルなどを外部装置であるカードリーダ
・ライタに知らせるため、リセット信号によるリセット
解除を認識後、アンサー・ツウ・リセット(Answer to
Reset と称する初期応答データをカードリーダ・ライタ
に出力する。その後、ICカードは命令データ待ち状態
になる。 【0004】この場合、初期応答データは、ICカード
の伝送プロトコル仕様情報とICカード固有の情報とか
ら構成されていて、ICカード用ICチップの製造時に
固定パラメータとしてマスクROMなどにあらかじめ登
録されている。 【0005】しかし、従来のICカード用ICチップに
あっては、その製造時点でマスクROMなどに初期応答
データを登録してあるため、登録後は初期応答データの
書換えは不可能である。このため、製造後において初期
応答データの内容更新や追加が発生した場合は、ICカ
ード用ICチップを改めて製造しなければならないとい
う問題があった。 【0006】 【発明が解決しようとする課題】上記したように、起動
後に出力する初期応答データは固定パラメータとしてあ
らかじめ固定的に登録されているため、初期応答データ
の内容更新や追加を行うことができないという問題があ
る。 【0007】そこで、本発明は以上の問題点を解決する
もので、初期応答データを任意に登録することができ、
もって初期応答データの内容更新や追加が任意に行なえ
るICカード用ICチップを提供することを目的とす
る。 【0008】[発明の構成] 【0009】 【課題を解決するための手段】本発明では、上記課題を
解決するために、外部装置からのリセット信号により起
動され、その後、上記外部装置からの命令データを受け
取ることによりその命令データを解読し、これに対応す
る処理を実行した後、その処理結果を応答データとして
上記外部装置に出力するICカードに組み込まれるIC
カード用ICチップおいて、リセット信号により起動
された際にICカード固有のプロトコルを外部装置に知
らせるための初期応答データならびにプログラムが予め
固定的に登録されている書換え不可能なマスクROM
と、追加の初期応答データが登録される書換え可能な不
揮発性メモリと、制御素子とからなり、この制御素子は
上記書換え不可能なマスクROMに記憶されているプロ
グラムに基づいて動作することにより、上記外部装置か
ら送信される初期応答データの登録命令及び初期応答デ
ータに基づいて、上記書換え可能な不揮発性メモリに初
期応答データを登録する登録機能と、上記外部装置から
のリセット信号により起動された際、上記書換え可能な
不揮発性メモリに初期応答データが登録されているか否
かを判定する判定機能と、この判定機能により上記書換
え可能な不揮発性メモリに初期応答データが登録されて
いると判定された場合、上記書換え可能な不揮発性メモ
リに登録されている初期応答データを出力する第1の出
力機能と、上記判定機能により上記書換え可能な不揮発
性メモリに初期応答データが登録されていないと判定さ
れた場合は、上記書換え不可能なマスクROMに登録さ
れている初期応答データを出力する第2の出力機能とを
実行するものであり、上記ROM、不揮発性メモリ及び
制御素子とが1つのICチップで構成されているもので
ある。 【0010】本願発明においては、登録手段を用いて外
部からのアプリケーションにより書換え可能な不揮発性
メモリに初期応答データを任意に登録することができ
る。したがって、ICカード用ICチップの製造後にお
いても、初期応答データの内容更新や追加が任意に行え
る。 【0011】 【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。 【0012】図10は本発明に係わるICカードが適用
される、例えばホームバンキングシステムあるいはショ
ッピングシステムなどの端末装置として用いられるカー
ド取扱装置の構成例を示すものである。 【0013】すなわち、この装置は、ICカード1をカ
ードリーダ・ライタ(外部装置)2を介してCPU などか
らなる制御部3と接続可能にするとともに、制御部3に
キーボード4、CRT ディスプレイ装置5、プリンタ6お
よびフロッピィディスク装置7を接続して構成される。 【0014】ICカード1は、ユーザが保持し、たとえ
ば商品購入などの際にユーザのみが知得している暗証番
号の参照や必要データの蓄積などを行うもので、図9に
その機能ブロックを示すように、リード・ライト部11、
暗証設定・暗証照合部12、および暗号化、複号化部13な
どの基本機能を実行する部分と、これらの基本機能を管
理するスーパバイザ14とで構成されている。 【0015】リード・ライト部11は、カードリード・ラ
イタ2との間でデータを読出し、書込み、あるいは消去
を行なう機能である。暗証設定・暗証照合部12は、ユー
ザが設定した暗証番号の記憶および読出禁止処理を行な
うとともに、暗証番号の設定後にその暗証番号の照合を
行ない、以後の処理の許可を与える機能である。 【0016】暗号化・復合化部13は、たとえば通信回線
を介して制御部3から他の端末装置へデータを送信する
場合の通信データ漏洩、偽造を防止するための暗号化や
暗号化されたデータの復合化を行なうものであり、たと
えばDES (Data EncryptionStandard)など、充分な暗
号強度を有する暗号化アルゴリズムにしたがってデータ
処理を行なう機能である。スーパバイザ14は、カードリ
ーダ・ライタ2から入力された機能コードもしくはデー
タの付加された機能コードを解読し、前記基本機能のう
ち必要な機能選択して実行させる機能である。 【0017】これらの諸機能を発揮させるために、IC
カード1は例えば図8に示すように、制御素子(たとえ
ばCPU )15、記憶内容が消去可能(書換え可能)な不揮
発性のデータメモリ(不揮発性メモリ)16、記憶内容が
消去不可能(書換え不可能)なプログラムメモリ(マス
クROM)17、およびカードリーダ・ライタ2との電気
的接触を得るためのコンタクト部18によって構成されて
おり、これらのうち破線内の部分、即ち、制御素子15、
データメモリ16、プログラムメモリ17は1つのICチッ
プで構成されている。 【0018】プログラムメモリ17は、たとえばマスクR
OMで構成されており、図5に示すように前記各基本機
能を実現するサブルーチンを備えた制御素子15の制御プ
ログラムを記憶するプログラムエリア171 と、ICカー
ド1の起動開始を意味する初期応答データを記憶するパ
ラメータエリア172 とから構成される。 【0019】パラメータエリア172 の初期応答データ
は、ICカード1の製造時に記憶(登録)されるもの
で、たとえばICカード1の伝送プロトコル仕様情報お
よびICカード1固有の情報などから構成されている。 【0020】データメモリ16は、たとえばEEPROMで構成
されており、図6に示すように各種データの記憶に使用
される複数のデータエリア161 と、初期応答データが記
憶(登録)されるパラメータエリア162 とから構成され
る。 【0021】図7はデータメモリ16のパラメータエリア
162 のデータ列を示している。ここでは、特定ポイント
AAAAからデータサイズとnバイトのデータとBCC コード
とで構成している。なお、本実施例において、上記パラ
メータエリア162 登録できるデータ数は最大32バイトの
初期応答データである。 【0022】次に、このような構成において動作を説明
する。まず、図1に示すフローチャートを参照してアプ
リケーションによる初期応答データの登録処理について
説明する。 【0023】カードリーダ・ライタ2からの初期応答デ
ータ登録命令データを受取ると、制御素子15は受取った
命令データに付加されている入力データ(初期応答デー
タ)のサイズをチェックすることにより、その入力デー
タ(初期応答データ)がデータメモリ16のパラメータエ
リア162 へ格納できるか否かを判断する。 【0024】この判断の結果、格納できれば、制御素子
15は上記入力データ(初期応答データ)をデータメモリ
16のパラメータエリア162 へ格納するとともに、データ
保証のためにBBC を付加し、登録完了を意味する応答デ
ータをカードリーダ・ライタ2へ出力する。 【0025】また、上記判断の結果、格納できなけれ
ば、制御素子15はデータサイズオーバを意味する応答デ
ータをカードリーダ・ライタ2 へ出力する。 【0026】次に、図2に示すフローチャートを参照し
て全体的な処理動作について説明する。 【0027】カードリーダ・ライタ2からの起動用制御
信号であるリセット信号をリセット解除状態にすると、
制御素子15は初期化を行ない、その後データメモリ16の
パラメータエリア162 に初期応答データが登録されてい
るか否かを判断する。 【0028】この判断の結果、初期応答データが登録さ
れていれば、制御素子15はデータメモリ16のパラメータ
エリア162 内の初期応答データの正当性をチェックし、
正常であればデータメモリ16のパラメータエリア162 内
の初期応答データをカードリーダ・ライタ2へ出力す
る。 【0029】また、上記判断の結果、初期応答データが
登録されていない場合、あるいは登録されているがその
初期応答データが異常であれば、制御素子は15はプログ
ラムメモリ17のパラメータエリア172 内の初期応答デー
タを出力した後、制御素子15はカードリーダ・ライタ2
からの命令データ待ち状態となる。 【0030】このとき、カードリーダ・ライタ2から命
令データ入力されると、制御素子15はその命令データに
したがって基本機能を実行し、その処理結果を示す応答
データをカードリーダ・ライタ2に出力し、再び定常状
態の命令データ待ち状態に戻る。 【0031】なお、カードリーダ・ライタ2からICカ
ード1に出力される命令データは、たとえば図3に示す
ようなフォーマットであり、同図(a)に示すように機
能コードのみの形態、または、同図(b)に示すように
機能コードにデータを付加した形態がある。 【0032】図4はプログラムメモリ17の初期応答デー
タとデータメモリ16の初期応答データの読出および書込
みを示したものである。 【0033】図4の(a)が本実施の形態で、アプリケ
ーションにより登録され、かつデータメモリ16のパラメ
ータエリア162 内の初期応答データ正常の場合は、デー
タメモリ16のパラメータエリア162 内の初期応答データ
が「読出2」のように出力される。 【0034】また、アプリケーションによる登録が未の
場合や、登録が完了したがデータメモリ16のパラメータ
エリア16内の初期応答データが「読出1」のように出力
される。以上のように、リセット解除後に出力する初期
応答データを選択的に切換えている。 【0035】図4の(b)、(c)は本発明の応用例で
ある。ただし、カードリーダ・ライタ2へ伝送プロトコ
ルを知らせる伝送プロトコル仕様情報不変と考え、プロ
グラムメモリ17のパラメータエリア172 内の電送プロト
コル仕様情報を用いた場合である。 【0036】まず、図4(b)は、アプリケーションに
よる初期応答データ(伝祖プロトコル仕様情報を含まな
い)はデータメモリ162 に登録し、リセット解除後の出
力は登録状態をチェックし、登録されていればプログラ
ムメモリ17のパラメータエリア172 内の電送プロトコル
仕様情報とデータメモリ16のパラメータエリア162 内の
初期応答データ(伝送プロトコル仕様情報を含まない)
とを結合し、「読出2」のように出力する。また、登録
されていない場合は、プログラムメモリ17のパラメータ
エリア172 内の初期応答データを「読出1」のように出
力する。 【0037】次に図4(c)は、アプリケーションによ
る初期応答データ(伝送プロトコル仕様情報をふくまな
い)の登録時、その初期応答データとプログラムメモリ
17のパラメータエリア172 内の伝送プロトコル仕様情報
とを結合し、データメモリ16のパラメータエリア162 に
登録する。 【0038】リセット解除後の出力は、登録状態によ
り、登録されていれば「読出2」のように出力し、登録
されていなければ「読出1」のように出力する。 【0039】このように、データメモリに初期応答デー
タを登録できるエリアを設け、このエリアに対して外部
からのアプリケーションにより初期応答データを登録で
きるようにしたので、外部からのアプリケーションによ
り、リセット解除後に出力する初期応答データを任意に
登録することができる。 【0040】したがって、ICカードの製造後において
も、初期応答データの内容更新や追加が任意に行える。 【0041】なお、前記実施の形態では、データメモリ
に初期応答データを登録できるエリアを設け、このエリ
アに対して初期応答データを登録する場合について説明
したが、たとえばデータメモリとは別に初期応答データ
登録用の不揮発生メモリを設け、この不揮発生メモリに
対して初期応答データを登録するようにしてもよい。 【0042】 【発明の効果】以上詳述したように本発明によれば、初
期応答データを任意に登録することができ、もっって初
期応答データの内容更新や追加が任意に行えるICカー
ド用ICチップを提供できる。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of exchanging data with a card reader / writer (external device) by half-duplex transmission, for example. It is activated by a control signal from the card reader / writer, and after activation, outputs initial response data indicating the start of activation to the card reader / writer, and then receives the instruction data from the card reader / writer to decode the instruction data In addition, the present invention relates to an IC card IC chip incorporated in an IC card that outputs a processing result as response data to a card reader / writer after executing processing for this. 2. Description of the Related Art Data is exchanged with a card reader / writer by half-duplex transmission, and a control program is started by a reset signal from the card reader / writer.
In addition, there is an IC card which receives and decodes instruction data from a card reader / writer, performs processing on the instruction data, and then outputs the processing result as response data to the card reader / writer. Such an IC card operates normally when the card reader / writer has a known transmission protocol. [0003] In general, the transmission protocol of an IC card differs depending on the model. For this reason, the IC card notifies the card reader / writer, which is an external device, of the transmission protocol and the like.
Outputs initial response data called Reset to the card reader / writer. Thereafter, the IC card enters a command data waiting state. In this case, the initial response data is composed of IC card transmission protocol specification information and information unique to the IC card, and is previously registered as a fixed parameter in a mask ROM or the like at the time of manufacturing the IC card IC chip. I have. However, in the conventional IC chip for an IC card, the initial response data is registered in a mask ROM or the like at the time of manufacture, so that the initial response data cannot be rewritten after the registration. For this reason, when the contents of the initial response data are updated or added after manufacturing, there is a problem that the IC chip for the IC card must be manufactured again. [0006] As described above, since the initial response data output after startup is fixedly registered in advance as fixed parameters, the content of the initial response data can be updated or added. There is a problem that can not be. Therefore, the present invention solves the above problems, and can arbitrarily register initial response data.
Accordingly, it is an object of the present invention to provide an IC card IC chip that can arbitrarily update or add the content of initial response data. According to the present invention, in order to solve the above-mentioned problems, the present invention is activated by a reset signal from an external device, and thereafter, receives an instruction from the external device. After receiving the data, it decodes the instruction data, executes the corresponding processing, and then outputs the processing result as response data to the external device.
Oite the IC chip card, a reset signal by the started when the IC card specific initial response data to inform the protocol to the external apparatus, and program in advance fixedly that are registered rewritable mask ROM
And a rewritable nonvolatile memory in which additional initial response data is registered, and a control element. The control element operates based on a program stored in the non-rewritable mask ROM. A registration function for registering initial response data in the rewritable nonvolatile memory based on a registration command and initial response data of initial response data transmitted from the external device, and a registration function activated by a reset signal from the external device. A determination function of determining whether or not the initial response data is registered in the rewritable nonvolatile memory; and determining that the initial response data is registered in the rewritable nonvolatile memory by the determination function. The first output function for outputting the initial response data registered in the rewritable nonvolatile memory; If it is determined by the function that the initial response data is not registered in the rewritable nonvolatile memory, a second output function of outputting the initial response data registered in the non-rewritable mask ROM is performed. The ROM, the non-volatile memory, and the control element are configured by one IC chip. In the present invention, the initial response data can be arbitrarily registered in the rewritable nonvolatile memory by an external application using the registration means. Therefore, even after manufacturing the IC card IC chip, the content of the initial response data can be arbitrarily updated or added. Embodiments of the present invention will be described below with reference to the drawings. FIG. 10 shows a configuration example of a card handling device to which the IC card according to the present invention is applied, for example, used as a terminal device in a home banking system or a shopping system. That is, this device allows the IC card 1 to be connected to a control unit 3 composed of a CPU or the like via a card reader / writer (external device) 2, and the control unit 3 has a keyboard 4 and a CRT display device 5. , A printer 6 and a floppy disk device 7 are connected. The IC card 1 is held by the user, and refers to a personal identification number known only to the user, for example, when purchasing a product, and stores necessary data. As shown, the read / write unit 11,
It comprises a part for executing basic functions such as a password setting / password collating unit 12, an encryption and decryption unit 13, and a supervisor 14 for managing these basic functions. The read / write unit 11 has a function of reading, writing, or erasing data with the card read / writer 2. The password setting / password collation unit 12 has a function of performing storage and reading prohibition processing of the password set by the user, collating the password after setting the password, and giving permission for the subsequent processing. The encryption / decryption unit 13 performs encryption or encryption for preventing communication data leakage and forgery when data is transmitted from the control unit 3 to another terminal device via a communication line, for example. This function performs data decryption, and performs data processing according to an encryption algorithm having a sufficient encryption strength, such as DES (Data Encryption Standard). The supervisor 14 is a function for decoding the function code input from the card reader / writer 2 or the function code to which data is added, and selecting and executing a necessary function among the basic functions. In order to exhibit these various functions, an IC
As shown in FIG. 8, for example, the card 1 has a control element (eg, CPU) 15, a non-volatile data memory (non-volatile memory) 16 whose storage contents are erasable (rewritable), and a non-erasable (non-rewritable) storage contents. And a contact portion 18 for obtaining electrical contact with the card reader / writer 2. Of these, a portion within a broken line, that is, a control element 15,
The data memory 16 and the program memory 17 are composed of one IC chip. The program memory 17 includes, for example, a mask R
A program area 171 for storing a control program of the control element 15 comprising a subroutine for realizing each of the basic functions as shown in FIG. 5, and initial response data indicating the start of activation of the IC card 1 as shown in FIG. And a parameter area 172 for storing The initial response data in the parameter area 172 is stored (registered) at the time of manufacturing the IC card 1, and includes, for example, transmission protocol specification information of the IC card 1, information unique to the IC card 1, and the like. The data memory 16 is composed of, for example, an EEPROM. As shown in FIG. 6, a plurality of data areas 161 used for storing various data and a parameter area 162 for storing (registering) initial response data are provided. It is composed of FIG. 7 shows a parameter area of the data memory 16.
162 data strings are shown. Here, a specific point
It is composed of data size, n-byte data and BCC code from AAAA. In this embodiment, the number of data that can be registered in the parameter area 162 is initial response data of a maximum of 32 bytes. Next, the operation in such a configuration will be described. First, the registration processing of the initial response data by the application will be described with reference to the flowchart shown in FIG. When receiving the initial response data registration command data from the card reader / writer 2, the control element 15 checks the size of the input data (initial response data) added to the received command data, thereby checking the input. It is determined whether the data (initial response data) can be stored in the parameter area 162 of the data memory 16. As a result of this determination, if the data can be stored, the control element
15 is a data memory for the above input data (initial response data)
The data is stored in the 16 parameter areas 162, a BBC is added for data assurance, and response data indicating completion of registration is output to the card reader / writer 2. If the data cannot be stored as a result of the above determination, the control element 15 outputs response data indicating that the data size is over to the card reader / writer 2. Next, the overall processing operation will be described with reference to the flowchart shown in FIG. When a reset signal, which is a start-up control signal from the card reader / writer 2, is set to the reset release state,
The control element 15 performs initialization, and then determines whether or not the initial response data is registered in the parameter area 162 of the data memory 16. As a result of this determination, if the initial response data is registered, the control element 15 checks the validity of the initial response data in the parameter area 162 of the data memory 16,
If normal, the initial response data in the parameter area 162 of the data memory 16 is output to the card reader / writer 2. If the result of the determination is that the initial response data has not been registered, or that the registered initial response data is abnormal, the control element 15 determines that the initial response data is in the parameter area 172 of the program memory 17. After outputting the initial response data, the control element 15 sets the card reader / writer 2
Waits for the instruction data from. At this time, when command data is input from the card reader / writer 2, the control element 15 executes a basic function according to the command data, and outputs response data indicating the processing result to the card reader / writer 2. Then, the process returns to the instruction data waiting state in the steady state. The instruction data output from the card reader / writer 2 to the IC card 1 has a format as shown in FIG. 3, for example, as shown in FIG. There is a form in which data is added to a function code as shown in FIG. FIG. 4 shows reading and writing of the initial response data of the program memory 17 and the initial response data of the data memory 16. FIG. 4A shows the present embodiment, in which the initial response data in the parameter area 162 of the data memory 16 is normal if the initial response data in the parameter area 162 of the data memory 16 is normal. Data is output as "read 2". If the registration by the application has not been completed or the registration has been completed, the initial response data in the parameter area 16 of the data memory 16 is output as "read 1". As described above, the initial response data output after the reset is released is selectively switched. FIGS. 4B and 4C show an application example of the present invention. However, it is considered that the transmission protocol specification information for notifying the card reader / writer 2 of the transmission protocol is unchanged, and the transmission protocol specification information in the parameter area 172 of the program memory 17 is used. First, FIG. 4B shows that the initial response data (not including the ancestral protocol specification information) by the application is registered in the data memory 162, and the output after reset release is checked by checking the registration state. If so, the transmission protocol specification information in the parameter area 172 of the program memory 17 and the initial response data in the parameter area 162 of the data memory 16 (not including the transmission protocol specification information)
And output as "readout 2". If not registered, the initial response data in the parameter area 172 of the program memory 17 is output as "read 1". Next, FIG. 4C shows the case where the application registers the initial response data (not including the transmission protocol specification information) when the application registers the initial response data and the program memory.
The transmission protocol specification information in the 17 parameter area 172 is combined and registered in the parameter area 162 of the data memory 16. Depending on the registration state, the output after reset release is output as "read 2" if registered, and is output as "read 1" if not registered. As described above, the area in which the initial response data can be registered is provided in the data memory, and the initial response data can be registered in this area by an external application. The initial response data to be output can be arbitrarily registered. Therefore, the content of the initial response data can be arbitrarily updated or added even after the IC card is manufactured. In the above-described embodiment, a case has been described where an area in which initial response data can be registered is provided in the data memory and the initial response data is registered in this area. A non-volatile memory for registration may be provided, and the initial response data may be registered in the non-volatile memory. As described above in detail, according to the present invention, the initial response data can be arbitrarily registered, so that the content of the initial response data can be arbitrarily updated or added. An IC chip can be provided.

【図面の簡単な説明】 【図1】アプリケーションによる初期応答データの登録
処理を説明するフローチャート 【図2】全体的な処理動作を説明するフローチャート 【図3】カードリーダ・ライタから出力される命令デー
タのフォーマットを示す図 【図4】プログラムメモリの初期応答データとデータメ
モリの初期応答データの読出および書込みを説明する図 【図5】プログラムメモリの構成図 【図6】データメモリの構成図 【図7】データメモリのパラメータエリアのデータ構成
を示す図 【図8】ICカードに内蔵するICチップの構成を示す
ブロック図 【図9】ICカードの機能ブロックを示す図 【図10】カード取扱装置の構成を示すブロック図であ
る。 【符号の説明】 1 ICカード 2 カードリーダ・ライタ(外部装置) 15 制御素子(CPU ) 16 データメモリ(不揮発性メモリ) 17 プログラムメモリ(マスクROM)
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flowchart illustrating registration processing of initial response data by an application. FIG. 2 is a flowchart illustrating overall processing operation. FIG. 3 is instruction data output from a card reader / writer. FIG. 4 is a diagram for explaining reading and writing of initial response data of a program memory and initial response data of a data memory. FIG. 5 is a configuration diagram of a program memory. FIG. 6 is a configuration diagram of a data memory. 7 is a diagram showing the data structure of the parameter area of the data memory. FIG. 8 is a block diagram showing the structure of an IC chip incorporated in the IC card. FIG. 9 is a diagram showing functional blocks of the IC card. FIG. 3 is a block diagram illustrating a configuration. [Description of Signs] 1 IC card 2 Card reader / writer (external device) 15 Control element (CPU) 16 Data memory (non-volatile memory) 17 Program memory (mask ROM)

Claims (1)

(57)【特許請求の範囲】 1.外部装置からのリセット信号により起動され、その
後、上記外部装置からの命令データを受け取ることによ
りその命令データを解読し、これに対応する処理を実行
した後、その処理結果を応答データとして上記外部装置
に出力するICカードに組み込まれるICカード用IC
チップおいて、 リセット信号により起動された際にICカード固有のプ
ロトコルを外部装置に知らせるための初期応答データな
らびにプログラムが予め固定的に登録されている書換え
不可能なマスクROMと、 追加の初期応答データが登録される書換え可能な不揮発
性メモリと、 制御素子とからなり、この制御素子は上記書換え不可能
なマスクROMに記憶されているプログラムに基づいて
動作することにより、 上記外部装置から送信される初期応答データの登録命令
及び初期応答データに基づいて、上記書換え可能な不揮
発性メモリに初期応答データを登録する登録機能と、 上記外部装置からのリセット信号により起動された際、
上記書換え可能な不揮発性メモリに初期応答データが登
録されているか否かを判定する判定機能と、 この判定機能により上記書換え可能な不揮発性メモリに
初期応答データが登録されていると判定された場合、上
記書換え可能な不揮発性メモリに登録されている初期応
答データを出力する第1の出力機能と、 上記判定機能により上記書換え可能な不揮発性メモリに
初期応答データが登録されていないと判定された場合
は、上記書換え不可能なマスクROMに登録されている
初期応答データを出力する第2の出力機能とを実行する
ものであり、上記ROM、不揮発性メモリ及び制御素子
とが1つのICチップで構成されていることを特徴とす
るICカード用ICチップ。
(57) [Claims] It is activated by a reset signal from the external device, and thereafter, receives the instruction data from the external device, decodes the instruction data, executes a process corresponding thereto, and uses the processing result as response data as the response data. IC for IC card incorporated in IC card to output to
Oite the chip, a mask ROM initial response data, and a program for notifying the IC card specific protocol to the external device is not possible rewriting is previously fixedly registered when activated by the reset signal, additional early It consists of a rewritable non-volatile memory in which response data is registered, and a control element.
By operating based on the program stored in the mask ROM, the initial response data is stored in the rewritable nonvolatile memory based on the registration command and the initial response data of the initial response data transmitted from the external device. A registration function to register, and when activated by a reset signal from the external device,
A determination function for determining whether or not the initial response data is registered in the rewritable nonvolatile memory; and a case where the determination function determines that the initial response data is registered in the rewritable nonvolatile memory. A first output function for outputting the initial response data registered in the rewritable nonvolatile memory; and the determination function determines that the initial response data is not registered in the rewritable nonvolatile memory. In this case, a second output function of outputting the initial response data registered in the non-rewritable mask ROM is executed, and the ROM, the nonvolatile memory, and the control element are implemented by one IC chip. An IC chip for an IC card, comprising:
JP9366145A 1997-12-25 1997-12-25 IC chip for IC card Expired - Lifetime JP3048550B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9366145A JP3048550B2 (en) 1997-12-25 1997-12-25 IC chip for IC card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9366145A JP3048550B2 (en) 1997-12-25 1997-12-25 IC chip for IC card

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP61289283A Division JPH0734214B2 (en) 1986-12-04 1986-12-04 IC card

Publications (2)

Publication Number Publication Date
JPH10187913A JPH10187913A (en) 1998-07-21
JP3048550B2 true JP3048550B2 (en) 2000-06-05

Family

ID=18486034

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9366145A Expired - Lifetime JP3048550B2 (en) 1997-12-25 1997-12-25 IC chip for IC card

Country Status (1)

Country Link
JP (1) JP3048550B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1728405A1 (en) * 2004-03-10 2006-12-06 Philips Intellectual Property & Standards GmbH Mobile terminal with reduced components
JP2013175126A (en) * 2012-02-27 2013-09-05 Toshiba Corp Ic card, and control program for the same

Also Published As

Publication number Publication date
JPH10187913A (en) 1998-07-21

Similar Documents

Publication Publication Date Title
US5285200A (en) Portable electronic device and a method for processing data therefore
JP3048550B2 (en) IC chip for IC card
JP3545627B2 (en) Portable electronic devices
KR19990048136A (en) Computer system having identification number storage function and method
JP3718564B2 (en) IC card
JPH0654507B2 (en) Portable electronic device
JPH1131199A (en) Ic card and ic card terminal equipment
JPH0734214B2 (en) IC card
EP0488720B1 (en) A portable electronic device and a method for processing data therefor
JPH0935018A (en) Portable information recording medium and its access method
JP2618953B2 (en) Transmission processing method, data storage medium and IC chip
JP2002024790A (en) Information processing system, portable electronic device, and key changing method
JP2537200B2 (en) Portable electronic devices
JPH09179949A (en) Portable information recording medium and its reader/ writer device
JP4001652B2 (en) IC card
JP2577369B2 (en) IC card
JPH0772891B2 (en) Data transmission method
JP2000115183A (en) Portable electronic device
JP2577370B2 (en) Portable electronic devices
JP4549731B2 (en) Multi-application IC card with command code that is commonly used by applications
JP3789994B2 (en) IC card
JP2598056B2 (en) Portable electronic devices
JPH03224082A (en) Portable electronic device
JPS6383894A (en) Portable electronic device
JP2543861B2 (en) Data transmission method

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term