JP2005085237A - Card recognition system - Google Patents

Card recognition system Download PDF

Info

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
Application number
JP2003320256A
Other languages
Japanese (ja)
Other versions
JP4502613B2 (en
Inventor
Hitoshi Yamamoto
斉 山本
Hiromasa Kusakabe
弘昌 日下部
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003320256A priority Critical patent/JP4502613B2/en
Priority to US10/925,461 priority patent/US7383982B2/en
Priority to TW093125579A priority patent/TWI351609B/en
Priority to CNB2004101005494A priority patent/CN100440242C/en
Publication of JP2005085237A publication Critical patent/JP2005085237A/en
Priority to US12/127,452 priority patent/US7712659B2/en
Application granted granted Critical
Publication of JP4502613B2 publication Critical patent/JP4502613B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a card recognition system provided with an improved converter which has a simple configuration and can efficiently transfer data. <P>SOLUTION: The card recognition system, in which a non-compliant card which does not comply with standard is provided with a computer, in order to recognize the non-compliant card, which comprises a card adapter for connecting the non-compliant card to a connector for a compliant card which complies with the standard, and a converter for allowing the computer to recognize the non-compliant card connected to the card adapter as a compliant card, the converter including a non-compliant card controlling part, having an I/O for the non-compliant card on the non-compliant card side, is characterized in that the converter has an interface which directly converts the data outputted from the non-compliant card control part to data of the compliant card for outputting the converted data to the computer. <P>COPYRIGHT: (C)2005,JPO&NCIPI

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を参照)。
特開2001−75746号公報
The adapter includes an active adapter and a passive adapter (see, for example, Patent Document 1 below).
JP 2001-75746 A

アクティブアダプタは、上記コンバータを内蔵するアダプタであり、当該アクティブアダプタを用いるカード認識システムでは、コンピュータは、スマートカード等の非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 smart card 1 that is a non-PC card, and the computer 3 and the active adapter 10 that constitute the recognition system S3 of the smart card 1.

コンピュータ3は、PCIバスB1を備えるチップセット4に取付けられたCPU5、メモリ6、ハードディスク7、及び、PCMCIAに準拠するPCカードを認識するためのPCカード・コントローラ8、並びに、上記PCカード・コントローラ8に接続されるPCカード用コネクタ2を備える。   The computer 3 includes a CPU 5, a memory 6, a hard disk 7, a PC card controller 8 for recognizing a PC card conforming to PCMCIA, and the PC card controller, which are attached to a chip set 4 having a PCI bus B1. PC card connector 2 connected to 8.

スマートカード用アクティブアダプタ10は、スマートカード1が備える接触端子面1aに対応する接触コネクタ16と、コンピュータ3が備えるPCカード用のオス型コネクタ2に対応するメス型コネクタ10bとの間に、非PCカードであるスマートカードから出力されたデータをPCカードのデータに変換してコンピュータ側に出力するコンバータC2を備える。   The smart card active adapter 10 is provided between the contact connector 16 corresponding to the contact terminal surface 1a included in the smart card 1 and the female connector 10b corresponding to the male connector 2 for PC card included in the computer 3. A converter C2 is provided that converts data output from the smart card, which is a PC card, to PC card data and outputs the data to the computer.

コンバータ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 PC card controller 8 via the connector 2, a CPU 12, RAM 13, ROM 14, and a smart card control unit that exchange data with the interface 11 via the bus B2. 15.

スマートカード用の接触コネクタ16にスマートカード1が挿し込まれると、スマートカード制御部15がこれを検知し、CPU12に伝える。CPU12は、PCカード・インターフェース11を介して、コンピュータ3のPCカード・コントローラ8に、スマートカード1からの情報を出力する。   When the smart card 1 is inserted into the contact connector 16 for smart card, the smart card control unit 15 detects this and transmits it to the CPU 12. The CPU 12 outputs information from the smart card 1 to the PC card controller 8 of the computer 3 via the PC card interface 11.

スマートカード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 smart card 1 to the computer 3 is as follows. Data from the smart card 1 is temporarily stored in a FIFO 15 a built in the smart card control unit 15. The FIFO 15a functions as a so-called buffer memory that absorbs the difference in data processing speed between the smart card 1 and the PC card. When detecting that the data is stored in the FIFO 15a, the CPU 12 reads the data stored from the FIFO 15a and stores it in the working RAM 13. The CPU 12 informs the PC card controller 8 of the computer 3 that there is data received from the smart card 1 using the interrupt signal to the PC card controller 8 of the computer 3 via the PC card interface 11 and the connector 2, and then executes the RAM 13 in the same procedure. Is output to the PC card controller 8.

なお、上記RAM13に格納されているデータは、PCカード・インターフェース11に内蔵するレジスタ11aに一旦保持された後に、出力される。   The data stored in the RAM 13 is temporarily stored in the register 11 a built in the PC card interface 11 and then output.

一方、コンピュータ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 computer 3 to the smart card 1 is as follows. The host CPU 5 in the computer 3 outputs the data stored in the memory 6 to the connector 2 via the chip set 4, PCI bus B 1, and PC card controller 8. The PC card interface 11 that has received the data via the connector 2 temporarily stores the transmission data in the built-in register 11a. When the CPU 12 detects that the transmission data is stored in the register 11a, the PC 12 receives the transmission data. Data is written into the working RAM 13 via the bus B2. The CPU 12 writes the data written in the RAM 13 to the FIFO 15 a built in the smart card control unit 15. The smart card control unit 15 outputs the data written in the FIFO 15 a to the smart card 1 via the contact connector 16. Note that all the programs executed by the CPU 12 are built in the flash ROM 14.

従来のスマートカード用アクティブカード10が備えるコンバータC2では、PCカード・インターフェース11とスマートカード制御部15との間でデータのやり取りを行うためにCPU12、ワークRAM13、及び、フラッシュROM14を備えており、回路規模が大きいといった問題があった。   The converter C2 included in the conventional smart card active card 10 includes a CPU 12, a work RAM 13, and a flash ROM 14 in order to exchange data between the PC card interface 11 and the smart card control unit 15. There was a problem that the circuit scale was large.

また、上述するように、スマートカードから出力されたデータは、コンバータ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 card control unit 15, the working RAM 13, and the register 11a of the PC card interface 11 in order in the converter C2. Are output to the computer 3. For this reason, the data transmission efficiency was poor.

また、上記コンバータC2を構成するフラッシュROM14は、通常のCMOSと異なる工程により製造されるため、製造工程数が多くなりコスト高になるといった問題があった。これは、フラッシュROMの代わりにEEPROMを用いる場合であっても同様である。   Further, since the flash ROM 14 constituting the converter C2 is manufactured by a process different from a normal CMOS, there is a problem that the number of manufacturing processes is increased and the cost is increased. This is the same even when an EEPROM is used instead of the flash ROM.

本発明は、上記コンバータC2からCPU12、RAM13、及び、ROM14を不要にして、簡単な構成、例えば、1チップ化しやすい構成で、かつ、効率良くデータの伝送を行うことができる改良したコンバータを備えるカード認識システムを提供することを目的とする。   The present invention is provided with an improved converter that eliminates the need for the CPU 12, RAM 13, and ROM 14 from the converter C2, has a simple configuration, for example, a configuration that can be easily made into one chip, and can efficiently transmit data. An object is to provide a card recognition system.

本発明の第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) Embodiment 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 active adapter 50 constituting the card recognition system S1 of the first embodiment is not compliant with PCMCIA, for example, a non-compliant card having a connector with a different shape (hereinafter referred to as a modified card if necessary). 9 as a converter for recognizing a smart card that is a PCMCIA-compliant card (hereinafter referred to as a standard card or a PC card as required) as a smart card that is a PCMCIA-compliant card. The interface 11, CPU 12, RAM 13, and ROM 14 are removed from C2, and instead, a converter C1 having an improved PC card interface 51 is employed.

コンバータ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 computer 3 includes a CPU 5, a memory 6, a hard disk 7, and a PC card controller 8 for recognizing a PC card (standard card) compliant with PCMCIA, which are attached to a chipset 4 having a PCI bus B1, and the above A PC card connector 2 connected to the PC card controller 8 is provided.

異形カードであるスマートカード用のアクティブアダプタ50は、スマートカード1が備える接触端子面1aに対応する接触コネクタ16と、コンピュータ3が備えるPCカード用のオス型コネクタ2に対応するメス型コネクタ10bとの間に、スマートカード1から出力されたデータをPCカード用のデータに変換してコンピュータ側に出力するコンバータC1を備える。   An active adapter 50 for a smart card which is a variant card includes a contact connector 16 corresponding to the contact terminal surface 1a included in the smart card 1, and a female connector 10b corresponding to the male connector 2 for PC card included in the computer 3. Are provided with a converter C1 that converts data output from the smart card 1 into data for a PC card and outputs the data to the computer side.

コンバータC1は、従来のコンバータC2にも設けられていたスマートカード制御部15と、当該スマートカード制御部15と専用の伝送路であるバスB2を介して接続されている改良したPCカード・インターフェース51とで構成される。   The converter C1 includes a smart card control unit 15 that is also provided in the conventional converter C2, and an improved PC card interface 51 that is connected to the smart card control unit 15 via a bus B2 that is a dedicated transmission path. It consists of.

上記スマートカード制御部15には、スマートカード1とPCカード間のデータ処理速度の違いを吸収する所謂バッファメモリとして機能するFIFO15aが内蔵されている。   The smart card control unit 15 incorporates a FIFO 15a that functions as a so-called buffer memory that absorbs the difference in data processing speed between the smart card 1 and the PC card.

上記PCカード・インターフェース51は、スマートカード制御部15から出力された信号のデータの規格を、PCカードのものに変換して出力する。上記データの規格には、通常、シリアル/パラレルといったデータの形式、及び、データのビット数等が含まれるが、PCカード・インターフェース51では、後に詳述するように、専用の回路(信号変換部54)を用いてデータのビット数を調節する。   The PC card interface 51 converts the data standard of the signal output from the smart card control unit 15 into that of the PC card and outputs it. The data standard usually includes the data format such as serial / parallel, the number of bits of the data, etc., but the PC card interface 51 uses a dedicated circuit (signal conversion unit) as will be described in detail later. 54) is used to adjust the number of bits of data.

図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 PC card interface 51. The PC card interface unit 51 is roughly composed of an interrupt signal converting inverter 52, an address decoder 53, and a signal converting unit 54. The address decoder 53 generates control signals SCCREN [0] to [7] used by the smart card control unit 15. The signal converter 54 converts the number of bits of the smart card data converted into the data for the PC card by the smart card control unit 15 into the number of bits of the data for the PC card.

割り込み信号変換用インバータ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 card control unit 15 to the host CPU 5 of the computer 3 when the smart card 1 is connected, and outputs a low active signal RDY / INT. Output as #. Hereinafter, a signal with “#” at the end means that it is Low active.

アドレスデコーダ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 computer 3 is assigned to the eight registers. If one of the registered addresses corresponds, one of the address data A [[] among the register enable signals SCCREN [0] to [7], which are control signals, is used to designate the address bus of the PC card bus. The signal of the register to which the value of “25: 0] is assigned is switched to the high level.

図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 registers 53a to 53h for storing eight types of 26-bit data set in advance, and 26-bit data and address data stored in the registers 53a to 53h. An exclusive OR (EXOR) with A [25: 0] is obtained, and eight EXOR gates 53i to 53p that output the result as register enable signals SCCREN [0] to [7] are formed.

上記構成のアドレスデコーダ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 registers 53a to 53h that match the address data A [25: 0]. ], The corresponding one signal is switched to the High level and output.

再び、図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]と、逆に、Highレベルの信号入力でコンピュータ側のビットデータD[n]をスマートカード側に通すトライステートバッファ57[n]とを並列に接続したものである。 Reference is again made to FIG. The signal conversion unit 54 includes two OR gates 55 and 56, eight bidirectional gates 57 [0] to 57 [7], and eight unidirectional gates 57 [8] to 57 [15]. Is done. Note that the eight bidirectional gates 57 [n] (where n is 0 to 7) are tri-state buffers 57 [n] that pass the bit data SCPUD [n] on the smart card side to the computer side with a low level signal input. In contrast, A is connected in parallel with a tri-state buffer 57 [n] B that passes the bit data D [n] on the computer side to the smart card side with a high level signal input.

また、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 gate 55 is a low level write enable signal when both the write enable signal WE # and the chip enable signal CE # output from the PC card controller 8 of the computer 3 are switched to the low level in accordance with PCMCIA. Signal SCPURW # is output. When the signal WE # or CE # is switched to the high level, the OR gate 55 outputs a high level data read enable signal SCPURW #.

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 OR gate 56 includes eight bidirectional gates 57 [0] to 57 [7] and eight one-way signals when both the chip enable signal CE # and the output enable signal OE # are at a low level. A low level signal is output to the gates 57 [8] to 57 [15]. As a result, the 8-bit data SCPUD [7: 0] on the smart card side is converted to 16-bit data D [15: 0] and output to the computer 3 side.

上記信号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 OR gate 56 converts the high level signal into the eight bidirectional gates 57 [0] to 57 [7] and the eight 1's. Output to the direction gates 57 [8] to 57 [15]. In this case, the upper 8 bits of the 16-bit data D [15: 0] from the computer 3 side are deleted and output to the smart card 1 side as 8-bit data SCPUD [7: 0].

このように改良したPCカード・インターフェース51では、信号変換部54の働きにより、レジスタの類を介在することなく、スマートカード1とコンピュータ3の間のデータの受け渡しを効率良く行うことができるようになる。   In the PC card interface 51 improved in this way, the function of the signal conversion unit 54 can efficiently exchange data between the smart card 1 and the computer 3 without using a register. Become.

図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 card control unit 15. The smart card control unit 15 includes an SCB control unit 20, a FIFO 15a, an RX / ATR control unit 22, a TX control unit 23, a card detection unit 24, and an I / O control unit 25. The smart card control unit 15 has the same configuration as that incorporated in the converter C2 of the active adapter 10 used in the conventional card recognition system shown in FIG. A brief description will be given of the fact that the signal output from the interface 51 is directly input to the smart card control unit 15 and processed.

カード検出部24には、接触コネクタ16にスマートカード1が挿し込まれたか否かを表すSC_CD#信号が入力される。カード検出部24は、当該SC_CD#信号がLowレベルの時にSCB制御部20にスマートカードを検出した旨の通知を行う。また、カード検出部24は、図示しない電源にスマートカード1への給電を許可するSC_PWR信号を出力する。   An SC_CD # signal indicating whether the smart card 1 is inserted into the contact connector 16 is input to the card detection unit 24. The card detection unit 24 notifies the SCB control unit 20 that a smart card has been detected when the SC_CD # signal is at a low level. Further, the card detection unit 24 outputs an SC_PWR signal that permits power supply to the smart card 1 to a power source (not shown).

I/O制御部25は、後に説明するように、SCB制御部20からの指示に従い、スマートカード1のリセット信号SC_RSTを出力する。また、I/O制御部25は、スマートカード1とI/O信号SC_I/Oやクロック信号SC_CLKのやり取りを行う。   The I / O control unit 25 outputs a reset signal SC_RST of the smart card 1 in accordance with an instruction from the SCB control unit 20 as will be described later. The I / O control unit 25 exchanges the I / O signal SC_I / O and the clock signal SC_CLK with the smart card 1.

RX/ATR制御部22は、I/O制御部25から1ビット単位でデータを受け取り、これを8ビットのデータにパラレル変換してからFIFO15aに出力する。また、RX/ATR制御部22は、初期接続時にスマートカード1から受け取るATR(初期応答情報)に応じて1ビットのデータを伝送するのに必要なクロック数を特定する初期ETU(ビット伝送時間)を決定する。   The RX / ATR control unit 22 receives data from the I / O control unit 25 in 1-bit units, converts this into 8-bit data in parallel, and outputs the data to the FIFO 15a. The RX / ATR control unit 22 also specifies an initial ETU (bit transmission time) that specifies the number of clocks required to transmit 1-bit data according to the ATR (initial response information) received from the smart card 1 at the time of initial connection. To decide.

TX制御部23は、FIFO15aからの8ビットデータを1ビット単位のデータにシリアル変換してからI/O制御部25に出力する。なお、TX制御部23は、制御部20にも接続されている。   The TX control unit 23 serially converts 8-bit data from the FIFO 15 a into 1-bit unit data, and then outputs the data to the I / O control unit 25. The TX control unit 23 is also connected to the control unit 20.

スマートカード1とPCカード間のデータ処理速度の違いを吸収する所謂バッファメモリとして機能するFIFO15aは、8ビットデータを格納できるFIFOを全部で8個(8ワード分)備えており、RX/ATR制御部22から入力された8ビットデータをSCBDBというデータバス(図示せず)に出力したり、上記SCBDBから入力されて8個の内の1つのFIFO内に蓄えられた8ビットデータをTX制御部23に出力する。なお、SCBDBは、SCB制御部20にも接続されている。   The FIFO 15a, which functions as a so-called buffer memory that absorbs the difference in data processing speed between the smart card 1 and the PC card, has a total of eight FIFOs (for eight words) that can store 8-bit data. RX / ATR control The 8-bit data input from the unit 22 is output to a data bus (not shown) called SCBDB, or the 8-bit data input from the SCBDB and stored in one of the eight FIFOs is transmitted to the TX control unit. To 23. The SCBDB is also connected to the SCB control unit 20.

以上に説明したように、実施の形態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 RAM 13 provided in the converter C2 and the register 11a) of the PC card interface 11 are completely removed, the contents realized by the CPU 12 in the conventional converter C2 shown in FIG. In addition to the effects obtained when implemented with a circuit, it is possible to further speed up the processing and reduce the size by eliminating the type of registers.

また、図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) Embodiment 2
In the card recognition system S1 according to the first embodiment, the improved converter C1 is provided inside the active type adapter 50. However, the card recognition system of the present invention is not limited to the form using the active type adapter 50. You may employ | adopt the form using a passive type adapter. In this case, the improved converter C1 is used as a converter built in the computer.

図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 passive adapter 80. As shown in FIG. The passive adapter 80 includes a contact connector 80a corresponding to the contact terminal surface 1a of the smart card 1 and a female connector 80b for a PC card, and internally converts the pin wiring of the smart card 1 to the corresponding PC card. It is well known.

コンピュータ9は、PCIバスB1を備えるチップセット4に取り付けられたCPU5、メモリ6、ハードディスク7、及び、PCMCIAに準拠するPCカードを認識するためのPCカード・コントローラ70と、上記PCカード・コントローラ70に接続される上記PCカード用のコネクタ2とを備える。   The computer 9 includes a CPU 5, a memory 6, a hard disk 7, and a PC card controller 70 for recognizing a PC card conforming to PCMCIA, which are attached to the chipset 4 including the PCI bus B 1, and the PC card controller 70. And the PC card connector 2 connected to the PC card.

以下、PCカード・コントローラ70の構成について説明する。PCカード検出部71は、コネクタ2に挿し込まれたカードが、PCMCIAに準拠するPCカードであるのか、それともスマートカード用パッシブアダプタ80であるのかの判断を行う。   The configuration of the PC card controller 70 will be described below. The PC card detection unit 71 determines whether the card inserted into the connector 2 is a PC card conforming to PCMCIA or a smart card passive adapter 80.

マルチプレクサ74は、PCカード検出部71の検出結果に基づいてバスの切り換えを行い、コネクタ2に接続されたカードがPCカードの場合には、PCカード制御部72とコネクタ2とを接続し、コネクタ2に接続されたカードがスマートカード用パッシブアダプタ80である場合には、コネクタ2とコンバータC1を接続する。   The multiplexer 74 performs bus switching based on the detection result of the PC card detection unit 71. When the card connected to the connector 2 is a PC card, the multiplexer 74 connects the PC card control unit 72 and the connector 2 to each other. When the card connected to 2 is the smart card passive adapter 80, the connector 2 and the converter C1 are connected.

コンバータ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 passive adapter 80, the converter C1 is interposed between the connector 2 and the PC card control unit 72, and the data from the smart card 1 is converted to the PC card compliant with PCMCIA. Then, the converted data is output to the PC card control unit 72. The output of the PC card control unit 72 is transmitted to the chipset 4 via the PCI interface 73 and the PCI bus B1.

パワースイッチ76は、PCカード制御部72又はコンバータC1よりHighレベルのPWR信号又はSC_PWR信号が出力された場合に、コネクタ2を介して接続されたカードに電源電圧Vccを供給する。   The power switch 76 supplies the power supply voltage Vcc to the card connected via the connector 2 when a high level PWR signal or SC_PWR signal is output from the PC card control unit 72 or the converter C1.

上記パッシブアダプタ80を用いるカード認識システムにおいても、コンピュータ9内に改良したコンバータC1を用いることにより、回路規模の小型化及び当該コンバータにおけるデータ伝送効率の向上を図ることができる。   Also in the card recognition system using the passive adapter 80, by using the improved converter C1 in the computer 9, the circuit scale can be reduced and the data transmission efficiency in the converter can be improved.

(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 computer 3. When the host CPU 5 is a multi-task type that processes a plurality of tasks in parallel, when executing an application that requires high processing capacity (so-called heavy), or when executing a number of applications simultaneously, It becomes difficult to perform precise timing control. For example, it becomes difficult to perform timing control when reading and writing data and strict timing control such as a reset period. As a result, it is difficult to always satisfy the EMV standard that the reset period must be a period (about 10 ms to 11.25 ms) in which a clock signal having a frequency of about 4 MHz is cycled 40000 to 45000 times.

そこで、上記実施の形態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 card control unit 15 constituting the converter C1. In addition, a smart card control unit 60 including an I / O control unit 62 incorporating a large capacity FIFO 61 as a buffer memory and a reset control unit 66 operating independently as a timing control unit was prepared. As a result, it is possible to reliably read and write data from the smart card 1, and it is possible to strictly control the reset period, specifically, to control the reset period that satisfies the EMV standard. Furthermore, it is possible to cope with various timing controls by changing the setting of the reset control unit 66 (setting value of a register 68 described later) from the host CPU 5.

図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 card control unit 15 are denoted by the same reference numerals. As described above, in the smart card control unit 60, compared to the smart card control unit 15, the FIFO 61 capable of holding a large number of words (260) and the I / O control unit incorporating the reset control unit 66. 62 is provided.

まず、260ワード記憶できるFIFO61について説明する。図4に示したスマートカード制御部15が備えるFIFIO15aでは、8ビットのデータを8ワード分しか保持できない。スマートカードのプロトコルでは、最大260バイトのデータが、ブロックデータとして連続して送受信される。例えば、スマートカード1からのデータ出力速度よりもホストCPU5のデータ受け取り速度が低い場合、FIFO15aがオーバーフロー(いわゆるバッファオーバーフロー)を起こして受信データを正確に読み取ることができなくなってしまう。他方、ホストCPU5からFIFO15aへのデータの書き込み速度よりも、スマートカード1のFIFO15aからのデータ受取り速度の方が速い場合、スマートカード1へのデータ伝送が途切れ途切れに行われることになり、スマートカード1がブロックデータの量を誤認識してしまう。   First, the FIFO 61 capable of storing 260 words will be described. The FIFO 15a included in the smart card control unit 15 shown in FIG. 4 can hold 8-bit data for only 8 words. In the smart card protocol, up to 260 bytes of data are continuously transmitted and received as block data. For example, when the data reception speed of the host CPU 5 is lower than the data output speed from the smart card 1, the FIFO 15a overflows (so-called buffer overflow) and the received data cannot be read accurately. On the other hand, when the data receiving speed from the FIFO 15a of the smart card 1 is faster than the data writing speed from the host CPU 5 to the FIFO 15a, the data transmission to the smart card 1 is performed intermittently. 1 erroneously recognizes the amount of block data.

そこで、FIFO15aの代わりに、スマートカード1から一度に転送可能な最大のバイト数である260ワード分の8ビットデータを格納できる大容量のFIFO61を用意し、当該FIFO61へのデータの書き込みが完了してからスマートカード1又はコンピュータ9へのデータの読み出し又は書き込みを行うことを可能にして上記不都合を解決した。   Therefore, instead of the FIFO 15a, a large-capacity FIFO 61 that can store 8-bit data of 260 words, which is the maximum number of bytes that can be transferred from the smart card 1 at one time, is prepared, and writing of data to the FIFO 61 is completed. After that, it was possible to read or write data to the smart card 1 or the computer 9 to solve the above inconvenience.

引き続き、リセット制御部66を内蔵するI/O制御部62の説明を行う。図7は、I/O制御部62内の構成を示す図である。I/O制御部62は、図4に示した従来のI/O制御部25に、ANDゲート65及びリセット制御部66を追加したものである。なお、リセット制御に関係しない構成物については省略してある。   Subsequently, the I / O control unit 62 including the reset control unit 66 will be described. FIG. 7 is a diagram illustrating a configuration within the I / O control unit 62. The I / O control unit 62 is obtained by adding an AND gate 65 and a reset control unit 66 to the conventional I / O control unit 25 shown in FIG. Note that components not related to the reset control are omitted.

ラッチ回路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 latch circuit 63. When the reset output enable signal SCRSTOE # switches to Low, the one-way gate (tri-state buffer) 64 is turned on and a High level signal output from the latch circuit 63 is output to the smart card 1 as the reset signal SC_RST. The The reset clear signal SCRSTCLR # is input to the timing signal input terminal of the flip-flop 63, and switches the output of the flip-flop 63 after reset to the high level again.

リセット制御部66は、SCB制御部から出力されるアクティベーション処理の終了を意味するLowレベルの信号ACTEND#の入力に応じてカウントを開始する16ビットのカウンタ67と、16ビットのカウント値を保持するレジスタ68と、上記カウンタ67の出力するカウント値とレジスタ68の保持しているカウント値を比較し、一致した場合にLowレベルのリセットエンド信号RSTENDを出力する比較器69とで構成されている。   The reset control unit 66 holds a 16-bit counter 67 that starts counting in response to an input of a low-level signal ACTEND # that means the end of the activation process output from the SCB control unit, and a 16-bit count value. And a comparator 69 that compares the count value output from the counter 67 with the count value held in the register 68 and outputs a low-level reset end signal RSTEND when they match. .

上記構成のリセット制御部66では、ホストCPU5から上記アクティベーション処理の終了を意味する信号ACTEND#が入力されると、予め設定したクロック数(例えば41000)をカウントした後にリセット期間を終了させるためLowレベルのリセットエンド信号RSTENDを出力する。   When the reset control unit 66 configured as described above receives a signal ACTEND # indicating the end of the activation process from the host CPU 5, it counts a preset number of clocks (for example, 41000) and then ends the reset period. A level reset end signal RSTEND is output.

上記リセット制御部66の比較器69から出力されるリセットエンド信号RSTENDは、2入力ANDゲート65の一方の信号入力端子に入力されている。ANDゲート65の残りの信号入力端子には、従来よりI/O制御部に入力されていたリセットセット信号SCRSTSET#が入力されている。   The reset end signal RSTEND output from the comparator 69 of the reset control unit 66 is input to one signal input terminal of the 2-input AND gate 65. The remaining signal input terminal of the AND gate 65 receives the reset set signal SCRSSET # that has been input to the I / O control unit.

上記構成において、ANDゲート65は、従来よりI/O制御部に入力されていたリセットセット信号SCRSTSET#と、上記リセットエンド信号RSTENDの何れか一方がLowとなった時に、リセット信号をLowレベルに保持していたラッチ回路63をリセットする。   In the above configuration, the AND gate 65 sets the reset signal to the low level when one of the reset set signal SCRSSET # and the reset end signal RSTEND, which has been conventionally input to the I / O control unit, becomes low. The held latch circuit 63 is reset.

なお、リセット制御部66の16ビットレジスタ68の設定値を、ホストCPU5から変更可能とすることで、EMV規格以外の規格、例えば、ISO7816に準拠した40000クロック以下のリセット期間を満たすように設定することができる。   Note that the setting value of the 16-bit register 68 of the reset control unit 66 can be changed from the host CPU 5 so as to satisfy a reset period of 40000 clocks or less according to a standard other than the EMV standard, for example, ISO 7816. be able to.

図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 smart card 1 is connected. The card detection unit 24 detects that the smart card 1 has been inserted into the contact connector 16 (contact connector 80a in the case of the passive adapter 80) before the timing T1 by switching the SC_DC # signal to the low level, This is notified to the SCB control unit 20. The SCB control unit 20 outputs a high level interrupt signal SCCINT to the host CPU 5. The interrupt signal SCCINT is inverted in the PC card interface unit 51 and then sent to the PC card controller 8, the chipset 4, and the host CPU 5 as the PC card interrupt signal RDY / INT #.

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 host CPU 5 executes the activation process according to the following procedure in order to start communication with the smart card 1. First, at timing T1, the host CPU 5 controls the SC_RST, SC_CLK, and SC_I by controlling the I / O control unit 62 via the PC card interface 51 and the SCB control unit 20 in the smart card control unit 15. The / O terminal is switched from the high impedance state to the low level.

なお、スマートカード制御部15とスマートカード1との間に規格上必要なプルアップ抵抗が接続されているため、SC_I/Oは、ハイ・インピーダンス状態でもHighレベルになっている。   Since a pull-up resistor required by the standard is connected between the smart card control unit 15 and the smart card 1, SC_I / O is at a high level even in a high impedance state.

タイミングT2において、ホストCPU5は、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してカード検出部24を制御し、SC_PWR端子をHighレベルに切り換えてカード用の電源スイッチ(図5のスイッチ76を参照)をオンに切り換え、SC_VCC端子に電源供給を開始する。   At the timing T2, the host CPU 5 controls the card detection unit 24 via the PC card interface 51 and the SCB control unit 20 in the smart card control unit 15, and switches the SC_PWR terminal to the high level for the card. The power switch (see switch 76 in FIG. 5) is turned on, and power supply to the SC_VCC terminal is started.

タイミングT3において、ホストCPU5は、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してI/O制御部62を制御し、SC_I/O端子をハイ・インピーダンス状態にして受信モードにする。   At timing T3, the host CPU 5 controls the I / O control unit 62 via the PC card interface 51 and the SCB control unit 20 in the smart card control unit 15, and sets the SC_I / O terminal to the high impedance state. Set to receive mode.

タイミングT4において、ホストCPU5は、PCカード・インターフェース51、及び、スマートカード制御部15内のSCB制御部20を経由してI/O制御部62を制御し、SC_CLK端子からクロック信号を供給し始める。これにより、アクティベーション処理が完了する。SCB制御部20は、クロック信号の出力に伴い、アクティベーション終了信号ACTEND#をリセット制御部66に出力する。   At timing T4, the host CPU 5 controls the I / O control unit 62 via the PC card interface 51 and the SCB control unit 20 in the smart card control unit 15, and starts supplying a clock signal from the SC_CLK terminal. . This completes the activation process. The SCB control unit 20 outputs an activation end signal ACTEND # to the reset control unit 66 along with the output of the clock signal.

Lowレベルのアクティベーション終了信号ACTEND#を受取ったリセット制御部66は、所定のリセット期間経過後のタイミングT5においてSC_RST端子をHighレベルに切り換えてリセット期間を終了する。ホストCPU5は、スマートカード1からI/O制御部62等を介してATR(初期応答信号)信号が送られてくるのを待機する。   Upon receiving the low-level activation end signal ACTEND #, the reset control unit 66 switches the SC_RST terminal to the high level at timing T5 after the predetermined reset period has elapsed, and ends the reset period. The host CPU 5 waits for an ATR (initial response signal) signal to be sent from the smart card 1 via the I / O control unit 62 or the like.

上述したように、タイミング制御部として独立して動作するリセット制御部66を備えたI/O制御部62を採用することにより、改良したコンバータC1を用意したことにより信号出力の厳密なタイミング制御ができなくなるという問題を解決することができた。   As described above, by adopting the I / O control unit 62 including the reset control unit 66 that operates independently as the timing control unit, the improved converter C1 is provided, so that the strict timing control of the signal output can be performed. The problem of being unable to do so was solved.

実施の形態1に係るカード認識システムの構成を示す図である。It is a figure which shows the structure of the card | curd recognition system which concerns on Embodiment 1. FIG. PCカード・インターフェースの構成を示す図である。It is a figure which shows the structure of a PC card interface. アドレスデコーダの構成を示す図である。It is a figure which shows the structure of an address decoder. スマートカード制御部の構成を示す図である。It is a figure which shows the structure of a smart card control part. 実施の形態2に係るカード認識システムの構成を示す図である。It is a figure which shows the structure of the card | curd recognition system which concerns on Embodiment 2. FIG. 改良例のカード認識システムで使用するスマートカード制御部の構成を示す図である。It is a figure which shows the structure of the smart card control part used with the card recognition system of an example of improvement. I/O制御部の構成を示す図である。It is a figure which shows the structure of an I / O control part. スマートカード接続時のアクティベーション処理実行時のタイムチャートを示す図である。It is a figure which shows the time chart at the time of the activation process execution at the time of smart card connection. 従来のカード認識システムの構成を示す図である。It is a figure which shows the structure of the conventional card | curd recognition system.

符号の説明Explanation of symbols

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.
上記非準拠カード制御部、又は、上記インターフェースに、非準拠カード制御部から出力されるデータのビット数を準拠カードのデータのビット数に変換する回路を備えたことを特徴とする請求項1に記載のカード認識システム。   2. The circuit according to claim 1, wherein the non-compliant card control unit or the interface includes a circuit that converts the number of bits of data output from the non-compliant card control unit into the number of bits of data of the compliant card. The card recognition system described. 上記非準拠カード制御部は、コンピュータからの要求に応じて信号出力のタイミング制御を独自に行うタイミング制御部を有することを特徴とする請求項1又は請求項2に記載のカード認識システム。   3. The card recognition system according to claim 1, wherein the non-compliant card control unit includes a timing control unit that independently performs timing control of signal output in response to a request from a computer. 上記非準拠カード制御部は、非準拠カードから単位当たりに出力されるデータの最大量以上のバッファメモリを有することを特徴とする請求項1乃至請求項3の何れかに記載のカード認識システム。   The card recognition system according to any one of claims 1 to 3, wherein the non-compliant card control unit has a buffer memory that is equal to or larger than a maximum amount of data output from the non-compliant card per unit. 上記規格がPCMCIAであり、非準拠カードがスマートカードであることを特徴とする請求項1乃至請求項4の何れかに記載のカード認識システム。   5. The card recognition system according to claim 1, wherein the standard is PCMCIA, and the non-compliant card is a smart card. 上記カードアダプタが、上記非準拠カード制御部及びインターフェースを内蔵するアクティブ型カードアダプタであることを特徴とする請求項1乃至請求項5の何れかに記載のカード認識システム。   6. The card recognition system according to claim 1, wherein the card adapter is an active card adapter that includes the non-compliant card control unit and an interface. 上記カードアダプタがパッシブ型カードアダプタであり、上記カードコントローラ内に上記非準拠カード制御部及びインターフェースを備えることを特徴とする請求項1乃至請求項6の何れかに記載のカード認識システム。   The card recognition system according to any one of claims 1 to 6, wherein the card adapter is a passive card adapter, and the card controller includes the non-compliant card control unit and an interface. コンピュータに設けられている標準カード用のコネクタと異なる形状のコネクタを有する異形カードと、標準カードとデータの送受を行うためのカードコントローラを含むコンピュータと、上記異形カードを上記コンピュータに接続するためのアダプタを有し、上記異形カードを標準カードとして認識するカード認識システムにおいて、
上記異形カードとカードコントローラとの間に、異形カードのデータを標準カードのデータに変換するため、異形カード用の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.
上記異形カード制御部、又は、上記インターフェースに、異形カード制御部から出力されるデータのビット数を標準カードのデータのビット数に変換する回路を備えたことを特徴とする請求項8に記載のカード認識システム。   9. The circuit according to claim 8, further comprising a circuit that converts the number of bits of data output from the variant card control unit to the number of bits of data of a standard card in the variant card control unit or the interface. Card recognition system. 上記異形カード制御部は、コンピュータからの要求に応じて信号出力のタイミング制御を独自に行うタイミング制御部を有することを特徴とする請求項8又は請求項9に記載のカード認識システム。   10. The card recognition system according to claim 8, wherein 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. 上記異形カード制御部は、異形カードから単位当たりに出力されるデータの最大量以上のバッファメモリを有することを特徴とする請求項8乃至請求項10の何れかに記載のカード認識システム。   11. The card recognition system according to claim 8, wherein the odd-shaped card control unit has a buffer memory that is equal to or larger than a maximum amount of data output from the odd-numbered card per unit. 上記標準カードがPCMCIAに準拠したPCカードであり、異形カードがスマートカードであることを特徴とする請求項8乃至請求項11の何れかに記載のカード認識システム。   12. The card recognition system according to claim 8, wherein the standard card is a PC card conforming to PCMCIA, and the deformed card is a smart card. 上記カードアダプタが、上記異形カード制御部及びインターフェースを内蔵するアクティブ型カードアダプタであることを特徴とする請求項8乃至請求項12の何れかに記載のカード認識システム。   The card recognition system according to any one of claims 8 to 12, wherein the card adapter is an active card adapter incorporating the odd-shaped card control unit and an interface. 上記カードアダプタがパッシブ型カードアダプタであり、上記カードコントローラ内に上記異形カード及びインターフェースを備えることを特徴とする請求項8乃至請求項13の何れかに記載のカード認識システム。   14. The card recognition system according to claim 8, wherein the card adapter is a passive card adapter, and the card controller includes the deformed card and an interface. 規格に準拠していない非準拠カードと、規格に準拠している準拠カードとデータの送受を行うためのカードコントローラを含むコンピュータと、上記非準拠カードを上記コンピュータに接続するためのアダプタを有し、規格に準拠していない非準拠カードを認識するカード認識システムにおいて、
上記カードコントローラと非準拠カードとの間において、非準拠カードのデータをデータの規格も含めて準拠カードのデータに変換するデータ変換部と、上記データ変換部の出力をコンピュータに出力するカードインターフェースと、上記データ変換部とカードインターフェースとの間で直接データのやり取りを行うための専用の伝送路とを備えたことを特徴とするカード認識システム。
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.
上記データ変換部は、コンピュータからの要求に応じて信号出力のタイミング制御を独自に行うタイミング制御部を有することを特徴とする請求項15に記載のカード認識システム。   16. The card recognition system according to claim 15, wherein the data conversion unit includes a timing control unit that uniquely performs signal output timing control in response to a request from a computer. 上記データ変換部は、非準拠カードから単位当たりに出力されるデータの最大量以上のバッファメモリを有することを特徴とする請求項15又は請求項16に記載のカード認識システム。   17. The card recognition system according to claim 15, wherein 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. 上記規格がPCMCIAであり、非準拠カードがスマートカードであることを特徴とする請求項15乃至請求項17の何れかに記載のカード認識システム。   The card recognition system according to any one of claims 15 to 17, wherein the standard is PCMCIA, and the non-compliant card is a smart card. 上記カードアダプタが、上記データ変換部及びカードインターフェースを内蔵するアクティブ型カードアダプタであることを特徴とする請求項15乃至請求項18の何れかに記載のカード認識システム。   The card recognition system according to any one of claims 15 to 18, wherein the card adapter is an active card adapter incorporating the data converter and a card interface. 上記カードアダプタがパッシブ型カードアダプタであり、上記コントローラ内に、上記データ変換部及びカードインターフェースを備えることを特徴とする請求項15乃至請求項19の何れかに記載のカード認識システム。
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.
JP2003320256A 2003-08-27 2003-09-11 Non-compliant card recognition system and non-compliant card recognition method Expired - Fee Related JP4502613B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (1)

* Cited by examiner, † Cited by third party
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