JPS63100587A - Method for detecting insertion of ic card - Google Patents

Method for detecting insertion of ic card

Info

Publication number
JPS63100587A
JPS63100587A JP24639286A JP24639286A JPS63100587A JP S63100587 A JPS63100587 A JP S63100587A JP 24639286 A JP24639286 A JP 24639286A JP 24639286 A JP24639286 A JP 24639286A JP S63100587 A JPS63100587 A JP S63100587A
Authority
JP
Japan
Prior art keywords
card
signal
reset signal
response signal
microcomputer
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
JP24639286A
Other languages
Japanese (ja)
Other versions
JPH0532795B2 (en
Inventor
Masao Okubo
大久保 政雄
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.)
Bosch Corp
Original Assignee
Diesel Kiki Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Diesel Kiki Co Ltd filed Critical Diesel Kiki Co Ltd
Priority to JP24639286A priority Critical patent/JPS63100587A/en
Publication of JPS63100587A publication Critical patent/JPS63100587A/en
Publication of JPH0532795B2 publication Critical patent/JPH0532795B2/ja
Granted legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate the need of a detector for detecting the insertion of an IC card, by outputting periodically a reset signal, so that an answer signal can be detected immediately, when the IC card is inserted. CONSTITUTION:A microcomputer 3 has a function for outputting a reset signal for initializing the internal state of an IC card 2, and inputs it to the IC card 2 through an IC card connector 9. Also, an I/O line 4 for inputting an answer signal from the IC card 2 is connected to the IC card connector 9. The reset signal is outputted at a prescribed time interval, and for this prescribed time, the answer signal is detected, therefore, when the IC card is inserted, the answer signal is detected immediately.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、ICカードに関し、特にその読み取り装置
等におけるICカードの挿入の有無を検出する方法に関
する。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to an IC card, and particularly to a method for detecting whether or not an IC card is inserted into a reading device or the like.

(従来の技術) 多量の情報の読み出し、書き込みのできるICカードに
は専用の読み出し書き込み装置が用いられている。IC
カードを保持し、読み出し書き込み装置と接続するもの
としては、例えばメカニカルインターフェイスモジュー
ルがある。従来、このメカニカルインターフェイスモジ
ュールにはICカードが正常に挿入されたか否かを検出
するために、1乃至2個の検出器が設けられていた。
(Prior Art) A dedicated read/write device is used in an IC card capable of reading and writing a large amount of information. IC
For example, there is a mechanical interface module that holds the card and connects it to the read/write device. Conventionally, this mechanical interface module has been provided with one or two detectors to detect whether or not an IC card has been properly inserted.

3、発明の詳細な説明 しかしながら、上記従来例にあっては、検出器付のため
メカニカルインターフェイスモジュールが高価になる。
3. Detailed Description of the Invention However, in the conventional example described above, the mechanical interface module becomes expensive because it is equipped with a detector.

また、検出器のために読み出し書き込み装置との間にI
10ポートの割当が必要となると共に、この検出器を使
用するために入出力信号シーケンスを組まなければなら
ないという問題点があった。
Also, for the detector there is an I
There were problems in that 10 ports had to be allocated and an input/output signal sequence had to be created in order to use this detector.

そこで、この発明は上記従来例の問題点を解決し、簡易
に用いることのできるICカードの挿入検出方法を提供
することを課題とするものである。
SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a method for detecting insertion of an IC card that can be easily used and solves the problems of the prior art.

(問題点を解決するための手段) しかして、この発明の要旨とするところは、ICカード
の内部状態を初期化するリセット信号を出力し、このリ
セット信号に対する前記ICカードからの応答信号を検
出した後、前記ICカードの読み出し又は書き込みを行
うICカードの読み出し書き込み装置において、前記リ
セット信号を所定時間間隔で出力すると共に、前記所定
時間の間前記応答信号の有無を検出し、この応答信号の
有無により前記ICカードの挿入の有無を判定すること
にある。
(Means for Solving the Problems) Therefore, the gist of the present invention is to output a reset signal that initializes the internal state of an IC card, and to detect a response signal from the IC card in response to the reset signal. After that, in an IC card read/write device that reads or writes to the IC card, the reset signal is output at predetermined time intervals, and the presence or absence of the response signal is detected for the predetermined time, and the response signal is detected. The purpose is to determine whether or not the IC card is inserted based on its presence or absence.

(作用) したがって、リセット信号が所定時間間隔で出力され、
この所定時間の間応答信号の検出が行われるので、IC
カードの挿入が行われれば、即座に応答信号が検出され
、そのため、上記課題を達成できるものである。
(Function) Therefore, a reset signal is output at predetermined time intervals,
Since the response signal is detected during this predetermined time, the IC
When the card is inserted, a response signal is detected immediately, and therefore the above-mentioned problem can be achieved.

(実施例) 以下、この発明の実施例を図面により説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第2図において、1はICカード2の読み出し書き込み
装置である。この読み出し書き込み装置1は公知のマイ
クロコンピュータ3を内蔵しているもので、マイクロコ
ンピュータ3の制御により図示されない回路部分を介し
てICカード2の読み出し書き込みを行うものである。
In FIG. 2, reference numeral 1 denotes a reading/writing device for an IC card 2. As shown in FIG. This read/write device 1 has a built-in well-known microcomputer 3, and reads and writes data to and from the IC card 2 under the control of the microcomputer 3 via a circuit portion (not shown).

マイクロコンピュータ3はICカード2の内部状態を初
期設定するためのリセット信号を出力する機能を有して
おり、後述するICカード接続器9を介してICカード
2に入力するようになっている。また、ICカード2か
らの応答信号を入力するためにI10ライン4がICカ
ード接続器9に接続されている。
The microcomputer 3 has a function of outputting a reset signal for initializing the internal state of the IC card 2, and is input to the IC card 2 via an IC card connector 9, which will be described later. Further, an I10 line 4 is connected to an IC card connector 9 for inputting a response signal from the IC card 2.

5は発光ダイオード(L E D)で、トランジスタ6
を介してマイクロコンピュータ3のI10ポートの1つ
に接続されている。そして、マイクロコンピュータ3か
らの信号出力により点燈するようになっている。
5 is a light emitting diode (LED), and transistor 6
is connected to one of the I10 ports of the microcomputer 3 via the I10 port of the microcomputer 3. The light is turned on by a signal output from the microcomputer 3.

7a、7bは図示されない外部機器とマイクロコンピュ
ータ3の他のI10ポートとを接続するためのバッファ
用NANDゲート回路である。
7a and 7b are buffer NAND gate circuits for connecting an external device (not shown) to the other I10 port of the microcomputer 3.

8は基準クロック発生回路で、前述したマイクロコンピ
ュータ3の作動に必要な基準クロックを発生するもので
ある。この基準クロックは後述するICカード用接続器
9を介してICカード2にも入力されるようになってい
る。
Reference numeral 8 denotes a reference clock generation circuit, which generates a reference clock necessary for the operation of the microcomputer 3 mentioned above. This reference clock is also input to the IC card 2 via an IC card connector 9 which will be described later.

9はICカード接続器であって、これを第2図及び第3
図を参照しつつ説明する。このICカード接続器9はカ
ード受台10を備えており、このカード受台10の両側
縁は、ICカード2の両側縁を案内し、位置決めするた
めの一対のカードガイド11がカード受台10と一体に
形成されている。
9 is an IC card connector, which is shown in Figures 2 and 3.
This will be explained with reference to the figures. This IC card connector 9 is equipped with a card holder 10, and a pair of card guides 11 are provided on both sides of the card holder 10 for guiding and positioning both sides of the IC card 2. is formed integrally with.

12はカード受台に形成されたカードストッパーである
12 is a card stopper formed on the card holder.

カード受台10のICカード2が出し入れされる反対側
の端部には張出し部13が形成されており、この張り出
し部13にはプリントボード14が後述するように回動
可能に設けられている。カード受台10の張り出し部1
3の上面には、支柱15が固定されている。他方、プリ
ントボード14の下面にはブラケット16が固定されて
おり、このブラケット16はシャフト17により支柱1
5に回動可能に連結されている。また、プリントボード
14と張り出し部13との間にはコイルバネ18が設け
られており、プリントボード14を第3図中時計回り方
向に回動付勢している。
An overhang 13 is formed at the opposite end of the card holder 10 from which the IC card 2 is inserted and taken out, and a printed board 14 is rotatably provided on the overhang 13 as will be described later. . Overhang part 1 of card holder 10
A support column 15 is fixed to the upper surface of 3. On the other hand, a bracket 16 is fixed to the lower surface of the printed board 14, and this bracket 16 is connected to the support 1 by a shaft 17.
5 is rotatably connected. Further, a coil spring 18 is provided between the printed board 14 and the projecting portion 13, and urges the printed board 14 to rotate clockwise in FIG. 3.

更に、張り出し部13にはブラケット16の平坦部16
aに対応した位置にストッパ19が固定されており、こ
のストッパ19がブラケット16に当ることにより、プ
リントボード14の時計回り方向の回動が制限されてい
る。
Furthermore, the flat part 16 of the bracket 16 is attached to the projecting part 13.
A stopper 19 is fixed at a position corresponding to a, and when this stopper 19 hits the bracket 16, rotation of the printed board 14 in the clockwise direction is restricted.

プリントボード14の上面には複数の例えば銅箔から成
る導電部20がプリント配線されており、その一端はプ
リントボード14の一端に貫通して設けられた複数の導
電ピン21に接続されている。
A plurality of conductive parts 20 made of, for example, copper foil are printed on the upper surface of the printed board 14, and one end thereof is connected to a plurality of conductive pins 21 provided through one end of the printed board 14.

また、この導電部21の他端には前述したリセット信号
、応答信号及びクロック信号等の入出力線が接続されて
いる。
Furthermore, input/output lines for the above-mentioned reset signal, response signal, clock signal, etc. are connected to the other end of the conductive portion 21.

前述した導電ピン21には、プリントボード14の下面
で細い板バネから成る接触子22の一端が取り付けられ
ている。そして、この接触子22の他端はI C,カー
ド2の端子部(図示せず)に接触するようになっている
One end of a contactor 22 made of a thin leaf spring is attached to the aforementioned conductive pin 21 on the lower surface of the printed board 14. The other end of this contactor 22 is adapted to come into contact with a terminal portion (not shown) of the IC card 2.

ICカード接続器9にICカード2を挿入するには、初
めにプリントボード14をカード受台10の張り出し部
13側へ押し下げ、接触子22をカード受台10から離
す。
To insert the IC card 2 into the IC card connector 9, the printed board 14 is first pushed down toward the protrusion 13 of the card holder 10, and the contacts 22 are separated from the card holder 10.

次に、ICカード2をカード受台10とカードガイド1
1との間隙へ挿入し、カードストップ12に当るまで押
し込む。
Next, insert the IC card 2 into the card holder 10 and the card guide 1.
1 and push it in until it hits the card stop 12.

次に、プリントボード14への押し力を解除すると、コ
イルバネ18の弾性力によりプリントボード14はスト
ッパ19に当るまで回動する。この結果、接触子22の
一端はICカード2の端子部(図示せず)に接触するこ
ととなる。
Next, when the pressing force on the printed board 14 is released, the printed board 14 rotates due to the elastic force of the coil spring 18 until it hits the stopper 19. As a result, one end of the contactor 22 comes into contact with a terminal portion (not shown) of the IC card 2.

ICカード読み出し書き込み装置1でのICカード挿入
検出は、第1図のフローチャートに示すように行う、第
1図において、ICカード読み出し書き込み装置1の電
源スィッチ(図示せず)が投入されると、マイクロコン
ピュータ3はステップ100から実効を開始し、ステッ
プ110へ進む。
IC card insertion detection in the IC card read/write device 1 is performed as shown in the flowchart of FIG. 1. In FIG. 1, when the power switch (not shown) of the IC card read/write device 1 is turned on, The microcomputer 3 starts execution from step 100 and proceeds to step 110.

ステップ110ではリセット信号を出力すると同時に発
光ダイオード5が接続されたI10ポートに点燈信号を
出力し、発光ダイオード5を点燈させる。そして、ステ
ップ120へ進む。
At step 110, at the same time as outputting the reset signal, a lighting signal is output to the I10 port to which the light emitting diode 5 is connected, and the light emitting diode 5 is turned on. Then, the process proceeds to step 120.

ステップ120ではリセット信号の出力間隔時間が計測
され、この計測開始と同時に発光ダイオード5を点燈さ
せてステップ130へ進む。
In step 120, the output interval time of the reset signal is measured, and at the same time as this measurement starts, the light emitting diode 5 is turned on, and the process proceeds to step 130.

ステップ130ではICカード2から所定の応答信号が
出力されたか否か検出が行われる。応答信号が検出され
た場合(Y E S)はステップ140へ、検出されな
い場合(No)はステップ150へそれぞれ進む。
In step 130, it is detected whether or not a predetermined response signal has been output from the IC card 2. If a response signal is detected (YES), the process proceeds to step 140; if not (No), the process proceeds to step 150.

ステップ140ではステップ120で点燈した発光ダイ
オード5を清澄し、その後、ICカード2の読み出し書
き込みのためのルーチンへ進む。
In step 140, the light emitting diode 5 turned on in step 120 is cleared, and then the routine proceeds to read and write to the IC card 2.

一方、ステップ150では時間計測が応答信号を検出す
る所定時間に達したか否かが判定される。
On the other hand, in step 150, it is determined whether the time measurement has reached a predetermined time for detecting a response signal.

判定の結果、所定時間に達した場合(YES)は前述の
ステップ110へ戻り、前述同様の作動が繰り返される
。また、所定時間に満たない場合(No)は前述したス
テップ130へ戻り、応答信号の検出が繰り返される。
As a result of the determination, if the predetermined time has been reached (YES), the process returns to step 110 described above, and the same operations as described above are repeated. If the predetermined time is not reached (No), the process returns to step 130 described above, and detection of the response signal is repeated.

尚、本実施例においては、クリップタイプのICカード
接続器9を用いた例を示したが、この部分はメカニカル
カードホルダーであっても良い。
In this embodiment, a clip-type IC card connector 9 is used, but this part may be a mechanical card holder.

(発明の効果) 以上、述べたようにこの発明によれば、リセット信号を
周期的に出力して、ICカードの挿入があれば、直ちに
応答信号を検出できるようにしたので、従来のようにI
Cカードの挿入を検出するための検出器が不要となり、
しかも簡易に用いることができる。また、検出器が不要
となるので、この分I10ポートが少なくて済み、IC
カード読み出し書き込み装置のインターフェイス回路が
簡素化されると共に、機構的にも省スペース化が図れる
という効果を奏するものである。
(Effects of the Invention) As described above, according to the present invention, a reset signal is output periodically so that when an IC card is inserted, a response signal can be detected immediately. I
No need for a detector to detect insertion of a C card,
Moreover, it is easy to use. In addition, since a detector is not required, the number of I10 ports is reduced accordingly, and the IC
This has the effect of simplifying the interface circuit of the card reading/writing device and saving mechanical space.

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

第1図はこの発明に係る方法の実施例を示すフローチャ
ート、第2図は同上の方法が用いられるICカード読み
出し書き込み装置の概略構成図、第3図は同上の方法が
用いられるICカード読み出し書き込み装置に用いられ
るICカード接続器の断面図である。 2・・・ICカード、3・・・マイクロコンピュータ、
9・・・ICカード接続器。
FIG. 1 is a flowchart showing an embodiment of the method according to the present invention, FIG. 2 is a schematic diagram of an IC card reading/writing device in which the above method is used, and FIG. 3 is an IC card reading/writing device in which the above method is used. FIG. 2 is a sectional view of an IC card connector used in the device. 2...IC card, 3...microcomputer,
9...IC card connector.

Claims (1)

【特許請求の範囲】[Claims] ICカードの内部状態を初期化するリセット信号を出力
し、このリセット信号に対する前記ICカードからの応
答信号を検出した後、前記ICカードの読み出し又は書
き込みを行うICカードの読み出し書き込み装置におい
て、前記リセット信号を所定時間間隔で出力すると共に
、前記所定時間の間前記応答信号の有無を検出し、この
応答信号の有無により前記ICカードの挿入の有無を判
定することを特徴とするICカードの挿入検出方法。
In an IC card read/write device that outputs a reset signal that initializes the internal state of an IC card, and after detecting a response signal from the IC card in response to the reset signal, reads or writes to the IC card, the reset IC card insertion detection characterized by outputting a signal at predetermined time intervals, detecting the presence or absence of the response signal during the predetermined time, and determining whether or not the IC card is inserted based on the presence or absence of the response signal. Method.
JP24639286A 1986-10-16 1986-10-16 Method for detecting insertion of ic card Granted JPS63100587A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24639286A JPS63100587A (en) 1986-10-16 1986-10-16 Method for detecting insertion of ic card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24639286A JPS63100587A (en) 1986-10-16 1986-10-16 Method for detecting insertion of ic card

Publications (2)

Publication Number Publication Date
JPS63100587A true JPS63100587A (en) 1988-05-02
JPH0532795B2 JPH0532795B2 (en) 1993-05-17

Family

ID=17147841

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24639286A Granted JPS63100587A (en) 1986-10-16 1986-10-16 Method for detecting insertion of ic card

Country Status (1)

Country Link
JP (1) JPS63100587A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0344756U (en) * 1989-09-02 1991-04-25
US6745147B2 (en) * 2001-10-04 2004-06-01 International Business Machines Corporation Data processing system, method, and product for automatically tracking insertions of integrated circuit devices

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS603082A (en) * 1983-06-18 1985-01-09 Dainippon Printing Co Ltd Ic card
JPS6154583A (en) * 1984-08-24 1986-03-18 Toppan Printing Co Ltd Ic card
JPS6217863A (en) * 1985-07-16 1987-01-26 Casio Comput Co Ltd Ic card system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS603082A (en) * 1983-06-18 1985-01-09 Dainippon Printing Co Ltd Ic card
JPS6154583A (en) * 1984-08-24 1986-03-18 Toppan Printing Co Ltd Ic card
JPS6217863A (en) * 1985-07-16 1987-01-26 Casio Comput Co Ltd Ic card system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0344756U (en) * 1989-09-02 1991-04-25
US6745147B2 (en) * 2001-10-04 2004-06-01 International Business Machines Corporation Data processing system, method, and product for automatically tracking insertions of integrated circuit devices

Also Published As

Publication number Publication date
JPH0532795B2 (en) 1993-05-17

Similar Documents

Publication Publication Date Title
US6182248B1 (en) Method and tool for computer bus fault isolation and recovery design verification
JPH02307182A (en) Ic card reader/writer
KR970018600A (en) Semiconductor memory
DE68913442T2 (en) Microcomputer with EEPROM.
JPS63100587A (en) Method for detecting insertion of ic card
KR910001533A (en) IC card reading / recording device
JPS58132875A (en) Recording and reading device of personal card
KR910012972A (en) Write malfunction prevention circuit, memory device and data processing device having same
KR200319278Y1 (en) Memory write system
JP2600309B2 (en) IC card reader
JPS5613585A (en) Semiconductor memory circuit
KR100198754B1 (en) Electronic card insertion detecting method and apparatus
US5546242A (en) Device for writing on a card-shaped data memory having sensors for detecting magnetic strips and for switching off the magnetic head when no magnetic strip is present
JPH054050Y2 (en)
JPH0521169Y2 (en)
JP2001222374A (en) Mouse
JPS6432359A (en) Memory device
JPS6012186Y2 (en) channel device
JPH03171277A (en) Ic card reader/writer device
JP2023182955A (en) IC card reader
JPH08195569A (en) Printed board package insertion detecting circuit
JPS59218670A (en) Floppy disk insertion check mechanism for floppy disk driving device
KR920004362B1 (en) Ic card omission sensing signal generating circuit
JPS6248315B2 (en)
KR200172902Y1 (en) A logic for sensing the switch