JP6172299B2 - Communication apparatus and communication method - Google Patents

Communication apparatus and communication method Download PDF

Info

Publication number
JP6172299B2
JP6172299B2 JP2015560851A JP2015560851A JP6172299B2 JP 6172299 B2 JP6172299 B2 JP 6172299B2 JP 2015560851 A JP2015560851 A JP 2015560851A JP 2015560851 A JP2015560851 A JP 2015560851A JP 6172299 B2 JP6172299 B2 JP 6172299B2
Authority
JP
Japan
Prior art keywords
communication
wireless
communication device
wireless channel
channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2015560851A
Other languages
Japanese (ja)
Other versions
JPWO2015118577A1 (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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Publication of JPWO2015118577A1 publication Critical patent/JPWO2015118577A1/en
Application granted granted Critical
Publication of JP6172299B2 publication Critical patent/JP6172299B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/14Spectrum sharing arrangements between different networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • H04W36/362Conditional handover

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

複数の無線通信インタフェースを保持する通信装置に関する。   The present invention relates to a communication device having a plurality of wireless communication interfaces.

無線通信では、周囲の無線環境の変化等の理由により、無線チャネルを変更し、よりよい環境で通信することが望まれる。環境がよいとは、ノイズの少ない環境である。無線チャネルを切替える手法が特許文献1及び特許文献2に開示されている。   In wireless communication, for reasons such as changes in the surrounding wireless environment, it is desirable to change the wireless channel and perform communication in a better environment. A good environment is an environment with little noise. Patent Documents 1 and 2 disclose a method for switching radio channels.

自局と対向局との間の通信回線を現用回線から予備回線に切り替える手法が特許文献1に開示されている。自局は現用回線において障害発生信号を受信したと同時に、対向局に回線切替指令を発する。自局は、対向局からの回線切替完了信号の到着予定時刻の直前に自局の回線切替装置の動作を完了させておくことで、回線の切替え時に信号断となる時間を短くすることができる。   Patent Document 1 discloses a method for switching the communication line between the own station and the opposite station from the working line to the protection line. The local station issues a line switching command to the opposite station at the same time it receives the failure signal on the working line. The own station can shorten the time of signal disconnection at the time of line switching by completing the operation of its own line switching device immediately before the arrival time of the line switching completion signal from the opposite station. .

また、無線LANの無線チャネルの切替えにおいて、変更先の無線チャネルに切替え可能かどうかを判断する手法が特許文献2に開示されている。アクセスポイント装置は、全ての他局から切換「可」の信号を受信した場合にチャネル切換指令をクライアント装置に送信する。アクセスポイント装置は、他局のいずれか一つから切換「不可」の信号を受信した場合にはチャネル切換指令を送信しない。   Further, Patent Document 2 discloses a technique for determining whether or not switching to a change-destination radio channel is possible when switching between wireless LAN radio channels. The access point device transmits a channel switching command to the client device when receiving a signal indicating that switching is possible from all other stations. The access point device does not transmit a channel switching command when it receives a signal indicating that switching is not possible from any one of the other stations.

ところで、複数の通信インタフェースを備える通信装置において、それぞれの通信インタフェースの通信RF(Radio Frequency)は、干渉問題を回避する為に異なる周波数の無線チャネルを利用することが望ましい。通信装置自身の判断や上位装置からの要求により、ある一つの通信インタフェースにおいて無線チャネルを変更する時、自装置の他の通信インタフェースの無線チャネルとは異なる無線チャネルとすることが望ましい。   By the way, in a communication apparatus provided with a plurality of communication interfaces, it is desirable that communication RF (Radio Frequency) of each communication interface use radio channels of different frequencies in order to avoid interference problems. When the wireless channel is changed in one communication interface based on the judgment of the communication device itself or a request from the host device, it is desirable that the wireless channel is different from the wireless channel of the other communication interface of the own device.

IEEE 802.15.4では、Coordinator(ネットワークの管理者)とHost(ホスト)間の通信において、無線チャネルを変更するために、Coordinator Realignmentコマンドが用意されている。このコマンドを用いることで、Coordinatorが主導してHostに無線チャネルの切り替えを指定し、CoordinatorとHostが共に指定したチャネルに変更することができる。(下記非特許文献1参照)   In IEEE 802.15.4, a Coordinator Alignment command is prepared for changing a radio channel in communication between a Coordinator (network administrator) and a Host (host). By using this command, the Coordinator can lead the host to specify switching of the radio channel, and can change to the channel designated by both the Coordinator and the Host. (See Non-Patent Document 1 below)

特開昭61-131622号公報JP 61-131622 A 特開2011−217035号公報JP 2011-217035 A

IEEE Std 802.15.4−2011IEEE Std 802.15.4-2011

しかしながら、IEEE802.15.4を利用したシステムでは、より簡易なシステムを実現する為に、機能を削減されることがある。機能を削減されると、無線チャネルを切り替えるためのCoordinator Realignmentコマンドを含む機能群(プロファイル)が実装されない場合がある。このようなシステムでは、無線チャネルが切替えられたかどうかの判断を、特許文献1及び特許文献2のようにメッセージにより判断することができない。通信エラーとなる状態が続いた後に無線チャネルを切替えることになるため、通信断の時間が長くなるという問題点があった。   However, in a system using IEEE802.5.4, functions may be reduced in order to realize a simpler system. If the function is reduced, a function group (profile) including a Coordinator Realignment command for switching a radio channel may not be implemented. In such a system, it is not possible to determine whether or not the radio channel has been switched by a message as in Patent Document 1 and Patent Document 2. Since the radio channel is switched after the state in which the communication error occurs, there is a problem that the communication disconnection time becomes long.

本発明は上記のような問題点を解決するためになされたもので、複数の無線通信インタフェースを保持する通信装置において、通信相手から無線チャネルを切替えることが通知されない場合に、通信断の時間を短くする通信装置を得ることを目的としている。   The present invention has been made to solve the above-described problems. In a communication apparatus having a plurality of wireless communication interfaces, the communication disconnection time is reduced when the communication partner does not notify that the wireless channel is switched. The purpose is to obtain a communication device that is shortened.

複数の無線通信インタフェースを保持する通信装置であって、第1の無線通信インタフェースで通信する第1のネットワークにおいて使用されている第1の無線チャネルが、第2の無線通信インタフェースで通信する第2のネットワークにおいて使用されている第2の無線チャネルと同一の場合、第2の無線チャネルを変更することを決定し、第2のネットワークに接続する認証済みの他の通信装置との認証の有効期間を終了させるように制御するとともに、第2の無線チャネルを第1の無線チャネルと異なる無線チャネルに切替えるように指示する通信処理部と、通信処理部からの指示により、第2の無線チャネルを切替えるMAC部と、を備えた。   A communication apparatus having a plurality of wireless communication interfaces, wherein a first wireless channel used in a first network communicating with a first wireless communication interface communicates with a second wireless communication interface. If the second wireless channel is the same as the second wireless channel used in the other network, the second wireless channel is determined to be changed, and the validity period of authentication with another authenticated communication device connected to the second network And a communication processing unit that instructs to switch the second wireless channel to a wireless channel different from the first wireless channel, and the second wireless channel is switched according to an instruction from the communication processing unit. And a MAC unit.

本発明によれば、複数の無線通信インタフェースを保持する通信装置において、通信相手から無線チャネルを切替えることが通知されない場合に、通信断の時間を短くすることができる。   ADVANTAGE OF THE INVENTION According to this invention, in the communication apparatus holding several radio | wireless communication interfaces, when it is not notified from the communication other party that a radio channel is switched, the time of communication disconnection can be shortened.

実施の形態1に係る通信装置の構成を示すブロック図。FIG. 2 is a block diagram showing a configuration of a communication apparatus according to Embodiment 1. 実施の形態1に係るネットワーク構成を示す図。1 is a diagram showing a network configuration according to Embodiment 1. FIG. 実施の形態1に係るネットワーク構成を示す図。1 is a diagram showing a network configuration according to Embodiment 1. FIG. 実施の形態1に係る通信装置において無線チャネルを変更する処理の流れを示すシーケンス図。FIG. 3 is a sequence diagram showing a flow of processing for changing a radio channel in the communication apparatus according to the first embodiment. 実施の形態1に係るRFC(Request For Comments)5191の認証パケットのフォーマットを示す図。FIG. 5 shows a format of an authentication packet of RFC (Request For Comments) 5191 according to the first embodiment. 実施の形態1に係るIEEE802.15.4のEnhanced Beacon Requestのフォーマットを示す図。The figure which shows the format of Enhanced Beacon Request of IEEE802.15.4 which concerns on Embodiment 1. FIG. 実施の形態1に係るIEEE802.15.4のEnhanced Beaconのフォーマットを示す図。3 is a diagram showing a format of an enhanced beacon of IEEE 802.15.4 according to Embodiment 1. FIG. 実施の形態1に係るIEEE802.15.4のBeacon Requestのフォーマットを示す図。The figure which shows the format of IEEE802.15.4 Beacon Request which concerns on Embodiment 1. FIG. 実施の形態1に係るIEEE802.15.4のBeaconのフォーマットを示す図。3 is a diagram showing a format of IEEE 802.15.4 Beacon according to Embodiment 1. FIG. 実施の形態2に係る通信装置において無線チャネルを変更する処理の流れを示すシーケンス図。FIG. 11 is a sequence diagram showing a flow of processing for changing a radio channel in the communication apparatus according to the second embodiment. 実施の形態2に係るRFC5191のオプションコードのフォーマットを示す図。The figure which shows the format of the option code | cord | chord of RFC5191 which concerns on Embodiment 2. FIG. 実施の形態3に係る通信装置において無線チャネルを変更する処理の流れを示すシーケンス図。FIG. 10 is a sequence diagram showing a flow of processing for changing a radio channel in the communication apparatus according to the third embodiment.

実施の形態1.
図1は、実施の形態1に係る通信装置11の構成を示すブロック図である。通信装置11は、アンテナ12a〜b、PHY(Physical)13a〜b、MAC(Media Access Control)14a〜b、CPU15及び通信情報保存部16から構成される。CPU15は、通信処理部16及び無線チャネル管理部17を備えている。通信装置11は、通信インタフェースを2つ備えているため、アンテナ12a〜b、PHY13a〜b、MAC14a〜bをそれぞれ2つとした。通信装置11は、通信インタフェースを3以上の複数個備えるようにしてもよい。アンテナ、PHY、MACは通信インタフェースの数に応じて備えるものとする。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of communication apparatus 11 according to the first embodiment. The communication device 11 includes antennas 12 a to 12 b, PHYs (Physical) 13 a to 13 b, MACs (Media Access Control) 14 a to 14 b, a CPU 15, and a communication information storage unit 16. The CPU 15 includes a communication processing unit 16 and a wireless channel management unit 17. Since the communication device 11 includes two communication interfaces, two antennas 12a to 12b, PHYs 13a to 13b, and two MACs 14a to 14b are provided. The communication device 11 may include three or more communication interfaces. Antennas, PHYs, and MACs are provided according to the number of communication interfaces.

PHY13aは、アンテナ12aを介して他の装置から無線信号を受信し、MAC14aへ出力する。PHY13aは、それぞれ異なる無線チャネルを利用することが可能である。MAC14aは、PHY13aから入力された無線信号のMACレイヤ情報を参照し、自装置宛の通信かどうか判断する。自装置宛の通信であれば、CPU15の通信処理部17に出力する。なお、自装置宛の通信には、全装置宛の場合や複数装置宛の場合も含まれる。通信処理部17は、MAC14aから入力された情報を処理する。   The PHY 13a receives a radio signal from another device via the antenna 12a and outputs it to the MAC 14a. The PHY 13a can use different radio channels. The MAC 14a refers to the MAC layer information of the radio signal input from the PHY 13a, and determines whether the communication is addressed to the own device. If it is communication addressed to its own device, it is output to the communication processing unit 17 of the CPU 15. Note that the communication addressed to the own device includes cases addressed to all devices and addresses addressed to a plurality of devices. The communication processing unit 17 processes information input from the MAC 14a.

無線チャネル管理部18は、無線方式で定められた範囲の複数の無線チャネルを管理し、MAC14a、MAC14bを通じてそれぞれPHY13a、PHY13bに割り当てる。PHY13aが無線チャネルAを利用した通信を行っている時、PHY13bは無線チャネルBを利用した通信を行うことができる。無線チャネル管理部18は、通常、PHY13a〜bに異なる無線チャネルを割り当てるようにするが、システムによっては同じ無線チャネルを割り当てるようにしてもよい。   The radio channel management unit 18 manages a plurality of radio channels in a range defined by the radio system, and assigns them to the PHY 13a and the PHY 13b through the MAC 14a and the MAC 14b, respectively. When the PHY 13a performs communication using the wireless channel A, the PHY 13b can perform communication using the wireless channel B. The radio channel management unit 18 normally assigns different radio channels to the PHYs 13a and 13b, but may assign the same radio channel depending on the system.

通信装置11から送信する場合、通信処理部17は無線チャネル管理部18に利用可能な無線チャネルを問い合わせ、送信データとともにMAC13aへ出力する。MAC14aは利用可能な無線チャネルのうち、現在の環境における空き無線チャネルをPHY13a及びアンテナ12aを介して検索する。PHY13aはMAC14aより指示された無線チャネルで、アンテナ12aを介して無線信号を他の装置へ送信する。
主に、アンテナ12a、PHY13a、MAC14aについて説明したが、アンテナ12b、PHY13b、MAC14bについても同様である。
When transmitting from the communication device 11, the communication processing unit 17 inquires of the wireless channel management unit 18 about available radio channels, and outputs them to the MAC 13 a together with transmission data. The MAC 14a searches for available radio channels in the current environment among the available radio channels via the PHY 13a and the antenna 12a. The PHY 13a is a radio channel instructed by the MAC 14a and transmits a radio signal to another apparatus via the antenna 12a.
Although the antenna 12a, PHY 13a, and MAC 14a have been mainly described, the same applies to the antenna 12b, PHY 13b, and MAC 14b.

通信情報保存部16は、PHY13a〜bが利用している無線チャネルの情報、通信相手となる装置の認証に用いられるIDやパスワード、認証の有効期間の情報、MAC ID等のMACレイヤ情報などを保存する。さらに、通信情報保存部16は、通信処理部17が処理に必要な計算結果等、一時的な情報を保存してもよい。MAC14a〜bは、通信情報保存部16に情報を保存するとともに情報を参照する。通信情報保存部16は、不揮発なメモリ領域であるROM(Read Only Memory)やRAM(Random Access Memory)である。通信情報保存部16は、ROMとRAMの両方で実現してもよいし、どちらか一方で実現してもよい。   The communication information storage unit 16 includes information on the wireless channel used by the PHYs 13a and 13b, an ID and password used for authentication of a device as a communication partner, information on the validity period of authentication, MAC layer information such as a MAC ID, and the like. save. Further, the communication information storage unit 16 may store temporary information such as a calculation result necessary for processing by the communication processing unit 17. The MACs 14a and 14b store information in the communication information storage unit 16 and refer to the information. The communication information storage unit 16 is a ROM (Read Only Memory) or a RAM (Random Access Memory) which is a nonvolatile memory area. The communication information storage unit 16 may be realized by both ROM and RAM, or may be realized by either one.

図2は、実施の形態1に係るネットワーク構成を示す図である。図2は、上位装置21、通信装置11a〜d、及び下位装置22a〜cで構成されている。上位装置21は、通信装置11a及び通信装置11cとネットワーク23aを形成している。通信装置11aは、通信装置11bとネットワーク23bを形成している。通信装置11bは、下位装置22a〜bとネットワーク23cを形成している。通信装置11cは、通信装置11dとネットワーク23dを形成している。通信装置11dは、下位装置22cとネットワーク23eを形成している。   FIG. 2 is a diagram illustrating a network configuration according to the first embodiment. FIG. 2 includes a higher-level device 21, communication devices 11a to 11d, and lower-level devices 22a to 22c. The host device 21 forms a network 23a with the communication device 11a and the communication device 11c. The communication device 11a forms a network 23b with the communication device 11b. The communication device 11b forms a network 23c with the lower devices 22a-b. The communication device 11c forms a network 23d with the communication device 11d. The communication device 11d forms a network 23e with the lower device 22c.

ネットワーク23a〜eは、同一の無線規格とする。無線規格とは、例えば、IEEE802.15.4、IEEE802.11、ZigBee、IEEE802.15.1である。ここに列挙した以外の無線規格を利用してもよい。例えば無線LANの2.4GHz帯と5.0GHz帯のように、1つの無線規格で大きく異なる複数の周波数帯域がある場合、ネットワーク23a〜eは無線規格だけでなく、同一の周波数帯域とする。これは、1つのPHYが適応できる周波数帯域はある程度限られているためである。   The networks 23a to 23e are assumed to have the same wireless standard. The wireless standards are, for example, IEEE 802.15.4, IEEE 802.11, ZigBee, IEEE 802.15.1. Wireless standards other than those listed here may be used. For example, when there are a plurality of frequency bands that are greatly different depending on one wireless standard, such as the 2.4 GHz band and the 5.0 GHz band of the wireless LAN, the networks 23a to 23e are set not only to the wireless standard but also to the same frequency band. This is because the frequency band to which one PHY can be applied is limited to some extent.

それぞれの無線規格では、複数の無線チャネルを利用することができる。無線チャネルとは、例えば、920MHz帯の921.2MHz帯のように、その無線規格で利用できる周波数のうち、実際に利用される周波数を指す。ネットワーク23a〜eは、それぞれ隣り合うネットワークでは異なる無線チャネルを利用する。例えば、ネットワーク23aは無線チャネルAとして921.2MHzを利用し、ネットワーク23bは無線チャネルBとして922.4MHzを利用する。隣り合うネットワークで異なる無線周波数帯を利用することにより、ネットワーク23aとネットワーク23bとは干渉しない。   Each wireless standard can use a plurality of wireless channels. The wireless channel refers to a frequency that is actually used among frequencies that can be used in the wireless standard, such as the 921.2 MHz band of the 920 MHz band. The networks 23a to 23e use different radio channels in adjacent networks. For example, the network 23a uses 921.2 MHz as the wireless channel A, and the network 23b uses 922.4 MHz as the wireless channel B. By using different radio frequency bands in adjacent networks, the network 23a and the network 23b do not interfere with each other.

ネットワーク23a〜eは、それぞれ無線チャネルA、B、C、D、Eを利用している。図2では、ネットワーク23a〜eは全て異なる無線チャネルを利用するにしているが、少なくとも隣り合うネットワークで異なる無線チャネルを利用すればよい。ネットワーク23b−13c、23eで無線チャネルAを利用し、ネットワーク23b、23dで無線チャネルBを利用するようにしてもよい。   The networks 23a to 23e use radio channels A, B, C, D, and E, respectively. In FIG. 2, the networks 23a to 23e all use different radio channels, but different radio channels may be used at least in adjacent networks. The wireless channel A may be used in the networks 23b-13c and 23e, and the wireless channel B may be used in the networks 23b and 23d.

図3は、実施の形態1に係るネットワーク構成を示す図である。図2との違いは、ネットワーク23aは無線チャネルAから無線チャネルBに変更し、ネットワーク23bは無線チャネルBから無線チャネルFに変更している点である。   FIG. 3 is a diagram illustrating a network configuration according to the first embodiment. The difference from FIG. 2 is that the network 23a is changed from the wireless channel A to the wireless channel B, and the network 23b is changed from the wireless channel B to the wireless channel F.

ネットワークが図2の状態で、例えば上位装置21の要求によりネットワーク23aが無線チャネルAから無線チャネルBへ変更されたとする。ネットワーク23aとネットワーク23bは同じ無線チャネルBを利用することになるため、干渉が発生する。通信装置11aの無線チャネル管理部108は、PHY13aとPHY13bで同じ無線チャネルが利用されていることを認識し、ネットワーク23bの無線チャネルを無線チャネルFに変更する。その結果、図3の状態となる。   Assume that the network 23a is changed from the wireless channel A to the wireless channel B in response to a request from the host device 21 in the state of FIG. Since the network 23a and the network 23b use the same radio channel B, interference occurs. The wireless channel management unit 108 of the communication device 11a recognizes that the same wireless channel is used by the PHY 13a and the PHY 13b, and changes the wireless channel of the network 23b to the wireless channel F. As a result, the state shown in FIG. 3 is obtained.

例えば、IEEE802.15.4では、無線チャネルを切り替えるためにCoordinator Realignmentコマンドが用意されている。通信装置11aはCoordinator Realignmentコマンドにより、無線チャネルAから無線チャネルBへ変更する旨を通信装置11bに通知すればよい。   For example, in IEEE 802.11.5.4, a Coordinator Realignment command is prepared for switching radio channels. The communication device 11a may notify the communication device 11b that the wireless channel A is to be changed to the wireless channel B by a Coordinator Realignment command.

一方、IEEE802.15.4を利用したシステムでは、より簡易なシステムを実現する為に、機能を削減されることがある。機能が削減されると、無線チャネルを切り替えるためのCoordinator Realignmentコマンドを含む機能群(プロファイル)が実装されない場合がある。このようなシステムでは、無線チャネルが切り替えられたかどうかの判断を、メッセージにより判断することができない。Hostとなる通信装置は、Coordinatorとなる装置への通信エラーが一定時間続いた後に、無線チャネルが変更された可能性を判断することになる。したがって、通信断の時間が長くなってしまう。   On the other hand, in a system using IEEE802.15.4, functions may be reduced in order to realize a simpler system. When functions are reduced, a function group (profile) including a Coordinator Realignment command for switching radio channels may not be implemented. In such a system, it is not possible to determine whether or not the radio channel has been switched based on a message. The communication apparatus that becomes the host determines the possibility that the radio channel has been changed after a communication error to the apparatus that becomes the coordinator continues for a certain period of time. Therefore, the communication disconnection time becomes long.

本実施の形態では、Coordinator Realignmentコマンドのような無線チャネル変更コマンドによる指示を受けない場合に、より早く無線チャネルを切替える手法について説明する。   In the present embodiment, a method for switching a radio channel earlier when no instruction is given by a radio channel change command such as a Coordinator Alignment command will be described.

次に動作について説明する。
図4は、実施の形態1に係る通信装置11a〜bにおいて無線チャネルを変更する処理の流れを示すシーケンス図である。通信装置11aがCoordinator、通信装置11bがHostである。
Next, the operation will be described.
FIG. 4 is a sequence diagram illustrating a flow of processing for changing a radio channel in the communication apparatuses 11a and 11b according to the first embodiment. The communication device 11a is Coordinator, and the communication device 11b is Host.

ネットワーク23aは上位装置21及び通信装置11aを含み、無線チャネルAで運用中とする。ネットワーク23bは通信装置11a及び通信装置11bを含み、隣接するネットワーク23aにおいて無線チャネルAが使用されているため、無線チャネルA以外の無線チャネルBで運用している。ネットワーク23cは通信装置11b及び下位装置22aを含み、隣接するネットワーク23bにおいて無線チャネルBが使用されているため、無線チャネルB以外の無線チャネルCで運用している。   The network 23a includes the host device 21 and the communication device 11a, and is operating on the wireless channel A. The network 23b includes the communication device 11a and the communication device 11b. Since the wireless channel A is used in the adjacent network 23a, the network 23b is operated by a wireless channel B other than the wireless channel A. The network 23c includes the communication device 11b and the lower device 22a. Since the wireless channel B is used in the adjacent network 23b, the network 23c is operated by a wireless channel C other than the wireless channel B.

通信装置11aは、ネットワーク23a側の通信インタフェースをアンテナ12a−1、PHY13a−1、MAC14a−1とし、ネットワーク23b側の通信インタフェースをアンテナ12b−1、PHY13b−1、MAC14b−1とする。また、通信装置11aにおいて、CPU15a、通信情報保存部16a、通信処理部17a、無線チャネル管理部18aとする。通信装置11bは、ネットワーク23b側の通信インタフェースをアンテナ12b−1、PHY13a−2、MAC14a−2とし、ネットワーク23c側の通信インタフェースをアンテナ12b−2、PHY13b−2、MAC14b−2とする。また、通信装置11bにおいて、CPU15b、通信情報保存部16b、通信処理部17b、無線チャネル管理部18bとする。   In the communication device 11a, the communication interface on the network 23a side is the antenna 12a-1, PHY 13a-1, and MAC 14a-1, and the communication interface on the network 23b side is the antenna 12b-1, PHY 13b-1, and MAC 14b-1. In the communication device 11a, the CPU 15a, the communication information storage unit 16a, the communication processing unit 17a, and the wireless channel management unit 18a are used. In the communication device 11b, the communication interface on the network 23b side is the antenna 12b-1, PHY 13a-2, and MAC 14a-2, and the communication interface on the network 23c side is the antenna 12b-2, PHY 13b-2, and MAC 14b-2. In the communication device 11b, the CPU 15b, the communication information storage unit 16b, the communication processing unit 17b, and the radio channel management unit 18b are used.

通信装置11aと通信装置11bは、通信相手が正しい装置であるのか確認するため、通信を開始する前に互いに認証を行う。認証は一定期間のみ有効とする。認証の有効期間をSession Lifetimeと呼ぶ。認証は、標準の規格やプロトコルで定められた方法を用いればよい。通信装置11a及び通信装置11bは、IDのみ、またはパスワードのみで認証するようにしてもよい。通信装置11a及び通信装置11bは、Session Lifetime内であれば、通信相手との通信を許容する。しかし、Session Lifetimeが満了した場合、通信装置11a及び通信装置11bは通信相手と通信することはできない。   The communication device 11a and the communication device 11b authenticate each other before starting communication in order to check whether the communication partner is the correct device. Authentication is valid only for a certain period. The validity period of authentication is referred to as Session Lifetime. For the authentication, a method defined by a standard or a protocol may be used. The communication device 11a and the communication device 11b may be authenticated using only an ID or only a password. The communication device 11a and the communication device 11b allow communication with a communication partner within the Session Lifetime. However, when the Session Lifetime expires, the communication device 11a and the communication device 11b cannot communicate with the communication partner.

ここで、上位装置21からの指示により、ネットワーク23aの無線チャネルが無線チャネルBに変更されたものとする。通信装置11aのMAC14a−1は、ネットワーク23aの無線チャネル情報をCPU15aの通信処理部17aに通知する。通信処理部17aは、ネットワーク23aの無線チャネルが無線チャネルBに変更されたことを無線チャネル管理部18aに通知する。無線チャネル管理部18aは、ネットワーク23aとネットワーク23bの無線チャネルがともに無線チャネルBであることを検出すし、通信処理部17aに通知する。そこで、通信処理部17aは、ネットワーク23bの無線チャネルを変更することとし(S11)、MAC14b−1に通知する。   Here, it is assumed that the wireless channel of the network 23a is changed to the wireless channel B in accordance with an instruction from the host device 21. The MAC 14a-1 of the communication device 11a notifies the communication processing unit 17a of the CPU 15a of the wireless channel information of the network 23a. The communication processing unit 17a notifies the radio channel management unit 18a that the radio channel of the network 23a has been changed to the radio channel B. The wireless channel management unit 18a detects that both the wireless channels of the network 23a and the network 23b are the wireless channel B, and notifies the communication processing unit 17a. Therefore, the communication processing unit 17a changes the wireless channel of the network 23b (S11) and notifies the MAC 14b-1.

通信装置11bはSession Lifetimeが満了する前に通信装置11aに対して再認証要求を送信する(S12)。通信装置11aは、無線チャネルの変更を決定した場合、Session Lifetimeが満了するまで再認証要求を受信しても応答しない。一定時間が経過しても応答がないため、通信装置11bは通信装置11aに対して再認証要求を再送する(S13)。しかし、応答がなく、Session Lifetimeが満了する。   The communication device 11b transmits a re-authentication request to the communication device 11a before the Session Lifetime expires (S12). When the communication device 11a determines to change the wireless channel, the communication device 11a does not respond even if it receives a re-authentication request until the Session Lifetime expires. Since there is no response even after a fixed time has elapsed, the communication device 11b resends the re-authentication request to the communication device 11a (S13). However, there is no response and the Session Lifetime expires.

Session Lifetimeが満了すると、通信装置11aは、チャネルの切替えを実行する(S14)。無線チャネルの変更先は、この時点で検索してもよいし、事前に検索しておいてもよい。また、無線チャネルの変更先は、通信装置11aのMAC14b−1の判断で決定してもよい。ここでは、無線チャネルFに切替えられたものとする。また、図示していないが、Session Lifetimeが満了すると、通信装置11bは、今まで使用していた無線チャネルBで新たに認証要求を通信装置11aに送信する。しかし、通信装置11aはすでに無線チャネルFに切替えているため、通信装置11bは応答を受信しない。   When the Session Lifetime expires, the communication device 11a performs channel switching (S14). The change destination of the radio channel may be searched at this time or may be searched in advance. Further, the change destination of the wireless channel may be determined by the determination of the MAC 14b-1 of the communication device 11a. Here, it is assumed that the radio channel F has been switched. Although not shown, when the Session Lifetime expires, the communication device 11b newly transmits an authentication request to the communication device 11a using the wireless channel B that has been used so far. However, since the communication device 11a has already switched to the wireless channel F, the communication device 11b does not receive a response.

認証応答を受信しない場合、通信装置11bの通信処理部17aは通信装置11aとの通信が切断されたと判断し、無線チャネルの検索を決定する(S15)。通信処理部17aは、無線チャネルを検索するようにMAC14a−2に通知する。通信装置11bのMAC14a−2は、PHY14a−2を通じて、利用可能な無線チャネルを検索する(S16)。通信装置11bは、無線チャネルFを検出し、通信装置11aが利用していることを認識すると、認証を行う。認証が成功すると運用状態になる(S17)。   When the authentication response is not received, the communication processing unit 17a of the communication device 11b determines that the communication with the communication device 11a is disconnected, and determines to search for a wireless channel (S15). The communication processing unit 17a notifies the MAC 14a-2 to search for a wireless channel. The MAC 14a-2 of the communication device 11b searches for an available radio channel through the PHY 14a-2 (S16). When the communication device 11b detects the wireless channel F and recognizes that the communication device 11a is using it, the communication device 11b performs authentication. If the authentication is successful, the operation state is entered (S17).

通信装置11aが通信装置11bからの再認証要求に対して応答しないことにより、Session Lifetimeが満了し、認証の有効期間が終了する。さらに、通信装置11aがネットワーク23bの無線チャネルを変更することにより、通信装置11bは新たな認証要求に対する応答を受信しない。通信装置11bは、通信装置11aとの通信が切断されたと判断し、無線チャネルを検索することになる。したがって、通信装置11aが認証の有効期間が終了するように制御することにより、通信装置11bに変更先の無線チャネルを検索させることができる。よって、通信断の時間を短くすることができる。   When the communication device 11a does not respond to the re-authentication request from the communication device 11b, the Session Lifetime expires and the valid period of authentication ends. Furthermore, when the communication device 11a changes the wireless channel of the network 23b, the communication device 11b does not receive a response to the new authentication request. The communication device 11b determines that communication with the communication device 11a has been disconnected, and searches for a wireless channel. Therefore, by controlling the communication device 11a so that the valid period of authentication ends, the communication device 11b can be made to search for the wireless channel to be changed. Therefore, the communication disconnection time can be shortened.

図5は、実施の形態1に係るRFC5191の認証パケットのフォーマットを示す図である。通信装置11a〜bは、認証又は再認証を行う場合、例えばUDP/IP(User Datagram Protocol/Internet Protocol)のRFC5191のプロトコルを利用してもよい。また、通信置11a〜bは、IEEE802.11やIEEE802.15.1の認証方式を用いてもよい。   FIG. 5 is a diagram illustrating a format of an RFC 5191 authentication packet according to the first embodiment. When performing authentication or re-authentication, the communication apparatuses 11a and 11b may use, for example, an RFC 5191 protocol of UDP / IP (User Datagram Protocol / Internet Protocol). Further, the communication devices 11a and 11b may use IEEE802.11 or IEEE802.15.1 authentication methods.

図6は、実施の形態1に係るIEEE802.15.4のEnhanced Beacon Requestのフォーマットを示す図である。
図7は、実施の形態1に係るIEEE802.15.4のEnhanced Beaconのフォーマットを示す図である。Enhanced Beaconは、Enhanced Beacon Requestコマンドに対する応答である。
FIG. 6 is a diagram showing a format of an IEEE 802.15.4 Enhanced Beacon Request according to the first embodiment.
FIG. 7 is a diagram showing a format of an IEEE 802.15.4 Enhanced Beacon according to the first embodiment. Enhanced Beacon is a response to the Enhanced Beacon Request command.

通信装置11bが通信装置11aとの通信が切断されたと判断し、MAC14a−2が
無線チャネルを検索する場合、例えば、Enhanced Beacon Requestコマンドを利用する。MAC14a−2は、通信装置11bにおいて利用可能な無線チャネルを順に検索する。例えば、920MHz帯の無線規格として、920.0MHzから928.0MHz帯の周波数まで、0.2MHz単位で無線チャネルが区切られている場合、920.0MHzでEnhanced Beacon Requestコマンドを送信し、応答のEnhanced Beaconを待つ。次に、920.2MHzで、同じくEnhanced Beacon Requestコマンドを送信し、応答のEnhanced Beaconを待つ。
When the communication device 11b determines that communication with the communication device 11a has been disconnected and the MAC 14a-2 searches for a wireless channel, for example, an Enhanced Beacon Request command is used. The MAC 14a-2 searches for wireless channels that can be used in the communication device 11b in order. For example, as a wireless standard for the 920 MHz band, when a radio channel is divided in units of 0.2 MHz from 920.0 MHz to a frequency of 928.0 MHz, an Enhanced Beacon Request command is transmitted at 920.0 MHz and an enhanced response is sent. Wait for Beacon. Next, at 920.2 MHz, the same enhanced beacon request command is also transmitted, and a response enhanced beacon is waited for.

MAC14a−2は、928.0MHz迄順にEnhanced Beacon Requestコマンドを送信し、応答のEnhanced Beaconを待つことを繰り返す。通信装置11bは、通信装置11aからのEnhanced Beaconを受信し、IDが通信装置11aであれば、当該無線チャネルが通信装置11aの変更先の無線チャネルであることが分かる。なお、無線チャネルの検索順序はどのように行ってもよい。また、通信装置11aと通信装置11bとの間で、利用する無線チャネルの範囲を制限している場合には、その範囲内のみ検索するようにしてもよい。   The MAC 14a-2 sequentially transmits an Enhanced Beacon Request command up to 928.0 MHz, and repeats waiting for a response Enhanced Beacon. If the communication device 11b receives the enhanced beacon from the communication device 11a and the ID is the communication device 11a, it can be seen that the wireless channel is the wireless channel to which the communication device 11a is changed. Note that the radio channel search order may be performed in any manner. In addition, when the range of the wireless channel to be used is limited between the communication device 11a and the communication device 11b, the search may be performed only within the range.

通信装置11bのMAC14a−2は、通信装置11aからのEnhanced Beaconのであるかどうかは、通信装置11aのMACアドレスに基づいて判断してもよい。また、通信装置11aと通信装置11bとで共有するIDやその他の情報を利用してもよい。IDは、通信装置を識別する値である。IDの場合、Enhanced BeaconコマンドのInformation Elementsフィールド、又は、Beacon Payloadフィールドに値を設定するようにしてもよい。   Whether the MAC 14a-2 of the communication device 11b is an Enhanced Beacon from the communication device 11a may be determined based on the MAC address of the communication device 11a. Further, an ID or other information shared between the communication device 11a and the communication device 11b may be used. The ID is a value that identifies the communication device. In the case of ID, a value may be set in the Information Elements field or the Beacon Payload field of the Enhanced Beacon command.

IDを識別する方法は、無線規格の方法に従ったものでよく、特に限定しない。なお、Beacon応答に設定する値は、IDに限定せず、通信装置を識別できる情報であればよい。ID等の通信装置を識別する情報は、通信情報保存部16が保持するようにしてもよい。   The method for identifying the ID may be in accordance with a wireless standard method and is not particularly limited. Note that the value set in the Beacon response is not limited to the ID, but may be any information that can identify the communication device. Information identifying the communication device such as an ID may be held by the communication information storage unit 16.

通信装置11bはBeacon応答を受信し、IDが通信装置11aであれば、当該無線チャネルを選択し、認証する。Beacon応答に設定されたIDが通信装置11aではない場合やBeacon応答を受信しない場合、通信装置11bは他の空きチャネルでBeacon Requestコマンドを送信し、検索する。   The communication device 11b receives the Beacon response, and if the ID is the communication device 11a, selects and authenticates the wireless channel. When the ID set in the Beacon response is not the communication device 11a or when the Beacon response is not received, the communication device 11b transmits a Beacon Request command on another empty channel and searches.

図8は、実施の形態1に係るIEEE802.15.4のBeacon Requestのフォーマットを示す図である。
図9は、実施の形態1に係るIEEE802.15.4のBeaconのフォーマットを示す図である。Beaconは、Beacon Requestコマンドに対する応答である。
FIG. 8 is a diagram showing a format of IEEE 802.15.4 Beacon Request according to the first embodiment.
FIG. 9 is a diagram showing an IEEE 802.15.4 Beacon format according to the first embodiment. Beacon is a response to the Beacon Request command.

通信装置11bはEnhanced Beacon Requestコマンドの代わりに、図8のBeacon Requestコマンドを利用してもよい。検索方法は、Enhanced Beacon Requestコマンドの場合と同様である。Beacon Requestコマンドの場合、応答は図9のBeaconである。   The communication device 11b may use the Beacon Request command of FIG. 8 instead of the Enhanced Beacon Request command. The search method is the same as in the case of the Enhanced Beacon Request command. In the case of the Beacon Request command, the response is Beacon in FIG.

したがって、複数の無線通信インタフェースを保持する通信装置であって、第1の無線通信インタフェースで通信する第1のネットワークにおいて使用されている第1の無線チャネルが、第2の無線通信インタフェースで通信する第2のネットワークにおいて使用されている第2の無線チャネルと同一の場合、第2の無線チャネルを変更することを決定し、第2のネットワークに接続する認証済みの他の通信装置との認証の有効期間を終了させるように制御するとともに、第2の無線チャネルを第1の無線チャネルと異なる無線チャネルに切替えるように指示する通信処理部と、通信処理部からの指示により、第2の無線チャネルを切替えるMAC部と、を備えているので、無線チャネルを切替えるメッセージを受信しない場合でも、通信装置はより早く無線チャネルを切替えることができ、通信断の時間を短くすることができる。   Therefore, the first wireless channel used in the first network, which is a communication device having a plurality of wireless communication interfaces and communicates with the first wireless communication interface, communicates with the second wireless communication interface. If it is the same as the second radio channel used in the second network, it decides to change the second radio channel and authenticates with another authenticated communication device connected to the second network. A communication processing unit that controls to end the effective period and instructs the second wireless channel to switch to a wireless channel different from the first wireless channel, and the second wireless channel according to an instruction from the communication processing unit And a MAC unit for switching the communication channel. It can be can be switched more quickly the radio channel, to shorten the communication disconnection time.

実施の形態2.
以上の実施の形態1では、複数の通信インタフェースを保持する通信装置において、第1と第2のネットワークの無線チャネルが同一の場合、第2のネットワークの無線チャネルの変更を決定した後は、第2のネットワークの装置からの再認証要求に対して応答しないようにしたものであるが、本実施の形態においては、再認証要求に対して応答し、再認証の有効期間を短く設定する実施の形態を示す。
Embodiment 2. FIG.
In the first embodiment described above, in the communication apparatus having a plurality of communication interfaces, when the radio channels of the first and second networks are the same, after the change of the radio channel of the second network is determined, In this embodiment, in response to the re-authentication request, the effective period of re-authentication is set to be short. The form is shown.

なお、本実施の形態において、通信装置11の構成は図1と同じである。   In the present embodiment, the configuration of the communication device 11 is the same as that in FIG.

図10は、実施の形態2に係る通信装置11a〜bにおいて無線チャネルを変更する処理の流れを示すシーケンス図である。ネットワーク構成は、図4のシーケンスと同様に図2である。ネットワーク23aは無線チャネルAで運用中である。ネットワーク23bは無線チャネルBで運用中である。ネットワーク23cは無線チャネルCで運用中である。上位装置21からの指示により、ネットワーク23aの無線チャネルが変更されたものとする。通信装置11aはネットワーク23bの無線チャネルを変更することとし(S21)、MAC14b−1に通知する。   FIG. 10 is a sequence diagram illustrating a flow of processing for changing a radio channel in the communication apparatuses 11a and 11b according to the second embodiment. The network configuration is the same as that shown in FIG. The network 23a is operating on the wireless channel A. The network 23b is operating on the radio channel B. The network 23c is operating on the wireless channel C. It is assumed that the wireless channel of the network 23a has been changed according to an instruction from the host device 21. The communication device 11a changes the wireless channel of the network 23b (S21), and notifies the MAC 14b-1.

通信装置11bはSession Lifetimeが満了する前に通信装置11aに対して再認証要求を送信する(S22)。通信装置11aは、無線チャネルの変更を決定した後に、通信装置11bから再認証要求を受信した場合、再認証応答を送信する(S23)。このとき、通信装置11aは、前回のSession Lifetimeの残りの有効期間よりもSession Lifetimeを短く設定する。通信装置11aと通信装置11bとの間で再認証が成功すると、通信装置11aは認証完了通知を通信装置11bに送信する(S24)。   The communication device 11b transmits a re-authentication request to the communication device 11a before the Session Lifetime expires (S22). When the communication device 11a receives the re-authentication request from the communication device 11b after determining the change of the wireless channel, the communication device 11a transmits a re-authentication response (S23). At this time, the communication device 11a sets the Session Lifetime to be shorter than the remaining valid period of the previous Session Lifetime. When the re-authentication is successful between the communication device 11a and the communication device 11b, the communication device 11a transmits an authentication completion notification to the communication device 11b (S24).

通信装置11aは、無線チャネルFにチャネルの切替えを実行する(S25)。Session Lifetimeが満了すると、通信装置11bは、今まで使用していた無線チャネルBで新たな認証要求を通信装置11aに送信する(S26)。しかし、通信装置11aはすでに無線チャネルFに切替えているため、通信装置11bは応答を受信しない。図10のS27以降の処理は、図4のS15以降の処理と同様であるため、説明を割愛する。通信装置11bは、無線チャネルFで通信装置11aとの認証が成功し、運用状態になる。   The communication device 11a performs channel switching to the wireless channel F (S25). When the Session Lifetime expires, the communication device 11b transmits a new authentication request to the communication device 11a using the wireless channel B that has been used so far (S26). However, since the communication device 11a has already switched to the wireless channel F, the communication device 11b does not receive a response. The processing after S27 in FIG. 10 is the same as the processing after S15 in FIG. The communication device 11b successfully authenticates with the communication device 11a through the wireless channel F and enters an operating state.

通信装置11aが通信装置11bからの再認証要求に対して次の認証の有効期間を短く設定することにより、Session Lifetimeが早く満了し、認証の有効期間が終了する。さらに、通信装置11aがネットワーク23bの無線チャネルを変更することにより、通信装置11bは新たな認証要求に対する応答を受信しない。通信装置11bは、通信装置11aとの通信が切断されたと判断し、無線チャネルを検索することになる。したがって、通信装置11aが認証の有効期間を短くした上で終了させるように制御することにより、通信装置11bに変更先の無線チャネルを検索させることができる。よって、通信断の時間を短くすることができる。   When the communication device 11a sets the next valid authentication period short in response to the re-authentication request from the communication device 11b, the Session Lifetime expires early, and the valid authentication period ends. Furthermore, when the communication device 11a changes the wireless channel of the network 23b, the communication device 11b does not receive a response to the new authentication request. The communication device 11b determines that communication with the communication device 11a has been disconnected, and searches for a wireless channel. Therefore, by controlling the communication device 11a to end after shortening the authentication validity period, the communication device 11b can be made to search for the wireless channel to be changed. Therefore, the communication disconnection time can be shortened.

前回のSession Lifetimeの残りの有効期間よりもSession Lifetimeを短く設定したことにより、前回のSession Lifetimeが満了するよりも早くSession Lifetimeが満了し、切替え先の無線チャネルFで通信を再開することができる。   By setting the Session Lifetime to be shorter than the remaining validity period of the previous Session Lifetime, the Session Lifetime expires earlier than the previous Session Lifetime expires, and communication can be resumed on the radio channel F that is the switching destination. .

通信装置11aは、無線チャネルの切替えを、認証完了通知を送信した後に行ってもよいし、新たなSession Lifetimeが満了したときに行ってもよい。再認証のSession Lifetimeの長さは、通信装置11aが無線チャネルの切替えにかかる時間を考慮して決定するとよい。例えば、通信装置11aが無線チャネルの切替えに30秒かかる場合、新たなSession Lifetimeは30秒以上の時間にするとよい。   The communication device 11a may switch the wireless channel after transmitting the authentication completion notification or when the new Session Lifetime has expired. The length of the re-authentication Session Lifetime may be determined in consideration of the time required for the communication device 11a to switch the radio channel. For example, when it takes 30 seconds for the communication device 11a to switch the wireless channel, the new Session Lifetime may be 30 seconds or longer.

図11は、実施の形態2に係るRFC5191のオプションコードのフォーマットを示す図である。図11のオプションコードは、RFC5191において、認証の有効期間を決めるオプションである。図11のオプションコードは、図5のAVPsに含まれる。図11では、AVP Codeの値が8に設定され、valueに認証の有効時間が設定されている。   FIG. 11 is a diagram showing a format of an option code of RFC5191 according to the second embodiment. The option code in FIG. 11 is an option for determining the validity period of authentication in RFC 5191. The option code of FIG. 11 is included in the AVPs of FIG. In FIG. 11, the value of AVP Code is set to 8, and the valid time of authentication is set to value.

したがって、通信処理部は、第1の無線チャネルが第2の無線チャネルと同一の場合、第2の無線チャネルを変更することを決定し、現在の認証の有効期間の残りの期間よりも短い有効期間として認証済みの装置と現在の無線チャネルで再認証を行い、再認証後に第2の無線チャネルを切替えるように指示するので、現在の認証の有効期間の満了を待つより通信断となる時間を短くすることができる。   Therefore, if the first radio channel is the same as the second radio channel, the communication processing unit decides to change the second radio channel, and the communication processing unit determines that the validity is shorter than the remaining period of the current authentication valid period. Since it is instructed to re-authenticate with the current wireless channel with the authenticated device as the period, and to switch the second wireless channel after re-authentication, the time for which communication is interrupted rather than waiting for the expiration date of the current authentication Can be shortened.

また、通信処理部は、第2の無線チャネルの切替えにかかる時間に基づいて再認証の有効期間を決定するので、第2の無線チャネルの切替えにかかる時間を考慮した上で通信断となる時間を短くすることができる。したがって、確実に通信装置が第2の無線チャネルを切替えた以降に、相手先の通信装置から認証要求が行われるため、認証には確実に失敗し、無線チャネル検索の判断を行うことができる。   In addition, the communication processing unit determines the valid period of re-authentication based on the time required for switching the second radio channel, so the time for which communication is interrupted in consideration of the time required for switching the second radio channel. Can be shortened. Therefore, since the authentication request is made from the communication device of the other party after the communication device has surely switched the second wireless channel, the authentication is surely failed and the determination of the wireless channel search can be made.

実施の形態3.
以上の実施の形態2では、複数の通信インタフェースを保持する通信装置において、第1と第2のネットワークの無線チャネルが同一の場合、第2のネットワークの無線チャネルの変更を決定した後は、再認証の有効期間を短く設定するようにしたものであるが、本実施の形態においては、現在の認証を切断する実施の形態を示す。
Embodiment 3 FIG.
In the second embodiment described above, in a communication apparatus having a plurality of communication interfaces, if the wireless channels of the first and second networks are the same, after the change of the wireless channel of the second network is determined, Although the validity period of authentication is set short, this embodiment shows an embodiment in which the current authentication is disconnected.

なお、本実施の形態において、通信装置11の構成は図1と同じである。   In the present embodiment, the configuration of the communication device 11 is the same as that in FIG.

図12は、実施の形態3に係る通信装置11a〜bにおいて無線チャネルを変更する処理の流れを示すシーケンス図である。ネットワーク構成は、図10のシーケンスと同様に図2である。ネットワーク23aは無線チャネルAで運用中である。ネットワーク23bは無線チャネルBで運用中である。ネットワーク23cは無線チャネルCで運用中である。上位装置21からの指示により、ネットワーク23aの無線チャネルが変更されたものとする。通信装置11aはネットワーク23bの無線チャネルを変更することとし(S30)、MAC14b−1に通知する。   FIG. 12 is a sequence diagram illustrating a flow of processing for changing a radio channel in communication apparatuses 11a and 11b according to Embodiment 3. The network configuration is the same as that shown in FIG. The network 23a is operating on the wireless channel A. The network 23b is operating on the radio channel B. The network 23c is operating on the wireless channel C. It is assumed that the wireless channel of the network 23a has been changed according to an instruction from the host device 21. The communication device 11a changes the wireless channel of the network 23b (S30), and notifies the MAC 14b-1.

通信装置11aのMAC14b−1は、ネットワーク23bにおいて空き無線チャネルを検索する。MAC14b−1は、IEEE802.15.4のアクティブスキャンの機能により検索する(S31)。変更可能な無線チャネルが検出されると、通信装置11aは、変更先の無線チャネル及び、ネットワークを識別するPAN−ID(Personal Area Network IDentifier)を決定する(S32)。Session Lifetimeが残っていれば、通信装置11aは通信装置11bに対して、認証切断を送信する(S33)。通信装置11bは、認証切断を受信し、認証切断応答を通信装置11aに送信する(S34)。   The MAC 14b-1 of the communication device 11a searches for a free wireless channel in the network 23b. The MAC 14b-1 searches by the active scan function of IEEE802.15.4 (S31). When a changeable radio channel is detected, the communication device 11a determines a change destination radio channel and a PAN-ID (Personal Area Network IDentifier) that identifies the network (S32). If the Session Lifetime remains, the communication device 11a transmits an authentication disconnection to the communication device 11b (S33). The communication device 11b receives the authentication disconnection and transmits an authentication disconnection response to the communication device 11a (S34).

通信装置11aは、認証切断応答を受信すると認証のセッションを切断し、チャネルを切替える(S35)。通信装置11bは、次に通信が発生した場合、再接続の為に認証を開始する(S36)。通信装置11bは認証要求を送信するが(S37)、通信装置11aの無線チャネルが変更されているため、応答を受信せず、認証は失敗する。図12のS38以降の処理は、図10のS27以降の処理と同様であるため、説明を割愛する。通信装置11bは、無線チャネルFで通信装置11aとの認証が成功し、運用状態になる。   Upon receiving the authentication disconnection response, the communication device 11a disconnects the authentication session and switches the channel (S35). When the next communication occurs, the communication device 11b starts authentication for reconnection (S36). Although the communication device 11b transmits an authentication request (S37), since the wireless channel of the communication device 11a has been changed, no response is received and authentication fails. The processes after S38 in FIG. 12 are the same as the processes after S27 in FIG. The communication device 11b successfully authenticates with the communication device 11a through the wireless channel F and enters an operating state.

通信装置11aが通信装置11bに対して認証切断を送信することにより、Session Lifetimeを終了させ、認証の有効期間が終了する。さらに、通信装置11aがネットワーク23bの無線チャネルを変更することにより、通信装置11bは新たな認証要求に対する応答を受信しない。通信装置11bは、通信装置11aとの通信が切断されたと判断し、無線チャネルを検索することになる。したがって、通信装置11aが認証の有効期間を強制的に終了させるように制御することにより、通信装置11bに変更先の無線チャネルを検索させることができる。よって、通信断の時間を短くすることができる。   When the communication device 11a transmits an authentication disconnection to the communication device 11b, the Session Lifetime is ended, and the valid period of authentication is ended. Furthermore, when the communication device 11a changes the wireless channel of the network 23b, the communication device 11b does not receive a response to the new authentication request. The communication device 11b determines that communication with the communication device 11a has been disconnected, and searches for a wireless channel. Therefore, by controlling the communication device 11a to forcibly end the validity period of authentication, the communication device 11b can be made to search for a wireless channel to be changed. Therefore, the communication disconnection time can be shortened.

したがって、MAC部は、通信処理部から第2の無線チャネルの変更を指示されると、空き無線チャネルを検索して変更先の無線チャネルを通知し、通信処理部は、MAC部より変更先の無線チャネルを通知されると、認証済みの装置に対して認証切断を送信するので、再認証するよりも通信断となる時間を短くすることができる。   Accordingly, when the MAC unit is instructed to change the second radio channel by the communication processing unit, the MAC unit searches for a free radio channel and notifies the change destination radio channel. When the wireless channel is notified, the authentication disconnection is transmitted to the authenticated device, so that the communication disconnection time can be shortened compared to the re-authentication.

11、11a〜b 通信装置
12a〜b、12a−1〜2、12b−1〜2 アンテナ
13a〜b、13a−1〜2、13b−1〜2 PHY
14a〜b、14a−1〜2、14b−1〜2 MAC
15、15a〜b CPU
16、16a〜b 通信情報保存部
17、17a〜b 通信処理部
18、18a〜b 無線チャネル管理部
21 上位装置
22a〜b 下位装置
23a〜c ネットワーク
11, 11a-b Communication devices 12a-b, 12a-1-2, 12b-1-2 Antennas 13a-b, 13a-1-2, 13b-1-2 PHY
14a-b, 14a-1-2, 14b-1-2 MAC
15, 15a-b CPU
16, 16a-b Communication information storage unit 17, 17a-b Communication processing unit 18, 18a-b Radio channel management unit 21 Upper device 22a-b Lower device 23a-c Network

Claims (7)

複数の無線通信インタフェースを保持する通信装置であって、
第1の無線通信インタフェースで通信する第1のネットワークにおいて使用されている第1の無線チャネルが、第2の無線通信インタフェースで通信する第2のネットワークにおいて使用されている第2の無線チャネルと同一の場合、前記第2の無線チャネルを変更することを決定し、前記第2のネットワークに接続する認証済みの他の通信装置に無線チャネルの切替えを通知することなく認証の有効期間を終了させるように制御し、現在の認証の有効期間の終了後に前記第2の無線チャネルを前記第1の無線チャネルと異なる無線チャネルに切替えるように指示する通信処理部と、
前記通信処理部からの指示により、前記第2の無線チャネルを切替えるMAC部と、
を備えることを特徴とする通信装置。
A communication device having a plurality of wireless communication interfaces,
The first wireless channel used in the first network communicating with the first wireless communication interface is the same as the second wireless channel used in the second network communicating with the second wireless communication interface. In this case, it is determined to change the second wireless channel, and the valid period of authentication is terminated without notifying other authenticated communication devices connected to the second network of the switching of the wireless channel. A communication processing unit for instructing to switch the second wireless channel to a wireless channel different from the first wireless channel after the current authentication valid period ends ,
A MAC unit that switches the second wireless channel according to an instruction from the communication processing unit;
A communication apparatus comprising:
前記他の通信装置から前記第2の無線チャネルで再認証要求を受信した場合、現在の認証の有効期間が満了するまで応答しないことを特徴とする請求項1に記載の通信装置。   2. The communication device according to claim 1, wherein when a re-authentication request is received from the other communication device through the second wireless channel, the communication device does not respond until the current authentication validity period expires. 前記通信処理部は、前記他の通信装置と現在の無線チャネルで再認証を行い、認証の有効期間を現在の認証の有効期間の残りの期間よりも短くすることを特徴とする請求項1に記載の通信装置。   The communication processing unit performs re-authentication with the other communication device using a current wireless channel, and shortens the effective period of authentication shorter than the remaining period of the current effective period of authentication. The communication device described. 前記通信処理部は、前記第2の無線チャネルの切替えにかかる時間に基づいて再認証の前記有効期間を決定することを特徴とする請求項3に記載の通信装置。   The communication apparatus according to claim 3, wherein the communication processing unit determines the valid period of re-authentication based on a time taken to switch the second radio channel. 利用可能な無線チャネルのうち複数の前記無線通信インタフェースで使用中の無線チャネルと空き無線チャネルとを管理し、前記通信処理部からの問い合わせに応じて、空き無線チャネルを前記通信処理部に通知する無線チャネル管理部を備え、
前記MAC部は、前記通信処理部より指示された無線チャネルに切替えることを特徴とする請求項1からのいずれか一項に記載の通信装置。
Among the available wireless channels, a plurality of wireless channels being used by the wireless communication interfaces and free wireless channels are managed, and free wireless channels are notified to the communication processing unit in response to an inquiry from the communication processing unit. With a wireless channel manager,
The MAC unit, a communication device according to claim 1, any one of 4, characterized in that for switching the radio channel instructed from said communication processing unit.
前記MAC部は、空き無線チャネルを検索し、検出された無線チャネルのうちいずれかの無線チャネルに切替えることを特徴とする請求項1からのいずれか一項に記載の通信装置。 The MAC unit searches for available radio channels, detected communication apparatus according to any one of claims 1 to 4, characterized in that to switch to any of the radio channels among the radio channels. 複数の無線通信インタフェースを保持する通信方法であって、
第1の無線通信インタフェースで通信する第1のネットワークにおいて使用されている第1の無線チャネルが、第2の無線通信インタフェースで通信する第2のネットワークにおいて使用されている第2の無線チャネルと同一の場合、前記第2の無線チャネルを変更することを決定し、前記第2のネットワークに接続する認証済みの他の通信装置に無線チャネルの切替えを通知することなく認証の有効期間を終了させるように制御し、現在の認証の有効期間の終了後に前記第2の無線チャネルを前記第1の無線チャネルと異なる無線チャネルに切替えるように指示する通信処理ステップと、
前記通信処理ステップからの指示により、前記第2の無線チャネルを切替えるMACステップと、
を有する通信方法。
A communication method for holding a plurality of wireless communication interfaces,
The first wireless channel used in the first network communicating with the first wireless communication interface is the same as the second wireless channel used in the second network communicating with the second wireless communication interface. In this case, it is determined to change the second wireless channel, and the valid period of authentication is terminated without notifying other authenticated communication devices connected to the second network of the switching of the wireless channel. A communication processing step of instructing to switch the second radio channel to a radio channel different from the first radio channel after the current authentication validity period ends ,
A MAC step of switching the second radio channel according to an instruction from the communication processing step;
A communication method.
JP2015560851A 2014-02-10 2014-02-10 Communication apparatus and communication method Active JP6172299B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2014/000685 WO2015118577A1 (en) 2014-02-10 2014-02-10 Communication apparatus and communication method

Publications (2)

Publication Number Publication Date
JPWO2015118577A1 JPWO2015118577A1 (en) 2017-03-23
JP6172299B2 true JP6172299B2 (en) 2017-08-02

Family

ID=53777420

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015560851A Active JP6172299B2 (en) 2014-02-10 2014-02-10 Communication apparatus and communication method

Country Status (2)

Country Link
JP (1) JP6172299B2 (en)
WO (1) WO2015118577A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4089508B2 (en) * 2003-05-20 2008-05-28 松下電工株式会社 Wireless relay device
JP2007295541A (en) * 2006-03-28 2007-11-08 Matsushita Electric Ind Co Ltd Wireless communication system
JP4899665B2 (en) * 2006-06-30 2012-03-21 富士通株式会社 Wireless communication system, wireless communication apparatus, wireless communication method, and wireless communication program
JP2010010747A (en) * 2008-06-24 2010-01-14 Tooru Tomita Mobile terminal, reception apparatus, and reception system using them

Also Published As

Publication number Publication date
JPWO2015118577A1 (en) 2017-03-23
WO2015118577A1 (en) 2015-08-13

Similar Documents

Publication Publication Date Title
US11064353B2 (en) Infrastructure coordinated media access control address assignment
US11582592B2 (en) Communication device
US9468030B2 (en) Method, device, and network system of establishing a tunnel
US8929348B2 (en) Method and apparatus for connecting wireless network in a digital device
EP2983391B1 (en) Method and apparatus for wlan initial link setup
US9019969B2 (en) Gateway for interconnecting a wireless access function with a network access function
US20060104200A1 (en) Terminal for automatically changing operating mode and wireless network system having the same, and method thereof
KR20080032078A (en) Direct wireless client-to-client communication
WO2014024351A1 (en) Wireless communication system
JP7366592B2 (en) Communication device, control method and program for communication device
US8861492B2 (en) Method for communication between a WLAN terminal and a human interface device
CN107534917B (en) Switching method, master device, slave device and system in master-slave network
JP6172299B2 (en) Communication apparatus and communication method
CN106162632B (en) Key transmission method and device
KR100964602B1 (en) Lowpan bootstrapping agent device and lowpan bootstrapping system
JP6544469B2 (en) Communication device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170404

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170519

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170619

R151 Written notification of patent or utility model registration

Ref document number: 6172299

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250