JP2006113737A - Communication system and communication method - Google Patents
Communication system and communication method Download PDFInfo
- Publication number
- JP2006113737A JP2006113737A JP2004299128A JP2004299128A JP2006113737A JP 2006113737 A JP2006113737 A JP 2006113737A JP 2004299128 A JP2004299128 A JP 2004299128A JP 2004299128 A JP2004299128 A JP 2004299128A JP 2006113737 A JP2006113737 A JP 2006113737A
- Authority
- JP
- Japan
- Prior art keywords
- reader
- writer
- communication
- information
- layer
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、情報通信システム及び通信方法に関し、特に、非接触ICカードなどの非接触データキャリアと、同データキャリアと無線通信を行うリーダライタとから構成される通信システムの改良を図ったものに関するものである。 The present invention relates to an information communication system and a communication method, and more particularly to an improvement of a communication system including a contactless data carrier such as a contactless IC card and a reader / writer that performs wireless communication with the data carrier. Is.
従来の上記通信システムにおける認識動作、すなわち、リーダライタが通信領域に存在する単数乃至複数の非接触データキャリアに対して、すべてのデータキャリアの識別コードを認識する動作は、例えば、特許文献1で明示されている。
The recognition operation in the conventional communication system described above, that is, the operation in which the reader / writer recognizes the identification codes of all the data carriers with respect to one or more non-contact data carriers existing in the communication area is disclosed in
上記文献に示されている従来の通信システムでは、リーダライタは、データキャリアに記録された階層構造のランダムコードを用いて、リーダライタから階層とランダムコードを指定してデータキャリアに照会を行い、この照会情報と指定された階層に記録されたランダムコードとが一致するデータキャリアに対して、一致したことを知らせるレスポンスの返信を要求するものであった。
しかしながら、上記従来の通信システムでは、
第1に、データキャリアに識別コードとは別の階層構造のランダムコードを記録しておく必要があるため、認識のために必要な記録情報量が多くなるとともに、識別には、リーダライタがランダムコードを発行してデータキャリアの差異を認識する工程と、リーダライタが差異を認識したデータキャリアの識別コードを確認する工程とのふたつの工程を要するため、認識時間が長くなるという欠点があり、
第2に、データキャリアの発行量が増えることによりすべてのランダムコードが一致する複数のデータキャリアが存在する可能性が高くなり、複数のデータキャリアがひとつのリーダライタの通信領域に存在すると、データキャリアとリーダライタ間が通信不能となる可能性が高くなるという欠点があり、
第3に、ランダムコードには、そのランダムコードという性質上、データキャリアの用途、使用者などデータキャリアの固有情報を意味付けて割り当てることができない。固有情報を割り当てることができるのは識別コードのみであるので、識別コードの情報量が固定されている場合、データキャリアの用途、使用者などの拡大に限界があるという欠点がある。
However, in the conventional communication system,
First, since it is necessary to record a random code having a hierarchical structure different from the identification code on the data carrier, the amount of recording information necessary for recognition increases, and the reader / writer randomly selects the identification. Since there are two steps, a process of issuing a code and recognizing the difference in the data carrier, and a process of checking the identification code of the data carrier in which the reader / writer has recognized the difference, there is a disadvantage that the recognition time becomes long,
Second, as the amount of data carriers issued increases, there is a high possibility that there will be a plurality of data carriers in which all random codes match, and if there are a plurality of data carriers in the communication area of one reader / writer, There is a drawback that there is a high possibility that communication between the carrier and the reader / writer becomes impossible,
Thirdly, due to the nature of the random code, the random code cannot be assigned by meaning the data carrier specific information such as the use of the data carrier and the user. Since only the identification code can be assigned the unique information, there is a disadvantage that there is a limit to the expansion of the use of the data carrier, the user, etc. when the information amount of the identification code is fixed.
本発明は、上記のような従来の課題を解決するためになされたもので、同一の識別コードをもつ複数のデータキャリアが同時に1つのリーダライタの通信領域に存在することにより生じる衝突エラーが発生することなく、必要最小限の通信量及び時間で個々のデータキャリアを認識することが可能な通信システム、及び該通信システムに用いる通信方法を提供することを目的とする。 The present invention has been made to solve the above-described conventional problems, and a collision error occurs when a plurality of data carriers having the same identification code are simultaneously present in the communication area of one reader / writer. An object of the present invention is to provide a communication system capable of recognizing individual data carriers with a minimum necessary communication amount and time, and a communication method used in the communication system.
本発明は、上記課題を解決するために、データキャリアの用途、使用者などのデータキャリアの固有情報を、データキャリアが互いに差異を識別できる必要最小限の範囲まで階層的に分類し、この階層構造に対応する階層構造を持つ情報ブロックに分類情報を割り当て、これらの情報ブロックの総合情報により識別コードを構成するものである。 In order to solve the above-mentioned problems, the present invention hierarchically classifies data carrier specific information such as the use of a data carrier and a user to the minimum necessary range in which the data carriers can distinguish from each other. Classification information is assigned to an information block having a hierarchical structure corresponding to the structure, and an identification code is constituted by comprehensive information of these information blocks.
そして、認識動作を最上位の大別を行う情報ブロックから開始し、任意の階層において、衝突エラーが発生すればさらにひとつ下位の階層に移動して認識動作を行い、かつ、最上位階層でない任意の階層において、その階層の情報ブロックで取り得るすべての値を取り終えればひとつ上位の階層に移動して認識動作を続け、最上位階層の情報ブロックで取り得るすべての値を取り終えれば認識動作を終了することにより行うものである。 Then, the recognition operation is started from the information block that performs the broad classification, and if a collision error occurs in any layer, the recognition operation is performed by moving to a lower layer, and any that is not the highest layer If all the values that can be obtained in the information block of that hierarchy are completed, the recognition operation is continued by moving to the upper hierarchy, and if all values that can be obtained in the information block of the highest hierarchy are completed. This is done by terminating the recognition operation.
すなわち、本発明の請求項1に記載の通信システムは、データを保持する担体である複数のデータキャリアと、該複数のデータキャリアに保持されたデータの読み書きを行うリーダライタとで構成され、上記リーダライタが上記複数のデータキャリアの各々と通信を行う通信システムであって、上記複数のデータキャリアの各々は、該複数のデータキャリアを互いに識別するための第1階層から第N階層(Nは2以上の整数)までの、階層構造を有する固有識別情報をそれぞれ保持するNブロックからなる識別情報記憶部と、上記リーダライタからの指示信号の指定した情報と、上記識別情報記憶部が保持する情報とを比較演算する演算部と、上記比較演算の結果に応じて返信レスポンスを行う返信部と、を備え、上記リーダライタは、上記複数のデータキャリアを識別する情報を含む上記指示信号を送信する送信部と、上記複数のデータキャリアからの返信レスポンスを受信する受信部と、を備え、上記リーダライタの送信部は、上記複数のデータキャリアに対して、階層値k(kは、1≦k≦Nを満たす整数)の情報、及び第kブロックに対応する比較用情報を含む上記指示信号を送信し、上記複数のデータキャリアの各々の演算部は、受信された上記リーダライタからの第kブロックに対応する比較用情報と、各々の第kブロックに実際に記録されている情報とを比較し、上記複数のデータキャリアのうち、上記2つの情報が一致したデータキャリアの返信部は、上記リーダライタに対して一致したことを知らせるレスポンスを返信することを特徴とするものである。
That is, the communication system according to
また、本発明の請求項2に記載の通信システムは、請求項1に記載の通信システムにおいて、上記リーダライタは、上記送信を行った結果、上記レスポンスが返信されない場合は、上記第kブロックに対応する比較用情報を変化させ、上記レスポンスが1つのデータキャリアのみから返信された場合は、同データキャリアと必要な通信を完了させた後に同様に上記第kブロックに対応する比較用情報を変化させ、上記レスポンスが複数のデータキャリアから返信された場合は、上記階層値kを増やし、かつ上記対応する比較用情報を、該増やした階層値kに対応する上記ブロックに対応する比較用情報に変化させた後に上記指示信号を再度送信することを特徴とするものである。
Further, in the communication system according to
また、本発明の請求項3に記載の通信システムは、請求項1に記載の通信システムにおいて、上記リーダライタが上記送信を行った結果、上記レスポンスが返信されることなく、かつ、該リーダライタが上記複数のデータキャリアに対して、第kブロックの取り得るすべての対応する値を送信し終わっており、かつ、該リーダライタが上記複数のデータキャリアと通信を開始した時点における最初の階層値であるk0が、上記kより小さい場合に、該リーダライタは、上記kの値を現行値に変化するひとつ前の値に設定し直し、かつ上記対応する比較用情報を該設定し直したkに対応する上記ブロックに対応する比較用情報に変化させた後に上記指示信号を再度送信することを特徴とするものである。
The communication system according to
また、本発明の請求項4に記載の通信システムは、請求項1に記載の通信システムにおいて、上記リーダライタが上記送信を行った結果、上記レスポンスが返信されることなく、かつ、該リーダライタが上記複数のデータキャリアに対して、第kブロックの取り得るすべての対応する値を送信し終わっており、かつ、該リーダライタが上記複数のデータキャリアと通信を開始した時点における最初の階層値であるk0が、上記kと等しい場合に、該リーダライタは、通信を終了させることを特徴とするものである。
The communication system according to
また、本発明の請求項5に記載の通信システムは、請求項1に記載の通信システムにおいて、上記比較用情報は、第kブロックに対応するものの他、第1から第k−1ブロックまでのすべて、乃至は一部の情報を含むことを特徴とするものである。
The communication system according to claim 5 of the present invention is the communication system according to
また、本発明の請求項6に記載の通信システムは、請求項2に記載の通信システムにおいて、上記必要な通信は、上記リーダライタが、上記階層値kを増やし、該増やした階層値kに対応する上記ブロックに対応する比較用情報を変化させて上記指示信号を送信するのを、上記1つのデータキャリアを特定するまで、繰り返し行うことを含むことを特徴とするものである。
In the communication system according to claim 6 of the present invention, in the communication system according to
また、本発明の請求項7に記載の通信方法は、第1の通信装置と、複数の第2の通信装置との間で通信を行う通信方法において、上記複数の第2の通信装置の各々は、該複数の第2の通信装置を互いに識別するための階層化された第1階層から第N階層までの固有識別情報をそれぞれ保持するNブロックからなる識別情報を記憶しており、上記第1の通信装置は、上記複数の第2の通信装置に対して、階層値kの情報、及び第kブロックに対応する比較用情報を含む指示信号を送信し、上記第2の通信装置は、受信した上記第1の通信装置からの指示信号に含まれた情報と、個々の第2の通信装置に記録されている識別情報とを比較し、当該2つの情報が一致した第2の通信装置は、上記第1の通信装置に対して一致したことを知らせるレスポンスを返信し、上記第1の通信装置は、該第2の通信装置からのレスポンスを受信して、上記複数の第2の通信装置のそれぞれを識別する認識動作を最上位の階層から開始し、任意の階層において、2つ以上の上記第2の通信装置がレスポンスを返送する衝突エラーが発生した時、当該階層のさらに1つ下位の階層に移動して認識動作を行うことにより、上記第2の通信装置を個別に識別することを特徴とするものである。 According to a seventh aspect of the present invention, there is provided a communication method in which communication is performed between a first communication device and a plurality of second communication devices, each of the plurality of second communication devices. Stores identification information composed of N blocks each holding unique identification information from the first layer to the Nth layer that are hierarchized for identifying the plurality of second communication devices from each other. The first communication device transmits an instruction signal including information on the layer value k and comparison information corresponding to the k-th block to the plurality of second communication devices, and the second communication device The second communication device in which the information included in the received instruction signal from the first communication device is compared with the identification information recorded in each second communication device, and the two information matches. Is a response that informs the first communication device that a match has occurred. The first communication device receives a response from the second communication device and starts a recognition operation for identifying each of the plurality of second communication devices from the highest layer. When a collision error in which two or more of the second communication devices send back responses occurs in any layer, the recognition operation is performed by moving to a layer one level lower than the layer and performing a recognition operation. The two communication devices are individually identified.
また、本発明の請求項8に記載の通信方法は、請求項7に記載の通信システムにおいて、上記衝突エラーが発生したときは、上記第1の通信装置は、当該階層における当該衝突エラーが生じた位置より1つ下位の階層に移動することを特徴とするものである。
In the communication method according to claim 8 of the present invention, in the communication system according to
また、本発明の請求項9に記載の通信方法は、請求項7に記載の通信システムにおいて、上記第1の通信装置は、最上位階層でない任意の階層において、その階層で取り得るすべての対応する比較用情報を取り終えれば、該階層から対応する1つ上位の階層に移動して認識動作を続け、かつ、最上位階層で取り得るすべての比較用情報を取り終えれば認識動作を終了することを特徴とするものである。
The communication method according to
本発明の通信システム及び通信方法によれば、リーダライタの通信領域に存在するデータキャリアの認識を、従来の通信システムのように確率的に識別コードが一致する複数のデータキャリアが存在することにより通信不能となる問題が発生することなく、互いのデータキャリアの差異の認識に必要な最小限の情報量の通信により実現することができる。 According to the communication system and the communication method of the present invention, the data carrier existing in the communication area of the reader / writer is recognized by the presence of a plurality of data carriers whose identification codes are stochastically matched as in the conventional communication system. This can be realized by communication with the minimum amount of information necessary for recognizing the difference between the data carriers without causing the problem of communication inability.
さらに、識別コードは固定長である必要はなく、識別コードの階層構造を後から変更しても、この変更情報をリーダライタに更新して記録することにより容易にデータキャリアの用途、使用者などの拡大に対応することができる。 Furthermore, the identification code does not need to have a fixed length, and even if the hierarchical structure of the identification code is changed later, the change information can be easily updated and recorded in the reader / writer to record the use of the data carrier, the user, etc. Can be expanded.
(実施の形態1)
以下、本発明の実施の形態1による通信システム、及び通信方法について、図1、図2および図3を参照しながら説明する。
(Embodiment 1)
Hereinafter, a communication system and a communication method according to
図1は、本実施の形態1による通信システムの概略構成を示す図である。図1において、本実施の形態1による通信システムは、リーダライタ(第1の通信装置)1と単数又は複数のデータキャリア(第2の通信装置)2とにより構成され、リーダライタ1は個々のデータキャリア2との間で電磁誘導結合による無線通信を行うものである。
FIG. 1 is a diagram showing a schematic configuration of a communication system according to the first embodiment. In FIG. 1, the communication system according to the first embodiment includes a reader / writer (first communication device) 1 and one or a plurality of data carriers (second communication devices) 2. Wireless communication by electromagnetic inductive coupling is performed with the
上記リーダライタ1は、少なくとも、データキャリア2を識別し、制御するための指示信号を送信する送信部11と、データキャリア2からの返信レスポンスを受信する受信部12と、複数のデータキャリア2を識別する情報等を保持するメモリ13と、上記各部の統合制御を行う制御部14とを備えている。
The reader /
また、上記データキャリア2は、少なくとも、該データキャリア2における情報記録手段として、ブロック単位の情報を記録するための第1ブロックから第Nブロックまでの互いに独立した記録ブロックを有しており、ブロック情報を個別に記録する識別情報記憶部23(ここでは、N≧2の整数である)と、リーダライタ1からの指示信号を受信する受信部22と、受信した指示信号における比較用情報と、識別情報記憶部23に保持した情報とを比較する演算部24と、上記2つの情報が一致した時にリーダライタ1に対してこれらが一致したことを知らせるレスポンスを返信する送信部21とを含む。
The
次に、データキャリア2の識別コードの構成を、図2を参照しながら説明する。
図2は、本実施の形態1による通信システムにおけるデータキャリア2の識別コードの構成を示す図である。
Next, the configuration of the identification code of the
FIG. 2 is a diagram showing the configuration of the identification code of the
データキャリア2の識別コードは、第1ブロック、第2ブロック、‥‥、第NブロックのN個の情報ブロックで構成されている。階層構成を有するN個の情報ブロックのそれぞれは、識別情報の1階層に対応している。即ち、データキャリアを最上位で大別する情報を第1ブロックに、この第1ブロックの情報に対応して、該情報をさらに小分類する情報を第2ブロックに、以下同様に、第N−1ブロックの情報に対応して、該第N−1ブロックの情報をさらに小分類する情報を第Nブロックに、各々記録している。
The identification code of the
データキャリア2の認識は、リーダライタ1が通信領域に存在する単数乃至は複数のデータキャリア2の各々の識別コードの差異を認識できる必要最小限の階層まで下がって、これらの情報ブロックのデータを総合的に取得することにより行われる。
The recognition of the
次に、本実施の形態1による通信方法について、データキャリアを認識する認識動作の詳細をもって説明する。 Next, the communication method according to the first embodiment will be described with details of the recognition operation for recognizing the data carrier.
本実施の形態1による通信システムにおいては、リーダライタ1の送信部11は、複数のデータキャリア2に対して、階層値kの情報と、第kブロックに対応する比較用情報とを含む指示信号を送信する。即ち、リーダライタ1の送信部11は、複数のデータキャリア2に対して、階層値kの情報、及び第1ブロック、第2ブロック、…、第kブロック(kは、1≦k≦Nを満たす整数)の情報ブロックに対応する比較用データを示し、さらに、すべての階層においてこれらの比較用データと一致する識別コードを持つデータキャリア2に対して、一致したことを知らせるレスポンスの返信を求める指示信号である、コマンドREQkを送信する。
In the communication system according to the first embodiment, the
データキャリア2において、受信部22は、上記コマンドREQkを受信し、演算部24は、該コマンドREQkに含まれている第kブロックの比較用データと、識別情報記憶部23に保持している第kブロックの識別情報と比較する。比較の結果、第kブロックの比較用データと識別情報記憶部23に保持している第kブロックの識別情報とが一致し、即ち、第k−1階層までの結果を含めば、第1階層から第k階層までの比較用データと、保持された第1階層から第k階層までの識別情報とがすべて一致したと判断されたデータキャリア2は、その送信部21が、REQkに対してレスポンスANS_REQkをリーダライタ1に返信する。
In the
REQkコマンドには、第1ブロック、第2ブロック、…、第kブロックまでの比較用データの集まりである総合データ{k,D1,D2,…,Dk}が含まれており、REQコマンドのk値、すなわち階層の深さは不定である。k値が小さい、すなわち階層が浅いほどREQkのデータ長は短くなり、反対にk値が大きい、すなわち階層が深いほどREQkのデータ値は長くなる。ここで、D1、D2、…、Dkはそれぞれ、リーダライタ1が指定した第1ブロック、第2ブロック、…、第kブロックに記録されているデータである。 The REQ k command includes general data {k, D 1 , D 2 ,..., D k }, which is a collection of comparison data up to the first block, the second block,. The k value of the REQ command, that is, the depth of the hierarchy is indefinite. The smaller the k value, that is, the shallower the hierarchy, the shorter the data length of REQ k . Conversely, the larger the k value, that is, the deeper the hierarchy, the longer the data value of REQ k . Here, D 1 , D 2 ,..., D k are data recorded in the first block, the second block,.
次に、認識アルゴリズムについて、図3を参照しながら説明する。
図3は、本実施の形態1による通信システムにおける認識アルゴリズムを示すフローチャートである。
Next, the recognition algorithm will be described with reference to FIG.
FIG. 3 is a flowchart showing a recognition algorithm in the communication system according to the first embodiment.
リーダライタ1は、通信を開始する前の初期設定においてk=1と設定され、このことにより、送信部11は、まず第1階層である第1ブロックの比較用データを示すREQ1コマンドを送信することになる(ステップS200)。
The reader /
以降の認識アルゴリズムについて、k=1とせず、1<k≦Nとして、一般的なREQkコマンド発行に対するリーダライタ1の処理フローを示しながら説明する。
The following recognition algorithm will be described with reference to the processing flow of the reader /
リーダライタ1は、任意の第kブロックの階層において、階層構造における現在の位置、すなわちk値と、すべての上位階層のデータとにより設定された現在の位置において、取り得るDk値を変化させながら、すなわち現在の位置に割り当てられたすべての分類項目を取るようにDk値を変化させながらREQkを発行して行く(ステップS202、S203)。
The reader /
リーダライタ1の制御部14は、個々のREQkコマンド発行後に下記の3つの判定を行う。
The
すなわち、リーダライタ1が総合データ{k,D1,D2,…,Dk}を指定してREQkを送信部11により送信した結果、
第1の結果として、リーダライタ1の受信部12が何も返信を受けなかったとき、リーダライタ1の制御部14は、通信領域に総合データ{k,D1,D2,…,Dk}がすべて一致する識別コードを持つデータキャリア2が存在しないと判定し、
第2の結果として、リーダライタ1の受信部12がANS_REQkであると判別できる返信を受けたとき、すなわちREQkで示した総合データと同一の識別コードを持つ複数のデータキャリア2から同時にANS_REQkが返信されたときに発生する返信信号の衝突が発生しなかったと判定できるとき、リーダライタ1の制御部14は、通信領域に総合データ{k,D1,D2,…,Dk}が一致する識別コードを持つデータキャリア2がひとつだけ存在すると判定し、
第3の結果として、リーダライタ1の受信部12がANS_REQkであると判別できない返信を受けたとき、すなわちREQkで示した総合データと同一の識別コードを持つ複数のデータキャリア2からANS_REQkが同時に返信されたことにより返信信号の衝突が発生したと判定できるとき、リーダライタ1の制御部14は、通信領域に総合データ{k,D1,D2,…, Dk}が一致する識別コードを持つデータキャリア2が複数個存在すると判定する。
That is, as a result of the reader /
As a first result, when the receiving
As a second result, when the receiving
As a third result, when the receiving
次に、リーダライタ1の制御部14は、上記3つの判定に対して、下記の内容の処理を実行する。
Next, the
まず、上記第1の結果判定に対しては、リーダライタ1は、後述の総合データ変更処理を行って認識を続けて行く(ステップS217)。
First, for the first result determination, the reader /
次に、上記第2の結果判定に対しては、リーダライタ1は、識別コードを認識できたデータキャリア2に対して、総合データ{k,D1,D2,…,Dk}を指定して、データキャリアを通常通信が可能な通常通信イネーブル状態に遷移させるSELkコマンドを、送信部11により発行する(ステップS207)。
Next, for the second result determination, the reader /
SELkコマンドを受信部22により受信した上記データキャリア2は、通常通信イネーブル状態に遷移する(ステップS208)。
The
リーダライタ1と上記データキャリア2は、この状態で必要な通信を行う(ステップS209)。
The reader /
上記総合データ{k,D1,D2,…,Dk}で既に通常通信イネーブル状態にあるデータキャリア2を識別できた場合を除き、上記必要な通信は、該データキャリア2を識別できるまで、階層を下がって比較用情報を変更しながら認識動作を繰返すことを含む(図5のステップS5、S6の例を参照)。
Unless the
必要な通信が終了すると、リーダライタ1は、上記データキャリア2に対して、総合データ{k, D1,D2,…,Dk}を指定して、後述のWAKE UPkコマンド以外には応答しない状態に遷移させるHALTkコマンドを、送信部11により発行する(ステップS210)。
When the necessary communication is completed, the reader /
リーダライタ1との必要な通信を終えた上記データキャリア2は、HALTkコマンドを受けてWAKE UPkコマンド以外には応答しなくなり、すなわち、以降の認識動作においてリーダライタ1からの認識対象から除外されることになる(ステップS211)。
The
ここでWAKE UPkコマンドは、リーダライタ1が、HALTkを受けてWAKE UPkコマンド以外に応答しなくなったデータキャリア2に対して、総合データ{k,D1,D2,…,Dk}を指定して再度REQk、SELk、およびHALTkを受け付ける状態に遷移させるコマンドである。
Here, the WAKE UP k command indicates that the reader /
上記内容の処理の後、リーダライタ1は、後述の総合データ変更処理を行って認識を続けて行く(ステップS217)。
After the processing of the above contents, the reader /
このように、上述の一連の処理により、リーダライタ1は、通信を行うデータキャリア2をひとつずつ減らしながら認識動作を繰り返し、最終的に通信領域に存在するすべてのデータキャリア2との通信を終了することになる。
As described above, the reader /
最後に、上記第3の結果判定に対しては、リーダライタ1はさらに衝突を起こした複数のデータキャリア2の識別コードの差異を認識するため、kの値を1大きくし、すなわち現行の総合データ{k,D1,D2,…,Dk}を指定するREQkコマンドに対して、1段階下層の情報ブロックの、{D1,D2,…,Dk}に対応する値Dk+1を変化させながら総合データ{k+1,D1,D2,…, Dk, Dk+1}を指定するREQk+1コマンドを、送信部11により発行して認識動作を続ける(ステップS212、S213)。
Finally, for the third result determination, the reader /
次に、上記の総合データ{k,D1,D2,…,Dk}の変更処理を説明する。
総合データ{k,D1,D2,…,Dk}の変更処理は、2つのケースがある。
Next, a process for changing the above-described general data {k, D 1 , D 2 ,..., D k } will be described.
There are two cases for the change processing of the comprehensive data {k, D 1 , D 2 ,..., D k }.
第1のケースとして、カレントブロックである第kブロックにおいて、{D1,D2,…,Dk-1}に対応する、他の取り得るDk値が存在する場合は、取り得るDk値がひとつの場合はこの値にDk値を変化させ、複数の場合はいずれかの値にDk値を変化させた上で(ステップS202)、再度REQkを発行して認識動作を続ける(ステップS203)。 As a first case, if there is another possible D k value corresponding to {D 1 , D 2 ,..., D k−1 } in the k th block that is the current block, the possible D k If the value is one, the D k value is changed to this value, and if there are a plurality of values, the D k value is changed to any value (step S202), and then REQ k is issued again to continue the recognition operation. (Step S203).
第2のケースとして、{D1,D2,…,Dk-1}に対応する、他の取り得るDk値が存在しないときは、取り得るすべてのDk値で、すなわち、現行の第kブロックで取り得るすべての小分類でREQkコマンドの発行を完了したことになるので、以降は、k≠1、すなわち最上位ブロックでなければkの値を1減じて1つ上位の階層である第(k−1)ブロックに戻り(ステップS216)、k=1、すなわち最上位ブロックであれば認識動作を終了する(ステップS215)。 As a second case, when there are no other possible D k values corresponding to {D 1 , D 2 ,..., D k-1 }, all possible D k values, ie the current Since the issuance of the REQ k command has been completed for all the minor classifications that can be taken in the k-th block, thereafter, k ≠ 1, that is, if it is not the highest block, the value of k is decremented by 1 and the layer one higher Returning to the (k-1) th block (step S216), if k = 1, that is, the highest block, the recognition operation is terminated (step S215).
このとき、第kブロックからひとつ上位の階層である第(k−1)ブロックに戻った場合、この第(k−1)ブロックでさらに対応する他の取り得るDk-1値が存在する場合は、同様にDk-1値を変化させて(ステップS217)、REQk-1を発行して行くが、対応する他の取り得るDk-1値が存在しない場合は、第(k−1)ブロックが最上位ブロックでなければkの値を1減じてさらにひとつ上位の第(k−2)ブロックで処理を続けて行き、第(k−1)ブロックが最上位ブロックであれば認識動作を終了する(ステップS214、S215)。 At this time, when returning from the k-th block to the (k-1) -th block which is one higher level, there is another Dk-1 value that can be further corresponding to this (k-1) -th block. In the same manner, the D k-1 value is changed (step S217), and REQ k-1 is issued. If there is no other corresponding D k-1 value, the (k− 1) If the block is not the most significant block, the value of k is decremented by 1 and the processing continues with the (k-2) th higher block, and if the (k-1) th block is the most significant block, it is recognized. The operation is finished (steps S214 and S215).
このように、第1階層の情報を含むデータ長の最も短いREQコマンドから開始し、必要に応じて階層を深めて複数の階層の情報を含むデータ長の長いREQコマンドを発行して認識を行う上記一連の動作で、リーダライタは、通信領域に存在するすべてのデータキャリアの識別コードの差異を、必要最小限のデータ長のREQkコマンドの発行により認識することが可能となり、認識時間が最小化された通信システムを実現することができる。 In this way, starting from the REQ command having the shortest data length including the information of the first layer, the layer is deepened as necessary, and the REQ command having a long data length including the information of the plurality of layers is issued for recognition. Through the above series of operations, the reader / writer can recognize the difference in the identification codes of all data carriers existing in the communication area by issuing the REQ k command with the minimum required data length, and the recognition time is minimized. An integrated communication system can be realized.
かつ、データキャリアの識別コードは各々のデータキャリアに対して固有の値が付与されているので、リーダライタの通信領域に同一の識別コードを持つ複数のデータキャリアが存在することにより認識エラーが発生する恐れもない。 In addition, since a unique value is assigned to each data carrier identification code, a recognition error occurs due to the presence of multiple data carriers having the same identification code in the communication area of the reader / writer. There is no fear of doing.
なお、上記一連の動作では、REQkコマンドに総合データ{k,D1,D2,…,Dk}を含ませていたが、リーダライタおよびデータキャリアの双方で現在の階層とそのすべての上位階層を認識できていれば、すなわちk値と、D1,D2,…,Dk-1値を認識できていれば、REQkに含ませるデータをDkのみとしてさらにREQkのデータ長の短縮を図るシステムとしても良い。 In the series of operations described above, the total data {k, D 1 , D 2 ,..., D k } is included in the REQ k command. If the upper layer can be recognized, that is, if the k value and the values D 1 , D 2 ,..., D k−1 can be recognized, the data included in REQ k is only D k and the data of REQ k is further obtained . It may be a system for shortening the length.
次に、本発明のより具体的な実施の形態について図4を参照しながら説明する。
図4は、本実施例1の通信システムにおけるデータキャリアの識別コードの仕様を示す図である。ここでは、データキャリアは、各種のカードを想定するが、本発明は、必ずしもこれに限定されるものではない。
Next, a more specific embodiment of the present invention will be described with reference to FIG.
FIG. 4 is a diagram illustrating the specification of the identification code of the data carrier in the communication system according to the first embodiment. Here, various data cards are assumed as the data carrier, but the present invention is not necessarily limited to this.
本識別コードの仕様では、第1ブロックの値は、その最上位分類としてカード用途の大別を示している。本実施例では、第1ブロックの値D1が、1で銀行カード、2でクレジットカード、3で定期券カードと定められている。 In the specification of this identification code, the value of the first block indicates the card classification as the highest classification. In this embodiment, the value D 1 of the first block is defined as 1 for a bank card, 2 for a credit card, and 3 for a commuter pass card.
第2ブロックではその下位(第2階層)の分類を示している。例えば、識別すべきカードが銀行カードであればその金融機関名を示しており、第1ブロックの値および第2ブロックの値で構成される値(D1,D2)が(1,1)でA銀行、(1,2)でB銀行と定められている。また、識別すべきカードが定期券であれば(D1,D2) = (3,1)で有効期間が設定されている。 The second block shows the lower (second hierarchy) classification. For example, if the card to be identified is a bank card, it indicates the name of the financial institution, and the value (D 1 , D 2 ) composed of the value of the first block and the value of the second block is (1, 1). Bank A and (1,2) Bank B. If the card to be identified is a commuter pass, the valid period is set as (D 1 , D 2 ) = (3, 1).
第3ブロックではさらにその下位(第3階層)の分類を示している。例えば、識別すべきカードがA銀行の銀行カードであればその支店名を示しており、第1ブロックの値、第2ブロックの値、および第3ブロックの値で構成される値(D1,D2,D3)が(1,1,1)でAA支店、(1,1,2)でAB支店と定められている。また、識別すべきカードが定期券であれば(D1,D2,D3) = (3,1,1)で乗車区間が設定されている。 In the third block, further lower (third hierarchy) classification is shown. For example, if the card to be identified is a bank card of A bank, the branch name is shown, and a value (D 1 , D 2 , D 3 ) is defined as an AA branch at (1,1,1) and an AB branch at (1,1,2). If the card to be identified is a commuter pass, the boarding section is set as (D 1 , D 2 , D 3 ) = ( 3 , 1 , 1 ).
第4ブロックではさらにその下位(第4階層)の分類を示している。例えば、識別すべきカードがA銀行AA支店の銀行カードであれば口座番号などの顧客情報を示しており、第1ブロックの値、第2ブロックの値、第3ブロックの値、および第4ブロックの値で構成される値(D1,D2,D3,D4)が(1,1,1,1)で顧客AA1、(1,1,1,2)で顧客AA2と定められている。 In the fourth block, further lower (fourth hierarchy) classification is shown. For example, if the card to be identified is a bank card of A bank AA branch, customer information such as an account number is shown, and the value of the first block, the value of the second block, the value of the third block, and the fourth block (D 1 , D 2 , D 3 , D 4 ) are defined as ( 1 , 1 , 1 , 1 ) as customer AA1, and (1, 1, 1, 2) as customer AA2. Yes.
なお、図4に示す識別コード仕様や識別情報の全体は、リーダライタに保持されており、各カードは、他のカードと区別できる最小限の識別データを保持するものである。例えば、顧客AA2のカードに保持されている識別コードは4ブロックからなり、4ブロックの識別情報全体は(1,1,1,2)である。言うまでもないが、カードは、識別データ以外のその他のユーザデータを保持してもよい。 The entire identification code specification and identification information shown in FIG. 4 are held in a reader / writer, and each card holds minimum identification data that can be distinguished from other cards. For example, the identification code held on the card of the customer AA2 is composed of 4 blocks, and the entire identification information of 4 blocks is (1, 1, 1, 2). Needless to say, the card may hold user data other than the identification data.
また、本実施例の通信システムは、複数のリーダライタから構成され得るものである。これらのリーダライタに記録する共通の識別コード仕様は、これらのリーダライタを結ぶネットワークのホストシステムで一元的に管理すればよいため、本実施例の通信システムは、データキャリアの多種多様化による識別コード仕様の変更に対しても容易に対応できる。 Further, the communication system of the present embodiment can be composed of a plurality of reader / writers. Since the common identification code specifications recorded in these reader / writers can be centrally managed by the host system of the network connecting these reader / writers, the communication system of the present embodiment can be identified by diversifying data carriers. Easily respond to changes in code specifications.
そして、以下に、図4に示す識別コード仕様に対応して、同じリーダライタの通信範囲内に、カード1(1,2,1,2)とカード2(1,2,2,1)が存在する場合、それら2つのカードをそれぞれ識別し、後に通信を終了するまでの具体的な動作を、図5を参照しながら説明する。なお、カードの持ち主を確定するには、最下位である第4階層まで階層を下がる必要があるものとする。 In the following, the card 1 (1, 2, 1, 2) and the card 2 (1, 2, 2, 1) are within the communication range of the same reader / writer corresponding to the identification code specification shown in FIG. If they exist, specific operations until the two cards are identified and communication is ended later will be described with reference to FIG. In order to determine the owner of the card, it is assumed that it is necessary to go down to the fourth level which is the lowest level.
ステップS1 リーダライタが最上位である第1階層の比較用情報を用いて、総合データ(k,D1)=(1,1)を構築し、REQ1コマンドを発行する。カード1とカード2は、それぞれの第1情報ブロックにある情報がD1で同一であるため、該REQ1コマンドに応じてリーダライタに対して一致したことを知らせるレスポンスを共に返信する。
Step S1: Comprehensive data (k, D 1 ) = (1, 1) is constructed using the information for comparison in the first layer having the highest reader / writer, and a REQ 1 command is issued. Since the information in each of the first information blocks is the same in D 1 , the
ステップS2 発行したREQ1コマンドに対して返信レスポンスが衝突しているため、リーダライタは、上記レスポンスが複数のデータキャリアから返信されたと判別し、現在の状況を考慮して、第2階層に下がっていくべきと判断する。そして、リーダライタは、第2層の比較用情報を取り入れて、総合データ(k,D1,D2)=(2,1,1)を構築し、REQ2コマンドを発行する。カード1とカード2は、それぞれの第1、第2情報ブロックにある情報が(D1,D2)と異なるため、返信を行わない。
Step S2 Since the reply response collides with the issued REQ 1 command, the reader / writer determines that the response is returned from a plurality of data carriers, and lowers to the second layer in consideration of the current situation. Judge that we should go. Then, the reader / writer takes in the information for comparison in the second layer, constructs comprehensive data (k, D 1 , D 2 ) = (2, 1, 1), and issues a REQ 2 command.
ステップS3 発行したREQ2コマンドに対して返信がないため、リーダライタは、第2層の対応する比較用情報を変更して、総合データ(k,D1,D2)=(2,1,2)を再構築し、REQ2コマンドを再度発行する。カード1とカード2は、それぞれの第1、2情報ブロックにある情報が(D1,D2)と同一であるため、該REQ2コマンドに応じてリーダライタに対して一致したことを知らせるレスポンスを共に返信する。
Step S3 Since there is no response to the issued REQ 2 command, the reader / writer changes the corresponding comparison information in the second layer, and the total data (k, D 1 , D 2 ) = (2, 1, Reconstruct 2) and issue the REQ 2 command again. Since the information in the first and second information blocks of
ステップS4 発行したREQ2コマンドに対して返信レスポンスが衝突したため、リーダライタは、上記レスポンスが複数のデータキャリアから返信されたと判別し、現在の状況を考慮して、第3階層に下がっていくべきと判断する。そして、リーダライタは、第3層の対応する比較用情報を取り入れて、総合データ(k,D1,D2,D3)=(3,1,2,1)を構築し、REQ3コマンドを発行する。カード1は、その第1、第2、第3情報ブロックにある情報が(D1,D2,D3)と同一であるため、該REQ3コマンドに応じてリーダライタに対して一致したことを知らせるレスポンスを返信する。
Step S4 Since the reply response collided with the issued REQ 2 command, the reader / writer should determine that the response has been returned from a plurality of data carriers, and take the current situation down to the third layer. Judge. Then, the reader / writer takes in the corresponding comparison information in the third layer, constructs comprehensive data (k, D 1 , D 2 , D 3 ) = ( 3 , 1 , 2 , 1 ), and generates a REQ 3 command. Is issued. Since the information in the first, second, and third information blocks is the same as (D 1 , D 2 , D 3 ), the
ステップS5 発行したREQ3コマンドに対して返信レスポンスが1つのみのため、リーダライタは、上記総合データと同一の識別コードを有するデータキャリアが1つであると判別し、該返信したデータキャリアに対して、必要な通信を行う。この場合では、識別コードを第3階層までしか確認していないため、さらに階層を下がってカードの持ち主を確定する必要がある。本ステップS5と次のステップS6は、そのための動作である。 Step S5 Since there is only one response to the issued REQ 3 command, the reader / writer determines that there is one data carrier having the same identification code as the comprehensive data, and the returned data carrier On the other hand, necessary communication is performed. In this case, since the identification code is confirmed only up to the third layer, it is necessary to further lower the layer to determine the card holder. This step S5 and the next step S6 are operations for that purpose.
リーダライタは、現在の状況を考慮して、第4階層に下がって第4層の対応する比較用情報を取り入れて、総合データ(k,D1,D2,D3,D4)=(4,1,2,1,1)を構築し、REQ4コマンドを発行する。カード1とカード2はともに、そのような識別コードを持っていないため、返信を行わない。
In consideration of the current situation, the reader / writer takes down the corresponding information for comparison in the fourth layer down to the fourth layer, so that the total data (k, D 1 , D 2 , D 3 , D 4 ) = ( 4 , 1, 2, 1, 1) and issue a REQ 4 command. Since neither
ステップS6 発行したREQ4コマンドに対して返信がないため、リーダライタは、第4階層の対応する比較用情報を変更して、総合データ(k,D1,D2,D3,D4)=(4,1,2,1,2)を再構築し、REQ4コマンドを再度発行する。 Step S6: Since there is no response to the issued REQ 4 command, the reader / writer changes the corresponding comparison information in the fourth layer, and the total data (k, D 1 , D 2 , D 3 , D 4 ). = (4, 1, 2, 1, 2) and issue the REQ 4 command again.
このコマンドに対してカード1が返信するため、カード1の持ち主を確定することになる。それ以降は、確定されたカードに対して、使用の目的に応じて通信を行った後、リーダライタは、カード1に対して、HALTコマンドを送信する。
Since the
ステップS7 リーダライタは、現在の状況から、データキャリアが1つであると判別した時点に戻り、即ち、ステップS4が終了した時点に戻り、第3層の比較用情報を残りの対応するD3に変更して、総合データ(k,D1,D2,D3)=(3,1,2,2)を構築し、REQ3コマンドを発行する。カード2は、その第1、第2、第3情報ブロックにある情報が(D1,D2,D3)と同一であるため、該REQ3コマンドに応じてリーダライタに対して一致したことを知らせるレスポンスを返信する。
Step S7 The reader / writer returns from the current situation to the time when it is determined that there is one data carrier, that is, returns to the time when step S4 is completed, and the third layer comparison information is sent to the remaining corresponding D 3. To the general data (k, D 1 , D 2 , D 3 ) = ( 3 , 1 , 2 , 2 ) and issue the REQ 3 command. Since the information in the first, second, and third information blocks is the same as (D 1 , D 2 , D 3 ), the
ステップS8 発行したREQ3コマンドに対して返信レスポンスが1つのみのため、リーダライタは、上記総合データと同一の識別コードを有するデータキャリアが1つであると判別し、該返信したデータキャリアに対して、必要な通信を行う。この場合では、識別コードを第3階層までしか確認していないため、さらに階層を下げてカードの持ち主を確定する必要がある。本ステップS8は、そのための動作である。 Step S8: Since there is only one reply response to the issued REQ 3 command, the reader / writer determines that there is one data carrier having the same identification code as the comprehensive data, and the returned data carrier On the other hand, necessary communication is performed. In this case, since the identification code is confirmed only up to the third level, it is necessary to further lower the level and determine the card holder. This step S8 is an operation for that purpose.
リーダライタは、現在の状況を考慮して、第4階層に下がって第4階層の対応する比較用情報を取り入れて、総合データ(k,D1,D2,D3,D4)=(4,1,2,2,1)を構築し、REQ4コマンドを発行する。 In consideration of the current situation, the reader / writer takes down the corresponding information for comparison in the fourth layer down to the fourth layer, so that the total data (k, D 1 , D 2 , D 3 , D 4 ) = ( 4 , 1, 2, 2, 1) and issue a REQ 4 command.
このコマンドに対してカード2が返信するため、カード2の持ち主を確定することになる。それ以降は、確定されたカードに対して、使用の目的に応じて通信を行った後、リーダライタは、カード2に対して、HALTコマンドを送信する。
Since the
ステップS9 リーダライタは、現在の状況から、データキャリアが1つであると判別した時点に戻り、即ち、ステップS7が終了した時点に戻り、第3階層の比較用情報を残りの対応するD3に変更すべきと判断する。しかし、図4に示すように、(1,2,D3)にとって、第3階層の取りうる比較用情報D3に関してコマンドを全部送信した。そのため、リーダライタは、第2階層に上がって、第2階層の比較用情報を残りのD2に変更する。しかし、また、図4に示すように、(1,D2)にとって、第2階層の取りうる比較用情報D2に関してコマンドを全部送信した。そこで、リーダライタは、第1層に上がって、第1層の比較用情報を残りのD1に変更する。 Step S9 The reader / writer returns from the current situation to the time when it is determined that there is one data carrier, that is, returns to the time when step S7 ends, and the comparison information of the third hierarchy is sent to the remaining corresponding D 3. Judge that it should be changed. However, as shown in FIG. 4, for (1, 2, D 3 ), all of the commands related to the comparison information D 3 that can be taken in the third hierarchy are transmitted. Therefore, the reader writer, up to the second layer, changes the comparison information of the second layer to the rest of the D 2. However, as shown in FIG. 4, for (1, D 2 ), all the commands related to the comparison information D 2 that can be taken in the second hierarchy are transmitted. Therefore, the reader / writer goes up to the first layer and changes the comparison information in the first layer to the remaining D 1 .
リーダライタは、総合データ(k,D1)=(1,2)を構築し、REQ1コマンドを発行する。このような比較用データと一致する識別コードをもつデータキャリアが、通信範囲内に存在しないため、リーダライタは、レスポンスを受信することはない。 The reader / writer constructs comprehensive data (k, D 1 ) = (1, 2), and issues a REQ 1 command. Since a data carrier having an identification code that matches such comparison data does not exist within the communication range, the reader / writer does not receive a response.
ステップS10 リーダライタは、さらに、第1層の比較用情報を残りのD1に変更して、総合データ(k,D1)=(1,3)を再度構築し、REQ1コマンドを発行する。また、このような比較用データと一致する識別コードをもつデータキャリアが、通信範囲内に存在しないため、リーダライタは、レスポンスを受信することはない。 Step S10 writer further comparative information of the first layer was changed to the rest of the D 1, aggregate data (k, D 1) = a building again (1,3), and issues the REQ 1 command . In addition, since a data carrier having an identification code that matches such comparison data does not exist within the communication range, the reader / writer does not receive a response.
この段階で、第1層の取りうる比較用情報D1に関してコマンドを全部送信し終わり、かつ、第1層は最上階層である。従って、リーダライタは、通信を終了させる。 At this stage, all the commands regarding the comparison information D 1 that can be taken by the first layer have been transmitted, and the first layer is the top layer. Therefore, the reader / writer terminates communication.
なお、上記の例では、カードを最下位階層である第4階層まで下がって確定することになるが、これは、あくまでも一例であって、本発明はこれに限定されるものではない。リーダライタは、識別コードの仕様に応じて、識別できる階層まで下がってデータキャリアを確定する。例えば、図4に示す定期券カードの例では、第3階層まで下がれば識別することができる。 In the above example, the card is determined by lowering to the fourth hierarchy level, which is the lowest hierarchy, but this is only an example, and the present invention is not limited to this. The reader / writer determines the data carrier by going down to an identifiable hierarchy according to the specification of the identification code. For example, in the example of the commuter pass card shown in FIG.
このように、本発明の実施の形態1による通信システム、及び通信方法では、データキャリアに、その用途、使用者などの固有情報を階層的に保持させたので、リーダライタの通信領域に同一の識別コードを持つ複数のデータキャリアが存在することにより認識エラーが発生することがなくなり、また、リーダライタは、最上位階層から必要に応じて階層を下がって識別のための比較用情報を増やして送信することとしたので、必要最小限の情報量の通信で個々のデータキャリアの識別コードを認識することができる。これにより、認識時間が最短化された通信システムを実現することができる。 As described above, in the communication system and the communication method according to the first embodiment of the present invention, the data carrier has hierarchically stored the unique information such as its use and user, so that it is the same in the communication area of the reader / writer. The presence of multiple data carriers with identification codes eliminates recognition errors, and the reader / writer increases the comparison information for identification by moving down the hierarchy from the highest level as necessary. Since the transmission is performed, the identification code of each data carrier can be recognized by communication with the minimum amount of information. As a result, a communication system with a shortest recognition time can be realized.
なお、上記の実施の形態では、リーダライタとデータキャリアとは、電磁誘導結合による無線通信を行う場合を説明したが、超音波等他の方式で無線通信を行う場合であってもよく、また、有線による通信を行う場合であってもよい。 In the above embodiment, the reader / writer and the data carrier have been described as performing wireless communication using electromagnetic inductive coupling. However, the reader / writer and the data carrier may perform wireless communication using other methods such as ultrasonic waves. Alternatively, wired communication may be performed.
本発明の通信システムは、データキャリアが互いに識別できる階層的な固有識別情報を階層的に保持し、リーダライタとの必要最小限の通信によりデータキャリアの識別を可能とするものであり、非接触ICカードの多種多様化、利用者の拡大等に対して容易に対応でき得るシステムとして有用である。 The communication system of the present invention hierarchically holds hierarchical unique identification information that data carriers can identify with each other, and enables identification of data carriers with minimum necessary communication with a reader / writer. This system is useful as a system that can easily cope with a wide variety of IC cards and expansion of users.
1 リーダライタ
2 データキャリア
11 リーダライタの送信部
12 リーダライタの受信部
13 リーダライタのメモリ
14 リーダライタの制御部
21 データキャリアの送信部
22 データキャリアの受信部
23 データキャリアの識別情報記憶部
24 データキャリアの演算部
1 Reader /
Claims (9)
上記複数のデータキャリアの各々は、
該複数のデータキャリアを互いに識別するための第1階層から第N階層(Nは2以上の整数)までの、階層構造を有する固有識別情報をそれぞれ保持するNブロックからなる識別情報記憶部と、
上記リーダライタからの指示信号の指定した情報と、上記識別情報記憶部が保持する情報とを比較演算する演算部と、
上記比較演算の結果に応じて返信レスポンスを行う返信部と、を備え、
上記リーダライタは、
上記複数のデータキャリアを識別する情報を含む上記指示信号を送信する送信部と、
上記複数のデータキャリアからの返信レスポンスを受信する受信部と、を備え、
上記リーダライタの送信部は、上記複数のデータキャリアに対して、階層値k(kは、1≦k≦Nを満たす整数)の情報、及び第kブロックに対応する比較用情報を含む上記指示信号を送信し、
上記複数のデータキャリアの各々の演算部は、受信された上記リーダライタからの第kブロックに対応する比較用情報と、各々の第kブロックに実際に記録されている情報とを比較し、
上記複数のデータキャリアのうち、上記2つの情報が一致したデータキャリアの返信部は、上記リーダライタに対して一致したことを知らせるレスポンスを返信する、
ことを特徴とする通信システム。 Communication composed of a plurality of data carriers that are carriers for holding data and a reader / writer that reads and writes data held in the plurality of data carriers, and the reader / writer communicates with each of the plurality of data carriers A system,
Each of the plurality of data carriers is
An identification information storage unit composed of N blocks each holding unique identification information having a hierarchical structure from the first layer to the Nth layer (N is an integer of 2 or more) for identifying the plurality of data carriers from each other;
A calculation unit that compares and calculates the information specified by the instruction signal from the reader / writer and the information held in the identification information storage unit;
A reply unit that performs a reply response according to the result of the comparison operation,
The reader / writer is
A transmitter for transmitting the instruction signal including information for identifying the plurality of data carriers;
A receiving unit for receiving reply responses from the plurality of data carriers,
The transmission unit of the reader / writer includes, for the plurality of data carriers, the information including a layer value k (k is an integer satisfying 1 ≦ k ≦ N) and comparison information corresponding to the k-th block. Send a signal,
Each calculation unit of the plurality of data carriers compares the received comparison information corresponding to the k-th block from the reader / writer with the information actually recorded in each k-th block,
Among the plurality of data carriers, the reply unit of the data carrier in which the two pieces of information match each other returns a response informing the reader / writer that the two pieces of information match.
A communication system characterized by the above.
上記リーダライタは、上記送信を行った結果、
上記レスポンスが返信されない場合は、上記第kブロックに対応する比較用情報を変化させ、
上記レスポンスが1つのデータキャリアのみから返信された場合は、同データキャリアと必要な通信を完了させた後に同様に上記第kブロックに対応する比較用情報を変化させ、
上記レスポンスが複数のデータキャリアから返信された場合は、上記階層値kを増やし、かつ上記対応する比較用情報を、該増やした階層値kに対応する上記ブロックに対応する比較用情報に変化させた後に上記指示信号を再度送信する、
ことを特徴とする通信システム。 The communication system according to claim 1,
As a result of the transmission, the reader / writer
If the response is not returned, the comparison information corresponding to the kth block is changed,
When the response is returned from only one data carrier, after completing necessary communication with the data carrier, the comparison information corresponding to the k-th block is similarly changed,
When the response is returned from a plurality of data carriers, the layer value k is increased, and the corresponding comparison information is changed to comparison information corresponding to the block corresponding to the increased layer value k. After sending the above instruction signal again,
A communication system characterized by the above.
上記リーダライタが上記送信を行った結果、
上記レスポンスが返信されることなく、
かつ、該リーダライタが上記複数のデータキャリアに対して、第kブロックの取り得るすべての対応する値を送信し終わっており、
かつ、該リーダライタが上記複数のデータキャリアと通信を開始した時点における最初の階層値であるk0が、上記kより小さい場合に、
該リーダライタは、上記kの値を現行値に変化するひとつ前の値に設定し直し、かつ上記対応する比較用情報を該設定し直したkに対応する上記ブロックに対応する比較用情報に変化させた後に上記指示信号を再度送信する、
ことを特徴とする通信システム。 The communication system according to claim 1,
As a result of the transmission by the reader / writer,
Without returning the above response,
And the reader / writer has finished transmitting all corresponding values that the kth block can take to the plurality of data carriers,
And, when k 0 which is the first layer value when the reader / writer starts communication with the plurality of data carriers is smaller than k,
The reader / writer resets the value of k to the previous value that changes to the current value, and sets the corresponding comparison information to the comparison information corresponding to the block corresponding to the reset k. Send the above instruction signal again after changing
A communication system characterized by the above.
上記リーダライタが上記送信を行った結果、
上記レスポンスが返信されることなく、
かつ、該リーダライタが上記複数のデータキャリアに対して、第kブロックの取り得るすべての対応する値を送信し終わっており、
かつ、該リーダライタが上記複数のデータキャリアと通信を開始した時点における最初の階層値であるk0が、上記kと等しい場合に、
該リーダライタは、通信を終了させる、
ことを特徴とする通信システム。 The communication system according to claim 1,
As a result of the transmission by the reader / writer,
Without returning the above response,
And the reader / writer has finished transmitting all corresponding values that the kth block can take to the plurality of data carriers,
And, when k 0 which is the first layer value at the time when the reader / writer starts communication with the plurality of data carriers is equal to k,
The reader / writer terminates communication.
A communication system characterized by the above.
上記比較用情報は、第kブロックに対応するものの他、第1から第k−1ブロックまでのすべて、乃至は一部の情報を含む、
ことを特徴とする通信システム。 The communication system according to claim 1,
The comparison information includes all or a part of information from the first to the (k-1) th block in addition to the information corresponding to the kth block.
A communication system characterized by the above.
上記必要な通信は、
上記リーダライタが、上記階層値kを増やし、該増やした階層値kに対応する上記ブロックに対応する比較用情報を変化させて上記指示信号を送信するのを、上記1つのデータキャリアを特定するまで、繰り返し行うことを含む、
ことを特徴とする通信システム。 The communication system according to claim 2,
The required communication is
The reader / writer increases the layer value k, changes the comparison information corresponding to the block corresponding to the increased layer value k, and transmits the instruction signal to identify the one data carrier Including repeated operations,
A communication system characterized by the above.
上記複数の第2の通信装置の各々は、該複数の第2の通信装置を互いに識別するための階層化された第1階層から第N階層までの固有識別情報をそれぞれ保持するNブロックからなる識別情報を記憶しており、
上記第1の通信装置は、上記複数の第2の通信装置に対して、階層値kの情報、及び第kブロックに対応する比較用情報を含む指示信号を送信し、
上記第2の通信装置は、受信した上記第1の通信装置からの指示信号に含まれた情報と、個々の第2の通信装置に記録されている識別情報とを比較し、当該2つの情報が一致した第2の通信装置は、上記第1の通信装置に対して一致したことを知らせるレスポンスを返信し、
上記第1の通信装置は、該第2の通信装置からのレスポンスを受信して、上記複数の第2の通信装置のそれぞれを識別する認識動作を最上位の階層から開始し、任意の階層において、2つ以上の上記第2の通信装置がレスポンスを返送する衝突エラーが発生した時、当該階層のさらに1つ下位の階層に移動して認識動作を行うことにより、上記第2の通信装置を個別に識別する、
ことを特徴とする通信方法。 In a communication method for performing communication between a first communication device and a plurality of second communication devices,
Each of the plurality of second communication devices includes N blocks each holding unique identification information from the first layer to the Nth layer that are hierarchized for identifying the plurality of second communication devices from each other. Remembers identification information,
The first communication device transmits an instruction signal including information on the layer value k and comparison information corresponding to the k-th block to the plurality of second communication devices,
The second communication device compares the information included in the received instruction signal from the first communication device with the identification information recorded in each second communication device, and the two pieces of information The second communication device having the same value returns a response informing the first communication device that the match has occurred,
The first communication device receives a response from the second communication device, starts a recognition operation for identifying each of the plurality of second communication devices from the highest layer, and in any layer When a collision error occurs in which two or more second communication devices return responses, the second communication device is moved to the next lower layer to perform a recognition operation. Identify individually,
A communication method characterized by the above.
上記衝突エラーが発生したときは、上記第1の通信装置は、当該階層における当該衝突エラーが生じた位置より1つ下位の階層に移動する、
ことを特徴とする通信方法。 The communication method according to claim 7,
When the collision error occurs, the first communication device moves to a hierarchy one level lower than the position where the collision error occurs in the hierarchy.
A communication method characterized by the above.
上記第1の通信装置は、最上位階層でない任意の階層において、その階層で取り得るすべての対応する比較用情報を取り終えれば、該階層から対応する1つ上位の階層に移動して認識動作を続け、かつ、最上位階層で取り得るすべての比較用情報を取り終えれば認識動作を終了する、
ことを特徴とする通信方法。 The communication method according to claim 7,
When the first communication device finishes obtaining all the corresponding comparison information that can be taken in an arbitrary hierarchy that is not the highest hierarchy, the first communication apparatus moves from the hierarchy to a corresponding higher hierarchy and recognizes it. When the operation is continued and all the comparison information that can be taken at the highest level is obtained, the recognition operation is terminated.
A communication method characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004299128A JP2006113737A (en) | 2004-10-13 | 2004-10-13 | Communication system and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004299128A JP2006113737A (en) | 2004-10-13 | 2004-10-13 | Communication system and communication method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006113737A true JP2006113737A (en) | 2006-04-27 |
Family
ID=36382219
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004299128A Pending JP2006113737A (en) | 2004-10-13 | 2004-10-13 | Communication system and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006113737A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007323253A (en) * | 2006-05-31 | 2007-12-13 | Fujitsu Ltd | Rfid system, reading device and rfid tag |
JP2012194916A (en) * | 2011-03-17 | 2012-10-11 | Toshiba Corp | Portable electronic device, processing device for portable electronic device, and processing system of portable electronic device |
JP2015015044A (en) * | 2014-09-17 | 2015-01-22 | 株式会社東芝 | Portable electronic apparatus and portable electronic apparatus processing system |
WO2018138818A1 (en) * | 2017-01-26 | 2018-08-02 | E&E Japan株式会社 | Non-contact type information recording medium and reading device therefor |
-
2004
- 2004-10-13 JP JP2004299128A patent/JP2006113737A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007323253A (en) * | 2006-05-31 | 2007-12-13 | Fujitsu Ltd | Rfid system, reading device and rfid tag |
JP2012194916A (en) * | 2011-03-17 | 2012-10-11 | Toshiba Corp | Portable electronic device, processing device for portable electronic device, and processing system of portable electronic device |
JP2015015044A (en) * | 2014-09-17 | 2015-01-22 | 株式会社東芝 | Portable electronic apparatus and portable electronic apparatus processing system |
WO2018138818A1 (en) * | 2017-01-26 | 2018-08-02 | E&E Japan株式会社 | Non-contact type information recording medium and reading device therefor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1934575B (en) | Rfid group selection method | |
CN101517599B (en) | Apparatus and method for integrated reader and tag | |
JP4153918B2 (en) | Wireless tag reader, wireless tag system, program, and wireless communication method | |
KR101048612B1 (en) | RFID tag recognition method to prevent RFID tag collision, RFID reader and RFID tag using same | |
US7088246B2 (en) | RFID tag and method for processing RFID data | |
EP1977375B1 (en) | Method of preventing collisions between rfid readers in rfid system | |
KR100922530B1 (en) | System and method for allowing mutiple rfid reader devices to read rfid tags without collision | |
EP1914659B1 (en) | Bi-slot tree based tag identification method in RFID systems | |
EP1475738A2 (en) | Contactless IC card, responding method, and program therefor | |
CN109388991B (en) | Method for identifying RFID (radio frequency identification) tag by single reader by taking tail code continuous identification quantity as index | |
JP2006113737A (en) | Communication system and communication method | |
CN105654010A (en) | RFID tag anti-collision method based on self-adaptive search strategy | |
KR100842959B1 (en) | Scanning-based tag identification method in rfid systems | |
JP4594250B2 (en) | Communication device | |
JP2006073034A (en) | Ic card reader-writer, identification method, program and its recording medium | |
CN100525478C (en) | Multi-layer method of accommodating code collisions from multiple surface acoustic wave identification tags | |
CN111079459B (en) | Method for rapidly identifying RFID mobile tag by double readers based on frame time slot | |
Choi et al. | Scanning-Based Pre-Processing for En hanced Tag Anti-Collision Protocols | |
CN1867925B (en) | Data carrier circuit capable of supplying identification information to a communications arrangement | |
KR101074061B1 (en) | Method for recognizing rfid tag of the reader | |
KR100983427B1 (en) | Ic tag, reception unit, and reading method | |
JP4291350B2 (en) | Wireless communication device | |
KR100850232B1 (en) | Radio frequency identification reader and method of it for preventing collision and Radio frequency identification | |
SG176916A1 (en) | Portable electronic apparatus and control method of portable electronic apparatus | |
JP2010226436A (en) | Radiotag communication device and radiotag communication system |