JP5022972B2 - External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium - Google Patents

External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium Download PDF

Info

Publication number
JP5022972B2
JP5022972B2 JP2008094468A JP2008094468A JP5022972B2 JP 5022972 B2 JP5022972 B2 JP 5022972B2 JP 2008094468 A JP2008094468 A JP 2008094468A JP 2008094468 A JP2008094468 A JP 2008094468A JP 5022972 B2 JP5022972 B2 JP 5022972B2
Authority
JP
Japan
Prior art keywords
reader
writer
wireless communication
rfid tag
reading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2008094468A
Other languages
Japanese (ja)
Other versions
JP2009246915A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008094468A priority Critical patent/JP5022972B2/en
Publication of JP2009246915A publication Critical patent/JP2009246915A/en
Application granted granted Critical
Publication of JP5022972B2 publication Critical patent/JP5022972B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、いわゆるRFIDタグを含む情報記録媒体と無線通信を行う外部通信装置であるリーダライタを備えたRFIDシステムに関する。その中でも特に、複数の外部通信装置を備えた場合、それぞれの外部通信装に対する制御に関する。   The present invention relates to an RFID system including a reader / writer that is an external communication device that performs wireless communication with an information recording medium including a so-called RFID tag. In particular, when a plurality of external communication devices are provided, the present invention relates to control of each external communication device.

近年、流通や販売におけるサプライチェーンマネジメントや物品管理の分野で、数m以上の通信距離を持ち、且つ数十枚以上を同時に認識することができる情報記録媒体、即ちRFIDタグの普及が進んでいる。   In recent years, in the fields of supply chain management and article management in distribution and sales, an information recording medium having a communication distance of several meters or more and capable of simultaneously recognizing several tens or more, that is, an RFID tag has been popularized. .

RFIDタグは、外部通信装置、即ちリーダライタと無線通信を行い、RFIDタグの情報を読み取ったり、情報を書き込んだり、読み取りまたは書き込みのロックをかけたり、RFIDタグを使用不可能にしたりする機能を持つ。   The RFID tag performs a wireless communication with an external communication device, that is, a reader / writer, and functions to read the information of the RFID tag, write the information, lock the reading or writing, and disable the RFID tag. Have.

リーダライタがRFIDタグと無線通信を行う際、使用できる電波の周波数帯は限られており、複数のリーダライタで同時に同じ周波数帯を使用することができず、即ち、RFIDタグと無線通信を行うことができない。なお、「同時」や「同じ周波数帯」はまったく一致しなくとも構わない。   When a reader / writer performs wireless communication with an RFID tag, the frequency band of radio waves that can be used is limited, and a plurality of reader / writers cannot use the same frequency band at the same time, that is, perform wireless communication with an RFID tag. I can't. Note that “simultaneous” and “same frequency band” do not have to match at all.

複数のリーダライタを用いたRFIDタグシステムにおいて、同時に使用するリーダライタの数が、使用できる周波数帯の数より多い場合、各リーダライタが同時にRFIDタグと無線通信することができず、RFIDタグシステムが正常に機能しない可能性がある。そこで、RFIDタグシステムでは、リーダライタとRFIDタグの無線通信の正確性の向上が求められている。   In an RFID tag system using a plurality of reader / writers, when the number of reader / writers used simultaneously is larger than the number of usable frequency bands, each reader / writer cannot simultaneously communicate with the RFID tag wirelessly, and the RFID tag system. May not function properly. Therefore, in the RFID tag system, it is required to improve the accuracy of wireless communication between the reader / writer and the RFID tag.

例えば、特許文献1では、周波数帯を1対1の関係で割り当てるリーダライタを規定時間毎に変更して、各リーダライタに周波数帯を順次割り当てることにより、割り当てられている時間は、1つのリーダライタがその周波数帯を占有して読み取りを行う方法が提案されている。   For example, in Patent Document 1, the reader / writer to which the frequency band is assigned in a one-to-one relationship is changed at regular time intervals, and the assigned time is assigned to one reader / writer by sequentially assigning the frequency band to each reader / writer. A method has been proposed in which a writer occupies the frequency band and performs reading.

特開2006−148258JP 2006-148258 A

RFIDタグは、読み取り以外に、書き込み、ロックなどの機能を持つ。読み取り機能も含めこれらの機能においては、優先度が異なっていることが通常である。また、RFIDタグシステムでは、リーダライタが読み取り処理を繰り返し、RFIDタグが電波範囲に入ったら、RFIDタグの情報を取得する。   The RFID tag has functions such as writing and locking in addition to reading. These functions, including the reading function, usually have different priorities. In the RFID tag system, when the reader / writer repeats the reading process and the RFID tag enters the radio wave range, the RFID tag information is acquired.

また任意のタイミングで、上記の読み取り処理以外の書き込みやロックや優先度の高い処理を行う場合がある。書き込みやロックの機能は、読み取り処理のように、繰り返し行うのではなく、ユーザが任意のタイミングで実行でき、書き込みまたはロックを確実に実行する必要がある。   In addition, writing, locking, or high priority processing other than the above reading processing may be performed at an arbitrary timing. The function of writing or locking is not repeatedly performed as in the reading process, but can be executed by the user at an arbitrary timing, and writing or locking must be surely executed.

そこで、複数装置(リーダライタ)のそれぞれにおいて時間的にずらして実行する機能を実行して、RFIDタグシステムの正確性を保持したまま、ユーザが任意のタイミングで他の優先度の高い処理を行える手段が必要となる。   Therefore, the user can perform other high-priority processing at any timing while maintaining the accuracy of the RFID tag system by executing a function that is executed in a time-shifted manner in each of a plurality of devices (reader / writers). Means are needed.

そこで、本発明では、複数リーダライタのそれぞれにおいて時間的にずらして実行する機能については、予め格納されたスケジュールデータに従って実行する。特に、この機能については、繰り返し実行することが含まれる。また、この機能には、複数のリーダライタのそれぞれが同じ周波数帯のRFIDタグから情報を読み取ることが含まれる。なお、本発明では、単体のリーダライタをその制御対象としても構わない。例えば、単体のリーダライタで、複数の周波数帯での無線通信を実行する場合、それぞれの周波数帯でスケジュールデータを生成するようにする。   Therefore, in the present invention, the functions that are executed while being shifted in time in each of the plurality of reader / writers are executed according to schedule data stored in advance. In particular, this function includes repeated execution. In addition, this function includes reading information from RFID tags in the same frequency band by each of the plurality of reader / writers. In the present invention, a single reader / writer may be controlled. For example, when a single reader / writer performs wireless communication in a plurality of frequency bands, schedule data is generated in each frequency band.

また、スケジュールデータは、各リーダライタと接続された集中制御装置に格納されており、各リーダライタは集中制御装置から送信される制御情報(スケジュールデータに基づく)に従って上記の機能を実行する。   The schedule data is stored in a centralized control device connected to each reader / writer, and each reader / writer executes the above function according to control information (based on the schedule data) transmitted from the centralized control device.

また、スケジュールデータは、各リーダライタの無線通信の開始時間を示す開始時間情報と無線通信の開始時間の間隔(周期)を示す間隔時間情報から構成されることも本発明に含まれる。また、各リーダライタの無線通信の終了時間を示す終了時間情報と、その終了時間と次の無線通信を開始する次開始時間情報の間隔を示す間隔時間情報から構成されることも本発明に含まれる。   In addition, the schedule data includes the start time information indicating the start time of the wireless communication of each reader / writer and the interval time information indicating the interval (cycle) of the start time of the wireless communication. Further, the present invention includes the end time information indicating the end time of the wireless communication of each reader / writer and the interval time information indicating the interval between the end time and the next start time information for starting the next wireless communication. It is.

さらに、スケジュールデータの記憶装置への登録を、(1)各リーダライタのうち、周波数帯が同じになるものを抽出し、(2)抽出されたリーダライタのそれぞれにおいて、間隔時間情報が一定値になるように設定し、登録することも本発明の一態様に含まれる。   Further, the schedule data is registered in the storage device. (1) Among the reader / writers, those having the same frequency band are extracted. (2) In each of the extracted reader / writers, the interval time information is a constant value. It is also included in one embodiment of the present invention to set and register such that

またさらに、スケジュールデータで規定していない機能に対する要求を、リーダライタもしくは集中制御装置が受付けた場合、上記のスケジュールデータで規定された機能に優先して受付けられた機能を実行する。この際、(1)スケジュールデータに規定された機能を中止して、受付けられた機能を実行する、(2)要求を受付けた際に実行中のスケジュール機能規定された機能が一旦終了するまでまち、その次の機能の実行前に、受付けられた機能を実行する、のいずれであっても構わない。   Furthermore, when the reader / writer or the centralized control device accepts a request for a function that is not defined by the schedule data, the function accepted by the function specified by the schedule data is executed. At this time, (1) the function specified in the schedule data is canceled and the accepted function is executed, and (2) the schedule function that is being executed when the request is accepted until the function specified is temporarily terminated. The received function may be executed before the next function is executed.

本発明によれば、より効率的に、RFIDシステムにおいて、より効率的に各機能の制御を行うことが可能になる。   According to the present invention, each function can be controlled more efficiently in the RFID system.

以下、本発明に関する実施の形態について、本実施の形態に関わる外部通信装置リーダライタと情報記録媒体RFIDタグと、複数の外部通信装置リーダライタを集中制御または管理する集中制御装置からなる構成を図1に、情報記録媒体RFIDタグの構成を図2に、外部通信装置リーダライタの構成を図3に、集中制御装置の構成を図4に、外部通信装置リーダライタが情報記録媒体RFIDタグと通信するための処理を図5に、集中制御装置がスケジュールデータを元に複数の外部通信装置リーダライタを制御しRFIDタグの読み取り処理を繰り返す方法を図6から図9に、集中制御装置がスケジュールデータを元に複数の外部通信装置リーダライタを制御しRFIDタグの読み取り処理を繰り返しながら、割り込み処理を実行する方法を図10から図12に、図面を参照しながら説明していく。なお、本実施の形態では、集中制御装置で複数のリーダライタを制御しているが、各リーダライタがそれぞれのリーダライタを制御するよう構成してもよい。   DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments relating to the present invention will be described below with reference to an external communication device reader / writer, an information recording medium RFID tag, and a centralized control device that centrally controls or manages a plurality of external communication device reader / writers. 1 shows the configuration of the information recording medium RFID tag in FIG. 2, the configuration of the external communication device reader / writer in FIG. 3, the configuration of the central control device in FIG. 4, and the external communication device reader / writer communicates with the information recording medium RFID tag. FIG. 5 shows a process for performing the process, and FIG. 6 to FIG. 9 show a method in which the central control apparatus controls a plurality of external communication apparatus reader / writers based on the schedule data and repeats the RFID tag reading process. Controls multiple external communication device readers / writers based on the above and executes interrupt processing while repeating RFID tag reading processing Law in Figures 10-12 and will be described with reference to the drawings. In the present embodiment, a plurality of reader / writers are controlled by the centralized control apparatus, but each reader / writer may be configured to control each reader / writer.

図1は、本実施の形態に関わる外部通信装置リーダライタと情報記録媒体RFIDタグから構成されるRFIDタグシステムと、複数の外部通信装置リーダライタを集中制御または管理する集中制御装置からなる構成を示した図である。以下、外部通信装置リーダライタをリーダライタと、情報記録媒体RFIDタグをRFIDタグと記す。   FIG. 1 shows a configuration comprising an RFID tag system comprising an external communication device reader / writer and an information recording medium RFID tag according to the present embodiment, and a centralized control device for centrally controlling or managing a plurality of external communication device reader / writers. FIG. Hereinafter, the external communication device reader / writer is referred to as a reader / writer, and the information recording medium RFID tag is referred to as an RFID tag.

基本的なRFIDタグシステムは、RFIDタグ100とリーダライタ200から構成される。リーダライタ200は、RFIDタグ100とRFIDタグコマンドデータ300やRFIDタグレスポンスデータ301の送受信をするための制御を行うリーダライタ本体201と、RFIDタグ100に電波を出力し、RFIDタグコマンドデータ300やRFIDタグレスポンスデータ301の送受信を行うリーダライタアンテナ202から構成される。リーダライタ200は、RFIDタグ100に対して電波で、RFIDタグ100と交信するためのRFIDタグコマンドデータ300の送信と電力供給を行い、リーダライタ200は、RFIDタグ100の応答であるRFIDタグレスポンスデータ301を受信する。   A basic RFID tag system includes an RFID tag 100 and a reader / writer 200. The reader / writer 200 outputs a radio wave to the reader / writer main body 201 that performs control for transmitting and receiving the RFID tag 100, the RFID tag command data 300 and the RFID tag response data 301, and the RFID tag command data 300 and The reader / writer antenna 202 transmits and receives the RFID tag response data 301. The reader / writer 200 transmits the RFID tag command data 300 for communication with the RFID tag 100 by radio waves to the RFID tag 100 and supplies power, and the reader / writer 200 receives the RFID tag response which is a response of the RFID tag 100. Data 301 is received.

集中制御装置400は、複数のリーダライタ200と接続される。図1では、集中制御装置400は、リーダライタ200とリーダライタ210の2台と接続されているが、何台と接続されていても良い。図示の都合上、2台としている。リーダライタ200とリーダライタ210は同じ構成である。   The central control device 400 is connected to a plurality of reader / writers 200. In FIG. 1, the central control device 400 is connected to two reader / writers 200 and 210, but may be connected to any number. For convenience of illustration, two units are provided. The reader / writer 200 and the reader / writer 210 have the same configuration.

集中制御装置400は、リーダライタ200と接続されており、リーダライタ200に対し、リーダライタ200と交信するためのリーダライタコマンドデータ302を送信する。リーダライタ200は、集中制御装置400からのリーダライタコマンドデータ302に対応した処理を実行し、リーダライタレスポンスデータ303を返送する。同様にリーダライタ210に対しても同様の処理を行う。集中制御装置400は、複数のリーダライタに対し、同時にまたは順番にリーダライタコマンドデータ302の送信とリーダライタレスポンスデータ303の受信を行う。集中制御装置400は、いずれかまたは全てのリーダライタに含まれる構成でも良い。   The centralized control device 400 is connected to the reader / writer 200 and transmits reader / writer command data 302 for communicating with the reader / writer 200 to the reader / writer 200. The reader / writer 200 executes processing corresponding to the reader / writer command data 302 from the central control device 400 and returns the reader / writer response data 303. Similarly, the same processing is performed for the reader / writer 210. The centralized control device 400 transmits the reader / writer command data 302 and the reader / writer response data 303 to a plurality of reader / writers simultaneously or sequentially. The central control device 400 may be included in any or all of the reader / writers.

図2は、RFIDタグ100の内部構成を示したブロック図である。RFIDタグ100は、リーダライタからの電波を受信し、リーダライタとの信号やデータの送受信を行うアンテナ101と、アンテナ101から受信した電波を整流する整流部102と、整流して得た電圧を検出し、各部に電源を供給する電源部103と、受信信号やRFIDタグコマンドデータの復調を行い、また送信する信号やRFIDタグコマンドデータの変調を行う通信制御部104と、初期化処理やRFIDタグコマンドデータの処理や各データ項目に対するアクセス処理を行う処理手順を持ち、またリーダライタに応答する応答データを生成する制御部105と、RFIDタグ100の識別番号やその他の情報やRFIDタグ100の設定値を記憶する記憶部106から構成される。   FIG. 2 is a block diagram showing the internal configuration of the RFID tag 100. The RFID tag 100 receives radio waves from a reader / writer, transmits and receives signals and data to and from the reader / writer, an rectifier 102 that rectifies radio waves received from the antenna 101, and a voltage obtained by rectification. A power supply unit 103 that detects and supplies power to each unit; a communication control unit 104 that demodulates received signals and RFID tag command data; and that modulates signals to be transmitted and RFID tag command data; and initialization processing and RFID It has a processing procedure for processing tag command data and access processing for each data item, and generates a response data in response to the reader / writer, the identification number of the RFID tag 100, other information, and the RFID tag 100 It is comprised from the memory | storage part 106 which memorize | stores a setting value.

図3は、リーダライタ200の内部構成を示した図である。リーダライタ200は、RFIDタグとデータの送受信を行うための制御を行うリーダライタ本体201と、電波の出力やRFIDタグへRFIDタグコマンドデータを送信したり、RFIDタグからの応答を受信したりするリーダライタアンテナ202から構成される。リーダライタ本体201は、リーダライタアンテナ202を用いて、RFIDタグへRFIDタグコマンドデータを送信したり、その応答を受信したりする送受信部203と、RFIDタグコマンドデータの送信時の変調や受信時の信号の増幅や復号を行い、また制御の通信方法を備えた通信制御部204と、リーダライタ全体の制御を行う制御部205と、各部に電源を供給するための電源部206と、リーダライタ本体201と、集中制御装置やパーソナルコンピュータなどの外部通信装置とデータやリーダライタコマンドデータなどの通信を行うためのホストインタフェース207から構成される。リーダライタからRFIDタグへ送信するRFIDタグコマンドデータの例として、RFIDタグの識別番号やメモリのデータを読み取る時はRFIDタグリードコマンド、RFIDタグのメモリにデータを書き込む時はRFIDタグライトコマンド、RFIDタグのメモリのデータを読み取り不可または書き換え不可にする時はRFIDタグロックコマンド、RFIDタグを使用不可にする場合にはRFIDタグキルコマンドを用いる。また、RFIDタグとの無線通信を複数の周波数帯で実行可能なようにしてもよい。   FIG. 3 is a diagram showing an internal configuration of the reader / writer 200. The reader / writer 200 transmits the RFID tag command data to the reader / writer main body 201 that performs control for transmitting and receiving data to and from the RFID tag, and outputs a radio wave, and receives a response from the RFID tag. The reader / writer antenna 202 is configured. The reader / writer main body 201 uses a reader / writer antenna 202 to transmit / receive RFID tag command data to / from an RFID tag, and to receive / receive a response from the transmitter / receiver 203. At the time of modulation and reception of RFID tag command data A communication control unit 204 having a communication method for controlling, a control unit 205 for controlling the entire reader / writer, a power source unit 206 for supplying power to each unit, a reader / writer A main body 201 and a host interface 207 for communicating data, reader / writer command data, and the like with an external communication device such as a central control device or a personal computer. Examples of RFID tag command data transmitted from the reader / writer to the RFID tag include an RFID tag read command when reading the RFID tag identification number and memory data, an RFID tag write command when writing data to the RFID tag memory, and RFID An RFID tag lock command is used to disable reading or rewriting of the tag memory data, and an RFID tag kill command is used to disable the RFID tag. Further, wireless communication with the RFID tag may be performed in a plurality of frequency bands.

図4は、集中制御装置400の内部構成を示した図である。集中制御装置400は、複数のリーダライタと接続するためのリーダライタ接続インタフェース401と、パーソナルコンピュータなどの外部通信装置と接続するためのホストインタフェース402と、リーダライタ接続インタフェースに接続された複数のリーダライタにリーダライタコマンドデータの送信とリーダライタレスポンスデータの受信を行う制御を行ったり、外部通信装置とリーダライタコマンドデータやリーダライタレスポンスデータの送受信を行う制御を行ったりする制御部403と、各部に電源を供給する電源部404と、リーダライタ接続インタフェース401に接続された複数のリーダライタを制御する処理方法や設定値を記憶する記憶部405から構成される。リーダライタまたは外部通信装置との接続方式によっては、リーダライタ接続インタフェース401とホストインタフェース402は、同じであっても良い。集中制御装置400がリーダライタへ送信するリーダライタコマンドデータの例として、RFIDタグの識別番号やメモリのデータを読み取る時はリーダライタリードコマンド、RFIDタグのメモリにデータを書き込む時はリーダライタライトコマンド、RFIDタグのメモリのデータを読み取り不可または書き換え不可にする時はリーダライタロックコマンド、RFIDタグを使用不可にする時はリーダライタキルコマンドを用いる。なお、本実施の形態では、複数のリーダライタに対して一台の集中制御装置との構成としているが、各リーダライタそれぞれに集中制御装置と同様の機能を持つ制御装置を設けてもよい。   FIG. 4 is a diagram showing an internal configuration of the central control apparatus 400. The centralized control device 400 includes a reader / writer connection interface 401 for connecting to a plurality of reader / writers, a host interface 402 for connecting to an external communication device such as a personal computer, and a plurality of readers connected to the reader / writer connection interface. A control unit 403 that performs control of transmitting / receiving reader / writer command data to / from the writer and receiving reader / writer response data, and performing control of transmitting / receiving reader / writer command data and reader / writer response data to / from an external communication device, A power supply unit 404 that supplies power to the reader / writer, and a storage unit 405 that stores a processing method for controlling a plurality of reader / writers connected to the reader / writer connection interface 401 and setting values. Depending on the connection method with the reader / writer or the external communication device, the reader / writer connection interface 401 and the host interface 402 may be the same. As an example of the reader / writer command data transmitted to the reader / writer by the centralized control device 400, the reader / writer read command is used when reading the RFID tag identification number or memory data, and the reader / writer write command is used when writing data into the RFID tag memory. The reader / writer lock command is used to disable reading or rewriting of the RFID tag memory data, and the reader / writer kill command is used to disable the RFID tag. In this embodiment, a single centralized control device is configured for a plurality of reader / writers, but a control device having the same function as the centralized control device may be provided for each reader / writer.

図5は、RFIDタグと通信する際のリーダライタのフローチャートを示した図である。ステップS500では、RFIDタグと通信するための初期化や通信に関する設定値の設定を行い、ステップS501に進む。ステップS501では、リーダライタが出力しようとしている周波数帯が、他のリーダライタが出力していないかどうかを検知する。他のリーダライタが既にその周波数帯で電波を出力している場合は、ステップS501へ進む。即ち電波の検知を繰り返す。一方、他のリーダライタでその周波数帯が出力されていなければステップS502へ進む。ステップS502では、リーダライタに接続されたリーダライタアンテナからある周波数帯で電波出力をONにしステップS503へ進む。この電波を受けたRFIDタグがリーダライタとの通信対象となる。ステップS503では、RFIDタグへRFIDタグコマンドデータの送信、またはRFIDタグレスポンスデータの受信を行う。データの送受信が終了したら、ステップS504へ進む。ステップS504では、ステップS502でリーダライタアンテナから出力している電波をOFFにし、ステップS505へ進む。ステップS505では、終了処理を行い終了する。   FIG. 5 is a diagram showing a flowchart of the reader / writer when communicating with the RFID tag. In step S500, initialization for communicating with the RFID tag and setting values related to communication are performed, and the process proceeds to step S501. In step S501, it is detected whether the frequency band that the reader / writer is about to output is not output by another reader / writer. If another reader / writer has already output a radio wave in that frequency band, the process proceeds to step S501. That is, the detection of radio waves is repeated. On the other hand, if the frequency band is not output by another reader / writer, the process proceeds to step S502. In step S502, radio wave output is turned on in a certain frequency band from the reader / writer antenna connected to the reader / writer, and the process proceeds to step S503. The RFID tag that has received the radio wave becomes a communication target with the reader / writer. In step S503, the RFID tag command data is transmitted to the RFID tag or the RFID tag response data is received. When the data transmission / reception is completed, the process proceeds to step S504. In step S504, the radio wave output from the reader / writer antenna in step S502 is turned off, and the process proceeds to step S505. In step S505, an end process is performed and the process ends.

次に、RFIDタグと複数のリーダライタが正常に通信するために、集中制御装置が複数のリーダライタを制御する方法について説明する。例では、1台の集中制御装置に3台のリーダライタが接続されており、定期的に3台のリーダライタが読み取り処理を行う例を用いて説明する。   Next, a method for the centralized control apparatus to control the plurality of reader / writers in order for the RFID tag and the plurality of reader / writers to communicate normally will be described. The example will be described using an example in which three reader / writers are connected to one centralized control device, and three reader / writers periodically perform reading processing.

図6は、各リーダライタが定期的にRFIDタグの読み取りを行うために、集中制御装置が各リーダライタに定期的にリーダライタリードコマンドを送信するタイミングのスケジュールデータを示した図である。集中制御装置は、送信するタイミングを、タイムスロットで規定する。タイムスロットは、一般的にRFIDタグとリーダライタの処理が数マイクロ秒単位で行われるため、マイクロ秒単位であることが望ましいが、集中制御装置またはリーダライタの時刻精度によっては、ミリ秒単位または秒単位でも良いし、カウント数でも良い。開始タイムスロット値T1_600は、集中制御装置が各リーダライタにリーダライタリードコマンドの送信を開始するタイムスロット値を示す。間隔タイムスロット値T2_601は、集中制御装置が各リーダライタにリーダライタリードコマンドの送信を開始してから、定期的にリーダライタリードコマンドを送信する間隔のタイムスロット値を示す。リーダライタ1に対しては、開始タイムスロット値T1_600は1、間隔タイムスロット値T2_601は4に設定されている。リーダライタ2に対しては、開始タイムスロット値T1_600は1、間隔タイムスロット値T2_601は4に設定されている。リーダライタ3に対しては、開始タイムスロット値T1_600は4、間隔タイムスロット値T2_601は4に設定されている。即ち、リーダライタ1は、タイムスロット1で読み取りを開始し、タイムスロットが4経ったあと、開始時から数えてタイムスロット5、9、13のタイミングで読み取り処理を行う。   FIG. 6 is a diagram showing schedule data at a timing when the central control apparatus periodically transmits a reader / writer read command to each reader / writer so that each reader / writer periodically reads the RFID tag. The centralized control device defines the transmission timing with a time slot. The time slot is generally in microsecond units because the processing of the RFID tag and the reader / writer is generally performed in units of several microseconds. However, depending on the time accuracy of the central control device or the reader / writer, It may be in seconds or a count. The start time slot value T1_600 indicates a time slot value at which the central control apparatus starts transmitting a reader / writer read command to each reader / writer. The interval time slot value T2_601 indicates a time slot value of an interval at which the reader / writer read command is periodically transmitted after the central control apparatus starts transmitting the reader / writer read command to each reader / writer. For the reader / writer 1, the start time slot value T1_600 is set to 1, and the interval time slot value T2_601 is set to 4. For the reader / writer 2, the start time slot value T1_600 is set to 1, and the interval time slot value T2_601 is set to 4. For the reader / writer 3, the start time slot value T1_600 is set to 4, and the interval time slot value T2_601 is set to 4. That is, the reader / writer 1 starts reading at time slot 1, and after four time slots have passed, performs reading processing at the timing of time slots 5, 9, and 13 counting from the start.

リーダライタ2は、タイムスロット3で読み取り処理を開始し、タイムスロットが4経った後、開始時から数えてタイムスロット7、11、15のタイミングで読み取り処理を行う。リーダライタ3は、タイムスロット4で読み取り処理を開始し、タイムスロットが4経った後、開始時から数えてタイムスロット8、12、16のタイミングで読み取り処理を行う。このスケジュールデータは、集中制御装置の記憶部に格納されていることが望ましい。また、集中制御装置の処理の開始時に、集中制御装置のホストインタフェースに接続されている外部通信装置からスケジュールデータが送信されてきても良い。今回の例では、間隔タイムスロット値T2_601は、読み取り処理開始の時間の間隔を設定したが、ある読み取り処理終了の時間から次の読み取り処理開始の時間までの間隔の時間として、タイミング制御をしても良い。   The reader / writer 2 starts the reading process at the time slot 3, and after four time slots have passed, the reader / writer 2 performs the reading process at the timing of the time slots 7, 11, and 15 counted from the start time. The reader / writer 3 starts the reading process at the time slot 4, and after four time slots have passed, the reader / writer 3 performs the reading process at the timing of the time slots 8, 12, 16 counted from the start time. This schedule data is preferably stored in the storage unit of the centralized control device. Further, the schedule data may be transmitted from an external communication device connected to the host interface of the central control device at the start of processing of the central control device. In this example, the interval time slot value T2_601 is set as the interval of the reading process start time, but the timing is controlled as the interval time from the end of one reading process to the next reading process start time. Also good.

また、本スケジュールデータの登録の一手法を以下説明する(集中制御装置が各処理を実行する)。まず、図示しないリーダライタ管理テーブルに、各リーダライタの周波数帯が登録されている。この登録は、予め集中制御装置と接続された端末装置からの入力によって実行する。集中制御装置では、このうち、今回の制御対象のリーダライタを特定し、この中から同じ周波数帯(時間帯をずらして機能させる周波数帯)のリーダライタを抽出する。その上で、管理者などの入力や予め設定されている優先順位に従って、集中制御装置は、各開始タイムスロットル値を登録する。そして、集中制御装置は、開始タイムスロット値のうち、最後のもの(図6では、リーダライタ3の「4」)を特定する。そして、間隔タイムスロット値のそれぞれに、特定された開始タイムスロットの「4」以上の値を書き込む。これは、最初の開始タイムスロット値(リーダライタ1の「1」)に間隔タイムスロット値(「4」)を加算した場合、最後の開始タイムスロット値(リーダライタ3の「4」)を超えるように設定する。その中でも、最低単位だけ超えるように設定すると効率的にリーダライタを運用できる。言い換えると、最後の開始タイムスロット値(リーダライタ3の「4」)から最初の開始タイムスロット値(リーダライタ1の「1」)を減算し、「1」加えて間隔タイムスロット値(「4」)を算出する。つまり、各リーダライタについて、一定の間隔タイムスロット値を登録する。そして、この間隔タイムスロット値を格納する。なお、ここで加える「1」はタイムスロット値の単位時間である。   A method for registering the schedule data will be described below (the central control apparatus executes each process). First, the frequency band of each reader / writer is registered in a reader / writer management table (not shown). This registration is executed by input from a terminal device connected in advance to the centralized control device. In the centralized control device, the reader / writer to be controlled this time is specified, and the reader / writer in the same frequency band (frequency band that functions by shifting the time band) is extracted from the reader / writer. Then, the central control apparatus registers each start time throttle value in accordance with an input from an administrator or the like and a preset priority order. Then, the centralized control device identifies the last one of the start time slot values (“4” of the reader / writer 3 in FIG. 6). Then, the value of “4” or more of the specified start time slot is written in each of the interval time slot values. When the interval time slot value (“4”) is added to the first start time slot value (“1” of the reader / writer 1), this exceeds the last start time slot value (“4” of the reader / writer 3). Set as follows. Among them, the reader / writer can be operated efficiently if it is set to exceed the minimum unit. In other words, the first start time slot value (“1” of reader / writer 1) is subtracted from the last start time slot value (“4” of reader / writer 3), and “1” is added to the interval time slot value (“4”). )). That is, a fixed time slot value is registered for each reader / writer. Then, this interval time slot value is stored. Note that “1” added here is a unit time of the time slot value.

なお、本例では、複数のリーダライタを例にしているが、周波数帯毎に各タイムスロットル値を設定してもよい。   In this example, a plurality of reader / writers are taken as an example, but each time throttle value may be set for each frequency band.

図7は、集中制御装置が1台のリーダライタで図6のスケジュールデータを用いてリーダライタにリーダライタリードコマンドを送信またはリーダライタレスポンスデータを受信する時のフローチャートを示した図である。この制御処理は、複数のリーダライタに対して行う。ステップS700では、集中制御装置が、ホストインタフェースに接続された外部通信装置から、処理開始の命令を受信した時、または事前に処理開始条件を設定しておき、その条件になったときに処理を開始する。タイムスロットTに0を代入し、ステップS701へ進む。ステップS701では、タイムスロットTと設定されている開始タイムスロットT1を比較する。値が不一致の場合は、ステップS702へ、値が同じ場合は、ステップS703へ進む。ステップS702では、タイムスロットTに1を加算し、ステップS701へ進む。   FIG. 7 is a diagram showing a flowchart when the central control apparatus transmits a reader / writer read command to the reader / writer or receives reader / writer response data using the schedule data of FIG. 6 with one reader / writer. This control process is performed for a plurality of reader / writers. In step S700, when the central control apparatus receives a process start command from an external communication apparatus connected to the host interface, or sets a process start condition in advance and performs the process when the condition is met. Start. 0 is substituted into the time slot T, and the process proceeds to step S701. In step S701, the time slot T is compared with the set start time slot T1. If the values do not match, the process proceeds to step S702. If the values are the same, the process proceeds to step S703. In step S702, 1 is added to the time slot T, and the process proceeds to step S701.

一方、ステップS703では、リーダライタと通信する。今回の例ではリーダライタへリーダライタリードコマンドを送信し、リーダライタレスポンスデータを受信し、RFIDタグ読み取り処理を行う。この際、リーダライタでは、リーダライタリードコマンドを受信し、図5で示したフローチャートの処理を行い、結果をリーダライタレスポンスデータとして集中制御装置へ送信する。RFIDタグの読み取り処理が終了すると、ステップS704へ進む。ステップS704では、タイムスロットTに0を代入してステップS705へ進む。ステップS705では、タイムスロットTと設定されている間隔タイムスロットT2を比較する。値が一致の場合は、ステップS703へ進み処理を繰り返す。一方、値が不一致の場合は、ステップS706へ進む。ステップS706では、タイムスロットTに1を加算し、ステップS705へ進み処理を繰り返す。図では終了は記載していないが、開始の場合と同様に、集中制御装置が、ホストインタフェースに接続された外部通信装置から、処理終了の命令を受信した時、または事前に処理終了条件を設定しておき、その条件になったときに処理を終了する。   On the other hand, in step S703, communication with the reader / writer is performed. In this example, a reader / writer read command is transmitted to the reader / writer, reader / writer response data is received, and RFID tag reading processing is performed. At this time, the reader / writer receives the reader / writer read command, performs the processing of the flowchart shown in FIG. 5, and transmits the result to the central control apparatus as reader / writer response data. When the RFID tag reading process ends, the process proceeds to step S704. In step S704, 0 is substituted for time slot T, and the flow advances to step S705. In step S705, the time slot T is compared with the set interval time slot T2. If the values match, the process proceeds to step S703 and the process is repeated. On the other hand, if the values do not match, the process proceeds to step S706. In step S706, 1 is added to the time slot T, and the process proceeds to step S705 to repeat the process. Although the end is not shown in the figure, as in the case of the start, when the central control device receives a processing end command from the external communication device connected to the host interface, or sets the processing end condition in advance In addition, the process ends when the condition is met.

次に、図6と図7で説明した処理を集中制御装置が同一の周波数帯を使用して、リーダライタ3台を制御するときの動作について説明する。   Next, the operation when the central control apparatus controls the three reader / writers using the same frequency band in the processing described in FIGS. 6 and 7 will be described.

図8は、集中制御装置で図6、図7で説明した機能を使用せずに、3台のリーダライタが同一の周波数帯を使用して、個別に読み取り処理を繰り返した時の実行例を示した図である。リーダライタで使用できる周波数帯の数は限られており、同じ周波数帯は2台以上で同時に使用することができない。よって、3台のリーダライタで同じ周波数帯を使用して同時に読み取り処理を実行しようとしても、いずれか1台しか読み取り処理を実行できず、その間残りの2台は読み取り処理を実行できない。   FIG. 8 shows an example of execution when the reading process is individually repeated by three reader / writers using the same frequency band without using the functions described in FIG. 6 and FIG. FIG. The number of frequency bands that can be used by the reader / writer is limited, and two or more frequency bands cannot be used simultaneously. Therefore, even if three reader / writers try to execute the reading process at the same time using the same frequency band, only one of them can execute the reading process, while the remaining two units cannot execute the reading process.

図8は、タイムスロット602が1から10までの、リーダライタ1_610、リーダライタ2_620、リーダライタ_630の読み取り処理を示している。図8では、まずリーダライタ1_610が読み取り処理611を行う。その間、リーダライタ2_620とリーダライタ3_630は読み取り処理が実行できない。リーダライタ1_610の読み取り処理611が終了すると、リーダライタ2_620の読み取り処理621が開始する。前述と同様に、この間、リーダライタ1_610とリーダライタ3_630は読み取り処理を実行できない。リーダライタ2_620の読み取り処理621が終了すると、リーダライタ1_610の読み取り処理612が実行される。その後は、同様に、リーダライタ1_610の読み取り処理612が終了すると、リーダライタ3_630の読み取り処理631が実行、リーダライタ1_610の読み取り処理613が実行、リーダライタ2_620の読み取り処理622が実行、リーダライタ1_610の読み取り処理614が実行、リーダライタ2_620の読み取り処理623が実行される。   FIG. 8 shows reading processing of the reader / writer 1_610, the reader / writer 2_620, and the reader / writer_630 when the time slot 602 is from 1 to 10. In FIG. 8, first, the reader / writer 1_610 performs a reading process 611. Meanwhile, the reader / writer 2_620 and the reader / writer 3_630 cannot execute the reading process. When the reading process 611 of the reader / writer 1_610 is completed, the reading process 621 of the reader / writer 2_620 starts. Similarly to the above, the reader / writer 1_610 and the reader / writer 3_630 cannot execute the reading process during this period. When the reading process 621 of the reader / writer 2_620 is completed, the reading process 612 of the reader / writer 1_610 is executed. Thereafter, similarly, when the reading process 612 of the reader / writer 1_610 is completed, the reading process 631 of the reader / writer 3_630 is executed, the reading process 613 of the reader / writer 1_610 is executed, the reading process 622 of the reader / writer 2_620 is executed, and the reader / writer 1_610 Reading processing 614 is executed, and reading processing 623 of the reader / writer 2_620 is executed.

結果として、リーダライタ1_610が読み取り処理を4回、リーダライタ2が3回、リーダライタ3が1回となり、特にリーダライタ3_630ではほとんど読み取り処理が行われていない。この例の場合は、リーダライタ3台が個別に、使用する周波数帯が空いたら、読み取り処理を開始しているので、3台の読み取り回数やタイミングは不一定となる。場合によっては、リーダライタ3_630の読み取り処理が1番多いかもしれないし、3台とも同じ回数になるかもしれない。読み取り処理ができる回数が不一定となり、システムとしては正常に機能しない可能性が大いにある。またリーダライタの設定や、通信対象となるRFIDタグの数や、周りの環境等よって読み取り処理時間も不一定となり、システムが正常に機能しない原因ともなる。   As a result, the reader / writer 1_610 performs reading processing four times, the reader / writer 2 performs three times, and the reader / writer 3 performs one time. In particular, the reader / writer 3_630 performs almost no reading processing. In the case of this example, since the reading process is started when the three reader / writers individually use the available frequency band, the number of readings and timing of the three readers / writers are not constant. Depending on the case, the reader / writer 3_630 may have the largest number of reading processes, and all three units may have the same number of times. There is a great possibility that the number of times the reading process can be performed becomes unstable, and the system does not function normally. In addition, the reading processing time is not constant depending on the setting of the reader / writer, the number of RFID tags to be communicated, the surrounding environment, and the like, which may cause the system not to function normally.

図9は、集中制御装置で図6、図7の機能を使用し、3台のリーダライタを同時に制御した時の読み取り処理の実行例を示した図である。リーダライタ1_610は、開始タイムスロットが1、間隔タイムスロットが4に、リーダライタ2620は、開始タイムスロットが3、間隔タイムスロットが4に、リーダライタ3_630は、開始タイムスロットが4、間隔タイムスロットが4に設定されている。   FIG. 9 is a diagram illustrating an execution example of the reading process when the functions of FIGS. 6 and 7 are used in the centralized control apparatus and three reader / writers are controlled simultaneously. Reader / writer 1_610 has a start time slot of 1 and interval time slot of 4, reader / writer 2620 has a start time slot of 3 and interval time slot of 4, reader / writer 3_630 has a start time slot of 4 and interval time slot Is set to 4.

リーダライタ1_610が、タイムスロットが1で読み取り処理641を実行する。次にタイムスロットが3でリーダライタ2_620が読み取り処理651を実行する。次に、タイムスロットが4でリーダライタ3_630が読み取り処理661を実行する。次に、タイムスロットが5でリーダライタ1_610が読み取り処理642を実行する。次に、タイムスロットが7でリーダライタ2_620が読み取り処理652を実行する。次に、タイムスロットが8でリーダライタ3_630が読み取り処理662を実行する。次に、タイムスロットが9でリーダライタ1_610が読み取り処理643を実行する。図8で説明した動作とは異なり、各リーダライタが読み取り処理を実行するタイミングがあらかじめ規定されているため、RFIDタグシステムは一定して正常に動作する。読み取り処理時間が、通信対象となるRFIDタグの数等によって異なる点、同時に制御するリーダライタの数を考慮して、開始タイムスロットと間隔タイムスロットを設定することが望ましい。例えば、上述の図6の登録の方法を用いる。   The reader / writer 1_610 executes the reading process 641 when the time slot is 1. Next, when the time slot is 3, the reader / writer 2_620 executes the reading process 651. Next, when the time slot is 4, the reader / writer 3_630 executes the reading process 661. Next, when the time slot is 5, the reader / writer 1_610 executes the reading process 642. Next, when the time slot is 7, the reader / writer 2_620 executes the reading process 652. Next, when the time slot is 8, the reader / writer 3_630 executes the reading process 662. Next, when the time slot is 9, the reader / writer 1_610 executes the reading process 643. Unlike the operation described with reference to FIG. 8, the timing at which each reader / writer executes a reading process is defined in advance, so that the RFID tag system operates normally and constantly. It is desirable to set the start time slot and the interval time slot in consideration of the difference in the reading processing time depending on the number of RFID tags to be communicated and the number of reader / writers to be controlled simultaneously. For example, the registration method shown in FIG. 6 is used.

また、図9すなわち、本実施の形態を用いた場合には、従来すなわち、図8に比較して、全体として効率的な運用が可能になることが、図9と図8の比較から明らかである。例えば、図8の「631」の読み取りに当るのが、図9では「661」の読み取りであり、それぞれタイムスロット値が「5」と「4」といった具合に図9すなわち本実施の形態を適用した場合の方が、早く読取りを実行することができる。当初こそ、図8「621」=タイムスロット値「2」と、図9「651」=タイムスロット値=「3」と本実施の形態の方が遅いが以降は、上述のとおり効率的(早く)読み取りを実行可能になる。   In addition, it is apparent from the comparison between FIG. 9 and FIG. 8 that when FIG. 9 is used, that is, the present embodiment enables efficient operation as a whole compared to the conventional case, that is, FIG. is there. For example, the reading of “631” in FIG. 8 corresponds to the reading of “661” in FIG. 9, and the time slot values “5” and “4” are applied to FIG. In this case, reading can be performed faster. Initially, FIG. 8 “621” = time slot value “2” and FIG. 9 “651” = time slot value = “3”, which is slower than the present embodiment. ) Read can be executed.

次に、図9で説明した処理で複数のリーダライタが読み取り処理を繰り返す中で、任意のタイミングである処理が割り込まれた場合に、RFIDタグシステムの正確性を保持したまま、割り込み処理を確実に実行する方法について説明する。   Next, when a process at an arbitrary timing is interrupted while a plurality of reader / writers repeat the reading process in the process described with reference to FIG. 9, interrupt processing is ensured while maintaining the accuracy of the RFID tag system. A method to be executed will be described.

図10は、集中制御装置が1台のリーダライタで図6のスケジュールデータを用いてリーダライタにリーダライタコマンドデータを送信またはリーダライタレスポンスデータを受信する処理を繰り返しているときに、読み取り処理以外の割り込み処理があり得る場合に対処するための処理のフローチャートを示した図である。   FIG. 10 shows a case where the central control apparatus repeats the process of transmitting the reader / writer command data to the reader / writer or receiving the reader / writer response data using the schedule data of FIG. 6 with one reader / writer. It is the figure which showed the flowchart of the process for coping with the case where there is a possibility of the interruption process of.

ここでは割り込み処理の例としてRFIDタグのメモリにデータを格納する書き込み処理とする。他に割り込み処理の例として、ロックや優先度の高い処理などがある。ステップS710では、集中制御装置が、ホストインタフェースに接続された外部通信装置から、処理開始の命令を受信したとき、または事前に処理開始条件を設定しておき、その条件になったときに処理を開始し、タイムスロットTに0を代入し、ステップS711へ進む。ステップS711では、タイムスロットTと設定されている開始タイムスロットT1を比較する。値が不一致の場合は、ステップS712へ、値が同じ場合は、ステップS713へ進む。ステップS712では、タイムスロットTに1を加算し、ステップS711へ進む。   Here, as an example of the interrupt process, a write process for storing data in the memory of the RFID tag is used. Other examples of interrupt processing include locking and high priority processing. In step S710, when the central control apparatus receives a process start command from an external communication apparatus connected to the host interface, or sets a process start condition in advance and performs the process when the condition is met. Start, assign 0 to the time slot T, and go to step S711. In step S711, the time slot T is compared with the set start time slot T1. If the values do not match, the process proceeds to step S712. If the values are the same, the process proceeds to step S713. In step S712, 1 is added to the time slot T, and the process proceeds to step S711.

一方、ステップS713では、ステップS710の開始からステップS713の処理開始までの間の、読み取り処理以外の割り込み処理の有無を判定する。割り込み処理がなかった場合は、ステップS714へ進み、割り込み処理があった場合は、ステップS715へ進む。なお、ここでは、利用者などからの別の処理の要求情報があった場合、割り込み処理が有ると判断する。   On the other hand, in step S713, it is determined whether or not there is an interrupt process other than the read process between the start of step S710 and the start of the process in step S713. If there is no interrupt process, the process proceeds to step S714. If there is an interrupt process, the process proceeds to step S715. Here, if there is request information for another process from the user or the like, it is determined that there is an interrupt process.

また、有無を検知するだけでなく、割り込まれた処理が読み取り処理より優先度の高い処理かを判断し、その結果に基づいてステップS714もしくはS715に進むようにしてもよい。すなわち、処理の種別毎にその優先順位を示す優先度を、優先度テーブルを用いて判断する。この場合、読み取り処理の優先度が、要求情報で要求される処理より高い場合、割り込み処理有りと判断し、低い場合割り込み処理無しと判断する。なお、このとき、割り込み処理なしと判断した場合には、当該ステップS714に進み、要求情報で要求された処理については、その要求を受付けない。もしくは、読み取り処理を実行した後、当該読み取り処理(もしくは所定数の読み取り処理)が終了した場合に、要求情報で要求される処理を実行してもよい。   In addition to detecting the presence / absence, it may be determined whether the interrupted process has a higher priority than the reading process, and the process may proceed to step S714 or S715 based on the result. That is, the priority indicating the priority for each type of processing is determined using the priority table. In this case, if the priority of the reading process is higher than the process requested by the request information, it is determined that there is an interrupt process, and if it is low, it is determined that there is no interrupt process. At this time, if it is determined that there is no interrupt processing, the process proceeds to step S714, and the request for the processing requested by the request information is not accepted. Alternatively, after the reading process is executed, when the reading process (or a predetermined number of reading processes) is completed, the process requested by the request information may be executed.

ステップS714では、リーダライタと通信をする。今回の例では、リーダライタへリーダライタリードコマンドを送信し、リーダライタレスポンスデータを受信し、RFIDタグの読み取り処理を実行する。すなわち、スケジュールデータに従って読み取り処理を実行する。この際、リーダライタでは、リーダライタリードコマンドを受信し、図5で示したフローチャートの処理を行い、結果をリーダライタレスポンスデータとして集中制御装置へ送信する。フローチャートのステップS503のRFIDタグと通信する処理では、RFIDタグに対し、RFIDタグリードコマンドに関する処理を実行する。RFIDタグの読み取り処理が完了すると、ステップS716へ進む。   In step S714, communication with the reader / writer is performed. In this example, a reader / writer read command is transmitted to the reader / writer, reader / writer response data is received, and RFID tag reading processing is executed. That is, the reading process is executed according to the schedule data. At this time, the reader / writer receives the reader / writer read command, performs the processing of the flowchart shown in FIG. 5, and transmits the result to the central control apparatus as reader / writer response data. In the process of communicating with the RFID tag in step S503 of the flowchart, the process related to the RFID tag read command is executed for the RFID tag. When the RFID tag reading process is completed, the process proceeds to step S716.

一方、ステップS715では、割り込み処理を実行する。今回の例では、割り込みで書き込み処理を実行するため、リーダライタへリーダライタライトコマンドを送信し、リーダライタレスポンスデータを受信し、RFIDタグの書き込み処理を実行する。この際、リーダライタでは、リーダライタライトコマンドを受信し、図5で示したフローチャートの処理を行い、結果をリーダライタレスポンスデータとして集中制御装置へ送信する。フローチャートのステップS503のRFIDタグと通信する処理では、RFIDタグに対し、RFIDタグライトコマンドに関する処理を実行する。RFIDタグの書き込み処理が完了すると、ステップS716へ進む。なお、ここでは、スケジュールデータに規定された読み取り機能を中止して、受付けられた機能を実行する。もしくは、要求を受付けた際に実行中のスケジュール機能規定された読み取り機能が一旦終了するまで待ち、その次の読み取りの実行前に、受付けられた機能を実行してもよい。   On the other hand, in step S715, interrupt processing is executed. In this example, since the writing process is executed by interruption, the reader / writer write command is transmitted to the reader / writer, the reader / writer response data is received, and the RFID tag writing process is executed. At this time, the reader / writer receives the reader / writer write command, performs the processing of the flowchart shown in FIG. 5, and transmits the result to the central control apparatus as reader / writer response data. In the process of communicating with the RFID tag in step S503 of the flowchart, a process related to the RFID tag write command is executed for the RFID tag. When the RFID tag writing process is completed, the process proceeds to step S716. Here, the reading function specified in the schedule data is stopped and the accepted function is executed. Alternatively, it is possible to wait until the reading function defined by the scheduled function being executed when the request is received and to execute the received function before executing the next reading.

ステップS716では、タイムスロットTに0を代入してステップS717へ進む。ステップS717では、タイムスロットTと設定されている間隔タイムスロットT2を比較する。値が一致の場合は、ステップS713へ進み処理を繰り返す。一方、値が不一致の場合は、ステップS718へ進む。ステップS718では、タイムスロットTに1を加算し、ステップS717へ進み処理を繰り返す。2回目以降のステップS713では、前回のステップS713の処理から今回のステップS713での処理の間の割り込み処理の有無を判定する。図では終了は記載していないが、開始の場合と同様に、集中制御装置が、ホストインタフェースに接続された外部通信装置から、処理終了の命令を受信した時、または事前に処理終了条件を設定しておき、その条件になったときに処理を終了する。
次に、集中制御装置がリーダライタ3台を制御している際に、割り込みで書き込み処理を実行した時の動作を説明する。
In step S716, 0 is substituted for time slot T, and the flow advances to step S717. In step S717, the time slot T is compared with the set interval time slot T2. If the values match, the process proceeds to step S713 to repeat the process. On the other hand, if the values do not match, the process proceeds to step S718. In step S718, 1 is added to the time slot T, the process proceeds to step S717, and the process is repeated. In step S713 after the second time, it is determined whether or not there is an interrupt process between the process in the previous step S713 and the process in this step S713. Although the end is not shown in the figure, as in the case of the start, when the central control device receives a processing end command from the external communication device connected to the host interface, or sets the processing end condition in advance In addition, the process ends when the condition is met.
Next, an operation when a write process is executed by interruption while the central control apparatus controls three reader / writers will be described.

図11は、図9で説明したリーダライタ3台の読み取り処理に、図7で説明したフローチャートの処理の際に、割り込みで書き込み処理を実行した際の動作を示した図である。リーダライタ1_610は、開始タイムスロットが1、間隔タイムスロットが4に、リーダライタ2620は、開始タイムスロットが3、間隔タイムスロットが4に、リーダライタ3_630は、開始タイムスロットが4、間隔タイムスロットが4に設定されている。リーダライタ1_610が、タイムスロットが1で読み取り処理641を実行する。次にタイムスロットが3でリーダライタ2_620の読み取り処理651が実行される。ここで割り込み処理671が割り込まれる。このタイミングで割り込み処理671が実行されるため、リーダライタ3_630の読み取り処理661が実行できない。さらに、リーダライタ1_610の読み取り処理642も実行できない。今回の例では、割り込み処理671は、書き込み処理が実行される。次に、タイムスロットが7でリーダライタ2_620が読み取り処理652を実行する。次に、タイムスロットが8でリーダライタ3_630が読み取り処理662を実行する。次に、タイムスロットが9でリーダライタ1_610が読み取り処理643を実行する。割り込み処理がなければ、図9と同様に、システムが一定して正常動作するが、途中でリーダライタ1_610に割り込み処理が入ったため、リーダライタ2_620とリーダライタ3_661の処理が1回ずつ実行できない。その結果、他のリーダライタの処理に影響を与え、RFDIタグシステムとしては正常に機能しない。   FIG. 11 is a diagram showing an operation when a write process is executed by an interrupt in the process of the flowchart described in FIG. 7 in the read process of the three reader / writers described in FIG. Reader / writer 1_610 has a start time slot of 1 and interval time slot of 4, reader / writer 2620 has a start time slot of 3 and interval time slot of 4, reader / writer 3_630 has a start time slot of 4 and interval time slot Is set to 4. The reader / writer 1_610 executes the reading process 641 when the time slot is 1. Next, when the time slot is 3, the reading process 651 of the reader / writer 2_620 is executed. Here, interrupt processing 671 is interrupted. Since the interrupt process 671 is executed at this timing, the read process 661 of the reader / writer 3_630 cannot be executed. Further, the reading process 642 of the reader / writer 1_610 cannot be executed. In this example, the interrupt process 671 executes a write process. Next, when the time slot is 7, the reader / writer 2_620 executes the reading process 652. Next, when the time slot is 8, the reader / writer 3_630 executes the reading process 662. Next, when the time slot is 9, the reader / writer 1_610 executes the reading process 643. If there is no interrupt processing, as in FIG. 9, the system operates consistently and normally. However, since interrupt processing has entered the reader / writer 1_610, the processing of the reader / writer 2_620 and the reader / writer 3_661 cannot be performed once. As a result, processing of other reader / writers is affected, and the RFDI tag system does not function normally.

図12は、図9で説明したリーダライタ3台の読み取り処理に、図10で説明したフローチャートの処理を用いて、割り込みで書き込み処理を実行した際の動作を示した図である。
リーダライタ1_610は、開始タイムスロットが1、間隔タイムスロットが4に、リーダライタ2620は、開始タイムスロットが3、間隔タイムスロットが4に、リーダライタ3_630は、開始タイムスロットが4、間隔タイムスロットが4に設定されている。タイムスロットが1でリーダライタ1_610が、タイムスロットが1で読み取り処理641を実行する。次にタイムスロットが3でリーダライタ2_620の読み取り処理651が実行される。次に、ここで割り込み処理671が挿入されるが、このタイミングですぐには実行せず、次の読み取り処理時のタイミング、すなわちタイムスロットが5の時に割り込み処理671を実行する。よって、図11のように他のリーダライタの処理に影響を与えることはない。次にタイムスロットが4でリーダライタ3_630の読み取り処理661が実行される。
FIG. 12 is a diagram showing an operation when a write process is executed by an interrupt using the process of the flowchart described in FIG. 10 for the read process of the three reader / writers described in FIG.
Reader / writer 1_610 has a start time slot of 1 and interval time slot of 4, reader / writer 2620 has a start time slot of 3 and interval time slot of 4, reader / writer 3_630 has a start time slot of 4 and interval time slot Is set to 4. The reader / writer 1_610 executes the reading process 641 when the time slot is 1 and the time slot is 1. Next, when the time slot is 3, the reading process 651 of the reader / writer 2_620 is executed. Next, interrupt processing 671 is inserted here, but is not immediately executed at this timing, and interrupt processing 671 is executed when the next reading processing timing, that is, when the time slot is 5. Therefore, the processing of other reader / writers is not affected as shown in FIG. Next, when the time slot is 4, the reading process 661 of the reader / writer 3_630 is executed.

次に、タイムスロットが5で先ほど割り込まれた割り込み処理672がこのタイミングで実行される。割り込み処理672があるため、このタイミングでは本来の読み取り処理は実行しない。次に、タイムスロットが7でリーダライタ2_620が読み取り処理652を実行する。次に、タイムスロットが8でリーダライタ3_630が読み取り処理662を実行する。次に、タイムスロットが9でリーダライタ1_610が読み取り処理643を実行する。   Next, the interrupt processing 672 that was interrupted earlier at time slot 5 is executed at this timing. Since there is an interrupt process 672, the original read process is not executed at this timing. Next, when the time slot is 7, the reader / writer 2_620 executes the reading process 652. Next, when the time slot is 8, the reader / writer 3_630 executes the reading process 662. Next, when the time slot is 9, the reader / writer 1_610 executes the reading process 643.

本実施の形態によれば、複数のリーダライタを備えたRFIDタグシステムにおいて、リーダライタが読み取り処理を行いながら、RFIDタグシステムの正確性を保持したまま、任意のタイミングで書き込みやロックや優先度の高い処理を、確実に実行することができる。   According to the present embodiment, in an RFID tag system having a plurality of reader / writers, while the reader / writer performs a reading process, while maintaining the accuracy of the RFID tag system, it is possible to write, lock, and prioritize at an arbitrary timing. Can be reliably executed.

本発明の一実施の形態に関わる情報記録媒体RFIDタグと外部通信装置リーダライタと集中制御装置の構成を示した図である。It is the figure which showed the structure of the information recording medium RFID tag, external communication apparatus reader / writer, and centralized control apparatus regarding one embodiment of this invention. 情報記録媒体RFIDタグの内部構成を示した図である。It is the figure which showed the internal structure of the information recording medium RFID tag. 外部通信装置リーダライタの内部構成を示した図である。It is the figure which showed the internal structure of the external communication apparatus reader / writer. 集中制御装置の内部構成を示した図である。It is the figure which showed the internal structure of the centralized control apparatus. 情報記録媒体RFIDタグと通信するための外部通信装置リーダライタの処理手順を示した図である。It is the figure which showed the process sequence of the external communication apparatus reader / writer for communicating with an information recording medium RFID tag. 集中制御装置が外部通信装置リーダライタにリーダライタコマンドを送信するタイミングのスケジュールデータである。This is schedule data at a timing when the centralized control device transmits a reader / writer command to the external communication device reader / writer. 集中制御装置が外部通信装置リーダライタと通信する際の処理手順を示した図である。It is the figure which showed the process sequence at the time of a centralized control apparatus communicating with an external communication apparatus reader / writer. 3台の外部通信装置リーダライタが個別に読み取り処理を実行した時の例を示した図である。It is the figure which showed the example when three external communication apparatus reader / writers performed the reading process separately. 集中制御装置が3台の外部通信装置リーダライタを制御して読み取り処理を実行した時の処理を示した図である。It is the figure which showed the process when a centralized control apparatus controls the three external communication apparatus reader / writers, and performed the reading process. 集中制御装置が3台の外部通信装置リーダライタを制御して読み取り処理を行う際に、割り込み処理に対応させた処理手順を示した図である。FIG. 10 is a diagram illustrating a processing procedure corresponding to an interrupt process when the central control apparatus controls three external communication device reader / writers to perform a read process. 集中制御装置が3台の外部通信装置リーダライタを制御して読み取り処理を実行している際に割り込み処理が挿入された時の処理を示した図である。It is the figure which showed the process when the interruption process was inserted when the centralized control apparatus controlled the three external communication apparatus reader / writers and was performing the reading process. 図10で示した処理手順を用いて、集中制御装置が3台の外部通信装置リーダライタを制御して読み取り処理を実行している際に割り込み処理が挿入された時の処理を示した図である。FIG. 11 is a diagram showing a process when an interrupt process is inserted when the central control apparatus controls three external communication device readers / writers and executes a read process using the processing procedure shown in FIG. 10. is there.

符号の説明Explanation of symbols

100 RFIDタグ、101 アンテナ、102 整流部、103 電源部、104 通信制御部、105 制御部、106 記憶部、110 RFIDタグ、
200 リーダライタ、201 リーダライタ本体、202 リーダライタアンテナ、203 送受信部、204 通信制御部、205 制御部、206 電源部、207 ホストインタフェース、210 リーダライタ、
300 RFIDタグコマンドデータ、301 RFIDタグレスポンスデータ、302 リーダライタコマンドデータ、303 リーダライタレスポンスデータ、
400 集中制御装置、401 リーダライタ接続インタフェース、402 ホストインタフェース、403 制御部、404 電源部、405 記憶部、
100 RFID tag, 101 antenna, 102 rectification unit, 103 power supply unit, 104 communication control unit, 105 control unit, 106 storage unit, 110 RFID tag,
200 reader / writer, 201 reader / writer main body, 202 reader / writer antenna, 203 transmission / reception unit, 204 communication control unit, 205 control unit, 206 power supply unit, 207 host interface, 210 reader / writer,
300 RFID tag command data, 301 RFID tag response data, 302 reader / writer command data, 303 reader / writer response data,
400 centralized control device, 401 reader / writer connection interface, 402 host interface, 403 control unit, 404 power supply unit, 405 storage unit,

Claims (6)

情報記憶媒体との無線通信を行う外部通信装置を備えた無線通信システムにおいて、
前記無線通信における機能について、それぞれを実行するスケジュールを時間的に重ならないように規定するスケジュールデータを記憶する手段と、
前記スケジュールデータに従って、前記機能を時間的に重ならないように、前記外部通信装置における前記情報記憶媒体との無線通信を制御する手段と
前記情報記憶媒体との無線通信として、それぞれが同周波数帯で前記情報記憶媒体に記憶された情報を繰り返し読み取る読み取り処理を実行する複数の外部通信装置と、
前記記憶する手段に、前記スケジュールデータとして、前記複数の外部通信装置それぞれの、前記読み取り処理の開始時間および間隔時間を記憶する記憶制御手段と、
前記記憶する手段に記憶された以外の機能の実行を要求する要求情報を受付ける手段と、
前記受付けられた要求情報の示す機能について割り込み処理させるか判断する手段とを有し、
前記制御する手段は、前記判断する手段での判断内容に従って無線通信を制御し、
前記判断する手段は、前記開始時間になったことを検知した場合および前記間隔時間が経過したことを検知した場合に、前記要求情報を受付けたかを判断し、受付けた場合、当該要求情報の示す機能を割り込み処理させると判断することを特徴とする無線通信システム。
In a wireless communication system including an external communication device that performs wireless communication with an information storage medium,
Means for storing schedule data for prescribing schedules for performing the functions in the wireless communication so as not to overlap in time;
Means for controlling wireless communication with the information storage medium in the external communication device so that the functions do not overlap in time according to the schedule data ;
A plurality of external communication devices that execute read processing for repeatedly reading information stored in the information storage medium in the same frequency band as wireless communication with the information storage medium,
Storage control means for storing the read processing start time and interval time of each of the plurality of external communication devices as the schedule data in the storage means,
Means for receiving request information for requesting execution of a function other than that stored in the means for storing;
Means for determining whether to perform interrupt processing for the function indicated by the received request information,
The means for controlling controls wireless communication in accordance with the contents of the judgment by the means for judging,
The means for determining determines whether the request information has been received when it is detected that the start time has been reached and when the interval time has elapsed, and when the request information is received, the request information indicates A wireless communication system , characterized in that a function is determined to be interrupted .
請求項1に記載の無線通信システムにおいて、The wireless communication system according to claim 1, wherein
前記情報記憶媒体は、RFIDタグであることを特徴とする無線通信システム。The wireless communication system, wherein the information storage medium is an RFID tag.
請求項1または2のいずれかに記載の無線通信システムにおいて、
前記記憶制御手段は、前記複数の外部通信装置それぞれの間隔時間として同じ値の間隔時間を登録することを特徴とする無線通信システム。
In the radio | wireless communications system in any one of Claim 1 or 2 ,
The storage control means registers an interval time having the same value as an interval time of each of the plurality of external communication devices.
請求項3に記載の無線通信システムにおいて、
前記記憶制御手段は、
前記開始時間のうち最も早く読み取りを開始する最先開始時間および最も遅く読み取りを開始する最後開始時間を特定し、
前記最後開始時間から前記最先開始時間を減算し、当該減算によって算出された値に前記間隔時間の単位時間を加算して、前記同じ値の間隔時間を算出することを特徴とする無線通信システム。
The wireless communication system according to claim 3,
The storage control means
Identify the earliest start time to start reading earliest and the last start time to start reading latest among the start times,
The wireless communication system, wherein the earliest start time is subtracted from the last start time, and the unit time of the interval time is added to the value calculated by the subtraction to calculate the interval time of the same value. .
請求項1に記載の無線通信システムにおいて、The wireless communication system according to claim 1, wherein
前記記憶する手段は、各機能の種類ごとに、当該機能の処理の優先順位を示す優先度を記憶しておき、The storing means stores, for each function type, a priority indicating the priority of processing of the function,
前記判断する手段は、前記要求情報が示す機能の優先度と、前記スケジュールデータが記憶された機能の優先度を比較し、当該比較の結果、優先度の高い機能の処理を優先的に実行するよう判断することを特徴とする無線通信システム。The determination means compares the priority of the function indicated by the request information with the priority of the function in which the schedule data is stored, and preferentially executes processing of the function having a higher priority as a result of the comparison. A wireless communication system, characterized by:
請求項1に記載の無線通信システムにおいて、The wireless communication system according to claim 1, wherein
前記情報記憶媒体との無線通信として、それぞれが同周波数帯で前記情報記憶媒体に記憶された情報を繰り返し読み取る読み取り処理を実行する複数の外部通信装置を備え、As a wireless communication with the information storage medium, each comprising a plurality of external communication devices that execute a reading process of repeatedly reading information stored in the information storage medium in the same frequency band,
さらに、前記記憶する手段に、前記スケジュールデータとして、前記複数の外部通信装置それぞれの、前記読み取り処理の終了時間および次の読み取り開始時間までの間隔時間を記憶する記憶制御手段を有することを特徴とする無線通信システム。The storage means further comprises storage control means for storing, as the schedule data, an end time of the reading process and an interval time until the next reading start time of each of the plurality of external communication devices. Wireless communication system.
JP2008094468A 2008-04-01 2008-04-01 External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium Expired - Fee Related JP5022972B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008094468A JP5022972B2 (en) 2008-04-01 2008-04-01 External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008094468A JP5022972B2 (en) 2008-04-01 2008-04-01 External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium

Publications (2)

Publication Number Publication Date
JP2009246915A JP2009246915A (en) 2009-10-22
JP5022972B2 true JP5022972B2 (en) 2012-09-12

Family

ID=41308308

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008094468A Expired - Fee Related JP5022972B2 (en) 2008-04-01 2008-04-01 External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium

Country Status (1)

Country Link
JP (1) JP5022972B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6525232B2 (en) * 2013-11-22 2019-06-05 日本電気株式会社 Communication system and processing method of communication system
JP6425600B2 (en) * 2015-03-30 2018-11-21 キヤノン株式会社 INFORMATION PROCESSING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4080173B2 (en) * 2001-05-01 2008-04-23 株式会社日立国際電気 Non-contact information communication system
JP4887627B2 (en) * 2005-01-19 2012-02-29 日本電気株式会社 RFID reading system, RFID reading method, RFID reader, RFID reading management apparatus, RFID reader control program and computer-readable information recording medium, and RFID reading management apparatus control program and computer recording the same Possible information recording media
WO2007026412A1 (en) * 2005-08-31 2007-03-08 Mitsubishi Denki Kabushiki Kaisha Communication station device, communication method, and communication station device system

Also Published As

Publication number Publication date
JP2009246915A (en) 2009-10-22

Similar Documents

Publication Publication Date Title
US8311479B2 (en) Information processing apparatus, method, and program for performing near field communication with an external device
US8330581B2 (en) IC tag, method of controlling the IC tag, and IC tag system
KR100912076B1 (en) Apparatus and method for Integrated Reader and Tag
US20070080788A1 (en) System and method for slaves in a master-slave wireless network to dynamically develop affinity to a time slot
US9961419B2 (en) Communication apparatus, communication system, and communication method
WO2007026412A1 (en) Communication station device, communication method, and communication station device system
JP4394007B2 (en) Reader / writer device
JP5022972B2 (en) External communication apparatus and centralized control apparatus for performing wireless communication with information recording medium
US7834763B2 (en) Wireless tag reader/writer control system and wireless tag reader/writer control method
EP1901197A2 (en) Reader/writer and data communication method
JP2006108755A (en) Radio equipment and radio transmission/reception system using the radio equipment
US8933793B2 (en) Active contactless information storage device, method, and information access system
US8798540B2 (en) Method and apparatus for anti-collision tag in radio frequency identification (RFID) system
US20090102675A1 (en) Centralized RFID Reader Control and Coordination
US20050231329A1 (en) Method for data communication between a base station and a transponder
JP2009251630A (en) Rfid management system, rfid reader device, rfid synchronization control device, rfid management device, and rfid management method
KR100858053B1 (en) A Passive RFID Reader and Operation Control Method
EP2391029A1 (en) Data read/write device for active tag device, active tag device and system
JP6217344B2 (en) Method and apparatus for controlling access to shared memory
JP2005322212A (en) Ic card reader
KR102131728B1 (en) Wireless charging equipment, terminal, wireless charging system comprising the same, control method thereof and computer readable medium having computer program recorded therefor
JP2012033019A (en) Information processor and rfid tag
JP2006185234A (en) Rfid and communication operation distance setting method
JP6682995B2 (en) Communication device, system including communication device, and program
WO2008013418A1 (en) Apparatus and method for integrated reader and tag

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100903

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120308

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120419

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

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

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

Free format text: PAYMENT UNTIL: 20150622

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees