JP3074722B2 - IC card communication system - Google Patents

IC card communication system

Info

Publication number
JP3074722B2
JP3074722B2 JP02280707A JP28070790A JP3074722B2 JP 3074722 B2 JP3074722 B2 JP 3074722B2 JP 02280707 A JP02280707 A JP 02280707A JP 28070790 A JP28070790 A JP 28070790A JP 3074722 B2 JP3074722 B2 JP 3074722B2
Authority
JP
Japan
Prior art keywords
card
data processing
processing program
writer
reader
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 - Fee Related
Application number
JP02280707A
Other languages
Japanese (ja)
Other versions
JPH04155488A (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.)
Toppan Inc
Original Assignee
Toppan Inc
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 Toppan Inc filed Critical Toppan Inc
Priority to JP02280707A priority Critical patent/JP3074722B2/en
Publication of JPH04155488A publication Critical patent/JPH04155488A/en
Application granted granted Critical
Publication of JP3074722B2 publication Critical patent/JP3074722B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】 〈産業上の利用分野〉 本発明は例えばリーダライタ等の端末処理装置との間
でデータ通信を行なうICカードを備えたICカードの通信
システム、詳しくは端末処理装置にて実行可能なデータ
処理プログラムをICカード側に保持させ、端末処理装置
からの指示により、このデータ処理プログラムをICカー
ドが実行するようにしたICカードの通信システムに関す
る。
DETAILED DESCRIPTION OF THE INVENTION <Industrial Application Field> The present invention relates to a communication system of an IC card having an IC card for performing data communication with a terminal processing device such as a reader / writer. The present invention relates to an IC card communication system in which an executable data processing program is stored in an IC card side, and the data processing program is executed by an IC card in accordance with an instruction from a terminal processing device.

〈従来の技術〉 従来より、この種のICカードの通信システムとして
は、例えば特開平1−140276号公報に開示されたものが
知られている。
<Conventional Technology> Conventionally, as a communication system of this type of IC card, for example, one disclosed in Japanese Patent Application Laid-Open No. 1-140276 is known.

このICカードの通信システムにおいては、カードリー
ダライタは、ICカードとの通信プログラムをそのROMに
備え、そのCPUはこれらの通信プログラムを順次実行す
ることにより、ホストコンピュータ(上位装置)とICカ
ードとの間でデータ通信を行っていた。
In this IC card communication system, the card reader / writer has a communication program for the IC card in its ROM, and the CPU sequentially executes these communication programs to communicate with the host computer (upper device) and the IC card. Data communication between the two.

すなわち、カードリーダライタは、主制御部として用
いるCPUと、例えば主プログラム、コマンド送受信処理
プログラム、レスポンス送受信処理プログラム等を記憶
しているROMと、コマンドデータを送信するとともに、
レスポンスデータを受信するシリアル入出力制御回路
(SI/O)と、内部記憶装置RAMと、から構成されてい
る。
That is, the card reader / writer transmits a CPU used as a main control unit, a ROM storing a main program, a command transmission / reception processing program, a response transmission / reception processing program, and the like, and command data,
It comprises a serial input / output control circuit (SI / O) for receiving response data, and an internal storage device RAM.

このカードリーダライタは、ホストコンピュータまた
はICカードからの、例えばレスポンスデータを受信した
時点で、これがホストコンピュータまたはICカードに受
け渡すべきレスポンスデータか否かを判断する。このた
め、カードリーダライタは、ホストコンピュータまたは
ICカードにレスポンスデータをすぐに送信することがで
きる。この結果、長いデータやコマンドの処理速度を大
幅に高めることができる。
When the card reader / writer receives, for example, response data from the host computer or the IC card, the card reader / writer determines whether or not this is response data to be transferred to the host computer or the IC card. For this reason, the card reader / writer is either a host computer or
Response data can be sent immediately to the IC card. As a result, the processing speed of long data and commands can be greatly increased.

〈発明が解決しようとする課題〉 しかしながら、このような従来のICカードの通信シス
テムにあって、ICカードは、カードリーダライタとのデ
ータ通信プログラム以外のプログラム、例えばカードリ
ーダライタまたはホストコンピュータが実行するデータ
処理プログラム(暗号化プログラム、送信者ID検索プロ
グラム等)をそのROMに備えていなかった。
<Problem to be Solved by the Invention> However, in such a conventional communication system of an IC card, the IC card is executed by a program other than a data communication program with the card reader / writer, for example, by a card reader / writer or a host computer. The data processing program (encryption program, sender ID search program, etc.) to be executed was not provided in the ROM.

したがって、ICカードは格納したデータをいったんカ
ードリーダライタまたはホストコンピュータに送信する
と、これらがデータ処理プログラムを実行している場
合、ICカードはこのカードリーダライタまたはホストコ
ンピュータからの命令を待ち続けなければならなかっ
た。
Therefore, once the IC card sends the stored data to the card reader / writer or host computer, if they are executing a data processing program, the IC card must wait for an instruction from this card reader / writer or host computer. did not become.

この結果、ICカードは多くの無駄な時間を費やしてお
り、ICカード通信システムにおいてはデータ処理の時間
が長くなっているという問題点があった。
As a result, there is a problem that the IC card spends a lot of useless time, and the data processing time is long in the IC card communication system.

そこで、本発明の目的は、データ処理時間を短縮する
ことができるICカードの通信システムを提供することで
ある。
Therefore, an object of the present invention is to provide an IC card communication system that can reduce the data processing time.

〈課題を解決するための手段〉 本発明は、ICカードとの間でデータ通信を行うICカー
ド処理装置を備えたICカードの通信システムにおいて、
ICカード処理装置で実行されるN(Nは2以上の整数)
個のデータ処理プログラムのうちm(1≦m≦N−1の
整数)個のデータ処理プログラムをICカードのメモリに
格納し、N−m個のデータ処理プログラムをICカード処
理装置のメモリに格納し、このデータ処理プログラムに
基づきICカード処理装置によりデータ処理を実行すると
ともに、ICカード処理装置からの実行命令によりデータ
処理プログラムをICカード上で実行し、その実行の結果
をICカード処理装置に送信するICカードの通信システム
である。
<Means for Solving the Problems> The present invention provides an IC card communication system including an IC card processing device for performing data communication with an IC card.
N executed by the IC card processing device (N is an integer of 2 or more)
M (1 ≦ m ≦ N−1 integer) data processing programs are stored in the memory of the IC card, and N−m data processing programs are stored in the memory of the IC card processing device. Then, the data processing program is executed by the IC card processing device based on the data processing program, the data processing program is executed on the IC card by an execution instruction from the IC card processing device, and the result of the execution is transmitted to the IC card processing device. This is a communication system for transmitting IC cards.

また、上記ICカード処理装置とデータ通信を行うICカ
ードを別のICカードと交換することにより、異なるデー
タ処理プログラムを実行することができる特許請求の範
囲第1項に記載のICカードの通信システムである。
2. The communication system for an IC card according to claim 1, wherein a different data processing program can be executed by replacing an IC card for performing data communication with the IC card processing device with another IC card. It is.

さらに、ICカード処理装置は複数のICカードとの間で
異なるデータ処理プログラムを同時的に実行可能である
特許請求の範囲第1項に記載のICカードの通信システム
である。
The IC card communication system according to claim 1, wherein the IC card processing device can simultaneously execute different data processing programs with a plurality of IC cards.

〈作用および効果〉 本発明に係るICカードの通信システムにあっては、IC
カードは、そのメモリにICカード処理装置(リーダライ
タ、ホストコンピュータ等)で実行可能なデータ処理プ
ログラムを格納している。ICカードは、ICカード処理装
置からそのデータ処理プログラムの実行命令を受信する
と、そのデータ処理プログラムを実行して、その実行結
果をICカード処理装置に送信する。
<Operation and Effect> In the communication system of the IC card according to the present invention, the IC
The card stores in its memory a data processing program that can be executed by an IC card processing device (reader / writer, host computer, etc.). When the IC card receives the execution instruction of the data processing program from the IC card processing device, the IC card executes the data processing program and transmits the execution result to the IC card processing device.

この結果、ICカード処理装置があるデータ処理プログ
ラムを実行している場合でも、ICカードはICカード処理
装置が実行すべき他のデータ処理プログラムを、並行し
て実行することができる。このため、ICカードはデータ
処理プログラムの一部を分担して実行することができ、
このデータ処理時間を大幅に短縮することができる。こ
れは複数のICカードについてデータ処理プログラムを同
時に実行することにより、さらにデータ処理時間を短縮
することができる。
As a result, even when the IC card processing device is executing a certain data processing program, the IC card can execute other data processing programs to be executed by the IC card processing device in parallel. Therefore, the IC card can share and execute a part of the data processing program,
This data processing time can be greatly reduced. By executing the data processing program for a plurality of IC cards simultaneously, the data processing time can be further reduced.

また、ICカード処理装置で実行すべきデータ処理プロ
グラムの一部を、ICカード処理装置では保持せずに、IC
カードのメモリにのみ格納、保持させておく。よって、
残りのデータ処理プログラムはICカード処理装置が保持
することとなる。この結果、データ処理プログラム全体
としてのセキュリティの向上も図ることができる。
In addition, some of the data processing programs to be executed by the IC card
Store and hold only in the memory of the card. Therefore,
The remaining data processing program is held by the IC card processing device. As a result, the security of the entire data processing program can be improved.

また、複数のICカードについてそれぞれ異なるデータ
処理プログラムを保持させることができる。この結果、
このICカード通信システムにおいては、ICカードを交換
するのみで簡単にデータ処理プログラムを変更して実行
することもできる。
Also, different data processing programs can be stored for a plurality of IC cards. As a result,
In this IC card communication system, the data processing program can be easily changed and executed simply by replacing the IC card.

〈実施例〉 以下、本発明に係るICカードの通信システムの一実施
例を第1図〜第5図を参照して説明する。
<Embodiment> An embodiment of a communication system for an IC card according to the present invention will be described below with reference to FIGS.

第1図において、11はリーダライタ(端末処理装置)
を、12および13はこのリーダライタ11との間でデータ通
信を行うことができるICカードを、それぞれ示してい
る。
In FIG. 1, reference numeral 11 denotes a reader / writer (terminal processing device).
And 12 and 13 indicate IC cards capable of performing data communication with the reader / writer 11, respectively.

すなわち、このリーダライタ11は、複数のICカード1
2,13,・・・との間で所定の通信プロトコルに基づいて
データの授受を行なうとともに、例えば図示していない
ホストコンピュータに接続することもできる。
In other words, this reader / writer 11
Data can be exchanged with 2, 13,... Based on a predetermined communication protocol, and connected to, for example, a host computer (not shown).

リーダライタ11は、CPU21と、PROM22と、RAM23と、UA
RT24と、を有して構成されている。これらのCPU21、PRO
M22、RAM23、UART24は、バス25を介して接続されてい
る。
The reader / writer 11 includes a CPU 21, a PROM 22, a RAM 23, and a UA
RT24. These CPU21, PRO
The M22, the RAM 23, and the UART 24 are connected via a bus 25.

CPU21は中央演算処理装置であって、プログラムにし
たがって演算処理およびコマンドの解読、実行を行うも
のである。例えばICカード12,13との通信プログラム、
データ処理プログラムの実行等である。
The CPU 21 is a central processing unit, which performs arithmetic processing and decodes and executes commands according to a program. For example, a communication program with IC cards 12 and 13,
For example, execution of a data processing program.

PROM22は、例えば主プログラム、通信制御プログラム
(コマンド受信処理プログラム等)、ICカード12、13か
ら送信されてきたデータを演算、処理するデータ処理プ
ログラム等を格納している。
The PROM 22 stores, for example, a main program, a communication control program (a command reception processing program and the like), a data processing program for calculating and processing data transmitted from the IC cards 12 and 13, and the like.

RAM23は、主としてデータを一時的に記憶するもので
ある。
The RAM 23 mainly temporarily stores data.

UART24は、通信回線26で接続されたICカード12、13と
の間で行われる調歩同期式のデータのやりとりを制御す
るインタフェースである。調歩同期式は、データを正確
に送信するために、ブロック化されたデータの最初に伝
送開始文字、最後に伝送終了文字を付加したものであ
り、このデータを受信する側は、これらの文字によって
データのまとまりを判断することができる。
The UART 24 is an interface for controlling exchange of start-stop synchronous data performed between the IC cards 12 and 13 connected via the communication line 26. In the start-stop synchronization system, a transmission start character is added at the beginning of a block of data and a transmission end character is added at the end in order to transmit the data accurately, and the receiving side of this data uses these characters. The unity of data can be determined.

一方、ICカード12,13は、データの授受等の制御、演
算を行なうマイクロプロセッサ(CPU)31と、データ処
理プログラム等を保持するPROM32と、主としてデータを
記憶するRAM33と、通信用のインタフェースであるUART3
4と、を有している。35はこれらを接続するバスであ
る。また、このICカード12、13は所定の通信プロトコル
に基づいて上記リーダライタ11との間での通信を行う。
On the other hand, the IC cards 12 and 13 are composed of a microprocessor (CPU) 31 for controlling and calculating data transfer and the like, a PROM 32 for holding a data processing program and the like, a RAM 33 for mainly storing data, and a communication interface. A UART3
4 and has. A bus 35 connects these. The IC cards 12 and 13 perform communication with the reader / writer 11 based on a predetermined communication protocol.

したがって、リーダライタ11からそのリーダライタ11
のCPU21が実行すべきデータ処理プログラム、例えば暗
号化処理プログラムの実行をICカード12,13が依頼され
た場合、ICカード12,13にあっては、各々のCPU31がこの
暗号化処理プログラムを実行し、その実行結果をリーダ
ライタ11に送信することとなる。この暗号化処理プログ
ラムの実行中、リーダライタ11はその暗号化処理プログ
ラムとは別のデータ処理プログラム、例えば送信者ID検
索プログラムを同時に実行することができる。
Therefore, the reader / writer 11
When the IC cards 12 and 13 are requested to execute a data processing program to be executed by the CPU 21, for example, the encryption processing program, each of the CPUs 31 executes the encryption processing program in the IC cards 12 and 13. Then, the execution result is transmitted to the reader / writer 11. During the execution of the encryption processing program, the reader / writer 11 can simultaneously execute a data processing program different from the encryption processing program, for example, a sender ID search program.

第2図はこのデータ処理プログラムの実行依頼におけ
る、リーダライタ11からICカード12,13に対して送信さ
れる依頼メッセージブロック41を示している。
FIG. 2 shows a request message block 41 transmitted from the reader / writer 11 to the IC cards 12 and 13 in the execution request of the data processing program.

依頼メッセージブロック41は、このメッセージブロッ
クのスタートを示す伝送開始文字を格納する領域42と、
送信側のリーダライタ11の番号を格納する領域43と、受
信側のICカードの番号を格納する領域44と、依頼する処
理プログラムの番号を格納する領域45と、該処理プログ
ラムで使用するデータを格納する領域46と、このメッセ
ージブロックのエンドを示す伝送終了文字を格納する領
域47と、から構成されている。
The request message block 41 includes an area 42 for storing a transmission start character indicating the start of the message block,
An area 43 for storing the number of the reader / writer 11 on the transmitting side, an area 44 for storing the number of the IC card on the receiving side, an area 45 for storing the number of the processing program requested, and data used in the processing program. An area 46 for storing the message and an area 47 for storing a transmission end character indicating the end of the message block are provided.

以下、この実施例に係るICカードの通信システムにお
ける作用を第3図(A),(B)のフローチャートを用
いて説明する。
Hereinafter, the operation of the IC card according to this embodiment in the communication system will be described with reference to the flowcharts of FIGS. 3 (A) and 3 (B).

第3図(A)に示すように、リーダライタ11におい
て、そのCPU21は、複数のICカード12、13がカード挿入
口にそれぞれ挿入された後、これらのICカード12、13か
らのATR(Answer To Reset)情報に基づいて、各ICカ
ード12、13に依頼するデータ処理プログラムがどれかを
判断する。
As shown in FIG. 3A, in the reader / writer 11, after the plurality of IC cards 12 and 13 are inserted into the card insertion slots, the CPU 21 sends an ATR (Answer) from these IC cards 12 and 13 respectively. Based on the information, it is determined which data processing program requests each of the IC cards 12 and 13.

この実施例では、リーダライタ11がデータ処理プログ
ラム(1)、(3)、(4)を実行し、ICカード12はリ
ーダライタ11の依頼によりデータ処理プログラム
(2)、例えば暗号化処理プログラムを実行するものと
する。
In this embodiment, the reader / writer 11 executes the data processing programs (1), (3) and (4), and the IC card 12 executes the data processing program (2), for example, the encryption processing program at the request of the reader / writer 11. Shall be executed.

リーダライタ11では、そのCPU21がデータ処理プログ
ラム(1)を実行した後(ステップS11)、上述した依
頼メッセージブロック41を作成し、ICカード12に出力す
る(S12)。
In the reader / writer 11, after the CPU 21 executes the data processing program (1) (step S11), the request message block 41 described above is created and output to the IC card 12 (S12).

そして、この後、リーダライタ11では、上記ICカード
12からの割り込み信号を受信するまで、CPU21はデータ
処理プログラム(3)、(4)を順次実行する(S13,S1
4)。
Then, after that, the reader / writer 11
The CPU 21 executes the data processing programs (3) and (4) sequentially until an interrupt signal is received from S12 (S13, S1).
Four).

第3図(B)に示すように、一方、ICカード12では、
CPU31が依頼メッセージブロック41を受信したか否かを
判断する(S21)。
On the other hand, as shown in FIG.
The CPU 31 determines whether the request message block 41 has been received (S21).

そして、その判断結果がNOならば、まだ、依頼メッセ
ージブロック41を受信していないので、依頼メッセージ
ブロック41を受信するまでステップS21を繰り返し実行
する。
If the result of the determination is NO, the request message block 41 has not been received yet, and step S21 is repeatedly executed until the request message block 41 is received.

ステップS21での判断結果がYESならば、ICカード12は
依頼メッセージブロック41を受信したので、依頼メッセ
ージブロック41の領域44に格納されているICカード番号
を検索し、自分宛の依頼メッセージブロック41か否かを
判断する(S22)。
If the decision result in the step S21 is YES, since the IC card 12 has received the request message block 41, the IC card 12 searches the IC card number stored in the area 44 of the request message block 41, It is determined whether or not (S22).

そして、その判断結果がNOならば、自分宛の依頼メッ
セージブロック41ではないので、ステップS21に戻って
次の依頼メッセージブロック41の送信を待つ。
If the determination result is NO, the request message block 41 is not addressed to itself, and the process returns to step S21 to wait for transmission of the next request message block 41.

ステップS22での判断結果がYESならば、自分宛の依頼
メッセージブロック41なので、依頼メッセージブロック
41の領域45に格納されている処理プログラム番号を検索
し(S23)、その検索したデータ処理プログラムを実行
する。ここでは、データ処理プログラム(2)を実行す
る(S24)。
If the decision result in the step S22 is YES, the request message block 41 is addressed to itself, so the request message block
The processing program number stored in the area 45 of 41 is searched (S23), and the searched data processing program is executed. Here, the data processing program (2) is executed (S24).

次に、ICカード12は上記データ処理プログラムでの実
行結果をリーダライタ11に送信する(S25)。
Next, the IC card 12 transmits the execution result of the data processing program to the reader / writer 11 (S25).

そして、ステップS21に戻って次の依頼メッセージブ
ロック41の送信を待つ。
Then, the process returns to step S21 to wait for transmission of the next request message block 41.

送信された実行結果は一端スタック上に入れられる。 The transmitted execution result is temporarily put on the stack.

第4図はCPU21での割り込みルーチンを示している。 FIG. 4 shows an interrupt routine in the CPU 21.

リーダライタ11ではCPU21はICカード12から実行結果
を受信した時点でUART24からの割り込み信号(S25)に
基づいて実行中のプログラムを中止し、この割り込みル
ーチンを実行する。
In the reader / writer 11, when the CPU 21 receives the execution result from the IC card 12, the CPU 21 stops the program being executed based on the interrupt signal (S25) from the UART 24, and executes this interrupt routine.

すなわち、中止したプログラムの使用変数をスタック
上に退避させ(S41)、ICカード12からの実行結果をス
タックから受信バッファの内部RAMへ展開する(S42)。
そして、中止していたプログラムのプログラムカウンタ
を改めてセットして(S43)、この割り込みルーチンを
ぬけ、再びもとのプログラムの実行へと移る。
That is, the used variables of the stopped program are saved on the stack (S41), and the execution result from the IC card 12 is expanded from the stack to the internal RAM of the reception buffer (S42).
Then, the program counter of the suspended program is set again (S43), the interrupt routine is bypassed, and the execution of the original program is resumed.

以上のように、この実施例に係るICカードの通信シス
テムにあっては、ICカード12,13はリーダライタ11から
の処理実行命令を受信した場合、本来、リーダライタ11
のCPU21が実行するデータ処理プログラムをCPU31で実行
して、その実行結果をリーダライタ11に送信する。
As described above, in the IC card communication system according to this embodiment, when the IC cards 12 and 13 receive the process execution command from the reader / writer 11,
The CPU 21 executes a data processing program executed by the CPU 21 and transmits the execution result to the reader / writer 11.

この結果、ICカード12,13はリーダライタ11が実行す
べきデータ処理プログラムをその命令待ち時間中に実行
することができるため、全体としてデータ処理プログラ
ムによる処理時間を短縮することができる。
As a result, since the IC cards 12 and 13 can execute the data processing program to be executed by the reader / writer 11 during the instruction waiting time, the processing time by the data processing program can be shortened as a whole.

第5図はこの場合のCPUサイクルを示すタイミングチ
ャートである。
FIG. 5 is a timing chart showing a CPU cycle in this case.

第5図(A)は従来のシステムにおける場合であっ
て、リーダライタのCPUが例えばデータ処理プログラム
(1),(2),(3),(4)を順番に実行するもの
である。
FIG. 5A shows a case of a conventional system in which a CPU of a reader / writer executes, for example, data processing programs (1), (2), (3), and (4) in order.

これに対して、第5図(B)および(C)は、リーダ
ライタ11のCPU21での実行するデータ処理プログラム
と、ICカード12のCPU31が実行するデータ処理プログラ
ムとの関係をそれぞれ示している。
On the other hand, FIGS. 5B and 5C show the relationship between the data processing program executed by the CPU 21 of the reader / writer 11 and the data processing program executed by the CPU 31 of the IC card 12, respectively. .

すなわち、データ処理プログラム(1)、(3)およ
び(4)は、CPU21で実行するが、データ処理プログラ
ム(2)はCPU31で実行するものである。これによれ
ば、実行すべきデータ処理プログラム(1)〜(4)に
ついて2つのCPU21,31で分担して同時に実行するため、
全体としてデータ処理プログラムの実行に要する時間は
短縮することができる。
That is, the data processing programs (1), (3) and (4) are executed by the CPU 21, while the data processing program (2) is executed by the CPU 31. According to this, the data processing programs (1) to (4) to be executed are shared by the two CPUs 21 and 31, and are executed simultaneously.
As a whole, the time required for executing the data processing program can be reduced.

また、データ処理プログラムについて細分化して複数
のICカードのCPUで実行させることによりさらに実行時
間の短縮を図ることができる。
Further, the data processing program can be subdivided and executed by the CPUs of a plurality of IC cards to further reduce the execution time.

また、上記実施例にあっては、回線26によって複数の
ICカード12,13,・・・を並列接続したため、一部のICカ
ードとの接続が不良となっても他のICカードとリーダラ
イタとの接続までが損なわれることはない。
Further, in the above embodiment, a plurality of
Since the IC cards 12, 13,... Are connected in parallel, even if the connection with some IC cards becomes defective, the connection between other IC cards and the reader / writer is not impaired.

なお、本発明のICカードの通信システムでは、これま
でリーダライタ側のハード形態が基板ベースであるため
生じていたソフトウェアの変更、更新が容易に行うこと
ができないという問題を、各ICカード12,13の各PROM32
にいろいろなデータ処理プログラムを格納しておき、こ
れらのICカードをいろいろと差し替えることにより解決
できるという効果もある。
In the communication system of the IC card of the present invention, the problem that the hardware form on the reader / writer side is based on the substrate, and the software cannot be easily changed or updated, which is caused by each IC card 12, 13 each PROM32
Another advantage is that various data processing programs can be stored in the IC card, and these IC cards can be replaced in various ways to solve the problem.

また、そのリーダライタのソフトウェアは第3者が比
較的容易に解析を行うことができたが、ソフトウェアを
ICカードのPROMに格納することにより、高いセキュリテ
ィを保持することができるという効果もある。
In addition, the reader / writer software could be analyzed relatively easily by a third party.
By storing the information in the PROM of the IC card, there is also an effect that high security can be maintained.

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

第1図は本発明の一実施例に係るICカードの通信システ
ムの概略構成を示すブロック図、第2図は一実施例に係
る依頼メッセージブロックのデータフォーマットを示す
そのブロック図、第3図(A)、(B)は一実施例に係
るICカードの通信システムの動作順序を示すフローチャ
ート、第4図は一実施例に係る割り込みルーチンを示す
フローチャート、第5図(A)、(B)、(C)は一実
施例に係るCPUサイクルを説明するためのタイミングチ
ャートである。 11……リーダライタ、 12、13……ICカード、 21……CPU、 22……PROM、 31……CPU、 32……PROM。
FIG. 1 is a block diagram showing a schematic configuration of an IC card communication system according to one embodiment of the present invention, FIG. 2 is a block diagram showing a data format of a request message block according to one embodiment, and FIG. 4A and 4B are flowcharts showing the operation sequence of the communication system of the IC card according to one embodiment, FIG. 4 is a flowchart showing an interrupt routine according to one embodiment, and FIGS. (C) is a timing chart for explaining a CPU cycle according to one embodiment. 11… Reader writer, 12, 13… IC card, 21… CPU, 22… PROM, 31… CPU, 32… PROM.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平4−127369(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06K 17/00 ────────────────────────────────────────────────── (5) References JP-A-4-127369 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06K 17/00

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】ICカードとの間でデータ通信を行うICカー
ド処理装置を備えたICカードの通信システムにおいて、 ICカード処理装置で実行されるN(Nは2以上の整数)
個のデータ処理プログラムのうちm(1≦m≦N−1の
整数)個のデータ処理プログラムをICカードのメモリに
格納し、N−m個のデータ処理プログラムをICカード処
理装置のメモリに格納し、 このデータ処理プログラムに基づきICカード処理装置に
よりデータ処理を実行するとともに、 ICカード処理装置からの実行命令によりデータ処理プロ
グラムをICカード上で実行し、その実行の結果をICカー
ド処理装置に送信するICカードの通信システム。
In a communication system of an IC card having an IC card processing device for performing data communication with an IC card, N (N is an integer of 2 or more) executed by the IC card processing device.
M (1 ≦ m ≦ N−1 integer) data processing programs are stored in the memory of the IC card, and N−m data processing programs are stored in the memory of the IC card processing device. Then, the data processing program is executed by the IC card processing device based on the data processing program, the data processing program is executed on the IC card by an execution instruction from the IC card processing device, and the result of the execution is transmitted to the IC card processing device. A communication system for transmitting IC cards.
【請求項2】上記ICカード処理装置とデータ通信を行う
ICカードを別のICカードと交換することにより、異なる
データ処理プログラムを実行することができる特許請求
の範囲第1項に記載のICカードの通信システム。
2. Performing data communication with the IC card processing device.
2. The IC card communication system according to claim 1, wherein a different data processing program can be executed by exchanging the IC card with another IC card.
【請求項3】ICカード処理装置は複数のICカードとの間
で異なるデータ処理プログラムを同時的に実行可能であ
る特許請求の範囲第1項に記載のICカードの通信システ
ム。
3. The IC card communication system according to claim 1, wherein the IC card processing device can simultaneously execute different data processing programs with a plurality of IC cards.
JP02280707A 1990-10-19 1990-10-19 IC card communication system Expired - Fee Related JP3074722B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP02280707A JP3074722B2 (en) 1990-10-19 1990-10-19 IC card communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP02280707A JP3074722B2 (en) 1990-10-19 1990-10-19 IC card communication system

Publications (2)

Publication Number Publication Date
JPH04155488A JPH04155488A (en) 1992-05-28
JP3074722B2 true JP3074722B2 (en) 2000-08-07

Family

ID=17628833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP02280707A Expired - Fee Related JP3074722B2 (en) 1990-10-19 1990-10-19 IC card communication system

Country Status (1)

Country Link
JP (1) JP3074722B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0678828B1 (en) * 1993-09-10 2002-11-27 Oki Electric Industry Company, Limited Ic card reader/writer and its control method

Also Published As

Publication number Publication date
JPH04155488A (en) 1992-05-28

Similar Documents

Publication Publication Date Title
JPH0468638A (en) Document processor
JP3639319B2 (en) Parallel computer system, data transfer control method, and transmission / reception control device
JPS63255760A (en) Control system
JP3074722B2 (en) IC card communication system
US20220407660A1 (en) Processor communication method, electronic device, and computer readable storage medium
US6718405B2 (en) Hardware chain pull
US8266247B2 (en) Relay processing apparatus, control method and program therefor, and terminal control server
JPS5833970B2 (en) Inter-processor communication method
JPS6126706B2 (en)
JP2000242594A (en) Information transmission system for terminal device
JPH03276383A (en) Communication system for ic card
JPS634216B2 (en)
JP3212790B2 (en) Multi-job control method
JPS5834858B2 (en) Data exchange control method
JP2002259324A (en) Data processor
JP2563082Y2 (en) Pseudo communication control device
JPH10320345A (en) Bus controller
JP3254814B2 (en) Data transfer method
JPH0675793A (en) Processing method for transmitting and receiving data between virtual computers
JPH10124302A (en) Electronic card system
JPS63201822A (en) Data processing system
JPH0740240B2 (en) Information processing apparatus and information processing system
JPS6294042A (en) Communication control equipment
JPH05282225A (en) Intra-terminal data communication equipment
JPH1145216A (en) Data processing system and data storing method

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080609

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090609

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100609

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees