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
JP6591122B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM - Google Patents
[go: Go Back, main page]

JP6591122B2 - COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM - Google Patents

COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM Download PDF

Info

Publication number
JP6591122B2
JP6591122B2 JP2019518658A JP2019518658A JP6591122B2 JP 6591122 B2 JP6591122 B2 JP 6591122B2 JP 2019518658 A JP2019518658 A JP 2019518658A JP 2019518658 A JP2019518658 A JP 2019518658A JP 6591122 B2 JP6591122 B2 JP 6591122B2
Authority
JP
Japan
Prior art keywords
power failure
period
notification message
power
failure notification
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
JP2019518658A
Other languages
Japanese (ja)
Other versions
JPWO2018211616A1 (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
Application granted granted Critical
Publication of JP6591122B2 publication Critical patent/JP6591122B2/en
Publication of JPWO2018211616A1 publication Critical patent/JPWO2018211616A1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JELECTRIC POWER NETWORKS; CIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote monitoring or remote control of equipment in a power distribution network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • H04W40/32Connectivity information management, e.g. connectivity discovery or connectivity update for defining a routing cluster membership
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
    • Y04S40/126Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment using wireless data transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Power Engineering (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Telephonic Communication Services (AREA)

Description

この発明は、無線マルチホップネットワークを構成する通信装置に関するものである。  The present invention relates to a communication device constituting a wireless multi-hop network.

従来の無線マルチホップネットワークを使用した停電通知は、電力メーターが1次電源からの電力供給の遮断を検知すると、電力メーターに具備している2次電源によって、電力メーターが具備している無線機能を動作させて停電通知メッセージを送信する。この様に、2次電源によって無線機能を動作させることにより、上位装置に停電が発生した通知(停電通知)を行う(例えば、特許文献1、特許文献2)。
特許文献1では、電力メーターに加えて、変電所や変圧器にも停電を検知可能な無線機を設置している。そして、停電が発生すると、電力系統の情報を用いて、停電が発生した電力系統とは別の系統に接続している電力メーターに対して、停電通知メッセージを送信することにより、停電通知を上位装置まで到達させる確率を向上させている。
また特許文献2では、1次電源からの電力供給が一定期間無い場合に、ノードが停電と判断し、報告期間(reporting period)中に自身の上位ノードに対して、停電通知を送信する。その際多くのノードが一斉に通知を送信するのでトラフィックの輻輳、衝突が発生する。そのため、停電通知が消失するのでこれを防ぐために、停電通知の報告期間を自身の親機からのホップ数に応じてreporting windowに分割(reporting window = reporting period/(hop + 1))する。そして、ウィンドウ内のランダムな送信待ちタイミングで停電通知を送信することにより、親機から遠い(ホップ数の多い)ノードの送信機会を増やす。また、上位ノードは、自身の下位ノードから受信した停電通知を自身の通知とマージすることで、通知送信の輻輳を低減する。
The power failure notification using the conventional wireless multi-hop network is based on the wireless function provided by the power meter by the secondary power source provided in the power meter when the power meter detects the interruption of the power supply from the primary power source. To send a power failure notification message. In this way, the wireless function is operated by the secondary power supply, thereby notifying the host device that a power failure has occurred (power failure notification) (for example, Patent Literature 1 and Patent Literature 2).
In patent document 1, in addition to a power meter, a radio device capable of detecting a power failure is installed in a substation or a transformer. When a power outage occurs, the power outage notification is sent to the power meter connected to a system different from the power system in which the power outage occurred by using the power system information. The probability of reaching the device is improved.
Moreover, in patent document 2, when there is no power supply from a primary power supply for a fixed period, a node judges that it is a power failure and transmits a power failure notification to its own upper node during a reporting period. At that time, many nodes send notifications all at once, resulting in traffic congestion and collision. Therefore, since the power failure notification disappears, in order to prevent this, the power failure notification reporting period is divided into reporting windows according to the number of hops from its own base unit (reporting window = reporting period / (hop + 1)). Then, by transmitting a power failure notification at a random transmission waiting timing in the window, transmission opportunities of nodes far from the parent device (having a large number of hops) are increased. Further, the upper node reduces the congestion of the notification transmission by merging the power failure notification received from its lower node with its own notification.

米国特許出願公開第2014/0085105号明細書US Patent Application Publication No. 2014/0085105 米国特許第8970394号明細書U.S. Pat. No. 8,970,394

従来技術は、いずれも停電通知の上位装置への到達率を向上させるための技術であり、停電の規模(台数)に応じた挙動について考慮されていない。停電通知は、単独ノードの停電の場合と複数ノードの停電の場合で、上位装置に到達するまでに要求されている制限時間が異なる場合がある。例えば、単独停電の場合は即時に数十秒以内の通知完了が求められることに対し、複数停電の場合は数分後の通知完了が求められる。しかし、従来技術においてノードは単独停電か複数停電かを判断することができず、短期間に上位装置へ到達するように送信せざるを得ない。そのため、結果として複数の停電だった場合に輻輳が発生し、停電通知を報告する制限時間の超過、停電通知を親機まで到達させる到達率の低下が発生する可能性がある。
また、小規模な停電では、停電していないノードが存在することから、通常の電力を計測した検針データ(計測値データ)と停電通知が衝突する可能性がある。
この発明は上記のような問題点を解決するためになされたもので、停電の発生規模に応じて停電通知に要する時間を調整すること目的とする。
All of the conventional techniques are techniques for improving the arrival rate of the power failure notification to the host device, and the behavior corresponding to the scale (number) of the power failure is not taken into consideration. The notification of a power failure may be different in the time limit required for reaching the host device in the case of a power failure of a single node and a power failure of a plurality of nodes. For example, in the case of a single power failure, notification completion within tens of seconds is immediately required, whereas in the case of multiple power failures, notification completion after several minutes is required. However, in the prior art, the node cannot determine whether it is a single power failure or a plurality of power failures, and must transmit to reach the host device in a short time. As a result, when there are multiple power outages, congestion may occur, the time limit for reporting the power outage notification may be exceeded, and the arrival rate for reaching the power outage notification to the parent device may be reduced.
In addition, in a small power outage, there is a node that does not have a power outage, so there is a possibility that the meter reading data (measured value data) obtained by measuring normal power and the power outage notification collide.
The present invention has been made to solve the above-described problems, and an object thereof is to adjust the time required for power failure notification according to the scale of power failure occurrence.

この発明に係る通信装置は、無線マルチホップメッシュネットワークを構成する通信装置であって、前記通信装置に供給される電源の停電を検出する停電検出部と、前記停電検出部が停電を検出すると、設定された停電通知期間を第1の期間と第2の期間に分割し、前記第1の期間にブロードキャストで停電通知メッセージを送信する停電情報を生成して出力し、前記第2の期間にユニキャストで停電通知メッセージを送信する停電情報を生成して出力する停電情報処理部と、前記停電情報を含むフレームを他の通信装置に送信する無線通信制御部とを備えたことを特徴とする。 The communication device according to the present invention is a communication device that constitutes a wireless multi-hop mesh network, and a power failure detection unit that detects a power failure of the power supplied to the communication device, and when the power failure detection unit detects a power failure, The set power outage notification period is divided into a first period and a second period, and a power outage information for transmitting a power outage notification message by broadcasting is generated and output in the first period, and the unit is in the second period. A power failure information processing unit that generates and outputs a power failure information for transmitting a power failure notification message by casting, and a wireless communication control unit that transmits a frame including the power failure information to another communication device are provided.

この発明の通信装置は、停電を検出すると、設定された停電通知期間を第1の期間と第2の期間に分割し、第1の期間に停電通知メッセージをブロードキャストし、第2の期間にもう一度停電通知メッセージをユニキャストするので、第1の期間に送信した停電通知メッセージが親機まで到達したか否かを確認する確認通信メッセージの送信を不要とし、通信負荷を軽減することができる。  When detecting a power failure, the communication device of the present invention divides the set power failure notification period into a first period and a second period, broadcasts a power failure notification message in the first period, and again in the second period. Since the power failure notification message is unicast, it is not necessary to transmit a confirmation communication message for confirming whether the power failure notification message transmitted in the first period has reached the master unit, and the communication load can be reduced.

図1は、この発明の実施の形態1における通信装置(子機)1の適用先である自動検針システム600のシステム構成図である。FIG. 1 is a system configuration diagram of an automatic meter reading system 600 to which a communication apparatus (child device) 1 according to Embodiment 1 of the present invention is applied. この発明の実施の形態1における子機1のハードウェア構成図である。It is a hardware block diagram of the subunit | mobile_unit 1 in Embodiment 1 of this invention. この発明の実施の形態1における子機1の機能構成図である。It is a functional block diagram of the subunit | mobile_unit 1 in Embodiment 1 of this invention. この発明の実施の形態1における通信装置(親機21)のハードウェア構成図である。It is a hardware block diagram of the communication apparatus (base device 21) in Embodiment 1 of this invention. この発明の実施の形態1における親機21の機能構成図である。It is a functional block diagram of the main | base station 21 in Embodiment 1 of this invention. この発明の実施の形態1における子機1の停電検出部8の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the power failure detection part 8 of the subunit | mobile_unit 1 in Embodiment 1 of this invention. この発明の実施の形態1における子機1の停電情報処理部9の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the power failure information processing part 9 of the subunit | mobile_unit 1 in Embodiment 1 of this invention. この発明の実施の形態1における子機1が停電を通知する期間の説明図である。It is explanatory drawing of the period when the subunit | mobile_unit 1 in Embodiment 1 of this invention notifies a power failure. この発明の実施の形態1における子機1の停電情報処理部9の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the power failure information processing part 9 of the subunit | mobile_unit 1 in Embodiment 1 of this invention. この発明の実施の形態1における子機1がブロードキャストで停電通知を親機21に到達させる様子を示す図である。It is a figure which shows a mode that the subunit | mobile_unit 1 in Embodiment 1 of this invention makes a power failure notification reach | attain to the main | base station 21 by broadcast. この発明の実施の形態1における子機1がユニキャストで停電通知を親機21に到達させる様子を示す図である。It is a figure which shows a mode that the subunit | mobile_unit 1 in Embodiment 1 of this invention makes a power failure notification reach | attain to the main | base station 21 by unicast. この発明の実施の形態1における子機1が停電通知期間に停電通知メッセージを送信するタイミングを示す図である。It is a figure which shows the timing which the subunit | mobile_unit 1 in Embodiment 1 of this invention transmits a power failure notification message in a power failure notification period. この発明の実施の形態1における親機21の停電情報処理部28の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the power failure information processing part 28 of the main | base station 21 in Embodiment 1 of this invention. この発明の実施の形態1における複数の子機1がブロードキャストにより停電を通知する様子を示す図である。It is a figure which shows a mode that the some subunit | mobile_unit 1 in Embodiment 1 of this invention notifies a power failure by broadcast. この発明の実施の形態1における複数の子機1がユニキャストにより停電を通知する様子を示す図である。It is a figure which shows a mode that the some subunit | mobile_unit 1 in Embodiment 1 of this invention notifies a power failure by unicast. この発明の実施の形態1における複数の子機1が停電通知期間に停電通知メッセージを送信するタイミングを示す図である。It is a figure which shows the timing which the some subunit | mobile_unit 1 in Embodiment 1 of this invention transmits a power failure notification message in a power failure notification period. この発明の実施の形態1における子機1自身が停電を検出していない時に、他の子機1から停電通知メッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows operation | movement at the time of receiving the power failure notification message from the other subunit | mobile_unit 1 when the subunit | mobile_unit 1 itself in Embodiment 1 of this invention has not detected the power failure. この発明の実施の形態1における子機1自身が停電を検知している時に、他の子機1からも停電通知メッセージを受信した場合の動作を示すフローチャートである。It is a flowchart which shows operation | movement at the time of receiving the power failure notification message also from the other subunit | mobile_unit 1 when the subunit | mobile_unit 1 itself in Embodiment 1 of this invention has detected the power failure. この発明の実施の形態1における子機1自身が停電を検知している場合に、大規模用期間にのみ停電通知メッセージを送信する動作を示すフローチャートである。It is a flowchart which shows the operation | movement which transmits a power failure notification message only in the period for large scale, when the subunit | mobile_unit 1 itself in Embodiment 1 of this invention has detected the power failure. この発明の実施の形態1における子機1自身が停電を検知していない場合に、大規模用期間にのみ停電通知メッセージを転送する動作を示すフローチャートである。It is a flowchart which shows the operation | movement which transfers a power failure notification message only in the period for large scale, when the subunit | mobile_unit 1 itself in Embodiment 1 of this invention has not detected the power failure.

以下に、本発明に係る通信装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。  Embodiments of a communication apparatus according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態1.
図1は、この発明の実施の形態1における通信装置(子機)1の適用先である自動検針システム600のシステム構成図である。
図1において、電力メーターの自動検針システム600は、無線メッシュネットワークA100−aと、無線メッシュネットワークB100−bと、無線メッシュネットワークC100−cと、WAN(Wide Area Network:広域ネットワーク)200と、サーバ300で構成されている。
そして、無線メッシュネットワークA100−aは、親機(通信装置)A21−aを頂点として配下の子機1−a〜nが木構造の無線ネットワークで接続されている。また、無線メッシュネットワークB100−bと無線メッシュネットワークC100−cは無線メッシュネットワークA100−aと同様の構成である。無線メッシュネットワークB100−bは親機B21−bを頂点として子機が木構造の無線ネットワークで接続され、無線メッシュネットワークC100−cは親機C21−cを頂点として子機が木構造の無線ネットワークで接続されている。そして、親機A21−aと、親機B21−bと、親機C21−cはWAN200を経由してサーバ300と接続している。
Embodiment 1 FIG.
FIG. 1 is a system configuration diagram of an automatic meter reading system 600 to which a communication apparatus (child device) 1 according to Embodiment 1 of the present invention is applied.
In FIG. 1, an automatic meter reading system 600 for a power meter includes a wireless mesh network A100-a, a wireless mesh network B100-b, a wireless mesh network C100-c, a WAN (Wide Area Network) 200, and a server. 300.
In the wireless mesh network A100-a, subordinate slave units 1-a to n are connected by a tree-structured wireless network with a parent device (communication device) A21-a as a vertex. The wireless mesh network B100-b and the wireless mesh network C100-c have the same configuration as the wireless mesh network A100-a. The wireless mesh network B100-b is connected by a tree-structured wireless network with a parent device B21-b as a vertex, and the wireless mesh network C100-c is a wireless network with a child device as a tree structure with the parent device C21-c as a vertex. Connected with. The parent device A21-a, the parent device B21-b, and the parent device C21-c are connected to the server 300 via the WAN 200.

図2は、この発明の実施の形態1における子機1のハードウェア構成図である。
図2において、子機1は、計算を行う中央演算装置2と、プログラムまたはデータを記憶するメモリ3と、無線の送受信を行うトランシーバ4およびアンテナ5と、1次電源(図示せず)から子機1への電力供給が遮断された場合に子機1を一時的に動作させるための2次電源6と、1次電源を使用している機器が使用する電力量(使用電力量)を計測する計測装置7で構成されている。
FIG. 2 is a hardware configuration diagram of slave unit 1 according to the first embodiment of the present invention.
In FIG. 2, a slave unit 1 includes a central processing unit 2 that performs calculations, a memory 3 that stores programs or data, a transceiver 4 and antenna 5 that perform wireless transmission and reception, and a primary power source (not shown). When the power supply to the machine 1 is cut off, the secondary power source 6 for temporarily operating the slave unit 1 and the amount of power used by the equipment using the primary power source (the amount of power used) are measured. It is comprised with the measuring device 7 to do.

また図3は、この発明の実施の形態1における子機1の機能構成図である。
図3において、子機1は停電検出部8と、停電情報処理部9と、計測情報処理部10と、メッシュネットワーク制御部12と、無線メディアアクセス制御部13と、無線通信制御部14で構成されている。また停電情報処理部9と計測情報処理部10を併せてメッセージ処理部11とする。
そして、無線通信制御部14と無線メディアアクセス制御部13の処理は、図2のトランシーバ4が実行する。メッシュネットワーク制御部12と、計測情報処理部10と、停電情報処理部9と、停電検出部8が行う処理は、メモリ3に記憶されたプログラムを中央演算装置2が読み出して実行する。また、計測情報処理部10には、図2の計測装置7の計測値が入力される。停電検出部8は、図2の2次電源6の起動を制御する。
FIG. 3 is a functional configuration diagram of slave unit 1 according to the first embodiment of the present invention.
In FIG. 3, the subunit | mobile_unit 1 is comprised by the power failure detection part 8, the power failure information processing part 9, the measurement information processing part 10, the mesh network control part 12, the wireless media access control part 13, and the wireless communication control part 14. Has been. The power failure information processing unit 9 and the measurement information processing unit 10 are collectively referred to as a message processing unit 11.
Then, the processing of the wireless communication control unit 14 and the wireless media access control unit 13 is executed by the transceiver 4 of FIG. The processing performed by the mesh network control unit 12, the measurement information processing unit 10, the power failure information processing unit 9, and the power failure detection unit 8 is executed by the central processing unit 2 reading out the program stored in the memory 3. Further, the measurement information processing unit 10 receives the measurement value of the measurement device 7 in FIG. The power failure detection unit 8 controls the activation of the secondary power supply 6 of FIG.

以下、子機1の各構成について説明する。
停電検出部8は、図2の1次電源と2次電源、および停電情報処理部9に接続されている。停電検出部8は、子機1自身に供給される1次電源の電圧低下を検出することで1次電源の停電を検出する。すると、図2の2次電源を起動するとともに、停電開始タイマーを起動し、停電開始タイマーがタイムアウトしても1次電源の電力供給が復旧しなければ、停電を通知する処理(停電通知処理)の指示を停電情報処理部9に出力する。
Hereinafter, each structure of the subunit | mobile_unit 1 is demonstrated.
The power failure detection unit 8 is connected to the primary power source and the secondary power source shown in FIG. The power failure detection part 8 detects the power failure of a primary power supply by detecting the voltage drop of the primary power supply supplied to the subunit | mobile_unit 1 itself. Then, in addition to starting the secondary power supply in FIG. 2, a power failure start timer is started, and if the power supply of the primary power supply does not recover even if the power failure start timer times out, a process to notify the power failure (power failure notification process) Is output to the power failure information processing unit 9.

停電情報処理部9は、停電検出部8とメッシュネットワーク制御部12に接続されている。停電情報処理部9は、停電検出部8から停電通知処理の指示が入力されると、予め設定された停電通知期間を小規模用期間(前半の第1の期間に相当)と、大規模用期間(後半の第2の期間に相当)に分割する。小規模用期間は、単独の小規模な停電の通知を完了することが求められる期間であり、予め設定される。そして、小規模用期間以内のランダムな送信待ち時間に周辺端末(他の子機1または親機21)に対して停電通知メッセージをブロードキャストする停電情報を生成して、生成した停電情報をメッシュネットワーク制御部12に出力する。この時、小規模用期間以内に他の子機1から未受信の停電通知メッセージをブロードキャストで受信した場合は、自身が生成した停電通知メッセージと受信した停電通知メッセージをマージし、マージした停電通知メッセージをブロードキャストする停電情報を生成する。次に小規模用期間後の停電通知期間であって大規模用期間以内のランダムな送信待ち時間に、小規模用期間に受信した停電通知メッセージを他の子機1または親機21に対してユニキャストする停電情報を生成して、生成した停電情報をメッシュネットワーク制御部12に出力する。  The power failure information processing unit 9 is connected to the power failure detection unit 8 and the mesh network control unit 12. When a power failure notification processing instruction is input from the power failure detection unit 8, the power failure information processing unit 9 uses a preset power failure notification period as a small period (corresponding to the first period of the first half) and a large scale Divide into periods (corresponding to the second half of the second half). The period for small-scale use is a period required to complete notification of a single small-scale power outage, and is set in advance. Then, power outage information for broadcasting a power outage notification message to peripheral terminals (other handset 1 or base unit 21) is generated at a random transmission waiting time within a small period, and the generated power outage information is transmitted to the mesh network. Output to the control unit 12. At this time, if a power failure notification message that has not been received from another slave unit 1 is broadcasted within a small period, the power failure notification message generated by itself is merged with the received power failure notification message, and the merged power failure notification message is received. Generate power outage information that broadcasts a message. Next, the power failure notification message received during the small-scale use period is sent to the other slave unit 1 or the master unit 21 at a random transmission waiting time within the large-scale use period after the blackout period. The power failure information to be unicast is generated, and the generated power failure information is output to the mesh network control unit 12.

計測情報処理部10は、1次電源と計測装置、およびメッシュネットワーク制御部12に接続されている。計測情報処理部10は、子機1が通常の動作中に計測装置7で計測した使用電力量を計測値メッセージに付加して、使用電力量を含む計測値メッセージを生成し、生成した計測値メッセージをメッシュネットワーク制御部12に出力する。
また、計測情報処理部10は、計測値メッセージ以外にも、親機21から子機1に対して使用電力量の計測値を取得する際に送信される計測値取得メッセージ、このメッセージに対して子機1から親機21に応答する際に送信される計測値応答メッセージ、親機21から子機1の使用電力量の計測に対して制御するために送信する制御メッセージ、この制御メッセージに対して子機1から親機21に対して応答する際に送信される応答メッセージの処理行う。
ここでは、このような子機1が通常の動作で使用電力量の計測値を親機21に送受信するためのメッセージを総称して通常メッセージとして説明する。
The measurement information processing unit 10 is connected to the primary power source, the measurement device, and the mesh network control unit 12. The measurement information processing unit 10 adds the power consumption measured by the measurement device 7 during normal operation of the slave unit 1 to the measurement value message, generates a measurement value message including the power consumption, and generates the generated measurement value. The message is output to the mesh network control unit 12.
In addition to the measurement value message, the measurement information processing unit 10 receives a measurement value acquisition message transmitted from the parent device 21 when acquiring a measurement value of the power consumption to the child device 1, and this message. A measurement value response message transmitted when responding from the slave unit 1 to the master unit 21, a control message transmitted to control the measurement of the power consumption of the slave unit 1 from the master unit 21, and the control message The response message transmitted when responding from the slave unit 1 to the master unit 21 is processed.
Here, a message for such a slave unit 1 to transmit and receive a measured value of the power consumption to the master unit 21 in a normal operation will be generically described as a normal message.

メッセージ処理部11は、停電情報処理部9と計測情報処理部10を併せた構成要素であり、停電通知メッセージと使用電力量を含む計測値メッセージを生成して、生成したメッセージをメッシュネットワーク制御部12に出力する。  The message processing unit 11 is a component that combines the power failure information processing unit 9 and the measurement information processing unit 10, generates a measurement value message including a power failure notification message and a power consumption amount, and sends the generated message to the mesh network control unit 12 is output.

メッシュネットワーク制御部12は、停電情報処理部9と計測情報処理部10、および無線メディアアクセス制御部13に接続されている。メッシュネットワーク制御部12は、停電情報処理部9から入力された停電情報に、自身で管理している無線メッシュネットワークの経路を指定するメッシュ情報を付加したフレームを生成し、生成したフレームを無線メディアアクセス制御部13に出力する。また、計測情報処理部10から入力された使用電力量を含む計測値メッセージに、自身で管理しているメッシュ情報を付加して生成したフレームを無線メディアアクセス制御部13に出力する。  The mesh network control unit 12 is connected to the power failure information processing unit 9, the measurement information processing unit 10, and the wireless media access control unit 13. The mesh network control unit 12 generates a frame in which the mesh information specifying the route of the wireless mesh network managed by itself is added to the power outage information input from the power outage information processing unit 9, and the generated frame is transmitted to the wireless media. Output to the access control unit 13. In addition, a frame generated by adding mesh information managed by itself to the measurement value message including the used electric energy input from the measurement information processing unit 10 is output to the wireless media access control unit 13.

無線メディアアクセス制御部13は、メッシュネットワーク制御部12と無線通信制御部14に接続されている。無線メディアアクセス制御部13は、メッシュネットワーク制御部12から入力されたメッシュ情報が付加されたフレームにMAC(Media Access Control)情報を付加することでブロードキャスト、またはユニキャストを指定して無線通信制御部14に出力する。  The wireless media access control unit 13 is connected to the mesh network control unit 12 and the wireless communication control unit 14. The wireless media access control unit 13 designates broadcast or unicast by adding MAC (Media Access Control) information to the frame to which the mesh information input from the mesh network control unit 12 is added, thereby specifying the wireless communication control unit 14 for output.

無線通信制御部14は、無線メディアアクセス制御部13に接続されている。無線通信制御部14は、無線メディアアクセス制御部13から入力されたフレームを周辺端末(他の子機1または親機21)にブロードキャスト、またはユニキャストする。  The wireless communication control unit 14 is connected to the wireless media access control unit 13. The wireless communication control unit 14 broadcasts or unicasts the frame input from the wireless media access control unit 13 to the peripheral terminal (other child device 1 or parent device 21).

次に、親機21について説明する。
図4は、この発明の実施の形態1における通信装置(親機21)のハードウェア構成図である。
図4において、親機21は、計算処理を行う中央演算装置22と、プログラムとデータを記憶するメモリ23と、無線の送受信を行うトランシーバ24およびアンテナ25と、1次電源から親機21への電力の供給が遮断された場合に親機21を一時的に動作させるための2次電源26と、親機21がWAN200を介してサーバ300と通信するWANインタフェース27で構成されている。
Next, the master unit 21 will be described.
FIG. 4 is a hardware configuration diagram of the communication device (master device 21) according to the first embodiment of the present invention.
In FIG. 4, a base unit 21 includes a central processing unit 22 that performs calculation processing, a memory 23 that stores programs and data, a transceiver 24 and an antenna 25 that perform wireless transmission and reception, and a primary power source to the base unit 21. A secondary power source 26 for temporarily operating the base unit 21 when power supply is cut off, and a WAN interface 27 for the base unit 21 to communicate with the server 300 via the WAN 200 are configured.

図5は、この発明の実施の形態1における親機21の機能構成図である。
図5において、親機21は、停電情報処理部28と、計測情報処理部29と、メッシュネットワーク制御部31と、広域ネットワーク通信制御部32と、無線メディアアクセス制御部33と、無線通信制御部34で構成されている。また、停電情報処理部28と計測情報処理部29を併せてメッセージ処理部30とする。
そして、無線通信制御部34と無線メディアアクセス制御部33の処理は、図4のトランシーバ24が実行する。メッシュネットワーク制御部31と、計測情報処理部29と、停電情報処理部28が行う処理は図4のメモリ23に記憶されたプログラムを中央演算装置22が読み出して実行する。広域ネットワーク通信制御部32の処理は、図4のWANインタフェース27で実行される。
FIG. 5 is a functional configuration diagram of base unit 21 according to Embodiment 1 of the present invention.
In FIG. 5, base unit 21 includes power failure information processing unit 28, measurement information processing unit 29, mesh network control unit 31, wide area network communication control unit 32, wireless media access control unit 33, and wireless communication control unit. 34. The power failure information processing unit 28 and the measurement information processing unit 29 are collectively referred to as a message processing unit 30.
The processing of the wireless communication control unit 34 and the wireless media access control unit 33 is executed by the transceiver 24 of FIG. The processing performed by the mesh network control unit 31, the measurement information processing unit 29, and the power failure information processing unit 28 is executed by the central processing unit 22 reading the program stored in the memory 23 of FIG. The processing of the wide area network communication control unit 32 is executed by the WAN interface 27 of FIG.

次に、子機1の動作を説明する。
図6は、この発明の実施の形態1における子機1の停電検出部8の動作を示すフローチャートである。
無線メッシュネットワークA100−aにおいて停電が発生すると、子機1の停電検出部8は、子機1自身に供給されている1次電源の電圧の低下を検出することで1次電源の停電を検出する。停電を検出すると、図2の2次電源6を起動するとともに、停電判定タイマーを開始する(S1)。
そして、停電判定タイマーがタイムアウトしているか(設定された時間経過しているか)否かを判定する(S2)。
Next, operation | movement of the subunit | mobile_unit 1 is demonstrated.
FIG. 6 is a flowchart showing the operation of the power failure detection unit 8 of the slave unit 1 according to Embodiment 1 of the present invention.
When a power failure occurs in the wireless mesh network A100-a, the power failure detection unit 8 of the slave unit 1 detects a power failure of the primary power source by detecting a decrease in the voltage of the primary power source supplied to the slave unit 1 itself. To do. When a power failure is detected, the secondary power source 6 of FIG. 2 is activated and a power failure determination timer is started (S1).
Then, it is determined whether or not the power failure determination timer has timed out (whether the set time has elapsed) (S2).

停電判定タイマーがタイムアウトした場合は、停電と判断し、停電通知処理の指示を停電情報処理部9に出力する。
停電通知処理は、停電検出部8から停電情報処理部9に停電検知の情報を出力することで、停電情報処理部9が停電通知メッセージを生成して周囲の子機1または親機21に停電情報を送信する処理である。
停電判定タイマーがタイムアウトしていない場合は、1次電源からの電力供給が復旧しているか否かを判定する(S3)。
1次電源からの電力供給が復旧している場合は、停電判定タイマーをクリアし(S4)、正常動作に遷移する。
1次電源が復旧していない場合は、S2に戻り、停電判定タイマーがタイムアウトしているか否かの判定を行う。
When the power failure determination timer times out, it is determined that a power failure has occurred, and an instruction for power failure notification processing is output to the power failure information processing unit 9.
In the power failure notification process, the power failure detection unit 8 outputs the power failure detection information to the power failure information processing unit 9 so that the power failure information processing unit 9 generates a power failure notification message and the surrounding slave unit 1 or the parent unit 21 receives a power failure. This is a process of transmitting information.
If the power failure determination timer has not timed out, it is determined whether or not the power supply from the primary power supply has been restored (S3).
When the power supply from the primary power supply has been restored, the power failure determination timer is cleared (S4), and a transition is made to normal operation.
If the primary power supply has not been restored, the process returns to S2 to determine whether or not the power failure determination timer has timed out.

図7は、この発明の実施の形態1における子機1の停電情報処理部9の動作を示すフローチャートである。
子機1の停電情報処理部9は、停電検出部8から停電通知処理の指示が入力されると、親機21に対する停電通知メッセージを生成し(S21)、予め設定された停電通知期間を予め設定された小規模用期間と、大規模用期間に分割する。分割の仕方については後述する。
そして、図8に示す停電通知期間のうち小規模用期間以内でランダムな送信待ち時間を計測するタイマー(送信待ちタイマー)を開始させる(S22)。
FIG. 7 is a flowchart showing the operation of the power failure information processing unit 9 of the slave unit 1 according to Embodiment 1 of the present invention.
When a power failure notification processing instruction is input from the power failure detection unit 8, the power failure information processing unit 9 of the slave unit 1 generates a power failure notification message for the parent device 21 (S 21), and sets a preset power failure notification period in advance. Divide into the set small-scale period and large-scale period. The method of division will be described later.
And the timer (transmission waiting timer) which measures random transmission waiting time within the period for small scales in the power failure notification period shown in FIG. 8 is started (S22).

そして、他の子機1から未受信の停電通知メッセージをブロードキャストで受信したか否かを判定する(S23)。
受信した場合は、自身が生成した停電通知メッセージと受信した停電通知メッセージのマージを行う(S24)
S23で未受信の停電通知メッセージを受信していない場合、またはS24で未受信の停電通知メッセージを受信してマージした後、送信待ちタイマーがタイムアウトしているか否かの判定を行う(S25)。
Then, it is determined whether or not a power failure notification message that has not been received from another slave unit 1 has been received by broadcast (S23).
If received, the power failure notification message generated by itself is merged with the received power failure notification message (S24).
If an unreceived power failure notification message is not received in S23, or after receiving and merging an unreceived power failure notification message in S24, it is determined whether or not the transmission waiting timer has timed out (S25).

送信待ちタイマーがタイムアウトすると停電通知メッセージをブロードキャストで送信する指示を含む停電情報を生成する。そして、生成した停電情報をメッシュネットワーク制御部12に出力し、無線メディアアクセス制御部13と無線通信制御部14を介して他の子機1または親機21に停電通知メッセージをブロードキャストする(S26)。
送信待ちタイマーがタイムアウトしていない場合は、S23の処理に戻り、他の子機1から未受信の停電通知メッセージをブロードキャストで受信したか否かを判定する。
停電を検知した子機1は、周辺の子機1が停電を検知している否かを判断することなく、小規模用期間で停電通知メッセージをブロードキャストする。
When the transmission waiting timer times out, power failure information including an instruction to broadcast a power failure notification message is generated. Then, the generated power outage information is output to the mesh network control unit 12, and a power outage notification message is broadcast to the other handset 1 or the base unit 21 via the wireless media access control unit 13 and the wireless communication control unit 14 (S26). .
If the transmission waiting timer has not timed out, the process returns to S23, and it is determined whether or not a power failure notification message that has not been received from another slave unit 1 has been broadcast.
The subunit | mobile_unit 1 which detected the power failure broadcasts a power failure notification message in the period for small scales, without determining whether the surrounding subunit | mobile_unit 1 has detected the power failure.

さらに、停電通知メッセージをブロードキャストした後、小規模用期間の終了時を起点として、大規模用期間でランダムな送信待ちタイマーを開始させる(S27)。
そして、送信待ちタイマーがタイムアウトしているか否かの判定を行い(S28)、タイムアウトすれば、停電通知メッセージをユニキャストで送信する指示を含む停電情報を生成する。そして、生成した停電情報をメッシュネットワーク制御部12に出力し、無線メディアアクセス制御部13と無線通信制御部14を介して他の子機1または親機21に停電通知メッセージをユニキャストする(S29)。送信待ちタイマーがタイムアウトしていない場合は、S28の送信待ちタイマーがタイムアウトしているか否かの判定に戻る。
Further, after broadcasting the power failure notification message, a random transmission waiting timer is started in the large-scale period starting from the end of the small-scale period (S27).
Then, it is determined whether or not the transmission waiting timer has timed out (S28). If timed out, power failure information including an instruction to transmit a power failure notification message by unicast is generated. Then, the generated power outage information is output to the mesh network control unit 12, and a power outage notification message is unicast to the other handset 1 or the base unit 21 via the wireless media access control unit 13 and the wireless communication control unit 14 (S29). ). If the transmission waiting timer has not timed out, the process returns to the determination of whether or not the transmission waiting timer has timed out in S28.

図8は、この発明の実施の形態1における子機1が停電を通知する期間の説明図である。
子機1の停電情報処理部9は、停電検出部8から停電を検知したという停電検知44の情報が入力されると、予め設定された停電通知期間41を小規模用期間42と、大規模用期間43に分割する。
小規模用期間42は、停電検知44から単独の小規模な停電を通知する期限(小規模時通知期限)45までの期間であり、予め設定されているものとする。また、大規模用期間43は、小規模時通知期限45から大規模時通知期限46までの期間であり、複数の通信端末が停電を検知するような大規模な停電を通知する期間である。大規模用期間43は、大規模用期間43=停電通知期間41−小規模用期間42で求めるものとする。
例えば、予め停電通知期間41が200秒と設定され、小規模停電が発生した場合に、子機1がマルチホップによって親機21を経由してサーバ300に通知する必要のある小規模用期間42が20秒の場合、大規模用期間43は180秒となる。そのため、子機1は、停電を検知すると、20秒以内のランダムな送信待ち時間に停電通知メッセージをブロードキャストし、更に20秒後〜180秒の間に停電通知メッセージをユニキャストする。
FIG. 8 is an explanatory diagram of a period during which the handset 1 in the first embodiment of the present invention notifies a power failure.
When the power failure information processing unit 9 of the slave unit 1 receives the information of the power failure detection 44 that the power failure has been detected from the power failure detection unit 8, the power failure notification period 41 that has been set in advance is set to the small-scale use period 42 and the large-scale use period 42. The service period 43 is divided.
The small-scale period 42 is a period from a power failure detection 44 to a time limit (notice time limit for small-scale notification) 45 for notifying a single small power failure, and is set in advance. The large-scale period 43 is a period from the small-scale notification deadline 45 to the large-scale notification deadline 46, and is a period for notifying a large-scale power outage such that a plurality of communication terminals detect a power outage. The large-scale period 43 is obtained by the large-scale period 43 = power failure notification period 41−small-scale period 42.
For example, when the power failure notification period 41 is set to 200 seconds in advance and a small-scale power failure occurs, the slave unit 1 needs to notify the server 300 via the master unit 21 by multi-hop. Is 20 seconds, the large-scale period 43 is 180 seconds. Therefore, when detecting the power failure, the slave unit 1 broadcasts a power failure notification message at a random transmission waiting time within 20 seconds, and further unicasts the power failure notification message between 20 seconds and 180 seconds later.

次に、子機1の停電検出部8が停電を検知していない場合に、他の子機1からの停電通知メッセージを受信して、他の子機1または親機21に停電通知メッセージをブロードキャストする動作について説明する。
図9は、この発明の実施の形態1における子機1の停電情報処理部9の動作を示すフローチャートである。
子機1の停電情報処理部9は、他の子機1から受信した停電通知メッセージが未受信のものであるか否かを判定する(S31)。
S31で停電通知メッセージが未受信のものである場合は、ランダムな転送待ち時間を計測するタイマー(転送待ちタイマー)を開始する(S32)。
S31で停電通知メッセージが未受信のものではない場合は、転送処理を終了する。
S31で転送待ちタイマーを開始してから転送待ちタイマーがタイムアウトするまでの間に、他の子機1から未受信の停電通知メッセージをブロードキャストで受信したか否かを判定する(S33)。
Next, when the power failure detection unit 8 of the child device 1 does not detect a power failure, it receives a power failure notification message from another child device 1 and sends a power failure notification message to the other child device 1 or the parent device 21. The broadcast operation will be described.
FIG. 9 is a flowchart showing the operation of the power failure information processing unit 9 of the slave unit 1 according to the first embodiment of the present invention.
The power failure information processing unit 9 of the child device 1 determines whether or not the power failure notification message received from the other child device 1 has not been received (S31).
If the power failure notification message has not been received in S31, a timer for measuring a random transfer waiting time (transfer waiting timer) is started (S32).
If the power failure notification message is not received in S31, the transfer process is terminated.
It is determined whether or not a power failure notification message that has not been received from another slave unit 1 has been broadcast from the start of the transfer wait timer in S31 until the transfer wait timer times out (S33).

S33で他の子機1から停電通知メッセージを受信した場合は、転送待ちの停電通知メッセージに他の子機1から受信した停電通知メッセージをマージする(S34)。
S33で停電通知メッセージを受信しなかった場合、またはS34で停電通知メッセージをマージした後に、転送待ちタイマーがタイムアウトしたか否かを判定する(S35)。
転送待ちタイマーがタイムアウトすれば、周辺端末に対してメッシュネットワーク制御部12と、無線メディアアクセス制御部13と、無線通信制御部14を介して他の子機1または親機21に停電通知メッセージをブロードキャストする(S36)。
転送待ちタイマーがタイムアウトしていなければ、S33の処理に戻る。
停電を検知していない子機1が、他の子機1からブロードキャストで停電通知メッセージを受信すると、周辺の子機1が停電を検知しているか否かを判断することなく、停電通知メッセージをブロードキャストする。
そして、他の子機1からユニキャストで停電通知メッセージが送信されて来た場合には、送信先情報を判断して次の子機1に停電通知メッセージをユニキャストで送信する。
When a power failure notification message is received from another child device 1 in S33, the power failure notification message received from the other child device 1 is merged with the power failure notification message waiting for transfer (S34).
When the power failure notification message is not received in S33 or after the power failure notification message is merged in S34, it is determined whether or not the transfer waiting timer has timed out (S35).
If the transfer waiting timer times out, a power failure notification message is sent to the other handset 1 or the base unit 21 via the mesh network control unit 12, the wireless media access control unit 13, and the wireless communication control unit 14 to the peripheral terminals. Broadcast (S36).
If the transfer waiting timer has not timed out, the process returns to S33.
When a slave unit 1 that has not detected a power failure receives a power failure notification message from another slave unit 1 by broadcast, the slave unit 1 sends a power failure notification message without determining whether the peripheral slave unit 1 has detected a power failure. Broadcast.
Then, when a power failure notification message is transmitted from another child device 1 by unicast, the destination information is determined and the power failure notification message is transmitted to the next child device 1 by unicast.

次に子機1が停電通知メッセージをブロードキャストして、親機21に到達させる様子について図を用いて説明する。
図10は、この発明の実施の形態1における子機1がブロードキャストで停電通知メッセージを親機21に到達させる様子を示す図である。
無線メッシュネットワークA100−aで、子機1−iが停電検知を親機A21−aまで通知するとする。
停電を検知した子機1−iは、図7のS21〜S26により、停電通知メッセージを周辺の子機(図10の子機1−e、1−h、1−j)にブロードキャストする。すると、その停電通知メッセージを受信した周辺の子機(子機1−e、1−h、1−j)は、図9のS31〜S36により、ブロードキャストで停電通知メッセージを転送する。矢印は停電通知メッセージが送信される様子を示す。
Next, how the slave unit 1 broadcasts a power failure notification message to reach the master unit 21 will be described with reference to the drawings.
FIG. 10 is a diagram showing a state in which the slave unit 1 in the first embodiment of the present invention broadcasts a power failure notification message to the master unit 21.
In the wireless mesh network A100-a, the child device 1-i notifies the parent device A21-a of the power failure detection.
The subunit | mobile_unit 1-i which detected the power failure broadcasts a power failure notification message to the surrounding subunit | mobile_unit (the subunit | mobile_unit 1-e, 1-h, 1-j of FIG. 10) by S21-S26 of FIG. Then, the peripheral slave units (slave units 1-e, 1-h, 1-j) that have received the power failure notification message transfer the power failure notification message by broadcast through S31 to S36 in FIG. An arrow indicates a state in which a power failure notification message is transmitted.

停電通知メッセージが転送された子機1−eは、周辺の子機(子機1−b、1−d、1−h、1−i)にブロードキャストで停電通知メッセージを転送する。子機1−bは、周辺の子機(子機1−a、1−d、1−e)にブロードキャストで停電通知メッセージを転送し、子機1−aが周辺の親機A21−aと周辺の子機(子機1−b、1−c)にブロードキャストで停電通知メッセージを転送する。  The subunit | mobile_unit 1-e to which the power failure notification message was transferred transmits the power failure notification message by broadcasting to the peripheral subunits (subunits 1-b, 1-d, 1-h, 1-i). The slave unit 1-b transmits a power failure notification message by broadcast to the peripheral slave units (slave units 1-a, 1-d, 1-e), and the slave unit 1-a communicates with the peripheral master unit A21-a. The power failure notification message is transferred by broadcast to the peripheral slave units (slave units 1-b and 1-c).

また、停電通知メッセージを受信した子機1−jは、周辺の子機(子機1−f、1−k、1−m、1−n)にブロードキャストで停電通知メッセージを転送する。子機1−fは、周辺の子機(子機1−c、子機1−k、子機1−j)にブロードキャストで停電通知メッセージを転送する。子機1−cは周辺の子機(子機1−a、1−f)にブロードキャストで停電通知メッセージを転送し、子機1−aが周辺の親機A21−aと周辺の子機(子機1−b、1−c)にブロードキャストで停電通知メッセージを転送する。  In addition, the slave unit 1-j that has received the power failure notification message transmits the power failure notification message by broadcasting to the peripheral slave units (slave units 1-f, 1-k, 1-m, 1-n). The subunit | mobile_unit 1-f transfers a power failure notification message by broadcast to the surrounding subunit | mobile_unit (the subunit | mobile_unit 1-c, the subunit | mobile_unit 1-k, the subunit | mobile_unit 1-j). The slave unit 1-c broadcasts a power failure notification message to the peripheral slave units (slave units 1-a and 1-f), and the slave unit 1-a transmits the peripheral master unit A21-a and the peripheral slave unit ( The power failure notification message is transferred by broadcast to the slave units 1-b and 1-c).

次に子機1が停電通知メッセージをユニキャストし、親機21に到達させる様子について図を用いて説明する。
図11は、この発明の実施の形態1における子機1がユニキャストで停電通知メッセージを親機21に到達させる様子を示す図である。
子機1−iが、図7のS27〜S29により、停電通知メッセージを他の子機1−e、子機1−b、子機1−aを経由して親機A21−aまでユニキャストで到達させる。子機1−e、子機1−b、子機1−aは、停電通知メッセージを受信すると送信先情報を判断して、次の送信先の子機1に停電通知メッセージをユニキャストする。
Next, how the slave unit 1 unicasts the power failure notification message to reach the master unit 21 will be described with reference to the drawings.
FIG. 11 is a diagram showing a state in which handset 1 according to Embodiment 1 of the present invention makes a power failure notification message reach base unit 21 by unicast.
The slave unit 1-i unicasts the power failure notification message to the master unit A21-a via the other slave units 1-e, 1-b, and 1-a by S27 to S29 in FIG. To reach. When receiving the power failure notification message, the slave device 1-e, the slave device 1-b, and the slave device 1-a determine the transmission destination information and unicast the power failure notification message to the next transmission destination child device 1.

図12は、この発明の実施の形態1における子機1が停電通知期間に停電通知メッセージを送信するタイミングを示す図である。
子機1は、停電を検知すると(停電検知44)、小規模時通知期限45までの小規模用期間42に、ランダムな送信待ちタイマーを設定する。そして、送信待ちタイマーがタイムアウトした時に、他の子機1に停電通知メッセージをブロードキャストする。そして、小規模用期間42が終了すると大規模時通知期限46までの大規模用期間43に、ランダムな送信待ちタイマーを設定する。そして、送信待ちタイマーがタイムアウトした時に、停電通知メッセージをユニキャストする。
FIG. 12 is a diagram showing the timing at which handset 1 in Embodiment 1 of the present invention transmits a power failure notification message during a power failure notification period.
When the slave unit 1 detects a power failure (power failure detection 44), the slave unit 1 sets a random transmission waiting timer in the small period 42 up to the small-scale notification deadline 45. When the transmission waiting timer times out, a power failure notification message is broadcast to the other slave units 1. When the small-scale period 42 ends, a random transmission waiting timer is set in the large-scale period 43 up to the large-scale notification period 46. Then, when the transmission waiting timer times out, the power failure notification message is unicast.

図13は、この発明の実施の形態1における親機21の停電情報処理部28の動作を示すフローチャートである。
停電通知メッセージを受信した親機21は、配下の子機1から受信した停電通知メッセージが未受信の停電通知メッセージであるか否かを判定する(S41)。
この時、親機21の停電情報処理部28は、配下の子機1で分割された停電通知期間の第1の期間に、配下の子機1からブロードキャストで停電通知メッセージを受信する。また、配下の子機1で分割された停電通知期間の第2の期間に、配下の子機1からユニキャストで停電通知メッセージを受信する。親機21は、ブロードキャストで停電通知メッセージを受信した場合であっても、ユニキャストで停電通知メッセージを受信した場合であっても、受信した停電通知メッセージが未受信の停電通知メッセージであるか否かを判定して、未受信の停電通知メッセージであれば、広域ネットワーク通信制御部32を介して未受信の停電通知メッセージをサーバ300宛てに送信する(S42)。
受信した停電メッセージが未受信の停電通知メッセージでなければ、停電通知メッセージを破棄して(S43)、処理を終了する。
そのためサーバ300は、親機21から未受信の停電通知メッセージのみを広域ネットワークを介して受信する。
FIG. 13 is a flowchart showing the operation of the power failure information processing unit 28 of the parent device 21 according to the first embodiment of the present invention.
The master unit 21 that has received the power failure notification message determines whether or not the power failure notification message received from the subordinate slave unit 1 is an unreceived power failure notification message (S41).
At this time, the power failure information processing unit 28 of the parent device 21 receives a power failure notification message from the subordinate slave device 1 by broadcast during the first period of the power failure notification period divided by the subordinate slave devices 1. Further, during the second period of the power failure notification period divided by the subordinate slave unit 1, the power failure notification message is received from the subordinate slave unit 1 by unicast. Whether base unit 21 receives a power failure notification message by broadcast or a unicast power failure notification message, whether or not the received power failure notification message is an unreceived power failure notification message. If it is an unreceived power failure notification message, an unreceived power failure notification message is transmitted to the server 300 via the wide area network communication control unit 32 (S42).
If the received power failure message is not an unreceived power failure notification message, the power failure notification message is discarded (S43), and the process ends.
Therefore, server 300 receives only the power failure notification message that has not been received from base unit 21 via the wide area network.

図14は、この発明の実施の形態1における複数の子機1がブロードキャストにより停電を通知する様子を示す図である。
無線メッシュネットワークA100−aで、子機1−a〜1−nが停電を検知すると、図7のS21〜S26と図9のS31〜S36の処理によって、停電通知メッセージを小規模用期間にブロードキャストして、親機21まで停電を通知する。
この時、子機1は自身が停電を検知した場合と、他の子機1から停電通知メッセージをブロードキャストで受信した場合には、周辺の子機1が停電を検知している否かを判断することなく、小規模用期間に停電通知メッセージをブロードキャストする。
FIG. 14 is a diagram showing a state in which a plurality of slave units 1 according to Embodiment 1 of the present invention notify a power failure by broadcasting.
When the slave units 1-a to 1-n detect a power failure in the wireless mesh network A100-a, a power failure notification message is broadcast in a small period by the processes of S21 to S26 in FIG. 7 and S31 to S36 in FIG. Then, the master unit 21 is notified of the power failure.
At this time, handset 1 determines whether or not peripheral handset 1 has detected a power outage when it detects a power outage and when it receives a power outage notification message from another handset 1 by broadcast. Without interruption, broadcast a power failure notification message in a small period.

図15は、この発明の実施の形態1における複数の子機1がユニキャストにより停電を通知する様子を示す図である。
無線メッシュネットワークA100−aで、子機1−a〜1−nが停電を検知して、図7のS27〜29の処理によって、停電通知メッセージを大規模用期間にユニキャストして、親機21まで停電を通知する。
FIG. 15 is a diagram showing a state in which a plurality of slave units 1 according to Embodiment 1 of the present invention notify a power failure by unicast.
In the wireless mesh network A100-a, the slave units 1-a to 1-n detect a power failure, and the power failure notification message is unicast in a large-scale period by the processing of S27 to 29 in FIG. Notify 21 of power outages.

図16は、この発明の実施の形態1における複数の子機1が停電通知期間に停電通知メッセージを送信するタイミングを示す図である。
複数の子機1は、停電を検知すると(停電検知44)、予め設定された小規模用期間42にそれぞれの子機1がランダムな送信待ちタイマーを設定する。そして、ランダムな送信待ちタイマーがタイムアウトした時に、それぞれの子機1が周辺の他の子機1または親機21へ停電通知メッセージをブロードキャストする。そして、小規模用期間42が終了すると大規模用期間43に停電を検知した子機1がランダムな送信待ちタイマーを設定する。そして、ランダムな送信待ちタイマーがタイムアウトした時に、停電を検知した子機1から送信先情報に記載されている子機1または親機21に停電通知メッセージをユニキャストする。
小規模用期間42の矢印は、複数の子機1がそれぞれランダムなタイミングで停電通知メッセージをブロードキャストしている様子を示している。また大規模用期間43の矢印は、複数の子機1がそれぞれランダムなタイミングで停電通知メッセージをユニキャストしている様子を示している。
FIG. 16 is a diagram illustrating timings at which the plurality of slave units 1 according to Embodiment 1 of the present invention transmit a power failure notification message during a power failure notification period.
When a plurality of slave units 1 detect a power failure (power failure detection 44), each slave unit 1 sets a random transmission waiting timer in a small-scale period 42 set in advance. When the random transmission waiting timer times out, each slave unit 1 broadcasts a power failure notification message to other peripheral slave units 1 or 21. When the small-scale period 42 ends, the handset 1 that has detected a power failure in the large-scale period 43 sets a random transmission waiting timer. When the random transmission waiting timer times out, the power failure notification message is unicast from the slave device 1 that has detected the power failure to the slave device 1 or the master device 21 described in the destination information.
The arrows for the small-scale period 42 indicate that the plurality of slave units 1 are each broadcasting a power failure notification message at random timing. Moreover, the arrow of the period 43 for large scale has shown a mode that the some subunit | mobile_unit 1 is each unicasting the power failure notification message at random timing.

以上のように、停電通知期間を小規模用期間と大規模用期間に分割し、周辺の子機1が停電しているか否かを判断することなく、小規模用期間では停電通知メッセージをブロードキャストし、大規模用期間では停電通知メッセージをユニキャストするので、単独の子機の停電であった場合に、小規模用通知期間以内にサーバ300まで停電通知メッセージを送信することができる。  As described above, the power failure notification period is divided into a small-scale period and a large-scale period, and a power failure notification message is broadcast in the small-scale period without determining whether or not the peripheral handset 1 is out of power. However, since the power failure notification message is unicast in the large-scale period, the power failure notification message can be transmitted to the server 300 within the small-scale notification period in the case of a power failure of a single slave unit.

また、停電通知メッセージをブロードキャストして、複数の子機1が停電通知メッセージを転送して親機21まで送信するため、通信経路の冗長性が増し、停電が発生していない子機1から送信する通常メッセージの衝突が発生しても、停電通知メッセージが親機21まで到達する可能性が向上する。  In addition, since the power failure notification message is broadcast and the plurality of slave units 1 transfer the power failure notification message and transmit it to the master unit 21, the redundancy of the communication path is increased and the slave unit 1 that does not have a power failure is transmitted. Even if a normal message collision occurs, the possibility of a power failure notification message reaching the base unit 21 is improved.

また、複数の子機1が停電を検知した場合には、停電通知メッセージをブロードキャストすると停電通知メッセージ同士の衝突が発生する可能性がある。しかし、ブロードキャストであるため無線メディアアクセス制御部13での再送が発生しないので、再送処理による無線メッシュネットワーク100の輻輳を防ぐことができる。  Moreover, when the some subunit | mobile_unit 1 detects a power failure, if a power failure notification message is broadcast, a collision of power failure notification messages may occur. However, since it is broadcast, retransmission at the wireless media access control unit 13 does not occur, so congestion of the wireless mesh network 100 due to retransmission processing can be prevented.

また、ブロードキャストにより停電通知メッセージを受信した子機1は、ランダムな転送待ち時間の転送待ちを行い、その間に受信した別の停電通知メッセージをマージするので、停電通知メッセージの送信回数を低減することができる。  Moreover, since the subunit | mobile_unit 1 which received the power failure notification message by broadcast waits transfer of random transfer waiting time, and merges another power failure notification message received in the meantime, it reduces the frequency | count of transmission of a power failure notification message. Can do.

また、複数の子機1が停電を検知し、小規模用期間で送信した停電通知メッセージが衝突により親機21まで到達しなかった場合でも、小規模用期間で停電通知メッセージが親機21まで到達したか否かに関わらず、大規模用期間に停電通知メッセージをユニキャストで送信するので、大規模時通知期限までの停電通知期間に停電通知メッセージを親機21まで送信することが可能になる。  Further, even when a plurality of slave units 1 detect a power failure and the power failure notification message transmitted in the small scale period does not reach the base unit 21 due to a collision, the power failure notification message is transmitted to the base unit 21 in the small scale period. The power failure notification message is transmitted by unicast during the large-scale period regardless of whether it has arrived, so that the power failure notification message can be transmitted to the main unit 21 during the power failure notification period up to the large-scale notification deadline. Become.

また、停電通知期間を小規模用期間と大規模用期間に分割し、周辺の子機1が停電を検知している否かを判断することなく、小規模用期間では停電通知メッセージをブロードキャストし、大規模用期間にもう一度、停電通知メッセージをユニキャストする。そのため、小規模用期間で送信した停電通知メッセージが親機21に到達したか否かを確認する確認通信メッセージの送信を不要とするので、通信負荷を軽減することができる。  Also, the power failure notification period is divided into a small-scale use period and a large-scale use period, and a power failure notification message is broadcast in the small-use period without determining whether or not the peripheral handset 1 has detected a power outage. Unicast the power outage notification message again during the large-scale period. For this reason, it is not necessary to transmit a confirmation communication message for confirming whether or not the power failure notification message transmitted in the small-scale period has reached the master device 21, so that the communication load can be reduced.

また、停電を検知した子機1が小規模用期間以内に停電通知メッセージを送信するためのランダムな時間の送信待ちをすると説明したが、このランダムな送信待ち時間に対して、親機21からのホップ数による重みづけを行うようにしてもよい。この場合、ホップ数が多い子機1から停電通知メッセージの送信を行うようにして、ホップ数が多い子機1の停電通知メッセージはマージされながら親機21まで伝搬するようにしてもよい。  Moreover, although the subunit | mobile_unit 1 which detected the power failure demonstrated waiting for transmission of the random time for transmitting a power failure notification message within the period for small scales, from the main | base station 21 with respect to this random transmission waiting time, Weighting by the number of hops may be performed. In this case, the power failure notification message may be transmitted from the slave unit 1 having a large number of hops, and the power failure notification message of the slave unit 1 having a large number of hops may be propagated to the master unit 21 while being merged.

実施の形態2.
実施の形態1では、停電通知期間を小規模用期間と大規模用期間に分け、停電を検知した子機1が小規模用期間に停電通知メッセージをブロードキャストし、大規模用期間ではユニキャストすることで、停電の規模に応じて通知期限を満たす例を説明したが、実施の形態2では、停電発生時には、停電通知メッセージ以外のメッセージの送信を停止して、親機21への停電通知メッセージの到達率を向上させる例について説明する。
停電通知メッセージ以外の例としては通常メッセージがある。通常メッセージは、前述したように、子機1が通常の動作で使用電力量の計測値を親機21に送受信するためのメッセージであり、計測値メッセージ、計測値取得メッセージ、計測値応答メッセージ、制御メッセージ、応答メッセージを含む。
Embodiment 2. FIG.
In the first embodiment, the power failure notification period is divided into a small-scale use period and a large-scale use period, and the slave unit 1 that detects the power failure broadcasts a power failure notification message during the small-scale use period, and unicasts during the large-scale use period. In the second embodiment, the notification deadline is satisfied according to the scale of the power failure. However, in the second embodiment, when a power failure occurs, transmission of a message other than the power failure notification message is stopped and the power failure notification message to the base unit 21 is stopped. An example of improving the arrival rate will be described.
There is a normal message as an example other than the power failure notification message. As described above, the normal message is a message for the slave unit 1 to transmit and receive the measurement value of the power consumption to the master unit 21 in a normal operation, and includes a measurement value message, a measurement value acquisition message, a measurement value response message, Includes control messages and response messages.

子機1の機能構成図とハードウェア構成図は、実施の形態1と同様である。
そのため、子機1の動作について以下に説明する。
まず、子機1が自身は停電を検知していない場合であって、他の子機1から停電通知メッセージを受信した場合の動作について説明する。
図17は、この発明の実施の形態1における子機1自身が停電を検出していない時に、他の子機1から停電通知メッセージを受信した場合の動作を示すフローチャートである。子機1の停電検出部8が停電を検出していない状態で、他の子機1から停電通知メッセージを受信すると、子機1の停電情報処理部9は、自身が通常メッセージの送信を停止中であるか否かを判定する(S51)。
The functional configuration diagram and hardware configuration diagram of the slave unit 1 are the same as those in the first embodiment.
Therefore, operation | movement of the subunit | mobile_unit 1 is demonstrated below.
First, the operation when the slave unit 1 itself has not detected a power failure and receives a power failure notification message from another slave unit 1 will be described.
FIG. 17 is a flowchart showing an operation when a power failure notification message is received from another slave device 1 when the slave device 1 itself has not detected a power failure in the first embodiment of the present invention. When the power failure detection unit 8 of the slave unit 1 does not detect a power failure and receives a power failure notification message from another slave unit 1, the power failure information processing unit 9 of the slave unit 1 stops transmission of the normal message. It is determined whether it is in the middle (S51).

子機1の停電情報処理部9が自身の通常メッセージの送信を停止中でなければ、自身を通常メッセージの送信を停止するように設定する(S52)。そして、通常メッセージの送信を停止する停止タイマーを開始して(S53)、停電通知メッセージの送信処理である停電通知処理を行う(S54)。停電通知処理は、図9の処理と同様である。
S51の判定で、子機1が自身の通常メッセージの送信を停止中であれば、S54の停電通知処理を行う
そして、S53で設定した通常メッセージの送信を停止する停止タイマーがタイムアウトしているか否かを判定する(S55)。
If the power failure information processing unit 9 of the child device 1 is not stopping transmission of its own normal message, it sets itself to stop transmission of the normal message (S52). And the stop timer which stops transmission of a normal message is started (S53), and the power failure notification process which is a power failure notification message transmission process is performed (S54). The power failure notification process is the same as the process of FIG.
If it is determined in S51 that the slave unit 1 is stopping transmission of its own normal message, the power failure notification process in S54 is performed. Whether the stop timer for stopping transmission of the normal message set in S53 has timed out or not. Is determined (S55).

停止タイマーがタイムアウトしていない場合、停電通知メッセージを他の子機1から受信したか否かを判定する(S56)。
S56で停電通知メッセージを他の子機1から受信している場合は、S54の停電通知処理を行う。停電通知処理については、図9の処理と同様であり、他の子機1から受信した停電通知メッセージをマージしてブロードキャストする。
S56で停電通知メッセージを他の子機1から受信していない場合は、S55に戻り、停止タイマーがタイムアウトしているか否かを判定する。
S55で、停止タイマーがタイムアウトしていると、通常メッセージの送信停止を解除して(S57)、処理を終了する。
If the stop timer has not timed out, it is determined whether or not a power failure notification message has been received from another slave unit 1 (S56).
When the power failure notification message is received from the other handset 1 in S56, the power failure notification processing in S54 is performed. The power failure notification process is the same as the process of FIG. 9, and the power failure notification messages received from other slave units 1 are merged and broadcast.
When the power failure notification message is not received from the other slave unit 1 in S56, the process returns to S55 to determine whether or not the stop timer has timed out.
If the stop timer has timed out in S55, the normal message transmission stop is canceled (S57), and the process is terminated.

次に、子機1自身が停電を検知している場合であって、他の子機1から停電通知メッセージを受信した場合の動作について説明する。
図18は、この発明の実施の形態1における子機1自身が停電を検知している時に、他の子機1からも停電通知メッセージを受信した場合の動作を示すフローチャートである。
子機1の停電検出部8で停電を検知すると、停電情報処理部9は自身を通常メッセージの送信を停止するように設定する(S61)。そして、通常メッセージを送信する停止タイマーを開始して(S62)、停電通知メッセージの送信処理である停電通知処理を行う(S63)。停電通知処理は図7と同様であり、小規模用期間以内に停電通知メッセージを他の子機1または親機21にブロードキャストし、大規模用期間以内に停電通知メッセージを他の子機1または親機21にユニキャストする。
Next, the operation when the slave unit 1 itself detects a power failure and receives a power failure notification message from another slave unit 1 will be described.
FIG. 18 is a flowchart showing an operation when the slave unit 1 itself detects a power failure in Embodiment 1 of the present invention and also receives a power failure notification message from another slave unit 1.
When a power failure is detected by the power failure detection unit 8 of the slave unit 1, the power failure information processing unit 9 sets itself to stop transmission of the normal message (S61). And the stop timer which transmits a normal message is started (S62), and the power failure notification process which is a power failure notification message transmission process is performed (S63). The power failure notification processing is the same as that in FIG. 7. The power failure notification message is broadcast to the other slave units 1 or 21 within the small period, and the power failure notification message is transmitted to the other slave unit 1 or within the large period. Unicast to base unit 21.

そして、通常メッセージの送信を停止する停止タイマーがタイムアウトしたか否かを判定し(S64)、タイムアウトしていなければ、停電通知メッセージを受信したか否かを判定する(S65)。
停電通知メッセージを受信していれば、S63の停電通知メッセージの送信処理を行う。停電通知処理は図7と同様である。
停電通知メッセージを受信していなければ、S64の通常メッセージの送信を停止する停止タイマーがタイムアウトしたか否かの判定を行う。
S64で常メッセージの送信を停止す停止タイマーがタイムアウトすれば、停電メッセージの送信停止を解除し(S66)、処理を終了する。
Then, it is determined whether or not the stop timer for stopping the transmission of the normal message has timed out (S64). If it has not timed out, it is determined whether or not a power failure notification message has been received (S65).
If a power failure notification message has been received, the power failure notification message transmission process of S63 is performed. The power failure notification process is the same as in FIG.
If the power failure notification message has not been received, it is determined whether or not the stop timer for stopping the transmission of the normal message in S64 has timed out.
If the stop timer for stopping the transmission of the regular message in S64 times out, the transmission stop of the power failure message is canceled (S66), and the process is terminated.

以上のように、無線メッシュネットワーク100において、停電が発生した場合に停電メッセージ以外の通常メッセージの送信を停止することにより、停電通知メッセージ以外の通常メッセージと停電通知メッセージとの衝突で停電通知メッセージが消失する可能性を低減することができ、停電通知メッセージをサーバ300への到達させる到達率を向上することが可能になる。  As described above, in the wireless mesh network 100, when the power failure occurs, the transmission of the normal message other than the power failure message is stopped, so that the power failure notification message is generated due to the collision between the normal message other than the power failure notification message and the power failure notification message. The possibility of disappearance can be reduced, and the arrival rate at which the power failure notification message reaches the server 300 can be improved.

実施の形態3.
実施の形態2では、停電が発生した時に通常メッセージの送信を抑制することで、停電通知メッセージの到達率を向上させることを目的としていたが、実施の形態3では、他の子機1から停電通知メッセージを受信した場合に、小規模用期間には停電通知メッセージを送信せずに、大規模用期間にのみユニキャストで停電通知メッセージをサーバ300に送信する例について説明する。
Embodiment 3 FIG.
In the second embodiment, the purpose is to improve the arrival rate of the power failure notification message by suppressing the transmission of the normal message when a power failure occurs, but in the third embodiment, the power failure occurs from the other handset 1. An example will be described in which, when a notification message is received, a power failure notification message is transmitted to the server 300 by unicast only during a large scale period without transmitting a power failure notification message during a small scale period.

複数の子機1が停電を検知した場合、小規模用期間に停電通知メッセージをブロードキャストすると、停電通知メッセージ同士が衝突し停電通知メッセージが消失してしまう可能性がある。そのため、自身が停電を検知している子機1が他の子機1から停電通知メッセージを受信している場合、複数の子機1が停電していることを検知可能な場合には、小規模用期間には停電通知メッセージを送信せずに、大規模用期間にのみユニキャストで停電通知メッセージをサーバ300に送信する。この様に、大規模用期間にのみユニキャストで停電通知メッセージを送信ことにより2次電源の消費を抑えられる可能性がある。  When a plurality of slave units 1 detect a power failure, if a power failure notification message is broadcast during a small period, the power failure notification messages may collide with each other and the power failure notification message may be lost. Therefore, when the handset 1 that has detected a power outage has received a power outage notification message from another handset 1, if it is possible to detect that a plurality of handset 1 are out of power, The power failure notification message is transmitted to the server 300 by unicast only during the large scale period without transmitting the power failure notification message during the scale period. In this way, there is a possibility that the consumption of the secondary power source can be suppressed by transmitting the power failure notification message by unicast only during the large-scale period.

子機1の機能構成図とハードウェア構成図は、実施の形態1と同様である。
そのため、子機1の動作について以下に説明する。
まず、子機1が停電を検知している場合の動作について説明する。
図19は、この発明の実施の形態1における子機1自身が停電を検知している場合に、大規模用期間にのみ停電通知メッセージを送信する動作を示すフローチャートである。
子機1の停電検出部8が停電を検知すると、停電情報処理部9は停電通知メッセージを生成し(S71)、小規模用期間以内でランダムな送信待ちタイマーを開始する(S72)。
The functional configuration diagram and hardware configuration diagram of the slave unit 1 are the same as those in the first embodiment.
Therefore, operation | movement of the subunit | mobile_unit 1 is demonstrated below.
First, the operation when the slave unit 1 detects a power failure will be described.
FIG. 19 is a flowchart showing an operation of transmitting a power failure notification message only during the large-scale period when the child device 1 itself detects a power failure in the first embodiment of the present invention.
When the power failure detection unit 8 of the slave unit 1 detects a power failure, the power failure information processing unit 9 generates a power failure notification message (S71), and starts a random transmission waiting timer within a small period (S72).

そして、停電情報処理部9は、送信待ちタイマーがタイムアウトする前に、他の子機1から停電通知メッセージをブロードキャストで受信したか否かを判定する(S73)。
S73で、他の子機1から停電通知メッセージをブロードキャストで受信したことを判定しなかった場合、送信待ちタイマーがタイムアウトしたか否かを判定する(S74)。
送信待ちタイマーがタイムアウトしていなければ、S73の処理に戻る。
Then, the power failure information processing unit 9 determines whether or not a power failure notification message has been received by broadcast from another child device 1 before the transmission waiting timer times out (S73).
If it is not determined in S73 that the power failure notification message has been received by broadcast from the other slave unit 1, it is determined whether or not the transmission waiting timer has timed out (S74).
If the transmission waiting timer has not timed out, the process returns to S73.

送信待ちタイマーがタイムアウトしていれば、自身の停電通知メッセージをブロードキャストし(S76)、S77以降の処理を行う。
S73で、他の子機から停電通知メッセージをブロードキャストで受信したことを判定した場合は、送信待ちタイマーを停止する(S75)。
そして、小規模用期間の終了時を起点として、大規模用期間以内でランダムな送信待ちタイマーを開始する(S77)。
If the transmission waiting timer has timed out, it broadcasts its own power failure notification message (S76) and performs the processing after S77.
If it is determined in S73 that a power failure notification message has been received by broadcast from another slave unit, the transmission waiting timer is stopped (S75).
Then, starting from the end of the small-scale period, a random transmission waiting timer is started within the large-scale period (S77).

次に、送信待ちタイマーがタイムアウトしたか否かを判定する(S78)。
送信待ちタイマーがタイムアウトすると、停電情報処理部9は、メッシュネットワーク制御部12と、無線メディアアクセス制御部13および無線通信制御部14を介して、自身の停電通知メッセージをユニキャストする(S79)。
送信待ちタイマーがタイムアウトしていなければ、S78の処理を行い送信待ちタイマーのタイムアウトを待つ。
Next, it is determined whether or not the transmission waiting timer has timed out (S78).
When the transmission waiting timer times out, the power failure information processing unit 9 unicasts its own power failure notification message via the mesh network control unit 12, the wireless media access control unit 13, and the wireless communication control unit 14 (S79).
If the transmission waiting timer has not timed out, the process of S78 is performed to wait for the transmission waiting timer to time out.

次に、子機1自身は停電を検知していない場合の動作について説明する。
図20は、この発明の実施の形態1における子機1自身が停電を検知していない場合に、大規模用期間にのみ停電通知メッセージを転送する動作を示すフローチャートである。
子機1の停電検出部8が停電を検知していない場合に、子機1が他の子機1から停電通知メッセージをブロードキャストで受信すると、停電情報処理部9はランダムな転送待ちタイマーを開始する(S81)。
次に、複数の子機1から停電通知メッセージをブロードキャストで受信したか否かを判定する(S82)。
Next, operation | movement when the subunit | mobile_unit 1 itself has not detected the power failure is demonstrated.
FIG. 20 is a flowchart showing an operation of transferring a power failure notification message only during a large-scale period when the child device 1 itself in Embodiment 1 of the present invention has not detected a power failure.
When the power failure detection unit 8 of the slave unit 1 does not detect a power failure, when the slave unit 1 broadcasts a power failure notification message from another slave unit 1, the power failure information processing unit 9 starts a random transfer waiting timer. (S81).
Next, it is determined whether or not a power failure notification message has been received from a plurality of slave units 1 by broadcast (S82).

複数の子機1から停電通知メッセージをブロードキャストで受信していない場合、転送待ちタイマーがタイムアウトしているか否かを判定する(S83)。
複数の子機1から停電通知メッセージをブロードキャストで受信した場合、転送待ちタイマーを停止し(S84)、処理を終了する。
処理を終了するため、停電通知メッセージを周辺の子機1に対してブロードキャスト送信しない。そして、他の子機1からユニキャストで停電通知メッセージが送信されて来た場合には、送信先情報を判断して次の子機1に停電通知メッセージをユニキャストで送信する。
If a power failure notification message is not received by broadcasting from the plurality of slave units 1, it is determined whether or not the transfer waiting timer has timed out (S83).
When a power failure notification message is received from a plurality of slave units 1 by broadcast, the transfer waiting timer is stopped (S84), and the process is terminated.
In order to finish the process, the power failure notification message is not broadcasted to the peripheral slave units 1. Then, when a power failure notification message is transmitted from another child device 1 by unicast, the destination information is determined and the power failure notification message is transmitted to the next child device 1 by unicast.

そして、S83で転送待ちタイマーがタイムアウトすると、停電通知メッセージをブロードキャストで受信した子機1は、メッシュネットワーク制御部12と、無線メディアアクセス制御部13、および無線通信制御部14を介して、周辺の子機1に対して停電通知メッセージをブロードキャストする(S85)。
そして、他の子機1からユニキャストで停電通知メッセージが送信されて来た場合には、次の子機1に停電通知メッセージをユニキャストで送信する。
Then, when the transfer waiting timer times out in S83, the slave unit 1 that has received the power failure notification message by broadcast receives the peripheral network via the mesh network control unit 12, the wireless media access control unit 13, and the wireless communication control unit 14. A power failure notification message is broadcast to the child device 1 (S85).
When a power failure notification message is transmitted from another slave unit 1 by unicast, the power failure notification message is transmitted to the next slave unit 1 by unicast.

以上のように、複数の子機1から停電通知メッセージを受信することにより、複数の子機1で停電が発生していることを検知することができる。そのため、小規模期間に停電通知メッセージの送信を停止して、大規模用期間にのみ停電通知メッセージを送信するので、2次電源6の消費を抑制することが可能になる。  As described above, by receiving the power failure notification message from the plurality of slave units 1, it is possible to detect that a power failure has occurred in the plurality of slave units 1. For this reason, the transmission of the power failure notification message is stopped during the small period and the power failure notification message is transmitted only during the large period, so that the consumption of the secondary power supply 6 can be suppressed.

また、複数の他の子機1から停電通知メッセージを受信することにより、複数の子機1で停電が発生していることを検知することができるため、小規模用期間で複数の停電通知メッセージの送信を停止し、大規模用期間にのみ停電通知メッセージ送信するので、2次電源の消費を抑制することが可能になる。Moreover, since it can detect that the power failure has generate | occur | produced in the some subunit | mobile_unit 1 by receiving the power failure notification message from the some other subunit | mobile_unit 1, several power failure notification message in the period for small scales Is stopped and the power failure notification message is transmitted only during the large-scale period, so that it is possible to suppress the consumption of the secondary power supply.

以上のように、本発明に係る通信装置は、停電通知期間を小規模用期間と大規模用期間に分割し、周辺の子機1が停電しているか否かを判断することなく、小規模用期間では停電通知メッセージをブロードキャストする。そして、小規模用期間の後に大規模用期間でもう一度停電通知メッセージをユニキャストで送信して、小規模用期間で送信した停電通知メッセージの確認通信メッセージの送信を不要とするので、通信負荷を軽減することができる。  As described above, the communication device according to the present invention divides the power failure notification period into the small-scale use period and the large-scale use period, and does not determine whether or not the peripheral handset 1 is out of power. During the service period, a power failure notification message is broadcast. Then, after the small-scale use period, the power failure notification message is transmitted again by unicast in the large-scale use period, and the confirmation of the power failure notification message transmitted in the small-scale use period is not required. Can be reduced.

1 通信装置(子機)、2 中央演算装置、3 メモリ、4 トランシーバ、5 アンテナ、6 2次電源、7 計測装置、8 停電検出部、9 停電情報処理部、10 計測情報処理部、11 メッセージ処理部、12 メッシュネットワーク制御部、13 無線メディアアクセス制御部、14 無線通信制御部、21 通信装置(親機)、22 中央演算装置、23 メモリ、24 トランシーバ、25 アンテナ、26 2次電源、27 WANインタフェース、28 停電情報処理部、29 計測情報処理部、30 メッセージ処理部、31 メッシュネットワーク制御部、32 広域ネットワーク通信制御部、33 無線メディアアクセス制御部、34 無線通信制御部、41 停電通知期間、42 小規模用期間、43 大規模用期間、44 停電検知、45 小規模時通知期限、46 大規模時通知期限、100 無線メッシュネットワーク、200 WAN、300 サーバ、600 自動検針システム。DESCRIPTION OF SYMBOLS 1 Communication apparatus (slave unit) 2 Central processing unit 3 Memory 4 Transceiver 5 Antenna 6 Secondary power supply 7 Measurement apparatus 8 Power failure detection part 9 Power failure information processing part 10 Measurement information processing part 11 Message Processing unit, 12 mesh network control unit, 13 wireless media access control unit, 14 wireless communication control unit, 21 communication device (base unit), 22 central processing unit, 23 memory, 24 transceiver, 25 antenna, 26 secondary power source, 27 WAN interface, 28 power failure information processing unit, 29 measurement information processing unit, 30 message processing unit, 31 mesh network control unit, 32 wide area network communication control unit, 33 wireless media access control unit, 34 wireless communication control unit, 41 power failure notification period , 42 Small scale period, 43 Large scale period, 44 Power failure detection , 45 Notification deadline at small scale, 46 Notification deadline at large scale, 100 Wireless mesh network, 200 WAN, 300 server, 600 Automatic meter reading system.

Claims (11)

無線マルチホップメッシュネットワークを構成する通信装置であって、
前記通信装置に供給される電源の停電を検出する停電検出部と、
前記停電検出部が停電を検出すると、設定された停電通知期間を第1の期間と第2の期間に分割し、前記第1の期間にブロードキャストで停電通知メッセージを送信する停電情報を生成して出力し、前記第2の期間にユニキャストで停電通知メッセージを送信する停電情報を生成して出力する停電情報処理部と、
前記停電情報を含むフレームを他の通信装置に送信する無線通信制御部と
を備えた通信装置。
A communication device constituting a wireless multi-hop mesh network,
A power failure detection unit for detecting a power failure of the power supplied to the communication device;
When the power failure detection unit detects a power failure, the set power failure notification period is divided into a first period and a second period, and a power failure information is transmitted that broadcasts a power failure notification message in the first period. A power outage information processing unit that outputs and generates power outage information for transmitting a power outage notification message in unicast in the second period;
A communication apparatus comprising: a wireless communication control unit that transmits a frame including the power failure information to another communication apparatus.
前記停電情報処理部は、前記第1の期間に他の通信装置から停電情報を受信すると、自身の停電通知メッセージに他の前記通信装置からの停電通知メッセージをマージする請求項1に記載の通信装置。 The communication according to claim 1, wherein when the power failure information processing unit receives power failure information from another communication device in the first period, the power failure information message is merged with a power failure notification message from another communication device in its own power failure notification message. apparatus. 前記停電情報処理部は、前記第1の期間のランダムな送信待ち時間に他の前記通信装置からの停電通知メッセージを受信すると、自身の停電通知メッセージに受信した停電通知メッセージをマージする請求項2に記載の通信装置。 The power failure information processing unit merges the received power failure notification message with its power failure notification message when receiving a power failure notification message from another communication device during the random transmission waiting time of the first period. The communication apparatus as described in. 前記停電情報処理部は、前記第1の期間のランダムな送信待ち時間に他の前記通信装置から停電通知メッセージを受信すると前記第1の期間にブロードキャストによる停電情報を出力しない請求項1に記載の通信装置。 The power outage information processing unit does not output power outage information by broadcasting in the first period when receiving a power outage notification message from another communication device during a random transmission waiting time in the first period. Communication device. 前記停電情報処理部は、前記通信装置の親機からのホップ数を用いて前記ランダムな送信待ち時間に対して重みづけを行う請求項3または請求項4に記載の通信装置。   The communication apparatus according to claim 3 or 4, wherein the power failure information processing unit weights the random transmission waiting time by using a hop number from a parent device of the communication apparatus. 前記停電情報処理部は、停電通知メッセージ以外のメッセージの送信を停止する請求項1から請求項5のいずれか1項に記載の通信装置。   The communication device according to any one of claims 1 to 5, wherein the power failure information processing unit stops transmission of messages other than a power failure notification message. 前記停電情報処理部は、前記停電検出部が停電を検出していない場合に、他の前記通信装置から停電通知メッセージをブロードキャストで受信すると、既に受信した前記停電通知メッセージにマージしてブロードキャストする停電情報を生成して出力する請求項1に記載の通信装置。   The power outage information processing unit, when the power outage detection unit has not detected a power outage, receives a power outage notification message from another communication device by broadcast and merges with the already received power outage notification message to broadcast The communication apparatus according to claim 1, wherein information is generated and output. 前記停電情報処理部は、停電通知メッセージ以外のメッセージの転送を停止する請求項7に記載の通信装置。   The communication apparatus according to claim 7, wherein the power failure information processing unit stops forwarding messages other than a power failure notification message. 無線マルチホップメッシュネットワークを構成し、配下の通信装置から受信した停電通知メッセージをサーバに送信する通信装置であって、
設定された停電通知期間を分割した第1の期間に、配下の通信装置からブロードキャストで停電情報を受信して当該停電情報が未受信か否かを判定し、また前記停電通知期間を分割した第2の期間に、配下の通信装置からユニキャストで停電情報を受信して当該停電情報が未受信であるか否かを判定し、未受信の前記停電情報を出力する停電情報処理部と、
広域ネットワークを介して前記未受信の停電情報をサーバに送信する広域ネットワーク通信制御部と
を備えた通信装置。
A communication device that configures a wireless multi-hop mesh network and transmits a power failure notification message received from a subordinate communication device to a server,
In the first period obtained by dividing the set power failure notification period, it is determined whether or not the power failure information has been received by receiving broadcast power failure information from a subordinate communication device, and the power failure notification period is divided. In the period of 2, a power outage information processing unit that receives power outage information by unicast from a subordinate communication device and determines whether the power outage information is unreceived, and outputs the unreceived power outage information;
A communication device comprising: a wide area network communication control unit that transmits the unreceived power outage information to a server via a wide area network.
無線マルチホップメッシュネットワークを構成する通信装置の通信方法であって、
前記通信装置に供給される電源の停電を検出する停電検出ステップと、
前記停電検出ステップで停電を検出すると、設定された停電通知期間を第1の期間と第2の期間に分割し、前記第1の期間にブロードキャストで停電通知メッセージを送信する停電情報を生成して出力し、前記第2の期間にユニキャストで停電通知メッセージを送信する停電情報を生成して出力する停電情報処理ステップと、
前記停電情報を含むフレームを他の通信装置に送信する無線通信制御ステップと
を備えた通信方法。
A communication method of a communication device constituting a wireless multi-hop mesh network,
A power failure detection step of detecting a power failure of the power supplied to the communication device;
When a power failure is detected in the power failure detection step, the set power failure notification period is divided into a first period and a second period, and a power failure information is transmitted that broadcasts a power failure notification message in the first period. A power failure information processing step for generating and outputting a power failure information for outputting and transmitting a power failure notification message by unicast in the second period;
A wireless communication control step of transmitting a frame including the power failure information to another communication device .
サーバと、当該サーバと広域ネットワークを介して接続され、無線マルチホップメッシュネットワークを構成する通信装置から構成されるシステムであって、
第1の通信装置は、自身に供給される電源の停電を検出する停電検出部、
前記停電検出部が停電を検出すると、設定された停電通知期間を第1の期間と第2の期間に分割し、前記第1の期間にブロードキャストで停電通知メッセージを送信する停電情報を生成して出力し、前記第2の期間にユニキャストで停電通知メッセージを送信する停電情報を生成して出力する停電情報処理部、
前記停電情報を含むフレームを他の通信装置に送信する無線通信制御部
を備え、
第2の通信装置は、配下の前記第1の通信装置から受信した停電情報が未受信か否かを判定し、未受信の前記停電情報を出力する停電情報処理部、
広域ネットワークを介して前記未受信の停電情報を前記サーバに送信する広域ネットワーク通信制御部
を備え、
前記サーバは、前記第2の通信装置から前記停電情報を受信する通信システム。
A system comprising a server and a communication device connected to the server via a wide area network and constituting a wireless multi-hop mesh network,
The first communication device includes a power failure detection unit that detects a power failure of a power source supplied to the first communication device;
When the power failure detection unit detects a power failure, the set power failure notification period is divided into a first period and a second period, and a power failure information is transmitted that broadcasts a power failure notification message in the first period. A power outage information processing unit that generates and outputs a power outage information that outputs and transmits a power outage notification message in unicast in the second period;
A wireless communication control unit that transmits a frame containing the power outage information to another communication device ,
The second communication device determines whether or not the power failure information received from the subordinate first communication device has not been received, and outputs the power failure information that has not been received,
A wide area network communication control unit that transmits the unreceived power outage information to the server via a wide area network,
The server is a communication system that receives the power outage information from the second communication device.
JP2019518658A 2017-05-17 2017-05-17 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM Active JP6591122B2 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2017/018482 WO2018211616A1 (en) 2017-05-17 2017-05-17 Communication device, communication method, and communication system

Publications (2)

Publication Number Publication Date
JP6591122B2 true JP6591122B2 (en) 2019-10-16
JPWO2018211616A1 JPWO2018211616A1 (en) 2019-11-07

Family

ID=64273492

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019518658A Active JP6591122B2 (en) 2017-05-17 2017-05-17 COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM

Country Status (3)

Country Link
JP (1) JP6591122B2 (en)
CN (1) CN110603710B (en)
WO (1) WO2018211616A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11125791B2 (en) * 2019-05-30 2021-09-21 Landis+Gyr Innovations, Inc. Managing outage detections and reporting
US11456944B1 (en) * 2021-04-21 2022-09-27 Landis+Gyr Innovations, Inc. Managing outage reporting using last gasps
FR3130479A1 (en) * 2021-12-15 2023-06-16 Sagemcom Energy & Telecom Sas METHOD and DEVICE FOR NOTIFYING A POWER CUT

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8792341B2 (en) * 2010-10-27 2014-07-29 Futurewei Technologies, Inc. System and method for machine-to-machine application based congestion control
US9351176B2 (en) * 2012-01-09 2016-05-24 Qualcomm Incorporated Phase and amplitude tracking in the presence of a walking pilot signal
CN104885326B (en) * 2012-12-28 2017-06-13 日立麦克赛尔株式会社 The monitoring control method of assembled battery system, battery system and assembled battery system
CN103281712B (en) * 2013-04-27 2015-08-19 烽火通信科技股份有限公司 Based on the communication base station and electric power monitoring and controlling system of IPMI

Also Published As

Publication number Publication date
JPWO2018211616A1 (en) 2019-11-07
WO2018211616A1 (en) 2018-11-22
CN110603710A (en) 2019-12-20
CN110603710B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US11515919B2 (en) Communications methods and apparatus using multiple beams
US10448370B2 (en) System and method for virtual multi-point transceivers
US11202242B2 (en) Low power sensor node operation for wireless network
US11252007B2 (en) Methods and apparatus for supporting use of multiple beams for communications purposes
US9313275B2 (en) Communication protocol for energy-harvesting devices
JPWO2015146066A1 (en) Wireless terminal, metering device, and communication control method
JP6591122B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM
JP7388430B2 (en) Base station equipment, terminal equipment, wireless communication system, and connection change method
JPWO2019240220A1 (en) Wireless sensor system, wireless terminal device, communication control method, and communication control program
JP2012253652A (en) Radio communication network system, and device and method for radio communication
JP5651527B2 (en) Wireless terminal device, wireless communication system, program, and wireless communication method
JP6053542B2 (en) Node device, wireless network, and channel switching method
JP2005233621A (en) Time setting method and base station device using the same
JP2018037701A (en) Wireless communication system
TW201545516A (en) Communication device and wireless mesh network
JP2010087583A (en) Radio communication method and node
CN115134951B (en) Wireless networking communication method in peer-to-peer mode
JP6822702B1 (en) Wireless communication equipment, wireless collection equipment, wireless communication systems, control methods and control programs
JP2025078989A (en) Antenna control method and communication system
CN105991236B (en) Uplink transmission method and device
JP2017143420A (en) Device, program and control method for radio communication
JP2018006886A (en) Radio communication terminal with beacon signal collision notification function

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190708

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190708

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20190708

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20190730

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190806

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190917

R150 Certificate of patent or registration of utility model

Ref document number: 6591122

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