JP3263867B2 - IC card detection method - Google Patents

IC card detection method

Info

Publication number
JP3263867B2
JP3263867B2 JP28907792A JP28907792A JP3263867B2 JP 3263867 B2 JP3263867 B2 JP 3263867B2 JP 28907792 A JP28907792 A JP 28907792A JP 28907792 A JP28907792 A JP 28907792A JP 3263867 B2 JP3263867 B2 JP 3263867B2
Authority
JP
Japan
Prior art keywords
card
terminal
terminal device
cpu
determined
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
JP28907792A
Other languages
Japanese (ja)
Other versions
JPH06139413A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP28907792A priority Critical patent/JP3263867B2/en
Publication of JPH06139413A publication Critical patent/JPH06139413A/en
Application granted granted Critical
Publication of JP3263867B2 publication Critical patent/JP3263867B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、CPU回路を内蔵した
ICカードを機器装置に装着されたことを電気的に検出
するためのICカード検出方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card detecting method for electrically detecting that an IC card having a built-in CPU circuit is mounted on a device.

【0002】[0002]

【従来の技術】最近、携帯電話機にCPU回路を内蔵し
たICカードが利用され始めている。この場合の利点と
してICカード内にアルゴリズムや各データの記憶、電
話加入者の番号等が存在し、電話加入者がどの携帯電話
を利用しても同一のICカードを利用すれば使用料金が
当該加入者にされる方式が実施されている。このような
背景からICカード利用の携帯電話機では、ICカード
が確実に挿着されていることが必要である。
2. Description of the Related Art Recently, an IC card having a CPU circuit built in a portable telephone has begun to be used. An advantage of this case is that the IC card has algorithms, storage of data, telephone subscriber numbers, and the like, and if a telephone subscriber uses the same IC card, the usage fee will be reduced. Subscriber schemes have been implemented. From such a background, in a mobile phone using an IC card, it is necessary that the IC card is securely inserted.

【0003】ここで、上述したCPU回路を内蔵したI
Cカードの一例を図1及び図2を参照して説明する。全
体を符号1で示したICカードには、ROM(プログラ
ム用メモリ)4やRAM(データ処理用メモリ)5から
なるCPU回路6と、EEPROM(データ用メモリ)
7が内蔵されている。また、ICカード1の表面には端
末機器8の後述するインターフェース部と信号の授受を
行うための複数の端子群からなる入出力端子部2が設け
られている。
[0003] Here, the I / O with the above-mentioned CPU circuit built-in.
An example of the C card will be described with reference to FIGS. An IC card generally designated by reference numeral 1 includes a CPU circuit 6 including a ROM (program memory) 4 and a RAM (data processing memory) 5 and an EEPROM (data memory).
7 is built-in. Further, on the surface of the IC card 1, an input / output terminal unit 2 including a plurality of terminal groups for transmitting and receiving signals to and from an interface unit of the terminal device 8, which will be described later, is provided.

【0004】上述した入出力端子部2は、ICカード1
に対してISO規格(国際標準化機構)によってその位
置が規定されている。入出力端子部2の各端子は、4つ
ずつ2列に形成され、各端子は2a〜2hからなる。各
端子の詳細を説明すると、端子2aは、VCC(カード
内CPUの動作電圧供給端子)、端子2bは、RST
(カード内CPUのリセット信号供給端子)、端子2c
は、CLK(カード内CPUの動作クロック供給端
子)、端子2dは、RFU(予備端子)、端子2eは、
GND(グランド)、端子2fは、VPP(メモリIC
の書込み電圧供給端子)、端子2gは、I/O(双方向
のデータ電送用端子)、そして端子2hは、RFU(予
備端子)である。
The above-mentioned input / output terminal unit 2 is used for the IC card 1
The position is defined by the ISO standard (International Organization for Standardization). Each terminal of the input / output terminal unit 2 is formed in two rows of four, and each terminal includes 2a to 2h. To explain the details of each terminal, terminal 2a is VCC (operating voltage supply terminal of CPU in the card), and terminal 2b is RST
(Reset signal supply terminal for CPU in card), terminal 2c
Is a CLK (operation clock supply terminal of the CPU in the card), a terminal 2d is an RFU (spare terminal), and a terminal 2e is
GND (ground), terminal 2f is VPP (memory IC
, A terminal 2g is an I / O (bidirectional data transmission terminal), and a terminal 2h is an RFU (reserve terminal).

【0005】尚、ICカード1の面には磁気ストライプ
3が形成され、ICカード1は矢印方向が端末機器への
挿入方向である。
The magnetic stripe 3 is formed on the surface of the IC card 1, and the direction of the arrow of the IC card 1 is the direction of insertion into the terminal device.

【0006】[0006]

【発明が解決しようとする課題】上述したようなICカ
ード1は、一般にICカード1と端末機器8とをICカ
ード読出し/書込み(R/W)9(以下、インターフェ
ース部という)を通してインターフェースされ利用され
る。このような方法で利用されるシステムとしては、上
述した携帯電話機の他、ペイTVやPOS(販売時点情
報管理システム)等がある。ここで、最も重要な点はI
Cカード1はCPU回路6を内蔵しているため、セキュ
リティー上、極めて信頼性の高いデバイスとなってい
る。
The IC card 1 as described above is generally used by interfacing the IC card 1 and the terminal device 8 through an IC card read / write (R / W) 9 (hereinafter referred to as an interface unit). Is done. As a system used in such a method, there are a pay TV, a POS (point of sale information management system), and the like, in addition to the above-mentioned mobile phone. Here, the most important point is I
Since the C card 1 has the built-in CPU circuit 6, it is a highly reliable device in terms of security.

【0007】ここで、携帯電話の分野での応用の一例を
あげて説明すると、近来では、ICカード内部の機能と
して通信の秘話を司る暗号コードの発生、使用者を確認
するためのID照合、通信に伴う各データの記憶とその
更新が主なものである。しかし、このように信頼性の高
いデバイスでも不正な扱いを行ってそのセキュリティー
の侵犯を試みる者がいる。例えば、端末機器のインター
フェース部に装着されたICカードを、端末機器が作動
中に強制的に抜去する等の不正手段を行う場合がある。
このような不正な取扱いに対して端末機器は動作中デー
タをICカードと交換している以外でもしばしばICカ
ードが装着されていることを確認する必要がある。
Here, an example of application in the field of the mobile phone will be described. Recently, as an internal function of an IC card, an encryption code for controlling the secret of communication, ID collation for confirming a user, Mainly, storage and updating of each data accompanying the communication are performed. However, there are those who try to violate the security of such highly reliable devices by mishandling them. For example, there is a case where illegal means such as forcibly removing the IC card attached to the interface unit of the terminal device while the terminal device is operating is performed.
For such improper handling, it is often necessary for the terminal device to confirm that the IC card is mounted, other than exchanging data during operation with the IC card.

【0008】また、ソフトウエア的に行う方法としては
無意味な命令をICカードに出力すると、デバイスから
あるステータスが返事されるので、この返事がない場合
はICカードが抜去されたことが端末機器側から確認で
きる。しかし、携帯電話においては、バッテリー動作が
基本となっており本来のICカードとのデータ交換をす
るとき以外スリープ(sleep)モードにICカー
ドをセットして可能な限り使用電力を抑制する必要があ
る。上述したソフトウエア的方法では、スリープモード
から普通のアクティブな状態へICカードが変化し、消
費電力の抑制の効果はあまり期待でいない。
[0008] In addition, when a meaningless command is output to the IC card as a method for performing the software, a certain status is returned from the device. If there is no response, it is determined that the IC card has been removed. You can check from the side. However, in the mobile phone, except when the battery operation for the data exchange with the original IC card has become a basic, it is necessary to suppress the power usage as much as possible to set the IC card to sleep (sleep) mode is there. In the above-described software method, the IC card changes from the sleep mode to a normal active state, and the effect of suppressing power consumption is not expected much.

【0009】また、ICカードの装着をマイクロスイッ
チを使用して検出する方法が従来からある。このマイク
ロスイッチの使用は、ICカードの厚みよりも大きな部
品がICカードを動作させるための端子以外に必要とさ
れる。しかし、ICカードをそのシステムの一部として
応用した装置自体が大きいものであれば、全体に占める
ICカード及び端末機器のインターフェース部の比は小
さくなる。ところが、現在行われつつある携帯電話機に
おいては、ポケットに入る製品まで考慮されねばなら
ず、従って、通信方式自体もデジタル化され、通信に必
要な部分が全体に占める比が大きくなり、ICカード及
びインターフェース部のような機構部は特に厚み方向が
制限され、上述した従来の方式では本来の目的を達成す
ることが困難となる。
[0009] A method of detecting the mounting of an IC card using a microswitch has been conventionally known. The use of the microswitch requires a part larger than the thickness of the IC card besides the terminal for operating the IC card. However, if the device itself that uses the IC card as a part of the system is large, the ratio of the interface portion of the IC card and the terminal device to the whole becomes small. However, in mobile phones that are currently being implemented, even products that fit in pockets must be considered, and therefore, the communication method itself is also digitized, and the ratio of the parts necessary for communication to the whole becomes large. The mechanical section such as the interface section is particularly limited in the thickness direction, and it is difficult to achieve the original purpose by the above-described conventional method.

【0010】また、マイクロスイッチに代わる別の検出
手段として、フォトダイオードと発光ダイオードとを組
み合わせたフォトインタラプタを利用する例もある。こ
れは発光ダイオードに電流を流して発光させ、フォトダ
イオードで受光する装置である。すなわち、フォトダイ
オードの発光中は、その順方向抵抗は低くなっている
が、フォトダイオードへの受光が妨害されると順方向抵
抗に変化が生じ高抵抗となる。従って、このような性質
を利用してICカードの装着状態を検出することが可能
となる。
There is also an example in which a photointerrupter combining a photodiode and a light emitting diode is used as another detecting means instead of the microswitch. This is a device in which an electric current is applied to a light emitting diode to emit light, and the light is received by a photodiode. In other words, the forward resistance is low during light emission of the photodiode, but when light reception to the photodiode is obstructed, the forward resistance changes and becomes high. Therefore, it is possible to detect the mounted state of the IC card using such a property.

【0011】以上の理由により従来使用されているマイ
クロスイッチ及びフォトインタラプタを使用する場合は
特に小型携帯電話機には利用に困難が伴うことが判る。
For the reasons described above, it can be seen that the use of microswitches and photointerrupters conventionally used is particularly difficult for small portable telephones.

【0012】このような背景から本出願人は、簡単な機
構でかつ小型化にも寄与できICカードの装着を機械的
に確認ができるICカード検出装置を提案している。
[0012] From such a background, the present applicant has proposed an IC card detection device which has a simple mechanism, can contribute to miniaturization, and can mechanically confirm the mounting of the IC card.

【0013】本発明は、上述したような問題点を解消す
るためになされたもので、電気的な方法であり、かつセ
キュリティー効果及び省電力化を図ることのできるIC
カード検出方法を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and is an electric method that can achieve a security effect and power saving.
The purpose is to obtain a card detection method.

【0014】[0014]

【課題を解決するための手段】上述の目的を達成するた
め、本発明によるICカード検出方法は、機器装置の
ンターフェース部に設けた制御回路によってICカード
の装着を検出するようにしたものである。
In order to achieve the above object, an IC card detecting method according to the present invention detects the mounting of an IC card by a control circuit provided in an interface section of a device. It is like that.

【0015】[0015]

【作用】上述のようになされた本発明におけるICカー
ド検出方法は、ICカードへの電源がオン状態であると
き、ICカードが消費電力を抑制する動作モードである
か否かを判断し、動作モードであるときは、ICカード
が装着されていると判断し、動作モードでないときは、
ICカードへ供給される電流の有無を検出し、電流が所
定値以上であれば、ICカードが装着されていると認識
される。
The IC card detecting method according to the present invention as described above is characterized in that the power supply to the IC card is turned on.
It is determined whether or not the IC card is in an operation mode for suppressing power consumption. If the operation mode is in the operation mode, it is determined that the IC card is mounted.
To detect the presence or absence of a current supplied to the IC card, current Tokoro
If the value is above the set value, it is recognized that an IC card is installed
Is done.

【0016】[0016]

【実施例】以下、本発明におけるICカード検出方法を
実施例に示した図面を参照して説明する。符号1で示し
たICカードの構成は図1で示した通りであり、このI
Cカード1が端末機器のインターフェース部に装着さ
れ、ICカード1の各入出力端子2a〜2hの機械的な
接触の後に電気的に活性化されデータ交換が行われる。
データ交換の終了時は再び電気的に不活性化され、その
後、ICカードの抜去により機械的な接触が断たれる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, an IC card detection method according to the present invention will be described with reference to the drawings shown in the embodiments. The configuration of the IC card denoted by reference numeral 1 is as shown in FIG.
The C card 1 is mounted on the interface unit of the terminal device, and is electrically activated after mechanical contact of the input / output terminals 2a to 2h of the IC card 1 to perform data exchange.
At the end of the data exchange, it is electrically deactivated again, and then the mechanical contact is cut off by removing the IC card.

【0017】次に、ICカードが端末機器のインターフ
ェース部を通じて端末機器を活性化する手順を図3に示
したフローチャートに沿って説明する。
Next, a procedure in which the IC card activates the terminal device through the interface unit of the terminal device will be described with reference to the flowchart shown in FIG.

【0018】先ず、S31において、ICカードとデー
タの交換を行う入出力端子部のI/O端子をTTLレベ
ル「H」にする。次にS32において、ICカード内部
の電源を供給するためにVcc端子をオンにし、続けて
S33において、ICカードに内蔵しているEEPRO
M7のプログラム電源Vppをオンする(このプログラ
ム電源Vppは使用しないICカードもあるが、この例
では内部接続されていない規定となっている)。続けて
S34において、ICカードが端末機器に装着されてい
るか否かを判定する。この判定でYesであればICカ
ードをリセット状態から動作させるために、S35にお
いてRST端子をTTLレベル「H」にして活性化手順
を終了する。
First, in S31, the I / O terminal of the input / output terminal for exchanging data with the IC card is set to the TTL level "H". Next, in step S32, the Vcc terminal is turned on to supply power inside the IC card. Then, in step S33, the EEPROM built in the IC card is turned on.
The program power supply Vpp of M7 is turned on (this IC is not connected internally in this example, although some IC cards do not use the program power supply Vpp). Subsequently, in S34, it is determined whether or not the IC card is mounted on the terminal device. If the determination is Yes, in order to operate the IC card from the reset state, the RST terminal is set to the TTL level “H” in S35, and the activation procedure ends.

【0019】次に、ICカードと端末機器との通信モー
ド中の手順を図4に示したフローチャートについて説明
する。
Next, the procedure in the communication mode between the IC card and the terminal device will be described with reference to the flowchart shown in FIG.

【0020】先ず、S41において、端末機器内のCP
UがICカードに対して命令を出力し、このとき、S4
2においてICカードが装着されているかを確認し、装
着状態であると判断したら、S43においてその命令を
I/O端子を通じてICカードへ転送する。その誤、S
44において、ICカードから命令に対する結果と/ま
たはフテータスを端末機器に対しI/O端子を通じて転
送する。この転送が終了した後は、S45においてIC
カード不活性化するか否かを判断し、不活性化しない場
合には次の命令を待つためにS41へ戻り、不活性化す
る場合には不活性化手順へ進む。
First, in S41, the CP in the terminal device is
U outputs a command to the IC card, and at this time, S4
In step 2, it is confirmed whether an IC card is mounted. If it is determined that the IC card is in the mounted state, the command is transferred to the IC card through the I / O terminal in step S43. That mistake, S
At 44, the result and / or status of the command from the IC card is transferred to the terminal device through the I / O terminal. After this transfer is completed, at S45
It is determined whether or not the card is to be deactivated. If the card is not deactivated, the process returns to step S41 to wait for the next command. If the card is deactivated, the process proceeds to the deactivation procedure.

【0021】次に、不活性化手順を図5に示したフロー
チャートについて説明すると、この不活性化手順は図3
で説明した活性化手順とほぼ反対の処理を行う。先ず、
S51においてICカード内のCPU回路の動作を停止
するためにRST端子をTTLレベル「H」にする。次
に、S52においてICカード内部のEEPROMの電
源をオフにし、さらにS53においてICカードへの供
給電源Vccをオフにする。最後に、S54においてI
/O端子に接続されている端末機器側の出力をハイイン
ピーダンス状態にしてICカードが抜去される。
Next, the inactivation procedure will be described with reference to the flowchart shown in FIG. 5.
The processing is substantially the reverse of the activation procedure described in. First,
In S51, the RST terminal is set to the TTL level “H” to stop the operation of the CPU circuit in the IC card. Next, in step S52, the power of the EEPROM in the IC card is turned off, and in step S53, the power supply Vcc supplied to the IC card is turned off. Finally, in S54, I
The output of the terminal device connected to the / O terminal is set to a high impedance state, and the IC card is removed.

【0022】尚、図3のS34における処理と、図4の
S42における処理は同一であり、本発明の要点である
ので、この部分については後で詳しく説明する。
The processing in S34 in FIG. 3 and the processing in S42 in FIG. 4 are the same and are the gist of the present invention, and therefore, this part will be described in detail later.

【0023】図6は端末機器のCPUにより制御される
ICカードのVcc端子と、ICカード装着状態を検出
するための検出回路を示す。
FIG. 6 shows a Vcc terminal of an IC card controlled by a CPU of a terminal device and a detection circuit for detecting an IC card mounted state.

【0024】トランジスタT61は、ICカードのVc
c端子へ接続され、このトランジスタT61がオン,オ
フすることによりVcc端子への供給電源の制御が行わ
れる。トランジスタT62は、トランジスタT61をラ
ッチ(latch)IC63のTTLレベルからドライ
ブできるようにするためのバッファの働きをする。
The transistor T61 is connected to the Vc of the IC card.
When the transistor T61 is turned on and off, the power supply to the Vcc terminal is controlled. The transistor T62 functions as a buffer for enabling the transistor T61 to be driven from the TTL level of the latch IC 63.

【0025】また、抵抗R64及びR65は、それぞれ
トランジスタT61,T62のプルアップ抵抗であり、
抵抗R66はラッチIC63から直接トランジスタT6
2をドライブするときの該ラッチIC63の出力の過負
荷に対する制限のために設けられている保護抵抗であ
る。また、抵抗R67はトランジスタT61のエミッタ
に接続されたICカードに流れ込む電流を検出するもの
であり、この抵抗はあまり大きな抵抗値をもつと、抵抗
R67の両端での電圧降下が大きくなり、トランジスタ
T61がオンしたとき、出力電圧が低下するため極く小
さな値にしてトランジスタT61の影響が無視できるよ
うにする。コンパレータIC68は、抵抗R67の両端
が入力として接続されており、例えば、入力IC68a
とIC68bの電圧が同一ならば、コンパレータIC6
8からの出力はTTLレベル「L」で、電圧に差があれ
ばTTLレベル「H」となる。
The resistors R64 and R65 are pull-up resistors of the transistors T61 and T62, respectively.
The resistor R66 is directly connected to the transistor T6 from the latch IC 63.
2 is a protection resistor provided for limiting an overload of the output of the latch IC 63 when driving the latch IC 63. The resistor R67 detects the current flowing into the IC card connected to the emitter of the transistor T61. If this resistor has an excessively large resistance value, the voltage drop across the resistor R67 increases, and the resistance of the transistor T61 increases. Is turned on, the output voltage drops, so the value is set to a very small value so that the effect of the transistor T61 can be ignored. The comparator IC68 has both ends of the resistor R67 connected as inputs. For example, the input IC68a
And the voltage of IC 68b is the same, the comparator IC6
The output from 8 is a TTL level "L", and if there is a voltage difference, it is a TTL level "H".

【0026】次に、上述したように構成した検出回路の
動作について説明する。今、ICカードの電源を供給す
るために端末機器のCPUがラッチIC63を経由して
トランジスタT61をオンにするように設定(図3のS
32の処理)したとき、もしICカードが装着されてい
れば、ICカードには抵抗R67とトランジスタ61の
コレクタからエミッタを経て電流が流れる。これによ
り、極く小さな値であるが抵抗R67の両端に電位
生じ、この電位差によってコンパレータIC68がTT
Lレベル「L」から「H」レベルに変化し、この結果、
ICカードの装着が検出される。
Next, the operation of the detection circuit configured as described above will be described. Now, a setting is made so that the CPU of the terminal device turns on the transistor T61 via the latch IC 63 to supply power to the IC card (S in FIG. 3).
32), if an IC card is mounted, current flows through the IC card via the resistor R67 and the collector of the transistor 61 via the emitter. Thus, although very a small value potential difference occurs across the resistor R67, the potential difference comparator IC68 is TT
L level changes from “L” to “H” level, and as a result,
The attachment of the IC card is detected.

【0027】もし、ICカードが装着されていない場合
には、抵抗R67には一切の電流が流れないため、抵抗
の両端には電位差が生じないため、コンパレータIC6
8の入力IC68aとIC68bは同じ電圧となり、コ
ンパレータIC68からの出力はTTLレベル「L」と
なる。従って、これらTTLレベル「H」及び「L」を
端末機器のCPUが読み取り判断する(図3のS34の
処理と図4のS42の処理)。
If an IC card is not mounted, no current flows through the resistor R67, and no potential difference occurs between both ends of the resistor.
8, the input IC 68a and the IC 68b have the same voltage, and the output from the comparator IC 68 has the TTL level “L”. Therefore, the CPU of the terminal device reads and determines these TTL levels “H” and “L” (the processing of S34 in FIG. 3 and the processing of S42 in FIG. 4).

【0028】次に、上述したCPUの読み取り判断を行
う手順を図7に示したフローチャートについて説明す
る。
Next, the procedure for making the above-described CPU read determination will be described with reference to the flowchart shown in FIG.

【0029】先ず、S71において端末機器のCPUが
ICカードの電源Vccを供給している状態にあるか否
かを判断し、オン状態でなければ、まだICカードの活
性化が終わっていないので、S75の正常判定をして終
了する。一方、オン状態であれば、S72において端末
機器のCPUがICカードにスリープモードの設定中か
否かを判断する。スリープモードにあるICカードの諸
費する電流は極めて小さいので、コンパレータIC68
の出力に対して誤りが含まれる可能性があるために行う
必要がある。このとき、スリープモードであると判断さ
れたならS75の正常判定をして終了する。反対にスリ
ープモードでないと判断されたなら、S73においてI
Cカードの検出、つまり、コンパレータIC68の出力
を読み込んで判断を行い、ICカードが検出されている
ことが判断されたならICカードの不正な抜去がされて
いないと判断し、S75において正常判定をして終了す
る。また、ICカードが検出されなかった場合は、不正
な抜去がされたとしてS74において異常判定をして終
了する。
First, in S71, it is determined whether or not the CPU of the terminal device is in a state where the power supply Vcc of the IC card is being supplied. If not, the activation of the IC card has not been completed yet. After determining the normality in S75, the process ends. On the other hand, if it is in the ON state, the CPU of the terminal device determines in S72 whether or not the sleep mode is being set in the IC card. Since the current consumed by the IC card in the sleep mode is extremely small, the comparator IC 68
This must be done because the output may contain errors. At this time, if it is determined that the mode is the sleep mode, the normality is determined in S75 and the process is terminated. On the other hand, if it is determined that the mode is not the sleep mode, I
The C card is detected, that is, the output of the comparator IC 68 is read to make a determination. If it is determined that the IC card has been detected, it is determined that the IC card has not been illegally removed, and a normal determination is made in S75. And exit. If no IC card has been detected, it is determined that an illegal removal has been performed, an abnormality is determined in S74, and the process ends.

