JPH10340322A - Communication system and communication device - Google Patents

Communication system and communication device

Info

Publication number
JPH10340322A
JPH10340322A JP14874897A JP14874897A JPH10340322A JP H10340322 A JPH10340322 A JP H10340322A JP 14874897 A JP14874897 A JP 14874897A JP 14874897 A JP14874897 A JP 14874897A JP H10340322 A JPH10340322 A JP H10340322A
Authority
JP
Japan
Prior art keywords
response
card
command
communication
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
JP14874897A
Other languages
Japanese (ja)
Inventor
Mikio Oda
幹男 尾田
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP14874897A priority Critical patent/JPH10340322A/en
Publication of JPH10340322A publication Critical patent/JPH10340322A/en
Pending legal-status Critical Current

Links

Landscapes

  • Near-Field Transmission Systems (AREA)
  • Small-Scale Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce collisions and to shorten the entire processing time by maximizing the number of times of re-transmission for the transmission of a response to a main equipment at the reception of command from the main equipment and repeating it until the transmission succeeds. SOLUTION: A card reader-writer 4 transmits an optional command into a communication area 2 through an antenna 1. In performing first command transmission, the card reader-writer 4 adds the number of times of the re- transmission of the response from respective cards to the command. The number of times of the re-transmission is the maximum number of times capable of re-transmitting the response before receiving the next command when the respective cards fail in response transmission to the card reader-writer 4. The respective cards 3 transmit the response to the card reader-writer 4. At this point, since the probability that the cards 3a and 3b of excellent communication conditions succeed in returning the response to the card reader-writer 4 is high, the card reader-writer 4 attaches acknowledgment(ACK) to the ID and performs the transmission.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、主装置と複数の
通信装置が非接触で通信を行う通信システム及び同シス
テムに用いられる通信装置に関する。例えば、1つのカ
ードリーダライタ(主装置)の通信エリアに多数のカー
ド(通信装置)が同時に侵入した時に両者間の効率的な
通信を可能にする通信システム及び通信装置に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to a communication system in which a main device and a plurality of communication devices perform non-contact communication and a communication device used in the communication system. For example, the present invention relates to a communication system and a communication device that enable efficient communication between a plurality of cards (communication devices) at the same time when a large number of cards (communication devices) enter the communication area of one card reader / writer (main device).

【0002】[0002]

【従来の技術】1つの主装置と多数の通信装置がほぼ同
時に非接触で通信を行う場合には、通信が非同期である
限り衝突の問題が発生する。そこで、主装置からのコマ
ンド送信に対して通信装置がレスポンス送信を失敗した
場合、通常は、そのレスポンス送信を主装置に対して再
送する。この場合、予め決められた一定回数を再送して
もレスポンス送信がうまくいかなかった場合にはエラー
終了となる。
2. Description of the Related Art In a case where one main unit and a large number of communication units perform communication almost simultaneously and without contact, a collision problem occurs as long as the communication is asynchronous. Therefore, when the communication device fails to transmit a response to the command transmission from the main device, the response transmission is usually retransmitted to the main device. In this case, if the response transmission is not successful even after retransmitting the predetermined number of times, an error is terminated.

【0003】このような現象は、例えば、カードリーダ
ライタとそれに非接触で通信を行うカードを用いたシス
テムで発生し、カードリーダライタと通信を行うべきカ
ードが距離的に離れて通信状況が悪くなった場合に起こ
りがちである。
[0003] Such a phenomenon occurs, for example, in a system using a card reader / writer and a card that communicates with the card reader / writer in a non-contact manner. It is easy to happen when it becomes.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、カード
リーダライタ(主装置)の通信エリアに一度に多数のカ
ード(通信装置)が侵入した場合、カードリーダライタ
(主装置)と各カード(通信装置)間の通信が非同期で
あるとともに各カード(通信装置)に対して通信の優先
順位が予め決められていないから、図8に示すように衝
突が多量に発生する。なお、同図において、1はカード
リーダライタ(主装置)のアンテナを示し、2は同アン
テナ1でカバーされる通信エリアを示す。また、3(3
a、3b、・・・3d)は通信エリア2内に一度に侵入
したカード(通信装置)を示している。アンテナ1から
は通信エリア2内の各カード(通信装置)3に対して一
度にコマンドを送信することになるが、同図のような状
況の場合、通信状況の悪いカード(通信装置)ほどレス
ポンス送信に失敗し、該カードからカードリーダライタ
(主装置)に対するレスポンスの再送が増加する。たと
えば、アンテナ1から遠い位置にあるカード(通信装
置)3c、3d等は通信状況は相対的に悪いためにレス
ポンスの再送が多くなる。このように、通信エリア2内
に多量のカード(通信装置)が同時に侵入した場合、通
信状況の悪いものほどレスポンスの再送が増加するため
に、通信状況が相対的に良好なカード(たとえばアンテ
ナ1に近いカード3a、3bなど)等のレスポンス送信
も失敗する確率が高くなり、結果として通信効率が非常
に悪くなる。このような問題は、通信エリアに一度に多
量に通信装置が侵入するシステムだけではなく、その
他、主装置の電源スイッチを投入したときに一度に各通
信装置と通信を行う倉庫管理システム等にも同様に生じ
る。
However, when a large number of cards (communication devices) enter the communication area of the card reader / writer (main device) at one time, the card reader / writer (main device) and each card (communication device). Since the communication between them is asynchronous and the priority of communication is not predetermined for each card (communication device), a lot of collisions occur as shown in FIG. In FIG. 1, reference numeral 1 denotes an antenna of a card reader / writer (main device), and reference numeral 2 denotes a communication area covered by the antenna 1. Also, 3 (3
a, 3b,... 3d) indicate cards (communication devices) that have entered the communication area 2 at one time. A command is transmitted from the antenna 1 to each card (communication device) 3 in the communication area 2 at a time, but in the situation shown in FIG. Transmission fails, and the number of retransmissions of a response from the card to the card reader / writer (main device) increases. For example, the cards (communication devices) 3c, 3d, etc., located far from the antenna 1 have relatively poor communication conditions, and thus often retransmit responses. As described above, when a large number of cards (communication devices) simultaneously enter the communication area 2, the retransmission of the response increases as the communication condition becomes worse, so that a card having a relatively good communication condition (for example, the antenna 1). (Such as cards 3a, 3b, etc.) that are too close to each other, the probability of failure increases, and as a result, the communication efficiency becomes very poor. Such a problem is not only in systems in which a large number of communication devices enter the communication area at once, but also in a warehouse management system or the like that communicates with each communication device at a time when a main device power switch is turned on. The same occurs.

【0005】この発明の目的は、一度に多数の通信装置
と通信を行う必要が生じた場合に、衝突を減少させ全体
の処理時間を短縮することのできる通信システムおよび
送受信装置を提供することにある。
An object of the present invention is to provide a communication system and a transmission / reception apparatus capable of reducing collision and shortening the entire processing time when it becomes necessary to communicate with many communication apparatuses at once. is there.

【0006】[0006]

【課題を解決するための手段】この出願の請求項1に係
る通信システムは、主装置から通信装置に対して非接触
で送信する任意のコマンドに通信装置からのレスポンス
の再送回数を付加するとともに、該再送回数を増加しな
がら前記コマンドを通信装置に対して送信するコマンド
送信手段を主装置に設け、主装置からのコマンド受信時
に主装置に対するレスポンスの送信を前記再送回数を最
大として、該送信が成功するまで行うレスポンス送信手
段を通信装置に設けたことを特徴とする。
A communication system according to claim 1 of the present application adds the number of retransmissions of a response from a communication device to an arbitrary command transmitted from a main device to a communication device in a contactless manner. A command transmitting means for transmitting the command to the communication device while increasing the number of retransmissions, the command transmission means being provided in the main device, and transmitting a response to the main device when a command is received from the main device by maximizing the number of retransmissions; The communication device is provided with a response transmitting unit that performs until the communication succeeds.

【0007】この通信システムは、主装置の通信エリア
内に多数の通信装置が一度に多量に侵入した場合、主装
置は通信エリア内に侵入した全ての通信装置に対してコ
マンドを送信し各通信装置からのレスポンスを待つ。こ
の時、主装置のアンテナに近い通信装置や或いは電力条
件の良好な通信装置は一般に通信状況が良く、アンテナ
から離れた通信装置や電力状況のよくない通信装置は一
般に通信状況が悪いなど、各通信装置ごとに通信状況の
程度が異なっているため、通信状況の良い通信装置は主
装置に対してレスポンスを返すことができるが、通信状
況の悪い通信装置はレスポンスを返すことができない場
合がある。通常は、レスポンスを正しく返せなかった通
信装置は再びレスポンスを返す動作を試みる。ところ
が、主装置から各通信装置に送信するコマンドには通信
装置からのレスポンスの再送回数が付加されている。し
たがって、通信装置はこのレスポンスの再送回数までし
か主装置に対するレスポンスを送信することが出来な
い。
In this communication system, when a large number of communication devices enter the communication area of the main device at once, the main device transmits a command to all the communication devices that have entered the communication area to transmit each communication device. Wait for a response from the device. At this time, a communication device close to the antenna of the main device or a communication device with good power conditions generally has good communication conditions, and a communication device away from the antenna or a communication device with poor power conditions generally has bad communication conditions. Since the degree of communication status differs for each communication device, a communication device with good communication status can return a response to the main device, but a communication device with poor communication status may not be able to return a response. . Normally, a communication device that fails to return a response attempts to return a response again. However, the number of retransmissions of the response from the communication device is added to the command transmitted from the main device to each communication device. Therefore, the communication device can transmit a response to the main device only up to the number of retransmissions of the response.

【0008】例えば、再送回数がゼロの場合は、通信装
置は一度レスポンス送信を失敗すると、その再送をする
ことが出来ず、次のコマンドを待たねばならない。一
方、主装置からのコマンドに付加されるレスポンスの再
送回数は徐々に増加するように制御される。このため、
最初のコマンド送信直後は通信状況の悪い通信装置から
のレスポンスの再送がないが、その後徐々に再送される
ようなるから、衝突の発生が少なくなり、通信エラーの
発生頻度が低い状態で通信状況の良いカードから順次処
理できるようになる。
[0008] For example, when the number of retransmissions is zero, if the communication device once fails to transmit a response, the communication device cannot retransmit the response and must wait for the next command. On the other hand, the number of retransmissions of the response added to the command from the main device is controlled to gradually increase. For this reason,
Immediately after the first command transmission, there is no retransmission of the response from the communication device with poor communication status, but since the response is gradually retransmitted after that, the occurrence of collisions is reduced and the frequency of communication errors is low. It becomes possible to process sequentially from a good card.

【0009】この出願の請求項2に係る発明は、前記再
送回数を、レスポンス受信の成功した通信装置の数が一
定数に達するごとに増加することを特徴とするものであ
る。また、請求項3に係る発明は、新たな再送回数が付
加された最初のコマンド送信から一定時間が経過するご
とに前記再送回数を増加することを特徴とする。この他
に、通信エリア内に存在する全体の通信装置数に対する
レスポンス受信成功通信装置数の比率が所定の値になる
ごとに再送回数を増加するようにすることも考えられ
る。
The invention according to claim 2 of the present application is characterized in that the number of retransmissions is increased each time the number of communication devices that have successfully received a response reaches a certain number. The invention according to claim 3 is characterized in that the number of retransmissions is increased each time a predetermined time elapses from the first command transmission to which the new number of retransmissions is added. In addition, it is also conceivable to increase the number of retransmissions every time the ratio of the number of successful communication devices to the total number of communication devices existing in the communication area reaches a predetermined value.

【0010】この出願の請求項4に係る発明は、主装置
をカードリーダライタで構成し、通信装置を該カードリ
ーダライタと非接触で通信することのできる非接触カー
ドで構成したことを特徴とする。非接触カードは、電磁
波や赤外線等を用いて主装置であるカードリーダライタ
と通信する機能を持ち、電力源として、バッテリやカー
ドリーダライタから送信される電磁波を利用するもの等
がある。
The invention according to claim 4 of the present application is characterized in that the main device is constituted by a card reader / writer, and the communication device is constituted by a non-contact card which can communicate with the card reader / writer in a non-contact manner. I do. A non-contact card has a function of communicating with a card reader / writer as a main device using electromagnetic waves, infrared rays, and the like, and includes a card that uses an electromagnetic wave transmitted from a battery or a card reader / writer as a power source.

【0011】この出願の請求項5に係る発明は、上記通
信システムの主装置側の構成を特徴とするものであり、
請求項6に係る発明は同通信システムの通信装置側の構
成を特徴としている。
The invention according to claim 5 of the present application is characterized by a configuration of a main device side of the communication system,
The invention according to claim 6 is characterized by a configuration on the communication device side of the communication system.

【0012】[0012]

【発明の実施の形態】図1は、この発明の実施形態の通
信システムの動作を概念的に示す図である。この実施形
態では、主装置としてカードリーダーライタ(R/W)
4が使用されている。また、通信装置には上記カードリ
ーダライタ4と非接触で通信するカード3(3a、3b
・・・・・)が使用される。カードリーダライタ4には
一定の範囲の通信エリア2をカバーするアンテナ1が接
続され、この通信エリア2内に侵入した各カードとカー
ドリーダライタ4とが通信可能な状態になる。なお、こ
の実施形態では、後述するように各カード3はバッテリ
を内蔵せず、アンテナ1から放射される電磁波を電力源
としてしている。この通信システムの用途としては、た
とえば、カード3をタグとしてベルトコンベア上を搬送
される移動体に取り付け、これをコンベア上の所定の位
置で認識するようにした移動体識別装置や、各カードを
タグとして商品に取り付け、消費者がこの商品をまとめ
て精算コーナーに持って来るようにしたスーパーマーケ
ットにおける買い物精算システム等が考えられる。
FIG. 1 is a diagram conceptually showing an operation of a communication system according to an embodiment of the present invention. In this embodiment, a card reader / writer (R / W) is used as a main device.
4 are used. The communication device includes a card 3 (3a, 3b) that communicates with the card reader / writer 4 in a non-contact manner.
...) are used. The antenna 1 that covers a communication area 2 in a certain range is connected to the card reader / writer 4, and each card that has entered the communication area 2 and the card reader / writer 4 can communicate with each other. In this embodiment, as described later, each card 3 does not include a battery, and uses an electromagnetic wave radiated from the antenna 1 as a power source. As an application of this communication system, for example, a moving object identification device in which a card 3 is attached as a tag to a moving object conveyed on a belt conveyor, and this is recognized at a predetermined position on the conveyor, A shopping checkout system in a supermarket, which is attached to a product as a tag so that a consumer collectively brings the product to a checkout corner or the like, can be considered.

【0013】図1において、カードリーダライタ4はア
ンテナ1を介して通信エリア2内に任意のコマンドを送
信する。この場合のコマンドは全体のカードを対象とす
るものであり、個別カードを対象としない。したがっ
て、IDを付加したものではない。この種のコマンドと
しては、例えば、ID指定のない無条件ポーリングコマ
ンドがある。コマンドの送信タイミングは一定時間ごと
であってもよいし、通信エリア2内に1つ以上のカード
3が到達したことを検出したタイミングであってもよい
し、操作者がコマンド送信ボタンを操作したタイミング
であってもよい。カードリーダライタ4は、最初のコマ
ンド送信を行う時、そのコマンドに各カードからのレス
ポンスの再送回数を付加する。再送回数とは、各カード
がカードリーダライタ4に対するレスポンス送信を失敗
した場合に、次のコマンドを受ける前にレスポンスを再
度送信することのできる最大の回数をいう。各カード3
は、上記コマンドを受信するとカードリーダライタ4に
対してレスポンスを送信する。この時、通信状況の良い
カード3、たとえばアンテナ1に非常に近い位置にある
カード3a、3bはカードリーダライタ4に対してレス
ポンスを返すのに成功する確率が高く、また、通信状況
の悪いカード、たとえばアンテナ1から最も離れた位置
にあるカード3c、3dはカードリーダライタ4にレス
ポンスを返すのに失敗する確率が相対的に高くなる。カ
ードリーダライタ4は、レスポンスを正しく受けたカー
ドのIDを知ることができるから、このIDにACK
(Acknowledgement)を付けて送信する。ACKを受けた
カードはレスポンス送信に成功したことを知り、以後当
該コマンドを受けてもレスポンスを返す処理をしない。
当該コマンドとは、通信エリア2内に侵入したカード3
に対して最初に送信する、IDを取得するためのコマン
ド(無条件ポーリングコマンド等)である。一方、通信
状況の悪いカードはカードリーダライタ4からACKを
受信する確率が低いために、このACK受信をしなかっ
た場合レスポンス送信に失敗したと見做す。この時、カ
ードリーダライタ4から送信されてきたコマンドに付加
されている再送回数をチェックし、レスポンスの再送が
可能かどうかを判断する。もし、再送が可能であればレ
スポンスを再び送信する。以下、同様にレスポンス送信
に成功したカードは、以後当該コマンドを受信してもレ
スポンス送信処理をしない。
In FIG. 1, a card reader / writer 4 transmits an arbitrary command to a communication area 2 via an antenna 1. The command in this case is for the entire card, not for the individual card. Therefore, the ID is not added. As this type of command, for example, there is an unconditional polling command without ID designation. The command transmission timing may be at regular intervals, may be a timing at which one or more cards 3 have reached the communication area 2, or may be a command transmitted by the operator. It may be timing. When transmitting the first command, the card reader / writer 4 adds the number of retransmissions of the response from each card to the command. The number of retransmissions is the maximum number of times that a response can be retransmitted before receiving the next command when each card fails to transmit a response to the card reader / writer 4. Each card 3
Sends a response to the card reader / writer 4 upon receiving the command. At this time, the card 3 having a good communication condition, for example, the cards 3a and 3b located very close to the antenna 1 has a high probability of succeeding in returning a response to the card reader / writer 4, and the card 3 having a bad communication condition For example, the cards 3c and 3d farthest from the antenna 1 have a relatively high probability of failing to return a response to the card reader / writer 4. Since the card reader / writer 4 can know the ID of the card that has correctly received the response, an ACK
(Acknowledgement) and send. The card that has received the ACK knows that the response transmission has succeeded, and does not perform processing to return a response even if the card receives the command thereafter.
The command is the card 3 that has entered the communication area 2
Is a command for acquiring an ID (such as an unconditional polling command) transmitted first. On the other hand, a card having a poor communication condition has a low probability of receiving an ACK from the card reader / writer 4, and if this ACK is not received, it is considered that a response transmission has failed. At this time, the number of retransmissions added to the command transmitted from the card reader / writer 4 is checked to determine whether the response can be retransmitted. If retransmission is possible, the response is transmitted again. Hereinafter, similarly, the card that has successfully transmitted the response does not perform the response transmission processing even if the command is received thereafter.

【0014】このような操作を連続して行って、一定の
時間が経過すると、カードリーダライタ4では、たとえ
ばレスポンス受信の成功した通信装置の数が一定数に達
すると、送信するコマンドに付加する再送回数を予め決
められている数だけ増やす。さらに、一定時間が経過す
ると、再送回数をさらに増やして同様の処理を繰り返
す。図1に示す例では、最初に再送回数0のコマンドが
送信され通信状況の最も良いカード3b及びその周辺の
カード等からレスポンスを受け、続いて通信状況のやや
良い通信エリア2の中央位置付近にあるカード3e及び
その周辺のカード等からレスポンスを受け、その後、再
送回数を1回に増やしたコマンドを送信し、通信状況の
良くないカードである、アンテナ1に最も離れた位置に
あるカード3f及びその周辺のカード等からレスポンス
を受けた例を示している。これらの一連の処理におい
て、レスポンス送信の成功したカードは、以後の当該コ
マンド送信に対して再びレスポンスを送信することはな
い。
After a certain period of time has elapsed after such operations are continuously performed, the card reader / writer 4 adds the command to the command to be transmitted when the number of communication devices that have successfully received the response reaches a certain number. The number of retransmissions is increased by a predetermined number. Further, after a certain period of time, the same processing is repeated by further increasing the number of retransmissions. In the example shown in FIG. 1, a command with the number of retransmissions of 0 is transmitted first, and a response is received from the card 3 b having the best communication condition and cards around the card 3 b. A response is received from a certain card 3e and its peripheral cards and the like, and thereafter, a command in which the number of retransmissions is increased to one is transmitted. An example is shown in which a response is received from a peripheral card or the like. In a series of these processes, the card that has successfully transmitted the response does not transmit a response again to the subsequent command transmission.

【0015】したがって、カードリーダライタ4は、通
信状況の悪いカードの再送を通信当初減らしておくこと
により通信状況の良好なカードとの通信を先に実行し、
徐々に通信状況の悪いカードとの通信を行っていくこと
ができる。これにより、全体の通信に要する処理時間は
短縮することができる。なお、当該コマンドに対してレ
スポンス送信を成功した後、IDを付加したコマンド
(書込みコマンドや読み出しコマンド等)がカードリー
ダライタ4から送信されるが、このときには、IDが一
致していることを確認した後にコマンド内容に応じた処
理を行う。
Therefore, the card reader / writer 4 executes communication with a card having a good communication condition first by reducing retransmission of a card having a bad communication condition at the beginning of communication.
It is possible to gradually communicate with a card having a poor communication condition. As a result, the processing time required for the entire communication can be reduced. After a successful response transmission to the command, a command to which an ID is added (a write command, a read command, etc.) is transmitted from the card reader / writer 4. At this time, it is confirmed that the IDs match. After that, processing according to the command content is performed.

【0016】図2は、カードリーダライタ4とカード3
の概略の構成を示している。カードリーダライタ4は、
パソコン等の上位コンピュータとデータのやり取りを行
う制御回路40と、制御回路40からの送信データを送
信アナログ信号に変換する送信回路41と、アナログ受
信信号を受信データに変換して制御回路40に渡す受信
回路42とで構成されている。アンテナ1は、アンテナ
用コイルL1とこのアンテナ用コイルL1に共振する共
振回路10とからなっている。また、カード3は、不揮
発性メモリを備える制御回路30と送信アンプ31、受
信アンプ32、共振回路33およびコイルL2とで構成
されている。共振回路33には、コイルL2に誘起され
た電圧を充電して制御回路30等の駆動電力を得るコン
デンサを備えている。なお、各カード3には固有のID
が割り当てられており、このIDは制御回路30内のメ
モリに予め記憶されている。カードリーダライタ4から
のコマンドに応答してレスポンスを送信する時に、この
IDを付加する。
FIG. 2 shows a card reader / writer 4 and a card 3
2 shows a schematic configuration of the first embodiment. The card reader / writer 4
A control circuit 40 for exchanging data with a host computer such as a personal computer, a transmission circuit 41 for converting transmission data from the control circuit 40 into a transmission analog signal, and converting an analog reception signal into reception data and passing the reception data to the control circuit 40 And a receiving circuit 42. The antenna 1 includes an antenna coil L1 and a resonance circuit 10 that resonates with the antenna coil L1. The card 3 includes a control circuit 30 including a nonvolatile memory, a transmission amplifier 31, a reception amplifier 32, a resonance circuit 33, and a coil L2. The resonance circuit 33 includes a capacitor that obtains drive power for the control circuit 30 and the like by charging the voltage induced in the coil L2. Each card 3 has a unique ID.
, And this ID is stored in a memory in the control circuit 30 in advance. This ID is added when transmitting a response in response to a command from the card reader / writer 4.

【0017】図3は、カードリーダライタ4と各カード
3との間で通信を行う時のプロトコルを示している。
A、B、Cは、それぞれ再送回数が0、1、2の場合の
通信プロトコルを示す。以下、A、B、C別に詳細に動
作を説明する。
FIG. 3 shows a protocol for performing communication between the card reader / writer 4 and each card 3.
A, B, and C indicate communication protocols when the number of retransmissions is 0, 1, and 2, respectively. Hereinafter, the operation will be described in detail for each of A, B, and C.

【0018】A:再送回数0回でカード3aと通信 (1)カードリーダライタ4から通信エリア内にある全
てのカードに対してコマンドを送信する。この時コマン
ドに付加される再送回数は0回である。なお、この時の
コマンドはIDを含むものではなく全てのカードを対象
とするコマンドである。
A: Communication with Card 3a with 0 Retransmissions (1) A command is transmitted from the card reader / writer 4 to all cards in the communication area. At this time, the number of retransmissions added to the command is zero. Note that the command at this time does not include an ID but is a command for all cards.

【0019】(2)コマンドを受信したカード3aはカ
ードリーダライタ4に対してレスポンスを送信する。そ
して、該カード3aは、カードリーダライタ4からAC
Kの受信待ち状態になる。ACKは、カードを特定する
ためにIDを含んでいる。
(2) The card 3a that has received the command transmits a response to the card reader / writer 4. The card 3a is sent from the card reader / writer 4
It is in a K reception waiting state. The ACK includes an ID for identifying the card.

【0020】(2′)カード3bは、カード3aと同様
な動作を実行する。すなわち、カードリーダライタ4に
対するレスポンス送信動作を行う。
(2 ') The card 3b performs the same operation as the card 3a. That is, a response transmission operation to the card reader / writer 4 is performed.

【0021】(3)カード3aのレスポンスを正常に受
信したカードリーダライタ4は、該カード3aに対して
ACKを送信する。カード3aは、このACKを受信す
ることによって、以後、同じコマンドを受信してもレス
ポンスを送ることはない。
(3) The card reader / writer 4 which has normally received the response from the card 3a transmits an ACK to the card 3a. By receiving this ACK, the card 3a does not send a response even after receiving the same command.

【0022】(3′)カードリーダライタ4はカード3
bからのレスポンスを正しく受信することができなかっ
たために、カード3bに対してACKを送信しない。そ
のため、ACK受信タイムアウトしたカード3bは、レ
スポンスの再送が可能かどうかを(1)のコマンド内容
(再送回数)に基づいて判定する。ここでは、再送回数
が0回であるためにレスポンスの再送ができない。した
がって、カード3bは通信を停止する。なお、カード3
aとカード3bは上記(2)、(2′)でほぼ同時にレ
スポンスを送信するが、カード3bの通信状況はよくな
いために同カード3bから送信されるレスポンスは極め
て弱くカード3aのレスポンスと衝突する程度の電力が
ない。したがって、(2)のカード3aから送信される
レスポンスは正しくカードリーダライタ4に受信され
る。
(3 ') The card reader / writer 4 is the card 3
ACK is not transmitted to the card 3b because the response from the client 3b cannot be correctly received. Therefore, the card 3b which has timed out the ACK reception determines whether or not the response can be retransmitted based on the command content (the number of retransmissions) of (1). Here, the response cannot be retransmitted because the number of retransmissions is zero. Therefore, the card 3b stops communication. In addition, card 3
a and the card 3b transmit responses almost simultaneously in the above (2) and (2 '). However, since the communication condition of the card 3b is not good, the response transmitted from the card 3b is extremely weak and collides with the response of the card 3a. There is not enough power to do it. Therefore, the response (2) transmitted from the card 3a is correctly received by the card reader / writer 4.

【0023】B:再送回数1回でカード3b、3cと通
信 (1)カードリーダライタ4から通信エリア2内の全て
のカードに対してコマンドを送信する。この時のコマン
ドに付加される再送回数は1回である。
B: Communication with Cards 3b and 3c with One Retransmission Number (1) A command is transmitted from the card reader / writer 4 to all cards in the communication area 2. The number of retransmissions added to the command at this time is one.

【0024】(2)コマンドを受信したカード3bはカ
ードリーダライタ4に対してレスポンスを送信し、AC
Kの受信待ち状態になる。
(2) The card 3b receiving the command transmits a response to the card reader / writer 4,
It is in a K reception waiting state.

【0025】(2′)カード3cもカード3bと同様な
動作を実行する。ただし、カード3cは相対的に通信状
況が悪い。
(2 ') The card 3c performs the same operation as the card 3b. However, the communication status of the card 3c is relatively poor.

【0026】(3)カード3bのレスポンスを正しく受
信したカードリーダライタ4は、カード3bにACKを
送信する。カード3bは、このACKを受信すると、レ
スポンスの送信が成功したことを知り、その後同じコマ
ンドを受信してもレスポンスを送信する動作を行わな
い。
(3) The card reader / writer 4 that has correctly received the response from the card 3b transmits an ACK to the card 3b. When the card 3b receives this ACK, it knows that the transmission of the response was successful, and does not perform the operation of transmitting the response even if the same command is received thereafter.

【0027】(3′)カードリーダライタ4は、カード
3cからのレスポンスを正常に受信しなかったために、
カード3cに対してACKを送信しない。
(3 ') Since the card reader / writer 4 did not normally receive the response from the card 3c,
ACK is not transmitted to the card 3c.

【0028】(4′)ACK受信タイムアウトしたカー
ド3cは、(1)のコマンドに付加されている再送回数
をチェックする。ここでは、再送回数が1回であるため
に、カードリーダライタ4に対してレスポンスを再度送
信する。そして、ACKの受信待ち状態となる。
(4 ') The card 3c that has timed out the ACK reception checks the number of retransmissions added to the command (1). Here, the response is transmitted to the card reader / writer 4 again because the number of retransmissions is one. Then, an ACK reception wait state is set.

【0029】(5′)カード3cからの再送のレスポン
スを正常に受信したカードリーダライタ4はカード3c
に対してACKを送信する。このACKを受信したカー
ド3cは、レスポンスが正しく送信されたことを認識
し、以後同じコマンドに対してレスポンスを送信する動
作を行わない。
(5 ') The card reader / writer 4 which has normally received the retransmission response from the card 3c
ACK is transmitted. The card 3c that has received the ACK recognizes that the response has been correctly transmitted, and does not perform an operation of transmitting a response to the same command thereafter.

【0030】C:再送回数2回でカード3d、3fと通
信 (1)カードリーダライタ4から通信エリア2内にある
全てのカードに対してコマンドが送信される。この場合
のコマンドに付加される再送回数は2回である。
C: Communication with Cards 3d and 3f with 2 Retransmissions (1) A command is transmitted from the card reader / writer 4 to all cards in the communication area 2. The number of retransmissions added to the command in this case is two.

【0031】(2)コマンドを受信したカード3dは、
カードリーダライタ4に対してレスポンスを送信し、A
CKの受信待ち状態になる。
(2) The card 3d receiving the command,
A response is sent to the card reader / writer 4 and A
The CK reception wait state is set.

【0032】(2′)カード3fは、カード3dと同様
な動作を実行する。
(2 ') The card 3f performs the same operation as the card 3d.

【0033】(3)カード3dのレスポンスを正しく受
信できなかったカードリーダライタ4は、カード3dに
対してACKを送信しない。
(3) The card reader / writer 4 that has failed to correctly receive the response of the card 3d does not transmit ACK to the card 3d.

【0034】(3′)カードリーダライタ4はカード3
fのレスポンスも受信できなかったので、(3)と同様
にカード3fに対しACKを送信しない。
(3 ') The card reader / writer 4 is the card 3
Since the response of f cannot be received, ACK is not transmitted to the card 3f as in (3).

【0035】(4)カード3dはACK受信タイムアウ
トしたときコマンドに付加される再送回数をチェック
し、再送回数が2回であることを知ると、レスポンスを
再送する(再送1回目)。
(4) When the ACK reception time-out occurs, the card 3d checks the number of retransmissions added to the command, and when recognizing that the number of retransmissions is two, retransmits the response (first retransmission).

【0036】(4′)カード3fも同様にレスポンスを
再送する(再送1回目) (5)カード3dからの再送1回目のレスポンスを正し
く受信したカードリーダライタ4 は、カード3dに対し
てACKを送信する。これにより、カード3dはレスポ
ンスが正しく送信されたものと判断し、以後同じコマン
ドに対するレスポンスの送信を停止する。
(4 ') The card 3f similarly retransmits the response (first retransmission). (5) The card reader / writer 4 which has correctly received the first retransmission response from the card 3d sends an ACK to the card 3d. Send. As a result, the card 3d determines that the response has been correctly transmitted, and thereafter stops transmitting the response to the same command.

【0037】(5′)カードリーダライタ4はカード3
fからの再送1回目に係るレスポンスを正しく受信でき
なかったために、カード3fに対してACKを送信しな
い。
(5 ') The card reader / writer 4 is the card 3
ACK is not transmitted to the card 3f because the response relating to the first retransmission from f cannot be correctly received.

【0038】(6′)コマンドに付加されている再送回
数は2回であるために、カード3fは、再度レスポンス
を送信する。
(6 ') Since the number of retransmissions added to the command is two, the card 3f transmits a response again.

【0039】(7′)カードリーダライタ4は、カード
3fからのレスポンス(再送2回目)を正しく受信し、
カード3fに対してACKを送信する。カード3fは、
このACKを受信した時にレスポンス(再送2回目)が
正しく送信されたものと判断し、以後同じコマンドに対
するレスポンスの送信を停止する。
(7 ') The card reader / writer 4 correctly receives the response (second retransmission) from the card 3f,
An ACK is transmitted to the card 3f. The card 3f is
When this ACK is received, it is determined that the response (the second retransmission) has been correctly transmitted, and thereafter, transmission of the response to the same command is stopped.

【0040】以上の動作をフローチャートで示すと、図
4、図6、図7に示すようになる。
The above operation is shown in a flowchart as shown in FIGS.

【0041】図4は、カードリーダライタ4においてI
D指定の無いコマンド送信を行う時の動作を示すフロー
チャートである。カード3が1枚以上通信エリア2内に
侵入するとこの状態がST1で検出される。なお、検出
の方法は、別途設けた侵入センサを用いる方法、オペレ
ータによるボタン操作を検出する方法などがある。
FIG. 4 is a block diagram of the card reader / writer
9 is a flowchart illustrating an operation when a command transmission without a D designation is performed. When one or more cards 3 enter the communication area 2, this state is detected in ST1. Note that the detection method includes a method using a separately provided intrusion sensor, a method for detecting a button operation by an operator, and the like.

【0042】次に、通信エリア2内に存在するカード3
に対してコマンドを送信する(ST2)。この時のコマ
ンドには図5(A)に示すように再送回数が付加され
る。再送回数は、最初は0回である。続いて、ST3と
ST4でカードからのレスポンスを待ち、いずれかのカ
ードからのレスポンスを受信すると、それが正常なレス
ポンスかどうかの判定を行い(ST5)、正常であれば
当該カードに対してACKを送信する。図5(B)はレ
スポンスのフォーマットを示し、同図(C)はACKの
フォーマットを示す。いずれも、カードを特定するため
のIDが付加されている。なお、レスポンス受信出来て
もその内容が正常でなければ(ST5)、IDの付加さ
れたものは、そのIDに対応するカードをエラーカード
としてメモリに記憶し(ST8)、IDがなければもと
のST2に戻る。
Next, the card 3 existing in the communication area 2
(ST2). At this time, the number of retransmissions is added to the command as shown in FIG. The number of retransmissions is initially zero. Subsequently, in ST3 and ST4, a response from the card is waited. When a response from any of the cards is received, it is determined whether or not the response is a normal response (ST5). Send FIG. 5B shows a response format, and FIG. 5C shows an ACK format. In each case, an ID for specifying the card is added. If the response is received but the content is not normal (ST5), the card with the ID is stored in the memory as the error card corresponding to the ID (ST8). Return to ST2.

【0043】一方、上記ST9で新たな再送回数付きコ
マンドを送信したとき(最初は再送回数0のコマンドを
最初に送信したとき)から一定時間T2が経過したかど
うかを判定し、経過していなければST11においてお
およそのカードを処理したと思われる時間が経過したか
どうかを判定する。この時間を処理終了時間とする。処
理がまだ終了してない場合には再びST2に戻ってコマ
ンドの再発行を行う。また、ST9において、一定時間
T2が経過した場合には、ST10に進んで、再送回数
をインクリメントする。これによって、次にST2でコ
マンドが送信される時には、再送回数が1つ増えたもの
となる。また、ST9の一定時間T2の計数が開始され
る。
On the other hand, in ST9, it is determined whether or not a predetermined time T2 has elapsed since the command with the new number of retransmissions was transmitted (the first time a command with the number of retransmissions of 0 was transmitted). For example, in ST11, it is determined whether or not the time that seems to have processed the approximate card has elapsed. This time is defined as the processing end time. If the processing has not been completed yet, the process returns to ST2 to reissue the command. In ST9, if the predetermined time T2 has elapsed, the process proceeds to ST10, and the number of retransmissions is incremented. Thus, the next time a command is transmitted in ST2, the number of retransmissions is increased by one. Further, counting of the certain time T2 in ST9 is started.

【0044】上記ST3、ST4でカードからのレスポ
ンスを待機している最中に受信タイムアウトした場合、
すなわち、カードからのレスポンス受信に失敗した場
合、ST12に進む。ここでは、現在の再送回数相当時
間と直前のコマンド送信時に付加した設定再送回数相当
時間とを比較する。現在の再送回数相当時間が設定再送
回数相当時間未満であれば、それ以降もカードからのレ
スポンス再送があるため、ST3に戻ってレスポンスを
待つ。そうでない場合には、すなわち、カードからのレ
スポンス再送がありえない場合には、ここを抜けてST
9に戻る。
If a reception time-out occurs while waiting for a response from the card in steps ST3 and ST4,
That is, when the response from the card has failed, the process proceeds to ST12. Here, the current time corresponding to the number of retransmissions is compared with the time corresponding to the set number of retransmissions added at the time of the immediately preceding command transmission. If the current number of retransmission times is less than the set number of retransmission times, there is a response retransmission from the card thereafter, and the process returns to ST3 and waits for a response. If not, that is, if there is no possibility of resending the response from the card, go through here and return to ST.
Return to 9.

【0045】なお、以上の動作により各カードのID付
きレスポンスを受けた後は、そのIDを使用して各カー
ドに書込みコマンドや読み出しコマンドを送信すること
が出来る。
After receiving the response with the ID of each card by the above operation, a write command or a read command can be transmitted to each card by using the ID.

【0046】図6は、上記ID指定無しコマンドに対す
るカード3の動作を示すフローチャートである。
FIG. 6 is a flowchart showing the operation of the card 3 in response to the above-mentioned command without ID designation.

【0047】カードが通信エリア2内に侵入してカード
リーダライタ4からの搬送波信号を受信すると、受信信
号をチャージしたコンデンサの蓄積電力によって動作が
開始する(ST20)。まず、ST21でカードリーダ
ライタ4からのコマンドを待ち、ID指定無しコマンド
を受信すると、そのコマンドに付加されている再送回数
を解析し(ST22)、カードリーダライタ4に対して
レスポンスを送信する(ST23)。続いて、カードリ
ーダライタ4からACKを受信したかどうかを判定し、
受信していれば、カード内での処理が全て終了している
かどうかを判定し(ST25)、終了していれば処理を
終わり、また終了していなければ再びST21へ戻って
コマンド解析待ち状態となる。ST23で送信したレス
ポンスに対するACKの待ち状態は、ST24、ST2
6で一定時間形成され、ACK待ち時間がタイムアウト
すると、ST27に進んで、現在の再送回数が直前のコ
マンドに付加されていた再送回数(設定再送回数)未満
であるかどうかの判定を行う。現在の再送回数が設定再
送回数未満であれば、ST23に戻ってレスポンスの再
送を実行する。そうでない場合には、ST25に進む。
なお、カードリーダライタ4からID指定のあるコマン
ド(書込みコマンドや読み出しコマンド等)を受けたと
きには、そのコマンドに対応した処理を行う。
When the card enters the communication area 2 and receives the carrier signal from the card reader / writer 4, the operation starts with the stored power of the capacitor charged with the received signal (ST20). First, in ST21, a command from the card reader / writer 4 is waited. When a command without ID designation is received, the number of retransmissions added to the command is analyzed (ST22), and a response is transmitted to the card reader / writer 4 (ST22). ST23). Subsequently, it is determined whether or not ACK has been received from the card reader / writer 4,
If it has been received, it is determined whether or not all the processes in the card have been completed (ST25). If it has been completed, the process is terminated. If not, the process returns to ST21 to return to the command analysis waiting state. Become. The ACK waiting state for the response transmitted in ST23 is described in ST24 and ST2.
6, when the ACK waiting time has timed out, the process proceeds to ST27 to determine whether the current number of retransmissions is less than the number of retransmissions (set retransmission number) added to the immediately preceding command. If the current number of retransmissions is less than the set number of retransmissions, the process returns to ST23 and resends the response. Otherwise, the process proceeds to ST25.
When a command with an ID designation (a write command, a read command, or the like) is received from the card reader / writer 4, processing corresponding to the command is performed.

【0048】以上の動作によって、図1に示すように、
再送回数を順次増やしながら複数のカードと通信を行う
ことができる。
By the above operation, as shown in FIG.
Communication with a plurality of cards can be performed while sequentially increasing the number of retransmissions.

【0049】なお、図4に示す実施形態では、ST9に
おいて、あらたな再送回数(再送回数が0の場合も含
む)が付加された最初のコマンド送信から一定時間T2
経過するかどうかを判定するようにしたが、これに代え
て、ある再送回数のコマンド送信に対してレスポンス受
信の成功したカードの数が一定数に達したかどうかを判
定するようにしてもよい。このように構成する場合に
は、図7に示すようなフローチャートとなる。すなわ
ち、ST5′において、正常処理したカード、すなわち
正常なレスポンスを受信してIDを抽出するなどの処理
を行ったカードの枚数をカウントし、そのカードに対し
てACKを送信した後(ST6)、カウントしたカード
の枚数が一定数に達したかどうかを判定する(ST
9′)。
In the embodiment shown in FIG. 4, a predetermined time T2 from the first command transmission to which a new number of retransmissions (including the case where the number of retransmissions is 0) is added in ST9.
Although it is determined whether or not the time has elapsed, instead, it may be determined whether or not the number of cards that have successfully received a response to a command transmission of a certain number of retransmissions has reached a certain number. . In the case of such a configuration, a flowchart as shown in FIG. 7 is obtained. That is, in ST5 ', the number of cards that have been processed normally, that is, the number of cards that have undergone processing such as receiving a normal response and extracting an ID, are counted, and ACK is transmitted to the card (ST6). It is determined whether or not the counted number of cards has reached a certain number (ST
9 ').

【0050】図4のST9および図7のST9′は、と
もにある一定数のカードが処理されたかどうかを判定す
るステップである。なお、さらに、このような方法に代
えて、通信エリア2内に侵入したカードの総数が予めカ
ウントされている場合、あるいは予想される場合、正常
に処理されたカードの比率が所定値に達しているかどう
かを判定するようにしてもよい。この場合の所定値の値
は再送回数が増えるごとに増えていく。
ST9 in FIG. 4 and ST9 'in FIG. 7 are steps for determining whether a certain number of cards have been processed. In addition, instead of such a method, when the total number of cards that have entered the communication area 2 is counted in advance, or when it is expected, the ratio of cards processed normally reaches a predetermined value. Or not. In this case, the value of the predetermined value increases as the number of retransmissions increases.

【0051】以上のように、カードリーダライタから送
信するコマンドにレスポンス再送回数を付加するととも
に、その再送回数を徐々に増加しながら各カードとの通
信を行うようにしたので、通信状況の悪いカードの処理
が後回しにされ、通信状況の良いカードの処理が先に行
われるとともに、後回しにされる通信状況の悪いカード
のレスポンスの再送が制限されるために、衝突の発生が
少なくなり、これにより全体として各カードの再送回数
が減少し、カード全体の処理時間が短縮する。また、通
信状況の良いカードについては先に処理されて以後レス
ポンスを送信することがないために、通信状況の悪いカ
ードについても通信状況が改善される。
As described above, the number of response retransmissions is added to the command transmitted from the card reader / writer, and communication with each card is performed while the number of retransmissions is gradually increased. Is postponed, the processing of the card with good communication status is performed first, and the retransmission of the response of the card with poor communication status that is postponed is limited, so that the occurrence of collisions is reduced, thereby As a whole, the number of retransmissions of each card is reduced, and the processing time of the entire card is shortened. In addition, since a card having a good communication condition is processed first and no response is transmitted thereafter, a communication condition of a card having a bad communication condition is improved.

【0052】なお、この発明に係る通信システムは、カ
ードをタグとして商品に取り付け、顧客が購入のために
選んだ複数の商品を精算コーナーにおいて自動処理する
買い物システム、ベルトコンベア上に搬送される各搬送
物にタグを取り付け、これらをまとめて特定の箇所で認
識する搬送システム、倉庫に収納されている各物品にタ
グを取り付け、これを電源オン時などの特定のタイミン
グで同時に識別する倉庫管理システムなどに適用するこ
とができる。また、主装置、通信装置としては、上記の
ようなカードリーダライタ、カードに限らず、1対nか
らなる任意の通信装置を適用することができる。
The communication system according to the present invention is a shopping system in which a card is attached to a product as a tag and a plurality of products selected by the customer for purchase are automatically processed at a checkout corner. A transport system that attaches tags to conveyed goods and recognizes them collectively at specific locations. A warehouse management system that attaches tags to each item stored in the warehouse and identifies them at a specific timing such as when the power is turned on. And so on. Further, the main device and the communication device are not limited to the card reader / writer and the card as described above, and any communication device having 1 to n can be applied.

【0053】[0053]

【発明の効果】この発明によれば、通信状況の悪い通信
装置の処理が後回しにされ、通信状況の良い通信装置が
先に処理されるようになるため、通信状況の悪い通信装
置によるレスポンス再送回数が減少し、また、その分衝
突も減少するから、全体として通信に要する処理時間の
短縮化を実現できる。さらに、通信状況の良い通信装置
が先に処理されるために、その後は通信状況の悪い通信
装置からのレスポンス送信が主となるため、その通信状
況の悪いカードの通信状況が改善され、それによっても
全体としての通信に要する処理時間が短縮されるように
なる。
According to the present invention, the processing of a communication device having a bad communication condition is postponed, and the communication device having a good communication condition is processed first. Since the number of times is reduced and the number of collisions is reduced accordingly, the processing time required for communication as a whole can be reduced. Furthermore, since a communication device with a good communication condition is processed first, and thereafter, a response transmission from a communication device with a bad communication condition is mainly performed, the communication condition of a card with a bad communication condition is improved. Also, the processing time required for communication as a whole is reduced.

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

【図1】この発明の実施形態である通信システムの動作
を概念的に示す図
FIG. 1 is a diagram conceptually showing an operation of a communication system according to an embodiment of the present invention;

【図2】この発明の実施形態のカードリーダライタおよ
びカードの構成図を示す図
FIG. 2 is a diagram showing a configuration diagram of a card reader / writer and a card according to the embodiment of the present invention;

【図3】この発明の実施形態である通信システムのプロ
トコルを説明する図
FIG. 3 is a view for explaining a protocol of the communication system according to the embodiment of the present invention;

【図4】この発明の実施形態である通信システムでのカ
ードリーダライタの動作を示すフローチャート
FIG. 4 is a flowchart showing the operation of the card reader / writer in the communication system according to the embodiment of the present invention;

【図5】(A)〜(C)コマンド、レスポンス、ACK
の送信データフォーマットを示す図。
FIG. 5 (A) to (C) Command, response, and ACK
The figure which shows the transmission data format of FIG.

【図6】この発明の実施形態である通信システムでのカ
ードの動作を示すフローチャート
FIG. 6 is a flowchart showing the operation of the card in the communication system according to the embodiment of the present invention;

【図7】カードリーダライタの他の例の動作を示すフロ
ーチャート
FIG. 7 is a flowchart showing the operation of another example of the card reader / writer.

【図8】カードシステムの従来の問題点を説明する図FIG. 8 is a diagram illustrating a conventional problem of a card system.

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】主装置から通信装置に対して非接触で送信
する任意のコマンドに通信装置からのレスポンスの再送
回数を付加するとともに、該再送回数を増加しながら前
記コマンドを通信装置に対して送信するコマンド送信手
段を主装置に設け、 主装置からのコマンド受信時に主装置に対するレスポン
スの送信を前記再送回数を最大として、該送信が成功す
るまで行うレスポンス送信手段を通信装置に設けたこと
を特徴とする通信システム。
1. An apparatus according to claim 1, further comprising the step of adding the number of retransmissions of a response from the communication apparatus to an arbitrary command transmitted from the main apparatus to the communication apparatus in a contactless manner, and increasing the number of retransmissions to the communication apparatus. A command transmitting means for transmitting is provided in the main device, and a response transmitting means for transmitting a response to the main device when the command is received from the main device is set to the maximum number of retransmissions and the transmission is successful until the transmission is successful. A communication system characterized by the following.
【請求項2】前記コマンド送信手段は、レスポンス受信
の成功した通信装置の数が一定数に達するごとに前記再
送回数を増加することを特徴とする請求項1記載の通信
システム。
2. The communication system according to claim 1, wherein said command transmission means increases the number of retransmissions each time the number of communication devices that have successfully received a response reaches a certain number.
【請求項3】前記コマンド送信手段は、新たな再送回数
が付加された最初のコマンド送信から一定時間が経過す
るごとに前記再送回数を増加することを特徴とする請求
項1記載の通信システム。
3. The communication system according to claim 1, wherein said command transmission means increases the number of retransmissions every time a predetermined time elapses from the first command transmission to which the new number of retransmissions is added.
【請求項4】主装置はカードリーダーライタであり、通
信装置は該カードリーダライタと非接触で通信する非接
触カードである請求項1〜3のいずれかに記載の通信シ
ステム。
4. The communication system according to claim 1, wherein the main device is a card reader / writer, and the communication device is a contactless card that communicates with the card reader / writer without contact.
【請求項5】送信先に対して非接触で送信する任意のコ
マンドに該送信先からのレスポンスの再送回数を付加す
るとともに、該再送回数を増加しながら前記コマンドを
送信先に対して送信するコマンド送信手段を設けたこと
を特徴とする通信装置。
5. A command transmitted to a destination without contact is added with the number of retransmissions of a response from the destination, and the command is transmitted to the destination while increasing the number of retransmissions. A communication device comprising command transmission means.
【請求項6】コマンド送信元の主装置からレスポンスの
再送回数の付加されたコマンドを受信した時に、主装置
に対するレスポンスの送信を前記再送回数を最大とし
て、該送信が成功するまで行うレスポンス送信手段を設
けたことを特徴とする通信装置。
6. A response transmitting means for transmitting a response to a main device when the command to which the number of times of retransmission of a response is added is received from a main device of a command transmission source until the transmission is successful. A communication device comprising:
JP14874897A 1997-06-06 1997-06-06 Communication system and communication device Pending JPH10340322A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14874897A JPH10340322A (en) 1997-06-06 1997-06-06 Communication system and communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14874897A JPH10340322A (en) 1997-06-06 1997-06-06 Communication system and communication device

Publications (1)

Publication Number Publication Date
JPH10340322A true JPH10340322A (en) 1998-12-22

Family

ID=15459753

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14874897A Pending JPH10340322A (en) 1997-06-06 1997-06-06 Communication system and communication device

Country Status (1)

Country Link
JP (1) JPH10340322A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297309A (en) * 2000-04-13 2001-10-26 Dainippon Printing Co Ltd Non-contact IC card reader / writer
JP2013003676A (en) * 2011-06-13 2013-01-07 Toshiba Corp Portable electronic device, ic card, communication system, and control method of portable electronic device
JP2017539112A (en) * 2014-10-15 2017-12-28 クゥアルコム・インコーポレイテッドQualcomm Incorporated System and method for mitigating the effects of unresponsive secure elements

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001297309A (en) * 2000-04-13 2001-10-26 Dainippon Printing Co Ltd Non-contact IC card reader / writer
JP2013003676A (en) * 2011-06-13 2013-01-07 Toshiba Corp Portable electronic device, ic card, communication system, and control method of portable electronic device
JP2017539112A (en) * 2014-10-15 2017-12-28 クゥアルコム・インコーポレイテッドQualcomm Incorporated System and method for mitigating the effects of unresponsive secure elements

Similar Documents

Publication Publication Date Title
US6456191B1 (en) Tag system with anti-collision features
EP1916616A1 (en) Method and apparatus for response control of RFID tag, RFID system, RFID tag, response control information generating program storage medium and response control program storage medium
JP3017995B2 (en) Multi-item radio frequency tag identification protocol
US5530702A (en) System for storage and communication of information
US20030052161A1 (en) Method of communication in a radio frequency identification system
KR101589526B1 (en) Tag anti-collision method, reader apparatus and system for rfid systems with multi-packet reception capability
US8477017B2 (en) Method, system, and integrated circuit for communication in RFID or remote sensor systems
US20050088284A1 (en) Method and system of using a RFID reader network to provide a large operating area
EP1172755A1 (en) Reading protocol for transponders of electronic identification system
WO2001033725A1 (en) Information communication system, noncontact ic card, and ic chip
JP5042640B2 (en) Wireless authentication system
US8985451B2 (en) Communication apparatus, communication method, and program
EP1818852B1 (en) Interrogator, transponder and transponder identification method
JP2000242742A (en) Interrogator system
CN115136139A (en) Tag identification and inventory method, device, reader, medium, and computer program
CN1894701A (en) Synchronization during anti-collision
JP2000069028A (en) Wireless card, reader / writer, host device, wireless card system, information storage medium having wireless communication function, transmitting / receiving circuit, and wireless communication system
JPH113407A (en) Communication system and device
US20070069865A1 (en) IC tag, IC tag system, and data communicating method for the IC tag
JP2009033517A (en) Non-contact communication device and non-contact communication method
CA2266337C (en) Tag system with anti-collision features
JP3920800B2 (en) Wireless data carrier recognition device
KR100479326B1 (en) Apparatus and method for preventing data contact between contactless ic card reader and contactless ic cards
JPH11167610A (en) IC card system and communication method thereof
JPH0779174A (en) Mobile object identification device