JPH01223585A - Ic card testing system - Google Patents

Ic card testing system

Info

Publication number
JPH01223585A
JPH01223585A JP63050049A JP5004988A JPH01223585A JP H01223585 A JPH01223585 A JP H01223585A JP 63050049 A JP63050049 A JP 63050049A JP 5004988 A JP5004988 A JP 5004988A JP H01223585 A JPH01223585 A JP H01223585A
Authority
JP
Japan
Prior art keywords
program
card
information
test
data
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
JP63050049A
Other languages
Japanese (ja)
Inventor
Kazuhiko Omichi
和彦 大道
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.)
Maxell Ltd
Original Assignee
Hitachi Maxell 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 Hitachi Maxell Ltd filed Critical Hitachi Maxell Ltd
Priority to JP63050049A priority Critical patent/JPH01223585A/en
Publication of JPH01223585A publication Critical patent/JPH01223585A/en
Pending legal-status Critical Current

Links

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

PURPOSE:To issue an IC card excellent in confidentiality and reliability by executing an action test program only through activation information written from an external part to a volatile memory, etc. CONSTITUTION:An input output device 1 receives the data block transmitted from a test device and sends it to an identifying device 2. When it is discriminated that the mode identification information of a data block stores the activation program to activate the test program, an activation program writing device 6 is activated by the device 2 and the device 6 writes the data to an activation program area 51 in a RAM 5. Thereafter, the instruction to activate an action test program 41 send from the device 2 is sent to an arithmetic processing part 3, decoded by the processing part 3 and an activation program executing device 7 is activated. Thus, an activation program is executed and the program 41 is executed. Thus, only at the time of confirming the IC card action, an activation program to activate the program 41 exists.

Description

【発明の詳細な説明】 [産業上の利用分野コ この発明は、ICカードテスト方式に関し、詳しくはI
Cカードの動作を確認をするテスト時以外は、ICカー
ドの内部のテストプログラムが外部から起動されないよ
うなICカードテスト方式の改良に関する。
[Detailed Description of the Invention] [Industrial Field of Application] This invention relates to an IC card test method, and more specifically,
This invention relates to an improvement in an IC card test method in which a test program inside an IC card is not started from the outside except during a test to confirm the operation of a C card.

[従来の技術] 商品取引でのクレジット方式とか、現金の受は渡しを行
う銀行の支払/預金方式、病院とか社員食堂等における
各種の精算方式などがICカードを用いる方式として実
用化されているが、このようなICカードによる方式で
は、その不i[使用が大きな問題となる。
[Prior art] IC cards have been put into practical use in the credit method for product transactions, the payment/deposit method in banks that receive and deliver cash, and various payment methods in hospitals, employee cafeterias, etc. However, in such a system using an IC card, its unavailability becomes a major problem.

ICカードは、通常、内部にマイクロプロセッサとメモ
リ、そして外部装置との間でデータの授受を行うための
インタフェース等とを内蔵していて、例えば、外部装置
の1つであるホストコンピュータとか、ICカードリー
ダ・ライタに装着されて使用され、外?a< H置から
発信されたコマンド群をICカードの内部制御プログラ
ムが解読し、メモリに記憶された動作プログラムに従っ
て、そのメモリのアクセス、例えばデータの書込み、読
出し及び消去等を実行し、その結果をコマンドに対する
レスポンスとして外部記憶装置に返答するシーケンスに
従って外部装置との間でデータの授受を行う。
An IC card usually has a built-in microprocessor, memory, and an interface for exchanging data with an external device, such as a host computer that is one of the external devices, Is it attached to a card reader/writer and used outside? The internal control program of the IC card decodes the commands sent from the a Data is exchanged with the external device according to the sequence in which the external storage device is sent a response to the command.

従来、このようなICカードでは、カード発行以前にI
Cカードの動作を確認するのためのテストを行う必要が
ある。そのための動作確認用のプログラム(以下動作テ
ストプログラム)が各種の動作プログラムと同時にマイ
クロコンピュータ内部のマスクROMに書き込まれてい
て、動作テスト時にはコマンドによって通常の動作プロ
グラム処理から動作確認用のプログラム処理へ制御が移
る方式を採っている。
Conventionally, with such IC cards, the I
It is necessary to perform a test to confirm the operation of the C card. An operation check program for this purpose (hereinafter referred to as an operation test program) is written in the mask ROM inside the microcomputer at the same time as various operation programs, and during an operation test, a command changes the process from normal operation program processing to operation check program processing. A method is adopted in which control is transferred.

[解決しようとする課題] そこで、ICカードを使用する時とか、その運用時にI
Cカード内部に動作テストプログラムが残されたままと
なっている。その結果、ICカード内部のデータの読出
し、書込みがこの動作テストプログラムによって実行可
能となる。したがって、従来のICカードは、その機密
性、信頼性に欠ける欠点がある。
[Problem to be solved] Therefore, when using an IC card or when operating it,
The operation test program remains inside the C card. As a result, it becomes possible to read and write data inside the IC card using this operation test program. Therefore, conventional IC cards have the disadvantage of lacking in confidentiality and reliability.

この発明は、このような従来技術の欠点を解消するもの
であって、ICカードの確認動作を行うテスト時以外に
は、動作テストプログラムの起動が難しく、機密性、信
頼性に優れたICカードを発行できるICカードテスト
方式を提供することを目的とする。
The present invention solves the drawbacks of the conventional technology, and provides an IC card with excellent confidentiality and reliability, in which it is difficult to start the operation test program except during a test to confirm the IC card. The purpose is to provide an IC card test method that can issue an IC card.

[課題を解決するための手段コ このような[1的を達成するためのこの発明のICカー
ドテスト方式における手段は、プロセッサと、このプロ
セッサのプログラム及び動作確認のための処理プログラ
ムを記憶する不揮発性メモリと、データ等を記憶する、
内部電源でバックアップされていない揮発性メモリ若し
くは揮発させることが可能なメモリとを有し、外部装置
との間でデータの授受を行うICカードにおいて、外部
装置から送出される情報のうちから動作テストプログラ
ムを起動させるための起動情報に対してそれを格納する
ことを示す格納情報を検出する検出手段と、この検出手
段が格納情報を検出したときにそれに応じて送出された
起動情報を揮発性メモリ若しくは揮発させることが可能
なメモリに格納する起動情報書込み手段と、外部装置か
ら送出される命令が動作テストプログラムを起動又は実
行する命令であるときに起動情報を介して動作テストプ
ログラムを起動するプログラム起動手段とを備えるもの
である。
[Means for Solving the Problems] The means in the IC card test method of the present invention to achieve the first object include a processor, a non-volatile memory that stores a program for the processor and a processing program for checking the operation. sexual memory and remembering data, etc.
For IC cards that have volatile memory that is not backed up by an internal power source or memory that can be volatilized, and that exchange data with external devices, perform operational tests based on information sent from external devices. A detection means for detecting stored information indicating that the starting information for starting a program is to be stored, and when the detecting means detects the stored information, the starting information sent out in response to the stored information is stored in a volatile memory. or a startup information writing means stored in a memory that can be volatilized, and a program that starts the operation test program via the startup information when the command sent from an external device is an instruction to start or execute the operation test program. and a starting means.

[作用コ このように、外部装置から送信される情報に対して検出
手段によってICカードの動作テストプログラムについ
てものか否かを検出し、それが検出されると、動作テス
トプログラムの起動情報が起動情報書込み手段により揮
発性メモリ若しくは揮発させることが可能なメモリ内へ
書込まれる。
[Operation] In this way, the detection means detects whether or not the information sent from the external device is related to the operation test program of the IC card, and when it is detected, the activation information of the operation test program is activated. The information is written into a volatile memory or a memory that can be volatilized by the information writing means.

そして、その書込み終了後に動作プログラム起動命令に
よって、この起動情報を介してプログラム起動手段によ
り制御を動作テストプログラムへと移行させる。このよ
うにして、動作テストプログラムを起動して、ICカー
ドの通信機能台メモリアクセスなどの動作チエツクを行
い、かつ動作確認後には、ICカードがテスト装置から
排出されると揮発性メモリでは、動作テストプログラム
を起動させる起動情報が消去され、また、データを揮発
させることが可能なメモリでは、起動情報に関するデー
タを消去することができる。
After the writing is completed, an operation program activation command causes the program activation means to transfer control to the operation test program via this activation information. In this way, the operation test program is started to check the operation of the IC card's communication function board memory access, etc., and after confirming the operation, when the IC card is ejected from the test equipment, the volatile memory does not function properly. The activation information for starting the test program is erased, and in a memory where data can be volatilized, data related to the activation information can be erased.

その結果、動作テストプログラムは、外部から揮発性メ
モリ若しくは揮発させることが可能なメモリ内へ書込ま
れる起動情報を介してのみ実行可能となり1. I C
カードの使用時或いは運用時には、ICカード内部に動
作テストプログラムを起動させる起動情報は存在せず、
しかも、揮発性メモリの空間若しくはデータを揮発させ
ることが可能なメモリの空間は、動作プログラムのワー
クエリアとして利用できるようになる。したがって、機
密性、信頼性に優れたICカードを発行することができ
る。
As a result, the operation test program can only be executed via activation information written externally into volatile memory or memory that can be volatilized.1. IC
When using or operating the card, there is no activation information inside the IC card to activate the operation test program.
Moreover, the volatile memory space or the memory space in which data can be volatilized can be used as a work area for the operating program. Therefore, it is possible to issue an IC card with excellent confidentiality and reliability.

[実施例コ 以下、この発明の一実施例について図面を参照して詳細
に説明する。
[Embodiment] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings.

第1図は、この発明の一実施例を示すICカードの内部
構成を示すブロック図、第2図は、テスト動作時におけ
るICカード内のメモリマツプを示す説明図、第3図は
、そのテスト処理のフローチャートである。
FIG. 1 is a block diagram showing the internal configuration of an IC card showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a memory map inside the IC card during test operation, and FIG. 3 is the test process. This is a flowchart.

第1図において、10は、ICカードリーダ・ライタ(
又はホストコンピュータ)に装着されて、ICカードリ
ーダΦライタとの間でデータの授受を行うICカードで
あって、8は、その情報処理部(マイクロプロセッサ、
MPU)である。そして、このMPU8の制御プログラ
ムとか基本的処理プログラムや動作プログラム、そして
動作テストプログラム41がROM (マスクROM、
PROM、EEPROMを含む)4に記憶されている。
In FIG. 1, 10 is an IC card reader/writer (
8 is an IC card that is attached to an IC card reader (or host computer) and exchanges data with an IC card reader/Φ writer;
MPU). The control program, basic processing program, operation program, and operation test program 41 of this MPU 8 are stored in a ROM (mask ROM,
(including PROM and EEPROM) 4.

通常の動作においては、MPU8がROM4に記憶され
たプログラムに従って、所定の処理を実行し、揮発性メ
モリであるRAM5に外部装置から転送されたデータと
か、読出しデータ、結果データ等が一時的に記憶されて
、ICカードリーダ・ライタ等の外部装置との間でデー
タの授受が行われる。なお、この場合、内部電源はなく
、RAM5等の電源は外部装置から供給される。したが
って、RAM5は内部電源でバックアップされていない
In normal operation, the MPU 8 executes predetermined processing according to the program stored in the ROM 4, and data transferred from external devices, read data, result data, etc. are temporarily stored in the volatile memory RAM 5. Then, data is exchanged with an external device such as an IC card reader/writer. Note that in this case, there is no internal power supply, and power for the RAM 5 and the like is supplied from an external device. Therefore, RAM5 is not backed up by an internal power supply.

MPU8は、その機能ブロックとして、ここでは、識別
手段2、演算処理部3、起動プログラム書込み手段6、
そして起動プログラム実五手段7とにより構成されてい
る。なお、これら構成要素の一部或いは全部は、ハード
ウェアとして回路により実現されても、また、RAM5
或いはROM4に記憶された対応する各処理プログラム
を実行することで実現されてもよい。さらにこれらは、
ハードウェアとソフトウェアとの組合せで実現されても
よい。
The MPU 8 includes, as its functional blocks, an identification means 2, an arithmetic processing section 3, a startup program writing means 6,
The starting program is comprised of five means 7. Note that even if some or all of these components are implemented as hardware by a circuit,
Alternatively, it may be realized by executing each corresponding processing program stored in the ROM 4. Furthermore, these
It may be realized by a combination of hardware and software.

そこで、以下は、この発明の特徴である前記の構成とそ
の動作を中心にして第3図の処理の流れに従って説明す
る。
Therefore, the following will explain the above-mentioned configuration and its operation, which are the features of the present invention, according to the processing flow shown in FIG. 3.

入出力装置lは、外部装置とのインタフェースであって
、第3図のステップ■において、入出力装置1がテスト
装置(ここでは、ICカードlOがICカードリーダ・
ライタに対応するテスト装置に装着されているものとす
る)から送信されたデータブロックを受信し、それを識
別手段2に送出する。データブロックには、自己が処理
するモード(処理の種別)を識別するモード識別情報部
分があって、次のステップ■において、識別手段2によ
りそれが識別される。すなわち、データブロック中の自
己のモードを表すモード識別情報がデコードされ、又は
その一致が検出されることでテストプログラムを起動さ
せるための起動プログラムを書込むのか、動作テストプ
ログラム41を実行するのか、一般の処理プログラムを
実行するのかが識別される。なお、ここでのデータブロ
ックの伝送フォーマットとしては、例えば、その最初に
開始コード、次にコマンドコード又はレスポンスコード
、その次にモード識別情報、そして送信データ、最後に
終rコード等が配置されてなるものであって、テスト装
置(ICカードリーダ・ライタ)側からの送信データブ
ロックには、第2番目の位置にコマンドコードが挿入さ
れ、ICカード2側からの応答は、第2番目にレスポン
スコードが挿入される。
The input/output device 1 is an interface with an external device, and in step (3) in FIG.
It receives a data block transmitted from a test device (assumed to be attached to a test device corresponding to the writer) and sends it to the identification means 2. The data block has a mode identification information portion for identifying the mode (type of processing) in which it processes itself, and is identified by the identification means 2 in the next step (2). That is, whether to write a startup program to start the test program when the mode identification information representing the own mode in the data block is decoded or when a match is detected, or whether to execute the operation test program 41. It is identified whether a general processing program is to be executed. The transmission format of the data block here is, for example, a start code, then a command code or response code, then mode identification information, then transmission data, and finally an end r code, etc. The command code is inserted in the second position in the transmission data block from the test device (IC card reader/writer) side, and the response from the IC card 2 side is inserted in the second position. The code is inserted.

さて、前記の識別においてテスト装置(ICカードリー
ダ・ライタ)側から送出されるデータブロックのモード
識別情報がテストプログラムを起動するための起動プロ
グラムを格納す名ことを示すものであると判別されると
、識別手段2により起動プロゲラム書込み手段6が起動
される。そこで、ステップ■に示すように、起動プログ
ラムn込み手段6は、テスト装置側から送出されたデー
タブロックにあるデータを識別手段2を介して受は入れ
、そのデータを第2図に示すRAM5内に割り当てられ
たアドレス空間のうちの起動プログラム領域51へ順次
iQ込んで行く書込み処理を実行する。
Now, in the above-mentioned identification, it is determined that the mode identification information of the data block sent from the test device (IC card reader/writer) side indicates that the mode identification information of the data block is a name for storing a startup program for starting the test program. Then, the activation program writing means 6 is activated by the identification means 2. Therefore, as shown in step (3), the startup program loading means 6 accepts the data in the data block sent from the test equipment side via the identification means 2, and stores the data in the RAM 5 shown in FIG. A write process is executed in which iQ is sequentially written into the startup program area 51 of the address space allocated to the address space.

一方、前記ステップ■の判定において、モード識別情報
にノドされる内容が起動プログラムに対するものでない
と判定された場合には、ステップ■aへと移行して、あ
らかじめ指定された動作プログラムを実行して処理を終
了する。なお、この場合の動作プログラムは、識別手段
2により識別した結果に対応した処理の動作プログラム
が指定されるものであってもよい。
On the other hand, if it is determined in step (2) that the content entered in the mode identification information is not for the startup program, the process moves to step (a) and the pre-specified operation program is executed. Finish the process. Note that the operation program in this case may be one in which an operation program for processing corresponding to the result identified by the identifying means 2 is specified.

起動プログラムの書込みが終了すると、ステップ■にて
、テスト装置から送出された動作テストプログラム41
を起動する命令が識別手段2から演算処理部3に手渡さ
れ、演算処理部3がそれをデコードする。そして、起動
プログラム実行手段7を起動する。そこで、起動プログ
ラム実行手段7によりRAM5に書込まれている起動プ
ログラムが実行され、この起動プログラムが動作テスト
プログラム41を起動させる。その結果、通常の動作プ
ログラムから動作テストプログラム41に制御が移され
る。
When the writing of the startup program is completed, the operation test program 41 sent from the test device is
A command to start the is passed from the identification means 2 to the arithmetic processing unit 3, and the arithmetic processing unit 3 decodes it. Then, the startup program execution means 7 is started. Then, the startup program execution means 7 executes the startup program written in the RAM 5, and this startup program starts the operation test program 41. As a result, control is transferred from the normal operation program to the operation test program 41.

こうしてRAM5に外部から実装された起動プログラム
を実行させ、そのことにより、通常の動作プログラムか
ら動作テストプログラム41へ制御を移すことができる
。動作テストプログラム41が起動されると、後は、動
作テストプログラム41がテスト装置からの命令に従っ
てRAM5及びROM4 (EEPROMのとき、又は
その一部がEEPROMのとき)へのデータ書込み、読
出し、消去、外部へのデータ送信などのICカードの送
受信・メモリアクセス等についてのICカード10の基
本動作の確認処理が行われる。なお、このとき、RAM
5の起動プログラムを記憶している領域51は、動作テ
ストプログラムが起動された後には、ワークエリアとし
て使用される。
In this way, the startup program installed externally in the RAM 5 is executed, thereby making it possible to transfer control from the normal operation program to the operation test program 41. After the operation test program 41 is started, the operation test program 41 writes, reads, erases, and writes data into the RAM 5 and ROM 4 (when the EEPROM or a part thereof is an EEPROM) according to instructions from the test device. A process is performed to confirm the basic operation of the IC card 10 regarding transmission and reception of the IC card such as data transmission to the outside, memory access, and the like. Note that at this time, the RAM
The area 51 storing the startup program No. 5 is used as a work area after the operation test program is started.

このような1つの動作確認のテスト項目が終了すると、
ステップ■で動作確認が終rしたかを、動作テストプロ
グラム41に従って演算処理部3が判定し、動作確認が
終了していないときには、ステップ■へと戻り、テスト
装置側からの命令を受けて次のテスト動作について動作
確認処理がなされる。そしてこのような処理が繰り返さ
れる。
When one operation confirmation test item like this is completed,
The arithmetic processing unit 3 determines whether the operation check has been completed in step (2) according to the operation test program 41. If the operation check has not been completed, the process returns to step (2) and the next step is performed after receiving a command from the test equipment. Operation confirmation processing is performed for the test operation. Then, such processing is repeated.

このようにして、その動作が確認されたICカードは、
その後、テスト装置から排出される。テスト装置からI
Cカード10が排出されるとICカード10は、バック
アップ電源を持っていないのでRAM5内の起動プログ
ラムがそのとき同時に消去される。
The IC card whose operation has been confirmed in this way is
It is then ejected from the test device. I from the test equipment
When the C card 10 is ejected, the startup program in the RAM 5 is simultaneously erased since the IC card 10 does not have a backup power source.

このことによりカード製造者等によるICカード動作確
認時のみ、ICカード内に動作テストプログラム41を
起動するための起動プログラムが存在し、それ以外では
存在しないことになり、このことから、ICカード使用
時或いは運用時に、カード内に残っている動作テストプ
ログラム41を利用してのICカード内のデータの読出
し、書込みなどの不正使用が防【I:、される。
As a result, the startup program for starting the operation test program 41 exists in the IC card only when the IC card operation is confirmed by the card manufacturer, etc., and does not exist at other times. During operation or during operation, unauthorized use such as reading or writing data in the IC card using the operation test program 41 remaining in the card is prevented.

なお、前記の場合、識別手段2、演算処理部3、起動プ
ログラム書込み手段6、そして起動プログラム実行手段
7のそれぞれの構成要素の一部或いは全部がRAM5に
プログラムとして記憶される場合には、前記処理に先q
っで、ROM4の処理プログラムに従ってRAM5にこ
れら機能に対応するプログラムが格納されることになる
In the above case, if some or all of the respective constituent elements of the identification means 2, the arithmetic processing section 3, the start-up program writing means 6, and the start-up program execution means 7 are stored as programs in the RAM 5, the above-mentioned q before processing
Then, programs corresponding to these functions are stored in the RAM 5 according to the processing program in the ROM 4.

第2図にその動作確認時のICカード内のメモリマツプ
を示す。外部から入力された動作テストプログラム41
を起動する起動プログラムは、RAM5内の特定の割り
当てたれた領域51に書込まれ、実行されるが、動作テ
ストプログラム41が起動された後、及び動作確認後の
使用時或いは運用時には、この領域51のRAM空間は
、動作テストプログラム41とか、その他の動作プログ
ラムのワークエリアとして利用でき、利用される。
FIG. 2 shows a memory map inside the IC card when confirming its operation. Operation test program 41 input from the outside
The startup program that starts the is written in a specific allocated area 51 in the RAM 5 and executed, but after the operation test program 41 is started and during use or operation after operation confirmation, this area is The RAM space 51 can be used as a work area for the operation test program 41 and other operation programs.

ここで、52は、動作プログラム等のプログラムを実行
するために設けられたワーク領域であり、53.54は
、ROM4に割り当てられたアドレス空間におけるデー
タ領域と動作プログラムの格納領域である。
Here, 52 is a work area provided for executing programs such as operating programs, and 53 and 54 are data areas and storage areas for operating programs in the address space allocated to the ROM 4.

以」二説明してきたが、実施例では、揮発性メモリとし
てRAMを用いているが、揮発可能なEEPROMを用
いてもよいことはもちろんである。
As described above, in the embodiment, RAM is used as the volatile memory, but it goes without saying that volatile EEPROM may also be used.

なお、EEPROMを用いる場合には、動作テストプロ
グラム41を書き込んだ領域の内容を後から消す処理を
することになる。
Note that when an EEPROM is used, the contents of the area in which the operation test program 41 is written must be erased later.

また、実施例では、データブロックにモード識別情報を
おき、モード品別手段により動作プログラムの格納か否
かの識別をしているが、これは、す1に、伝送された情
報からそれを検出できる手段であればよく、モード識別
を行う手段によることに限定されるものではない。また
、ここでは、動作テストプログラムを起動するための起
動プログラムをRAMに記憶するようにしているが、こ
れは、起動プログラムに限定されるものではなく、起動
情報一般であってよい。したがって、起動プログラム実
行手段も、す1に、動作テストプログラムを起動情報を
介して起動する手段であればよい。
In addition, in the embodiment, mode identification information is placed in the data block, and whether or not an operation program is stored is identified by the mode classification means, which can be detected from the transmitted information in the first place. It may be any means, and is not limited to means for mode identification. Further, here, a startup program for starting the operation test program is stored in the RAM, but this is not limited to the startup program, and may be general startup information. Therefore, the startup program execution means may also be any means that first starts the operation test program via the startup information.

なお、このような起動情報の記憶エリアは、動作テスト
プログラムが実行されているときに使用してもよいし、
そうでなくてもよい。
Note that such a storage area for startup information may be used while the operation test program is being executed,
It doesn't have to be that way.

さらに、実施例では、データブロックにコマンドとデー
タとを挿入して伝送している形式のものを挙げているが
、これは、コマンドとデータとが独立に伝送されるもの
であってもよいことはもちろんである。
Furthermore, in the embodiment, a format in which commands and data are inserted into a data block and transmitted is shown, but this also means that commands and data may be transmitted independently. Of course.

[発明の効果] 以−ヒの説明から理解できるように、この発明にあって
は、外部装置から送信される情報に対して検出手段によ
ってICカードの動作テストプログラムについてのもの
か否かを検出し、それが検出されると、動作テストプロ
グラムの起動情報が起動情報書込み手段により揮発性メ
モリ若しくは揮発させることが可能なメモリ内へ書込ま
れる。そして、その書込み終了後に動作プログラム起動
命令によって、この起動情報を介してプログラム起動手
段により側御を動作テストプログラムへと移行させる。
[Effects of the Invention] As can be understood from the explanations given below, in the present invention, the detection means detects whether or not information transmitted from an external device is related to an operation test program for an IC card. However, when this is detected, activation information of the operation test program is written into a volatile memory or a memory that can be volatilized by the activation information writing means. Then, after the writing is completed, an operating program starting command causes the program starting means to shift the side control to the operating test program via this starting information.

このようにして、動作テストプログラムを起動して、I
Cカードの通信機能・メモリアクセスなどの動作チエツ
クを杆い、かつ動作確認後には、ICカードがテスト装
置から排出されると揮発性メモリでは、動作テストプロ
グラムを起動させる起動情報が消去され、また、データ
を揮発させることが可能なメモリでは、起動情報に関す
るデータを消去することができる。
In this way, start the operation test program and
After passing the operation check of the communication function and memory access of the C card and confirming its operation, when the IC card is ejected from the test equipment, the startup information for starting the operation test program is erased from the volatile memory. In a memory that can volatilize data, data related to startup information can be erased.

その結果、動作テストプログラムは、外部から揮発性メ
モリ若しくは揮発させることが可能なメモリ内へ書込ま
れる起動情報を介してのみ実行可能となり、ICカード
の使用時或いは運用時には、ICカード内部に動作テス
トプログラムを起動させる起動情報は存在せず、しかも
、揮発性メモリの空間若しくはデータを揮発させること
が可能なメモリの空間は、動作プログラムのワークエリ
アとして利用できるようになる。したがって、機密性、
信頼性に優れたICカードを発行することができる。
As a result, the operation test program can only be executed via startup information written externally into volatile memory or memory that can be volatilized. There is no activation information for starting the test program, and the volatile memory space or the memory space where data can be volatilized can be used as a work area for the operating program. Therefore, confidentiality,
IC cards with excellent reliability can be issued.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は、この発明の一実施例を示すICカードの内部
構成を示すブロック図、第2図は、テスト動作時におけ
るICカード内のメモリマツプを示す説明図、第3図は
、そのテスト処理のフローチャートである。 1・・・入出力装置、2・・・識別手段、3・・・処理
装置、4・・・ROM15・・・RAM、8・・・起動
プログラム書込み手段、7・・・起動プログラム実行手
段、8・・・情報処理部、10・・・ICカード。 特許出願人 日立マクセル株式会社 代理人   弁理士 梶 山 拮 是
FIG. 1 is a block diagram showing the internal configuration of an IC card showing an embodiment of the present invention, FIG. 2 is an explanatory diagram showing a memory map inside the IC card during test operation, and FIG. 3 is the test process. This is a flowchart. DESCRIPTION OF SYMBOLS 1... Input/output device, 2... Identification means, 3... Processing device, 4... ROM15... RAM, 8... Startup program writing means, 7... Startup program execution means, 8... Information processing section, 10... IC card. Patent Applicant Hitachi Maxell Co., Ltd. Agent Patent Attorney Kore Kajiyama

Claims (2)

【特許請求の範囲】[Claims] (1)プロセッサと、このプロセッサのプログラム及び
動作確認のための処理プログラムを記憶する不揮発性メ
モリと、データ等を記憶する、内部電源でバックアップ
されていない揮発性メモリ若しくは揮発させることが可
能なメモリとを有し、外部装置との間でデータの授受を
行うICカードにおいて、前記外部装置から送出される
情報のうちから前記処理プログラムを起動させるための
起動情報に対してそれを格納することを示す格納情報を
検出する検出手段と、この検出手段が前記格納情報を検
出したときにそれに応じて送出された前記起動情報を前
記揮発性メモリ若しくは前記揮発させることが可能なメ
モリに格納する起動情報書込み手段と、前記外部装置か
ら送出される命令が前記処理プログラムを起動又は実行
する命令であるときに前記起動情報を介して前記処理プ
ログラムを起動するプログラム起動手段とを備えること
を特徴とするICカードテスト方式。
(1) A processor, a non-volatile memory that stores the program of this processor and a processing program for checking the operation, and a volatile memory that is not backed up by an internal power supply or a memory that can be volatilized that stores data, etc. in an IC card that exchanges data with an external device, storing startup information for starting the processing program from among the information sent from the external device. detection means for detecting stored information indicated by the detection means; and activation information for storing the activation information sent out in response to the storage information in the volatile memory or the memory capable of being volatilized when the detection means detects the storage information. An IC characterized in that it comprises a writing means and a program starting means for starting the processing program via the starting information when the command sent from the external device is a command for starting or executing the processing program. Card test method.
(2)データを揮発させることが可能なメモリはEEP
ROMであり、動作確認後にその記憶内容が消去される
ことを特徴とする請求項1記載のICカードテスト方式
(2) EEP is a memory that can volatilize data.
2. The IC card test method according to claim 1, wherein the IC card test method is a ROM, and the stored contents thereof are erased after operation confirmation.
JP63050049A 1988-03-03 1988-03-03 Ic card testing system Pending JPH01223585A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63050049A JPH01223585A (en) 1988-03-03 1988-03-03 Ic card testing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63050049A JPH01223585A (en) 1988-03-03 1988-03-03 Ic card testing system

Publications (1)

Publication Number Publication Date
JPH01223585A true JPH01223585A (en) 1989-09-06

Family

ID=12848137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63050049A Pending JPH01223585A (en) 1988-03-03 1988-03-03 Ic card testing system

Country Status (1)

Country Link
JP (1) JPH01223585A (en)

Similar Documents

Publication Publication Date Title
JPH0259937A (en) Ic card
KR100285111B1 (en) Card interface
KR970004106B1 (en) Ic card
US6253163B1 (en) Portable object reader terminal and process for self-diagnosis and supervision of same
US5039850A (en) IC card
US5285200A (en) Portable electronic device and a method for processing data therefore
US6641045B1 (en) Portable electronic device with self-diagnostic function
JP2651426B2 (en) IC card
JPH11353425A (en) Ic card terminal device
JPH01223586A (en) Ic card testing system
JPH01223585A (en) Ic card testing system
JP2002342734A (en) Portable electronic equipment and its history data storing method
JP3251579B2 (en) Portable electronic devices
JPH08287207A (en) Ic card
JPH05266273A (en) Application start-up method for ic card
JP2577370B2 (en) Portable electronic devices
JP2577376B2 (en) Portable electronic devices
JP2003162740A (en) Non-contact ic card system
JPH06309531A (en) Checking method for instruction format given to ic card
JP2631656B2 (en) IC card information processing system
JP2577369B2 (en) IC card
JP2618953B2 (en) Transmission processing method, data storage medium and IC chip
JP2004038286A (en) Portable electronic medium and issue system of portable electronic medium
JPS63231695A (en) Test control system for automatic transactor
JP2000123126A (en) Handy terminal with ic card reader/writer