JP2003248799A - Ic card reader-writer, identification method and its program - Google Patents

Ic card reader-writer, identification method and its program

Info

Publication number
JP2003248799A
JP2003248799A JP2002356326A JP2002356326A JP2003248799A JP 2003248799 A JP2003248799 A JP 2003248799A JP 2002356326 A JP2002356326 A JP 2002356326A JP 2002356326 A JP2002356326 A JP 2002356326A JP 2003248799 A JP2003248799 A JP 2003248799A
Authority
JP
Japan
Prior art keywords
card
response
cards
reader
writer
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
Application number
JP2002356326A
Other languages
Japanese (ja)
Other versions
JP2003248799A5 (en
Inventor
Futoshi Nakabe
中部  太志
Tadakatsu Masaki
忠勝 正木
Shinji Kawano
眞二 川野
Hideo Ozeki
秀夫 大関
Hiromi Ebara
裕美 江原
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2002356326A priority Critical patent/JP2003248799A/en
Publication of JP2003248799A publication Critical patent/JP2003248799A/en
Publication of JP2003248799A5 publication Critical patent/JP2003248799A5/ja
Pending legal-status Critical Current

Links

Abstract

<P>PROBLEM TO BE SOLVED: To provide an IC card reader-writer, an identification method and its program capable of speedily completing an identification process of each noncontact IC card. <P>SOLUTION: This invention provides the reader/writer, the identification method and the program comprising a response-detection means for detecting normal responses and collisions from IC cards in response to a request; and a response-invalidation means of sending a response-invalidation command, which is a command not to respond to requests in the future, to the IC cards that sent normal responses when the response-detection means received normal responses from the IC cards even though collisions were detected. <P>COPYRIGHT: (C)2003,JPO

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、ICカード用リー
ダライタ、識別方法、及びそのプログラムに関し、詳し
くは、タイムスロットを用いてICカードを識別するI
Cカード用リーダライタ、識別方法、及びそのプログラ
ムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC card reader / writer, an identification method, and a program therefor. More specifically, the present invention relates to an IC card identification using time slots.
The present invention relates to a C card reader / writer, an identification method, and a program thereof.

【0002】[0002]

【従来の技術】従来、電磁誘導方式等を用いてデータの
授受を行う非接触ICカードと当該非接触ICカードを
識別するリーダライタとの間の通信には、タイムスロッ
ト方式が採用されている。これは、複数の非接触ICカ
ードが同時にリーダライタの通信可能エリア内に存在
し、リーダライタからのポーリングに対して複数の非接
触ICカードが同時に応答した場合、当該応答に用いら
れる各レスポンス信号が衝突して何れの非接触ICカー
ドもリーダライタと正常に通信することができなくなる
ためである。
2. Description of the Related Art Conventionally, a time slot system has been adopted for communication between a non-contact IC card for exchanging data using an electromagnetic induction system and a reader / writer for identifying the non-contact IC card. . This is because when a plurality of non-contact IC cards exist simultaneously in the communicable area of the reader / writer and a plurality of non-contact IC cards simultaneously respond to polling from the reader / writer, each response signal used for the response. This is because any of the non-contact IC cards cannot normally communicate with the reader / writer due to the collision.

【0003】上記タイムスロット方式の通信方法を以下
に説明する。
The time slot communication method will be described below.

【0004】(1)まずICカード用リーダライタ(以
後リーダライタと称す)は非接触ICカードの存在を確
認するために、リクエストとして初期応答リクエストコ
マンドを非接触ICカードに送信する。上記初期応答リ
クエストコマンドには、非接触ICカードが行う初期応
答のタイミングの制御に必要な「スロット数」、又は
「スロット数」を計算する為に必要な値が含まれる。
(1) First, an IC card reader / writer (hereinafter referred to as a reader / writer) sends an initial response request command as a request to the non-contact IC card in order to confirm the existence of the non-contact IC card. The initial response request command includes a "slot number" required for controlling the timing of the initial response performed by the non-contact IC card, or a value required for calculating the "slot number".

【0005】(2)上記非接触ICカードは、上記初期
応答リクエストコマンドを受信後、特定時間から設けら
れるタイムスロットを用いて上記初期応答(応答)を返
す。該応答に用いるタイムスロット、即ちタイミング
は、非接触ICカード自身が乱数で決定する。
(2) After receiving the initial response request command, the non-contact IC card returns the initial response (response) using a time slot provided from a specific time. The time slot used for the response, that is, the timing is determined by the non-contact IC card itself by a random number.

【0006】(3)上記リーダライタは、複数の非接触
ICカードが同一のタイムスロットを選択した際に起こ
る応答の衝突を検出した場合、再度上記初期応答リクエ
ストを送信する。
(3) When the reader / writer detects a collision of responses that occurs when a plurality of non-contact IC cards select the same time slot, the reader / writer again transmits the initial response request.

【0007】(4)上記リーダライタは、すべての非接
触ICカードからの応答を衝突なしに受信することです
べての非接触ICカードの認識をし、当該カードの識別
のためのシーケンスを完了する。
(4) The reader / writer recognizes all contactless IC cards by receiving responses from all contactless IC cards without collision, and completes the sequence for identifying the cards. .

【0008】以上の処理を、図16〜図18を用いてさ
らに詳しく説明する。尚、以下に示すのは、近接型非接
触ICカードの国際規格ISO/IEC(Internationa
l Organization For Standardization/International E
lectrotechnical Commission)14443に適応した場
合の非接触ICカードの処理である。
The above processing will be described in more detail with reference to FIGS. The following is the international standard ISO / IEC (Internationa
l Organization For Standardization / International E
This is processing of a non-contact IC card when it is applied to the Electrical Technical Commission) 14443.

【0009】ISO/IEC14443は例えば、非接
触テレホンカードなどに適応できる。さらに具体的に、
図16に示すように、公衆電話として機能するリーダラ
イタ1600にテレホンカードとしての機能を有する非
接触ICカード1601、1602、1603の3枚を
同時に差し込んだ(近接させた)場合を想定する。
The ISO / IEC14443 can be applied to, for example, a contactless telephone card. More specifically,
As shown in FIG. 16, it is assumed that three non-contact IC cards 1601, 1602, 1603 having a function as telephone cards are simultaneously inserted (closed) to a reader / writer 1600 which functions as a public telephone.

【0010】ISO/IEC14443の非接触ICカ
ードの識別システムにおいては、以下の手順で非接触I
Cカードの識別が行われる。
In the contactless IC card identification system of ISO / IEC14443, the contactless I
The C card is identified.

【0011】まず、公衆電話であるリーダライタ160
0が初期応答リクエスト(リクエスト)を送信する。当
該初期応答リクエストは、図18に示されるフォーマッ
トになっており、初期応答リクエスト1801を構成す
るPARAM1802内の8bitのうち、bit1〜
bit3の3bit1803を用いてタイムスロット数
(N)を各非接触ICカードに通知する。尚、APf1
804は、初期要求コマンドを示すヘッダであり、AF
I1805は非接触ICカードの適応クラスを示す。
又、CRC(Cyclic Redundancy Check)1806はA
Pf〜PARAMまでのCRCである。
First, the reader / writer 160 which is a public telephone
0 sends an initial response request (request). The initial response request has a format shown in FIG. 18, and among the 8 bits in the PARAM 1802 forming the initial response request 1801, bits 1 to
The number of time slots (N) is notified to each contactless IC card using 3 bits 1803 of bit 3. In addition, APf1
Reference numeral 804 denotes a header indicating an initial request command, which is AF
I1805 indicates the applicable class of the contactless IC card.
Also, CRC (Cyclic Redundancy Check) 1806 is A
It is a CRC from Pf to PARAM.

【0012】尚、非接触ICカードは1〜NまでのN個
のスロットで応答するが、今回の説明ではタイムスロッ
ト数(N)を4として説明を行う。即ち、初期応答リク
エストに対して非接触ICカード1601〜1603
は、1〜4までのタイムスロットのうち一つを選択し、
応答を行う。
Although the non-contact IC card responds with N slots from 1 to N, the number of time slots (N) will be described as 4 in this description. That is, in response to the initial response request, the non-contact IC cards 1601-1603
Selects one of the time slots 1 to 4,
Give a response.

【0013】図17で示す一回目のカード識別処理17
01において、まずリーダライタ1600は初期応答リ
クエストR1〔REQB〕(1702)を送信する。当
該初期応答リクエストR1(1702)に対して非接触
ICカード1601及び1602が、乱数としてそれぞ
れ「1」を生成し、非接触ICカード1603が乱数と
して「2」を生成したとする。この場合には、非接触I
Cカード1601、1602は、タイムスロット1(1
703)内に示した応答〔ATQB〕A21、A31で
それぞれ応答する。また、非接触ICカード1603
は、タイムスロット2(1704)内に示した応答A4
1で応答する。以上の場合には、上記非接触ICカード
1601、1602共、同一のタイミングで応答するた
め、リーダライタ1600は、タイムスロット1(17
03)における非接触ICカードの応答の衝突を検出す
る。したがって、上記非接触ICカード1601、16
02を識別することができないため、再度識別処理を再
開する。
First card identification processing 17 shown in FIG.
In 01, the reader / writer 1600 first transmits an initial response request R1 [REQB] (1702). It is assumed that the non-contact IC cards 1601 and 1602 generate “1” as random numbers and the non-contact IC card 1603 generate “2” as random numbers in response to the initial response request R1 (1702). In this case, non-contact I
The C cards 1601 and 1602 have time slots 1 (1
Responses [ATQB] A21 and A31 shown in 703) are made respectively. Also, a non-contact IC card 1603
Is the response A4 shown in time slot 2 (1704).
Respond with 1. In the above case, since the non-contact IC cards 1601 and 1602 both respond at the same timing, the reader / writer 1600 causes the time slot 1 (17).
The collision of the response of the non-contact IC card in 03) is detected. Therefore, the non-contact IC cards 1601 and 16
Since 02 cannot be identified, the identification process is restarted.

【0014】続いて、二回目の識別処理1705におい
て、リーダライタ1600は初期応答リクエストR2
(1706)を送信する。ここで初期応答リクエストに
対して非接触ICカード1601及び非接触ICカード
1603が、乱数として「1」を生成し、非接触ICカ
ード1602が乱数として「3」を生成したと仮定する
と、非接触ICカード1601、1603は、タイムス
ロット1(1707)内のパケットA22、A42を用
いてそれぞれ応答する。また、非接触ICカード160
2は、タイムスロット3(1708)内のパケットA3
2を用いて応答する。この場合、リーダライタ1600
は、タイムスロット1(1707)における非接触IC
カード1601、1603の応答の衝突を検出する。従
って、リーダライタ1600は、上記非接触ICカード
1601、1603を識別することができないため再度
識別処理を再開する。
Then, in the second identification processing 1705, the reader / writer 1600 makes an initial response request R2.
(1706) is transmitted. If it is assumed that the non-contact IC card 1601 and the non-contact IC card 1603 generate “1” as a random number and the non-contact IC card 1602 generates “3” as a random number in response to the initial response request. The IC cards 1601 and 1603 respond using the packets A22 and A42 in the time slot 1 (1707), respectively. In addition, the non-contact IC card 160
2 is packet A3 in time slot 3 (1708)
Respond with 2. In this case, the reader / writer 1600
Is a non-contact IC in time slot 1 (1707)
The collision of the responses of the cards 1601 and 1603 is detected. Therefore, since the reader / writer 1600 cannot identify the non-contact IC cards 1601 and 1603, it restarts the identification process.

【0015】続いて、三回目の識別処理1709におい
て、リーダライタ1600は初期応答リクエストR3
(1710)を送信する。ここで初期応答リクエストに
対して非接触ICカード1601が乱数として「1」、
非接触ICカード1602が乱数として「3」、非接触
ICカード1603が乱数として「4」、を生成したと
仮定する。この場合、非接触ICカード1601はタイ
ムスロット1(1711)内のパケットA23、非接触
ICカード1602はタイムスロット3(1712)内
のパケットA33、非接触ICカード1603はタイム
スロット4(1713)内のパケットA43、を用いて
それぞれ応答する。したがって、リーダライタ1600
は衝突を検出しないため、すべての非接触ICカードの
識別を行うことができ、識別処理を完了する。以上がI
SO/IEC14443の規定に従った、非接触ICカ
ードのカード識別処理である。
Subsequently, in the third identification processing 1709, the reader / writer 1600 makes an initial response request R3.
(1710) is transmitted. Here, in response to the initial response request, the non-contact IC card 1601 uses “1” as a random number,
It is assumed that the non-contact IC card 1602 has generated “3” as a random number and the non-contact IC card 1603 has generated “4” as a random number. In this case, the non-contact IC card 1601 is in packet A23 in time slot 1 (1711), the non-contact IC card 1602 is in packet A33 in time slot 3 (1712), and the non-contact IC card 1603 is in time slot 4 (1713). Of the packet A43. Therefore, the reader / writer 1600
Does not detect a collision, all the non-contact IC cards can be identified and the identification process is completed. The above is I
This is a card identification process for a non-contact IC card according to the regulations of SO / IEC14443.

【0016】ここで、上記非接触ICカードに電源が投
入されてから(リーダライタとの通信可能距離に入って
から)各非接触ICカードがリーダライタにそれぞれ識
別されるまではアイドル期間+レディ期間と位置付ける
ことができる。
Here, after the power of the non-contact IC card is turned on (from entering the communicable distance with the reader / writer) until each non-contact IC card is identified by the reader / writer, an idle period + ready. It can be positioned as a period.

【0017】これに対して、上記各非接触ICカードが
すべて識別されると、リーダライタは各非接触ICカー
ドに対して“ATTRIB“コマンドを送信する。これ
は上記アイドル期間+レディ期間からアクティブ期間へ
の移行を示し、上記各非接触ICカードが“ATTRI
B“コマンド等を受信してアクティブ期間に移行すると
上記リーダライタと様々な通信が可能になる。尚、上記
アクティブ期間に移行した各非接触ICカードは初期応
答リクエストコマンドに対する応答は行わない。ここ
で、上記“ATTRIB“コマンドに替えて例えば”H
ALT“コマンドを受信した場合には、上記非接触IC
カードはホールト期間に移行し、上記リーダライタとの
通信を行わない。この場合、上記リーダライタが”WA
KE−UP“コマンドを送信することで、当該非接触I
Cカードが上記アクティブ期間に移行し、通信が可能に
なる。
On the other hand, when all the contactless IC cards are identified, the reader / writer sends an "ATTRIB" command to each contactless IC card. This indicates the transition from the idle period + ready period to the active period, and each of the non-contact IC cards has "ATTRI".
When the "B" command or the like is received to enter the active period, various communication with the reader / writer becomes possible. Note that each contactless IC card that has entered the active period does not respond to the initial response request command. Then, instead of the above-mentioned "ATTRIB" command, for example, "H"
When the ALT "command is received, the above contactless IC
The card shifts to the halt period and does not communicate with the reader / writer. In this case, the reader / writer is "WA
By transmitting the KE-UP "command, the contactless I
The C card shifts to the active period, and communication becomes possible.

【0018】尚、ISO/IEC14443の規定で
は、初期応答リクエストコマンドを受け取ってから、非
接触ICカードがタイムスロット1で応答する場合の時
間を302μsecと規定し、また、1つのタイムスロ
ットの期間(時間)は2266μsecと規定してい
る。つまり、リーダライタ1600から初期応答リクエ
ストを受信して、応答を送信するまでのタイミング(μ
sec)は、以下の計算式(式1)により与えられる。
According to the regulations of ISO / IEC14443, the time when the contactless IC card responds in the time slot 1 after receiving the initial response request command is 302 μsec, and the period of one time slot ( The time) is specified as 2266 μsec. That is, the timing from receiving the initial response request from the reader / writer 1600 until transmitting the response (μ
sec) is given by the following calculation formula (Formula 1).

【0019】 タイミング(μsec)=302μsec+2266μsec×(スロット数 (N)−1) :(式1) 上記タイムスロット方式に類似の方法として、スロット
マーカ方式もある。上記スロットマーカ方式は、リーダ
ライタが上記タイムスロット方式における初期応答リク
エストを送信後、さらに当該リーダライタが各スロット
開始のタイミング毎にスロットの開始を示すスロットマ
ーカコマンドを送信する方式である。従って、リーダラ
イタに指定されたタイムスロットを利用して各ICカー
ドが応答する事で当該各ICカードを認識する点で、本
質的にタイムスロット方式と同様である。
Timing (μsec) = 302 μsec + 2266 μsec × (number of slots (N) −1): (Equation 1) As a method similar to the time slot method, there is a slot marker method. The slot marker method is a method in which the reader / writer transmits an initial response request in the time slot method, and then the reader / writer transmits a slot marker command indicating the start of a slot at each slot start timing. Therefore, it is essentially the same as the time slot system in that each IC card responds by using the time slot designated by the reader / writer to recognize each IC card.

【0020】さらに、上記応答の衝突による非接触IC
カードの識別処理の遅延を回避するための技術が、特開
2000−298712号公報に開示されている。
Further, a non-contact IC due to the collision of the above responses
A technique for avoiding a delay in the card identification process is disclosed in Japanese Patent Laid-Open No. 2000-298712.

【0021】上記特開2000−298712号公報に
記載の技術では、各タイムスロットにおける応答の衝突
を確認することで衝突が起こったタイムスロットをカウ
ントし、当該衝突の起こっているタイムスロットの数に
基づいてタイムスロットの数を増減するのである。
In the technique disclosed in the above-mentioned Japanese Patent Laid-Open No. 2000-298712, the time slots in which a collision has occurred are counted by confirming the collision of responses in each time slot, and the number of time slots in which the collision has occurred is counted. Based on this, the number of time slots is increased or decreased.

【0022】[0022]

【特許文献1】特開2000−298712号公報[Patent Document 1] Japanese Patent Laid-Open No. 2000-298712

【0023】[0023]

【発明が解決しようとする課題】上述したタイムスロッ
ト方式を利用する非接触ICカード(国際規格ISO/
IEC14443準拠の非接触ICカード等)では、非
接触ICカードが上記リーダライタに対して応答を行う
際に、非接触ICカード自身が乱数を用いてタイムスロ
ットを選択する。このため、例えば複数の非接触ICカ
ードが生成した乱数が同一の場合には、上記選択される
タイムスロットが同一となり、上記応答が必ず衝突して
しまう。この場合、上記リーダライタは、上記応答リク
エストコマンドを再度送信して非接触ICカードの識別
処理を行う必要があり、結果的に非接触ICカードの識
別が遅延するに至る。
A non-contact IC card (international standard ISO /
In the IEC14443-compliant non-contact IC card or the like), when the non-contact IC card makes a response to the reader / writer, the non-contact IC card itself selects a time slot using a random number. Therefore, for example, when the random numbers generated by a plurality of non-contact IC cards are the same, the selected time slots are the same, and the responses always collide. In this case, the reader / writer needs to re-transmit the response request command to perform the contactless IC card identification process, and as a result, the contactless IC card identification is delayed.

【0024】また、上記特開2000−298712号
公報に記載の技術では、衝突の起こっているタイムスロ
ットの数に基づいてリーダライタが指定するタイムスロ
ットの数を増加させることにより、非接触ICカードが
同じタイムスロットを選択する確率を下げている。しか
し、上記技術では、個々のタイムスロットにおいて応答
の衝突の有無を判断し、その都度衝突の数をカウントし
て記憶する必要があり、リーダライタの構成が複雑にな
る。また、タイムスロット数を変更(増加)させて識別
処理を開始し、非接触ICカードの数は変更されないに
もかかわらず衝突発生の個数が減少した場合、次回はタ
イムスロット数を減少させて識別処理を行うため、再度
衝突の頻度が上がり、識別処理時間が長くなってしまう
という問題がある。
Further, in the technique disclosed in Japanese Patent Laid-Open No. 2000-298712, the contactless IC card is increased by increasing the number of time slots designated by the reader / writer based on the number of time slots in collision. Lowers the probability of choosing the same time slot. However, in the above technique, it is necessary to judge the presence or absence of collision of responses in each time slot and count and store the number of collisions each time, which complicates the configuration of the reader / writer. If the number of time slots is changed (increased) and identification processing is started, and the number of collision occurrences is reduced even though the number of non-contact IC cards is not changed, next time the number of time slots is reduced and identification is performed. Since the processing is performed, there is a problem that the frequency of collision increases again and the identification processing time becomes long.

【0025】以上に共通して見られる識別処理時間が遅
延する問題は、特に電車の改札機等のように、立ち止ま
ることなく利用者が非接触ICカードをリーダライタに
識別させる必要があるシステムにて顕著に表れる。即
ち、非接触ICカードの識別が遅れることにより、利用
者が立ち止まる必要が生じ、結果として当該システムの
利用に障害が生じるのである。
The problem that the identification processing time commonly seen above is delayed is a system in which a user needs to identify a non-contact IC card to a reader / writer without stopping, such as a ticket gate of a train. Appears remarkably. That is, the delay in the identification of the non-contact IC card causes the user to stop, which results in an obstacle to the use of the system.

【0026】また、今後、多方面において上記非接触I
Cカードの利便性を生かした様々なシステムが登場する
事が予想できる。つまり、時間が経つにつれて、利用者
一人が(例えば財布に入れて)所有する非接触ICカー
ドの枚数が増加する事が容易に予想できるのである。こ
のような状況の下では、上記識別処理時間が一層長くな
るため、遅延による問題はさらに深刻なものとなる。従
って、各システムの耐用年数を延ばす意味においても、
予め上記状況に備えておく必要性がある。
In the future, the non-contact I will be used in various fields.
It can be expected that various systems will be introduced that take advantage of the convenience of the C card. That is, it can be easily predicted that the number of non-contact IC cards owned by one user (for example, in a wallet) will increase as time passes. Under such circumstances, the problem of delay becomes more serious because the identification processing time becomes longer. Therefore, even in the sense of extending the useful life of each system,
It is necessary to prepare for the above situation in advance.

【0027】また他方では、上記非接触ICカードの識
別が高速に行なわれるようになれば、さらに高速な移動
体へも適用可能となるため、非接触ICカードの利用可
能な分野を広げるためにも上記識別処理のさらなる高速
化が望まれている。
On the other hand, if the non-contact IC card can be identified at high speed, the non-contact IC card can be applied to a moving object at a higher speed. However, further speeding up of the above identification processing is desired.

【0028】本発明は、各非接触ICカードの識別処理
を高速に完了するICカード用リーダライタ、識別方
法、及びそのプログラムを提供することを目的とする。
It is an object of the present invention to provide an IC card reader / writer, an identification method, and a program for completing the identification processing of each non-contact IC card at high speed.

【0029】[0029]

【課題を解決するための手段】本発明は、上記目的を達
成するために以下の手段を採用している。即ち、本発明
は、複数のICカードと通信するICカード用リーダラ
イタを前提としている。ここで、応答検出手段は、リク
エストに対する上記ICカードからの正常な応答及び当
該応答の衝突を検出し、応答無効化手段は、応答検出手
段がICカードからの正常な応答を受信した場合には、
上記衝突を検出していても、正常な応答を送信したIC
カードに対して以後の上記リクエストに応答しない旨の
命令である応答無効化コマンドを送信する。
The present invention employs the following means in order to achieve the above object. That is, the present invention is premised on an IC card reader / writer that communicates with a plurality of IC cards. Here, the response detecting means detects a normal response to the request from the IC card and a collision of the responses, and the response invalidating means detects that the response detecting means receives a normal response from the IC card. ,
An IC that sent a normal response even if the above collision was detected
A response invalidation command, which is a command not to respond to the subsequent request, is transmitted to the card.

【0030】従って、以後のリクエストの送信は、衝突
を起こした応答を送信したICカードのみが対象とな
り、即ち、以後の識別処理においては応答が衝突する確
立が減少し、識別処理を高速に完了することができる。
Therefore, subsequent requests are transmitted only to the IC card that has transmitted the response causing the collision, that is, the probability that the responses collide in the subsequent identification processing is reduced, and the identification processing is completed at high speed. can do.

【0031】尚、応答検出手段が検出した衝突の有無の
みに基づいて次回のリクエストのタイムスロット数を増
加させるスロット数増加手段を備えた構成があり、さら
にスロット数増加手段は、上記応答無効化手段による上
記応答無効化コマンドの送信の有無、即ち応答無効化を
行ったか否かに基づいてタイムスロット数の増加を行う
構成がある。
There is a configuration provided with a slot number increasing means for increasing the time slot number of the next request based on only the presence or absence of the collision detected by the response detecting means, and the slot number increasing means further invalidates the response. There is a configuration for increasing the number of time slots based on whether or not the response invalidation command is transmitted by the means, that is, whether or not the response invalidation is performed.

【0032】この構成では、衝突を起こしていない応答
に対応するICカードはその都度応答無効化処理を行う
ことにより、衝突を起こしたICカードに対してのみ識
別処理を行い、かつ、適宜タイムスロット数を増加させ
るため、多数のICカードの識別が必要なシステムにお
いても、ICカードの数に応じて識別を柔軟にかつ効率
よく行うことができる。
In this configuration, the IC card corresponding to the response that does not cause a collision performs the response invalidation process each time, so that the identification process is performed only on the IC card that causes the collision, and the time slot is appropriately set. Since the number of IC cards is increased, the identification can be flexibly and efficiently performed according to the number of IC cards even in a system that requires identification of a large number of IC cards.

【0033】尚、応答無効化コマンドは、ISO/IE
C14443に基づく"ATTRIB"コマンド、又は"
HALT"コマンドとすることができる。
The response invalidation command is ISO / IE.
"ATTRIB" command based on C14443, or "
It can be a HALT "command.

【0034】又、衝突検知手段が、リクエストに対する
上記ICカードからの応答の衝突を検出し、スロット増
加手段は衝突検出手段が検出した衝突の有無のみに基づ
いてタイムスロット数を増加させるリーダライタとして
もよい。
Further, the collision detecting means detects a collision of the response from the IC card to the request, and the slot increasing means serves as a reader / writer for increasing the number of time slots based on only the presence or absence of the collision detected by the collision detecting means. Good.

【0035】このリーダライタにおいては、ICカード
からの応答の衝突の有無のみを検知し、当該衝突の有無
のみに基づいてタイムスロットを増加させるため、当該
リーダライタに複雑な構成を加えることなく、ICカー
ドの数に応じて識別を効率よく行うことができる。
In this reader / writer, only the presence / absence of a collision of the response from the IC card is detected, and the time slot is increased based on only the presence / absence of the collision. Therefore, the reader / writer does not have to have a complicated structure. Identification can be efficiently performed according to the number of IC cards.

【0036】この構成において、最初(1回目)の上記
リクエストに含まれるタイムスロット数を"1"としても
よい。
In this configuration, the number of time slots included in the first (first) request may be "1".

【0037】又、記憶手段が、複数のICカードをそれ
ぞれ正常に認識した際の当該ICカードの数を記憶し、
算出手段が、記憶手段にて記憶したICカードの数に基
づいて、各ICカードを識別するための最初のリクエス
トに含めるタイムスロット数(初期値)を算出し、スロ
ット数再設定手段が、算出手段にて算出されたタイムス
ロット数を最初のリクエスト時のスロット数として設定
するリーダライタとしてもよい。
Further, the storage means stores the number of the IC cards when the plurality of IC cards are normally recognized,
The calculation unit calculates the number of time slots (initial value) included in the first request for identifying each IC card based on the number of IC cards stored in the storage unit, and the slot number resetting unit calculates The reader / writer may set the number of time slots calculated by the means as the number of slots at the time of the first request.

【0038】このリーダライタにおいては、過去の、I
Cカードを認識した履歴に基づいてタイムスロット数を
動的に変更する事が可能になり、各カードの識別処理時
間を高い確率で短縮する事が可能になる。また、同時
に、リーダライタを用いたシステムの耐用年数を延ばす
ことも可能になる。
In this reader / writer, past I
The number of time slots can be dynamically changed based on the history of recognizing the C card, and the identification processing time of each card can be shortened with a high probability. At the same time, the service life of the system using the reader / writer can be extended.

【0039】尚、リーダライタはコンピュータを用いて
具体化することができる。この場合、応答検出手段、応
答無効化手段、スロット数増加手段、衝突検出手段は、
コンピュータ上でプログラムを動作させることにより具
体化される。
The reader / writer can be embodied using a computer. In this case, the response detecting means, the response invalidating means, the slot number increasing means, the collision detecting means,
It is embodied by running a program on a computer.

【0040】[0040]

【発明の実施の形態】以下、添付図面を参照して、本発
明の実施の形態につき説明し、本発明の理解に供する。
尚、以下の実施の形態は、本発明を具体化した一例であ
って、本発明の技術的範囲を限定する性格のものではな
い。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the accompanying drawings to provide an understanding of the present invention.
It should be noted that the following embodiment is an example in which the present invention is embodied, and does not limit the technical scope of the present invention.

【0041】(実施の形態1)まず、本発明にかかる実
施の形態1におけるリーダライタについて説明する。図
1は、実施の形態1におけるリーダライタ101の機能
ブロック図である。また、図2は、上記リーダライタ1
01のハードウェア構成図である。
(First Embodiment) First, a reader / writer according to a first embodiment of the present invention will be described. FIG. 1 is a functional block diagram of the reader / writer 101 according to the first embodiment. Further, FIG. 2 shows the reader / writer 1 described above.
It is a hardware block diagram of 01.

【0042】上記リーダライタ101は、アンテナ20
3、送受信回路202、CPU201、当該リーダライ
タを制御するためのプログラムが格納されているROM
(Read Only Memory)104、プログラム実行時に例え
ばワークエリアとして使用されるRAM(Random Acces
s Memory)205より構成されている。
The reader / writer 101 has an antenna 20.
3, a transmission / reception circuit 202, a CPU 201, and a ROM that stores a program for controlling the reader / writer
(Read Only Memory) 104, a RAM (Random Acces) used as a work area when the program is executed
s Memory) 205.

【0043】尚、上記リーダライタ101と通信を行う
非接触ICカードは、当該リーダライタ101の通信可
能エリアに入ると、上記リーダライタからの電磁波より
誘導される電力にて動作する。
When the non-contact IC card that communicates with the reader / writer 101 enters the communicable area of the reader / writer 101, it operates with the electric power induced by the electromagnetic waves from the reader / writer.

【0044】上記リーダライタ101を機能別に表した
場合、図1に示すようにアンテナ手段107、送受信手
段106、制御手段105、応答検出手段102、応答
無効化手段103を備える。ただし、各手段の処理の詳
細については適宜説明を行う。
When the reader / writer 101 is expressed by function, as shown in FIG. 1, it comprises an antenna means 107, a transmitting / receiving means 106, a control means 105, a response detecting means 102, and a response invalidating means 103. However, the details of the processing of each means will be described as appropriate.

【0045】尚、例えば上記応答検出手段102、応答
無効化手段103は、ROM104にプログラムとして
格納され、必要に応じてCPU201に読み出されて実
行される。
Note that, for example, the response detecting means 102 and the response invalidating means 103 are stored in the ROM 104 as programs, and are read by the CPU 201 and executed as necessary.

【0046】次に、図1、図3、図4、図5を用いて本
実施の形態1に係るリーダライタの処理について説明す
る。ここに図3は、リーダライタ101が実行する処理
のフローチャートである。尚、理解に供するため、本実
施の形態1では図5に示すように3つの非接触ICカー
ド410、420、430が、リーダライタ101と通
信を行うものとする。
Next, the processing of the reader / writer according to the first embodiment will be described with reference to FIGS. 1, 3, 4, and 5. FIG. 3 is a flowchart of the processing executed by the reader / writer 101. For the sake of understanding, it is assumed in the first embodiment that the three non-contact IC cards 410, 420, 430 communicate with the reader / writer 101 as shown in FIG.

【0047】まず、リーダライタ101を構成する制御
手段105は非接触ICカードに対し初期応答リクエス
ト450を所定の時間間隔で送信する(図3:S30
1)。当該初期応答リクエストの送信は、たとえば数十
ミリ秒間隔で行われる。ここで上記リーダライタ101
が送信した初期応答リクエストを非接触ICカード41
0、420、430が受信すると、各々の非接触ICカ
ードは当該初期応答リクエストに含まれるタイムスロッ
ト数を取得する。尚、タイムスロット数は、図18に示
されるPARAMのBit1〜Bit3の3bit18
03で指定されており、このbitに指定される値の2
の乗数がタイムスロット数となる。
First, the control means 105 constituting the reader / writer 101 transmits an initial response request 450 to the contactless IC card at predetermined time intervals (FIG. 3: S30).
1). The transmission of the initial response request is performed, for example, at intervals of several tens of milliseconds. Here, the reader / writer 101
The initial response request transmitted by the contactless IC card 41
When 0, 420, and 430 receive, each contactless IC card acquires the number of time slots included in the initial response request. The number of time slots is 3 bits 18 of Bit 1 to Bit 3 of PARAM shown in FIG.
It is specified by 03 and the value of 2 specified in this bit.
Is the time slot number.

【0048】次に、上記各非接触カード410〜430
は、上記リーダライタ101より与えられたタイムスロ
ット数のうちの1つを選択することで応答に用いるタイ
ムスロットを決定する。
Next, each of the above non-contact cards 410 to 430.
Selects one of the timeslot numbers given by the reader / writer 101 to determine the timeslot used for the response.

【0049】続いて、上記非接触ICカードは、上記リ
ーダライタに応答を送信するタイムスロット(タイミン
グ)まで待機し、上記選択したタイムスロット(のタイ
ミング)にて上記初期応答リクエストに対する応答を送
信する。
Subsequently, the non-contact IC card waits until a time slot (timing) for transmitting a response to the reader / writer, and transmits a response to the initial response request at (timing) the selected time slot. .

【0050】さて、上記非接触ICカードから送信され
た上記応答は、上記リーダライタ101を構成するアン
テナ手段107、送受信手段106を介して上記制御手
段105に受信される。ここで、上記非接触ICカード
410はタイムスロット2(451)を、上記非接触I
Cカード420はタイムスロット3(452)を、上記
非接触ICカード430はタイムスロット2(451)
を選択していたと仮定する。
The response transmitted from the non-contact IC card is received by the control means 105 via the antenna means 107 and the transmission / reception means 106 which constitute the reader / writer 101. Here, the contactless IC card 410 sets the time slot 2 (451) to the contactless I card.
The C card 420 has time slot 3 (452), and the contactless IC card 430 has time slot 2 (451).
Suppose you have selected.

【0051】上記仮定の下では、上記制御手段105
は、タイムスロット1(457)では応答を受信しない
ためその旨を応答検出手段102に送信する。次に、上
記制御手段105は、タイムスロット2(451)にて
送信された上記非接触ICカード410、430の応答
453、455を受信して、当該受信した応答を応答検
出手段102に送信する。また、上記制御手段105
は、タイムスロット3(452)にて送信された上記非
接触ICカード420の応答454を受信して、当該受
信した応答を応答検出手段102に送信する。さらに、
上記制御手段105は、タイムスロット4(458)で
は応答を受信しないためその旨を応答検出手段102に
送信する(図3:S301)。
Under the above assumptions, the control means 105 is
Does not receive a response in time slot 1 (457), it sends a message to that effect to the response detecting means 102. Next, the control means 105 receives the responses 453, 455 of the contactless IC cards 410, 430 transmitted in the time slot 2 (451) and transmits the received response to the response detection means 102. . In addition, the control means 105
Receives the response 454 of the non-contact IC card 420 transmitted in time slot 3 (452) and transmits the received response to the response detecting means 102. further,
Since the control means 105 does not receive the response in the time slot 4 (458), the control means 105 sends a message to that effect to the response detecting means 102 (FIG. 3: S301).

【0052】以上に示した、各タイムスロットに対応す
る応答を受信した応答検出手段102は、上記各タイム
スロットに対応する応答を、いったん各タイムスロット
に対応する所定の記憶手段に記憶すると共に、各応答が
“正常な応答”であるか“衝突”であるかを検出(判
定)する。
The response detecting means 102, which has received the response corresponding to each time slot as described above, temporarily stores the response corresponding to each time slot in a predetermined storage means corresponding to each time slot. It detects (determines) whether each response is a “normal response” or a “collision”.

【0053】尚、以上に述べた初期応答リクエストの送
信から“衝突”の判定までを図3のステップS301に
記載した応答判定処理とする。
The process from the transmission of the initial response request to the determination of "collision" described above is the response determination process described in step S301 of FIG.

【0054】ここでは、上記タイムスロット1(45
7)、タイムスロット4(458)に対応する応答は検
出されないが、上記タイムスロット2(451)では、
上記非接触ICカード410と、上記非接触ICカード
430との応答があるため“衝突”として検出される。
尚、上記タイムスロット3(452)では、上記非接触
ICカード420による応答のみであるため“正常な応
答”として検出される。
Here, the time slot 1 (45
7), the response corresponding to the time slot 4 (458) is not detected, but in the time slot 2 (451),
Since there is a response between the non-contact IC card 410 and the non-contact IC card 430, "collision" is detected.
In the time slot 3 (452), only the response from the non-contact IC card 420 is detected, so that it is detected as a "normal response".

【0055】続いて、上記応答検出手段102にて“衝
突”が検出されると、上記リーダライタ101を構成す
る応答無効化手段103は、例えば該応答無効化手段1
03内に設けられたカウンタに“1”を設定する(図
3:S302YES→S303)。
Then, when the response detecting means 102 detects a "collision", the response invalidating means 103 constituting the reader / writer 101 is, for example, the response invalidating means 1.
"1" is set to the counter provided in 03 (FIG. 3: S302 YES → S303).

【0056】尚、上記応答検出手段102にて“衝突”
が検出されない場合、リーダライタ101の通信範囲内
に通信可能な非接触ICカードが無いか、あるいは問題
なく各非接触ICカードによる応答を受信したことを示
し、応答検出手段102の処理は終了する(図3:S3
02NO→終了)。また、応答を受信した場合であれ
ば、上記制御手段105により以後の各通信処理が行わ
れる。
The response detecting means 102 causes a "collision".
If no is detected, it means that there is no communicable non-contact IC card within the communication range of the reader / writer 101, or that a response from each non-contact IC card has been received without any problem, and the processing of the response detection means 102 ends. (Figure 3: S3
02 NO → end). If a response is received, the control means 105 carries out the subsequent communication processes.

【0057】さて、上記応答無効化手段103がカウン
タに“1”を設定すると、続いて当該カウンタが示すタ
イムスロットN(Nはカウンタの値)に対応する上記所
定の記憶手段を参照し、“正常な応答”が格納されてい
るかを判定する。
Now, when the response invalidating means 103 sets "1" in the counter, it then refers to the predetermined storage means corresponding to the time slot N (N is the value of the counter) indicated by the counter and refers to "1". It is determined whether "normal response" is stored.

【0058】ここで、上記タイムスロット1(457)
に対応する記憶手段には、応答が記録されていないの
で、続いて初期応答リクエストにて送信したタイムスロ
ット数と、上記カウンタの値が一致するかを確認する
(図3:S304NO→S306)。
Here, the time slot 1 (457)
Since the response is not recorded in the storage means corresponding to, it is then confirmed whether the number of time slots transmitted by the initial response request matches the value of the counter (FIG. 3: S304 NO → S306).

【0059】次に、上記送信したタイムスロット数と、
上記カウンタの値が一致しない場合、上記カウンタを1
インクリメントして、再度次のカウンタが示すタイムス
ロット2(451)に対応する記憶手段に、“正常な応
答”が記憶されているかを判定する(図3:S304→
S306NO→S307→S304)。
Next, the number of transmitted time slots and
If the counter values do not match, set the counter to 1
It is incremented and it is again determined whether or not the "normal response" is stored in the storage means corresponding to the time slot 2 (451) indicated by the next counter (FIG. 3: S304 →
S306 NO → S307 → S304).

【0060】以上の処理を繰り返した場合、上記仮定の
下ではタイムスロット3(452)に対応する記憶手段
に正常な応答が格納されている。この場合、応答無効化
手段103は、応答無効化処理を行う(図3:S304
YES(N=3)→S305)。
When the above processing is repeated, under the above assumption, a normal response is stored in the storage means corresponding to the time slot 3 (452). In this case, the response invalidation unit 103 performs response invalidation processing (FIG. 3: S304).
YES (N = 3) → S305).

【0061】尚、上記応答無効化処理は以下のように行
われる。すなわち、上記応答無効化手段103は、上記
タイムスロット3(452)に対応する記憶手段から応
答の内容を読み出すことにより、上記非接触ICカード
420固有の情報を取得する。続いて、上記応答無効化
手段103は、上記固有の情報を含む応答無効化コマン
ド446を上記制御手段105、上記送受信手段10
6、及び上記アンテナ手段107を介して非接触ICカ
ード420に送信する。
The response invalidation process is performed as follows. That is, the response invalidating unit 103 acquires the information unique to the non-contact IC card 420 by reading the content of the response from the storage unit corresponding to the time slot 3 (452). Then, the response invalidating means 103 sends the response invalidating command 446 including the unique information to the control means 105 and the transmitting / receiving means 10.
6 and the non-contact IC card 420 via the antenna means 107.

【0062】ここに、応答無効化コマンドとは、以後上
記リーダライタ101との通信の終了を示すコマンドを
受信するまでは、上記リーダライタ101より送信され
る初期応答リクエストに応答しない旨(命令)を示すコ
マンドである。具体的には、例えばISO/IEC14
443に規定される“ATTRIB“コマンド、又は”
HALT“コマンドなどがこれに該当するが、上記リー
ダライタ及び非接触ICカードの設計において新たに定
義したコマンドでもよい。
Here, the response invalidation command means that it does not respond to the initial response request transmitted from the reader / writer 101 until a command indicating the end of communication with the reader / writer 101 is received. Is a command that indicates. Specifically, for example, ISO / IEC14
“ATTRIB” command or ”defined in 443
A HALT "command or the like corresponds to this, but a command newly defined in the design of the reader / writer and the contactless IC card may be used.

【0063】上記応答無効化コマンドを受信した非接触
ICカード420は、以後上記リーダライタ101との
通信の終了を示すコマンドを受信するまでは上記初期応
答リクエストに対する応答を行わないが、初期応答リク
エスト以外の通信は行う、即ち上記アクティブ期間に移
行する。但し、上記“HALT”コマンドを受信した場
合にはホールト期間に移行し、“WAKE−UP”コマ
ンドを受信するまでは通常の通信も行わない。
The contactless IC card 420 that has received the response invalidation command does not respond to the initial response request until it receives a command indicating the end of communication with the reader / writer 101, but does not respond to the initial response request. Communication other than the above is performed, that is, the active period starts. However, when the "HALT" command is received, the normal period is not performed until the halt period is entered and the "WAKE-UP" command is received.

【0064】さて、図3のステップ(S306)におい
て、上記制御手段105が送信したタイムスロット数と
カウンタが一致することで、すべての応答を判定したこ
とになり、再度応答判定処理より繰り返す(図3:S3
06YES→S301) 続いて、上記非接触ICカード420を無効化したリー
ダライタ101は、2回目の識別処理442を行う。当
該2回目の識別処理442でも上記1回目の識別処理4
41とほぼ同一の処理を行うが、非接触ICカード42
0については既に無効化しているため、2回目の識別処
理442では非接触ICカード410、及び非接触IC
カード430を識別すればよい。
Now, in step (S306) of FIG. 3, when the number of time slots transmitted by the control means 105 matches the counter, it means that all responses have been determined, and the response determination processing is repeated again (FIG. 3: S3
06YES → S301) Subsequently, the reader / writer 101 that has invalidated the non-contact IC card 420 performs the second identification process 442. Even in the second identification process 442, the first identification process 4 is performed.
Performs almost the same processing as 41, but the non-contact IC card 42
Since 0 has already been invalidated, the non-contact IC card 410 and the non-contact IC are used in the second identification processing 442.
It suffices to identify the card 430.

【0065】即ち、上記リーダライタ101は、初期応
答リクエスト460を送信する。当該初期応答リクエス
トは、非接触ICカード410〜430にて受信される
が、上記非接触ICカード420については無効化され
ているので応答を行わない。
That is, the reader / writer 101 transmits the initial response request 460. Although the initial response request is received by the non-contact IC cards 410 to 430, the non-contact IC card 420 is invalidated and thus does not respond.

【0066】ここで、上記初期応答リクエストに対して
非接触ICカード410はタイムスロット2(461)
を、上記非接触ICカード430はタイムスロット1
(462)を選択したと仮定する。
Here, the contactless IC card 410 responds to the initial response request by the time slot 2 (461).
The contactless IC card 430 is a time slot 1
Suppose (462) is selected.

【0067】上記仮定の下では、上記制御手段105
は、タイムスロット1(462)にて送信された上記非
接触ICカード430の応答463を受信して、当該受
信した応答を応答検出手段102に送信する。また、上
記制御手段105は、タイムスロット2(461)にて
送信された上記非接触ICカード410の応答464を
受信して、当該受信した応答を応答検出手段102に送
信する。尚、上記制御手段105は、タイムスロット3
(465)、タイムスロット4(466)では応答を受
信しないためその旨を応答検出手段102に送信する。
Under the above assumption, the control means 105 is
Receives the response 463 of the non-contact IC card 430 transmitted in the time slot 1 (462) and transmits the received response to the response detecting means 102. Further, the control means 105 receives the response 464 of the non-contact IC card 410 transmitted in the time slot 2 (461), and transmits the received response to the response detection means 102. Incidentally, the control means 105 controls the time slot 3
(465), since the response is not received in the time slot 4 (466), the fact is transmitted to the response detecting means 102.

【0068】即ち、上記仮定の下では上記応答検出手段
102は“衝突”を検出しないため、リーダライタ10
1は従来と同様に非接触ICカード410、430を識
別可能である。以後、上記リーダライタ101により識
別された非接触ICカード410、420、430は、
上記リーダライタ101と通信可能となる。
That is, under the above assumption, the response detecting means 102 does not detect "collision", so that the reader / writer 10
1 can identify the non-contact IC cards 410 and 430 as in the conventional case. After that, the non-contact IC cards 410, 420, 430 identified by the reader / writer 101 are
It becomes possible to communicate with the reader / writer 101.

【0069】以上のように、正常な応答を受信した場合
には、上記衝突を検出していても、当該正常な応答を送
信したICカードに対して応答無効化コマンドを送信す
るため、以後の識別処理は衝突を起こした応答を送信し
たICカードのみが対象となる。即ち、以後の識別処理
においては応答が衝突する確立が減少し、即ち識別処理
を高速に完了することができる。
As described above, when the normal response is received, the response invalidating command is transmitted to the IC card which has transmitted the normal response even if the collision is detected. The identification processing is targeted only to the IC card that has transmitted the response causing the collision. That is, in the subsequent identification processing, the probability of collision of responses is reduced, that is, the identification processing can be completed at high speed.

【0070】尚、上記非接触ICカードに変えて、接触
式ICカードを用いたリーダライタに対して本発明を適
応させてもよい。また、上記タイムスロット方式に変え
てスロットマーカ方式を利用したリーダライタに適用し
てもよいし、その他のスロット方式を用いたリーダライ
タに対して適用することも可能である。
The present invention may be applied to a reader / writer using a contact type IC card instead of the non-contact type IC card. Further, the present invention may be applied to a reader / writer using a slot marker method instead of the time slot method, or may be applied to a reader / writer using another slot method.

【0071】又、上記無効化コマンドは、非接触ICカ
ードに固有の情報を複数含めることにより、1つの無効
化コマンドにて正常な応答を行った複数の非接触ICカ
ードを同時に無効化してもよい。
Further, the invalidation command includes a plurality of pieces of information unique to the non-contact IC card, so that even if the plurality of non-contact IC cards that have normally responded by one invalidation command are invalidated at the same time. Good.

【0072】(実施の形態2)続いて、図6、図7、図
8を参照し、本発明の実施の形態2に係るリーダライタ
601について説明する。
(Second Embodiment) Next, a reader / writer 601 according to a second embodiment of the present invention will be described with reference to FIGS. 6, 7, and 8.

【0073】図6におけるリーダライタ601は、上記
実施の形態1におけるリーダライタ101と同様の構成
を有するが、応答検出手段102、応答無効化手段10
3に替えて、衝突検出手段602、及びスロット数増加
手段603を備える。尚、各手段の詳細については後述
する。ここに、図7は、本実施の形態2に係るリーダラ
イタ601が実行する処理のフローチャートである。
The reader / writer 601 in FIG. 6 has the same structure as the reader / writer 101 in the first embodiment, but the response detecting means 102 and the response invalidating means 10 are provided.
In place of 3, the collision detection means 602 and the slot number increase means 603 are provided. The details of each means will be described later. FIG. 7 is a flowchart of the processing executed by the reader / writer 601 according to the second embodiment.

【0074】最初に、理解に供するため、図5にて示し
た状況を例に挙げる。即ち、ここでは、リーダライタ6
01は3つの異なる非接触ICカード410、420、
430を識別するための識別処理を行うものとする。
First, for the sake of understanding, the situation shown in FIG. 5 will be taken as an example. That is, here, the reader / writer 6
01 is three different non-contact IC cards 410, 420,
Identification processing for identifying 430 is performed.

【0075】まず、リーダライタ601を構成する制御
手段105は、初期応答リクエストを送信するが、当該
初期応答リクエストにはタイムスロット数に“1”を設
定する(図7:S701)。
First, the control means 105 constituting the reader / writer 601 transmits an initial response request, and the number of time slots is set to "1" in the initial response request (FIG. 7: S701).

【0076】これは、例えば複数の非接触ICカードと
通信を行うリーダライタでは、最初の非接触ICカード
識別処理において、非接触ICカードの数がわからない
ため、通信可能な非接触ICカードが1つしかないと仮
定して上記“1”を設定するのである。このようにする
ことにより、複数の非接触ICカードと通信を行う場合
であれば最初の識別処理にて必ず応答の衝突が起こる
が、タイムスロット数が1つしかないために、最初の初
期応答リクエストに関する処理は短時間で終了する。こ
のため、1つの非接触ICカードとのみ通信を行うこと
が多いリーダライタでは、最初の識別処理においてタイ
ムスロット数を“1”に設定することで識別処理を短時
間で終了することが可能となる。
This is because, for example, in a reader / writer that communicates with a plurality of contactless IC cards, the number of contactless IC cards is not known in the first contactless IC card identification processing, so that the number of contactless IC cards that can communicate is one. Assuming that there is only one, the above "1" is set. By doing so, when communicating with a plurality of contactless IC cards, a collision of responses always occurs in the first identification processing, but since there is only one time slot, the first initial response The processing related to the request is completed in a short time. Therefore, in a reader / writer that often communicates with only one non-contact IC card, the identification process can be completed in a short time by setting the number of time slots to "1" in the first identification process. Become.

【0077】さて、上記制御手段105は、タイムスロ
ット数に“1”を設定した後、非接触ICカードの識別
処理を行う(図7:S702)。即ち、図8に示すよう
に、リーダライタ601は、1回目の識別処理801に
て初期応答リクエスト803を送信する。当該初期応答
リクエストに設定されているタイムスロット数は“1”
であるため、非接触ICカード410、420、430
はそれぞれ応答にタイムスロット1(802)しか選択
できない。つまり、非接触ICカード410の応答80
4、非接触ICカード420の応答805、非接触IC
カード430の応答806はそれぞれタイムスロット1
(802)に対して送信される。
The control means 105, after setting the time slot number to "1", carries out the non-contact IC card identification process (FIG. 7: S702). That is, as shown in FIG. 8, the reader / writer 601 transmits the initial response request 803 in the first identification processing 801. The number of time slots set in the initial response request is "1"
Therefore, the non-contact IC cards 410, 420, 430
Can select only time slot 1 (802) for each response. That is, the response 80 of the non-contact IC card 410
4. Response 805 of non-contact IC card 420, non-contact IC
Response 806 of card 430 is time slot 1 respectively
(802) is transmitted.

【0078】上記応答804〜806は、上記リーダラ
イタ601を構成するアンテナ手段107、送受信手段
106を介して上記制御手段105に受信される。次に
上記制御手段105は、タイムスロット1に対応する応
答804〜806を衝突検知手段602に送信する。上
記衝突手段602は、当該タイムスロット1に対応する
応答の内容から、タイムスロット1に対応する応答に
“衝突“が含まれるか否かを判定する。
The responses 804 to 806 are received by the control means 105 via the antenna means 107 and the transmission / reception means 106 which constitute the reader / writer 601. Next, the control means 105 transmits the responses 804 to 806 corresponding to the time slot 1 to the collision detection means 602. The collision means 602 determines from the content of the response corresponding to the time slot 1 whether the response corresponding to the time slot 1 includes “collision”.

【0079】ここで、上記タイムスロット1に対応する
応答は、上記応答804〜806が含まれているために
“衝突”として検出される(図7:S703YES)。
Here, the response corresponding to the time slot 1 is detected as "collision" because it includes the responses 804 to 806 (FIG. 7: YES in S703).

【0080】上記衝突検知手段602が“衝突”を検知
すると、その旨がスロット数増加手段603に伝えら
れ、当該スロット数増加手段603は、次回の初期応答
リクエストのタイムスロット数を増加させるために、タ
イムスロット数に“1”より大きい数値を設定し、即ち
タイムスロット数を増加させる(図7:S704)。
尚、ここではタイムスロット数に“4”を設定したもの
とする。
When the collision detecting means 602 detects "collision", the fact is transmitted to the slot number increasing means 603, and the slot number increasing means 603 increases the number of time slots of the next initial response request. , The number of time slots is set to a value larger than “1”, that is, the number of time slots is increased (FIG. 7: S704).
Here, it is assumed that the number of time slots is set to "4".

【0081】上記スロット数増加手段603がタイムス
ロット数に“4”を設定すると、上記制御手段105
は、2回目の識別処理807において再度初期応答リク
エスト811を送信する(図7:S702)。
When the slot number increasing means 603 sets the time slot number to "4", the control means 105
Transmits the initial response request 811 again in the second identification processing 807 (FIG. 7: S702).

【0082】ここで、例えば上記非接触ICカード41
0が応答812の送信にタイムスロット2(809)
を、上記非接触ICカード420が応答813の送信に
タイムスロット4(810)を、上記非接触ICカード
430が応答814の送信にタイムスロット1(80
8)を選択したとする。
Here, for example, the non-contact IC card 41 is used.
0 is the time slot 2 (809) for sending response 812
The non-contact IC card 420 transmits the time slot 4 (810) to the response 813 and the non-contact IC card 430 transmits the time slot 1 (80) to the response 814.
8) is selected.

【0083】上記応答812〜814は、タイムスロッ
ト1〜4に対応する順序、即ち応答814、応答81
2、応答813の順序で上記制御手段105に受信され
た後、上記衝突検出手段602に送信される。
The responses 812 to 814 are in the order corresponding to the time slots 1 to 4, that is, the response 814 and the response 81.
2, the response 813 is received by the control means 105 in this order, and then transmitted to the collision detection means 602.

【0084】ここでは、上記衝突検出手段602におい
ては衝突が検出されないため、タイムスロットの増加は
行われない(図7:S703NO→END)。当然、各
応答812〜814は正常な応答としてリーダライタに
識別されるため、以後各非接触ICカード410〜43
0とリーダライタ601が通信可能となる。
Here, since no collision is detected by the collision detecting means 602, the time slot is not increased (FIG. 7: S703 NO → END). Of course, since the responses 812 to 814 are identified by the reader / writer as normal responses, each of the non-contact IC cards 410 to 43 will be hereafter described.
0 and the reader / writer 601 can communicate with each other.

【0085】以上のように、ICカードからの応答の衝
突の有無のみを検知し、当該衝突の有無のみに基づいて
タイムスロットを増加させるため、リーダライタに複雑
な構成を加えることなく、ICカードの数に応じて識別
を効率よく行うことができる。
As described above, only the presence or absence of the collision of the response from the IC card is detected, and the time slot is increased based on only the presence or absence of the collision. Therefore, the IC card can be added without adding a complicated structure to the reader / writer. The identification can be efficiently performed according to the number of.

【0086】尚、上記非接触ICカードに変えて、接触
式ICカードを用いたリーダライタに対して本発明を適
応させてもよい。また、上記タイムスロット方式に変え
てスロットマーカ方式を利用したリーダライタに適用し
てもよいし、その他のスロット方式を用いたリーダライ
タに対して適用することも可能である。
The present invention may be applied to a reader / writer using a contact type IC card instead of the non-contact type IC card. Further, the present invention may be applied to a reader / writer using a slot marker method instead of the time slot method, or may be applied to a reader / writer using another slot method.

【0087】又、上記タイムスロット数の増加は固定値
であってもよいが、可変値であってもよい。
The increase in the number of time slots may be a fixed value or a variable value.

【0088】さらに、当初より複数のICカードとの通
信が予想されるリーダライタでは、必ずしも1回目の初
期応答リクエストのタイムスロット数に“1”を設定す
る必要は無く、リーダライタに応じたタイムスロット数
を設定してもよい。
Further, in a reader / writer which is expected to communicate with a plurality of IC cards from the beginning, it is not always necessary to set the number of time slots of the first initial response request to "1", and the time corresponding to the reader / writer is set. The number of slots may be set.

【0089】(実施の形態3)続いて、図9、図10、
図11、図12を参照し、本発明の実施の形態3に係る
リーダライタ901について説明する。
(Third Embodiment) Next, referring to FIGS.
A reader / writer 901 according to the third embodiment of the present invention will be described with reference to FIGS. 11 and 12.

【0090】図9は、上記実施の形態1におけるリーダ
ライタ101、及び上記実施の形態2におけるリーダラ
イタ601と同様の構成を有し、実施の形態2における
衝突検出手段602の機能を応答検出手段102に備え
ている。即ち、リーダライタ901は、応答検出手段1
02、応答無効化手段103、及びスロット数増加手段
603を備える。ここに、図10は、本実施の形態3に
係るリーダライタ901が実行する処理のフローチャー
トである。尚、各処理において、上記実施の形態1、2
と同一の処理には同一の番号を記載している。
FIG. 9 has the same configuration as the reader / writer 101 in the first embodiment and the reader / writer 601 in the second embodiment, and has the function of the collision detection means 602 in the second embodiment as the response detection means. Prepare for 102. That is, the reader / writer 901 uses the response detection unit 1
02, response invalidating means 103, and slot number increasing means 603. FIG. 10 is a flowchart of the process executed by the reader / writer 901 according to the third embodiment. In each processing, the above-described first and second embodiments
The same numbers are given to the same processes as.

【0091】さて、本実施の形態3においては、図5に
て示した状況に加えて、非接触ICカード440をさら
に加えた状況を仮定する。まず、上記リーダライタ90
1が、非接触ICカード410、420、430、44
0と通信を行うに際して、制御手段105は1回目の識
別処理1101に用いる初期応答リクエスト1103の
タイムスロット数に“1”を設定する(図10:S70
1)。
In the third embodiment, it is assumed that a contactless IC card 440 is further added to the situation shown in FIG. First, the reader / writer 90
1 is a non-contact IC card 410, 420, 430, 44
When communicating with 0, the control means 105 sets "1" to the number of time slots of the initial response request 1103 used in the first identification processing 1101 (FIG. 10: S70).
1).

【0092】続いて、上記制御手段105が初期応答リ
クエスト1103を送信すると、次に、当該初期応答リ
クエストに対して、各非接触ICカード410〜440
が応答する(図10:S702)。ここではタイムスロ
ット数が“1”に設定されているために、各非接触IC
カード410〜440の応答1104〜1107はタイ
ムスロット1(1102)のタイミングで送信される。
このため、リーダライタ901を構成する応答検出手段
102は、所定の記憶手段に記憶された当該タイムスロ
ット1(1102)に対応する応答は“衝突”であると
検出する(図10:S302YES)。
Subsequently, when the control means 105 transmits the initial response request 1103, next, in response to the initial response request, each of the non-contact IC cards 410 to 440.
Responds (FIG. 10: S702). Since the number of time slots is set to "1" here, each non-contact IC
The responses 1104-1107 of the cards 410-440 are transmitted at the timing of time slot 1 (1102).
Therefore, the response detection unit 102 included in the reader / writer 901 detects that the response corresponding to the time slot 1 (1102) stored in the predetermined storage unit is “collision” (FIG. 10: S302 YES).

【0093】尚、上記応答検出手段102にて“衝突”
が検出されない場合、リーダライタ901の通信範囲内
に通信可能な非接触ICカードが無いか、あるいは問題
なく各非接触ICカードによる応答を受信したことを示
し、応答検出手段102の処理は終了する(図10:S
302NO→終了)。また、応答を受信した場合であれ
ば、上記制御手段105により以後の各通信処理が行わ
れる。
Incidentally, the response detecting means 102 causes a "collision".
Is not detected, it indicates that there is no communicable non-contact IC card within the communication range of the reader / writer 901, or that a response from each non-contact IC card has been received without any problem, and the process of the response detection means 102 ends. (Figure 10: S
302 NO → end). If a response is received, the control means 105 carries out the subsequent communication processes.

【0094】続いて、上記応答検出手段102が“衝
突”を検出すると、上記リーダライタ901を構成する
応答無効化手段103は、例えば該応答無効化手段10
3内に設けられたカウンタに“1”を設定する(図1
0:S302YES→S303)。
Subsequently, when the response detecting means 102 detects a "collision", the response invalidating means 103 constituting the reader / writer 901 is, for example, the response invalidating means 10.
Set "1" to the counter provided in 3 (Fig. 1
0: S302 YES → S303).

【0095】次に、上記応答無効化手段103がカウン
タに“1”を設定すると、続いて当該カウンタが示すタ
イムスロットN(Nはカウンタの値)に対応する上記所
定の記憶手段を参照し、“正常な応答”が格納されてい
るかを判定する。
Next, when the response invalidating means 103 sets "1" in the counter, subsequently, the predetermined storage means corresponding to the time slot N (N is the value of the counter) indicated by the counter is referred to, It is determined whether "normal response" is stored.

【0096】ここで、上記タイムスロット1(110
2)に対応する記憶手段には、正常な応答が記録されて
いないので、続いて初期応答リクエストにて送信したタ
イムスロット数と、上記カウンタの値が一致するかを確
認する(図10:S304NO→S306)。
Here, the time slot 1 (110
Since a normal response is not recorded in the storage means corresponding to 2), it is then confirmed whether the number of time slots transmitted by the initial response request matches the value of the counter (FIG. 10: S304 NO). → S306).

【0097】ここで、タイムスロット数が“1”である
ため、スロット数増加手段603は2回目の識別処理1
108にて送信される初期応答リクエスト1102に設
定するタイムスロット数の値を増加させる(図10:S
306YES→S704)。尚、ここではタイムスロッ
ト数に“4”を設定したものとする。
Here, since the number of time slots is "1", the slot number increasing means 603 uses the second identification processing 1
The value of the number of time slots set in the initial response request 1102 transmitted at 108 is increased (FIG. 10: S
306 YES → S704). Here, it is assumed that the number of time slots is set to "4".

【0098】続いて、上記初期応答リクエスト1112
が送信されると、各非接触ICカード410〜440
は、設定された4つのタイムスロットより1つを選択す
る。ここで、例えば非接触ICカード410、430
は、タイムスロット2(1110)を選択し、非接触I
Cカード420はタイムスロット1(1109)を選択
し、非接触ICカード440は、タイムスロット3(1
111)を選択したものとする。
Then, the initial response request 1112 is made.
Is transmitted, each non-contact IC card 410-440
Selects one from the set four time slots. Here, for example, the non-contact IC cards 410, 430
Selects Timeslot 2 (1110) and contacts I
The C card 420 selects the time slot 1 (1109), and the contactless IC card 440 selects the time slot 3 (1109).
111) is selected.

【0099】この場合、上記応答検出手段102は、タ
イムスロット1(1109)の応答にて非接触ICカー
ド420の応答1114を、タイムスロット2(111
0)の応答にて非接触ICカード410の応答1113
と接触ICカード430の応答1115との“衝突”
を、タイムスロット3(1111)の応答にて非接触I
Cカード440の応答1116を検出する。
In this case, the response detecting means 102 sends the response 1114 of the contactless IC card 420 to the response of the time slot 1 (1109) and the response to the time slot 2 (111).
0) response to the contactless IC card 410 response 1113
"Collision" with the response 1115 of the contact IC card 430
In response to time slot 3 (1111)
The response 1116 of the C card 440 is detected.

【0100】上記応答検出手段102が、上記“衝突”
を検出したので、上記応答無効化手段103は上記図1
0における処理S303〜S366を繰り返すことで、
上記非接触ICカード420に対して応答無効化コマン
ド1117を、上記非接触ICカード440に対して応
答無効化コマンド1118を送信する。
The response detecting means 102 causes the "collision" to occur.
Since the response invalidating means 103 has detected
By repeating the processing S303 to S366 in 0,
A response invalidation command 1117 is transmitted to the non-contact IC card 420, and a response invalidation command 1118 is transmitted to the non-contact IC card 440.

【0101】これにより、上記上記非接触ICカード4
20、及び上記非接触ICカード440は、アクティブ
期間に移行し、即ち以後の初期応答リクエストに対する
応答は行わない。
As a result, the above-mentioned non-contact IC card 4 is
20 and the contactless IC card 440 shift to the active period, that is, do not respond to the subsequent initial response request.

【0102】続いて、カウンタNとタイムスロット数を
比較し、4つのタイムスロットすべてについての処理が
終了すると、スロット数増加手段603にて3回目の識
別処理1201におけるタイムスロット数の増加処理を
行う(図10:S306YES→S704)。
Subsequently, the counter N is compared with the time slot number, and when the processing for all four time slots is completed, the slot number increasing means 603 performs the time slot number increasing processing in the third identification processing 1201. (FIG. 10: S306 YES → S704).

【0103】尚、ここで上記スロット数増加手段603
は、タイムスロット数を増加させてもよいが、ここでは
上記無効化手段103より応答無効化処理を行った旨を
上記スロット数増加手段603が受信することで、当該
スロット数増加手段603はタイムスロット数の増加を
行わない。
Here, the slot number increasing means 603 is used.
May increase the number of time slots, but in this case, the slot number increasing means 603 receives the fact that the response invalidation processing has been performed from the invalidating means 103, and the slot number increasing means 603 causes the time slot number to increase. Does not increase the number of slots.

【0104】以上のように、応答無効化処理の実行の有
無に基づいてタイムスロット数の増加を決定すること
で、不要なタイムスロットの増加を行う必要が無く、即
ちタイムスロット数の増加による識別処理の遅延を防ぐ
ことができる。
As described above, by determining the increase in the number of time slots based on the presence / absence of the response invalidation process, it is not necessary to increase the unnecessary time slot, that is, the identification is made by the increase in the number of time slots. Processing delay can be prevented.

【0105】続いて、上記制御手段105は、3回目の
識別処理1201のための初期応答リクエスト1205
を送信する(図10:S301)。尚、初期応答リクエ
スト1205におけるタイムスロット数は“4”であ
る。
Then, the control means 105 causes the initial response request 1205 for the third identification processing 1201.
Is transmitted (FIG. 10: S301). The number of time slots in the initial response request 1205 is “4”.

【0106】上記3回目の識別処理1201において、
上記非接触ICカード410は、タイムスロット2(1
203)を選択し、非接触ICカード430は、タイム
スロット4(1204)を選択したものとする。上記非
接触ICカード420、440は既に応答無効化処理に
よりアクティブ期間に移行しているため、初期応答リク
エストに応答しないのは上述したとおりである。
In the identification processing 1201 for the third time,
The non-contact IC card 410 has a time slot 2 (1
203) is selected, and the non-contact IC card 430 is assumed to be the time slot 4 (1204). As described above, the non-contact IC cards 420 and 440 do not respond to the initial response request because the non-contact IC cards 420 and 440 have already entered the active period by the response invalidation processing.

【0107】上記3回目の識別処理1201において
は、上記応答検出手段102は“衝突”を検出せず、ま
た“正常な応答”を検出しているため、上記非接触IC
カード410、430は通常(従来)の処理によりリー
ダライタ901にて識別される(図10:S302→終
了)。
In the third identification processing 1201, the response detecting means 102 does not detect a "collision" and detects a "normal response". Therefore, the non-contact IC
The cards 410 and 430 are identified by the reader / writer 901 through normal (conventional) processing (FIG. 10: S302 → end).

【0108】以後、各非接触ICカード410〜440
は、上記リーダライタ901と所定の通信を行い、例え
ば“HALT“コマンド等により通信が終了する。
After that, each non-contact IC card 410 to 440
Performs a predetermined communication with the reader / writer 901, and ends the communication by, for example, a "HALT" command or the like.

【0109】尚、以後(次)の識別処理1208では、
再度処理S701より識別処理が繰り返されるため、初
期応答リクエスト1210に設定されるタイムスロット
数は“1”となる。
In the following (next) identification processing 1208,
Since the identification process is repeated from the process S701 again, the number of time slots set in the initial response request 1210 is "1".

【0110】又、一旦応答が無効化された非接触ICカ
ード420、440も、通信終了時の“HALT”コマ
ンド等により、(アクティブ期間が終了し)初期応答リ
クエストに対する応答が可能となる。
Further, the non-contact IC cards 420 and 440 whose responses have been invalidated can also respond to the initial response request (the active period has ended) by the “HALT” command at the end of communication.

【0111】以上のように、衝突を起こしていない応答
に対応するICカードはその都度応答無効化処理を行う
ことにより、衝突を起こしたICカードに対してのみ識
別処理を行い、かつ、適宜タイムスロット数を増加させ
ることにより、多数のICカードの識別が必要なシステ
ムにおいても、ICカードの数に応じた識別を柔軟にか
つ効率よく行うことができる。
As described above, the IC card corresponding to the response that has not caused a collision performs the response invalidation process each time, so that the identification process is performed only on the IC card having the collision, and the time is appropriately set. By increasing the number of slots, even in a system that requires identification of a large number of IC cards, identification according to the number of IC cards can be performed flexibly and efficiently.

【0112】尚、上記実施の形態1、2と同様、上記非
接触ICカードに変えて、接触式ICカードを用いたリ
ーダライタに対して本発明を適応させてもよい。また、
上記タイムスロット方式に変えてスロットマーカ方式を
利用したリーダライタに適用してもよいし、その他のス
ロット方式を用いたリーダライタに対して適用すること
も可能である。
As in the first and second embodiments, the present invention may be applied to a reader / writer using a contact type IC card instead of the non-contact type IC card. Also,
It may be applied to a reader / writer using a slot marker method instead of the time slot method, or may be applied to a reader / writer using another slot method.

【0113】又、上記タイムスロット数の増加は固定値
であってもよいが、可変値であってもよい。
The increase in the number of time slots may be a fixed value or a variable value.

【0114】さらに、当初より複数のICカードとの通
信が予想されるリーダライタでは、必ずしも1回目の初
期応答リクエストのタイムスロット数に“1”を設定す
る必要は無く、リーダライタに応じたタイムスロット数
を設定してもよい。
Further, in a reader / writer which is expected to communicate with a plurality of IC cards from the beginning, it is not always necessary to set “1” to the number of time slots of the first initial response request, and the time corresponding to the reader / writer is required. The number of slots may be set.

【0115】(実施の形態4)続いて、図13〜図15
を参照し、本発明の実施の形態4に係るリーダライタ1
301について説明する。
(Fourth Embodiment) Next, FIGS.
Referring to, the reader / writer 1 according to the fourth embodiment of the present invention
301 will be described.

【0116】図13におけるリーダライタ1301は、
上記実施の形態1におけるリーダライタ101と同様の
構成を有するが、応答検出手段102、応答無効化手段
103に替えて、記憶手段1302、算出手段1303
及びスロット数再設定手段1303を備える。尚、各手
段の詳細については後述する。また、図14は上記記憶
手段1302が記憶するデータのイメージ図であり、図
15は、本実施の形態4に係るリーダライタ1301が
実行する処理のフローチャートである。
The reader / writer 1301 shown in FIG.
It has the same configuration as the reader / writer 101 in the first embodiment, but instead of the response detection unit 102 and the response invalidation unit 103, a storage unit 1302 and a calculation unit 1303.
And slot number resetting means 1303. The details of each means will be described later. 14 is an image diagram of data stored in the storage unit 1302, and FIG. 15 is a flowchart of processing executed by the reader / writer 1301 according to the fourth embodiment.

【0117】上記実施の形態1〜3で述べたように、制
御手段105は例えば複数枚の非接触ICカードに対し
て初期応答リクエストを送信することにより、上記複数
枚の非接触ICカードをそれぞれ認識する点は同様であ
る。
As described in the first to third embodiments, the control means 105 transmits the initial response request to, for example, a plurality of non-contact IC cards, so that each of the plurality of non-contact IC cards can be transmitted. The points of recognition are the same.

【0118】ここで、認識が正常に完了すると、上記記
憶手段1302は、正常に認識した非接触ICカードの
枚数を記憶する。例えば記憶の方法として、図14Aに
示すように、ここでは10個の記憶領域を設け、認識し
た枚数を新しいものから順次、記憶領域1401〜14
10に記憶していく。このようにする事で、最近認識し
た非接触ICカードの枚数を10個格納する事ができ
る。次に、上記記憶手段1302への記憶が完了する
と、上記算出手段1303は、上記格納した10個の非
接触ICカードの枚数に基づいて、次回に送信する初期
応答リクエストに含めるべきタイムスロット数を算出す
るのである。ここで、スロット数の算出方法はどのよう
なものでもよいが、例えば上記過去10回分の枚数の平
均値とすればよい。この場合、例えば端数は切り上げ、
又は切り捨てればよい。具体的には、図14Aに示した
例では、各記憶領域1401〜1410に記憶した数値
(枚数)の平均は、「1.2」となり、初期応答リクエ
ストに含めるタイムスロット数は「1」となる(切捨て
を採用)。これに対して、例えば非接触ICカードが普
及し、財布の中などにある非接触ICカードが増加した
場合の例を図14Bに示す。この場合、一度に認識され
る枚数は増加しており、図14Bに示した各記憶領域1
411〜1420に記憶した数値(枚数)の平均は、
「5.1」となり、初期応答リクエストに含めるタイム
スロット数は「5」となる(切捨てを採用)。
Here, when the recognition is completed normally, the storage means 1302 stores the number of normally-contacted non-contact IC cards. For example, as a storage method, as shown in FIG. 14A, 10 storage areas are provided here, and the recognized numbers are sequentially stored from the newest storage areas 1401 to 1401.
Remember in 10. By doing so, the number of recently recognized non-contact IC cards can be stored. Next, when the storage in the storage unit 1302 is completed, the calculation unit 1303 determines the number of time slots to be included in the initial response request to be transmitted next time, based on the stored number of the 10 non-contact IC cards. It is calculated. Here, any method may be used to calculate the number of slots, but for example, the average value of the past ten times may be used. In this case, for example, round up
Or you can round it down. Specifically, in the example shown in FIG. 14A, the average of the numerical values (the number of sheets) stored in each of the storage areas 1401 to 1410 is “1.2”, and the number of time slots included in the initial response request is “1”. It becomes (adopts the truncation). On the other hand, FIG. 14B shows an example of the case where non-contact IC cards have spread and the number of non-contact IC cards in wallets has increased. In this case, the number of sheets recognized at one time is increasing, and each storage area 1 shown in FIG.
The average of the numerical values (the number of sheets) stored in 411 to 1420 is
It becomes "5.1", and the number of time slots included in the initial response request becomes "5" (truncation is adopted).

【0119】上記算出手段1303にて算出されたタイ
ムスロット数は、上記スロット数再設定手段1304に
通知され、当該スロット数再設定手段1304は以後の
初期応答リクエストに含まれるタイムスロット数に当該
通知された数値を設定するのである。
The time slot number calculated by the calculating means 1303 is notified to the slot number resetting means 1304, and the slot number resetting means 1304 notifies the time slot number included in the subsequent initial response request. The numerical value set is set.

【0120】以後、上記制御手段105は、上記スロッ
ト数再設定手段1304にて再設定された数値(図14
Bの場合には「5」)を用いて初期応答リクエストを送
信する。尚、非接触ICカード側で、上記初期応答リク
エストに含まれる数値を用いてタイムスロット数を算出
し直す場合には、当該非接触ICカード側で算出される
数値が「5」以上となるように、初期応答リクエストに
「3」を格納するのである。
Thereafter, the control means 105 is reset by the slot number resetting means 1304 (see FIG. 14).
In the case of B, "5") is used to send the initial response request. When the number of time slots is recalculated on the contactless IC card side using the value included in the initial response request, the value calculated on the contactless IC card side should be “5” or more. Then, "3" is stored in the initial response request.

【0121】以上のように、過去の、非接触ICカード
を認識した履歴に基づいてタイムスロット数を動的に変
更する事で、各カードの識別処理時間を高い確率で短縮
する事が可能になる。また、時間が経過し、利用者一人
が所有する非接触ICカードの枚数が増加(変更)した
場合においても、当該リーダライタを用いたシステムで
は、自動的にタイムスロットの初期値を変更するため、
結果として当該システムの耐用年数を延ばすことが可能
になる。
As described above, by dynamically changing the number of time slots based on the past history of recognizing a non-contact IC card, it is possible to shorten the identification processing time of each card with a high probability. Become. In addition, even if the number of non-contact IC cards owned by one user increases (changes) over time, the system using the reader / writer automatically changes the initial value of the time slot. ,
As a result, the service life of the system can be extended.

【0122】続いて、上記算出手段1303によるタイ
ムスロット数の異なる算出方法について図15を用いて
説明する。
Next, a method of calculating different numbers of time slots by the calculating means 1303 will be described with reference to FIG.

【0123】次に説明する方法においては、上記算出手
段1303は、認識した枚数の連続性に着目して初期値
を変更するのである。
In the method described below, the calculating means 1303 changes the initial value by paying attention to the continuity of the recognized number of sheets.

【0124】まず、上記制御手段105は、初期応答リ
クエストに含まれる初期値(タイムスロット数)をNと
して識別処理を完了したとする(図15:S150
1)。すると、上記記憶手段1302は、当該認識した
枚数n1を記憶領域1421に格納すると共に、記憶領
域1421に格納されていた、前回の処理にて認識した
枚数を記憶領域1422にコピーし、枚数n2とする。
First, it is assumed that the control means 105 completes the identification process by setting the initial value (the number of time slots) included in the initial response request to N (FIG. 15: S150).
1). Then, the storage unit 1302 stores the recognized number n1 in the storage area 1421 and also copies the number of sheets recognized in the previous processing stored in the storage area 1421 to the storage area 1422 to obtain the number n2. To do.

【0125】次に、上記算出手段1303は、上記記憶
手段1302から枚数n1及びn2を取得し、当該二つ
の枚数が同一か否かを比較する(図15:S1502→
S1503)。
Next, the calculating means 1303 acquires the numbers n1 and n2 from the storage means 1302 and compares whether the two numbers are the same (FIG. 15: S1502 →).
S1503).

【0126】ここで、上記n1とn2が同一ではない場
合、連続カウンタncを「0」とする(図15:S15
03NO→S1504)。ここで、連続カウンタncと
は、何回連続して同じ枚数のカードが認識されたかを示
す値である。
If n1 and n2 are not the same, the continuous counter nc is set to "0" (FIG. 15: S15).
03 NO → S1504). Here, the continuous counter nc is a value indicating how many times the same number of cards have been recognized in succession.

【0127】また、上記算出手段1303は、カード検
索回数Nsに「1」を加算し、さらに履歴回数Nsum
に上記n1を加算する(図15:S1505→S150
6)。ここで、上記カード検索回数Nsとは、現在まで
にリーダライタが非接触ICカードの識別処理を正常に
終了した回数を示し、履歴回数Nsumとは、現在まで
にリーダライタが認識した非接触ICカードの枚数を示
す。
Further, the calculation means 1303 adds "1" to the card search count Ns, and further, the history count Nsum.
Is added to n (FIG. 15: S1505 → S150)
6). Here, the card search count Ns indicates the number of times the reader / writer has normally completed the identification processing of the non-contact IC card so far, and the history count Nsum is the non-contact IC recognized by the reader / writer so far. Indicates the number of cards.

【0128】続いて、上記算出手段1303は、初期値
Nに、「Nsum÷Ns×1.5」(小数点以下切り上
げ)にて算出された数値を代入する(図15:S150
7)。ここでいう、「Nsum÷Ns」は、現在まで
の、1回当りの識別処理で認識したカード枚数の平均値
を示す。尚、当該「Nsum÷Ns」に「1.5」を掛
ける事で、カード枚数より大きい値の初期値を算出して
いるが、当該「1.5」は別の数値でもよい。
Subsequently, the calculating means 1303 substitutes the numerical value calculated by "Nsum ÷ Ns × 1.5" (rounded up after the decimal point) for the initial value N (FIG. 15: S150).
7). Here, “Nsum ÷ Ns” indicates the average value of the number of cards recognized in the identification process per time until now. The initial value larger than the number of cards is calculated by multiplying the “Nsum ÷ Ns” by “1.5”, but the “1.5” may be another numerical value.

【0129】上記算出手段1303にて算出された初期
値Nは、上記スロット数再設定手段1304に通知さ
れ、当該スロット数再設定手段1304は初期値Nに当
該通知された値を設定する。当該初期値Nは、上記制御
手段105による以後の初期応答リクエスト(識別処
理)にて利用される。
The initial value N calculated by the calculating means 1303 is notified to the slot number resetting means 1304, and the slot number resetting means 1304 sets the notified value to the initial value N. The initial value N is used in the subsequent initial response request (identification process) by the control means 105.

【0130】さて、上記比較処理:S1503にて上記
n1とn2が同一である場合、連続カウンタncを
「1」インクリメントし、閾値Nxと連続カウンタNc
とを比較する(図15:S1503YES→S1508
→S1509)。
Now, in the above comparison processing: S1503, if the above n1 and n2 are the same, the continuous counter nc is incremented by "1", and the threshold value Nx and the continuous counter Nc are increased.
(FIG. 15: S1503 YES → S1508)
→ S1509).

【0131】ここで、上記連続カウンタnc<=Nxの
場合、上記同様、処理S1505〜S1507により初
期値Nが決定される(図15:S1509NO→S15
05・・・S1507)。
Here, when the continuous counter nc <= Nx, the initial value N is determined by the processes S1505 to S1507 (FIG. 15: S1509 NO → S15) as in the above.
05 ... S1507).

【0132】一方、上記連続カウンタnc>Nxの場
合、上記カード検索回数Nsを「0」に初期化し、さら
に履歴回数Nsumも「0」で初期化する(図15:S
1509YES→S1510→S1511)。続いて、
上記算出手段1303は、n1が「1」か否かを判定す
る(図15:S1512)。
On the other hand, when the continuous counter nc> Nx, the card search count Ns is initialized to "0" and the history count Nsum is also initialized to "0" (FIG. 15: S).
1509 YES → S1510 → S1511). continue,
The calculation means 1303 determines whether n1 is “1” (FIG. 15: S1512).

【0133】ここで、n1が「1」の場合、初期値Nを
「1」とし、当該初期値Nは、上記制御手段105によ
る以後の初期応答リクエスト(識別処理)にて利用され
る(図15:S1512YES→S1513)。
Here, when n1 is "1", the initial value N is set to "1", and the initial value N is used in the subsequent initial response request (identification processing) by the control means 105 (Fig. 15: S1512 YES → S1513).

【0134】また、n1が「1」ではない場合、初期値
Nに、「n1×1.5」(小数点以下切り上げ)にて算
出された数値を代入し、当該初期値Nは、上記制御手段
105による以後の初期応答リクエスト(識別処理)に
て利用される(図15:S1512NO→S151
4)。ここで、数値「1.5」は、上記同様、カード枚
数より大きい値の初期値を算出するための値であるが、
当該「1.5」は別の数値でもよい。
When n1 is not "1", the numerical value calculated by "n1 × 1.5" (rounded up to the right of the decimal point) is substituted for the initial value N, and the initial value N is set to the above control means. It is used in the subsequent initial response request (identification processing) by 105 (FIG. 15: S1512 NO → S151).
4). Here, the numerical value "1.5" is a value for calculating an initial value larger than the number of cards, as in the above.
The “1.5” may be another numerical value.

【0135】以上のように、閾値(Nx)を用いて、認
識したカードの枚数の連続回数を判定し、当該連続回数
に基づいて初期値を算出してもよい。尚、上記処理で
は、認識枚数が「1」の場合には、「1.5」を掛けて
切り上げする処理を行っていない。これは、カードの枚
数が1枚の場合には、初期値を「1」にすることで最も
識別処理を早く終了できるからである。
As described above, the threshold value (Nx) may be used to determine the number of consecutive times of the number of recognized cards, and the initial value may be calculated based on the number of consecutive times. In the above process, when the number of recognized sheets is "1", the process of multiplying by "1.5" and rounding up is not performed. This is because when the number of cards is one, the identification processing can be ended most quickly by setting the initial value to "1".

【0136】尚、本実施の形態4における記憶手段、算
出手段、スロット数再設定手段は、上記実施の形態1〜
3に加えて実施する事が可能である。同時に実施する事
で、一層識別処理時間を短縮する事が可能になる。
The storage means, calculation means and slot number resetting means in the fourth embodiment are the same as those in the first to third embodiments.
It is possible to implement in addition to 3. By carrying out at the same time, it becomes possible to further shorten the identification processing time.

【0137】[0137]

【発明の効果】以上のように、正常な応答を受信した場
合には、上記衝突を検出していても、当該正常な応答を
送信したICカードに対して応答無効化コマンドを送信
するため、以後の識別処理は衝突を起こした応答を送信
したICカードのみが対象となる。即ち、以後の識別処
理においては応答が衝突する確立が減少し、即ち識別処
理を高速に完了することができる。
As described above, when the normal response is received, the response invalidation command is transmitted to the IC card which has transmitted the normal response even if the collision is detected. Subsequent identification processing applies only to the IC card that has sent the response that caused the collision. That is, in the subsequent identification processing, the probability of collision of responses is reduced, that is, the identification processing can be completed at high speed.

【0138】又、ICカードからの応答の衝突の有無の
みを検知し、当該衝突の有無のみに基づいてタイムスロ
ットを増加させるため、リーダライタに複雑な構成を加
えることなく、ICカードの数に応じて識別を効率よく
行うことができる。
Further, since the presence / absence of a collision in the response from the IC card is detected and the time slot is increased based on the presence / absence of the collision only, the number of IC cards can be adjusted without adding a complicated structure to the reader / writer. Accordingly, the identification can be efficiently performed.

【0139】さらに、衝突を起こしていない応答に対応
するICカードはその都度応答無効化処理を行うことに
より、衝突を起こしたICカードに対してのみ識別処理
を行い、かつ、適宜タイムスロット数を増加させること
により、多数のICカードの識別が必要なシステムにお
いても、ICカードの数に応じて識別を柔軟にかつ効率
よく行うことができる。
Further, the IC card corresponding to the response that has not caused the collision performs the response invalidation process each time, so that the identification process is performed only for the IC card having the collision, and the time slot number is appropriately set. By increasing the number, even in a system that requires identification of a large number of IC cards, identification can be flexibly and efficiently performed according to the number of IC cards.

【0140】また、過去の、非接触ICカードを認識し
た履歴に基づいてタイムスロット数を動的に変更する事
で、各カードの識別処理時間を高い確率で短縮する事が
可能になる。同時に、該リーダライタを用いたシステム
の耐用年数を延ばすことが可能になる。
Further, by dynamically changing the number of time slots based on the past history of recognizing the non-contact IC card, it becomes possible to shorten the identification processing time of each card with high probability. At the same time, it becomes possible to extend the service life of the system using the reader / writer.

【図面の簡単な説明】[Brief description of drawings]

【図1】実施の形態1におけるリーダライタの機能ブロ
ック図。
FIG. 1 is a functional block diagram of a reader / writer according to a first embodiment.

【図2】実施の形態1におけるリーダライタのハードウ
ェア構成図。
FIG. 2 is a hardware configuration diagram of a reader / writer according to the first embodiment.

【図3】実施の形態1におけるリーダライタが実行する
処理のフローチャート。
FIG. 3 is a flowchart of processing executed by a reader / writer according to the first embodiment.

【図4】実施の形態1における識別処理のイメージ図。FIG. 4 is an image diagram of identification processing according to the first embodiment.

【図5】リーダライタ及び非接触ICカードの通信イメ
ージ図。
FIG. 5 is a communication image diagram of a reader / writer and a non-contact IC card.

【図6】実施の形態2におけるリーダライタの機能ブロ
ック図。
FIG. 6 is a functional block diagram of a reader / writer according to the second embodiment.

【図7】実施の形態2におけるリーダライタが実行する
処理のフローチャート。
FIG. 7 is a flowchart of processing executed by a reader / writer according to the second embodiment.

【図8】実施の形態2における識別処理のイメージ図。FIG. 8 is an image diagram of identification processing according to the second embodiment.

【図9】実施の形態3におけるリーダライタの機能ブロ
ック図。
FIG. 9 is a functional block diagram of a reader / writer according to a third embodiment.

【図10】実施の形態3に係るリーダライタが実行する
処理のフローチャート。
FIG. 10 is a flowchart of processing executed by the reader / writer according to the third embodiment.

【図11】実施の形態3における識別処理の第1イメー
ジ図。
FIG. 11 is a first image diagram of identification processing according to the third embodiment.

【図12】実施の形態3における識別処理の第2イメー
ジ図。
FIG. 12 is a second image diagram of the identification processing according to the third embodiment.

【図13】実施の形態4におけるリーダライタの機能ブ
ロック図。
FIG. 13 is a functional block diagram of a reader / writer according to the fourth embodiment.

【図14】記憶手段が記憶するデータのイメージ図。FIG. 14 is an image diagram of data stored in a storage unit.

【図15】実施の形態4に係るリーダライタが実行する
処理のフローチャート。
FIG. 15 is a flowchart of processing executed by the reader / writer according to the fourth embodiment.

【図16】従来のリーダライタ及び非接触ICカードの
通信イメージ図。
FIG. 16 is a communication image diagram of a conventional reader / writer and a non-contact IC card.

【図17】従来の識別処理のイメージ図。FIG. 17 is an image diagram of conventional identification processing.

【図18】初期応答リクエストパケットのフォーマット
を示す図。
FIG. 18 is a diagram showing a format of an initial response request packet.

【符号の説明】[Explanation of symbols]

101 リーダライタ 102 応答検出手段 103 応答無効化手段 104 ROM 105 制御手段 106 送受信手段 107 アンテナ手段 101 reader / writer 102 Response detection means 103 Response invalidation means 104 ROM 105 control means 106 transmitting / receiving means 107 antenna means

───────────────────────────────────────────────────── フロントページの続き (72)発明者 川野 眞二 東広島市鏡山3丁目10番18号 株式会社松 下電器情報システム広島研究所内 (72)発明者 大関 秀夫 東広島市鏡山3丁目10番18号 株式会社松 下電器情報システム広島研究所内 (72)発明者 江原 裕美 東広島市鏡山3丁目10番18号 株式会社松 下電器情報システム広島研究所内 Fターム(参考) 2C005 MA25 MA27 SA26 SA30 TA22 5B058 CA15 CA17 CA23 KA01 KA04 5K012 AB05 AB12 AB18 AC01 AC08 AC10 BA03    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Shinji Kawano             3-10-18 Kagamiyama, Higashihiroshima-shi Matsu Co., Ltd.             Shimoden Information System Hiroshima Laboratory (72) Inventor Hideo Ozeki             3-10-18 Kagamiyama, Higashihiroshima-shi Matsu Co., Ltd.             Shimoden Information System Hiroshima Laboratory (72) Inventor Hiromi Ehara             3-10-18 Kagamiyama, Higashihiroshima-shi Matsu Co., Ltd.             Shimoden Information System Hiroshima Laboratory F-term (reference) 2C005 MA25 MA27 SA26 SA30 TA22                 5B058 CA15 CA17 CA23 KA01 KA04                 5K012 AB05 AB12 AB18 AC01 AC08                       AC10 BA03

Claims (17)

【特許請求の範囲】[Claims] 【請求項1】 複数のICカードと通信するICカード
用リーダライタにおいて、 各ICカードを識別するためのリクエストに対する上記
ICカードからの正常な応答及び当該応答の衝突を検出
する応答検出手段と、 上記応答検出手段が上記ICカードからの正常な応答を
受信した場合には、上記衝突を検出していても、当該正
常な応答を送信したICカードに対して以後の上記リク
エストに応答しない旨の命令である応答無効化コマンド
を送信する応答無効化手段とを備えたことを特徴とする
リーダライタ。
1. In an IC card reader / writer that communicates with a plurality of IC cards, a response detection unit that detects a normal response from the IC card to a request for identifying each IC card and a collision of the responses, When the response detecting means receives a normal response from the IC card, even if the collision is detected, the IC card which has transmitted the normal response does not respond to the subsequent request. A reader / writer, comprising: a response invalidating unit that transmits a response invalidating command that is an instruction.
【請求項2】 上記ICカードの識別に、タイムスロッ
トを用いる請求項1に記載のリーダライタ。
2. The reader / writer according to claim 1, wherein a time slot is used to identify the IC card.
【請求項3】 さらに、上記応答検出手段が検出した上
記衝突の有無のみに基づいて上記タイムスロット数を増
加させるスロット数増加手段を備えた請求項2に記載の
リーダライタ。
3. The reader / writer according to claim 2, further comprising slot number increasing means for increasing the number of time slots based on only the presence or absence of the collision detected by the response detecting means.
【請求項4】 上記スロット数増加手段は、上記応答無
効化手段による上記応答無効化コマンドの送信の有無に
基づいてタイムスロット数の増加を行う請求項3に記載
のリーダライタ。
4. The reader / writer according to claim 3, wherein the slot number increasing means increases the number of time slots based on whether or not the response invalidating command transmits the response invalidating command.
【請求項5】 さらに、正常に認識した上記ICカード
の数を記憶する記憶手段と、 上記記憶手段にて記憶したICカードの数に基づいて、
各ICカードを識別するための最初のリクエストに含め
るタイムスロット数を算出する算出手段と、 上記算出手段にて算出されたタイムスロット数を上記最
初のリクエスト時のタイムスロット数として設定するス
ロット数再設定手段とを備えた請求項2に記載のリーダ
ライタ。
5. A storage means for storing the number of the IC cards normally recognized, and the number of IC cards stored in the storage means,
A calculating means for calculating the number of time slots included in the first request for identifying each IC card, and a slot number re-setting for setting the number of time slots calculated by the calculating means as the number of time slots for the first request. The reader / writer according to claim 2, further comprising setting means.
【請求項6】 上記応答無効化コマンドは、ISO/I
EC(InternationalOrganization For Standardizatio
n/International Electrotechnical Commission)14
443に基づく“ATTRIB“コマンド、又は”HA
LT“コマンドである請求項1に記載のリーダライタ。
6. The response invalidation command is ISO / I
EC (International Organization For Standardizatio)
n / International Electrotechnical Commission) 14
443 based "ATTRIB" command, or "HA"
The reader / writer according to claim 1, which is an LT "command.
【請求項7】 複数のICカードと1以上のタイムスロ
ットを用いて通信するICカード用リーダライタにおい
て、 各ICカードを識別するためのリクエストに対する上記
ICカードからの応答の衝突を検出する衝突検出手段
と、 上記衝突検出手段が検出した上記衝突の有無のみに基づ
いて上記タイムスロット数を増加させるスロット数増加
手段とを備えたことを特徴とするリーダライタ。
7. An IC card reader / writer that communicates with a plurality of IC cards using one or more time slots, and collision detection for detecting a collision of responses from the IC cards to a request for identifying each IC card. A reader / writer comprising: means and slot number increasing means for increasing the number of time slots based only on the presence or absence of the collision detected by the collision detecting means.
【請求項8】 最初の上記リクエストに含まれるタイム
スロット数を“1”とする請求項7に記載のリーダライ
タ。
8. The reader / writer according to claim 7, wherein the number of time slots included in the first request is “1”.
【請求項9】 さらに、正常に認識した上記ICカード
の数を記憶する記憶手段と、 上記記憶手段にて記憶したICカードの数に基づいて、
各ICカードを識別するための最初のリクエストに含め
るタイムスロット数を算出する算出手段と、 上記算出手段にて算出されたタイムスロット数を上記最
初のリクエスト時のスロット数として設定するスロット
数再設定手段とを備えた請求項7に記載のリーダライ
タ。
9. Further, based on the storage means for storing the number of normally recognized IC cards, and the number of IC cards stored in the storage means,
Calculating means for calculating the number of time slots included in the first request for identifying each IC card, and resetting the number of slots for setting the number of time slots calculated by the calculating means as the number of slots at the first request The reader / writer according to claim 7, further comprising:
【請求項10】 複数のICカードと1以上のタイムス
ロットを用いて通信するICカード用リーダライタにお
いて、 正常に認識した上記ICカードの数を記憶する記憶手段
と、 上記記憶手段にて記憶したICカードの数に基づいて、
各ICカードを識別するための最初のリクエストに含め
るタイムスロット数を算出する算出手段と、 上記算出手段にて算出されたタイムスロット数を上記最
初のリクエスト時のスロット数として設定するスロット
数再設定手段とを備えたことを特徴とするリーダライ
タ。
10. In an IC card reader / writer that communicates with a plurality of IC cards using one or more time slots, a storage unit that stores the number of the IC cards that are normally recognized, and the storage unit stores the number. Based on the number of IC cards
Calculating means for calculating the number of time slots included in the first request for identifying each IC card, and resetting the number of slots for setting the number of time slots calculated by the calculating means as the number of slots at the first request A reader / writer provided with a means.
【請求項11】 上記記憶手段は、所定回数分の上記I
Cカードの数を記憶する請求項10に記載のリーダライ
タ。
11. The storage means stores a predetermined number of times of the I.
The reader / writer according to claim 10, which stores the number of C cards.
【請求項12】 複数のICカードを通信可能に識別す
る識別方法において、 各ICカードを識別するためのリクエストに対する上記
ICカードからの正常な応答及び当該応答の衝突を検出
する検出ステップと、 上記ICカードからの正常な応答を受信した場合に、上
記衝突を検出していても、当該正常な応答を送信したI
Cカードに対して以後の上記リクエストに応答しない旨
の命令である応答無効化コマンドを送信する応答無効化
ステップとを備えたことを特徴とする識別方法。
12. A method for identifying a plurality of IC cards in a communicable manner, the detecting step of detecting a normal response from the IC card to a request for identifying each IC card and a collision of the responses, When a normal response is received from the IC card, the normal response is transmitted even if the collision is detected.
And a response invalidation step of transmitting a response invalidation command, which is a command not to respond to the subsequent request, to the C card.
【請求項13】 複数のICカードを通信可能に識別す
る識別方法において、 各ICカードを識別するためのリクエストに対する上記
ICカードからの応答の衝突を検出する衝突検出ステッ
プと、 検出した上記衝突の有無のみに基づいて上記識別に用い
る上記タイムスロット数を増加させるスロット数増加ス
テップとを備えたことを特徴とする識別方法。
13. An identification method for communicatively identifying a plurality of IC cards, a collision detection step of detecting a collision of responses from the IC cards to a request for identifying each IC card, And a slot number increasing step for increasing the number of the time slots used for the identification based only on the presence or absence of the identification method.
【請求項14】 複数のICカードを通信可能に識別す
る識別方法において、 上記複数のICカードをそれぞれ正常に認識した際の当
該ICカードの数を記憶する記憶ステップと、 上記記憶ステップにて記憶したICカードの数に基づい
て、各ICカードを識別するための最初のリクエストに
含めるタイムスロット数を算出する算出ステップと、 上記算出ステップにて算出されたタイムスロット数を上
記最初のリクエスト時のスロット数として設定するスロ
ット数再設定ステップとを備えたことを特徴とする識別
方法。
14. A method for identifying a plurality of IC cards in a communicable manner, wherein the storing step stores the number of the IC cards when the plurality of IC cards are normally recognized, and the storing step stores the number of the IC cards. The calculation step of calculating the number of time slots to be included in the first request for identifying each IC card based on the number of the generated IC cards, and the time slot number calculated in the calculation step are calculated at the time of the first request. And a step of resetting the number of slots to be set as the number of slots.
【請求項15】 複数のICカードを通信可能に識別す
るコンピュータに、 各ICカードを識別するためのリクエストに対する上記
ICカードからの正常な応答及び当該応答の衝突を検出
する検出ステップと、 上記ICカードからの正常な応答を受信した場合に、上
記衝突を検出していても、当該正常な応答を送信したI
Cカードに対して以後の上記リクエストに応答しない旨
の命令である応答無効化コマンドを送信する応答無効化
ステップとを実行させるプログラム。
15. A computer for communicatively identifying a plurality of IC cards, a detection step of detecting a normal response from the IC card to a request for identifying each IC card and a collision of the responses, and the IC. When a normal response is received from the card, the normal response is sent even if the collision is detected.
A program for executing a response invalidation step of transmitting a response invalidation command which is an instruction not to respond to the subsequent request to the C card.
【請求項16】 複数のICカードと通信可能に識別す
るコンピュータに、 各ICカードを識別するためのリクエストに対する上記
ICカードからの応答の衝突を検出する衝突検出ステッ
プと、 検出した上記衝突の有無のみに基づいて上記識別に用い
る上記タイムスロット数を増加させるスロット数増加ス
テップとを実行させるプログラム。
16. A collision detecting step of detecting a collision of a response from the IC card to a request for identifying each IC card to a computer capable of communicating with a plurality of IC cards, and the presence or absence of the detected collision. A slot number increasing step for increasing the number of time slots used for the identification based on only the above.
【請求項17】 複数のICカードを通信可能に識別す
るコンピュータに、 上記複数のICカードをそれぞれ正常に認識した際の当
該ICカードの数を記憶する記憶ステップと、 上記記憶ステップにて記憶したICカードの数に基づい
て、各ICカードを識別するための最初のリクエストに
含めるタイムスロット数を算出する算出ステップと、 上記算出ステップにて算出されたタイムスロット数を上
記最初のリクエスト時のスロット数として設定するスロ
ット数再設定ステップとを実行させるプログラム。
17. A storage step of storing the number of the IC cards when the plurality of IC cards are normally recognized in a computer for communicatively identifying the plurality of IC cards, and the storing step. A calculation step for calculating the number of time slots to be included in the first request for identifying each IC card based on the number of IC cards, and the time slot number calculated in the calculation step for the slot at the time of the first request. A program for executing the step of resetting the number of slots set as a number.
JP2002356326A 2001-12-20 2002-12-09 Ic card reader-writer, identification method and its program Pending JP2003248799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002356326A JP2003248799A (en) 2001-12-20 2002-12-09 Ic card reader-writer, identification method and its program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001-387774 2001-12-20
JP2001387774 2001-12-20
JP2002356326A JP2003248799A (en) 2001-12-20 2002-12-09 Ic card reader-writer, identification method and its program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2005310917A Division JP2006073034A (en) 2001-12-20 2005-10-26 Ic card reader-writer, identification method, program and its recording medium

Publications (2)

Publication Number Publication Date
JP2003248799A true JP2003248799A (en) 2003-09-05
JP2003248799A5 JP2003248799A5 (en) 2005-12-08

Family

ID=28676932

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002356326A Pending JP2003248799A (en) 2001-12-20 2002-12-09 Ic card reader-writer, identification method and its program

Country Status (1)

Country Link
JP (1) JP2003248799A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007091612A1 (en) * 2006-02-10 2007-08-16 Brother Kogyo Kabushiki Kaisha Interrogator for radio tag communication system
JP2007221347A (en) * 2006-02-15 2007-08-30 Toshiba Tec Corp Communication device
JP2007538296A (en) * 2004-04-14 2007-12-27 松下電器産業株式会社 Contactless card
JP2013210878A (en) * 2012-03-30 2013-10-10 Miwa Lock Co Ltd Radio id authentication system
JP2016126394A (en) * 2014-12-26 2016-07-11 株式会社デンソーウェーブ Wireless tag communication system and tag reader

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007538296A (en) * 2004-04-14 2007-12-27 松下電器産業株式会社 Contactless card
JP4728234B2 (en) * 2004-04-14 2011-07-20 パナソニック株式会社 Contactless card
WO2007091612A1 (en) * 2006-02-10 2007-08-16 Brother Kogyo Kabushiki Kaisha Interrogator for radio tag communication system
JP2007243901A (en) * 2006-02-10 2007-09-20 Brother Ind Ltd Interrogator for radio tag communication system
JP4662210B2 (en) * 2006-02-10 2011-03-30 ブラザー工業株式会社 Interrogator for RFID tag communication system
JP2007221347A (en) * 2006-02-15 2007-08-30 Toshiba Tec Corp Communication device
JP4594250B2 (en) * 2006-02-15 2010-12-08 東芝テック株式会社 Communication device
JP2013210878A (en) * 2012-03-30 2013-10-10 Miwa Lock Co Ltd Radio id authentication system
JP2016126394A (en) * 2014-12-26 2016-07-11 株式会社デンソーウェーブ Wireless tag communication system and tag reader

Similar Documents

Publication Publication Date Title
EP1533914B1 (en) Wireless communication apparatus and response data processing method therefor
US7011250B2 (en) IC card reader/writer, identification method and program
KR100912076B1 (en) Apparatus and method for Integrated Reader and Tag
EP1313057B1 (en) Contactless IC card, responding method, and program therefor
US9224020B2 (en) Method, transponder, and circuit for selecting one or more transponders
KR101589526B1 (en) Tag anti-collision method, reader apparatus and system for rfid systems with multi-packet reception capability
JP2006073034A (en) Ic card reader-writer, identification method, program and its recording medium
JP2006302283A (en) Rfid reader and tag, system and method for identifying tag using bit synchronizing signal
CN109784115B (en) Self-adaptive allocation and dynamic re-competition method for anti-collision resources of RFID (radio frequency identification) mobile reader
EP1563445B1 (en) Contactless ic card
JP5288868B2 (en) Non-contact IC card reader
JP2003248799A (en) Ic card reader-writer, identification method and its program
JP4134143B2 (en) Non-contact IC card, response method, and program thereof
JP4426820B2 (en) Non-contact IC card
KR101465661B1 (en) Method for recognizing tag in environment using same frequency band, NFC device for the same
EP2816501B1 (en) A near field communication listen device emulating multiple NFC B technology tags
JPH11252124A (en) Communication system, communication device and its control method
KR100562505B1 (en) Integrated circuit card capable of automatically transmitting null byte information without intervention by cpu
CN111597130B (en) Method for arbitrating access to a shared memory and corresponding electronic device
KR101042389B1 (en) Tag collection method using an identified slot scan process in rfid systems
JP4133242B2 (en) Non-contact IC card, response method, and program thereof
US6328218B1 (en) Electronic card identification methods
CN115423065B (en) Method and device for detecting card, electronic equipment and storage medium
CN115828947A (en) Information detection method, device and storage medium
JP3617341B2 (en) Non-contact type IC card reader

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051026

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051026

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20071212

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080307

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080402

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080826

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081017

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20081112