Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6000066B2 - Aggregation station, aggregation station communication method, node, node communication method - Google Patents
[go: Go Back, main page]

JP6000066B2 - Aggregation station, aggregation station communication method, node, node communication method - Google Patents

Aggregation station, aggregation station communication method, node, node communication method Download PDF

Info

Publication number
JP6000066B2
JP6000066B2 JP2012241434A JP2012241434A JP6000066B2 JP 6000066 B2 JP6000066 B2 JP 6000066B2 JP 2012241434 A JP2012241434 A JP 2012241434A JP 2012241434 A JP2012241434 A JP 2012241434A JP 6000066 B2 JP6000066 B2 JP 6000066B2
Authority
JP
Japan
Prior art keywords
node
notification
gateway
leave
aggregation station
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
JP2012241434A
Other languages
Japanese (ja)
Other versions
JP2014093583A (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
Priority to JP2012241434A priority Critical patent/JP6000066B2/en
Publication of JP2014093583A publication Critical patent/JP2014093583A/en
Application granted granted Critical
Publication of JP6000066B2 publication Critical patent/JP6000066B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

この発明は、ツリー構造のメッシュネットワーク(以下、マルチホップネットワーク)を形成する集約局の機能が停止する場合のネットワークの経路再構築に関するものである。 The present invention relates to a network path reconstruction when the function of an aggregation station forming a mesh network having a tree structure (hereinafter referred to as a multi-hop network) stops.

ノードを集約する集約局(以下、ゲートウェイ)を中心としたマルチホップネットワークにおいて、メンテナンスなどでゲートウェイの機能が停止する場合、すみやかに配下のノードを他のゲートウェイに切り替えてノードとサーバの通信を継続可能にする必要がある。 In a multi-hop network centering on an aggregation station (hereinafter referred to as a gateway) that aggregates nodes, if the gateway function stops due to maintenance, etc., the subordinate node is immediately switched to another gateway and communication between the node and server continues. It needs to be possible.

ゲートウェイの切り替えを行う技術として特許文献1がある。特許文献1では、定期的にゲートウェイ間でコスト情報(どのゲートウェイとの通信が通信環境によいかの定量的な値)を交換し、コストが低いゲートウェイに切り替える技術が開示されている。 As a technique for switching the gateway, there is Patent Document 1. Patent Document 1 discloses a technique of periodically exchanging cost information (quantitative value of which gateway is good for communication environment) between gateways and switching to a gateway with low cost.

特開2008−193318JP 2008-193318 A

特許文献1によれば、定期的にゲートウェイ間でコスト情報の交換を行い、通信環境の良いゲートウェイを選択することで安定したネットワークを提供する技術が開示されている。しかし、ゲートウェイのメンテナンス等により、ゲートウェイの機能が停止する場合について考慮されておらず、ゲートウェイの機能が停止した場合には、機能停止したゲートウェイの配下のノードが他のゲートウェイとの経路を再構築する必要があり、その間、ノードとサーバとの通信が途絶えるという課題が生じる。この発明は簡易な構成で自己に属しているノードを少ないトラヒックでかつ速やかに他のゲートウェイに切り替え可能とすることを目的とする。 According to Patent Document 1, a technique is disclosed in which cost information is periodically exchanged between gateways, and a stable network is provided by selecting a gateway with a good communication environment. However, it is not considered when the gateway function stops due to gateway maintenance, etc. When the gateway function stops, the node under the gateway that has stopped function reconstructs the route with other gateways. In the meantime, there arises a problem that communication between the node and the server is interrupted. An object of the present invention is to enable a simple configuration to switch a node belonging to itself to another gateway quickly with little traffic.

この発明は、配下のノードとツリー状の無線メッシュネットワークを形成する集約局であって、自己の機能が停止する機能停止期限から一定期間前である停止準備時を経過したか否かを判定する判定部、判定部で停止準備時を経過したと判定された場合には、配下のノードに対して自己が形成する前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段、を備えたことを集約局に関するものである。 The present invention is an aggregation station that forms a tree-like wireless mesh network with a subordinate node, and determines whether or not a stop preparation time, which is a certain period before the function stop deadline at which its function stops, has passed. When the determination unit determines that the stop preparation time has elapsed, a transmission unit that transmits to the subordinate node a notification to leave the wireless mesh network formed by itself is provided. It is related to the aggregation station.

また、この発明は、配下のノードとツリー状の無線メッシュネットワークを形成する集約局であって、自己を管理するサーバから自己の機能を停止すべきとの停止通知を受信する受信部、受信部で受信した停止通知に基づいて、配下のノードに対して自己が形成する無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段、を備えた集約局に関するものである。 In addition, the present invention is an aggregation station that forms a tree-like wireless mesh network with a subordinate node, a receiving unit that receives a stop notification that its function should be stopped from a server that manages the node, and a receiving unit This relates to an aggregation station comprising a transmission means for transmitting a notification of leaving from a wireless mesh network formed by itself to a subordinate node based on the stop notification received in step (1).

また、この発明は、配下のノードとツリー状の無線メッシュネットワークを形成する集約局であって、自己を管理するサーバとの通信状態から一定期間通信していないことを検知する通信状態検知部、通信状態検知部での検知に基づいて前記サーバと一定期間通信していない場合には、配下のノードに対して自己が形成する前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段、を備えた集約局に関するものである。 The present invention is an aggregation station that forms a tree-like wireless mesh network with a subordinate node, and a communication state detection unit that detects that communication is not performed for a certain period from a communication state with a server that manages itself, Transmitting means for transmitting, to the subordinate node, a notice of withdrawal indicating that it should leave the wireless mesh network when it has not communicated with the server for a certain period of time based on detection by a communication state detection unit , Related to an aggregation station.

また、この発明は、集約局の配下にあり前記集約局とともにツリー状の無線メッシュネットワークを形成するノードであって、集約局から前記無線メッシュネットワークを離脱すべき旨の離脱通知を受信する受信部、受信部で受信した離脱通知を他のノードに転送するとともに他の集約局を探索するための経路探索要求をブロードキャストにより送信する送信部、を備えたノードに関するものである。 In addition, the present invention is a node that is under the control of an aggregation station and forms a tree-shaped wireless mesh network together with the aggregation station, and that receives a disconnection notification that the wireless mesh network should be disconnected from the aggregation station The present invention relates to a node including a transmission unit that forwards a leave notification received by a reception unit to another node and transmits a route search request for searching for another aggregation station by broadcast.

この発明は、ゲートウェイが停止準備時を経過したと判定された場合には、配下のノードに対して自己が形成する前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段をゲートウェイが有するために、ノードとサーバとの通信が途絶える可能性を低減させることが可能となる。 In the present invention, when it is determined that the gateway has been prepared for stoppage, the gateway has a transmission means for transmitting a disconnection notification to the effect that the gateway should be disconnected from the wireless mesh network formed by itself. Therefore, the possibility that communication between the node and the server is interrupted can be reduced.

この発明は、停止通知に基づいて、前記配下のノードに対して自己が形成する前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段をゲートウェイが有するため、ノードとサーバとの通信が途絶える可能性を低減させることが可能となる。 In this invention, since the gateway has a transmission means for transmitting a notification of leaving from the wireless mesh network formed by itself to the subordinate node based on the stop notification, the communication between the node and the server It is possible to reduce the possibility of interruption.

この発明は、サーバと一定期間通信していない場合には、前記配下のノードに対して自己が形成する前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段をゲートウェイが有するために、ノードとサーバとの通信が途絶える可能性を低減させることが可能となる。 In the present invention, when the gateway does not communicate with the server for a certain period of time, the gateway has a transmission means for transmitting to the subordinate node that it should leave the wireless mesh network formed by itself. The possibility that communication between the node and the server is interrupted can be reduced.

この発明は、受信した離脱通知に基づいて、離脱通知を転送するとともに他の集約局を探索するための経路探索要求をブロードキャストにより送信する送信部をノードが有するために、ノードとサーバとの通信が途絶える可能性を低減させることが可能となる。 In the present invention, since a node has a transmission unit that forwards a leave notification and transmits a route search request for searching for another aggregation station based on the received leave notification, the node communicates with the server. It is possible to reduce the possibility of interruption.

実施の形態1におけるネットワークの全体構成図Overall Network Configuration in Embodiment 1 実施の形態1におけるネットワークの全体構成図Overall Network Configuration in Embodiment 1 実施の形態1におけるネットワークの全体構成図Overall Network Configuration in Embodiment 1 実施の形態1におけるゲートウェイの構成図Configuration diagram of gateway in the first embodiment 実施の形態1におけるノードの構成図Node configuration diagram according to Embodiment 1 実施の形態1におけるネットワーク全体のシーケンス図Sequence diagram of entire network in Embodiment 1 実施の形態1におけるコマンドの説明図Explanatory drawing of commands in the first embodiment 実施の形態1におけるゲートウェイ、サーバが管理する管理情報Management information managed by the gateway and server in the first embodiment 実施の形態1におけるゲートウェイのフローチャートFlowchart of the gateway in the first embodiment 実施の形態1におけるサーバのフローチャートFlowchart of server in the first embodiment 実施の形態1におけるサーバのフローチャートFlowchart of server in the first embodiment 実施の形態2におけるネットワーク全体のシーケンス図Sequence diagram of entire network in embodiment 2 実施の形態3におけるネットワーク全体のシーケンス図Sequence diagram of the entire network in the third embodiment 実施の形態4及び実施の形態5におけるネットワーク全体構成図Overall network configuration diagram in the fourth and fifth embodiments

実施の形態1.
図1は本実施の形態におけるマルチホップネットワーク全体の構成図である。マルチホップワークは、サーバ100、集約局200及び201、ノード300乃至308から構成される。
Embodiment 1 FIG.
FIG. 1 is a configuration diagram of the entire multi-hop network in the present embodiment. The multi-hop work includes a server 100, aggregation stations 200 and 201, and nodes 300 to 308.

サーバ100は、ネットワークの経路や状態を管理し、配下にあるゲートウェイ200、ゲートウェイ201を介して各ノードと通信することができる。サーバ100は、配下にあるゲートウェイ200、ゲートウェイ201のメンテナンス期限をデータベース(図示せず)で管理し、ゲートウェイ200、ゲートウェイ201が設置された初回またはメンテナンス期限に変更があった場合にメンテナンス期限を変更があったゲートウェイ200、ゲートウェイ201に通知する。また、メンテナンス期限から一定期間前である停止準備時になった場合に該当するゲートウェイ200、ゲートウェイ201に対してメンテナンス通知を送信する。また、オペレータからの操作によりゲートウェイに対してメンテナンス通知を送信する場合もある。なお、ここではサーバ100が管理する期限としてメンテナンス期限として説明するが、これに限られずゲートウェイ200、ゲートウェイ201の機能が停止する期限であるゲートウェイの機能停止期限であればよい。 The server 100 manages the route and state of the network, and can communicate with each node via the gateway 200 and the gateway 201 under its control. The server 100 manages the maintenance deadlines of the gateways 200 and 201 under its control by a database (not shown), and changes the maintenance deadline when the gateway 200 and the gateway 201 are installed for the first time or when the maintenance deadline is changed. Is notified to the gateway 200 and the gateway 201. In addition, a maintenance notification is transmitted to the gateway 200 and the gateway 201 when the stop preparation time, which is a certain period before the maintenance deadline, is reached. Also, a maintenance notification may be transmitted to the gateway by an operation from the operator. Here, the maintenance deadline is described as the deadline managed by the server 100. However, the deadline is not limited to this, and any gateway deadline for stopping the functions of the gateway 200 and the gateway 201 may be used.

ゲートウェイ200は、光回線や携帯回線などのIP網となる広域ネットワークを介して上位回線であるサーバ100と通信可能である。また、ゲートウェイ200は配下にある各ノード300と無線通信可能である。ゲートウェイ200が配下にあるノードと直接無線通信できない場合には、中継ノードを介して間接的に無線通信を行う。各ゲートウェイは互いに干渉を回避するために別チャネルを利用することが可能である。各ゲートウェイはメンテナンス期限を保持しており、メンテナンス期限になると機能が停止する。また、メンテナンス期限より前にサーバ100からメンテナンス通知を受けた場合には、所定の動作後に機能を停止する。また、各ゲートウェイは、メンテナンス期限より一定期間前である停止準備時を経過した場合、あるいは、サーバからメンテナンス通知を受信した場合には、配下にあるノードに対して自己が形成する無線マルチホップネットワークを離脱する指示が付与された離脱通知を送信する。ゲートウェイの構成については後述する。 The gateway 200 can communicate with the server 100 which is an upper line through a wide area network such as an optical line or a mobile line. The gateway 200 can wirelessly communicate with each node 300 under its control. When the gateway 200 cannot directly wirelessly communicate with a subordinate node, wireless communication is performed indirectly via a relay node. Each gateway can use a different channel to avoid interference with each other. Each gateway has a maintenance deadline, and the function stops when the maintenance deadline is reached. Further, when a maintenance notification is received from the server 100 before the maintenance deadline, the function is stopped after a predetermined operation. Each gateway is a wireless multi-hop network that it forms for its subordinate nodes when a preparatory stop time that is a certain period before the maintenance deadline has passed or when a maintenance notification is received from the server. Send a leave notice with instructions to leave. The configuration of the gateway will be described later.

ノード300乃至308は無線通信機能及び計量機能を有するノードである。ノード300乃至308はマルチホップでゲートウェイ200と無線通信が可能な通信装置である。各ノードは、直接ゲートウェイ200と無線通信できない場合、ゲートウェイ200間にあるノードを中継としてゲートウェイ200と無線通信する。例えば、ノード304がゲートウェイ200と無線通信する場合、ノード304は、ノード303を中継してゲートウェイ200と無線通信を行う。 Nodes 300 to 308 are nodes having a wireless communication function and a metering function. The nodes 300 to 308 are communication devices capable of wireless communication with the gateway 200 in multihop. When each node cannot wirelessly communicate with the gateway 200 directly, the node communicates wirelessly with the gateway 200 using a node between the gateways 200 as a relay. For example, when the node 304 performs wireless communication with the gateway 200, the node 304 relays the node 303 and performs wireless communication with the gateway 200.

ここでは、ノード300の計量機能として、使用した電力を積算し計量する電力量計として説明するが、この発明はこれに限られるものではない。電力量計の他に、使用したガスを積算計量するガスメーター、使用した水道量を積算計量する水道量計などがある。また、計量機能を有さずに中継ノードとしての役割のみを果たす場合もある。ノードの構成については後述する。 Here, the measurement function of the node 300 will be described as a watt-hour meter that integrates and measures used power, but the present invention is not limited to this. In addition to electricity meters, there are gas meters that integrate and meter used gas, and water meters that integrate and measure the amount of water used. Further, there is a case where only a role as a relay node is achieved without having a weighing function. The node configuration will be described later.

図2及び図3は、ゲートウェイ200がサーバ100との通信の死活監視を行い、サーバ100と通信できていないと判断した場合のネットワーク全体の構成図である。図2は、ゲートウェイ200はサーバ100と通信できていないと判断し、配下のノードに対して、このマルチホップネットワークから離脱させるためにブロードキャストまたはユニキャストで離脱通知を送信することを示している。ここで離脱通知とは、ノードに対して発信したゲートウェイ200が形成するマルチホップネットワークから離脱を指示するものである。ここでは、離脱通知を送信する場合として、ゲートウェイ200がサーバ100と通信していないと判断した場合として説明するがこれに限られない。他にも例えば、ゲートウェイ200のメンテナンスが必要となり、オペレータがサーバ100を操作してサーバ100からゲートウェイ200に対してメンテナンス通知を送信する場合などがある。なお、ここではサーバ100からゲートウェイ200に対するゲートウェイ200の機能を停止する通知をメンテナンス通知として説明するが、この発明はこれに限られるものではなく、ゲートウェイの機能を停止する通知である停止通知であればよい。 2 and 3 are configuration diagrams of the entire network when the gateway 200 performs life and death monitoring of communication with the server 100 and determines that communication with the server 100 is not possible. FIG. 2 shows that the gateway 200 determines that it cannot communicate with the server 100 and transmits a leave notification by broadcast or unicast to the subordinate nodes in order to leave the multi-hop network. Here, the leaving notification is an instruction to leave from the multi-hop network formed by the gateway 200 that has transmitted to the node. Here, although the case where it is determined that the gateway 200 is not communicating with the server 100 will be described as the case where the leave notification is transmitted, the present invention is not limited thereto. In addition, for example, there is a case where maintenance of the gateway 200 is necessary, and an operator operates the server 100 to transmit a maintenance notification from the server 100 to the gateway 200. Here, the notification for stopping the function of the gateway 200 from the server 100 to the gateway 200 will be described as the maintenance notification. However, the present invention is not limited to this, and may be a stop notification that is a notification for stopping the function of the gateway. That's fine.

離脱通知を受信した各ノードは周辺に存在する周辺ノードに離脱通知をブロードキャストまたはユニキャストで転送する。また、離脱通知を受信した各ノードは、その後、離脱状態に遷移する。離脱状態とは、ノードがゲートウェイ200までの経路を削除し離脱通知の発信もとであるゲートウェイ200が形成するマルチホップネットワークから離脱し、他のゲートウェイとの経路を構築する状態をいう。 Each node that has received the leave notification forwards the leave notification to peripheral nodes existing in the vicinity by broadcast or unicast. In addition, each node that has received the leave notification subsequently transitions to the leave state. The leaving state refers to a state in which a node deletes a route to the gateway 200, leaves the multi-hop network formed by the gateway 200 that is the source of the leaving notification, and constructs a route with another gateway.

図3は、各ノードが離脱通知を受信して離脱状態になった場合のシステム全体の構成図である。離脱通知を受信したノード300乃至308は離脱状態となり、ゲートウェイ200との経路を削除し別ゲートウェイ(例えばゲートウェイ201)を探索すべく経路探索要求をブロードキャストで送信する。ここでは、ノード300乃至308がゲートウェイ201を発見し、経路を構築する場合について説明する。ゲートウェイ201に近いノード306がゲートウェイ200を探索することができ、ゲートウェイ201とノード306において経路を構築する。次に、ノード307、ノード308がゲートウェイ201と経路を構築したノード306の存在を把握し、ノード306を中継としてゲートウェイ201までの経路を構築することができる。次に、ノード305がノード307、ノード306を中継とするゲートウェイ201までの経路を構築する。まだ経路を構築していないノード300乃至304も順次、中継ノードを介したゲートウェイ201との経路を探索しその経路を構築する。 FIG. 3 is a configuration diagram of the entire system when each node receives a leave notification and enters a leave state. The nodes 300 to 308 that have received the leave notification enter a leave state, and transmit a route search request by broadcast to delete the route with the gateway 200 and search for another gateway (for example, the gateway 201). Here, a case where the nodes 300 to 308 discover the gateway 201 and construct a route will be described. A node 306 close to the gateway 201 can search for the gateway 200, and a path is established between the gateway 201 and the node 306. Next, the node 307 and the node 308 can grasp the existence of the node 306 that has established a route with the gateway 201, and can construct a route to the gateway 201 by using the node 306 as a relay. Next, the node 305 constructs a route to the gateway 201 using the nodes 307 and 306 as a relay. The nodes 300 to 304 that have not yet constructed a route also sequentially search for a route with the gateway 201 via the relay node and construct the route.

図4は、図1乃至図3に示したゲートウェイ200の機能構成を示すブロック図である。ゲートウェイ200は、送受信部211、制御部212、不揮発メモリ213及びクロック214を備える。 FIG. 4 is a block diagram illustrating a functional configuration of the gateway 200 illustrated in FIGS. 1 to 3. The gateway 200 includes a transmission / reception unit 211, a control unit 212, a nonvolatile memory 213, and a clock 214.

送受信部211は、光回線や携帯回線などのIP網となる広域ネットワークを介して上位回線であるサーバ100と通信する。また、ゲートウェイ200は配下にある各ノードと無線通信する。送受信部211は、ノードから定期的に送信されてくる検針データを受信しサーバ100へ送信し、サーバ100からの様々な制御要求をノードに送信する。またサーバからの停止通知を受信し制御部の指示に従い配下のノードに対して離脱通知を送信する。 The transmission / reception unit 211 communicates with the server 100, which is an upper line, via a wide area network that is an IP network such as an optical line or a mobile line. The gateway 200 communicates wirelessly with each subordinate node. The transmission / reception unit 211 receives meter reading data periodically transmitted from the node, transmits the data to the server 100, and transmits various control requests from the server 100 to the node. In addition, a stop notification from the server is received, and a leave notification is transmitted to the subordinate nodes according to instructions from the control unit.

制御部212は、CPU(Central Processing Unit)、制御プログラムを記憶するROM(Read Only Memory:図示せず)、CPUの作業領域として使用されるRAM(Random Access Memory:図示せず)等から構成される。制御部212は、アプリ制御部215、時刻管理部216、経路制御部217、撤去管理部218、通信状態検知部219、離脱判断部220を備える。 The control unit 212 includes a CPU (Central Processing Unit), a ROM (Read Only Memory: not shown) for storing a control program, a RAM (Random Access Memory: not shown) used as a work area of the CPU, and the like. The The control unit 212 includes an application control unit 215, a time management unit 216, a route control unit 217, a removal management unit 218, a communication state detection unit 219, and a withdrawal determination unit 220.

アプリ制御部215は、制御プログラムを実行することによりゲートウェイ200の各部の動作を制御する。時刻管理部216は現在の時刻を管理する。通信検知部219はサーバ100との通信状態を検知し通信がない状態が一定期間続く場合には送受信部211に対して離脱通知を配下のノードに対して送信するように指示する。撤去管理部218は自己がメンテナンス等のために撤去されるメンテナンス期限を管理する。経路制御部217は、自己とノードとの経路情報を管理する。離脱判定部220は、撤去管理部218が管理しているメンテナンス期限の一定期間前の停止準備時を経過しているか否かを判定し、経過していれば送受信部211に対して離脱通知を配下のノードに送信させる。また、サーバ100からゲートウェイ200の機能を停止すべきとのメンテナンス通知を受信した場合には送受信部211に対して離脱通知を配下のノードに送信させる。 The application control unit 215 controls the operation of each unit of the gateway 200 by executing a control program. The time management unit 216 manages the current time. The communication detection unit 219 detects the communication state with the server 100 and instructs the transmission / reception unit 211 to transmit a disconnection notification to a subordinate node when there is no communication for a certain period. The removal management unit 218 manages the maintenance deadline for self removal for maintenance or the like. The route control unit 217 manages route information between itself and a node. The departure determination unit 220 determines whether or not the stop preparation time before a certain period of the maintenance deadline managed by the removal management unit 218 has elapsed, and if it has elapsed, notifies the transmission / reception unit 211 of the departure. Send to subordinate node. In addition, when a maintenance notification indicating that the function of the gateway 200 should be stopped is received from the server 100, the transmission / reception unit 211 transmits a leave notification to a subordinate node.

図5は、図1に示したノードの機能構成を示すブロック図である。ノードは、送受信部311、制御部312、メモリ313及びクロック314を備えている。また、ノードは、当該ノードが配置される電力需要家における電力量計400と接続する。ここでは電力量計400はノードの外付けとして説明するがノード内に電力量計400を備えてもよい。 FIG. 5 is a block diagram showing a functional configuration of the node shown in FIG. The node includes a transmission / reception unit 311, a control unit 312, a memory 313, and a clock 314. Further, the node is connected to a watt-hour meter 400 in a power consumer where the node is arranged. Here, the watt-hour meter 400 will be described as an external node, but the watt-hour meter 400 may be provided in the node.

送受信部311は、ゲートウェイ200や他のノードと無線でデータ通信を行う。また、送受信部311は、他のノードから定期的に送信されてくる電力量計400の検針データと自身の検針データとのサーバ100への送信、サーバ100からのノード及び電力量計400への様々な制御要求の送受信を行う。ノード自身から発するHELLOメッセージ、TCメッセージや経路探索要求(ルートリクエスト)、経路探索応答等のネットワークの維持や経路を構築する制御メッセージを発信し、ゲートウェイ200や他ノードから受信したこれらのメッセージを転送もしくは応答をする。また、離脱通知を受信して他のノードに転送する機能も有する。 The transmission / reception unit 311 performs data communication with the gateway 200 and other nodes wirelessly. In addition, the transmission / reception unit 311 transmits the meter reading data of the watt-hour meter 400 and its own meter reading data periodically transmitted from other nodes to the server 100, the node from the server 100, and the watt-hour meter 400. Send and receive various control requests. Control messages for network maintenance and path construction such as HELLO messages, TC messages, route search requests (route requests), route search responses, etc., sent from the node itself, and those messages received from the gateway 200 and other nodes are transferred. Or respond. It also has a function of receiving a leave notification and transferring it to another node.

制御部312は、CPU(Central Processing Unit)、制御プログラムを記憶するROM(Read Only Memory:図示せず)、CPUの作業領域として使用されるRAM(Random Access Memory:図示せず)等から構成され、CPUが制御プログラムを実行することによりノードの各部の動作を制御する。制御部312は、アプリ制御部315、時刻管理部316、経路制御部317、撤去管理部318を備える。 The control unit 312 includes a CPU (Central Processing Unit), a ROM (Read Only Memory: not shown) that stores a control program, a RAM (Random Access Memory: not shown) used as a work area of the CPU, and the like. The CPU controls the operation of each part of the node by executing the control program. The control unit 312 includes an application control unit 315, a time management unit 316, a route control unit 317, and a removal management unit 318.

アプリ制御部315は、電力量計400の検針データを定期的に読み取る処理を制御する。時刻管理部316は現在の時刻を管理する。経路制御部317は、自己と他のノードとの間の接続情報を管理し、また、他のノードが発信する経路情報を受信し、メモリに各ノードの識別情報に関連付けて記憶する。 The application control unit 315 controls processing for periodically reading the meter reading data of the watt-hour meter 400. The time management unit 316 manages the current time. The route control unit 317 manages connection information between itself and other nodes, receives route information transmitted by other nodes, and stores the route information in association with identification information of each node.

図6は、ゲートウェイ200がサーバ100との通信の異常を検出した場合のネットワーク全体のシーケンスである。ゲートウェイ200とサーバ100間の通信の異常とは、ゲートウェイ200がサーバ100と死活監視の通信を行い一定期間通信できなかった場合がある。なお、ここではゲートウェイ200がサーバ100との通信の異常を検出した場合について説明するが、ゲートウェイ200がサーバ100からメンテナンス通知を受信した場合も同様の動作を行う。 FIG. 6 is a sequence of the entire network when the gateway 200 detects an abnormality in communication with the server 100. An abnormality in communication between the gateway 200 and the server 100 may be that the gateway 200 communicates with the server 100 for alive monitoring and cannot communicate for a certain period. Although the case where the gateway 200 detects an abnormality in communication with the server 100 will be described here, the same operation is performed when the gateway 200 receives a maintenance notification from the server 100.

ゲートウェイ200はサーバ100と死活監視のために定期的に通信し、一定期間応答がないなどの異常を検知した場合、上位回線の異常を検知したとして離脱通知をブロードキャストまたはユニキャストで送信する。ゲートウェイ200は離脱通知を送信することにより自身のネットワークに存在するノードを他のゲートウェイに切り替えさせることができる。 The gateway 200 periodically communicates with the server 100 for life and death monitoring. When an abnormality such as no response is detected for a certain period of time, the gateway 200 detects that an abnormality of the upper line is detected and transmits a disconnection notification by broadcast or unicast. The gateway 200 can switch a node existing in its own network to another gateway by transmitting a leave notification.

離脱通知を受信したノード303は離脱通知をブロードキャストまたはユニキャストで転送するとともに自身は離脱状態となる。離脱状態となったノードは通信できるゲートウェイを探索するため、システムとして使用できる全チャネルで経路探索要求を発信する。ここで、システムとして使用できる全チャネルに対して経路探索要求を発信するのは、各ゲートウェイが異なるチャネルを利用している場合に、各ゲートウェイをひろく探索するためである。ノード303からの離脱通知を受信したノード304、ノード305も同様の動作を行う。 The node 303 that has received the leave notification transfers the leave notification by broadcast or unicast, and enters a leave state. Since the node that has left the network searches for a gateway that can communicate, it sends a route search request on all channels that can be used as a system. Here, the reason why the route search request is transmitted to all channels that can be used as the system is to search for each gateway extensively when each gateway uses a different channel. The node 304 and the node 305 that have received the leave notification from the node 303 perform the same operation.

ゲートウェイ200が形成したネットワークを離脱した各ノードは経路探索要求をブロードキャストで送信する。ここではノード303は経路探索要求をブロードキャストで発信し、ゲートウェイ201から経路探索応答を受信することでノード303とゲートウェイ201間の経路を構築することが可能となる。順次ノード304、ノード305も同様に経路を構築する。 Each node leaving the network formed by the gateway 200 transmits a route search request by broadcast. Here, the node 303 transmits a route search request by broadcast, and receives a route search response from the gateway 201, so that a route between the node 303 and the gateway 201 can be established. The node 304 and the node 305 construct a route in the same manner.

以上の動作により、ゲートウェイ200がサーバ100との通信の異常を検出してゲートウェイ200が離脱通知を発した場合、ゲートウェイ200がサーバ100からメンテナンス通知を受け配下のノードに対して離脱通知を発した場合には、簡易な構成で自己に属しているノードを少ないトラヒックでかつ速やかに他のゲートウェイ201に切り替えることが可能となる。 Through the above operation, when the gateway 200 detects an abnormality in communication with the server 100 and the gateway 200 issues a leave notification, the gateway 200 receives a maintenance notification from the server 100 and issues a leave notification to the subordinate nodes. In this case, it becomes possible to quickly switch a node belonging to itself to another gateway 201 with a small amount of traffic with a simple configuration.

図7は、本実施の形態で使用するコマンドである。メンテナンス通知とは、サーバ100が該当するゲートウェイ200、ゲートウェイ201に対してメンテナンスが発生することの通知をいう。このメンテナンス通知を受信したゲートウェイ200、ゲートウェイ201は配下のノードに対して離脱通知を送信する。メンテナンス通知のヘッダは01として説明する。メンテナンス期限通知とは、サーバ100が該当するゲートウェイ200、ゲートウェイ201に対してするメンテナンス予定の時刻の通知いう。ゲートウェイ200、ゲートウェイ201は受信したメンテナンス期限から一定時間前に離脱通知を発信する。メンテナンス期限通知のヘッダは02として説明する。離脱通知とは、ゲートウェイ200が該当ノードに対して、ゲートウェイ200が所属するネットワークからの離脱を指示するものである。この離脱通知を受信したノードは発信元のゲートウェイ200が形成するネットワークから離脱する。離脱通知のヘッダは03として説明する。 FIG. 7 shows commands used in the present embodiment. The maintenance notification is a notification that maintenance will occur for the gateway 200 and the gateway 201 to which the server 100 corresponds. The gateway 200 and the gateway 201 that have received the maintenance notification transmit a leave notification to the subordinate nodes. The header of the maintenance notification will be described as 01. The maintenance deadline notification refers to notification of the scheduled maintenance time that the server 100 makes to the corresponding gateway 200 and gateway 201. The gateway 200 and the gateway 201 issue a withdrawal notification a predetermined time before the received maintenance deadline. The header of the maintenance deadline notification will be described as 02. With the leaving notification, the gateway 200 instructs the corresponding node to leave the network to which the gateway 200 belongs. The node that has received this leave notification leaves the network formed by the originating gateway 200. A description will be given assuming that the header of the leaving notification is 03.

図8は、サーバ100、ゲートウェイ200、ゲートウェイ201が管理する管理情報を示す。ゲートウェイ200、ゲートウェイ201は少なくとも現在時刻とメンテナンス期限を管理する。メンテナンス期限は、ゲートウェイ200、ゲートウェイ201の前回のメンテナンス時に設定される場合、サーバ100からのメンテナンス期限通知に基づいて設定される場合がある。サーバ100は各ゲートウェイ200、ゲートウェイ201のID情報とそのゲートウェイIDに対応したメンテナンス期限を管理する。 FIG. 8 shows management information managed by the server 100, the gateway 200, and the gateway 201. The gateway 200 and the gateway 201 manage at least the current time and the maintenance deadline. When the maintenance deadline is set during the previous maintenance of the gateway 200 and the gateway 201, the maintenance deadline may be set based on a maintenance deadline notification from the server 100. The server 100 manages the ID information of each gateway 200 and gateway 201 and the maintenance deadline corresponding to the gateway ID.

図9は、ゲートウェイ200のメンテナンス時のフロー図である。ステップ1でサーバ100からメンテナンス期限通知を受信したか判定をする。ステップ1で、メンテナンス期限通知を受信している場合には、ステップ2においてメンテナンス期限を更新する。 FIG. 9 is a flowchart at the time of maintenance of the gateway 200. In step 1, it is determined whether a maintenance deadline notification is received from the server 100. If the maintenance deadline notification is received in step 1, the maintenance deadline is updated in step 2.

ステップ1で、メンテナンス期限通知を受信していない場合またはステップ2でメンテナンス期限を更新した場合、ステップ3において、サーバ100よりメンテナンス通知があるか判断する。ステップ3において、メンテナンス通知がある場合には、ステップ4において、離脱通知を配下のノードに送信し処理終了となる。 If the maintenance deadline notification is not received in step 1 or if the maintenance deadline is updated in step 2, it is determined in step 3 whether there is a maintenance notification from the server 100. In step 3, if there is a maintenance notification, in step 4, a leave notification is transmitted to the subordinate nodes, and the processing is terminated.

一方、ステップ3でメンテナンス通知がない場合には、ステップ5において、メンテナンス期限の有無を判断する。なおメンテナンス期限は予めゲートウェイ200に設定されている場合、サーバ100よりメンテナンス期限通知に基づいてゲートウェイ200に設定される場合がある。 On the other hand, if there is no maintenance notification in step 3, it is determined in step 5 whether there is a maintenance deadline. When the maintenance deadline is set in advance in the gateway 200, the server 100 may set the maintenance deadline on the gateway 200 based on the maintenance deadline notification.

ステップ5において、メンテナンス期限がある場合、ステップ6においてメンテナンス期限と現在時刻を比較し、現在時刻がメンテナンス期限の一定時間以内か否か判断する。すなわち、停止準備時を経過しているか否かを判断する。一定時間以内である場合、離脱通知を配下のノードに送信し処理終了となる。一方、現在時刻がメンテナンス期限の一定時間以内でなければステップ1に戻る。 If there is a maintenance deadline in step 5, the maintenance deadline is compared with the current time in step 6 to determine whether or not the current time is within a certain time of the maintenance deadline. That is, it is determined whether the stop preparation time has elapsed. If it is within a certain time, a leave notification is transmitted to the subordinate node, and the process ends. On the other hand, if the current time is not within a certain period of the maintenance deadline, the process returns to step 1.

図10は、サーバ100でメンテナンス通知を発信する際のフロー図である。ステップ1において、サーバ100のデータベースで管理する現在時刻とメンテナンス期限の比較を行う。ステップ1において、現在時刻とメンテナンス期限の差が一定時間以内であれば、ステップ2においてメンテナンス通知を該当ゲートウェイ200に送信する。 FIG. 10 is a flowchart when the server 100 sends a maintenance notification. In step 1, the current time managed by the database of the server 100 is compared with the maintenance deadline. In step 1, if the difference between the current time and the maintenance deadline is within a certain time, a maintenance notification is transmitted to the corresponding gateway 200 in step 2.

ステップ1において一定時間内でない場合、ステップ3においてメンテナンス解除の通知を該当ゲートウェイ200に送信する。ステップ1乃至ステップ3をサーバ100が管理する全ゲートウェイ(ここではゲートウェイ200、ゲートウェイ201)に対して実施する。この動作によりメンテナンス期限が近いゲートウェイ(ここではゲートウェイ200)に対してメンテナンス通知を自動的に送信することが可能となる。 If it is not within the predetermined time in step 1, a maintenance release notification is transmitted to the gateway 200 in step 3. Steps 1 to 3 are performed for all gateways (here, gateway 200 and gateway 201) managed by the server 100. With this operation, a maintenance notification can be automatically transmitted to a gateway (mainly gateway 200) whose maintenance deadline is near.

次に、ステップ4において、サーバ100におけるオペレータの強制操作の有無の判定をする。ステップ4で強制操作があれば、ステップ5においてメンテナンス通知を該当ゲートウェイ200、ゲートウェイ201に送信する。ステップ4においてオペレータの強制操作がない場合、ステップ5においてメンテナンス通知を該当ゲートウェイ200、ゲートウェイ201に送信した場合、処理は終了する。 Next, in step 4, it is determined whether or not the operator has forcibly operated the server 100. If there is a forced operation in step 4, a maintenance notification is transmitted to the corresponding gateway 200 and gateway 201 in step 5. If there is no forced operation by the operator in step 4, the process ends when a maintenance notification is transmitted to the gateway 200 and gateway 201 in step 5.

図11は、サーバ100でメンテナンス期限通知を発信する際のフロー図である。ステップ1において、サーバ100内のデータベースで管理するメンテナンス期限の変更の有無を判断する。なお、メンテナンス期限の変更とは、メンテナンス期限が変更になった場合、当初メンテナンス期限がなかったのにメンテナンス期限が発生した場合、当初メンテナンス期限がなかったのにメンテナンス期限が消去された場合がある。ステップ1で変更がある場合には、ステップ2において、サーバ100内のデータベースで管理するメンテナンス期限の有無を判断する。一方、ステップ1において変更がない場合には処理は終了する。 FIG. 11 is a flowchart when the server 100 sends a maintenance deadline notification. In step 1, it is determined whether or not there is a change in the maintenance deadline managed by the database in the server 100. The maintenance deadline is a change in the maintenance deadline. If the maintenance deadline occurs when there is no initial maintenance deadline, the maintenance deadline may be erased even though there was no initial maintenance deadline. . If there is a change in step 1, it is determined in step 2 whether there is a maintenance deadline managed by the database in the server 100. On the other hand, if there is no change in step 1, the process ends.

ステップ2においてメンテナンス期限を有する場合、ステップ3においてメンテナンス期限通知を該当ゲートウェイ200に送信する。一方、メンテナンス期限を有しない場合、ステップ4においてメンテナンス期限が消去されたことを該当ゲートウェイ200に送信する。この動作は、サーバが管理する全ゲートウェイ(ここではゲートウェイ200、ゲートウェイ201)に対して実施する。このように動作することで、変更後のメンテナンス期限をゲートウェイ200、ゲートウェイ201に対して送信することが可能となる。 If there is a maintenance deadline in step 2, a maintenance deadline notice is transmitted to the gateway 200 in step 3. On the other hand, if there is no maintenance deadline, the fact that the maintenance deadline has been erased in step 4 is transmitted to the gateway 200. This operation is performed for all gateways managed by the server (here, gateway 200 and gateway 201). By operating in this way, it becomes possible to transmit the maintenance deadline after the change to the gateway 200 and the gateway 201.

以上の動作により、ゲートウェイ200で停止予告時を経過したと判断した場合、ゲートウェイ200がサーバ100から停止指示を受信した場合、または、ゲートウェイ200がサーバ100と一定期間通信できない場合、少ないトラヒックでかつ速やかにゲートウェイ配下のノードを他のゲートウェイ201に切り替え可能となる。 With the above operation, when it is determined that the gateway 200 has passed the stop notice time, when the gateway 200 receives a stop instruction from the server 100, or when the gateway 200 cannot communicate with the server 100 for a certain period of time, the traffic is low. It is possible to quickly switch a node under the gateway to another gateway 201.

実施の形態2.
この実施の形態では、実施の形態1と異なる部分についてのみ説明する。図12は、ゲートウェイ200がメンテナンスにより機能が停止する場合に、ゲートウェイ200がチャネル情報を含めた離脱通知を送信する場合のシーケンスである。
Embodiment 2.
In this embodiment, only the parts different from the first embodiment will be described. FIG. 12 is a sequence in the case where the gateway 200 transmits a leave notification including channel information when the function of the gateway 200 is stopped due to maintenance.

ゲートウェイ200は、サーバ100よりメンテナンス通知を受信しその機能を停止する場合、マルチホップネットワークを維持できないメンテナンス予定状態となる。このためゲートウェイ200は自身のネットワークに存在するノードを他のゲートウェイ201に切り替えさせないとノードとサーバ100は通信できなくなる。このためゲートウェイ200は離脱通知をブロードキャストまたはユニキャストで送信する。このとき離脱通知には、ゲートウェイ200の周辺のゲートウェイ(例えば、ゲートウェイ201)が利用しているチャネルのチャネル情報を含める。 When the gateway 200 receives the maintenance notification from the server 100 and stops its function, the gateway 200 enters a maintenance scheduled state where the multi-hop network cannot be maintained. Therefore, the gateway 200 cannot communicate with the server 100 unless the node existing in its network is switched to another gateway 201. For this reason, the gateway 200 transmits a leave notification by broadcast or unicast. At this time, the leave notification includes channel information of channels used by gateways around the gateway 200 (for example, the gateway 201).

離脱通知を受信したノード303は離脱通知をブロードキャストまたはユニキャストで転送するとともに離脱状態となる。離脱状態となったノードは周辺に使用できるゲートウェイが存在しないか経路探索を行う。この際、離脱通知に含まれたゲートウェイ200の周辺のゲートウェイが利用しているチャネルを使用して経路探索を行う。 The node 303 that has received the leave notification transfers the leave notification by broadcast or unicast and enters a leave state. The node that has left the network performs a route search for a gateway that can be used in the vicinity. At this time, the route search is performed using the channel used by the gateways around the gateway 200 included in the leaving notification.

離脱したノード303はゲートウェイ200の周辺のゲートウェイが利用しているチャネルで経路探索を要求し、ゲートウェイ200と異なるゲートウェイであるゲートウェイ201からの応答を受信することで経路を構築する。同様にノード304、305はノード303を中継したゲートウェイ201までの経路を構築する。 The detached node 303 requests a route search using a channel used by gateways around the gateway 200, and constructs a route by receiving a response from the gateway 201, which is a gateway different from the gateway 200. Similarly, the nodes 304 and 305 construct a route to the gateway 201 that relays the node 303.

以上の動作によりゲートウェイ200がメンテナンスなどでゲートウェイとしての機能が停止する場合、ノードとゲートウェイ201が疎通確認などの情報交換をすることなく、別ゲートウェイが利用しているチャネルを利用して、別ゲートウェイ201への切り替えが可能となる。また、ゲートウェイ200がゲートウェイとしての機能が停止する場合、ノードがゲートウェイ200の異常を認識するまでの時間を短縮し、速やかに別ゲートウェイへの切り替えが可能となる。 When the gateway 200 stops functioning due to maintenance or the like due to the above operations, the node and the gateway 201 use the channel used by another gateway without exchanging information such as communication confirmation. Switching to 201 is possible. Further, when the gateway 200 stops functioning as a gateway, the time required until the node recognizes the abnormality of the gateway 200 is shortened, and it is possible to quickly switch to another gateway.

実施の形態3
この実施の形態では、上記の実施の形態と異なる部分についてのみ説明する。図13は、ゲートウェイ200がメンテナンスにより機能停止する際に、周辺のゲートウェイ情報を含む離脱通知を送信する際のネットワーク全体のシーケンスである。
Embodiment 3
In this embodiment, only different portions from the above embodiment will be described. FIG. 13 is a sequence of the entire network when the gateway 200 stops functioning due to maintenance and transmits a leave notification including peripheral gateway information.

ゲートウェイ200は、サーバ100よりメンテナンス通知を受信しゲートウェイとしての機能を停止する場合、メンテナンス予定状態となり、マルチホップネットワークを維持できない状態となる。このメンテナンス予定状態でゲートウェイ200は自身のネットワークに存在するノードを他のゲートウェイ(ここではゲートウェイ201)に切り替えないとノードとサーバ100は通信できない。このため、ゲートウェイ200は離脱通知をブロードキャストまたはユニキャストで送信する。このとき離脱通知には、サーバ100から送信されたメンテナンス通知に含まれている周辺のゲートウェイ(例えば、ゲートウェイ201)のID情報を付加する。なお、サーバ100は、自己が管理するゲートウェイの地理的な位置を記憶しておりメンテナンスが必要なゲートウェイ200の周辺のゲートウェイ201のID情報を把握することができる。 When the gateway 200 receives a maintenance notification from the server 100 and stops functioning as a gateway, the gateway 200 enters a maintenance scheduled state and cannot maintain a multi-hop network. In this scheduled maintenance state, the gateway 200 cannot communicate with the server 100 unless the node existing in its network is switched to another gateway (here, the gateway 201). For this reason, the gateway 200 transmits a leave notification by broadcast or unicast. At this time, ID information of peripheral gateways (for example, gateway 201) included in the maintenance notification transmitted from the server 100 is added to the leave notification. Note that the server 100 stores the geographical position of the gateway managed by the server 100, and can grasp the ID information of the gateways 201 around the gateway 200 requiring maintenance.

離脱通知を受信したノード303は離脱通知をブロードキャストまたはユニキャストで転送するとともに離脱状態となる。離脱状態となったノード303は周辺のゲートウェイを探索するために、システムとして使用する全チャネルで経路探索をする。 The node 303 that has received the leave notification transfers the leave notification by broadcast or unicast and enters a leave state. The node 303 that has left the network searches for a route in all channels used as a system in order to search for neighboring gateways.

離脱したノード303はゲートウェイへの経路探索を要求し、周辺のゲートウェイのID情報をもとに指定ゲートウェイであるゲートウェイ201からの経路探索の応答を受信することでノード303からゲートウェイ201までの経路を構築することができる。同様にノード304、ノード305はノード303を中継したゲートウェイ201までの経路を構築する。 The detached node 303 requests a route search to the gateway, and receives a route search response from the gateway 201 that is the designated gateway based on the ID information of the surrounding gateways, thereby determining the route from the node 303 to the gateway 201. Can be built. Similarly, the nodes 304 and 305 construct a route to the gateway 201 that relays the node 303.

以上の動作によりゲートウェイが故障、メンテナンスなどで使用できなくなった場合、ノードとゲートウェイ201が疎通確認などの情報交換をすることなく、別ゲートウェイ201への切替が可能となる。また、ノードがゲートウェイ200の異常を認識するまでの時間を短縮し、速やかに別ゲートウェイ201への切り替えが可能となる。 When the gateway becomes unavailable due to failure or maintenance due to the above operation, the node and the gateway 201 can be switched to another gateway 201 without exchanging information such as communication confirmation. Further, the time until the node recognizes the abnormality of the gateway 200 can be shortened, and the switching to another gateway 201 can be promptly performed.

実施の形態4
この実施の形態では、上記の実施の形態と異なる部分についてのみ説明する。この実施の形態では、上記の実施の形態と異なる部分についてのみ説明する。図14は、ゲートウェイ200がメンテナンスによる機能を停止する場合のシステム全体の構成図を示したものである。ゲートウェイ200は、自身がマルチホップネットワークを維持できないと判断し配下のノードを離脱させる。マルチホップネットワークを維持できないと判断する場合とは例えば、メンテナンス期限が迫っている場合がある。
Embodiment 4
In this embodiment, only different portions from the above embodiment will be described. In this embodiment, only different portions from the above embodiment will be described. FIG. 14 shows a configuration diagram of the entire system when the gateway 200 stops the function due to the maintenance. The gateway 200 determines that it cannot maintain the multi-hop network and leaves the subordinate node. The case where it is determined that the multi-hop network cannot be maintained may be, for example, that the maintenance deadline is approaching.

本実施の形態は、同時に全ての配下のノードに対して離脱通知を送信するとトラヒックの負荷が瞬時的に大きくなるため、予め決めたグループ毎に離脱通知を順次送信させるものである。ここでは、ノード300、ノード301及びノード302を第1のグループ、ノード303、ノード304、ノード305を第2のグループ、ノード306、ノード307及びノード308を第3のグループとし、切り替え先のゲートウェイ(ここでは、ゲートウェイ201)にグループ3、グループ2、グループ1の順に近いとして説明する。 In the present embodiment, if a leave notification is transmitted to all subordinate nodes at the same time, the traffic load increases instantaneously. Therefore, the leave notification is sequentially transmitted for each predetermined group. Here, the node 300, the node 301, and the node 302 are the first group, the node 303, the node 304, and the node 305 are the second group, and the node 306, the node 307, and the node 308 are the third group. (Here, the gateway 201) will be described as being in the order of group 3, group 2, and group 1.

ゲートウェイ200は各グループの最上位のノードであって、切り替え先のゲートウェイ201に近いノードであるノード306、ノード303、ノード300の順にユニキャストで離脱通知を送信する。このときノード306、ノード303、ノード300の順に離脱通知を送信するのは、グループ3、グループ2、グループ1の順にゲートウェイ201までの経路を構築させるためである。 The gateway 200 is the highest node in each group, and transmits a leave notification by unicast in the order of the node 306, the node 303, and the node 300, which are nodes close to the gateway 201 to be switched to. At this time, the reason for transmitting the leave notification in the order of the node 306, the node 303, and the node 300 is to construct a route to the gateway 201 in the order of group 3, group 2, and group 1.

離脱通知を受信したノードは、ゲートウェイ200が使用できなくなると判断し、離脱通知を受信した順にゲートウェイ200が構成するマルチホップネットワークから離脱し自身の下流のノードに対して離脱通知をブロードキャストまたはユニキャストで送信する。 The node that has received the leave notification determines that the gateway 200 cannot be used, and leaves the multi-hop network configured by the gateway 200 in the order in which the leave notification is received, and broadcasts or unicasts the leave notification to its downstream nodes. Send with.

離脱通知を受信したノードは経路上、自身の上位のノードからの離脱通知のみ有効とする。例えば、ノード301はノード300からの離脱通知は有効とするがノード303、ノード306からの離脱通知は無効とする。 The node that has received the leave notification is valid only for the leave notification from its own upper node on the route. For example, the node 301 validates the leave notification from the node 300 but invalidates the leave notification from the node 303 and the node 306.

このように動作することで、ゲートウェイ200の配下にあったノードが行う別ゲートウェイ201との経路の再構築を平準化したトラヒックで行うことができる。 By operating in this way, it is possible to reconstruct a route with another gateway 201 performed by a node under the control of the gateway 200 with leveled traffic.

実施の形態5
この実施の形態では、上記の実施の形態と異なる部分について図14を用いて説明する。ゲートウェイ200は、自身がマルチホップネットワークを維持できないと判断し、配下のノードを離脱させる。このとき、ノードを同時に離脱させるとトラヒックの負荷となるためグループ毎に離脱をさせる。本実施の形態では、ノード300、ノード301及びノード302を第1のグループ、ノード303、ノード304及びノード305を第2のグループ、ノード306、ノード307及びノード308を第3のグループとして説明する。
Embodiment 5
In this embodiment, parts different from the above embodiment will be described with reference to FIG. The gateway 200 determines that it cannot maintain the multi-hop network and leaves the subordinate node. At this time, if the nodes are detached at the same time, it becomes a traffic load, and therefore the nodes are separated for each group. In this embodiment, the node 300, the node 301, and the node 302 are described as a first group, the node 303, the node 304, and the node 305 are described as a second group, and the node 306, the node 307, and the node 308 are described as a third group. .

ゲートウェイ200は各グループの最上位のノード300、ノード303、ノード306にユニキャストの離脱通知を送信する。このとき離脱通知には、離脱する時刻が指定されており、その時刻は第1グループ、第2グループ、第3グループで異なる。また、指定時刻は、切り替え先となるゲートウェイ201に近い順に早くする。すなわち、第3グループ、第2グループ、第1グループの順で離脱する時刻が指定されている。 The gateway 200 transmits a unicast leave notification to the top node 300, node 303, and node 306 of each group. At this time, the leaving notification specifies the time to leave, and the time is different for the first group, the second group, and the third group. Also, the designated time is set earlier in the order closer to the gateway 201 that is the switching destination. That is, the time to leave in the order of the third group, the second group, and the first group is designated.

離脱通知を受信したノードは、ゲートウェイ200が使用できなくなると判断し、離脱通知で指定された時刻にゲートウェイ200が形成するマルチホップネットワークから離脱する。また離脱通知を受信した上位ノードは自身の下流のノードに対して離脱通知をブロードキャストまたはユニキャストで送信する。 The node that has received the leave notification determines that the gateway 200 cannot be used, and leaves the multi-hop network formed by the gateway 200 at the time designated by the leave notification. In addition, the upper node that has received the leave notification transmits the leave notification to the downstream node thereof by broadcast or unicast.

離脱通知を受信したノードは自身の上位経路からの離脱通知のみ有効とする。例えば、ノード301はノード300からの離脱通知は有効とするが、ノード303、ノード306からの離脱通知は無効とする。このように動作することでグループ毎に指定された異なる時刻にゲートウェイ200が形成するマルチホップネットワークから離脱し、別ゲートウェイ201との経路を構築する。この場合、順次別ゲートウェイ201に近いノードより順次経路が構築されていく。これにより、ゲートウェイ200の配下にあったノードが行う別ゲートウェイ201との経路の再構築を平準化したトラヒックで行うことができる。 A node that has received a leave notification is valid only from its own upper route. For example, the node 301 validates the leave notification from the node 300 but invalidates the leave notification from the nodes 303 and 306. By operating in this way, the gateway 200 leaves the multi-hop network formed by the gateway 200 at different times designated for each group, and constructs a route with another gateway 201. In this case, a path is sequentially constructed from nodes that are close to the separate gateway 201 sequentially. Thereby, the reconstruction of the route with the different gateway 201 performed by the node under the gateway 200 can be performed with the leveled traffic.

また、離脱通知をブロードキャストで送信した場合、到達保証がないため、確実な配信をする場合、ユニキャストで到達確認する。ここで、全ノードに到達確認すると、最初からユニキャスト配信をした場合と同様のトラヒックの増加になるため、最下流のノードにのみ到達確認をする。本実施の形態ではノード301、ノード302、ノード304、ノード305、ノード307、ノード308が該当し途中経路のノードは到達確認を省略する。 In addition, when a departure notification is transmitted by broadcast, since there is no guarantee of arrival, when reliable delivery is performed, arrival confirmation is performed by unicast. Here, when arrival confirmation is made for all nodes, traffic increases in the same way as when unicast distribution is performed from the beginning, so arrival confirmation is made only for the most downstream node. In this embodiment, the node 301, the node 302, the node 304, the node 305, the node 307, and the node 308 correspond, and the nodes on the way route omit the arrival confirmation.

以上の動作により、最下流のノードに送信が届いていれば、途中経路のノードは送信が届いているため確認を省略する。以上の動作により、少ないトラヒック量で、離脱通知の確実な配信が可能となる。 With the above operation, if the transmission has arrived at the most downstream node, the node on the midway route has received the transmission, so the confirmation is omitted. With the above operation, it is possible to reliably deliver the leave notification with a small amount of traffic.

100:サーバ、200、201:ゲートウェイ、300乃至308:ノード、211:送受信部、212:制御部(CPU)、213:不揮発メモリ、214:クロック、215:アプリ制御部、216:時刻管理部、217:経路制御部、218:撤去管理部、219:通信状態検知部、220:離脱判定部、311:送受信部、312:制御部(CPU)、313:不揮発メモリ、314:クロック、315:アプリ制御部、316:時刻管理部、317:経路制御部、318:撤去管理部、400:電力量計 100: Server, 200, 201: Gateway, 300 to 308: Node, 211: Transmission / reception unit, 212: Control unit (CPU), 213: Non-volatile memory, 214: Clock, 215: Application control unit, 216: Time management unit, 217: Route control unit, 218: Removal management unit, 219: Communication state detection unit, 220: Departure determination unit, 311: Transmission / reception unit, 312: Control unit (CPU), 313: Non-volatile memory, 314: Clock, 315: Application Control unit, 316: Time management unit, 317: Path control unit, 318: Removal management unit, 400: Electricity meter

Claims (16)

配下のノードとツリー状の無線メッシュネットワークを形成する集約局であって、
自己の機能が停止する機能停止期限から一定期間前である停止準備時を経過したか否かを
判定する判定部、
該判定部で停止準備時を経過したと判定された場合には、前記配下のノードに対して前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段、
を備えたことを特徴とする集約局。
An aggregation station that forms a tree-like wireless mesh network with subordinate nodes,
A determination unit that determines whether or not a stop preparation time that is a certain period before the function stop deadline at which the own function stops,
When it is determined by the determination unit that the stop preparation time has elapsed, a transmission unit that transmits a disconnection notification to the effect that the node should be disconnected from the wireless mesh network;
An aggregation station characterized by comprising
配下のノードとツリー状の無線メッシュネットワークを形成する集約局であって、
自己を管理するサーバから自己の機能を停止すべきとの停止通知を受信する受信部、
該受信部で受信した停止通知に基づいて、前記配下のノードに対して前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段、
を備え
前記離脱通知は、前記配下のノードがグループ分けされたグループ毎に異なる離脱すべき時刻が付与されたことを特徴とする集約局。
An aggregation station that forms a tree-like wireless mesh network with subordinate nodes,
A receiving unit that receives a stop notification from the server that manages the self that the self-function should be stopped;
Based on the stop notification received by the receiving unit, a transmission means for transmitting a disconnection notification to the effect that the subordinate node should leave the wireless mesh network;
Equipped with a,
The aggregation station , wherein the leaving notification is given a different time to leave for each group into which the subordinate nodes are grouped .
配下のノードとツリー状の無線メッシュネットワークを形成する集約局であって、
自己を管理するサーバとの通信状態から一定期間通信していないことを検知する検知部、
該検知部で前記サーバと一定期間通信していないことが検知された場合には、前記配下のノードに対して前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信手段、
を備え
前記離脱通知は、前記配下のノードがグループ分けされたグループ毎に異なる離脱すべき時刻が付与されたことを特徴とする集約局。
An aggregation station that forms a tree-like wireless mesh network with subordinate nodes,
A detection unit that detects that communication has not been performed for a certain period of time from the communication state with the server that manages itself,
A transmission means for transmitting, when the detection unit detects that it has not communicated with the server for a certain period of time, to the subordinate node to leave the wireless mesh network;
Equipped with a,
The aggregation station , wherein the leaving notification is given a different time to leave for each group into which the subordinate nodes are grouped .
前記離脱通知は、前記配下のノードがグループ分けされたグループ毎に異なる離脱すべき時刻が付与されたことを特徴とする請求項1に記載の集約局。 The aggregation station according to claim 1, wherein the leaving notification is given a different time to leave for each group into which the subordinate nodes are grouped. 前記離脱すべき時刻は、自己の位置に近いグループは遠いグループより前であることを特徴とする請求項2から4のいずれか1つに記載の集約局。 The aggregation station according to any one of claims 2 to 4, wherein the time to leave is for a group close to its own position before a distant group. 前記送信手段は、前記配下のノードがグループ分けされた各グループのうち自己の位置に近いノードに対して、切替先となる集約局に近い順に送信することを特徴とする請求項1からのいずれか1つに記載の集約局。 The transmitting means to the node close to the own position among the group of nodes are grouped in the subordinate claims 1 and transmits in sequence close to the central station which is a switching destination 3 The aggregation station according to any one of the above. 前記離脱通知には、他の集約局が利用している周波数帯域であるチャネル情報が付加されたことを特徴とする請求項1からのいずれか1つに記載の集約局。 The aggregation station according to any one of claims 1 to 3 , wherein channel information that is a frequency band used by another aggregation station is added to the leave notification. 前記離脱通知には、他の集約局の識別標識となる集約局IDが付加されたことを特徴とする請求項1からのいずれか1つに記載の集約局。 Central station according to the in leave notification is any one of claims 1 to 3, characterized in that the central station ID as the identification mark of the other central station is added. 集約局の配下にあり前記集約局とともにツリー状の無線メッシュネットワークを形成するノードであって、
前記集約局からおよび他のノードから前記無線メッシュネットワークを離脱すべき旨の離脱通知を受信する受信部、
該受信部で受信した離脱通知を他のノードに転送するとともに前記集約局以外の他の集約局を探索するための経路探索要求をブロードキャストにより送信する送信部、
を備えたことを特徴とするノード。
A node that is under the control of an aggregation station and forms a tree-like wireless mesh network with the aggregation station,
A receiving unit that receives a leaving notification indicating that the wireless mesh network should leave from the aggregation station and from another node ;
A transmission unit that transmits a route search request for searching for an aggregation station other than the aggregation station by transferring the leave notification received by the reception unit to another node;
A node characterized by comprising:
前記離脱通知には、前記他の集約局が利用している周波数帯域であるチャネル情報が付加されたことを特徴とする請求項9に記載のノード。 The node according to claim 9, wherein channel information that is a frequency band used by the other aggregation station is added to the leave notification. 前記離脱通知には、前記他の集約局の識別標識となる集約局IDが付加されたことを特徴とする請求項9に記載のノード。 The node according to claim 9, wherein an aggregation station ID serving as an identification mark of the other aggregation station is added to the leave notification. 前記送信部は、前記受信部が自己から前記集約局までの経路上で上位のノードから離脱通知を受信した場合にのみ前記離脱通知を前記他のノードに転送することを特徴とする請求項9から11のいずれか1つに記載のノード。 The transmission unit transfers the leave notification to the other node only when the receiving unit receives a leave notification from a higher-order node on a route from the receiving station to the aggregation station. The node according to any one of 11 to 11. 配下のノードとツリー状の無線メッシュネットワークを形成する集約局の通信方法であって、
自己の機能が停止する機能停止期限から一定期間前である停止準備時を経過したか否かを判定する判定ステップ、
該判定ステップで停止準備時を経過したと判定された場合には、前記配下のノードに対して前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信ステップ、
を備えたことを特徴とする集約局の通信方法。
A communication method of an aggregation station that forms a tree-like wireless mesh network with subordinate nodes,
A determination step for determining whether or not a stop preparation time, which is a certain period before the function stop deadline at which the own function stops, has elapsed,
If it is determined that the stop preparation time has elapsed in the determination step, a transmission step of transmitting a disconnection notification indicating that the node should be disconnected from the wireless mesh network;
A communication method for an aggregation station, comprising:
配下のノードとツリー状の無線メッシュネットワークを形成する集約局の通信方法であって、
自己を管理するサーバから自己の機能を停止すべきとの停止通知を受信する受信ステップ、
該受信ステップで受信した停止通知に基づいて、前記配下のノードに対して自己が形成する前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信ステップ、
を備え
前記離脱通知は、前記配下のノードがグループ分けされたグループ毎に異なる離脱すべき時刻が付与されたことを特徴とする集約局の通信方法。
A communication method of an aggregation station that forms a tree-like wireless mesh network with subordinate nodes,
A receiving step for receiving a stop notification from the server that manages the self that the function of the self should be stopped;
Based on the stop notification received in the reception step, a transmission step of transmitting a leave notification indicating that it should leave the wireless mesh network formed by itself to the subordinate node;
Equipped with a,
The communication method of the aggregation station, wherein the leaving notification is given a different time to leave for each group into which the subordinate nodes are grouped .
配下のノードとツリー状の無線メッシュネットワークを形成する集約局の通信方法であって、
自己を管理するサーバとの通信状態から一定期間通信していないことを検知する検知ステップ、
該検知ステップで前記サーバと一定期間通信していない場合には、前記配下のノードに対して前記無線メッシュネットワークから離脱すべき旨の離脱通知を送信する送信ステップ、
を備え
前記離脱通知は、前記配下のノードがグループ分けされたグループ毎に異なる離脱すべき時刻が付与されたことを特徴とする集約局の通信方法。
A communication method of an aggregation station that forms a tree-like wireless mesh network with subordinate nodes,
A detection step for detecting that communication is not performed for a certain period of time from a communication state with a server that manages the self;
If the detection step does not communicate with the server for a certain period of time, a transmission step of transmitting a disconnection notification indicating that the node should be disconnected from the wireless mesh network;
Equipped with a,
The communication method of the aggregation station, wherein the leaving notification is given a different time to leave for each group into which the subordinate nodes are grouped .
集約局の配下にあり前記集約局とともにツリー状の無線メッシュネットワークを形成するノードの通信方法であって、
前記集約局からおよび他のノードから前記無線メッシュネットワークを離脱すべき旨の離脱通知を受信する受信ステップ、
該受信ステップで受信した離脱通知を転送するとともに前記集約局以外の他の集約局を探索するための経路探索要求をブロードキャストにより送信する送信ステップ、
を備えたことを特徴とするノードの通信方法。
A communication method of a node under a central station and forming a tree-like wireless mesh network together with the central station,
A receiving step of receiving a leave notification to leave the wireless mesh network from the aggregation station and from other nodes ;
A transmission step of transmitting a route search request for searching for an aggregation station other than the aggregation station by broadcasting the disconnection notification received in the reception step;
A node communication method characterized by comprising:
JP2012241434A 2012-11-01 2012-11-01 Aggregation station, aggregation station communication method, node, node communication method Active JP6000066B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012241434A JP6000066B2 (en) 2012-11-01 2012-11-01 Aggregation station, aggregation station communication method, node, node communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012241434A JP6000066B2 (en) 2012-11-01 2012-11-01 Aggregation station, aggregation station communication method, node, node communication method

Publications (2)

Publication Number Publication Date
JP2014093583A JP2014093583A (en) 2014-05-19
JP6000066B2 true JP6000066B2 (en) 2016-09-28

Family

ID=50937401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012241434A Active JP6000066B2 (en) 2012-11-01 2012-11-01 Aggregation station, aggregation station communication method, node, node communication method

Country Status (1)

Country Link
JP (1) JP6000066B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6596871B2 (en) * 2015-03-27 2019-10-30 住友電気工業株式会社 COMMUNICATION DATA PROCESSING DEVICE, COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
JP7693592B2 (en) * 2022-03-14 2025-06-17 株式会社東芝 Network system, root node, edge node and program

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4663536B2 (en) * 2006-01-27 2011-04-06 京セラ株式会社 Wireless communication terminal and wireless communication method
JP2008211444A (en) * 2007-02-26 2008-09-11 Toshiba Corp Communication system and communication method
JP4894590B2 (en) * 2007-03-30 2012-03-14 ブラザー工業株式会社 Network system, information processing apparatus, and information processing program
WO2010130104A1 (en) * 2009-05-15 2010-11-18 华为终端有限公司 Method, device and system for controlling access point
JP5593041B2 (en) * 2009-06-12 2014-09-17 Takusu株式会社 Emergency call method and system
JP5672063B2 (en) * 2011-02-24 2015-02-18 富士通株式会社 Transmission control program, communication apparatus, and transmission control method
JP5353934B2 (en) * 2011-03-28 2013-11-27 ブラザー工業株式会社 Content data playback terminal device, distribution system, and program

Also Published As

Publication number Publication date
JP2014093583A (en) 2014-05-19

Similar Documents

Publication Publication Date Title
JP5249950B2 (en) Method and system for utility network outage detection
JP5836477B2 (en) Data communication apparatus, data communication system, and data communication method
US9601924B2 (en) Electrical power control device, electrical power control method, and recording medium
JP5310956B2 (en) Routing method and node device in network
US20090135753A1 (en) Power-conserving network device for advanced metering infrastructure
CN104269058B (en) Intelligent traffic information collection system and method based on wireless sensor network
US20170127468A1 (en) Wireless terminal, metering device, and communication control method
WO2019181674A1 (en) State monitoring device, state monitoring system, state monitoring method, and recording medium
JP7316909B2 (en) Optical communication system, communication device and communication method
JP6000066B2 (en) Aggregation station, aggregation station communication method, node, node communication method
JP6197795B2 (en) Information exchange method between communication terminals and communication terminals
US10979865B2 (en) Handling of devices based on group membership
CN103843218A (en) Wireless communication system and control method for power supply and demand control
US12167256B2 (en) Low energy industrial wireless instruments network
JP5183689B2 (en) Wireless communication system, wireless communication device, and wireless communication method
CN105210349B (en) Wireless communication quality information processing device and communication system
JP5785320B2 (en) Communication system, congestion avoidance method thereof, and meter reading system using the communication system
CN104574896A (en) Self-organizing networking method of wireless data information collection system
JP2010056812A (en) Automatic metering system
US20220120794A1 (en) High-resolution data collection system with multiple data egress routes
JP2015002504A (en) Route control device, sensor node network system, and program
KR20120072060A (en) Apparatus, system and method for managing node based on network lacked continuous network connectivity
JP2012070369A (en) Multi-hop communication method, multi-hop communication system, and communication terminal
JP2014086886A (en) Relay node, child node, communication method of relay node, and communication method of child node
JP6086630B2 (en) Wireless communication system and communication terminal device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20140327

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20150710

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160510

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160708

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160830

R150 Certificate of patent or registration of utility model

Ref document number: 6000066

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

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