【0030】このようにして本発明のICカード検出方
法は、ICカードの不正使用での作動を検出し、これに
対応する必要な処理を端末機器内部で行ない、ICカー
ド検出に対する高いセキュリティー機能を得ることがで
きる。
As described above, the IC card detection method of the present invention detects the operation of the IC card due to unauthorized use, performs necessary processing corresponding to the operation inside the terminal device, and provides a high security function for IC card detection. Obtainable.

【0031】また、本発明のICカード検出方法は、上
述したように負荷電流が抵抗の両端に生じる電位差を利
用して検出できるようにしたので、単純な検出回路てよ
く、かつこの検出回路がICカードのVcc端子への供
給電源回路と兼用できる。また、ICカードがスリープ
モードで消費電流が少ないときでもソフトウエアと組み
合わることで検出可能となる。
In the IC card detection method according to the present invention, the load current can be detected by using the potential difference generated between both ends of the resistor as described above. Therefore, a simple detection circuit may be used. It can also be used as a power supply circuit for supplying power to the Vcc terminal of the IC card. Further, even when the IC card is in the sleep mode and the current consumption is small, it can be detected by combining with the software.

【0032】尚、本発明は、上述しかつ図面に示した実
施例に限定されるものでなく、その要旨を逸脱しない範
囲内で種々の変形実施が可能である。
The present invention is not limited to the embodiment described above and shown in the drawings, and various modifications can be made without departing from the scope of the invention.

【0033】[0033]

【発明の効果】以上説明したように本発明におけるIC
カード検出方法は、ICカードへの電源がオン状態であ
るとき、ICカードが消費電力を抑制する動作モードで
あるか否かを判断し、動作モードであるときは、ICカ
ードが装着されていると判断し、動作モードでないとき
は、ICカードへ供給される電流の有無を検出し、電流
が所定値以上であれば、ICカードが装着されていると
認識されるようにしたので、消費電力を抑制モードでの
極めて小電流の検出により装置の有無の判断を誤ること
なく、より正確な判断が可能となる。また、ICカード
装着の検出をメカ的な手段を用いることなく電気的に行
うことができ、これによって、従来のメカ機構がそのま
ま使用可能となる。さらに、装置の小型化が可能とな
り、かつ装置コストの低減も可能となる。
As described above, the IC according to the present invention is
Card detection method, the power supply is turned on der to the IC card
When the IC card operates in an operation mode that suppresses power consumption
It is determined whether or not the IC card is in operation mode.
Mode is determined to be installed, and it is not in operation mode
Detects the presence or absence of the current supplied to the IC card,
Is greater than or equal to a predetermined value, the IC card is
Since as will be appreciated, in the suppression mode power consumption
Misjudgment of presence / absence of device by detecting extremely small current
And more accurate judgment can be made. Further, the detection of the mounting of the IC card can be electrically performed without using any mechanical means, and thus the conventional mechanical mechanism can be used as it is. Further , the size of the device can be reduced, and the cost of the device can be reduced.

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

【図1】本発明に用いられるICカードの平面図であ
る。
FIG. 1 is a plan view of an IC card used in the present invention.

【図2】ICカード信号処理のブロック図である。FIG. 2 is a block diagram of IC card signal processing.

【図3】ICカードの活性化手順のフローチャート図で
ある。
FIG. 3 is a flowchart of an IC card activation procedure.

【図4】ICカードと端末機器のCPUの通信モード中
の手順のフローチャート図である。
FIG. 4 is a flowchart of a procedure during a communication mode between the IC card and the CPU of the terminal device.

【図5】ICカードの不活性化手順のフローチャート図
である。
FIG. 5 is a flowchart of an IC card inactivation procedure.

【図6】本発明によるICカード検出回路図である。FIG. 6 is an IC card detection circuit diagram according to the present invention.

【図7】ICカードの装着の判断手順のフローチャート
図である。
FIG. 7 is a flowchart of a procedure for determining whether to mount an IC card.

【符号の説明】[Explanation of symbols]

1 ICカード 2 入出力端子部 2a Vcc端子 2b RST端子 2g I/O端子 6 CPU回路 8 端末機器 9 インターフェース部 T61,T62 トランジスタ IC63 ラッチ R64〜R67 抵抗 IC68 コンパレータ DESCRIPTION OF SYMBOLS 1 IC card 2 Input / output terminal part 2a Vcc terminal 2b RST terminal 2g I / O terminal 6 CPU circuit 8 Terminal equipment 9 Interface part T61, T62 Transistor IC63 Latch R64-R67 Resistance IC68 Comparator

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ICカードが機器装置に装着されている
か否かを判断するICカード検出方法において、 上記機器装置は、上記ICカードへの電源がオン状態で
あるとき、 上記ICカードが消費電力を抑制する 動作モードである
か否かを判断し、 上記動作モードであるときは、上記ICカードが装着さ
れていると判断し、 上記動作モードでないときは、上記ICカードへ供給さ
れる電流の有無を検出し、電流が所定値以上であれば、
上記ICカードが装着されていると判断することを特徴
とするICカード検出方法。
1. An IC card detection method for determining whether or not an IC card is attached to a device, wherein the device is powered on when the IC card is powered on.
At a certain time, it is determined whether or not the IC card is in an operation mode for suppressing power consumption . If the operation mode is the operation mode, it is determined that the IC card is mounted. Supplied to the above IC card
The presence or absence of a current to be detected is detected .
A method of detecting an IC card, comprising determining that the IC card is mounted.
JP28907792A 1992-10-27 1992-10-27 IC card detection method Expired - Fee Related JP3263867B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP28907792A JP3263867B2 (en) 1992-10-27 1992-10-27 IC card detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP28907792A JP3263867B2 (en) 1992-10-27 1992-10-27 IC card detection method

Publications (2)

Publication Number Publication Date
JPH06139413A JPH06139413A (en) 1994-05-20
JP3263867B2 true JP3263867B2 (en) 2002-03-11

Family

ID=17738529

Family Applications (1)

Application Number Title Priority Date Filing Date
JP28907792A Expired - Fee Related JP3263867B2 (en) 1992-10-27 1992-10-27 IC card detection method

Country Status (1)

Country Link
JP (1) JP3263867B2 (en)

Also Published As

Publication number Publication date
JPH06139413A (en) 1994-05-20

Similar Documents

Publication Publication Date Title
EP0595305B1 (en) IC card reader
JP3357048B2 (en) Method and interface for interfacing a portable data carrier to a host processor
CA1292802C (en) Personal memory card
US6536671B1 (en) Automatic recovery of integrated circuit cards
US7430674B2 (en) Magnetic stripe reader with power management control for attachment to a PDA device
US6944782B2 (en) Magnetic strip reader with power management control for attachment to a PDA device
US5451763A (en) Personal medical IC card and read/write unit
CA1290452C (en) Personal memory card system
US8157180B2 (en) Integrated circuit device with multiple communication modes and operating method thereof
US20130015249A1 (en) Mobile device and power management method
US20080185444A1 (en) Multi-Mode Integrated Circuit Devices Including Mode Detection and Methods of Operating the Same
JP3833939B2 (en) Compound IC card
US8060664B2 (en) Integrated circuit having a plurality of interfaces and integrated circuit card having the same
JP2004348235A (en) Portable electronic device and portable terminal device
EP0874327A2 (en) Smart card capable of adjusting voltages supplied from external device
KR19990072224A (en) Fault detection and change circuit
US20070257116A1 (en) Interface detection method of a multiple mode micro memory card
US6581841B1 (en) Apparatus and method for secure information processing
US6481629B1 (en) PC card with variable width data bus communication capabilities
JP3145405B2 (en) Communication method between twin contact chip card and card reader
US6931234B1 (en) Data processing device and method of controlling operation of data processing device
EP1298672A2 (en) Flash memory rewrite circuit, semiconductor integrated circuit, memory card having the semiconductor integrated circuit thereof, method of rewriting flash memory and flash memory rewriting program
JP3263867B2 (en) IC card detection method
EP0762307A2 (en) IC card reader
JP3848152B2 (en) Multifunctional IC card

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees