JPH03204794A - Ic card controlling method - Google Patents
Ic card controlling methodInfo
- Publication number
- JPH03204794A JPH03204794A JP2000656A JP65690A JPH03204794A JP H03204794 A JPH03204794 A JP H03204794A JP 2000656 A JP2000656 A JP 2000656A JP 65690 A JP65690 A JP 65690A JP H03204794 A JPH03204794 A JP H03204794A
- Authority
- JP
- Japan
- Prior art keywords
- card
- response
- control device
- command signal
- signal
- 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
Links
- 238000000034 method Methods 0.000 title claims description 13
- 230000004044 response Effects 0.000 claims abstract description 44
- 238000004891 communication Methods 0.000 claims description 9
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 1
Landscapes
- Credit Cards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ICカード制御方法にかかり、特に大斌のデ
ータを転送するに好適で、かつ複数のICカードを同時
に制御するに好適なICカード制御方法に関する。[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an IC card control method, and is particularly directed to an IC card suitable for transferring large-scale data and suitable for controlling a plurality of IC cards simultaneously. This invention relates to a card control method.
本発明に関する従来技術としては、例えば、特開昭63
−120391号公報に記載された発明があげられる。As prior art related to the present invention, for example, Japanese Patent Application Laid-open No. 63
The invention described in Japanese Patent No. 120391 is mentioned.
本先行技術は、少量のデータ転送に好適な、あるいは単
一のICカードを制御するに好適なICカード制御方式
を開示している。This prior art discloses an IC card control method suitable for transferring a small amount of data or suitable for controlling a single IC card.
上記従来技術においては、以下の問題が指摘されている
。The following problems have been pointed out in the above conventional technology.
(1)制御装置よりのデータ送信に対し、第7図に示す
ように、常にICカードから制御装置へ返送していたた
め、転送効率が上がらない。(1) When data is sent from the control device, as shown in FIG. 7, data is always sent back from the IC card to the control device, which does not improve transfer efficiency.
(2)従来技術では、常に応答を返送していたため、単
一のICカードの制御、つまりICカードと制御装置の
1対1の通信しか出来なかった。(2) In the conventional technology, since responses were always sent back, only a single IC card could be controlled, that is, one-to-one communication between the IC card and the control device was possible.
したがって、同一のデータを複数のICカードへ送信す
る様な場合、同一の操作を複数回行わなければならず、
効率が悪い。Therefore, when sending the same data to multiple IC cards, the same operation must be performed multiple times.
ineffective.
先に述べた先行技術はこれらの問題を認識していない。The prior art mentioned above does not recognize these problems.
本発明は上記した従来技術の問題点に鑑みなされたもの
で、データの転送効率を上げ、かつ複数のICカードを
同時に制御するに好適なICカード制御方式を提供する
ことを目的としている。The present invention was made in view of the problems of the prior art described above, and aims to provide an IC card control method suitable for increasing data transfer efficiency and controlling a plurality of IC cards simultaneously.
本発明のICカード制御方法は、通信路を介してICカ
ードと制御装置を接続し、制御装置から送信されるコマ
ンド信号を受信して、ICカードにおいて上記コマンド
信号の内容応じた処理を行うICカード制御方法に
上記コマンド信号にICカードから制御装置へのレスポ
ンスの要否を示すコードを設け、ICカードにおいて上
記コマンド信号内の上記コードを認識し、レスポンス要
の場合には制御装置にレスポンス信号を送信し、レスポ
ンス不要の場合にはレスポンス信号を送信しないことを
特徴としている。The IC card control method of the present invention connects an IC card and a control device via a communication path, receives a command signal transmitted from the control device, and performs processing in the IC card according to the content of the command signal. In the card control method, a code indicating whether or not a response is required from the IC card to the control device is provided in the command signal, and the IC card recognizes the code in the command signal and sends a response signal to the control device when a response is required. It is characterized by transmitting a response signal and not transmitting a response signal if a response is not required.
制御装置からのコマンド信号の送信に際して、ICカー
ドからのレスポンス信号を必要とするか否かを指定でき
るため、無用な応答が防止できる。Since it is possible to specify whether or not a response signal from the IC card is required when transmitting a command signal from the control device, unnecessary responses can be prevented.
また、レスポンス信号を不要とすることにより、複数の
ICカードを同時に制御出来るため、効率の良いデータ
転送が実現できる。Furthermore, since a plurality of IC cards can be controlled simultaneously by eliminating the need for a response signal, efficient data transfer can be realized.
以下添付の図面に示す実施例により、更に詳細に本発明
について説明する。The present invention will be described in more detail below with reference to embodiments shown in the accompanying drawings.
第2図は本発明が適用されるICカードの一例を示すブ
ロック図である。第2図において、10はICカード本
体、11はマイクロプロセッサ、12は通信インタフェ
ース、13は本ICカードに電源を給供する電源インタ
フェース、14はランダムアクセスメモリ(以下RAM
と称す)、15は読出し専用メモリ(以下ROMと称す
)、16は電気的消去可能プログラマブル続出し専用メ
モリ(以下EEPROMと称す)を示している。FIG. 2 is a block diagram showing an example of an IC card to which the present invention is applied. In FIG. 2, 10 is an IC card body, 11 is a microprocessor, 12 is a communication interface, 13 is a power supply interface that supplies power to the IC card, and 14 is a random access memory (hereinafter referred to as RAM).
15 is a read-only memory (hereinafter referred to as ROM), and 16 is an electrically erasable programmable read-only memory (hereinafter referred to as EEPROM).
第2図は、前記ICカード10を制御装置20に接続し
た状態を示すブロック図であり、30は通信路、40は
電源路を示している。FIG. 2 is a block diagram showing a state in which the IC card 10 is connected to the control device 20, where 30 represents a communication path and 40 represents a power source path.
第2図と第3図において、ICカード10は全てその動
作をマイクロプロセッサ11により制御されており、マ
イクロプロセッサ11は、第3図に示すように制御装置
20に接続すると電源路40を経由し電源インタフェー
ス13に電源が印加され、第2図に示すROM14に存
在するプログラムが実行される。ここでICカードは制
御装置20より通信路30、通信インタフェース12を
経由して受信したコマンド信号に対し処理を実行し、結
果をレスポンス信号として制御装置20へ返送する。In FIGS. 2 and 3, all operations of the IC card 10 are controlled by a microprocessor 11, and when the microprocessor 11 is connected to the control device 20 as shown in FIG. Power is applied to the power supply interface 13, and the program existing in the ROM 14 shown in FIG. 2 is executed. Here, the IC card executes processing on the command signal received from the control device 20 via the communication path 30 and the communication interface 12, and returns the result to the control device 20 as a response signal.
第1図(a )、 (b) 、 (c)は、制御装置2
0からICカード10に送信されるコマンド信号の一例
を示す説明図である。第1図(a)に示すように、コマ
ンド信号はコマンド101とコマンドの種別102とデ
ータ103から構成されている6コマンド101として
は、第1図(b)に示すように、4種類のものが存在し
、対応する1つのコードがコマンド101として挿入さ
れる。Figures 1 (a), (b), and (c) show the control device 2.
FIG. 2 is an explanatory diagram showing an example of a command signal transmitted from IC card 10 to IC card 10. FIG. As shown in FIG. 1(a), the command signal consists of a command 101, a command type 102, and data 103.As shown in FIG. 1(b), the six commands 101 are of four types. exists, and one corresponding code is inserted as command 101.
また1種別102としては、第1図(c)に示すように
、応答要のコマンド信号と応答不要のコマンド信号の2
種類が存在し、対応する1つのコードが種別102とし
て挿入される。尚、第1図(a)に示すデータ103は
、コマンド101が” W RI T E ”の場合に
限って付加される。In addition, as one type 102, as shown in FIG. 1(c), there are two types: a command signal requiring a response and a command signal not requiring a response.
A type exists, and one corresponding code is inserted as the type 102. Note that the data 103 shown in FIG. 1(a) is added only when the command 101 is "WRITE".
第4図((Z)、(b)は、ICカード10から制御装
置20へ送信されるレスポンス信号の一例を示す説明図
である。第4図(a)、(b)に示すように、レスポン
ス401としては、L’ OK ++と” N G”の
2種類が存在し、対応するコードがレスポンス401と
して挿入される。また、第4図(a)に示すデータ40
2は、コマンド101が“READ″′で、そのレスポ
ンス401が“OK”である場合に限って付加される。FIG. 4 ((Z), (b) is an explanatory diagram showing an example of a response signal transmitted from the IC card 10 to the control device 20. As shown in FIG. 4 (a), (b), There are two types of responses 401: L' OK ++ and "NG", and the corresponding codes are inserted as the responses 401. Also, the data 40 shown in FIG. 4(a)
2 is added only when the command 101 is "READ"' and the response 401 is "OK".
第5図は、第1図で示したROM15に格納されている
ICカード1oの機能を実現するプログラムのメインル
ーチンの処理フローであり、第5図を用いて本実施例の
動作について説明する。まず、ICカード10のマイク
ロプロセッサ11は、制御装置20からのコマンド信号
を待つ(ステップ501)。制御装置20よりのコマン
ド信号は第1図(b)−に示す4種類のものがあり、受
信するとそのコードを判別しくステップ502,504
゜506)、各々の処理を実行することになる(ステッ
プ503,505,507,508)。その後、各々の
処理結果をレスポンス信号として返送することになるが
、先に受信したコマンド信号の電文中にある種別102
のデータを判定し、(ステップ509)、応答要である
場合処理結果にもとずきOKレスポンス(ステップ51
1)又はNGレスポンス(ステップ512)を返送し、
応答不要の場合何も返送せず処理を終了する。FIG. 5 is a processing flow of a main routine of a program that implements the functions of the IC card 1o stored in the ROM 15 shown in FIG. 1, and the operation of this embodiment will be explained using FIG. First, the microprocessor 11 of the IC card 10 waits for a command signal from the control device 20 (step 501). There are four types of command signals from the control device 20 as shown in FIG.
506), and each process is executed (steps 503, 505, 507, 508). After that, each processing result will be returned as a response signal, but if the type 102 in the message of the command signal received earlier is
(step 509), and if a response is required, an OK response is sent based on the processing result (step 51).
1) or return an NG response (step 512),
If no response is required, the process ends without sending anything back.
第6図が本制御方法に従った場合のシーケンスチャート
であり、従来の制御方式である第7図と比較すると、細
かい制御が可能となったことが分かる。FIG. 6 is a sequence chart when this control method is followed, and when compared with FIG. 7, which is a conventional control method, it can be seen that fine control has become possible.
また、制御装置20に対して複数台のICカード10を
接続する場合には、上記種別データ102を応答不要に
セットすることにより、制御装置20に対してレスポン
ス信号が返送されることがなくなり、1度に複数のIC
カード10と通信を行うことができる。Furthermore, when a plurality of IC cards 10 are connected to the control device 20, by setting the type data 102 to not require a response, no response signal is sent back to the control device 20. Multiple ICs at once
It is possible to communicate with the card 10.
以上のように本実施例によれば、制御装置より自由に応
答の有無を指示できるので、無用なレスポンス信号を抑
止でき効率の良いデータ転送が実現できることになる。As described above, according to this embodiment, since the control device can freely instruct the presence or absence of a response, unnecessary response signals can be suppressed and efficient data transfer can be realized.
さらに、本実施例によれば、複数のICカードを制御装
置に同時に接続して制御できるため、効率の良いコピー
システム等も構築できる。Furthermore, according to this embodiment, since a plurality of IC cards can be connected and controlled simultaneously to the control device, an efficient copy system or the like can be constructed.
本発明によれば、制御装置よりICカードの応答の要否
を指定できるため、効率の良いデータ転送ができる。According to the present invention, since it is possible to specify whether or not an IC card response is required from the control device, efficient data transfer is possible.
第1図(a )、 (b) 、 (c)は制御装置から
ICカードに送信されるコマンド信号の一例を示す説明
図、第2図はICカードの一例を示すブロック図、第3
図はICカードと制御装置の接続の一例を示すブロック
図、第4図(d)、(b)はICカードから制御装置へ
送信されるレスポンス信号の一例を示す説明図、第5図
は1.Cカード内のROMに格納されたプログラムを示
すフローチャート、第6図は本発明によるコマンド信号
とレスポンス信号の一例を示すタイムチャート、第7図
は従来技術におけるコマンド指示とレスポンスの一例を
示すタイムチャートである。
10:ICカード、 11:マイクロプロセッサ、12
:通信インタフェース、13:電源インタフェース
14: RAN、
15: ROM、 16:EEPROM、20
:制御装置、 30:通信機、 40:電源路。
第7(21(z〕
晃7 口(C)
発
)
巴
発
凶(α)
第4
0(b)
ゐ
巴FIGS. 1(a), (b), and (c) are explanatory diagrams showing an example of command signals sent from a control device to an IC card, FIG. 2 is a block diagram showing an example of an IC card, and FIG. 3 is a block diagram showing an example of an IC card.
The figure is a block diagram showing an example of the connection between the IC card and the control device, FIGS. 4(d) and (b) are explanatory diagrams showing an example of the response signal sent from the IC card to the control device, and FIG. .. A flowchart showing a program stored in a ROM in a C card, FIG. 6 a time chart showing an example of a command signal and a response signal according to the present invention, and FIG. 7 a time chart showing an example of a command instruction and response according to the prior art. It is. 10: IC card, 11: Microprocessor, 12
: Communication interface, 13: Power supply interface
14: RAN, 15: ROM, 16: EEPROM, 20
: control device, 30: communication device, 40: power supply path. 7th (21 (z) Akira 7 mouth (C) departure) Tomoe Hakko (α) 4th 0 (b) I Tomoe
Claims (1)
御装置から送信されるコマンド信号を受信して、ICカ
ードにおいて上記コマンド信号の内容応じた処理を行う
ICカード制御方法において、 上記コマンド信号にICカードから制御装置へのレスポ
ンスの要否を示すコードを設け、ICカードにおいて上
記コマンド信号内の上記コードを認識し、レスポンス要
の場合には制御装置にレスポンス信号を送信し、レスポ
ンス不要の場合にはレスポンス信号を送信しないことを
特徴とするICカード制御方法。[Claims] 1. An IC card that connects an IC card and a control device via a communication path, receives a command signal transmitted from the control device, and performs processing in the IC card according to the content of the command signal. In the control method, a code indicating whether or not a response is required from the IC card to the control device is provided in the command signal, the IC card recognizes the code in the command signal, and if a response is required, a response signal is sent to the control device. An IC card control method characterized by transmitting a response signal and not transmitting a response signal if a response is not required.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000656A JPH03204794A (en) | 1990-01-08 | 1990-01-08 | Ic card controlling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000656A JPH03204794A (en) | 1990-01-08 | 1990-01-08 | Ic card controlling method |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH03204794A true JPH03204794A (en) | 1991-09-06 |
Family
ID=11479767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000656A Pending JPH03204794A (en) | 1990-01-08 | 1990-01-08 | Ic card controlling method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH03204794A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014170423A (en) * | 2013-03-04 | 2014-09-18 | Dainippon Printing Co Ltd | Proximity-type ic card system, reader/writer and proximity-type ic card |
-
1990
- 1990-01-08 JP JP2000656A patent/JPH03204794A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2014170423A (en) * | 2013-03-04 | 2014-09-18 | Dainippon Printing Co Ltd | Proximity-type ic card system, reader/writer and proximity-type ic card |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100456180B1 (en) | A peripheral device and control method thereof | |
JPH041840A (en) | Data transfer control system | |
JPH03204794A (en) | Ic card controlling method | |
JP3531469B2 (en) | Transaction control method and its relay device | |
JPS622747A (en) | Reception control system | |
JPS61294506A (en) | High-speed pio transmission method for programmable controller | |
JP3227273B2 (en) | Link processing method of programmable controller | |
KR0123720B1 (en) | Data printing method | |
JPS6028019B2 (en) | Data transmission method | |
JP3350699B2 (en) | Programmable controller | |
JPH0511339B2 (en) | ||
JPH0643919A (en) | Method and device for transferring data of robot program of numerically controlled machine tool | |
JPH01261707A (en) | Communication method for programmable controller | |
JPS63271521A (en) | Processing controller for data | |
JPS6054009A (en) | Bus connection type programmable controller | |
JPS6237720A (en) | Power supply cut-off control system | |
JPS61195446A (en) | Terminal control device | |
JPS62235603A (en) | Numerical controller with terminal function of computer | |
JPH05344138A (en) | Data transmission controller | |
JPS63295126A (en) | Wire electric discharge machine | |
JPH08255008A (en) | Centralized control unit and its control method | |
JPS615364A (en) | Bus control system | |
JPH04184653A (en) | Control system for central processing unit of remote host computer | |
JPS6367629A (en) | Allocation system for system constitution defining work station of information processor | |
JPS59205854A (en) | System for guaranteeing operating time of terminal device |