JPS63129490A - Processing system - Google Patents

Processing system

Info

Publication number
JPS63129490A
JPS63129490A JP61275798A JP27579886A JPS63129490A JP S63129490 A JPS63129490 A JP S63129490A JP 61275798 A JP61275798 A JP 61275798A JP 27579886 A JP27579886 A JP 27579886A JP S63129490 A JPS63129490 A JP S63129490A
Authority
JP
Japan
Prior art keywords
electronic device
card
response data
data
initial response
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.)
Granted
Application number
JP61275798A
Other languages
Japanese (ja)
Other versions
JP2549639B2 (en
Inventor
Yasuo Iijima
康雄 飯島
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 JP61275798A priority Critical patent/JP2549639B2/en
Priority to DE19873732615 priority patent/DE3732615A1/en
Priority to DE3744841A priority patent/DE3744841C2/de
Priority to FR8713535A priority patent/FR2606905B1/en
Priority to KR1019870013032A priority patent/KR910007034B1/en
Publication of JPS63129490A publication Critical patent/JPS63129490A/en
Priority to US07/999,799 priority patent/US5414835A/en
Application granted granted Critical
Publication of JP2549639B2 publication Critical patent/JP2549639B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To secure a suitable timing of instruction data transmission for each type of equipment by providing a means to output a time information until the time when the following instruction data is to be received after the transmission of an initial response data signifying a start of operation to a second electronic equipment. CONSTITUTION:A time information of the time from a time when an IC card 1 which is the second electronic equipment transmits an initial response data signifying the start of operation to a time when the card 1 receives an instruction data, is included in the initial response data. Accordingly, a card reader/ writer 2 which is a first electronic equipment can recognize the timing of the transmission of an instruction data to the IC card 1 based on an extracted time information. That is, since the card reader/writer 2 receives the time information that the IC card 1 outputs along with the initial response data, the card reader/writer 2 can recognize the difference in times from the time of receiving the initial response data to the time of the instruction data transmission due to the difference of types of the IC card 1. As a result, the card reader/ writer 2 can furnish the transmission timing of an instruction data suitable for the type of the IC card 1.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、たとえばカードリーダ・ライタ(第1の電子
装置)およびICカード(第2の電子装置)が半二重伝
送によりデータの授受を行ない、カードリーダ・ライタ
からの制御信号によりICカードを起動せしめ、かつI
Cカードは起動後、起動開始を意味する初期応答データ
をカードリーダ・ライタに送信し、その後カードリーダ
・ライタからの命令データを受信することによりその命
令データを解読し、これに対応する処理を実行した後そ
の処理結果を応答データとしてカードリーダ・ライタに
送信する処理方式に関する。
Detailed Description of the Invention [Objective of the Invention] (Industrial Application Field) The present invention is directed to a half-duplex transmission system in which, for example, a card reader/writer (first electronic device) and an IC card (second electronic device) perform half-duplex transmission. The IC card is activated by the control signal from the card reader/writer, and the IC card is activated by the control signal from the card reader/writer.
After the C card is activated, it sends initial response data indicating the start of activation to the card reader/writer, then receives command data from the card reader/writer, decodes the command data, and performs the corresponding process. The present invention relates to a processing method that executes processing and then transmits the processing result as response data to a card reader/writer.

(従来の技術) 第1の電子装置および第2の電子装置が半二重伝送によ
りデータの授受を行ない、第1の電子装置からのリセッ
ト信号により第2の電子装置内の制御プログラムを起動
せしめ、かつその優男1の電子装置からの命令データを
第2の電子装置が受信して解読し、これに対応する処理
を実行した後その処理結果を応答データとして第1の電
子装置に送信するような処理システムがある。この処理
システムにおいては、伝送プロトコルを第1の電子装置
および第2の電子装置が既知である場合に正常に動作す
る。
(Prior Art) A first electronic device and a second electronic device exchange data through half-duplex transmission, and a control program in the second electronic device is activated by a reset signal from the first electronic device. , and the second electronic device receives and decodes the command data from the electronic device of the male 1, executes the corresponding processing, and then transmits the processing result to the first electronic device as response data. There is a processing system. This processing system operates normally if the transmission protocol is known to the first electronic device and the second electronic device.

このような処理システムの応用例として、最近ではIC
カードを用いたシステムが上げられる。
As an application example of such a processing system, recently, IC
A system using cards is mentioned.

ここで、ICカードは機種によりその伝送プロトコルが
違ってくる。このため、ICカードは伝送プロトコルな
どを外部(カードリーダ・ライタ)に知らせるため、リ
セット信号によるリセット解除を認識後、アンサ−・ツ
ウ・リセット(、A、nswe’r  to  Re5
et)と称する初期応答データを送出する。その後、I
Cカードは命令データ持ち状態になる。この場合、初期
応答データを送出後、命令データ待ち状態になるまでの
時間も機種によって違ってくる。しかし、上記時間の相
違を認識する手段がないので、ICカードに処理をうな
がすための外部装置(カードリーダ・ライタ)は、各機
種間での上記時間の最大値を用いて、初期応答データを
受取ってから命令データを送出するまでの時間を設定し
なければならず、ICカードの機種ごとに適切な命令デ
ータの送出タイミングが図れないという欠点があった。
Here, the transmission protocol of the IC card differs depending on the model. For this reason, the IC card informs the outside (card reader/writer) of the transmission protocol, etc., so after recognizing the reset cancellation by the reset signal, it performs an answer-to-reset (A, nswe'r to Re5).
Initial response data called ``et'' is sent. Then I
The C card becomes in a state where it has command data. In this case, the time required from sending the initial response data to entering the command data waiting state also differs depending on the model. However, since there is no way to recognize the difference in time, the external device (card reader/writer) that prompts the IC card to process the initial response data using the maximum value of the time between each model. It is necessary to set the time from receiving the command data to transmitting the command data, which has the disadvantage that it is not possible to set an appropriate timing for transmitting the command data for each IC card model.

(発明が解決しようとする問題点) 上記したように、第2の電子装置の機種の相違による初
期応答データ受信後から命令データを送出するまでの時
間の相違を第1の電子装置が認識できないので、第1の
電子装置は第2の電子装置の機種ごとに適切な命令デー
タの送出タイミングが図れないという欠点がある。
(Problem to be Solved by the Invention) As described above, the first electronic device cannot recognize the difference in time from receiving the initial response data to sending the command data due to the difference in the model of the second electronic device. Therefore, the first electronic device has the disadvantage that it is not possible to determine an appropriate timing for transmitting command data for each model of the second electronic device.

そこで、本発明は以上の欠点を除去するもので、第2の
電子装置の機種の相違による初期応答データ受信後から
命令データを送出するまでの時間の相違を第1の電子装
置が認識でき、第1の電子装置は第2の電子装置の機種
ごとに適切な命令データの送出タイミングが図れる処理
方式を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention eliminates the above-mentioned drawbacks by allowing the first electronic device to recognize the difference in time from receiving the initial response data to sending the command data due to the difference in the model of the second electronic device. The purpose of the first electronic device is to provide a processing method that can achieve appropriate timing for transmitting command data for each model of the second electronic device.

[発明の構成コ (問題点を解決するための手段) 本発明は、第1の電子装置および第2の電子装置が半二
重伝送によりデータの授受を行ない、第1の電子装置か
らの制御信号により第2の電子装置を起動せしめ、かつ
第2の電子装置は起動後、起動開始を意味する初期応答
データを第1の電子装置に送信し、その優男1の電子装
置からの命令データを受信することによりその命令デー
タを解読し、これに対応する処理を実行した後その処理
結果を応答データとして第1の電子装置に送信する処理
方式において、上記第2の電子装置が上記起動開始を意
味する初期応答データを送信接法の命令データを受信す
るまでの時間的情報を出力する手段を設けたものである
[Structure of the Invention (Means for Solving Problems)] The present invention provides a first electronic device and a second electronic device that exchange data through half-duplex transmission, and control from the first electronic device. The second electronic device is activated by the signal, and after activation, the second electronic device transmits initial response data indicating the start of activation to the first electronic device, and receives command data from the first electronic device. In a processing method in which the command data is decoded by receiving the command data, the processing result corresponding to the command data is executed, and the processing result is transmitted to the first electronic device as response data, the second electronic device initiates the activation start. This means is provided with means for outputting time information until receiving the initial response data and receiving the instruction data of the method.

(作用) 第2の電子装置が出力する上記時間的情報を第1の電子
装置が受信することにより、第2の電子装置の機種の相
違による初期応答データ受信後から命令データを送出す
るまでの時間の相違を第1の電子装置が認識できる。し
たがって、第1の電子装置は第2の電子装置の機種ごと
に適切な命令データの送出タイミングが図れる。
(Function) By the first electronic device receiving the above-mentioned temporal information outputted by the second electronic device, the time period from receiving the initial response data to sending out the command data due to the difference in the model of the second electronic device is The time difference can be recognized by the first electronic device. Therefore, the first electronic device can determine the appropriate timing for transmitting command data for each model of the second electronic device.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第8図は本発明に係るICカードが適用される、たとえ
ばホームバンキングシステムあるいはショッピングシス
テムなどの端末装置として用いられるカー・ド取扱装置
の構成例を示すものである。すなわち、この装置は、I
Cカード1をカード処理装置としてのカードリーダ・ラ
イタ2を介してCPUなどからなる制御部3と接続可能
にするとともに、制御部3にキーボード4、CRTディ
スプレイ装置5、プリンタ6およびフロッピィディスク
装置7を接続して構成される。
FIG. 8 shows an example of the configuration of a card handling device used as a terminal device in, for example, a home banking system or a shopping system to which the IC card according to the present invention is applied. That is, this device
The C card 1 can be connected to a control section 3 consisting of a CPU or the like via a card reader/writer 2 as a card processing device, and the control section 3 is equipped with a keyboard 4, a CRT display device 5, a printer 6, and a floppy disk device 7. It is configured by connecting.

ICカード1は、ユーザが保持し、たとえば商品購入な
どの際にユーザのみが知得している暗証番号の参照や必
要データの蓄積などを行なうもので、第6図にその機能
ブロックを示すように、リード・ライト部11、暗証設
定・暗証照合部12、および暗号化・復号化部13など
の基本機能を実行する部分と、これらの基本機能を管理
するスーパバイザ14とで構成されている。リード・ラ
イト部11は、カードリーダ・ライタ2との間でデータ
を読出し、書込み、あるいは消去を行なう機能である。
The IC card 1 is held by the user, and is used to refer to a personal identification number known only to the user when purchasing products, etc., and to store necessary data. Its functional blocks are shown in Fig. 6. It is comprised of parts that execute basic functions such as a read/write section 11, a password setting/password verification section 12, and an encryption/decryption section 13, and a supervisor 14 that manages these basic functions. The read/write section 11 has the function of reading, writing, or erasing data from/to the card reader/writer 2.

暗証設定・暗証照合部12は、ユーザが設定した暗証番
号の記憶および続出禁止処理を行なうとともに、暗証番
号の設定後にその暗証番号の照合を行ない、以後の処理
の許可を与える機能である。暗号化・復号化部13は、
たとえば通信回線を介して制御部3から他の端末装置へ
データを送信する場合の通信データの漏洩、偽造を防止
するための暗号化や暗号化されたデータの復号化を行な
うものであり、たとえばDES(Data  Encr
yption Standard)など、充分な暗号強度を有する暗号
化アルゴリズムにしたがってデータ処理を行なう機能で
ある。スーパバイザ14は、カードリーダ・ライタ2か
ら入力された機能コードもしくはデータの付加された機
能コードを解読し、前記基本機能のうち必要な機能を選
択して実行させる機能である。
The password setting/password verification unit 12 has a function of storing the password set by the user and prohibiting repeated use of the password, as well as verifying the password after setting the password and granting permission for subsequent processing. The encryption/decryption unit 13 is
For example, it performs encryption to prevent leakage and forgery of communication data when transmitting data from the control unit 3 to another terminal device via a communication line, and decrypts encrypted data. DES (Data Encr.
This function performs data processing according to an encryption algorithm with sufficient cryptographic strength, such as encryption standard. The supervisor 14 has the function of 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.

これらの諸機能を発揮させるために、ICカード1は例
えば第5図に示すように、制御素子(たとえばCPU)
15、記憶内容が消去可能な不揮発性のデータメモリ1
6、プログラムメモリ17、およびカードリーダ・ライ
タ2との電気的接触を得るためのコンタクト部18によ
って構成されており、これらのうち破線内の部分(制御
素子15、データメモリ16、プログラムメモリ17)
は1つのICチップで構成されている。プログラムメモ
リ17は、たとえばマスクROMで構成されており、第
4図に示すように前記各基本機能を実現するサブルーチ
ンを備えた制御素子15の制御プログラム、およびIc
カード1の起動開始を意味する初期応答データを記憶す
るものである。データメモリ16は各種データの記憶に
使用され、たとえばEEPROMで構成されている。
In order to perform these various functions, the IC card 1 has a control element (for example, a CPU) as shown in FIG.
15. Nonvolatile data memory whose memory contents can be erased 1
6. Consists of a program memory 17 and a contact part 18 for obtaining electrical contact with the card reader/writer 2, of which the part within the broken line (control element 15, data memory 16, program memory 17)
is composed of one IC chip. The program memory 17 is composed of, for example, a mask ROM, and as shown in FIG.
This is used to store initial response data indicating the start of activation of the card 1. The data memory 16 is used to store various data and is composed of, for example, an EEPROM.

カードリーダ・ライタ2は、ICカード1と制御部3と
の間で機能コードやデータの授受を行なうものである。
The card reader/writer 2 is used to exchange function codes and data between the IC card 1 and the control section 3.

具体的には、第7図に示すように、図示しないカード挿
入口に挿入されたICカード1を所定の位置まで搬送す
る搬送機構21、所定の位置にセットされたICカード
1のコンタクト部18に電気的に接触されるコンタクト
部22、全体の制御を司るCPUなどからなる制御回路
23、制御回路23と制御部3との間で命令データや応
答データの授受を行なうための入出力インタフェイス回
路24、データを記憶するデータメモリ25、および初
期値を与えるとその値どうりの時間経過後rOJとなる
ようなディクリメントタイマ回路26などから構成され
ている。
Specifically, as shown in FIG. 7, a transport mechanism 21 that transports the IC card 1 inserted into a card insertion slot (not shown) to a predetermined position, and a contact section 18 of the IC card 1 set at a predetermined position. a contact section 22 that is electrically contacted, a control circuit 23 consisting of a CPU that controls the entire system, and an input/output interface for exchanging command data and response data between the control circuit 23 and the control section 3. It is composed of a circuit 24, a data memory 25 for storing data, and a decrement timer circuit 26 which, when an initial value is given, becomes rOJ after a period of time equal to that value.

次に、このような構成において動作を説明する。Next, the operation in such a configuration will be explained.

まず、ICカード1は第2図に示すフローチャートにし
たがって動作する。すなわち、カードリーダ・ライタ2
からの起動用制御信号であるリセット信号をリセット解
除状態にすると、制御素子15は所定時間内にプログラ
ムメモリ17内の起動開始を意味する初期応答データを
出力する。この初期応答データは、ICカード1の伝送
プロトコル仕様情報および起動開始を意味する初期応答
データの出力後、カードリーダ・ライタ2からの命令デ
ータを受付ける状態になるまでの時間的情報などで構成
されている。さて、上記初期応答データを出力した後、
制御素子15はカードリーダ・ライタ2からの命令デー
タ持ち状態となる。このとき、カードリーダ・ライタ2
から命令データが入力されると、制御素子15はその命
令データにしたがって基本機能を実行し、その処理結果
を示す応答データをカードリーダ・ライタ2に出力し、
再び命令データ持ち状態に戻る。
First, the IC card 1 operates according to the flowchart shown in FIG. In other words, card reader/writer 2
When the reset signal, which is a start-up control signal, is set to a reset release state, the control element 15 outputs initial response data in the program memory 17 indicating the start of start-up within a predetermined time. This initial response data consists of transmission protocol specification information of the IC card 1 and time information from when the initial response data indicating the start of activation until it becomes ready to accept command data from the card reader/writer 2. ing. Now, after outputting the above initial response data,
The control element 15 enters a state in which it has command data from the card reader/writer 2. At this time, card reader/writer 2
When command data is input from the control element 15, the control element 15 executes basic functions according to the command data, outputs response data indicating the processing result to the card reader/writer 2,
Returns to the state with command data.

なお、カードリーダ・ライタ2からICカード1に出力
される命令データは、たとえば第3図に示すようなフォ
ーマットであり、同図(a)に示すように機能コードの
みの形態、または同図(b)に示すように機能コードに
データを付加した形態がある。
Note that the command data output from the card reader/writer 2 to the IC card 1 has a format as shown in FIG. 3, for example, and may be in the form of only a function code as shown in FIG. As shown in b), there is a form in which data is added to the function code.

カードリーダ・ライタ2は第1図に示すフローチャート
にしたがって動作する。すなわち、定常状態においては
制御部3からの命令データ待ち状態となっている(ステ
ップS1)。このとき、制御部3から命令データが入力
されると、制御回路23はステップS2に進み、上記入
力された命令データがICカード取込み命令であるか否
かを判断する。ICカード取込み命令である場合、制御
回路23はステップS3に進み、ICカード挿入持ち状
態となる。このとき、所定時間内にICカード1が挿入
されなかったと判断すると、制御回路23はステップS
4に進み、ICカード未挿入を意味する応答データを制
御部3に出力して再び命令データ待ち状態に戻る。所定
時間内にICカード1が挿入されたと判断すると、制御
回路23はステップ35.86と進み、ICカード1に
対して電源およびクロックなどを供給し、ICカード1
のリセットを解除する(以下これらの動作を活性化と呼
ぶ)。そして、制御回路23はステップS7に進み、I
Cカード1からの起動開始を意味する初期応答データ待
ち状態となる。このとき、所定時間内に初期応答データ
を受信しないと、制御回路23はステップS8に進み、
規格外カードを意味する応答データを制御部3に出力し
て再び命令データ待ち状態に戻る。所定時間内に初期応
答データを受信すると、制御回路23はステップS9に
進み、その受信した初期応答データ内の時間的情報を抽
出し、ディクリメントタイマ回路26に初期値としてセ
ットする。
The card reader/writer 2 operates according to the flowchart shown in FIG. That is, in the steady state, it is in a state of waiting for command data from the control section 3 (step S1). At this time, when command data is input from the control section 3, the control circuit 23 proceeds to step S2 and determines whether the input command data is an IC card import command. If it is an IC card import command, the control circuit 23 proceeds to step S3 and enters the IC card insertion state. At this time, if it is determined that the IC card 1 has not been inserted within the predetermined time, the control circuit 23 performs step S.
The process proceeds to step 4, where response data indicating that the IC card is not inserted is output to the control unit 3, and the process returns to the command data waiting state. If it is determined that the IC card 1 has been inserted within the predetermined time, the control circuit 23 proceeds to step 35.86, supplies power, clock, etc. to the IC card 1, and
(hereinafter, these operations are referred to as activation). Then, the control circuit 23 proceeds to step S7, and
It enters a state of waiting for initial response data, which means the start of activation from the C card 1. At this time, if the initial response data is not received within the predetermined time, the control circuit 23 proceeds to step S8,
Response data indicating a non-standard card is output to the control unit 3 and the process returns to the command data waiting state. When the initial response data is received within the predetermined time, the control circuit 23 proceeds to step S9, extracts temporal information from the received initial response data, and sets it in the decrement timer circuit 26 as an initial value.

次に、制御回路23はステップ810に進み、制御部3
からの命令データがマクロ命令であるか否かを判断する
。マクロ命令でなければ、制御回路23はステップS1
1に進み、命令データに対する応答データを制御部3に
出力して再び命令データ持ち状態に戻る。マクロ命令で
あった場合、制御回路23はステップ812に進み、マ
クロ命令終了か否か(マクロ命令中の最終命令データを
ICカード1に送出した後か否か)を判断する。
Next, the control circuit 23 proceeds to step 810, and the control circuit 23 proceeds to step 810.
It is determined whether the instruction data from is a macro instruction. If it is not a macro instruction, the control circuit 23 executes step S1.
1, the response data to the command data is output to the control section 3, and the state returns to the command data holding state again. If it is a macro instruction, the control circuit 23 proceeds to step 812 and determines whether the macro instruction has ended (or not after the final instruction data in the macro instruction has been sent to the IC card 1).

マクロ命令終了であれば、制御回路23はステップ81
1に進み、マクロ命令に対する応答データをs+制御部
3に出力して再び命令データ待ち状態に戻る。マクロ命
令終了でなければ、制御回路23はステップS13に進
み、ディクリメントタイマ回路26が「0」になるまで
待ち状態となる。ディクリメントタイマ回路26が「O
」になると、制御回路23はステップS14に進み、送
出すべき命令データをICカード1に出力する。そして
、制御回路23はステップS15に進み、ICカード1
からの応答データ待ち状態となる。このとき、所定時間
内にICカード1からの応答データを受信しないと、制
御回路23はステップ816に進み、タイムアウトを意
味する応答データを制御部3に出力して再び命令デー′
夕待ち状態に戻る。所定時間内にICカード1からの応
答データを受信すると、制御回路23はステップ810
に戻り、マクロ命令が全て終了するまで繰返す。
If the macro instruction has ended, the control circuit 23 proceeds to step 81.
1, outputs response data to the macro command to the s+ control section 3, and returns to the command data waiting state. If the macro instruction has not ended, the control circuit 23 proceeds to step S13 and enters a waiting state until the decrement timer circuit 26 becomes "0". The decrement timer circuit 26
”, the control circuit 23 proceeds to step S14 and outputs the command data to be sent to the IC card 1. Then, the control circuit 23 proceeds to step S15, and the IC card 1
It enters a state of waiting for response data from. At this time, if the response data from the IC card 1 is not received within a predetermined period of time, the control circuit 23 proceeds to step 816, outputs response data indicating timeout to the control unit 3, and then outputs the command data again.
Return to the state of waiting for the evening. Upon receiving the response data from the IC card 1 within a predetermined time, the control circuit 23 performs step 810.
Return to and repeat until all macro instructions are completed.

なお、ステップS2において、ICカード取込み命令で
ない場合、制御回路23はステップ817に進み、IC
カード1を活性化した後か否かを判断する。ICカード
1を活性化した後でなければ、制御回路23はステップ
818に進み、未活性化を意味する応答データを制御部
3に出力して再び命令データ待ち状態に戻る。ICカー
ド1を活性化した後であれば、制御回路23はステップ
S13に移る。
Note that in step S2, if it is not an IC card import command, the control circuit 23 proceeds to step 817, and reads the IC card.
It is determined whether or not after card 1 has been activated. If the IC card 1 has not been activated yet, the control circuit 23 proceeds to step 818, outputs response data indicating deactivation to the control unit 3, and returns to the instruction data waiting state. If the IC card 1 has been activated, the control circuit 23 moves to step S13.

このように、ICカード1が起動開始を意味する初期応
答データを送出してから命令データを受信するまでの時
間的情報を上記初期応答データ中に含ませることにより
、カードリーダ・ライタ2はこの初期応答データから上
記時間的情報を抽出し、この抽出した時間的情報を基に
ICカード1への命令データ送出タイミングが認識でき
る。すなわち、ICカード1が初期応答データとともに
出力する上記時間的情報をカードリーダ・ライタ2が受
信することにより、その時間的情報によりICカード1
の機種の相違による初期応答データ受信後から命令デー
タを送出するまでの時冊の相違をカードリーダ・ライタ
2がI!できる。したがって、カードリーダ・ライタ2
は上記時間的情報によりICカード1の機種ごとに適切
な命令データの送出タイミングが図れる。
In this way, by including in the initial response data the time information from when the IC card 1 sends the initial response data indicating the start of activation until it receives the command data, the card reader/writer 2 The above-mentioned temporal information is extracted from the initial response data, and the timing of sending command data to the IC card 1 can be recognized based on the extracted temporal information. That is, when the card reader/writer 2 receives the above temporal information that the IC card 1 outputs together with the initial response data, the IC card 1 uses the temporal information.
The card reader/writer 2 detects differences in time between receiving initial response data and sending command data due to differences in models. can. Therefore, card reader/writer 2
By using the above-mentioned time information, it is possible to determine an appropriate timing for transmitting command data for each model of IC card 1.

なお、前記実施例では、初期応答データ内の時間的情報
を抽出し、これをディクリメントタイマ回路26に初期
値としてセットし、ICカード1へ命令データを送出す
る直前にディクリメントタイマ回路26がrOJになっ
たことを確認する方法を述べたが、時間的情報をセット
した後ディクリメントタイマ回路26がrOJになった
場合、ステップS10に移行する方法でもよい。すなわ
ち、ステップS9と810との間にステップ813の処
理をもってきてもよい。また、この場合、ディクリメン
トタイマ回路26はハードタイマではなく、ハードタイ
マと同様な機能を持つソフトタイマで実現してもよい。
In the embodiment described above, the temporal information in the initial response data is extracted and set as an initial value in the decrement timer circuit 26, and immediately before the command data is sent to the IC card 1, the decrement timer circuit 26 is activated. Although the method for confirming that rOJ has been described has been described, if the decrement timer circuit 26 becomes rOJ after setting the temporal information, a method may be adopted in which the process moves to step S10. That is, the process of step 813 may be provided between steps S9 and 810. Further, in this case, the decrement timer circuit 26 may be realized not by a hard timer but by a soft timer having a function similar to that of a hard timer.

また、前記実施例では、時間的情報があらかじめ初期応
答データ中に含まれて登録されているが、初期応答デー
タ中の時間的情報以外の情報と時間的情報とが分離して
登録されており、送出時に両者を結合する方式であって
もよい。
Further, in the above embodiment, the temporal information is included and registered in the initial response data in advance, but the information other than the temporal information in the initial response data and the temporal information are registered separately. , a method may be adopted in which both are combined at the time of transmission.

さらに、前記実施例は、第1の電子装置をカードリーダ
・ライタ2に、第2の電子装置をICカード1とした例
であるが、たとえば第1の電子装置を制御部3に、第2
の電子装置をカードリーダ・ライタ2としてもよい。要
するに、第1の電子装置および第2の電子装置が半二重
伝送によりデータの授受を行ない、第1の電子装置から
の制御信号により第2の電子装置を起動せしめ、かつ第
2の電子装置は起動後、起動開始を意味する初期応答デ
ータを第1の電子装置に送信し、その後第1の電子装置
からの命令データを受信することによりその命令データ
を解読し、これに対応する処理を実行した後その処理結
果を応答データとして第1の電子装置に送信する処理方
式であれば適用可能である。
Further, in the above embodiment, the first electronic device is the card reader/writer 2 and the second electronic device is the IC card 1.
The electronic device may be used as the card reader/writer 2. In short, a first electronic device and a second electronic device exchange data through half-duplex transmission, the second electronic device is activated by a control signal from the first electronic device, and the second electronic device After startup, transmits initial response data indicating the start of startup to the first electronic device, then receives command data from the first electronic device, decodes the command data, and performs the corresponding process. Any processing method that executes the processing and then transmits the processing result to the first electronic device as response data is applicable.

[発明の効果] 以上詳述したように本発明によれば、第2の電子装置の
機種の相違による初期応答データ受信後から命令データ
を送出するまでの時間の相違を第1の電子装置が認識で
き、第1の電子装置は第2の電子装置の機種ごとに適切
な命令データの送出タイミングが図れる処理方式を提供
できる。
[Effects of the Invention] As detailed above, according to the present invention, the first electronic device can compensate for the difference in time from receiving the initial response data to sending the command data due to the difference in the model of the second electronic device. It is possible to provide a processing method that allows the first electronic device to recognize the timing of sending command data appropriately for each model of the second electronic device.

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

図は本発明の一実施例を説明するためのもので、第1図
はカードリーダ・ライタの動作を説明するフローチャー
ト、第2図はICカードの動作を説明するフローチャー
ト、第3図はカードリーダ・ライタから出力される命令
データのフォーマットを示す図、第4図はICカードの
プログラムメモリ内のフォーマットを示す図、第5図は
ICカードに内蔵するICチップの構成を示すブロック
図、第6図はICカードの機能ブロックを示す図、第7
図はカードリーダ・ライタの構成を示すブロック図、第
8図はカード取扱装置の構成を示すブロック図である。 1・・・・・・ICカード(第2の電子装置)、2・・
・・・・カードリーダ・ライタ〈第1の電子装置)、1
5・・・・・・制御素子(CPU)、16・・・・・・
データメモリ、17・・・・・・プログラムメモリ、2
3・・・・・・制御回路、26・・・・・・ディクリメ
ントタイマ回路。 出願人代理人 弁理士 鈴江武彦 (b) 第2 図 第3百 第4 図 =          −J 第5図 第6図
The figures are for explaining one embodiment of the present invention, and FIG. 1 is a flowchart explaining the operation of a card reader/writer, FIG. 2 is a flowchart explaining the operation of an IC card, and FIG. 3 is a flowchart explaining the operation of a card reader/writer.・A diagram showing the format of command data output from the writer, FIG. 4 is a diagram showing the format in the program memory of the IC card, FIG. 5 is a block diagram showing the configuration of the IC chip built into the IC card, and FIG. Figure 7 shows the functional blocks of an IC card.
FIG. 8 is a block diagram showing the configuration of the card reader/writer, and FIG. 8 is a block diagram showing the configuration of the card handling device. 1...IC card (second electronic device), 2...
...Card reader/writer (first electronic device), 1
5... Control element (CPU), 16...
Data memory, 17...Program memory, 2
3... Control circuit, 26... Decrement timer circuit. Applicant's agent Patent attorney Takehiko Suzue (b) Figure 2 Figure 304 Figure 4 = -J Figure 5 Figure 6

Claims (8)

【特許請求の範囲】[Claims] (1)第1の電子装置および第2の電子装置が半二重伝
送によりデータの授受を行ない、第1の電子装置からの
制御信号により第2の電子装置を起動せしめ、かつ第2
の電子装置は起動後、起動開始を意味する初期応答デー
タを第1の電子装置に送信し、その後第1の電子装置か
らの命令データを受信することによりその命令データを
解読し、これに対応する処理を実行した後その処理結果
を応答データとして第1の電子装置に送信する処理方式
において、前記第2の電子装置が前記起動開始を意味す
る初期応答データを送信後次の命令データを受信するま
での時間的情報を出力する手段を具備したことを特徴と
する処理方式。
(1) The first electronic device and the second electronic device exchange data by half-duplex transmission, and the second electronic device is activated by a control signal from the first electronic device, and the second electronic device is activated by a control signal from the first electronic device, and
After startup, the electronic device transmits initial response data indicating the start of startup to the first electronic device, and then receives command data from the first electronic device to decode the command data and respond accordingly. In the processing method in which the processing result is transmitted as response data to the first electronic device after executing a process, the second electronic device receives the next command data after transmitting the initial response data indicating the start of the activation. A processing method characterized by comprising means for outputting temporal information up to the point in time.
(2)前記時間的情報は前記起動開始を意味する初期応
答データ中に含まれることを特徴とする特許請求の範囲
第1項記載の処理方式。
(2) The processing method according to claim 1, wherein the temporal information is included in initial response data indicating the start of activation.
(3)前記制御信号はリセット信号であることを特徴と
する特許請求の範囲第1項記載の処理方式。
(3) The processing method according to claim 1, wherein the control signal is a reset signal.
(4)前記時間的情報は第2の電子装置内にあらかじめ
登録されていることを特徴とする特許請求の範囲第1項
記載の処理方式。
(4) The processing method according to claim 1, wherein the temporal information is registered in advance in the second electronic device.
(5)前記起動開始を意味する初期応答データは第2の
電子装置内にあらかじめ登録されていることを特徴とす
る特許請求の範囲第1項記載の処理方式。
(5) The processing method according to claim 1, wherein the initial response data indicating the start of activation is registered in advance in the second electronic device.
(6)前記起動開始を意味する初期応答データは第2の
電子装置の伝送プロトコル仕様情報が含まれることを特
徴とする特許請求の範囲第1項記載の処理方式。
(6) The processing method according to claim 1, wherein the initial response data indicating the start of activation includes transmission protocol specification information of the second electronic device.
(7)前記第2の電子装置はいわゆるICカードである
ことを特徴とする特許請求の範囲第1項記載の処理方式
(7) The processing method according to claim 1, wherein the second electronic device is a so-called IC card.
(8)前記第1の電子装置はICカードに対してデータ
の読出しおよびあるいは書込みを行なうためのカード処
理装置であることを特徴とする特許請求の範囲第7項記
載の処理方式。
(8) The processing method according to claim 7, wherein the first electronic device is a card processing device for reading and/or writing data to an IC card.
JP61275798A 1986-11-19 1986-11-19 Data transmission method Expired - Lifetime JP2549639B2 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
JP61275798A JP2549639B2 (en) 1986-11-19 1986-11-19 Data transmission method
DE19873732615 DE3732615A1 (en) 1986-11-19 1987-09-28 Processing system for a portable electronic device
DE3744841A DE3744841C2 (en) 1986-11-19 1987-09-28
FR8713535A FR2606905B1 (en) 1986-11-19 1987-09-30 PORTABLE ELECTRONIC DEVICE PROCESSING SYSTEM
KR1019870013032A KR910007034B1 (en) 1986-11-19 1987-11-19 Data processing method of portable electronic device
US07/999,799 US5414835A (en) 1986-11-19 1991-09-17 IC card processing system capable of determing send timing between an IC card and an accepting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61275798A JP2549639B2 (en) 1986-11-19 1986-11-19 Data transmission method

Publications (2)

Publication Number Publication Date
JPS63129490A true JPS63129490A (en) 1988-06-01
JP2549639B2 JP2549639B2 (en) 1996-10-30

Family

ID=17560560

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61275798A Expired - Lifetime JP2549639B2 (en) 1986-11-19 1986-11-19 Data transmission method

Country Status (1)

Country Link
JP (1) JP2549639B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60117944A (en) * 1983-11-14 1985-06-25 タンデム コンピユーターズ インコーポレーテツド Communication method
JPS60207986A (en) * 1984-04-02 1985-10-19 Toshiba Corp Data processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60117944A (en) * 1983-11-14 1985-06-25 タンデム コンピユーターズ インコーポレーテツド Communication method
JPS60207986A (en) * 1984-04-02 1985-10-19 Toshiba Corp Data processing system

Also Published As

Publication number Publication date
JP2549639B2 (en) 1996-10-30

Similar Documents

Publication Publication Date Title
KR910007034B1 (en) Data processing method of portable electronic device
KR910007035B1 (en) A data processing method between the first electronic devie and the second electronic device and a portable device as the second electronic device for the data processing method
JPH05250523A (en) Processing system
KR910001972B1 (en) Processing system for portable electronic apparatus
JP2010092250A (en) Semiconductor element and biometric authentication method, biometric authentication system, and mobile terminal
US20090184799A1 (en) Information storage medium and information storage medium processing apparatus
JP2694168B2 (en) IC card
JP2011022841A (en) Processing system for portable electronic apparatus, portable electronic apparatus, and processing apparatus for portable electronic apparatus
JPS63129490A (en) Processing system
JPH0654507B2 (en) Portable electronic device
JP2543861B2 (en) Data transmission method
JP4687045B2 (en) Authentication apparatus and method
JPH0772891B2 (en) Data transmission method
JP3251579B2 (en) Portable electronic devices
JP2577369B2 (en) IC card
JP2577370B2 (en) Portable electronic devices
JP3048550B2 (en) IC chip for IC card
JP2618953B2 (en) Transmission processing method, data storage medium and IC chip
JPH03271885A (en) Ic card system
JPS63142493A (en) Portable electronic device
JP2850120B2 (en) IC card system
JP2935471B2 (en) Contactless information card
JP2006164298A (en) Ic card
JPS63234375A (en) Processing system
JPH03224083A (en) Portable electronic device