JP4803017B2 - COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM - Google Patents

COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM Download PDF

Info

Publication number
JP4803017B2
JP4803017B2 JP2006342241A JP2006342241A JP4803017B2 JP 4803017 B2 JP4803017 B2 JP 4803017B2 JP 2006342241 A JP2006342241 A JP 2006342241A JP 2006342241 A JP2006342241 A JP 2006342241A JP 4803017 B2 JP4803017 B2 JP 4803017B2
Authority
JP
Japan
Prior art keywords
transmission
antenna
antennas
rfid tag
unit
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.)
Active
Application number
JP2006342241A
Other languages
Japanese (ja)
Other versions
JP2008154136A (en
Inventor
八尋 肥塚
隆志 西村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Omron Corp
Original Assignee
Omron Corp
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 filed Critical Omron Corp
Priority to JP2006342241A priority Critical patent/JP4803017B2/en
Publication of JP2008154136A publication Critical patent/JP2008154136A/en
Application granted granted Critical
Publication of JP4803017B2 publication Critical patent/JP4803017B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、RFIDタグとの通信を行う通信処理装置等に関するものである。   The present invention relates to a communication processing device that performs communication with an RFID tag.

従来のRFIDタグとの通信を行う通信処理装置、例えばリーダライタ、として、パケット衝突によるパケットエラー数またはパケット廃棄率におけるしきい値を設け、そのしきい値を超えるまで、複数のリーダライタが使用周波数の切替を行わないようにしたものがあった(例えば、特許文献1参照)。   As a communication processing device that communicates with a conventional RFID tag, such as a reader / writer, a threshold is set for the number of packet errors due to packet collisions or the packet discard rate, and multiple reader / writers use until the threshold is exceeded. There has been one in which frequency switching is not performed (for example, see Patent Document 1).

一方、日本国内等の電波に関する法律では、一のRFIDタグ用の通信処理装置によるチャンネルの占有を防ぐために、通信処理装置の送信状態を継続させる期間、すなわち送信期間に上限が定められており、さらに、送信期間停止後は、所定の期間だけ送信停止状態を継続させなければならない、ということが定められている場合がある。例えば、UHF帯のRFIDタグの通信処理装置では、送信期間が最大4秒に定められており、送信が停止した後の期間である送信停止期間では、最低、50ms(ミリ秒)間、送信停止状態を継続させなければならない。   On the other hand, the law concerning radio waves in Japan and the like sets an upper limit on the period during which the transmission state of the communication processing device is continued, that is, the transmission period, in order to prevent the occupation of the channel by the communication processing device for one RFID tag, Furthermore, it may be defined that the transmission stop state must be continued for a predetermined period after the transmission period is stopped. For example, in a UHF band RFID tag communication processing apparatus, the transmission period is set to a maximum of 4 seconds, and the transmission is stopped for a minimum of 50 ms (milliseconds) in the transmission stop period after the transmission is stopped. The state must be continued.

また、RFIDタグ用の通信処理装置は、タグとの通信を行うに先立って、LBT(Listen Before Talk)処理と呼ばれる空きチャンネルを検出する処理を行う。LBT処理とは、通信処理装置が電波発信の開始前に、この通信処理装置が利用可能な周囲の周波数帯域に、他のリーダライタ等の通信処理装置が電波を発信していないか否かをチェックする処理である。そして、このLBT処理により、電波が発信されていないチャンネル、いわゆる空きチャンネル、が、タグとの通信チャンネルに指定されることとなる。なお、日本でUHF帯のリーダライタ等の通信処理装置が利用可能な周波数帯域は、952.2MHz〜953.8MHzの間であり、各チャンネルは、200kHzステップの、全九チャンネルとである。
特開2006−261986号公報(第1頁、第1図等)
In addition, the communication processing apparatus for the RFID tag performs processing for detecting an empty channel called LBT (Listen Before Talk) processing before performing communication with the tag. LBT processing refers to whether or not a communication processing device such as another reader / writer is transmitting radio waves in a surrounding frequency band that can be used by the communication processing device before the start of radio wave transmission. Checking process. By this LBT process, a channel through which no radio wave is transmitted, that is, a so-called empty channel, is designated as a communication channel with the tag. In Japan, a frequency band that can be used by a communication processing apparatus such as a UHF band reader / writer is between 952.2 MHz and 953.8 MHz, and each channel is a total of nine channels of 200 kHz steps.
Japanese Unexamined Patent Publication No. 2006-261986 (first page, FIG. 1 etc.)

しかしながら、従来の通信処理装置においては、効率的にRFIDタグとの通信を行うことができないという課題があった。   However, the conventional communication processing apparatus has a problem that it cannot efficiently communicate with the RFID tag.

具体的には、従来の通信処理装置においては、LBT処理により空きチャンネルを検出後、この空きチャンネルを用いて、通信を開始するが、通信開始直後に、タグに対して送信したコマンドに対して、所定の期間内にタグからのレスポンスがない場合、通信エリア内にタグが存在しないと判断して、通信を停止して、送信期間を終了していた。しかし、このような状況となった場合、一旦LBT処理で検出できた空きチャンネルを、すぐに開放してしまい、次回の通信開始まで、少なくとも、所定の送信停止期間だけ待たねばならないこととなるため、効率的な通信を行うことができなかった。具体例を挙げると、高速コンベアで運ばれる荷物にRFIDタグが取り付けられている場合、リーダライタが通信を停止した直後に、RFIDタグが取り付けられた荷物が、通信エリア内に入ってきても、送信停止期間となっているため、そのタグを読み出したりできない、という問題が起こりえていた。   Specifically, in a conventional communication processing device, after detecting an empty channel by LBT processing, communication is started using this empty channel. In response to a command transmitted to a tag immediately after the start of communication. When there is no response from the tag within a predetermined period, it is determined that there is no tag in the communication area, communication is stopped, and the transmission period ends. However, in such a situation, an empty channel that can be detected by the LBT process is immediately released, and it is necessary to wait at least a predetermined transmission stop period until the next communication start. Could not perform efficient communication. To give a specific example, when an RFID tag is attached to a package carried on a high-speed conveyor, immediately after the reader / writer stops communication, the package with the RFID tag attached enters the communication area. There was a problem that the tag could not be read because the transmission was suspended.

また、一方で、通信エリアを広く確保したり、アンテナの指向性等による通信エリアの死角等をなくすために、複数のアンテナを順次切り替えてRFIDタグとの通信を行う通信処理装置においては、一のアンテナの通信エリア内に、通信可能なRFIDタグがないと判断された場合において、そのアンテナによる予め設定された送信期間を継続することは、効率的な通信を行ううえで適切ではなかった。このような状況においては、早急にそのアンテナによる送信期間を停止し、所定の送信停止期間経過後に、他のアンテナに切り替えて、他のアンテナの通信エリア内のタグとの通信を行うことの方が、通信処理装置全体の通信からみて効率的であると考えられるからである。   On the other hand, in order to secure a wide communication area or eliminate blind spots in the communication area due to antenna directivity, etc., a communication processing apparatus that performs communication with the RFID tag by sequentially switching a plurality of antennas When it is determined that there is no communicable RFID tag in the communication area of the antenna, it is not appropriate for efficient communication to continue the preset transmission period of the antenna. In such a situation, the person who immediately stops the transmission period of the antenna, switches to another antenna after the predetermined transmission suspension period, and communicates with the tag in the communication area of the other antenna. This is because it is considered efficient from the viewpoint of communication of the entire communication processing apparatus.

また、同様に、複数のアンテナを順次切り替えてRFIDタグとの通信を行う従来の通信処理装置において、一のアンテナについてのLBT処理を、空きチャンネルが設定されるまで行うことは、効率的ではない。このような状況においては、早急にそのアンテナによるLBT処理を停止し、他のアンテナに切り替えて、他のアンテナについてLBT処理を行う方が、通信処理装置全体の通信からみて効率的であると考えられるからである。   Similarly, in a conventional communication processing apparatus that performs communication with an RFID tag by sequentially switching a plurality of antennas, it is not efficient to perform LBT processing for one antenna until an empty channel is set. . In such a situation, it is considered more efficient from the viewpoint of communication of the entire communication processing apparatus to stop LBT processing by the antenna immediately, switch to another antenna, and perform LBT processing for the other antenna. Because it is.

逆にアンテナが一つの場合、LBT処理を、予め設定された時間だけ行うようにすると、空きチャンネルが検出されない場合、通信処理が行えなくなってしまったり、時間を変えて、再度LBT処理を行う必要があり、時間の無駄が生じてしまい、効率的でなくなってしまう。   On the other hand, if one antenna is used, if LBT processing is performed only for a preset time, if an empty channel is not detected, communication processing cannot be performed, or it is necessary to change the time and perform LBT processing again. There is a waste of time and it becomes inefficient.

本発明の通信処理装置は、RFIDタグとの通信を行う通信処理装置であって、RFIDタグに対するコマンドの送信を行う送信部と、RFIDタグから送信される情報の受信を行う受信部と、前記受信部が受信した情報を出力する出力部と、前記送信部が前記コマンドを送信した場合の、前記受信部の受信状況に応じて、RFIDタグの不在を検出する不在検出部と、前記不在検出部が、一の送信期間内にRFIDタグの不在を検出した場合に、前記送信部に、前記コマンドの再送を指示する再送指示部とを具備する通信処理装置である。なお、本発明の通信処理装置は、別々に設けられた送信アンテナと受信アンテナとをそれぞれ用いるものであっても良いし、送信および受信の両方を1つで行うことができるアンテナを用いるものであってもよい。   The communication processing device of the present invention is a communication processing device that performs communication with an RFID tag, a transmission unit that transmits a command to the RFID tag, a reception unit that receives information transmitted from the RFID tag, An output unit that outputs information received by the reception unit, an absence detection unit that detects the absence of an RFID tag according to the reception status of the reception unit when the transmission unit transmits the command, and the absence detection The communication processing apparatus includes a retransmission instruction unit that instructs the transmission unit to retransmit the command when the unit detects the absence of the RFID tag within one transmission period. Note that the communication processing apparatus of the present invention may use a transmission antenna and a reception antenna that are provided separately, or use an antenna that can perform both transmission and reception. There may be.

かかる構成により、検出した空きチャンネルを効率的に利用でき、RFIDタグとの効率的な通信が可能となる。   With such a configuration, the detected empty channel can be used efficiently, and efficient communication with the RFID tag becomes possible.

また、本発明の通信処理装置は、RFIDタグとの通信を行う通信処理装置であって、1以上の送信アンテナと接続され、当該送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信部と、前記1以上の送信アンテナと対をなす1以上の受信アンテナと接続され、当該受信アンテナを用いて、RFIDタグから送信される情報の受信を行う受信部と、前記受信部が受信した情報を出力する出力部と、前記送信部が前記1以上の送信アンテナのうちの一の送信アンテナを用いて前記コマンドを送信した場合の、当該一の送信アンテナに対応した一の受信アンテナを用いた前記受信部の受信状況に応じて、RFIDタグの不在を検出する不在検出部と、前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断部と、前記アンテナ数判断部が、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、前記不在検出部が一の送信期間内にRFIDタグの不在を検出した場合に、前記送信部および受信部に、前記送信アンテナおよび受信アンテナを切り替えさせる指示を出力する切替指示部と、前記アンテナ数判断部が、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、前記不在検出部が、一の送信期間内にRFIDタグの不在を検出した場合に、前記送信部に、前記コマンドの再送を指示する再送指示部とを具備する通信処理装置である。なお、本発明の通信処理装置は、別々に設けられた送信アンテナと受信アンテナとをそれぞれ1以上用いるものであっても良いし、送信および受信の両方を1つで行うことができるアンテナを1以上用いるものであってもよい。   The communication processing device of the present invention is a communication processing device that performs communication with an RFID tag, and is a transmission unit that is connected to one or more transmission antennas and transmits a command to the RFID tag using the transmission antenna. A receiving unit that is connected to one or more receiving antennas paired with the one or more transmitting antennas and receives information transmitted from the RFID tag using the receiving antenna, and information received by the receiving unit Output unit, and when the transmission unit transmits the command using one of the one or more transmission antennas, one reception antenna corresponding to the one transmission antenna is used. According to the reception status of the reception unit, it is determined whether or not the number of pairs of the absence detection unit that detects the absence of the RFID tag and the transmission antenna and the reception antenna is two or more. The antenna number determination unit and the antenna number determination unit determine that the number of pairs of the transmission antenna and the reception antenna is 2 or more, and the absence detection unit detects the RFID tag within one transmission period. A switching instruction unit that outputs an instruction to switch the transmission antenna and the reception antenna to the transmission unit and the reception unit, and the antenna number determination unit includes a pair of the transmission antenna and the reception antenna. When the absence detection unit detects the absence of an RFID tag within one transmission period, the retransmission instruction that instructs the transmission unit to retransmit the command. A communication processing apparatus. Note that the communication processing device of the present invention may use one or more separately provided transmission antennas and reception antennas, or one antenna that can perform both transmission and reception. It may be used above.

かかる構成により、送信アンテナと受信アンテナとの対の数に応じて、各送信アンテナおよび受信アンテナを用いた通信時に、RFIDタグが検出されなかった場合のコマンドの再送を行うか否かを変更して、効率的な通信が可能となる。   With this configuration, depending on the number of pairs of transmission antennas and reception antennas, whether to retransmit a command when an RFID tag is not detected during communication using each transmission antenna and reception antenna is changed. Thus, efficient communication is possible.

また、本発明の通信処理装置は、前記通信処理装置において、前記再送指示部は、RFIDタグが検出されるまでは、前記再送の指示を、予め設定された所定回数となるまで繰り返す通信処理装置である。   In the communication processing device according to the present invention, in the communication processing device, the retransmission instruction unit repeats the retransmission instruction until a predetermined number of times is set until an RFID tag is detected. It is.

かかる構成により、RFIDタグと、効率的に通信を行うことができる。   With this configuration, it is possible to efficiently communicate with the RFID tag.

また、本発明の通信処理装置は、前記通信処理装置において、前記再送指示部は、RFIDタグが検出されるまでは、前記再送の指示を、予め設定された所定時間が経過するまで繰り返す通信処理装置である。   In the communication processing device of the present invention, in the communication processing device, the retransmission instruction unit repeats the retransmission instruction until a predetermined time elapses until an RFID tag is detected. Device.

かかる構成により、RFIDタグと、効率的に通信を行うことができる。   With this configuration, it is possible to efficiently communicate with the RFID tag.

また、本発明の通信処理装置は、複数チャンネルのうちの一のチャンネルを用いて、RFIDタグとの通信を行う通信処理装置であって、1以上の送信アンテナと接続され、当該送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信部と、前記1以上の送信アンテナと対をなす1以上の受信アンテナと接続され、当該受信アンテナを用いて、情報の受信を行う受信部と、前記受信部が受信した情報のうちの、RFIDタグから送信される情報を出力する出力部と、前記1以上の受信アンテナのうちの一の受信アンテナを用いて受信した情報を用いて、RFIDタグとの通信を行うチャンネルとして利用する空きチャンネルを検出する空きチャンネル検出部と、前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断部と、を具備し、前記空きチャンネル検出部は、前記アンテナ数判断部が、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、前記受信部に前記受信アンテナの切り替えを指示して空きチャンネルの検出を行い、前記アンテナ数判断部が、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返す通信処理装置である。なお、本発明の通信処理装置は、別々に設けられた送信アンテナと受信アンテナとをそれぞれ1以上用いるものであっても良いし、送信および受信の両方を1つで行うことができるアンテナを1以上用いるものであってもよい。   The communication processing apparatus of the present invention is a communication processing apparatus that communicates with an RFID tag using one of a plurality of channels. The communication processing apparatus is connected to one or more transmission antennas and uses the transmission antennas. A transmission unit that transmits a command to the RFID tag, and a reception unit that is connected to one or more reception antennas paired with the one or more transmission antennas and receives information using the reception antenna; Of the information received by the receiving unit, an output unit that outputs information transmitted from the RFID tag, and information received using one receiving antenna of the one or more receiving antennas, Whether the number of pairs of the empty channel detection unit for detecting an empty channel used as a channel for performing communication and the transmission antenna and the reception antenna is two or more The number of antennas determining unit for determining whether the number of pairs of the transmitting antenna and the receiving antenna is 2 or more. If the empty channel detection unit cannot detect an empty channel, the reception unit is instructed to switch the reception antenna to detect an empty channel, and the antenna number determination unit receives the transmission antenna and the reception antenna. When it is determined that the number of pairs with the antenna is not 2 or more, and the empty channel detection unit cannot detect an empty channel, the communication processing device repeats the detection of the empty channel. Note that the communication processing device of the present invention may use one or more separately provided transmission antennas and reception antennas, or one antenna that can perform both transmission and reception. It may be used above.

かかる構成により、送信アンテナと受信アンテナとの対の数に応じて、各送信アンテナおよび受信アンテナを用いた空きチャンネル検出時に、空きチャンネルが検出されなかった場合の空きチャンネル処理の繰り返しを行うか否かを変更して、効率的な通信が可能となる。   With this configuration, according to the number of pairs of the transmission antenna and the reception antenna, whether or not to perform the empty channel processing when an empty channel is not detected when an empty channel is detected using each transmission antenna and reception antenna. By changing the above, efficient communication becomes possible.

また、本発明の通信処理装置は、前記通信処理装置において、前記アンテナ数判断部は、前記空きチャンネルの検出の繰り返しを、予め設定された所定回数となるまで行う通信処理装置である。   The communication processing device according to the present invention is the communication processing device according to the communication processing device, wherein the antenna number determination unit repeats the detection of the empty channel until a predetermined number of times set in advance.

かかる構成により、RFIDタグと、効率的に通信を行うことができる。   With this configuration, it is possible to efficiently communicate with the RFID tag.

また、本発明の通信処理装置は、前記通信処理装置において、前記アンテナ数判断部は、空きチャンネルが検出されるまでは、前記空きチャンネルの検出の繰り返しを、予め設定された所定時間が経過するまで行う通信処理装置である。   In the communication processing apparatus of the present invention, in the communication processing apparatus, the antenna number determination unit repeats the detection of the empty channel until a predetermined time elapses until an empty channel is detected. It is a communication processing device that performs up to.

かかる構成により、RFIDタグと、効率的に通信を行うことができる。   With this configuration, it is possible to efficiently communicate with the RFID tag.

本発明による通信処理装置等によれば、RFIDタグと、効率的に通信を行うことができる。   According to the communication processing apparatus and the like according to the present invention, it is possible to efficiently communicate with the RFID tag.

以下、通信処理装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。   Hereinafter, embodiments of a communication processing apparatus and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.

(実施の形態)
図1は、本実施の形態における通信処理装置のブロック図である。本実施の形態の通信処理装置は、例えば、UHF帯等のRFIDタグと通信を行うリーダライタ等である。
(Embodiment)
FIG. 1 is a block diagram of a communication processing apparatus according to the present embodiment. The communication processing apparatus according to the present embodiment is, for example, a reader / writer that communicates with an RFID tag such as a UHF band.

通信処理装置1は、送信部101、送信指示受付部102、受信部103、出力部104、不在検出部105、再送指示部106、アンテナ数判断部107、切替指示部108、空きチャンネル検出部109、通信制御部110、1以上の送信アンテナ111および1以上の受信アンテナ112を具備する。図においては、便宜上、送信アンテナ111および受信アンテナ112がそれぞれ3つである場合について示しているが、それぞれの数は1以上であればよい。なお、通信処理装置1は、送信アンテナ111および受信アンテナ112を有していても良いし、送信アンテナや受信アンテナを有しておらず、外部の送信アンテナおよび受信アンテナを用いるようにしても良い。   The communication processing apparatus 1 includes a transmission unit 101, a transmission instruction reception unit 102, a reception unit 103, an output unit 104, an absence detection unit 105, a retransmission instruction unit 106, an antenna number determination unit 107, a switching instruction unit 108, and an empty channel detection unit 109. A communication control unit 110, one or more transmission antennas 111, and one or more reception antennas 112. In the figure, for convenience, the case where there are three transmission antennas 111 and three reception antennas 112 is shown, but the number of each may be one or more. Note that the communication processing apparatus 1 may include the transmission antenna 111 and the reception antenna 112, or may include an external transmission antenna and reception antenna without using the transmission antenna or the reception antenna. .

送信部101は、RFIDタグに対するコマンドの送信を行う。送信部101が送信するコマンドは、どのようなコマンドであっても良い。また、ここで述べるコマンドには、結果として、コマンドとして利用可能な情報も含む。このコマンドは、例えば、RFIDタグの情報を読み出すreadコマンドや、RFIDタグに情報を書き込むwriteコマンド等である。送信部101が送信するコマンドは、送信指示受付部102が受け付けた送信指示に含まれているものであっても良いし、予め図示しないメモリ等に格納されているコマンドを送信指示に応じて読み出したものであっても良く、コマンドの取得経路等は問わない。送信部101は、1以上の送信アンテナ111と接続され、当該送信アンテナ111を用いて、RFIDタグに対する電波によるコマンドの送信を行う。通常、いずれか1つの送信アンテナ111を選択、もしくは、各送信アンテナ111を一つずつ順次切り替えて選択し、この選択した送信アンテナ111からコマンドを送信する。送信部101は、例えば、切替指示部108や通信制御部110等が出力する指示により指定される送信アンテナ111を用いてコマンドの送信を行う。送信部101は、通常、空きチャンネル検出部109により検出された空きチャンネルを使用して、コマンドの送信を行う。また、送信部101は、後述する再送指示部106の出力する再送指示に応じて、コマンドの再送を行う。送信部101は、例えば、図示しない1以上の送信ポート等のインターフェースを介して、1以上の送信アンテナ111と接続される。送信部101は、通常、後述する送信指示受付部102が受け付けた送信指示に応じて、コマンドを送信する。ただし、一定や不定の、所定の期間毎に、コマンドを送信してもよい。送信部101は、無線の送信手段等で実現され得る。また、放送手段で実現されても良い。   The transmission unit 101 transmits a command to the RFID tag. The command transmitted by the transmission unit 101 may be any command. Further, the command described here includes information usable as a command as a result. This command is, for example, a read command for reading information on the RFID tag, a write command for writing information on the RFID tag, or the like. The command transmitted by the transmission unit 101 may be included in the transmission instruction received by the transmission instruction reception unit 102, or a command stored in advance in a memory (not shown) or the like is read according to the transmission instruction. Any command acquisition route may be used. The transmission unit 101 is connected to one or more transmission antennas 111, and uses the transmission antenna 111 to transmit a command by radio waves to the RFID tag. Normally, any one of the transmission antennas 111 is selected, or each transmission antenna 111 is sequentially switched one by one, and a command is transmitted from the selected transmission antenna 111. The transmission unit 101 transmits a command using, for example, the transmission antenna 111 specified by an instruction output from the switching instruction unit 108, the communication control unit 110, or the like. The transmission unit 101 normally transmits a command using the empty channel detected by the empty channel detection unit 109. Further, the transmission unit 101 retransmits a command in response to a retransmission instruction output from a retransmission instruction unit 106 described later. The transmission unit 101 is connected to one or more transmission antennas 111 via an interface such as one or more transmission ports (not shown), for example. The transmission unit 101 normally transmits a command in response to a transmission instruction received by a transmission instruction reception unit 102 described later. However, the command may be transmitted every predetermined period that is constant or indefinite. The transmission unit 101 can be realized by a wireless transmission unit or the like. Moreover, you may implement | achieve with a broadcast means.

送信指示受付部102は、送信部101に対する送信指示を受け付ける。例えば、送信指示受付部102は、コンピュータ等の、通信処理装置1の外部の機器等から通信回線等を介して送信される送信指示を受け付けても良いし、記録媒体等に記録されている送信指示を読み出してもよい。送信指示受付部102が受け付ける送信指示は、送信部101が送信するコマンドを含む指示であっても良いし、含まなくても良い。また、送信部101が送信するコマンドを指定するものであっても良い。また、送信指示受付部102は、テンキーやキーボードやマウスやメニュー画面等の入力手段により入力される送信指示を受け付けても良い。送信指示受付部102は、通信デバイスのドライバ等や、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェアや、メモリカードリーダや、CDドライブ等の記録媒体等から情報を読み出すデバイスのドライバ等で実現され得る。   The transmission instruction reception unit 102 receives a transmission instruction for the transmission unit 101. For example, the transmission instruction receiving unit 102 may receive a transmission instruction transmitted from a device external to the communication processing apparatus 1 such as a computer via a communication line or the like, or a transmission recorded in a recording medium or the like The instruction may be read out. The transmission instruction received by the transmission instruction reception unit 102 may or may not include an instruction including a command transmitted by the transmission unit 101. Moreover, the command which the transmission part 101 transmits may be specified. Further, the transmission instruction receiving unit 102 may receive a transmission instruction input by an input unit such as a numeric keypad, a keyboard, a mouse, or a menu screen. The transmission instruction receiving unit 102 is a device for reading information from a communication device driver, a device driver for input means such as a numeric keypad and a keyboard, menu screen control software, a memory card reader, a recording medium such as a CD drive, and the like. It can be realized with a driver or the like.

受信部103は、RFIDタグから送信される情報の受信を行う。また、受信部103は、従来の技術において説明したLBT処理等の空きチャンネル検出処理のために、他の通信処理装置等の機器が送信している、RFIDタグとの通信に利用される周波数帯の情報、言い換えれば電波、を受信する。受信部103は、1以上の受信アンテナ112と接続され、当該受信アンテナ112を用いて、RFIDタグから出力される情報等の受信を行う。受信部103は、通常、いずれか1つの受信アンテナ112を選択、もしくは、各受信アンテナ112を一つずつ順次切り替えて選択し、この選択した受信アンテナ112を用いて情報を受信する。受信部103と接続される1以上の受信アンテナは、1以上の送信アンテナ111と対をなす1以上のアンテナである。受信部103は、例えば、切替指示部108や通信制御部110等が出力する指示により指定される受信アンテナ112を用いて情報の受信を行う。受信部103は、RFIDタグから送信される情報を受信する場合、通常、空きチャンネル検出部109により検出された空きチャンネルを使用して、情報の受信を行う。受信部103は、例えば、図示しない1以上の受信ポート等のインターフェースを介して、1以上の受信アンテナ112と接続される。受信部103は、無線の受信手段等で実現され得る。   The receiving unit 103 receives information transmitted from the RFID tag. In addition, the receiving unit 103 is a frequency band used for communication with an RFID tag, which is transmitted by a device such as another communication processing device, for the empty channel detection processing such as LBT processing described in the related art. Information, in other words, radio waves. The receiving unit 103 is connected to one or more receiving antennas 112 and uses the receiving antennas 112 to receive information output from the RFID tag. The receiving unit 103 normally selects any one of the reception antennas 112, or sequentially switches and selects each reception antenna 112 one by one, and receives information using the selected reception antenna 112. One or more receiving antennas connected to the receiving unit 103 are one or more antennas paired with one or more transmitting antennas 111. For example, the reception unit 103 receives information using the reception antenna 112 specified by an instruction output from the switching instruction unit 108, the communication control unit 110, or the like. When receiving the information transmitted from the RFID tag, the receiving unit 103 normally receives information using the empty channel detected by the empty channel detecting unit 109. The receiving unit 103 is connected to one or more receiving antennas 112 via an interface such as one or more receiving ports (not shown), for example. The receiving unit 103 can be realized by a wireless receiving unit or the like.

出力部104は、受信部103が受信した情報を出力する。具体的には、受信部103が受信した情報のうちの、RFIDタグから送信される情報を出力する。出力部104は、受信部103が受信した情報全体を出力しても良いし、情報の一部を出力しても良い。例えば、受信部103が受信した情報にヘッダ情報等が付加されている場合、このヘッダ情報等を含む情報を出力しても良いし、ヘッダ情報を除去した情報を出力しても良い。ここで述べる出力とは、通常、コンピュータ等の、通信処理装置1の外部の機器等への通信回線等を介した送信である。ただし、ディスプレイへの表示や、記録媒体等への蓄積であっても良い。出力部104は、通信デバイス等の出力デバイスの、ドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。   The output unit 104 outputs information received by the receiving unit 103. Specifically, the information transmitted from the RFID tag among the information received by the receiving unit 103 is output. The output unit 104 may output the entire information received by the receiving unit 103 or may output a part of the information. For example, when header information or the like is added to the information received by the receiving unit 103, information including the header information or the like may be output, or information from which the header information is removed may be output. The output described here is usually transmission via a communication line or the like to a device or the like outside the communication processing apparatus 1 such as a computer. However, it may be displayed on a display or stored in a recording medium. The output unit 104 can be realized by driver software of an output device such as a communication device, or driver software of the output device and an output device.

不在検出部105は、送信部101がコマンドを送信した場合の、受信部103の受信状況に応じて、通信領域内におけるRFIDタグの、不在を検出する。不在検出部105は、具体的には、送信部が一の送信アンテナ111を用いてコマンドを送信した場合の、当該一の送信アンテナ111に対応した一の受信アンテナ112を用いた受信部103の受信状況に応じて、一の送信アンテナ111および受信アンテナの通信領域内におけるRFIDタグの不在を検出する。ここで述べる受信状況とは、1以上のRFIDタグからのなんらかのレスポンス、例えば、1以上のRFIDタグからの情報の送信や、RFIDタグから送信される情報におけるコリジョン(衝突)の検出、があったか否かのことである。通常、送信部101がコマンドを送信してから、一定または不定の所定の期間内に、1以上のRFIDタグからの情報を、受信部103が受信した場合、RFIDタグが存在すると判断し、受信部103が受信しなかった場合、RFIDタグが不在であると判断する。不在検出部105は、通常、MPUやメモリ等から実現され得る。なお、不在検出部105は、RFIDタグの不在を検出する代わりに、RFIDタグが存在していることを検出するようにして、存在が検出できない場合、不在であると判断するようにしても良い。不在検出部105の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The absence detection unit 105 detects the absence of the RFID tag in the communication area according to the reception status of the reception unit 103 when the transmission unit 101 transmits a command. Specifically, the absence detection unit 105, when the transmission unit transmits a command using one transmission antenna 111, the reception unit 103 using one reception antenna 112 corresponding to the one transmission antenna 111. The absence of the RFID tag in the communication area of one transmission antenna 111 and reception antenna is detected according to the reception status. The reception status described here refers to whether or not there is any response from one or more RFID tags, for example, transmission of information from one or more RFID tags, or detection of collision (collision) in information transmitted from RFID tags. That is. Normally, when the receiving unit 103 receives information from one or more RFID tags within a predetermined period of time that is constant or indefinite after the transmitting unit 101 transmits a command, the receiving unit 103 determines that the RFID tag exists and receives the information. If the unit 103 does not receive, it is determined that the RFID tag is absent. The absence detection unit 105 can usually be realized by an MPU, a memory, or the like. Instead of detecting the absence of the RFID tag, the absence detection unit 105 may detect the presence of the RFID tag, and may determine that the RFID tag is absent when the presence cannot be detected. . The processing procedure of the absence detection unit 105 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

再送指示部106は、不在検出部105が、RFIDタグの不在を検出した場合に、一の送信期間内に送信部101にコマンドの再送を指示する。特に、通信処理装置1が1対の送信アンテナ111および受信アンテナ112だけを用いている場合に、コマンドの再送を指示するようにしても良い。送信期間とは、送信部101が送信を開始してから、送信部101が送信を停止し受信部103が受信を停止するまでの期間である。例えば、送信期間とは、送信部101によるコマンドの送信が1回以上連続して行われる期間である。ただし、送信期間には、送信部101が送信した各コマンドに対する、受信部103による情報の受信を行う期間や受信を待つ期間を含んでも良い。一の送信期間とは、不在検出部105がRFIDタグの不在を検出した送信期間と同じ送信期間のことである。一の送信期間を、空きチャンネルを用いてコマンドの送信を開始してから、そのチャンネルを明け渡すまでの期間と考えても良い。一の送信期間は、送信部101が送信を開始してからの、送信部101および受信部103が通信に利用しているチャンネルをあけ渡すための送信停止期間、例えばUHF帯であれば50ms、を挟まない期間である。すなわち、これにより、不在検出部105が、RFIDタグの不在を検出した場合に、通信処理装置1が、送信停止期間に入ることなく、再送、送信部101から、コマンドが再送されることとなる。なお、送信期間は、例えばUHF帯のRFIDタグである場合、最大4秒に設定する必要があり、送信開始から、4秒を超える場合には、再送指示部106が、コマンドを再送させる指示を送信しないようにする。再送指示部106は、再送の指示を、RFIDタグが検出されるまで、最大、予め設定された所定回数となるまで繰り返すようにしてもよい。また、再送指示部106は、RFIDタグが検出されるまでは、再送の指示を、予め設定された所定時間が経過するまで、繰り返すようにしてもよい。すなわち、いわゆるタイムアウトとなるまで、再送処理を繰り返すようにしても良い。この所定回数および所定時間は、一定であっても不定であっても良い。この所定回数および所定時間を設定する情報は、例えば図示しないメモリ等に予め格納しておくようにすればよい。再送指示部106は、通常、MPUやメモリ等から実現され得る。不在検出部105の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   When the absence detection unit 105 detects the absence of the RFID tag, the retransmission instruction unit 106 instructs the transmission unit 101 to retransmit the command within one transmission period. In particular, when the communication processing apparatus 1 uses only a pair of the transmission antenna 111 and the reception antenna 112, it may be instructed to retransmit the command. The transmission period is a period from when the transmission unit 101 starts transmission until the transmission unit 101 stops transmission and the reception unit 103 stops reception. For example, the transmission period is a period during which command transmission by the transmission unit 101 is continuously performed one or more times. However, the transmission period may include a period during which information is received by the reception unit 103 and a period during which reception is waited for each command transmitted by the transmission unit 101. One transmission period is the same transmission period as the transmission period in which the absence detection unit 105 detects the absence of the RFID tag. One transmission period may be considered as a period from the start of command transmission using an empty channel until the channel is surrendered. One transmission period is a transmission stop period for passing a channel used for communication by the transmission unit 101 and the reception unit 103 after the transmission unit 101 starts transmission, for example, 50 ms in the UHF band, It is a period that does not sandwich. That is, when the absence detection unit 105 detects the absence of the RFID tag, the communication processing apparatus 1 retransmits the command from the transmission unit 101 without entering the transmission stop period. . For example, in the case of an RFID tag in the UHF band, the transmission period must be set to a maximum of 4 seconds. If the transmission period exceeds 4 seconds from the start of transmission, the retransmission instruction unit 106 issues an instruction to retransmit the command. Do not send. The retransmission instruction unit 106 may repeat the retransmission instruction until a predetermined number of times is set in advance until the RFID tag is detected. Further, the retransmission instruction unit 106 may repeat the retransmission instruction until a predetermined time elapses until an RFID tag is detected. That is, the retransmission process may be repeated until a so-called timeout occurs. The predetermined number of times and the predetermined time may be constant or indefinite. The information for setting the predetermined number of times and the predetermined time may be stored in advance in a memory (not shown), for example. The retransmission instruction unit 106 can be usually realized by an MPU, a memory, or the like. The processing procedure of the absence detection unit 105 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

アンテナ数判断部107は、送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断する。アンテナ数判断部107がどのようにアンテナ数を判断してもよい。例えば、送信部101や受信部103の送信アンテナ111や受信アンテナ112が接続されるポート等に接続されているアンテナ数を、これらのポート等から送信される信号等を用いて検出し、この検出したアンテナ数から、送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断しても良い。また、予めユーザ等が指定するアンテナ数を示す情報を、図示しないメモリ等に格納しておくようにし、このメモリ等に格納されている情報を、アンテナ数判断部107が読みだし、送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断してもよい。なお、アンテナ数を示す情報は、結果的に、アンテナ数が2以上であるか否かを判断することができる情報であればよく、送信アンテナ111および受信アンテナ112の数の情報であっても良いし、送信アンテナと受信アンテナとの対の数が2以上である、ということを示す情報であってもよい。また、通常、送信アンテナと受信アンテナとが対となっているため、送信アンテナ数または受信アンテナ数のいずれか一方が二以上であるか否かを判断しても良い。また、アンテナ数を示す情報は、本実施の形態においては、アンテナ数が2以上であるか否かによって実行される処理を、選択するために用いられる情報であることから、アンテナ数を示す情報は、アンテナ数によって選択すべき処理の選択を指示する情報であってもよい。なお、アンテナ数判断部107の行う判断は、結果的に、送信アンテナと受信アンテナとの対の数が2以上であるか否かの判断と、同じ結果を示す判断であればよく、必ずしも、実際のアンテナ数を取得して、このアンテナ数から判断を行う必要はない。例えば、予め、送信アンテナと受信アンテナとの対の数が2以上である、という情報と、送信アンテナと受信アンテナとの対の数が2以上でない、という情報とを用意しておき、送信アンテナと受信アンテナとの対の数が2以上である、という情報をアンテナ数判断部107が受け付けた場合に、アンテナ数が2以上であるという判断結果を出力し、送信アンテナと受信アンテナとの対の数が2以上でない、という情報をアンテナ数判断部107が受け付けた場合に、アンテナ数が2以上でないという判断結果を出力するようにしてもよい。また、通信処理装置1が、アンテナ数判断部107の判断結果がアンテナ数が2以上でないという場合に、第一の処理を行うものであり、アンテナ数判断部107の判断結果がアンテナ数が2以上であるという場合に、第2の処理を行うものである場合、アンテナ数判断部107が、第一の処理を行うか、第二の処理を行うかの判断を行うことは、ここでは、結果的に、アンテナ数判断部107が、アンテナ数が2以上であるか否かの判断を行うことと同じと考える。アンテナ数判断部107は、通常、MPUやメモリ等から実現され得る。アンテナ数判断部107の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The antenna number determination unit 107 determines whether the number of pairs of transmission antennas and reception antennas is two or more. Any number of antennas may be determined by the antenna number determination unit 107. For example, the number of antennas connected to the ports to which the transmitting antenna 111 and the receiving antenna 112 of the transmitting unit 101 and the receiving unit 103 are connected is detected using signals transmitted from these ports and the like. It may be determined from the number of antennas that the number of pairs of transmission antennas and reception antennas is two or more. In addition, information indicating the number of antennas designated by the user or the like is stored in a memory or the like (not shown) in advance, and the information stored in the memory or the like is read by the antenna number determination unit 107 and transmitted to the transmission antenna. It may be determined whether the number of pairs with the receiving antenna is 2 or more. Note that the information indicating the number of antennas may be information that can determine whether the number of antennas is two or more as a result, and may be information on the number of transmission antennas 111 and reception antennas 112. It may be information indicating that the number of pairs of transmission antennas and reception antennas is two or more. In addition, normally, since the transmission antenna and the reception antenna are paired, it may be determined whether either the number of transmission antennas or the number of reception antennas is two or more. Further, in the present embodiment, the information indicating the number of antennas is information used for selecting a process to be executed depending on whether the number of antennas is 2 or more. May be information instructing selection of a process to be selected depending on the number of antennas. As a result, the determination performed by the antenna number determination unit 107 may be a determination indicating whether or not the number of pairs of transmission antennas and reception antennas is two or more and a determination indicating the same result. It is not necessary to obtain the actual number of antennas and make a determination based on the number of antennas. For example, information that the number of pairs of transmission antennas and reception antennas is two or more and information that the number of pairs of transmission antennas and reception antennas is not two or more are prepared in advance. When the antenna number determination unit 107 receives information that the number of pairs of antennas and receiving antennas is 2 or more, the determination result that the number of antennas is 2 or more is output, and the pair of transmitting antennas and receiving antennas is output. When the antenna number determination unit 107 receives information that the number of antennas is not 2 or more, a determination result that the number of antennas is not 2 or more may be output. The communication processing apparatus 1 performs the first process when the determination result of the antenna number determination unit 107 is not two or more, and the determination result of the antenna number determination unit 107 indicates that the number of antennas is two. In the case of the above, when the second process is performed, the number of antennas determination unit 107 determines whether to perform the first process or the second process. As a result, it is considered to be the same as the case where the antenna number determination unit 107 determines whether or not the number of antennas is two or more. The antenna number determination unit 107 can be usually realized by an MPU, a memory, or the like. The processing procedure of the antenna number determination unit 107 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

切替指示部108は、アンテナ数判断部107が、送信アンテナ111と受信アンテナ112との対の数が2以上であると判断した場合であって、不在検出部105がRFIDタグの不在を検出した場合に、送信部101および受信部103に、送信アンテナ111および受信アンテナ112を切り替えさせる指示を出力する。送信部101および受信部103は、この切り替え指示により指定された送信アンテナ111および受信アンテナを用いて、次の送信期間において、コマンドの送信や、RFIDタグからの情報の受信を行う。また、切替指示部108は、後述する空きチャンネル検出部109の指示により、送信部101および受信部103に、送信アンテナ111および受信アンテナ112を切り替えさせる指示を出力してもよい。切替指示部108は、通常、MPUやメモリ等から実現され得る。切替指示部108の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The switching instruction unit 108 is a case where the antenna number determination unit 107 determines that the number of pairs of the transmission antenna 111 and the reception antenna 112 is two or more, and the absence detection unit 105 detects the absence of the RFID tag. In this case, an instruction to switch the transmission antenna 111 and the reception antenna 112 to the transmission unit 101 and the reception unit 103 is output. The transmission unit 101 and the reception unit 103 use the transmission antenna 111 and the reception antenna specified by the switching instruction to transmit a command and receive information from the RFID tag in the next transmission period. Further, the switching instruction unit 108 may output an instruction to cause the transmission unit 101 and the reception unit 103 to switch the transmission antenna 111 and the reception antenna 112 in accordance with an instruction from an empty channel detection unit 109 described later. The switching instruction unit 108 can usually be realized by an MPU, a memory, or the like. The processing procedure of the switching instruction unit 108 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

空きチャンネル検出部109は、1以上の受信アンテナ112のうちの一の受信アンテナ112を用いて受信した情報を用いて、RFIDタグとの通信を行うチャンネルとして利用する空きチャンネルを検出する。例えば、空きチャンネル検出部109は、通信処理装置1が利用可能なチャンネル内の周波数の電力を検知して、電力がないと判断されたチャンネルを空きチャンネルとして検出する。具体的には、受信部103が受信した、通信処理装置1が利用可能なチャンネル内のノイズ等の電波の周波数成分を高速フーリエ変換等を用いて取り出し、この取り出した電波の周波数成分が所定のレベル以上含まれない場合、このチャンネルが空きチャンネルであると判断する。この処理は、いわゆるLBT処理と呼ばれる公知の処理である。例えば、日本の電波法では、LBT処理時に−74dBmのノイズレベルを最低5ミリ秒間検出しなければならない。空きチャンネル検出部109は、特に、アンテナ数判断部107が、送信アンテナ111と受信アンテナ112との対の数が2以上であると判断した場合であって、空きチャンネルを検出できなかった場合に、受信部103に受信アンテナ112の切り替えを指示して空きチャンネルの検出を行う。この切り替えの指示を、空きチャンネル検出部109が直接、受信部103に出力しても良いし、切替指示部108等を介して間接的に、出力してもよい。また、空きチャンネル検出部109は、アンテナ数判断部107が、送信アンテナ111と受信アンテナ112との対の数が2以上でない、すなわち1である、と判断した場合であって、所定の期間内に空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返す。空きチャンネル検出部109は、空きチャンネルの検出の繰り返しを、空きチャンネルが検出されるまで、最大、予め設定された所定回数となるまで行うようにしてもよい。また、空きチャンネル検出部109は、空きチャンネルの検出の繰り返しを、空きチャンネルが検出されるまでは、最大、予め設定された所定時間となるまで繰り返すようにしても良い。なお、例えば、UHF帯のRFIDタグにおいては、LBT処理を、5ms以上行うことが日本の通信に関する法律により定められているため、空きチャンネルの検出処理は、このような条件を満たすように設定しておく。空きチャンネル検出部109は、通常、MPUやメモリ等から実現され得る。空きチャンネル検出部109の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The vacant channel detection unit 109 detects an vacant channel to be used as a channel for communication with the RFID tag, using information received using one reception antenna 112 among the one or more reception antennas 112. For example, the vacant channel detection unit 109 detects the power of the frequency in the channel that can be used by the communication processing apparatus 1 and detects the channel determined to have no power as the vacant channel. Specifically, a frequency component of radio waves such as noise in a channel that can be used by the communication processing apparatus 1 received by the receiving unit 103 is extracted using fast Fourier transform or the like, and the frequency component of the extracted radio waves is a predetermined frequency component. If the level is not included, it is determined that this channel is an empty channel. This process is a known process called a so-called LBT process. For example, in the Japanese radio law, a noise level of -74 dBm must be detected for a minimum of 5 milliseconds during LBT processing. The vacant channel detection unit 109 is particularly used when the number of antennas determination unit 107 determines that the number of pairs of the transmission antenna 111 and the reception antenna 112 is 2 or more and the vacant channel cannot be detected. Then, the reception unit 103 is instructed to switch the reception antenna 112 to detect an empty channel. The vacant channel detection unit 109 may output this switching instruction directly to the receiving unit 103 or indirectly through the switching instruction unit 108 or the like. In addition, the empty channel detection unit 109 determines that the number of antennas determination unit 107 determines that the number of pairs of the transmission antenna 111 and the reception antenna 112 is not 2 or more, that is, 1 and is within a predetermined period. If no empty channel is detected, the detection of the empty channel is repeated. The empty channel detection unit 109 may repeat the detection of the empty channel until a predetermined number of times is preset until an empty channel is detected. Further, the empty channel detection unit 109 may repeat the detection of the empty channel until a predetermined time set in advance is reached until an empty channel is detected. For example, in UHF band RFID tags, it is stipulated by the Japanese communication law that LBT processing should be performed for 5 ms or longer. Keep it. The empty channel detection unit 109 can be usually realized by an MPU, a memory, or the like. The processing procedure of the empty channel detection unit 109 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

通信制御部110は、送信部101および受信部103等を制御して、RFIDタグに対する情報の読み出し処理や、情報の書き込み処理等を行う。通信制御部110の行う制御は、通信処理装置1に、通常のRFIDタグリーダライタ等と同様の、情報の読み出しや書き込み等の処理を行わせるための制御であり、ここでは詳細な説明は省略する。通信制御部110は、通常、MPUやメモリ等から実現され得る。通信制御部110の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The communication control unit 110 controls the transmission unit 101, the reception unit 103, and the like to perform information reading processing, information writing processing, and the like on the RFID tag. The control performed by the communication control unit 110 is control for causing the communication processing apparatus 1 to perform processing such as reading and writing of information similar to a normal RFID tag reader / writer, and detailed description thereof is omitted here. . The communication control unit 110 can be usually realized by an MPU, a memory, or the like. The processing procedure of the communication control unit 110 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

送信アンテナ111は、送信部101が送信するコマンドを電波に変換して送信する。本実施の形態においては、一の送信部101に対して1以上の送信アンテナ111が接続可能であるものとする。送信アンテナ111の形状や構造、指向性等は、RFIDタグとの通信に利用可能なものであれば、問わない。   The transmission antenna 111 converts the command transmitted by the transmission unit 101 into a radio wave and transmits the radio wave. In the present embodiment, it is assumed that one or more transmission antennas 111 can be connected to one transmission unit 101. The shape, structure, directivity, and the like of the transmission antenna 111 are not particularly limited as long as they can be used for communication with the RFID tag.

受信アンテナ112は、RFIDタグ等から送信される電波を受信して受信部103に送信する。本実施の形態においては、一の受信部103に対して1以上の受信アンテナ112が接続可能であるものとする。本実施の形態においては、特に、受信アンテナ112は、1以上の送信アンテナ111と対をなしている場合について説明する。すなわち、ここでは、受信アンテナ112の数と送信アンテナ111の数とは、同数であり、一対一で対応しているものとする。受信アンテナ112の形状や構造、指向性等は、RFIDタグとの通信に利用可能なものであれば、問わない。なお、一対の送信アンテナ111と受信アンテナ112とを、一の送受信アンテナで実現してもよいことはいうまでもない。   The receiving antenna 112 receives a radio wave transmitted from an RFID tag or the like and transmits it to the receiving unit 103. In this embodiment, it is assumed that one or more receiving antennas 112 can be connected to one receiving unit 103. In the present embodiment, a case where reception antenna 112 is paired with one or more transmission antennas 111 will be described in particular. That is, here, it is assumed that the number of reception antennas 112 and the number of transmission antennas 111 are the same and correspond one-to-one. The shape, structure, directivity, and the like of the receiving antenna 112 are not particularly limited as long as they can be used for communication with the RFID tag. Needless to say, the pair of transmission antennas 111 and reception antennas 112 may be realized by a single transmission / reception antenna.

次に、通信処理装置1の動作について図2のフローチャートを用いて説明する。なお、ここでは、まず、所望のコマンドの送信の指示を、送信指示受付部102が、外部のコンピュータ等の上位システムから受け付けた場合を例に挙げて説明する。   Next, the operation of the communication processing apparatus 1 will be described using the flowchart of FIG. Here, first, a case where the transmission instruction reception unit 102 receives an instruction to transmit a desired command from an upper system such as an external computer will be described as an example.

(ステップS201)通信処理装置1は、前回の送信期間の終了から所定の時間が経過しているか否かを判断する。所定の時間は、例えば、通信処理装置1が、UHF帯のRFIDタグ用の通信処理装置である場合、日本においては、電波の法律に基づいて、少なくとも、50ms以上の時間、もしくは、この50msから、LBT処理に要する時間を減算した時間に設定される。所定の時間が経過している場合、ステップS202へ進み、経過していない場合、ステップS201に戻る。なお、この処理は、通信制御部110等、通信処理装置1の、どの部により行うようにしても良い。   (Step S201) The communication processing apparatus 1 determines whether or not a predetermined time has elapsed since the end of the previous transmission period. For example, when the communication processing device 1 is a communication processing device for an RFID tag in the UHF band, the predetermined time is at least 50 ms or more based on radio law in Japan. , It is set to a time obtained by subtracting the time required for the LBT process. If the predetermined time has elapsed, the process proceeds to step S202. If not, the process returns to step S201. This process may be performed by any part of the communication processing device 1 such as the communication control unit 110.

(ステップS202)アンテナ数判断部107は、送信部101に接続されている送信アンテナ111のアンテナ数M(Mは1以上の整数)を取得する。なお、通常は、受信部103に接続されている受信アンテナ112の数も送信アンテナ111のアンテナ数Mと同様であるので、受信部103に接続されている受信アンテナ112の数を取得しても良い。アンテナ数判断部107は、送信部101のポートに接続されているアンテナ数を検出しても良いし、予め図示しないメモリ等に格納されている、ユーザや、上位システム等が指定するアンテナ数を示す情報を読み出して、アンテナ数を取得しても良い。   (Step S202) The antenna number determination unit 107 acquires the number M of antennas (M is an integer of 1 or more) of the transmission antenna 111 connected to the transmission unit 101. Normally, the number of reception antennas 112 connected to the reception unit 103 is also the same as the number M of antennas of the transmission antenna 111, so even if the number of reception antennas 112 connected to the reception unit 103 is acquired. good. The number-of-antennas determination unit 107 may detect the number of antennas connected to the port of the transmission unit 101, or the number of antennas specified in advance by a user, a higher system, or the like stored in a memory (not shown) or the like. The number of antennas may be acquired by reading the indicated information.

(ステップS203)アンテナ数判断部107は、ステップS204で取得したアンテナ数Mの値が2以上であるか否かを判断する。2以上でない場合、ステップS204に進み、2以上である場合、ステップS205に進む。   (Step S203) The antenna number determination unit 107 determines whether or not the value of the number of antennas M acquired in step S204 is 2 or more. When it is not 2 or more, the process proceeds to step S204, and when it is 2 or more, the process proceeds to step S205.

(ステップS204)通信処理装置1は、アンテナ数Mが一の場合の通信処理である第一通信処理を行う。そして、第一通信処理終了後、処理を終了する。なお、第一通信処理については、図3を用いて後述する。   (Step S204) The communication processing device 1 performs a first communication process that is a communication process when the number M of antennas is one. And a process is complete | finished after completion | finish of a 1st communication process. The first communication process will be described later with reference to FIG.

(ステップS205)通信処理装置1は、アンテナ数Mが2以上の場合の通信処理である第二通信処理を行う。そして、第二通信処理終了後、処理を終了する。なお、第二通信処理については、図4を用いて後述する。   (Step S205) The communication processing device 1 performs a second communication process that is a communication process when the number M of antennas is 2 or more. And a process is complete | finished after completion | finish of a 2nd communication process. The second communication process will be described later with reference to FIG.

なお、予め、アンテナ数が2以上であるか否かの情報が予め分かっている場合においては、ステップS202およびステップS203の代わりに、第一通信処理と第二通信処理のいずれを行うかを指定する情報を、アンテナ数判断部107が送信指示受付部102等を介して受け付けるようにし、アンテナ数判断部107は、この受け付けた情報が示す第一通信処理と第二通信処理とのいずれか一方を実行することを判断するようにしてもよく、このような場合においても、結果的には、実質的にアンテナ数が2以上であるか否かを判断したことと同じこととなる。
なお、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。
If information about whether or not the number of antennas is 2 or more is known in advance, it is specified whether to perform the first communication process or the second communication process instead of step S202 and step S203. The number-of-antenna determination unit 107 receives the information to be transmitted via the transmission instruction reception unit 102 and the like, and the number-of-antenna determination unit 107 selects either the first communication process or the second communication process indicated by the received information. In such a case, the result is substantially the same as determining whether the number of antennas is 2 or more.
In the flowchart of FIG. 2, the process is terminated by powering off or a process termination interrupt.

次に、図2のステップS204の、第一通信処理について、図3のフローチャートを用いて説明する。   Next, the first communication process in step S204 of FIG. 2 will be described using the flowchart of FIG.

(ステップS301)空きチャンネル検出部109は、カウンタnに1を代入する。   (Step S301) The free channel detection unit 109 substitutes 1 for a counter n.

(ステップS302)空きチャンネル検出部109は、受信部103が受信する情報を用いて、空きチャンネルを検出する処理を実行する。空きチャンネル検出部109が実行する空きチャンネルを検出する処理は、例えば、LBT処理である。なお、LBT処理については公知技術であるので説明は省略する。   (Step S302) The free channel detection unit 109 executes processing for detecting a free channel using information received by the reception unit 103. The process for detecting an empty channel executed by the empty channel detection unit 109 is, for example, an LBT process. Since the LBT process is a known technique, a description thereof will be omitted.

(ステップS303)空きチャンネル検出部109は、ステップS302の処理により、空きチャンネルが検出できたか否かを判断する。空きチャンネルが検出できた場合、ステップS307に進み、検出できなかった場合、ステップS304に進む。   (Step S303) The empty channel detection unit 109 determines whether or not an empty channel has been detected by the process of step S302. If an empty channel can be detected, the process proceeds to step S307, and if it cannot be detected, the process proceeds to step S304.

(ステップS304)空きチャンネル検出部109は、カウンタnの値が、L(Lは2以上の整数)以上であるか否かを判断する。このLの値は、LBT処理を繰り返す際の、繰り返し数の上限値である。このLの値は、予めユーザ等により指定されているものとする。ただし、上位システム等から、送信指示受付部102等を介して受け付けても良い。L以上である場合、ステップS305に進み、L以上でない場合、ステップS306に進む。   (Step S304) The free channel detection unit 109 determines whether or not the value of the counter n is equal to or greater than L (L is an integer equal to or greater than 2). The value of L is an upper limit value of the number of repetitions when the LBT process is repeated. It is assumed that the value of L is designated in advance by the user or the like. However, it may be received from the host system or the like via the transmission instruction receiving unit 102 or the like. If it is greater than or equal to L, the process proceeds to step S305, and if not greater than L, the process proceeds to step S306.

(ステップS305)出力部104は、空きチャンネルがないことを示す情報をコンピュータ等の上位システム等に出力する。そして上位関数にリターンする。なお、空きチャンネルがないことを示す情報は、通信に失敗したことや、エラーが発生したこと等を示す情報であってもよい。また、空きチャンネルがないことを示す情報を送信しない場合、この処理は省略してもよい。また、更に所定時間待機した後、再度ステップS302からの処理を行うようにしてもよい。   (Step S305) The output unit 104 outputs information indicating that there is no empty channel to a higher system such as a computer. Then, the process returns to the upper function. Note that the information indicating that there is no empty channel may be information indicating that communication has failed or an error has occurred. In addition, this process may be omitted when information indicating that there is no empty channel is not transmitted. Further, after waiting for a predetermined time, the processing from step S302 may be performed again.

(ステップS306)空きチャンネル検出部109は、カウンタnを1インクリメントする。そして、ステップS302に戻る。   (Step S306) The free channel detection unit 109 increments the counter n by 1. Then, the process returns to step S302.

(ステップS307)不在検出部105は、カウンタpに1を代入する。   (Step S307) The absence detection unit 105 substitutes 1 for the counter p.

(ステップS308)通信処理装置1は、RFIDタグとの通信を行う。具体的には、送信指示受付部102が受け付けた送信指示に応じたコマンドを送信部101が送信アンテナ111を用いて送信し、そのコマンドの送信に応じてRFIDタグが送信する情報を、受信部103が受信アンテナ112を用いて受信する。受信した情報を出力部104から上位システム等に出力する。また、1以上のRFIDタグからの情報が受信できた場合、全てのRFIDタグからの受信が終了するまで、もしくは予め設定した時間に達するまで、コマンドの送信およびRFIDタグからの情報の受信を繰り返す。また、コリジョン等が発生している場合、アンチコリジョン処理等を行って通信を行う。この通信の際の送受信の制御等は、通信制御部110等が適宜行う。このRFIDタグとの通信は、通常、送信部101によりコマンドを送信してから、所定の時間内に、受信部103が、コリジョンの発生を検出せず、RFIDタグからのレスポンスを受信しなかった場合に終了する。   (Step S308) The communication processing device 1 performs communication with the RFID tag. Specifically, the transmission unit 101 transmits a command according to the transmission instruction received by the transmission instruction reception unit 102 using the transmission antenna 111, and the information transmitted by the RFID tag in response to the transmission of the command is received by the reception unit. 103 receives using the receiving antenna 112. The received information is output from the output unit 104 to the host system or the like. If information from one or more RFID tags can be received, command transmission and information reception from the RFID tags are repeated until reception from all RFID tags is completed or until a preset time is reached. . Further, when a collision or the like occurs, communication is performed by performing an anti-collision process or the like. The communication control unit 110 or the like appropriately performs transmission / reception control and the like during this communication. In communication with the RFID tag, normally, after a command is transmitted by the transmission unit 101, the reception unit 103 did not detect the occurrence of a collision and did not receive a response from the RFID tag within a predetermined time. If finished.

(ステップS309)不在検出部105は、RFIDタグが不在であるか否かを検出する。ステップS308における送信部101からのコマンドの送信に対して、一度もレスポンスがなかった場合に、RFIDタグとの通信が成功しなかったと判断され、レスポンスがあった場合、不在でない、すなわちRFIDタグが存在すると判断する。なお、RFIDタグとの通信が成功したか否かを判断して、RFIDタグが不在であるか否かを検出してもよい。この場合、RFIDタグとの通信が失敗した時は、RFIDタグが不在であることを検出し、RFIDタグとの通信が成功した時は、RFIDタグが存在していることを検出するようにすればよい。RFIDタグが不在である場合、ステップS310に進み、RFIDタグが存在していた場合、ステップS308において、通信が成功したことを示すこととなるため、上位関数にリターンする。   (Step S309) The absence detection unit 105 detects whether or not the RFID tag is absent. If there is no response to the transmission of the command from the transmission unit 101 in step S308, it is determined that communication with the RFID tag has not been successful, and if there is a response, it is not absent, that is, the RFID tag Judge that it exists. Note that it may be determined whether or not the RFID tag is absent by determining whether or not the communication with the RFID tag is successful. In this case, when the communication with the RFID tag fails, the absence of the RFID tag is detected, and when the communication with the RFID tag is successful, the presence of the RFID tag is detected. That's fine. If the RFID tag is absent, the process proceeds to step S310. If the RFID tag is present, in step S308, the communication is successful, and the process returns to the upper function.

(ステップS310)不在検出部105は、カウンタpの値が、R(Rは2以上の整数)以上であるか否かを判断する。このRの値は、送信部101にコマンドを再送させる処理の、繰り返し数の上限値である。このRの値は、予めユーザ等により指定されているものとする。ただし、上位システム等から、送信指示受付部102等を介して受け付けても良い。R以上である場合、ステップS311に進み、R以上でない場合、ステップS312に進む。   (Step S310) The absence detection unit 105 determines whether or not the value of the counter p is equal to or greater than R (R is an integer equal to or greater than 2). The value of R is an upper limit value of the number of repetitions of processing for causing the transmission unit 101 to retransmit the command. The value of R is assumed to be designated in advance by the user or the like. However, it may be received from the host system or the like via the transmission instruction receiving unit 102 or the like. If it is greater than or equal to R, the process proceeds to step S311, and if not greater than R, the process proceeds to step S312.

(ステップS311)出力部104は、RFIDタグが通信エリア内にないことを示す情報をコンピュータ等の上位システム等に出力する。そして上位関数にリターンする。なお、RFIDタグが通信エリア内にないことを示す情報は、通信に失敗したことや、エラーが発生したこと等を示す情報であってもよい。また、RFIDタグが通信エリア内にないことを示す情報を送信しない場合、この処理は省略してもよい。また、更に所定時間待機した後、再度ステップS301からの処理を行うようにしてもよい。この場合の所定の時間は、送信停止時間であり、UHF帯のRFIDタグ用の通信処理装置1の場合、少なくとも、50msまたは50msからLBT処理に要する時間を減算した時間以上に設定する必要がある。   (Step S311) The output unit 104 outputs information indicating that the RFID tag is not in the communication area to a host system such as a computer. Then, the process returns to the upper function. Note that the information indicating that the RFID tag is not in the communication area may be information indicating that communication has failed or an error has occurred. Further, this process may be omitted when information indicating that the RFID tag is not in the communication area is not transmitted. Further, after waiting for a predetermined time, the processing from step S301 may be performed again. The predetermined time in this case is a transmission stop time. In the case of the communication processing device 1 for UHF band RFID tags, it is necessary to set at least a time obtained by subtracting the time required for the LBT processing from 50 ms or 50 ms. .

(ステップS312)不在検出部105は、カウンタpを1インクリメントする。   (Step S312) The absence detection unit 105 increments the counter p by 1.

(ステップS313)再送指示部106は、送信部101に一の送信期間内におけるコマンドの再送を指示する。そして、ステップS308に戻る。   (Step S313) The retransmission instruction unit 106 instructs the transmission unit 101 to retransmit a command within one transmission period. Then, the process returns to step S308.

なお、図3のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 3, the process ends when the power is turned off or the process is terminated.

次に、図2のステップS205の、第二通信処理について、図4のフローチャートを用いて説明する。   Next, the second communication process in step S205 of FIG. 2 will be described using the flowchart of FIG.

(ステップS401)切替指示部108は、カウンタkに1を代入する。   (Step S401) The switching instruction unit 108 substitutes 1 for the counter k.

(ステップS402)切替指示部108は、送信部101および受信部103に、送信および受信に利用する送信アンテナ111および受信アンテナ112を、k番目の送信アンテナ111および受信アンテナ112に切り替える指示を出す。   (Step S402) The switching instruction unit 108 instructs the transmission unit 101 and the reception unit 103 to switch the transmission antenna 111 and the reception antenna 112 used for transmission and reception to the kth transmission antenna 111 and the reception antenna 112.

(ステップS403)空きチャンネル検出部109は、受信部103が、k番目の受信アンテナ112を用いて受信する情報を用いて、空きチャンネルを検出する処理を実行する。空きチャンネル検出部109が実行する空きチャンネルを検出する処理は、例えば、LBT処理である。なお、LBT処理については公知技術であるので説明は省略する。   (Step S403) The vacant channel detection unit 109 executes processing for detecting an vacant channel using information received by the reception unit 103 using the kth reception antenna 112. The process for detecting an empty channel executed by the empty channel detection unit 109 is, for example, an LBT process. Since the LBT process is a known technique, a description thereof will be omitted.

(ステップS404)空きチャンネル検出部109は、ステップS403の処理により、空きチャンネルが検出できたか否かを判断する。空きチャンネルが検出できた場合、ステップS408に進み、検出できなかった場合、ステップS405に進む。   (Step S404) The free channel detection unit 109 determines whether or not a free channel has been detected by the process of step S403. If an empty channel can be detected, the process proceeds to step S408, and if it cannot be detected, the process proceeds to step S405.

(ステップS405)出力部104は、k番目の送信アンテナ111および受信アンテナ112を用いた場合に、空きチャンネルがないことを示す情報をコンピュータ等の上位システム等に出力する。そして上位関数にリターンする。なお、空きチャンネルがないことを示す情報は、通信に失敗したことや、エラーが発生したこと等を示す情報であってもよい。また、空きチャンネルがないことを示す情報を送信しない場合、この処理は省略してもよい。そして、ステップS406に進む。   (Step S405) When the k-th transmitting antenna 111 and receiving antenna 112 are used, the output unit 104 outputs information indicating that there is no empty channel to a higher system such as a computer. Then, the process returns to the upper function. Note that the information indicating that there is no empty channel may be information indicating that communication has failed or an error has occurred. In addition, this process may be omitted when information indicating that there is no empty channel is not transmitted. Then, the process proceeds to step S406.

(ステップS406)切替指示部108は、カウンタkがアンテナ数M以上であるか否かを判断する。M以上である場合、上位関数にリターンし、M以上でない場合、ステップS407に進む。なお、M以上である場合、また、再度ステップS401からの処理を行うようにしてもよい。   (Step S406) The switching instruction unit 108 determines whether or not the counter k is equal to or greater than the number M of antennas. If it is greater than or equal to M, the process returns to the upper function, and if not greater than M, the process proceeds to step S407. In addition, when it is M or more, you may make it perform the process from step S401 again.

(ステップS407)切替指示部108は、カウンタkを1インクリメントする。そして、ステップS402に戻る。   (Step S407) The switching instruction unit 108 increments the counter k by 1. Then, the process returns to step S402.

(ステップS408)通信処理装置1は、k番目の送信アンテナ111および受信アンテナ112を用いて、RFIDタグとの通信を行う。具体的には、送信指示受付部102が受け付けた送信指示に応じたコマンドを送信部101が送信アンテナ111を用いて送信し、そのコマンドの送信に応じてRFIDタグが送信する情報を、受信部103が受信アンテナ112を用いて受信する。受信した情報を出力部104から上位システム等に出力する。また、1以上のRFIDタグからの情報が受信できた場合、全てのRFIDタグからの受信が終了するまで、もしくは予め設定した時間に達するまで、コマンドの送信およびRFIDタグからの情報の受信を繰り返す。また、コリジョン等が発生している場合、アンチコリジョン処理等を行って通信を行う。この通信の際の送受信の制御等は、通信制御部110等が適宜行う。このRFIDタグとの通信処理は、通常、送信部101によりコマンドを送信してから、所定の時間内に、受信部103が、コリジョンの発生を検出せず、RFIDタグからのレスポンスを受信しなかった場合に終了する。   (Step S <b> 408) The communication processing apparatus 1 performs communication with the RFID tag using the kth transmission antenna 111 and reception antenna 112. Specifically, the transmission unit 101 transmits a command according to the transmission instruction received by the transmission instruction reception unit 102 using the transmission antenna 111, and the information transmitted by the RFID tag in response to the transmission of the command is received by the reception unit. 103 receives using the receiving antenna 112. The received information is output from the output unit 104 to the host system or the like. If information from one or more RFID tags can be received, command transmission and information reception from the RFID tags are repeated until reception from all RFID tags is completed or until a preset time is reached. . Further, when a collision or the like occurs, communication is performed by performing an anti-collision process or the like. The communication control unit 110 or the like appropriately performs transmission / reception control and the like during this communication. In the communication processing with the RFID tag, normally, the receiving unit 103 does not detect the occurrence of the collision and does not receive the response from the RFID tag within a predetermined time after the transmission unit 101 transmits the command. Exit if

(ステップS409)不在検出部105は、k番目の送信アンテナ111および受信アンテナ112の通信エリアに、RFIDタグが不在であるか否かを検出する。ステップS408における送信部101からのコマンドの送信に対して、一度もレスポンスがなかった場合に、RFIDタグとの通信が成功しなかったと判断され、レスポンスがあった場合、不在でない、すなわちRFIDタグが存在すると判断する。なお、RFIDタグとの通信が成功したか否かを判断して、RFIDタグが不在であるか否かを検出してもよい。この場合、RFIDタグとの通信が失敗した時は、RFIDタグが不在であることを検出し、RFIDタグとの通信が成功した時は、RFIDタグが存在していることを検出するようにすればよい。RFIDタグが不在である場合、ステップS411に進み、RFIDタグが存在していた場合、ステップS408において、通信が成功したことを示すこととなるため、ステップS410に進む。   (Step S409) The absence detection unit 105 detects whether or not the RFID tag is absent in the communication area of the kth transmission antenna 111 and reception antenna 112. If there is no response to the transmission of the command from the transmission unit 101 in step S408, it is determined that communication with the RFID tag has not been successful, and if there is a response, it is not absent, that is, the RFID tag Judge that it exists. Note that it may be determined whether or not the RFID tag is absent by determining whether or not the communication with the RFID tag is successful. In this case, when the communication with the RFID tag fails, the absence of the RFID tag is detected, and when the communication with the RFID tag is successful, the presence of the RFID tag is detected. That's fine. If the RFID tag is absent, the process proceeds to step S411. If the RFID tag is present, in step S408, it indicates that the communication has been successful, and the process proceeds to step S410.

(ステップS410)通信処理装置1は、ステップS408における送受信の終了から所定の時間が経過しているか否かを判断する。所定の時間は、送信停止期間の時間であり、例えば、通信処理装置1が、UHF帯のRFIDタグ用の通信処理装置である場合、日本においては、電波の法律に基づいて、少なくとも、50ms以上の時間、もしくは、この50msから、LBT処理に要する時間を減算した時間に設定される。所定の時間が経過している場合、ステップS406へ進み、経過していない場合、ステップS410に戻る。なお、この処理は、通信制御部110等の、通信処理装置1のどの部が行うようにしてもよい。   (Step S410) The communication processing apparatus 1 determines whether or not a predetermined time has elapsed since the end of transmission / reception in step S408. The predetermined time is the time of the transmission stop period. For example, when the communication processing device 1 is a communication processing device for an RFID tag in the UHF band, in Japan, at least 50 ms or more based on radio law. Or the time obtained by subtracting the time required for the LBT processing from this 50 ms. If the predetermined time has elapsed, the process proceeds to step S406. If not, the process returns to step S410. This process may be performed by any part of the communication processing apparatus 1 such as the communication control unit 110.

(ステップS411)出力部104は、RFIDタグがk番目のアンテナの通信エリア内にないことを示す情報をコンピュータ等の上位システム等に出力する。そしてステップS410に進む。なお、RFIDタグがk番目のアンテナの通信エリア内にないことを示す情報は、通信に失敗したことや、エラーが発生したこと等を示す情報であってもよい。また、RFIDタグがk番目のアンテナの通信エリア内にないことを示す情報を送信しない場合、この処理は省略してもよい。なお、ステップS411の処理は、例えば、ステップS407やステップS403の前後に実行するようにしても良い。   (Step S411) The output unit 104 outputs information indicating that the RFID tag is not within the communication area of the k-th antenna to a host system such as a computer. Then, the process proceeds to step S410. Note that the information indicating that the RFID tag is not within the communication area of the k-th antenna may be information indicating that communication has failed or an error has occurred. In addition, this process may be omitted when information indicating that the RFID tag is not within the communication area of the k-th antenna is not transmitted. Note that the process of step S411 may be executed before or after step S407 or step S403, for example.

なお、図4のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 4, the process ends when the power is turned off or the process ends.

以下、本実施の形態における通信処理装置1の具体的な動作について説明する。通信処理装置1の概念図は図5である。図5は、通信処理装置1を、倉庫等の荷物の搬入口に設置した例を示す図である。ここでは、送信アンテナ111と受信アンテナ112とを兼用した4つの送受信アンテナ150a〜150dが、搬入口のゲート等に設置されているものとする。通信処理装置1は、4つの送受信用のポート151を有しており、送受信アンテナ150a〜150dがそれぞれのポート151に接続されているものとする。ここでは、倉庫等に搬入される荷物にRFIDタグ50が添付されることにより、搬入される荷物の管理が可能となっている。RFIDタグ50としてはUHF帯のRFIDタグが用いられているものとする。また通信処理装置1は、荷物等に添付されたタグから読み出した情報を用いて、荷物等を管理するための上位システムであるコンピュータ200と接続されているものとする。   Hereinafter, a specific operation of the communication processing apparatus 1 in the present embodiment will be described. The conceptual diagram of the communication processing apparatus 1 is FIG. FIG. 5 is a diagram illustrating an example in which the communication processing device 1 is installed at a cargo entrance of a warehouse or the like. Here, it is assumed that four transmission / reception antennas 150a to 150d that serve as both the transmission antenna 111 and the reception antenna 112 are installed at the gate of the carry-in entrance or the like. The communication processing apparatus 1 has four transmission / reception ports 151, and transmission / reception antennas 150a to 150d are connected to the respective ports 151. Here, the RFID tag 50 is attached to a package that is carried into a warehouse or the like, so that the package that is carried in can be managed. It is assumed that a UHF band RFID tag is used as the RFID tag 50. Further, it is assumed that the communication processing apparatus 1 is connected to a computer 200 that is a higher-level system for managing a package or the like using information read from a tag attached to the package or the like.

ここで、まず、例として、通信処理装置1が、送受信アンテナ150aのみを利用して、RFIDタグと通信を行うように設定されている場合について説明する。この送受信アンテナ150aのみを使用することを設定する情報は、図示しないメモリ等に格納されているものとする。   Here, first, as an example, a case will be described in which the communication processing device 1 is set to communicate with the RFID tag using only the transmission / reception antenna 150a. It is assumed that information for setting to use only the transmission / reception antenna 150a is stored in a memory or the like (not shown).

まず、コンピュータ200が、通信処理装置1に対して、荷物に添付されているRFIDタグ50を読み出す指示を、通信回線を通じて出力したとする。   First, it is assumed that the computer 200 outputs an instruction to read the RFID tag 50 attached to the package to the communication processing device 1 through the communication line.

通信処理装置1は、コンピュータ200からRFIDタグ50を読み出す指示を受け付けると、直前に行われた送受信処理の終了時から、予め設定されている所定の時間、ここでは50ms、経過したか否かを判断する。ここでは、50ms経過していたとする。   When the communication processing apparatus 1 receives an instruction to read the RFID tag 50 from the computer 200, the communication processing apparatus 1 determines whether or not a predetermined time set in advance, 50 ms, has elapsed since the end of the transmission / reception process performed immediately before. to decide. Here, it is assumed that 50 ms has elapsed.

次に、アンテナ数判断部107は、アンテナ数Mを判断する。ここでは、予め、送受信アンテナ150aのみを使用することを設定する情報がメモリ等に格納されているため、この情報をアンテナ数判断部107が読み出す。読み出した情報から、利用するアンテナ数をカウントし、ここでは、アンテナ数Mとして「1」を取得する。そして、アンテナ数判断部107は、アンテナ数Mが2以上でないと判断する。これにより、通信処理装置1においては、図3において説明した第一通信処理が行われることとなる。   Next, the antenna number determination unit 107 determines the number of antennas M. Here, since information for setting to use only the transmission / reception antenna 150a is stored in a memory or the like in advance, the number-of-antenna determination unit 107 reads out this information. The number of antennas to be used is counted from the read information, and “1” is acquired as the number of antennas M here. Then, the antenna number determination unit 107 determines that the antenna number M is not 2 or more. Thereby, in the communication processing apparatus 1, the 1st communication process demonstrated in FIG. 3 will be performed.

空きチャンネル検出部109は、受信部103が受信するノイズ等の情報を用いて、空きチャンネルを検出するための、LBT処理を行う。このLBT処理の時間は、例えば、UHF帯のLBT処理時間として、最低必要とされる5msに予め設定されているものとする。ここで、一のLBT処理により、空きチャンネルが検出されなかったとすると、このLBT処理を、予め設定されている繰り返しの上限回数に達するか、もしくは空きチャンネルか検出されるまで繰り返す。繰り返しの上限回数は、例えば、ここでは最初のLBT処理も含めて3回に設定されているとする。ここでは、1つの送受信アンテナ150aしか利用しないため、この送受信アンテナ150aで空きチャンネルを検出する処理を繰り返しても、他の送受信アンテナによる送受信に何ら影響は与えない。   The empty channel detection unit 109 performs LBT processing for detecting an empty channel using information such as noise received by the reception unit 103. It is assumed that the LBT processing time is set in advance to 5 ms, which is the minimum required, for example, as the UHF band LBT processing time. Here, if an empty channel is not detected by one LBT process, this LBT process is repeated until a preset upper limit number of times is reached or an empty channel is detected. For example, it is assumed here that the upper limit number of repetitions is set to 3 times including the first LBT process. Here, since only one transmission / reception antenna 150a is used, repeated transmission / reception processing by this transmission / reception antenna 150a does not affect transmission / reception by other transmission / reception antennas.

LBT処理の繰り返しが3回行われた時点で、空きチャンネルが検出されなかった場合、「空きチャンネルなし」を示す情報が、出力部104から、コンピュータ200に送信される。例えば、コンピュータ200においては、この「空きチャンネルなし」を示す情報により、読み出し処理が成功しなかったことを検知することができる。例えば、図6に、RFIDタグ50と通信処理装置1との送受信処理と、LBT処理との関係を示すタイミングチャートを示す。図に示すように、直前に行われた送受信処理から50ms経過後に、LBT処理が開始され、3回分のLBT処理が繰り返された後、LBT処理が終了する。なお、図6に示したタイミングチャートにおいて、時間軸方向の長さは、説明のため、部分毎に、適宜、時間の比率等が変更されているものとする。かかることは他のタイミングチャートにおいても同様である。   If no empty channel is detected when the LBT process is repeated three times, information indicating “no empty channel” is transmitted from the output unit 104 to the computer 200. For example, in the computer 200, it is possible to detect that the reading process was not successful based on the information indicating “no available channel”. For example, FIG. 6 shows a timing chart showing the relationship between the transmission / reception processing between the RFID tag 50 and the communication processing device 1 and the LBT processing. As shown in the figure, the LBT process is started 50 ms after the transmission / reception process performed immediately before, and the LBT process is completed after three LBT processes are repeated. In the timing chart shown in FIG. 6, the length in the time axis direction is assumed to be appropriately changed for each portion for the sake of explanation. The same applies to other timing charts.

ここでは、例えば、LBT処理が2回繰り返された時点で、空きチャンネルが検出されたとする。この場合、この空きチャンネルを利用して、通信処理装置1により、RFIDタグ50との通信が開始される。   Here, for example, it is assumed that an empty channel is detected when the LBT process is repeated twice. In this case, communication with the RFID tag 50 is started by the communication processing device 1 using this empty channel.

送信部101から、送受信アンテナ150aを介して、RFIDタグ50を読み出すコマンドが送信される。RFIDタグ50が、送受信アンテナ150aの通信エリア内に存在した場合、すなわちRFIDタグ50が添付された荷物が送受信アンテナ150aが取り付けられたゲート内に存在した場合、RFIDタグ50が、送信部101から送信されたコマンドに応じて、情報を送信する。そして、この情報が送受信アンテナ150aを介して、受信部103に受信される。そして、受信された情報が、コンピュータ200に出力部104から送信される。この処理が、全てのRFIDタグ50の読み出しが終了するまで繰り返される。ただし、繰り返しの上限時間は、日本の電波の法律上、4秒である。これにより、RFIDタグ50の情報が読み出される。このようなRFIDタグからの情報の読み出し処理や、アンチコリジョン処理等は、公知技術であるので、説明は省略する。   A command for reading the RFID tag 50 is transmitted from the transmission unit 101 via the transmission / reception antenna 150a. When the RFID tag 50 exists in the communication area of the transmission / reception antenna 150a, that is, when a package attached with the RFID tag 50 exists in the gate to which the transmission / reception antenna 150a is attached, the RFID tag 50 is removed from the transmission unit 101. Information is transmitted according to the transmitted command. Then, this information is received by the receiving unit 103 via the transmission / reception antenna 150a. Then, the received information is transmitted from the output unit 104 to the computer 200. This process is repeated until reading of all RFID tags 50 is completed. However, the upper limit of repetition is 4 seconds due to Japanese radio law. Thereby, the information of the RFID tag 50 is read. Such reading processing of information from the RFID tag, anti-collision processing, and the like are well-known techniques, and thus description thereof is omitted.

送受信アンテナ150の通信エリア内にRFIDタグ50が存在しなかった場合、送信部101から送信されたコマンドに応じて情報を送信するRFIDタグ50が不在であるため、受信部103では、予め設定した受信のための時間内に、RFIDタグからのレスポンスが得られないこととなる。   When the RFID tag 50 does not exist in the communication area of the transmission / reception antenna 150, the RFID tag 50 that transmits information according to the command transmitted from the transmission unit 101 is absent. The response from the RFID tag cannot be obtained within the time for reception.

不在検出部105は、受信部103の、コマンドに応じてRFIDタグからのレスポンスが得られないという受信状況から、送受信アンテナ150aの通信エリア内にRFIDタグが不在であると判断する。   The absence detection unit 105 determines that the RFID tag is absent in the communication area of the transmission / reception antenna 150a from the reception state that the reception unit 103 cannot obtain a response from the RFID tag according to the command.

この場合、送信期間を終了してしまうと、LBT処理により検出した空きチャンネルを開放してしまうこととなり、効率的でない。このため、送信期間を終了せずに、一の送信期間内において、再送指示部106に、送信部101にコマンドの再送を指示する情報を出力する。送信部101は、再送指示部106からの再送の指示に応じて、コマンドの再送を行う。このような処理の繰り返しを、予め設定されている繰り返しの上限回数に達するか、もしくはRFIDタグ50からのレスポンスが得られるまで繰り返す。繰り返しの上限回数は、例えば、ここでは送信期間開始時の最初のコマンド送信も含めて、4回に設定されているとする。ここでは、1つの送受信アンテナ150aしか利用しないため、RFIDタグからのレスポンスが得られない場合に、送信期間を即座に終了しなくても、通信処理装置1の効率に悪影響を与えることはない。   In this case, when the transmission period ends, an empty channel detected by the LBT process is released, which is not efficient. For this reason, without instructing the transmission period, information for instructing the retransmission of the command to the transmission unit 101 is output to the retransmission instruction unit 106 within one transmission period. The transmission unit 101 performs command retransmission in response to a retransmission instruction from the retransmission instruction unit 106. Such processing is repeated until a preset upper limit number of times is reached or a response from the RFID tag 50 is obtained. For example, it is assumed here that the upper limit number of repetitions is set to four times including the first command transmission at the start of the transmission period. Here, since only one transmission / reception antenna 150a is used, if the response from the RFID tag cannot be obtained, the efficiency of the communication processing apparatus 1 is not adversely affected even if the transmission period is not immediately terminated.

コマンドの送信の繰り返しが4回行われた時点で、RFIDタグ50からのレスポンス得られなかった場合、「RFIDタグなし」を示す情報が、出力部104から、コンピュータ200に送信される。例えば、コンピュータ200においては、この「RFIDタグなし」を示す情報により、読み出すべきRFIDタグがなかったことを検知することができる。例えば、図7に、RFIDタグ50と通信処理装置1との送受信処理と、LBT処理との関係を示すタイミングチャートを示す。図に示すように、3回分のLBT処理が繰り返された時点で、空きチャンネルが検出され、その空きチャンネルを用いて送信部101からのコマンドの送信を合計4回行った結果、「RFIDタグなし」を示す情報が出力される。   When a response from the RFID tag 50 is not obtained when the command transmission is repeated four times, information indicating “no RFID tag” is transmitted from the output unit 104 to the computer 200. For example, the computer 200 can detect that there is no RFID tag to be read based on the information indicating “no RFID tag”. For example, FIG. 7 shows a timing chart showing the relationship between the transmission / reception processing between the RFID tag 50 and the communication processing device 1 and the LBT processing. As shown in the figure, when the LBT process for three times is repeated, an empty channel is detected, and a command is transmitted from the transmission unit 101 four times using the empty channel. "Is output.

ここで、例えば、コマンドの送信の繰り返しが4回行われるまでに、RFIDタグ50からのレスポンスが得られた場合、送信部101や受信部103により、送受信アンテナ150aを用いた通常の読み出し処理が実行される。例えば、図8に示すように、一の送信期間内における二回目のコマンドの送信に対して、RFIDタグ50から初めてレスポンスが得られた場合、それ以降は、RFIDタグ50からの読み出しが終了するまで、通常の送受信処理、ここでは、RFIDタグ50からの情報の読み出しが行われる。   Here, for example, when a response from the RFID tag 50 is obtained before the command transmission is repeated four times, the transmission unit 101 and the reception unit 103 perform normal reading processing using the transmission / reception antenna 150a. Executed. For example, as shown in FIG. 8, when a response is first obtained from the RFID tag 50 for the second transmission of a command within one transmission period, reading from the RFID tag 50 ends thereafter. Until this time, normal transmission / reception processing, here, reading of information from the RFID tag 50 is performed.

次に、例として、通信処理装置1が、4つの送受信アンテナ150a〜150dをそれぞれ順番に利用して、RFIDタグと通信を行うように設定されている場合について説明する。この送受信アンテナ150a〜150dを使用することを設定する情報は、図示しないメモリ等に格納されているものとする。   Next, as an example, a case will be described in which the communication processing device 1 is set to communicate with the RFID tag using the four transmission / reception antennas 150a to 150d in order. It is assumed that information for setting use of the transmission / reception antennas 150a to 150d is stored in a memory or the like (not shown).

通信処理装置1は、コンピュータ200からRFIDタグ50を読み出す指示を受け付けると、直前に行われた送受信処理の終了時から、予め設定されている所定の時間、ここでは50ms、経過したか否かを判断する。ここでは、50ms経過していたとする。   When the communication processing apparatus 1 receives an instruction to read the RFID tag 50 from the computer 200, the communication processing apparatus 1 determines whether or not a predetermined time set in advance, 50 ms, has elapsed since the end of the transmission / reception process performed immediately before. to decide. Here, it is assumed that 50 ms has elapsed.

次に、アンテナ数判断部107は、メモリ等に格納されている送受信アンテナ150a〜150dを利用することを設定する情報を読み出し、この読み出した情報から、利用するアンテナ数をカウントし、ここでは、アンテナ数Mとして「4」を取得する。そして、アンテナ数判断部107は、アンテナ数Mが2以上であると判断する。これにより、通信処理装置1においては、図4において説明した第二通信処理が行われることとなる。   Next, the antenna number determination unit 107 reads information for setting to use the transmission / reception antennas 150a to 150d stored in a memory or the like, and counts the number of antennas to be used from the read information. “4” is acquired as the number of antennas M. Then, the antenna number determination unit 107 determines that the antenna number M is 2 or more. Thereby, in the communication processing apparatus 1, the 2nd communication process demonstrated in FIG. 4 will be performed.

切替指示部108は、まず、1番目の送受信アンテナである送受信アンテナ150aを送受信に使用するアンテナに切り替える指示を、送信部101および受信部103に出力する。この指示に応じて、送信部101および受信部103は、送信および受信に用いるアンテナを送受信アンテナ150aに切り替える。なお、ここでは、結果的に、切替指示が指定するアンテナを、送信部101や受信部103が使用する状態となることを、切り替えることと考える。   The switching instruction unit 108 first outputs an instruction to switch the transmission / reception antenna 150a, which is the first transmission / reception antenna, to the antenna used for transmission / reception to the transmission unit 101 and the reception unit 103. In response to this instruction, the transmission unit 101 and the reception unit 103 switch the antenna used for transmission and reception to the transmission / reception antenna 150a. Here, as a result, it is considered to switch that the antenna specified by the switching instruction is used by the transmission unit 101 and the reception unit 103.

空きチャンネル検出部109は、受信部103が送受信アンテナ150aを用いて受信するノイズ等の情報を用いて、空きチャンネルを検出するための、LBT処理を行う。このLBT処理の時間は、例えば、UHF帯のLBT処理時間として、最低必要とされる5msに予め設定されているものとする。ここで、LBT処理により、空きチャンネルが検出されなかったとすると、切替指示部108は、使用するアンテナを、送受信アンテナ150aから、二番目の送受信アンテナである送受信アンテナ150bに切り替える指示を送信部101および受信部103に出力する。そして、この切り替える指示に応じて選択した送受信アンテナ150bで再び、LBT処理を行う。このように空きチャンネルが見つからない場合に、即座にアンテナを切り替えて、LBT処理を行うことで、複数のアンテナを効率良く利用することができる。   The vacant channel detection unit 109 performs LBT processing for detecting an vacant channel using information such as noise received by the reception unit 103 using the transmission / reception antenna 150a. It is assumed that the LBT processing time is set in advance to 5 ms, which is the minimum required, for example, as the UHF band LBT processing time. Here, assuming that an empty channel is not detected by the LBT process, the switching instruction unit 108 gives an instruction to switch the antenna to be used from the transmission / reception antenna 150a to the transmission / reception antenna 150b which is the second transmission / reception antenna. The data is output to the receiving unit 103. Then, the LBT process is performed again with the transmission / reception antenna 150b selected in accordance with the switching instruction. Thus, when an empty channel is not found, an antenna is switched immediately and LBT processing is performed, so that a plurality of antennas can be used efficiently.

その後、空きチャンネルが見つかるまで、同様に、送受信アンテナ150c、150dを切り替えてLBT処理を行う。送受信アンテナ150dを用いたLBT処理により、空きチャンネルが見つからない場合、LBT処理を終了し、「空きチャンネルなし」を示す情報が、出力部104から、コンピュータ200に送信される。例えば、図9に、RFIDタグ50と通信処理装置1との送受信処理と、LBT処理との関係を示すタイミングチャートを示す。図に示すように、直前に行われた送受信処理から50ms経過後から、送受信アンテナ150a〜150dを順次切り替えながら、LBT処理が開始され、送受信アンテナ150dを用いたLBT処理が繰り返された後、空きチャンネルなし」を示す情報が出力されて、処理が終了する。   Thereafter, until an empty channel is found, similarly, the LBT processing is performed by switching the transmission / reception antennas 150c and 150d. When an empty channel is not found by the LBT process using the transmission / reception antenna 150d, the LBT process is terminated, and information indicating “no empty channel” is transmitted from the output unit 104 to the computer 200. For example, FIG. 9 shows a timing chart showing the relationship between the transmission / reception processing between the RFID tag 50 and the communication processing device 1 and the LBT processing. As shown in the figure, after 50 ms has passed since the transmission / reception process performed immediately before, the LBT process is started while sequentially switching the transmission / reception antennas 150a to 150d, and after the LBT process using the transmission / reception antenna 150d is repeated, there is no free space. Information indicating “no channel” is output, and the process ends.

ここでは、例えば、送受信アンテナ150bを用いたLBT処理において、空きチャンネルが検出されたとする。この場合、この空きチャンネルを利用して、通信処理装置1により、送受信アンテナ150bを用いたRFIDタグ50との通信が開始される。   Here, for example, it is assumed that an empty channel is detected in the LBT processing using the transmission / reception antenna 150b. In this case, communication with the RFID tag 50 using the transmission / reception antenna 150b is started by the communication processing device 1 using this empty channel.

送信部101から、送受信アンテナ150bを介して、RFIDタグ50を読み出すコマンドが送信される。   A command for reading the RFID tag 50 is transmitted from the transmission unit 101 via the transmission / reception antenna 150b.

ここで、送受信アンテナ150bの通信エリア内にRFIDタグ50が存在しなかった場合、送信部101から送信されたコマンドに応じて情報を送信するRFIDタグ50が不在であるため、受信部103では、予め設定した受信のための時間内に、RFIDタグからのレスポンスが得られないこととなる。   Here, when the RFID tag 50 does not exist within the communication area of the transmission / reception antenna 150b, the RFID tag 50 that transmits information according to the command transmitted from the transmission unit 101 is absent. A response from the RFID tag cannot be obtained within a preset time for reception.

不在検出部105は、受信部103の、コマンドに応じてRFIDタグからのレスポンスが得られないという受信状況から、送受信アンテナ150bの通信エリア内にRFIDタグが不在であると判断する。   The absence detection unit 105 determines that the RFID tag is absent in the communication area of the transmission / reception antenna 150b from the reception state that the reception unit 103 cannot obtain a response from the RFID tag according to the command.

この場合、送信期間を継続すると、RFIDタグが不在であるにもかかわらず、他の送受信アンテナを用いたRFIDタグとの送受信ができないため、効率的でない。このため、送信期間を終了する。そして、切替指示部108が、送信部101および受信部103の使用するアンテナを、残りの送受信アンテナ、ここでは、送受信アンテナ150cに切り替える指示を、送信部101および受信部103に出力する。   In this case, if the transmission period is continued, transmission / reception with an RFID tag using another transmission / reception antenna cannot be performed despite the absence of the RFID tag, which is not efficient. For this reason, the transmission period ends. Then, the switching instruction unit 108 outputs an instruction to switch the antenna used by the transmission unit 101 and the reception unit 103 to the remaining transmission / reception antennas, here, the transmission / reception antenna 150c, to the transmission unit 101 and the reception unit 103.

空きチャンネル検出部109は、送受信アンテナ150bの送受信処理の終了から、50ms経過した時点で、送受信アンテナ150cにより受信される情報を用いて、上記と同様にLBT処理を行う。そして、空きチャンネルが検出されたとすると、通信処理装置1により、送受信アンテナ150cを用いたRFIDタグ50との通信が開始される。   The vacant channel detection unit 109 performs LBT processing in the same manner as described above using information received by the transmission / reception antenna 150c when 50 ms elapses from the end of transmission / reception processing of the transmission / reception antenna 150b. If an empty channel is detected, the communication processing device 1 starts communication with the RFID tag 50 using the transmission / reception antenna 150c.

ここでも、送受信アンテナ150cの通信エリア内にRFIDタグ50が存在しなかったとすると、送受信アンテナ150bを用いた場合と同様に、RFIDタグの不在を検知した時点で、送信期間を終了する。そして、切替指示部108が、送信部101および受信部103の使用するアンテナを、残りの送受信アンテナ、ここでは、送受信アンテナ150dに切り替える指示を、送信部101および受信部103に出力する。   Here again, assuming that the RFID tag 50 does not exist in the communication area of the transmission / reception antenna 150c, the transmission period ends when the absence of the RFID tag is detected, as in the case of using the transmission / reception antenna 150b. Then, the switching instruction unit 108 outputs an instruction to switch the antennas used by the transmission unit 101 and the reception unit 103 to the remaining transmission / reception antennas, here, the transmission / reception antenna 150d, to the transmission unit 101 and the reception unit 103.

そして、送受信アンテナを送受信アンテナ150dに切り替えてLBT処理が再度行われる。ここで、送受信アンテナ150dを用いたLBT処理において、空きチャンネルが検出されたとすると、この空きチャンネルを利用して、通信処理装置1により、送受信アンテナ150dを用いたRFIDタグ50との通信が開始される。   Then, the transmission / reception antenna is switched to the transmission / reception antenna 150d, and the LBT process is performed again. Here, if an empty channel is detected in the LBT processing using the transmission / reception antenna 150d, the communication processing device 1 starts communication with the RFID tag 50 using the transmission / reception antenna 150d using the empty channel. The

RFIDタグ50が、送受信アンテナ150dの通信エリア内に存在した場合、RFIDタグ50が、送信部101から送信されたコマンドに応じて、情報を送信する。そして、この情報が送受信アンテナ150dを介して、受信部103に受信される。そして、受信された情報が、コンピュータ200に出力部104から送信される。この処理が、全てのRFIDタグ50の読み出しが終了するまで繰り返される。読み出しが終了した場合、送信期間を終了する。ただし、繰り返しの上限時間は、日本の電波の法律上、4秒である。これにより、RFIDタグ50の情報が読み出される。このようなRFIDタグからの情報の読み出し処理や、アンチコリジョン処理等は、公知技術であるので、説明は省略する。例えば、図10に、送受信アンテナ150b〜150dを用いた際に、空きチャンネルが検出された場合の、RFIDタグ50と通信処理装置1との送受信処理と、LBT処理との関係を示すタイミングチャートを示す。   When the RFID tag 50 exists in the communication area of the transmission / reception antenna 150d, the RFID tag 50 transmits information according to the command transmitted from the transmission unit 101. Then, this information is received by the receiving unit 103 via the transmission / reception antenna 150d. Then, the received information is transmitted from the output unit 104 to the computer 200. This process is repeated until reading of all RFID tags 50 is completed. When the reading is finished, the transmission period is finished. However, the upper limit of repetition is 4 seconds due to Japanese radio law. Thereby, the information of the RFID tag 50 is read. Such reading processing of information from the RFID tag, anti-collision processing, and the like are well-known techniques, and thus description thereof is omitted. For example, FIG. 10 is a timing chart showing the relationship between transmission / reception processing between the RFID tag 50 and the communication processing device 1 and LBT processing when an empty channel is detected when the transmission / reception antennas 150b to 150d are used. Show.

以上、本実施の形態によれば、一の送信期間内にRFIDタグの不在を検出した場合に、送信部101がコマンドの再送を行うようにしたことにより、特に、送信アンテナ111および受信アンテナ112が一つの場合に、検出した空きチャンネルを効率的に利用でき、RFIDタグとの効率的な通信が可能となる。   As described above, according to the present embodiment, when the absence of the RFID tag is detected within one transmission period, the transmission unit 101 retransmits the command, and in particular, the transmission antenna 111 and the reception antenna 112. In such a case, the detected empty channel can be used efficiently, and efficient communication with the RFID tag becomes possible.

また、本実施の形態によれば、送信アンテナ111と受信アンテナ112との対の数が2以上であると判断した場合であって、一の送信期間内にRFIDタグの不在を検出した場合に、送信アンテナ111および受信アンテナ112を切り替えさせる指示を出力するようにし、送信アンテナ111と受信アンテナ112との対の数が2以上でないと判断した場合であって、一の送信期間内にRFIDタグの不在を検出した場合に、送信部101がコマンドの再送を行うようにしたので、利用する送信アンテナ111と受信アンテナ112との数が1対の場合において、RFIDタグが不在である場合には、送信部101にコマンドを再送させて、空きチャンネルを効率的に利用できるようにするとともに、利用する送信アンテナ111と受信アンテナ112との数が2対以上の場合において、RFIDタグが不在である場合には、送信アンテナ111と受信アンテナ112との対を切り替えて、異なる送信アンテナ111と受信アンテナ112とにより、RFIDタグとの通信を行わせて、複数の送信アンテナ111と受信アンテナ112とを効率的に利用できる。このように、本実施の形態によれば、送信アンテナ111と受信アンテナ112との対の数に応じて、各送信アンテナ111および受信アンテナ112を用いた通信時に、RFIDタグが検出されなかった場合のコマンドの再送を行うか否かを変更して、効率的な通信が可能となる。   Further, according to the present embodiment, when it is determined that the number of pairs of the transmission antenna 111 and the reception antenna 112 is two or more, and when the absence of the RFID tag is detected within one transmission period, In this case, an instruction to switch the transmission antenna 111 and the reception antenna 112 is output, and it is determined that the number of pairs of the transmission antenna 111 and the reception antenna 112 is not two or more, and the RFID tag is transmitted within one transmission period. Since the transmission unit 101 resends the command when the absence of the RFID tag is detected, when the number of the transmission antennas 111 and the reception antennas 112 to be used is one pair, the RFID tag is absent. The transmission unit 101 retransmits the command so that the empty channel can be used efficiently, and the transmission antenna 111 and reception used When the number of the antennas 112 is two or more and the RFID tag is absent, the pair of the transmission antenna 111 and the reception antenna 112 is switched, and the RFID tag is changed by the different transmission antenna 111 and reception antenna 112. The plurality of transmission antennas 111 and reception antennas 112 can be efficiently used by performing communication with the communication. Thus, according to the present embodiment, when an RFID tag is not detected during communication using each transmission antenna 111 and reception antenna 112 according to the number of pairs of transmission antenna 111 and reception antenna 112. It is possible to efficiently communicate by changing whether to retransmit the command.

また、本実施の形態によれば、送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、空きチャンネルを検出できなかった場合に、受信アンテナを切り替えて空きチャンネルの検出を行い、送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返すようにしたので、利用する送信アンテナ111と受信アンテナ112との数が1対の場合において、空きチャンネルが検出できない場合には、再度空きチャンネルを検出する処理を行うようにして、効率的に空きチャンネルを検出できるとともに、利用する送信アンテナ111と受信アンテナ112との数が2対以上の場合において、空きチャンネルが検出できない場合には、送信アンテナ111と受信アンテナ112との対を切り替えて、異なる送信アンテナ111と受信アンテナ112とにより、空きチャンネルの検出を行わせることができ、複数の送信アンテナ111と受信アンテナ112とを効率的に利用できる。このように、本実施の形態によれば、送信アンテナ111と受信アンテナ112との対の数に応じて、各送信アンテナ111および受信アンテナ112を用いた空きチャンネル検出時に、空きチャンネルが検出されなかった場合の空きチャンネル処理の繰り返しを行うか否かを変更して、効率的な通信が可能となる。   Further, according to the present embodiment, when it is determined that the number of pairs of transmission antennas and reception antennas is 2 or more and an empty channel cannot be detected, the reception antenna is switched to an empty channel. When the number of pairs of transmission antennas and reception antennas is determined not to be 2 or more, and the empty channel cannot be detected, the detection of the empty channel is repeated. When the number of transmitting antennas 111 and receiving antennas 112 is a pair, and an empty channel cannot be detected, an empty channel can be detected efficiently by performing a process of detecting an empty channel again. An empty channel cannot be detected when the number of transmitting antennas 111 and receiving antennas 112 is two or more. In this case, the pair of the transmission antenna 111 and the reception antenna 112 can be switched, and an empty channel can be detected by the different transmission antenna 111 and reception antenna 112. Can be used efficiently. Thus, according to the present embodiment, an empty channel is not detected when an empty channel is detected using each transmitting antenna 111 and receiving antenna 112 according to the number of pairs of transmitting antenna 111 and receiving antenna 112. In this case, it is possible to efficiently communicate by changing whether or not to repeat the empty channel processing.

なお、本実施の形態では、図3において説明した第一通信処理において、チャンネルに空きがない場合に、最大L回、空きチャンネルを検出する処理、具体的にはLBT処理、を行うようにしたが、予め設定した所定の時間が経過するまで、すなわちタイムアップとなるまで、空きチャンネルを検出する処理を行うようにしても良い。具体的には、図11に示すようフローチャートのように、図3に示したフローチャートにおいて、ステップS301、ステップS304、およびステップS306の代わりに、ステップS1101として、空きチャンネル検出部109が、最初のLBT処理を開始してからの経過時間が、所定の時間を達したか否かを判断し、所定の時間に達した場合に、ステップS305に進み、達していない場合、ステップS302に進む処理ステップを設けるようにすればよい。この時間は、例えば、通信処理装置1内に設けられた図示しない時計等を用いて計測するようにすればよい。なお、図11において、図3と同一符号は同一または相当する処理ステップを示す。   In the present embodiment, in the first communication process described with reference to FIG. 3, when there is no vacant channel, a process of detecting a vacant channel, specifically, an LBT process is performed a maximum of L times. However, the process of detecting an empty channel may be performed until a predetermined time set in advance elapses, that is, until the time is up. Specifically, as in the flowchart shown in FIG. 11, in the flowchart shown in FIG. 3, instead of step S301, step S304, and step S306, the empty channel detection unit 109 performs the first LBT as step S1101. It is determined whether or not the elapsed time from the start of the process has reached a predetermined time. If the predetermined time has been reached, the process proceeds to step S305, and if not, the process proceeds to step S302. What is necessary is just to provide. This time may be measured using, for example, a clock (not shown) provided in the communication processing apparatus 1. In FIG. 11, the same reference numerals as those in FIG. 3 indicate the same or corresponding processing steps.

また、本実施の形態では、図3において説明した第一通信処理において、タグとの通信が成功しなかった場合、すなわち、送信部101からのコマンドの送信に対して、RFIDタグからのレスポンスが得られない場合に、最大R回、送信部101からのコマンド送信を行うようにしたが、予め設定した所定の時間が経過するまで、すなわちタイムアップとなるまで、コマンドを送信する処理を繰り返すようにしても良い。具体的には、図12に示すようフローチャートのように、図3に示したフローチャートにおいて、ステップS307、ステップS310、およびステップS312の代わりに、ステップS1201として、不在検出部105が、送信部101の最初のコマンドの送信開始からの経過時間が、所定の時間を達したか否かを判断し、所定の時間に達した場合に、ステップS311に進み、達していない場合、ステップS313に進む処理ステップを設けるようにすればよい。この時間は、例えば、通信処理装置1内に設けられた図示しない時計等を用いて計測するようにすればよい。なお、図12において、図3と同一符号は同一または相当する処理ステップを示す。   In the present embodiment, in the first communication process described with reference to FIG. 3, when the communication with the tag is not successful, that is, the response from the RFID tag is transmitted with respect to the transmission of the command from the transmission unit 101. If the command cannot be obtained, command transmission from the transmission unit 101 is performed a maximum of R times, but the process of transmitting the command is repeated until a predetermined time elapses, that is, until the time is up. Anyway. Specifically, like the flowchart shown in FIG. 12, in the flowchart shown in FIG. 3, instead of step S307, step S310, and step S312, as the step S1201, the absence detecting unit 105 It is determined whether or not the elapsed time from the start of transmission of the first command has reached a predetermined time. If the predetermined time has been reached, the process proceeds to step S311. If not, the process proceeds to step S313. May be provided. This time may be measured using, for example, a clock (not shown) provided in the communication processing apparatus 1. In FIG. 12, the same reference numerals as those in FIG. 3 denote the same or corresponding processing steps.

なお、上記実施の形態において、送信アンテナおよび受信アンテナの対の数により、RFIDタグが不在である場合にコマンドの再送を行うか否かを、変更するようにしたが、例えば、送信アンテナ111および受信アンテナ112の対を一つしか用いないことが多い場合等においては、送信アンテナおよび受信アンテナの対の数により、RFIDタグが不在である場合にコマンドの再送を行うか否かを、変更せずに、図3において、ステップS307〜ステップS310において示したような、RFIDタグが不在である場合にコマンドの再送を繰り返す処理を、各送信アンテナと受信アンテナとの対を用いてRFIDタグとの通信を行う際に、常に行うようにしても良い。   In the above embodiment, whether or not to retransmit a command when the RFID tag is absent is changed depending on the number of pairs of transmission antennas and reception antennas. In cases such as when only one pair of receiving antennas 112 is often used, depending on the number of pairs of transmitting antennas and receiving antennas, change whether to retransmit the command when the RFID tag is absent. 3, the process of repeating the retransmission of the command when the RFID tag is absent, as shown in steps S307 to S310 in FIG. 3, is performed with the RFID tag using each transmission antenna and reception antenna pair. You may make it always perform, when performing communication.

また、上記実施の形態において、送信アンテナおよび受信アンテナの対の数により、空きチャンネルの検出処理を繰り返すか否かを変更し、さらに、送信アンテナおよび受信アンテナの対の数により、RFIDタグが不在である場合にコマンドの再送を行うか否かを、変更するようにしたが、この2つの変更のうちの、いずれか一方のみを変更するようにしても良い。   In the above embodiment, whether or not to repeat the empty channel detection process is changed depending on the number of pairs of transmission antennas and reception antennas, and the RFID tag is absent depending on the number of pairs of transmission antennas and reception antennas. In this case, whether or not to retransmit the command is changed. However, only one of the two changes may be changed.

例えば、送信アンテナおよび受信アンテナの対の数により、空きチャンネルの検出処理を繰り返すか否かのみを、変更するようにしても良い。この場合、例えば、図3のフローチャートにおいて、ステップS307、ステップS310、ステップS312、およびステップS313の処理ステップを省略するようにすればよい。   For example, depending on the number of pairs of transmission antennas and reception antennas, it may be changed only whether or not to repeat the detection process of empty channels. In this case, for example, the processing steps of Step S307, Step S310, Step S312 and Step S313 may be omitted in the flowchart of FIG.

また、送信アンテナおよび受信アンテナの対の数により、RFIDタグが不在である場合にコマンドの再送を行うか否かを、変更するようにしてもよい。この場合、例えば、図3のフローチャートにおいて、ステップS301、ステップS304、およびステップS306の処理を省略するようにすればよい。   Further, depending on the number of pairs of transmission antennas and reception antennas, whether or not to retransmit a command when the RFID tag is absent may be changed. In this case, for example, in the flowchart of FIG. 3, the processing in step S301, step S304, and step S306 may be omitted.

また、上記各実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。   In each of the above embodiments, each process (each function) may be realized by centralized processing by a single device (system), or by distributed processing by a plurality of devices. May be.

また、上記各実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。   In each of the above embodiments, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

なお、上記各実施の形態における通信処理装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータに、RFIDタグとの通信を行う通信処理を実行させるためのプログラムであって、RFIDタグに対するコマンドの送信を行う送信ステップと、RFIDタグから送信される情報の受信を行う受信ステップと、前記受信ステップで受信した情報を出力する出力ステップと、前記送信ステップで前記コマンドを送信した場合の、前記受信ステップの受信状況に応じて、RFIDタグの不在を検出する不在検出ステップと、前記不在検出ステップが、RFIDタグの不在を検出した場合に、一の送信期間内に前記コマンドを再送する再送ステップとを実行させるためのプログラムである。   The software that realizes the communication processing device in each of the above embodiments is the following program. That is, this program is a program for causing a computer to execute a communication process for communicating with an RFID tag. The program performs a transmission step of transmitting a command to the RFID tag, and reception of information transmitted from the RFID tag. A reception step to perform, an output step to output information received in the reception step, and an absence detection to detect the absence of an RFID tag according to the reception status of the reception step when the command is transmitted in the transmission step And a resending step of resending the command within one transmission period when the absence detecting step detects the absence of the RFID tag.

また、このプログラムは、コンピュータに、RFIDタグとの通信を行う通信処理を実行させるためのプログラムであって、1以上の送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信ステップと、前記1以上の送信アンテナと対をなす1以上の受信アンテナを用いて、RFIDタグから送信される情報の受信を行う受信ステップと、前記受信ステップで受信した情報を出力する出力ステップと、前記送信ステップで前記1以上の送信アンテナのうちの一の送信アンテナを用いて前記コマンドを送信した場合の、当該一の送信アンテナに対応した一の受信アンテナを用いた前記受信ステップによる受信状況に応じて、RFIDタグの不在を検出する不在検出ステップと、前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断ステップと、を実行させ、前記送信ステップは、前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、前記不在検出ステップにより、RFIDタグの不在を検出した場合に、前記送信アンテナおよび受信アンテナを切り替えて行われ、前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、前記不在検出ステップにより、RFIDタグの不在を検出した場合に、一の送信期間内に前記コマンドを再送するプログラムである。   Further, the program is a program for causing a computer to execute a communication process for performing communication with the RFID tag. The transmission step transmits a command to the RFID tag using one or more transmission antennas. A receiving step for receiving information transmitted from an RFID tag using one or more receiving antennas paired with one or more transmitting antennas; an output step for outputting information received in the receiving step; and the transmitting step When the command is transmitted using one transmission antenna among the one or more transmission antennas, according to the reception status by the reception step using one reception antenna corresponding to the one transmission antenna, The absence detection step for detecting the absence of the RFID tag and the number of pairs of the transmission antenna and the reception antenna are two. The number of antennas determining step for determining whether the number of antennas is above or not, and the transmitting step determines that the number of pairs of the transmitting antenna and the receiving antenna is 2 or more according to the antenna number determining step. If the absence of the RFID tag is detected in the absence detection step, the transmission antenna and the reception antenna are switched, and the number of antennas determination step determines the pair of the transmission antenna and the reception antenna. When the number is not two or more and the absence detection step detects the absence of the RFID tag, the program resends the command within one transmission period.

また、このプログラムは、コンピュータに、複数チャンネルのうちの一のチャンネルを用いて、RFIDタグとの通信を行う通信処理を実行させるためのプログラムであって、1以上の送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信ステップと、前記1以上の送信アンテナと対をなす1以上の受信アンテナを用いて、情報の受信を行う受信ステップと、前記受信ステップで受信した情報のうちの、RFIDタグから送信される情報を出力する出力ステップと、前記1以上の受信アンテナのうちの一の受信アンテナを用いて受信した情報を用いて、RFIDタグとの通信を行うチャンネルとして利用する空きチャンネルを検出する空きチャンネル検出ステップと、前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断ステップと、を実行させ、前記空きチャンネル検出ステップは、前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、前記受信アンテナを切り替えて空きチャンネルの検出を行い、前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、当該空きチャンネル検出ステップにより空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返すプログラムである。   Further, this program is a program for causing a computer to execute communication processing for communicating with an RFID tag using one of a plurality of channels, and using one or more transmission antennas, Of the information received in the reception step, a transmission step of transmitting a command to the tag, a reception step of receiving information using one or more reception antennas paired with the one or more transmission antennas, An empty channel used as a channel for communicating with the RFID tag using an output step of outputting information transmitted from the RFID tag and information received using one of the one or more receiving antennas And the number of pairs of the transmitting antenna and the receiving antenna is two or more. The number of antennas determining step for determining whether or not there is performed, and the empty channel detecting step determines that the number of pairs of the transmitting antenna and the receiving antenna is 2 or more in the number of antennas determining step. If the empty channel detection unit cannot detect an empty channel, the reception antenna is switched to detect an empty channel, and the number of antennas determining step determines the pair of the transmission antenna and the reception antenna. This is a program that repeats the detection of an empty channel when it is determined that the number of channels is not 2 or more and an empty channel cannot be detected in the empty channel detection step.

なお、上記プログラムにおいて、情報を送信する送信ステップや、情報を受信する受信ステップなどでは、ハードウェアによって行われる処理、例えば、送信ステップにおけるモデムやインターフェースカードなどで行われる処理(ハードウェアでしか行われない処理)は含まれない。   In the above program, in a transmission step for transmitting information, a reception step for receiving information, etc., processing performed by hardware, for example, processing performed by a modem or an interface card in the transmission step (only performed by hardware). Not included) is not included.

また、このプログラムは、サーバなどからダウンロードされることによって実行されてもよく、所定の記録媒体(例えば、CD−ROMなどの光ディスクや磁気ディスク、半導体メモリなど)に記録されたプログラムが読み出されることによって実行されてもよい。   The program may be executed by being downloaded from a server or the like, and a program recorded on a predetermined recording medium (for example, an optical disk such as a CD-ROM, a magnetic disk, a semiconductor memory, or the like) is read out. May be executed by

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。   Further, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

また、上記各実施の形態において、一の装置に存在する2以上の通信手段(送信部と受信部など)は、物理的に一の媒体で実現されても良いことは言うまでもない。   In each of the above embodiments, it goes without saying that two or more communication means (such as a transmission unit and a reception unit) existing in one device may be physically realized by one medium.

本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above-described embodiments, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.

以上のように、本発明にかかる通信処理装置等は、RFIDタグとの通信を行う通信処理装置として適しており、特に、UHF帯のRFIDタグと通信を行う通信処理装置等として有用である。   As described above, the communication processing apparatus according to the present invention is suitable as a communication processing apparatus that performs communication with an RFID tag, and is particularly useful as a communication processing apparatus that performs communication with a UHF band RFID tag.

実施の形態における通信処理装置のブロック図Block diagram of a communication processing apparatus in an embodiment 同通信処理装置の動作について説明するフローチャートFlow chart for explaining the operation of the communication processing apparatus 同通信処理装置の動作について説明するフローチャートFlow chart for explaining the operation of the communication processing apparatus 同通信処理装置の動作について説明するフローチャートFlow chart for explaining the operation of the communication processing apparatus 同概念図Conceptual diagram 同通信処理装置の動作を説明するための図Diagram for explaining the operation of the communication processing apparatus 同通信処理装置の動作を説明するための図Diagram for explaining the operation of the communication processing apparatus 同通信処理装置の動作を説明するための図Diagram for explaining the operation of the communication processing apparatus 同通信処理装置の動作を説明するための図Diagram for explaining the operation of the communication processing apparatus 同通信処理装置の動作を説明するための図Diagram for explaining the operation of the communication processing apparatus 同通信処理装置の変形例の動作を説明するためのフローチャートFlowchart for explaining the operation of a modification of the communication processing apparatus 同通信処理装置の変形例の動作を説明するためのフローチャートFlowchart for explaining the operation of a modification of the communication processing apparatus

符号の説明Explanation of symbols

1 通信処理装置
50 RFIDタグ
101 送信部
102 送信指示受付部
103 受信部
104 出力部
105 不在検出部
106 再送指示部
107 アンテナ数判断部
108 切替指示部
109 チャンネル検出部
110 通信制御部
111 送信アンテナ
112 受信アンテナ
150、150a〜150d 送受信アンテナ
151 ポート
200 コンピュータ
DESCRIPTION OF SYMBOLS 1 Communication processing device 50 RFID tag 101 Transmission part 102 Transmission instruction | indication reception part 103 Reception part 104 Output part 105 Absence detection part 106 Retransmission instruction | indication part 107 Antenna number judgment part 108 Switching instruction | indication part 109 Channel detection part 110 Communication control part 111 Transmission antenna 112 Reception antenna 150, 150a to 150d Transmission / reception antenna 151 Port 200 Computer

Claims (6)

複数チャンネルのうちの一のチャンネルを用いて、RFIDタグとの通信を行う通信処理装置であって、
1以上の送信アンテナと接続され、当該送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信部と、
前記1以上の送信アンテナと対をなす1以上の受信アンテナと接続され、当該受信アンテナを用いて、情報の受信を行う受信部と、
前記受信部が受信した情報のうちの、RFIDタグから送信される情報を出力する出力部と、
前記1以上の受信アンテナのうちの一の受信アンテナを用いて受信した情報を用いて、RFIDタグとの通信を行うチャンネルとして利用する空きチャンネルを検出する空きチャンネル検出部と、
前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断部と、を具備し、
前記空きチャンネル検出部は、
前記アンテナ数判断部が、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、前記受信部に前記受信アンテナの切り替えを指示して空きチャンネルの検出を行い、
前記アンテナ数判断部が、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返す通信処理装置。
A communication processing device that communicates with an RFID tag using one of a plurality of channels,
A transmission unit that is connected to one or more transmission antennas and transmits a command to the RFID tag using the transmission antenna;
A receiving unit connected to one or more receiving antennas paired with the one or more transmitting antennas and receiving information using the receiving antennas;
Of the information received by the receiving unit, an output unit that outputs information transmitted from the RFID tag;
An empty channel detection unit that detects an empty channel used as a channel for communication with the RFID tag using information received using one of the one or more receiving antennas;
An antenna number determination unit for determining whether or not the number of pairs of the transmission antenna and the reception antenna is 2 or more;
The empty channel detection unit
When the number of antennas determination unit determines that the number of pairs of the transmission antenna and the reception antenna is 2 or more, and the empty channel detection unit cannot detect an empty channel, the reception unit Instructs the switching of the receiving antenna to detect an empty channel,
When the number-of-antenna determination unit determines that the number of pairs of the transmission antenna and the reception antenna is not 2 or more, and the empty channel detection unit cannot detect the empty channel, the detection of the empty channel is performed. Communication processing device that repeats.
前記アンテナ数判断部は、空きチャンネルが検出されるまでは、前記空きチャンネルの検出の繰り返しを、予め設定された所定回数となるまで行う請求項記載の通信処理装置。 The number of antennas determination unit until the free channel is detected, the repetition of detection of the idle channel, the communication processing apparatus according to claim 1, wherein performing until a preset predetermined number of times. 前記アンテナ数判断部は、空きチャンネルが検出されるまでは、前記空きチャンネルの検出の繰り返しを、予め設定された所定時間が経過するまで行う請求項記載の通信処理装置。 The number of antennas determination unit until the free channel is detected, the repetition of detection of the idle channel, the communication processing apparatus according to claim 1, wherein the performing until the elapse of the preset time period. 前記1以上の送信アンテナと、前記1以上の受信アンテナとをさらに具備する請求項1から請求項3いずれか記載の通信処理装置。 The communication processing apparatus according to claim 1 , further comprising the one or more transmission antennas and the one or more reception antennas. 複数チャンネルのうちの一のチャンネルを用いて、RFIDタグとの通信を行う通信処理方法であって、
1以上の送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信ステップと、
前記1以上の送信アンテナと対をなす1以上の受信アンテナを用いて、情報の受信を行う受信ステップと、
前記受信ステップで受信した情報のうちの、RFIDタグから送信される情報を出力する出力ステップと、
前記1以上の受信アンテナのうちの一の受信アンテナを用いて受信した情報を用いて、RFIDタグとの通信を行うチャンネルとして利用する空きチャンネルを検出する空きチャンネル検出ステップと、
前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断ステップと、を具備し、
前記空きチャンネル検出ステップは、
前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、前記受信アンテナを切り替えて空きチャンネルの検出を行い、
前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、当該空きチャンネル検出ステップにより空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返す通信処理方法。
A communication processing method for communicating with an RFID tag using one of a plurality of channels,
A transmission step of transmitting a command to the RFID tag using one or more transmission antennas;
A receiving step of receiving information using one or more receiving antennas paired with the one or more transmitting antennas;
Of the information received in the receiving step, an output step for outputting information transmitted from the RFID tag;
An empty channel detection step of detecting an empty channel used as a channel for communication with the RFID tag using information received using one of the one or more receiving antennas;
An antenna number determining step for determining whether or not the number of pairs of the transmitting antenna and the receiving antenna is 2 or more,
The empty channel detecting step includes
When it is determined in the antenna number determining step that the number of pairs of the transmission antenna and the receiving antenna is 2 or more, and the empty channel detection unit cannot detect an empty channel, the receiving antenna To detect empty channels,
When the number of antennas determining step determines that the number of pairs of the transmitting antenna and the receiving antenna is not 2 or more, and when the empty channel cannot be detected by the empty channel detecting step, the empty channel is detected. Communication processing method that repeats.
コンピュータに、複数チャンネルのうちの一のチャンネルを用いて、RFIDタグとの通信を行う通信処理を実行させるためのプログラムであって、
1以上の送信アンテナを用いて、RFIDタグに対するコマンドの送信を行う送信ステップと、
前記1以上の送信アンテナと対をなす1以上の受信アンテナを用いて、情報の受信を行う受信ステップと、
前記受信ステップで受信した情報のうちの、RFIDタグから送信される情報を出力する出力ステップと、
前記1以上の受信アンテナのうちの一の受信アンテナを用いて受信した情報を用いて、RFIDタグとの通信を行うチャンネルとして利用する空きチャンネルを検出する空きチャンネル検出ステップと、
前記送信アンテナと受信アンテナとの対の数が2以上であるか否かを判断するアンテナ数判断ステップと、を実行させ、
前記空きチャンネル検出ステップは、
前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上であると判断した場合であって、当該空きチャンネル検出部が空きチャンネルを検出できなかった場合に、前記受信アンテナを切り替えて空きチャンネルの検出を行い、
前記アンテナ数判断ステップにより、前記送信アンテナと受信アンテナとの対の数が2以上でないと判断した場合であって、当該空きチャンネル検出ステップにより空きチャンネルを検出できなかった場合に、空きチャンネルの検出を繰り返すプログラム。
A program for causing a computer to execute communication processing for communication with an RFID tag using one of a plurality of channels,
A transmission step of transmitting a command to the RFID tag using one or more transmission antennas;
A receiving step of receiving information using one or more receiving antennas paired with the one or more transmitting antennas;
Of the information received in the receiving step, an output step for outputting information transmitted from the RFID tag;
An empty channel detection step of detecting an empty channel used as a channel for communication with the RFID tag using information received using one of the one or more receiving antennas;
Performing an antenna number determination step of determining whether or not the number of pairs of the transmission antenna and the reception antenna is 2 or more;
The empty channel detecting step includes
When it is determined in the antenna number determining step that the number of pairs of the transmission antenna and the receiving antenna is 2 or more, and the empty channel detection unit cannot detect an empty channel, the receiving antenna To detect empty channels,
When the number of antennas determining step determines that the number of pairs of the transmitting antenna and the receiving antenna is not 2 or more, and when the empty channel cannot be detected by the empty channel detecting step, the empty channel is detected. A program that repeats.
JP2006342241A 2006-12-20 2006-12-20 COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM Active JP4803017B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006342241A JP4803017B2 (en) 2006-12-20 2006-12-20 COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006342241A JP4803017B2 (en) 2006-12-20 2006-12-20 COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM

Publications (2)

Publication Number Publication Date
JP2008154136A JP2008154136A (en) 2008-07-03
JP4803017B2 true JP4803017B2 (en) 2011-10-26

Family

ID=39655817

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006342241A Active JP4803017B2 (en) 2006-12-20 2006-12-20 COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM

Country Status (1)

Country Link
JP (1) JP4803017B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010067035A (en) * 2008-09-11 2010-03-25 Toshiba Tec Corp Device for wireless communication
JP2011182110A (en) 2010-02-26 2011-09-15 Toshiba Corp Electronic apparatus, and communication control method
JP7392574B2 (en) * 2020-05-27 2023-12-06 オムロン株式会社 RFID communication unit, control method and RFID communication program

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3822643B2 (en) * 1996-11-13 2006-09-20 株式会社 日立製作所 Mobile object identification method and apparatus
JP2000115041A (en) * 1998-10-08 2000-04-21 Kokusai Electric Co Ltd Radio communication device of radio lan system
JP3870777B2 (en) * 2001-12-19 2007-01-24 オムロン株式会社 Non-contact communication method and apparatus

Also Published As

Publication number Publication date
JP2008154136A (en) 2008-07-03

Similar Documents

Publication Publication Date Title
US7991392B2 (en) Communication system, information processing apparatus, and communication control method
KR100912076B1 (en) Apparatus and method for Integrated Reader and Tag
EP2194460B1 (en) Information-processing apparatus, information-processing method, and program
US20100085907A1 (en) Wireless relay device, wireless terminal, and recording medium that records program
EP1833000A1 (en) Tag communication device, control device, and tag communication method
US7627301B2 (en) Spatial diversity receiving device and input channel switching method
US20070190947A1 (en) Method of establishing communication link, and computer product
JP4803017B2 (en) COMMUNICATION PROCESSING DEVICE, COMMUNICATION PROCESSING METHOD, AND PROGRAM
US20040078449A1 (en) Master communication device, slave communication device, communication control apparatus, communication system, and communication control program
JP2002264431A (en) Print system and printer
US20020054626A1 (en) Data transmitting and receiving apparatus for performing radio communication from terminal apparatus having operation section to transmitting and receiving processing section provided for machine body
JP5200274B2 (en) Wireless communication system and wireless communication method
KR100858053B1 (en) A Passive RFID Reader and Operation Control Method
KR100706180B1 (en) Method of accessing channel for rfid reader and computer-readable medium having thereon program performing function embodying the same
JP2018007072A (en) Information processing device, control method thereof, and program
JP4425050B2 (en) Wireless communication system
JP2993474B2 (en) Wireless packet access system
KR101955624B1 (en) Wireless Communication System and Wireless Communication Method using the same
JP2018006813A (en) Information processing device, control method thereof, and program
JPH07264203A (en) Communication controller
JP2002366906A (en) Non-contact communication method for portable information processor
JP4215742B2 (en) Wireless tag system and wireless tag communication method
JP2002073539A (en) Peripheral equipment for computer, and communication control method for the same
JP2004199450A (en) Non-contact reader/writer
JP2009005074A (en) Wireless communication network

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091008

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110421

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110426

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110621

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110712

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110725

R150 Certificate of patent or registration of utility model

Ref document number: 4803017

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140819

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250