JP6254824B2 - COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM - Google Patents

COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM Download PDF

Info

Publication number
JP6254824B2
JP6254824B2 JP2013230457A JP2013230457A JP6254824B2 JP 6254824 B2 JP6254824 B2 JP 6254824B2 JP 2013230457 A JP2013230457 A JP 2013230457A JP 2013230457 A JP2013230457 A JP 2013230457A JP 6254824 B2 JP6254824 B2 JP 6254824B2
Authority
JP
Japan
Prior art keywords
transmission
data
queue
transmission data
dequeued
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
JP2013230457A
Other languages
Japanese (ja)
Other versions
JP2015091042A (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 JP2013230457A priority Critical patent/JP6254824B2/en
Publication of JP2015091042A publication Critical patent/JP2015091042A/en
Application granted granted Critical
Publication of JP6254824B2 publication Critical patent/JP6254824B2/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 packets are sequentially transferred through the 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).

この技術によれば、例えば、所定数の無線通信端末ごとにツリーを構成し、各ツリーのルート(root)となる無線通信装置に集まった検針データを収集すれば、短時間で検針データを収集することができることになる。   According to this technology, for example, if a tree is formed for each predetermined number of wireless communication terminals and meter reading data collected in the wireless communication device that is the root of each tree is collected, meter reading data is collected in a short time Will be able to.

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

ここで、IEEE802.11に代表される一般的な無線ネットワークの多くは、各ノード(無線通信端末)において自律分散制御(DCF:Distributed Coordination Function)によるCSMA/CA(Carrier
Sense Multiple Access with Collision Avoidance)の無線チャネル・アクセス方式を用いる。このCSMA/CAでは、フレームの衝突をできるだけ回避するために、無線チャネルの使用状況をみてからフレームを送信するかどうかを決定する。具体的には、フレームを送信しようとする無線通信端末は、キャリア(搬送波)の使用状況をセンス(検出)し、他の無線通信端末が送信する電波を検出している間は、チャネルが使用中であると判断して送信を見合わせる。そして、他の無線通信端末が送信する電波を検出しなくなり、一定期間未使用状態(アイドル状態)が続くとキャリアを誰も使用していないと判断して(送信権を獲得して)、フレームの送信を開始する。
Here, many of the general wireless networks represented by IEEE 802.11 have CSMA / CA (Carrier) by autonomous distributed control (DCF) at each node (wireless communication terminal).
The wireless channel access method of Sense Multiple Access with Collision Aviation is used. In this CSMA / CA, in order to avoid the collision of frames as much as possible, it is determined whether or not to transmit a frame after checking the usage status of the radio channel. Specifically, a wireless communication terminal that wants to transmit a frame senses (detects) the usage status of the carrier, and the channel is used while other radio communication terminals detect radio waves transmitted. Judge that it is in the middle and stop sending. Then, when the radio waves transmitted by other wireless communication terminals are not detected, and it is not used (idle state) for a certain period of time, it is determined that no one is using the carrier (obtains the transmission right), and the frame Start sending.

つまり、各無線通信端末は、チャネルが使用中である場合は、フレームを送信することができず、更に、一定期間アイドル状態が続かなければフレームを送信することができない。   That is, each wireless communication terminal cannot transmit a frame when the channel is in use, and cannot transmit a frame unless the idle state continues for a certain period.

従って、電波環境の乱れや、予期せぬ送信妨害などが発生すると、無線通信端末は、なかなか送信権を獲得することができずに、送信しなければならないフレームが滞留してしまうことになる。フレームが一旦滞留すると、滞留後に送信されたとしても、その遅延フレームが伝達する情報が古くなってしまっていて、受信した無線通信端末や、無線通信端末により構成されるシステムにおいて不都合が生じる場合がある。また、遅延フレームの発生により、再送要求のフレームや、再送フレーム等が発生することとなり、多量の滞留フレームが発生し、更には、トラフィックの輻輳にもつながる。   Therefore, when the radio wave environment is disturbed or unexpected transmission interruption occurs, the wireless communication terminal cannot easily acquire the transmission right, and the frame that needs to be transmitted remains. Once the frame is retained, even if it is transmitted after the retention, the information transmitted by the delayed frame is outdated, and there may be inconveniences in the received wireless communication terminal or a system composed of wireless communication terminals. is there. In addition, due to the occurrence of a delay frame, a retransmission request frame, a retransmission frame, and the like are generated, a large amount of staying frames are generated, and further, traffic congestion is caused.

そこで、本発明は、マルチホップ方式の無線ネットワークシステムにおいて、無線通信端末での遅延フレームの発生をできるだけ少なくすることを目的とする。   Therefore, an object of the present invention is to reduce the occurrence of delay frames in a wireless communication terminal as much as possible in a multi-hop wireless network system.

本発明にかかる一態様に係る通信装置は、複数の通信装置を有する無線ネットワークシステムにおいて、他の通信装置とマルチホップ通信を行う通信装置であって、前記マルチホップ通信の対象となる送信データを、FIFOキューである送信キューにエンキューするエンキュー手段と、前記送信データの送信権を獲得した場合に、前記送信キューから、前記送信データをデキューし、デキューした送信データを前記他の通信装置に送信するデータ送信手段とを備え、前記送信キューは、第一送信キューと第二送信キューとを有し、前記エンキュー手段は、前記送信データを前記第一送信キューにエンキューし、前記データ送信手段は、前記第二送信キューから前記送信データをデキューし、前記送信キューは、前記第二送信キューから前記送信データがデキューされた場合に、前記第一送信キューに最初にエンキューされた前記送信データを、前記第二送信キューの最後にエンキューするように構成され、前記第一送信キュー及び前記第二送信キューは、エンキューされた順に送信データを記憶し、次にデキューされる送信データを示すポインタ情報を記憶している記憶手段を、更に備え、前記データ送信手段はデキューした送信データが、前記エンキュー手段によって前記送信キューにエンキューされてから所定期間経過する前の送信データである場合にのみ送信するものであり、前記第一送信キュー及び前記第二送信キューの其々において、前記ポインタ情報が示す送信データをデキューすると、その次にデキューする送信データを示す情報で前記ポインタ情報を更新し、前記ポインタ情報が前記所定期間以上更新されない場合は、当該ポインタ情報が示す送信データの次にデキューされる送信データを示す情報によって、当該ポインタ情報を書き換える処理を並行して行うことを特徴とする。 A communication apparatus according to an aspect of the present invention is a communication apparatus that performs multi-hop communication with another communication apparatus in a wireless network system having a plurality of communication apparatuses, and transmits transmission data to be subjected to the multi-hop communication. An enqueue means for enqueuing in a transmission queue that is a FIFO queue, and when the transmission right of the transmission data is acquired, the transmission data is dequeued from the transmission queue, and the dequeued transmission data is transmitted to the other communication device. The transmission queue includes a first transmission queue and a second transmission queue, the enqueue unit enqueues the transmission data into the first transmission queue, and the data transmission unit includes: The transmission data is dequeued from the second transmission queue, and the transmission queue is dequeued from the second transmission queue. When transmission data is dequeued, the transmission data first enqueued in the first transmission queue is enqueued at the end of the second transmission queue, and the first transmission queue and the second transmission queue The queue further includes storage means for storing transmission data in the order of enqueue and storing pointer information indicating transmission data to be dequeued next, and the data transmission means includes the dequeued transmission data as the enqueue. Only when it is transmission data before a predetermined period has elapsed since being enqueued to the transmission queue by the means , and the pointer information indicates in each of the first transmission queue and the second transmission queue When the transmission data is dequeued, the pointer information is updated with information indicating the transmission data to be dequeued next, If serial pointer information is not updated the predetermined period or more, the information indicating the transmission data to which the pointer information is dequeued next transmission data shown, and performs parallel processing for rewriting the pointer information.

そして、本発明の他の一態様に係るデータ送信方法は、複数の通信装置を有する無線ネットワークシステムにおいて、他の通信装置とマルチホップ通信を行う通信装置で用いられるデータ送信方法あって、前記マルチホップ通信の対象となる送信データを、FIFOキューである送信キューにエンキューするエンキューステップと、前記送信データの送信権を獲得した場合に、前記送信キューから、前記送信データをデキューし、デキューした送信データを前記他の通信装置に送信するデータ送信ステップとを備え、前記送信キューは、第一送信キューと第二送信キューとを有し、前記エンキューステップにおいては、前記送信データを前記第一送信キューにエンキューし、前記データ送信ステップにおいては、前記第二送信キューから前記送信データをデキューし、前記送信キューは、前記第二送信キューから前記送信データがデキューされた場合に、前記第一送信キューに最初にエンキューされた前記送信データを、前記第二送信キューの最後にエンキューするように構成され、前記第一送信キュー及び前記第二送信キューは、エンキューされた順に送信データを記憶し、次にデキューされる送信データを示すポインタ情報を記憶している記憶手段を、更に備え、前記データ送信ステップにおいてはデキューした送信データが、前記エンキューステップにおいて前記送信キューにエンキューされてから所定期間経過する前の送信データである場合にのみ送信するように、前記第一送信キュー及び前記第二送信キューの其々において、前記ポインタ情報が示す送信データをデキューすると、その次にデキューする送信データを示す情報で前記ポインタ情報を更新し、前記ポインタ情報が前記所定期間以上更新されない場合は、当該ポインタ情報が示す送信データの次にデキューされる送信データを示す情報によって、当該ポインタ情報を書き換える処理を並行して行うことを特徴とする。 A data transmission method according to another aspect of the present invention is a data transmission method used in a communication apparatus that performs multi-hop communication with another communication apparatus in a wireless network system having a plurality of communication apparatuses, An enqueue step for enqueuing transmission data subject to hop communication into a transmission queue that is a FIFO queue, and when the transmission right of the transmission data is acquired, the transmission data is dequeued from the transmission queue, and the dequeued transmission is performed. A data transmission step of transmitting data to the other communication device, wherein the transmission queue includes a first transmission queue and a second transmission queue, and in the enqueue step, the transmission data is transmitted to the first transmission queue. Enqueue to a queue, and in the data transmission step, the second transmission queue When the transmission data is dequeued from the second transmission queue, the transmission queue transmits the transmission data first enqueued in the first transmission queue to the last of the second transmission queue. The first transmission queue and the second transmission queue store storage data in the order in which they are enqueued and store pointer information indicating transmission data to be dequeued next. further wherein said at data transmission step, so that the transmission data dequeue, only transmits when after it is enqueued in the transmission queue in the enqueue step is the transmission data before the predetermined period of time has elapsed, the first The transmission data indicated by the pointer information is decoded in each of the transmission queue and the second transmission queue. Then, the pointer information is updated with information indicating transmission data to be dequeued next, and when the pointer information is not updated for the predetermined period or longer, the transmission data to be dequeued next to the transmission data indicated by the pointer information is updated. According to the information shown, the pointer information is rewritten in parallel .

そして、本発明の他の一態様に係るデータ送信プログラムは、複数の通信装置を有する無線ネットワークシステムにおいて、他の通信装置とマルチホップ通信を行う通信装置で用いられるデータ送信プログラムであって、前記マルチホップ通信の対象となる送信データを、FIFOキューである送信キューにエンキューするエンキュー手段と、前記送信データの送信権を獲得した場合に、前記送信キューから、前記送信データをデキューし、デキューした送信データを前記他の通信装置に送信するデータ送信手段としてコンピュータを機能させ、前記送信キューは、第一送信キューと第二送信キューとを有し、前記エンキュー手段は、前記送信データを前記第一送信キューにエンキューし、前記データ送信手段は、前記第二送信キューから前記送信データをデキューし、前記送信キューは、前記第二送信キューから前記送信データがデキューされた場合に、前記第一送信キューに最初にエンキューされた前記送信データを、前記第二送信キューの最後にエンキューするように構成され、前記第一送信キュー及び前記第二送信キューは、エンキューされた順に送信データを記憶し、次にデキューされる送信データを示すポインタ情報を記憶している記憶手段を、更に備え、前記データ送信手段はデキューした送信データが、前記エンキュー手段によって前記送信キューにエンキューされてから所定期間経過する前の送信データである場合にのみ送信するものであり、前記第一送信キュー及び前記第二送信キューの其々において、前記ポインタ情報が示す送信データをデキューすると、その次にデキューする送信データを示す情報で前記ポインタ情報を更新し、前記ポインタ情報が前記所定期間以上更新されない場合は、当該ポインタ情報が示す送信データの次にデキューされる送信データを示す情報によって、当該ポインタ情報を書き換える処理を並行して行うことを特徴とする。 A data transmission program according to another aspect of the present invention is a data transmission program used in a communication device that performs multi-hop communication with another communication device in a wireless network system having a plurality of communication devices, Enqueue means for enqueuing transmission data subject to multi-hop communication to a transmission queue that is a FIFO queue, and when the transmission right of the transmission data is acquired, the transmission data is dequeued from the transmission queue and dequeued The computer functions as data transmission means for transmitting transmission data to the other communication device, the transmission queue includes a first transmission queue and a second transmission queue, and the enqueue means transmits the transmission data to the first transmission queue. Enqueue to one transmission queue, the data transmission means from the second transmission queue The transmission queue dequeues transmission data, and when the transmission data is dequeued from the second transmission queue, the transmission queue first transmits the transmission data enqueued in the first transmission queue to the end of the second transmission queue. The first transmission queue and the second transmission queue store storage data in the order in which they are enqueued and store pointer information indicating transmission data to be dequeued next. The data transmission means transmits only when the dequeued transmission data is transmission data before a predetermined period of time has elapsed since being enqueued by the enqueue means into the transmission queue . When the transmission data indicated by the pointer information is dequeued in each of the transmission queue and the second transmission queue When the pointer information is updated with information indicating transmission data to be dequeued next, and the pointer information is not updated for the predetermined period or longer, information indicating transmission data to be dequeued next to the transmission data indicated by the pointer information is used. The pointer information is rewritten in parallel .

また、上述の通信装置において、前記送信データを前記エンキュー手段にエンキューさせ、エンキューさせた当該送信データの送信相手である他の通信装置から、当該送信データを受信したことを示すデータを、当該送信データをエンキューさせた時刻から、予め定められた再送期間が経過するまでに受信しない場合には、当該送信データを再び前記エンキュー手段にエンキューさせる通信制御手段を、更に備え、前記所定期間は、前記再送期間以上の期間であることが好ましい。   Further, in the communication device described above, the transmission data is enqueued in the enqueue means, and data indicating that the transmission data is received from another communication device that is a transmission partner of the enqueued transmission data is transmitted. In the case where the data is not received before a predetermined retransmission period elapses from the time when the data is enqueued, further comprising communication control means for enqueuing the transmission data again in the enqueue means, and the predetermined period It is preferable that the period is longer than the retransmission period.

このような構成の通信装置、データ送信方法、及び、データ送信プログラムによれば、送信キューに所定期間滞留した送信データ(フレーム)は、他の通信装置に送信されないので、遅延フレームが発生することが抑止され、古い情報が他の通信装置に伝達されることを防ぐことが可能となる。また、遅延フレームに対応する再送フレームや、再送を要求するフレームが送受信されると大量のフレームがネットワークに流れることとなるが、遅延フレームを送信しないことにより、ネットワーク上に流れるフレームをできるだけ少なくすることが可能となる。   According to the communication device, the data transmission method, and the data transmission program having such a configuration, the transmission data (frame) staying in the transmission queue for a predetermined period is not transmitted to other communication devices, so that a delay frame is generated. Is suppressed, and it is possible to prevent old information from being transmitted to other communication devices. In addition, when a retransmission frame corresponding to a delay frame or a frame requesting retransmission is transmitted / received, a large number of frames flow through the network. By not transmitting a delay frame, the number of frames flowing over the network is reduced as much as possible. It becomes possible.

この構成によれば、ポインタ情報の更新時間をチェックするという簡便な方法で、所定期間滞留しているかを判断することが可能となる。   According to this configuration, it is possible to determine whether or not the user has stayed for a predetermined period by a simple method of checking the update time of the pointer information.

本発明にかかるマルチホップ方式の無線ネットワークシステムは、無線通信端末(通信装置)での遅延フレームの発生をできるだけ少なくすることができる。   The multi-hop wireless network system according to the present invention can minimize the generation of delay frames in 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 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 content of a transmission queue. 実施形態1のキュー管理の第1方法を説明するための図である。FIG. 5 is a diagram for explaining a first method of queue management according to the first embodiment. 実施形態1のエンキュー処理のフローチャートである。4 is a flowchart of an enqueue process according to the first embodiment. 実施形態1の送信処理のフローチャートである。3 is a flowchart of a transmission process according to the first embodiment. 実施形態1のキュー管理の第2方法を説明するための図である。FIG. 10 is a diagram for explaining a second method of queue management according to the first embodiment. 実施形態1のフレーム破棄処理のフローチャートである。3 is a flowchart of frame discard processing according to the first embodiment. 実施形態2のフレーム破棄処理のフローチャートである。10 is a flowchart of frame discard processing according to the second embodiment.

<実施形態1>
実施形態の無線ネットワークシステムは、マルチホップ無線ネットワークであり、各電力需要家から、検針データを収集するためのシステムである。
<Embodiment 1>
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に到達する。   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. The meter reading data transmitted by the terminal station T8 reaches the gateway GWa via the terminal station T6.

尚、実施形態では、端局Tの宛先は、MAC(Media Access Control)アドレスとし、ゲートウェイGWの宛先は、IP(Internet Protocol)アドレスとする。   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.

また、サーバ装置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. 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.

また、図3の各端局Tは、自装置が持つ情報の通知を目的として周期的に、周囲に(以下、「Helloメッセージ」という。)を送信している。端局Tは、他の端局TからのHelloメッセージを受信することで、周辺情報を収集することができる。このメッセージ(パケット)には、宛先として全宛先(ブロードキャストアドレス)、送信元として自装置の宛先、学習GW情報として、自装置が学習している全ゲートウェイGWの識別子のリスト、隣接ノード情報として、隣接する端局T(隣接端局)の識別子(宛先アドレス)のリスト、他端局情報として、自装置が学習している端局Tの識別子と各端局Tに対する隣接送信先(ネクストホップ)等が含まれる。   Also, each terminal station T in FIG. 3 periodically transmits to the surroundings (hereinafter referred to as “Hello message”) for the purpose of notifying the information held by itself. The terminal station T can collect the peripheral information by receiving the Hello message from the other terminal station T. In this message (packet), all destinations (broadcast addresses) as destinations, destinations of the own device as transmission sources, learning GW information, a list of identifiers of all gateway GWs learned by the own device, neighboring node information, As a list of identifiers (destination addresses) of adjacent terminal stations T (adjacent terminal stations) and other station information, the identifiers of the terminal stations T learned by the device itself and adjacent transmission destinations (next hops) for each terminal station T Etc. are included.

また、ゲートウェイGWから、全方位に向けて時刻合わせのためのデータが送信され、このデータを受信して時刻合わせを行った端局は、自装置が保持する時刻情報データを全方位に送信し、この時刻情報データを受信した端局Tは時刻合わせを行い、更に、時刻情報データを全方位に送信していく。このように、全端局Tが、時刻同期を実施する。各端局Tが定時に検針データを送信したり、ネットワークの安定化を図るための処理などの予め定められた処理を、予め定められた時刻に行うためである。   Further, the gateway GW transmits data for time adjustment in all directions, and the terminal station that has received this data and performed time adjustment transmits the time information data held by itself to all directions. The terminal station T that has received the time information data sets the time, and further transmits the time information data in all directions. In this way, all terminal stations T perform time synchronization. This is because each terminal station T transmits meter-reading data at a fixed time or performs a predetermined process such as a process for stabilizing the network at a predetermined time.

このように、実施形態のマルチホップ無線ネットワークでは、様々なデータが絶えず送受信され、上述したデータは一部である。そして、送受信されるデータには、例えば、検針データや、時刻情報データのように、遅延しないで送信することが望まれるデータも含まれる。   Thus, in the multi-hop wireless network of the embodiment, various data are constantly transmitted and received, and the above-mentioned data is a part. The data to be transmitted / received includes data desired to be transmitted without delay, such as meter reading data and time information data.

しかし、マルチホップ無線ネットワークでは、天候等や、何らかの障害等により通信環境が変化して送信権をなかなか獲得することができずに、データを送信できない状況が発生しうる。   However, in a multi-hop wireless network, the communication environment may change due to weather or some trouble, and it may be difficult to acquire a transmission right, and a situation in which data cannot be transmitted may occur.

本実施形態の端局Tでは、ネットワーク全体において、できるだけ遅延フレームが発生しないようなフレームの管理を行うものである。   The terminal station T of the present embodiment manages frames so that delay frames are not generated as much as possible in the entire network.

以下、本発明にかかる実施の一形態を図面に基づいて説明する。   Hereinafter, an embodiment according to the present invention will be described with reference to the drawings.

<構成>
図4は、端局Tの機能ブロックの構成例を示す図である。端局Tは、通信装置1000、電力量計2000、及び、負荷開閉器3000を備える。破線の矢印は、ゲートウェイGWは、最上位の階層の端局TのみがゲートウェイGWと通信を行うことを示す。
<Configuration>
FIG. 4 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. A dashed arrow indicates that the gateway GW communicates with the gateway GW only at the terminal station T in the highest hierarchy.

通信装置1000は、無線通信制御部1100(通信制御手段)、無線通信部1200、タイマー1300、機内通信制御部1400、インタフェース1410、インタフェース1420、外部インタフェース1500、入力部1510、リンク情報記憶部1800、及び、電力量情報記憶部1900を備える。   The communication apparatus 1000 includes a wireless communication control unit 1100 (communication control unit), 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, And the electric energy information storage part 1900 is provided.

無線通信制御部1100は、エンキュー部1110、送信キュー1120、フレーム送信部1130(データ送信手段)を有し、無線通信部1200等の各機能部を制御して、無線通信の制御を行う機能を有する。例えば、周期的に、他の端局Tからのメッセージを受信すると、受信内容に応じてリンク情報記憶部1800に記憶してある経路情報等を更新するなどである。また、30分ごとに、電力量情報記憶部1900に記憶されている電力量を読み出して、端局Tが属するゲートウェイGW宛の検針データのフレームを作成し、エンキュー部1110に指示して送信キューにエンキューさせるなどである。検針データを送信するタイミングは、タイマー1300からの割り込みによって検知する。   The wireless communication control unit 1100 includes an enqueue unit 1110, a transmission queue 1120, and a frame transmission unit 1130 (data transmission unit), and has a function of controlling each functional unit such as the wireless communication unit 1200 to control wireless communication. Have. For example, periodically, when a message from another terminal station T is received, the route information stored in the link information storage unit 1800 is updated according to the received content. Also, every 30 minutes, the power amount stored in the power amount information storage unit 1900 is read, a frame of meter reading data addressed to the gateway GW to which the terminal station T belongs is created, and the transmission queue is instructed to the enqueue unit 1110 And so on. The timing for transmitting the meter reading data is detected by interruption from the timer 1300.

また、無線通信制御部1100は、他の通信装置にデータを送信してから、予め決められている再送期間、例えば3秒経過しても、通信相手から受信した旨のデータ、例えば、ACK(Acknowledgement)フレームを受信しない場合は、データが到達していないと判断して、そのデータを再送する。   Also, the wireless communication control unit 1100 transmits data indicating that it has been received from the communication partner, for example, ACK (for example, ACK () even after a predetermined retransmission period, for example, 3 seconds has elapsed since transmitting data to another communication device. If no (Acknowledgement) frame is received, it is determined that the data has not arrived, and the data is retransmitted.

エンキュー部1110は、無線通信制御部1100からフレームを受け取り、送信キュー1120にエンキューさせる機能を有し、フレーム送信部1130は、フレームの送信権を獲得すると送信キュー1120からフレームをデキューし、無線通信部1200を介してフレームを送信する機能を有する。送信キュー1120、エンキュー部1110、及び、フレーム送信部1130により行われるキュー管理については、<遅延フレームの発生回避方法>の項で説明する。   The enqueue unit 1110 has a function of receiving a frame from the wireless communication control unit 1100 and enqueuing it to the transmission queue 1120. The frame transmission unit 1130 dequeues the frame from the transmission queue 1120 when acquiring the transmission right of the frame, and performs wireless communication. A function of transmitting a frame via the unit 1200; The queue management performed by the transmission queue 1120, the enqueue unit 1110, and the frame transmission unit 1130 will be described in the section <Method for avoiding delayed frame generation>.

無線通信部1200は、他の端局T(図4の「端局T’」)、又は、ゲートウェイGWと、無線LAN規格によりアドホックモードでの通信を行う機能を有する。   The wireless communication unit 1200 has a function of communicating with another terminal station T (“terminal station T ′” in FIG. 4) 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.

電力量情報記憶部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.

図5は、ゲートウェイGWの機能ブロックの構成例を示す図である。ゲートウェイGWは、無線通信制御部4100、無線通信部1200、タイマー1300、外部インタフェース1500、入力部1510、外部通信制御部4000、リンク情報記憶部1800、及び、検針データ記憶部1850を備える。   FIG. 5 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, and a meter reading data storage unit 1850.

無線通信制御部4100は、各機能部を制御して、無線通信の制御を行う機能と、端局Tから受信した検針データを検針データ記憶部1850に記憶させる機能とを有する。無線通信制御部4100は、所定のタイミングで、検針データ記憶部1850に記憶されている検針データを読み出して、外部通信制御部4000を介してサーバ装置1に送信し、また、外部通信制御部4000を介して受信されたサーバ装置1からのパケットを、無線通信部1200を介して端局Tに送信する。   The wireless communication control unit 4100 has a function of controlling each functional unit to control wireless communication, and a function of causing the meter reading data storage unit 1850 to store meter reading data received from the terminal station T. 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.

無線通信部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.

<遅延フレームの発生回避方法>
ここで、フレームのキュー管理、及び、遅延フレームの発生回避方法について説明する。まず、図6を用いて、送信するフレームのキュー管理について説明する。キュー管理は、送信キュー1120、エンキュー部1110、及び、フレーム送信部1130により行われる。
<Delay frame generation avoidance method>
Here, a frame queue management and a method for avoiding the generation of a delayed frame will be described. First, the queue management of frames to be transmitted will be described with reference to FIG. The queue management is performed by the transmission queue 1120, the enqueue unit 1110, and the frame transmission unit 1130.

送信キュー1120は、送信するフレームを一時的に記憶しておくメモリ(記憶手段)を含み、フレーム、記憶したフレームのアドレス、記憶された順序等を記憶する。そして、送信キュー1120は、1つのフレームを1つの要素として、FIFO(First In First Out)のキューとして管理する機能を有する。   The transmission queue 1120 includes a memory (storage means) that temporarily stores frames to be transmitted, and stores frames, addresses of the stored frames, stored order, and the like. The transmission queue 1120 has a function of managing one frame as one element as a FIFO (First In First Out) queue.

送信キュー1120は、アプリケーションが管理するキューであるAPキュー1121と、いわゆる無線ドライバーが管理するキューであるDRキュー1122の2つのキューを有する。図6は、APキュー1121、DRキュー1122の模式図であり、1つの矩形がフレームを表し、複数の矩形が入っている箱が、1つの要素(フレーム、送信データ)を示す。また、矩形内の数値が小さい方が先にキューイングされたことを示す。つまり、「F1」が最も古いフレームであり、最初にデキューされて送信されることになる。DRキュー1122から「F1」がデキューされて送信され、キューに空きができると、APキュー1121から「F7」がDRキュー1122の一番上に移動される。そして、最も新しくエンキューされるフレームは、APキュー1121の箱の一番上に積まれることになる。   The transmission queue 1120 has two queues: an AP queue 1121 that is a queue managed by an application, and a DR queue 1122 that is a queue managed by a so-called wireless driver. FIG. 6 is a schematic diagram of the AP queue 1121 and the DR queue 1122. One rectangle represents a frame, and a box containing a plurality of rectangles represents one element (frame, transmission data). Also, the smaller numerical value in the rectangle indicates that it has been queued first. That is, “F1” is the oldest frame and is first dequeued and transmitted. When “F1” is dequeued and transmitted from the DR queue 1122 and the queue is empty, “F7” is moved from the AP queue 1121 to the top of the DR queue 1122. The most recently enqueued frame is stacked on the top of the AP queue 1121 box.

エンキュー部1110は、フレームをエンキューする場合、APキュー1121の一番最後にエンキューする。つまり、図6でいえば、エンキュー部1110は、フレームをAPキュー1121の一番上に積む、つまり、キューの最後につなげる。   The enqueue unit 1110 enqueues frames at the end of the AP queue 1121 when enqueuing frames. That is, in FIG. 6, the enqueue unit 1110 stacks the frames on the top of the AP queue 1121, that is, connects them to the end of the queue.

フレーム送信部1130は、フレームをデキューする場合、DRキュー1122に最初にエンキューされたフレームを取り出す。つまり、図6でいえば、DRキュー1122の箱の一番下のフレームを取り出す。   When the frame transmission unit 1130 dequeues the frame, the frame transmission unit 1130 takes out the frame first enqueued in the DR queue 1122. That is, in FIG. 6, the bottom frame of the box of the DR queue 1122 is taken out.

通常、アプリケーション側は、APキュー1121のみを管理する。例えば、APキュー1121にエンキューされているフレームのみを削除できる。また、無線ドライバーは、DRキュー1122に空きができると、APキュー1121からフレームをDRキュー1122に移動し、DRキュー1122のみを管理する。しかし、実施形態のエンキュー部1110、及び、送信キュー1120は、APキュー1121とDRキュー1122の双方を管理できるものとする。   Normally, the application side manages only the AP queue 1121. For example, only frames enqueued in the AP queue 1121 can be deleted. Further, when the DR queue 1122 has a free space, the wireless driver moves the frame from the AP queue 1121 to the DR queue 1122, and manages only the DR queue 1122. However, it is assumed that the enqueue unit 1110 and the transmission queue 1120 according to the embodiment can manage both the AP queue 1121 and the DR queue 1122.

実施形態では、APキュー1121又はDRキュー1122に、3秒以上滞留したフレームは、無効データとして破棄する。尚、破棄したフレームは、必要に応じて、無線通信制御部1100によって再送される。   In the embodiment, a frame that stays in the AP queue 1121 or the DR queue 1122 for 3 seconds or more is discarded as invalid data. The discarded frame is retransmitted by the wireless communication control unit 1100 as necessary.

例えば、IEEE802.11bの規格に沿った通信が行われる場合、秒単位でフレームの送信が行われないことは稀である。そこで、実施形態では、時刻情報等のフレームの遅延によるネットワーク全体のシステムへの影響を考慮し、また、実際のキューの時間を観測して、滞留可能な期間(所定期間)を3秒としている。この3秒は、通信装置1000の無線通信制御部1100が、データを他の通信装置に送信してから、再送するまでの期間である。つまり、無線通信制御部1100は、データを送信キューにエンキューしてから3秒間待っても、通信相手から受信した旨のデータを受信しない場合は、データが到達していないと判断して、再度、同じフレームを送信キューにエンキューする(再送する)。   For example, when communication conforming to the IEEE 802.11b standard is performed, it is rare that frames are not transmitted in units of seconds. Therefore, in the embodiment, the influence on the system of the entire network due to the delay of the frame such as time information is considered, and the actual queue time is observed, and the staying period (predetermined period) is 3 seconds. . This 3 seconds is a period from when the wireless communication control unit 1100 of the communication apparatus 1000 transmits data to another communication apparatus until it is retransmitted. That is, if the wireless communication control unit 1100 does not receive data indicating that it has been received from the communication partner even after waiting 3 seconds after enqueuing the data in the transmission queue, it determines that the data has not arrived, and again The same frame is enqueued (retransmitted) in the transmission queue.

滞留可能な期間をこのような期間とすることで、再送されたであろうデータをネットワーク上に流すことを回避できるので、無駄なフレームをネットワーク上に流すことがなくなりトラフィックをできるだけ少なくすることが可能となる。尚、この滞留期間は、再送期間(3秒)以上であればよい。また、送信するデータの内容に応じて変えてもよい。例えば、時刻情報のような鮮度が重要となるデータ、つまり、遅延して受信した場合には、処理に影響が生じるようなデータである場合は、許容できる滞留期間を設定し、鮮度を必要としないデータには滞留期間を設けないこととしてもよい。また、フレームの優先度に応じて、許容できる滞留期間を設定してもよい。   By setting the stagnation period to such a period, it is possible to avoid sending data that would have been retransmitted over the network, so that unnecessary frames are not sent over the network and traffic can be reduced as much as possible. It becomes possible. This residence period may be longer than the retransmission period (3 seconds). Moreover, you may change according to the content of the data to transmit. For example, if the data is important for freshness, such as time information, that is, if the data is received with a delay, the data may affect the processing. It is good also as not providing a residence period in the data which is not. Further, an allowable residence period may be set according to the priority of the frame.

滞留時間が3秒を超えたフレームを破棄する方法として、2つの方法を説明する。1つは、フレームをエンキューする時にタイムスタンプを付与する方法である。このタイムスタンプに基づいて、デキュー時に経過時間を算出し、3秒を超えていたら破棄し、超えていない場合には送信する。   Two methods will be described as a method of discarding a frame whose residence time has exceeded 3 seconds. One is a method of giving a time stamp when enqueuing a frame. Based on this time stamp, the elapsed time is calculated at the time of dequeuing, and if it exceeds 3 seconds, it is discarded, and if it does not exceed, it is transmitted.

もう1つは、送信キューを管理しているポインタの変動を周期的に観察し、変動に応じてフレームを破棄するものである。   The other is to periodically observe the fluctuation of the pointer managing the transmission queue and discard the frame according to the fluctuation.

<1つ目の方法>
まず、1つ目の方法について、図7を用いて説明する。図7は、1つ目の方法の送信キュー1120aである、APキュー1121a、及び、DRキュー1122aを示す。図7のAPキュー1121a、及び、DRキュー1122aに示すように、キューイングされているフレームごとに、時間を対応付けて記憶しておく。例えば、図7のタイムスタンプ「T1」は、フレーム「F1」がエンキューされた時刻を示す。図7では、フレームと共に(に含めて)キューイングするように記載しているが、フレームとの対応が分かるように、他のメモリに記憶しておいてもよい。
<First method>
First, the first method will be described with reference to FIG. FIG. 7 shows an AP queue 1121a and a DR queue 1122a, which are transmission queues 1120a of the first method. As shown in the AP queue 1121a and the DR queue 1122a in FIG. 7, the time is associated with each queued frame and stored. For example, the time stamp “T1” in FIG. 7 indicates the time when the frame “F1” was enqueued. In FIG. 7, it is described that it is queued together with (included in) the frame, but it may be stored in another memory so that the correspondence with the frame can be understood.

そして、デキューした時に、デキューしたフレームのタイムスタンプの時刻と、現在の時刻(デキューした時の時刻)との差が、3秒を超えていた場合には、送信せずに破棄する。   If the difference between the time of the time stamp of the dequeued frame and the current time (time when dequeued) exceeds 3 seconds when dequeued, the frame is discarded without being transmitted.

ここで、図8、及び、図9を用いて、1つ目の方法でキュー管理を行う通信装置1000の動作を説明する。図8は、エンキュー部1110が行うエンキュー処理のフローチャートであり、図9は、フレーム送信部1130が行う送信処理のフローチャートである。   Here, the operation of the communication apparatus 1000 that performs queue management according to the first method will be described with reference to FIGS. 8 and 9. FIG. 8 is a flowchart of the enqueue process performed by the enqueue unit 1110, and FIG. 9 is a flowchart of the transmission process performed by the frame transmission unit 1130.

まず、図8を用いて、エンキュー処理について説明する。   First, the enqueue process will be described with reference to FIG.

無線通信制御部1100は、送信するフレームをエンキュー部1110に渡してエンキューを依頼する。   The wireless communication control unit 1100 passes the frame to be transmitted to the enqueue unit 1110 and requests enqueue.

依頼を受けたエンキュー部1110は、タイマー1300から現時刻を取得して(ステップS10)、無線通信制御部1100から受け取ったフレームにタイムスタンプを付与する(ステップS11)。具体的には、タイマー1300から取得した時刻を、無線通信制御部1100から受け取ったフレーム内の予め決められた位置に設定する。エンキュー部1110は、タイムスタンプを付与したフレームを、APキュー1121の最後尾にエンキューし(ステップS12)、エンキューした旨を無線通信制御部1100に通知する。   Upon receiving the request, the enqueue unit 1110 acquires the current time from the timer 1300 (step S10), and adds a time stamp to the frame received from the wireless communication control unit 1100 (step S11). Specifically, the time acquired from the timer 1300 is set at a predetermined position in the frame received from the wireless communication control unit 1100. The enqueue unit 1110 enqueues the frame with the time stamp at the tail end of the AP queue 1121 (step S12), and notifies the wireless communication control unit 1100 that it has been enqueued.

次に、図9を用いて、送信処理について説明する。   Next, the transmission process will be described with reference to FIG.

フレーム送信部1130は、常にキャリアセンスを行い、キャリアが空いたことを確認し、決められた期間アイドル状態が続くと、フレームの送信権を獲得したと判断する(ステップS20)。送信権を獲得したフレーム送信部1130は、DRキュー1122aから、最初にエンキューされたフレームを読み出す(ステップS21)。読み出すフレームが無かった場合は、送信処理を終了し、フレームを読み出した場合は、APキュー1121aにキューイングされているフレームのうち、最も古いフレームをDRキュー1122aの最後尾に移動する。   The frame transmission unit 1130 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 (step S20). The frame transmission unit 1130 that has acquired the transmission right reads the first enqueued frame from the DR queue 1122a (step S21). If there is no frame to be read, the transmission process is terminated. If a frame is read, the oldest frame among the frames queued in the AP queue 1121a is moved to the tail end of the DR queue 1122a.

フレームを読み出したフレーム送信部1130は、タイマー1300から現時刻を取得し(ステップS22)、取得した現時刻と、読み出したフレームに付与されているタイムスタンプの時刻との差、つまり、経過時間を算出する。経過時間が、滞留可能な期間(3秒)を超えていない場合には(ステップS25:No)、無線通信部1200を介して送信し(ステップS24)、送信処理を終了する。一方、経過時間が、滞留期間以上である場合は(ステップS25:Yes)、送信せずに破棄して送信処理を終了する。   The frame transmission unit 1130 that has read the frame acquires the current time from the timer 1300 (step S22), and calculates the difference between the acquired current time and the time of the time stamp assigned to the read frame, that is, the elapsed time. calculate. When the elapsed time does not exceed the stayable period (3 seconds) (step S25: No), the transmission is performed via the wireless communication unit 1200 (step S24), and the transmission process is terminated. On the other hand, when the elapsed time is equal to or longer than the retention period (step S25: Yes), the transmission process is terminated without discarding the transmission.

<2つ目の方法>
次に、2つ目の方法について、図10を用いて説明する。図10は、2つ目の方法の送信キュー1120bのうち、DRキュー1122bを示す。図10では、DRキュー1122を例に説明するが、APキュー1121も同様である。
<Second method>
Next, the second method will be described with reference to FIG. FIG. 10 shows the DR queue 1122b among the transmission queues 1120b of the second method. In FIG. 10, the DR queue 1122 is described as an example, but the same applies to the AP queue 1121.

キューは、図10の右側の図に示すように、1つの連続したメモリ領域からなる。ここでは、最大で6つのフレームがキューイングされる場合を説明する。「Buf(i)」(i=0、2・・・、5)と記載された矩形は、1つのフレームが記憶される領域を示し、「Buf(0)」から順にフレームを記憶していき、「Buf(5)」の次は「Buf(0)」に記憶する。   As shown in the diagram on the right side of FIG. 10, the queue is composed of one continuous memory area. Here, a case where up to six frames are queued will be described. A rectangle described as “Buf (i)” (i = 0, 2,..., 5) indicates an area in which one frame is stored, and the frames are stored in order from “Buf (0)”. , “Buf (5)” is stored in “Buf (0)”.

メモリ領域は、2つのポインタ、ptr1、及び、ptr2で管理される。ptr1(ポインタ情報)は、次にデキューされるフレームのメモリ領域の先頭アドレスを示す。ptr2は、次にエンキューされるフレームのメモリ領域のアドレス、つまり、空領域の先頭アドレスを示す。つまり、ptr2からptr1までの領域は、空領域ということになる。図10では、フレームが記憶されているBuf領域にはハッチングをかけている。   The memory area is managed by two pointers, ptr1 and ptr2. ptr1 (pointer information) indicates the start address of the memory area of the frame to be dequeued next. ptr2 indicates the address of the memory area of the frame to be enqueued next, that is, the start address of the empty area. That is, the area from ptr2 to ptr1 is an empty area. In FIG. 10, the Buf area where the frame is stored is hatched.

白抜き矢印の上の図で示すDRキュー1122bから、1つのフレームがデキューされ、1つのフレームがエンキューされた場合を、下に示す。点線矢印は、Buf領域とフレームの対応を示す。例えば、上の図では、フレーム「F1」は、領域「Buf(3)」に記憶されており、フレーム「F2」は、領域「Buf(4)」に記憶されている。   A case where one frame is dequeued and one frame is enqueued from the DR queue 1122b shown in the figure above the white arrow is shown below. A dotted arrow indicates a correspondence between the Buf area and the frame. For example, in the above figure, the frame “F1” is stored in the region “Buf (3)”, and the frame “F2” is stored in the region “Buf (4)”.

白抜き矢印の上の図では、ptr1は、次にデキューされるフレーム「F1」が記憶されている領域「Buf(3)」の先頭アドレスを示し、ptr2は、空き領域の「Buf(1)」の先頭アドレスを示す。この状態から、フレーム「F1」がデキューされ、フレーム「F5」がエンキューされたとする。   In the figure above the white arrow, ptr1 indicates the start address of the area “Buf (3)” where the frame “F1” to be dequeued next is stored, and ptr2 indicates “Buf (1) of the free area. "Indicates the head address. From this state, it is assumed that the frame “F1” is dequeued and the frame “F5” is enqueued.

白抜き矢印の下の図では、フレーム「F1」がデキューされたので、ptr1は、フレーム「F2」が記憶されている領域「Buf(4)」の先頭アドレスを示すこととなる。また、フレーム「F5」がエンキューされたのでは、ptr2は、フレーム「F5」が記憶されている領域「Buf(1)」の次の領域「Buf(2)」の先頭アドレスを示すことになる。   In the figure below the white arrow, since the frame “F1” is dequeued, ptr1 indicates the head address of the area “Buf (4)” in which the frame “F2” is stored. If the frame “F5” is enqueued, ptr2 indicates the start address of the area “Buf (2)” next to the area “Buf (1)” in which the frame “F5” is stored. .

実施形態の2つ目の方法では、このptr1が示すアドレスが、3秒間変更されない場合は、次にデキューされる先頭のフレームが滞留していると判断して、先頭のフレームを破棄する。つまり、ptr1が示すアドレスを、次の領域の先頭アドレスとする。例えば、図10の下の図において、ptr1が3秒以上変更されない場合は、ptr1が示しているアドレスを、領域「Buf(4)」の先頭アドレスから、領域「Buf(5)」の先頭アドレスに書き換える(更新)する。ptr1を更新することで、領域「Buf(4)」は、空き領域となる。つまり、領域「Buf(4)」に記憶されていたフレーム「F2」は、破棄されたことになる。   In the second method of the embodiment, when the address indicated by ptr1 is not changed for 3 seconds, it is determined that the first frame to be dequeued next is retained, and the first frame is discarded. That is, the address indicated by ptr1 is set as the start address of the next area. For example, in the lower diagram of FIG. 10, when ptr1 is not changed for 3 seconds or more, the address indicated by ptr1 is changed from the start address of the area “Buf (4)” to the start address of the area “Buf (5)”. Rewrite (update). By updating ptr1, the area “Buf (4)” becomes a free area. That is, the frame “F2” stored in the area “Buf (4)” is discarded.

尚、上記説明では、領域「Buf(i)」の先頭アドレスをptr1が示す(記憶する)ものとしているが、ptr1は、領域「Buf(i)」のインデックス、つまり「i」の値を記憶しておくものとしてもよい。   In the above description, ptr1 indicates (stores) the start address of the region “Buf (i)”, but ptr1 stores the index of the region “Buf (i)”, that is, the value of “i”. It is good to keep it.

ここで、図11を用いて、2つ目方法でキュー管理を行う通信装置1000の動作を説明する。   Here, the operation of the communication apparatus 1000 that performs queue management by the second method will be described with reference to FIG.

フレーム送信部1130は、キャリアセンスを行い、フレームの送信権を獲得したと判断すると、DRキュー1122bから、最初にエンキューされたフレームを読み出し、無線通信部1200を介して送信する。フレーム送信部1130は、このフレームを送信する処理と並行して、フレーム破棄処理を行う。尚、エンキュー部1110は、無線通信制御部1100から渡されたフレームを、APキュー1121の最後尾にエンキューする処理を行う。   When frame transmission section 1130 performs carrier sense and determines that it has acquired the right to transmit a frame, frame transmission section 1130 reads the first enqueued frame from DR queue 1122b and transmits it through radio communication section 1200. The frame transmission unit 1130 performs a frame discarding process in parallel with the process of transmitting this frame. The enqueue unit 1110 performs a process of enqueuing the frame passed from the wireless communication control unit 1100 to the tail end of the AP queue 1121.

図11は、フレーム送信部1130が行うフレーム破棄処理のフローチャートである。   FIG. 11 is a flowchart of the frame discarding process performed by the frame transmitting unit 1130.

フレーム送信部1130は、図10のptr1、つまり、次にデキューされるフレームの先頭アドレスを示すポインタが書き換えられたかを周期的に(ステップS30)、例えば0.1秒周期で確認する。   The frame transmission unit 1130 periodically checks whether ptr1 in FIG. 10, that is, the pointer indicating the head address of the next dequeued frame has been rewritten (step S30), for example, at a period of 0.1 second.

具体的には、現在のポインタが示すアドレスを取得し(ステップS31)、作業メモリに記憶してあるポインタのアドレスと比較する。現在のポインタが示すアドレスと、作業メモリに記憶してあるアドレスとが異なる場合は(ステップS32:No)、タイマー1300から現在の時刻を取得し(ステップS35)、現在のポインタと現在の時刻とを、作業メモリに記憶させ(ステップS36)、ステップS30に戻る。尚、作業メモリに記憶されているポインタのアドレスの初期値は0等の、正常動作でポインタが示さない値とする。   Specifically, the address indicated by the current pointer is acquired (step S31) and compared with the address of the pointer stored in the working memory. If the address indicated by the current pointer is different from the address stored in the working memory (step S32: No), the current time is obtained from the timer 1300 (step S35), and the current pointer and the current time are Is stored in the work memory (step S36), and the process returns to step S30. Note that the initial value of the pointer address stored in the working memory is a value such as 0 that is not indicated by the pointer in normal operation.

ステップS32において、現在のポインタが示すアドレスと、作業メモリに記憶してあるアドレスとが同じである場合は(ステップS32:Yes)、タイマー1300から現在の時刻を取得し、作業メモリに記憶してある時刻との差が3秒より小さい場合は(ステップS33:No)、ステップS30に戻る。また、現在の時刻と記憶してある時刻との差が3秒以上である場合は、3秒間以上ポインタが更新されていないと判断し(ステップS33:Yes)、ポインタを移動、つまり、次のフレームが記憶されているアドレスで更新し(ステップS34)、ステップS30に戻る。   In step S32, when the address indicated by the current pointer is the same as the address stored in the work memory (step S32: Yes), the current time is acquired from the timer 1300 and stored in the work memory. When the difference from a certain time is smaller than 3 seconds (step S33: No), the process returns to step S30. If the difference between the current time and the stored time is 3 seconds or more, it is determined that the pointer has not been updated for 3 seconds or more (step S33: Yes), and the pointer is moved, that is, the next The frame is updated with the stored address (step S34), and the process returns to step S30.

尚、上記フローチャートのステップ36でポインタと現時刻とを記憶することとしているが、フレームをデキューした際に、新たなポインタとその時の時刻とを記憶することとしてもよい。   Although the pointer and the current time are stored in step 36 in the flowchart, a new pointer and the time at that time may be stored when the frame is dequeued.

<実施形態2>
実施形態1では、遅延フレームの発生を回避する方法として、所定期間滞留したフレームは破棄することとしたが、実施形態2では、キューにつながれているフレームの数が所定数を超えたら、例えば、キューが溢れてエンキューできなくなった場合には、エンキューされているすべてのフレームを破棄するものである。
<Embodiment 2>
In the first embodiment, as a method of avoiding the occurrence of a delayed frame, the frame staying for a predetermined period is discarded. However, in the second embodiment, if the number of frames connected to the queue exceeds a predetermined number, for example, When the queue overflows and cannot be enqueued, all the enqueued frames are discarded.

一旦、滞留しているフレームを破棄して新たにキューイングさせることで、ネットワーク全体のフレームの流れを良くする。つまり、1つ通信装置1000でフレームが溢れているということは、周囲の通信装置1000でもフレームが溢れていることが予想でき、周囲の通信装置1000がほぼ一斉にフレームを破棄することで、トラフィックの輻輳が解消できる可能性を高めるものである。   Once the frames that have stayed are discarded and newly queued, the flow of frames throughout the network is improved. In other words, if one communication device 1000 overflows, it can be predicted that the surrounding communication device 1000 overflows, and the surrounding communication devices 1000 discard the frame almost all at once. This increases the possibility of eliminating congestion.

図12を用いて、実施形態2のキュー管理を行う通信装置1000の動作を説明する。図12は、エンキュー部1110が行うエンキュー処理のフローチャートである。
無線通信制御部1100は、送信するフレームをエンキュー部1110に渡してエンキューを依頼する。
The operation of the communication apparatus 1000 that performs queue management according to the second embodiment will be described with reference to FIG. FIG. 12 is a flowchart of the enqueue process performed by the enqueue unit 1110.
The wireless communication control unit 1100 passes the frame to be transmitted to the enqueue unit 1110 and requests enqueue.

依頼を受けたエンキュー部1110は、現在キューイングされているフレームの数が、閾値、例えば、キューイングできるフレームの最大値である場合は(ステップS40:Yes)、APキュー1121、及び、DRキュー1122にキューイングされているフレームをすべて破棄する(ステップS41)。そして、エンキュー部1110は、無線通信制御部1100から渡されたフレームをAPキュー1121にエンキューし(ステップS42)、処理を終了する。   The enqueue unit 1110 that has received the request, when the number of frames currently queued is a threshold value, for example, the maximum value of frames that can be queued (step S40: Yes), the AP queue 1121 and the DR queue All the frames queued at 1122 are discarded (step S41). Then, the enqueue unit 1110 enqueues the frame passed from the wireless communication control unit 1100 into the AP queue 1121 (step S42), and ends the process.

一方、現在キューイングされているフレームの数が、閾値、例えば、キューイングできるフレームの最大値より少ない場合は(ステップS40:No)、無線通信制御部1100から渡されたフレームをAPキュー1121にエンキューし(ステップS42)、処理を終了する。   On the other hand, when the number of frames currently queued is smaller than a threshold, for example, the maximum number of frames that can be queued (step S40: No), the frame passed from the wireless communication control unit 1100 is stored in the AP queue 1121. Enqueuing is performed (step S42), and the process is terminated.

尚、実施形態2では、キューイングされているフレームをすべて破棄することとしているが、所定数のフレームを廃棄することとしてもよい。また、所定割合の数のフレームを、破棄することとしてもよい。   In the second embodiment, all the queued frames are discarded, but a predetermined number of frames may be discarded. Also, a predetermined number of frames may be discarded.

本発明を表現するために、上述において図面を参照しながら実施形態を通して本発明を適切且つ十分に説明したが、当業者であれば上述の実施形態を変更および/または改良することは容易に為し得ることであると認識すべきである。したがって、当業者が実施する変更形態または改良形態が、請求の範囲に記載された請求項の権利範囲を離脱するレベルのものでない限り、当該変更形態または当該改良形態は、当該請求項の権利範囲に包括されると解釈される。   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 無線通信制御部(通信制御手段)
1110 エンキュー部
1120 送信キュー(記憶手段)
1130 フレーム送信部(データ送信手段)
1200 無線通信部
1300 タイマー
1400 機内通信制御部
1500 外部インタフェース
1800 リンク情報記憶部
1900 電力量情報記憶部
2000 電力量計
3000 負荷開閉器
4000 外部通信制御部
GW gateway T terminal station H power customer 1 server device 2 network 1000 communication device 1100 wireless communication control unit (communication control means)
1110 Enqueue unit 1120 Transmission queue (storage means)
1130 Frame transmission unit (data transmission means)
1200 Wireless communication unit 1300 Timer 1400 In-flight communication control unit 1500 External interface 1800 Link information storage unit 1900 Electric energy information storage unit 2000 Electric energy meter 3000 Load switch 4000 External communication control unit

Claims (4)

複数の通信装置を有する無線ネットワークシステムにおいて、他の通信装置とマルチホップ通信を行う通信装置であって、
前記マルチホップ通信の対象となる送信データを、FIFOキューである送信キューにエンキューするエンキュー手段と、
前記送信データの送信権を獲得した場合に、前記送信キューから、前記送信データをデキューし、デキューした送信データを前記他の通信装置に送信するデータ送信手段とを備え、
前記送信キューは、第一送信キューと第二送信キューとを有し、
前記エンキュー手段は、前記送信データを前記第一送信キューにエンキューし、
前記データ送信手段は、前記第二送信キューから前記送信データをデキューし、
前記送信キューは、前記第二送信キューから前記送信データがデキューされた場合に、前記第一送信キューに最初にエンキューされた前記送信データを、前記第二送信キューの最後にエンキューするように構成され、
前記第一送信キュー及び前記第二送信キューは、エンキューされた順に送信データを記憶し、次にデキューされる送信データを示すポインタ情報を記憶している記憶手段を、更に備え、
前記データ送信手段は
デキューした送信データが、前記エンキュー手段によって前記送信キューにエンキューされてから所定期間経過する前の送信データである場合にのみ送信するものであり、
前記第一送信キュー及び前記第二送信キューの其々において、前記ポインタ情報が示す送信データをデキューすると、その次にデキューする送信データを示す情報で前記ポインタ情報を更新し、前記ポインタ情報が前記所定期間以上更新されない場合は、当該ポインタ情報が示す送信データの次にデキューされる送信データを示す情報によって、当該ポインタ情報を書き換える処理を並行して行う
ことを特徴とする通信装置。
In a wireless network system having a plurality of communication devices, a communication device that performs multi-hop communication with other communication devices,
Enqueue means for enqueuing transmission data to be subjected to the multi-hop communication into a transmission queue that is a FIFO queue;
A data transmission unit that dequeues the transmission data from the transmission queue and transmits the dequeued transmission data to the other communication device when the transmission right of the transmission data is acquired;
The transmission queue has a first transmission queue and a second transmission queue,
The enqueue means enqueues the transmission data into the first transmission queue,
The data transmission means dequeues the transmission data from the second transmission queue,
The transmission queue is configured to enqueue the transmission data first enqueued in the first transmission queue at the end of the second transmission queue when the transmission data is dequeued from the second transmission queue. And
The first transmission queue and the second transmission queue further include storage means for storing transmission data in the order of enqueue and storing pointer information indicating transmission data to be dequeued next.
It said data transmission means,
Only when the dequeued transmission data is transmission data before a predetermined period has elapsed since being enqueued by the enqueue means into the transmission queue ,
When the transmission data indicated by the pointer information is dequeued in each of the first transmission queue and the second transmission queue, the pointer information is updated with information indicating transmission data to be dequeued next, and the pointer information is A communication device characterized in that, when it is not updated for a predetermined period or longer, processing for rewriting the pointer information is performed in parallel with information indicating transmission data dequeued next to the transmission data indicated by the pointer information .
前記送信データを前記エンキュー手段にエンキューさせ、エンキューさせた当該送信データの送信相手である他の通信装置から、当該送信データを受信したことを示すデータを、当該送信データをエンキューさせた時刻から、予め定められた再送期間が経過するまでに受信しない場合には、当該送信データを再び前記エンキュー手段にエンキューさせる通信制御手段を、更に備え、
前記所定期間は、前記再送期間以上の期間である
ことを特徴とする請求項1に記載の通信装置。
The transmission data is enqueued in the enqueue means, and the data indicating that the transmission data is received from another communication device that is the transmission partner of the enqueued transmission data, from the time when the transmission data is enqueued, A communication control means for enqueuing the transmission data again in the enqueue means if not received before a predetermined retransmission period elapses;
The communication apparatus according to claim 1, wherein the predetermined period is a period longer than the retransmission period.
複数の通信装置を有する無線ネットワークシステムにおいて、他の通信装置とマルチホップ通信を行う通信装置で用いられるデータ送信方法あって、
前記マルチホップ通信の対象となる送信データを、FIFOキューである送信キューにエンキューするエンキューステップと、
前記送信データの送信権を獲得した場合に、前記送信キューから、前記送信データをデキューし、デキューした送信データを前記他の通信装置に送信するデータ送信ステップとを備え、
前記送信キューは、第一送信キューと第二送信キューとを有し、
前記エンキューステップにおいては、前記送信データを前記第一送信キューにエンキューし、
前記データ送信ステップにおいては、前記第二送信キューから前記送信データをデキューし、
前記送信キューは、前記第二送信キューから前記送信データがデキューされた場合に、前記第一送信キューに最初にエンキューされた前記送信データを、前記第二送信キューの最後にエンキューするように構成され、
前記第一送信キュー及び前記第二送信キューは、エンキューされた順に送信データを記憶し、次にデキューされる送信データを示すポインタ情報を記憶している記憶手段を、更に備え、
前記データ送信ステップにおいては
デキューした送信データが、前記エンキューステップにおいて前記送信キューにエンキューされてから所定期間経過する前の送信データである場合にのみ送信するように、
前記第一送信キュー及び前記第二送信キューの其々において、前記ポインタ情報が示す送信データをデキューすると、その次にデキューする送信データを示す情報で前記ポインタ情報を更新し、前記ポインタ情報が前記所定期間以上更新されない場合は、当該ポインタ情報が示す送信データの次にデキューされる送信データを示す情報によって、当該ポインタ情報を書き換える処理を並行して行う
ことを特徴とするデータ送信方法。
In a wireless network system having a plurality of communication devices, there is a data transmission method used in a communication device that performs multi-hop communication with another communication device,
An enqueue step for enqueuing transmission data to be subjected to the multi-hop communication into a transmission queue that is a FIFO queue;
A data transmission step of dequeueing the transmission data from the transmission queue and transmitting the dequeued transmission data to the other communication device when the transmission right of the transmission data is acquired;
The transmission queue has a first transmission queue and a second transmission queue,
In the enqueue step, the transmission data is enqueued in the first transmission queue,
In the data transmission step, the transmission data is dequeued from the second transmission queue,
The transmission queue is configured to enqueue the transmission data first enqueued in the first transmission queue at the end of the second transmission queue when the transmission data is dequeued from the second transmission queue. And
The first transmission queue and the second transmission queue further include storage means for storing transmission data in the order of enqueue and storing pointer information indicating transmission data to be dequeued next.
In the data transmission step ,
Only when the dequeued transmission data is transmission data before a predetermined period has elapsed since being enqueued in the transmission queue in the enqueue step ,
When the transmission data indicated by the pointer information is dequeued in each of the first transmission queue and the second transmission queue, the pointer information is updated with information indicating transmission data to be dequeued next, and the pointer information is A data transmission method comprising: performing parallel processing of rewriting pointer information using information indicating transmission data dequeued next to transmission data indicated by the pointer information when the pointer information is not updated for a predetermined period or longer .
複数の通信装置を有する無線ネットワークシステムにおいて、他の通信装置とマルチホップ通信を行う通信装置で用いられるデータ送信プログラムであって、
前記マルチホップ通信の対象となる送信データを、FIFOキューである送信キューにエンキューするエンキュー手段と、
前記送信データの送信権を獲得した場合に、前記送信キューから、前記送信データをデキューし、デキューした送信データを前記他の通信装置に送信するデータ送信手段としてコンピュータを機能させ、
前記送信キューは、第一送信キューと第二送信キューとを有し、
前記エンキュー手段は、前記送信データを前記第一送信キューにエンキューし、
前記データ送信手段は、前記第二送信キューから前記送信データをデキューし、
前記送信キューは、前記第二送信キューから前記送信データがデキューされた場合に、前記第一送信キューに最初にエンキューされた前記送信データを、前記第二送信キューの最後にエンキューするように構成され、
前記第一送信キュー及び前記第二送信キューは、エンキューされた順に送信データを記憶し、次にデキューされる送信データを示すポインタ情報を記憶している記憶手段を、更に備え、
前記データ送信手段は
デキューした送信データが、前記エンキュー手段によって前記送信キューにエンキューされてから所定期間経過する前の送信データである場合にのみ送信するものであり、
前記第一送信キュー及び前記第二送信キューの其々において、前記ポインタ情報が示す送信データをデキューすると、その次にデキューする送信データを示す情報で前記ポインタ情報を更新し、前記ポインタ情報が前記所定期間以上更新されない場合は、当該ポインタ情報が示す送信データの次にデキューされる送信データを示す情報によって、当該ポインタ情報を書き換える処理を並行して行う
ことを特徴とするデータ送信プログラム。
In a wireless network system having a plurality of communication devices, a data transmission program used in a communication device that performs multi-hop communication with another communication device,
Enqueue means for enqueuing transmission data to be subjected to the multi-hop communication into a transmission queue that is a FIFO queue;
When the transmission right of the transmission data is acquired, the computer functions as a data transmission unit that dequeues the transmission data from the transmission queue and transmits the dequeued transmission data to the other communication device,
The transmission queue has a first transmission queue and a second transmission queue,
The enqueue means enqueues the transmission data into the first transmission queue,
The data transmission means dequeues the transmission data from the second transmission queue,
The transmission queue is configured to enqueue the transmission data first enqueued in the first transmission queue at the end of the second transmission queue when the transmission data is dequeued from the second transmission queue. And
The first transmission queue and the second transmission queue further include storage means for storing transmission data in the order of enqueue and storing pointer information indicating transmission data to be dequeued next.
It said data transmission means,
Only when the dequeued transmission data is transmission data before a predetermined period has elapsed since being enqueued by the enqueue means into the transmission queue ,
When the transmission data indicated by the pointer information is dequeued in each of the first transmission queue and the second transmission queue, the pointer information is updated with information indicating transmission data to be dequeued next, and the pointer information is A data transmission program characterized in that, when it is not updated for a predetermined period or longer, processing for rewriting the pointer information is performed in parallel with information indicating transmission data to be dequeued next to the transmission data indicated by the pointer information .
JP2013230457A 2013-11-06 2013-11-06 COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM Active JP6254824B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013230457A JP6254824B2 (en) 2013-11-06 2013-11-06 COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013230457A JP6254824B2 (en) 2013-11-06 2013-11-06 COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2017212866A Division JP6498257B2 (en) 2017-11-02 2017-11-02 COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM

Publications (2)

Publication Number Publication Date
JP2015091042A JP2015091042A (en) 2015-05-11
JP6254824B2 true JP6254824B2 (en) 2017-12-27

Family

ID=53194390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013230457A Active JP6254824B2 (en) 2013-11-06 2013-11-06 COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM

Country Status (1)

Country Link
JP (1) JP6254824B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05145598A (en) * 1991-11-20 1993-06-11 Hitachi Ltd Communication buffer management system
JP3315940B2 (en) * 1998-11-25 2002-08-19 松下電器産業株式会社 ATM communication method and ATM communication device
JP2006191368A (en) * 2005-01-06 2006-07-20 Mitsubishi Electric Corp Network transmission device
JP2007060365A (en) * 2005-08-25 2007-03-08 Nippon Telegr & Teleph Corp <Ntt> Radio communication apparatus and radio communication method
JP4614909B2 (en) * 2006-05-08 2011-01-19 三菱電機株式会社 Packet buffer device
JP4952642B2 (en) * 2008-04-15 2012-06-13 富士通株式会社 Packet transfer apparatus and packet discarding method
JP5841462B2 (en) * 2012-03-08 2016-01-13 株式会社日立製作所 Gateway wireless communication apparatus, wireless communication system, and communication control method

Also Published As

Publication number Publication date
JP2015091042A (en) 2015-05-11

Similar Documents

Publication Publication Date Title
EP3011711B1 (en) Dynamically adjusting frame mtu to support low-latency communication
JP6303452B2 (en) Communication node
US8831023B2 (en) Low latency mesh network
JP4762735B2 (en) Wireless communication apparatus, communication path control apparatus, communication path control method, and communication system
EP2761924B1 (en) Congestion-based traffic shaping for distributed queuing in shared-media communication networks
JP6304993B2 (en) Wireless communication system and wireless communication method
US9768917B2 (en) Communication control method, network system, and communication device
ES2660838T3 (en) SCTP grouping
CN114374647B (en) Planning method and device for time-sensitive service flow and route combined scheduling
CN110191053B (en) Wireless ad hoc network multipath routing method based on cognitive learning
US20140281034A1 (en) System and Method for Compressing Data Associated with a Buffer
CN105743760A (en) Flow switching method and device
JP5897699B2 (en) Terminal, route generation method, and route generation program
JP4846812B2 (en) Wireless communication system
Guo et al. Resource aware routing protocol in heterogeneous wireless machine-to-machine networks
JP6498257B2 (en) COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM
JP5169338B2 (en) RADIO COMMUNICATION SYSTEM AND METHOD, AND DEVICE AND PROGRAM USED FOR THEM
JP2012209905A (en) Wireless communication device, method, and program
JP6254824B2 (en) COMMUNICATION DEVICE, DATA TRANSMISSION METHOD, AND DATA TRANSMISSION PROGRAM
JP2007318497A (en) Wireless access controller and control method, wireless unit, and network
JP6259622B2 (en) COMMUNICATION DEVICE, RADIO NETWORK SYSTEM, RADIO NETWORK CONTROL METHOD, AND RADIO NETWORK CONTROL PROGRAM
Nori et al. Backflip: Backpressure routing in ipv6-based wireless sensor networks
Rahman et al. Delay Contributing Factors and Strategies Towards Its Minimization in IoT
Quintero et al. Frame retransmission using a modified VST-TDMA access protocol in Picocell/WPAN
Keceli et al. Fair and efficient TCP access in the IEEE 802.11 infrastructure basic service set

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170817

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

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