JP6481858B2 - COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM - Google Patents

COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM Download PDF

Info

Publication number
JP6481858B2
JP6481858B2 JP2015152283A JP2015152283A JP6481858B2 JP 6481858 B2 JP6481858 B2 JP 6481858B2 JP 2015152283 A JP2015152283 A JP 2015152283A JP 2015152283 A JP2015152283 A JP 2015152283A JP 6481858 B2 JP6481858 B2 JP 6481858B2
Authority
JP
Japan
Prior art keywords
signal
relay device
control device
communication
control
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
JP2015152283A
Other languages
Japanese (ja)
Other versions
JP2017034467A (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.)
Panasonic Intellectual Property Management Co Ltd
Original Assignee
Panasonic Intellectual Property Management Co 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 Panasonic Intellectual Property Management Co Ltd filed Critical Panasonic Intellectual Property Management Co Ltd
Priority to JP2015152283A priority Critical patent/JP6481858B2/en
Priority to PCT/JP2016/003280 priority patent/WO2017022183A1/en
Publication of JP2017034467A publication Critical patent/JP2017034467A/en
Application granted granted Critical
Publication of JP6481858B2 publication Critical patent/JP6481858B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Description

本発明は、通信技術に関し、特に複数の周波数チャネルを使用する通信方法およびそれを利用した端末装置、通信システムに関する。   The present invention relates to communication technology, and more particularly, to a communication method using a plurality of frequency channels, a terminal device using the same, and a communication system.

無線PAN(Personal Area Network)と呼ばれる近距離無線通信では、家庭内の家電機器等が無線ネットワークで接続されることによって、機器間での情報交換がなされる。無線PANとして、例えば、IEEE802.15.4等の標準化規格が知られている。典型的な利用シーンでは、1つの家庭に、1台の制御装置と、複数台の端末装置である家電機器等とが設置され、制御装置を中心に、複数台の端末装置がスター型に接続された無線ネットワークが構成される(例えば、特許文献1参照)。   In short-range wireless communication called wireless PAN (Personal Area Network), home appliances and the like in a home are connected via a wireless network, whereby information is exchanged between the devices. As the wireless PAN, for example, standardized standards such as IEEE 802.15.4 are known. In a typical usage scene, a single control device and a plurality of terminal devices such as home appliances are installed in one household, and a plurality of terminal devices are connected in a star shape with a focus on the control device. (See, for example, Patent Document 1).

国際公開第12/124339号パンフレットInternational Publication No. 12/124339 Pamphlet

制御装置と端末装置との通信に使用可能な周波数チャネルは複数設けられており、制御装置は、そのうちの1つを選択し、端末装置との通信に使用する。また、制御装置は、使用される1つの周波数チャネルを変更することも可能である。例えば、制御装置は、接続しているすべての端末装置とのリンクを切断して、その後、周波数チャネルを変更する。一方、リンクを切断された端末装置は、自身で周波数チャネルスキャンを実行し、新たな周波数チャネルで制御装置との再接続を試みる。しかしながら、もとの制御装置に接続使用する場合、周波数チャネルの変更が完了していない間に周波数チャネルスキャンを実行しても、無駄な処理になる。つまり、周波数チャネルが変更される場合の接続処理は、効率的になされる方が望ましい。   A plurality of frequency channels that can be used for communication between the control device and the terminal device are provided, and the control device selects one of them and uses it for communication with the terminal device. The control device can also change one frequency channel to be used. For example, the control device disconnects links with all connected terminal devices, and then changes the frequency channel. On the other hand, the terminal device whose link has been disconnected performs frequency channel scanning by itself and attempts to reconnect to the control device using a new frequency channel. However, when the connection is used with the original control device, even if the frequency channel scan is executed while the change of the frequency channel is not completed, it becomes useless processing. That is, it is desirable that the connection process when the frequency channel is changed be performed efficiently.

本発明はこうした状況に鑑みなされたものであり、その目的は、周波数チャネルが変更される場合に効率的に接続する技術を提供することにある。   The present invention has been made in view of such circumstances, and an object of the present invention is to provide a technique for efficiently connecting when a frequency channel is changed.

上記課題を解決するために、本発明のある態様の端末装置は、中継装置を介して制御装置と通信すべき端末装置であって、中継装置に未接続である場合に、接続可能な中継装置を探索するための第1信号を送信する通信部と、通信部の動作を制御する制御部とを備える。通信部は、中継装置から制御装置に送信された第2信号であって、かつ中継装置と制御装置との間の接続が切断されることを示した第2信号を傍受し、制御部は、通信部が第2信号を傍受した場合に、第1信号の送信を通信部に停止させる。   In order to solve the above-described problem, a terminal device according to an aspect of the present invention is a terminal device that should communicate with a control device via a relay device, and is connectable when the terminal device is not connected to the relay device. The communication part which transmits the 1st signal for searching for, and the control part which controls operation | movement of a communication part are provided. The communication unit intercepts a second signal transmitted from the relay device to the control device and indicating that the connection between the relay device and the control device is disconnected. When the communication unit intercepts the second signal, the communication unit stops the transmission of the first signal.

本発明の別の態様は、通信システムである。この通信システムは、制御装置と、制御装置に接続可能な中継装置と、中継装置を介して制御装置に接続可能な端末装置とを備える。端末装置は、中継装置に未接続である場合に、接続可能な中継装置を探索するための第1信号を送信する通信部と、通信部の動作を制御する制御部とを備える。通信部は、中継装置から制御装置に送信された第2信号であって、かつ中継装置と制御装置との間の接続が切断されることを示した第2信号を傍受し、制御部は、通信部が第2信号を傍受した場合に、第1信号の送信を通信部に停止させる。   Another aspect of the present invention is a communication system. The communication system includes a control device, a relay device connectable to the control device, and a terminal device connectable to the control device via the relay device. The terminal device includes a communication unit that transmits a first signal for searching for a connectable relay device and a control unit that controls the operation of the communication unit when the terminal device is not connected to the relay device. The communication unit intercepts a second signal transmitted from the relay device to the control device and indicating that the connection between the relay device and the control device is disconnected. When the communication unit intercepts the second signal, the communication unit stops the transmission of the first signal.

本発明のさらに別の態様は、通信方法である。この方法は、中継装置を介して制御装置と通信すべき端末装置での通信方法であって、中継装置に未接続である場合に、接続可能な中継装置を探索するための第1信号を送信するステップと、中継装置から制御装置に送信された第2信号であって、かつ中継装置と制御装置との間の接続が切断されることを示した第2信号を傍受するステップと、第2信号を傍受した場合に、第1信号の送信を停止するステップと、を備える。   Yet another embodiment of the present invention is a communication method. This method is a communication method in a terminal device that should communicate with a control device via a relay device, and transmits a first signal for searching for a connectable relay device when it is not connected to the relay device. And a second signal transmitted from the relay device to the control device and intercepting a second signal indicating that the connection between the relay device and the control device is disconnected; Stopping the transmission of the first signal when the signal is intercepted.

なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above-described constituent elements and a conversion of the expression of the present invention between a method, an apparatus, a system, a recording medium, a computer program, etc. are also effective as an aspect of the present invention.

本発明によれば、周波数チャネルが変更される場合に効率的に接続できる。   According to the present invention, it is possible to connect efficiently when the frequency channel is changed.

本発明の実施例に係る通信システムの構成を示す図である。It is a figure which shows the structure of the communication system which concerns on the Example of this invention. 図1の通信システムの比較対象となる通信システムによるチャネル変更手順を示すシーケンス図である。It is a sequence diagram which shows the channel change procedure by the communication system used as the comparison object of the communication system of FIG. 図1の制御装置の構成を示す図である。It is a figure which shows the structure of the control apparatus of FIG. 図3の記憶部において記憶されるテーブルのデータ構造を示す図である。It is a figure which shows the data structure of the table memorize | stored in the memory | storage part of FIG. 図1の端末装置の構成を示す図である。It is a figure which shows the structure of the terminal device of FIG. 図6(a)−(c)は、図5の制御部による処理の概要を示す図である。6A to 6C are diagrams illustrating an outline of processing by the control unit in FIG. 図1の通信システムによるチャネル変更手順を示すシーケンス図である。It is a sequence diagram which shows the channel change procedure by the communication system of FIG. 図5の端末装置による接続手順を示すフローチャートである。It is a flowchart which shows the connection procedure by the terminal device of FIG.

本発明を具体的に説明する前に、概要を述べる。本発明の実施例は、複数の周波数チャネルのいずれか1つを使用して通信する通信システムに関する。通信システムにおいて、制御装置と端末装置との間の通信距離を長くするために、制御装置と端末装置との間に中継装置が配置され、中継装置を介して制御装置と端末装置とが通信を実行することもある。その際、制御装置、中継装置、端末装置は、複数の周波数チャネルのうちの1つを共用する。前述のごとく、使用すべき1つの周波数チャネルの選択および変更は、制御装置によってなされる。また、その際、それまで接続されていたすべての端末装置および中継装置とのリンクは切断される。具体的に説明すると、制御装置は、中継装置に接続された端末装置とのリンクを切断した後に、中継装置とのリンクを接続する。なお、制御装置において、中継装置に対する接続・切断の処理は、端末装置に対する接続・切断の処理と同様になされる。   Before describing the present invention in detail, an outline will be described. An embodiment of the present invention relates to a communication system that communicates using any one of a plurality of frequency channels. In the communication system, in order to increase the communication distance between the control device and the terminal device, a relay device is arranged between the control device and the terminal device, and the control device and the terminal device communicate with each other via the relay device. May be executed. At that time, the control device, the relay device, and the terminal device share one of a plurality of frequency channels. As described above, the selection and change of one frequency channel to be used is made by the controller. At that time, the links with all the terminal devices and relay devices that have been connected so far are disconnected. More specifically, the control device disconnects the link with the terminal device connected to the relay device, and then connects the link with the relay device. In the control device, the connection / disconnection processing for the relay device is performed in the same manner as the connection / disconnection processing for the terminal device.

一方、端末装置は、制御装置によるリンク切断の理由が周波数チャネルであることを理解できない。そのため、制御装置が周波数チャネルを変更する前であっても、端末装置は、再接続のための周波数チャネルスキャンを開始してしまう場合がある。しかしながら、端末装置が、それまで接続していた中継装置を介して制御装置に接続する場合、このような周波数チャネルスキャンは無駄な処理になる。さらに、周波数チャネルスキャンによって、トラヒックが増加し、パケット信号の衝突や通信エラーが発生しやすい状況に陥る。そのため、周波数チャネルが変更される場合に効率的に接続されることが望まれる。   On the other hand, the terminal device cannot understand that the reason for the link disconnection by the control device is the frequency channel. Therefore, even before the control device changes the frequency channel, the terminal device may start a frequency channel scan for reconnection. However, when the terminal device is connected to the control device via the relay device that has been connected, the frequency channel scan is a wasteful process. Furthermore, the frequency channel scan increases the traffic, and packet signals collide and communication errors are likely to occur. For this reason, it is desired that the connection be made efficiently when the frequency channel is changed.

これに対応するために、本実施例に係る端末装置は、制御装置が周波数チャネルの変更処理を開始し、かつ中継装置とのリンクが切断された後、中継装置から送信されるパケット信号を傍受する。傍受したパケット信号が、制御装置と中継装置との間のリンクを切断するための信号である場合、周波数チャネルスキャンを停止する。制御装置は、中継装置とのリンクを切断している段階であり、周波数チャネルをまだ変更していないからである。これにより、無駄な再接続処理が省略され、トラヒックが軽減される。   In order to cope with this, the terminal apparatus according to the present embodiment intercepts a packet signal transmitted from the relay apparatus after the control apparatus starts frequency channel change processing and the link with the relay apparatus is disconnected. To do. When the intercepted packet signal is a signal for disconnecting the link between the control device and the relay device, the frequency channel scan is stopped. This is because the control device is in the stage of disconnecting the link with the relay device and has not yet changed the frequency channel. This eliminates unnecessary reconnection processing and reduces traffic.

図1は、本発明の実施例に係る通信システム100の構成を示す。通信システム100は、制御装置10、端末装置12と総称される第1端末装置12a、第2端末装置12b、中継装置14、スマートメータ16、収集制御局18を含む。制御装置10、端末装置12、中継装置14、スマートメータ16は、住宅28に設置される。図1においては、説明を明瞭にするために、1つの住宅28だけが示されているが、実際には、複数の住宅28が存在し、各住宅28にスマートメータ16、制御装置10、中継装置14、端末装置12が設置される。   FIG. 1 shows a configuration of a communication system 100 according to an embodiment of the present invention. The communication system 100 includes a control device 10, a first terminal device 12 a collectively referred to as a terminal device 12, a second terminal device 12 b, a relay device 14, a smart meter 16, and a collection control station 18. The control device 10, the terminal device 12, the relay device 14, and the smart meter 16 are installed in a house 28. In FIG. 1, only one house 28 is shown for the sake of clarity, but actually, there are a plurality of houses 28, and each house 28 has a smart meter 16, a control device 10, a relay. A device 14 and a terminal device 12 are installed.

収集制御局18、スマートメータ16、制御装置10、端末装置12、中継装置14は、いずれも無線通信機能を備える。収集制御局18とスマートメータ16との間の無線通信はマルチホップ通信26であり、スマートメータ16と制御装置10との間の無線通信は上位通信24である。また、制御装置10と中継装置14との間の無線通信、中継装置14と第2端末装置12bとの間の無線通信、制御装置10と第1端末装置12aとの無線通信は、HAN通信22である。マルチホップ通信26は、各住宅28に設置されたスマートメータ16による転送によって実現されており、Wi−SUN(Wireless Smart Utility Networks)のAルートに対応する。上位通信24は、Wi−SUNのBルートに対応し、HAN通信22は、Wi−SUNのHAN(Home Area Network)に対応する。これらは、例えば、IEEE802.15.4に対応するが、それに限定されない。   The collection control station 18, the smart meter 16, the control device 10, the terminal device 12, and the relay device 14 all have a wireless communication function. The wireless communication between the collection control station 18 and the smart meter 16 is a multi-hop communication 26, and the wireless communication between the smart meter 16 and the control device 10 is an upper communication 24. In addition, wireless communication between the control device 10 and the relay device 14, wireless communication between the relay device 14 and the second terminal device 12b, and wireless communication between the control device 10 and the first terminal device 12a are HAN communication 22 It is. The multi-hop communication 26 is realized by transfer by the smart meter 16 installed in each house 28, and corresponds to an A route of Wi-SUN (Wireless Smart Utility Networks). The host communication 24 corresponds to the Wi-SUN B route, and the HAN communication 22 corresponds to a Wi-SUN HAN (Home Area Network). These correspond to, for example, IEEE 802.15.4, but are not limited thereto.

スマートメータ16は、前述の無線通信機能に加えて、住宅28で使用された電力量を計測する電力メータとしての機能を有する。スマートメータ16は、電力会社(電気事業者)からの商用電力が供給される配電線(図示せず)に接続されており、住宅28で使用された電力量を計測する。この機能については公知の技術が使用されればよいので、ここでは説明を省略する。スマートメータ16は、電力量の計測結果が含まれた検針データをマルチホップ通信26にて収集制御局18に送信する。収集制御局18は、スマートメータ16からの検針データを受信する。これにより、電力会社による遠隔検針が可能になる。   The smart meter 16 has a function as a power meter that measures the amount of power used in the house 28 in addition to the wireless communication function described above. The smart meter 16 is connected to a distribution line (not shown) that is supplied with commercial power from an electric power company (electricity provider), and measures the amount of power used in the house 28. Since a known technique may be used for this function, description thereof is omitted here. The smart meter 16 transmits meter reading data including the measurement result of the electric energy to the collection control station 18 through the multi-hop communication 26. The collection control station 18 receives meter reading data from the smart meter 16. This allows remote meter reading by the power company.

住宅28に設置された電子機器(図示せず)には、端末装置12が接続される。電子機器は、例えば、エア・コンディショナー、OA機器、テレビジョン受像装置である。第1端末装置12aは、HAN通信22に対応し、制御装置10と通信する。また、中継装置14は、HAN通信22に対応し、制御装置10、第2端末装置12bと通信することによって、制御装置10と第2端末装置12bとの間の通信を中継する。なお、第2端末装置12bも、HAN通信22に対応する。制御装置10は、例えば、HEMS(Home Energy Management System)コントローラのような電子機器に接続または搭載される。制御装置10は、上位通信24によってスマートメータ16とも通信するので、スマートメータ16からの計測結果を受信する。計測結果によって、電子機器における正確な電力管理が可能になる。   The terminal device 12 is connected to an electronic device (not shown) installed in the house 28. The electronic device is, for example, an air conditioner, an OA device, or a television receiver. The first terminal device 12 a corresponds to the HAN communication 22 and communicates with the control device 10. The relay device 14 corresponds to the HAN communication 22 and relays communication between the control device 10 and the second terminal device 12b by communicating with the control device 10 and the second terminal device 12b. Note that the second terminal device 12 b also corresponds to the HAN communication 22. The control device 10 is connected to or mounted on an electronic device such as a HEMS (Home Energy Management System) controller, for example. The control device 10 also communicates with the smart meter 16 via the host communication 24, and therefore receives the measurement result from the smart meter 16. The measurement result enables accurate power management in the electronic device.

HAN通信22において、複数の周波数チャネルが周波数多重されている。1つの周波数チャネルの帯域幅は、例えば、400kHzである。制御装置10は、複数の周波数チャネルのうちの1つの周波数チャネルを選択して使用する。第1端末装置12a、第2端末装置12b、中継装置14は、制御装置10において選択された1つの周波数チャネルを使用する。HAN通信22では、制御装置10、第1端末装置12a、第2端末装置12b、中継装置14によるCSMA/CA(Carrier Sense Multiple Access/Collision Avoidance)が実行される。HAN通信22の伝送レートは、例えば、100kbpsである。   In the HAN communication 22, a plurality of frequency channels are frequency-multiplexed. The bandwidth of one frequency channel is 400 kHz, for example. The control device 10 selects and uses one frequency channel among a plurality of frequency channels. The first terminal device 12a, the second terminal device 12b, and the relay device 14 use one frequency channel selected by the control device 10. In the HAN communication 22, CSMA / CA (Carrier Sense Multiple Access / Collision Aidance) is executed by the control device 10, the first terminal device 12a, the second terminal device 12b, and the relay device 14. The transmission rate of the HAN communication 22 is, for example, 100 kbps.

ここでは、本実施例の課題を明確にするために、通信システム100の比較対象となる通信システムによるチャネル変更手順を説明する。比較対象となる通信システムは、図1と同様に構成されているが、図1の制御装置10、端末装置12、中継装置14が、制御装置110、端末装置112、中継装置114と示される。なお、前提として、制御装置110は、通信可能な端末装置112および中継装置114の情報を登録し、周波数チャネルを変更する場合、登録した端末装置112および中継装置114の情報を削除する。また、複数の周波数チャネルの数は、「N」である。   Here, in order to clarify the subject of a present Example, the channel change procedure by the communication system used as the comparison object of the communication system 100 is demonstrated. The communication system to be compared is configured in the same manner as in FIG. 1, but the control device 10, the terminal device 12, and the relay device 14 in FIG. 1 are indicated as the control device 110, the terminal device 112, and the relay device 114. As a premise, the control device 110 registers information on the terminal device 112 and the relay device 114 that can communicate with each other, and when changing the frequency channel, deletes the registered information on the terminal device 112 and the relay device 114. The number of frequency channels is “N”.

図2は、通信システム100の比較対象となる通信システムによるチャネル変更手順を示すシーケンス図である。ここでは、説明を明瞭にするために、制御装置110には、中継装置114、第2端末装置112bだけが登録されているとする。制御装置110は、周波数チャネル「1ch」を使用している状況下において、チャネル変更処理を開始する(S10)。制御装置110は、中継装置114を介して第2端末装置112bに切断要求信号を送信する(S12、S14)。第2端末装置112bは、中継装置114を介して制御装置110に切断応答信号を送信し(S16、S18)、切断する。制御装置110は、第2端末装置112bの情報を削除するように記憶部を更新する(S20)。第2端末装置112bは、再接続を開始する(S22)。第2端末装置112bは、周波数チャネル「1ch」でのビーコン要求信号を送信する(S24)。また、第2端末装置112bは、周波数チャネル「Nch」でのビーコン要求信号を送信する(S26)。制御装置110は、中継装置114に切断要求信号を送信する(S28)。中継装置114は、制御装置110に切断応答信号を送信し(S30)、切断する。制御装置110は、周波数チャネル変更を実行する(S32)。   FIG. 2 is a sequence diagram illustrating a channel change procedure by a communication system to be compared with the communication system 100. Here, for the sake of clarity, it is assumed that only the relay device 114 and the second terminal device 112b are registered in the control device 110. The control device 110 starts the channel change process under the situation where the frequency channel “1ch” is used (S10). The control device 110 transmits a disconnection request signal to the second terminal device 112b via the relay device 114 (S12, S14). The second terminal device 112b transmits a disconnection response signal to the control device 110 via the relay device 114 (S16, S18) and disconnects. The control device 110 updates the storage unit so as to delete the information of the second terminal device 112b (S20). The second terminal device 112b starts reconnection (S22). The second terminal apparatus 112b transmits a beacon request signal on the frequency channel “1ch” (S24). The second terminal apparatus 112b transmits a beacon request signal on the frequency channel “Nch” (S26). The control device 110 transmits a disconnection request signal to the relay device 114 (S28). The relay device 114 transmits a disconnection response signal to the control device 110 (S30) and disconnects. The control device 110 changes the frequency channel (S32).

中継装置114は、再接続を開始する(S34)。第2端末装置112bは、周波数チャネル「1ch」でのビーコン要求信号を送信する(S36)。また、第2端末装置112bは、周波数チャネル「Nch」でのビーコン要求信号を送信する(S38)。中継装置114は、周波数チャネル「1ch」でのビーコン要求信号を送信する(S40)。また、中継装置114は、周波数チャネル「Nch」でのビーコン要求信号を送信する(S42)。さらに、第2端末装置112bは、周波数チャネル「1ch」でのビーコン要求信号を送信する(S44)。また、第2端末装置112bは、周波数チャネル「Nch」でのビーコン要求信号を送信する(S46)。制御装置110は、周波数チャネル「5ch」でのビーコン信号を送信する(S48)。中継装置114は、制御装置110に接続認証要求信号を送信する(S50)。制御装置110は、中継装置114に接続認証許可信号を送信する(S52)。   The relay device 114 starts reconnection (S34). The second terminal apparatus 112b transmits a beacon request signal on the frequency channel “1ch” (S36). The second terminal apparatus 112b transmits a beacon request signal on the frequency channel “Nch” (S38). The relay device 114 transmits a beacon request signal on the frequency channel “1ch” (S40). The relay device 114 transmits a beacon request signal on the frequency channel “Nch” (S42). Furthermore, the second terminal apparatus 112b transmits a beacon request signal on the frequency channel “1ch” (S44). Also, the second terminal apparatus 112b transmits a beacon request signal on the frequency channel “Nch” (S46). The control device 110 transmits a beacon signal on the frequency channel “5ch” (S48). The relay device 114 transmits a connection authentication request signal to the control device 110 (S50). The control device 110 transmits a connection authentication permission signal to the relay device 114 (S52).

その後、第2端末装置112bは、周波数チャネル「1ch」でのビーコン要求信号を送信する(S54)。また、第2端末装置112bは、周波数チャネル「Nch」でのビーコン要求信号を送信する(S56)。中継装置114は、周波数チャネル「5ch」でのビーコン信号を送信する(S58)。第2端末装置112bは、中継装置114を介して制御装置110に接続認証要求信号を送信する(S60、S62)。制御装置110は、中継装置114を介して第2端末装置112bに接続認証許可信号を送信する(S64、S66)。制御装置110は、第2端末装置112bの情報を追加するように記憶部を更新する(S68)。   Thereafter, the second terminal device 112b transmits a beacon request signal on the frequency channel “1ch” (S54). Also, the second terminal apparatus 112b transmits a beacon request signal on the frequency channel “Nch” (S56). The relay device 114 transmits a beacon signal on the frequency channel “5ch” (S58). The second terminal device 112b transmits a connection authentication request signal to the control device 110 via the relay device 114 (S60, S62). The control device 110 transmits a connection authentication permission signal to the second terminal device 112b via the relay device 114 (S64, S66). The control device 110 updates the storage unit to add the information of the second terminal device 112b (S68).

制御装置110は、チャネル変更処理を実行するために、第2端末装置112bとのリンクを削除してから、中継装置114とのリンクを削除する。また、チャネル変更後、制御装置110は、中継装置114とのリンクを接続してから、第2端末装置112bとのリンクを接続する。一方、第2端末装置112bは、制御装置110とのリンクが切断された後、再接続を開始し、ビーコン要求信号を送信し続ける。しかしながら、制御装置110と中継装置114との切断、制御装置110でのチャネル変更、制御装置110と中継装置114との再接続の間では、第2端末装置112bは再接続されない。そのため、それらの間におけるビーコン要求信号の送信が無駄な処理といえる。周波数チャネルが変更される場合に効率的に接続するためには、これらのステップのうち、実行するステップの数を少なくすべきである。   In order to execute the channel change process, the control device 110 deletes the link with the second terminal device 112b and then deletes the link with the relay device 114. In addition, after the channel change, the control device 110 connects the link with the relay device 114 and then connects the link with the second terminal device 112b. On the other hand, after the link with the control device 110 is disconnected, the second terminal device 112b starts reconnection and continues to transmit a beacon request signal. However, the second terminal device 112b is not reconnected between the disconnection between the control device 110 and the relay device 114, the channel change at the control device 110, and the reconnection between the control device 110 and the relay device 114. For this reason, transmission of a beacon request signal between them can be said to be a wasteful process. Of these steps, the number of steps to be performed should be reduced in order to connect efficiently when the frequency channel is changed.

図3は、制御装置10の構成を示す。制御装置10は、制御装置用通信部40、チャネル変更部42、制御装置用データ処理部44、制御装置用制御部46、記憶部52を含む。制御装置用通信部40は、HAN通信22に対応した処理を実行することによって、端末装置12、中継装置14との通信を実行するとともに、上位通信24に対応した処理を実行することによって、スマートメータ16との通信を実行する。ここで、HAN通信22について、制御装置用通信部40は、複数の周波数チャネルのうちの1つの周波数チャネルを使用する。制御装置用通信部40において使用される1つの周波数チャネルは、チャネル変更部42によって指定される。一方、上位通信24についても、制御装置用通信部40は、複数の周波数チャネルのうちの1つの周波数チャネルを使用するが、その1つの周波数チャネルは、HAN通信22ににおいて使用される1つの周波数チャネルと同じであってもよいし、異なっていてもよい。上位通信24において使用される1つの周波数チャネルは、スマートメータ16によって決定される。以下では、HAN通信22を中心に説明し、上位通信24の説明を省略する。   FIG. 3 shows the configuration of the control device 10. The control device 10 includes a control device communication unit 40, a channel change unit 42, a control device data processing unit 44, a control device control unit 46, and a storage unit 52. The control device communication unit 40 performs communication with the terminal device 12 and the relay device 14 by executing processing corresponding to the HAN communication 22 and performs processing corresponding to the host communication 24 to perform smart processing. Communication with the meter 16 is executed. Here, for the HAN communication 22, the control device communication unit 40 uses one frequency channel among a plurality of frequency channels. One frequency channel used in the control device communication unit 40 is specified by the channel changing unit 42. On the other hand, for the host communication 24, the control unit communication unit 40 uses one frequency channel among a plurality of frequency channels, and one frequency channel is one frequency used in the HAN communication 22. It may be the same as the channel or different. One frequency channel used in the host communication 24 is determined by the smart meter 16. Below, it demonstrates centering on the HAN communication 22, and description of the high-order communication 24 is abbreviate | omitted.

制御装置用通信部40は、第1端末装置12aからパケット信号を受信するとともに、第2端末装置12bから中継装置14を経由したパケット信号を受信する。制御装置用通信部40は、増幅機能、周波数変換機能、復調機能を有しており、受信したパケット信号からベースバンド信号を生成する。制御装置用通信部40は、ベースバンド信号を制御装置用データ処理部44、制御装置用制御部46に出力する。制御装置用通信部40は、変調機能、周波数変換機能、増幅機能を有しており、制御装置用データ処理部44、制御装置用制御部46から入力したベースバンド信号からパケット信号を生成する。制御装置用通信部40は、第1端末装置12aにパケット信号を送信するとともに、中継装置14を経由して第2端末装置12bにパケット信号を送信する。   The control device communication unit 40 receives a packet signal from the first terminal device 12a and also receives a packet signal from the second terminal device 12b via the relay device 14. The control device communication unit 40 has an amplification function, a frequency conversion function, and a demodulation function, and generates a baseband signal from the received packet signal. The control device communication unit 40 outputs the baseband signal to the control device data processing unit 44 and the control device control unit 46. The control device communication unit 40 has a modulation function, a frequency conversion function, and an amplification function, and generates a packet signal from the baseband signal input from the control device data processing unit 44 and the control device control unit 46. The control device communication unit 40 transmits a packet signal to the first terminal device 12 a and transmits the packet signal to the second terminal device 12 b via the relay device 14.

このようなパケット信号の通信経路は、ルーティングテーブルとして記憶部52に記憶されており、制御装置用通信部40は、記憶部52に記憶したルーティングテーブルを参照する。図4は、記憶部52において記憶されるテーブルのデータ構造を示す。これは、登録した端末装置12、中継装置14に関する情報ともいえる。図示された「機器MACアドレス」は、「機器種別」のMACアドレスを示す。また、「機器種別」と「接続先」は、機器の接続関係を示す。具体的に説明すると、「機器種別」の第1端末装置12a、中継装置14は、「接続先」の制御装置10に接続され、「機器種別」の第2端末装置12bは、「接続先」の中継装置14に接続されている。図3に戻る。   Such packet signal communication paths are stored as a routing table in the storage unit 52, and the control device communication unit 40 refers to the routing table stored in the storage unit 52. FIG. 4 shows the data structure of the table stored in the storage unit 52. This can also be said to be information regarding the registered terminal device 12 and relay device 14. The “device MAC address” shown in the figure indicates a MAC address of “device type”. Further, “device type” and “connection destination” indicate a connection relationship of devices. Specifically, the first terminal device 12a and the relay device 14 of “device type” are connected to the control device 10 of “connection destination”, and the second terminal device 12b of “device type” is “connection destination”. Connected to the relay device 14. Returning to FIG.

ルーティングテーブルに示された端末装置12、中継装置14は、セキュリティを確保するために、予め認証されてから登録されている。認証処理には、公知の技術が使用されればよいが、例えば、PANA(Protocol for carrying Authentication)標準の通信プロトコルが使用される。認証処理の開始として、制御装置用通信部40は、新たな端末装置12あるいは中継装置14からの接続認証要求信号を受信する。制御装置用通信部40は、受信した接続認証要求信号を制御装置用制御部46に出力する。制御装置用制御部46は、認証処理を実行し、当該新たな端末装置12あるいは中継装置14の接続を許可する場合に、接続認証許可信号を制御装置用通信部40に出力する。また、制御装置用制御部46は、当該新たな端末装置12あるいは中継装置14の情報を記憶部52に記憶させる。制御装置用通信部40は、当該新たな端末装置12あるいは中継装置14に、接続認証許可信号を送信する。このように、制御装置10に登録された端末装置12、中継装置14が、当該制御装置10と通信可能である。   The terminal device 12 and the relay device 14 shown in the routing table are registered after being authenticated in advance in order to ensure security. For the authentication process, a known technique may be used. For example, a PANA (Protocol for Carrying Authentication) standard communication protocol is used. As the start of the authentication process, the control device communication unit 40 receives a connection authentication request signal from the new terminal device 12 or the relay device 14. The control device communication unit 40 outputs the received connection authentication request signal to the control device control unit 46. The control device control unit 46 executes an authentication process and outputs a connection authentication permission signal to the control device communication unit 40 when the connection of the new terminal device 12 or the relay device 14 is permitted. Further, the control device control unit 46 stores the information of the new terminal device 12 or the relay device 14 in the storage unit 52. The control device communication unit 40 transmits a connection authentication permission signal to the new terminal device 12 or the relay device 14. Thus, the terminal device 12 and the relay device 14 registered in the control device 10 can communicate with the control device 10.

制御装置用データ処理部44は、制御装置用通信部40からのベースバンド信号を入力すると、ベースバンド信号を処理する。一方、制御装置用データ処理部44は、送信すべきデータが発生した場合に、ベースバンド信号を生成する。制御装置用通信部40がパケット信号を受信していなければ、制御装置用データ処理部44は、ベースバンド信号を制御装置用通信部40に出力する。   When receiving the baseband signal from the control device communication unit 40, the control device data processing unit 44 processes the baseband signal. On the other hand, the control device data processing unit 44 generates a baseband signal when data to be transmitted occurs. If the control device communication unit 40 has not received a packet signal, the control device data processing unit 44 outputs a baseband signal to the control device communication unit 40.

制御装置用データ処理部44は、任意のアプリケーションプログラムを実行する。制御装置用データ処理部44は、実行しているアプリケーションプログラムから、周波数チャネル変更要求のトリガを受けつける。なお、制御装置10は、図示しないユーザインターフェイスを備え、制御装置用データ処理部44は、当該ユーザインターフェイスを介してユーザから、周波数チャネル変更要求のトリガを受けつけてもよい。制御装置用データ処理部44は、周波数チャネル変更要求のトリガをチャネル変更部42に出力する。   The control device data processing unit 44 executes an arbitrary application program. The control device data processing unit 44 receives a trigger for a frequency channel change request from the application program being executed. The control device 10 may include a user interface (not shown), and the control device data processing unit 44 may receive a frequency channel change request trigger from the user via the user interface. The control device data processing unit 44 outputs a frequency channel change request trigger to the channel change unit 42.

チャネル変更部42は、制御装置用データ処理部44から、周波数チャネル変更要求のトリガを入力する。前述のごとく、制御装置10が周波数チャネルを変更する場合には、登録した端末装置12および中継装置14の情報を削除しなければならない。そのため、チャネル変更部42は、記憶部52に登録した端末装置12、中継装置14の切断を制御装置用制御部46に指示する。   The channel change unit 42 receives a trigger for a frequency channel change request from the control device data processing unit 44. As described above, when the control device 10 changes the frequency channel, the registered information on the terminal device 12 and the relay device 14 must be deleted. Therefore, the channel changing unit 42 instructs the control device control unit 46 to disconnect the terminal device 12 and the relay device 14 registered in the storage unit 52.

制御装置用制御部46は、チャネル変更部42から切断の指示を受けつけた場合、つまりチャネル変更部42が周波数チャネルを変更するための処理を開始した場合に、記憶部52から切断対象となる端末装置12、中継装置14の情報を取得する。制御装置用制御部46は、取得した情報をもとに、宛先を設定することによって切断要求信号を生成する。制御装置用制御部46は、切断要求信号を制御装置用通信部40から端末装置12あるいは中継装置14に送信させる。   The control device control unit 46 receives a disconnection instruction from the channel change unit 42, that is, when the channel change unit 42 starts processing for changing the frequency channel, the terminal to be disconnected from the storage unit 52. Information on the device 12 and the relay device 14 is acquired. The control device control unit 46 generates a disconnection request signal by setting a destination based on the acquired information. The control device control unit 46 transmits a disconnection request signal from the control device communication unit 40 to the terminal device 12 or the relay device 14.

制御装置用通信部40は、チャネル変更部42が周波数チャネルを変更するための処理を開始すると、制御装置用通信部40が送信した切断要求信号に対する切断応答信号を端末装置12あるいは中継装置14から受信する。制御装置用通信部40は、切断応答信号を制御装置用制御部46に出力する。制御装置用制御部46は、制御装置用通信部40からの切断応答信号を入力する。これにより、端末装置12あるいは中継装置14の切断が完了したといえるので、制御装置用制御部46は、切断が完了した端末装置12あるいは中継装置14の情報を記憶部52から削除する。切断対象となる端末装置12、中継装置14が複数存在する場合、制御装置用制御部46は、このような処理を1つの端末装置12あるいは中継装置14ごとに実行する。その際、中継装置14に端末装置12が接続されている場合、制御装置用制御部46は、端末装置12に対する切断処理を実行してから、中継装置14に対する切断処理を実行する。   When the channel changing unit 42 starts processing for changing the frequency channel, the control device communication unit 40 sends a disconnection response signal to the disconnection request signal transmitted from the control device communication unit 40 from the terminal device 12 or the relay device 14. Receive. The control device communication unit 40 outputs a disconnection response signal to the control device control unit 46. The control device control unit 46 receives the disconnection response signal from the control device communication unit 40. Accordingly, since it can be said that the disconnection of the terminal device 12 or the relay device 14 is completed, the control device control unit 46 deletes the information of the terminal device 12 or the relay device 14 that has been disconnected from the storage unit 52. When there are a plurality of terminal devices 12 and relay devices 14 to be disconnected, the control device control unit 46 executes such processing for each terminal device 12 or relay device 14. At that time, when the terminal device 12 is connected to the relay device 14, the control device control unit 46 executes a disconnection process for the terminal device 12 and then performs a disconnection process for the relay device 14.

チャネル変更部42は、記憶部52に記憶した情報の削除が完了した場合、つまり記憶部52に記憶したすべての端末装置12あるいは中継装置14が削除された場合、制御装置用通信部40において使用される1つの周波数チャネルを別の1つの周波数チャネルに変更する。その際、チャネル変更部42は、制御装置用通信部40を介してキャリアセンスを実行して、干渉電力の最も小さい周波数チャネルを選択してもよい。また、チャネル変更部42は、上位通信24において使用されている周波数チャネルを回避するように、周波数チャネルを選択してもよい。チャネル変更部42は、変更後の1つの周波数チャネルに切りかえるように、制御装置用通信部40を制御する。   The channel change unit 42 is used in the control unit communication unit 40 when the deletion of the information stored in the storage unit 52 is completed, that is, when all the terminal devices 12 or relay devices 14 stored in the storage unit 52 are deleted. One frequency channel to be changed to another one frequency channel. At that time, the channel changing unit 42 may perform carrier sense via the control device communication unit 40 and select a frequency channel with the smallest interference power. Further, the channel changing unit 42 may select the frequency channel so as to avoid the frequency channel used in the upper communication 24. The channel changing unit 42 controls the control device communication unit 40 so as to switch to one frequency channel after the change.

この構成は、ハードウエア的には、任意のコンピュータのCPU、メモリ、その他のLSIで実現でき、ソフトウエア的にはメモリにロードされたプログラムなどによって実現されるが、ここではそれらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックがハードウエアのみ、ハードウエアとソフトウエアの組合せによっていろいろな形で実現できることは、当業者には理解されるところである。   This configuration can be realized in terms of hardware by a CPU, memory, or other LSI of any computer, and in terms of software, it can be realized by a program loaded in the memory, but here it is realized by their cooperation. Draw functional blocks. Accordingly, those skilled in the art will understand that these functional blocks can be realized in various forms only by hardware, or by a combination of hardware and software.

図5は、端末装置12の構成を示す。端末装置12は、通信部70、データ処理部72、制御部74を含む。通信部70は、受信部76、送信部78を含み、制御部74は、切断処理部80、接続処理部82、チャネル変更処理部84を含む。   FIG. 5 shows the configuration of the terminal device 12. The terminal device 12 includes a communication unit 70, a data processing unit 72, and a control unit 74. The communication unit 70 includes a reception unit 76 and a transmission unit 78, and the control unit 74 includes a disconnection processing unit 80, a connection processing unit 82, and a channel change processing unit 84.

通信部70は、HAN通信22に対応した処理を実行することによって、制御装置10、中継装置14との通信を実行する。受信部76は、制御装置10からパケット信号を受信したり、制御装置10から中継装置14を経由したパケット信号を受信したりする。受信部76は、増幅機能、周波数変換機能、復調機能を有しており、受信したパケット信号からベースバンド信号を生成する。受信部76は、ベースバンド信号をデータ処理部72、制御部74に出力する。送信部78は、変調機能、周波数変換機能、増幅機能を有しており、データ処理部72、制御部74から入力したベースバンド信号からパケット信号を生成する。送信部78は、制御装置10にパケット信号を送信したり、中継装置14を経由して制御装置10にパケット信号を送信したりする。   The communication unit 70 executes communication with the control device 10 and the relay device 14 by executing processing corresponding to the HAN communication 22. The receiving unit 76 receives a packet signal from the control device 10 or receives a packet signal from the control device 10 via the relay device 14. The receiving unit 76 has an amplification function, a frequency conversion function, and a demodulation function, and generates a baseband signal from the received packet signal. The receiving unit 76 outputs the baseband signal to the data processing unit 72 and the control unit 74. The transmission unit 78 has a modulation function, a frequency conversion function, and an amplification function, and generates a packet signal from the baseband signal input from the data processing unit 72 and the control unit 74. The transmission unit 78 transmits a packet signal to the control device 10 or transmits a packet signal to the control device 10 via the relay device 14.

このようなパケット信号の通信経路は、ルーティングテーブルとして記憶されているが、ルーティングテーブルは、制御装置10でのルーティングテーブルと同様であるので説明を省略する。また、端末装置12に対して、制御装置10による前述の認証処理がなされている。認証処理の開始として、接続処理部82は、接続認証要求信号を送信部78から送信させる。受信部76は、接続認証許可信号を受信する。受信部76は、受信した接続認証許可信号を接続処理部82に出力する。接続処理部82が接続認証許可信号を入力すると、認証処理が終了になる。その後、制御装置10との通信、あるいは中継装置14を介した制御装置10との通信が可能になる。以下では、中継装置14を介した制御装置10との通信を中心に説明する。   Such a packet signal communication path is stored as a routing table, but the routing table is the same as the routing table in the control device 10, and thus the description thereof is omitted. Further, the above-described authentication process by the control device 10 is performed on the terminal device 12. As the start of the authentication process, the connection processing unit 82 causes the transmission unit 78 to transmit a connection authentication request signal. The receiving unit 76 receives a connection authentication permission signal. The receiving unit 76 outputs the received connection authentication permission signal to the connection processing unit 82. When the connection processing unit 82 inputs a connection authentication permission signal, the authentication process is terminated. Thereafter, communication with the control device 10 or communication with the control device 10 via the relay device 14 becomes possible. Below, it demonstrates centering on communication with the control apparatus 10 via the relay apparatus 14. FIG.

データ処理部72は、受信部76からのベースバンド信号を入力すると、ベースバンド信号を処理する。一方、データ処理部72は、送信すべきデータが発生した場合に、ベースバンド信号を生成する。受信部76がパケット信号を受信していなければ、データ処理部72は、ベースバンド信号を送信部78に出力する。   When the baseband signal from the receiving unit 76 is input, the data processing unit 72 processes the baseband signal. On the other hand, the data processing unit 72 generates a baseband signal when data to be transmitted occurs. If the reception unit 76 has not received a packet signal, the data processing unit 72 outputs a baseband signal to the transmission unit 78.

受信部76は、中継装置14を介して制御装置10と通信している場合に、中継装置14との接続を切断するための切断要求信号を中継装置14から受信する。なお、切断要求信号は、制御装置10から中継装置14を介して受信部76に受信されている。受信部76は、受信した切断要求信号を切断処理部80に出力する。切断処理部80は、切断要求信号を入力する。切断処理部80は、切断応答信号を送信部78に出力し、送信部78は、切断応答信号を中継装置14に送信する。さらに、切断処理部80は、通信部70に対して中継装置14とのリンクを切断させる。切断処理部80は、中継装置14とのリンクが切断したことを接続処理部82に通知する。   The receiving unit 76 receives a disconnection request signal for disconnecting the connection with the relay device 14 from the relay device 14 when communicating with the control device 10 via the relay device 14. Note that the disconnection request signal is received by the receiving unit 76 from the control device 10 via the relay device 14. The receiving unit 76 outputs the received cutting request signal to the cutting processing unit 80. The cutting processing unit 80 inputs a cutting request signal. The disconnection processing unit 80 outputs a disconnection response signal to the transmission unit 78, and the transmission unit 78 transmits the disconnection response signal to the relay device 14. Further, the disconnection processing unit 80 causes the communication unit 70 to disconnect the link with the relay device 14. The disconnection processing unit 80 notifies the connection processing unit 82 that the link with the relay device 14 has been disconnected.

接続処理部82は、切断処理部80からの通知を受けつけると、所定期間待機する。切断理由が周波数チャネルの変更である場合、すぐにビーコン要求信号を送信しても無駄になるからである。所定期間経過後、接続処理部82は、ビーコン要求信号を送信部78に出力する。送信部78は、ビーコン要求信号を送信する。つまり、接続処理部82は、受信部76が接続要求信号を受信した場合に、所定時間経過してから、ビーコン要求信号の送信を送信部78に開始させる。ビーコン要求信号は、接続可能な中継装置14あるいは制御装置10を探索するための信号であり、これを受信した中継装置14あるいは制御装置10は、ビーコン信号を送信する。なお、中継装置14あるいは制御装置10から送信されるビーコン信号の周波数チャネル、つまり中継装置14あるいは制御装置10において使用される周波数チャネルは未知であるので、送信部78は、周波数チャネルを変更しながらビーコン要求信号を送信する。   When the connection processing unit 82 receives the notification from the disconnection processing unit 80, it waits for a predetermined period. This is because if the reason for disconnection is a change in the frequency channel, it is useless even if the beacon request signal is transmitted immediately. After the predetermined period has elapsed, the connection processing unit 82 outputs a beacon request signal to the transmission unit 78. The transmission unit 78 transmits a beacon request signal. That is, when the receiving unit 76 receives the connection request signal, the connection processing unit 82 causes the transmitting unit 78 to start transmitting the beacon request signal after a predetermined time has elapsed. The beacon request signal is a signal for searching for a connectable relay device 14 or control device 10, and the relay device 14 or control device 10 that has received the beacon signal transmits a beacon signal. Since the frequency channel of the beacon signal transmitted from the relay device 14 or the control device 10, that is, the frequency channel used in the relay device 14 or the control device 10, is unknown, the transmission unit 78 changes the frequency channel. Send a beacon request signal.

具体的に説明すると、接続処理部82は、ビーコン要求信号を送信するタイミングになると、チャネル変更処理部84に対して周波数チャネルの変更を指示する。チャネル変更処理部84は、指示を受けつけると、通信部70において使用される周波数チャネルを変更する。例えば、周波数チャネル「1ch」から「Nch」が順に変更される。つまり、チャネル変更処理部84は、送信部78がビーコン要求信号を送信している場合に、中継装置14が使用可能な複数の周波数チャネルのそれぞれを切りかえながら通信部70に使用させる。   More specifically, the connection processing unit 82 instructs the channel change processing unit 84 to change the frequency channel when it is time to transmit the beacon request signal. When receiving the instruction, the channel change processing unit 84 changes the frequency channel used in the communication unit 70. For example, the frequency channels “1ch” to “Nch” are changed in order. That is, when the transmission unit 78 is transmitting a beacon request signal, the channel change processing unit 84 causes the communication unit 70 to use each of a plurality of frequency channels that can be used by the relay device 14.

特に、チャネル変更処理部84は、複数の周波数チャネルのうち、通信部70が中継装置14との通信にこれまで、つまり過去に使用していた周波数チャネルの使用割合を他の周波数チャネルの使用割合よりも高くさせる。これを説明するために、図6(a)−(b)を使用する。図6(a)−(c)は、制御部74による処理の概要を示す。図6(a)は、チャネル変更処理部84によって変更されるパターンの一例である。ここでは、説明を明瞭にするために、周波数チャネルの数を「4」とする。また、図中の「1」は、周波数チャネル「1ch」を示す。さらに、これまで使用していた周波数チャネルが「1ch」であるとする。   In particular, the channel change processing unit 84 uses the frequency channel usage rate that the communication unit 70 has used for communication with the relay device 14 so far, that is, the usage rate of other frequency channels, among the plurality of frequency channels. Make it higher. In order to explain this, FIGS. 6A to 6B are used. 6A to 6C show an overview of processing by the control unit 74. FIG. FIG. 6A is an example of a pattern changed by the channel change processing unit 84. Here, for the sake of clarity, the number of frequency channels is “4”. Further, “1” in the figure indicates the frequency channel “1ch”. Furthermore, it is assumed that the frequency channel used so far is “1ch”.

図6(a)のように、チャネル変更処理部84は、周波数チャネル「1ch」を「4ch」を切りかえながら繰り返し設定する。しかしながら、周波数チャネル「1ch」を使用する期間は、周波数チャネル「2ch」から「4ch」のそれぞれを使用する期間よりも長くなっている。1つの周波数チャネルを使用している期間の先頭部分において、送信部78が、ビーコン要求信号を送信すると、切断処理部80は、残りの期間で信号の受信を待ちかまえる。ビーコン要求信号を送信するための期間の長さは、すべての周波数チャネルにおいて、ほぼ同一であるので、周波数チャネル「1ch」で信号の受信を待ちかまえるための期間は、他の周波数チャネルで信号の受信を待ちかまえるための期間よりも長くなる。   As shown in FIG. 6A, the channel change processing unit 84 repeatedly sets the frequency channel “1ch” while switching “4ch”. However, the period in which the frequency channel “1ch” is used is longer than the period in which each of the frequency channels “2ch” to “4ch” is used. When the transmission unit 78 transmits a beacon request signal in the beginning of a period using one frequency channel, the disconnection processing unit 80 waits for reception of the signal in the remaining period. Since the length of the period for transmitting the beacon request signal is almost the same in all frequency channels, the period for waiting for reception of the signal in the frequency channel “1ch” is the signal period in the other frequency channels. It becomes longer than the period for waiting for reception.

図6(b)は、図6(a)とは異なった例である。図示のごとく、各周波数チャネルを使用する期間は、共通している。しかしながら、周波数チャネル「1ch」、「2ch」、「1ch」、「3ch」、「1ch」、「4ch」のように切りかえられており、周波数チャネル「1ch」を使用する頻度が他の周波数チャネルを使用する頻度よりも多くなっている。図6(c)は後述し、図5に戻る。   FIG. 6B is an example different from FIG. As shown in the figure, the period in which each frequency channel is used is common. However, the frequency channel is switched to “1ch”, “2ch”, “1ch”, “3ch”, “1ch”, “4ch”, and the frequency channel “1ch” is used by other frequency channels. More often than used. FIG. 6C will be described later, and the processing returns to FIG.

受信部76は、信号の受信を待ちかまえるための期間において、中継装置14から制御装置10に送信された切断応答信号であって、かつ中継装置14と制御装置10との間の接続が切断されることを示した切断応答信号を傍受すべきである。前述のごとく、中継装置14と端末装置12とのリンクが切断されてから、制御装置10と中継装置14とのリンクが切断される。後者の切断の際に送信される信号が、受信部76において傍受される切断応答信号である。この切断応答信号は、本来、中継装置14から制御装置10に送信すべき信号であって、端末装置12に送信すべき信号ではないが、その切断応答信号が端末装置12に受信される。また、中継装置14と端末装置12とのリンクに周波数チャネル「1ch」が使用されていた場合、制御装置10と中継装置14とのリンクにも周波数チャネル「1ch」が使用されている。そのため、受信部76は、周波数チャネル「1ch」において切断応答信号を傍受する。切断応答信号を傍受する確率を高めるために、前述のごとく、これまで使用していた周波数チャネルの使用割合が他の周波数チャネルの使用割合よりも高くされる。   The reception unit 76 is a disconnection response signal transmitted from the relay device 14 to the control device 10 in a period for waiting for reception of a signal, and the connection between the relay device 14 and the control device 10 is disconnected. The disconnection response signal indicating that this should be intercepted. As described above, after the link between the relay device 14 and the terminal device 12 is disconnected, the link between the control device 10 and the relay device 14 is disconnected. A signal transmitted at the time of the latter disconnection is a disconnection response signal intercepted by the receiving unit 76. This disconnection response signal is originally a signal that should be transmitted from the relay device 14 to the control device 10 and not a signal that should be transmitted to the terminal device 12, but the disconnection response signal is received by the terminal device 12. In addition, when the frequency channel “1ch” is used for the link between the relay device 14 and the terminal device 12, the frequency channel “1ch” is also used for the link between the control device 10 and the relay device 14. Therefore, the receiving unit 76 intercepts the disconnection response signal in the frequency channel “1ch”. In order to increase the probability of intercepting the disconnection response signal, as described above, the usage rate of the frequency channel used so far is set higher than the usage rate of other frequency channels.

受信部76は、切断応答信号を傍受すると、切断応答信号を接続処理部82に出力する。接続処理部82は、切断応答信号を入力すると、ビーコン要求信号の送信を送信部78に停止させる。この後、制御装置10による周波数チャネルの変更、制御装置10と中継装置14との接続がなされる予定であり、それらが完了するまで、端末装置12は中継装置14に接続する必要がないからである。接続処理部82は、ビーコン要求信号の送信停止をチャネル変更処理部84に通知する。チャネル変更処理部84は、通知を受けつけると、つまり送信部78がビーコン要求信号の送信を停止している場合に、中継装置14が使用可能な複数の周波数チャネルのそれぞれを切りかえながら受信部76に使用させる。これは、どの周波数チャネルで接続認証要求信号が送信されているか不明だからである。図6(c)のように、チャネル変更処理部84は、周波数チャネル「1ch」から「4ch」を切りかえながら繰り返し設定する。また、各周波数チャネルを使用する期間は、均等になっている。図5に戻る。   When receiving the disconnection response signal, the receiving unit 76 outputs the disconnection response signal to the connection processing unit 82. When the connection processing unit 82 receives the disconnection response signal, the connection processing unit 82 causes the transmission unit 78 to stop transmitting the beacon request signal. Thereafter, the frequency channel is changed by the control device 10 and the connection between the control device 10 and the relay device 14 is scheduled. The terminal device 12 does not need to be connected to the relay device 14 until these are completed. is there. The connection processing unit 82 notifies the channel change processing unit 84 that transmission of the beacon request signal is stopped. When the channel change processing unit 84 receives the notification, that is, when the transmission unit 78 stops transmission of the beacon request signal, the channel change processing unit 84 switches to the reception unit 76 while switching each of the plurality of frequency channels that can be used by the relay device 14. Let it be used. This is because it is unknown in which frequency channel the connection authentication request signal is transmitted. As illustrated in FIG. 6C, the channel change processing unit 84 repeatedly sets the frequency channel “1ch” to “4ch” while switching. Further, the period during which each frequency channel is used is uniform. Returning to FIG.

受信部76は、送信部78がビーコン要求信号の送信を停止している場合に、チャネル変更処理部84からの指示に応じて周波数チャネルを切りかえながら、いずれかの周波数チャネルにおいて、中継装置14から制御装置10に送信された接続認証要求信号を傍受する。接続認証要求信号は、中継装置14と制御装置10とが接続されることを示した信号である。つまり、中継装置14が制御装置10に接続認証要求信号を送信すると、中継装置14と制御装置10との間の認証処理がこれから開始される。その接続認証要求信号を傍受することによって、端末装置12は、中継装置14に接続可能になる状態が間もなく到来することを推定する。受信部76は、傍受した接続認証要求信号を接続処理部82に出力する。   When the transmission unit 78 stops transmission of the beacon request signal, the reception unit 76 switches the frequency channel according to an instruction from the channel change processing unit 84, and switches the frequency channel from any one of the relay apparatuses 14 in any frequency channel. The connection authentication request signal transmitted to the control device 10 is intercepted. The connection authentication request signal is a signal indicating that the relay device 14 and the control device 10 are connected. That is, when the relay device 14 transmits a connection authentication request signal to the control device 10, authentication processing between the relay device 14 and the control device 10 is started. By intercepting the connection authentication request signal, the terminal device 12 estimates that a state in which the connection to the relay device 14 is possible is coming soon. The receiving unit 76 outputs the intercepted connection authentication request signal to the connection processing unit 82.

接続処理部82は、接続認証要求信号を入力した場合に、ビーコン要求信号の送信を送信部78に再開させる。ここで、接続処理部82は、受信部76が接続認証要求信号を傍受した場合に、所定期間経過してから、ビーコン要求信号の送信を送信部78に再開させてもよい。中継装置14と制御装置10との接続が開始してから完了するまでの期間にわたって待機するためであり、そのような期間に合うように所定期間が設定される。なお、接続処理部82は、ビーコン要求信号の送信を停止してから、一定期間経過しても受信部76が接続認証要求信号を傍受しない場合、ビーコン要求信号の送信を送信部78に再開させてもよい。   When the connection authentication request signal is input, the connection processing unit 82 causes the transmission unit 78 to resume transmission of the beacon request signal. Here, when the receiving unit 76 intercepts the connection authentication request signal, the connection processing unit 82 may cause the transmitting unit 78 to resume transmission of the beacon request signal after a predetermined period has elapsed. This is to wait for a period from when the connection between the relay device 14 and the control device 10 is started to when it is completed, and a predetermined period is set to match such a period. Note that the connection processing unit 82 causes the transmission unit 78 to resume transmission of the beacon request signal when the reception unit 76 does not intercept the connection authentication request signal after a certain period of time has elapsed after stopping transmission of the beacon request signal. May be.

前述のごとく、チャネル変更処理部84は、図6(c)のように、周波数チャネル「1ch」から「4ch」を均等に切りかえながら繰り返し設定する。なお、受信部76が接続認証要求信号を傍受した場合、チャネル変更処理部84は、受信部76、チャネル変更処理部84を介して、傍受したときの周波数チャネルの情報を取得してもよい。それにより、チャネル変更処理部84は、入力した周波数チャネルの情報をもとに、通信部70での周波数チャネルを固定する。その後、接続処理部82は、受信部76がビーコン信号を受信すると、前述の認証処理を実行する。   As described above, the channel change processing unit 84 repeatedly sets the frequency channels “1ch” to “4ch” evenly as shown in FIG. 6C. When the receiving unit 76 intercepts the connection authentication request signal, the channel change processing unit 84 may acquire information on the frequency channel when intercepted via the receiving unit 76 and the channel change processing unit 84. Thereby, the channel change processing unit 84 fixes the frequency channel in the communication unit 70 based on the input frequency channel information. Thereafter, when the receiving unit 76 receives the beacon signal, the connection processing unit 82 executes the above-described authentication processing.

以上の構成による通信システム100の動作を説明する。図7は、通信システム100によるチャネル変更手順を示すシーケンス図である。図7では、図2と同様に、制御装置10には、中継装置14、第2端末装置12bだけが登録されているとする。制御装置10は、周波数チャネル「1ch」を使用している状況下において、チャネル変更処理を開始する(S100)。制御装置10は、中継装置14を介して第2端末装置12bに切断要求信号を送信する(S102、S104)。第2端末装置12bは、中継装置14を介して制御装置10に切断応答信号を送信し(S106、S108)、切断する。制御装置10は、第2端末装置12bの情報を削除するように記憶部52を更新する(S110)。第2端末装置12bは、再接続を開始する(S112)。第2端末装置12bは、周波数チャネル「1ch」でのビーコン要求信号を送信する(S114)。また、第2端末装置12bは、周波数チャネル「Nch」でのビーコン要求信号を送信する(S116)。制御装置10は、中継装置14に切断要求信号を送信する(S118)。中継装置14は、制御装置10に切断応答信号を送信し(S120)、切断する。この切断応答信号は、第2端末装置12bに傍受される(S122)。   The operation of the communication system 100 configured as above will be described. FIG. 7 is a sequence diagram showing a channel change procedure by the communication system 100. In FIG. 7, as in FIG. 2, it is assumed that only the relay device 14 and the second terminal device 12 b are registered in the control device 10. The control device 10 starts the channel change process under the situation where the frequency channel “1ch” is used (S100). The control device 10 transmits a disconnection request signal to the second terminal device 12b via the relay device 14 (S102, S104). The second terminal device 12b transmits a disconnection response signal to the control device 10 via the relay device 14 (S106, S108) and disconnects. The control device 10 updates the storage unit 52 so as to delete the information of the second terminal device 12b (S110). The second terminal device 12b starts reconnection (S112). The second terminal apparatus 12b transmits a beacon request signal on the frequency channel “1ch” (S114). The second terminal apparatus 12b transmits a beacon request signal on the frequency channel “Nch” (S116). The control device 10 transmits a disconnection request signal to the relay device 14 (S118). The relay device 14 transmits a disconnection response signal to the control device 10 (S120) and disconnects. This disconnection response signal is intercepted by the second terminal device 12b (S122).

制御装置10は、周波数チャネル変更を実行する(S124)。中継装置14は、再接続を開始する(S126)。第2端末装置12bは、再接続を停止する(S128)。中継装置14は、周波数チャネル「1ch」でのビーコン要求信号を送信する(S130)。また、中継装置14は、周波数チャネル「Nch」でのビーコン要求信号を送信する(S132)。制御装置10は、周波数チャネル「5ch」でのビーコン信号を送信する(S134)。中継装置14は、制御装置10に接続認証要求信号を送信する(S136)。この接続認証要求信号は、第2端末装置12bに傍受される(S138)。制御装置10は、中継装置14に接続認証許可信号を送信する(S140)。   The control device 10 executes frequency channel change (S124). The relay device 14 starts reconnection (S126). The second terminal device 12b stops the reconnection (S128). The relay device 14 transmits a beacon request signal on the frequency channel “1ch” (S130). In addition, the relay device 14 transmits a beacon request signal on the frequency channel “Nch” (S132). The control device 10 transmits a beacon signal on the frequency channel “5ch” (S134). The relay device 14 transmits a connection authentication request signal to the control device 10 (S136). This connection authentication request signal is intercepted by the second terminal device 12b (S138). The control device 10 transmits a connection authentication permission signal to the relay device 14 (S140).

第2端末装置12bは、再接続を再開する(S142)。第2端末装置12bは、周波数チャネル「1ch」でのビーコン要求信号を送信する(S144)。また、第2端末装置12bは、周波数チャネル「Nch」でのビーコン要求信号を送信する(S146)。中継装置14は、周波数チャネル「5ch」でのビーコン信号を送信する(S148)。第2端末装置12bは、中継装置14を介して制御装置10に接続認証要求信号を送信する(S150、S152)。制御装置10は、中継装置14を介して第2端末装置12bに接続認証許可信号を送信する(S154、S156)。制御装置10は、第2端末装置12bの情報を追加するように記憶部52を更新する(S158)。   The second terminal device 12b resumes reconnection (S142). The second terminal apparatus 12b transmits a beacon request signal on the frequency channel “1ch” (S144). The second terminal apparatus 12b transmits a beacon request signal on the frequency channel “Nch” (S146). The relay device 14 transmits a beacon signal on the frequency channel “5ch” (S148). The second terminal device 12b transmits a connection authentication request signal to the control device 10 via the relay device 14 (S150, S152). The control device 10 transmits a connection authentication permission signal to the second terminal device 12b via the relay device 14 (S154, S156). The control device 10 updates the storage unit 52 to add information on the second terminal device 12b (S158).

図8は、端末装置12による接続手順を示すフローチャートである。切断処理部80は、切断要求信号を受信し(S200)、切断応答信号を送信する(S202)。接続処理部82は、再接続処理を開始する(S204)。受信部76がパケット信号を受信しなければ(S206のN)、待機する。受信部76がパケット信号を受信し(S206のY)、パケット信号が中継装置14からの切断応答信号であれば(S208のY)、接続処理部82は、再接続処理を停止し(S210)、ステップ206に戻る。   FIG. 8 is a flowchart showing a connection procedure by the terminal device 12. The disconnection processing unit 80 receives the disconnection request signal (S200) and transmits a disconnection response signal (S202). The connection processing unit 82 starts reconnection processing (S204). If the receiving unit 76 does not receive the packet signal (N in S206), it waits. If the reception unit 76 receives the packet signal (Y in S206) and the packet signal is a disconnection response signal from the relay device 14 (Y in S208), the connection processing unit 82 stops the reconnection process (S210). Return to step 206.

パケット信号が中継装置14からの切断応答信号でなく(S208のN)、中継装置14からの接続認証要求信号であれば(S212のY)、接続処理部82は、再接続処理を再開し(S214)、ステップ206に戻る。パケット信号が中継装置14からの接続認証要求信号でなく(S212のN)、接続認証許可信号でなければ(S216のN)、ステップ206に戻る。パケット信号が接続認証許可信号であれば(S216のY)、処理が終了される。   If the packet signal is not a disconnection response signal from the relay device 14 (N in S208) but is a connection authentication request signal from the relay device 14 (Y in S212), the connection processing unit 82 restarts the reconnection processing ( S214), the process returns to step 206. If the packet signal is not a connection authentication request signal from the relay device 14 (N in S212) and is not a connection authentication permission signal (N in S216), the process returns to Step 206. If the packet signal is a connection authentication permission signal (Y in S216), the process is terminated.

なお、本実施例における切断要求信号、あるいは切断応答信号の利用は、装置間のデータリンク層のリンク切断の用途に限定されない。例えば、ネットワークセキュリティのセキュリティ・セッションを切断するために、切断要求信号、あるいは切断応答信号を利用することが想定される。この場合、切断要求信号として、PANA(Protocol for carrying Authentication)標準通信プロトコルのPANA Termination Request(終了要求)パケット、切断応答信号として、PANA Termination Answer(終了回答)パケットが利用される。また、本実施例における接続認証要求信号は、PANA Client Initiation(クライアント開始)であってもよい。また、本実施例における接続認証許可信号は、PANA Auth Request(認証要求)パケットであってもよい。   Note that the use of the disconnection request signal or disconnection response signal in the present embodiment is not limited to the use of the data link layer link disconnection between devices. For example, it is assumed that a disconnection request signal or a disconnection response signal is used to disconnect a network security security session. In this case, a PANA Termination Request (end request) packet of a PANA (Protocol for Carrying Authentication) standard communication protocol is used as a disconnection request signal, and a PANA Termination Answer (end response) packet is used as a disconnection response signal. Further, the connection authentication request signal in the present embodiment may be PANA Client Initiation (client start). Further, the connection authentication permission signal in the present embodiment may be a PANA Auth Request (authentication request) packet.

本実施例によれば、中継装置から制御装置に送信された切断応答信号を傍受した場合に、ビーコン要求信号の送信を停止させる無駄な信号の送信を抑制できる。また、無駄な信号の送信が抑制されるので、トラヒックの増加を抑制できる。また、無駄な信号の送信が抑制されるので、周波数チャネルが変更される場合に効率的に接続できる。また、また、ビーコン要求信号を送信している場合に、中継装置との通信に過去に使用していた周波数チャネルの使用割合を他の周波数チャネルの使用割合よりも高くさせながら、複数の周波数チャネルを切りかえるので、切断応答信号を受信しやすくできる。また、切断応答信号が受信しやすくなるので、ビーコン要求信号の送信を停止しやすくできる。また、複数の周波数チャネルを切りかえるので、さまざまな制御装置や中継装置からのビーコン信号を受信できる。   According to the present embodiment, when a disconnection response signal transmitted from the relay device to the control device is intercepted, it is possible to suppress transmission of a useless signal that stops transmission of the beacon request signal. Moreover, since transmission of useless signals is suppressed, an increase in traffic can be suppressed. Moreover, since useless signal transmission is suppressed, connection can be made efficiently when the frequency channel is changed. In addition, when a beacon request signal is transmitted, a plurality of frequency channels can be used while making the frequency channel usage rate used for communication with the relay device higher than other frequency channel usage rates in the past. Therefore, it is easy to receive a disconnection response signal. Moreover, since it becomes easy to receive a disconnection response signal, transmission of a beacon request signal can be easily stopped. In addition, since a plurality of frequency channels are switched, beacon signals from various control devices and relay devices can be received.

また、ビーコン要求信号の送信を停止している場合に、中継装置が使用可能な複数の周波数チャネルのそれぞれを切りかえるので、中継装置が周波数チャネルを変更した場合でも、変更した周波数チャネルの信号を受信できる。また、ビーコン要求信号の送信を停止している場合に、中継装置から制御装置に送信された接続認証要求信号を傍受した場合に、ビーコン要求信号の送信を再開するので、周波数チャネルを変更した中継装置からのビーコン信号を受信できる。また、接続認証要求信号を傍受した場合に、所定期間経過してから、ビーコン要求信号の送信を再開させるので、制御装置と中継装置とが接続するまでの間の無駄な信号の送信を抑制できる。また、中継装置を介して制御装置と通信している場合に、中継装置との接続を切断するための切断要求信号を中継装置から受信した場合に、所定時間経過してから、ビーコン要求信号の送信を開始するので、無駄な信号の送信を抑制できる。   In addition, when transmission of the beacon request signal is stopped, each of the multiple frequency channels that can be used by the relay device is switched. Therefore, even if the relay device changes the frequency channel, the signal of the changed frequency channel is received. it can. In addition, when transmission of the beacon request signal is stopped, transmission of the beacon request signal is resumed when the connection authentication request signal transmitted from the relay device to the control device is intercepted. A beacon signal from the device can be received. In addition, when a connection authentication request signal is intercepted, transmission of a beacon request signal is resumed after a predetermined period of time has elapsed, so transmission of useless signals until the control device and the relay device are connected can be suppressed. . In addition, when communicating with the control device via the relay device, when a disconnection request signal for disconnecting the connection with the relay device is received from the relay device, the beacon request signal Since transmission is started, transmission of useless signals can be suppressed.

本発明の一態様の概要は、次の通りである。本発明のある態様の端末装置12は、中継装置14を介して制御装置10と通信すべき端末装置12であって、中継装置14に未接続である場合に、接続可能な中継装置14を探索するための第1信号を送信する通信部70と、通信部70の動作を制御する制御部74とを備える。通信部70は、中継装置14から制御装置10に送信された第2信号であって、かつ中継装置14と制御装置10との間の接続が切断されることを示した第2信号を傍受し、制御部74は、通信部70が第2信号を傍受した場合に、第1信号の送信を通信部70に停止させる。   The outline of one embodiment of the present invention is as follows. The terminal device 12 according to an aspect of the present invention is a terminal device 12 that should communicate with the control device 10 via the relay device 14 and searches for a connectable relay device 14 when the terminal device 12 is not connected to the relay device 14. The communication part 70 which transmits the 1st signal for doing, and the control part 74 which controls operation | movement of the communication part 70 are provided. The communication unit 70 intercepts the second signal transmitted from the relay device 14 to the control device 10 and indicating that the connection between the relay device 14 and the control device 10 is disconnected. The control unit 74 causes the communication unit 70 to stop transmitting the first signal when the communication unit 70 intercepts the second signal.

通信部70は、複数の周波数チャネルのうちの1つの周波数チャネルを使用し、制御部74は、通信部70が第1信号を送信している場合に、中継装置14が使用可能な複数の周波数チャネルのそれぞれを切りかえながら通信部70に使用させており、制御部74は、複数の周波数チャネルのうち、通信部70が中継装置14との通信に過去に使用していた周波数チャネルの使用割合を他の周波数チャネルの使用割合よりも高くさせてもよい。   The communication unit 70 uses one frequency channel among a plurality of frequency channels, and the control unit 74 uses a plurality of frequencies that can be used by the relay device 14 when the communication unit 70 transmits the first signal. The communication unit 70 is used while switching each of the channels, and the control unit 74 uses the frequency channel usage ratio that the communication unit 70 has used in the past for communication with the relay device 14 among the plurality of frequency channels. You may make it higher than the usage rate of another frequency channel.

制御部74は、通信部70が第1信号の送信を停止している場合に、中継装置14が使用可能な複数の周波数チャネルのそれぞれを切りかえながら通信部70に使用させてもよい。   When the communication unit 70 stops transmitting the first signal, the control unit 74 may cause the communication unit 70 to use each of the plurality of frequency channels that can be used by the relay device 14.

通信部70は、第1信号の送信を停止している場合に、中継装置14から制御装置10に送信された第3信号であって、かつ中継装置14と制御装置10とが接続されることを示した第3信号を傍受し、制御部74は、通信部70が第3信号を傍受した場合に、第1信号の送信を通信部70に再開させてもよい。   The communication unit 70 is a third signal transmitted from the relay device 14 to the control device 10 when transmission of the first signal is stopped, and the relay device 14 and the control device 10 are connected. When the communication unit 70 intercepts the third signal, the control unit 74 may cause the communication unit 70 to resume transmission of the first signal.

制御部74は、通信部70が第3信号を傍受した場合に、所定期間経過してから、第1信号の送信を通信部70に再開させてもよい。   When the communication unit 70 intercepts the third signal, the control unit 74 may cause the communication unit 70 to resume transmission of the first signal after a predetermined period has elapsed.

通信部70は、中継装置14を介して制御装置10と通信している場合に、中継装置14との接続を切断するための第4信号を中継装置14から受信し、制御部74は、通信部70が第4信号を受信した場合に、所定時間経過してから、第1信号の送信を通信部70に開始させてもよい。   When the communication unit 70 communicates with the control device 10 via the relay device 14, the communication unit 70 receives a fourth signal for disconnecting the connection with the relay device 14 from the relay device 14. When the unit 70 receives the fourth signal, the communication unit 70 may start transmitting the first signal after a predetermined time has elapsed.

第1信号は、ビーコン要求信号であってもよい。   The first signal may be a beacon request signal.

第2信号は、切断応答信号であってもよい。   The second signal may be a disconnection response signal.

第3信号は、接続認証要求信号であってもよい。   The third signal may be a connection authentication request signal.

第4信号は、切断要求信号であってもよい。   The fourth signal may be a disconnection request signal.

本発明の別の態様は、通信システム100である。この通信システム100は、制御装置10と、制御装置10に接続可能な中継装置14と、中継装置14を介して制御装置10に接続可能な端末装置12とを備える。端末装置12は、中継装置14に未接続である場合に、接続可能な中継装置14を探索するための第1信号を送信する通信部70と、通信部70の動作を制御する制御部74とを備える。通信部70は、中継装置14から制御装置10に送信された第2信号であって、かつ中継装置14と制御装置10との間の接続が切断されることを示した第2信号を傍受し、制御部74は、通信部70が第2信号を傍受した場合に、第1信号の送信を通信部70に停止させる。   Another aspect of the present invention is a communication system 100. The communication system 100 includes a control device 10, a relay device 14 that can be connected to the control device 10, and a terminal device 12 that can be connected to the control device 10 via the relay device 14. When the terminal device 12 is not connected to the relay device 14, the communication device 70 that transmits a first signal for searching for a connectable relay device 14, a control unit 74 that controls the operation of the communication device 70, and Is provided. The communication unit 70 intercepts the second signal transmitted from the relay device 14 to the control device 10 and indicating that the connection between the relay device 14 and the control device 10 is disconnected. The control unit 74 causes the communication unit 70 to stop transmitting the first signal when the communication unit 70 intercepts the second signal.

本発明のさらに別の態様は、通信方法である。この方法は、中継装置14を介して制御装置10と通信すべき端末装置12での通信方法であって、中継装置14に未接続である場合に、接続可能な中継装置14を探索するための第1信号を送信するステップと、中継装置14から制御装置10に送信された第2信号であって、かつ中継装置14と制御装置10との間の接続が切断されることを示した第2信号を傍受するステップと、第2信号を傍受した場合に、第1信号の送信を停止するステップと、を備える。   Yet another embodiment of the present invention is a communication method. This method is a communication method in the terminal device 12 that should communicate with the control device 10 via the relay device 14 and is used to search for a connectable relay device 14 when the relay device 14 is not connected. A step of transmitting the first signal, and a second signal transmitted from the relay device 14 to the control device 10 and indicating that the connection between the relay device 14 and the control device 10 is disconnected A step of intercepting the signal and a step of stopping transmission of the first signal when the second signal is intercepted.

以上、本発明を実施例をもとに説明した。この実施例は例示であり、それらの各構成要素あるいは各処理プロセスの組合せにいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   In the above, this invention was demonstrated based on the Example. This embodiment is an exemplification, and it will be understood by those skilled in the art that various modifications can be made to each of those constituent elements or combinations of processing processes, and such modifications are also within the scope of the present invention. .

10 制御装置、 12 端末装置、 14 中継装置、 16 スマートメータ、 18 収集制御局、 22 HAN通信、 24 上位通信、 26 マルチホップ通信、 28 住宅、 40 制御装置用通信部、 42 チャネル変更部、 44 制御装置用データ処理部、 46 制御装置用制御部、 52 記憶部、 70 通信部、 72 データ処理部、 74 制御部、 76 受信部、 78 送信部、 80 切断処理部、 82 接続処理部、 84 チャネル変更処理部、 100 通信システム。   DESCRIPTION OF SYMBOLS 10 Control apparatus, 12 Terminal apparatus, 14 Relay apparatus, 16 Smart meter, 18 Collection control station, 22 HAN communication, 24 Host communication, 26 Multihop communication, 28 Housing, 40 Control apparatus communication part, 42 Channel change part, 44 Control unit data processing unit, 46 control unit control unit, 52 storage unit, 70 communication unit, 72 data processing unit, 74 control unit, 76 reception unit, 78 transmission unit, 80 disconnection processing unit, 82 connection processing unit, 84 100 channel change processing unit, 100 communication system.

Claims (12)

中継装置を介して制御装置と通信すべき端末装置であって、
中継装置に未接続である場合に、接続可能な中継装置を探索するための第1信号を送信する通信部と、
前記通信部の動作を制御する制御部とを備え、
前記通信部は、中継装置から制御装置に送信された第2信号であって、かつ前記中継装置と前記制御装置との間の接続が切断されることを示した第2信号を傍受し、
前記制御部は、前記通信部が前記第2信号を傍受した場合に、前記第1信号の送信を前記通信部に停止させることを特徴とする端末装置。
A terminal device to communicate with the control device via the relay device,
A communication unit that transmits a first signal for searching for a connectable relay device when not connected to the relay device;
A control unit for controlling the operation of the communication unit,
The communication unit intercepts a second signal transmitted from the relay device to the control device and indicating that the connection between the relay device and the control device is disconnected,
The said control part makes the said communication part stop transmission of the said 1st signal, when the said communication part intercepts the said 2nd signal, The terminal device characterized by the above-mentioned.
前記通信部は、複数の周波数チャネルのうちの1つの周波数チャネルを使用し、
前記制御部は、前記通信部が第1信号を送信している場合に、中継装置が使用可能な複数の周波数チャネルのそれぞれを切りかえながら前記通信部に使用させており、
前記制御部は、前記複数の周波数チャネルのうち、前記通信部が中継装置との通信に過去に使用していた周波数チャネルの使用割合を他の周波数チャネルの使用割合よりも高くさせることを特徴とする請求項1に記載の端末装置。
The communication unit uses one frequency channel among a plurality of frequency channels,
When the communication unit is transmitting the first signal, the control unit causes the communication unit to use each of a plurality of frequency channels that can be used by the relay device,
The control unit is characterized in that, among the plurality of frequency channels, the communication unit uses a frequency channel usage rate that has been used in the past for communication with the relay device higher than the usage rate of other frequency channels. The terminal device according to claim 1.
前記制御部は、前記通信部が第1信号の送信を停止している場合に、中継装置が使用可能な複数の周波数チャネルのそれぞれを切りかえながら前記通信部に使用させることを特徴とする請求項1または2に記載の端末装置。   The control unit causes the communication unit to use each of a plurality of frequency channels that can be used by the relay device when the communication unit stops transmission of the first signal. The terminal device according to 1 or 2. 前記通信部は、前記第1信号の送信を停止している場合に、中継装置から制御装置に送信された第3信号であって、かつ前記中継装置と前記制御装置とが接続されることを示した第3信号を傍受し、
前記制御部は、前記通信部が前記第3信号を傍受した場合に、前記第1信号の送信を前記通信部に再開させることを特徴とする請求項1から3のいずれか1項に記載の端末装置。
The communication unit is a third signal transmitted from the relay device to the control device when transmission of the first signal is stopped, and the relay device and the control device are connected to each other. Intercept the third signal shown,
4. The control unit according to claim 1, wherein when the communication unit intercepts the third signal, the control unit causes the communication unit to resume transmission of the first signal. 5. Terminal device.
前記制御部は、前記通信部が前記第3信号を傍受した場合に、所定期間経過してから、前記第1信号の送信を前記通信部に再開させることを特徴とする請求項4に記載の端末装置。   The said control part makes the said communication part restart transmission of the said 1st signal, after the predetermined period passes, when the said communication part intercepts the said 3rd signal. Terminal device. 前記通信部は、中継装置を介して制御装置と通信している場合に、前記中継装置との接続を切断するための第4信号を前記中継装置から受信し、
前記制御部は、前記通信部が前記第4信号を受信した場合に、所定時間経過してから、前記第1信号の送信を前記通信部に開始させることを特徴とする請求項1または2に記載の端末装置。
The communication unit receives a fourth signal for disconnecting the connection with the relay device from the relay device when communicating with the control device via the relay device;
3. The control unit according to claim 1, wherein when the communication unit receives the fourth signal, the control unit causes the communication unit to start transmitting the first signal after a predetermined time has elapsed. The terminal device described.
前記第1信号は、ビーコン要求信号であることを特徴とする請求項1から6のいずれか1項に記載の端末装置。   The terminal device according to claim 1, wherein the first signal is a beacon request signal. 前記第2信号は、切断応答信号であることを特徴とする請求項1に記載の端末装置。   The terminal device according to claim 1, wherein the second signal is a disconnection response signal. 前記第3信号は、接続認証要求信号であることを特徴とする請求項4または5に記載の端末装置。   The terminal device according to claim 4, wherein the third signal is a connection authentication request signal. 前記第4信号は、切断要求信号であることを特徴とする請求項6に記載の端末装置。   The terminal device according to claim 6, wherein the fourth signal is a disconnection request signal. 制御装置と、
前記制御装置に接続可能な中継装置と、
前記中継装置を介して前記制御装置に接続可能な端末装置とを備え、
前記端末装置は、
中継装置に未接続である場合に、接続可能な中継装置を探索するための第1信号を送信する通信部と、
前記通信部の動作を制御する制御部とを備え、
前記通信部は、中継装置から制御装置に送信された第2信号であって、かつ前記中継装置と前記制御装置との間の接続が切断されることを示した第2信号を傍受し、
前記制御部は、前記通信部が前記第2信号を傍受した場合に、前記第1信号の送信を前記通信部に停止させることを特徴とする通信システム。
A control device;
A relay device connectable to the control device;
A terminal device connectable to the control device via the relay device,
The terminal device
A communication unit that transmits a first signal for searching for a connectable relay device when not connected to the relay device;
A control unit for controlling the operation of the communication unit,
The communication unit intercepts a second signal transmitted from the relay device to the control device and indicating that the connection between the relay device and the control device is disconnected,
The said control part makes the said communication part stop transmission of the said 1st signal, when the said communication part intercepts the said 2nd signal.
中継装置を介して制御装置と通信すべき端末装置での通信方法であって、
中継装置に未接続である場合に、接続可能な中継装置を探索するための第1信号を送信するステップと、
中継装置から制御装置に送信された第2信号であって、かつ前記中継装置と前記制御装置との間の接続が切断されることを示した第2信号を傍受するステップと、
前記第2信号を傍受した場合に、前記第1信号の送信を停止するステップと、
を備えることを特徴とする通信方法。
A communication method in a terminal device that should communicate with a control device via a relay device,
Transmitting a first signal for searching for a connectable relay device when not connected to the relay device;
Intercepting a second signal transmitted from the relay device to the control device and indicating that the connection between the relay device and the control device is disconnected;
Stopping the transmission of the first signal when the second signal is intercepted;
A communication method comprising:
JP2015152283A 2015-07-31 2015-07-31 COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM Active JP6481858B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2015152283A JP6481858B2 (en) 2015-07-31 2015-07-31 COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM
PCT/JP2016/003280 WO2017022183A1 (en) 2015-07-31 2016-07-11 Communications method, terminal device using same, and communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015152283A JP6481858B2 (en) 2015-07-31 2015-07-31 COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM

Publications (2)

Publication Number Publication Date
JP2017034467A JP2017034467A (en) 2017-02-09
JP6481858B2 true JP6481858B2 (en) 2019-03-13

Family

ID=57943865

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015152283A Active JP6481858B2 (en) 2015-07-31 2015-07-31 COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM

Country Status (2)

Country Link
JP (1) JP6481858B2 (en)
WO (1) WO2017022183A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7266182B2 (en) * 2019-08-06 2023-04-28 パナソニックIpマネジメント株式会社 Wireless communication system, wireless communication device and wireless communication control method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004056449A (en) * 2002-07-19 2004-02-19 Canon Inc Radio communication equipment, radio communication system, method for controlling radio communication equipment and control program
JP5257306B2 (en) * 2009-09-11 2013-08-07 ブラザー工業株式会社 Wireless communication apparatus and computer program
JP5016080B2 (en) * 2010-03-23 2012-09-05 株式会社コナミデジタルエンタテインメント Terminal device, terminal method, and program
JP5693181B2 (en) * 2010-11-29 2015-04-01 キヤノン株式会社 Wireless communication apparatus, control method and program for wireless communication apparatus
JPWO2012124339A1 (en) * 2011-03-17 2014-07-17 パナソニック株式会社 Control device, terminal device, and communication system

Also Published As

Publication number Publication date
WO2017022183A1 (en) 2017-02-09
JP2017034467A (en) 2017-02-09

Similar Documents

Publication Publication Date Title
US10554733B2 (en) Controlling clients in distributed Wi-Fi networks
CN104796985B (en) Wireless telecom equipment, wireless communication system, wireless communications method
JP6240273B2 (en) Authentication using DHCP service in mesh networks
US9641996B2 (en) Method and apparatus for generating P2P group for Wi-Fi direct service
CN112673592A (en) Device provisioning protocol with participant feedback
RU2437240C2 (en) Method to establish communication parameters, device that provides communication, method to control device that provides communication and programme
JP5967454B2 (en) Wireless communication system
JP6045685B2 (en) Efficient device handover / movement in mesh networks
CN104823517A (en) Method for setting communication in WI-FI direct service system, and apparatus therefor
CA2828074A1 (en) Inter-device session connectivity enhancement
JP2008022089A (en) Wireless communication system, system controller, wireless base station, wireless communication terminal, communication control method and communication control program
CN105392185B (en) A kind of networking method of smart machine, apparatus and system
US10051455B2 (en) Systems and methods for changing topology and firmware in distributed wi-fi networks
CN104767768A (en) Methods for sending and receiving network access configuration information of household appliances, and household appliances
JP2017528048A (en) Terminal-based communication method and terminal
CN112469055A (en) Equipment network distribution method, related equipment and storage medium
US20150305074A1 (en) Content delivery method
JP6481858B2 (en) COMMUNICATION METHOD, TERMINAL DEVICE USING THE SAME, COMMUNICATION SYSTEM
CN113411194A (en) Internet of things network system and networking method thereof
JP2017147554A (en) Wireless communication system, control method and control station device
JP6537037B2 (en) Communication method, controller using the same, communication system
US20160308600A1 (en) Base station apparatus, terminal apparatus, and wireless access system
US11700576B2 (en) Method for putting on standby and method for reactivating at least part of a wireless communication network and gathering node of said network
JP6417493B1 (en) Control device, relay device, and communication system
JP2017063342A (en) Control device, communication system, and control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180524

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190130

R150 Certificate of patent or registration of utility model

Ref document number: 6481858

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150