JP6254840B2 - Aggregation apparatus, distribution method, distribution program, and network system - Google Patents

Aggregation apparatus, distribution method, distribution program, and network system Download PDF

Info

Publication number
JP6254840B2
JP6254840B2 JP2013253605A JP2013253605A JP6254840B2 JP 6254840 B2 JP6254840 B2 JP 6254840B2 JP 2013253605 A JP2013253605 A JP 2013253605A JP 2013253605 A JP2013253605 A JP 2013253605A JP 6254840 B2 JP6254840 B2 JP 6254840B2
Authority
JP
Japan
Prior art keywords
block
aggregation
firmware
program
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2013253605A
Other languages
Japanese (ja)
Other versions
JP2015111792A (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.)
Kansai Electric Power Co Inc
Original Assignee
Kansai Electric Power Co Inc
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 Kansai Electric Power Co Inc filed Critical Kansai Electric Power Co Inc
Priority to JP2013253605A priority Critical patent/JP6254840B2/en
Publication of JP2015111792A publication Critical patent/JP2015111792A/en
Application granted granted Critical
Publication of JP6254840B2 publication Critical patent/JP6254840B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、複数の通信装置が無線ネットワークで接続されて成る通信システムに関するものである。   The present invention relates to a communication system in which a plurality of communication devices are connected by a wireless network.

近年、各電力需要家に無線通信端末を設置し、これらを電力事業者が保有する収集サーバと通信可能に接続し、各電力需要家における電力量計の検針データを定期的に収集する自動検針システムが実現されつつある。かかる自動検針システムの構築に際し、無線通信端末(ノード)を通して順次データを転送してゆく、いわゆるマルチホップ方式の無線ネットワークシステムの適用が検討されている。   In recent years, a wireless communication terminal has been installed at each power consumer, and these are connected so as to be able to communicate with a collection server owned by the power company, and automatic meter reading is performed to periodically collect power meter reading data at each power consumer The system is being realized. In constructing such an automatic meter reading system, application of a so-called multi-hop wireless network system in which data is sequentially transferred through a wireless communication terminal (node) is being studied.

例えば、無線通信端末をノードとしてツリー型のネットワークを構成し、検針データを上位側の無線通信装置に吸い上げて統合し、さらに上位側へと転送してゆく無線データ収集システムが提案されている(特許文献1参照)。   For example, a wireless data collection system has been proposed in which a tree-type network is configured with wireless communication terminals as nodes, meter-reading data is collected and integrated into a higher-level wireless communication device, and further transferred to the higher-level side ( Patent Document 1).

このような無線データ収集システムにおいては、通信方式や業務要件の変更等によって無線通信端末のファームウェアの書替えが必要になると、作業員が現地へ出向き、無線通信端末のファームウェアを1台ずつインストールするか、或いは基板または装置自体を交換することで対応している。このような作業は、無線通信端末(電気のメータ)が、高所に設置されていたり、隣家との隙間に設置されたりして、作業自体が困難であるとともに、台数が多く、所定期間内に作業を終えるには多くの労力を必要とする。また、電気のメータは、複数の納入業者(メーカ)があり、納入時期によって型番(機能)も異なっており、どの家のメータにどのファームウェアをインストールすればよいのかというデータの管理も煩雑である。   In such a wireless data collection system, if the wireless communication terminal firmware needs to be rewritten due to changes in the communication method or business requirements, etc., workers should go to the site and install the wireless communication terminal firmware one by one. Alternatively, it can be handled by exchanging the substrate or the device itself. Such work is difficult because the wireless communication terminal (electric meter) is installed in a high place or installed in a gap with a neighbor. It takes a lot of work to finish the work. In addition, there are multiple suppliers (manufacturers) of electric meters, and the model numbers (functions) differ depending on the delivery time, and the management of data on which firmware should be installed in which home meter is complicated. .

そこで、多数の無線通信端末が設置される状況でも、その設置箇所までわざわざ出向くことなく、ファームウェアを無線通信端末1台1台に、トラヒックを抑えつつ、また、通信状況の良し悪しに関わらず確実にインストールすることができる通信システムが提案されている(特許文献2参照)。この通信システムは、図12に示すように、サーバ装置1においてファームウェアプログラム10を、回線占有時間や回線レートに基づく適切なデータ量のブロック(ファームウェアプログラム10内の矩形)に分割し、各ブロックに通し番号「1」〜「24」を割り当てる。そして、サーバ装置1は、ネットワーク2で接続されたゲートウェイ(「GW−1」、「GW−2」が記載された楕円で表す。)を介して、各無線通信端末(「端局」が記載された矩形で表す。)に向けて、所定の時間帯に、1ブロックずつ順次送信する。ブロックを受信した無線通信端末は、受信したブロックをメモリに記憶するとともに、他の無線通信端末に送信することで、ブロックは無線提供エリア内の全無線通信端末に送信される。無線通信端末は、受信したブロックを結合してファームウェアプログラム11を生成し、自装置のファームウェアを更新する。この際、無線通信端末は、受信したブロックのうち、ブロック番号に欠番(破線の矩形で表す。)がある場合には、サーバ装置1に再送要求を行って全ブロックを受信することで、確実にファームウェアを更新することが可能となっている。また、サーバ装置1は、順次、異なるメーカのファームウェアを送信し、無線通信端末は、受信したブロックのうち、自装置用のファームウェアのみをメモリに記憶することで、複数のメーカの無線通信端末が混在したとしても、それぞれの装置用のファームウェアを更新することが可能となっている。   Therefore, even when a large number of wireless communication terminals are installed, the firmware can be transferred to each wireless communication terminal one by one without restricting the installation location, and the traffic can be suppressed and reliable regardless of the communication status. Has been proposed (see Patent Document 2). As shown in FIG. 12, the communication system divides the firmware program 10 in the server device 1 into blocks (rectangles in the firmware program 10) having an appropriate data amount based on the line occupation time and the line rate. Serial numbers “1” to “24” are assigned. And the server apparatus 1 describes each radio | wireless communication terminal ("terminal station") via the gateway (It represents with the ellipse in which "GW-1" and "GW-2" were described.) Connected with the network 2. In the predetermined time zone, the data is sequentially transmitted one block at a time. The wireless communication terminal that has received the block stores the received block in a memory and transmits the block to another wireless communication terminal, whereby the block is transmitted to all the wireless communication terminals in the wireless service area. The wireless communication terminal combines the received blocks to generate the firmware program 11 and updates the firmware of the own device. At this time, if there is a missing block number (represented by a broken-line rectangle) among the received blocks, the wireless communication terminal makes a re-transmission request to the server device 1 to receive all blocks. It is possible to update the firmware. Further, the server apparatus 1 sequentially transmits firmware of different manufacturers, and the wireless communication terminal stores only the firmware for its own apparatus in the memory among the received blocks, so that the wireless communication terminals of a plurality of manufacturers can Even if they are mixed, the firmware for each device can be updated.

特開2000−187793号公報JP 2000-187793 A 特開2009−188930号公報JP 2009-188930 A

しかし、ファームウェアプログラム自体のサイズは小さいものではなく、複数のメーカのファームウェアの更新が完了するまでには、それなりの時間を要する。また、新たなメーカの機種の採用等により送信すべきファームウェアの種類が多くなったり、機能追加等によりファームウェア自体のサイズが大きくなることにより、全無線通信端末のファームウェアの更新が完了するまでの時間は長くなる傾向にある。   However, the size of the firmware program itself is not small, and it takes a certain amount of time to complete the update of firmware of a plurality of manufacturers. Also, the time required to complete the firmware update for all wireless communication terminals due to the increase in the number of types of firmware to be transmitted due to the adoption of new manufacturer models, etc., and the increase in the size of the firmware itself due to the addition of functions, etc. Tend to be longer.

ファームウェアの更新には、ファームウェアの不具合を修正する場合等も含まれることから、ファームウェアを更新するための時間は、不具合が長期化しないためにも、なるべく短いことが望まれる。   Since the firmware update includes a case where a malfunction of the firmware is corrected, it is desirable that the time for updating the firmware is as short as possible so that the malfunction does not become longer.

そこで、本発明は、無線ネットワークにおいて、無線通信端末にプログラムを迅速に配信することを目的とする。   Accordingly, an object of the present invention is to quickly distribute a program to a wireless communication terminal in a wireless network.

本発明にかかる一態様に係る集約装置は、複数の集約装置と複数の通信装置とを有すると共に、各集約装置が各通信装置にプログラムを送信する機能を有し、無線通信により接続される無線ネットワークシステムの前記集約装置であって、前記複数の通信装置が用いる複数ブロックに分割されたプログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて所定周期で送信するブロック送信手段と、当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信手段が前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御手段とを備えることを特徴とする。 An aggregation device according to an aspect of the present invention includes a plurality of aggregation devices and a plurality of communication devices, and each aggregation device has a function of transmitting a program to each communication device, and is connected by wireless communication. A block transmission unit that is the aggregation device of a network system and that sequentially transmits a program divided into a plurality of blocks used by the plurality of communication devices, one block at a time, to the communication devices within a radio wave reachable range at a predetermined period If, when the program said with the aggregation device other aggregation device transmits the same der is, and, a radio range of the radio wave arrival range of the aggregation device other aggregation devices you partially overlap, the block block transmission means transmits to the communication device in said portion is different from the block the other aggregation device transmits to the communication device in said portion blocks And a controlling means for controlling such that.

そして、本発明の他の一態様に係る配信方法は、複数の集約装置と複数の通信装置とを有すると共に、各集約装置が各通信装置にプログラムを送信する機能を有し、無線通信により接続される無線ネットワークシステムの前記集約装置で用いられる配信方法であって、前記複数の通信装置が用いる複数ブロックに分割されたプログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて送信するブロック送信ステップと、当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信ステップが前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御ステップとを備えることを特徴とする。 The distribution method according to another aspect of the present invention includes a plurality of aggregation devices and a plurality of communication devices, and each aggregation device has a function of transmitting a program to each communication device, and is connected by wireless communication. A distribution method used in the aggregation device of a wireless network system to be used, wherein a program divided into a plurality of blocks used by the plurality of communication devices is sequentially directed to the communication devices within a radio wave reach one block at a time. and block transmission step of transmitting, program the with the aggregation device other aggregation device transmits the Ri same der, and, overlapping the coverage area of the radio wave arrival range of the aggregation device other aggregation device part If you that, blocks the block transmission step transmits to the communication device in said portion is to send the another aggregation device to the communication device in said portion And a controlling step of controlling so as to block different from the block.

そして、本発明の他の一態様に係る配信プログラムは、複数の集約装置と複数の通信装置とを有すると共に、各集約装置が各通信装置にプログラムを送信する機能を有し、無線通信により接続される無線ネットワークシステムの前記集約装置で用いられる配信プログラムであって、前記複数の通信装置が用いる複数ブロックに分割されたプログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて送信するブロック送信手段と、当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信手段が前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御手段として、前記集約装置のコンピュータを機能させることを特徴とする。 The distribution program according to another aspect of the present invention includes a plurality of aggregation devices and a plurality of communication devices, and each aggregation device has a function of transmitting a program to each communication device, and is connected by wireless communication. A distribution program used in the aggregation device of the wireless network system to be divided into a plurality of blocks used by the plurality of communication devices, one block at a time, toward the communication device within the radio wave reach and a block transmitting unit that transmits, program the with the aggregation device other aggregation device transmits the Ri same der, and, overlapping the coverage area of the radio wave arrival range of the aggregation device other aggregation device part If you that, blocks the block transmitting means for transmitting to the communication device in said portion is the other aggregation device is sent to the communication device in said portion As control means for controlling so that different block blocks, and characterized by causing a computer to function in the aggregation device.

このような構成の集約装置、配信方法、及び、配信プログラムによれば、通信装置が用いるプログラムのブロックを、複数の集約装置それぞれが、それぞれ異なるブロックを所定周期で送信するので、通信装置は、同一の所定周期において複数のブロックを受信することが可能となる。つまり、全ての集約装置が同一の順番のブロックを順次送信する場合に比べて、通信装置は、より短時間で、プログラムの全てのブロックを受信することができる可能性が高くなる。   According to the aggregation device, the distribution method, and the distribution program having such a configuration, each of the plurality of aggregation devices transmits a different block in a predetermined cycle for the program block used by the communication device. A plurality of blocks can be received in the same predetermined cycle. That is, the communication device is more likely to receive all the blocks of the program in a shorter time than when all the aggregation devices sequentially transmit the same order of blocks.

また、上述の集約装置において、前記制御手段は、前記ブロック送信手段がブロックを送信するタイミングを、前記他の集約装置がブロックを送信するタイミングと異なるように制御することが好ましい。   In the aggregation device described above, it is preferable that the control unit controls the timing at which the block transmission unit transmits a block to be different from the timing at which the other aggregation device transmits a block.

この構成によれば、集約装置が送信するブロックの送信タイミングが、他の集約装置が送信するタイミングとずれるので、送信データ(フレーム)の衝突を回避できる可能性が高くなる。つまり、通信装置は、より確実にブロックを受信できることになる。   According to this configuration, the transmission timing of the block transmitted by the aggregation device is shifted from the timing transmitted by the other aggregation device, so that there is a high possibility that collision of transmission data (frames) can be avoided. That is, the communication device can receive the block more reliably.

また、上述の集約装置において、前記通信装置は、前記ブロックを受信し、受信した前記ブロックのうち、自装置の種類に応じたプログラムのブロックをメモリに記憶し、受信したブロックを、電波到達範囲内の前記通信装置に向けて送信するものであることが好ましい。   Further, in the aggregation device described above, the communication device receives the block, and stores a block of a program according to the type of the device in the received block, and stores the received block in a radio wave reachable range. It is preferable to transmit to the communication device.

この構成によれば、通信装置は、集約装置から受信したブロックを、更に、他の通信装置に向けて送信するので、集約装置の電波到達範囲内に無い通信装置も、ブロックを受信することが可能となる。つまり、集約装置の電波到達範囲を越えて、より広範囲に在る通信装置に、ブロックを送信することが可能となる。   According to this configuration, since the communication device further transmits the block received from the aggregation device to another communication device, a communication device that is not within the radio wave reachable range of the aggregation device can also receive the block. It becomes possible. That is, it is possible to transmit the block to communication devices that are in a wider range beyond the radio wave reachable range of the aggregation device.

また、上述の集約装置において、前記プログラムは、前記通信装置のファームウェアであることが好ましい。   In the aggregation device described above, it is preferable that the program is firmware of the communication device.

この構成によれば、通信装置は、より短時間でファームウェアを受信することができるので、通信装置は、迅速にファームウェアの更新を行うことが可能となる。   According to this configuration, since the communication device can receive the firmware in a shorter time, the communication device can quickly update the firmware.

本発明にかかる他の一態様に係るネットワークシステムは、サーバ装置と、複数の集約装置と、複数の通信装置とを有するネットワークシステムであって、前記サーバ装置は、前記複数の集約装置それぞれに、各集約装置と通信可能な前記通信装置の種類に応じたプログラムを送信するプログラム送信手段を備え、前記集約装置は、前記サーバ装置からプログラムを受信するプログラム受信手段と、複数ブロックに分割された前記プログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて所定周期で送信するブロック送信手段と、当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信手段が前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御手段とを備え、前記通信装置は、前記ブロックを受信し、電波到達範囲内の他の通信装置に向けて送信するブロック転送手段を備えることを特徴とする。 A network system according to another aspect of the present invention is a network system including a server device, a plurality of aggregation devices, and a plurality of communication devices, and the server device is provided in each of the plurality of aggregation devices, A program transmission unit that transmits a program according to the type of the communication device that can communicate with each aggregation device, the aggregation device includes a program reception unit that receives a program from the server device, and the block divided into a plurality of blocks the program sequentially block by block, and the block transmitting means for transmitting at predetermined intervals toward the communication device within radio range, Ri program identical der wherein with the aggregation device other aggregation device transmits, and, If the radio range of the other aggregation device and the coverage area of the aggregation device you partially overlap, the block transmission means Block to be transmitted to the communication device in the part, and a control means for the other aggregation device is controlled to be the different from the block to be transmitted to the communication device block in said portion, said communication apparatus, It is characterized by comprising block transfer means for receiving the block and transmitting it to other communication devices within the radio wave reachable range.

このような構成のネットワークシステムによれば、それぞれの集約装置は、自装置の電波到達範囲に在る通信装置、及び、この通信装置が送信するブロックを受信する通信装置が用いるプログラムを、サーバ装置から受信してそのプログラムのブロックを送信する。従って、通信装置は、自装置が用いることのないプログラムのブロックを受信することが少なくなるので、迅速に、自装置用のプログラムの全ブロックを受信することが可能となる。   According to the network system having such a configuration, each aggregation device uses a communication device that is within the radio wave reach of its own device, and a program used by the communication device that receives a block transmitted by the communication device as a server device. And send a block of that program. Therefore, the communication apparatus is less likely to receive blocks of programs that are not used by the communication apparatus, and thus can quickly receive all blocks of the program for the communication apparatus.

本発明にかかる無線ネットワークシステムの集約装置は、無線通信端末(通信装置)にプログラムを迅速に配信することができる。   The aggregation device of the wireless network system according to the present invention can quickly distribute a program to a wireless communication terminal (communication device).

電力需要家の端局から検針データ収集するための無線ネットワークシステムの使用例を示す図である。It is a figure which shows the usage example of the wireless network system for collecting meter-reading data from the terminal station of an electric power consumer. 端局Tの正面図の例である。It is an example of the front view of the terminal station T. 無線ネットワークシステムの概略を示す図である。1 is a diagram showing an outline of a wireless network system. メーカ限定ネットワークでのファームウェアの配信を説明するための図である。It is a figure for demonstrating delivery of the firmware in a maker limited network. ゲートウェイGWが近接するネットワークでのファームウェアの配信を説明するための図である。It is a figure for demonstrating delivery of the firmware in the network to which the gateway GW adjoins. 端局の機能ブロックの構成例を示す図である。It is a figure which shows the structural example of the functional block of a terminal station. ゲートウェイGWの機能ブロックの構成例を示す図である。It is a figure which shows the structural example of the functional block of gateway GW. 自装置情報テーブルの構成及び内容の例を示す図である。It is a figure which shows the example of a structure and the content of an own apparatus information table. ゲートウェイが行うファームウェア配信処理のフローチャートである。It is a flowchart of the firmware delivery process which a gateway performs. 端局が行うファームウェア更新処理のフローチャートである。It is a flowchart of the firmware update process which a terminal station performs. 無線ネットワークにおいて送受信されるデータを説明するための図である。It is a figure for demonstrating the data transmitted / received in a wireless network. 従来例のファームウェアの配信を説明するための図である。It is a figure for demonstrating delivery of the firmware of a prior art example.

<実施形態>
実施形態の無線ネットワークシステムは、マルチホップ無線ネットワークであり、各電力需要家から、検針データを収集するためのシステムである。
<Embodiment>
The wireless network system of the embodiment is a multi-hop wireless network, and is a system for collecting meter reading data from each power consumer.

図1は、実施形態の無線ネットワークシステムの使用例を示す図である。この無線ネットワークシステムは、電力需要家H1、H2、・・・、H12(総称するときは、電力需要家Hという。)、各電力需要家Hに設置されている電力計量器である端局T1、T2、・・・、T12(総称するときは、端局Tという。)、ゲートウェイGWa、GWb、GWc(総称するときは、ゲートウェイGWという。)、ネットワーク2、サーバ装置1を備える。尚、電力需要家H、端局T、ゲートウェイGW、及び、サーバ装置1の個数は、これらの数に限られない。   FIG. 1 is a diagram illustrating a usage example of the wireless network system according to the embodiment. This wireless network system includes power consumers H1, H2,..., H12 (collectively referred to as power consumer H), and a terminal station T1 that is a power meter installed in each power consumer H. , T2,..., T12 (when collectively referred to as a terminal station T), gateways GWa, GWb, and GWc (when collectively referred to as gateway GW), a network 2, and a server device 1. In addition, the number of the electric power consumer H, the terminal station T, the gateway GW, and the server apparatus 1 is not restricted to these numbers.

ネットワーク2は、電力会社等のネットワーク運営会社によって管理されているネットワークであり、有線、無線を問わない。また、ゲートウェイGWは、例えば、主な電柱に設けられ、ネットワーク2を介して、電力会社等によって管理されているサーバ装置1と接続される。   The network 2 is a network managed by a network operating company such as an electric power company, and may be wired or wireless. The gateway GW is connected to the server device 1 that is provided in, for example, a main utility pole and managed by an electric power company or the like via the network 2.

端局Tは、マルチホップを用いたネットワークのノードを構成し、何れかのゲートウェイGWに属している。端局Tは、積算電力量計としての機能を有し、それぞれの検針データは、順次、隣の端局Tに転送され、自装置が属するゲートウェイGWに集められる。各ゲートウェイGWに集められた検針データは、ネットワーク2を介して、サーバ装置1に送信される。端局Tは、無線LAN(Local Area Network)規格での通信を行い、信号A1〜4等で示すように、アドホックモードによって1対1の通信を行う。また、ゲートウェイGWはそれぞれ、数百程度の端局Tの検針データを収集する。   The terminal station T constitutes a node of a network using multihop and belongs to any gateway GW. The terminal station T has a function as an integrated watt-hour meter, and each meter reading data is sequentially transferred to the adjacent terminal station T and collected at the gateway GW to which the own apparatus belongs. The meter reading data collected in each gateway GW is transmitted to the server device 1 via the network 2. The terminal station T performs communication according to a wireless LAN (Local Area Network) standard, and performs one-to-one communication in an ad hoc mode as indicated by signals A1 to 4 and the like. Each gateway GW collects meter reading data of about several hundred terminal stations T.

図2は、端局Tの正面図の例である。この端局Tは、電力需要家の宅内の各配電線が接続される端子台6、負荷開閉器3000、電力量計2000、及び、通信装置1000が配列されて構成される。電力量計2000は、積算電力量を、予め定める周期、例えば、5分毎に検針する。その検針データは30分毎に、通信装置1000によって、自装置の属するゲートウェイGWに向けて送信される。負荷開閉器3000は、サーバ装置1から送信されてくる制御データに応じて、開閉動作を行う。   FIG. 2 is an example of a front view of the terminal station T. This terminal station T is configured by arranging a terminal block 6, a load switch 3000, a watt hour meter 2000, and a communication device 1000 to which each distribution line in the home of a power consumer is connected. The watt-hour meter 2000 reads the accumulated power amount every predetermined period, for example, every 5 minutes. The meter reading data is transmitted every 30 minutes by the communication apparatus 1000 toward the gateway GW to which the own apparatus belongs. The load switch 3000 performs an opening / closing operation in accordance with control data transmitted from the server device 1.

ここで、図3に、実施形態のマルチホップを用いたネットワークの概略を示す。2重円がゲートウェイGWを示し、円内部にはゲートウェイGWの識別子「GWa」等が記載されている。1重円が端局Tを示し、円内部には端局Tの識別子「T1」等が記載されている。円を結ぶ破線は、その両端の円で示すゲートウェイGW又は端局T同士が、互いの存在を検出(学習)していることを示す。   Here, FIG. 3 shows an outline of the network using the multi-hop of the embodiment. A double circle indicates the gateway GW, and an identifier “GWa” or the like of the gateway GW is described inside the circle. A single circle indicates the terminal station T, and an identifier “T1” or the like of the terminal station T is described inside the circle. A broken line connecting the circles indicates that the gateways GW or the terminal stations T indicated by circles at both ends thereof detect (learn) each other's existence.

サーバ装置1とゲートウェイGWとはネットワーク(通信回線)2によって接続され、ゲートウェイGWと各端局とは、マルチホップにより接続される。実施形態のネットワークでは、ホップ数は、最大で数十、好ましくは十ホップ以下である。   The server device 1 and the gateway GW are connected by a network (communication line) 2, and the gateway GW and each terminal station are connected by multi-hop. In the network of the embodiment, the number of hops is at most several tens, preferably 10 hops or less.

実施形態のネットワークは、例えば、マルチホップ無線ネットワークにおけるいわゆるプロアクティブ型のルーティングのプロトコルの1つであるOLSR(Optimized Link State Routing)によって生成される。ゲートウェイGWと各端局Tとの間の経路は、各装置(ゲートウェイGW、端局T)が、周期的に、自装置の存在を伝えるとともに、経路情報を交換するためのメッセージを送受信することで、各装置が自律的に構築する。各ゲートウェイGW、及び、各端局Tは、ネットワーク全体のトポロジー情報である経路表(ルートテーブル)、例えば、学習したネットワーク内の端局Tと、その端局Tへデータを送信するための隣接送信先である端局Tとを対応付けて記憶する。   The network of the embodiment is generated by, for example, OLSR (Optimized Link State Routing) which is one of so-called proactive routing protocols in a multi-hop wireless network. As for the route between the gateway GW and each terminal station T, each device (gateway GW, terminal station T) periodically transmits and receives a message for exchanging route information while transmitting the presence of the device itself. Thus, each device constructs autonomously. Each gateway GW and each terminal station T is a routing table (route table) which is topology information of the entire network, for example, a terminal station T in the learned network and an adjacent network for transmitting data to the terminal station T. The terminal station T that is the transmission destination is stored in association with it.

各装置が自律的に、周囲の電波状況等の変化に応じて、最適な経路を構築するため、端局TからゲートウェイGWへの上りルートと、ゲートウェイGWから端局Tへの下りルートとでは、経路が異なる場合がある。   Since each device autonomously constructs an optimum route according to changes in surrounding radio wave conditions, etc., the upstream route from the terminal station T to the gateway GW and the downstream route from the gateway GW to the terminal station T The route may be different.

検針データは、その端局Tが属するゲートウェイGWに向けて上りルートで送信される。例えば、図3において、ハッチングがかかった識別子「T8」の端局T(以下、「端局T8」という。)の、識別子「GWa」のゲートウェイGW(以下、「ゲートウェイGWa」という。)への上りルートを、ゲートウェイGW向きの実線矢印で示す。具体的には、端局T8が送信した検針データは、端局T6を経由してゲートウェイGWaに到達する。端局T8が、検針データをゲートウェイGWaに向けて送信する為に、上位の隣接送信先である端局T6に送信するパケットの例を図11(a)に示す。このパケットには、隣接宛先として端局T6の宛先「T6−Addr」、最終宛先としてゲートウェイGWaの宛先「GWa−Addr」、データ種別として「検針データ」、自装置の検針データが含まれる。端局T8から検針データのパケットを受信した端局T6は、最終宛先「GWa−Addr」への経路上の宛先に、受信したパケットを転送する。図3の場合は、端局T6は、受信したパケットを「GWa−Addr」に転送することとなるが、他の端局Tを経由する場合は、その端局T宛にパケットを転送する。   The meter reading data is transmitted on the upstream route toward the gateway GW to which the terminal station T belongs. For example, in FIG. 3, the hatched terminal T with the identifier “T8” (hereinafter referred to as “terminal T8”) is transferred to the gateway GW with the identifier “GWa” (hereinafter referred to as “gateway GWa”). The upstream route is indicated by a solid arrow facing the gateway GW. Specifically, the meter reading data transmitted from the terminal station T8 reaches the gateway GWa via the terminal station T6. FIG. 11A shows an example of a packet transmitted from the terminal station T8 to the terminal station T6, which is a higher adjacent transmission destination, in order to transmit the meter reading data to the gateway GWa. This packet includes the destination “T6-Addr” of the terminal station T6 as the adjacent destination, the destination “GWa-Addr” of the gateway GWa as the final destination, “meter reading data” as the data type, and the meter reading data of the own apparatus. The terminal station T6 that has received the meter reading data packet from the terminal station T8 transfers the received packet to the destination on the path to the final destination “GWa-Addr”. In the case of FIG. 3, the terminal station T <b> 6 transfers the received packet to “GWa-Addr”, but transfers the packet to the terminal station T when passing through another terminal station T.

尚、実施形態では、端局Tの宛先は、MAC(Media Access Control)アドレスとし、ゲートウェイGWの宛先は、IP(Internet Protocol)アドレスとする。また、図11に示すパケットの例では、説明に必要な項目データのみを記載するものとする。   In the embodiment, the destination of the terminal station T is a MAC (Media Access Control) address, and the gateway GW is an IP (Internet Protocol) address. In the example of the packet shown in FIG. 11, only item data necessary for explanation is described.

また、サーバ装置1は、端局T8に制御データを送信する際には、その端局Tが属するゲートウェイGWaに制御データ(命令)を渡して、端局T8への送信を依頼する。制御データは、図3の端局T8に向かう実線矢印のルートで示す下りルートで、送信されることになる。具体的には、ゲートウェイGWaが送信した制御データは、端局T1、端局T3、端局T5を経由して端局T8に到達する。   Further, when transmitting control data to the terminal station T8, the server device 1 passes control data (command) to the gateway GWa to which the terminal station T belongs, and requests transmission to the terminal station T8. The control data is transmitted on the down route indicated by the solid arrow route toward the terminal station T8 in FIG. Specifically, the control data transmitted by the gateway GWa reaches the terminal station T8 via the terminal station T1, the terminal station T3, and the terminal station T5.

ゲートウェイGWaは、端局T8に送信する為に、制御データのパケットを、隣接送信先である端局T1宛に送信する。ゲートウェイGWaが、端局T1に送信するパケットの例を図11(b)に示す。このパケットには、隣接宛先として端局T1の宛先「T1−Addr」、データ種別として「制御データ」、最終宛先として端局T8の宛先「T8−Addr」、制御データが含まれる。ゲートウェイGWaから制御データのパケットを受信した端局T1は、最終宛先「T8−Addr」への隣接送信先である端局T3宛に、パケットを転送する。   In order to transmit to the terminal station T8, the gateway GWa transmits a control data packet to the terminal station T1, which is an adjacent transmission destination. FIG. 11B shows an example of a packet that the gateway GWa transmits to the terminal station T1. This packet includes the destination “T1-Addr” of the terminal station T1 as the adjacent destination, the “control data” as the data type, the destination “T8-Addr” of the terminal station T8 as the final destination, and the control data. The terminal station T1 that has received the control data packet from the gateway GWa transfers the packet to the terminal station T3 that is an adjacent transmission destination to the final destination “T8-Addr”.

端局Tは、図1に示すように、各電力需要家Hに設置されていることから、無線通信ネットワーク全体では膨大な数となり、電力需要家Hは広範囲に存在し、点在する場合もあれば、集合住宅のように集中している場合もある。そして、このような無線通信ネットワークでは、複数のメーカにより製造され、また、同一メーカにより製造されたものでも型番が異なる等、複数種類の端局Tが同時に設置されていることが多い。   As shown in FIG. 1, since the terminal stations T are installed in each power consumer H, the total number of wireless communication networks is enormous, and the power consumers H exist in a wide range and may be scattered. If there is, it may be concentrated like an apartment house. In such a wireless communication network, a plurality of types of terminal stations T are often installed at the same time, such as those manufactured by a plurality of manufacturers, and those manufactured by the same manufacturer having different model numbers.

このような電力需要家Hそれぞれに設置された端局Tから検針データを収集するような無線通信ネットワークには、例えば、次の2つの特徴がある。   Such a wireless communication network that collects meter-reading data from the terminal stations T installed in each power consumer H has, for example, the following two characteristics.

1つ目の特徴は、或る地域には、メーカAが製造した端局Tが設置され、他の地域には、メーカBが製造した端局Tが設置される等となることが多い。メーカが異なれば、基本的にファームウェアも異なる。   The first feature is that a terminal station T manufactured by manufacturer A is installed in a certain area, and a terminal station T manufactured by manufacturer B is installed in another area. Different manufacturers basically have different firmware.

2つ目の特徴は、ゲートウェイGWが接近して設置されているエリアがある。つまり、住宅密集地や集合住宅が多く在る地域には、小さいエリアに多くの端局Tが存在することから、検針データのトラフィックを軽減するためや、障害物が多い等の理由で、ゲートウェイGWが近接して設置され、その電波到達範囲が一部重なっている場合があることである。   The second feature is an area where the gateway GW is installed close. In other words, there are many terminal stations T in a small area in areas where there are many densely populated houses and apartment buildings, so the gateway is used to reduce meter reading data traffic or because there are many obstacles. There are cases where GWs are installed close to each other and their radio wave coverage ranges partially overlap.

実施形態の無線ネットワークシステムでは、このような特徴を利用してファームウェアの配信を、短時間で行う。   In the wireless network system of the embodiment, firmware is distributed in a short time using such characteristics.

<限定ネットワークの配信方法>
図4に、1つ目の特徴を利用したファームウェアの配信方法の例を示す。「メーカA限定ネットワーク」は、無線ネットワーク内のメーカAの端局Tが設置されたエリアのネットワークを示し、「メーカB限定ネットワーク」は、メーカBの端局Tが設置されたエリアのネットワークを示す。矩形で示す端局Tのうち、「端局A」と記載された矩形は、メーカAの端局Tを示し、「端局B」と記載された矩形は、メーカBの端局Tを示す。楕円で示すゲートウェイGW−Aは、「メーカA限定ネットワーク」内のゲートウェイGWであり、楕円で示すゲートウェイGW−Bは、「メーカB限定ネットワーク」内のゲートウェイGWである。図4では、「メーカA限定ネットワーク」と「メーカB限定ネットワーク」とにゲートウェイGWを1台ずつ記載しているが、複数であってもよい。尚、「メーカA限定ネットワーク」と「メーカB限定ネットワーク」とが重複する部分が発生し得るが、端局Tは、ゲートウェイGWからのホップ数が所定数を超える場合にはデータ転送を行わないことから、限定ネットワークの外縁が確定できる。
<Distributed network delivery method>
FIG. 4 shows an example of a firmware distribution method using the first feature. “Manufacturer A limited network” indicates a network in the area where the terminal station T of the manufacturer A in the wireless network is installed, and “Manufacturer B limited network” indicates a network in the area where the terminal station T of the manufacturer B is installed. Show. Of the terminal stations T indicated by rectangles, the rectangle described as “terminal station A” indicates the terminal station T of the manufacturer A, and the rectangle described as “terminal station B” indicates the terminal station T of the manufacturer B. . A gateway GW-A indicated by an ellipse is a gateway GW in the “maker A limited network”, and a gateway GW-B indicated by an ellipse is a gateway GW in the “maker B limited network”. In FIG. 4, one gateway GW is described for each of “maker A limited network” and “maker B limited network”, but a plurality of gateways GW may be included. Note that a portion where the “maker A limited network” and the “maker B limited network” overlap may occur, but the terminal station T does not transfer data when the number of hops from the gateway GW exceeds a predetermined number. Therefore, the outer edge of the limited network can be determined.

サーバ装置1は、メーカA用のファームウェア21をゲートウェイGW−Aに送信し、メーカB用のファームウェア22をゲートウェイGW−Bに送信する。各ゲートウェイGWで、ファームウェアを複数のブロックに分割する。ブロックの分割は、回線占有時間や回線レートに基づく適切なデータ量で分割する。図4では、ファームウェア21とファームウェア22とをそれぞれ12個のブロックに分割しているが、それぞれのファームウェアのサイズや構成に応じて、適切な個数に分割する。尚、ファームウェアの分割は、サーバ装置1で行い、まとめてゲートウェイGWに送信してもよい。   The server apparatus 1 transmits the firmware 21 for the manufacturer A to the gateway GW-A, and transmits the firmware 22 for the manufacturer B to the gateway GW-B. In each gateway GW, the firmware is divided into a plurality of blocks. The block is divided by an appropriate amount of data based on the line occupation time and the line rate. In FIG. 4, the firmware 21 and the firmware 22 are each divided into 12 blocks. However, the firmware 21 and the firmware 22 are divided into an appropriate number according to the size and configuration of each firmware. The firmware may be divided by the server device 1 and transmitted to the gateway GW collectively.

ゲートウェイGW−Aは、メーカA用のファームウェア21の、ブロックA1からブロックA12までを1ブロックずつ、端局Tに向けて送信(ブロードキャスト)する(矢印23)。ブロックを受信した端局Tは、受信したブロックが自装置用のファームウェアのブロックである場合にはメモリに記憶し、受信したブロックを他の端局Tに向けて送信する。このように、「メーカA限定ネットワーク」内の全端局Tに、ブロックが転送されていく。端局Tは、ブロックA1〜ブロックA12までを記憶した場合には、ブロックを結合してファームウェア21を生成し、自装置のファームウェアを更新する。尚、ブロックに欠損があった場合には、端局Tは、欠損しているブロックをゲートウェイGW―Aに要求する。   The gateway GW-A transmits (broadcasts) the blocks A1 to A12 of the firmware 21 for the manufacturer A one by one to the terminal station T (arrow 23). When the received block is a firmware block for its own device, the terminal station T that has received the block stores it in the memory, and transmits the received block to the other terminal station T. In this way, blocks are transferred to all terminal stations T in the “maker A limited network”. When the terminal station T stores the blocks A1 to A12, the terminal station T combines the blocks to generate the firmware 21, and updates the firmware of the own device. If the block is missing, the terminal station T requests the gateway GW-A for the missing block.

ゲートウェイGW−Bは、メーカB用のファームウェア22の、ブロックB1からブロックB12までを1ブロックずつ、端局Tに向けて送信(ブロードキャスト)する(矢印24)。端局Tの動作は、「メーカA限定ネットワーク」の端局Tと同様である。   The gateway GW-B transmits (broadcasts) the blocks B1 to B12 of the firmware 22 for the manufacturer B to the terminal station T one block at a time (arrow 24). The operation of the terminal station T is the same as the terminal station T of the “maker A limited network”.

このように、ゲートウェイGWごとに、そのゲートウェイGWが設置された周辺の端局Tの種類に応じたファームウェアを配信することで、端局Tは、自装置用のファームウェアを受信するまでの待ち時間を短縮でき、無線通信ネットワーク全体での更新に要する時間を短縮することが可能となる。例えば、図12に示す従来例のように、各ゲートウェイGWが同じファームウェアのブロックを送信する場合には、メーカA用のファームウェア21を送信した後に、メーカB用のファームウェア22を送信することになる。この場合には、「メーカB限定ネットワーク」の端局Tは、メーカA用のファームウェア21が送信されている間が待ち時間となる。   In this way, for each gateway GW, by distributing the firmware according to the type of the peripheral terminal T around which the gateway GW is installed, the terminal station T waits until receiving the firmware for its own device. It is possible to shorten the time required for updating the entire wireless communication network. For example, as in the conventional example shown in FIG. 12, when each gateway GW transmits the same firmware block, the firmware 22 for manufacturer B is transmitted after the firmware 21 for manufacturer A is transmitted. . In this case, the terminal station T of the “maker B limited network” waits while the firmware 21 for the manufacturer A is being transmitted.

尚、図4では、ゲートウェイGWは、1種類のファームウェア(例えば、メーカA用のファームウェア21)を配信することとしているが、複数のファームウェアを配信することとしてもよい。例えば、メーカCの端局Tが、「メーカA限定ネットワーク」に混在している場合には、メーカC用のファームウェアも配信する。この場合でも、メーカA用のファームウェア、メーカB用のファームウェア、メーカC用のファームウェアと順に送信する場合に比べて、全体の更新時間は短縮することができる。   In FIG. 4, the gateway GW distributes one type of firmware (for example, the firmware 21 for the manufacturer A), but a plurality of firmware may be distributed. For example, when the terminal station T of the manufacturer C is mixed in the “maker A limited network”, the firmware for the manufacturer C is also distributed. Even in this case, the entire update time can be shortened as compared with the case of sequentially transmitting the firmware for manufacturer A, the firmware for manufacturer B, and the firmware for manufacturer C.

<複数GWによる配信方法>
図5に、2つ目の特徴を利用したファームウェアの配信方法の例を示す。図5は、図4の「メーカB限定ネットワーク」にファームウェアを配信する場合を示し、ゲートウェイGW−1及びゲートウェイGW−2は、「メーカB限定ネットワーク」内のゲートウェイGWである。ここでは、ゲートウェイGW−1とゲートウェイGW−2が、それぞれの電波到達範囲が一部重複する程度に近接して設置されている。一点鎖線の円が、ゲートウェイGW−1の電波到達範囲を示し、破線の円が、ゲートウェイGW−2の電波到達範囲を示す。
<Distribution method using multiple GWs>
FIG. 5 shows an example of a firmware distribution method using the second feature. FIG. 5 shows a case where firmware is distributed to the “maker B limited network” in FIG. 4, and the gateway GW-1 and the gateway GW-2 are gateways GW in the “maker B limited network”. Here, the gateway GW-1 and the gateway GW-2 are installed close enough to partially overlap each radio wave reachable range. A one-dot chain line circle indicates a radio wave reachable range of the gateway GW-1, and a broken circle indicates a radio wave reachable range of the gateway GW-2.

サーバ装置1は、メーカB用のファームウェア22を、ゲートウェイGW−1及びゲートウェイGW−2に送信する。各ゲートウェイGWが、ファームウェアを複数のブロックに分割する(図4のファームウェア22参照)。   The server apparatus 1 transmits the firmware 22 for manufacturer B to the gateway GW-1 and the gateway GW-2. Each gateway GW divides the firmware into a plurality of blocks (see firmware 22 in FIG. 4).

そして、ゲートウェイGW−1は、ブロックB1から順番に、端局Tに向けて送信し(矢印31)、ゲートウェイGW−2は、ブロックB4から順番に、端局Tに向けて送信する(矢印32)。つまり、各ゲートウェイGWは、互いに異なるブロックを送信する。言い換えれば、ゲートウェイGWが送信するブロックのブロック番号を分散させる。但し、正確には、ゲートウェイGWの個数及びブロックの個数等によって、一部のゲートウェイGWが同じ番号のブロックを送信する場合もある。   Then, the gateway GW-1 transmits toward the terminal station T in order from the block B1 (arrow 31), and the gateway GW-2 transmits toward the terminal station T in order from the block B4 (arrow 32). ). That is, each gateway GW transmits different blocks. In other words, the block numbers of the blocks transmitted by the gateway GW are distributed. However, to be exact, some gateways GW may transmit the same number of blocks depending on the number of gateways GW and the number of blocks.

複数のゲートウェイGWが送信するブロックのブロック番号を分散させることで、全端局Tにファームウェアの配信が完了するまでの時間を短縮させることが可能となる。   By distributing the block numbers of the blocks transmitted by the plurality of gateways GW, it is possible to shorten the time until the firmware distribution to all the terminal stations T is completed.

例えば、5MB(メガバイト)のファームウェアを配信する場合を考える。1400byteを1ブロックとして分割した場合、ブロック数は3572個となる。1ブロックを30秒ごとに送信するものとし、配信可能期間は、1時間あたり40分、具体的には、各時刻の20分〜60分とする。尚、1時間のうちの配信可能期間以外の20分は、検針データの送信等の処理を行う時間である。   For example, consider the case of distributing 5 MB (megabyte) firmware. When 1400 bytes are divided as one block, the number of blocks is 3572. One block is transmitted every 30 seconds, and the distribution possible period is 40 minutes per hour, specifically, 20 minutes to 60 minutes at each time. In addition, 20 minutes other than the distributable period in one hour is a time for performing processing such as transmission of meter-reading data.

全ゲートウェイGWが、同じ番号のブロックを送信した場合、全ブロックの送信が完了するのは、以下の時間となる。
送信時間(時間)=3572(ブロック)×30(秒)÷40(分)=44.65
When all the gateways GW transmit the same number of blocks, the transmission of all the blocks is completed at the following time.
Transmission time (hours) = 3572 (blocks) × 30 (seconds) ÷ 40 (minutes) = 44.65

2台のゲートウェイGWが、それぞれ異なる番号のブロックを送信、つまり、1台のゲートウェイGWがブロック番号1〜1786のブロックを送信し、他のゲートウェイGWがブロック番号1787〜3572のブロックを送信した場合、全ブロックの送信が完了するのは、以下の時間となる。
送信時間(時間)=3572(ブロック)÷2(台)×30(秒)÷40(分)=22.325
When two gateways GW send blocks with different numbers, that is, one gateway GW sends blocks with block numbers 1 to 1786 and another gateway GW sends blocks with block numbers 1787 to 3572 The transmission of all blocks is completed in the following time.
Transmission time (hours) = 3572 (blocks) ÷ 2 (units) × 30 (seconds) ÷ 40 (minutes) = 22.325

つまり、より短時間で、ゲートウェイGWから全ブロックが送信される。ゲートウェイGWから配信されたブロックは、端局Tをホップしながら全端局Tに伝播してくので、全端局Tにブロックをできるだけ早く届けるためには、できるだけ早くネットワーク上にブロックを流すことが効果的である。   That is, all blocks are transmitted from the gateway GW in a shorter time. Since the block delivered from the gateway GW propagates to all the terminal stations T while hopping the terminal station T, in order to deliver the block to all the terminal stations T as soon as possible, it is necessary to flow the block on the network as soon as possible. It is effective.

<ブロック番号分散方法>
ここで、ゲートウェイGWが送信するブロック番号を分散させる方法を説明する。
<Block number distribution method>
Here, a method for distributing the block numbers transmitted by the gateway GW will be described.

実施形態では、以下の式(1)を用いて、送信を開始するブロック番号を求め、昇順に送信を行う。最後の番号のブロックまで送信したら、ブロック番号が「1」のブロックから送信し、全部のブロックを送信するものとする。
開始ブロック番号=(装置ID)Mod(開始分散値)×(全ブロック数÷開始分散値)+1 ・・・(1)
ここで、装置IDはゲートウェイGWに固有の識別番号である。Modは割り算の余りを求める関数であり、(x)Mod(y)は、xをyで割った余りを出力する。開始分散値は、「4」とする。開始分散値は、ゲートウェイGWの数、ブロック数等を考慮して、適切な値とする。
In the embodiment, a block number for starting transmission is obtained using the following equation (1), and transmission is performed in ascending order. When the block having the last number is transmitted, the block having the block number “1” is transmitted, and all the blocks are transmitted.
Start block number = (device ID) Mod (start variance value) × (total number of blocks ÷ start variance value) +1 (1)
Here, the device ID is an identification number unique to the gateway GW. Mod is a function for calculating the remainder of division, and (x) Mod (y) outputs the remainder of dividing x by y. The starting variance value is “4”. The start variance value is set to an appropriate value in consideration of the number of gateways GW, the number of blocks, and the like.

例えば、「装置ID」が「120000」であるとし、ブロック数が12であるとする。式(1)を用いて開始ブロック番号を求めると、(120000)Mod(4)×(12÷4)+1=0×3+1=1となる。また、「装置ID」が「120001」の場合、(120001)Mod(4)×(12÷4)+1=1×3+1=4となる。   For example, it is assumed that “device ID” is “120,000” and the number of blocks is 12. When the start block number is obtained using the expression (1), (120,000) Mod (4) × (12 ÷ 4) + 1 = 0 × 3 + 1 = 1. When the “device ID” is “120001”, (120001) Mod (4) × (12 ÷ 4) + 1 = 1 × 3 + 1 = 4.

ここで、送信するブロック順をまとめた表1を以下に示す。   Here, Table 1 that summarizes the order of blocks to be transmitted is shown below.

Figure 0006254840
表1は、「配信回」フィールド、「余り=0」フィールド、「余り=1」フィールド、「余り=2」フィールド、及び、「余り=3」フィールドを備える。「配信回」フィールドは、何回目のブロック送信かを示す値が設定されている。ここでは、12ブロックから成るファームウェアを送信することから、「1」〜「12」が設定されている。「余り=0」フィールドには、(装置ID)Mod(開始分散値)の値が「0」であるゲートウェイGWが送信するブロック番号が設定されている。例えば、「配信回」フィールドに「1」が設定されている行の「余り=0」フィールドには、「1」が設定されていることから、「(装置ID)Mod(開始分散値)」の値が「0」であるゲートウェイGWが最初に送信するのは、ブロック番号「1」のブロックであることになる。また、「余り=1」フィールドには、「(装置ID)Mod(開始分散値)」の値が「1」であるゲートウェイGWが送信するブロック番号が設定されており、例えば、「配信回」フィールドに「4」が設定されている行の「余り=1」フィールドには、「7」が設定されていることから、「(装置ID)Mod(開始分散値)」の値が「1」であるゲートウェイGWが、4回目に送信するのは、ブロック番号「7」のブロックであることになる。尚、「余り=2」フィールドには、「(装置ID)Mod(開始分散値)」の値が「2」であるゲートウェイGWが送信するブロック番号が設定されており、「余り=3」フィールドには、(装置ID)Mod(開始分散値)の値が「3」であるゲートウェイGWが送信するブロック番号が設定されている。
Figure 0006254840
Table 1 includes a “delivery times” field, a “residue = 0” field, a “residue = 1” field, a “residue = 2” field, and a “residue = 3” field. In the “delivery times” field, a value indicating the number of block transmissions is set. In this case, since firmware consisting of 12 blocks is transmitted, “1” to “12” are set. In the “remainder = 0” field, a block number transmitted by the gateway GW whose (device ID) Mod (start variance value) is “0” is set. For example, since “1” is set in the “remainder = 0” field of the line in which “1” is set in the “delivery times” field, “(device ID) Mod (start variance value)” is set. The gateway GW whose value is “0” first transmits the block with the block number “1”. In the “Remainder = 1” field, a block number transmitted by the gateway GW having a value of “(device ID) Mod (start variance value)” of “1” is set. Since “7” is set in the “remainder = 1” field of the row in which “4” is set in the field, the value of “(device ID) Mod (start variance value)” is “1”. That is, the gateway GW transmits the block of the block number “7” for the fourth time. In the “Remainder = 2” field, a block number transmitted by the gateway GW whose “(device ID) Mod (start variance value)” is “2” is set, and the “Remainder = 3” field is set. Is set with a block number transmitted by the gateway GW whose (device ID) Mod (start variance value) is “3”.

尚、表1では、開始分散値を「4」としたことから、余りが0〜3の4つの場合が示されている。   In Table 1, since the starting dispersion value is “4”, four cases with a remainder of 0 to 3 are shown.

例えば、4台のゲートウェイGWを用い、それぞれのゲートウェイGWで算出した余りが「0」、「1」、「2」、「3」である場合には、表1に示すように、「配信回」フィールドの「1」、「2」、「3」が示す3回の送信を行えば、ブロック番号「1」〜「12」のブロックが送信されることがわかる。尚、装置IDによっては、複数のゲートウェイGWが同じ余りとなる場合もあるが、その場合でも、12回の配信を行うことなく、全ブロックが送信されることになる。   For example, when four gateways GW are used and the remainder calculated by each gateway GW is “0”, “1”, “2”, “3”, as shown in Table 1, “Distribution times” If the transmission is performed three times indicated by “1”, “2”, and “3” in the “” field, it is understood that the blocks having the block numbers “1” to “12” are transmitted. Depending on the device ID, a plurality of gateways GW may have the same remainder, but even in this case, all blocks are transmitted without performing 12 distributions.

このように、複数のゲートウェイGWを用いてファームウェアを配信する場合、各ゲートウェイGWが送信するブロックのブロック番号を分散することで、短時間でブロックをネットワーク上に流すことが可能となる。   Thus, when distributing firmware using a plurality of gateways GW, it is possible to distribute the blocks on the network in a short time by distributing the block numbers of the blocks transmitted by each gateway GW.

ネットワーク上に流されたブロックは、各端局Tによって、転送されていくことになる。端局Tは、常にキャリアセンスを行い、キャリアが空いたことを確認し、決められた期間アイドル状態が続くと、フレームの送信権を獲得したと判断する。そして、送信権を獲得した端局Tは、ブロックを他の端局Tに向けてブロードキャストする。   Blocks flowed on the network are transferred by each terminal station T. The terminal station T always performs carrier sense, confirms that the carrier is free, and determines that the transmission right of the frame has been acquired if the idle state continues for a predetermined period. Then, the terminal station T that has acquired the transmission right broadcasts the block toward the other terminal stations T.

従って、自端局Tが送信したブロック(フレーム)と、自端局Tがキャリアセンスできる範囲に在る端局Tが送信するブロック(フレーム)との間では、フレーム衝突は発生しない。しかし、キャリアセンスできる範囲に無い端局Tが送信するブロック(フレーム)とは、フレーム衝突が発生する可能性がある。フレーム衝突が発生すると、端局Tが受信するブロックのブロック番号に欠番が発生することになる。この場合、ゲートウェイGWが全ブロックを送信した後に、端局TがゲートウェイGWに再送要求を出して欠番のブロックを受信することになり、全端局Tのファームウェアの更新完了までの時間が長期化する可能性がある。   Therefore, no frame collision occurs between a block (frame) transmitted by the terminal station T and a block (frame) transmitted by the terminal station T within a range where the terminal station T can perform carrier sense. However, a frame collision may occur with a block (frame) transmitted by the terminal station T that is not within the range where carrier sense can be performed. When a frame collision occurs, a missing number occurs in the block number of the block received by the terminal station T. In this case, after the gateway GW transmits all the blocks, the terminal station T issues a retransmission request to the gateway GW and receives the missing block, and the time until the firmware update of all the terminal stations T is completed is prolonged. there's a possibility that.

従って、実施形態では、ゲートウェイGW間で、ブロック送信のタイミングをずらすこと、つまり、送信タイミングを分散させて、フレーム衝突をできるだけ回避する。   Therefore, in the embodiment, the block transmission timing is shifted between the gateways GW, that is, the transmission timing is dispersed to avoid frame collision as much as possible.

<送信タイミング分散方法>
以下、ゲートウェイGWがブロックを送信するタイミングを分散させる方法を説明する。
<Transmission timing distribution method>
Hereinafter, a method for distributing the timing at which the gateway GW transmits the blocks will be described.

実施形態では、以下の式(2)を用いて、送信を開始するタイミングを求める。具体的には、配信可能期間の開始時刻から遅らせる時間(以下、「分散時間」という。)を算出する。   In the embodiment, the timing to start transmission is obtained using the following equation (2). Specifically, a time (hereinafter referred to as “dispersion time”) that is delayed from the start time of the distributable period is calculated.

ゲートウェイGWは、配信可能期間の開始時刻となったら、算出した分散時間だけ遅延させて、所定周期(30秒)でブロックを送信する。
分散時間=(装置ID)Mod(開始分散値) ・・・(2)
ここで、開始分散値は、「10」とする。この開始分散値の値は、ゲートウェイGWの数、ブロックの数等を考慮して、適切な値とする。
When the start time of the distributable period is reached, the gateway GW delays the calculated dispersion time and transmits the block at a predetermined period (30 seconds).
Dispersion time = (device ID) Mod (start dispersion value) (2)
Here, the starting variance value is “10”. This starting variance value is set to an appropriate value in consideration of the number of gateways GW, the number of blocks, and the like.

例えば、算出された分散時間が9秒であれば、配信可能期間の開始時刻から9秒後に、最初のブロックを送信し、30秒後に、つまり、送信開始時刻から39秒後に、2番目のブロックを送信する。   For example, if the calculated dispersion time is 9 seconds, the first block is transmitted 9 seconds after the start time of the distributable period, and the second block is 30 seconds later, that is, 39 seconds after the transmission start time. Send.

このように、ゲートウェイGW間で、ブロック送信のタイミングを分散させることにより、フレーム衝突をできるだけ回避させ、複数のゲートウェイGWから送信されたブロックの端局Tによる受信成功率の向上を図っている。   As described above, by distributing the block transmission timing among the gateways GW, frame collision is avoided as much as possible, and the reception success rate by the terminal stations T of the blocks transmitted from the plurality of gateways GW is improved.

<構成>
図6は、端局Tの機能ブロックの構成例を示す図である。端局Tは、通信装置1000、電力量計2000、及び、負荷開閉器3000を備える。破線の矢印は、一部の端局TがゲートウェイGW(集約装置)と通信を行うことを示す。
<Configuration>
FIG. 6 is a diagram illustrating a configuration example of functional blocks of the terminal station T. The terminal station T includes a communication device 1000, a watt-hour meter 2000, and a load switch 3000. Dashed arrows indicate that some terminal stations T communicate with the gateway GW (aggregation device).

通信装置1000は、無線通信制御部1100、無線通信部1200、タイマー1300、機内通信制御部1400、インタフェース1410、インタフェース1420、外部インタフェース1500、入力部1510、リンク情報記憶部1800、ブロック記憶手段1810、及び、電力量情報記憶部1900を備える。   The communication apparatus 1000 includes a wireless communication control unit 1100, a wireless communication unit 1200, a timer 1300, an in-flight communication control unit 1400, an interface 1410, an interface 1420, an external interface 1500, an input unit 1510, a link information storage unit 1800, a block storage unit 1810, And the electric energy information storage part 1900 is provided.

無線通信制御部1100は、ファームウェア更新部1110、ブロック保存部1120、及び、ブロック転送部1130を有し、各機能部を制御して、無線通信の制御を行う機能を有する。例えば、所定期間ごとに、例えば、30分ごとに、電力量情報記憶部1900に記憶されている電力量を読み出して、端局Tが属するゲートウェイGW宛のパケットを無線通信部1200に送信させるなどである。所定期間が経過したことの検出は、タイマー1300からの割り込みによって検知する。   The wireless communication control unit 1100 includes a firmware update unit 1110, a block storage unit 1120, and a block transfer unit 1130. The wireless communication control unit 1100 has a function of controlling each functional unit to control wireless communication. For example, the power amount stored in the power amount information storage unit 1900 is read every predetermined period, for example, every 30 minutes, and a packet addressed to the gateway GW to which the terminal station T belongs is transmitted to the wireless communication unit 1200. It is. The detection that the predetermined period has elapsed is detected by an interrupt from the timer 1300.

ファームウェア更新部1110は、主に4つの機能を有する。1つ目の機能は、ゲートウェイGWからファームウェア配信の開始通知を受信すると、無線通信制御部1100を介して受信したファームウェアのブロックを、ブロック保存部1120に指示してブロック記憶手段1810に記憶させる機能である。この際、ファームウェア更新部1110は、受信したブロックが、自装置用のファームウェアのブロックであるか否かを判断し、自装置用のファームウェアのブロックである場合に、ブロック保存部1120に記憶させる。尚、ゲートウェイGWからファームウェア配信の開始通知は、図11(b)の制御データとして、ファームウェア更新処理を行う端局Tに送信される。   The firmware update unit 1110 mainly has four functions. The first function is a function of instructing the block storage unit 1120 to store the firmware block received via the wireless communication control unit 1100 in the block storage unit 1810 upon receiving a firmware distribution start notification from the gateway GW. It is. At this time, the firmware update unit 1110 determines whether or not the received block is a firmware block for the own device, and stores the block in the block storage unit 1120 if the received block is a firmware block for the own device. Note that the firmware distribution start notification is transmitted from the gateway GW to the terminal station T that performs the firmware update process as the control data in FIG.

ここで、図11(c)に、端局Tが受信する、つまり、ゲートウェイGWが送信するブロックデータの例を示す。このブロックデータには、宛先として全宛先(ブロードキャストアドレス)、データ種別として「ファームウェア」、ファームウェア種類として「メーカA」、全ブロック数としてファームウェアのブロック分割数、ブロック番号としてブロックの番号、ブロックとしてブロック化されたプログラム等が含まれる。ファームウェア種類は、メーカ名に限らず、ファームウェアを識別できるものであればよい。ファームウェア更新部1110は、ブロックデータ内のファームウェア種類に設定されている情報を参照して、自装置用のファームウェアか否かを判断する。   Here, FIG. 11C shows an example of block data received by the terminal station T, that is, transmitted by the gateway GW. The block data includes all destinations (broadcast addresses) as the destination, “firmware” as the data type, “maker A” as the firmware type, the number of firmware block divisions as the total number of blocks, the block number as the block number, and the block as the block Included programs. The type of firmware is not limited to the manufacturer name, but may be any type that can identify the firmware. The firmware update unit 1110 refers to the information set for the firmware type in the block data and determines whether the firmware is for the device itself.

2つ目の機能は、ブロック保存部1120から全ブロックを記憶した旨の通知を受けると、ブロック記憶手段1810に記憶されているブロックを結合し、結合したファームウェアプログラムを用いて、自装置のファームウェアを更新する機能である。自装置のファームウェアを更新すると、ファームウェア更新部1110は、自装置が属しているゲートウェイGWに向けて、ファームウェアの更新完了を通知するデータを送信する。   The second function is to receive the notification that all the blocks have been stored from the block storage unit 1120, combine the blocks stored in the block storage unit 1810, and use the combined firmware program to update the firmware of the device itself. It is a function to update. When the firmware of the own device is updated, the firmware update unit 1110 transmits data notifying the completion of the firmware update to the gateway GW to which the own device belongs.

3つ目の機能は、受信できなかった(欠番の)ブロック番号のブロックをゲートウェイGWから取得する機能である。詳細には、ファームウェア配信の開始通知を受信してから予め定められた配信処理時間が経過しても、全ブロックを受け取らなかった場合、つまり、ブロック保存部1120からの全ブロックを記憶した旨の通知を、受け取らなかった場合には、ファームウェア更新部1110は、ブロック保存部1120に欠番のブロック番号を問い合わせ、自装置が属するゲートウェイGWに再送要求を送信する。この配信処理時間は、ファームウェアプログラムの全ブロックが全端局Tに配信されると推定される時間であり、端局Tの数、ブロックの数等を考慮して、予め定められる。ファームウェア更新部1110は、配信処理時間が経過したことを、タイマー1300からの割り込みによって検知する。   The third function is a function of acquiring a block with a block number (missing number) that could not be received from the gateway GW. Specifically, if all the blocks have not been received even after a predetermined distribution processing time has elapsed since receiving the firmware distribution start notification, that is, all the blocks from the block storage unit 1120 have been stored. If the notification is not received, the firmware updating unit 1110 inquires of the block storage unit 1120 about the missing block number and transmits a retransmission request to the gateway GW to which the own device belongs. This distribution processing time is a time estimated that all blocks of the firmware program are distributed to all terminal stations T, and is determined in advance in consideration of the number of terminal stations T, the number of blocks, and the like. The firmware update unit 1110 detects that the distribution processing time has elapsed by an interrupt from the timer 1300.

4つ目の機能は、ゲートウェイGWからファームウェア配信の開始通知を受信してから、配信処理時間が経過するまでの間、受信したブロックデータをブロック転送部1130に転送させる機能である。   The fourth function is a function for transferring the received block data to the block transfer unit 1130 from the time when the firmware distribution start notification is received from the gateway GW to the time when the distribution processing time elapses.

ブロック保存部1120は、ファームウェア更新部1110から渡されたブロックを、ブロック記憶手段1810に記憶し、管理する機能を有する。ブロック保存部1120は、ブロック番号を管理し、既に記憶されているブロックはブロック記憶手段1810に記憶しない。ブロック保存部1120は、全ブロックを記憶すると、その旨をファームウェア更新部1110に通知する。また、ブロック保存部1120は、ファームウェア更新部1110からの問い合わせに応じて、ブロック番号に欠番が発生している場合には、その欠番の番号を通知する。   The block storage unit 1120 has a function of storing and managing the block transferred from the firmware update unit 1110 in the block storage unit 1810. The block storage unit 1120 manages the block number and does not store the already stored block in the block storage unit 1810. When all the blocks are stored, the block storage unit 1120 notifies the firmware update unit 1110 to that effect. Further, in response to an inquiry from the firmware updating unit 1110, the block storage unit 1120 notifies the missing number when a missing number is generated in the block number.

ブロック転送部1130は、ファームウェア更新部1110から渡されたブロックデータ(図11(c)参照)に、ホップ数を更新する等の必要な処理を行い、無線通信制御部1100、及び、無線通信部1200を介して送信する機能を有する。   The block transfer unit 1130 performs necessary processing such as updating the number of hops on the block data passed from the firmware update unit 1110 (see FIG. 11C), and performs the wireless communication control unit 1100 and the wireless communication unit It has a function of transmitting via 1200.

無線通信部1200は、他の端局T(図6の「端局T’」)、又は、ゲートウェイGWと、無線LAN規格によりアドホックモードでの通信を行う機能を有する。   The wireless communication unit 1200 has a function of communicating with another terminal station T (“terminal station T ′” in FIG. 6) or the gateway GW in an ad hoc mode according to the wireless LAN standard.

タイマー1300は、無線通信制御部1100、及び、機内通信制御部1400に時刻を通知し、また、予め定められた所定周期での割り込みを掛ける機能を有する。例えば、無線通信制御部1100及びに30分毎に割り込みを掛ける。機内通信制御部1400に5分毎に割り込みを掛ける等である。無線通信制御部1100は、割り込みのタイミングで電力量情報記憶部1900から30分間の検針データを読み出して送信し、機内通信制御部1400は、割り込みのタイミングで電力量計2000から5分間の受電電力量を取得して電力量情報記憶部1900に記憶させる。   The timer 1300 has a function of notifying the wireless communication control unit 1100 and the in-flight communication control unit 1400 of the time and also interrupting at a predetermined cycle. For example, the wireless communication control unit 1100 is interrupted every 30 minutes. For example, an in-flight communication control unit 1400 is interrupted every 5 minutes. The wireless communication control unit 1100 reads out and transmits the meter reading data for 30 minutes from the power amount information storage unit 1900 at the timing of interruption, and the in-flight communication control unit 1400 receives power for 5 minutes from the power meter 2000 at the timing of interruption. The power is acquired and stored in the power information storage unit 1900.

インタフェース1410は、電力量計2000から検針データを受信するインタフェースであり、インタフェース1420は、負荷開閉器3000に制御データを送信するインタフェースである。   The interface 1410 is an interface that receives meter reading data from the watt-hour meter 2000, and the interface 1420 is an interface that transmits control data to the load switch 3000.

機内通信制御部1400は、インタフェース1410、及び、インタフェース1420を介して、電力量計2000、及び、負荷開閉器3000との通信を制御する機能を有する。また、機内通信制御部1400は、電力量計2000から受電電力量を定期的に取得して電力量情報記憶部1900に記憶させておく機能を有する。   The in-flight communication control unit 1400 has a function of controlling communication with the watt-hour meter 2000 and the load switch 3000 via the interface 1410 and the interface 1420. The in-flight communication control unit 1400 has a function of periodically acquiring the received power amount from the watt-hour meter 2000 and storing it in the power amount information storage unit 1900.

外部インタフェース1500は、外部の設定ツール等と接続するインタフェースであり、端局Tの初期設定時等に初期値等を設定するために用いる。   The external interface 1500 is an interface connected to an external setting tool or the like, and is used for setting initial values and the like when the terminal station T is initially set.

入力部1510は、ユーザの操作を受け付け、ユーザ操作に応じて、リンク情報記憶部1800、及び、電力量情報記憶部1900にデータを記憶させたり、記憶されているデータを書き換えたりする機能を有する。   The input unit 1510 has a function of accepting a user operation and storing data in the link information storage unit 1800 and the electric energy information storage unit 1900 or rewriting the stored data in accordance with the user operation. .

リンク情報記憶部1800は、図3で示すようなネットワーク全体のトポロジー情報など、データの送受信に必要な情報を、適時更新しながら記憶しておく機能を有する。   The link information storage unit 1800 has a function of storing information necessary for data transmission / reception such as topology information of the entire network as shown in FIG.

ブロック記憶手段1810は、ファームウェアのブロックを記憶しておく機能を有する。   The block storage unit 1810 has a function of storing firmware blocks.

電力量情報記憶部1900は、機内通信制御部1400が電力量計2000から取得した電力量を記憶しておく機能を有する。   The electric energy information storage unit 1900 has a function of storing the electric energy acquired from the electric energy meter 2000 by the in-flight communication control unit 1400.

図7は、ゲートウェイGWの機能ブロックの構成例を示す図である。ゲートウェイGWは、無線通信制御部4100、無線通信部1200、タイマー1300、外部インタフェース1500、入力部1510、外部通信制御部4000、リンク情報記憶部1800、検針データ記憶部1850、及び、ファームウェア記憶部4200を備える。   FIG. 7 is a diagram illustrating a configuration example of functional blocks of the gateway GW. The gateway GW includes a wireless communication control unit 4100, a wireless communication unit 1200, a timer 1300, an external interface 1500, an input unit 1510, an external communication control unit 4000, a link information storage unit 1800, a meter reading data storage unit 1850, and a firmware storage unit 4200. Is provided.

無線通信制御部4100は、ファームウェア配信部4110(ブロック送信手段)、ファームウェア管理部4120(制御手段)、及び、ファームウェア分割部4130を有し、各機能部を制御して、無線通信の制御を行う機能を有する。また、無線通信制御部4100は、端局Tから受信した検針データを検針データ記憶部1850に記憶させる。無線通信制御部4100は、所定のタイミングで、検針データ記憶部1850に記憶されている検針データを読み出して、外部通信制御部4000を介してサーバ装置1に送信し、また、外部通信制御部4000を介して受信されたサーバ装置1からのパケットを、無線通信部1200を介して端局Tに送信する。   The wireless communication control unit 4100 includes a firmware distribution unit 4110 (block transmission unit), a firmware management unit 4120 (control unit), and a firmware division unit 4130. The wireless communication control unit 4100 controls each functional unit to control wireless communication. It has a function. Further, the wireless communication control unit 4100 stores the meter reading data received from the terminal station T in the meter reading data storage unit 1850. The wireless communication control unit 4100 reads meter-reading data stored in the meter-reading data storage unit 1850 at a predetermined timing, transmits the data to the server device 1 via the external communication control unit 4000, and the external communication control unit 4000. The packet from the server device 1 received via the wireless communication unit 1200 is transmitted to the terminal station T via the wireless communication unit 1200.

ファームウェア配信部4110は、主に3つの機能を有する。1つ目の機能は、サーバ装置1から外部通信制御部4000を介してファームウェアプログラムを受信すると、ファームウェア管理部4120に渡してファームウェア記憶部4200に記憶させる機能である。   The firmware distribution unit 4110 mainly has three functions. The first function is a function of receiving a firmware program from the server device 1 via the external communication control unit 4000 and passing it to the firmware management unit 4120 for storage in the firmware storage unit 4200.

2つ目の機能は、ファームウェア管理部4120から1ブロックを取得し、端局Tに向けて送信する機能である。詳細には、ファームウェア配信部4110は、ファームウェア配信の開始通知を自GWに属する端局Tに向けて送信し、その後、ファームウェア管理部4120から1ブロックを取得してブロックデータ(図11(c))を作成し、無線通信部1200を介して全方位に送信する。ファームウェア配信部4110は、予め定められた配信可能期間に、所定周期で1ブロックずつ送信する。この際、配信可能期間の開始時刻から分散時間経過後に、ブロックの送信を開始する。分散時間は、ファームウェア管理部4120から通知される。実施形態では、上述のように、配信可能期間は、各時間の20分〜60分であり、所定周期は30秒とする。尚、配信可能期間の開始時刻及び終了時刻は、タイマー1300からの割り込みで検知するものとする。   The second function is a function of acquiring one block from the firmware management unit 4120 and transmitting it to the terminal station T. Specifically, the firmware distribution unit 4110 transmits a firmware distribution start notification to the terminal station T belonging to the own GW, and then acquires one block from the firmware management unit 4120 to obtain block data (FIG. 11C). ) And transmitted to all directions via the wireless communication unit 1200. The firmware distribution unit 4110 transmits one block at a predetermined cycle during a predetermined distribution available period. At this time, transmission of the block is started after the distribution time has elapsed from the start time of the distributable period. The distribution time is notified from the firmware management unit 4120. In the embodiment, as described above, the distributable period is 20 to 60 minutes of each time, and the predetermined period is 30 seconds. Note that the start time and end time of the distribution available period are detected by interruption from the timer 1300.

3つ目の機能は、全ブロックの送信を終了後、自GWに属する端局Tからブロックの再送要求を受けると、そのブロック番号のブロックをファームウェア管理部4120から取得して、その端局Tに向けて送信する機能である。   The third function is to receive a block retransmission request from the terminal station T belonging to the own GW after completing the transmission of all blocks, and obtain the block with the block number from the firmware management unit 4120 and It is a function to send to.

ファームウェア管理部4120は、主に4つの機能を有する。1つ目は、ファームウェア配信部4110から渡されたファームウェアプログラムを、ファームウェア分割部4130に渡してブロック分割させ、各ブロックをファームウェア記憶部4200に記憶させる機能である。分割数等の分割に必要な情報は、ファームウェアプログラムに含まれているものとする。   The firmware management unit 4120 mainly has four functions. The first function is a function for passing the firmware program delivered from the firmware distribution unit 4110 to the firmware dividing unit 4130 to divide the block into blocks and storing each block in the firmware storage unit 4200. Information necessary for division such as the number of divisions is included in the firmware program.

2つ目の機能は、分割したファームウェアのブロックのうち、どのブロックを配信するかを判断し、1ブロックずつファームウェア記憶部4200から読み出してファームウェア配信部4110に渡す機能である。上述の式(1)を用いて、最初に送信するブロック番号を算出する。   The second function is a function that determines which block of the divided firmware blocks is to be distributed, reads the blocks one by one from the firmware storage unit 4200, and passes them to the firmware distribution unit 4110. The block number to be transmitted first is calculated using the above equation (1).

3つ目の機能は、上述の式(2)を用いて分散時間を算出し、ファームウェア配信部4110に通知する機能である。   The third function is a function that calculates the distribution time using the above-described equation (2) and notifies the firmware distribution unit 4110 of it.

4つ目の機能は、ファームウェア配信部4110からブロック番号を指定されてブロックを要求されると、ファームウェア記憶部4200から該当のブロックを読み出して、ファームウェア配信部4110に渡す機能である。   The fourth function is a function of reading a corresponding block from the firmware storage unit 4200 and passing it to the firmware distribution unit 4110 when a block number is specified by the firmware distribution unit 4110 and a block is requested.

無線通信部1200、タイマー1300、外部インタフェース1500、入力部1510、リンク情報記憶部1800は、通信装置1000の無線通信制御部1100、無線通信部1200、タイマー1300、外部インタフェース1500、入力部1510、リンク情報記憶部1800と同様の機能を有する。   The wireless communication unit 1200, the timer 1300, the external interface 1500, the input unit 1510, and the link information storage unit 1800 are the wireless communication control unit 1100, the wireless communication unit 1200, the timer 1300, the external interface 1500, the input unit 1510, and the link of the communication device 1000. The information storage unit 1800 has the same function.

外部通信制御部4000は、サーバ装置1と通信する機能を有する。   The external communication control unit 4000 has a function of communicating with the server device 1.

検針データ記憶部1850は、自装置であるゲートウェイGWに属する端局Tから送信されてきた検針データを記憶しておく機能を有する。   The meter-reading data storage unit 1850 has a function of storing meter-reading data transmitted from the terminal station T belonging to the gateway GW that is its own device.

実施形態の通信装置1000、及び、ゲートウェイGWはそれぞれ、例えば、コンピュータを用いて構成可能であり、ハードディスク等の記憶部(不図示)に格納されているゲートウェイGW決定方法等をプログラムしたソフトウェアを、CPUにより実行することによって上述の無線通信制御部1100等がコンピュータに機能的に構成される。   Each of the communication apparatus 1000 and the gateway GW of the embodiment can be configured using, for example, a computer, and software that programs a gateway GW determination method and the like stored in a storage unit (not shown) such as a hard disk, When executed by the CPU, the wireless communication control unit 1100 and the like described above are functionally configured in the computer.

<データ>
以下、通信装置1000で用いる主なデータについて、図8を用いて説明する。
<Data>
Hereinafter, main data used in the communication apparatus 1000 will be described with reference to FIG.

図8は、自装置情報テーブル1810の構成及び内容の例を示す図である。自装置情報テーブル1810は、リンク情報記憶部1800に記憶されている。   FIG. 8 is a diagram showing an example of the configuration and contents of the own device information table 1810. The own device information table 1810 is stored in the link information storage unit 1800.

自装置情報テーブル1810は、項目1811、及び、内容1812を有する。   The own device information table 1810 includes an item 1811 and contents 1812.

項目1811は、自装置に関する情報の項目を示す。「自装置アドレス」は、自装置の宛先アドレスを示す。「ファームウェア種類」は、自装置が用いているファームウェアを特定する識別子を示す。   An item 1811 indicates an item of information regarding the own device. “Own device address” indicates a destination address of the own device. “Firmware type” indicates an identifier for identifying the firmware used by the own device.

内容1812は、項目1811が示す項目の内容を示す。例えば、項目1811が「自装置アドレス」の内容1812として「T8−Addr」が設定されているので、この自装置情報テーブル1810を記憶している端局Tの宛先は「T8−Addr」であることになる。従って、宛先として「T8−Addr」が設定されたパケットは、自装置宛のパケットであると判断する。また、項目1811が「ファームウェア種類」の内容1812として「メーカB」が設定されているので、この自装置情報テーブル1810を記憶している端局Tが使用しているファームウェアの識別子は「メーカB」であることになる。   A content 1812 indicates the content of the item indicated by the item 1811. For example, since the item 1811 is set to “T8-Addr” as the content 1812 of the “own device address”, the destination of the terminal station T storing the own device information table 1810 is “T8-Addr”. It will be. Therefore, the packet in which “T8-Addr” is set as the destination is determined to be a packet addressed to the own apparatus. Further, since “Manufacturer B” is set as the content 1812 of “Firmware type” in the item 1811, the identifier of the firmware used by the terminal station T storing the device information table 1810 is “Manufacturer B”. It will be.

<動作>
以下、ゲートウェイGW、及び、端局Tの通信装置1000の動作について、図9、及び、図10を用いて説明する。
<Operation>
Hereinafter, operations of the gateway GW and the communication apparatus 1000 of the terminal station T will be described with reference to FIGS. 9 and 10.

図9は、ゲートウェイGWが行うファームウェア配信処理のフローチャートである。また、図10は、端局Tの通信装置1000が行うファームウェア更新処理のフローチャートである。   FIG. 9 is a flowchart of firmware distribution processing performed by the gateway GW. FIG. 10 is a flowchart of firmware update processing performed by the communication apparatus 1000 of the terminal station T.

まず、図9を用いて、ゲートウェイGWが行うファームウェア配信処理を説明する。   First, the firmware distribution process performed by the gateway GW will be described with reference to FIG.

ゲートウェイGWの無線通信制御部4100は、外部通信制御部4000を介してサーバ装置1からファームウェアプログラムを受信すると、ファームウェア配信部4110に渡して、ファームウェアの配信処理を依頼する(ステップS30)。   When receiving the firmware program from the server device 1 via the external communication control unit 4000, the wireless communication control unit 4100 of the gateway GW passes the firmware program to the firmware distribution unit 4110 to request firmware distribution processing (step S30).

依頼を受けたファームウェア配信部4110は、ファームウェア配信の開始通知を、自GWに属する端局Tに向けて送信する(ステップS31)。ファームウェア配信部4110は、必要に応じて、各端局Tからの応答を確認する。   Upon receiving the request, the firmware distribution unit 4110 transmits a firmware distribution start notification to the terminal station T belonging to the own GW (step S31). The firmware distribution unit 4110 confirms the response from each terminal station T as necessary.

ファームウェア配信部4110は、無線通信制御部4100から渡されたファームウェアプログラムをファームウェア管理部4120に渡し、保存を依頼する。   The firmware distribution unit 4110 transfers the firmware program transferred from the wireless communication control unit 4100 to the firmware management unit 4120 and requests storage.

依頼を受けたファームウェア管理部4120は、渡されたファームウェアプログラムをファームウェア分割部4130に渡して、分割を依頼する。分割を依頼されたファームウェア分割部4130は、ファームウェアプログラムに含まれている分割に必要な情報に基づいてファームウェアプログラムをブロック化し、ファームウェア記憶部4200に記憶する(ステップS32)。   Upon receiving the request, the firmware management unit 4120 passes the delivered firmware program to the firmware dividing unit 4130 to request division. The firmware division unit 4130 requested to divide the firmware program into blocks based on the information necessary for the division included in the firmware program, and stores the block in the firmware storage unit 4200 (step S32).

次に、ファームウェア管理部4120は、式(1)を用いて、配信開始のブロック番号を算出し、作業領域に記憶しておく(ステップS33)。また、ファームウェア管理部4120は、式(2)を用いて、分散時間を算出し、ファームウェア管理部4120に通知する(ステップS34)。   Next, the firmware management unit 4120 calculates the distribution start block number using the equation (1) and stores it in the work area (step S33). Also, the firmware management unit 4120 calculates the distribution time using the formula (2) and notifies the firmware management unit 4120 (step S34).

そして、ファームウェア配信部4110は、配信可能期間の開始時刻をタイマー1300からの割り込みで検知すると(ステップS35:Yes)、分散時間の経過を待って(ステップS36)、ファームウェア管理部4120から最初に送信するブロック番号のブロックを取得し、ブロックデータを作成して無線通信部1200を介して全方位に送信する(ステップS37)。   Then, when the firmware distribution unit 4110 detects the start time of the distribution available period by an interrupt from the timer 1300 (step S35: Yes), the firmware distribution unit 4110 waits for the distribution time to elapse (step S36) and transmits it first from the firmware management unit 4120. The block having the block number to be acquired is acquired, block data is created, and transmitted to all directions via the wireless communication unit 1200 (step S37).

次に、ファームウェア配信部4110は、次に送信するブロックをファームウェア管理部4120に要求し、次に送信するブロックを取得すると(ステップS38:No)、所定周期(30秒)の経過を待つ(ステップS39)。所定周期の経過を待つ間に、配信可能期間の終了時刻の割り込みが無い場合は(ステップS40:No)、ブロックデータ(図11(c))を作成して無線通信部1200を介して全方位に送信する(ステップS37)。   Next, the firmware distribution unit 4110 requests the block to be transmitted next from the firmware management unit 4120 and acquires the block to be transmitted next (step S38: No), and then waits for the elapse of a predetermined period (30 seconds) (step S38). S39). If there is no interruption of the end time of the distributable period while waiting for the elapse of the predetermined period (step S40: No), block data (FIG. 11C) is created and omnidirectional via the wireless communication unit 1200 (Step S37).

ファームウェア配信部4110は、所定周期(30秒)の経過を待つ間に、配信可能期間の終了時刻の割り込みがあった場合は(ステップS40:No)、ステップS35に戻り、配信可能期間の開始時刻を示すタイマー1300からの割り込みを待つ。   If there is an interruption at the end time of the distributable period while waiting for the elapse of the predetermined period (30 seconds) (step S40: No), the firmware distribution unit 4110 returns to step S35 and starts the distributable period start time. Waits for an interrupt from the timer 1300.

また、ステップS38において、次に送信するブロックをファームウェア管理部4120に要求し、全ブロック配信済みの旨の通知を受けると(ステップS38:Yes)、ファームウェア配信部4110は、自GWに属する端局Tからのブロック再送要求を待つ。要求を受けると、要求されたブロック番号のブロックをファームウェア管理部4120から取得して、再送を要求している端局Tに向けて送信する(ステップS41)。ステップS31においてファームウェア配信の開始通知を送信してから、予め定められた配信期間が経過したら、ファームウェアの再送処理を終了する。   Also, in step S38, the firmware management unit 4120 is requested for the block to be transmitted next, and when the notification that all blocks have been distributed is received (step S38: Yes), the firmware distribution unit 4110 receives the terminal belonging to the own GW. Wait for a block retransmission request from T. When the request is received, the block having the requested block number is acquired from the firmware management unit 4120 and transmitted to the terminal station T requesting retransmission (step S41). When a predetermined distribution period has elapsed after transmitting the firmware distribution start notification in step S31, the firmware retransmission process is terminated.

次に、図10を用いて、端局Tの通信装置1000が行うファームウェア更新処理を説明する。   Next, firmware update processing performed by the communication apparatus 1000 of the terminal station T will be described with reference to FIG.

端局Tの無線通信制御部1100は、無線通信制御部1100を介して、自装置が属するゲートウェイGWからファームウェア配信の開始通知を受信すると、ファームウェア更新部1110にファームウェアの更新を依頼する(ステップS10)。   When the wireless communication control unit 1100 of the terminal station T receives the firmware distribution start notification from the gateway GW to which the own device belongs via the wireless communication control unit 1100, the wireless communication control unit 1100 requests the firmware update unit 1110 to update the firmware (step S10). ).

依頼を受けたファームウェア更新部1110は、配信処理時間が経過したことを示す割り込み前に(ステップS11:No)、ブロックデータを受信した場合(ステップS12:Yes)、受信したブロックデータをブロック転送部1130に渡して、転送を依頼する。依頼を受けたブロック転送部1130は、渡されたブロックデータに必要な処理を行い、無線通信部1200を介して全方位に送信する(ステップS13)。   Upon receiving the request, the firmware update unit 1110 receives the block data before the interruption indicating that the distribution processing time has passed (step S11: No) (step S12: Yes). 1130 to request transfer. Upon receiving the request, the block transfer unit 1130 performs necessary processing on the received block data, and transmits it in all directions via the wireless communication unit 1200 (step S13).

次に、ファームウェア更新部1110は、受信したブロックデータに含まれているファームウェアのブロックが、自装置用のファームウェアのブロックであるか否かを判断し(ステップS14)、自装置用のブロックでないと判断した場合は(ステップS14:No)、ステップS11からの処理を行う。一方、自装置用のブロックであると判断した場合は(ステップS14:Yes)、ブロック保存部1120にブロックの保存を依頼する。   Next, the firmware update unit 1110 determines whether or not the firmware block included in the received block data is a firmware block for the own device (step S14), and is not a block for the own device. If it is determined (step S14: No), the processing from step S11 is performed. On the other hand, if it is determined that the block is for the device itself (step S14: Yes), the block storage unit 1120 is requested to store the block.

依頼を受けたブロック保存部1120は、受信したブロックのブロック番号のブロックが、既にブロック記憶手段1810に保存してある場合は(ステップS15:Yes)、ステップS11からの処理を行う。一方、受信したブロックのブロック番号のブロックが、未だブロック記憶手段1810に保存してない場合は(ステップS15:No)、受信したブロックデータ内のブロックをブロック記憶手段1810に記憶する(ステップS16)。そして、ブロック保存部1120は、全ブロックが保存された場合には(ステップS17:Yes)、その旨をファームウェア更新部1110に通知し、未だ全ブロックが保存されていない場合には(ステップS17:No)、ステップS11からの処理を行う。   The block storage unit 1120 that has received the request performs the processing from step S11 if the block with the block number of the received block has already been stored in the block storage unit 1810 (step S15: Yes). On the other hand, if the block with the block number of the received block has not been saved in the block storage means 1810 (step S15: No), the block in the received block data is stored in the block storage means 1810 (step S16). . Then, when all the blocks are stored (step S17: Yes), the block storage unit 1120 notifies the firmware update unit 1110 to that effect, and when all the blocks are not stored yet (step S17: No), the process from step S11 is performed.

ステップS17において、全ブロックが保存された旨の通知をブロック保存部1120から受けたファームウェア更新部1110は、ブロック記憶手段1810に記憶されている全ブロックを結合し(ステップS19)、自装置のファームウェアを更新し(ステップS20)、ファームウェアの更新完了通知を、自装置が属するゲートウェイGWに対して送信する(ステップS21)。   In step S17, the firmware update unit 1110 that has received notification from the block storage unit 1120 that all the blocks have been stored combines all the blocks stored in the block storage unit 1810 (step S19), and the firmware of the device itself. Is updated (step S20), and a firmware update completion notification is transmitted to the gateway GW to which the device belongs (step S21).

ステップS11において、配信処理時間(一定時間)が経過したことを示す割り込みを受けた場合(ステップS11:Yes)、ファームウェア更新部1110は、ブロック保存部1120から欠番のブロック番号を取得し、欠番のブロック番号のブロックの再送要求を、自装置が属するゲートウェイGWに送信する。欠番のブロック番号のブロックを受信したら(ステップS18)、ファームウェア更新部1110は、ステップ19からの処理を行う。   In step S11, when receiving an interrupt indicating that the distribution processing time (fixed time) has elapsed (step S11: Yes), the firmware update unit 1110 acquires the missing block number from the block storage unit 1120, and obtains the missing number. A retransmission request for the block with the block number is transmitted to the gateway GW to which the own apparatus belongs. When the block having the missing block number is received (step S18), the firmware update unit 1110 performs the processing from step 19.

尚、実施形態では、ファームウェアを配信することとしているが、ファームウェアに限らず、他のプログラムやデータであってもよい。   In the embodiment, firmware is distributed. However, the present invention is not limited to firmware, and other programs and data may be used.

また、実施形態では、通信装置1000はマルチホップ形式でゲートウェイGWや他の通信装置1000と無線通信することとしているが、マルチホップ形式に限らない。   In the embodiment, the communication apparatus 1000 wirelessly communicates with the gateway GW and other communication apparatuses 1000 in a multihop format, but is not limited to the multihop format.

また、実施形態では、送信を開始するブロック番号を、式(1)を用いて求めているが、他の方法でブロック番号を分散させてもよい。例えば、「(装置ID)Mod(開始分散値)」で求めた値毎に、送信するブロック番号の順番を予め決めて、記憶しておく等である。   Further, in the embodiment, the block number at which transmission is started is obtained using Expression (1), but the block number may be distributed by other methods. For example, the order of block numbers to be transmitted is determined in advance for each value obtained by “(device ID) Mod (start variance value)” and stored.

また、実施形態では、各端局Tは、ファームウェア配信の開始通知を受信してから予め定められた配信処理時間が経過したときに、ブロックの欠損を判断し、欠損しているブロックをゲートウェイGWに要求することとしているが、ブロックを一定時間受信しなかった場合に、ブロックの欠損を判断することとしてもよい。また、例えば、ゲートウェイGWが全ブロックを送信した後に、自装置に属する端局Tに対して、ブロックの欠損がある場合は、要求を行うよう依頼することとしてもよい。この場合、端局Tは、ゲートウェイGWから依頼を受けたら、ブロックの欠損を判断し、欠損しているブロックをゲートウェイGWに要求する。   Further, in the embodiment, each terminal station T determines a missing block when a predetermined distribution processing time has elapsed after receiving a firmware distribution start notification, and identifies the missing block as a gateway GW. However, if a block is not received for a certain period of time, it may be determined that a block is missing. Further, for example, after the gateway GW transmits all the blocks, the terminal station T belonging to the own device may be requested to make a request when there is a missing block. In this case, when receiving a request from the gateway GW, the terminal station T determines the missing block and requests the missing block from the gateway GW.

本発明を表現するために、上述において図面を参照しながら実施形態を通して本発明を適切且つ十分に説明したが、当業者であれば上述の実施形態を変更および/または改良することは容易に為し得ることであると認識すべきである。したがって、当業者が実施する変更形態または改良形態が、請求の範囲に記載された請求項の権利範囲を離脱するレベルのものでない限り、当該変更形態または当該改良形態は、当該請求項の権利範囲に包括されると解釈される。   In order to express the present invention, the present invention has been properly and fully described through the embodiments with reference to the drawings. However, those skilled in the art can easily change and / or improve the above-described embodiments. It should be recognized that this is possible. Therefore, unless the modifications or improvements implemented by those skilled in the art are at a level that departs from the scope of the claims recited in the claims, the modifications or improvements are not covered by the claims. To be construed as inclusive.

GW ゲートウェイ(集約装置)
T 端局
H 電力需要家
1 サーバ装置
2 ネットワーク
1000 通信装置
1100 4100 無線通信制御部
1110 ファームウェア更新部
1120 ブロック保存部
1130 ブロック転送部
1200 無線通信部
1300 タイマー
1400 機内通信制御部
1500 外部インタフェース
1800 リンク情報記憶部
1810 ブロック記憶手段
1900 電力量情報記憶部
2000 電力量計
3000 負荷開閉器
4000 外部通信制御部
4110 ファームウェア配信部
4120 ファームウェア管理部
4130 ファームウェア分割部
4200 ファームウェア記憶部
GW gateway (aggregation device)
T terminal station H power customer 1 server device 2 network 1000 communication device 1100 4100 wireless communication control unit 1110 firmware update unit 1120 block storage unit 1130 block transfer unit 1200 wireless communication unit 1300 timer 1400 onboard communication control unit 1500 external interface 1800 link information Storage unit 1810 Block storage unit 1900 Electric energy information storage unit 2000 Electric energy meter 3000 Load switch 4000 External communication control unit 4110 Firmware distribution unit 4120 Firmware management unit 4130 Firmware division unit 4200 Firmware storage unit

Claims (7)

複数の集約装置と複数の通信装置とを有すると共に、各集約装置が各通信装置にプログラムを送信する機能を有し、無線通信により接続される無線ネットワークシステムの前記集約装置であって、
前記複数の通信装置が用いる複数ブロックに分割されたプログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて所定周期で送信するブロック送信手段と、
当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信手段が前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御手段と
を備えることを特徴とする集約装置。
The aggregation device of the wireless network system having a plurality of aggregation devices and a plurality of communication devices, each aggregation device having a function of transmitting a program to each communication device, and connected by wireless communication,
Block transmission means for transmitting a program divided into a plurality of blocks used by the plurality of communication devices, one block at a time, toward the communication device within a radio wave reach in a predetermined cycle;
Ri program identical der wherein with the aggregation device other aggregation device transmits, and, if the radio range of the other aggregation device and the coverage area of the aggregation device you partially overlap, said block characterized in that the transmission means block to be transmitted to the communication device in said portion comprises a control means for the other aggregation device is controlled to be the different from the block to be transmitted to the communication device block in said portion An aggregation device.
前記制御手段は、前記ブロック送信手段がブロックを送信するタイミングを、前記他の集約装置がブロックを送信するタイミングと異なるように制御する
ことを特徴とする請求項1記載の集約装置。
The aggregation device according to claim 1 , wherein the control unit controls the timing at which the block transmission unit transmits a block to be different from the timing at which the other aggregation device transmits a block.
前記通信装置は、前記ブロックを受信し、受信した前記ブロックのうち、自装置の種類に応じたプログラムのブロックをメモリに記憶し、受信したブロックを、電波到達範囲内の前記通信装置に向けて送信するものである
ことを特徴とする請求項1又は2に記載の集約装置。
The communication device receives the block, and stores, in the memory, a program block corresponding to the type of the device in the received block, and directs the received block to the communication device within a radio wave reachable range. aggregation device according to claim 1 or 2, characterized in that to transmit.
前記プログラムは、前記通信装置のファームウェアである
ことを特徴とする請求項1〜のいずれかに記載の集約装置。
The program aggregation device according to any one of claims 1 to 3, characterized in that the firmware of the communications device.
サーバ装置と、複数の集約装置と、複数の通信装置とを有するネットワークシステムであって、
前記サーバ装置は、
前記複数の集約装置それぞれに、各集約装置と通信可能な前記通信装置の種類に応じたプログラムを送信するプログラム送信手段を備え、
前記集約装置は、
前記サーバ装置からプログラムを受信するプログラム受信手段と、
複数ブロックに分割された前記プログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて所定周期で送信するブロック送信手段と、
当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信手段が前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御手段とを備え、
前記通信装置は、
前記ブロックを受信し、電波到達範囲内の他の通信装置に向けて送信するブロック転送手段を備える
ことを特徴とするネットワークシステム。
A network system having a server device, a plurality of aggregation devices, and a plurality of communication devices,
The server device
Each of the plurality of aggregation devices includes a program transmission unit that transmits a program according to the type of the communication device capable of communicating with each aggregation device,
The aggregation device is
Program receiving means for receiving a program from the server device;
Block transmission means for sequentially transmitting the program divided into a plurality of blocks, one block at a time, toward the communication device within a radio wave reach;
Ri program identical der wherein with the aggregation device other aggregation device transmits, and, if the radio range of the other aggregation device and the coverage area of the aggregation device you partially overlap, said block block transmitting means transmits to the communication device in said portion is provided with a control means for the other aggregation device is controlled to be the different from the block to be transmitted to the communication device block in said portion,
The communication device
A network system comprising block transfer means for receiving the block and transmitting it to another communication device within a radio wave reachable range.
複数の集約装置と複数の通信装置とを有すると共に、各集約装置が各通信装置にプログラムを送信する機能を有し、無線通信により接続される無線ネットワークシステムの前記集約装置で用いられる配信方法であって、
前記複数の通信装置が用いる複数ブロックに分割されたプログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて送信するブロック送信ステップと、
当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信ステップが前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御ステップと
を備えることを特徴とする配信方法。
A distribution method used in the aggregation device of a wireless network system having a plurality of aggregation devices and a plurality of communication devices, each aggregation device having a function of transmitting a program to each communication device, and connected by wireless communication. There,
A block transmission step of transmitting a program divided into a plurality of blocks used by the plurality of communication devices, one block at a time, toward the communication device within a radio wave reach;
Ri program identical der wherein with the aggregation device other aggregation device transmits, and, if the radio range of the other aggregation device and the coverage area of the aggregation device you partially overlap, said block wherein the transmitting step block to be transmitted to the communication device in said portion comprises a control step of the other aggregation device is controlled to be the different from the block to be transmitted to the communication device block in said portion And delivery method.
複数の集約装置と複数の通信装置とを有すると共に、各集約装置が各通信装置にプログラムを送信する機能を有し、無線通信により接続される無線ネットワークシステムの前記集約装置で用いられる配信プログラムであって、
前記複数の通信装置が用いる複数ブロックに分割されたプログラムを、1ブロックずつ順次、電波到達範囲内の前記通信装置に向けて送信するブロック送信手段と、
当該集約装置と前記他の集約装置が送信するプログラムが同一であり、且つ、当該集約装置の電波到達範囲と前記他の集約装置の電波到達範囲とが一部重複する場合に、前記ブロック送信手段が前記一部内の前記通信装置に送信するブロックが、前記他の集約装置が前記一部内の前記通信装置に送信するブロックと異なるブロックとなるように制御する制御手段として、前記集約装置のコンピュータを機能させる
ことを特徴とする配信プログラム。
A distribution program having a plurality of aggregation devices and a plurality of communication devices, each aggregation device having a function of transmitting a program to each communication device, and used in the aggregation device of a wireless network system connected by wireless communication There,
Block transmission means for transmitting a program divided into a plurality of blocks used by the plurality of communication devices, one block at a time, toward the communication device within a radio wave reach;
Ri program identical der wherein with the aggregation device other aggregation device transmits, and, if the radio range of the other aggregation device and the coverage area of the aggregation device you partially overlap, said block block transmitting means transmits to the communication device in said portion is a control means for the other aggregation device is controlled to be the different from the block to be transmitted to the communication device block in said portion of said aggregation device A distribution program characterized by causing a computer to function.
JP2013253605A 2013-12-06 2013-12-06 Aggregation apparatus, distribution method, distribution program, and network system Active JP6254840B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013253605A JP6254840B2 (en) 2013-12-06 2013-12-06 Aggregation apparatus, distribution method, distribution program, and network system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013253605A JP6254840B2 (en) 2013-12-06 2013-12-06 Aggregation apparatus, distribution method, distribution program, and network system

Publications (2)

Publication Number Publication Date
JP2015111792A JP2015111792A (en) 2015-06-18
JP6254840B2 true JP6254840B2 (en) 2017-12-27

Family

ID=53526353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013253605A Active JP6254840B2 (en) 2013-12-06 2013-12-06 Aggregation apparatus, distribution method, distribution program, and network system

Country Status (1)

Country Link
JP (1) JP6254840B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6843681B2 (en) * 2017-04-07 2021-03-17 三菱電機株式会社 Wireless communication system and wireless communication equipment
JP6898014B1 (en) * 2020-02-27 2021-07-07 Necプラットフォームズ株式会社 Wireless communication system, wireless communication method, relay station and wireless communication program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8126482B2 (en) * 2005-03-04 2012-02-28 Qualcomm Incorporated Multiple paging channels for efficient region paging
US8024724B2 (en) * 2006-08-31 2011-09-20 Itron, Inc. Firmware download
JP5104144B2 (en) * 2007-09-13 2012-12-19 株式会社明電舎 Wireless network communication system, communication method and program
JP2009165070A (en) * 2008-01-10 2009-07-23 Hitachi Ltd Ad hoc network communication system, method therefor, and communication terminal
JP5102060B2 (en) * 2008-02-08 2012-12-19 関西電力株式会社 COMMUNICATION SYSTEM, POWER SUPPLY MONITORING / CONTROL SYSTEM USING THE SAME, AND METHOD FOR UPDATING FIRMWARE IN COMMUNICATION SYSTEM
JP5181901B2 (en) * 2008-07-30 2013-04-10 住友電気工業株式会社 Communications system
JP5486252B2 (en) * 2009-09-15 2014-05-07 パナソニック株式会社 Firmware update method, distributed system, maintenance terminal, communication unit, and firmware update program
WO2012164673A1 (en) * 2011-05-30 2012-12-06 富士通株式会社 Data processing method

Also Published As

Publication number Publication date
JP2015111792A (en) 2015-06-18

Similar Documents

Publication Publication Date Title
US10893376B2 (en) Communication device, communication control method, and communication system
JP5776161B2 (en) COMMUNICATION DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION SYSTEM
US20130279409A1 (en) Establishing a Mesh Network
JP6841368B2 (en) Wireless sensor system, wireless terminal device, communication control method and communication control program
WO2012101779A1 (en) Network management system, network management server, network terminal, and network management method
JP2014155133A (en) Network system and communication method therefor
JP5897699B2 (en) Terminal, route generation method, and route generation program
JP6254840B2 (en) Aggregation apparatus, distribution method, distribution program, and network system
WO2016039039A1 (en) Communication apparatus, control method therefor, communication system, and program
JP5514323B2 (en) Ad hoc network communication device, communication system, and communication method
JP6265689B2 (en) COMMUNICATION DEVICE, RADIO NETWORK SYSTEM, RADIO NETWORK CONTROL METHOD, AND RADIO NETWORK CONTROL PROGRAM
JP5372303B1 (en) Wireless terminal device, wireless mesh network, and communication method
JP6259622B2 (en) COMMUNICATION DEVICE, RADIO NETWORK SYSTEM, RADIO NETWORK CONTROL METHOD, AND RADIO NETWORK CONTROL PROGRAM
JP6626606B2 (en) Communication device, communication method, and communication program
JP2014068286A (en) Communication network system, communication medium switchover method, and network implementation support method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161026

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170905

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171102

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20171201

R150 Certificate of patent or registration of utility model

Ref document number: 6254840

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