JP4111294B2 - IC card reader system and firmware operation method in keyboard controller of IC card reader system - Google Patents

IC card reader system and firmware operation method in keyboard controller of IC card reader system Download PDF

Info

Publication number
JP4111294B2
JP4111294B2 JP01152399A JP1152399A JP4111294B2 JP 4111294 B2 JP4111294 B2 JP 4111294B2 JP 01152399 A JP01152399 A JP 01152399A JP 1152399 A JP1152399 A JP 1152399A JP 4111294 B2 JP4111294 B2 JP 4111294B2
Authority
JP
Japan
Prior art keywords
card
card reader
keyboard controller
keyboard
data
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 - Lifetime
Application number
JP01152399A
Other languages
Japanese (ja)
Other versions
JP2000148361A (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.)
Winbond Electronics Corp
Original Assignee
Winbond Electronics 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 Winbond Electronics Corp filed Critical Winbond Electronics Corp
Publication of JP2000148361A publication Critical patent/JP2000148361A/en
Application granted granted Critical
Publication of JP4111294B2 publication Critical patent/JP4111294B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、カードリーダーシステムに関し、特に、ICカードリーダーシステム、及びICカードリーダーシステムのキーボードコントローラ内のファームウエア運転方法に関するものである。
【0002】
【従来の技術】
今日、顧客情報を格納した磁気片を有する自動預金支払機(ATM)用カードを用いて、人々は、オンライン上のどのATMからも自分達の口座にアクセスすることができ、預金引き出しや振り込みなどの処理を行うことができる。現在用いられている磁気カードの情報記憶容量は比較的小さなものであるため、磁気カードの機能は限定されたものとなっている。更に、磁気片上に記憶された情報は、例えば、磁界の印加などの異常状態によって簡単に破壊されるが、このことは、記憶情報に対して充分な安全性が保障されていないことを意味している。それ故、集積回路(IC)カードのような、より新しく、より改良された装置が、次世代の個人識別カードのための代替品として考えられている。
【0003】
現在の半導体技術は、すでに、単にデータを記憶するだけでなく、データを加工する能力を与えるために、カード内にICを形成してICカードを製造することを可能にしている。ICカードは、従来の磁気カードに比較して、より高い安全性及び信頼性を提供することができる。ICカードは、将来において、個人IDカード、ATMカード、及び健康保険カード等を組み合わせた多目的個人カードとして利用できるようになるということが予想される。
【0004】
カードリーダーは、普通の駆動用ソフトウエアで動く普通のパーソナルコンピュータを用いれば、通常は、ICカードに対して読出作業及び書込作業を行うことができる。一般に、ICカードリーダーをパーソナルコンピュータに組み込むためには、次の2つのアプローチが有る。図1は、従来のICカードリーダーシステムの構成を示すブロック図である。
【0005】
1.ICカードリーダー100は、このICカードリーダーのRS−232Cインタフェイス103又はPS/2インタフェイス104を介して、外部でコンピュータ110と接続されている。RS−232Cインタフェイス103はこのコンピュータ110の汎用非同期送受信回路(UART)に接続するために用いられ、PS/2インタフェイス104はこのコンピュータ110のキーボードコントローラ112に接続するために用いられる。
【0006】
2.ICカードリーダー100は、付加的インタフェイスカードを介して、内部でコンピュータ110のキーボードコントローラ112と接続されている。このインタフェイスカードは、入出力回路(I/O)のアドレスのような、必要とされるシステムリソースや、接続を構成するために必要なハードウエアを提供する。
【0007】
図1を参照すると、ICカードリーダー100は、通常、ICカード挿入機101を介しICカード120に対して読出処理又は書込処理を行う8ビットマイクロプロセッサ102を有している。マイクロプロセッサ102内部のファームウエア(図示せず)は、通常、ICカード120とコンピュータ110の接続インタフェイスとの間のデータ伝送処理のために用いられる。
【0008】
【発明が解決しようとする課題】
しかし、コンピュータと外部又は内部で接続されたいずれの従来のICカードリーダーも、特別なハードウエアが存在する場合にしか動作することができなかった。更に、RS−232C又はPS/2インタフェイスのようないくつかのシステムリソースが、ICカードリーダーを機能させるために必要とされている。例えば、図1に示すように、RS−232Cインタフェイス103がコンピュータ110のスーパー入出力回路(I/O)111と接続するために用いられ、そして、PS/2インタフェイス104がコンピュータ110のキーボードコントローラ112と接続するために用いられている。
【0009】
それ故、本発明の目的は、パーソナルコンピュータに適合することができ、必要なハードウエアの数が少ないものでありながら、パーソナルコンピュータに組み入れることによってICカードリーダーシステムを形成することができるICカードリーダーを提供することである。
【0010】
また、本発明の別の目的は、コンピュータシステム内に組み込まれたキーボードコントローラ内のファームウエアの運転方法を提供することである。
【0011】
【課題を解決するための手段】
このファームウエアを有するキーボードコントローラは、ICカードリーダーシステムを形成するためのコンピュータ内にICカードリーダーを組み込むための接続機能を提供することが可能である。
【0012】
本発明の先の目的及び他の目的に沿うように、本発明のICカードリーダーシステムは、中央処理装置及びキーボードコントローラにより構成されるコンピュータと、このキーボードコントローラに接続されたICカードリーダーとを有している。ICカードリーダーは、ICカードを収納して用いるものであり、ICカードとキーボードコントローラとの間のデータ接続を可能にする。さらに、キーボードコントローラは、キーボードコントローラ内のファームウエアの動作を介して、ICカードと中央処理装置との間で転送されるデータを処理するためのマイクロプロセッサを有している。それ故、本発明のICカードリーダーシステムにより、必要とされる特別なハードウエアの数が少ないものでありながら、ICカード内に記憶されたデータの読み出し及び加工を行うことができる。
【0013】
従来のキーボードコントローラ内のファームウエアは、中央処理装置とこれに接続されたキーボードやマウスとの間のデータ転送を処理するのみである。本発明は、ICカードに対するデータ読み込み及びデータ書き込みの制御ルーチンを付加することにより、従来のキーボードコントローラ内のファームウエアを改良するものである。したがって、本発明のキーボードコントローラは、中央処理装置に対する、キーボード、ポインティングデバイス、及びICカードリーダーの接続を制御することが可能である。また、本発明のキーボードコントローラは、同様に、中央処理装置と、キーボード、ポインティングデバイス、及びICカードリーダーとの間のデータ転送を処理することが可能である。
【0014】
本発明は、添付図面を参照しながら、次の好ましい実施形態についての詳細な説明を読むことにより充分理解することができる。
【0015】
本発明は、コンピュータ及びICリーダー装置を含む集積回路(IC)カードリーダーシステムを提供する。このコンピュータは、中央処理装置及びキーボードコントローラを有している。また、本発明は、ICカードリーダー、キーボードやポインティングデバイス等のキーボードコントローラに接続された1つ又は複数の装置と中央処理装置との間のデータ転送を処理するための、キーボードコントローラ内のファームウエアの運転方法を提供する。
【0016】
パーソナルコンピュータのキーボードコントローラは、通常、インテル8042の8ビットマイクロプロセッサのようなマイクロプロセッサを有している。キーボードコントローラ内の本発明のファームウエア運転方法によれば、本発明のICカードリーダーシステムは、従来のICカードリーダー内に普通に作られた別のマイクロプロセッサに対応できるように、従来のキーボードコントローラ内の既存のマイクロプロセッサを用いている。
【0017】
本発明のICカードリーダーは、それ自身はマイクロプロセッサを含んでおらず、キーボードコントローラに直接に接続されている。ICカードリーダーの接続のために、本発明のICカードリーダーシステムは、従来のキーボードコントローラよりも多くの物理接続インタフェイスを持っている。また、本発明のキーボードコントローラ内のファームウエアは、中央処理装置とICカードリーダーとの間のデータ転送処理のための新しいルーチンを付加することによりグレードアップされている。
【0018】
【発明の実施の形態】
本発明の好ましいICカードリーダーシステムが図2に示されている。図2を参照すると、本発明の好ましいICカードリーダーシステムはコンピュータ210及びICカードリーダー200を有しており、コンピュータ210はキーボードコントローラ211及び中央処理装置212により構成されている。ICカードリーダー200は、キーボードコントローラ211に接続されICカード220が装着されるICカード挿入機201を有している。コンピュータ210にICカード挿入機201を接続する他に、キーボードコントローラ211、さらに、キーボード230、及びPS/2マウスやトラックボールのようなポインティングデバイス240を、コンピュータ210に同時に接続することが可能である。
【0019】
ICカード挿入機201は、リード線を介して電源VCCに接続され、リード線によりGNDに接地されている。また、GNDはデータ処理のための基準信号を供給する。ICカード挿入機201は、4つのリード線CRD DET,CRD I/O,CRD RST,及びCRD CLKを介してキーボードコントローラ211に接続されており、これら4つのリード線は、また、ICカード挿入機201とキーボードコントローラ211との間のデータ処理のために用いられる。リード線CRD DETは、ICカード挿入機201内にあるICカード220の存在情報を示す信号を運ぶものである。リード線CRD I/Oは、ICカード220に対する読み出し又は書き込みのためのシリアル信号を運ぶものである。リード線CRD RSTはICカード220をリセットするために用いられるものであり、リード線CRD CLKはクロック信号を供給するものである。
【0020】
キーボードコントローラ211は、マイクロプロセッサ211aを含んでおり、図2のコンピュータ210内に組み込まれた従属回路である。本発明のキーボードコントローラ211の好ましい例が図3に示されている。
【0021】
図3を参照すると、キーボードコントローラ211のマイクロプロセッサは、シリアルIC8052/8032のいずれにも似ている、インテル8042の8ビットマイクロプロセッサである。同様の特性を有する他のどのようなマイクロプロセッサも、図3に示された回路を適当に改良することにより、本発明のキーボードコントローラ211内に組み込むことができる。図3に示したキーボードコントローラ211は、少なくとも、キーボード、ポインティングデバイス、及びICカードリーダーに同時に接続することができ、先に述べた装置と中央処理装置との間のデータ転送を処理する。インテル8042の8ビットマイクロプロセッサとICカードリーダーとの間の接続は、キーボードコントローラ211の他の部分の配置に変更を加えることなく、P12,P13,P14,P15,及びP16などの空いているピンを使用することにより簡単に行える。
【0022】
図2の好ましいICカード挿入機の更に詳細な構成を図4に示す。図4において、ICカード220がICカード挿入機内に置かれた場合、例えば、ICカード挿入機201内にICカード220を挿入することにより、コネクタ222を介してICカード220に対するデータの読み出し又は書き込みが行われる。ICカード220がICカード挿入機201内に挿入された場合、マイクロスイッチのような検出装置201aがICカード220の存在を検出し、図2のキーボードコントローラ211に信号を送る。
【0023】
マイクロスイッチ201aは、常開型又は常閉型のいずれでもよく、そのオンオフ状態はICカード220の挿入に応じて変化する。マイクロスイッチのオンオフ状態のオンへの変化は、ICカードが存在している状態を示す信号として、キーボードコントローラに送られる。それから、ICカード220のコネクタ222は、ICカード挿入機220内の対応するコネクタ201bと接触する。ICカード220とキーボードコントローラとの間を転送されるデータは、接続されたコネクタ222及び201で形成された伝送路を通る。従来の磁気カードリーダーシステムに兼用できるように、磁気片221がICカード220上に設けられている。
【0024】
また、本発明のキーボードコントローラは、従来のキーボードコントローラと同様に、2k×8ビットのリードオンリーメモリ(ROM)と、その中に格納されたプログラムルーチンとで構成されたファームウエアを有している。図2に示されたキーボードコントローラ211は、このファームウエアを運転することにより、ちょうど従来のキーボードコントローラが行っていたように、接続されているキーボード及びPS/2のポインティングデバイスを制御する。
【0025】
また、本発明のキーボードコントローラは、そのデータポートを通り中央処理装置とキーボードとポインティングデバイスとの間で転送されたデータ及びコマンドの処理を行う。加えて、本発明のキーボードコントローラは、ICカードリーダー200の接続及び制御が可能であり、同様に、改良されたファームウエアを用いてキーボード230及びポインティングデバイス240に接続することが可能である。本発明のファームウエアは、従来のファームウエアのプログラムルーチンに対して特別のチェックルーチンを付加することにより得ることができる。このファームウエアの運転方法は図5に示されている。
【0026】
図5を参照すると、本発明のファームウエアの運転方法は次のステップを含んでいる。
【0027】
1.ステップ500:
誤ってセットした場合にキーボードコントローラ内のファームウエアをリセットする。
【0028】
2.ステップ510:
接続状態が検出された場合、つまり、キーボード、ポインティングデバイス及びICカードリーダーが存在する場合に、キーボードコントローラ内のファームウエアを初期化する。
【0029】
3.ステップ520:
中央処理装置からキーボードにコマンドが送られた場合は、ステップ521を実行して中央処理装置からコマンドを得、ステップ522でキーボードにコマンドを送り、ステップ520に戻る。そうでない場合は、ステップ530に進む。
【0030】
4.ステップ530:
中央処理装置からポインティングデバイスにコマンドが送られた場合は、ステップ531を実行して中央処理装置からコマンドを得、ステップ532でポインティングデバイスにコマンドをが送り、ステップ520に戻る。そうでない場合は、ステップ540に進む。
【0031】
5.ステップ540:
中央処理装置からICカードリーダーにデータが書き込まれた場合は、ステップ541を実行して中央処理装置からデータを得、ステップ542でICカードにデータを書き込み、ステップ520に戻る。そうでない場合は、ステップ550に進む。
【0032】
6.ステップ550:
キーボードから中央処理装置にデータが送られた場合は、ステップ551を実行してキーボードからデータを得、ステップ552で中央処理装置にデータを送り、ステップ520に戻る。そうでない場合は、ステップ560に進む。
7.ステップ560:
ポインティングデバイスから中央処理装置にデータが送られた場合は、ステップ561を実行してポインティングデバイスからデータを得、ステップ562で中央処理装置にデータを送り、ステップ520に戻る。そうでない場合は、ステップ570に進む。
【0033】
8.ステップ570:
ICカードからデータが読み出された場合は、ステップ571を実行してICカードからデータを取り出し、ステップ572で中央処理装置にデータを送り、ステップ520に戻る。そうでない場合は、直接ステップ520に戻る。
ファームウエアは、キーボード、ポインティングデバイス及びICカードリーダーの全てのデバイスがステップ510でキーボードコントローラによって検出された場合にのみ充分に機能する。ステップ510で、これらのデバイスが1つ、2つ若しくは全く存在しない場合、又はキーボードコントローラにより検出されない場合には、存在しない装置に関連するステップは省略される。
【0034】
本発明のキーボードコントローラは、改良されたファームウエアの運転のための本発明の方法を用いれば、キーボード、ポインティングデバイス及びICカードリーダーに対して同時に接続を行うことができ、先のデバイスと中央処理装置との間のデータ転送を処理することができる。
【0035】
従来のICカードリーダーシステムと比べると、本発明のICカードリーダーシステムは、少なくとも図1に示したマイクロプロセッサ102を用いた場合よりも必要なハードウエアが少ないものとなっている。また、本発明のICカードリーダーシステムは、図1に示したRS−232Cインタフェイス103及びPS/2インタフェイス104のような、より多くのシステムリソースの省略を可能にしている。
【0036】
上記のように、最適の実施形態を用いて本発明を説明してきた。しかし、本発明の権利範囲は、この開示された実施形態に限定されるものではないことが理解されるべきである。一方、本発明は、種々に改良されたもの及び同様の構成のものを含むものである。それ故、請求項の範囲は、そのような種々に改良されたもの及び同様の構成のものを全て含むように、最も広く解釈されるべきものである。
【図面の簡単な説明】
【図1】従来の外部ICカードリーダーシステムの構成を示すブロック図。
【図2】本発明による好ましい実施形態のICカードリーダーシステムの構成を示すブロック図。
【図3】本発明によるICカードリーダーシステムの好ましい実施形態のキーボードコントローラの構成を示すブロック図。
【図4】本発明の好ましいICカード挿入機の構成を示すブロック図。
【図5】本発明のキーボードコントローラ内のファームウエアに対する好ましい運転方法を示すフローチャート。
【符号の説明】
100 ICカードリーダー
101 ICカード挿入機
102 8ビットマイクロプロセッサ
103 インタフェイス
104 インタフェイス
110 コンピュータ
111 入出力回路
112 キーボードコントローラ
120 ICカード
200 ICカードリーダー
201 ICカード挿入機
201a マイクロスイッチ
201b コネクタ
210 コンピュータ
211 キーボードコントローラ
211a マイクロプロセッサ
212 中央処理装置
220 ICカード
221 磁気片
222 コネクタ
230 キーボード
240 ポインティングデバイス
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a card reader system, and more particularly to an IC card reader system and a firmware operating method in a keyboard controller of the IC card reader system.
[0002]
[Prior art]
Today, people can access their accounts from any online ATM using an automatic deposit machine (ATM) card with a magnetic piece that stores customer information, such as deposit withdrawals and transfers. Can be processed. Since the information storage capacity of the magnetic card currently used is relatively small, the function of the magnetic card is limited. Furthermore, the information stored on the magnetic piece is easily destroyed by an abnormal state such as application of a magnetic field, but this means that sufficient safety is not guaranteed for the stored information. ing. Therefore, newer and improved devices, such as integrated circuit (IC) cards, are considered as replacements for next generation personal identification cards.
[0003]
Current semiconductor technology already allows IC cards to be manufactured by forming ICs in the card to provide the ability to process data, not just storing data. The IC card can provide higher safety and reliability than the conventional magnetic card. In the future, it is expected that the IC card can be used as a multi-purpose personal card that combines a personal ID card, an ATM card, a health insurance card, and the like.
[0004]
The card reader can normally perform reading and writing operations on the IC card by using an ordinary personal computer that operates with ordinary driving software. Generally, there are the following two approaches for incorporating an IC card reader into a personal computer. FIG. 1 is a block diagram showing a configuration of a conventional IC card reader system.
[0005]
1. The IC card reader 100 is externally connected to the computer 110 via the RS-232C interface 103 or the PS / 2 interface 104 of this IC card reader. The RS-232C interface 103 is used to connect to a universal asynchronous transmission / reception circuit (UART) of the computer 110, and the PS / 2 interface 104 is used to connect to a keyboard controller 112 of the computer 110.
[0006]
2. The IC card reader 100 is internally connected to the keyboard controller 112 of the computer 110 via an additional interface card. This interface card provides the necessary system resources, such as input / output circuit (I / O) addresses, and the hardware needed to configure the connections.
[0007]
Referring to FIG. 1, the IC card reader 100 usually has an 8-bit microprocessor 102 that performs read processing or write processing on the IC card 120 via the IC card insertion machine 101. Firmware (not shown) inside the microprocessor 102 is usually used for data transmission processing between the IC card 120 and the connection interface of the computer 110.
[0008]
[Problems to be solved by the invention]
However, any conventional IC card reader connected externally or internally to a computer can only operate when special hardware is present. In addition, some system resources such as RS-232C or PS / 2 interface are needed to make the IC card reader work. For example, as shown in FIG. 1, the RS-232C interface 103 is used to connect to a super input / output circuit (I / O) 111 of the computer 110, and the PS / 2 interface 104 is a keyboard of the computer 110. Used to connect to the controller 112.
[0009]
Therefore, an object of the present invention is an IC card reader that can be adapted to a personal computer and requires a small number of hardware, but can form an IC card reader system by being incorporated in the personal computer. Is to provide.
[0010]
Another object of the present invention is to provide a method for operating firmware in a keyboard controller incorporated in a computer system.
[0011]
[Means for Solving the Problems]
A keyboard controller having this firmware can provide a connection function for incorporating an IC card reader into a computer for forming an IC card reader system.
[0012]
In accordance with the above and other objects of the present invention, the IC card reader system of the present invention has a computer constituted by a central processing unit and a keyboard controller, and an IC card reader connected to the keyboard controller. is doing. The IC card reader stores and uses an IC card, and enables data connection between the IC card and the keyboard controller. Furthermore, the keyboard controller has a microprocessor for processing data transferred between the IC card and the central processing unit through the operation of firmware in the keyboard controller. Therefore, the IC card reader system of the present invention can read and process data stored in the IC card while requiring a small number of special hardware.
[0013]
The firmware in the conventional keyboard controller only processes data transfer between the central processing unit and the keyboard and mouse connected thereto. The present invention improves the firmware in a conventional keyboard controller by adding control routines for reading and writing data to an IC card. Therefore, the keyboard controller of the present invention can control the connection of the keyboard, pointing device, and IC card reader to the central processing unit. Similarly, the keyboard controller of the present invention can process data transfer between the central processing unit and the keyboard, pointing device, and IC card reader.
[0014]
The invention can be best understood by reading the following detailed description of the preferred embodiment with reference to the accompanying drawings.
[0015]
The present invention provides an integrated circuit (IC) card reader system including a computer and an IC reader device. This computer has a central processing unit and a keyboard controller. The present invention also provides firmware in a keyboard controller for processing data transfer between a central processing unit and one or more devices connected to a keyboard controller, such as an IC card reader, a keyboard or a pointing device. Provide driving methods.
[0016]
The keyboard controller of a personal computer typically has a microprocessor such as an Intel 8042 8-bit microprocessor. According to the firmware operation method of the present invention in the keyboard controller, the IC card reader system of the present invention can be adapted to another microprocessor normally built in the conventional IC card reader so that the conventional keyboard controller can be used. The existing microprocessor is used.
[0017]
The IC card reader of the present invention itself does not include a microprocessor and is directly connected to the keyboard controller. For connecting an IC card reader, the IC card reader system of the present invention has more physical connection interfaces than a conventional keyboard controller. The firmware in the keyboard controller of the present invention is upgraded by adding a new routine for data transfer processing between the central processing unit and the IC card reader.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
A preferred IC card reader system of the present invention is shown in FIG. Referring to FIG. 2, the preferred IC card reader system of the present invention includes a computer 210 and an IC card reader 200, and the computer 210 includes a keyboard controller 211 and a central processing unit 212. The IC card reader 200 has an IC card insertion machine 201 that is connected to the keyboard controller 211 and into which the IC card 220 is mounted. In addition to connecting the IC card insertion machine 201 to the computer 210, a keyboard controller 211, a keyboard 230, and a pointing device 240 such as a PS / 2 mouse or a trackball can be connected to the computer 210 at the same time. .
[0019]
The IC card insertion machine 201 is connected to the power supply VCC via a lead wire, and is grounded to GND via the lead wire. The GND also supplies a reference signal for data processing. The IC card insertion machine 201 is connected to the keyboard controller 211 via four lead lines CRD DET, CRD I / O, CRD RST, and CRD CLK. These four lead lines are also connected to the IC card insertion machine. Used for data processing between 201 and the keyboard controller 211. The lead wire CRD DET carries a signal indicating presence information of the IC card 220 in the IC card insertion machine 201. The lead line CRD I / O carries a serial signal for reading or writing to the IC card 220. The lead wire CRD RST is used to reset the IC card 220, and the lead wire CRD CLK supplies a clock signal.
[0020]
The keyboard controller 211 includes a microprocessor 211a and is a subordinate circuit incorporated in the computer 210 of FIG. A preferred example of the keyboard controller 211 of the present invention is shown in FIG.
[0021]
Referring to FIG. 3, the microprocessor of the keyboard controller 211 is an Intel 8042 8-bit microprocessor similar to any of the serial ICs 8052/8032. Any other microprocessor having similar characteristics can be incorporated into the keyboard controller 211 of the present invention by appropriate modification of the circuit shown in FIG. The keyboard controller 211 shown in FIG. 3 can be connected to at least a keyboard, a pointing device, and an IC card reader at the same time, and processes data transfer between the above-described apparatus and the central processing unit. The connection between the Intel 8042 8-bit microprocessor and the IC card reader allows free pins such as P12, P13, P14, P15, and P16 without changing the layout of other parts of the keyboard controller 211. It can be easily done by using.
[0022]
A more detailed configuration of the preferred IC card insertion machine of FIG. 2 is shown in FIG. In FIG. 4, when the IC card 220 is placed in the IC card insertion machine, for example, by reading the IC card 220 into the IC card insertion machine 201, data is read from or written to the IC card 220 via the connector 222. Is done. When the IC card 220 is inserted into the IC card insertion machine 201, the detection device 201a such as a micro switch detects the presence of the IC card 220 and sends a signal to the keyboard controller 211 of FIG.
[0023]
The microswitch 201a may be either a normally open type or a normally closed type, and its on / off state changes according to the insertion of the IC card 220. The change of the on / off state of the microswitch to on is sent to the keyboard controller as a signal indicating the state in which the IC card is present. Then, the connector 222 of the IC card 220 comes into contact with the corresponding connector 201b in the IC card insertion machine 220. Data transferred between the IC card 220 and the keyboard controller passes through a transmission path formed by the connected connectors 222 and 201. A magnetic piece 221 is provided on the IC card 220 so that it can be used as a conventional magnetic card reader system.
[0024]
Further, the keyboard controller of the present invention has firmware composed of a 2k × 8-bit read-only memory (ROM) and a program routine stored therein, as in the conventional keyboard controller. . The keyboard controller 211 shown in FIG. 2 operates the firmware to control the connected keyboard and PS / 2 pointing device just as a conventional keyboard controller did.
[0025]
The keyboard controller of the present invention processes data and commands transferred through the data port between the central processing unit, the keyboard, and the pointing device. In addition, the keyboard controller of the present invention can connect and control the IC card reader 200, and similarly can be connected to the keyboard 230 and pointing device 240 using improved firmware. The firmware of the present invention can be obtained by adding a special check routine to the conventional firmware program routine. The firmware operating method is shown in FIG.
[0026]
Referring to FIG. 5, the firmware operating method of the present invention includes the following steps.
[0027]
1. Step 500:
Resets the firmware in the keyboard controller if set incorrectly.
[0028]
2. Step 510:
When a connection state is detected, that is, when a keyboard, a pointing device, and an IC card reader are present, the firmware in the keyboard controller is initialized.
[0029]
3. Step 520:
If a command is sent from the central processing unit to the keyboard, step 521 is executed to obtain a command from the central processing unit, the command is sent to the keyboard in step 522, and the process returns to step 520. Otherwise, go to step 530.
[0030]
4). Step 530:
If the command is sent from the central processing unit to the pointing device, step 531 is executed to obtain the command from the central processing unit, the command is sent to the pointing device in step 532, and the process returns to step 520. Otherwise, go to step 540.
[0031]
5. Step 540:
When data is written from the central processing unit to the IC card reader, step 541 is executed to obtain data from the central processing unit. In step 542, the data is written to the IC card, and the process returns to step 520. Otherwise, go to step 550.
[0032]
6). Step 550:
If data is sent from the keyboard to the central processing unit, step 551 is executed to obtain data from the keyboard, data is sent to the central processing unit in step 552, and the process returns to step 520. Otherwise, go to step 560.
7). Step 560:
If data is sent from the pointing device to the central processing unit, step 561 is executed to obtain data from the pointing device, the data is sent to the central processing unit in step 562, and the process returns to step 520. Otherwise, go to step 570.
[0033]
8). Step 570:
If the data is read from the IC card, step 571 is executed to retrieve the data from the IC card, the data is sent to the central processing unit at step 572, and the process returns to step 520. Otherwise, return directly to step 520.
The firmware only works well if all devices of the keyboard, pointing device and IC card reader are detected by the keyboard controller in step 510. In step 510, if one, two, or none of these devices are present, or if not detected by the keyboard controller, the steps associated with the missing device are omitted.
[0034]
The keyboard controller of the present invention can simultaneously connect to a keyboard, a pointing device and an IC card reader using the method of the present invention for improved firmware operation. Data transfer to and from the device can be handled.
[0035]
Compared to a conventional IC card reader system, the IC card reader system of the present invention requires less hardware than the case of using at least the microprocessor 102 shown in FIG. Further, the IC card reader system of the present invention can omit more system resources such as the RS-232C interface 103 and the PS / 2 interface 104 shown in FIG.
[0036]
As described above, the present invention has been described using an optimal embodiment. However, it should be understood that the scope of the invention is not limited to the disclosed embodiments. On the other hand, the present invention includes various improvements and similar configurations. Therefore, the scope of the claims should be construed broadly to include all such various modifications and similar arrangements.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a conventional external IC card reader system.
FIG. 2 is a block diagram showing a configuration of an IC card reader system according to a preferred embodiment of the present invention.
FIG. 3 is a block diagram showing a configuration of a keyboard controller of a preferred embodiment of the IC card reader system according to the present invention.
FIG. 4 is a block diagram showing the configuration of a preferred IC card insertion machine of the present invention.
FIG. 5 is a flowchart showing a preferred operation method for firmware in the keyboard controller of the present invention.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 100 IC card reader 101 IC card insertion machine 102 8-bit microprocessor 103 Interface 104 Interface 110 Computer 111 Input / output circuit 112 Keyboard controller 120 IC card 200 IC card reader 201 IC card insertion machine 201a Micro switch 201b Connector 210 Computer 211 Keyboard Controller 211a Microprocessor 212 Central processing unit 220 IC card 221 Magnetic strip 222 Connector 230 Keyboard 240 Pointing device

Claims (14)

ICカードに対するデータ読み出し及びデータ書き込みを行うICカードリーダーシステムにおいて、In an IC card reader system that reads and writes data to an IC card,
前記ICカードリーダーシステムはコンピュータおよびICカードリーダーを含み、  The IC card reader system includes a computer and an IC card reader,
前記コンピュータは、中央処理装置及びデータ転送処理用のマイクロプロセッサを有しているキーボードコントローラを備え、  The computer includes a keyboard controller having a central processing unit and a data transfer microprocessor.
前記ICカードリーダーは、それ自身でマイクロプロセッサを含まずに前記キーボードコントローラに接続され、前記ICカードを収納してそのICカードから読み出したデータを前記中央処理装置に送ると共に、この中央処理装置からのデータをこのICカードに書き込むことができ、ICカードに対する読み出しデータ及び書き込みデータを前記キーボードコントローラを介して転送するものであることを特徴とするICカードリーダーシステム。  The IC card reader itself is connected to the keyboard controller without including a microprocessor, stores the IC card and sends data read from the IC card to the central processing unit, and from the central processing unit. The IC card reader system is capable of writing data to the IC card and transferring read data and write data to the IC card via the keyboard controller.
前記ICカードリーダーは、前記ICカードを収納し、このICカードと前記キーボードコントローラとの間のデータ接続を可能にするICカード挿入機を有するものである、ことを特徴とする請求項1記載のICカードリーダーシステム。  2. The IC card reader according to claim 1, further comprising an IC card insertion machine that accommodates the IC card and enables data connection between the IC card and the keyboard controller. IC card reader system. 前記ICカード挿入機は、ICカードが存在する状態を検出する手段を有しており、このICカードの存在情報を前記キーボードコントローラに送ることが可能なものである、ことを特徴とする請求項2記載のICカードリーダーシステム。  The IC card insertion machine has means for detecting the presence of an IC card, and can send presence information of the IC card to the keyboard controller. 2. The IC card reader system according to 2. 前記キーボードコントローラは、前記コンピュータに対してキーボードの接続を可能にすると共に、前記コンピュータに対してポインティングデバイスポインティングデバイスの接続を可能にするものである、ことを特徴とする請求項1記載のICカードリーダーシステム。  2. The IC card according to claim 1, wherein the keyboard controller enables a keyboard to be connected to the computer and a pointing device to be connected to the computer. Reader system. 前記ポインティングデバイスはマウスである、ことを特徴とする請求項4記載のICカードリーダーシステム。  5. The IC card reader system according to claim 4, wherein the pointing device is a mouse. 前記ポインティングデバイスはトラックボールである、ことを特徴とする請求項4記載のICカードリーダーシステム。  5. The IC card reader system according to claim 4, wherein the pointing device is a trackball. キーボードコントローラが、キーボード、ポインティングデバイス、及びICカードリーダーを中央処理装置に個別に又は同時に接続するために用いられており、前記キーボードコントローラはマイクロプロセッサを有しており、前記ICカードリーダーはそれ自身マイクロプロセッサを有することなく、IC カードを収納するために用いられている、キーボードコントローラ内のファームウエア運転方法であって、
前記キーボードコントローラ内のファームウエアをリセットする段階と、
前記キーボードコントローラ内のファームウエアを初期化する段階と、
複数の判別処理についての判別を実行する段階と、を含んでおり、この複数の判別処理は、前記中央処理装置からのキーボードコマンドが前記キーボードに送られた場合に、前記キーボードコマンドを送って第1 の判別処理に戻り、そうでない場合は次の判別処理に進む第1 の判別処理と、
前記中央処理装置からのポインティングデバイスコマンドがポインティングデバイスに送られた場合に、前記ポインティングデバイスコマンドを送って第1の判別処理に戻り、そうでない場合は次の判別処理に進む第2の判別処理と、
前記中央処理装置からのデータが前記ICカードリーダーに書き込まれた場合に、ICカードにこのデータを書き込んで第1の判別処理に戻り、そうでない場合は次の判別処理に進む第3の判別処理と、
キーボードデータが前記中央処理装置に送られた場合に、このキーボードデータを送って第1 の判別処理に戻り、そうでない場合は次の判別処理に進む第4 の判別処理と、
ポインティングデバイスデータが前記中央処理装置に送られた場合に、前記ポインティングデバイスデータを送って第1の判別処理に戻り、そうでない場合は次の判別処理に進む第5の判別処理と、
ICカードデータが前記中央処理装置に送られた場合に、前記ICカードデータを送って第1の判別処理に戻り、そうでない場合は直接第1の判別処理に戻る第6の判別処理と、を含むものである、ことを特徴とするキーボードコントローラ内のファームウエア運転方法。
Keyboard controller, a keyboard, a pointing device, and are used to connect the IC card reader central processing unit separately or simultaneously, the keyboard controller has a microprocessor, wherein the IC card reader itself A firmware operation method in a keyboard controller that is used to store an IC card without a microprocessor,
A step to reset the firmware in the keyboard controller,
A step of initializing the firmware in the keyboard controller,
A step of performing a determination for a plurality of determination process includes a, the plurality of determination process, when the keyboard commands from the central processing unit is sent to the keyboard, the sending the keyboard command Returning to the determination process of 1; otherwise, proceeding to the next determination process;
If the pointing device commands from the central processing unit is sent to the pointing device, back to the first determination process by sending the pointing device command, otherwise the second determination processing proceeds to the next determination processing ,
If the data from the central processing unit is written into the IC card reader, return to the first determination process writes this data to the IC card, otherwise the third determination processing proceeds to the next determination processing When,
If the keyboard data is sent to the central processing unit returns to the first discrimination process send this keyboard data, otherwise a fourth determination processing proceeds to the next determination process,
If the pointing device data is sent to the central processing unit returns to the first discrimination process by sending the pointing device data, and the fifth determination processing proceeds to the next determination process otherwise,
When the IC card data is sent to the central processing unit returns to the first discrimination process by sending the IC card data, the sixth determination processing of returning to otherwise direct the first determination process, the A firmware operation method in a keyboard controller, comprising:
前記ファームウエアをリセットする段階は、誤ったセットを元に戻すことを含むものである、ことを特徴とする請求項7記載のキーボードコントローラ内のファームウエア運転方法。  8. The method of operating a firmware in a keyboard controller according to claim 7, wherein the step of resetting the firmware includes returning an erroneous set to an original state. 前記ファームウエアを初期化する段階は、前記キーボード、ポインティングデバイス、及びICカードリーダーの存在を判別することと、前記キーボード、ポインティングデバイス、及びICカードリーダーの存在を記録することとを含むものである、ことを特徴とする請求項7記載のキーボードコントローラ内のファームウエア運転方法。  Initializing the firmware includes determining the presence of the keyboard, pointing device, and IC card reader, and recording the presence of the keyboard, pointing device, and IC card reader; The firmware operation method in the keyboard controller according to claim 7. 前記第1 及び第4の判別処理は、前記キーボードが存在しない場合は省略されるものである、ことを特徴とする請求項9記載のキーボードコントローラ内のファームウエア運転方法。  10. The firmware operating method in a keyboard controller according to claim 9, wherein the first and fourth determination processes are omitted when the keyboard does not exist. 前記第2及び第5の判別処理は、前記ポインティングデバイスが存在しない場合は省略されるものである、ことを特徴とする請求項9載のキーボードコントローラ内のファームウエア運転方法。  10. The firmware operating method in a keyboard controller according to claim 9, wherein the second and fifth determination processes are omitted when the pointing device does not exist. 前記第3及び第6の判別処理は、前記ICカードリーダーが存在しない場合は省略されるものである、ことを特徴とする請求項9記載のキーボードコントローラ内のファームウエア運転方法。  10. The firmware operation method in a keyboard controller according to claim 9, wherein the third and sixth determination processes are omitted when the IC card reader does not exist. 前記ポインティングデバイスはマウスを含むものである、ことを特徴とする請求項7 記載のキーボードコントローラ内のファームウエア運転方法。  8. The method for operating firmware in a keyboard controller according to claim 7, wherein the pointing device includes a mouse. 前記ポインティングデバイスはトラックボールを含むものである、ことを特徴とする請求項7 記載のキーボードコントローラ内のファームウエア運転方法。  8. The method of operating firmware in a keyboard controller according to claim 7, wherein the pointing device includes a trackball.
JP01152399A 1998-11-03 1999-01-20 IC card reader system and firmware operation method in keyboard controller of IC card reader system Expired - Lifetime JP4111294B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
TW087118235A TW405100B (en) 1998-11-03 1998-11-03 Card reader system and the operation method by applying the firmware of the inside keyboard controller
TW87118235 1998-11-03

Publications (2)

Publication Number Publication Date
JP2000148361A JP2000148361A (en) 2000-05-26
JP4111294B2 true JP4111294B2 (en) 2008-07-02

Family

ID=21631865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01152399A Expired - Lifetime JP4111294B2 (en) 1998-11-03 1999-01-20 IC card reader system and firmware operation method in keyboard controller of IC card reader system

Country Status (2)

Country Link
JP (1) JP4111294B2 (en)
TW (1) TW405100B (en)

Also Published As

Publication number Publication date
JP2000148361A (en) 2000-05-26
TW405100B (en) 2000-09-11

Similar Documents

Publication Publication Date Title
EP1457922B1 (en) Smart card that can be configured for debugging and software development using secondary communication port
CN100401082C (en) Method and test adapter for testing an appliance having a smart card reader
US20070005829A1 (en) Memory card having memory element and card controller thereof
US5969333A (en) Data collection system for card readers
EP1403814B1 (en) Electronic apparatus, information processing apparatus, adapter apparatus, and information exchange system
US6430710B1 (en) Data processing system with RAS data acquisition function
US6199764B1 (en) UART with an IC card reading interface and IC card reading system using the same
JP2837645B2 (en) Memory card or chip card reader system
JP4111294B2 (en) IC card reader system and firmware operation method in keyboard controller of IC card reader system
WO2002069127A1 (en) Method for controlling storage medium, controller for storage medium, and adaptor for storage medium
CN100585611C (en) Unit card reader control chip and its method for checking interference
US7988048B2 (en) Control chip of a card reader and method for detecting interference thereof
EP1146421A2 (en) Control method and electronic device to enhance the functionality of a main processor
KR20030083540A (en) Double interface SD card
US20080065789A1 (en) Multi-purpose IO system
US7306140B2 (en) Integrated circuit card system and method thereof
JP2000123139A (en) Ic card
JP2634603B2 (en) Card usage system
JP2000172805A (en) Ic card
JP5884106B2 (en) IC card reader and interface IC discrimination method
JPS62154082A (en) Portable electronic appliance
US20030217298A1 (en) Method of a saving power mode by combining a smart card with a multi-function network card
EP1081584B1 (en) Information processing apparatus and storage medium control method
KR100198754B1 (en) Electronic card insertion detecting method and apparatus
EP1385080A1 (en) Card reader and a network apparatus and corresponding power saving method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060605

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060609

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20060911

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20060914

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070112

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20070330

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20070405

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070803

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071203

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20080115

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20080218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080307

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080402

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110418

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120418

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130418

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140418

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term