JP2005085237A - Card recognition system - Google Patents
Card recognition system Download PDFInfo
- Publication number
- JP2005085237A JP2005085237A JP2003320256A JP2003320256A JP2005085237A JP 2005085237 A JP2005085237 A JP 2005085237A JP 2003320256 A JP2003320256 A JP 2003320256A JP 2003320256 A JP2003320256 A JP 2003320256A JP 2005085237 A JP2005085237 A JP 2005085237A
- Authority
- JP
- Japan
- Prior art keywords
- card
- compliant
- data
- control unit
- recognition system
- 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
Links
Images
Abstract
Description
本発明は、例えば、PCMCIAの規格に準拠していないスマートカード等の非準拠カードを、PCMCIAに準拠している準拠カード(いわゆるPCカード)用コネクタを持つコンピュータにおいて使用可能にするためのカード認識システムに関し、特に、上記カード認識システムにおいて、カードアダプタ又はコンピュータ内に設けられ、上記非準拠カードを準拠カードとして使用可能にするためのコンバータ部分の改良に関する。 The present invention provides, for example, card recognition for enabling a non-compliant card such as a smart card not compliant with the PCMCIA standard to be used in a computer having a connector for a compliant card (so-called PC card) compliant with the PCMCIA. More particularly, the present invention relates to an improvement of a converter portion provided in a card adapter or a computer in the card recognition system so that the non-compliant card can be used as a compliant card.
例えば、PCMCIAの規格に準拠していない、例えば、PCMCIAの規格以外の異形のコネクタを有するスマートカード等の非準拠カード(以下、必要に応じて、異形カード又は非PCカードという)を、PCMCIAに準拠している準拠カード(以下、必要に応じて標準カード又はPCカードという)用コネクタを有するコンピュータにおいて使用可能にするカード認識システムは、上記非PCカードをPCカード用コネクタに接続するためのアダプタと、上記アダプタに接続された非PCカードをコンピュータにPCカードとして認識するためのコンバータとで構成される。 For example, a non-compliant card such as a smart card that does not conform to the PCMCIA standard, for example, a smart card having an irregular connector other than the PCMCIA standard (hereinafter referred to as an irregular card or a non-PC card, if necessary) is assigned to the PCMCIA A card recognition system that can be used in a computer having a connector for a compliant card (hereinafter referred to as a standard card or a PC card if necessary) is an adapter for connecting the non-PC card to the PC card connector. And a converter for recognizing a non-PC card connected to the adapter to the computer as a PC card.
上記アダプタには、アクティブアダプタとパッシブアダプタがある(例えば、以下の特許文献1を参照)。
アクティブアダプタは、上記コンバータを内蔵するアダプタであり、当該アクティブアダプタを用いるカード認識システムでは、コンピュータは、スマートカード等の非PCカードを認識するための特別な回路を持つ必要が無い。 The active adapter is an adapter incorporating the converter, and in a card recognition system using the active adapter, the computer does not need to have a special circuit for recognizing a non-PC card such as a smart card.
他方、パッシブアダプタは、内部においてスマートカードの信号ピンの配列をPCカード用に変換するだけのものであり、コンバータは備えていない。このため、当該パッシブアダプタを用いるカード認識システムでは、コンピュータの内部に、スマートカード用パッシブアダプタの接続を検知する検知部と、当該検知部によりスマートカード用パッシブアダプタの接続が検知された場合にアクティブに切り換えられ、スマートカードから出力されたデータをPCカード用のデータに変換するコンバータとを備えることが必要になる。 On the other hand, the passive adapter only converts the arrangement of the signal pins of the smart card for the PC card inside, and does not include a converter. For this reason, in the card recognition system using the passive adapter, a detection unit that detects the connection of the passive adapter for the smart card in the computer and the connection when the passive adapter for the smart card is detected by the detection unit. It is necessary to provide a converter that converts data output from the smart card into data for a PC card.
本発明は、上記コンバータの改良に関するものである。以下、アクティブアダプタを使用するカード認識システムを例にとって従来のコンバータの構成及び課題の説明を行う。 The present invention relates to an improvement of the converter. Hereinafter, a configuration and problems of a conventional converter will be described by taking a card recognition system using an active adapter as an example.
図9は、非PCカードであるスマートカード1と、当該スマートカード1の認識システムS3を構成するコンピュータ3及びアクティブアダプタ10を示す図である。
FIG. 9 is a diagram showing the
コンピュータ3は、PCIバスB1を備えるチップセット4に取付けられたCPU5、メモリ6、ハードディスク7、及び、PCMCIAに準拠するPCカードを認識するためのPCカード・コントローラ8、並びに、上記PCカード・コントローラ8に接続されるPCカード用コネクタ2を備える。
The
スマートカード用アクティブアダプタ10は、スマートカード1が備える接触端子面1aに対応する接触コネクタ16と、コンピュータ3が備えるPCカード用のオス型コネクタ2に対応するメス型コネクタ10bとの間に、非PCカードであるスマートカードから出力されたデータをPCカードのデータに変換してコンピュータ側に出力するコンバータC2を備える。
The smart card
コンバータC2は、コネクタ2を介してPCカード・コントローラ8とデータのやり取りを行うPCカード・インターフェース11、当該インターフェース11とバスB2を介してデータのやり取りを行うCPU12、RAM13、ROM14、スマートカード制御部15で構成されている。
The converter C2 includes a PC card interface 11 that exchanges data with the
スマートカード用の接触コネクタ16にスマートカード1が挿し込まれると、スマートカード制御部15がこれを検知し、CPU12に伝える。CPU12は、PCカード・インターフェース11を介して、コンピュータ3のPCカード・コントローラ8に、スマートカード1からの情報を出力する。
When the
スマートカード1からコンピュータ3へのデータの流れは、以下の通りである。スマートカード1からのデータは、一旦スマートカード制御部15が内蔵するFIFO15aに格納される。当該FIFO15aは、スマートカード1とPCカード間のデータ処理速度の違いを吸収する所謂バッファメモリとして機能する。CPU12は、FIFO15aにデータが格納されたことを検知すると、FIFO15aから格納されたデータを読み取り、作業用のRAM13に保存する。CPU12は、割り込み信号を用いてスマートカード1から受取ったデータがあることを、PCカード・インターフェース11及びコネクタ2を介して、コンピュータ3のPCカード・コントローラ8に伝えた後、同様の手順でRAM13に格納されているデータをPCカード・コントローラ8に出力する。
The flow of data from the
なお、上記RAM13に格納されているデータは、PCカード・インターフェース11に内蔵するレジスタ11aに一旦保持された後に、出力される。
The data stored in the
一方、コンピュータ3からスマートカード1へのデータの流れは、以下の通りである。コンピュータ3内のホストCPU5は、メモリ6に記憶しているデータをチップセット4、PCIバスB1、及び、PCカード・コントローラ8を介してコネクタ2へと出力する。コネクタ2を介してデータを受け取ったPCカード・インターフェース11は、内蔵するレジスタ11aに送信データを一旦格納し、CPU12は、レジスタ11aに送信データが格納されたことを検知すると、当該送信データをデータバスB2を介して作業用のRAM13に書き込む。CPU12は、RAM13に書き込まれたデータをスマートカード制御部15が内蔵するFIFO15aに書き込む。スマートカード制御部15は、FIFO15aに書き込んだデータを接触コネクタ16を介してスマートカード1に出力する。なお、上記CPU12の実行するプログラムは、全てフラッシュROM14に内蔵されている。
On the other hand, the data flow from the
従来のスマートカード用アクティブカード10が備えるコンバータC2では、PCカード・インターフェース11とスマートカード制御部15との間でデータのやり取りを行うためにCPU12、ワークRAM13、及び、フラッシュROM14を備えており、回路規模が大きいといった問題があった。
The converter C2 included in the conventional smart card
また、上述するように、スマートカードから出力されたデータは、コンバータC2内部で、スマートカード制御部15のFIFO15a、作業用のRAM13、PCカード・インターフェース11のレジスタ11aの各々に順に格納された後に、コンピュータ3へと出力される。このため、データの伝送効率が悪かった。
As described above, the data output from the smart card is stored in the FIFO 15a of the smart
また、上記コンバータC2を構成するフラッシュROM14は、通常のCMOSと異なる工程により製造されるため、製造工程数が多くなりコスト高になるといった問題があった。これは、フラッシュROMの代わりにEEPROMを用いる場合であっても同様である。
Further, since the
本発明は、上記コンバータC2からCPU12、RAM13、及び、ROM14を不要にして、簡単な構成、例えば、1チップ化しやすい構成で、かつ、効率良くデータの伝送を行うことができる改良したコンバータを備えるカード認識システムを提供することを目的とする。
The present invention is provided with an improved converter that eliminates the need for the
本発明の第1のカード認識システムは、規格に準拠していない非準拠カードと、規格に準拠している準拠カードとデータの送受を行うためのカードコントローラを有するコンピュータと、上記非準拠カードを上記コンピュータに接続するためのアダプタを有し、上記非準拠カードを準拠カードとして認識するカード認識システムにおいて、上記カードコントローラと非準拠カードとの間に、非準拠カードのデータを準拠カードのデータに変換するため、非準拠カード用のI/Oを有する非準拠カード制御部と、上記非準拠カード制御部と専用の伝送路で接続され、準拠カード用のI/Oを有するインターフェースとで構成されることを特徴とする。 A first card recognition system according to the present invention includes a non-compliant card that does not comply with a standard, a computer that includes a card controller that performs data transmission and reception with a compliant card that conforms to the standard, and the non-compliant card. In a card recognition system having an adapter for connecting to the computer and recognizing the non-compliant card as a compliant card, the non-compliant card data is converted to the compliant card data between the card controller and the non-compliant card. In order to convert, the non-compliant card control unit having non-compliant card I / O, and the non-compliant card control unit connected to the non-compliant card control unit through a dedicated transmission line and having a non-compliant card I / O interface. It is characterized by that.
本発明の第2のカード認識システムは、上記第1のカード認識システムにおいて、上記非準拠カード制御部、又は、上記インターフェースに、非準拠カード制御部の出力するデータのビット数を準拠カードのデータのビット数に変換する回路を備えたことを特徴とする。 According to a second card recognition system of the present invention, in the first card recognition system, the number of bits of data output from the non-compliant card control unit is set to the non-compliant card control unit or the interface. A circuit for converting the number of bits into the number of bits is provided.
本発明の第3のカード認識システムは、上記何れかのカード認識システムにおいて、上記非準拠カード制御部は、コンピュータからの要求に応じて信号出力のタイミング制御を独自に行うタイミング制御部を有することを特徴とする。 According to a third card recognition system of the present invention, in any one of the card recognition systems, the non-compliant card control unit has a timing control unit that uniquely performs timing control of signal output in response to a request from a computer. It is characterized by.
本発明の第4のカード認識システムは、上記何れかのカード認識システムにおいて、上記非準拠カード制御部は、非準拠カードから単位当たりに出力されるデータの最大量以上のバッファメモリを有することを特徴とする。 According to a fourth card recognition system of the present invention, in any one of the above card recognition systems, the non-compliant card control unit includes a buffer memory that is equal to or larger than a maximum amount of data output per unit from the non-compliant card. Features.
本発明の第5のカード認識システムは、上記何れかのカード認識システムにおいて、上記規格がPCMCIAであり、非準拠カードがスマートカードであることを特徴とする。 According to a fifth card recognition system of the present invention, in any one of the above card recognition systems, the standard is PCMCIA, and the non-compliant card is a smart card.
本発明の第6のカード認識システムは、上記何れかのカード認識システムにおいて、上記カードアダプタが、上記非準拠カード制御部及びインターフェースを内蔵するアクティブ型カードアダプタであることを特徴とする。 According to a sixth card recognition system of the present invention, in any one of the above card recognition systems, the card adapter is an active card adapter incorporating the non-compliant card control unit and the interface.
本発明の第7のカード認識システムは、上記第1乃至第5のカード認識システムにおいて、上記カードアダプタがパッシブ型カードアダプタであり、上記コントローラ内に非準拠カード制御部及びインターフェースを備えることを特徴とする。 According to a seventh card recognition system of the present invention, in the first to fifth card recognition systems, the card adapter is a passive card adapter, and the controller includes a non-compliant card control unit and an interface. .
本発明の第8のカード認識システムは、コンピュータに設けられている標準カード用のコネクタと異なる形状のコネクタを有する異形カードと、標準カードとデータの送受を行うためのカードコントローラを含むコンピュータと、上記異形カードを上記コンピュータに接続するためのアダプタを有し、上記異形カードを標準カードとして認識するカード認識システムにおいて、上記異形カードとカードコントローラとの間に、異形カードのデータを標準カードのデータに変換するため、異形カード用のI/Oを有する異形カード制御部と、上記異形カード制御部と専用の伝送路で接続され、標準カード用のI/Oを有するインターフェースとを備えることを特徴とする。 An eighth card recognition system of the present invention is a computer including a deformed card having a connector different in shape from a standard card connector provided in the computer, and a card controller for sending and receiving data to and from the standard card; In a card recognition system having an adapter for connecting the irregular card to the computer and recognizing the irregular card as a standard card, the irregular card data is transferred between the irregular card and the card controller. For the conversion to the card, the card control unit having a card I / O for the card, and the interface having the I / O for the standard card connected to the card control unit through a dedicated transmission line. And
本発明の第9のカード認識システムは、上記第8のカード認識システムにおいて、上記異形カード制御部、又は、上記インターフェースに、異形カード制御部から出力されるデータのビット数を標準カードのデータのビット数に変換する回路を備えたことを特徴とする。 According to a ninth card recognition system of the present invention, in the eighth card recognition system, the number of bits of data output from the variant card control unit to the variant card control unit or the interface is set to the data of the standard card. A circuit for converting the number of bits is provided.
本発明の第10のカード認識システムは、上記第8又は第9のカード認識システムにおいて、上記異形カード制御部は、コンピュータからの要求に応じて信号出力のタイミング制御を独自に行うタイミング制御部を有することを特徴とする。 According to a tenth card recognition system of the present invention, in the eighth or ninth card recognition system, the odd-shaped card control unit includes a timing control unit that independently performs timing control of signal output in response to a request from a computer. It is characterized by having.
本発明の第11のカード認識システムは、上記第8乃至第10のカード認識システムにおいて、上記異形カード制御部は、異形カードから単位当たりに出力されるデータの最大量以上のバッファメモリを有することを特徴とする。 According to an eleventh card recognition system of the present invention, in the eighth to tenth card recognition systems, the odd-shaped card control unit has a buffer memory that is equal to or more than a maximum amount of data output from the odd-numbered card per unit. It is characterized by.
本発明の第12のカード認識システムは、上記第8乃至第11のカード認識システムにおいて、上記標準カードがPCMCIAに準拠したPCカードであり、異形カードがスマートカードであることを特徴とする。 According to a twelfth card recognition system of the present invention, in the eighth to eleventh card recognition systems, the standard card is a PC card conforming to PCMCIA, and the deformed card is a smart card.
本発明の第13のカード認識システムは、上記第8乃至第12のカード認識システムにおいて、上記カードアダプタが、上記異形カード制御部及びインターフェースを内蔵するアクティブ型カードアダプタであることを特徴とする。 A thirteenth card recognition system according to the present invention is characterized in that, in the eighth to twelfth card recognition systems, the card adapter is an active card adapter incorporating the odd-shaped card control unit and an interface.
本発明の第14のカード認識システムは、上記第8乃至第12のカード認識システムにおいて、上記カードアダプタがパッシブ型カードアダプタであり、上記コントローラ内に異形カード制御部及びインターフェースを備えることを特徴とする。 According to a fourteenth card recognition system of the present invention, in the eighth to twelfth card recognition systems, the card adapter is a passive card adapter, and the controller includes a deformed card control unit and an interface.
本発明の第15のカード認識システムは、規格に準拠していない非準拠カードと、規格に準拠している準拠カードとデータの送受を行うためのカードコントローラを含むコンピュータと、上記非準拠カードを上記コンピュータに接続するためのアダプタを有し、規格に準拠していない非準拠カードを認識するカード認識システムにおいて、上記カードコントローラと非準拠カードとの間において、非準拠カードのデータをデータの規格(シリアル/パラレルといったデータ形式、及び、データのビット数等)も含めて準拠カードのデータに変換するデータ変換部と、上記データ変換部の出力をコンピュータに出力するカードインターフェースと、上記データ変換部とカードインターフェースとの間で直接データのやり取りを行うための専用の伝送路とを備えたことを特徴とする。 According to a fifteenth card recognition system of the present invention, a non-compliant card that does not comply with a standard, a computer that includes a card controller that performs data transmission and reception with a compliant card that conforms to the standard, and the non-compliant card. In a card recognition system that has an adapter for connecting to the computer and recognizes a non-compliant card that does not comply with the standard, the data of the non-compliant card is transferred between the card controller and the non-compliant card. (Data format such as serial / parallel, data bit number, etc.) including data conversion unit for converting to compliant card data, card interface for outputting output of data conversion unit to computer, and data conversion unit Dedicated to exchange data directly with the card interface Characterized by comprising a sending passage.
本発明の第16のカード認識システムは、上記第15のカード認識システムにおいて、上記データ変換部は、コンピュータからの要求に応じて信号出力のタイミング制御を独自に行うタイミング制御部を有することを特徴とする。 According to a sixteenth card recognition system of the present invention, in the fifteenth card recognition system, the data conversion unit includes a timing control unit that uniquely controls timing of signal output in response to a request from a computer. And
本発明の第17のカード認識システムは、上記第15乃至第16のカード認識システムにおいて、上記データ変換部は、非準拠カードから単位当たりに出力されるデータの最大量以上のバッファメモリを有することを特徴とする。 According to a seventeenth card recognition system of the present invention, in the fifteenth to sixteenth card recognition systems, the data conversion unit has a buffer memory equal to or more than a maximum amount of data output per unit from a non-compliant card. It is characterized by.
本発明の第18のカード認識システムは、上記第15乃至第17のカード認識システムにおいて、上記規格がPCMCIAであり、非準拠カードがスマートカードであることを特徴とする。 According to an eighteenth card recognition system of the present invention, in the fifteenth to seventeenth card recognition systems, the standard is PCMCIA, and the non-compliant card is a smart card.
本発明の第19のカード認識システムは、上記第15乃至第18のカード認識システムにおいて、上記カードアダプタが、上記データ変換部及びカードインターフェースを内蔵するアクティブ型カードアダプタであることを特徴とする。 According to a nineteenth card recognition system of the present invention, in the fifteenth to eighteenth card recognition systems, the card adapter is an active card adapter incorporating the data converter and a card interface.
本発明の第20のカード認識システムは、上記第15乃至第18のカード認識システムにおいて、上記カードアダプタがパッシブ型カードアダプタであり、上記コントローラ内にデータ変換部及びカードインターフェースを備えることを特徴とする。 According to a twentieth card recognition system of the present invention, in the fifteenth to eighteenth card recognition systems, the card adapter is a passive card adapter, and includes a data conversion unit and a card interface in the controller.
本発明の第1のカード認識システムでは、非準拠カードの制御部とインターフェースの間を専用の伝送路で接続した構成を採用することにより、非準拠カードの制御部とインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に比べて、回路規模を小さくすることができる。 In the first card recognition system of the present invention, by adopting a configuration in which a non-compliant card control unit and an interface are connected by a dedicated transmission path, the non-compliant card control unit and interface are connected to a CPU, ROM, The circuit scale can be reduced as compared with the case of connection via a bus that is also connected to the RAM.
本発明の第2のカード認識システムでは、データ処理の遅延を招くレジスタの類を完全に除去したため、非準拠カード制御部とインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合にCPUがソフトウェアにより実現していた内容を専用の回路で実現した場合に得られる効果だけでなく、更なる処理の高速化、及び、レジスタの類を排除したことによる小型化を図ることができる。 In the second card recognition system of the present invention, since the types of registers that cause data processing delays are completely removed, the non-compliant card control unit and the interface are connected via a bus connected to the CPU, ROM, and RAM. In addition to the effects obtained when the CPU realizes the contents realized by the software with a dedicated circuit, the processing speed is further increased and the size is reduced by eliminating the registers. be able to.
また、非準拠カード制御部とインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に比べて、フラッシュROM(EEPROMの場合でも同じである)を不要にしたことにより、他の処理部と一緒に製造することが可能となり、製造効率を改善することもできる。 In addition, the flash ROM (which is the same in the case of EEPROM) is unnecessary compared to the case where the non-compliant card control unit and the interface are connected via a bus connected to the CPU, ROM, and RAM. It is possible to manufacture together with other processing units, and the manufacturing efficiency can be improved.
本発明の第3のカード認識システムでは、独自に動作するタイミング制御部を設けたことにより、コンピュータの処理速度や動作状態によらず、信号出力に関して常に正確なタイミング制御を行うことができる。 In the third card recognition system of the present invention, by providing a timing control unit that operates independently, it is possible to always perform accurate timing control regarding signal output regardless of the processing speed and operating state of the computer.
本発明の第4のカード認識システムでは、非準拠カードから単位時間当たりに出力されるデータの最大量以上のバッファメモリを有することで、コンピュータの処理速度や動作状態によらず、バッファオーバーフローなどのトラブル発生を防止することができる。 In the fourth card recognition system of the present invention, the buffer memory having the maximum amount of data output per unit time from the non-compliant card is provided, so that the buffer overflow or the like can be performed regardless of the processing speed or operating state of the computer. Trouble can be prevented.
本発明の第5のカード認識システムでは、PCMCIAに準拠していないスマートカードを簡単な構成のコンバータによりPCカードとして認識することができる。 In the fifth card recognition system of the present invention, a smart card that does not conform to PCMCIA can be recognized as a PC card by a converter having a simple configuration.
本発明の第6のカード認識システムでは、PCMCIAに準拠していないスマートカードをCPU,ROM,RAMを使用せず、互いに専用の伝送路で接続された非準拠カード制御部及びインターフェースを内蔵するアクティブ型アダプタを利用することにより、PCカードとして認識することができる。 In the sixth card recognition system of the present invention, a smart card that does not comply with PCMCIA does not use a CPU, ROM, and RAM, and an active device incorporating a non-compliant card control unit and an interface connected to each other via a dedicated transmission line. By using a type adapter, it can be recognized as a PC card.
本発明の第7のカード認識システムでは、コンピュータ側にCPU,ROM,RAMを使用せず、互いに専用の伝送路で接続された非準拠カード制御部及びインターフェースを備えたことにより、PCMCIAに準拠していないスマートカードを簡単で小型のパッシブアダプタを利用することにより、PCカードとして認識することができる。 The seventh card recognition system of the present invention is based on PCMCIA by providing a non-compliant card control unit and an interface connected to each other via a dedicated transmission path without using a CPU, ROM, or RAM on the computer side. A smart card that is not used can be recognized as a PC card by using a simple and small passive adapter.
本発明の第8のカード認識システムでは、異形カードの制御部とインターフェースの間を専用の伝送路で接続した構成を採用することにより、異形カードの制御部とインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に比べて、回路規模を小さくすることができる。 In the eighth card recognition system of the present invention, by adopting a configuration in which the control unit and the interface of the odd-shaped card are connected by a dedicated transmission path, the control unit and the interface of the odd-shaped card are connected to the CPU, ROM, and RAM. In addition, the circuit scale can be reduced as compared with the case of connecting via a connected bus.
本発明の第9のカード認識システムでは、データ処理の遅延を招くレジスタの類を完全に除去したため、異形カード制御部とインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合にCPUがソフトウェアにより実現していた内容を専用の回路で実現した場合に得られる効果だけでなく、更なる処理の高速化、及び、レジスタの類を排除したことによる小型化を図ることができる。 In the ninth card recognition system of the present invention, since the types of registers that cause delays in data processing are completely removed, the irregular card control unit and the interface are connected via a bus that is also connected to the CPU, ROM, and RAM. In addition to the effects obtained when the CPU realizes the contents realized by the software with a dedicated circuit, the processing is further speeded up and the size is reduced by eliminating the registers. Can do.
また、異形カード制御部とインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に比べて、フラッシュROM(EEPROMの場合でも同じである)を不要にしたことにより、他の処理部と一緒に製造することが可能となり、製造効率を改善することもできる。 In addition, the flash ROM (which is the same in the case of the EEPROM) is unnecessary compared to the case where the odd-shaped card control unit and the interface are connected via a bus connected to the CPU, ROM, and RAM. It becomes possible to manufacture together with other processing units, and the manufacturing efficiency can be improved.
本発明の第10のカード認識システムでは、独自に動作するタイミング制御部を設けたことにより、コンピュータの処理速度や動作状態によらず、信号出力に関して常に正確なタイミング制御を行うことができる。 In the tenth card recognition system of the present invention, by providing a timing control unit that operates independently, it is possible to always perform accurate timing control regarding signal output regardless of the processing speed and operation state of the computer.
本発明の第11のカード認識システムでは、異形カードから単位時間当たりに出力されるデータの最大量以上のバッファメモリを有することで、コンピュータの処理速度や動作状態によらず、バッファオーバーフローなどのトラブル発生を防止することができる。 In the eleventh card recognition system of the present invention, having a buffer memory exceeding the maximum amount of data output per unit time from the irregular-shaped card, troubles such as buffer overflow can be achieved regardless of the processing speed and operating state of the computer. Occurrence can be prevented.
本発明の第12のカード認識システムでは、PCMCIAに準拠するコネクタとは異なる形のコネクタを有するスマートカードを簡単な構成のコンバータによりPCカードとして認識することができる。 In the twelfth card recognition system of the present invention, a smart card having a connector different from a connector conforming to PCMCIA can be recognized as a PC card by a simple converter.
本発明の第13のカード認識システムでは、PCMCIAに準拠していないスマートカードをCPU,ROM,RAMを使用せず、互いに専用の伝送路で接続された異形カード制御部及びインターフェースを内蔵するアクティブ型アダプタを利用することにより、PCカードとして認識することができる。 In the thirteenth card recognition system of the present invention, a smart card that is not compliant with PCMCIA does not use a CPU, ROM, RAM, and is an active type that incorporates an odd-shaped card controller and an interface connected to each other via a dedicated transmission line. By using the adapter, it can be recognized as a PC card.
本発明の第14のカード認識システムでは、コンピュータ側にCPU,ROM,RAMを使用せず、互いに専用の伝送路で接続された異形カード制御部及びインターフェースを備えたことにより、PCMCIAに準拠していないスマートカードを簡単で小型のパッシブアダプタを利用することにより、PCカードとして認識することができる。 In the fourteenth card recognition system of the present invention, the computer side does not use a CPU, a ROM, and a RAM, and is provided with a deformed card control unit and an interface connected to each other through a dedicated transmission line, thereby complying with PCMCIA. A smart card can be recognized as a PC card by using a simple and small passive adapter.
本発明の第15のカード認識システムでは、非準拠カードのデータを、データの規格も含めて準拠カードのデータに変換するデータ変換部(上記第2のカード認識システムにおける非準拠カード制御部と、当該制御部の出力するデータのビット数を準拠カードのデータのビット数に変換する回路とを備えるものに相当する。)と、カードインターフェースの間を専用の伝送路で接続した構成を採用することにより、データ変換部とカードインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に比べて、回路規模を小さくすることができる。上記データの規格とは、シリアル/パラレル変換、データのビット数変換等のことをいう。 In the fifteenth card recognition system of the present invention, a data conversion unit that converts data of a non-compliant card into data of a compliant card including data standards (a non-compliant card control unit in the second card recognition system, And a circuit that converts the number of bits of data output from the control unit to the number of bits of data of the compliant card) and a configuration in which the card interface is connected by a dedicated transmission line. Thus, the circuit scale can be reduced as compared with the case where the data conversion unit and the card interface are connected via a bus that is also connected to the CPU, ROM, and RAM. The data standard includes serial / parallel conversion, data bit number conversion, and the like.
また、データ処理の遅延を招くレジスタの類を完全に除去したため、データ変換部とカードインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に、CPUがソフトウェアにより実現していた内容を専用の回路で実現した場合に得られる効果だけでなく、更なる処理の高速化、及び、レジスタの類を排除したことによる小型化を図ることができる。 In addition, since registers that cause data processing delays have been completely removed, the CPU is realized by software when the data converter and card interface are connected via a bus that is also connected to the CPU, ROM, and RAM. In addition to the effects obtained when the contents are realized by a dedicated circuit, the processing can be further speeded up and the size can be reduced by eliminating registers.
また、データ変換部とカードインターフェースを、CPU,ROM,RAMにも接続されているバスを介して接続する場合に比べて、フラッシュROM(EEPROMの場合でも同じである)を不要にしたことにより、他の処理部と一緒に製造することが可能となり、製造効率を改善することもできる。 Also, compared to the case where the data conversion unit and the card interface are connected via a bus that is also connected to the CPU, ROM, and RAM, the flash ROM (which is the same in the case of the EEPROM) is eliminated. It becomes possible to manufacture together with other processing units, and the manufacturing efficiency can be improved.
本発明の第16のカード認識システムでは、独自に動作するタイミング制御部を設けたことにより、コンピュータの処理速度や動作状態によらず、信号出力に関して常に正確なタイミング制御を行うことができる。 In the sixteenth card recognition system of the present invention, by providing a timing control unit that operates independently, accurate timing control can always be performed with respect to signal output regardless of the processing speed and operating state of the computer.
本発明の第17のカード認識システムでは、非準拠カードから単位時間当たりに出力されるデータの最大量以上のバッファメモリを有することで、コンピュータの処理速度や動作状態によらず、バッファオーバーフローなどのトラブル発生を防止することができる。 In the seventeenth card recognition system of the present invention, the buffer memory having the maximum amount of data output per unit time from the non-compliant card has a buffer overflow or the like regardless of the processing speed or operating state of the computer. Trouble can be prevented.
本発明の第18のカード認識システムでは、PCMCIAに準拠していないスマートカードを簡単な構成のコンバータによりPCカードとして認識することができる。 In the eighteenth card recognition system of the present invention, a smart card that does not comply with PCMCIA can be recognized as a PC card by a converter having a simple configuration.
本発明の第19のカード認識システムでは、PCMCIAに準拠していないスマートカードをCPU,ROM,RAMを使用せず、互いに専用の伝送路で接続されたデータ変換部及びカードインターフェースを内蔵するアクティブ型アダプタを利用することにより、PCカードとして認識することができる。 In the nineteenth card recognition system of the present invention, a smart card that does not conform to PCMCIA does not use a CPU, ROM, or RAM, and an active type that incorporates a data conversion unit and a card interface that are connected to each other via a dedicated transmission line. By using the adapter, it can be recognized as a PC card.
本発明の第20のカード認識システムでは、コンピュータ側にCPU,ROM,RAMを使用せず、互いに専用の伝送路で接続されたデータ変換部及びカードインターフェースを備えたことにより、PCMCIAに準拠していないスマートカードを簡単で小型のパッシブアダプタを利用することにより、PCカードとして認識することができる。 In the twentieth card recognition system of the present invention, the computer side does not use a CPU, a ROM, and a RAM, and is provided with a data conversion unit and a card interface that are connected to each other through a dedicated transmission line, thereby complying with PCMCIA. A smart card can be recognized as a PC card by using a simple and small passive adapter.
(1)実施の形態1
以下、添付の図面を参照しつつ本発明のカード認識システム及び非準拠カードの認識方法の実施の形態について説明する。図1において、実施の形態1のカード認識システムS1を構成するアクティブ型のアダプタ50は、PCMCIAに準拠していない、例えば、異なる形状のコネクタを有する非準拠カード(以下、必要に応じて異形カード又は非PCカードという)であるスマートカードを、PCMCIAの準拠している準拠カード(以下、必要に応じて標準カード又はPCカードという)として認識するためのコンバータとして、図9に示した従来のコンバータC2からインターフェース11、CPU12、RAM13、ROM14を除去し、代わりに、改良したPCカード・インターフェース51を有するコンバータC1を採用したことを特徴とする。
(1)
Embodiments of a card recognition system and a non-compliant card recognition method according to the present invention will be described below with reference to the accompanying drawings. In FIG. 1, an
コンバータC1の構成物の内、図9を参照しながら説明した従来のコンバータC2の構成物と同じ物には同じ参照番号を付して表している。以下、カード認識システムS1の全体構成について説明した後、コンバータC1の構成及び動作について詳しく説明する。 Of the components of the converter C1, the same components as those of the conventional converter C2 described with reference to FIG. 9 are denoted by the same reference numerals. Hereinafter, after describing the overall configuration of the card recognition system S1, the configuration and operation of the converter C1 will be described in detail.
コンピュータ3は、PCIバスB1を備えるチップセット4に取り付けられたCPU5、メモリ6、ハードディスク7、及び、PCMCIAに準拠するPCカード(標準カード)を認識するためのPCカード・コントローラ8、並びに、上記PCカード・コントローラ8に接続されているPCカード用コネクタ2を備える。
The
異形カードであるスマートカード用のアクティブアダプタ50は、スマートカード1が備える接触端子面1aに対応する接触コネクタ16と、コンピュータ3が備えるPCカード用のオス型コネクタ2に対応するメス型コネクタ10bとの間に、スマートカード1から出力されたデータをPCカード用のデータに変換してコンピュータ側に出力するコンバータC1を備える。
An
コンバータC1は、従来のコンバータC2にも設けられていたスマートカード制御部15と、当該スマートカード制御部15と専用の伝送路であるバスB2を介して接続されている改良したPCカード・インターフェース51とで構成される。
The converter C1 includes a smart
上記スマートカード制御部15には、スマートカード1とPCカード間のデータ処理速度の違いを吸収する所謂バッファメモリとして機能するFIFO15aが内蔵されている。
The smart
上記PCカード・インターフェース51は、スマートカード制御部15から出力された信号のデータの規格を、PCカードのものに変換して出力する。上記データの規格には、通常、シリアル/パラレルといったデータの形式、及び、データのビット数等が含まれるが、PCカード・インターフェース51では、後に詳述するように、専用の回路(信号変換部54)を用いてデータのビット数を調節する。
The
図2は、PCカード・インターフェース51の構成を示す図である。PCカード・インターフェース部51は、大きく分けて、割り込み信号変換用インバータ52と、アドレスデコーダ53と、信号変換部54とで構成される。上記アドレスデコーダ53は、スマートカード制御部15の用いる制御信号SCCREN[0]〜[7]を生成する。上記信号変換部54は、スマートカード制御部15においてPCカード用のデータに変換されたスマートカードのデータのビット数を、PCカード用のデータのビット数に変換する。
FIG. 2 is a diagram showing the configuration of the
割り込み信号変換用インバータ52は、スマートカード1の接続時にスマートカード制御部15よりコンピュータ3のホストCPU5に向けて出力されるHighアクティブの割り込み信号SCCINTを、反転して、Lowアクティブの信号RDY/INT#として出力する。以下、最後に“#”が付されている信号は、Lowアクティブであることを意味する。
The interrupt signal converting inverter 52 inverts the high active interrupt signal SCCINT output from the smart
アドレスデコーダ53は、それぞれ所定のアドレスが割り当てられている8個のレジスタを備え、コンピュータ3から送られてくる26ビットのアドレスデータA[25:0]の値が、上記8個のレジスタに割り当てられているアドレスの内の1つに該当する場合には、PCカードバスのアドレスバスを指定するため、制御信号であるレジスタイネーブル信号SCCREN[0]〜[7]の内、上記アドレスデータA[25:0]の値が割り当てられていたレジスタの信号をHighレベルに切り換える。
The address decoder 53 includes eight registers each assigned a predetermined address, and the value of 26-bit address data A [25: 0] sent from the
図3は、アドレスデコーダ53の構成を示す図である。図示するように、アドレスデコーダ53は、予め設定してある8種類の各26ビットのデータを格納する8個のレジスタ53a〜53hと、レジスタ53a〜53hに格納してある26ビットデータとアドレスデータA[25:0]との排他的論理和(EXOR)を求め、結果をレジスタイネーブル信号SCCREN[0]〜[7]として出力する8個のEXORゲート53i〜53pとで構成される。
FIG. 3 is a diagram showing the configuration of the address decoder 53. As shown in the figure, the address decoder 53 includes eight
上記構成のアドレスデコーダ53は、8個のレジスタ53a〜53hに格納しているデータにアドレスデータA[25:0]と一致するものがある場合には、レジスタイネーブル信号SCCREN[0]〜[7]の内、該当する1つの信号をHighレベルに切り換えて出力する。
The address decoder 53 configured as described above has register enable signals SCCREN [0] to [7] when there are data stored in the eight
再び、図2を参照する。信号変換部54は、2つのORゲート55,56と、8個の双方向ゲート57[0]〜57[7]と、8個の1方向ゲート57[8]〜57[15]とで構成される。なお、8個の双方向ゲート57[n](但し、nは0〜7)は、Lowレベルの信号入力でスマートカード側のビットデータSCPUD[n]をコンピュータ側へ通すトライステートバッファ57[n]Aと、逆に、Highレベルの信号入力でコンピュータ側のビットデータD[n]をスマートカード側に通すトライステートバッファ57[n]Bとを並列に接続したものである。
Reference is again made to FIG. The signal conversion unit 54 includes two OR
また、8個の1方向ゲート57[m](但し、mは8〜15)は、Lowレベルの信号が入力された場合に16ビットのデータD[15:0]の内、上位8ビット分のデータとして“0”のデータをコンピュータ側へ出力するトライステートバッファである。 The eight one-way gates 57 [m] (where m is 8 to 15) are for the upper 8 bits of the 16-bit data D [15: 0] when a low level signal is input. This is a tri-state buffer that outputs "0" data to the computer side as the data of.
ORゲート55は、PCMCIAに準拠してコンピュータ3のPCカード・コントローラ8から出力されるライトイネーブル信号WE#及びチップイネーブル信号CE#の両方がLowレベルに切り換った場合にLowレベルの書き込みイネーブル信号SCPURW#を出力する。信号WE#又はCE#がHighレベルに切り換った場合には、ORゲート55は、Highレベルのデータ読み出しイネーブル信号SCPURW#を出力する。
The
ORゲート56は、チップイネーブル信号CE#及びアウトプットイネーブル信号OE#の何れもがLowレベルになったときに、8個の双方向ゲート57[0]〜57[7]及び8個の1方向ゲート57[8]〜57[15]にLowレベルの信号を出力する。これにより、スマートカード側の8ビットのデータSCPUD[7:0]が16ビットのデータD[15:0]に変換されてコンピュータ3側に出力される。
The
上記信号CE#又はOE#がHighレベルに切り換った場合には、ORゲート56は、Highレベルの信号を上記8個の双方向ゲート57[0]〜57[7]及び8個の1方向ゲート57[8]〜57[15]に出力する。この場合、コンピュータ3側からの16ビットのデータD[15:0]の内、上位8ビットのデータが削除され、8ビットのデータSCPUD[7:0]としてスマートカード1側に出力される。
When the signal CE # or OE # is switched to the high level, the
このように改良したPCカード・インターフェース51では、信号変換部54の働きにより、レジスタの類を介在することなく、スマートカード1とコンピュータ3の間のデータの受け渡しを効率良く行うことができるようになる。
In the
図4は、スマートカード制御部15の構成を示す図である。スマートカード制御部15は、SCB制御部20、FIFO15a、RX/ATR制御部22、TX制御部23、カード検出部24、及び、I/O制御部25で構成される。なお、スマートカード制御部15は、図9に示した従来のカード認識システムにおいて使用していたアクティブアダプタ10のコンバータC2が内蔵していたものと全く同じ構成であり、ここでは、上述したPCカード・インターフェース51から出力される信号が直接、スマートカード制御部15に入力され、処理されることを簡単に説明するに留める。
FIG. 4 is a diagram illustrating a configuration of the smart
カード検出部24には、接触コネクタ16にスマートカード1が挿し込まれたか否かを表すSC_CD#信号が入力される。カード検出部24は、当該SC_CD#信号がLowレベルの時にSCB制御部20にスマートカードを検出した旨の通知を行う。また、カード検出部24は、図示しない電源にスマートカード1への給電を許可するSC_PWR信号を出力する。
An SC_CD # signal indicating whether the
I/O制御部25は、後に説明するように、SCB制御部20からの指示に従い、スマートカード1のリセット信号SC_RSTを出力する。また、I/O制御部25は、スマートカード1とI/O信号SC_I/Oやクロック信号SC_CLKのやり取りを行う。
The I /
RX/ATR制御部22は、I/O制御部25から1ビット単位でデータを受け取り、これを8ビットのデータにパラレル変換してからFIFO15aに出力する。また、RX/ATR制御部22は、初期接続時にスマートカード1から受け取るATR(初期応答情報)に応じて1ビットのデータを伝送するのに必要なクロック数を特定する初期ETU(ビット伝送時間)を決定する。
The RX /
TX制御部23は、FIFO15aからの8ビットデータを1ビット単位のデータにシリアル変換してからI/O制御部25に出力する。なお、TX制御部23は、制御部20にも接続されている。
The
スマートカード1とPCカード間のデータ処理速度の違いを吸収する所謂バッファメモリとして機能するFIFO15aは、8ビットデータを格納できるFIFOを全部で8個(8ワード分)備えており、RX/ATR制御部22から入力された8ビットデータをSCBDBというデータバス(図示せず)に出力したり、上記SCBDBから入力されて8個の内の1つのFIFO内に蓄えられた8ビットデータをTX制御部23に出力する。なお、SCBDBは、SCB制御部20にも接続されている。
The
以上に説明したように、実施の形態1に係るカード認識システムでは、アクティブ型のアダプタ内に備えるコンバータの構成を大幅に簡略化し、データ処理の遅延を招くレジスタの類(図9に示す従来のコンバータC2が備えていた作業用のRAM13、及び、PCカード・インターフェース11のレジスタ11a)を完全に除去したため、単に図9に示す従来のコンバータC2においてCPU12がソフトウェアにより実現していた内容を専用の回路で実現した場合に得られる効果だけでなく、更なる処理の高速化、及び、レジスタの類を排除したことによる小型化を図ることができる。
As described above, in the card recognition system according to the first embodiment, the configuration of the converter provided in the active type adapter is greatly simplified, and the types of registers that cause data processing delay (the conventional type shown in FIG. 9). Since the working
また、図9に示す従来のコンバータC2からフラッシュROM(EEPROMの場合でも同じである)を除去したことにより、他の処理部と一緒に製造することが可能となり、製造効率を改善することもできる。 Further, by removing the flash ROM (which is the same in the case of the EEPROM) from the conventional converter C2 shown in FIG. 9, it becomes possible to manufacture together with other processing units, and the manufacturing efficiency can be improved. .
(2)実施の形態2
実施の形態1に係るカード認識システムS1では、アクティブ型のアダプタ50の内部に改良したコンバータC1を備えるが、本発明のカード認識システムは、上記アクティブ型のアダプタ50を用いる形態に限定されず、パッシブ型のアダプタを用いる形態を採用しても良い。この場合、コンピュータに内蔵するコンバータとして上記改良したコンバータC1を使用する。
(2)
In the card recognition system S1 according to the first embodiment, the improved converter C1 is provided inside the
図5は、パッシブ型アダプタ80を用いるカード識別システムS2の構成を示す図である。パッシブ型アダプタ80は、スマートカード1の接触端子面1aに対応した接触コネクタ80aと、PCカード用のメス型コネクタ80bを備え、内部でスマートカード1のピン配線を対応するPCカード用に変換する周知のものである。
FIG. 5 is a diagram showing a configuration of the card identification system S2 using the
コンピュータ9は、PCIバスB1を備えるチップセット4に取り付けられたCPU5、メモリ6、ハードディスク7、及び、PCMCIAに準拠するPCカードを認識するためのPCカード・コントローラ70と、上記PCカード・コントローラ70に接続される上記PCカード用のコネクタ2とを備える。
The computer 9 includes a
以下、PCカード・コントローラ70の構成について説明する。PCカード検出部71は、コネクタ2に挿し込まれたカードが、PCMCIAに準拠するPCカードであるのか、それともスマートカード用パッシブアダプタ80であるのかの判断を行う。
The configuration of the
マルチプレクサ74は、PCカード検出部71の検出結果に基づいてバスの切り換えを行い、コネクタ2に接続されたカードがPCカードの場合には、PCカード制御部72とコネクタ2とを接続し、コネクタ2に接続されたカードがスマートカード用パッシブアダプタ80である場合には、コネクタ2とコンバータC1を接続する。
The
コンバータC1は、PCカード制御部72に接続されている。即ち、接続されたカードがスマートカード用パッシブアダプタ80の場合、コネクタ2とPCカード制御部72との間にコンバータC1が介在し、スマートカード1からのデータをPCMCIAに準拠したPCカード用に変換し、変換後のデータをPCカード制御部72に出力することになる。PCカード制御部72の出力は、PCIインターフェース73及び、PCIバスB1を介してチップセット4に伝えられる。
The converter C1 is connected to the PC card control unit 72. That is, when the connected card is the smart card
パワースイッチ76は、PCカード制御部72又はコンバータC1よりHighレベルのPWR信号又はSC_PWR信号が出力された場合に、コネクタ2を介して接続されたカードに電源電圧Vccを供給する。
The
上記パッシブアダプタ80を用いるカード認識システムにおいても、コンピュータ9内に改良したコンバータC1を用いることにより、回路規模の小型化及び当該コンバータにおけるデータ伝送効率の向上を図ることができる。
Also in the card recognition system using the
(3)改良例(実施の形態3)
上記改良したコンバータC1を備えることにより、図9に示したように従来コンバータC2を構成していたCPU、ROM、RAMを除去して回路規模の小型化を図ることができるが、この結果、信号出力に関するタイミング制御までコンピュータ3により行うことになる。ホストCPU5が複数の仕事を並列に処理するマルチタスクタイプの場合、高度な処理能力を必要とする(いわゆる重い)アプリケーションを実行している時、又は、多数のアプリケーションを同時に実行している時には、厳密なタイミング制御を行うことが難しくなってしまう。例えば、データの読み出し及び書き込み時に行うタイミング制御、及び、リセット期間等の厳密なタイミング制御が難しくなる。この結果、リセット期間は、周波数約4MHzのクロック信号が40000〜45000回サイクルする期間(約10ms〜11.25ms)でなければならないとするEMV規格を常に満たすことが難しなってしまう。
(3) Improved example (Embodiment 3)
By providing the improved converter C1, it is possible to reduce the circuit scale by removing the CPU, the ROM, and the RAM that have conventionally formed the converter C2 as shown in FIG. The timing control relating to output is performed by the
そこで、上記実施の形態1及び2のカード認識システムS1,S2で用いるコンバータC1の改良例(実施の形態3)として、図6に示すように、コンバータC1を構成するスマートカード制御部15の代わりに、バッファメモリとして大容量のFIFO61と、タイミング制御部として独立に動作するリセット制御部66を内蔵するI/O制御部62を備えるスマートカード制御部60を用意した。これにより、スマートカード1からのデータの確実な読み出し及び書き込みを可能にすると共に、リセット期間の厳密な制御、具体的には、EMV規格を満足するようなリセット期間の制御が可能になる。更には、ホストCPU5からリセット制御部66の設定(後に説明するレジスタ68の設定値)を変更することで様々なタイミング制御に対応することができる。
Therefore, as an improved example (third embodiment) of the converter C1 used in the card recognition systems S1 and S2 of the first and second embodiments, as shown in FIG. 6, instead of the smart
図6は、改良したスマートカード制御部60の構成を示す図である。スマートカード制御部15と同じ構成物には同じ参照番号を付して表す。上述したように、スマートカード制御部60では、スマートカード制御部15と比べて、多数のワード数(260個)を保持することができるFIFO61と、リセット制御部66を内蔵するI/O制御部62とを設けたことを特徴とする。
FIG. 6 is a diagram illustrating a configuration of the improved smart card control unit 60. The same components as the smart
まず、260ワード記憶できるFIFO61について説明する。図4に示したスマートカード制御部15が備えるFIFIO15aでは、8ビットのデータを8ワード分しか保持できない。スマートカードのプロトコルでは、最大260バイトのデータが、ブロックデータとして連続して送受信される。例えば、スマートカード1からのデータ出力速度よりもホストCPU5のデータ受け取り速度が低い場合、FIFO15aがオーバーフロー(いわゆるバッファオーバーフロー)を起こして受信データを正確に読み取ることができなくなってしまう。他方、ホストCPU5からFIFO15aへのデータの書き込み速度よりも、スマートカード1のFIFO15aからのデータ受取り速度の方が速い場合、スマートカード1へのデータ伝送が途切れ途切れに行われることになり、スマートカード1がブロックデータの量を誤認識してしまう。
First, the
そこで、FIFO15aの代わりに、スマートカード1から一度に転送可能な最大のバイト数である260ワード分の8ビットデータを格納できる大容量のFIFO61を用意し、当該FIFO61へのデータの書き込みが完了してからスマートカード1又はコンピュータ9へのデータの読み出し又は書き込みを行うことを可能にして上記不都合を解決した。
Therefore, instead of the
引き続き、リセット制御部66を内蔵するI/O制御部62の説明を行う。図7は、I/O制御部62内の構成を示す図である。I/O制御部62は、図4に示した従来のI/O制御部25に、ANDゲート65及びリセット制御部66を追加したものである。なお、リセット制御に関係しない構成物については省略してある。
Subsequently, the I /
ラッチ回路63のデータ入力端子には、Highレベルの信号(例えば電源電圧Vcc)が入力されている。リセット出力イネーブル信号SCRSTOE#がLowに切り換ると、1方向ゲート(トライステートバッファ)64がオンしてラッチ回路63より出力されるHighレベルの信号がリセット信号SC_RSTとしてスマートカード1へと出力される。リセットクリア信号SCRSTCLR#は、フリップフロップ63のタイミング信号入力端子に入力されており、リセット後のフリップフロップ63の出力を再びHighレベルに切り換える。
A high level signal (for example, power supply voltage Vcc) is input to the data input terminal of the
リセット制御部66は、SCB制御部から出力されるアクティベーション処理の終了を意味するLowレベルの信号ACTEND#の入力に応じてカウントを開始する16ビットのカウンタ67と、16ビットのカウント値を保持するレジスタ68と、上記カウンタ67の出力するカウント値とレジスタ68の保持しているカウント値を比較し、一致した場合にLowレベルのリセットエンド信号RSTENDを出力する比較器69とで構成されている。
The
上記構成のリセット制御部66では、ホストCPU5から上記アクティベーション処理の終了を意味する信号ACTEND#が入力されると、予め設定したクロック数(例えば41000)をカウントした後にリセット期間を終了させるためLowレベルのリセットエンド信号RSTENDを出力する。
When the
上記リセット制御部66の比較器69から出力されるリセットエンド信号RSTENDは、2入力ANDゲート65の一方の信号入力端子に入力されている。ANDゲート65の残りの信号入力端子には、従来よりI/O制御部に入力されていたリセットセット信号SCRSTSET#が入力されている。
The reset end signal RSTEND output from the
上記構成において、ANDゲート65は、従来よりI/O制御部に入力されていたリセットセット信号SCRSTSET#と、上記リセットエンド信号RSTENDの何れか一方がLowとなった時に、リセット信号をLowレベルに保持していたラッチ回路63をリセットする。
In the above configuration, the AND
なお、リセット制御部66の16ビットレジスタ68の設定値を、ホストCPU5から変更可能とすることで、EMV規格以外の規格、例えば、ISO7816に準拠した40000クロック以下のリセット期間を満たすように設定することができる。
Note that the setting value of the 16-bit register 68 of the
図8は、スマートカード1の接続時に、スマートカード制御部60が最初に実行するアクティベーション処理及びリセット期間を示すタイムチャートである。カード検出部24は、タイミングT1以前に接触コネクタ16(パッシブ型アダプタ80の場合、接触コネクタ80a)にスマートカード1が挿入されたことをSC_DC#信号がLowレベルに切り換わったことにより検知し、これをSCB制御部20に通知する。SCB制御部20は、ホストCPU5に向けてHighレベルの割り込み信号SCCINTを出力する。割り込み信号SCCINTは、PCカード・インターフェース部51において反転された後、PCカード用の割り込み信号RDY/INT#としてPCカード・コントローラ8、チップセット4、そしてホストCPU5へと送られる。
FIG. 8 is a time chart showing an activation process and a reset period that are first executed by the smart card control unit 60 when the
Lowレベルの割り込み信号RDY/INT#を受けたホストCPU5は、スマートカード1と通信を開始するため、以下の手順でアクティベーション処理を実行する。まず、ホストCPU5は、タイミングT1で、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してI/O制御部62を制御してSC_RST、SC_CLK、及び、SC_I/O端子をハイ・インピーダンスの状態からLowレベルに切り換える。
Receiving the low level interrupt signal RDY / INT #, the
なお、スマートカード制御部15とスマートカード1との間に規格上必要なプルアップ抵抗が接続されているため、SC_I/Oは、ハイ・インピーダンス状態でもHighレベルになっている。
Since a pull-up resistor required by the standard is connected between the smart
タイミングT2において、ホストCPU5は、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してカード検出部24を制御し、SC_PWR端子をHighレベルに切り換えてカード用の電源スイッチ(図5のスイッチ76を参照)をオンに切り換え、SC_VCC端子に電源供給を開始する。
At the timing T2, the
タイミングT3において、ホストCPU5は、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してI/O制御部62を制御し、SC_I/O端子をハイ・インピーダンス状態にして受信モードにする。
At timing T3, the
タイミングT4において、ホストCPU5は、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してI/O制御部62を制御し、SC_CLK端子からクロック信号を供給し始める。これにより、アクティベーション処理が完了する。SCB制御部20は、クロック信号の出力に伴い、アクティベーション終了信号ACTEND#をリセット制御部66に出力する。
At timing T4, the
Lowレベルのアクティベーション終了信号ACTEND#を受取ったリセット制御部66は、所定のリセット期間経過後のタイミングT5においてSC_RST端子をHighレベルに切り換えてリセット期間を終了する。ホストCPU5は、スマートカード1からI/O制御部62等を介してATR(初期応答信号)信号が送られてくるのを待機する。
Upon receiving the low-level activation end signal ACTEND #, the
上述したように、タイミング制御部として独立して動作するリセット制御部66を備えたI/O制御部62を採用することにより、改良したコンバータC1を用意したことにより信号出力の厳密なタイミング制御ができなくなるという問題を解決することができた。
As described above, by adopting the I /
1 スマートカード、4 チップセット、5 ホストCPU、6 メモリー、7 ハードディスク、8 PCカード・コントローラ、10,50 アクティブアダプタ、11,51 PCカード・インターフェース、15 スマートカード制御部、53 アドレスデコーダ。
1 smart card, 4 chipset, 5 host CPU, 6 memory, 7 hard disk, 8 PC card controller, 10, 50 active adapter, 11, 51 PC card interface, 15 smart card controller, 53 address decoder.
Claims (20)
上記カードコントローラと非準拠カードとの間に、非準拠カードのデータを準拠カードのデータに変換するため、非準拠カード用のI/Oを有する非準拠カード制御部と、上記非準拠カード制御部と専用の伝送路で接続され、準拠カード用のI/Oを有するインターフェースとで構成されることを特徴とするカード認識システム。 A non-compliant card that does not comply with the standard, a computer that has a card controller for transmitting and receiving data to and from the compliant card that conforms to the standard, and an adapter that connects the non-compliant card to the computer In the card recognition system that recognizes the non-compliant card as a compliant card,
A non-compliant card control unit having an I / O for a non-compliant card for converting non-compliant card data into compliant card data between the card controller and the non-compliant card, and the non-compliant card controller. And a dedicated transmission line and an interface having I / O for a compliant card.
上記異形カードとカードコントローラとの間に、異形カードのデータを標準カードのデータに変換するため、異形カード用のI/Oを有する異形カード制御部と、上記異形カード制御部と専用の伝送路で接続され、標準カード用のI/Oを有するインターフェースとを備えることを特徴とするカード認識システム。 A variant card having a connector different in shape from a standard card connector provided in the computer, a computer including a card controller for sending and receiving data to and from the standard card, and the variant card for connecting the variant card to the computer In a card recognition system having an adapter and recognizing the irregular card as a standard card,
In order to convert the irregular card data into the standard card data between the irregular card and the card controller, the irregular card control unit having an irregular card I / O, and the irregular card control unit and a dedicated transmission line And an interface having an I / O for a standard card.
上記カードコントローラと非準拠カードとの間において、非準拠カードのデータをデータの規格も含めて準拠カードのデータに変換するデータ変換部と、上記データ変換部の出力をコンピュータに出力するカードインターフェースと、上記データ変換部とカードインターフェースとの間で直接データのやり取りを行うための専用の伝送路とを備えたことを特徴とするカード認識システム。 A non-compliant card that does not comply with the standard, a computer that includes a card controller for data transmission and reception with a compliant card that conforms to the standard, and an adapter for connecting the non-compliant card to the computer In a card recognition system that recognizes non-compliant cards that do not comply with the standard,
A data converter for converting non-compliant card data to compliant card data including data standards between the card controller and the non-compliant card; and a card interface for outputting the output of the data converter to a computer; A card recognition system comprising a dedicated transmission path for directly exchanging data between the data converter and the card interface.
The card recognition system according to any one of claims 15 to 19, wherein the card adapter is a passive card adapter, and the controller includes the data conversion unit and a card interface.
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003320256A JP4502613B2 (en) | 2003-09-11 | 2003-09-11 | Non-compliant card recognition system and non-compliant card recognition method |
US10/925,461 US7383982B2 (en) | 2003-08-27 | 2004-08-24 | Card recognition system for recognizing standard card and non-standard card |
TW093125579A TWI351609B (en) | 2003-08-27 | 2004-08-26 | Card recognition system for recognizing standard c |
CNB2004101005494A CN100440242C (en) | 2003-08-27 | 2004-08-27 | Card recognition system for recognizing standard card and non-standard card |
US12/127,452 US7712659B2 (en) | 2003-08-27 | 2008-05-27 | Card recognition system for recognizing standard card and non-standard card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003320256A JP4502613B2 (en) | 2003-09-11 | 2003-09-11 | Non-compliant card recognition system and non-compliant card recognition method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005085237A true JP2005085237A (en) | 2005-03-31 |
JP4502613B2 JP4502613B2 (en) | 2010-07-14 |
Family
ID=34418951
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003320256A Expired - Fee Related JP4502613B2 (en) | 2003-08-27 | 2003-09-11 | Non-compliant card recognition system and non-compliant card recognition method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4502613B2 (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001075746A (en) * | 1999-08-05 | 2001-03-23 | O 2 Micro Internatl Ltd | Integrated pc card host controller for detecting and operating plural extended cards |
-
2003
- 2003-09-11 JP JP2003320256A patent/JP4502613B2/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001075746A (en) * | 1999-08-05 | 2001-03-23 | O 2 Micro Internatl Ltd | Integrated pc card host controller for detecting and operating plural extended cards |
Also Published As
Publication number | Publication date |
---|---|
JP4502613B2 (en) | 2010-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7712659B2 (en) | Card recognition system for recognizing standard card and non-standard card | |
US6901465B2 (en) | Data transfer control device, electronic equipment, and data transfer control method | |
US7505461B2 (en) | Data transfer control device, electronic instrument, and data transfer control method | |
KR20010022816A (en) | A universal serial bus device controller | |
JP2007518160A (en) | Multi-module circuit card with direct memory access between modules | |
KR20050046799A (en) | Method and system for using a memory card protocol inside a bus protocol | |
US8335883B2 (en) | Data processing device and data processing system | |
US7565469B2 (en) | Multimedia card interface method, computer program product and apparatus | |
JP2001236304A (en) | Microcomputer | |
JP2010086524A (en) | Bridge device with function to save power | |
US20050091564A1 (en) | Data transfer control device, electronic instrument, and data transfer control method | |
US20080126588A1 (en) | Memory card | |
JP2008521080A5 (en) | ||
CN107153412B (en) | A kind of CAN controller circuit with transmission FIFO | |
US6799231B2 (en) | Virtual I/O device coupled to memory controller | |
US20070131767A1 (en) | System and method for media card communication | |
JP4502613B2 (en) | Non-compliant card recognition system and non-compliant card recognition method | |
CN111723033A (en) | Multifunctional serial communication interface equipment and method thereof | |
US7172129B2 (en) | Integrated circuit card capable of automatically transmitting NULL byte information without intervention by CPU | |
US7386648B2 (en) | PC card controller with reduced number of terminals | |
EP0702306A1 (en) | System and method for interfacing risc busses to peripheral circuits using another template of busses in a data communication adapter | |
WO2006128348A1 (en) | A ic card controller and a method for controlling the ic card | |
US6574697B2 (en) | Data transfer equipment that provides high speed data transmission between data terminal equipment and data circuit terminating equipment | |
JP4097377B2 (en) | Microcomputer | |
ZA200704397B (en) | Multimedia card interface method, computer program product and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20051013 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080909 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081110 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090721 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090916 |
|
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: 20100413 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100420 |
|
R150 | Certificate of patent (=grant) or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130430 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (prs date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140430 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |