[go: up one dir, main page]

JP4081667B2 - IC card reader - Google Patents

IC card reader Download PDF

Info

Publication number
JP4081667B2
JP4081667B2 JP2002341412A JP2002341412A JP4081667B2 JP 4081667 B2 JP4081667 B2 JP 4081667B2 JP 2002341412 A JP2002341412 A JP 2002341412A JP 2002341412 A JP2002341412 A JP 2002341412A JP 4081667 B2 JP4081667 B2 JP 4081667B2
Authority
JP
Japan
Prior art keywords
data
card
control unit
data object
read
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
Application number
JP2002341412A
Other languages
Japanese (ja)
Other versions
JP2004178101A (en
Inventor
貴也 大崎
武寿 山田
秀紀 蛭沼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2002341412A priority Critical patent/JP4081667B2/en
Publication of JP2004178101A publication Critical patent/JP2004178101A/en
Application granted granted Critical
Publication of JP4081667B2 publication Critical patent/JP4081667B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ICカードを用いる現金自動取引装置等の自動化機器のICカード読取装置に関する。
【0002】
【従来の技術】
従来のICカード読取装置は、主制御部から主制御部が指定したステータスバイトの検索を繰返し実行するための実行コマンドを受信したときに、この実行コマンドを実行し、ICカードからのISO/IEC7816−4に規定されたREAD RECORDレスポンスの最後の2バイトに記述されたステータスバイトSW1−SW2を読取り、指定されたステータスバイトを見つけた場合に主制御部へ実行コマンドの実行によって得られた全てのデータをレスポンスとして返送するようにしている(例えば、特許文献1参照。)。
【0003】
【特許文献1】
特開2001−256442号公報(第3−4頁【0019】−【0027】、第3図)
【0004】
【発明が解決しようとする課題】
しかしながら、上述した従来の技術は、規定の位置に記述されたステータスバイト等とは異なり、ICカードからのレスポンスのデータは読取るべき情報の位置が不定であるため、このような形式で記録された情報、例えば現金自動取引装置における取引において必要な顧客の取引カードの口座情報等を読取る場合には、ICカードからのレスポンスをその都度主制御部へ返送して主制御部により必要な情報を検索しなければならず、主制御部とICカード読取装置との間の通信回数が多くなり、ICカードの読取処理に時間を要するという問題がある。
【0005】
また、従来例の実行コマンドによるレスポンスを用いたとしても、その実行によって得られた全てのデータを返送するものであるため、必要な情報は主制御部が返送された全てのデータから再度口座情報等を検索して読取る必要があり、その読取処理に時間を要するという問題がある。
さらに、レスポンスとして全てのデータを返送するため、そのデータ量が多くなり、データの通信に時間を要するという問題がある。
【0006】
本発明は、上記の問題点を解決するためになされたもので、読取るべきデータの位置が不定であってもICカードから必要な情報を読取る読取処理の時間を短縮することができるICカード読取装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明は、上記課題を解決するために、主制御部との通信によりICカードの記録部に記録されたファイルを読取るICカード読取装置において、予め登録番号と、該登録番号に対応させて繰返し読取実行コマンドを登録しておき、読取るべきデータの位置が不定な情報を、タグフィールドとデータ長フィールドとデータフィールドに分割されたデータオブジェクトを有する複数のレコードからなる前記ファイルから読出すときに、前記主制御部からの前記登録番号と探すべき指定情報とを付したインタプリタ実行コマンドを受信し、前記繰返し読取実行コマンドによって、前記レコードのデータオブジェクトを順に読出すこと、およびその読出したデータオブジェクトのタグフィールドに記述されたパラメータが、前記指定情報のパラメータと不一致であり、かつ前記タグフィールドに階層化されたデータオブジェクトの存在が記述されている場合は、前記データフィールドに記述された階層化されたデータオブジェクトを読出すことを繰返し、前記読出したデータオブジェクトのタグフィールドのパラメータと、前記指定情報のパラメータとの一致を判定したときに、当該データオブジェクトをインタプリタ実行レスポンスとして前記主制御部へ返信することを特徴とする。
【0008】
【発明の実施の形態】
以下に、図面を参照して本発明によるICカード読取装置の実施の形態について説明する。
図1は本発明の実施の形態を示す流れ図、図2は実施の形態の現金自動取引装置を示すブロック図である。
【0009】
図2において、1は金融機関のセンタに設置されているホストコンピュータであり、銀行の支店等に設置されている自動化機器としての現金自動取引装置2と専用回線や電話回線等の通信回線を介して接続されており、顧客の口座を管理する。
3は現金自動取引装置2の主制御部であり、通信部4によって通信回線を介してホストコンピュータ1と接続しており、現金自動取引装置2内の各部を制御して取引制御を行うと共にデータ通信等も制御する。
【0010】
5は記憶部であり、主制御部3が実行するプログラムや主制御部3による処理結果等が格納される。
6は顧客操作部であり、CRTまたはLCD等の表示画面とタッチパネル等との組合せ等で構成されており、取引選択画面や顧客の処置を促す画面等を表示する一方、タッチパネル等により顧客からの入力を受付ける。
【0011】
7はカード処理部であり、顧客の取引カードであるICカードを挿入するカード挿入口、挿入されたICカードを搬送する搬送路、搬送されたICカードの記録部に記録されているファイルのデータを読取るICカード読取装置8および取引明細票等を印刷するプリンタ等により構成されている。
ICカード読取装置8は、図3に示すように、ICカードに記録部に記録されているデータを送信させるためのコマンドを送信してICカードからのレスポンスを受信するICカードの読取機能を有するカード読取部8aと、この通信等を制御するためのカード制御部8bおよびこのカード制御部8bが実行するプログラム等を格納するためのカード記憶部8cとを備えている。
【0012】
なお、ICカード読取装置8はICカードの読取機能を有しているものであればどのようなものでもよく、書込機能を共に有するものであっても、磁気カードの読取ヘッドや書込ヘッドを同時に有するものであってもよい。
9は通帳処理部であり、通帳挿入口から挿入された顧客の通帳の磁気ストライプに記録されている内容を読み書きすると共に取引内容等を顧客の通帳に記帳する。
【0013】
10は紙幣入出金部であり、顧客が投入した紙幣を受入れ、これを鑑別、計数して収納し、顧客に払出す紙幣を排出する。
11は硬貨入出金部であり、顧客が投入した硬貨を受入れ、これを鑑別、計数して収納し、顧客に払出す硬貨を排出する。
図4は実施の形態のICカードのファイル構成を示す説明図であり、ICカードの記録部に記録されているファイルの構成を示したものである。
【0014】
図4の例では、ファイルは4つのレコードを有しており、1つのレコードは、T、L、Vの3つのフィールドに分割されたデータオブジェクトを有している。
TはデータオブジェクトのデータフィールドVに記録されたデータの種類を示すタグを記述するフィールドであり、例えばデータフィールドVに銀行名や口座番号等の顧客の口座情報等の取引カードとしての磁気カードの磁気ストライプに記録されたデータに相当するデータ(以下、磁気ストライプデータという。)を含む場合やデータフィールドVのデータ構造が階層化されていることを示す場合等の記述がなされ、その記述内容はISO/IEC7816−6や全銀協仕様等に規定されている。
【0015】
Lはデータ長を記述するフィールドであり、データフィールドVに記述されているデータの長さが記述される。
レコード番号(1)〜(4)に示した数字は、例えばT1はレコード番号(1)のタグTであることを示す添字である。
図4に示すレコード番号(1)のデータオブジェクトは、そのタグT1にデータフィールドV1に階層化されたデータオブジェクトが存在することが記述されており、データフィールドV1にはタグT11、データ長L11、データのみを記述したデータフィールドV11およびタグT12、データ長L12、データのみを記述したデータフィールドV12で構成されるの2つのデータオブジェクトが階層化されて記録されている。
【0016】
なお、この階層化されて記録されるデータオブジェクトは3つ以上であってもよい。
レコード番号(2)のデータオブジェクトは、タグT2、データ長L2、データのみを記述したデータフィールドV2から構成されている。レコード番号(3)、レコード番号(4)も同様である。
【0017】
このようにレコード形式をTLVとしたデータオブジェクトは、タグT、データ長L、データフィールドVの順にデータを記述することは決められているが、データフィールドVの何バイト目に何を記録するかの規格がないため、ICカードの記録部のファイルには、上記レコード番号(1)のようにデータフィールドV1の中に更にレコード形式をTLVとして記述したデータオブジェクトが存在する階層化されたデータフィールドV1やレコード番号(2)のようにデータのみを記述したデータフィールドV2を有するデータオブジェクトが混在して記録されている。
【0018】
なお、それぞれのデータオブジェクトには説明のために並び順にレコード番号を付して示したが、実際のファイルのデータオブジェクトにはレコード番号の記述はなされていない。
上述した構成の作用について説明する。
本実施の形態のカード処理部7のICカード読取装置8のカード記憶部8cには、主制御部3からのインタプリタ登録コマンドにより登録番号とこの登録番号に対応させて読取処理等の実行コマンドを登録するための登録エリアが確保されている。
【0019】
以下に、本実施の形態について現金自動取引装置を例として図1に示す流れ図を用いて説明する。
まず、事前処理について説明する。
現金自動取引装置2の主制御部3は、「レコード番号(1)から始めてレコード番号を順に増加させながらパラメータで指定したタグTが見つかるまでREAD RECORDコマンドを繰返し実行する」というICカードの繰返し読取実行コマンドに登録番号を添付したインタプリタ登録コマンドをICカード読取装置8へ送信する。
【0020】
これを受信したICカード読取装置8のカード制御部8bは、インタプリタ登録コマンドの繰返し読取実行コマンドを登録番号に対応させてカード記憶部8cの登録エリアに格納し、登録の終了をインタプリタ登録レスポンスとして主制御部3へ送信して登録を終了する。
これによって、ICカード読取装置8には予め登録番号に対応させた繰返し読取実行コマンドが登録されている。
【0021】
なお、登録エリアには複数の他の処理のための実行コマンドも登録されており、これらの実行コマンドは、主制御部3からの指示により書換え可能に構成されている。
以下に、ICカードの読取処理について説明する。
現金自動取引装置2が顧客との取引を開始し、顧客が取引カードであるICカードをカード処理部7へ挿入すると、これを検知した主制御部3は必要な情報として顧客の口座情報等を記述した磁気ストライプデータを取得するため、ICカードの読取作動を命令するコマンド、その読取処理の実行に用いる繰返し読取実行コマンドの登録番号および探すべき指定情報としてタグT「5F61」を指定するためのパラメータから構成されるインタプリタ実行コマンドをICカード読取装置8へ送信する。
【0022】
なお、タグT「5F61」は、データフィールドV1に記述されているデータが磁気ストライプデータであることを示すものとして全銀協仕様に規定されているタグTの記述内容である。
インタプリタ実行コマンドを受信したICカード読取装置8のカード制御部8bは、インタプリタ実行コマンドから登録番号を抽出し、この登録番号に該当するカード記憶部8cに登録されている繰返し読取実行コマンドを読出し、パラメータから抽出した「5F61」を指定されたタグTとして繰返し読取実行コマンドを実行する。
【0023】
すなわち、カード制御部8bは、クラスバイトCLA、インストラクションバイトINS、パラメータバイトP1、パラメータバイトP2およびICカードからレスポンスされるデータ長を示すLeからなるREAD RECORDコマンドを作成し、これをカード読取部8aからICカードへ送信する。
なお、READ RECORDコマンドのパラメータP1にはレコード番号(1)を示す「01H」が記述されている。
【0024】
READ RECORDコマンドを受信したICカードは、パラメータP1に記述された「01H」によって要求されたデータがレコード番号(1)であることを認識し、記録部の図4に示すファイルからレコード番号(1)のタグT1「7F60」、データ長L1、データフィールドV1からなるデータオブジェクトを抽出する。
【0025】
そして、これにステータスバイトSW1−SW2としてデータの抽出が正常に行われたことを意味する「9000」を付与してREAD RECORDレスポンスを作成し、これをカード読取部8aへ送信する。
カード読取部8aによってREAD RECORDレスポンスを受信したカード制御部8bは、そのタグT1を読出して指定されたタグTと比較してその不一致を判定する。
【0026】
この時、カード制御部8bは、タグT1が「7F60」であることによってデータフィールドV1が階層化されていることを認識し、データフィールドV1の先頭に記述されているタグT11を読出し、このタグT11も指定されたタグTと不一致のときは、データ長L11を参照してデータフィールドV11の次に記述されているタグT12を読出して同様の判定を行い、読出すべきデータがデータフィールドV1のデータ長L1に達したことを確認してタグT「5F61」がレコード番号(1)のデータオブジェクトのどこにも存在しないことを認識して次ステップへ移行する。
【0027】
なお、データフィールドV1に更にデータオブジェクトがある場合やそのデータ構造が更に階層化されている場合は、上記と同様にしてデータ長L1に達するまでデータフィールドV1に記録されているデータオブジェクトのタグTを読出し、指定されたタグTと比較して判定を行う。
次ステップへ移行したカード制御部8bは、繰返し読取実行コマンドに従って、レコード番号を1つ増加させてパラメータP1にレコード番号(2)を示す「02H」を記述したREAD RECORDコマンドを作成し、上記と同様にしてICカードへ再度送信する。
【0028】
ICカードは上記と同様にしてレコード番号(2)のタグT2「5F61」、データ長L2、データフィールドV2からなるデータオブジェクトを抽出してこれにステータスバイトSW1−SW2として「9000」を付与したREAD RECORDレスポンスを作成し、カード読取部8aへ送信する。
READ RECORDレスポンスを受信したカード制御部8bは、そのタグT2「5F61」を読出して指定されたタグT「5F61」と比較してその一致を判定する。
【0029】
タグTの一致を判定したカード制御部8bは、主制御部3に対して送信されたインタプリタ実行コマンドに対する返信であることを示すレスポンスにタグTが一致したデータオブジェクトであるレコード番号(2)のデータオブジェクトを添付したインタプリタ実行レスポンスを作成し、これを現金自動取引装置2の主制御部3へ送信する。
【0030】
インタプリタ実行レスポンスを受信した主制御部3は、これによって顧客の銀行名や口座番号等を読取り、ICカードの読取処理を終了して顧客との取引を継続する。
その後の現金自動取引装置2の作動は、通常の現金自動取引装置2の取引時の作動と同様であるので、その説明を省略する。
【0031】
なお、上記のICカードからのレコード番号(1)のREAD RECORDレスポンスのときに、データフィールドV1の階層化されたデータオブジェクトのタグTに指定されたタグTと一致するものが存在する場合は、その時点でレコード番号(2)の場合で説明したのと同様にしてインタプリタ実行レスポンスが主制御部3へ送信される。
【0032】
この場合に、主制御部3へ送信するインタプリタ実行レスポンスには、レコード番号(2)のデータオブジェクトを添付するようにしてもよく、階層化されたデータオブジェクトの中のタグTが一致したデータオブジェクトのみを添付するようにしてもよい。
以上説明したように、本実施の形態では、ICカード読取装置が主制御部からのインタプリタ実行コマンドにより予め登録された繰返し読取実行コマンドを実行し、ICカードのファイルから指定情報を有するデータオブジェクトを探し出すようにしたことによって、読取るべきデータの位置が不定であっても主制御部とICカード読取装置との間の通信回数を減少させることができ、ICカードの読取処理の時間を短縮することができる。
【0033】
また、ICカード読取装置が行う処理を予めICカード読取装置に登録するようにしたことによって、ICカードの読取処理のときにその都度読取処理のための実行コマンドを作成する必要がなくなり、ICカードの読取処理の効率化を図ることができる。
更に、ICカード読取装置が返信するインタプリタ実行レスポンスに必要な情報が記述されたデータオブジェクトのみを添付するようにしたことによって、転送するデータ量を低減して通信に要する時間を短縮することができると共に必要なデータの検索を1回で済ますことができ、必要な情報をえるためのICカードの読取処理の時間を短縮することができる。
【0034】
なお、上記実施の形態においては、ICカードの読取処理として磁気ストライプデータの読取処理を例に説明したが、他のデータ、例えば個人認証のための生体情報のデータ等の読取処理についても同様に行うことができる。
事前処理は主制御部が予めICカード読取装置に処理コマンドのインタプリタ登録コマンドを送信して書換え可能に登録するとして説明したが、ICカード読取装置のカード記憶部に複数の処理コマンドを登録番号に対応させて固定的に登録しておき、上記実施の形態例と同様にして読取処理を実行するようにしても本発明の効果を損なうものではない。
【0035】
上記実施の形態においては、自動化機器として現金自動取引装置を例にして説明したが、本発明を適用する自動化機器は現金自動取引装置に限らず、無人契約機やマルチメディア端末、自動券売機、無人改札機、自動販売機等のICカードを用いる自動化機器であればどのようなものであってもよい。
【0036】
【発明の効果】
以上述べたように、本発明は、ICカード読取装置が主制御部からのインタプリタ実行コマンドにより予め登録された繰返し読取実行コマンドを実行し、ICカードのファイルから指定情報を有するデータオブジェクトを探し出すようにしたことによって、読取るべきデータの位置が不定であっても主制御部とICカード読取装置との間の通信回数を減少させることができ、ICカードの読取処理の時間を短縮することができるという効果が得られる。
【図面の簡単な説明】
【図1】本発明の実施の形態を示す流れ図
【図2】実施の形態の現金自動取引装置を示すブロック図
【図3】実施の形態のICカード読取装置を示すブロック図
【図4】実施の形態のICカードのファイル構成を示す説明図
【符号の説明】
1 ホストコンピュータ
2 現金自動取引装置
3 主制御部
4 通信部
5 記憶部
6 顧客操作部
7 カード処理部
8 ICカード読取装置
8a カード読取部
8b カード制御部
8c カード記憶部
9 通帳処理部
10 紙幣入出金部
11 硬貨入出金部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an IC card reader of an automated device such as an automatic cash transaction apparatus using an IC card.
[0002]
[Prior art]
When a conventional IC card reader receives an execution command for repeatedly executing a search for a status byte designated by the main control unit from the main control unit, the conventional IC card reader executes the execution command, and ISO / IEC7816 from the IC card. Read the status bytes SW1 to SW2 described in the last 2 bytes of the READ RECORD response specified in -4, and when the specified status byte is found, all of the values obtained by executing the execution command to the main control unit Data is returned as a response (see, for example, Patent Document 1).
[0003]
[Patent Document 1]
Japanese Patent Laid-Open No. 2001-256442 (page 3-4 [0019]-[0027], FIG. 3)
[0004]
[Problems to be solved by the invention]
However, unlike the status byte described in the specified position, the conventional technology described above is recorded in such a format because the response data from the IC card has an indefinite position of information to be read. When reading information, for example, account information of a customer's transaction card necessary for transactions in an automated teller machine, the response from the IC card is returned to the main control unit each time, and the main control unit searches for necessary information There is a problem that the number of times of communication between the main control unit and the IC card reader increases, and it takes time to read the IC card.
[0005]
In addition, even if the response by the execution command of the conventional example is used, all the data obtained by the execution is returned, so the necessary information is again the account information from all the data returned by the main control unit. And the like need to be retrieved and read, and the reading process takes time.
Further, since all data is returned as a response, the amount of data increases, and there is a problem that it takes time for data communication.
[0006]
The present invention has been made in order to solve the above-described problems, and can read a time required for a reading process for reading necessary information from an IC card even if the position of data to be read is indefinite. An object is to provide an apparatus.
[0007]
[Means for Solving the Problems]
In order to solve the above-described problems, the present invention provides an IC card reader that reads a file recorded in a recording unit of an IC card through communication with a main control unit, and repeats a registration number in advance corresponding to the registration number. have created a read execution command, the undefined information positions of data to be read, when reading from the files comprising a plurality of records having data objects divided into tag field and a data length field and a data field, The interpreter execution command with the registration number and the designation information to be searched from the main control unit is received, the data object of the record is sequentially read by the repeated read execution command , and the read data object The parameter described in the tag field is the parameter of the specified information. If the existence of the layered data object is described in the tag field, reading the layered data object described in the data field is repeated, and the read data When it is determined that the parameter of the tag field of the object matches the parameter of the designation information, the data object is returned to the main control unit as an interpreter execution response.
[0008]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of an IC card reader according to the present invention will be described below with reference to the drawings.
FIG. 1 is a flowchart showing an embodiment of the present invention, and FIG. 2 is a block diagram showing an automatic teller machine according to the embodiment.
[0009]
In FIG. 2, 1 is a host computer installed in the center of a financial institution, and through an automatic cash transaction apparatus 2 as an automated device installed in a bank branch or the like and a communication line such as a dedicated line or a telephone line. Connected and manage customer accounts.
Reference numeral 3 denotes a main control unit of the automatic teller machine 2, which is connected to the host computer 1 through a communication line by the communication unit 4, and controls each part in the automatic teller machine 2 to control the transaction and data. It also controls communications.
[0010]
Reference numeral 5 denotes a storage unit that stores a program executed by the main control unit 3, a processing result by the main control unit 3, and the like.
Reference numeral 6 denotes a customer operation unit, which is composed of a combination of a display screen such as a CRT or LCD and a touch panel, etc., and displays a transaction selection screen, a screen for prompting a customer's treatment, etc. Accept input.
[0011]
7 is a card processing unit, a card insertion slot for inserting an IC card, which is a customer transaction card, a conveyance path for conveying the inserted IC card, and file data recorded in the recording unit of the conveyed IC card. Are constituted by an IC card reading device 8 for reading the information, a printer for printing a transaction statement, and the like.
As shown in FIG. 3, the IC card reader 8 has an IC card reading function for transmitting a command for transmitting data recorded in the recording unit to the IC card and receiving a response from the IC card. A card reading unit 8a, a card control unit 8b for controlling the communication and the like, and a card storage unit 8c for storing a program executed by the card control unit 8b are provided.
[0012]
The IC card reader 8 may be any device having an IC card reading function, and even if it has both a writing function, a magnetic card reading head or writing head. May be included at the same time.
A passbook processing unit 9 reads and writes the contents recorded in the magnetic stripe of the customer's passbook inserted from the passbook insertion port, and records the transaction contents in the customer's passbook.
[0013]
Reference numeral 10 denotes a banknote deposit / withdrawal unit that accepts banknotes inserted by customers, discriminates, counts and stores them, and discharges banknotes to be paid out to customers.
Reference numeral 11 denotes a coin deposit / withdrawal unit that accepts coins input by a customer, discriminates, counts and stores them, and discharges coins to be paid to the customer.
FIG. 4 is an explanatory diagram showing the file structure of the IC card according to the embodiment, and shows the structure of the file recorded in the recording unit of the IC card.
[0014]
In the example of FIG. 4, the file has four records, and one record has a data object divided into three fields of T, L, and V.
T is a field that describes a tag indicating the type of data recorded in the data field V of the data object. For example, in the data field V, a magnetic card as a transaction card for customer account information such as a bank name and an account number is recorded. There are descriptions such as when data corresponding to the data recorded in the magnetic stripe (hereinafter referred to as magnetic stripe data) is included, or when the data structure of the data field V is hierarchized. It is stipulated in ISO / IEC7816-6, the Zenginkyo specification, etc.
[0015]
L is a field describing the data length, and the length of the data described in the data field V is described.
The numbers shown in the record numbers (1) to (4) are subscripts indicating that, for example, T1 is the tag T of the record number (1).
In the data object of record number (1) shown in FIG. 4, it is described that there is a data object layered in the data field V1 in the tag T1, and the tag T11, the data length L11, Two data objects composed of a data field V11 describing only data and a tag T12, a data length L12, and a data field V12 describing only data are layered and recorded.
[0016]
Note that three or more data objects may be recorded in a hierarchical manner.
The data object of record number (2) is composed of a tag T2, a data length L2, and a data field V2 describing only data. The same applies to the record number (3) and the record number (4).
[0017]
As described above, in the data object having the record format TLV, it is determined that the data is described in the order of the tag T, the data length L, and the data field V, but what is recorded in what byte of the data field V? In the file of the IC card recording section, there is a hierarchical data field in which a data object in which the record format is described as TLV exists in the data field V1 as in the record number (1). Data objects having a data field V2 describing only data such as V1 and record number (2) are recorded together.
[0018]
Note that, for the sake of explanation, the record numbers are given to the respective data objects in the order of arrangement, but the record numbers are not described in the actual data object.
The operation of the above configuration will be described.
In the card storage unit 8c of the IC card reading device 8 of the card processing unit 7 according to the present embodiment, an interpreter registration command from the main control unit 3 receives a registration number and an execution command such as a reading process corresponding to the registration number. A registration area is reserved for registration.
[0019]
In the following, the present embodiment will be described with reference to the flowchart shown in FIG.
First, pre-processing will be described.
The main control unit 3 of the automatic teller machine 2 reads the IC card repeatedly, starting from the record number (1) and increasing the record number in order until the tag T specified by the parameter is found repeatedly. An interpreter registration command in which a registration number is attached to the execution command is transmitted to the IC card reader 8.
[0020]
The card control unit 8b of the IC card reader 8 that has received this stores the repeated read execution command of the interpreter registration command in the registration area of the card storage unit 8c in association with the registration number, and the end of registration as an interpreter registration response. Transmission to the main control unit 3 ends the registration.
Thus, a repeated reading execution command corresponding to the registration number is registered in advance in the IC card reader 8.
[0021]
Note that execution commands for a plurality of other processes are also registered in the registration area, and these execution commands are configured to be rewritable according to instructions from the main control unit 3.
The IC card reading process will be described below.
When the automatic teller machine 2 starts dealing with a customer and the customer inserts an IC card, which is a transaction card, into the card processing unit 7, the main control unit 3 that has detected this detects customer account information as necessary information. In order to acquire the described magnetic stripe data, a command for instructing a reading operation of the IC card, a registration number of a repeated reading execution command used for executing the reading process, and a tag T “5F61” as designation information to be searched for An interpreter execution command composed of parameters is transmitted to the IC card reader 8.
[0022]
The tag T “5F61” is the description content of the tag T defined in the Zenginkyo specification as indicating that the data described in the data field V1 is magnetic stripe data.
The card control unit 8b of the IC card reading device 8 that has received the interpreter execution command extracts the registration number from the interpreter execution command, reads the repeated reading execution command registered in the card storage unit 8c corresponding to the registration number, The read execution command is repeatedly executed with “5F61” extracted from the parameter as the designated tag T.
[0023]
That is, the card control unit 8b creates a READ RECORD command composed of the class byte CLA, the instruction byte INS, the parameter byte P1, the parameter byte P2, and Le indicating the data length returned from the IC card, and the card reading unit 8a To the IC card.
Note that “01H” indicating the record number (1) is described in the parameter P1 of the READ RECORD command.
[0024]
The IC card that has received the READ RECORD command recognizes that the data requested by “01H” described in the parameter P1 is the record number (1), and records the record number (1 from the file shown in FIG. 4 of the recording unit). ) Tag T1 “7F60”, data length L1, and data field V1 are extracted.
[0025]
Then, “9000” indicating that data extraction has been normally performed as the status bytes SW1 to SW2 is added to this to create a READ RECORD response, which is transmitted to the card reading unit 8a.
The card control unit 8b that has received the READ RECORD response by the card reading unit 8a reads the tag T1 and compares it with the designated tag T to determine the mismatch.
[0026]
At this time, the card control unit 8b recognizes that the data field V1 is hierarchized because the tag T1 is “7F60”, and reads the tag T11 described at the top of the data field V1. When T11 also does not match the specified tag T, the tag T12 described next to the data field V11 is read with reference to the data length L11, the same determination is performed, and the data to be read is stored in the data field V1. After confirming that the data length L1 has been reached, it is recognized that the tag T “5F61” does not exist anywhere in the data object with the record number (1), and the process proceeds to the next step.
[0027]
If there are more data objects in the data field V1 or if the data structure is further hierarchized, the tag T of the data object recorded in the data field V1 until the data length L1 is reached in the same manner as described above. Is compared with the designated tag T for determination.
The card control unit 8b that has proceeded to the next step creates a READ RECORD command in which “02H” indicating the record number (2) is described in the parameter P1 and the record number is incremented by 1 in accordance with the repeated reading execution command. Similarly, the data is transmitted again to the IC card.
[0028]
In the same manner as described above, the IC card extracts a data object consisting of the tag T2 “5F61”, the data length L2, and the data field V2 of the record number (2), and adds “9000” as the status bytes SW1 to SW2 thereto. A RECORD response is created and transmitted to the card reading unit 8a.
The card control unit 8b that has received the READ RECORD response reads the tag T2 “5F61” and compares it with the designated tag T “5F61” to determine a match.
[0029]
The card control unit 8b that has determined that the tag T matches matches the record number (2) that is the data object in which the tag T matches the response indicating that it is a reply to the interpreter execution command transmitted to the main control unit 3. An interpreter execution response with a data object attached is created and transmitted to the main control unit 3 of the automatic teller machine 2.
[0030]
Upon receiving the interpreter execution response, the main controller 3 reads the customer's bank name, account number, etc., ends the IC card reading process, and continues the transaction with the customer.
Since the subsequent operation of the automatic teller machine 2 is the same as that of the normal automatic teller machine 2, the description thereof is omitted.
[0031]
In the case of the READ RECORD response of the record number (1) from the above IC card, when there is a tag that matches the tag T specified in the tag T of the hierarchical data object in the data field V1, At that time, the interpreter execution response is transmitted to the main control unit 3 in the same manner as described in the case of the record number (2).
[0032]
In this case, the interpreter execution response to be transmitted to the main control unit 3 may be attached with the data object with the record number (2), and the data object with the matching tag T in the hierarchical data object You may make it attach only.
As described above, in the present embodiment, the IC card reader executes a repeated read execution command registered in advance by an interpreter execution command from the main control unit, and a data object having designation information from a file on the IC card. By searching, even if the position of the data to be read is indefinite, the number of communication between the main control unit and the IC card reader can be reduced, and the time for reading the IC card can be shortened. Can do.
[0033]
In addition, since the processing performed by the IC card reader is registered in the IC card reader in advance, it is not necessary to create an execution command for the read processing each time the IC card is read. The reading process can be made more efficient.
Furthermore, by attaching only the data object in which necessary information is described in the interpreter execution response returned by the IC card reader, the amount of data to be transferred can be reduced and the time required for communication can be shortened. At the same time, the necessary data can be retrieved once, and the time required for the IC card reading process for obtaining necessary information can be shortened.
[0034]
In the above embodiment, the reading process of the magnetic stripe data has been described as an example of the reading process of the IC card. However, the reading process of other data such as biometric information data for personal authentication is similarly performed. It can be carried out.
The pre-processing has been described in which the main control unit transmits an interpreter registration command of a processing command to the IC card reader in advance so as to be rewritable, but a plurality of processing commands are registered in the card storage unit of the IC card reader as registration numbers. The effect of the present invention is not impaired even if the corresponding fixed registration is performed and the reading process is executed in the same manner as in the above embodiment.
[0035]
In the above-described embodiment, the automatic cash transaction apparatus is described as an example of the automatic apparatus. However, the automatic apparatus to which the present invention is applied is not limited to the automatic cash transaction apparatus, and an unmanned contract machine, a multimedia terminal, an automatic ticket machine, Any automated device using an IC card such as an unmanned ticket gate or vending machine may be used.
[0036]
【The invention's effect】
As described above, according to the present invention, the IC card reader executes the repeated read execution command registered in advance by the interpreter execution command from the main control unit, and searches for the data object having the specified information from the IC card file. As a result, even when the position of data to be read is indefinite, the number of communications between the main control unit and the IC card reader can be reduced, and the time for reading the IC card can be reduced. The effect is obtained.
[Brief description of the drawings]
FIG. 1 is a flowchart showing an embodiment of the present invention. FIG. 2 is a block diagram showing an automatic teller machine according to the embodiment. FIG. 3 is a block diagram showing an IC card reader according to the embodiment. Showing the file structure of an IC card in the form of
DESCRIPTION OF SYMBOLS 1 Host computer 2 Automatic cash transaction apparatus 3 Main control part 4 Communication part 5 Storage part 6 Customer operation part 7 Card processing part 8 IC card reader 8a Card reading part 8b Card control part 8c Card storage part 9 Passbook processing part 10 Banknote entry / exit Money part 11 Coin deposit and withdrawal part

Claims (1)

主制御部との通信によりICカードの記録部に記録されたファイルを読取るICカード読取装置において、
予め登録番号と、該登録番号に対応させて繰返し読取実行コマンドを登録しておき、
読取るべきデータの位置が不定な情報を、タグフィールドとデータ長フィールドとデータフィールドに分割されたデータオブジェクトを有する複数のレコードからなる前記ファイルから読出すときに、
前記主制御部からの前記登録番号と探すべき指定情報とを付したインタプリタ実行コマンドを受信し、
前記繰返し読取実行コマンドによって、前記レコードのデータオブジェクトを順に読出すこと、およびその読出したデータオブジェクトのタグフィールドに記述されたパラメータが、前記指定情報のパラメータと不一致であり、かつ前記タグフィールドに階層化されたデータオブジェクトの存在が記述されている場合は、前記データフィールドに記述された階層化されたデータオブジェクトを読出すことを繰返し、
前記読出したデータオブジェクトのタグフィールドのパラメータと、前記指定情報のパラメータとの一致を判定したときに、当該データオブジェクトをインタプリタ実行レスポンスとして前記主制御部へ返信することを特徴とするICカード読取装置。
In an IC card reader that reads a file recorded in a recording unit of an IC card by communication with a main control unit,
Register the registration number and the repeated execution command in advance corresponding to the registration number ,
When reading information whose position of data to be read is indefinite from the file consisting of a plurality of records having a data object divided into a tag field, a data length field, and a data field ,
Receiving an interpreter execution command with the registration number and the designation information to be searched from the main control unit;
The data object of the record is sequentially read by the repeated reading execution command , and the parameter described in the tag field of the read data object is inconsistent with the parameter of the designation information, and the tag field has a hierarchy. If the existence of the data object is described, the reading of the hierarchical data object described in the data field is repeated,
An IC card reader characterized in that, when it is determined that the tag field parameter of the read data object matches the parameter of the specified information, the data object is returned to the main control unit as an interpreter execution response. .
JP2002341412A 2002-11-25 2002-11-25 IC card reader Expired - Fee Related JP4081667B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002341412A JP4081667B2 (en) 2002-11-25 2002-11-25 IC card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002341412A JP4081667B2 (en) 2002-11-25 2002-11-25 IC card reader

Publications (2)

Publication Number Publication Date
JP2004178101A JP2004178101A (en) 2004-06-24
JP4081667B2 true JP4081667B2 (en) 2008-04-30

Family

ID=32703780

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002341412A Expired - Fee Related JP4081667B2 (en) 2002-11-25 2002-11-25 IC card reader

Country Status (1)

Country Link
JP (1) JP4081667B2 (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7650388B2 (en) * 2005-01-13 2010-01-19 Xerox Corporation Wireless identification protocol with confirmation of successful transmission
US7146112B2 (en) * 2005-01-13 2006-12-05 Xerox Corporation Replaceable unit monitor reader with auto polling capabilities
KR100703732B1 (en) 2005-01-19 2007-04-05 삼성전자주식회사 Method and apparatus for improving data processing speed by storing record information of identification module
JP4921729B2 (en) * 2005-06-17 2012-04-25 株式会社東芝 Portable electronic device, IC card and IC module
US20090224041A1 (en) * 2005-07-05 2009-09-10 Nobuya Takagi Readout data length specifying method
JP2007094889A (en) * 2005-09-29 2007-04-12 Keyence Corp Radio tag reader/writer, and radio tag read/write method
JP4891587B2 (en) * 2005-09-30 2012-03-07 株式会社東芝 Portable electronic device, IC card and IC module
JP5085055B2 (en) * 2006-05-31 2012-11-28 株式会社東芝 IC card and IC module
WO2008096759A1 (en) 2007-02-07 2008-08-14 Kabushiki Kaisha Toshiba Information storage medium and medium processing system
JP2010009467A (en) * 2008-06-30 2010-01-14 Toshiba Corp Information storage medium, information processing system, and command method
JP5267983B2 (en) * 2008-10-01 2013-08-21 株式会社日立製作所 Tag access system and data storage method
JP5271816B2 (en) * 2009-06-10 2013-08-21 株式会社日立製作所 System and method for writing data to IC tag
JP5198607B2 (en) * 2011-03-14 2013-05-15 株式会社東芝 Portable electronic device, IC card and IC module
JP5269179B2 (en) * 2011-12-06 2013-08-21 株式会社東芝 Portable electronic device, IC card and IC module
JP5301018B2 (en) * 2012-07-13 2013-09-25 株式会社東芝 Portable electronic device
JP5957347B2 (en) * 2012-09-20 2016-07-27 株式会社東芝 IC card and portable electronic device
CN112488249B (en) * 2020-10-21 2024-07-23 深圳市华信智能科技股份有限公司 Method for intelligent reading application record of IC card

Also Published As

Publication number Publication date
JP2004178101A (en) 2004-06-24

Similar Documents

Publication Publication Date Title
JP4081667B2 (en) IC card reader
US5773804A (en) Electronic passbook system using electronic passbook card and method of using the same therein
US6796496B2 (en) Systems and methods for automatic language selection for system user interface
KR100368584B1 (en) Cash automatic transaction system
JP5602674B2 (en) Paper sheet processing apparatus and identification algorithm update program
KR100848998B1 (en) How to Affiliate Deal in Branch System
KR0150811B1 (en) Automatic cash transaction system
KR101416953B1 (en) Banknote processing apparatus and bill processing method
JP2018129024A (en) Business form automatic acceptance machine, business form automatic acceptance system, business form automatic acceptance method and business form automatic acceptance program
JP5135782B2 (en) Automatic transaction equipment
RU2388055C2 (en) Method and device for receiving banknotes
US20020003899A1 (en) Method for determination of input data in sheet handling apparatus
KR101965856B1 (en) Financial device and controlling method thereof
JP3535366B2 (en) Automatic transaction equipment
JP5022138B2 (en) Automatic transaction apparatus and IC card transfer information transfer method
JPH06231339A (en) Automatic teller machine provided with transfer data display function
JP2003132228A (en) Automatic transaction device compatible with IC chip mounted card
CN108470404A (en) Gate control method, device, finance device and storage medium for card reader
JP2003196621A (en) Data recording on IC card
JP6585135B2 (en) Automatic transaction equipment
JP6353128B1 (en) Automatic transaction equipment
JP2003132395A (en) Automatic transaction device compatible with IC chip mounted card
JP2004070687A (en) Passbook entry device, passbook entry method, program for making computer execute the method, and storage medium with the program stored therein
JP2020201728A (en) Method for automatically repairing information of magnetic stripe of ic card
KR19990069427A (en) Method and device for charging card in automatic teller machine

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20050727

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070918

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071002

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071130

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: 20080129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080129

R150 Certificate of patent or registration of utility model

Ref document number: 4081667

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110222

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120222

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130222

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140222

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees