JP4981366B2 - Communication apparatus and communication method - Google Patents

Communication apparatus and communication method Download PDF

Info

Publication number
JP4981366B2
JP4981366B2 JP2006172192A JP2006172192A JP4981366B2 JP 4981366 B2 JP4981366 B2 JP 4981366B2 JP 2006172192 A JP2006172192 A JP 2006172192A JP 2006172192 A JP2006172192 A JP 2006172192A JP 4981366 B2 JP4981366 B2 JP 4981366B2
Authority
JP
Japan
Prior art keywords
communication
unit
information
wireless
wireless communication
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
JP2006172192A
Other languages
Japanese (ja)
Other versions
JP2008003822A (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 JP2006172192A priority Critical patent/JP4981366B2/en
Publication of JP2008003822A publication Critical patent/JP2008003822A/en
Application granted granted Critical
Publication of JP4981366B2 publication Critical patent/JP4981366B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、RFID(Radio Frequency IDentification)システムの無線タグと無線通信を行うなどの機能を有する通信装置およびその通信方法に関する。   The present invention relates to a communication device having a function of performing wireless communication with a wireless tag of an RFID (Radio Frequency IDentification) system and a communication method therefor.

近年、人や物品を識別または管理するために、無線タグが多く使用されている。無線タグは、主に、情報処理用のIC(Integrated Circuit)と、電波送受信用のアンテナから構成される。
そして、無線タグは、様々な形状や種類のものが存在する。その中でも、電池を搭載せずに受信電波から電力を得るタイプ(パッシブタイプ)の無線タグは、小型化や低コスト化などが実現しやすいため、幅広い分野で使用され、また、その応用が期待されている。
In recent years, wireless tags are often used to identify or manage people and articles. The wireless tag is mainly composed of an IC (Integrated Circuit) for information processing and an antenna for radio wave transmission / reception.
There are various types and types of wireless tags. Among them, wireless tags of the type (passive type) that get power from received radio waves without mounting a battery are easy to realize downsizing and cost reduction, so they are used in a wide range of fields, and their application is expected. Has been.

一方、無線タグとの通信に使用されるリーダライタ(通信装置)においても、通信距離や通信速度等の性能向上を目的とした技術開発が、盛んに行われてきている。リーダライタは、通常、情報処理用のプロセッサとメモリ、上位機器との通信インターフェース、無線信号の変調や復調を行う通信制御部、電波送受信用のアンテナなどを備えて構成される。   On the other hand, also in reader / writers (communication devices) used for communication with wireless tags, technological development aimed at improving performance such as communication distance and communication speed has been actively performed. The reader / writer usually includes an information processor and memory, a communication interface with a host device, a communication control unit that modulates and demodulates a radio signal, an antenna for transmitting and receiving radio waves, and the like.

その無線通信に使用される周波数帯としては、主に、13.56MHz帯、2.45GHz帯、UHF(Ultra High Frequency)帯などが挙げられる。そして、リーダライタや無線タグなどは、周波数や通信方式ごとに開発する必要がある。
したがって、リーダライタや無線タグは特定の周波数帯や通信方式にのみ対応しているのが一般的であるが、複数の周波数帯や通信方式に対応したリーダライタや無線タグなども提案されている。
たとえば、特許文献1では、複数の通信方式に対応した信号処理部を有するリーダライタについての技術が開示されている。
特開2004−213582号公報
The frequency band used for the wireless communication mainly includes a 13.56 MHz band, a 2.45 GHz band, a UHF (Ultra High Frequency) band, and the like. Reader / writers, wireless tags, and the like need to be developed for each frequency and communication method.
Therefore, reader / writers and wireless tags generally support only specific frequency bands and communication systems, but reader / writers and wireless tags compatible with multiple frequency bands and communication systems have also been proposed. .
For example, Patent Document 1 discloses a technique regarding a reader / writer having a signal processing unit corresponding to a plurality of communication methods.
JP 2004-213582 A

しかしながら、特許文献1の技術を用いたリーダライタでは、ハードウェアの構成が固定されているため、後から他の周波数帯や通信方式を採用したくなった場合には、ハードウェアの追加だけではなく、ソフトウェアの追加や再開発も必要となり、その費用や手間が負担となる。また、対応する周波数帯や通信方式が増えてくると、構成が複雑になるため、すべてのデータ通信を制御することが困難になるという問題も生じる。   However, in the reader / writer using the technology of Patent Document 1, the hardware configuration is fixed, so if you want to adopt another frequency band or communication method later, just adding hardware In addition, additional software and redevelopment are required, and the cost and effort are burdened. In addition, as the corresponding frequency band and communication method increase, the configuration becomes complicated, which causes a problem that it becomes difficult to control all data communication.

特に、無線タグと無線通信を行うリーダライタは、上位機器(パソコンなど)とも通信を行う必要があることが多い。したがって、リーダライタは、複数の無線タグだけでなく、複数の上位機器と通信を行う必要が生じることもあり、そうなると、通信方式の組み合わせ数がさらに増大し、対応することがより困難になる。   In particular, a reader / writer that performs wireless communication with a wireless tag often needs to communicate with a host device (such as a personal computer). Therefore, the reader / writer may need to communicate not only with a plurality of wireless tags but also with a plurality of higher-level devices. In this case, the number of combinations of communication methods further increases, and it becomes more difficult to cope with them.

そこで、本発明は、前記問題点に鑑みてなされたものであり、複数の無線タグや複数の上位機器などに、容易に対応することができる通信装置および通信方法を提供することを目的とする。   Therefore, the present invention has been made in view of the above problems, and an object thereof is to provide a communication device and a communication method that can easily cope with a plurality of wireless tags, a plurality of host devices, and the like. .

前記課題を解決するために、本発明に係る通信装置は、有線または無線で外部機器と通信を行う複数の通信モジュールと、複数の通信モジュールを制御する制御モジュールとを備えており、それらが互いに伝送路で接続されている。
そして、複数の通信モジュールは、それぞれ、自身の識別情報と通信に関する機能情報とを保持している。
また、制御モジュールは、複数の通信モジュールに関する識別情報と機能情報とを取得し、取得したそれらに基づいて、外部機器と通信を行う通信モジュールを選択する。
通信方法についても同様である。
In order to solve the above-described problems, a communication device according to the present invention includes a plurality of communication modules that communicate with an external device by wire or wirelessly, and a control module that controls the plurality of communication modules. Connected via transmission line.
Each of the plurality of communication modules holds its own identification information and functional information related to communication.
Further, the control module acquires identification information and function information regarding a plurality of communication modules, and selects a communication module that performs communication with an external device based on the acquired information.
The same applies to the communication method.

本発明によれば、複数の無線タグや複数の上位機器などに、容易に対応することができる通信装置および通信方法を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the communication apparatus and communication method which can respond easily to a some radio | wireless tag, a some high-order apparatus, etc. can be provided.

以下、本発明の各実施形態に係る通信装置について、適宜図面を参照しながら説明する。
(第1実施形態)
図1は、第1実施形態の無線通信装置の構成図である。無線通信装置1(請求項2の通信装置に相当)は、制御部2、上位通信部3(上位通信部3−1,3−2,・・・,3−nの総称)および無線通信部4(無線通信部4−1,4−2,・・・,4−nの総称)を備えて構成される。
Hereinafter, communication devices according to embodiments of the present invention will be described with reference to the drawings as appropriate.
(First embodiment)
FIG. 1 is a configuration diagram of a wireless communication apparatus according to the first embodiment. The wireless communication device 1 (corresponding to the communication device of claim 2) includes a control unit 2, an upper communication unit 3 (generic name for upper communication units 3-1, 3-2, ..., 3-n) and a wireless communication unit. 4 (generic name for the wireless communication units 4-1, 4-2,..., 4-n).

なお、制御部2、上位通信部3−1,3−2,・・・,3−n、無線通信部4−1,4−2,・・・,4−nは、それぞれ物理的に独立のモジュール(制御部2は制御モジュール、上位通信部3は通信モジュール、無線通信部4は(無線タグ)通信モジュール)として構成し、自由に取捨選択して無線通信装置1を構成することができるようになっている。   The control unit 2, the higher-level communication units 3-1, 3-2,..., 3-n and the wireless communication units 4-1, 4-2,. (The control unit 2 is a control module, the higher-level communication unit 3 is a communication module, and the wireless communication unit 4 is a (wireless tag) communication module) and can be freely selected to configure the wireless communication device 1. It is like that.

制御部2は、情報処理部21、情報記憶部22、上位通信IF(インターフェース)部23および無線通信IF(インターフェース)部24を備えている。
情報処理部21は、たとえばCPU(Central Processing Unit)であり、情報記憶部22に格納されているプログラム(ドライバである駆動プログラム)を実行することで、制御部2に接続されている上位通信部3や無線通信部4の情報を取得する機能、通信経路(単に「経路」ともいう。)を設定(使用する上位通信部3や無線通信部4を選択)する機能、上位通信IF部23と上位通信部3を経由して外部機器6(図2(a)参照)と通信を行う機能、無線通信IF部24と無線通信部4を経由して無線タグ8(図3(a)参照)と通信を行う機能などを有している。
情報記憶部22は、たとえばメモリであり、情報処理部21のワークエリアとして機能する。
The control unit 2 includes an information processing unit 21, an information storage unit 22, an upper communication IF (interface) unit 23, and a wireless communication IF (interface) unit 24.
The information processing unit 21 is, for example, a CPU (Central Processing Unit), and by executing a program (a driving program that is a driver) stored in the information storage unit 22, an upper communication unit connected to the control unit 2 3, a function of acquiring information of the wireless communication unit 4, a function of setting a communication route (also simply referred to as “route”) (selecting the upper communication unit 3 or the wireless communication unit 4 to be used), the upper communication IF unit 23, Function for communicating with external device 6 (see FIG. 2A) via host communication unit 3, wireless tag 8 via wireless communication IF unit 24 and wireless communication unit 4 (see FIG. 3A) Has a function to communicate with.
The information storage unit 22 is a memory, for example, and functions as a work area for the information processing unit 21.

上位通信IF部23は、上位通信部3からのデータを情報処理部21に伝送する機能と、情報処理部21からのデータを通信経路の設定情報(詳細は後記)にしたがって上位通信部3に伝送する機能を有する。
上位通信部3は、外部機器6から受信したデータを上位通信IF部23に伝送する機能と、上位通信IF部23から受信したデータを外部機器6に伝送する機能を有する。また、上位通信部3は、2つ以上であれば、いくつあってもよい。
The host communication IF unit 23 sends the data from the host communication unit 3 to the information processing unit 21 and the data from the information processing unit 21 to the host communication unit 3 according to communication path setting information (details will be described later). It has a function to transmit.
The upper communication unit 3 has a function of transmitting data received from the external device 6 to the upper communication IF unit 23 and a function of transmitting data received from the upper communication IF unit 23 to the external device 6. Further, there may be any number of upper communication units 3 as long as there are two or more.

無線通信IF部24は、無線通信部4から受信したデータを情報処理部21に伝送する機能と、情報処理部21から受信したデータを通信経路の設定情報(詳細は後記)にしたがって無線通信部4に伝送する機能を有する。
無線通信部4は、外部の無線タグ8(図3(a)参照)などから無線通信により受信した電波を電子データに復調して無線通信IF部24に伝送する機能と、無線通信IF部24から受信した電子データを電波に変調して外部の無線タグ8などに送信する機能を有する。また、無線通信部4は、2つ以上であれば、いくつあってもよい。
The wireless communication IF unit 24 has a function of transmitting data received from the wireless communication unit 4 to the information processing unit 21 and the data received from the information processing unit 21 according to communication path setting information (details will be described later). 4 has a function of transmitting.
The wireless communication unit 4 has a function of demodulating a radio wave received by wireless communication from an external wireless tag 8 (see FIG. 3A) into electronic data and transmitting it to the wireless communication IF unit 24, and a wireless communication IF unit 24. 1 has a function of modulating the electronic data received from 1 to an external radio tag 8 and the like. Further, there may be any number of the wireless communication units 4 as long as there are two or more.

次に、図2を参照しながら、上位通信部の構成について説明する(適宜図1参照)。図2において、(a)は上位通信部およびその周辺機器の構成図であり、(b)は上位通信部の変形例の構成図である。
図2(a)に示すように、上位通信部3は、情報処理部31、情報記憶部32、通信IF(インターフェース)部33、上位通信制御部34および外部IF(インターフェース)部35を備えている。
Next, the configuration of the host communication unit will be described with reference to FIG. 2 (see FIG. 1 as appropriate). In FIG. 2, (a) is a block diagram of an upper communication unit and its peripheral devices, and (b) is a block diagram of a modification of the upper communication unit.
As shown in FIG. 2A, the upper communication unit 3 includes an information processing unit 31, an information storage unit 32, a communication IF (interface) unit 33, an upper communication control unit 34, and an external IF (interface) unit 35. Yes.

情報処理部31は、たとえばCPUであり、情報記憶部32に格納されているプログラムを実行することで、前記したデータ伝送機能などを実現する。
情報記憶部32は、たとえばメモリであり、情報処理部31のワークエリアとして機能する。
The information processing unit 31 is, for example, a CPU, and realizes the above-described data transmission function and the like by executing a program stored in the information storage unit 32.
The information storage unit 32 is, for example, a memory and functions as a work area for the information processing unit 31.

通信IF部33は、上位通信IF部23とデータの送受信を行う機能を有する。上位通信制御部34は、外部機器6との通信手段の種類(詳細は後記)に応じてデータを処理し、外部機器6との通信を行う機能を有する。外部IF部35は、外部機器6と上位通信部3とを有線や無線などのネットワーク5を介して接続する機能を有する。   The communication IF unit 33 has a function of transmitting / receiving data to / from the upper communication IF unit 23. The upper communication control unit 34 has a function of processing data according to the type of communication means with the external device 6 (details will be described later) and communicating with the external device 6. The external IF unit 35 has a function of connecting the external device 6 and the higher-level communication unit 3 via a network 5 such as wired or wireless.

たとえば、通信手段がEthernet(登録商標)の場合、上位通信制御部34は、通信IF部33が処理する電子データとEthernet(登録商標)用の電気信号とを相互に変換して、RJ−45コネクタなどの外部IF部35を介して外部機器6と通信を行う。
また、通信手段がBluetooth(登録商標)の場合、上位通信制御部34は、電子データとBluetooth(登録商標)用の電波を相互に変調または復調して、アンテナなどの外部IF部35を介して外部機器6と通信を行う。
For example, when the communication means is Ethernet (registered trademark), the higher-level communication control unit 34 mutually converts the electronic data processed by the communication IF unit 33 and the electrical signal for Ethernet (registered trademark) into RJ-45. Communication with the external device 6 is performed via an external IF unit 35 such as a connector.
When the communication means is Bluetooth (registered trademark), the upper communication control unit 34 modulates or demodulates the electronic data and the radio wave for Bluetooth (registered trademark) to each other, and via the external IF unit 35 such as an antenna. Communicate with the external device 6.

さらに、通信手段がRS-232Cなどのシリアル通信の場合、上位通信制御部34は、電子データとシリアル通信用の電気信号とを相互に変換して、D-Sub9ピンコネクタなどの外部IF部35を介して外部機器6と通信を行う。
なお、通信手段は、これらに限定されるものではなく、ほかに、無線LAN(Local Area Network)、PHS(Personal HandyphoneSystem)や携帯電話などの電話回線、ZigBee(登録商標)、USB(Universal Serial Bus)、IEEE(Institute of Electrical and Electronic Engineers)1394、UWB(Ultra Wide Band)などであってもよい。
Further, when the communication means is serial communication such as RS-232C, the upper communication control unit 34 mutually converts the electronic data and the electric signal for serial communication, and external IF unit 35 such as a D-Sub 9-pin connector. Communicate with the external device 6 via.
Note that the communication means is not limited to these, but other than that, a wireless LAN (Local Area Network), a telephone line such as a PHS (Personal Handyphone System) and a mobile phone, ZigBee (registered trademark), USB (Universal Serial Bus) ), IEEE (Institute of Electrical and Electronic Engineers) 1394, UWB (Ultra Wide Band), or the like.

また、上位通信部3の情報処理部31と情報記憶部32の機能は、制御部2の情報処理部21と情報記憶部22が有していてもよく、その場合の上位通信部3aは、図2(b)に示した構成となる。
上位通信部3aは、図2(a)の上位通信部3から情報処理部31と情報記憶部32を除き、固有情報部36を追加した構成となっている。
Further, the functions of the information processing unit 31 and the information storage unit 32 of the upper communication unit 3 may be included in the information processing unit 21 and the information storage unit 22 of the control unit 2, and the upper communication unit 3a in this case is The configuration is as shown in FIG.
The upper communication unit 3a has a configuration in which a unique information unit 36 is added except for the information processing unit 31 and the information storage unit 32 from the upper communication unit 3 in FIG.

固有情報部36は、後記する固有情報37(図4A参照)を保持し、通信IF部33を介して上位通信IF部23と固有情報37の送受信を行う機能を有する。なお、固有情報部36は、通信IF部33の一機能として実装されていてもよい。
また、図2(a)の上位通信部3においては、情報処理部31と情報記憶部32が固有情報部36の機能を実行してもよい。
The unique information unit 36 has a function of holding unique information 37 (see FIG. 4A), which will be described later, and transmitting / receiving the unique information 37 to / from the higher-level communication IF unit 23 via the communication IF unit 33. The unique information unit 36 may be implemented as a function of the communication IF unit 33.
Further, in the upper communication unit 3 in FIG. 2A, the information processing unit 31 and the information storage unit 32 may execute the function of the unique information unit 36.

次に、図3を参照しながら、無線通信部の構成について説明する(適宜図1参照)。図3において、(a)は無線通信部およびその周辺機器の構成図であり、(b)は無線通信部の変形例の構成図である。
図3(a)に示すように、無線通信部4は、情報処理部41、情報記憶部42、通信IF(インターフェース)部43、無線通信制御部44およびアンテナ45(アンテナ45−1,45−2,・・・,45−nの総称)を備えている。
Next, the configuration of the wireless communication unit will be described with reference to FIG. 3 (see FIG. 1 as appropriate). 3A is a configuration diagram of the wireless communication unit and its peripheral devices, and FIG. 3B is a configuration diagram of a modification of the wireless communication unit.
3A, the wireless communication unit 4 includes an information processing unit 41, an information storage unit 42, a communication IF (interface) unit 43, a wireless communication control unit 44, and an antenna 45 (antennas 45-1, 45-). 2,..., 45-n).

情報処理部41は、たとえばCPUであり、情報記憶部42に格納されているプログラムを実行することで、前記したデータの変復調や伝送などの機能を実現する。
情報記憶部42は、たとえばメモリであり、情報処理部41のワークエリアとして機能する。
通信IF部43は、無線通信IF部24とのデータの送受信を行う機能を有する。無線通信制御部44は、無線通信の種類(詳細は後記)に応じて、データを変調または復調し、アンテナ45を介して外部の無線タグ8と無線通信を行う機能を有する。
The information processing unit 41 is, for example, a CPU, and realizes functions such as the above-described data modulation / demodulation and transmission by executing a program stored in the information storage unit 42.
The information storage unit 42 is a memory, for example, and functions as a work area for the information processing unit 41.
The communication IF unit 43 has a function of transmitting / receiving data to / from the wireless communication IF unit 24. The wireless communication control unit 44 has a function of modulating or demodulating data according to the type of wireless communication (details will be described later) and performing wireless communication with the external wireless tag 8 via the antenna 45.

アンテナ45は、長さ(使用電波の波長の等倍、1/2倍、1/4倍など)や形状(棒状、円状、板状など)などが異なる複数のものがあり、この場合、無線通信制御部44は、使用するアンテナ45を切り替える機能を有する。
たとえば、無線通信が2.45GHz帯のRFIDシステムの場合、無線通信制御部44は、電子データを2.45GHz帯の電波に変調、または、電波を電子データに復調することにより、アンテナ45を介して無線タグ8と交信する。
There are a plurality of antennas 45 of different lengths (equal, 1/2, 1/4, etc. of the wavelength of the used radio wave) and shapes (bar, circle, plate, etc.). In this case, The wireless communication control unit 44 has a function of switching the antenna 45 to be used.
For example, when the wireless communication is a 2.45 GHz band RFID system, the wireless communication control unit 44 wirelessly transmits the radio data via the antenna 45 by modulating the electronic data into a 2.45 GHz band radio wave or demodulating the radio wave into electronic data. Communicate with tag 8.

なお、RFIDシステムで使用する周波数帯は、2.45GHz帯に限定されることはなく、ほかに、短波帯、長波帯、UHF帯などであってもよい。また、RFIDシステムは、無線タグ8に電源を搭載しないパッシブ型でも、無線タグ8に電源を搭載するアクティブ型でも、いずれでもよい。
さらに、無線通信は、RFIDシステム以外の、たとえば、無線LAN、ZigBee(登録商標)、UWB、Bluetooth(登録商標)などであってもよい。
また、アンテナ45は、複数でなくても、1つであってもよい。
The frequency band used in the RFID system is not limited to the 2.45 GHz band, but may be a short wave band, a long wave band, a UHF band, or the like. Further, the RFID system may be either a passive type in which a power source is not mounted on the wireless tag 8 or an active type in which a power source is mounted on the wireless tag 8.
Further, the wireless communication may be other than the RFID system, for example, wireless LAN, ZigBee (registered trademark), UWB, Bluetooth (registered trademark), or the like.
Further, the number of antennas 45 may not be plural but one.

無線通信部4の情報処理部41と情報記憶部42の機能は、制御部2の情報処理部21と情報記憶部22が有していてもよく、その場合の無線通信部4aは、図3(b)に示した構成となる。
無線通信部4aは、図3(a)の無線通信部4から情報処理部41と情報記憶部42を除き、固有情報部46を追加した構成となっている。
The functions of the information processing unit 41 and the information storage unit 42 of the wireless communication unit 4 may be included in the information processing unit 21 and the information storage unit 22 of the control unit 2, and the wireless communication unit 4a in that case is shown in FIG. The configuration shown in FIG.
The wireless communication unit 4a has a configuration in which a unique information unit 46 is added except for the information processing unit 41 and the information storage unit 42 from the wireless communication unit 4 of FIG.

固有情報部46は、後記する固有情報47(図4A参照)を保持し、通信IF部43を介して無線通信IF部24と固有情報47の送受信を行う機能を有する。なお、固有情報部46は、通信IF部43の一機能として実装されていてもよい。
また、図3(a)の無線通信部4においては、情報処理部41と情報記憶部42が固有情報部46の機能を実行してもよい。
The unique information unit 46 has a function of holding unique information 47 (see FIG. 4A) to be described later and transmitting / receiving the unique information 47 to / from the wireless communication IF unit 24 via the communication IF unit 43. The unique information unit 46 may be implemented as a function of the communication IF unit 43.
In the wireless communication unit 4 of FIG. 3A, the information processing unit 41 and the information storage unit 42 may execute the function of the unique information unit 46.

次に、図4Aを参照しながら、上位通信部と無線通信部が有する固有情報について説明する(適宜図1〜図3参照)。図4Aは、上位通信部と無線通信部が有する固有情報の例などを示した図である。
なお、図4Aでは、簡略化のため、制御部2の図示を省略している。
Next, with reference to FIG. 4A, unique information of the higher-level communication unit and the wireless communication unit will be described (see FIGS. 1 to 3 as appropriate). FIG. 4A is a diagram illustrating an example of unique information included in the upper communication unit and the wireless communication unit.
In FIG. 4A, illustration of the control unit 2 is omitted for simplification.

上位通信部3における固有情報37として、識別情報38と機能情報39がある。識別情報38は、物理位置(無線通信装置1におけるその上位通信部3の物理的な位置)や固有アドレス(IP(Internet Protocol)アドレスなど)など、その上位通信部3を識別するための情報である。
また、機能情報39は、通信種類、通信速度、通信プロトコル、通信周波数、セキュリティレベルなど、通信機能に関する情報である。
なお、固有情報37は、固定である必要はなく、情報処理部21が上位通信部3を検出した後などに、情報処理部21などによって適宜更新(変更、追加、削除など)されてもよい。
The unique information 37 in the upper communication unit 3 includes identification information 38 and function information 39. The identification information 38 is information for identifying the upper communication unit 3 such as a physical position (physical position of the upper communication unit 3 in the wireless communication apparatus 1) and a unique address (IP (Internet Protocol) address, etc.). is there.
The function information 39 is information related to a communication function such as a communication type, a communication speed, a communication protocol, a communication frequency, and a security level.
The unique information 37 does not need to be fixed, and may be appropriately updated (changed, added, deleted, etc.) by the information processing unit 21 or the like after the information processing unit 21 detects the upper communication unit 3. .

無線通信部4における固有情報47として、識別情報48と機能情報49がある。識別情報48は、識別情報38と同様の情報のほかに、無線通信部4がアンテナ45を複数有している場合は、そのアンテナ45を識別するための情報も含まれる。   Specific information 47 in the wireless communication unit 4 includes identification information 48 and function information 49. In addition to the same information as the identification information 38, the identification information 48 includes information for identifying the antenna 45 when the wireless communication unit 4 has a plurality of antennas 45.

機能情報49は、機能情報39と同様の情報のほかに、アンテナ45の数などの無線通信に関する情報や、無線通信がRFIDシステムの場合は輻輳制御の有無の情報などを含んでいてもよい。
なお、固有情報47は、固定である必要はなく、情報処理部21が無線通信部4を検出した後などに、情報処理部21などによって適宜更新(変更、追加、削除など)されてもよい。
In addition to the information similar to the function information 39, the function information 49 may include information related to wireless communication such as the number of antennas 45, and information on presence / absence of congestion control when the wireless communication is an RFID system.
The unique information 47 does not need to be fixed, and may be appropriately updated (changed, added, deleted, etc.) by the information processing unit 21 or the like after the information processing unit 21 detects the wireless communication unit 4. .

続いて、図4Bを参照しながら、優先度設定情報について説明する(適宜図1〜図4A参照)。図4Bは、優先度設定情報の例を示した図である。
優先度設定情報7は、情報記憶部22に記憶される情報で、情報処理部21が通信経路を設定するときに、使用する上位通信部3と無線通信部4を選択する基準を、優先度の高いほうから順番に並べたものである。
Next, priority setting information will be described with reference to FIG. 4B (see FIGS. 1 to 4A as appropriate). FIG. 4B is a diagram illustrating an example of priority setting information.
The priority setting information 7 is information stored in the information storage unit 22, and when the information processing unit 21 sets a communication path, a criterion for selecting the upper communication unit 3 and the wireless communication unit 4 to be used is set as a priority. They are arranged in order from the highest.

図4Bでは、優先度の高いほうから、電波干渉、高速通信、通信距離、無線通信、輻輳制御(有無)、消費電力、・・・、という基準が挙がっている。
情報処理部21がこの優先度設定情報7を使用する場合、優先度がある程度高い基準のみを用いて通信経路を設定してもよいし、あるいは、それぞれの基準を優先度で重み付けをしてすべての基準を用いて通信経路を設定してもよいし、さらには、それらを併用した方法を用いて通信経路を設定してもよい。
In FIG. 4B, the criteria of radio interference, high-speed communication, communication distance, wireless communication, congestion control (presence / absence), power consumption,...
When the information processing unit 21 uses the priority setting information 7, the communication path may be set using only a criterion having a certain degree of priority, or each criterion is weighted by priority. The communication path may be set using the above criteria, and further, the communication path may be set using a method using both of them.

次に、図5を参照しながら、制御部が上位通信部と無線通信部の接続情報を取得し、通信経路の設定を行う手順について説明する(適宜図1〜図4参照)。図5は、その場合の各機器の処理の流れを示すフローチャートである。   Next, a procedure in which the control unit acquires connection information between the host communication unit and the wireless communication unit and sets a communication path will be described with reference to FIG. 5 (see FIGS. 1 to 4 as appropriate). FIG. 5 is a flowchart showing the flow of processing of each device in that case.

まず、制御部2の情報処理部21は、上位通信IF部23に対して、接続されている上位通信部3の検出を実行するように指令を出す(ステップ501)。なお、このステップ501の処理のトリガは、たとえば、無線通信装置1の電源オン動作でもよいし、あるいは、前回の同様の処理から所定時間が経過したことなどでもよい。   First, the information processing unit 21 of the control unit 2 instructs the upper communication IF unit 23 to execute detection of the connected upper communication unit 3 (step 501). Note that the trigger of the processing in step 501 may be, for example, a power-on operation of the wireless communication device 1 or may be that a predetermined time has elapsed since the previous similar processing.

これを受けて、上位通信IF部23は、接続されている上位通信部3(ここでは3−1と3−2)と順次交信を試み(ステップ502,504)、検出した上位通信部3の固有情報37(図4A参照)を取得する(ステップ503,505)。   In response to this, the upper communication IF unit 23 tries to communicate with the connected upper communication unit 3 (here, 3-1 and 3-2) sequentially (steps 502 and 504), and the detected upper communication unit 3 The unique information 37 (see FIG. 4A) is acquired (steps 503 and 505).

上位通信IF部23は、検出した上位通信部3の固有情報37を情報処理部21に伝達する(ステップ506)。
なお、ここでは、上位通信IF部23が、接続されているすべての上位通信部3を検出してから、それらの固有情報37をまとめて情報処理部21に伝達するようにしているが、それ以外に、上位通信部3を1つまたは所定の数だけ検出するごとに、情報処理部21に逐次固有情報37を伝達するようにしてもよい。
情報処理部21は、取得した上位通信部3の固有情報37を情報記憶部22に保存する(ステップ507)。
The upper communication IF unit 23 transmits the detected unique information 37 of the upper communication unit 3 to the information processing unit 21 (step 506).
Here, after the upper communication IF unit 23 detects all the upper communication units 3 connected, the specific information 37 is collectively transmitted to the information processing unit 21. In addition, the unique information 37 may be sequentially transmitted to the information processing unit 21 every time one or a predetermined number of upper communication units 3 are detected.
The information processing unit 21 stores the acquired unique information 37 of the higher-level communication unit 3 in the information storage unit 22 (step 507).

続いて、情報処理部21は、無線通信IF部24に対して、接続されている無線通信部4の検出を実行するように指令を出す(ステップ508)。
これを受けて、無線通信IF部24は、接続されている無線通信部4(ここでは4−1と4−2)と順次交信を試み(ステップ509,511)、検出した無線通信部4の固有情報47(図4A参照)を取得する(ステップ510,512)。
Subsequently, the information processing unit 21 instructs the wireless communication IF unit 24 to execute detection of the connected wireless communication unit 4 (step 508).
In response to this, the wireless communication IF unit 24 sequentially tries to communicate with the connected wireless communication unit 4 (4-1 and 4-2 in this case) (steps 509 and 511), and the detected wireless communication unit 4 The unique information 47 (see FIG. 4A) is acquired (steps 510 and 512).

無線通信IF部24は、検出した無線通信部4の固有情報47を情報処理部21に伝達する(ステップ513)。
なお、ここでは、無線通信IF部24が、接続されているすべての無線通信部4を検出してから、それらの固有情報47をまとめて情報処理部21に伝達するようにしているが、それ以外に、無線通信部4を1つまたは所定の数だけ検出するごとに、情報処理部21に逐次固有情報47を伝達するようにしてもよい。
情報処理部21は、取得した無線通信部4の固有情報47を情報記憶部22に保存する(ステップ514)。
The wireless communication IF unit 24 transmits the detected unique information 47 of the wireless communication unit 4 to the information processing unit 21 (step 513).
Here, after the wireless communication IF unit 24 detects all the connected wireless communication units 4, the specific information 47 is collectively transmitted to the information processing unit 21. In addition, the unique information 47 may be sequentially transmitted to the information processing unit 21 each time one or a predetermined number of wireless communication units 4 are detected.
The information processing unit 21 stores the acquired unique information 47 of the wireless communication unit 4 in the information storage unit 22 (step 514).

なお、情報処理部21によるステップ507とステップ514の処理は、それぞれ固有情報37,47の取得後であれば、その直後でなくても、どのタイミングで実行してもよい。   Note that the processing of step 507 and step 514 by the information processing unit 21 may be executed at any timing, not immediately after the acquisition of the unique information 37 and 47, respectively.

次に、情報処理部21は、情報記憶部22から、上位通信部3の固有情報37、無線通信部4の固有情報47、および、後記する優先度設定情報7(図4B参照)を取得し(ステップ515)、それらの情報などから通信経路を設定(使用する上位通信部3と無線通信部4を選択)し、情報記憶部22に保存する(ステップ516)。   Next, the information processing unit 21 acquires, from the information storage unit 22, unique information 37 of the upper communication unit 3, unique information 47 of the wireless communication unit 4, and priority setting information 7 (see FIG. 4B) to be described later. (Step 515), a communication path is set from the information and the like (selecting the upper communication unit 3 and the wireless communication unit 4 to be used) and stored in the information storage unit 22 (Step 516).

このようにして、無線通信装置1は、上位通信部3と無線通信部4の接続情報を取得し、その接続情報に基づいて通信経路の設定を行うことができる。   In this way, the wireless communication device 1 can acquire connection information between the upper communication unit 3 and the wireless communication unit 4 and set a communication path based on the connection information.

ここで、図6を参照しながら、情報処理部21による通信経路の設定(図5のステップ516)について説明する。図6は、情報処理部21による通信経路設定時の処理の流れを示すフローチャートである。   Here, the setting of the communication path by the information processing unit 21 (step 516 in FIG. 5) will be described with reference to FIG. FIG. 6 is a flowchart showing a processing flow when the information processing unit 21 sets a communication path.

まず、情報処理部21は、情報記憶部22を検索するなどし、ユーザによる通信経路の設定情報があるか否かを判断する(ステップ601)。
ユーザによる通信経路の設定情報がある場合というのは、たとえば、情報記憶部22に通信経路の設定情報が存在するときや、データ自体に通信経路設定に関する情報があるときなどである。
First, the information processing unit 21 searches the information storage unit 22 and determines whether there is communication path setting information by the user (step 601).
The case where there is communication path setting information by the user is, for example, when there is communication path setting information in the information storage unit 22, or when the data itself contains information regarding communication path setting.

ユーザによる通信経路の設定情報があった場合(ステップ601でYes)、情報処理部21は、その設定情報の通りに、通信経路を設定する(ステップ602)。このとき、優先度設定情報7は使用しない。
ユーザによる通信経路の設定情報がなかった場合(ステップ601でNo)、情報処理部21は、優先度設定情報7に基づいて、通信経路を設定する(ステップ603)。
When there is communication path setting information by the user (Yes in Step 601), the information processing unit 21 sets a communication path according to the setting information (Step 602). At this time, the priority setting information 7 is not used.
If there is no communication path setting information by the user (No in step 601), the information processing unit 21 sets a communication path based on the priority setting information 7 (step 603).

たとえば、図4Aに示すように、無線通信装置1(図1参照)において、上位通信部3−1が2.4GHz帯の無線LAN、上位通信部3−2が高速通信のEthernet(登録商標)、無線通信部4−1が2.45GHz帯のRFIDシステム、そして、無線通信部4−2が13.56MHz帯のRFIDシステムから構成されているものとする。
この場合、ユーザによる通信経路の設定情報があれば、その設定情報に基づいて無線通信部4−1または4−2が通信経路として設定されることになる。以下、ユーザによる通信経路の設定情報がないときに関して、説明する。
For example, as shown in FIG. 4A, in the wireless communication device 1 (see FIG. 1), the upper communication unit 3-1 is a 2.4 GHz band wireless LAN, the upper communication unit 3-2 is high-speed communication Ethernet (registered trademark), It is assumed that the wireless communication unit 4-1 is configured with a 2.45 GHz band RFID system and the wireless communication unit 4-2 is configured with a 13.56 MHz band RFID system.
In this case, if there is communication path setting information by the user, the wireless communication unit 4-1 or 4-2 is set as the communication path based on the setting information. Hereinafter, a case where there is no communication path setting information by the user will be described.

上位通信部3−1が外部機器6からデータを受信した場合、優先度設定情報7に基づき、電波干渉が起きない(通信周波数が重ならない)無線通信部4−2を最も優先度の高い経路(経路501)として設定する。そして、電波干渉が起きやすい(通信周波数が重なる)無線通信部4−1は最も優先度の低い経路(経路502)として設定、あるいは、使用不可の経路として設定する方法などが考えられる。   When the upper communication unit 3-1 receives data from the external device 6, the route having the highest priority is routed through the wireless communication unit 4-2 in which radio wave interference does not occur (communication frequencies do not overlap) based on the priority setting information 7. Set as (route 501). The radio communication unit 4-1 that is likely to cause radio wave interference (with overlapping communication frequencies) can be set as a route with the lowest priority (route 502) or a route that cannot be used.

また、上位通信部3−2が外部機器6からデータを受信した場合、上位通信部3−2が有線通信のため無線通信部4との電波干渉が起きないので、優先度設定情報7における2番目の優先度の高速通信を基準に経路が設定されることになる。そして、通信距離が長い無線通信部4−1を最も優先度の高い経路(経路503)として設定し、通信距離が短い無線通信部4−2を最も優先度の低い経路(経路504)として設定する。   When the upper communication unit 3-2 receives data from the external device 6, since the upper communication unit 3-2 is wired communication, radio wave interference with the wireless communication unit 4 does not occur. The route is set based on the high-speed communication of the second priority. Then, the wireless communication unit 4-1 with a long communication distance is set as the route with the highest priority (route 503), and the wireless communication unit 4-2 with a short communication distance is set as the route with the lowest priority (route 504). To do.

逆に、無線通信部4−1が無線タグ8からデータを受信した場合、高速かつ電波干渉が起きない上位通信部3−2を最も優先度の高い経路(経路505)とし、周波数帯が同じ(近い)上位通信部3−1は電波干渉が起きやすいので最も優先度の低い経路(経路506)あるいは使用不可の経路として設定する。   Conversely, when the wireless communication unit 4-1 receives data from the wireless tag 8, the high-order communication unit 3-2 that does not cause radio wave interference is set as the highest priority route (route 505), and the frequency band is the same. Since the (close) host communication unit 3-1 is likely to cause radio wave interference, it is set as a route with the lowest priority (route 506) or an unusable route.

さらに、無線通信部4−2が無線タグ8からデータを受信した場合、高速かつ電波干渉が起きない上位通信部3−2を最も優先度の高い経路(経路507)とし、低速通信の上位通信部3−1を最も優先度の低い経路(経路508)として設定する。   Further, when the wireless communication unit 4-2 receives data from the wireless tag 8, the higher-order communication unit 3-2 that does not cause radio wave interference at a high speed is set as the highest priority route (route 507), and the upper-level communication for low-speed communication. The unit 3-1 is set as the route with the lowest priority (route 508).

なお、優先度の高い経路に障害が発生した場合は、他の経路を使用して通信を行ってもよい。また、通信経路が複数ある場合には、障害発生時に備えて、所定数の経路を複数同時に使用してもよい。
さらに、優先度設定情報7は、無線通信装置1の全体で1つを有するようにしてもよいし、あるいは、上位通信部3や無線通信部4が個別に、もしくはグループごとに有するようにしてもよい。
また、優先度設定情報7の内容は、固定でなくても、状況に応じて、適宜更新するようにしてもよい。
Note that when a failure occurs in a high priority route, communication may be performed using another route. In addition, when there are a plurality of communication paths, a plurality of a predetermined number of paths may be used simultaneously in case of a failure.
Further, the priority setting information 7 may be included in the entire wireless communication device 1 or may be included in the upper communication unit 3 or the wireless communication unit 4 individually or for each group. Also good.
Further, the content of the priority setting information 7 may not be fixed but may be updated as appropriate according to the situation.

さらに、通信経路をすべては設定せずに、所定の通信経路は他の通信経路に連動して決定されるものとしてもよい。たとえば、上位通信部3−1が外部機器6からデータを受信し、これを受けて無線通信部4−2が無線タグ8と交信を行った場合、無線通信部4−2は優先度設定情報7と無関係に元の上位通信部3−1に返信を行うようにしてもよい。
また、外部機器6から上位通信部3に送られるデータの中に、通信経路の設定情報を予め入れておいて使用するようにしてもよい。
Furthermore, the predetermined communication path may be determined in conjunction with other communication paths without setting all the communication paths. For example, when the upper communication unit 3-1 receives data from the external device 6 and the wireless communication unit 4-2 communicates with the wireless tag 8 in response to the data, the wireless communication unit 4-2 receives priority setting information. 7 may be sent back to the original upper communication unit 3-1 regardless of 7.
Further, communication path setting information may be put in advance in data sent from the external device 6 to the higher-level communication unit 3 and used.

このようにして、無線通信装置1は、ユーザによる通信経路の設定情報がある場合は、その設定情報に基づいて通信経路の設定を行い、ユーザによる通信経路の設定情報がない場合は、優先度設定情報に基づいて通信経路の設定を行うことができ、適切な通信経路設定をすることができる。   In this way, when there is communication path setting information by the user, the wireless communication device 1 sets the communication path based on the setting information, and when there is no communication path setting information by the user, the priority is set. A communication path can be set based on the setting information, and an appropriate communication path can be set.

次に、図7を参照しながら、制御部2、上位通信部3および無線通信部4による、通信処理を実行するためのプログラム(ドライバである駆動プログラム)の取得について説明する。図7は、上位通信部3や無線通信部4によるプログラム取得を説明するための構成図である。
ここでは、通信処理を実行するためのプログラムPは、少なくとも、制御部2、上位通信部3、無線通信部4および外部機器6のいずれかが、すでに有しているものとする。
Next, acquisition of a program (a driving program that is a driver) for executing communication processing by the control unit 2, the upper communication unit 3, and the wireless communication unit 4 will be described with reference to FIG. FIG. 7 is a configuration diagram for explaining program acquisition by the upper communication unit 3 and the wireless communication unit 4.
Here, it is assumed that at least one of the control unit 2, the upper communication unit 3, the wireless communication unit 4, and the external device 6 already has a program P for executing communication processing.

そして、たとえば、制御部2にプログラムPがある場合、情報処理部21が、固有情報37や固有情報47に基づいて、情報記憶部22にあるプログラムPを、プログラムPを有していない上位通信部3や無線通信部4に与えるようにしてもよい(方法701)。
また、上位通信部3や無線通信部4にプログラムPがある場合、プログラムPを有していない制御部2、上位通信部3または無線通信部4が、そのプログラムPを取得するようにしてもよい(方法702)。
For example, when there is a program P in the control unit 2, the information processing unit 21 converts the program P in the information storage unit 22 based on the unique information 37 and the unique information 47 to a higher-level communication that does not have the program P. It may be provided to the unit 3 and the wireless communication unit 4 (method 701).
Further, when the upper communication unit 3 or the wireless communication unit 4 includes the program P, the control unit 2, the upper communication unit 3 or the wireless communication unit 4 that does not have the program P may acquire the program P. Good (method 702).

さらに、外部機器6にプログラムPがある場合、プログラムPを有していない制御部2、上位通信部3または無線通信部4が、そのプログラムPを取得するようにしてもよい(方法703)。
なお、上位通信部3が情報処理部31を有する場合には、情報処理部31がプログラムPを実行するが、上位通信部3が情報処理部31を有さない場合には、制御部2の情報処理部21が上位通信部3のためにプログラムPを実行することになる。
Furthermore, when the external device 6 has the program P, the control unit 2, the upper communication unit 3, or the wireless communication unit 4 that does not have the program P may acquire the program P (method 703).
When the upper communication unit 3 includes the information processing unit 31, the information processing unit 31 executes the program P. However, when the upper communication unit 3 does not include the information processing unit 31, the control unit 2 The information processing unit 21 executes the program P for the higher-level communication unit 3.

次に、図8を参照しながら、無線通信装置1(図1参照)におけるデータ通信の流れの一例について説明する(適宜他図参照)。図8は、無線通信装置1におけるデータ通信の流れの一例を示したフローチャートである。
なお、ここでは、無線通信をRFIDシステムとし、無線タグ8から固有情報47(図4A参照)を読み取るためのリードコマンドを実行した場合を例にとって説明するが、他種類のコマンドやRFID以外の無線通信であっても同様のデータ通信フローを適用することができる。
Next, an example of the flow of data communication in the wireless communication device 1 (see FIG. 1) will be described with reference to FIG. 8 (refer to other figures as appropriate). FIG. 8 is a flowchart showing an example of the flow of data communication in the wireless communication device 1.
Here, the case where the wireless communication is an RFID system and a read command for reading the unique information 47 (see FIG. 4A) is executed from the wireless tag 8 will be described as an example. A similar data communication flow can be applied even for communication.

まず、上位通信部3−1が、外部機器6からリードコマンドを受信したとする(ステップ801)。
そうすると、リードコマンドの内容は、上位通信部3−1から、上位通信IF部23を介して(ステップ802)、情報処理部21へ伝達される(ステップ803)。
このとき、情報処理部21が上位通信部3−1からのリードコマンドを正常に受信したか否かを確認するために、情報処理部21から上位通信部3−1へack信号を送信するが(ステップ804,805)、この処理は省略してもかまわない。
First, it is assumed that the upper communication unit 3-1 receives a read command from the external device 6 (step 801).
Then, the content of the read command is transmitted from the upper communication unit 3-1 to the information processing unit 21 through the upper communication IF unit 23 (step 802) (step 803).
At this time, an ack signal is transmitted from the information processing unit 21 to the upper communication unit 3-1, in order to confirm whether or not the information processing unit 21 has normally received the read command from the upper communication unit 3-1. (Steps 804 and 805), this process may be omitted.

情報処理部21は、情報記憶部22から前記した通信経路設定に関する情報(図6で設定した情報)を取得し(ステップ806)、実際にリードコマンドを実行する無線通信部4を選択する(ステップ807)。
情報処理部21は、リードコマンドを、無線通信IF部24を介して(ステップ808)、ステップ807で選択された無線通信部4(ここでは無線通信部4−1)に伝達する(ステップ809)。
The information processing unit 21 acquires the information related to the communication path setting (information set in FIG. 6) from the information storage unit 22 (step 806), and selects the wireless communication unit 4 that actually executes the read command (step 806). 807).
The information processing section 21 transmits the read command via the wireless communication IF section 24 (step 808) to the wireless communication section 4 (here, the wireless communication section 4-1) selected in step 807 (step 809). .

無線通信部4−1は、リードコマンドを実行し、無線タグ8との交信を行う(ステップ810)。
無線通信部4−1は、無線タグ8との交信情報を取得し(ステップ811−1)、その交信情報を無線通信IF部24に伝達する(ステップ812−1)。
The wireless communication unit 4-1 executes the read command and communicates with the wireless tag 8 (step 810).
The wireless communication unit 4-1 acquires communication information with the wireless tag 8 (step 811-1) and transmits the communication information to the wireless communication IF unit 24 (step 812-1).

なお、無線通信部4−1とは別の無線通信部4−2が、無線タグ8との交信情報を取得し(ステップ811−2)、その交信情報を無線通信IF部24に伝達する(ステップ812−2)ようにしてもよい。
また、無線タグ8との交信情報には、交信不可によるエラー情報を含んでいてもよい。さらに、無線タグ8は、1つでなくても、複数であってもよい。
続いて、無線通信IF部24は、無線タグ8との交信情報を情報処理部21に伝達する(ステップ813)。
A wireless communication unit 4-2 different from the wireless communication unit 4-1 acquires communication information with the wireless tag 8 (step 811-2), and transmits the communication information to the wireless communication IF unit 24 ( Step 812-2) may be performed.
Further, the communication information with the wireless tag 8 may include error information indicating that communication is not possible. Furthermore, the number of the wireless tags 8 is not limited to one and may be plural.
Subsequently, the wireless communication IF unit 24 transmits communication information with the wireless tag 8 to the information processing unit 21 (step 813).

情報処理部21は、無線タグ8との交信情報を受信すると、ステップ806,807の場合と同様に、その交信情報を伝達する上位通信部3(ここでは上位通信部3−2)を選択する(ステップ814,815)。
なお、ここで選択する上位通信部3は、最初にリードコマンドを受信した上位通信部3−1であってもよいし、あるいは、それとは別の上位通信部3−2であってもよい。
また、ステップ814,815の処理は、ステップ806,807の処理と合わせて行うようにしてもよい。
When the information processing unit 21 receives the communication information with the wireless tag 8, the information processing unit 21 selects the upper communication unit 3 (here, the upper communication unit 3-2) that transmits the communication information as in the case of Steps 806 and 807. (Steps 814, 815).
The upper communication unit 3 selected here may be the upper communication unit 3-1 that first receives the read command, or may be another upper communication unit 3-2.
Further, the processing in steps 814 and 815 may be performed in combination with the processing in steps 806 and 807.

情報処理部21は、無線タグ8との交信情報を、上位通信IF部23を介して(ステップ816)、上位通信部3−2に伝達する(ステップ817)。
このとき、上位通信部3−2が情報処理部21からの交信情報を正常に受信したか否かを確認するために、上位通信部3−2から情報処理部21へack信号を送信するが(ステップ818,819)、この処理は省略してもかまわない。
最後に、上位通信部3−2は、無線タグ8との交信情報を外部機器6に伝達する(ステップ820)。
The information processing unit 21 transmits the communication information with the wireless tag 8 to the upper communication unit 3-2 via the upper communication IF unit 23 (step 816) (step 817).
At this time, the upper communication unit 3-2 transmits an ack signal from the upper communication unit 3-2 to the information processing unit 21 in order to confirm whether or not the communication information from the information processing unit 21 has been normally received. (Steps 818 and 819), this process may be omitted.
Finally, the upper communication unit 3-2 transmits communication information with the wireless tag 8 to the external device 6 (step 820).

このようにして、無線通信装置1は、外部機器6からリードコマンドを受信した場合、内部の通信経路を適切に設定し、その通信経路にしたがって、無線タグ8との交信情報を取得し、その交信情報を外部機器6に伝達することができる。   In this way, when the wireless communication device 1 receives a read command from the external device 6, the wireless communication device 1 appropriately sets an internal communication path, acquires communication information with the wireless tag 8 according to the communication path, and Communication information can be transmitted to the external device 6.

なお、ステップ801からステップ820の処理のうち、上位通信部3と上位通信IF部23との間の処理(ステップ802,805,817,818)で使用されるデータ形式は、上位通信部3の種類によって異なっていてもよいし、同一であってもよい。
データ形式が異なる場合、上位通信IF部23と情報処理部21の間の処理(ステップ803,804,816,819)で使用されるデータ形式を共通のデータ形式とするためのデータ変換機能を上位通信IF部23と情報処理部21のいずれかが有することにより、情報処理部21は上位通信部3の種類にかかわらず共通のデータ形式により上位通信部3と通信を行うことが可能となる。
Of the processes from step 801 to step 820, the data format used in the processes (steps 802, 805, 817, 818) between the upper communication unit 3 and the upper communication IF unit 23 is the same as that of the upper communication unit 3. It may be different depending on the type, or may be the same.
If the data formats are different, the data conversion function for making the data format used in the processing (steps 803, 804, 816, 819) between the higher-level communication IF unit 23 and the information processing unit 21 higher is used. By having either the communication IF unit 23 or the information processing unit 21, the information processing unit 21 can communicate with the upper communication unit 3 in a common data format regardless of the type of the upper communication unit 3.

同様に、無線通信部4と無線通信IF部24との間で使用されるデータ形式は、無線通信部4の種類によって異なっていてもよいし、同一であってもよい。
データ形式が異なる場合、無線通信IF部24と情報処理部21の間で使用されるデータ形式を共通のデータ形式とするためのデータ変換機能を無線通信IF部24と情報処理部21のいずれかが有することにより、情報処理部21は無線通信部4の種類にかかわらず共通のデータ形式により無線通信部4と通信を行うことが可能となる。
Similarly, the data format used between the wireless communication unit 4 and the wireless communication IF unit 24 may be different depending on the type of the wireless communication unit 4 or may be the same.
When the data formats are different, the data conversion function for making the data format used between the wireless communication IF unit 24 and the information processing unit 21 a common data format is either the wireless communication IF unit 24 or the information processing unit 21. Therefore, the information processing unit 21 can communicate with the wireless communication unit 4 using a common data format regardless of the type of the wireless communication unit 4.

次に、図9を参照しながら、無線通信装置1において使用されるコマンドのデータ形式について説明する(適宜他図参照)。図9は、無線通信装置1において使用されるコマンドのデータ形式の例を示した図である。   Next, a data format of a command used in the wireless communication device 1 will be described with reference to FIG. 9 (refer to other figures as appropriate). FIG. 9 is a diagram illustrating an example of a data format of a command used in the wireless communication device 1.

無線通信装置1において使用されるコマンドは、たとえば、データ91に示すように、物理位置(無線通信装置1におけるそのモジュールの物理的な位置)や固有アドレス(IPアドレスなど)、周波数(使用する周波数)、命令(READ(読み取り)、WRITE(書き込み)、KILL(使用不可))などの項目を有している。   The command used in the wireless communication device 1 includes, for example, a physical position (physical position of the module in the wireless communication device 1), a specific address (IP address, etc.), a frequency (frequency used), as shown in the data 91. ), Command (READ (read), WRITE (write), KILL (unusable)).

データ91に示すように、データの中に上位通信部3の固有情報37(図4A参照)や無線通信部4の固有情報47(図4A参照)の一部を含めることにより、優先度設定情報7に基づいて設定した通信経路(図6のステップ603)によらず、通信経路を選択することができる(図6のステップ601のYes→ステップ602)。   As shown in the data 91, the priority setting information is obtained by including a part of the unique information 37 (see FIG. 4A) of the upper communication unit 3 and the unique information 47 (see FIG. 4A) of the wireless communication unit 4 in the data. 7 can be selected (Yes in step 601 in FIG. 6 → step 602) regardless of the communication path set based on 7 (step 603 in FIG. 6).

無線通信部4を選択する場合を例にとると、たとえば、データ91のコマンド例1のように、無線通信部4の物理位置を指定することにより、該当する無線通信部4にREAD命令を実行させることができる。
また、コマンド例2のように、無線通信部4の固有アドレスを指定することにより、該当する無線通信部4にWRITE命令を実行させることができる。
さらに、コマンド例3のように、無線通信部4の周波数を指定することにより、該当する無線通信部4にKILL命令を実行させることができる。
Taking the case of selecting the wireless communication unit 4 as an example, for example, by specifying the physical position of the wireless communication unit 4 as in command example 1 of the data 91, a READ command is executed to the corresponding wireless communication unit 4 Can be made.
Further, by specifying the unique address of the wireless communication unit 4 as in command example 2, the corresponding wireless communication unit 4 can execute the WRITE command.
Further, by specifying the frequency of the wireless communication unit 4 as in command example 3, it is possible to cause the corresponding wireless communication unit 4 to execute the KILL command.

なお、このようなコマンドのデータは、バイナリデータやASCII(American Standard Code for Information Interchange)データとしてシリアル通信やパケット通信により伝送するようにしてもよいし、データ92に示すように、XML(eX tensible Markup Language)やHTML(Hyper Text Markup Language)のデータとして伝送するようにしてもよい。
また、たとえば、固有アドレスの項目を全指定としてブロードキャストを行うようにするなど、種々の応用を行ってもよい。
Such command data may be transmitted as binary data or ASCII (American Standard Code for Information Interchange) data by serial communication or packet communication. As shown in data 92, XML (eX tensible) may be used. It may be transmitted as Markup Language (HTML) or Hyper Text Markup Language (HTML) data.
Further, for example, various applications may be performed such as broadcasting with all the items of the unique address specified.

続いて、図10を参照しながら、無線通信装置1におけるデータ通信の流れの他の例について説明する(適宜他図参照)。図10は、そのときのデータ通信の流れを示したフローチャートである。
なお、図8の処理(例:ステップ801)と同様の処理には、同一の符号(例:ステップ801)またはそれに準じた符号(例:ステップ801−1)を付し、詳細な説明を省略する。
また、上位通信部3−1および上位通信部3−2を2つの上位通信部3(各上位通信部3)と呼ぶこともあり、無線通信部4と外部機器6についても同様である。
Next, another example of the flow of data communication in the wireless communication device 1 will be described with reference to FIG. 10 (refer to other figures as appropriate). FIG. 10 is a flowchart showing the flow of data communication at that time.
In addition, the same code | symbol (example: step 801) or the code | corresponding to it (example: step 801-1) is attached | subjected to the process similar to the process (example: step 801) of FIG. 8, and detailed description is abbreviate | omitted. To do.
Further, the upper communication unit 3-1 and the upper communication unit 3-2 may be referred to as two upper communication units 3 (each upper communication unit 3), and the same applies to the wireless communication unit 4 and the external device 6.

2つの外部機器6から2つの上位通信部3にコマンドが送信された場合(ステップ801−1,801−2)、2つの上位通信部3から上位通信IF部23にコマンド伝達が重複して発生する(ステップ802−1,802−2)。
コマンドを重複して受信した上位通信IF部23は、受信した順番(発生順序)に、あるいは、所定の優先度にしたがった順番で、受信したコマンドを処理する(ステップ821)。
そして、上位通信IF部23は、そのコマンドを、個別に、あるいは、一度にまとめて、情報処理部21に伝達する(ステップ822)。
When commands are transmitted from the two external devices 6 to the two upper communication units 3 (steps 801-1 and 801-2), the command transmission is duplicated from the two upper communication units 3 to the upper communication IF unit 23. (Steps 802-1 and 802-2).
The host communication IF unit 23 that receives the command in duplicate processes the received command in the order of reception (occurrence order) or in the order according to the predetermined priority (step 821).
Then, the upper communication IF unit 23 transmits the commands to the information processing unit 21 individually or all at once (step 822).

続いて、情報処理部21は、各上位通信部3からのコマンドについて、それぞれの通信経路を設定する(ステップ806,807)。
情報処理部21は、そのコマンドを、個別に、あるいは、一度にまとめて、無線通信IF部24に伝達する(ステップ823)。
Subsequently, the information processing unit 21 sets each communication path for the command from each higher-level communication unit 3 (steps 806 and 807).
The information processing unit 21 transmits the commands individually or all at once to the wireless communication IF unit 24 (step 823).

無線通信IF部24は、受信したコマンドを、前記通信経路設定によって選択された無線通信部4に順次伝達する(ステップ809−1,809−2)。
各無線通信部4は、取得したコマンドにしたがって、各無線タグ8と交信を行う(ステップ810−1,811−1,810−2,811−2)。
各無線通信部4は、各無線タグ8との交信情報を無線通信IF部24に伝達する(ステップ812−1,812−2)。
The wireless communication IF unit 24 sequentially transmits the received command to the wireless communication unit 4 selected by the communication path setting (steps 809-1 and 809-2).
Each wireless communication unit 4 communicates with each wireless tag 8 in accordance with the acquired command (steps 810-1, 811-1, 810-2, 811-2).
Each wireless communication unit 4 transmits communication information with each wireless tag 8 to the wireless communication IF unit 24 (steps 812-1 and 812-2).

ここで、無線通信IF部24が各無線通信部4からの各無線タグ8との交信情報をすべて取得し終わる前に、ある外部機器6からの別のコマンドを情報処理部21から受け取ったとする(ステップ801−3,802−3,824,825)。
この場合、無線通信IF部24は、各無線タグ8との交信情報を情報処理部21へ伝達する処理(ステップ827)と、ステップ825によって受け取ったコマンドを無線通信部4に伝達する処理(ステップ809−3)を、どのような順番で行うかを決定する(ステップ826)。
Here, it is assumed that another command from an external device 6 is received from the information processing unit 21 before the wireless communication IF unit 24 finishes obtaining all the communication information with each wireless tag 8 from each wireless communication unit 4. (Steps 801-3, 802-3, 824, 825).
In this case, the wireless communication IF unit 24 transmits the communication information with each wireless tag 8 to the information processing unit 21 (step 827), and transmits the command received in step 825 to the wireless communication unit 4 (step). 809-3) is determined in what order (step 826).

この順番の決定方法としては、たとえば、必要な処理が発生した順番通りに処理する方法や、無線通信IF部24から情報処理部21への伝達処理と無線通信IF部24から無線通信部4への伝達処理のいずれかを優先して行う方法や、あるいは、いくつかの処理を同時に行う方法などが考えられる。   As a method for determining this order, for example, a method of processing in the order in which necessary processing has occurred, a transmission process from the wireless communication IF unit 24 to the information processing unit 21, and a process from the wireless communication IF unit 24 to the wireless communication unit 4 A method of giving priority to any one of the transmission processes, or a method of performing several processes at the same time can be considered.

ここでは、無線通信IF部24が、ステップ812−1で得られた無線タグ8−1との交信情報を、すぐに外部機器6−1に伝達するようにしている(ステップ827,814,815,828,817−1,820−1)。
一方、それとは別に、無線通信IF部24は、ステップ827の処理を保留し、すべての無線通信部4から各無線タグ8との交信情報が集まった後(ステップ809−3,810−3,811−3,812−3の後)で、まとめて各外部機器6へそれらを送信するようにしてもよい(ステップ829,830,817−2,820−2,817−3,820−3)。
Here, the wireless communication IF unit 24 immediately transmits the communication information with the wireless tag 8-1 obtained in step 812-1 to the external device 6-1 (steps 827, 814, 815). , 828, 817-1, 820-1).
On the other hand, the wireless communication IF unit 24 suspends the processing of step 827 and collects communication information with each wireless tag 8 from all the wireless communication units 4 (steps 809-3, 810-3, 811-3 and 812-3), they may be collectively transmitted to the external devices 6 (steps 829, 830, 817-2, 820-2, 817-3, 820-3). .

このようにして、無線通信装置1は、上位通信IF部23がコマンドを重複して受信した場合でも、内部の通信経路を適切に設定し、その通信経路にしたがって、各無線タグ8との交信情報を取得し、その交信情報を各外部機器6に伝達することができる。   In this way, even when the host communication IF unit 23 receives a duplicate command, the wireless communication device 1 appropriately sets an internal communication path, and communicates with each wireless tag 8 according to the communication path. Information can be acquired and the communication information can be transmitted to each external device 6.

次に、図11を参照しながら、無線通信装置1におけるデータ通信の流れのさらに他の例について説明する(適宜他図参照)。図11は、そのときのデータ通信の流れを示したフローチャートである。
なお、図8の処理と同様の処理には、同一またはそれに準じた符号を付し、詳細な説明を省略する。
Next, still another example of the flow of data communication in the wireless communication device 1 will be described with reference to FIG. 11 (refer to other figures as appropriate). FIG. 11 is a flowchart showing the flow of data communication at that time.
The same processes as those in FIG. 8 are denoted by the same or similar reference numerals, and detailed description thereof is omitted.

ここでは、上位通信部3が、外部機器6から、複数の無線通信部4に対して所定の処理を要求する内容のコマンドを受け取った場合について、説明する。
所定の処理とは、ここでは、たとえば、無線タグ8−1からリードしたデータを無線タグ8−2へライトすることである。
Here, a case will be described in which the upper communication unit 3 receives from the external device 6 a command with a content requesting predetermined processing to the plurality of wireless communication units 4.
Here, the predetermined processing is, for example, writing data read from the wireless tag 8-1 to the wireless tag 8-2.

情報処理部21は、外部機器6から、前記した所定の処理に関するコマンドを受けた場合(ステップ801,802,803,806,807)、まず、無線通信IF部24に、無線通信部4−1へのリードコマンドを伝達する(ステップ831)。
続いて、無線通信IF部24は、ステップ809−1,810−1,811−1および812−1で取得した無線タグ8−1からのリードデータを情報処理部21に伝達する(ステップ832)。
When the information processing unit 21 receives a command related to the predetermined processing from the external device 6 (steps 801, 802, 803, 806, and 807), first, the wireless communication IF unit 24 sends the wireless communication unit 4-1 to the wireless communication IF unit 24. A read command is transmitted (step 831).
Subsequently, the wireless communication IF unit 24 transmits the read data from the wireless tag 8-1 acquired in Steps 809-1, 810-1, 811-1 and 812-1 to the information processing unit 21 (Step 832). .

次に、情報処理部21は、そのリードデータをライトするためのコマンドを、無線通信IF部24に伝達する(ステップ833)。
無線通信IF部24は、ステップ809−2,810−2,811−2および812−2で、無線タグ8−2へのリードデータのライトと、無線タグ8−2との交信情報の取得を行う。
そして、無線通信IF部24は、無線タグ8−2との交信情報を、外部機器6へ送信する(ステップ834,835,817,820)。
Next, the information processing unit 21 transmits a command for writing the read data to the wireless communication IF unit 24 (step 833).
In steps 809-2, 810-2, 811-2, and 812-2, the wireless communication IF unit 24 writes read data to the wireless tag 8-2 and acquires communication information with the wireless tag 8-2. Do.
Then, the wireless communication IF unit 24 transmits communication information with the wireless tag 8-2 to the external device 6 (steps 834, 835, 817, and 820).

なお、ステップ832および833の処理を省略し、代わりに無線通信IF部24の内部でリードデータをライトデータに変換する処理(ステップ836)を行ってもよい。
また、すべての無線タグ8との交信が正常に処理された場合、ステップ835以降の処理を省略してもかまわない。
さらに、各無線タグ8との交信において、異常が発生した場合は、そのたびごとにその異常情報を、無線通信IF部24から情報処理部21(その先の上位通信IF部23も同様)に伝達するようにしてもよい。
Note that the processes of steps 832 and 833 may be omitted, and instead, the process of converting read data into write data (step 836) may be performed within the wireless communication IF unit 24.
Further, when the communication with all the wireless tags 8 is processed normally, the processing after step 835 may be omitted.
Further, when an abnormality occurs in communication with each wireless tag 8, the abnormality information is transferred from the wireless communication IF unit 24 to the information processing unit 21 (the same applies to the higher-order communication IF unit 23). You may make it transmit.

このようにして、無線通信装置1は、外部機器6から1つのコマンドを受信するだけで、複数の無線タグ8への処理を行い、その場合でも、内部の通信経路を適切に設定し、その通信経路にしたがって、各無線タグ8と交信することができる。   In this way, the wireless communication device 1 performs processing for a plurality of wireless tags 8 only by receiving one command from the external device 6, and even in this case, the internal communication path is appropriately set, It is possible to communicate with each wireless tag 8 according to the communication path.

以上、図1〜図11の説明から明らかなように、複数の上位通信部3、および、複数の無線通信部4を有する無線通信装置1は、内部の通信経路を自動的に適切に設定できるため、上位通信部3や無線通信部4の変更、追加、削除などにも容易に対応することができる。   As described above, as is apparent from the description of FIGS. 1 to 11, the wireless communication device 1 having the plurality of upper communication units 3 and the plurality of wireless communication units 4 can automatically and appropriately set the internal communication path. Therefore, it is possible to easily cope with changes, additions, deletions, etc. of the upper communication unit 3 and the wireless communication unit 4.

(第2実施形態)
次に、図12と図13を参照しながら、第2実施形態の無線通信装置1a(請求項1および請求項12の通信装置に相当)について説明する(適宜他図参照)。図12は、第2実施形態の無線通信装置1aの構成図である。
無線通信装置1aは、制御部2aと通信部120(通信部120−1,120−2,・・・,120−nの総称)を備えている。
(Second Embodiment)
Next, the wireless communication device 1a of the second embodiment (corresponding to the communication devices of claims 1 and 12) will be described with reference to FIGS. 12 and 13 (refer to other figures as appropriate). FIG. 12 is a configuration diagram of the wireless communication device 1a of the second embodiment.
The wireless communication device 1a includes a control unit 2a and a communication unit 120 (generic name for communication units 120-1, 120-2,..., 120-n).

なお、図1の構成と同様の構成には同一または準ずる符号を付し、重複説明を適宜省略する。
また、無線通信装置1aにおいて、通信部120は、無線通信装置1(図1参照)の上位通信部3と無線通信部4を上位概念化(共通化)したものであり、通信IF(インターフェース)部25は、無線通信装置1の上位通信IF部23(図1参照)と無線通信IF部24(図1参照)を上位概念化したものである。
In addition, the same code | symbol is attached | subjected to the structure similar to the structure of FIG. 1, and duplication description is abbreviate | omitted suitably.
In the wireless communication device 1a, the communication unit 120 is a higher-level concept (commonization) of the upper communication unit 3 and the wireless communication unit 4 of the wireless communication device 1 (see FIG. 1), and a communication IF (interface) unit. Reference numeral 25 denotes a higher-level concept of the upper communication IF unit 23 (see FIG. 1) and the wireless communication IF unit 24 (see FIG. 1) of the wireless communication device 1.

制御部2aは、情報処理部21、情報記憶部22および通信IF部25を備えている。
情報処理部21は、情報記憶部22に格納されているプログラムを実行することで、第1実施形態の場合と同様、通信部120の接続情報を取得する機能と、通信経路を設定する機能と、通信IF部25によって外部機器6(図2参照)と有線あるいは無線により通信を行う機能とを有する。
情報記憶部22は、情報処理部21のワークエリアとして機能する。
The control unit 2a includes an information processing unit 21, an information storage unit 22, and a communication IF unit 25.
As in the case of the first embodiment, the information processing unit 21 executes a program stored in the information storage unit 22 to acquire connection information of the communication unit 120 and to set a communication path. The communication IF unit 25 has a function of communicating with the external device 6 (see FIG. 2) by wire or wireless.
The information storage unit 22 functions as a work area for the information processing unit 21.

通信IF部25は、通信部120からのデータを情報処理部21に伝送する機能と、情報処理部21からのデータを前記した通信経路設定にしたがって通信部120に伝送する機能とを有する。   The communication IF unit 25 has a function of transmitting data from the communication unit 120 to the information processing unit 21 and a function of transmitting data from the information processing unit 21 to the communication unit 120 according to the communication path setting described above.

通信部120は、無線通信装置1(図1参照)の上位通信部3(図1参照)と無線通信部4(図1参照)のいずれかと同等の機能を有する。
なお、通信部120は、2つ以上であれば、いくつあってもよい。
The communication unit 120 has a function equivalent to either the upper communication unit 3 (see FIG. 1) or the wireless communication unit 4 (see FIG. 1) of the wireless communication device 1 (see FIG. 1).
Note that there may be any number of communication units 120 as long as there are two or more.

次に、図13を参照しながら、無線通信装置1aにおけるデータ通信の流れの一例について説明する(適宜図12参照)。図13は、無線通信装置1aにおけるデータ通信の流れの一例を示したフローチャートである。
ここでは、通信部120−1および通信部120−3は、外部機器6とEthernet(登録商標)や無線LANなどで通信を行うものとし、通信部120−2は、RFIDシステムで無線タグ8と無線通信を行うものとする。ただし、通信部120の構成は、これらに限定されるものではなく、他の構成であっても同様の通信フローを適用することができる。
Next, an example of the flow of data communication in the wireless communication device 1a will be described with reference to FIG. 13 (see FIG. 12 as appropriate). FIG. 13 is a flowchart showing an example of the flow of data communication in the wireless communication device 1a.
Here, the communication unit 120-1 and the communication unit 120-3 communicate with the external device 6 through Ethernet (registered trademark), a wireless LAN, or the like, and the communication unit 120-2 is connected to the wireless tag 8 in the RFID system. Assume wireless communication. However, the configuration of the communication unit 120 is not limited to these, and the same communication flow can be applied to other configurations.

まず、通信部120−1が、外部機器6から無線タグ8に対するリードコマンドを受信した場合(ステップ1301)、そのリードコマンドの内容は、通信IF部25を介して(ステップ1302)、情報処理部21へ伝達される(ステップ1303)。
情報処理部21は、情報記憶部22から通信経路設定に関する情報を取得し(ステップ1304)、コマンドを実行する通信部120を決定する(ステップ1305)。
First, when the communication unit 120-1 receives a read command for the wireless tag 8 from the external device 6 (step 1301), the content of the read command is sent via the communication IF unit 25 (step 1302) to the information processing unit. 21 (step 1303).
The information processing unit 21 acquires information related to communication path setting from the information storage unit 22 (step 1304), and determines the communication unit 120 that executes the command (step 1305).

次に、情報処理部21は、リードコマンドを、通信IF部25を介して(ステップ1306)、ステップ1305で選択された通信部120−2に伝達する(ステップ1307)。
通信部120−2は、無線タグ8との交信を実行し(ステップ1308,1309)、その交信情報を、通信IF部25を介して(ステップ1310)、情報処理部21へ伝達する(ステップ1311)。
Next, the information processing unit 21 transmits the read command via the communication IF unit 25 (step 1306) to the communication unit 120-2 selected in step 1305 (step 1307).
The communication unit 120-2 executes communication with the wireless tag 8 (steps 1308 and 1309), and transmits the communication information to the information processing unit 21 via the communication IF unit 25 (step 1310) (step 1311). ).

続いて、情報処理部21は、通信経路設定に関する情報を取得し(ステップ1312)、無線タグ8との交信情報を外部機器6に伝達する通信部120(ここでは通信部120−3)を選択する(ステップ1313)。
情報処理部21は、交信情報を、通信IF部25を介して(ステップ1314)、通信部120−3へ伝達する(ステップ1315)。
最後に、通信部120−3は、その交信情報を外部機器6へ伝達する(ステップ1316)。
Subsequently, the information processing unit 21 acquires information related to the communication path setting (step 1312), and selects the communication unit 120 (here, the communication unit 120-3) that transmits the communication information with the wireless tag 8 to the external device 6. (Step 1313).
The information processing unit 21 transmits the communication information to the communication unit 120-3 via the communication IF unit 25 (step 1314) (step 1315).
Finally, the communication unit 120-3 transmits the communication information to the external device 6 (step 1316).

このように、無線通信装置1aによれば、無線通信装置1(図1参照)の上位通信部3(図1参照)と無線通信部4(図1参照)を上位概念化して通信部120としたことで、無線通信装置1よりも簡単な構成で、内部の通信経路を自動的に適切に設定でき、それにより、通信部120の変更、追加、削除などにも容易に対応することができる。   As described above, according to the wireless communication device 1a, the upper communication unit 3 (see FIG. 1) and the wireless communication unit 4 (see FIG. 1) of the wireless communication device 1 (see FIG. 1) are conceptualized as a communication unit 120. As a result, the internal communication path can be automatically and appropriately set with a simpler configuration than the wireless communication device 1, so that changes, additions, deletions, etc. of the communication unit 120 can be easily handled. .

(第3実施形態)
次に、図14と図15を参照しながら、第3実施形態の無線通信装置1b(請求項7の通信装置に相当)について説明する(適宜他図参照)。図14は、第3実施形態の無線通信装置1bの構成図である。
無線通信装置1bは、2つ以上の通信部140(通信部140−1,140−2,・・・,140−nの総称)を備えている。
なお、無線通信装置1bにおいて、通信部140は、無線通信装置1a(図12参照)の通信部120と制御部2aを上位概念化したものである。
(Third embodiment)
Next, the wireless communication device 1b (corresponding to the communication device of claim 7) of the third embodiment will be described with reference to FIGS. 14 and 15 (refer to other figures as appropriate). FIG. 14 is a configuration diagram of a wireless communication device 1b according to the third embodiment.
The wireless communication device 1b includes two or more communication units 140 (generic names of communication units 140-1, 140-2, ..., 140-n).
In the wireless communication device 1b, the communication unit 140 is a high-level concept of the communication unit 120 and the control unit 2a of the wireless communication device 1a (see FIG. 12).

通信部140は、情報処理部141、情報記憶部142、通信IF(インターフェース)部143、通信制御部144および外部IF(インターフェース)部145を備えている。
通信部140は、第2実施形態における通信部120と同等の機能を有し、通信部140のうち少なくとも1つ以上の情報処理部141は、情報記憶部22(図12参照)と同等の機能を有する。
The communication unit 140 includes an information processing unit 141, an information storage unit 142, a communication IF (interface) unit 143, a communication control unit 144, and an external IF (interface) unit 145.
The communication unit 140 has a function equivalent to that of the communication unit 120 in the second embodiment, and at least one information processing unit 141 of the communication unit 140 has a function equivalent to that of the information storage unit 22 (see FIG. 12). Have

次に、図15を参照しながら、無線通信装置1bにおけるデータ通信の流れの一例について説明する(適宜図14参照)。図15は、無線通信装置1bにおけるデータ通信の流れの一例を示したフローチャートである。
ここでは、通信部140−1は、外部機器6とEthernet(登録商標)や無線LANなどで通信を行うものとし、通信部140−2は、RFIDシステムで無線タグ8と無線通信を行うものとする。ただし、通信部140の構成は、これらに限定されるものではなく、他の構成であっても同様の通信フローを適用することができる。
Next, an example of the flow of data communication in the wireless communication device 1b will be described with reference to FIG. 15 (see FIG. 14 as appropriate). FIG. 15 is a flowchart illustrating an example of a data communication flow in the wireless communication device 1b.
Here, it is assumed that the communication unit 140-1 communicates with the external device 6 via Ethernet (registered trademark) or a wireless LAN, and the communication unit 140-2 performs wireless communication with the wireless tag 8 in the RFID system. To do. However, the configuration of the communication unit 140 is not limited to these, and the same communication flow can be applied to other configurations.

まず、通信部140−1の外部IF部145−1が、外部機器6から、無線タグ8に対するリードコマンドを受信した場合(ステップ1501)、情報処理部141−1は、そのリードコマンドの内容を、通信制御部144−1(図15には不図示)を介して取得する(ステップ1502)。
そして、情報処理部141−1は、情報記憶部142−1(図15には不図示)から通信経路設定に関する情報を取得し、通信経路を決定する(ステップ1503)。
First, when the external IF unit 145-1 of the communication unit 140-1 receives a read command for the wireless tag 8 from the external device 6 (step 1501), the information processing unit 141-1 displays the content of the read command. Then, it is acquired via the communication control unit 144-1 (not shown in FIG. 15) (step 1502).
Then, the information processing unit 141-1 acquires information on communication path setting from the information storage unit 142-1 (not shown in FIG. 15), and determines the communication path (step 1503).

次に、情報処理部141−1は、リードコマンドを、通信IF部143−nを介して(ステップ1504)、ステップ1503で選択された通信部140−2の情報処理部141−2に伝達する(ステップ1505)。
情報処理部141−2は、伝達されたリードコマンドにしたがい、通信制御部144−2(図15には不図示)と外部IF部145−2を介して、無線タグ8と交信を行う(ステップ1506〜1509)。
Next, the information processing unit 141-1 transmits the read command to the information processing unit 141-2 of the communication unit 140-2 selected in Step 1503 via the communication IF unit 143-n (Step 1504). (Step 1505).
The information processing unit 141-2 communicates with the wireless tag 8 via the communication control unit 144-2 (not shown in FIG. 15) and the external IF unit 145-2 in accordance with the read command transmitted (step) 1506-1509).

情報処理部141−2は、取得した無線タグ8との交信情報を、通信IF部143−nを介して通信部140−1の情報処理部141−1に伝達する(ステップ1511,1512)。
なお、ここでは、情報処理部141−2は、取得した無線タグ8との交信情報を伝達する通信経路を、前記した通信経路設定にしたがって決定してもよい(ステップ1510)。
最後に、情報処理部141−1は、通信制御部144−1(図15には不図示)と外部IF部145−1を介して、取得した無線タグ8との交信情報を外部機器6へ伝達する(ステップ1513,1514)。
The information processing unit 141-2 transmits the acquired communication information with the wireless tag 8 to the information processing unit 141-1 of the communication unit 140-1 via the communication IF unit 143-n (steps 1511 and 1512).
Here, the information processing unit 141-2 may determine a communication path for transmitting the acquired communication information with the wireless tag 8 in accordance with the communication path setting described above (step 1510).
Finally, the information processing unit 141-1 sends the acquired communication information with the wireless tag 8 to the external device 6 via the communication control unit 144-1 (not shown in FIG. 15) and the external IF unit 145-1. Transmit (steps 1513 and 1514).

このように、無線通信装置1bによれば、無線通信装置1(図1参照)と違い、データ通信を統括する制御部2(図1参照)を設けなくても、通信部140のいずれかによって複数の通信部140の間のデータ通信の通信経路などを自動的に制御できるため、より簡単な構成で、通信部140の変更、追加、削除などに容易に対応することができる。   As described above, according to the wireless communication device 1b, unlike the wireless communication device 1 (see FIG. 1), even if the control unit 2 (see FIG. 1) that controls data communication is not provided, Since the communication path of data communication between the plurality of communication units 140 can be automatically controlled, it is possible to easily cope with changes, additions, deletions, etc. of the communication unit 140 with a simpler configuration.

以上で実施形態の説明を終えるが、本発明の態様はこれらに限定されるものではない。ハードウェアやフローチャートなどの具体的な構成について、本発明の趣旨を逸脱しない範囲で適宜変更が可能である。   This is the end of the description of the embodiments, but the aspects of the present invention are not limited to these. Specific configurations such as hardware and flowcharts can be changed as appropriate without departing from the spirit of the present invention.

第1実施形態の無線通信装置の構成図である。It is a block diagram of the radio | wireless communication apparatus of 1st Embodiment. (a)は上位通信部およびその周辺機器の構成図であり、(b)は上位通信部の変形例の構成図である。(A) is a block diagram of a high-order communication part and its peripheral device, (b) is a block diagram of the modification of a high-order communication part. (a)は無線通信部およびその周辺機器の構成図であり、(b)は無線通信部の変形例の構成図である。(A) is a block diagram of a radio | wireless communication part and its peripheral device, (b) is a block diagram of the modification of a radio | wireless communication part. 上位通信部と無線通信部が有する固有情報の例などを示した図である。It is the figure which showed the example of the specific information which a high-order communication part and a radio | wireless communication part have. 優先度設定情報の例を示した図である。It is the figure which showed the example of priority setting information. 無線通信装置において通信経路の設定を行う場合の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process in the case of setting a communication path in a radio | wireless communication apparatus. 情報処理部による通信経路設定時の処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process at the time of the communication path setup by an information processing part. 上位通信部や無線通信部によるプログラム取得を説明するための構成図である。It is a block diagram for demonstrating the program acquisition by a high-order communication part and a radio | wireless communication part. 無線通信装置におけるデータ通信の流れの一例を示したフローチャートである。It is the flowchart which showed an example of the flow of the data communication in a radio | wireless communication apparatus. 無線通信装置において使用されるコマンドのデータ形式の例を示した図である。It is the figure which showed the example of the data format of the command used in a radio | wireless communication apparatus. 無線通信装置におけるデータ通信の他の処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the other process of the data communication in a radio | wireless communication apparatus. 無線通信装置におけるデータ通信のさらに他の処理の流れを示したフローチャートである。It is the flowchart which showed the flow of the further another process of the data communication in a radio | wireless communication apparatus. 第2実施形態の無線通信装置の構成図である。It is a block diagram of the radio | wireless communication apparatus of 2nd Embodiment. 第2実施形態の無線通信装置におけるデータ通信の流れの一例を示したフローチャートである。It is the flowchart which showed an example of the flow of the data communication in the radio | wireless communication apparatus of 2nd Embodiment. 第3実施形態の無線通信装置の構成図である。It is a block diagram of the radio | wireless communication apparatus of 3rd Embodiment. 第3実施形態の無線通信装置におけるデータ通信の流れの一例を示したフローチャートである。It is the flowchart which showed an example of the flow of the data communication in the radio | wireless communication apparatus of 3rd Embodiment.

符号の説明Explanation of symbols

1 無線通信装置
2 制御部
3 上位通信部
4 無線通信部
6 外部機器
8 無線タグ
DESCRIPTION OF SYMBOLS 1 Wireless communication apparatus 2 Control part 3 High-order communication part 4 Wireless communication part 6 External apparatus 8 Wireless tag

Claims (10)

有線または無線で外部機器と通信を行う複数の通信モジュールと、複数の前記通信モジュールを制御する制御モジュールと、を備え、それらが互いに伝送路で接続された通信装置であって、
複数の前記通信モジュールは、それぞれ、自身の識別情報と通信に関する機能情報とを保持し、
前記制御モジュールは、
複数の前記通信モジュールに関する前記識別情報と前記機能情報とを取得し、取得したそれらに基づいて、前記外部機器と通信を行う前記通信モジュールを選択し、
複数の前記通信モジュールと前記外部機器のいずれかから、前記通信モジュールの駆動プログラムを取得し、複数の前記通信モジュールのうち前記駆動プログラムを有していない通信モジュールに対して前記駆動プログラムを伝送して取得させる
ことを特徴とする通信装置。
A communication device comprising a plurality of communication modules that communicate with an external device in a wired or wireless manner, and a control module that controls the plurality of communication modules, which are connected to each other via a transmission path,
Each of the plurality of communication modules holds its own identification information and function information related to communication,
The control module is
Obtaining the identification information and the function information regarding a plurality of the communication modules, and based on the obtained information, select the communication module that communicates with the external device ,
A drive program for the communication module is obtained from any of the plurality of communication modules and the external device, and the drive program is transmitted to a communication module that does not have the drive program among the plurality of communication modules. A communication device characterized in that the communication device is acquired .
複数の前記通信モジュールは、そのうち少なくとも2つ以上が、前記外部機器の一種である無線タグと無線通信を行う無線タグ通信モジュールであり、
前記制御モジュールは、前記識別情報と前記機能情報とに基づいて、前記無線タグ以外の前記外部機器と通信を行う前記通信モジュールと、前記無線タグと無線通信を行う前記無線タグ通信モジュールとを選択する
ことを特徴とする請求項1に記載の通信装置。
Among the plurality of communication modules, at least two of them are wireless tag communication modules that perform wireless communication with a wireless tag that is a kind of the external device,
The control module selects the communication module that communicates with the external device other than the wireless tag and the wireless tag communication module that performs wireless communication with the wireless tag based on the identification information and the function information. The communication device according to claim 1, wherein:
前記制御モジュールは、前記機能情報に関する優先度を表した優先度設定情報を保持し、ユーザによって前記外部機器と通信を行う前記通信モジュールの選択が予め設定されていない場合、前記優先度設定情報に基づいて、前記外部機器と通信を行う前記通信モジュールを選択する
ことを特徴とする請求項1または請求項2に記載の通信装置。
The control module retains priority setting information representing a priority related to the function information, and if the selection of the communication module to communicate with the external device is not set in advance by the user, the priority setting information The communication apparatus according to claim 1, wherein the communication module that performs communication with the external device is selected based on the communication module.
前記制御モジュールは、複数の前記通信モジュールと2種類以上のデータ形式でデータ通信を行う場合、その2種類以上のデータ形式間の変換機能を有することで、複数の前記通信モジュールとデータ通信を行う
ことを特徴とする請求項1または請求項2に記載の通信装置。
When the control module performs data communication with the plurality of communication modules in two or more data formats, the control module performs a data communication with the plurality of communication modules by having a conversion function between the two or more data formats. The communication device according to claim 1 or 2, wherein
前記制御モジュールおよび複数の前記通信モジュールは、それぞれ、複数のデータ処理が発生した場合、発生順序または所定の優先度にしたがって、すべてのデータ処理を完遂する
ことを特徴とする請求項1または請求項2に記載の通信装置。
The control module and the plurality of communication modules each complete all data processing according to an occurrence order or a predetermined priority when a plurality of data processing occurs. 2. The communication device according to 2.
有線または無線で外部機器と通信を行う複数の通信モジュールが互いに伝送路で接続された通信装置であって、
複数の前記通信モジュールは、それぞれ、自身の識別情報と通信に関する機能情報とを保持し、
いずれかの前記通信モジュールは、
他の複数の前記通信モジュールに関する前記識別情報と前記機能情報とを取得し、取得したそれらに基づいて、前記外部機器と通信を行う前記通信モジュールを選択し、
他の複数の前記通信モジュールと前記外部機器とのいずれかから、前記通信モジュールの駆動プログラムを取得し、他の複数の前記通信モジュールのうち前記駆動プログラムを有していない通信モジュールに対して前記駆動プログラムを伝送して取得させる
ことを特徴とする通信装置。
A communication device in which a plurality of communication modules that communicate with an external device in a wired or wireless manner are connected to each other via a transmission path,
Each of the plurality of communication modules holds its own identification information and function information related to communication,
Any of the communication modules
Obtaining the identification information and the function information related to a plurality of other communication modules, and based on the obtained information, select the communication module that communicates with the external device ,
A drive program for the communication module is obtained from any of the plurality of other communication modules and the external device, and the communication module that does not have the drive program among the plurality of other communication modules A communication apparatus that transmits and acquires a drive program .
前記選択を行う通信モジュールは、前記機能情報に関する優先度を表した優先度設定情報を保持し、ユーザによって前記外部機器と通信を行う前記通信モジュールの選択が予め設定されていない場合、前記優先度設定情報に基づいて、前記外部機器と通信を行う前記通信モジュールを選択する
ことを特徴とする請求項に記載の通信装置。
The communication module that performs the selection holds priority setting information that represents the priority related to the function information, and when the selection of the communication module that performs communication with the external device is not preset by the user, the priority The communication apparatus according to claim 6 , wherein the communication module that performs communication with the external device is selected based on setting information.
前記選択を行う通信モジュールは、他の複数の前記通信モジュールと2種類以上のデータ形式でデータ通信を行う場合、その2種類以上のデータ形式間の変換機能を有することで、他の複数の前記通信モジュールとデータ通信を行う
ことを特徴とする請求項に記載の通信装置。
The communication module that performs the selection has a function of converting between the two or more types of data formats when performing data communication with the other plurality of communication modules in two or more types of data formats. The communication apparatus according to claim 6 , wherein data communication is performed with a communication module.
複数の前記通信モジュールは、それぞれ、複数のデータ処理が発生した場合、発生順序または所定の優先度にしたがって、すべてのデータ処理を完遂する
ことを特徴とする請求項に記載の通信装置。
The communication device according to claim 6 , wherein when a plurality of data processes occur, the plurality of communication modules each complete all data processes according to the generation order or a predetermined priority.
有線または無線で外部機器と通信を行う複数の通信モジュールと、複数の前記通信モジュールを制御する制御モジュールと、を備え、それらが互いに伝送路で接続された通信装置による通信方法であって、
複数の前記通信モジュールは、それぞれ、自身の識別情報と通信に関する機能情報とを保持しており
前記制御モジュールは、
複数の前記通信モジュールに関する前記識別情報と前記機能情報とを取得し、取得したそれらに基づいて、前記外部機器と通信を行う前記通信モジュールを選択し、
複数の前記通信モジュールと前記外部機器のいずれかから、前記通信モジュールの駆動プログラムを取得し、複数の前記通信モジュールのうち前記駆動プログラムを有していない通信モジュールに対して前記駆動プログラムを伝送して取得させる
ことを特徴とする通信方法。
A plurality of communication modules that communicate with an external device in a wired or wireless manner, and a control module that controls the plurality of communication modules, and a communication method using a communication device in which they are connected to each other via a transmission path,
The plurality of the communication module, respectively, holds the function information regarding the communication with the own identification information,
The control module is
Obtaining the identification information and the function information regarding a plurality of the communication modules, and based on the obtained information, select the communication module that communicates with the external device ,
A drive program for the communication module is obtained from any of the plurality of communication modules and the external device, and the drive program is transmitted to a communication module that does not have the drive program among the plurality of communication modules. communication method for causing acquired Te.
JP2006172192A 2006-06-22 2006-06-22 Communication apparatus and communication method Expired - Fee Related JP4981366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006172192A JP4981366B2 (en) 2006-06-22 2006-06-22 Communication apparatus and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006172192A JP4981366B2 (en) 2006-06-22 2006-06-22 Communication apparatus and communication method

Publications (2)

Publication Number Publication Date
JP2008003822A JP2008003822A (en) 2008-01-10
JP4981366B2 true JP4981366B2 (en) 2012-07-18

Family

ID=39008153

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006172192A Expired - Fee Related JP4981366B2 (en) 2006-06-22 2006-06-22 Communication apparatus and communication method

Country Status (1)

Country Link
JP (1) JP4981366B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5005667B2 (en) * 2008-12-19 2012-08-22 東芝テック株式会社 Communication terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2735011B2 (en) * 1993-12-28 1998-04-02 日本電気株式会社 IC card wireless modem and communication system using the same
JPH0856379A (en) * 1994-08-10 1996-02-27 Matsushita Electric Ind Co Ltd Multi-pc card communication system

Also Published As

Publication number Publication date
JP2008003822A (en) 2008-01-10

Similar Documents

Publication Publication Date Title
EP1559278B1 (en) System and method for minimizing unwanted re-negotiation of a passive rfid tag
CN102388596B (en) Method of detecting a NFC device emulating several contactless cards which may use a plurality of protocols
EP2124155B1 (en) Information processing apparatus, information processing system, method of processing information, and computer program
US8063740B1 (en) Interfacing to RFID reader utility that causes RFID tags to reply using changed reply timing
JP2009523351A (en) Method for preventing collision between readers in wireless tag system
US10243619B2 (en) NFC “split stack” architecture
AU2005311893A1 (en) System and method for monitoring mobile units in a wireless network
JP2018531565A6 (en) NFC “split stack” architecture
CN101160999B (en) Method and apparatus to minimize interference among co-located multiple wireless devices
KR20070088154A (en) Integrated apparatus of rfid reading function and internet communication function and method thereof
JP6858200B2 (en) Methods for routing data frames, near field communication controllers, and terminals
JP4981366B2 (en) Communication apparatus and communication method
CN107426668B (en) Communication device
JP5099622B2 (en) Reader test apparatus and reader test system
JP2001223763A (en) Information processing system, control method of information processing system, operating method of information processing system, and communication repeating device and information processing apparatus
CN104081679A (en) Near field communication method and near field communications device
CN107872431B (en) Data transmitting and receiving method, device and base station
JP4490882B2 (en) Reader / writer for wireless tag
JP2007316716A (en) Reader-writer, and determination method of communication time-out time of same
CA2548042C (en) Grouping application protocol data units for wireless transmission
CN103632173B (en) Access, access processing method and the device of label
KR100662050B1 (en) Anti-collision method for rfid readers
JP7021627B2 (en) RFID communication system and control method of RFID communication system
US11677444B2 (en) Contactless transponder and method
JP2007172419A (en) Interference (collision) prevention between rfid r/w, and communication area expansion system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081002

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110906

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111102

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

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

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

Free format text: PAYMENT UNTIL: 20150427

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4981366

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees