JP5214520B2 - IC card processing device, IC card processing method, and IC card - Google Patents
IC card processing device, IC card processing method, and IC card Download PDFInfo
- Publication number
- JP5214520B2 JP5214520B2 JP2009086811A JP2009086811A JP5214520B2 JP 5214520 B2 JP5214520 B2 JP 5214520B2 JP 2009086811 A JP2009086811 A JP 2009086811A JP 2009086811 A JP2009086811 A JP 2009086811A JP 5214520 B2 JP5214520 B2 JP 5214520B2
- Authority
- JP
- Japan
- Prior art keywords
- card
- response
- information
- contact
- command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、例えば、CPU、ROM、RAM、EEPROMなどの制御素子を有するIC(Integrated Circuit)チップを内蔵するICカードと称される非接触通信媒体に関する。また本発明は、このような非接触通信媒体を処理する媒体処理装置及び媒体処理方法に関する。 The present invention relates to a non-contact communication medium called an IC card including an IC (Integrated Circuit) chip having control elements such as a CPU, ROM, RAM, and EEPROM. The present invention also relates to a medium processing apparatus and a medium processing method for processing such a non-contact communication medium.
近年、様々な機能を備えたICカードが登場している。例えば、金属端子等により構成される接触インターフェースと電波を送受信するためのアンテナ等により構成される非接触インターフェースを備えたICカードが登場している(特許文献1参照)。 In recent years, IC cards having various functions have appeared. For example, an IC card having a contact interface composed of metal terminals and a non-contact interface composed of an antenna for transmitting and receiving radio waves has appeared (see Patent Document 1).
これらICカードの登場によりICカードの用途は広がり、例えば、ICカードは、クレジットカード、定期券、旅券、免許証、その他の商取引の決済に使われるだけでなく、社員証、会員証、保険証などのIDカードとしても様々な分野で使われるようになっている。 With the advent of these IC cards, the use of IC cards has expanded. For example, IC cards are not only used for payment of credit cards, commuter passes, passports, licenses, and other commercial transactions, but also employee cards, membership cards, insurance cards. It is also used in various fields as an ID card.
例えば、ISO/IEC14443TypeB準拠の非接触ICカードが知られており、非接触ICカードリーダ/ライタは、アンチコリジョン(anti-collision)シーケンスの後に、非接触ICカードからカード情報を取得するようになっている。つまり、非接触ICカードリーダ/ライタは、非接触ICカードに対してREQBコマンドを送信し非接触ICカードからのレスポンスを受信し、さらに非接触ICカードに対してATTRIBコマンドを送信し非接触ICカードからのレスポンスを受信してから、非接触ICカードからカード情報を取得するようになっている。 For example, a contactless IC card conforming to ISO / IEC14443TypeB is known, and a contactless IC card reader / writer obtains card information from the contactless IC card after an anti-collision sequence. ing. That is, the non-contact IC card reader / writer transmits a REQB command to the non-contact IC card, receives a response from the non-contact IC card, and further transmits an ATTRIB command to the non-contact IC card. After receiving the response from the card, the card information is acquired from the non-contact IC card.
具体的には、非接触ICカードリーダ/ライタは、アンチコリジョンシーケンスの後に、非接触ICカードに対してセレクトコマンド及びリードコマンドを送信し、非接触ICカードからカード情報を取得する。このセレクトコマンドは、非接触ICカードのカード情報を格納したファイルを選択するためのコマンドである。非接触ICカードは、セレクトコマンドを受信すると、セレクトコマンドにより選択指示されたファイルを選択し、リードコマンドを受信すると、非接触ICカードリーダ/ライタに対して選択ファイルを送信する。 Specifically, the non-contact IC card reader / writer transmits a select command and a read command to the non-contact IC card after the anti-collision sequence, and acquires card information from the non-contact IC card. This select command is a command for selecting a file storing card information of a non-contact IC card. When the non-contact IC card receives the select command, the non-contact IC card selects the file instructed to be selected by the select command. When the read command is received, the non-contact IC card transmits the selected file to the non-contact IC card reader / writer.
上記したように、非接触ICカードリーダ/ライタは、アンチコリジョンシーケンス後に、セレクトコマンド及びリードコマンドにより、ISO/IEC14443TypeB準拠の非接触ICカードからカード情報を読み出している。このため、カード情報を取得するまでに多くの処理時間が費やされる。 As described above, the non-contact IC card reader / writer reads card information from the non-contact IC card conforming to ISO / IEC14443TypeB by the select command and the read command after the anti-collision sequence. For this reason, a lot of processing time is spent until the card information is acquired.
例えば、アンチコリジョンシーケンス期間内、又はリードコマンド送信までの間に、非接触ICカードへの電力供給が途絶える、又は外乱ノイズ等の影響により通信異常が発生するケースを想定する。このようなケースでは、コマンドリトライ又はアンチコリジョンシーケンスのやり直しが必要となり、より多くの処理時間が費やされることになる。 For example, a case is assumed where the power supply to the non-contact IC card is interrupted during the anti-collision sequence period or until the read command is transmitted, or a communication abnormality occurs due to the influence of disturbance noise or the like. In such a case, it is necessary to redo the command retry or anti-collision sequence, and more processing time is consumed.
本発明の目的は、カード情報取得までの処理時間の短縮化に優れたICカード処理装置(非接触ICカードリーダ/ライタ)、ICカード処理方法、ICカード(非接触ICカード)を提供することにある。 An object of the present invention is to provide an IC card processing device (non-contact IC card reader / writer), an IC card processing method, and an IC card (non-contact IC card) excellent in shortening the processing time until card information acquisition. It is in.
本発明の一実施形態に係るICカード処理装置(非接触ICカードリーダ/ライタ)は、ICモジュールを備えたICカード(非接触ICカード)と通信する通信手段と、前記通信手段を介して、前記ICカードに対して初期応答コマンド(REQB)を送信し、前記ICカードから前記初期応答コマンドに対応した第1のレスポンス(ATQB)を受信し、前記ICカードを選択するためのICカード選択コマンド(ATTRIB)を送信し、前記ICカードから前記ICカード選択コマンドに対応した第2のレスポンス(Answer to ATTRIB)を受信する期間(アンチコリジョンシーケンス)において、前記ICカードのICカード情報を取得し、前記ICカード情報に応じた処理を実行する実行手段と、を備えている。 An IC card processing apparatus (non-contact IC card reader / writer) according to an embodiment of the present invention includes a communication unit that communicates with an IC card (non-contact IC card) including an IC module, and the communication unit. An IC card selection command for transmitting an initial response command (REQB) to the IC card , receiving a first response (ATQB) corresponding to the initial response command from the IC card, and selecting the IC card. (ATTRIB) sends, in a second response corresponding to the IC card selection command from the IC card (Answer-to ATTRIB) period for receiving a (anti-collision sequence), acquires IC card information of the IC card, Execution means for executing processing according to the IC card information.
本発明の一実施形態に係るICカード処理方法は、ICモジュールを備えたICカード(非接触ICカード)に対して初期応答コマンド(REQB)を送信し、前記ICカードから前記初期応答コマンドに対応した第1のレスポンス(ATQB)を受信し、前記ICカードを選択するためのICカード選択コマンド(ATTRIB)を送信し、前記ICカードから前記ICカード選択コマンドに対応した第2のレスポンス(Answer to ATTRIB)を受信する期間(アンチコリジョンシーケンス)において、前記ICカードのICカード情報を取得し、前記ICカード情報に応じた処理を実行する。 An IC card processing method according to an embodiment of the present invention transmits an initial response command (REQB) to an IC card (non-contact IC card) including an IC module, and responds to the initial response command from the IC card. the first receives the response (ATQB), and transmits the IC card of the IC card selection for selecting commands (ATTRIB), the second response (Answer-to corresponding to the IC card selection command from the IC card in the period of receiving ATTRIB) (anti-collision sequence), acquires IC card information of the IC card executes processing corresponding to the IC card information.
本発明の一実施形態に係るICカード(非接触ICカード)は、ICモジュールを備えたICカードであって、ICカード処理装置(非接触ICカードリーダ/ライタ)と通信する通信手段と、前記通信手段を介して、前記ICカード処理装置からの初期応答コマンド(REQB)を受信し、前記ICカード処理装置に対して前記初期応答コマンドに対応した第1のレスポンス(ATQB)を送信し、前記ICカード処理装置からのICカード選択コマンド(ATTRIB)を受信し、前記ICカード処理装置に対して前記ICカード選択コマンドに対応した第2のレスポンス(Answer to ATTRIB)を送信する期間(アンチコリジョンシーケンス)において、ICカード情報を送信し、前記ICカード処理装置からの前記ICカード情報に応じた処理の実行に応答する応答手段と、を備えている。 An IC card (non-contact IC card) according to an embodiment of the present invention is an IC card including an IC module, and communication means for communicating with an IC card processing device (non-contact IC card reader / writer); An initial response command (REQB) from the IC card processing device is received via the communication means, a first response (ATQB) corresponding to the initial response command is transmitted to the IC card processing device, and receiving the IC card selection command (ATTRIB) from the IC card processing apparatus, the IC second response (Answer-to ATTRIB) duration of sending corresponding to the IC card selection command to the card processor (anti-collision sequence in), and transmits the IC card information, to respond to execution of processing according to the IC card information from the IC card processing apparatus It includes a response means.
本発明によれば、カード情報取得までの処理時間の短縮化に優れたICカード処理装置(非接触ICカードリーダ/ライタ)、ICカード処理方法、ICカード(非接触ICカード)を提供できる。 According to the present invention, it is possible to provide an IC card processing device (non-contact IC card reader / writer), an IC card processing method, and an IC card (non-contact IC card) that are excellent in shortening the processing time until card information acquisition.
以下、図面を参照し、本発明の実施形態について説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
例えば、ISO/IEC14443TypeB準拠の非接触ICカードと非接触ICカードリーダ/ライタについて説明する。非接触ICカードリーダ/ライタは、非接触ICカードへコマンドデータを送信し、非接触ICカードは、コマンドデータを受信した後、処理を実行し非接触ICカードリーダ/ライタへ処理結果をレスポンスデータとして送信する。このような通信プロトコルにより、非接触ICカードリーダ/ライタは、非接触ICカードからカード特徴情報を読み出す。 For example, an ISO / IEC14443TypeB compliant non-contact IC card and a non-contact IC card reader / writer will be described. The non-contact IC card reader / writer transmits command data to the non-contact IC card. After receiving the command data, the non-contact IC card executes processing and sends the processing result to the non-contact IC card reader / writer as response data. Send as. With such a communication protocol, the non-contact IC card reader / writer reads card characteristic information from the non-contact IC card.
本発明では、非接触ICカードリーダ/ライタは、アンチコリジョンシーケンスにおいて、非接触ICカードからカード特徴情報を読み出す。例えば、非接触ICカードリーダ/ライタは、非接触ICカードへ送信する初期化コマンド又は衝突防止コマンドのオプション機能を使用し、非接触ICカードからカード特徴情報を読み出す。これにより、カード特徴情報を取得するまでの処理時間を大幅に削減することが可能である。 In the present invention, the non-contact IC card reader / writer reads card characteristic information from the non-contact IC card in the anti-collision sequence. For example, the non-contact IC card reader / writer reads the card feature information from the non-contact IC card using an optional function of an initialization command or a collision prevention command transmitted to the non-contact IC card. Thereby, it is possible to significantly reduce the processing time until the card characteristic information is acquired.
アンチコリジョンシーケンスとは、上記した初期化コマンド又は衝突防止コマンド等を使用し、非接触ICカードリーダ/ライタと複数の非接触ICカードとの間の電波干渉トラブルを防止するためのシーケンスである。接触ICカードリーダ/ライタ及び接触ICカードは1対1で通信するため、アンチコリジョンシーケンスは不要となる。ところが、非接触ICカードリーダ/ライタの通信範囲に複数の非接触ICカードが存在する場合、これら非接触ICカードからの通信が衝突を起こすことがある。上記アンチコリジョンシーケンスとは、このような衝突を避けるためのシーケンスである。 The anti-collision sequence is a sequence for preventing a radio wave interference problem between the non-contact IC card reader / writer and the plurality of non-contact IC cards by using the initialization command or the collision prevention command described above. Since the contact IC card reader / writer and the contact IC card communicate on a one-to-one basis, an anti-collision sequence is not necessary. However, when a plurality of non-contact IC cards exist in the communication range of the non-contact IC card reader / writer, communication from these non-contact IC cards may cause a collision. The anti-collision sequence is a sequence for avoiding such a collision.
上記したアンチコリジョンシーケンスにより、1台の非接触ICカードリーダ/ライタと1枚の非接触ICカードとの通信を確立させることができる。このような通信の確立後に、非接触ICカードの情報が非接触ICカードリーダ/ライタへ伝達される。つまり、接触タイプの通信方式では、アンチコリジョンシーケンスは適用されずに、比較的早くカード情報を伝達することができる。これに対して、非接触タイプの通信方式では、アンチコリジョンシーケンスが適用されるため、比較的早くカード情報を伝達することができない。 With the above-described anti-collision sequence, communication between one non-contact IC card reader / writer and one non-contact IC card can be established. After such communication is established, information on the non-contact IC card is transmitted to the non-contact IC card reader / writer. That is, in the contact type communication method, card information can be transmitted relatively quickly without applying the anti-collision sequence. On the other hand, in the non-contact type communication method, since the anti-collision sequence is applied, the card information cannot be transmitted relatively quickly.
また、ISO/IEC14443TypeAで規定されたファイル構造は、ISO/IEC14443TypeBで規定されたファイル構造よりも簡略化されている。このため、ISO/IEC14443TypeAに準拠したICカードシステムでは、ISO/IEC14443TypeBに準拠したICカードシステムよりも、比較的早いシーケンスでカード情報を取得することができる。 In addition, the file structure defined by ISO / IEC14443TypeA is simplified than the file structure defined by ISO / IEC14443TypeB. For this reason, in the IC card system compliant with ISO / IEC14443TypeA, card information can be acquired in a relatively fast sequence as compared with the IC card system compliant with ISO / IEC14443TypeB.
上記したように、ISO/IEC14443TypeB準拠のICカードシステムでは、カード情報を取得するまでに時間がかかる。このような不具合を解消するために、本発明では、非接触ICカードリーダ/ライタが、アンチコリジョンシーケンスにおいて、非接触ICカードからカード特徴情報を読み出す。その詳細は、以下に説明する。 As described above, in an IC card system compliant with ISO / IEC14443TypeB, it takes time to acquire card information. In order to solve such a problem, in the present invention, the non-contact IC card reader / writer reads card characteristic information from the non-contact IC card in the anti-collision sequence. Details thereof will be described below.
図1は、本発明の一実施形態に係る非接触ICカードシステム(別称、スマートカードシステム)の概略構成を示すブロック図である。 FIG. 1 is a block diagram showing a schematic configuration of a contactless IC card system (also called a smart card system) according to an embodiment of the present invention.
図1に示すように、非接触ICカードシステムは、端末1及び非接触ICカード2(非接触通信媒体)により構成される。端末1は、本体(上位装置)11、ディスプレイ12、キーボード13、非接触カードリーダ/ライタ14を備えている。端末1は非接触ICカード2と通信可能に構成されており、端末1は非接触ICカード2に対してデータを送信したり、非接触ICカード2からのデータを受信したりする。
As shown in FIG. 1, the non-contact IC card system includes a
本体11は、複数の通信方式(ISO/IEC 14443 Type-A/B、FeliCaなど)及び複数のアプリケーションを選択的に実行することができる。ディスプレイ12は、非接触ICカード2との通信結果及び認証結果等を表示する。キーボード13は、本体11に対して文字や数字等を入力する。非接触カードリーダ/ライタ14は、非接触ICカード2と通信する。
The
なお、本実施形態では、非接触ICカード2が、非接触式のカードであるケースについて説明するが、非接触ICカード2は、非接触式及び接触式の両者をサポートするコンビ型のカードであってもよい。
In this embodiment, the case where the
図2は、本発明の一実施形態に係る非接触カードリーダ/ライタ14の概略構成を示すブロック図である。
FIG. 2 is a block diagram showing a schematic configuration of the contactless card reader /
図2に示すように、非接触カードリーダ/ライタ14は、アンテナ141、通信I/F142、CPU143、データメモリ144、RAM145、ROM146を備えている。
As shown in FIG. 2, the contactless card reader /
図3は、本発明の一実施形態に係る非接触ICカードの概略構成を示すブロック図である。 FIG. 3 is a block diagram showing a schematic configuration of a non-contact IC card according to an embodiment of the present invention.
図3に示すように、非接触ICカード2は、例えばプラスチックカードであり、ICチップ20(ICモジュール)を備え、ICチップ20は、変調/復調部201、CPU202、コプロセッサ(co-processor)203、メモリ204、電力生成部205を備えている。さらに、図3に示すように、非接触ICカード2は、アンテナ21を備えている。
As shown in FIG. 3, the
非接触カードリーダ/ライタ14のアンテナ141は、非接触ICカード2のアンテナ21と非接触で通信し、非接触カードリーダ/ライタ14と非接触ICカード2との間でデータを送受信する。通信I/F142は、非接触ICカード2へ送信するデータ、非接触ICカード2から受信したデータの入出力を制御する。また、CPU143は、非接触ICカード2との通信を制御する。
The
データメモリ144は、EEPROM、FRAMなどの不揮発性メモリである。RAM145は、例えば非接触ICカード2から送信されるデータを一時的に記憶するワークメモリである。ROM146は、制御プログラム等を記憶するメモリである。
The
一方、非接触ICカード2のアンテナ21は、非接触カードリーダ/ライタ14のアンテナ141と非接触で通信し、非接触ICカード2と非接触カードリーダ/ライタ14との間でデータを送受信する。変調/復調部201は、アンテナ21と接続され、非接触カードリーダ/ライタ14へ送信するデータを変調したり、非接触カードリーダ/ライタ14から受信したデータを復調したりする。
On the other hand, the
CPU202は、非接触カードリーダ/ライタ14からの各種コマンドに基づき、各種処理を実行する。コプロセッサ203は、各種データを暗号化する。メモリ204は、EEPROM、FRAMなどの不揮発性メモリであり、各種データを記憶する。電力生成部205は、受信した電力波を整流回路にて整流、平滑することにより安定化された直流電圧を生成して各部に動作電圧として供給する。
The
次に、ISO/IEC14443TypeBの通信プロトコルについて説明する。非接触ICカード2は、非接触ICカードリーダ/ライタ14の放射する動作磁界領域に進入した場合、5ms以内に活性化されてアイドル状態となる。
Next, the communication protocol of ISO / IEC14443TypeB will be described. When the
非接触ICカードリーダ/ライタ14は、初期応答を要求するためのREQB(Request Command TypeB)又はWUPB(Wake Up command TypeB)を送信する。非接触ICカード2は、REQB又はWUPB(Wake Up command TypeB)を正常に受信すると、ATQB(Answer To Request command TypeB)を非接触ICカードリーダ/ライタ14へ送信する。REQB 及びWUPBは、動作磁界内にISO/IEC14443TypeBの非接触ICカード2が存在するかどうかを検出するために使用される。
The non-contact IC card reader /
次に、非接触ICカードリーダ/ライタ14は、非接触ICカード2を選択するためにATTRIBコマンドを送信する。非接触ICカード2は、ATTRIBコマンドを正常に受信すると、Answer To ATTRIBをレスポンスとして非接触ICカードリーダ/ライタ14へ送信する。このあと、各コマンド処理へ移行する。
Next, the non-contact IC card reader /
非接触ICカードリーダ/ライタ14は、搬送波(13.56MHz)の振幅を10%程度変調し、NRZ符号化されたデータを非接触ICカード2へ送信する。非接触ICカード2は、搬送波の1/16に相当するに副搬送波(847.5KHz)を用いて位相を変調し、NRZ符号化されたレスポンスを非接触ICカードリーダ/ライタに対して送信する。
The non-contact IC card reader /
次に非接触ICカード2に格納されたカード特徴情報(以下、カード情報)の取得について説明する。
Next, acquisition of card characteristic information (hereinafter, card information) stored in the
最初に、ISO/IEC7816に準拠した接触ICカードのカード情報の取得について説明する。ISO/IEC7816に準拠した接触ICカードのカード情報は、ATR(Answer to reset)に含まれる。例えば、ATRフレーム内のヒストリカルキャラクタ内にカード情報が格納される。カードリーダ/ライタは、受信したATRに含まれたカード情報を取得する。つまり、カードリーダ/ライタは、初期応答期間でカード情報を取得することが可能となる。接触ICカードを処理する場合、カードリーダ/ライタと接触ICカードとが接触して通信を行う。このため、接触ICカードから送信されるカード情報は盗み難い。このため、接触ICカードは、ATRによりカード情報をカードリーダ/ライタへ送信することができる。 First, acquisition of card information of a contact IC card compliant with ISO / IEC7816 will be described. The card information of the contact IC card compliant with ISO / IEC7816 is included in ATR (Answer to reset). For example, card information is stored in a historical character in an ATR frame. The card reader / writer acquires the card information included in the received ATR. That is, the card reader / writer can acquire the card information in the initial response period. When processing a contact IC card, the card reader / writer and the contact IC card come into contact with each other to perform communication. For this reason, the card information transmitted from the contact IC card is difficult to steal. For this reason, the contact IC card can transmit card information to the card reader / writer by ATR.
続いて、ISO/IEC14443TypeAに準拠した非接触ICカードのカード情報の取得について説明する。カードリーダ/ライタは、アンチコリジョンシーケンス後、RATS(Request for Answer To Select)コマンドをICカードに対して送信し、ATS(Answer To Select)内のヒストリカルキャラクタ内にカード情報を格納するように指定する。RATSコマンドを受信したICカードは、カード情報を格納したATSをカードリーダ/ライタへ送信する。カードリーダ/ライタは、ATSを受信し、ATSに含まれたカード情報を取得する。 Next, acquisition of card information of a non-contact IC card compliant with ISO / IEC14443TypeA will be described. After the anti-collision sequence, the card reader / writer transmits a RATS (Request for Answer To Select) command to the IC card, and specifies that the card information is stored in the historical character in the ATS (Answer To Select). . The IC card that has received the RATS command transmits the ATS storing the card information to the card reader / writer. The card reader / writer receives the ATS and acquires card information included in the ATS.
続いて、ISO/IEC14443TypeBに準拠した非接触ICカードのカード情報の第1の取得処理について説明する。例えば、カードリーダ/ライタは、アンチコリジョンシーケンス後、セレクトコマンドをICカードに対して送信する。このセレクトコマンドは、ICカードのカード情報を格納したファイルの選択命令を含む。セレクトコマンドを受信したICカードは、カード情報を格納したファイルを選択する。さらに、カードリーダ/ライタは、リードコマンドをICカードに対して送信する。このリードコマンドを受信したICカードは、選択したファイル内のカード情報をカードリーダ/ライタに対して送信する。これにより、カードリーダ/ライタは、リードコマンドの送信に対応して、カード情報を受信することができる。このように、第1の取得処理では、アンチコリジョンシーケンス後、セレクトコマンドを送信し、さらにリードコマンドを送信して、カード情報を取得しているので、カード情報の取得までに多くの処理時間が費やされる。 Subsequently, a first acquisition process of card information of a non-contact IC card compliant with ISO / IEC14443TypeB will be described. For example, the card reader / writer transmits a select command to the IC card after the anti-collision sequence. This select command includes a command for selecting a file storing card information of the IC card. The IC card that has received the select command selects a file storing card information. Further, the card reader / writer transmits a read command to the IC card. The IC card that has received this read command transmits the card information in the selected file to the card reader / writer. Thereby, the card reader / writer can receive the card information in response to the transmission of the read command. Thus, in the first acquisition process, after the anti-collision sequence, the select command is transmitted, and further the read command is transmitted to acquire the card information. Therefore, a large amount of processing time is required until the card information is acquired. Is spent.
例えば、アンチコリジョンシーケンス期間内、又はリードコマンド送信までの間に、非接触ICカードへの電力供給が途絶える、又は外乱ノイズ等の影響により通信異常が発生するケースを想定する。このようなケースでは、コマンドリトライ又はアンチコリジョンシーケンスのやり直しが必要となり、より多くの処理時間が費やされることになる。 For example, a case is assumed where the power supply to the non-contact IC card is interrupted during the anti-collision sequence period or until the read command is transmitted, or a communication abnormality occurs due to the influence of disturbance noise or the like. In such a case, it is necessary to redo the command retry or anti-collision sequence, and more processing time is consumed.
続いて、ISO/IEC14443TypeBに準拠した非接触ICカードのカード情報の第2の取得処理について説明する。この第2の取得処理により、カード情報を取得するまでの時間の短縮化を図ることができる。第2の取得処理では、非接触ICカードリーダ/ライタ14のCPU143が、アンチコリジョンシーケンスの期間に非接触ICカード2へ送信されるATTRIBコマンドを利用し、カード情報を取得する。
Subsequently, a second acquisition process of card information of a non-contact IC card compliant with ISO / IEC14443TypeB will be described. By this second acquisition process, it is possible to shorten the time until the card information is acquired. In the second acquisition process, the
例えば、図4に示すように、非接触ICカードリーダ/ライタ14(CPU143)は、非接触ICカード2へREQBを送信する(ST11)。REQBは、動作磁界内にISO/IEC14443TypeBの非接触ICカード2が存在するかどうかを検出するために使用される。非接触ICカード2(CPU202)は、REQBを受信し(ST12)、非接触ICカードリーダ/ライタ14に対してATQBレスポンスを送信する(ST13)。ATQBレスポンスは、固有識別子、サポート通信速度、最大フレームサイズなどのプロトコル情報を含む。
For example, as shown in FIG. 4, the non-contact IC card reader / writer 14 (CPU 143) transmits REQB to the non-contact IC card 2 (ST11). REQB is used to detect whether or not the
続いて、非接触ICカードリーダ/ライタ14(CPU143)は、ATQBレスポンスを受信し(ST14)、非接触ICカード2を選択するためにATTRIBコマンドを送信する(ST15)。ATTRIBコマンドは、REQBコマンドによって検出されたカードを選択するためのコマンドであり、このATTRIBコマンドのオプション機能を使用し、非接触ICカード2からカード情報を読み出す。図6は、ATTRIBコマンドフォーマットの一例を示す図である。図6に示すように、ATTRIBコマンドは、オプション設定として、Higher Layer INF 部を追加することができる。このHigher Layer INF 部により、非接触ICカード2のカード情報を格納したファイルIDを指定する。つまり、非接触ICカードリーダ/ライタ14は、ファイルID指定情報を含むHigher Layer INF 部が追加されたATTRIBコマンドを送信する。
Subsequently, the non-contact IC card reader / writer 14 (CPU 143) receives the ATQB response (ST14), and transmits an ATTRIB command to select the non-contact IC card 2 (ST15). The ATTRIB command is a command for selecting a card detected by the REQB command, and the card information is read from the
非接触ICカード2(CPU202)は、ATTRIBコマンドを受信し(ST16)、非接触ICカードリーダ/ライタ14に対してAnswer To ATTRIBレスポンスを送信する(ST17)。図7は、Answer To ATTRIBレスポンスフォーマットの一例を示す図である。非接触ICカード2は、ATTRIBコマンドに追加されたHigher Layer INF 部に含まれたファイルID指定情報に従い、カード情報を格納したファイルを選択し、選択ファイルに格納されたカード情報を含むAnswer To ATTRIBレスポンスを送信する。図7に示すように、Answer To ATTRIBレスポンスのHigher Layer Response部が、カード情報を含む。
The non-contact IC card 2 (CPU 202) receives the ATTRIB command (ST16), and transmits an Answer To ATTRIB response to the non-contact IC card reader / writer 14 (ST17). FIG. 7 is a diagram illustrating an example of the Answer To ATTRIB response format. The
非接触ICカードリーダ/ライタ14(CPU143)は、Answer To ATTRIBレスポンスを受信し(ST18)、Answer To ATTRIBレスポンスに含まれたカード情報を取得し(ST19)、カード情報に応じた各種処理へ移行する。非接触ICカード2は、この各種処理の実行に応答する。
The non-contact IC card reader / writer 14 (CPU 143) receives the Answer To ATTRIB response (ST18), acquires the card information included in the Answer To ATTRIB response (ST19), and proceeds to various processes according to the card information. To do. The
以上により、非接触ICカードリーダ/ライタ14(CPU143)は、アンチコリジョンシーケンスの期間中に、非接触ICカード2からカード情報を取得することが可能となる。
As described above, the non-contact IC card reader / writer 14 (CPU 143) can acquire card information from the
続いて、ISO/IEC14443TypeBに準拠した非接触ICカードのカード情報の第3の取得処理について説明する。この第3の取得処理により、カード情報を取得するまでの時間の短縮化を図ることができる。第3の取得処理では、非接触ICカードリーダ/ライタ14のCPU143が、アンチコリジョンシーケンスの期間に非接触ICカード2へ送信されるREQBコマンドを利用し、カード情報を取得する。
Subsequently, a third acquisition process of card information of a non-contact IC card compliant with ISO / IEC14443TypeB will be described. With this third acquisition process, it is possible to shorten the time until the card information is acquired. In the third acquisition process, the
例えば、図5に示すように、非接触ICカードリーダ/ライタ14(CPU143)は、非接触ICカード2へREQBコマンドを送信する(ST21)。REQBは、動作磁界内にISO/IEC14443TypeBの非接触ICカード2が存在するかどうかを検出するために使用される。図8は、REQBコマンドフォーマットの一例を示す図である。図8に示すように、REQBコマンドはPARAMを含み、PARAMはExtended ATQBのサポート状態を示すビットを含む。このビットをHに設定することにより、Extended ATQBのサポートが示され、このビットをLに設定することにより、Extended ATQBの非サポートが示される。
For example, as shown in FIG. 5, the non-contact IC card reader / writer 14 (CPU 143) transmits a REQB command to the non-contact IC card 2 (ST21). REQB is used to detect whether or not the
非接触ICカード2(CPU202)は、Extended ATQB のサポートを示すREQBコマンド(カード情報を要求するための情報を含むREQBコマンド)を受信し(ST22)、非接触ICカードリーダ/ライタ14に対してATQBレスポンスを送信する(ST23)。ATQBレスポンスは、固有識別子、サポート通信速度、最大フレームサイズなどのプロトコル情報を含む。非接触ICカード2(CPU202)は、受信したREQBコマンドからExtended ATQB がサポートされていることを検知すると、Extended ATQBのサポートに対応したATQBレスポンスを送信する。図9は、Extended ATQBのサポートに対応したATQBレスポンスフォーマットの一例を示す図である。図9に示すように、ATQBレスポンスは、Protocol info フィールドを含み、Protocol info フィールドは、4バイト目にExtended ATQBの応答を含む。このExtended ATQBのRFU部が、カード情報を格納する。
The non-contact IC card 2 (CPU 202) receives the REQB command (REQB command including information for requesting card information) indicating the support of Extended ATQB (ST22), and the non-contact IC card reader /
非接触ICカードリーダ/ライタ14(CPU143)は、ATQBレスポンスを受信し(ST24)、ATQBレスポンスのRFU部に格納されたカード情報を取得する(ST25)。続いて、非接触ICカードリーダ/ライタ14(CPU143)は、非接触ICカード2を選択するためにATTRIBコマンドを送信する(ST26)。非接触ICカード2(CPU202)は、ATTRIBコマンドを受信し(ST27)、非接触ICカードリーダ/ライタ14に対してAnswer To ATTRIBレスポンスを送信する(ST28)。非接触ICカードリーダ/ライタ14(CPU143)は、Answer To ATTRIBレスポンスを受信し(ST29)、取得したカード情報に応じた各種処理へ移行する。非接触ICカード2は、この各種処理の実行に応答する。
The non-contact IC card reader / writer 14 (CPU 143) receives the ATQB response (ST24), and acquires card information stored in the RFU part of the ATQB response (ST25). Subsequently, the non-contact IC card reader / writer 14 (CPU 143) transmits an ATTRIB command to select the non-contact IC card 2 (ST26). The non-contact IC card 2 (CPU 202) receives the ATTRIB command (ST27), and transmits an Answer To ATTRIB response to the non-contact IC card reader / writer 14 (ST28). The non-contact IC card reader / writer 14 (CPU 143) receives the Answer To ATTRIB response (ST29), and shifts to various processes according to the acquired card information. The
以上により、非接触ICカードリーダ/ライタ14(CPU143)は、アンチコリジョンシーケンスの期間中に、非接触ICカード2からカード情報を取得することが可能となる。
As described above, the non-contact IC card reader / writer 14 (CPU 143) can acquire card information from the
なお上記説明では、非接触ICカード2が、非接触ICカードリーダ/ライタ14に対してカード情報を含むATQBレスポンスを送信するケースについて説明したが、ATQBレスポンスの後にカード情報を付加して送信してもよい。
In the above description, the case where the
以上説明したように、非接触ICカードリーダ/ライタ14は、アンチコリジョンシーケンス期間に、ATTRIBコマンドのオプションを使用し、ICカード2からカード情報を取得する。又は、非接触ICカードリーダ/ライタ14は、アンチコリジョンシーケンス期間に、Extended ATQB のサポートを示すREQBコマンドを使用し、ICカード2からカード情報を取得する。これにより、カード情報を取得するまでの処理時間を大幅に削減することが可能である。
As described above, the non-contact IC card reader /
非接触ICカードリーダ/ライタ14と非接触ICカード2との間の通信は非接触であるため、安易な通信によりカード情報が盗まれないようにする必要がある。つまり、安易に、非接触ICカード2が、非接触ICカードリーダ/ライタ14に対してカード情報を送信してしまうと、カード情報が盗まれてしまうかもしれない。そこで、上記したような手法を採用することにより、アンチコリジョンシーケンス期間においてカード情報を送信する。
Since communication between the non-contact IC card reader /
例えば、非接触ICカードリーダ/ライタ14が、ATTRIBコマンドによるカード情報の取得(第1の取得処理)、及びREQBコマンドによるカード情報の取得(第2の取得処理)を選択的に実行することにより、カード情報はより盗難され難くなる。単に、ATTRIBコマンドによるカード情報の取得(第1の取得処理)、及びREQBコマンドによるカード情報の取得を交互に選択するのではなく、不規則にATTRIBコマンドによるカード情報の取得(第1の取得処理)、及びREQBコマンドによるカード情報の取得を選択することにより、カード情報はより盗難され難くなる。
For example, the non-contact IC card reader /
なお、本願発明は、上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。また、各実施形態は可能な限り適宜組み合わせて実施してもよく、その場合組み合わせた効果が得られる。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適当な組み合わせにより種々の発明が抽出され得る。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出され得る。 Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. In addition, the embodiments may be appropriately combined as much as possible, and in that case, the combined effect can be obtained. Further, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be obtained as an invention.
1…端末、2…ICカード、11…本体、12…ディスプレイ、13…キーボード、14…カードリーダ/ライタ、20…ICチップ、21…アンテナ、141…アンテナ、142…通信I/F、143…CPU、144…データメモリ、145…RAM、146…ROM、201…変調/復調部、202…CPU、203…コプロセッサ、204…メモリ、205…電力生成部
DESCRIPTION OF
Claims (3)
前記通信手段を介して、前記ICカードに対して初期応答コマンドを送信し、前記ICカードから前記初期応答コマンドに対応した第1のレスポンスを受信し、前記ICカードを選択するためのICカード選択コマンドを送信し、前記ICカードから前記ICカード選択コマンドに対応した第2のレスポンスを受信する期間において、前記ICカードのICカード情報を取得する第1及び第2の取得処理を選択的に実行し、前記ICカード情報に応じた処理を実行する実行手段と、
を備え、
前記実行手段は、前記第1の取得処理を実行する場合、前記ICカードのICカード情報を格納したファイルを指定するためのファイル指定情報を含む前記ICカード選択コマンドを送信し、前記ファイル指定情報により指定された前記ファイルに格納された前記ICカード情報を含む前記第2のレスポンスを受信し、前記第2のレスポンスから前記ICカード情報を取得し、
前記実行手段は、前記第2の取得処理を実行する場合、前記ICカード情報を要求するための情報を含む前記初期応答コマンドを送信し、前記ICカード情報を含む前記第1のレスポンスを受信し、前記第1のレスポンスから前記ICカード情報を取得するICカード処理装置。 A communication means for communicating with an IC card provided with an IC module;
An IC card selection for transmitting an initial response command to the IC card via the communication means, receiving a first response corresponding to the initial response command from the IC card, and selecting the IC card First and second acquisition processing for acquiring the IC card information of the IC card is selectively executed during a period in which the command is transmitted and the second response corresponding to the IC card selection command is received from the IC card. and an execution means for executing processing corresponding to the IC card information,
Equipped with a,
When executing the first acquisition process, the execution means transmits the IC card selection command including file designation information for designating a file storing the IC card information of the IC card, and the file designation information Receiving the second response including the IC card information stored in the file specified by the step, obtaining the IC card information from the second response,
When executing the second acquisition process, the execution means transmits the initial response command including information for requesting the IC card information, and receives the first response including the IC card information. An IC card processing device that acquires the IC card information from the first response .
前記第1の取得処理を実行する場合、前記ICカードのICカード情報を格納したファイルを指定するためのファイル指定情報を含む前記ICカード選択コマンドを送信し、前記ファイル指定情報により指定された前記ファイルに格納された前記ICカード情報を含む前記第2のレスポンスを受信し、前記第2のレスポンスから前記ICカード情報を取得し、 When executing the first acquisition process, the IC card selection command including file designation information for designating a file storing the IC card information of the IC card is transmitted, and the file designated by the file designation information is transmitted. Receiving the second response including the IC card information stored in a file, obtaining the IC card information from the second response;
前記第2の取得処理を実行する場合、前記ICカード情報を要求するための情報を含む前記初期応答コマンドを送信し、前記ICカード情報を含む前記第1のレスポンスを受信し、前記第1のレスポンスから前記ICカード情報を取得するICカード処理方法。 When executing the second acquisition process, the initial response command including information for requesting the IC card information is transmitted, the first response including the IC card information is received, and the first response is received. An IC card processing method for acquiring the IC card information from a response.
ICカード処理装置と通信する通信手段と、 A communication means for communicating with the IC card processing device;
前記通信手段を介して、前記ICカード処理装置からの初期応答コマンドを受信し、前記ICカード処理装置に対して前記初期応答コマンドに対応した第1のレスポンスを送信し、前記ICカード処理装置からのICカード選択コマンドを受信し、前記ICカード処理装置に対して前記ICカード選択コマンドに対応した第2のレスポンスを送信する期間において、ICカード情報を送信し、前記ICカード処理装置からの前記ICカード情報に応じた処理の実行に応答する応答手段と、 An initial response command from the IC card processing device is received via the communication means, a first response corresponding to the initial response command is transmitted to the IC card processing device, and the IC card processing device In the period in which the second response corresponding to the IC card selection command is transmitted to the IC card processing device, the IC card information is transmitted from the IC card processing device. A response means for responding to the execution of processing according to the IC card information;
を備え、 With
前記応答手段は、前記ICカードのICカード情報を格納したファイルを指定するためのファイル指定情報を含む前記ICカード選択コマンドを受信した場合、前記ファイル指定情報により指定された前記ファイルに格納された前記ICカード情報を含む前記第2のレスポンスを送信し、 When the response means receives the IC card selection command including file designation information for designating a file storing the IC card information of the IC card, the response means is stored in the file designated by the file designation information. Sending the second response including the IC card information;
前記応答手段は、前記ICカード情報を要求するための情報を含む前記初期応答コマンドを受信した場合、前記ICカード情報を含む前記第1のレスポンスを送信するICカード。 When the response means receives the initial response command including information for requesting the IC card information, the response means transmits the first response including the IC card information.
Priority Applications (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009086811A JP5214520B2 (en) | 2009-03-31 | 2009-03-31 | IC card processing device, IC card processing method, and IC card |
| SG200906104-5A SG165220A1 (en) | 2009-03-25 | 2009-09-11 | Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices |
| EP09011719A EP2234077A1 (en) | 2009-03-25 | 2009-09-14 | Processing apparatus of portable electronic devices, portable electronic device , and processing system of portable electronic devices |
| US12/558,698 US8123136B2 (en) | 2009-03-25 | 2009-09-14 | Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009086811A JP5214520B2 (en) | 2009-03-31 | 2009-03-31 | IC card processing device, IC card processing method, and IC card |
Publications (3)
| Publication Number | Publication Date |
|---|---|
| JP2010238080A JP2010238080A (en) | 2010-10-21 |
| JP2010238080A5 JP2010238080A5 (en) | 2011-09-15 |
| JP5214520B2 true JP5214520B2 (en) | 2013-06-19 |
Family
ID=43092325
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009086811A Expired - Fee Related JP5214520B2 (en) | 2009-03-25 | 2009-03-31 | IC card processing device, IC card processing method, and IC card |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP5214520B2 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12073280B2 (en) | 2020-01-20 | 2024-08-27 | Kabushiki Kaisha Toshiba | IC card, IC card processing system, and computer-readable storage medium |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012198676A (en) * | 2011-03-18 | 2012-10-18 | Toshiba Corp | Portable electronic device, processor for portable electronic device, and processing system for portable electronic device |
| JP7605017B2 (en) | 2021-05-21 | 2024-12-24 | 大日本印刷株式会社 | Contactless secure element, device and extended ATQB transmission control method |
| JP7468486B2 (en) * | 2021-09-09 | 2024-04-16 | 大日本印刷株式会社 | Contactless communication device, contactless chip and method for processing upper layer messages |
| JP2026014502A (en) * | 2024-07-19 | 2026-01-29 | 株式会社東芝 | Portable electronic device, biometric authentication execution timing control method, and computer-readable storage medium |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2003208578A (en) * | 2002-01-10 | 2003-07-25 | Dainippon Printing Co Ltd | Non-contact IC card, non-contact IC card processing device and processing method thereof |
| JP2008146184A (en) * | 2006-12-06 | 2008-06-26 | Fujitsu Ltd | Reader / writer apparatus, reader / writer control program, data access system, and data access control method |
-
2009
- 2009-03-31 JP JP2009086811A patent/JP5214520B2/en not_active Expired - Fee Related
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12073280B2 (en) | 2020-01-20 | 2024-08-27 | Kabushiki Kaisha Toshiba | IC card, IC card processing system, and computer-readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2010238080A (en) | 2010-10-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI467493B (en) | Smartcard performance enhancement circuits and systems | |
| JP5214520B2 (en) | IC card processing device, IC card processing method, and IC card | |
| JP2011526011A (en) | Application selection method for wireless mobile communication device in NFC system and corresponding wireless mobile communication device | |
| US8123136B2 (en) | Processing apparatus of portable electronic devices, portable electronic device, and processing system of portable electronic devices | |
| US20100240318A1 (en) | Mobile electronic device and control method of mobile electronic device | |
| KR20170061645A (en) | Portable electronic device | |
| JP2006178556A (en) | Contact-type data communication device, transmission / reception device, and transmission / reception method | |
| US8321743B2 (en) | Information storage medium and information storage medium processing apparatus | |
| JP7366765B2 (en) | Control program for IC cards, IC card processing systems, and IC card processing devices | |
| US9007176B2 (en) | Portable electronic apparatus and control method of portable electronic apparatus | |
| JP5444138B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND PORTABLE ELECTRONIC DEVICE | |
| JP4590201B2 (en) | Data carrier and data carrier program | |
| JP5306079B2 (en) | IC card, IC card processing device, and IC card processing system | |
| JP4845852B2 (en) | Reader / writer | |
| JP2011239181A (en) | Non-contact communication medium read data conversion device and control method thereof | |
| JP7468598B1 (en) | Electronic information storage medium, IC chip, non-contact IC card, processing method, and program | |
| JP6092342B2 (en) | Non-contact portable electronic device and method for issuing non-contact portable electronic device | |
| KR100992797B1 (en) | IC card with wireless communication function | |
| JP2006012026A (en) | Portable information storage medium and program thereof | |
| JP2004192253A (en) | IC card and IC card program | |
| JP2003271902A (en) | Reader/writer, ic card system and external device | |
| EP4053743B1 (en) | Ic card and control program for ic card | |
| JP2011065477A (en) | Mobile electronic device | |
| EP2942734A1 (en) | Data processing apparatus for ic card issuing, ic card issuing apparatus, ic card issuing system, data processing program for ic card issuing, ic card issuing program | |
| JP7600322B1 (en) | IC Card |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110801 |
|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20110801 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20121018 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20121030 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130104 |
|
| 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: 20130205 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20130227 |
|
| R151 | Written notification of patent or utility model registration |
Ref document number: 5214520 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20160308 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |