JP2014204437A - Acquisition of downlink routing, maintenance method, and device - Google Patents

Acquisition of downlink routing, maintenance method, and device Download PDF

Info

Publication number
JP2014204437A
JP2014204437A JP2014074364A JP2014074364A JP2014204437A JP 2014204437 A JP2014204437 A JP 2014204437A JP 2014074364 A JP2014074364 A JP 2014074364A JP 2014074364 A JP2014074364 A JP 2014074364A JP 2014204437 A JP2014204437 A JP 2014204437A
Authority
JP
Japan
Prior art keywords
node
data packet
information
information item
parent
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.)
Pending
Application number
JP2014074364A
Other languages
Japanese (ja)
Inventor
欣 底
Xin Di
欣 底
ティアン・ジュン
Jun Tian
ジャン・ジャオユィ
Zhaoyu Zhang
アオ・チェヌ
Chen Ao
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Publication of JP2014204437A publication Critical patent/JP2014204437A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a node for a multi-hop network.SOLUTION: A transferred or monitored data packet is decoded. A source node, a destination node, a transmission node, a reception node, a type, and a data payload are acquired. When the number of hops from the source node to the destination node is larger than the number of hops from said node to the destination node and a difference between the two is 2, determination is made, on the basis of a data packet transfer table, as to whether or not a data packet was transferred or monitored. When the data packet was not transferred or monitored and the reception node is said node, information about a parent node of the source node is added to the data packet, and the data packet including the parent node information is transferred. When the data packet was not transferred or monitored, an information item corresponding to the source node and its parent node is stored in the data packet transfer table, a transmission mark is set to a prescribed value, and a forgotten time is initialized.

Description

本発明は、通信技術分野に関し、特にマルチホップネットワークにおけるダウンリンクルーティングの取得及び保守の方法及び装置に関する。   The present invention relates to the field of communication technology, and more particularly to a method and apparatus for acquiring and maintaining downlink routing in a multi-hop network.

ゲートウェイ(Gateway)にデータパケットを集約させるため、マルチホップネットワークは主にアップリンクルーティング(一般ノードからゲートウェイまで)を提供する。ゲートウェイはノードを制御する、或いはノードのデータを自発的に照会する場合、ダウンリンクルーティングが必要となる。一般ノードの記憶スペースが限られているため、マルチホップノードのルーティングを保守できないため、ゲートウェイ側でダウンリンクルーティングを取得、保守する必要がある。   In order to aggregate data packets at a gateway, the multi-hop network mainly provides uplink routing (from the general node to the gateway). When the gateway controls a node or voluntarily queries a node's data, downlink routing is required. Since the storage space of the general node is limited, the routing of the multi-hop node cannot be maintained, so it is necessary to acquire and maintain the downlink routing on the gateway side.

従来のルーティングアルゴリズムは、ゲートウェイにおいてグローバルルーティングテーブル(global routing table)を確立することで、ゲートウェイでダウンリンクルーティングの取得、保守を実現している。しかし、この方法では、ブロードキャスティング(broadcast)及びフラッディング(flooding)の方法が必要であるため、取得及び保守の負荷が大きい。   The conventional routing algorithm establishes a global routing table in the gateway, thereby obtaining and maintaining downlink routing in the gateway. However, this method requires a method of broadcasting and flooding, so that the load of acquisition and maintenance is large.

なお、上述した技術背景の説明は、本発明の技術案を明確、完全に理解させるための説明であり、当業者を理解させるために記述されているものである。これらの技術案は、単なる本発明の背景技術部分として説明されたものであり、当業者により公知されたものではない。   The above description of the technical background is an explanation for making the technical solution of the present invention clear and complete, and is described for the purpose of understanding those skilled in the art. These technical solutions are merely described as the background art portion of the present invention, and are not known by those skilled in the art.

本発明の実施例は、ゲートウェイ側でダウンリンクルーティングを効果的に取得、保守し、システムの負荷を低減するダウンリンクルーティングの取得、保守方法及び装置、を提供することを主な目的とする。   Embodiments of the present invention mainly provide a downlink routing acquisition and maintenance method and apparatus that effectively acquire and maintain downlink routing on the gateway side and reduce the load on the system.

本発明の実施例の一の態様では、マルチホップネットワークにおけるノードであって、転送或いは監視されたデータパケットを復号化し、前記データパケットのソースノード、宛先ノード、送信ノード、受信ノード、類型、及びデータペイロードを取得する復号化手段と、前記データパケットのソースノードから宛先ノードまでのホップ数が前記ノードから宛先ノードまでのホップ数よりも大きく、且つ両者の差が2である場合、前記ノードのデータパケット転送テーブルに基づいて、前記ソースノードのデータパケットを転送或いは監視したか否かを決定する第1の決定手段と、前記ソースノードのデータパケットを転送或いは監視したことがないと前記第1の決定手段により決定された場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する送信手段と、前記ソースノードのデータパケットを転送或いは監視したことがないと前記第1の決定手段により決定された場合、前記データパケット転送テーブルに、前記ソースノード及びその親ノードに対応する情報項目を記憶し、前記情報項目に対応する伝送マークを所定値に設定し、前記情報項目に対応する予め設定された忘れ時間を初期化する第1の更新手段と、を含む、ノード、を提供する。   In one aspect of an embodiment of the present invention, a node in a multi-hop network decodes a forwarded or monitored data packet, and the data packet source node, destination node, transmission node, reception node, type, and A decoding means for obtaining a data payload, and the number of hops from the source node to the destination node of the data packet is greater than the number of hops from the node to the destination node, and the difference between the two is 2, First determining means for determining whether or not the data packet of the source node has been transferred or monitored based on a data packet transfer table; and if the data packet of the source node has not been transferred or monitored, the first The receiving node of the data packet is not The parent node information of the source node of the data packet is added to the data packet, the transmission means for transferring the data packet including the parent node information, and the data packet of the source node have not been transferred or monitored And the first determination means store information items corresponding to the source node and its parent node in the data packet forwarding table, and set a transmission mark corresponding to the information item to a predetermined value. And a first updating means for initializing a preset forgetting time corresponding to the information item.

本発明の実施例の他の態様では、マルチホップネットワークにおけるゲートウェイノードであって、受信された親ノード情報を含むデータパケットに基づいて、ダウンリンクルーティングテーブルに前記データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されているか否かを判断する、第1の判断手段と、前記第1の判断手段の判断結果が否定の場合、前記ダウンリンクルーティングテーブルの1つの情報項目に前記データパケットのソースノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新し、前記第1の判断手段の判断結果が肯定の場合、前記ダウンリンクルーティングテーブルにおける前記情報項目に対応する更新時間を更新し、或いは前記ダウンリンクルーティングテーブルにおける前記情報項目に対応する更新時間を更新し、且つ前記情報項目に対応する失効時間を再設定する、第1の更新手段と、を含み、前記ダウンリンクルーティングテーブルは複数の情報項目を含み、各情報項目はノードのアドレス、親ノードのアドレス、及び更新時間を含み、或いは各情報項目はノードのアドレス、親ノードのアドレス、更新時間、及び失効時間を含む、ゲートウェイノード、を提供する。   In another aspect of an embodiment of the present invention, a gateway node in a multi-hop network, based on a received data packet including parent node information, a downlink routing table includes an address of the source node of the data packet and its If the determination result of the first determination means and the first determination means is negative to determine whether an information item corresponding to the address of the parent node is stored, one piece of information in the downlink routing table Write the address of the source node of the data packet and the address of its parent node in the item, update the update time corresponding to the information item, or update the update time and the expiration time corresponding to the information item, If the determination result of the determination means is affirmative, the downlink routing table Updating the update time corresponding to the information item in the first update time, or updating the update time corresponding to the information item in the downlink routing table, and resetting the expiration time corresponding to the information item. The downlink routing table includes a plurality of information items, each information item includes a node address, a parent node address, and an update time, or each information item includes a node address, a parent node address A gateway node is provided that includes an address, update time, and expiration time.

本発明の実施例によれば、ゲートウェイ側でのダウンリンクルーティングの取得及び保守によるシステム負荷を低減する。   According to the embodiment of the present invention, the system load due to acquisition and maintenance of downlink routing on the gateway side is reduced.

本発明の特定の実施形態は、後述の説明及び図面に示すように、詳細に開示され、本発明の原理を採用されることが可能な方式を示している。なお、本発明の実施形態は、範囲上には限定されるものではない。本発明の実施形態は、添付されている特許請求の範囲の主旨及び内容の範囲内、各種の改変、修正、及び同等的なものが含まれる。   Certain embodiments of the present invention are disclosed in detail and illustrate the manner in which the principles of the present invention can be employed, as illustrated in the following description and drawings. The embodiment of the present invention is not limited in scope. The embodiments of the present invention include various alterations, modifications, and equivalents within the scope and spirit of the appended claims.

ある一つの実施形態に説明及び又は示されている特徴は、同一又は類似の方式で一つ又は多くの他の実施形態に使用されてもよく、他の実施形態における特徴と組み合わせてもよく、他の実施形態における特徴を代替してもよい。   Features described and / or shown in one embodiment may be used in one or many other embodiments in the same or similar manner, and may be combined with features in other embodiments, Features in other embodiments may be substituted.

なお、用語「包括/含む」は、本文に使用される際に、特徴、要素、ステップ又は構成要件の存在を意味し、一つ又は複数の他の特徴、要素、ステップ又は構成要件の存在又は追加を排除するものではない。   As used herein, the term “inclusive / include” means the presence of a feature, element, step or component, and the presence or absence of one or more other features, elements, steps or components. It does not exclude the addition.

本発明は、図面を参照しながら下記説明するものにより、よりよく理解できる。図面における素子は、比例に応じて描くものではなく、本発明の原理を示すものである。本発明のある部分を示すため、図面における対応部分が拡大又は縮小されてもよい。本発明のある図面又はある実施形態に記載された構成要件及び特徴は、一つ又は多くの他の図面又は実施形態に示された構成要件及び特徴と組み合わせてもよい。また、図面において、類似の符号は、いくつの図面における対応の部材を示してもよく、複数の実施形態に用いられる対応の部材を示してもよい。
本発明の実施例に係るダウンリンクルーティングの取得、保守方法のフローチャートである。 本発明の実施例に係るデータパケットのフレーム構成を示す図である。 データパケットに親ノード情報を追加する方法のフローチャートである。 データパケットに親ノード情報を追加した後のデータパケットのフレーム構成を示す図である。 本発明の実施例に係るマルチホップネットワークにおけるノードの構成を示す図である。 本発明の他の実施例に係るダウンリンクルーティングの取得、保守方法のフローチャートである。 図6に示す方法における、ゲートウェイノードがそのダウンリンクルーティングテーブルを更新する方法のフローチャートである。 ダウンリンクルーティングテーブルの構成を示す図である。 変更されたACKメッセージのフレーム構成を示す図である。 確立されたダウンリンクルーティングの一例におけるネットワークトポロジーを示す図である。 ダウンリンクルーティングの照会プロセスを示す図である。 本発明の実施例に係るゲートウェイの構成を示す図である。
The present invention can be better understood by the following description with reference to the drawings. Elements in the drawings are not drawn to scale, but illustrate the principles of the invention. Corresponding parts in the drawings may be enlarged or reduced to show certain parts of the invention. Elements and features described in one drawing or embodiment of the invention may be combined with elements and features shown in one or many other drawings or embodiments. In the drawings, similar reference numerals may indicate corresponding members in any number of drawings, and may indicate corresponding members used in a plurality of embodiments.
5 is a flowchart of a downlink routing acquisition and maintenance method according to an embodiment of the present invention. It is a figure which shows the frame structure of the data packet which concerns on the Example of this invention. 5 is a flowchart of a method for adding parent node information to a data packet. It is a figure which shows the frame structure of the data packet after adding parent node information to a data packet. It is a figure which shows the structure of the node in the multihop network which concerns on the Example of this invention. 6 is a flowchart of a downlink routing acquisition and maintenance method according to another embodiment of the present invention. 7 is a flowchart of a method for a gateway node to update its downlink routing table in the method shown in FIG. It is a figure which shows the structure of a downlink routing table. It is a figure which shows the frame structure of the changed ACK message. It is a figure which shows the network topology in an example of the established downlink routing. FIG. 6 illustrates a downlink routing inquiry process. It is a figure which shows the structure of the gateway which concerns on the Example of this invention.

本発明の実施例は、図面及び下記の説明により理解できるものである。これらの実施形態は、単なる例示的なものであり、本発明を制限するものではない。   The embodiments of the present invention can be understood from the drawings and the following description. These embodiments are merely exemplary and do not limit the invention.

当業者に本発明の原理及び実施形態をより簡単に理解させるため、本発明の実施例では、Ad−hocネットワークを例として説明しているが、本発明の実施例はAd−hocネットワークに限定されず、例えば、本発明の実施例により提供される方法及び装置はセンサネットワーク等の他のマルチホップネットワークにも適用されてもよい。   To make it easier for those skilled in the art to understand the principles and embodiments of the present invention, the example of the present invention is described by taking an example of an Ad-hoc network. However, the example of the present invention is limited to an Ad-hoc network. For example, the methods and apparatus provided by the embodiments of the present invention may be applied to other multi-hop networks such as sensor networks.

Ad−hocネットワークでは、2種類のノード、即ちソースノード(Source Node)及び転送ノード(Relay Node)が含まれる。ソースノードは、ゲートウェイを最終の宛先とするデータを定期的、或いは不定期的に送信し、転送ノードは、原始データを生じなく、ソースノードから送信されたデータパケットのみを転送する。また、ソースノードは、他のソースノードからのデータを転送する機能を有してもよく、この場合は転送ノードの機能と同じである。ここで、ソースノードがゲートウェイにデータパケットを送信する際に、データパケットに含まれるアドレス情報は、GS(Global Source:ソースノード)、GD(Global Destination:宛先ノード)、LS(Local Source:送信ノード)、及びLD(Local Destination:受信ノード)を含む。   In the Ad-hoc network, two types of nodes, that is, a source node and a forwarding node are included. The source node periodically or irregularly transmits data whose final destination is the gateway, and the transfer node transfers only the data packet transmitted from the source node without generating the original data. The source node may have a function of transferring data from other source nodes, and in this case, the function is the same as that of the transfer node. Here, when the source node transmits a data packet to the gateway, address information included in the data packet includes GS (Global Source: source node), GD (Global Destination: destination node), and LS (Local Source: transmission node). ) And LD (Local Destination: receiving node).

本発明の実施例では、ネットワークではアップリンクルーティングが既に確立されている、即ち、全てのノードは次ホップの親ノードを取得していることを前提とする。   In an embodiment of the present invention, it is assumed that uplink routing has already been established in the network, that is, all nodes have acquired the next hop parent node.

<実施例1>
本実施例では、ダウンリンクルーティングの取得、保守方法を提供し、該方法は、マルチホップネットワークにおける転送機能を有するノード、例えば転送ノード又はソースノードに適用する。図1は、該方法のフローチャートである。図1に示すように、該方法は以下のステップを含む。
<Example 1>
In this embodiment, a method for acquiring and maintaining a downlink routing is provided, and the method is applied to a node having a forwarding function in a multi-hop network, for example, a forwarding node or a source node. FIG. 1 is a flowchart of the method. As shown in FIG. 1, the method includes the following steps.

ステップ101:該ノードは、転送或いは監視されたデータパケットを復号化し、データパケットのソースノード、宛先ノード、送信ノード、受信ノード、類型、及びデータペイロードを取得する。   Step 101: The node decodes the transferred or monitored data packet, and acquires the source node, destination node, transmission node, reception node, type, and data payload of the data packet.

ここで、図2に示すように、データパケットのフレーム構成は、ソースノード(GS)、宛先ノード(GD)、送信ノード(LS)、受信ノード(LD)、番号(FID)、類型(TYPE)、及びデートペイロード(DATA Payload)を含む。なお、各セグメントの意味は従来技術と同じであるため、ここにその説明を省略される。   Here, as shown in FIG. 2, the frame structure of the data packet includes a source node (GS), a destination node (GD), a transmission node (LS), a reception node (LD), a number (FID), and a type (TYPE). , And a data payload. In addition, since the meaning of each segment is the same as a prior art, the description is abbreviate | omitted here.

ステップ102:データパケットのソースノードのホップ数(ソースノードから宛先ノードまでのホップ数)がノード自身のホップ数(ノードから宛先ノードまでのホップ数)よりも大きく、且つ両者のホップ数の差が2である場合、ノードは、自ら記憶されたデータパケット転送テーブルに基づいて、ソースノードのデータパケットを転送或いは監視したか否かを決定する。   Step 102: The number of hops of the source node (the number of hops from the source node to the destination node) of the data packet is larger than the number of hops of the node itself (the number of hops from the node to the destination node), and the difference in the number of hops between the two In the case of 2, the node determines whether the data packet of the source node has been transferred or monitored based on the data packet transfer table stored therein.

ここで、データパケット転送テーブルは、いくつ(1つ又は複数)の情報項目を含み、各情報項目は、該ノードがデータパケットを転送或いは監視した後で記憶したものである。また、各情報項目は、1つのソースノードのアドレス及びその親ノードのアドレスを含む。   Here, the data packet transfer table includes several (one or more) information items, and each information item is stored after the node transfers or monitors the data packet. Each information item includes the address of one source node and the address of its parent node.

好ましくは、各情報項目は、情報項目の更新時間を示す伝送マークをさらに含んでもよい。ここで、各ノードは、作動時間を多くの更新周期に分けており、1つの更新周期内において、ノードがデータパケットに親ノード情報を追加する操作を実行した、或いは他のノードに項目に対応する親ノード情報を送信したことを監視した場合、この情報項目に対応する伝送マークを所定値、例えば1に設定し、次の更新周期に入った場合、伝送マークを非所定値、例えば0に再設定する。また、ノードは、ソースノードからのデータパケットを受信した場合、データパケットにおける情報と記憶された項目の情報と同じである場合、該伝送マークを判断する必要がある。1つの更新周期において、該伝送マークが上記の所定値(例えば1)である場合、処理を終了させ、該伝送マークが上記の所定値ではない(例えば0)の場合、データパケットに親ノード情報を追加する操作を実行し、伝送マークを上記の所定値に変更する。具体的な処理プロセスは後述される。   Preferably, each information item may further include a transmission mark indicating the update time of the information item. Here, each node divides the operation time into a number of update cycles, and within one update cycle, the node performed an operation of adding parent node information to the data packet, or corresponds to an item in another node When the transmission of the parent node information is monitored, the transmission mark corresponding to this information item is set to a predetermined value, for example 1, and when the next update period is entered, the transmission mark is set to a non-predetermined value, for example 0. Reset it. Further, when the node receives the data packet from the source node, the node needs to determine the transmission mark if the information in the data packet is the same as the information of the stored item. In one update cycle, if the transmission mark is the predetermined value (for example, 1), the process is terminated. If the transmission mark is not the predetermined value (for example, 0), the parent node information is included in the data packet. The transmission mark is changed to the predetermined value. A specific processing process will be described later.

好ましくは、各情報項目は、情報項目の期間切れ時間を示す忘れ時間をさらに含んでもよい。データパケットテーブルの情報項目を作成する際に、該情報項目の忘れ時間を初期化して設定してもよい。ノードが情報項目に対応するデータパケットを受信する、或いは監視した(例えば、データパケット内の情報と記憶された項目情報と同じである)場合、情報項目に対応する忘れ時間を初期値に再設定する。1つの情報項目に対応する忘れ時間が達している場合、ノードは、自分の負荷に基づいて該情報項目を削除するか否かを決定してもよい。   Preferably, each information item may further include a forgetting time indicating an expiration time of the information item. When creating an information item of the data packet table, the forgetting time of the information item may be initialized and set. When a node receives or monitors a data packet corresponding to an information item (for example, the information in the data packet is the same as the stored item information), the forgetting time corresponding to the information item is reset to the initial value. To do. When the forgetting time corresponding to one information item has reached, the node may determine whether to delete the information item based on its own load.

ここで、テータパケット転送テーブルには、ソースノードのアドレスを含む情報項目が記憶されているため、あるソースノードのデータパケットを転送したことがある場合、データパケット転送テーブルに、ソースノードに対応する情報項目が記憶されるはずである。このため、ノード側で記憶されているデータパケット転送テーブルにおける情報項目を照会することで、該ソースノードから送信されたデータパケットを転送したことがあるか否かを決定できる。   Here, since the information item including the address of the source node is stored in the data packet transfer table, when a data packet of a certain source node has been transferred, the data packet transfer table corresponds to the source node. The information item should be stored. For this reason, it is possible to determine whether or not the data packet transmitted from the source node has been transferred by referring to the information item in the data packet transfer table stored on the node side.

ステップ103:該ソースノードのデータパケットを転送或いは監視したことがなく、且つ該データパケットの受信ノードが該ノードである場合、該ノードは、該データパケットに該データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する。   Step 103: When the data packet of the source node has not been transferred or monitored and the receiving node of the data packet is the node, the node adds the parent node information of the source node of the data packet to the data packet. And transfer the data packet including the parent node information.

1つの実施例では、該ノードがソースノードのデータパケットを転送或いは監視したことがない場合、該ノードは、該データパケット転送テーブルに該ソースノード及びその親ノードに対応する情報項目を記憶し、該情報項目に対応する伝送マークを所定値に設定する。   In one embodiment, if the node has not forwarded or monitored the data packet of the source node, the node stores information items corresponding to the source node and its parent node in the data packet forwarding table; A transmission mark corresponding to the information item is set to a predetermined value.

ここで、該ノードが該ソースノードのデータパケットを転送、或いは監視したことがなく、且つデータパケットにおけるLD(受信ノード)が該ノード自身のIDである、即ち本ノードがデータパケットの受信ノードであり、本ノードが該データパケットを転送する必要がある場合、本ノードは、該データパケットに、該データパケットにおけるソースノードの親ノード情報を追加し、該親ノード情報を含むデータパケットを転送する。1つの実施例では、該ノードは、ローカル側のデータパケット転送テーブルに、該ソースノード及びその親ノードに対応する情報項目をさらに作成する必要があり、ここで、該情報項目におけるソースノードは該データパケットにおけるGSであり、その親ノードはデータパケットにおけるLSである。なお、該新たに作成された情報項目に対応する伝送マークを上記の所定値にさらに設定してもよい。また、該新たに作成された情報項目に対応する忘れ時間をさらに初期化してもよい。   Here, the node has not transferred or monitored the data packet of the source node, and the LD (receiving node) in the data packet is the ID of the node itself, that is, this node is the receiving node of the data packet. If the node needs to transfer the data packet, the node adds the parent node information of the source node in the data packet to the data packet, and transfers the data packet including the parent node information. . In one embodiment, the node needs to further create an information item corresponding to the source node and its parent node in the local data packet forwarding table, where the source node in the information item is the The GS in the data packet, and its parent node is the LS in the data packet. The transmission mark corresponding to the newly created information item may be further set to the predetermined value. Further, the forgetting time corresponding to the newly created information item may be further initialized.

ここで、該ノードが該ソースノードのデータパケットを転送、或いは監視したことがなく、且つデータパケットにおけるLD(受信ノード)が該ノード自身のIDではない、即ち本ノードがデータパケットの受信ノードではなく、本ノードがデータパケットを転送する必要がなく、単なる該データパケットを監視した場合、本ノードは、該データパケットに、該データパケットにおけるソースノードの親ノード情報を追加するだけでよい。同様に、該情報項目におけるソースノードは該データパケットにおけるGSであり、その親ノードはデータパケットにおけるLSである。同様に、該新たに作成された情報項目に対応する伝送マークを上記の所定値に設定してもよい。また、該新たに作成された情報項目に対応する忘れ時間を同時に初期化してもよい。   Here, the node has not transferred or monitored the data packet of the source node, and the LD (receiving node) in the data packet is not the ID of the node itself, that is, this node is not the receiving node of the data packet. If the node does not need to transfer the data packet and simply monitors the data packet, the node only needs to add the parent node information of the source node in the data packet to the data packet. Similarly, the source node in the information item is a GS in the data packet, and its parent node is an LS in the data packet. Similarly, the transmission mark corresponding to the newly created information item may be set to the predetermined value. Further, the forgetting time corresponding to the newly created information item may be initialized at the same time.

本ノードは、図3に示す方法によって該データパケットに、データパケットにおけるソースノードの親ノード情報を追加してもよい。図3に示すように、該方法は以下のステップを含む。   This node may add the parent node information of the source node in the data packet to the data packet by the method shown in FIG. As shown in FIG. 3, the method includes the following steps.

ステップ301:該データパケットから送信ノードを抽出する。   Step 301: Extract a transmission node from the data packet.

ここで、ステップ102の説明の通り、本ノードがソースノードからの2ホップノードであるため、データパケットにおける送信ノード(LS)は該ソースノードの親ノードである。   Here, as described in step 102, since this node is a two-hop node from the source node, the transmission node (LS) in the data packet is the parent node of the source node.

ステップ302:該データパケットのデータペイロードに該データパケットの送信ノードを追加する。   Step 302: Add a transmission node of the data packet to the data payload of the data packet.

ここで、該データパケットのデータペイロードにソースノードの送信ノードを追加することで、ダウンリンクルーティングを決定するようにゲートウェイにノード及びその親ノード情報を取得させることができる。詳細について、以下の実施例において説明する。   Here, by adding the transmission node of the source node to the data payload of the data packet, the gateway and its parent node information can be acquired so as to determine the downlink routing. Details will be described in the following examples.

変更されたデータパケットのフレーム構成は図4に示され、該データパケットのデータペイロード(DATA Payload)には、元のデータ内容(DATA)だけではなく、親ノード情報(Parent ID)が含まされている。図4に示す例では、親ノードの情報はデータペイロードのヘッド部に追加されているが、本実施例はこれに限定されない。   The frame structure of the changed data packet is shown in FIG. 4, and the data payload (DATA Payload) of the data packet includes not only the original data content (DATA) but also parent node information (Parent ID). Yes. In the example shown in FIG. 4, the parent node information is added to the head portion of the data payload, but the present embodiment is not limited to this.

ステップ303:該データパケットの類型を、ソースノードの親ノード情報を含むデータパケットに変更する。   Step 303: The type of the data packet is changed to a data packet including parent node information of the source node.

ここで、データパケットの類型を変更する(例えば、図4に示されるTPYEセグメント)ことで、ゲートウェイに該データパケットの類型を決定させることができる。データパケットの類型を決定した結果、該データパケットが親ノード情報を含むデータパケットである場合、ソースノード及びその親ノードの情報を抽出して、ダウンリンクルーティングテーブルに追加してもよい。詳細について、以下の実施例において説明する。   Here, by changing the type of the data packet (for example, the TPYE segment shown in FIG. 4), the gateway can determine the type of the data packet. As a result of determining the type of the data packet, when the data packet is a data packet including parent node information, information on the source node and its parent node may be extracted and added to the downlink routing table. Details will be described in the following examples.

本実施例の方法をより分かるように、以下の例で該方法を説明する。   In order to better understand the method of this embodiment, the method is described in the following example.

例えば、ソースノードAがノードBを介してノードCへデータパケットを送信する例では、ノードCにより受信されたデータパケットには、GSはノードAであり、LSはノードBであり、LDはノードCである。ノードCは、ローカル側のデータパケット転送テーブルを照会して、ノードAからのデータパケットを転送、或いは監視したことがない、即ちデータパケット転送テーブルにソースノードがノードAである情報項目が含まれない場合、本実施例の方法に従って、ノードCは、データパケットからLS、即ちノードBのアドレスを抽出し、該データパケットのデータペイロードに追加し、該データパケットの類型を親ノード情報を含むデータパケットに変更し、該データパケットを転送する。また、データパケット転送テーブルにノードA及びその親ノードBの情報項目を追加し、該情報項目に対応する転送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。   For example, in the example in which the source node A transmits a data packet to the node C via the node B, in the data packet received by the node C, GS is the node A, LS is the node B, and LD is the node C. Node C queries the local data packet transfer table and has not transferred or monitored the data packet from node A. That is, the data packet transfer table includes an information item in which the source node is node A. If not, the node C extracts the LS, that is, the address of the node B from the data packet according to the method of this embodiment, adds it to the data payload of the data packet, and sets the type of the data packet to the data including the parent node information. Change to packet and transfer the data packet. Further, the information item of node A and its parent node B may be added to the data packet transfer table, the transfer mark corresponding to the information item is set to a predetermined value, and the forgetting time corresponding to the information item may be initialized. .

本実施例のもう1つの態様として、同じ例では、ノードDが該データパケット(GSはノードA、LSはノードB、LDはノードC)を監視した場合、ノードDは、自分のローカル側のデータパケット転送テーブルを照会して、ノードAからのデータパケットを転送、或いは監視したことがない、即ちデータパケット転送テーブルにソースノードがノードAである情報項目が含まれない場合、本実施例の方法に従って、ノードDが該データパケットの受信ノードではないため、ノードDは、データパケット転送テーブルに該データパケットに対応するノードA及びその親ノードBの情報項目を作成するだけでよい。また、該情報項目に対応する転送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。   As another aspect of this embodiment, in the same example, when node D monitors the data packet (GS is node A, LS is node B, and LD is node C), node D When the data packet transfer table is inquired and the data packet from the node A has not been transferred or monitored, that is, when the data packet transfer table does not include an information item whose source node is the node A, According to the method, since node D is not the receiving node of the data packet, node D only needs to create information items of node A and its parent node B corresponding to the data packet in the data packet forwarding table. Alternatively, the transfer mark corresponding to the information item may be set to a predetermined value, and the forgetting time corresponding to the information item may be initialized.

ステップ101〜103の処理によれば、該ノードは親ノード情報を含むデータパケットを転送することで、ゲートウェイノードは該ソースノード及びその親ノードを取得し、自分のダウンリンクルーティングテーブルに記憶することができる。ゲートウェイノードは、この方法によりマルチホップネットワークにおける全てのソースノード及びその親ノードの情報を取得することで、任意のノードのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。なお、ネットワーク側の処理について、以下の実施例に説明する。   According to the processing of steps 101 to 103, the node transfers the data packet including the parent node information, so that the gateway node acquires the source node and its parent node and stores them in its downlink routing table. Can do. The gateway node can determine the downlink routing of an arbitrary node by obtaining information of all the source nodes and their parent nodes in the multi-hop network by this method. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly. The processing on the network side will be described in the following example.

本実施例の1つの例では、ステップ102において、該ノードが該ソースノードのデータパケットを転送或いは監視したことがあると判断された場合、該方法は以下のステップをさらに含んでもよい。   In one example of this embodiment, if it is determined in step 102 that the node has transferred or monitored the data packet of the source node, the method may further include the following steps.

ステップ104:該ノードは、自ら記憶されたデータパケット転送テーブルに基づいて、該ソースノード及びその親ノードに対応する情報項目を記憶したか否かを決定する。   Step 104: The node determines whether or not the information item corresponding to the source node and its parent node is stored based on the stored data packet forwarding table.

ステップ105:該ソースノード及びその親ノードに対応する情報項目を記憶したことがなく、且つ該データパケットの受信ノードが該ノードである場合、該ノードは、該データパケットに該データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する。   Step 105: If the information item corresponding to the source node and its parent node has not been stored and the receiving node of the data packet is the node, the node adds the data packet to the source node of the data packet. The parent node information is added, and the data packet including the parent node information is transferred.

なお、ステップ103と類似して、該ソースノード及びその親ノードに対応する情報項目を記憶したことがない場合、該ノードは、該データパケット転送テーブルに、該ソースノード及びその親ノードに対応する情報項目をさらに記憶してもよい。好ましくは、該情報項目に対応する伝送マークを所定値に設定してもよく、該情報項目に対応する予め設定された忘れ時間を初期化してもよい。   Similar to step 103, if the information item corresponding to the source node and its parent node has never been stored, the node corresponds to the source node and its parent node in the data packet forwarding table. Information items may be further stored. Preferably, a transmission mark corresponding to the information item may be set to a predetermined value, and a preset forgetting time corresponding to the information item may be initialized.

この例では、本ノードが該ソースノードのデータパケットを転送、或いは監視したことがあり、且つ該ソースノード及びその親ノードに対応する情報項目を記憶していない場合、本ノードは、以上と同じように下記の処理を行ってもよい。即ち、データパケットのLDが本ノードである場合、該データパケットに該データパケットにおけるソースノードの親ノード情報を追加し、該親ノード情報を含むデータパケットを転送し、データパケット転送テーブルに該ソースノード及びその親ノードに対応する情報項目を作成してもよい。好ましくは、該情報項目に対応する伝送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。一方、データパケットのLDが本ノードではない場合、データパケットに新たな情報項目を追加するだけでよい。好ましくは、該情報項目に対応する伝送マークを所定値に設定してもよい。好ましくは、該情報項目に対応する忘れ時間を同時に初期化してもよい。   In this example, if the node has transferred or monitored the data packet of the source node and does not store information items corresponding to the source node and its parent node, the node is the same as above. As described above, the following processing may be performed. That is, when the LD of the data packet is this node, the parent node information of the source node in the data packet is added to the data packet, the data packet including the parent node information is transferred, and the source packet is transferred to the data packet transfer table. Information items corresponding to the node and its parent node may be created. Preferably, the transmission mark corresponding to the information item may be set to a predetermined value, and the forgetting time corresponding to the information item may be initialized. On the other hand, when the LD of the data packet is not this node, it is only necessary to add a new information item to the data packet. Preferably, the transmission mark corresponding to the information item may be set to a predetermined value. Preferably, the forgetting time corresponding to the information item may be initialized at the same time.

この例では、本ノードは、図3に示す方法によって該データパケットに、データパケットにおけるソースノードの親ノード情報を追加してもよい。上記と同じであるため、その説明を省略される。   In this example, this node may add the parent node information of the source node in the data packet to the data packet by the method shown in FIG. Since it is the same as the above, its description is omitted.

本実施例の方法をより分かるように、以下の例で該方法を説明する。   In order to better understand the method of this embodiment, the method is described in the following example.

例えば、ソースノードAがノードBを介してノードCへデータパケットを送信する例では、ノードCにより受信されたデータパケットには、GSはノードAであり、LSはノードBであり、LDはノードCである。ノードCは、ローカル側のデータパケット転送テーブルを照会して、ノードA及びその親ノードEの情報項目を含むが、ノードA及びその親ノードBの情報項目を含まない、即ちソースノードAからのデータパケットを転送、或いは監視したことがあるが、該データパケットはノードBではなく、ノードEを介して転送されたから、記憶された情報項目はノードA及びその親ノードEであり、今回受信されたデータパケットのソースノードA及びその親ノードBに対応する情報項目が記憶されていないことを発見した。本実施例の方法に従って、ノードCは、データパケットからLS、即ちノードBのアドレスを抽出し、該データパケットのデータペイロードに追加し、該データパケットの類型を親ノード情報を含むデータパケットに変更し、該データパケットを転送する。また、データパケット転送テーブルにノードA及びその親ノードBの情報項目を追加し、該情報項目に対応する転送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。   For example, in the example in which the source node A transmits a data packet to the node C via the node B, in the data packet received by the node C, GS is the node A, LS is the node B, and LD is the node C. Node C queries the local data packet forwarding table and includes information items for node A and its parent node E, but does not include information items for node A and its parent node B, ie from source node A. Although the data packet has been transferred or monitored, since the data packet was transferred via the node E, not the node B, the stored information item is the node A and its parent node E, and is received this time. It was discovered that the information items corresponding to the source node A and the parent node B of the data packet are not stored. According to the method of this embodiment, the node C extracts the LS, that is, the address of the node B from the data packet, adds it to the data payload of the data packet, and changes the type of the data packet to the data packet including the parent node information. Then, the data packet is transferred. Further, the information item of node A and its parent node B may be added to the data packet transfer table, the transfer mark corresponding to the information item is set to a predetermined value, and the forgetting time corresponding to the information item may be initialized. .

本実施例のもう1つの態様として、同じ例では、ノードDが該データパケット(GSはノードA、LSはノードB、LDはノードC)を監視した場合、ノードDのデータパケット転送テーブルにノードA及びその親ノードEの情報項目が記憶され、該データパケットのノードA及びその親ノードBの情報項目が記憶されていないとき、ノードDが該データパケットの受信ノードではないため、ノードDは、データパケット転送テーブルに該データパケットに対応するノードA及びその親ノードBの情報項目を作成するだけでよい。また、該情報項目に対応する転送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。   As another aspect of the present embodiment, in the same example, when the node D monitors the data packet (GS is the node A, LS is the node B, and LD is the node C), the data packet forwarding table of the node D has the node When the information items of A and its parent node E are stored and the information items of node A and its parent node B of the data packet are not stored, node D is not the receiving node of the data packet, so node D It is only necessary to create information items of the node A and its parent node B corresponding to the data packet in the data packet forwarding table. Alternatively, the transfer mark corresponding to the information item may be set to a predetermined value, and the forgetting time corresponding to the information item may be initialized.

ステップ101、102、104、105の処理によれば、該ノードは親ノード情報を含むデータパケットを転送することで、ゲートウェイノードは該ソースノード及びその親ノードを取得し、自分のダウンリンクルーティングテーブルに記憶することができる。ゲートウェイノードは、この方法によりマルチホップネットワークにおける全てのソースノード及びその親ノードの情報を取得することで、任意のノードのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。なお、ネットワーク側の処理について、以下の実施例に説明する。   According to the processing of steps 101, 102, 104, and 105, the node transfers the data packet including the parent node information, so that the gateway node acquires the source node and its parent node, and its own downlink routing table. Can be memorized. The gateway node can determine the downlink routing of an arbitrary node by obtaining information of all the source nodes and their parent nodes in the multi-hop network by this method. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly. The processing on the network side will be described in the following example.

本実施例の1つの例では、ステップ104において、ソースノード及びその親ノードに対応する情報項目が記憶されていると判断された場合、該方法は以下のステップをさらに含んでもよい。   In one example of this embodiment, when it is determined in step 104 that information items corresponding to the source node and its parent node are stored, the method may further include the following steps.

ステップ106:予め設定された更新周期において該情報項目に対応する伝送マークが所定値であるか否かを判断する。   Step 106: It is determined whether or not the transmission mark corresponding to the information item has a predetermined value in a preset update cycle.

ステップ107:該予め設定された更新周期において該情報項目に対応する伝送マークが所定値ではないと判断され、且つ該データパケットの受信ノードが該ノードである場合、該データパケットに該データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する。   Step 107: When it is determined that the transmission mark corresponding to the information item is not a predetermined value in the preset update cycle and the receiving node of the data packet is the node, the data packet includes The parent node information of the source node is added, and the data packet including the parent node information is transferred.

ここで、該予め設定された更新周期において該情報項目に対応する伝送マークが所定値ではない場合、該情報項目に対応する伝送マークを該所定値に変更し、好ましくは、該情報項目に対応する予め設定された忘れ時間を初期値に再設定してもよい。   Here, if the transmission mark corresponding to the information item is not a predetermined value in the preset update cycle, the transmission mark corresponding to the information item is changed to the predetermined value, and preferably corresponds to the information item. The forgotten time set in advance may be reset to the initial value.

また、該予め設定された更新周期において該情報項目に対応する伝送マークが所定値である場合、該ノードは処理を終了させてもよい。   In addition, when the transmission mark corresponding to the information item is a predetermined value in the preset update cycle, the node may end the process.

この実施例では、本ノードが該ソースノードからのデータパケットを転送、或いは監視したことがあり、且つソースノード及びその親ノードに対応する情報項目を記憶している場合、該情報項目に対応する伝送マークが依然として所定値(例えば1)であるとき、該情報項目が更新周期を経過していないことを示し、処理をしない、或いは該情報項目に対応する忘れ時間を初期値に再設定してもよい。一方、該情報項目に対応する伝送マークが非所定値(例えば0)である場合、該情報項目が更新周期を既に経過したことを示し、該データパケットのLDが本ノードであるとき、データパケットに親ノード情報を追加し、親ノード情報を含むデータパケットを転送するとともに、該情報項目は改めて処理されることと類似するため、該情報項目に対応する伝送マークを所定値に改めて変更し、好ましくは、該情報項目に対応する忘れ時間を初期値に再設定してもよい。一方、データのLDが本ノードではない、即ち本ノードが単なる該データパケットを監視したとき、本ノードは、データパケット転送テーブルにおける該情報項目の伝送マークを上記の所定値に変更するだけでよく、好ましくは、該情報項目に対応する忘れ時間を初期値に再設定してもよい。   In this embodiment, if this node has transferred or monitored a data packet from the source node and stores information items corresponding to the source node and its parent node, it corresponds to the information item. When the transmission mark is still a predetermined value (for example, 1), it indicates that the information item has not passed the update cycle, and no processing is performed, or the forgetting time corresponding to the information item is reset to the initial value. Also good. On the other hand, when the transmission mark corresponding to the information item is a non-predetermined value (for example, 0), it indicates that the information item has already passed the update cycle, and when the LD of the data packet is the present node, the data packet The parent node information is added, the data packet including the parent node information is transferred, and the information item is processed again, so that the transmission mark corresponding to the information item is changed to a predetermined value again, Preferably, the forgetting time corresponding to the information item may be reset to an initial value. On the other hand, when the LD of the data is not this node, that is, when this node simply monitors the data packet, this node only needs to change the transmission mark of the information item in the data packet forwarding table to the predetermined value. Preferably, the forgetting time corresponding to the information item may be reset to an initial value.

この例では、本ノードは、図3に示す方法によって該データパケットに、データパケットにおけるソースノードの親ノード情報を追加してもよい。上記と同じであるため、その説明を省略される。   In this example, this node may add the parent node information of the source node in the data packet to the data packet by the method shown in FIG. Since it is the same as the above, its description is omitted.

本実施例の方法をより分かるように、以下の例で該方法を説明する。   In order to better understand the method of this embodiment, the method is described in the following example.

例えば、ソースノードAがノードBを介してノードCへデータパケットを送信する例では、ノードCにより受信されたデータパケットには、GSはノードAであり、LSはノードBであり、LDはノードCである。ノードCは、ローカル側のデータパケット転送テーブルを照会して、ノードA及びその親ノードBの情報項目を発見した、即ちソースノードAのデータパケットを転送、或いは監視したことがあり、且つ該データパケットのソースノードA及びその親ノードBに対応する情報項目を記憶している。この場合、本実施例の方法に従って、ノードCは、更新周期において該情報項目に対応する伝送マークが所定値であるか否かを照会し、初期値であるとき、該データパケットを転送したばかりであることを示し、ノードCは如何なる処理をしない。一方、初期値ではないとき、該情報項目が更新周期を経過したことを示し、ノードCが該データパケットの受信ノードであるため、ノードCは、データパケットからLS、即ちノードBのアドレスを抽出し、該データパケットのデータペイロードに追加し、該データパケットの類型を親ノード情報を含むデータパケットに変更し、該データパケットを転送する。また、データパケット転送テーブルにノードA及びその親ノードBの情報項目を追加し、該情報項目に対応する転送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。   For example, in the example in which the source node A transmits a data packet to the node C via the node B, in the data packet received by the node C, GS is the node A, LS is the node B, and LD is the node C. Node C queries the local data packet forwarding table, has found information items for node A and its parent node B, ie has forwarded or monitored the data packet of source node A, and the data Information items corresponding to the source node A and the parent node B of the packet are stored. In this case, according to the method of the present embodiment, the node C inquires whether or not the transmission mark corresponding to the information item is a predetermined value in the update period, and when it is the initial value, it has just transferred the data packet. Node C does not perform any processing. On the other hand, when it is not the initial value, it indicates that the information item has passed the update cycle, and since node C is the receiving node of the data packet, node C extracts the LS, that is, the address of node B from the data packet Are added to the data payload of the data packet, the type of the data packet is changed to a data packet including parent node information, and the data packet is transferred. Further, the information item of node A and its parent node B may be added to the data packet transfer table, the transfer mark corresponding to the information item is set to a predetermined value, and the forgetting time corresponding to the information item may be initialized. .

本実施例のもう1つの態様として、同じ例では、ノードDが該データパケット(GSはノードA、LSはノードB、LDはノードC)を監視した場合、ノードDのデータパケット転送テーブルにノードA及びその親ノードBの情報項目が記憶されているとき、ノードDが該データパケットの受信ノードではないため、ノードDは、データパケット転送テーブルに該データパケットに対応するノードA及びその親ノードBの情報項目を作成するだけでよい。また、該情報項目に対応する転送マークを所定値に設定し、該情報項目に対応する忘れ時間を初期化してもよい。   As another aspect of the present embodiment, in the same example, when the node D monitors the data packet (GS is the node A, LS is the node B, and LD is the node C), the data packet forwarding table of the node D has the node When the information item of A and its parent node B is stored, since node D is not the receiving node of the data packet, node D will correspond to node A and its parent node corresponding to the data packet in the data packet forwarding table It is only necessary to create the information item B. Alternatively, the transfer mark corresponding to the information item may be set to a predetermined value, and the forgetting time corresponding to the information item may be initialized.

ステップ101、102、104、106、107の処理によれば、該ノードは親ノード情報を含むデータパケットを転送することで、ゲートウェイノードは該ソースノード及びその親ノードを取得し、自分のダウンリンクルーティングテーブルに記憶することができる。ゲートウェイノードは、この方法によりマルチホップネットワークにおける全てのソースノード及びその親ノードの情報を取得することで、任意のノードのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。なお、ネットワーク側の処理について、以下の実施例に説明する。   According to the processing of steps 101, 102, 104, 106, and 107, the node forwards the data packet including the parent node information, so that the gateway node acquires the source node and its parent node, and its own downlink It can be stored in a routing table. The gateway node can determine the downlink routing of an arbitrary node by obtaining information of all the source nodes and their parent nodes in the multi-hop network by this method. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly. The processing on the network side will be described in the following example.

本実施例では、上記の本ノードが原始のデータパケットを生じなく、他のノードのデータパケットのみを転送する転送(Relay)ノードである場合、該ノードは、他のノードのデータパケットを初めて転送した後で、ゲートウェイにデータペイロードが空のメッセージを更新周期で自発的に送信してもよい。これによって、このメッセージを受信したデータ転送機能を有するノードは、ソースノードから送信されたデータパケットの構造と同じように処理し、ゲートウェイノードは該ノードの親ノード情報を取得できる。   In this embodiment, when the above-mentioned node is a transfer node that does not generate the original data packet and transfers only the data packet of the other node, the node transfers the data packet of the other node for the first time. After that, a message with an empty data payload may be voluntarily transmitted to the gateway at an update cycle. As a result, the node having the data transfer function that has received this message processes it in the same manner as the structure of the data packet transmitted from the source node, and the gateway node can acquire the parent node information of the node.

本実施例では、本ノードは、他のノードからの親ノード情報を含むデータパケットを転送した後で、伝送の信頼性を確保するため、該親ノード情報を含むデータパケットを一時記憶し、該親ノード情報を含むデータパケットの次ホップノードへの伝達が成功した(送信及び受信が成功した)場合、本ノードは、該親ノード情報を含むデータパケットを削除し、親ノード情報を含むデータパケットの次ホップノードへの伝達が失敗した(送信が失敗した)場合、本ノードは、該データパケットを送信序列に再追加して、再送してもよい。なお、追加位置は、実際の状況に応じて選択してもよく、例えば送信序列の最後に追加してもよい。   In this embodiment, after transferring a data packet including parent node information from another node, this node temporarily stores the data packet including the parent node information in order to ensure transmission reliability. When the transmission of the data packet including the parent node information to the next hop node is successful (transmission and reception is successful), the node deletes the data packet including the parent node information and the data packet including the parent node information. If transmission to the next hop node fails (transmission fails), the node may re-add the data packet to the transmission order and retransmit the data packet. The additional position may be selected according to the actual situation, and may be added at the end of the transmission order, for example.

本実施例では、システムの負荷をさらに低減するため、該ノードが該マルチホップネットワークにおける1ホップノードである場合、該ノードがゲートウェイにデータパケットを転送する際に、本実施例1の操作(データパケットに親ノード情報を追加し、データパケット転送テーブルに項目を追加することなど)を実行しないで、従来の方法に従って直接該データパケットを転送してもよい。この際に、ゲートウェイは、自分の隣接ノードテーブルから全ての1ホップノードを照会して、1ホップノードの親ノード情報、即ちゲートウェイ自身を取得できる。   In this embodiment, in order to further reduce the load on the system, when the node is a one-hop node in the multi-hop network, the operation (data) of the first embodiment is performed when the node transfers a data packet to the gateway. The data packet may be directly transferred according to the conventional method without executing parent node information to the packet and adding an item to the data packet transfer table. At this time, the gateway can query all the 1-hop nodes from its own adjacent node table, and acquire the parent node information of the 1-hop node, that is, the gateway itself.

本実施例では、システムの負荷をさらに低減するため、ハンドシェイク(Hello)方式又は確認(ACK)方式を有する場合、該ノードが該マルチホップネットワークにおける1ホップノードであるとき、データパケットを転送する際に、データパケットにおけるLS情報を削除してもよい。即ち、1ホップノードがゲートウェイにデータパケットを転送する際に、従来方法を基に、該データパケットのLS情報を削除し、ゲートウェイは該1ホップノードと2ホップノードとの間のhelloパケット又はACKパケットを監視することで、2ホップノードに対応する親ノード(1ホップノード)情報を取得できる。詳細について、実施例3に詳しく説明される。   In this embodiment, in order to further reduce the load on the system, when a handshake (Hello) method or an acknowledgment (ACK) method is used, when the node is a one-hop node in the multihop network, the data packet is transferred. At this time, the LS information in the data packet may be deleted. That is, when the 1-hop node transfers the data packet to the gateway, the LS information of the data packet is deleted based on the conventional method, and the gateway transmits the hello packet or ACK between the 1-hop node and the 2-hop node. By monitoring the packet, it is possible to acquire parent node (1-hop node) information corresponding to the 2-hop node. Details are described in detail in Example 3.

本実施例の方法によれば、マルチホップネットワークにおける転送機能を有するノードは、親ノード情報を含むデータパケットを次ホップノードに転送することで、ゲートウェイは各ノード及びその親ノードの情報を取得でき、該情報に基づいてダウンリンクルーティングテーブルを確立することで、任意のノードまでのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。   According to the method of this embodiment, a node having a transfer function in a multi-hop network transfers a data packet including parent node information to the next hop node, so that the gateway can acquire information on each node and its parent node. By establishing a downlink routing table based on the information, it is possible to determine downlink routing to an arbitrary node. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly.

本発明の実施例は、マルチホップネットワークにおけるノードをさらに提供し、下記の実施例2に説明するように、該ノードの問題解決の原理と実施例1の方法と類似するため、具体的な実施について実施例1の方法の実施を参照でき、重複する部分の説明はここに省略される。   The embodiment of the present invention further provides a node in a multi-hop network and, as described in the second embodiment below, is similar to the problem solving principle of the node and the method of the first embodiment. Reference can be made to the implementation of the method of Example 1, and the description of overlapping parts is omitted here.

<実施例2>
本発明の実施例はマルチホップネットワークにおけるノードをさらに提供する。図5は、該ノードの構成を示す図である。図5に示すように、該ノードは、復号化部51、第1の決定部52、及び送信部53を含む。
<Example 2>
Embodiments of the present invention further provide nodes in a multi-hop network. FIG. 5 is a diagram showing the configuration of the node. As illustrated in FIG. 5, the node includes a decoding unit 51, a first determination unit 52, and a transmission unit 53.

復号化部51は、転送或いは監視されたデータパケットを復号化し、該データパケットのソースノード、宛先ノード、送信ノード、受信ノード、類型、及びデータペイロードを取得する。   The decoding unit 51 decodes the transferred or monitored data packet, and acquires the source node, destination node, transmission node, reception node, type, and data payload of the data packet.

第1の決定部52は、該データパケットのソースノードのホップ数(ソースノードから宛先ノードまでのホップ数)が該ノードのホップ数(該ノードから宛先ノードまでのホップ数)よりも大きく、且つ両者の差が2である場合、該ノードのデータパケット転送テーブルに基づいて、該ソースノードのデータパケットを転送或いは監視したか否かを決定する。   The first determination unit 52 has a hop count of the source node (the hop count from the source node to the destination node) of the data packet larger than a hop count of the node (the hop count from the node to the destination node), and If the difference between the two is 2, whether or not the data packet of the source node has been transferred or monitored is determined based on the data packet transfer table of the node.

送信部53は、該ソースノードのデータパケットを転送或いは監視したことがないと第1の決定部52により決定された場合、該データパケットの受信ノードが該ノードであるとき、該データパケットに該データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する。   When the first determination unit 52 determines that the data packet of the source node has not been transferred or monitored, the transmission unit 53 transmits the data packet to the data packet when the reception node of the data packet is the node. The parent node information of the source node of the data packet is added, and the data packet including the parent node information is transferred.

1つの例では、該ノードは、第1の更新部54をさらに含んでもよい。   In one example, the node may further include a first update unit 54.

第1の更新部54は、ソースノードのデータパケットを転送或いは監視したことがないと第1の決定部52により決定された場合、該データパケット転送テーブルに、該ソースノード及びその親ノードに対応する情報項目を記憶し、該情報項目に対応する伝送マークを所定値に設定する。   When the first determination unit 52 determines that the data packet of the source node has not been transferred or monitored, the first update unit 54 corresponds to the source node and its parent node in the data packet transfer table. The information item to be stored is stored, and the transmission mark corresponding to the information item is set to a predetermined value.

1つの例では、該ノードは、第2の決定部55をさらに含んでもよい。   In one example, the node may further include a second determination unit 55.

第2の決定部55は、ソースノードのデータパケットを転送或いは監視したことがあると第1の決定部52により決定された場合、該ノードのデータパケット転送テーブルに基づいて、該ソースノード及びその親ノードに対応する情報項目を記憶したか否かを決定する。   When the first determination unit 52 determines that the data packet of the source node has been transferred or monitored, the second determination unit 55 determines the source node and its source based on the data packet transfer table of the node. It is determined whether or not the information item corresponding to the parent node is stored.

送信部53は、該ソースノード及びその親ノードに対応する情報項目を記憶したことがないと該第2の決定部55により決定された場合、該データパケットの受信ノードが該ノードであるとき、該データパケットに該データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する。   When the second determination unit 55 determines that the information item corresponding to the source node and its parent node has not been stored, the transmission unit 53, when the reception node of the data packet is the node, The parent node information of the source node of the data packet is added to the data packet, and the data packet including the parent node information is transferred.

この例では、該ノードは、第2の更新部56をさらに含んでもよい。   In this example, the node may further include a second update unit 56.

第2の更新部56は、該ソースノード及びその親ノードに対応する情報項目を記憶したことがないと第2の決定部55により決定された場合、該データパケット転送テーブルに、該ソースノード及びその親ノードに対応する情報項目を記憶し、該情報項目に対応する伝送マークを所定値に設定する。   If the second determining unit 55 determines that the information item corresponding to the source node and its parent node has not been stored, the second updating unit 56 stores the source node and the source node in the data packet forwarding table. The information item corresponding to the parent node is stored, and the transmission mark corresponding to the information item is set to a predetermined value.

1つの例では、該ノードは、第3の決定部57をさらに含んでもよい。   In one example, the node may further include a third determination unit 57.

第3の決定部57は、該ソースノード及びその親ノードに対応する情報項目を記憶したことがあると第2の決定部55により決定された場合、予め設定された更新周期において該情報項目に対応する伝送マークが所定値であるか否かを判断する。   When the second determination unit 55 determines that the information item corresponding to the source node and its parent node has been stored, the third determination unit 57 stores the information item in the preset update cycle. It is determined whether or not the corresponding transmission mark is a predetermined value.

送信部53は、第3の決定部57の判断結果が否定の場合、該データパケットの受信ノードが該ノードであるとき、該データパケットに該データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する。   When the determination result of the third determination unit 57 is negative, the transmission unit 53 adds the parent node information of the source node of the data packet to the data packet when the reception node of the data packet is the node, Transfer data packets containing parent node information.

この例では、該ノードは、第3の更新部58をさらに含んでもよい。   In this example, the node may further include a third update unit 58.

第3の更新部58は、第3の決定部57の判断結果が否定の場合、該情報項目に対応する伝送マークを該所定値に変更する。   When the determination result of the third determination unit 57 is negative, the third update unit 58 changes the transmission mark corresponding to the information item to the predetermined value.

上記の例では、送信部53は、以下のモジュールを含んでもよい。   In the above example, the transmission unit 53 may include the following modules.

抽出モジュール531は、該データパケットから送信ノードを抽出する。   The extraction module 531 extracts a transmission node from the data packet.

追加モジュール532は、該データパケットのデータペイロードに該データパケットの送信ノードを追加する。   The addition module 532 adds the transmission node of the data packet to the data payload of the data packet.

変更モジュール533は、該データパケットの類型を、ソースノードの親ノード情報を含むデータパケットに変更する。   The change module 533 changes the type of the data packet to a data packet including parent node information of the source node.

送信モジュール534は、親ノード情報を含むデータパケットを送信する。   The transmission module 534 transmits a data packet including parent node information.

上記の例では、第1の更新部54は、情報項目に対応する伝送マークを所定値に設定した後、該情報項目に対応する予め設定された忘れ時間を初期化してもよい。   In the above example, the first updating unit 54 may initialize a preset forgetting time corresponding to the information item after setting the transmission mark corresponding to the information item to a predetermined value.

上記の例では、第2の更新部56は、情報項目に対応する伝送マークを所定値に設定した後、該情報項目に対応する予め設定された忘れ時間を初期化してもよい。   In the above example, the second updating unit 56 may initialize a preset forgetting time corresponding to the information item after setting the transmission mark corresponding to the information item to a predetermined value.

上記の例では、第3の更新部58は、情報項目に対応する伝送マークを上記の所定値に変更した後、該情報項目に対応する予め設定された忘れ時間を初期値に再設定してもよい。   In the above example, the third updating unit 58 changes the transmission mark corresponding to the information item to the predetermined value, and then resets the preset forgetting time corresponding to the information item to the initial value. Also good.

本実施例では、送信部53は、該ノードが転送(Relay)ノードの場合、他のノードのデータパケットを初めて転送した後で、ゲートウェイにデータペイロードが空のメッセージを所定の更新周期で送信してもよい。   In this embodiment, when the node is a transfer node, the transmission unit 53 transmits a data packet with an empty data payload to the gateway at a predetermined update cycle after first transferring the data packet of another node. May be.

1つの例では、該ノードは、一時記憶部59をさらに含んでもよい。   In one example, the node may further include a temporary storage unit 59.

一時記憶部59は、送信部53が親ノード情報を含むデータパケットを転送した後で、該親ノード情報を含むデータパケットを一時記憶する。   The temporary storage unit 59 temporarily stores the data packet including the parent node information after the transmission unit 53 transfers the data packet including the parent node information.

送信部53は、該親ノード情報を含むデータパケットの送信及び受信が成功した場合、一時記憶部59に記憶された該親ノード情報を含むデータパケットを削除し、失敗した場合、一時記憶部59に記憶された親ノード情報を含むデータパケットを再送する、例えば親ノード情報を含むデータパケットを送信序列に追加して送信する。   The transmission unit 53 deletes the data packet including the parent node information stored in the temporary storage unit 59 when the transmission and reception of the data packet including the parent node information is successful, and when the transmission is failed, the temporary storage unit 59 The data packet including the parent node information stored in is retransmitted. For example, the data packet including the parent node information is added to the transmission order and transmitted.

本実施例のノードの各構成部分の機能と実施例1の方法の各ステップと同じであるため、その内容の説明はここに省略される。   Since the function of each component of the node according to the present embodiment is the same as each step of the method according to the first embodiment, description of the contents thereof is omitted here.

本実施例のノードは親ノード情報を含むデータパケットを次ホップノードに転送することで、ゲートウェイは各ノード及びその親ノードの情報を取得でき、該情報に基づいてダウンリンクルーティングテーブルを確立することで、任意のノードまでのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。   The node of this embodiment transfers a data packet including parent node information to the next hop node, so that the gateway can acquire information on each node and its parent node, and establish a downlink routing table based on the information. Thus, the downlink routing to an arbitrary node can be determined. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly.

<実施例3>
本発明の実施例は、マルチホップネットワークにおけるゲートウェイに適用するダウンリンクルーティングの取得、保守方法をさらに提供する。図6は、該方法のフローチャートである。図6に示すように、該方法は、以下のステップを含む。
<Example 3>
The embodiment of the present invention further provides a method for acquiring and maintaining a downlink routing applied to a gateway in a multi-hop network. FIG. 6 is a flowchart of the method. As shown in FIG. 6, the method includes the following steps.

ステップ601:該ゲートウェイは、受信された親ノード情報を含むデータパケットに基づいて、予め記憶されたダウンリンクルーティングテーブルを更新する。   Step 601: The gateway updates a previously stored downlink routing table based on the received data packet including the parent node information.

ここで、該ダウンリンクルーティングテーブルは、複数の情報項目を含み、各情報項目は、ノードのアドレス、親ノードのアドレス、及び更新時間を含み、或いは各情報項目はノードのアドレス、親ノードのアドレス、更新時間、及び失効時間を含む。   Here, the downlink routing table includes a plurality of information items, and each information item includes a node address, a parent node address, and an update time, or each information item includes a node address and a parent node address. , Renewal time, and expiration time.

ステップ601の1つの例では、ゲートウェイノードは、図7に示す方法に従って、ダウンリンクルーティングテーブルを更新してもよい。図7に示すように、該方法は以下のステップを含む。   In one example of step 601, the gateway node may update the downlink routing table according to the method shown in FIG. As shown in FIG. 7, the method includes the following steps.

ステップ701:ダウンリンクルーティングテーブルに基づいて、該データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されているか否かを判断する。   Step 701: Based on the downlink routing table, it is determined whether information items corresponding to the address of the source node of the data packet and the address of its parent node are stored.

ステップ702:該データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されていない場合、該ゲートウェイノードは、該ダウンリンクルーティングテーブルの1つの情報項目に該データパケットのソースノードのアドレス及びその親ノードのアドレスを書き込み、該情報項目に対応する更新時間を更新し、或いは該情報項目に対応する更新時間及び失効時間を更新する。   Step 702: If the information item corresponding to the address of the source node of the data packet and the address of its parent node is not stored, the gateway node sets the source of the data packet in one information item of the downlink routing table. The address of the node and the address of its parent node are written, the update time corresponding to the information item is updated, or the update time and the expiration time corresponding to the information item are updated.

ステップ703:該データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されている場合、該ゲートウェイノードは、該ダウンリンクルーティングテーブルにおける該情報項目に対応する更新時間を更新し、或いは該ダウンリンクルーティングテーブルにおける該情報項目に対応する更新時間を更新し、且つ該情報項目に対応する失効時間を再設定する。   Step 703: If the information item corresponding to the address of the source node of the data packet and the address of its parent node is stored, the gateway node updates the update time corresponding to the information item in the downlink routing table Alternatively, the update time corresponding to the information item in the downlink routing table is updated, and the expiration time corresponding to the information item is reset.

本実施例では、ゲートウェイは、類型(Type)が親ノード情報を含むデータパケットを受信した場合、該データパケットに含まれるノードID(GS)及び親ノードID(Parent)をダウンリンクルーティングテーブルに記憶し、該ダウンリンクルーティングテーブルの構成は図8に示されている。ここで、ノードIDは原始データを生じるソースノードIDである可能性があり、原始のデータパケットを生じなく、他のノードのデータパケットのみを転送する転送(Relay)ノードである可能性もあり、実施例1に説明したように、転送ノードは、ゲートウェイにデータペイロードが空のメッセージを送信し、該メッセージ内のGSは該転送ノードのIDである。   In this embodiment, when the gateway receives a data packet whose type includes parent node information, the gateway stores the node ID (GS) and parent node ID (Parent) included in the data packet in the downlink routing table. The structure of the downlink routing table is shown in FIG. Here, the node ID may be a source node ID that generates source data, may not be a source data packet, and may be a transfer (Relay) node that transfers only data packets of other nodes, As described in the first embodiment, the forwarding node transmits a message with an empty data payload to the gateway, and GS in the message is the ID of the forwarding node.

図8に示すように、該ダウンリンクルーティングテーブルには、第1列の記憶内容はノードIDであり、第2列の記憶内容は対応する親ノードIDであり、第3列に項目の更新時間であり、第4列は選択的なものであり、情報項目の失効時間であってもよい。   As shown in FIG. 8, in the downlink routing table, the storage content of the first column is the node ID, the storage content of the second column is the corresponding parent node ID, and the update time of the item in the third column The fourth column is optional and may be the expiration time of the information item.

ゲートウェイは項目を含むデータパケットを受信した場合、ゲートウェイに同じ項目が既に記憶されているとき、ゲートウェイは該項目の更新時間を更新し、該項目の失効時間をさらに再設定してもよい。項目の失効時間に達していない場合、ゲートウェイは、ノードの親ノードの数、メモリの使用状況などの因子に基づいて、この項目を削除するか記憶し続けるかを選択する。   When the gateway receives a data packet containing an item, when the same item is already stored in the gateway, the gateway may update the update time of the item and further reset the expiration time of the item. If the expiry time of the item has not been reached, the gateway chooses to delete or continue to store this item based on factors such as the number of parent nodes of the node, memory usage, etc.

本実施例の方法によれば、ゲートウェイは、あるノードのダウンリンクルーティングを照会する際に、該ノードからゲートウェイまでの順序とは反対の順序に従って完成のルート、即ちノードのアップリンクルートを逆にしたダウンリンクルートを照会する。ここで、ダウンリンクルーティングテーブルに1つ以上の親ノードが記憶されている場合、そのうち1つをダウンリンクルーティングの親ノードとして選択する、例えば、最後の親ノードとしてデータパケットを転送するノード、即ち更新時間が現在の時間に最も近接するノードを選択する。   According to the method of this embodiment, when a gateway queries the downlink routing of a node, the gateway reverses the completed route, that is, the node's uplink route, according to the reverse order from the node to the gateway. Inquired downlink routes. Here, when one or more parent nodes are stored in the downlink routing table, one of them is selected as the parent node of the downlink routing, for example, the node that forwards the data packet as the last parent node, that is, Select the node whose update time is closest to the current time.

本実施例の1つの例では、システムの負荷をさらに低減するため、ゲートウェイまでの1ホップノードは、ゲートウェイに親ノード情報を集約しない、即ち実施例1の方法に従ってゲートウェイにデータパケットを転送しないで、従来の方法に従って直接該データパケットを転送する、即ちデータパケットに親ノード情報を追加しなくてもよい。この際に、ゲートウェイは、自分の隣接ノードテーブルを照会して、全て1ホップノードを照会して、その親ノード情報を取得してもよい。即ち、この例では、ゲートウェイノードは、自分の隣接ノードテーブルを照会して、マルチホップネットワークにおける1ホップノードの親ノード情報を決定し、該ダウンリンクルーティングテーブルの1つの情報項目に該1ホップノードのアドレス及びその親ノードのアドレス(即ちゲートウェイ自身)を書き込み、該情報項目に対応する更新時間を更新し、或いは該情報項目に対応する更新時間及び失効時間を更新する。   In one example of this embodiment, in order to further reduce the load on the system, the 1-hop node to the gateway does not aggregate the parent node information to the gateway, that is, does not forward the data packet to the gateway according to the method of the first embodiment. The data packet may be directly transferred according to the conventional method, that is, the parent node information may not be added to the data packet. At this time, the gateway may query its own adjacent node table, query all 1-hop nodes, and acquire the parent node information. That is, in this example, the gateway node queries its neighbor node table to determine the parent node information of the 1 hop node in the multi-hop network, and the 1 hop node is included in one information item of the downlink routing table. And the address of the parent node (that is, the gateway itself) are updated, the update time corresponding to the information item is updated, or the update time and the expiration time corresponding to the information item are updated.

本実施例の他の例では、システムの負荷をさらに低減するため、ゲートウェイまでの2ホップノードは、ハンドシェイク(Hello)方式又は確認(ACK)方式を有する場合、1ホップノードがデータパケットを転送する際に、該データパケットのLS情報を削除してもよい。ゲートウェイは該1ホップノードと2ホップノードとの間のhelloパケット又はACKパケットを監視することで、2ホップノードの親ノード情報を取得する。この際に、ゲートウェイは、該ダウンリンクルーティングテーブルの1つの情報項目に該2ホップノードのアドレス及びその親ノードのアドレスを書き込み、該情報項目に対応する更新時間を更新し、或いは該情報項目に対応する更新時間及び失効時間を更新する。ここで、該HELLOパケット又は該ACKパケットに送信ノード(1ホップ情報)の情報及び受信ノード(2ホップ情報)の情報が含まれ、該送信ノードの情報は該2ホップノードの親ノード情報である。   In another example of this embodiment, in order to further reduce the load on the system, if the 2-hop node to the gateway has a handshake (Hello) method or an acknowledgment (ACK) method, the 1-hop node transfers the data packet. In doing so, the LS information of the data packet may be deleted. The gateway acquires the parent node information of the 2-hop node by monitoring the hello packet or the ACK packet between the 1-hop node and the 2-hop node. At this time, the gateway writes the address of the 2-hop node and the address of its parent node in one information item of the downlink routing table, updates the update time corresponding to the information item, or adds the information item to the information item. Update the corresponding update time and expiration time. Here, the HELLO packet or the ACK packet includes information on the transmission node (1 hop information) and information on the reception node (2 hop information), and the information on the transmission node is parent node information of the 2 hop node. .

この例では、ハンドシェイク方式を有する場合、ノード間ハンドシェイクのHelloパケットは送信ノードの子ノード情報を有するとき、1ホップノードが2ホップノードにHelloパケットを送信する際に、ゲートウェイは、これらのHelloパケットを監視でき、2ホップノード(子ノード)に対応する1ホップノード(親ノード)の情報を取得し、図8に示すダウンリンクルーティングテーブルに記憶する。   In this example, when the handshake method is used, the inter-node handshake Hello packet has child node information of the transmitting node, and when the 1-hop node transmits the Hello packet to the 2-hop node, the gateway The Hello packet can be monitored, and information on the 1-hop node (parent node) corresponding to the 2-hop node (child node) is acquired and stored in the downlink routing table shown in FIG.

この例では、ACK方式を有する場合、ゲートウェイまでの2ホップノードは、ゲートウェイに親ノード情報を送信しない。ゲートウェイまでの2ホップノードは、ゲートウェイまでの1ホップノードを介してデータパケットを転送する必要がある。ゲートウェイまでの1ホップノードによるデータパケットの受信が成功した場合、ゲートウェイまでの2ホップノードにACKメッセージを回答する。ゲートウェイはこれらのACKメッセージを監視することで、2ホップノード(子ノード)及び1ホップノード(親ノード)のルーティング情報を取得し、ダウンリンクルーティングテーブルの対応する位置に親ノードを追加できる。   In this example, when the ACK method is used, the 2-hop node to the gateway does not transmit parent node information to the gateway. The 2-hop node to the gateway needs to transfer the data packet through the 1-hop node to the gateway. When the data packet is successfully received by the 1-hop node to the gateway, an ACK message is returned to the 2-hop node to the gateway. By monitoring these ACK messages, the gateway acquires the routing information of the 2-hop node (child node) and the 1-hop node (parent node), and can add the parent node to the corresponding position in the downlink routing table.

以上の2つの例では、異なるプロトコルではACKメッセージの構成が異なるが、いずれも簡単である。本発明の実施例に係る方法を実現するため、ACKメッセージには1ホップノード(ACKメッセージ送信側)のID、及び2ホップノード(ACKメッセージ受信側)のIDが含まれてもよい。IEEE802.11プロトコルを例として、変更されたACKメッセージのフレーム構成は図9に示されている。ここで、受信ノードIDは確認することが必要なデータフレームからコピーできる、即ちデータフレームにおけるソースノードIDであり、送信ノードIDはノード自身のIDである。   In the above two examples, different protocols have different ACK message configurations, but both are simple. In order to implement the method according to the embodiment of the present invention, the ACK message may include an ID of a 1-hop node (ACK message transmission side) and an ID of a 2-hop node (ACK message reception side). Taking the IEEE 802.11 protocol as an example, the frame structure of the modified ACK message is shown in FIG. Here, the receiving node ID can be copied from the data frame that needs to be confirmed, that is, the source node ID in the data frame, and the transmitting node ID is the ID of the node itself.

本実施例の方法をより明確化にするため、以下の図面及び具体的な例を参照しながら本実施例の方法を説明する。   In order to clarify the method of this embodiment, the method of this embodiment will be described with reference to the following drawings and specific examples.

図10は、ネットワークトポロジーを示す図であり、図11は、ダウンリンクルーティングの照会プロセスを示す図である。図10に示すネットワークトポロジーにおいて、図11に示すダウンリンクルーティングテーブルが確立されている。ゲートウェイは、ノード8のダウンリンクルーティングを照会する際に、まずダウンリンクルーティングからノード8の親ノードであるノード7を照会し、次に、ノード7の親ノードであるノード3を照会し、あるノードの親ノードであるゲートウェイ自身を照会するまで、このプロセスを繰り返す。照会することで見つかった全てのノードを逆の順序に配列して、ゲートウェイは、ノード8までの完成のダウンリンクルーティング、即ち0→1→3→7→8を取得した。   FIG. 10 shows a network topology, and FIG. 11 shows a downlink routing inquiry process. In the network topology shown in FIG. 10, the downlink routing table shown in FIG. 11 is established. When the gateway queries the downlink routing of node 8, it first queries node 7 that is the parent node of node 8 from the downlink routing, and then queries node 3 that is the parent node of node 7. This process is repeated until the gateway itself, which is the parent node of the node, is queried. Arranging all the nodes found by querying in reverse order, the gateway obtained the complete downlink routing to node 8, ie 0 → 1 → 3 → 7 → 8.

本実施例の方法によれば、ゲートウェイは、親ノード情報を含むデータパケットに基づいてダウンリンクルーティングテーブルを確立し、更新することで、任意のノードまでのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。   According to the method of this embodiment, the gateway can determine the downlink routing to an arbitrary node by establishing and updating the downlink routing table based on the data packet including the parent node information. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly.

本発明の実施例は、マルチホップネットワークにおけるゲートウェイノードをさらに提供し、下記の実施例4に説明するように、該ノードの問題解決の原理と実施例3の方法と類似するため、具体的な実施について実施例3の方法の実施を参照でき、重複する部分の説明はここに省略される。   The embodiment of the present invention further provides a gateway node in a multi-hop network, and is similar to the problem solving principle of the node and the method of Embodiment 3 as described in Embodiment 4 below. Regarding the implementation, reference can be made to the implementation of the method of Example 3, and the description of the overlapping parts is omitted here.

<実施例4>
本発明の実施例は、マルチホップネットワークにおけるゲートウェイをさらに提供する。図12は、該ゲートウェイノードの構成を示す図である。図12に示すように、該ゲートウェイノードは、第1の判断部121、及び第1の更新部122を含む。
<Example 4>
Embodiments of the present invention further provide a gateway in a multi-hop network. FIG. 12 is a diagram showing the configuration of the gateway node. As illustrated in FIG. 12, the gateway node includes a first determination unit 121 and a first update unit 122.

第1の判断部121は、受信された親ノード情報を含むデータパケットに基づいて、ダウンリンクルーティングテーブルに該データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されているか否かを判断する。   Based on the received data packet including the parent node information, the first determination unit 121 stores an address of the source node of the data packet and an information item corresponding to the address of the parent node in the downlink routing table. Determine whether or not.

第1の更新部122は、第1の判断部121の判断結果が否定の場合、該ダウンリンクルーティングテーブルの1つの情報項目に該データパケットのソースノードのアドレス及びその親ノードのアドレスを書き込み、該情報項目に対応する更新時間を更新し、或いは該情報項目に対応する更新時間及び失効時間を更新し、第1の判断部121の判断結果が肯定の場合、該ダウンリンクルーティングテーブルにおける該情報項目に対応する更新時間を更新し、或いは該ダウンリンクルーティングテーブルにおける該情報項目に対応する更新時間を更新し、且つ該情報項目に対応する失効時間を再設定する。   When the determination result of the first determination unit 121 is negative, the first update unit 122 writes the address of the source node of the data packet and the address of its parent node in one information item of the downlink routing table, When the update time corresponding to the information item is updated, or the update time and the expiration time corresponding to the information item are updated, and the determination result of the first determination unit 121 is affirmative, the information in the downlink routing table The update time corresponding to the item is updated, or the update time corresponding to the information item in the downlink routing table is updated, and the expiration time corresponding to the information item is reset.

ここで、該ダウンリンクルーティングテーブルは、複数の情報項目を含み、各情報項目は、ノードのアドレス、親ノードのアドレス、及び更新時間を含み、或いは各情報項目は、ノードのアドレス、親ノードのアドレス、更新時間、及び失効時間を含む。   Here, the downlink routing table includes a plurality of information items, and each information item includes a node address, a parent node address, and an update time. Alternatively, each information item includes a node address and a parent node address. Includes address, update time, and expiration time.

1つの例では、ゲートウェイノードは、第2の判断部123、及び第2の更新部124をさらに含む。   In one example, the gateway node further includes a second determination unit 123 and a second update unit 124.

第2の判断部123は、該ダウンリンクルーティングテーブルの各情報項目の失効時間に達しているか否かを判断する。   The second determination unit 123 determines whether or not the expiration time of each information item in the downlink routing table has been reached.

第2の更新部124は、第2の判断部123の判断結果が肯定の場合、所定のルールに基づいて、失効時間に達している情報項目を削除するか、或いは該失効時間に達している情報項目を記憶し続けるかを選択する。   If the determination result of the second determination unit 123 is affirmative, the second update unit 124 deletes the information item that has reached the expiration time or reaches the expiration time based on a predetermined rule. Select whether to keep memorizing information items.

1つの例では、ゲートウェイノードは、照会部125をさらに含む。   In one example, the gateway node further includes a query unit 125.

照会部125は、隣接ノードテーブルを照会して、該マルチホップネットワークにおける1ホップノードの親ノード情報を決定する。   The query unit 125 queries the adjacent node table to determine parent node information of the 1-hop node in the multi-hop network.

第1の更新部121は、該ダウンリンクルーティングテーブルの1つの情報項目に該1ホップノードのアドレス及びその親ノードのアドレスを書き込み、該情報項目に対応する更新時間を更新し、或いは該情報項目に対応する更新時間及び失効時間を更新する。   The first updating unit 121 writes the address of the one-hop node and the address of its parent node in one information item of the downlink routing table, updates the update time corresponding to the information item, or the information item Update the update time and expiration time corresponding to.

1つの例では、ゲートウェイノードは、取得部126をさらに含む。   In one example, the gateway node further includes an acquisition unit 126.

取得部126は、該マルチホップネットワークの1ホップノードから2ホップノードに送信されたHELLOパケットまたはACKパケットを監視することで、該2ホップノードの親ノード情報を取得する。   The acquisition unit 126 acquires the parent node information of the 2-hop node by monitoring a HELLO packet or an ACK packet transmitted from the 1-hop node of the multi-hop network to the 2-hop node.

第1の更新部121は、該ダウンリンクルーティングテーブルの1つの情報項目に該2ホップノードのアドレス及びその親ノードのアドレスを書き込み、該情報項目に対応する更新時間を更新し、或いは該情報項目に対応する更新時間及び失効時間を更新する。ここで、該HELLOパケット又は該ACKパケットに送信ノードの情報及び受信ノードの情報が含まれ、該送信ノードは該1ホップノードであり、該受信ノードは該2ホップノードであり、該送信ノードの情報は該2ホップノードの親ノード情報である。   The first updating unit 121 writes the address of the 2-hop node and the address of its parent node in one information item of the downlink routing table, updates the update time corresponding to the information item, or the information item Update the update time and expiration time corresponding to. Here, the HELLO packet or the ACK packet includes information on a transmission node and information on a reception node, the transmission node is the one-hop node, the reception node is the two-hop node, and The information is parent node information of the 2-hop node.

本実施例のゲートウェイノードは、親ノード情報を含むデータパケットに基づいてダウンリンクルーティングテーブルを確立、更新することで、任意のノードまでのダウンリンクルーティングを決定できる。ダウンリンクルーティングをゲートウェイノード側で取得、保守できると共に、それによるシステムの負荷を低減できる。   The gateway node of this embodiment can determine the downlink routing to an arbitrary node by establishing and updating the downlink routing table based on the data packet including the parent node information. Downlink routing can be acquired and maintained on the gateway node side, and the load on the system can be reduced accordingly.

本発明の実施例は、1つ又は複数の実施例2に記載のノードと、実施例4に記載のゲートウェイノードと、を含む通信ネットワークをさらに提供する。その内容は上記と同じであるため、ここにその説明を省略される。   Embodiments of the present invention further provide a communication network including one or more nodes described in Example 2 and gateway nodes described in Example 4. Since the contents are the same as described above, the description thereof is omitted here.

本発明の実施例は、端末機器においてプログラムを実行する際に、コンピュータに、実施例1又は実施例3に記載のダウンリンクルーティングの取得、保守方法を該端末機器において実行させるコンピュータ読み取り可能なプログラム、をさらに提供する。   An embodiment of the present invention is a computer-readable program that causes a computer to execute the downlink routing acquisition and maintenance method described in the first or third embodiment in the terminal device when the program is executed in the terminal device. Further providing.

本発明の実施例は、コンピュータに、実施例1又は実施例3に記載のダウンリンクルーティングの取得、保守方法を端末機器において実行させるためのコンピュータ読み取り可能なプログラムを記録する記録媒体、をさらに提供する。   Embodiments of the present invention further provide a recording medium for recording a computer-readable program for causing a computer to execute the downlink routing acquisition and maintenance method described in Embodiment 1 or Embodiment 3 in a terminal device. To do.

以上のように、本発明の好適な実施形態が説明されている。これらの実施形態の多くの特徴及び利点は詳細な明細書に明確に記載されているため、添付された特許請求の範囲はこれらの実施形態の真実の主旨及び範囲内の全てのこれらの特徴及び利点をカバーするものである。また、当業者にとって、多くの修正及び変更を容易に想到できるため、本発明の実施形態は、例示又は記載された具体的な構成及び動作に限定されたものではなく、その範囲内の全ての適切な修正及び均等物をカバーできる。   As described above, preferred embodiments of the present invention have been described. Since many features and advantages of these embodiments are expressly set forth in the detailed description, the appended claims are intended to cover all these features and within the true spirit and scope of these embodiments. It covers the benefits. Further, since many modifications and changes can be easily conceived by those skilled in the art, the embodiments of the present invention are not limited to the specific configurations and operations illustrated or described, and all the embodiments within the scope thereof are not limited. Appropriate modifications and equivalents can be covered.

なお、本発明の各部分は、ハードウェア、ソフトウェア、ファームウェア、又はそれらの組み合わせにより実現されてもよい。上述した実施形態では、複数のステップ又は方法は、メモリに記憶され、適切な指令によってシステムが実行するソフトウェア又はファームウェアを実行することで実現されてもよい。例えば、ハードウェアで実現される場合、他の実施形態と同じように、データ信号に対して論理機能を有する論理ゲート回路の離散論理回路、論理ゲート回路を適切に組み合わせる専用の集積回路、プログラミング可能ゲートアレイ(PGA)、現場プログラミング可能ゲートアレイ(FPGA)などの公知の下記の技術のうちいずれか又はそれらの組み合わせで実現してもよい。   Each part of the present invention may be realized by hardware, software, firmware, or a combination thereof. In the embodiments described above, the multiple steps or methods may be implemented by executing software or firmware that is stored in memory and executed by the system with appropriate instructions. For example, when implemented by hardware, as in the other embodiments, a discrete logic circuit of a logic gate circuit having a logic function for a data signal, a dedicated integrated circuit for appropriately combining logic gate circuits, and programmable It may be realized by any one or a combination of the following known techniques such as a gate array (PGA) and a field programmable gate array (FPGA).

また、上述の各実施例を含む実施形態に関し、更に以下の付記を開示する。   Moreover, the following additional remarks are disclosed regarding the embodiment including each of the above-described examples.

(付記1)
マルチホップネットワークにおけるデータ転送機能を有するノードに適用するダウンリンクルーティングの取得、保守方法であって、
転送或いは監視されたデータパケットを復号化し、前記データパケットのソースノード、宛先ノード、送信ノード、受信ノード、類型、及びデータペイロードを取得するステップと、
前記データパケットのソースノードのホップ数(ソースノードから宛先ノードまでのホップ数)が前記ノード自身のホップ数(前記ノードから宛先ノードまでのホップ数)よりも大きく、且つ両者の差が2である場合、前記ノードのデータパケット転送テーブルに基づいて、前記ソースノードのデータパケットを転送したか否かを決定するステップと、
前記ソースノードのデータパケットを転送したことがない場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送するステップと、を含む、方法。
(Appendix 1)
A method for acquiring and maintaining a downlink routing applied to a node having a data transfer function in a multi-hop network,
Decoding the transferred or monitored data packet and obtaining a source node, a destination node, a transmitting node, a receiving node, a type, and a data payload of the data packet;
The number of hops of the source node of the data packet (the number of hops from the source node to the destination node) is greater than the number of hops of the node itself (the number of hops from the node to the destination node), and the difference between the two is 2 Determining whether or not the data packet of the source node has been forwarded based on the data packet forwarding table of the node;
When the data packet of the source node has never been transferred, when the receiving node of the data packet is the node, parent node information of the source node of the data packet is added to the data packet, and includes parent node information Forwarding the data packet.

(付記2)
前記ソースノードのデータパケットを転送したことがない場合、前記データパケット転送テーブルに、前記ソースノード及びその親ノードに対応する情報項目を記憶し、前記情報項目に対応する伝送マークを所定値に設定するステップ、をさらに含む、付記1に記載の方法。
(Appendix 2)
When the data packet of the source node has not been transferred, the information item corresponding to the source node and its parent node is stored in the data packet transfer table, and the transmission mark corresponding to the information item is set to a predetermined value. The method of claim 1, further comprising:

(付記3)
前記ソースノードのデータパケットを転送したことがある場合、前記ノードのデータパケット転送テーブルに基づいて、前記ソースノード及びその親ノードに対応する情報項目を記憶したか否かを決定するステップと、
前記ソースノード及びその親ノードに対応する情報項目を記憶したことがない場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送するステップと、をさらに含む、付記1に記載の方法。
(Appendix 3)
If the data packet of the source node has been transferred, determining whether or not the information item corresponding to the source node and its parent node is stored based on the data packet transfer table of the node;
When the information item corresponding to the source node and its parent node has not been stored, when the receiving node of the data packet is the node, the parent node information of the source node of the data packet is added to the data packet. The method according to claim 1, further comprising: transferring a data packet including parent node information.

(付記4)
前記ソースノード及びその親ノードに対応する情報項目を記憶したことがない場合、前記データパケット転送テーブルに、前記ソースノード及びその親ノードに対応する情報項目を記憶し、前記情報項目に対応する伝送マークを所定値に設定するステップ、をさらに含む、付記3に記載の方法。
(Appendix 4)
If the information item corresponding to the source node and its parent node has never been stored, the information item corresponding to the source node and its parent node is stored in the data packet forwarding table, and the transmission corresponding to the information item is performed. The method according to claim 3, further comprising the step of setting the mark to a predetermined value.

(付記5)
前記ソースノード及びその親ノードに対応する情報項目を記憶したことがある場合、予め設定された更新周期において前記情報項目に対応する伝送マークが所定値であるか否かを判断するステップと、
予め設定された更新周期において前記情報項目に対応する伝送マークが所定値ではない場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送するステップと、を含む、付記3に記載の方法。
(Appendix 5)
If the information item corresponding to the source node and its parent node has been stored, determining whether or not the transmission mark corresponding to the information item is a predetermined value in a preset update cycle;
When a transmission mark corresponding to the information item is not a predetermined value in a preset update cycle, when the receiving node of the data packet is the node, the parent node information of the source node of the data packet is added to the data packet. And transferring the data packet including the parent node information.

(付記6)
予め設定された更新周期において前記情報項目に対応する伝送マークが所定値ではない場合、前記情報項目に対応する伝送マークを前記所定値に変更するステップ、をさらに含む、付記5に記載の方法。
(Appendix 6)
The method according to claim 5, further comprising the step of changing the transmission mark corresponding to the information item to the predetermined value when the transmission mark corresponding to the information item is not a predetermined value in a preset update period.

(付記7)
前記データパケットに前記データパケットのソースノードの親ノード情報を追加するステップは、
前記データパケットから送信ノードを抽出するステップと、
前記データパケットのデータペイロードに前記データパケットの送信ノードを追加するステップと、
前記データパケットの類型を、ソースノードの親ノード情報を含むデータパケットに変更するステップと、を含む、付記1乃至6のいずれかに記載の方法。
(Appendix 7)
Adding parent node information of a source node of the data packet to the data packet;
Extracting a sending node from the data packet;
Adding a sending node of the data packet to the data payload of the data packet;
The method according to any one of appendices 1 to 6, further comprising: changing a type of the data packet to a data packet including parent node information of a source node.

(付記8)
記情報項目に対応する伝送マークを前記所定値に変更した後で、前記情報項目に対応する予め設定された忘れ時間を初期化するステップ、をさらに含む、付記2又は4に記載の方法。
(Appendix 8)
The method according to claim 2 or 4, further comprising: initializing a preset forgetting time corresponding to the information item after changing a transmission mark corresponding to the information item to the predetermined value.

(付記9)
記情報項目に対応する伝送マークを前記所定値に変更した後で、前記情報項目に対応する予め設定された忘れ時間を初期値に再設定するステップ、をさらに含む、付記6に記載の方法。
(Appendix 9)
The method according to claim 6, further comprising the step of resetting a preset forgetting time corresponding to the information item to an initial value after changing a transmission mark corresponding to the information item to the predetermined value.

(付記10)
前記ノードが転送(Relay)ノードの場合、他のノードのデータパケットを初めて転送した後で、ゲートウェイにデータペイロードが空のメッセージを所定の更新周期で送信するステップ、をさらに含む、付記1に記載の方法。
(Appendix 10)
If the node is a relay node, the method further includes a step of transmitting a message with an empty data payload to the gateway at a predetermined update period after first transmitting a data packet of another node. the method of.

(付記11)
親ノード情報を含むデータパケットを転送した後で、前記親ノード情報を含むデータパケットを一時記憶し、前記親ノード情報を含むデータパケットの送信及び受信が成功した場合、前記ノードが前記親ノード情報を含むデータパケットを削除し、失敗した場合、親ノード情報を含むデータパケットを再送するステップ、をさらに含む、付記1に記載の方法。
(Appendix 11)
After the data packet including the parent node information is transferred, the data packet including the parent node information is temporarily stored, and when the transmission and reception of the data packet including the parent node information is successful, the node The method according to claim 1, further comprising the step of: deleting a data packet that includes parent node information, and retransmitting the data packet that includes parent node information if the data packet fails.

(付記12)
マルチホップネットワークにおけるゲートウェイノードに適用するダウンリンクルーティングの取得、保守方法であって、
前記ゲートウェイノードは、受信された親ノード情報を含むデータパケットに基づいて、予め記憶されたダウンリンクルーティングテーブルを更新するステップ、を含み、
前記ダウンリンクルーティングテーブルは複数の情報項目を含み、各情報項目はノードのアドレス、親ノードのアドレス、及び更新時間を含み、或いは各情報項目はノードのアドレス、親ノードのアドレス、更新時間、及び失効時間を含む、方法。
(Appendix 12)
A method for acquiring and maintaining a downlink routing applied to a gateway node in a multi-hop network,
The gateway node includes updating a pre-stored downlink routing table based on a received data packet including parent node information;
The downlink routing table includes a plurality of information items, each information item includes a node address, a parent node address, and an update time, or each information item includes a node address, a parent node address, an update time, and A method, including an expiration time.

(付記13)
前記ゲートウェイノードは、受信された親ノード情報を含むデータパケットに基づいて、予め記憶されたダウンリンクルーティングテーブルを更新するステップは、
前記ダウンリンクルーティングテーブルに前記データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されていない場合、前記ゲートウェイノードは、前記ダウンリンクルーティングテーブルの1つの情報項目に前記データパケットのソースノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新するステップ、を含む、付記12に記載の方法。
(Appendix 13)
The gateway node updates the pre-stored downlink routing table based on the data packet including the received parent node information.
When the information item corresponding to the address of the source node of the data packet and the address of its parent node is not stored in the downlink routing table, the gateway node stores the data item in one information item of the downlink routing table. Appendix 12 which includes writing the address of the source node of the packet and the address of its parent node, updating the update time corresponding to the information item, or updating the update time and expiration time corresponding to the information item. The method described.

(付記14)
前記ゲートウェイノードは、受信された親ノード情報を含むデータパケットに基づいて、予め記憶されたダウンリンクルーティングテーブルを更新するステップは、
前記ダウンリンクルーティングテーブルに前記データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されている場合、前記ダウンリンクルーティングテーブルにおける前記情報項目に対応する更新時間を更新し、或いは前記ダウンリンクルーティングテーブルにおける前記情報項目に対応する更新時間を更新し、且つ前記情報項目に対応する失効時間を再設定するステップ、を含む、付記12に記載の方法。
(Appendix 14)
The gateway node updates the pre-stored downlink routing table based on the data packet including the received parent node information.
When information items corresponding to the address of the source node of the data packet and the address of its parent node are stored in the downlink routing table, the update time corresponding to the information item in the downlink routing table is updated, The method according to claim 12, further comprising: updating an update time corresponding to the information item in the downlink routing table and resetting an expiration time corresponding to the information item.

(付記15)
前記ダウンリンクルーティングテーブルの1つの情報項目の失効時間に達している場合、前記ゲートウェイノードは、所定のルールに基づいて、前記情報項目を削除するか、或いは前記情報項目を記憶し続けるかを選択するステップ、をさらに含む、付記12に記載の方法。
(Appendix 15)
When the expiration time of one information item of the downlink routing table has been reached, the gateway node selects whether to delete the information item or continue to store the information item based on a predetermined rule The method of claim 12, further comprising the step of:

(付記16)
前記ゲートウェイノードは、隣接ノードテーブルを照会して、前記マルチホップネットワークにおける1ホップノードの親ノード情報を決定し、前記ダウンリンクルーティングテーブルの1つの情報項目に前記1ホップノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新するステップ、をさらに含む、付記12に記載の方法。
(Appendix 16)
The gateway node queries an adjacent node table to determine parent node information of a one-hop node in the multi-hop network, and an address of the one-hop node and its parent node are included in one information item of the downlink routing table. The method according to claim 12, further comprising the step of: updating the update time corresponding to the information item, or updating the update time and the expiration time corresponding to the information item.

(付記17)
前記ゲートウェイノードは、前記マルチホップネットワークの1ホップノードから2ホップノードに送信されたHELLOパケットまたはACKパケットを監視することで、前記2ホップノードの親ノード情報を取得するステップと、
前記ゲートウェイノードは、前記ダウンリンクルーティングテーブルの1つの情報項目に前記2ホップノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新するステップと、
前記HELLOパケット又は前記ACKパケットに送信ノードの情報及び受信ノードの情報が含まれ、前記送信ノードは前記1ホップノードであり、前記受信ノードは前記2ホップノードであり、前記送信ノードの情報は前記2ホップノードの親ノード情報である、付記12に記載の方法。
(Appendix 17)
The gateway node obtains parent node information of the 2-hop node by monitoring a HELLO packet or an ACK packet transmitted from the 1-hop node of the multi-hop network to the 2-hop node;
The gateway node writes the address of the 2-hop node and the address of its parent node in one information item of the downlink routing table, updates the update time corresponding to the information item, or corresponds to the information item Updating the renewal time and expiration time;
The HELLO packet or the ACK packet includes transmission node information and reception node information, the transmission node is the 1-hop node, the reception node is the 2-hop node, and the transmission node information is the The method according to appendix 12, which is parent node information of a 2-hop node.

Claims (10)

マルチホップネットワークにおけるノードであって、
転送或いは監視されたデータパケットを復号化し、前記データパケットのソースノード、宛先ノード、送信ノード、受信ノード、類型、及びデータペイロードを取得する復号化手段と、
前記データパケットのソースノードから宛先ノードまでのホップ数が前記ノードから宛先ノードまでのホップ数よりも大きく、且つ両者の差が2である場合、前記ノードのデータパケット転送テーブルに基づいて、前記ソースノードのデータパケットを転送或いは監視したか否かを決定する第1の決定手段と、
前記ソースノードのデータパケットを転送或いは監視したことがないと前記第1の決定手段により決定された場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送する送信手段と、
前記ソースノードのデータパケットを転送或いは監視したことがないと前記第1の決定手段により決定された場合、前記データパケット転送テーブルに、前記ソースノード及びその親ノードに対応する情報項目を記憶し、前記情報項目に対応する伝送マークを所定値に設定し、前記情報項目に対応する予め設定された忘れ時間を初期化する第1の更新手段と、を含む、ノード。
A node in a multi-hop network,
Decoding means for decoding the transferred or monitored data packet and obtaining a source node, a destination node, a transmission node, a reception node, a type, and a data payload of the data packet;
When the number of hops from the source node to the destination node of the data packet is larger than the number of hops from the node to the destination node, and the difference between the two is 2, based on the data packet forwarding table of the node, the source First determining means for determining whether the data packet of the node has been transferred or monitored;
When it is determined by the first determining means that the data packet of the source node has not been transferred or monitored, the source node of the data packet is included in the data packet when the receiving node of the data packet is the node Transmitting means for adding the parent node information and transferring a data packet including the parent node information;
If it is determined by the first determining means that the data packet of the source node has not been transferred or monitored, the data packet transfer table stores information items corresponding to the source node and its parent node; And a first updating means for setting a transmission mark corresponding to the information item to a predetermined value and initializing a preset forgetting time corresponding to the information item.
第2の決定手段と、第2の更新手段と、をさらに含み、
前記第2の決定手段は、前記ソースノードのデータパケットを転送或いは監視したことがあると前記第1の決定手段により決定された場合、前記ノードのデータパケット転送テーブルに基づいて、前記ソースノード及びその親ノードに対応する情報項目を記憶したか否かを決定し、
前記送信手段は、前記ソースノード及びその親ノードに対応する情報項目を記憶したことがないと前記第2の決定手段により決定された場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送し、
前記第2の更新手段は、前記ソースノード及びその親ノードに対応する情報項目を記憶したことがないと前記第2の決定手段により決定された場合、前記データパケット転送テーブルに、前記ソースノード及びその親ノードに対応する情報項目を記憶し、前記情報項目に対応する伝送マークを所定値に設定し、前記情報項目に対応する予め設定された忘れ時間を初期化する、
請求項1に記載のノード。
A second determining unit; and a second updating unit,
The second determining means, when the first determining means determines that the data packet of the source node has been transferred or monitored, based on the data packet transfer table of the node, and Determine whether the information item corresponding to the parent node is stored,
When the second determining unit determines that the information item corresponding to the source node and its parent node has not been stored, the transmitting unit is configured such that when the receiving node of the data packet is the node, Adding parent node information of the source node of the data packet to the data packet, transferring the data packet including the parent node information,
When the second determining unit determines that the second determining unit determines that the information item corresponding to the source node and its parent node has not been stored, the second updating unit stores the source node and the source node in the data packet forwarding table. Storing an information item corresponding to the parent node, setting a transmission mark corresponding to the information item to a predetermined value, and initializing a preset forgetting time corresponding to the information item;
The node according to claim 1.
第3の決定手段と、第3の更新手段と、をさらに含み、
前記第3の決定手段は、前記ソースノード及びその親ノードに対応する情報項目を記憶したことがあると前記第2の決定手段により決定された場合、予め設定された更新周期において前記情報項目に対応する伝送マークが所定値であるか否かを判断し、
前記送信手段は、前記第3の決定手段の判断結果が否定の場合、前記データパケットの受信ノードが前記ノードであるとき、前記データパケットに前記データパケットのソースノードの親ノード情報を追加し、親ノード情報を含むデータパケットを転送し、
前記第3の更新手段は、前記第3の決定手段の判断結果が否定の場合、前記情報項目に対応する伝送マークを前記所定値に変更し、前記情報項目に対応する予め設定された忘れ時間を初期値に再設定する、
請求項2に記載のノード。
And further comprising third determining means and third updating means,
When the second determining unit determines that the information item corresponding to the source node and its parent node has been stored, the third determining unit stores the information item in the preset update cycle. Determine whether the corresponding transmission mark is a predetermined value,
When the determination result of the third determining means is negative, the transmitting means adds parent node information of the source node of the data packet to the data packet when the receiving node of the data packet is the node, Forward data packets containing parent node information,
The third updating unit changes the transmission mark corresponding to the information item to the predetermined value when the determination result of the third determining unit is negative, and sets a preset forgetting time corresponding to the information item. To the initial value,
The node according to claim 2.
前記送信手段は、
前記データパケットから送信ノードを抽出する抽出モジュールと、
前記データパケットのデータペイロードに前記データパケットの送信ノードを追加する追加モジュールと、
前記データパケットの類型を、ソースノードの親ノード情報を含むデータパケットに変更する変更モジュールと、
親ノード情報を含むデータパケットを送信する送信モジュールと、を含む、
請求項1乃至3のいずれかに記載のノード。
The transmission means includes
An extraction module for extracting a transmission node from the data packet;
An additional module for adding a transmission node of the data packet to a data payload of the data packet;
A change module for changing the type of the data packet to a data packet including parent node information of a source node;
A transmission module for transmitting a data packet including parent node information,
The node according to claim 1.
前記送信手段は、前記ノードが転送(Relay)ノードの場合、他のノードのデータパケットを初めて転送した後で、ゲートウェイにデータペイロードが空のメッセージを所定の更新周期で送信する、
請求項1に記載のノード。
When the node is a transfer node, the transmission means transmits a message with an empty data payload to a gateway at a predetermined update period after first transferring a data packet of another node.
The node according to claim 1.
前記送信手段が親ノード情報を含むデータパケットを転送した後で、前記親ノード情報を含むデータパケットを一時記憶する一時記憶手段、をさらに含み、
前記送信手段は、前記親ノード情報を含むデータパケットの送信及び受信が成功した場合、前記親ノード情報を含むデータパケットを削除し、失敗した場合、親ノード情報を含むデータパケットを再送する、
請求項1に記載のノード。
Temporary storage means for temporarily storing the data packet including the parent node information after the transmission means transfers the data packet including the parent node information;
The transmission means deletes the data packet including the parent node information when transmission and reception of the data packet including the parent node information succeeds, and resends the data packet including the parent node information when the transmission fails.
The node according to claim 1.
マルチホップネットワークにおけるゲートウェイノードであって、
受信された親ノード情報を含むデータパケットに基づいて、ダウンリンクルーティングテーブルに前記データパケットのソースノードのアドレス及びその親ノードのアドレスに対応する情報項目が記憶されているか否かを判断する、第1の判断手段と、
前記第1の判断手段の判断結果が否定の場合、前記ダウンリンクルーティングテーブルの1つの情報項目に前記データパケットのソースノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新し、前記第1の判断手段の判断結果が肯定の場合、前記ダウンリンクルーティングテーブルにおける前記情報項目に対応する更新時間を更新し、或いは前記ダウンリンクルーティングテーブルにおける前記情報項目に対応する更新時間を更新し、且つ前記情報項目に対応する失効時間を再設定する、第1の更新手段と、を含み、
前記ダウンリンクルーティングテーブルは複数の情報項目を含み、各情報項目はノードのアドレス、親ノードのアドレス、及び更新時間を含み、或いは各情報項目はノードのアドレス、親ノードのアドレス、更新時間、及び失効時間を含む、ゲートウェイノード。
A gateway node in a multi-hop network,
Based on the received data packet including the parent node information, it is determined whether the downlink routing table stores an address of the source node of the data packet and an information item corresponding to the address of the parent node. 1 judging means,
When the determination result of the first determination means is negative, the address of the source node of the data packet and the address of its parent node are written in one information item of the downlink routing table, and the update time corresponding to the information item Or the update time and the expiration time corresponding to the information item are updated, and the update time corresponding to the information item in the downlink routing table is updated when the determination result of the first determination means is affirmative Or updating the update time corresponding to the information item in the downlink routing table and resetting the expiration time corresponding to the information item,
The downlink routing table includes a plurality of information items, each information item includes a node address, a parent node address, and an update time, or each information item includes a node address, a parent node address, an update time, and Gateway node, including expiration time.
前記ダウンリンクルーティングテーブルの各情報項目の失効時間に達しているか否かを判断する、第2の判断手段と、
前記第2の判断手段の判断結果が肯定の場合、所定のルールに基づいて、失効時間に達している情報項目を削除するか、或いは前記失効時間に達している情報項目を記憶し続けるかを選択する、第2の更新手段と、をさらに含む、
請求項7に記載のゲートウェイノード。
Second determination means for determining whether or not the expiration time of each information item of the downlink routing table has been reached;
If the determination result of the second determination means is affirmative, whether to delete the information item that has reached the expiration time or to store the information item that has reached the expiration time based on a predetermined rule A second update means for selecting, further comprising:
The gateway node according to claim 7.
隣接ノードテーブルを照会して、前記マルチホップネットワークにおける1ホップノードの親ノード情報を決定する照会手段、をさらに含み、
前記第1の更新手段は、前記ダウンリンクルーティングテーブルの1つの情報項目に前記1ホップノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新する、
請求項7に記載のゲートウェイノード。
Query means for querying an adjacent node table to determine parent node information of a one-hop node in the multi-hop network;
The first update means writes the address of the one-hop node and the address of its parent node in one information item of the downlink routing table, updates the update time corresponding to the information item, or the information item Update the renewal time and expiration time corresponding to
The gateway node according to claim 7.
前記マルチホップネットワークの1ホップノードから2ホップノードに送信されたHELLOパケットまたはACKパケットを監視することで、前記2ホップノードの親ノード情報を取得する取得手段、をさらに含み、
前記第1の更新手段は、前記ダウンリンクルーティングテーブルの1つの情報項目に前記2ホップノードのアドレス及びその親ノードのアドレスを書き込み、前記情報項目に対応する更新時間を更新し、或いは前記情報項目に対応する更新時間及び失効時間を更新し、
前記HELLOパケット又は前記ACKパケットに送信ノードの情報及び受信ノードの情報が含まれ、前記送信ノードは前記1ホップノードであり、前記受信ノードは前記2ホップノードであり、前記送信ノードの情報は前記2ホップノードの親ノード情報である、
請求項7に記載のゲートウェイノード。
An acquisition means for acquiring parent node information of the 2-hop node by monitoring a HELLO packet or an ACK packet transmitted from the 1-hop node of the multi-hop network to the 2-hop node;
The first updating means writes the address of the 2-hop node and the address of its parent node in one information item of the downlink routing table, updates the update time corresponding to the information item, or the information item Update the renewal time and expiration time corresponding to
The HELLO packet or the ACK packet includes transmission node information and reception node information, the transmission node is the 1-hop node, the reception node is the 2-hop node, and the transmission node information is the The parent node information of the 2-hop node,
The gateway node according to claim 7.
JP2014074364A 2013-04-02 2014-03-31 Acquisition of downlink routing, maintenance method, and device Pending JP2014204437A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310112066.5 2013-04-02
CN201310112066.5A CN104104605A (en) 2013-04-02 2013-04-02 Downlink route acquisition and maintenance method and device

Publications (1)

Publication Number Publication Date
JP2014204437A true JP2014204437A (en) 2014-10-27

Family

ID=51672414

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014074364A Pending JP2014204437A (en) 2013-04-02 2014-03-31 Acquisition of downlink routing, maintenance method, and device

Country Status (2)

Country Link
JP (1) JP2014204437A (en)
CN (1) CN104104605A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9742578B2 (en) * 2014-12-24 2017-08-22 Texas Instruments Incorporated Simple mesh network for wireless transceivers
CN111510982B (en) * 2019-01-30 2022-03-11 大唐移动通信设备有限公司 Data transmission method and device
CN115484655A (en) * 2021-05-31 2022-12-16 华为技术有限公司 Service message forwarding method, network equipment and wireless network

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1188428A (en) * 1997-06-30 1999-03-30 Sun Microsyst Inc Effective cashing for route designation information for unicast and multicast-connection
US20060133328A1 (en) * 2004-12-20 2006-06-22 Isaac Levendel Internet-oriented ad-hoc network
JP2007104675A (en) * 2005-10-04 2007-04-19 Samsung Electronics Co Ltd Method of implementing multicast routing system in mobile ad-hoc network environment
JP2007228083A (en) * 2006-02-21 2007-09-06 Ntt Docomo Inc Communication node and routing method
WO2011121672A1 (en) * 2010-03-31 2011-10-06 富士通株式会社 Node device and data transmission method
JP2012209741A (en) * 2011-03-29 2012-10-25 Fujitsu Ltd Communication method and communication apparatus
JP2012239243A (en) * 2012-09-13 2012-12-06 Oki Electric Ind Co Ltd Packet relay system and wireless node

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1188428A (en) * 1997-06-30 1999-03-30 Sun Microsyst Inc Effective cashing for route designation information for unicast and multicast-connection
US20060133328A1 (en) * 2004-12-20 2006-06-22 Isaac Levendel Internet-oriented ad-hoc network
JP2007104675A (en) * 2005-10-04 2007-04-19 Samsung Electronics Co Ltd Method of implementing multicast routing system in mobile ad-hoc network environment
JP2007228083A (en) * 2006-02-21 2007-09-06 Ntt Docomo Inc Communication node and routing method
WO2011121672A1 (en) * 2010-03-31 2011-10-06 富士通株式会社 Node device and data transmission method
JP2012209741A (en) * 2011-03-29 2012-10-25 Fujitsu Ltd Communication method and communication apparatus
JP2012239243A (en) * 2012-09-13 2012-12-06 Oki Electric Ind Co Ltd Packet relay system and wireless node

Also Published As

Publication number Publication date
CN104104605A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
JP6679498B2 (en) Method and apparatus for reducing packet storm duration in wireless mesh networks
JP5750973B2 (en) Communication method and communication apparatus
US9450668B2 (en) Packet relay system and wireless node
US9172636B2 (en) Efficient link repair mechanism triggered by data traffic
KR100664953B1 (en) Method for multicast routing system and in mobile ad-hoc network environment
JP2005124195A (en) Method for processing broadcast data in mobile ad-hoc network
JP4918900B2 (en) Wireless multi-hop network, node, multicast routing method and program
JP5720793B2 (en) Data transfer method and node apparatus using the same
JP2006279168A (en) Communication apparatus for configuring adhoc network, bridge apparatus, and communication system
JP4696314B2 (en) Wireless device and wireless network system including the same
JP4993185B2 (en) Wireless communication system
JP2014204437A (en) Acquisition of downlink routing, maintenance method, and device
US20170272144A1 (en) Reliable connectionless low power coverage extension
KR101136051B1 (en) Multicast routing method in wireless mobile multi-hop network system
JP4696318B2 (en) Wireless device and wireless communication network provided with the same
JP2007181056A (en) Path selection method
JP2006287538A (en) Wireless device
JP2006050377A (en) Radio network system
JP2011097458A (en) Path control method, node, and communication system
JP6459558B2 (en) Wireless communication apparatus, wireless communication method, and wireless communication program
KR20170081904A (en) Method and apparatus for operating network
JP2008042647A (en) Node constituting ad hoc/network
JP2008211744A (en) Wireless device and wireless network with the same
JP2010171577A (en) Radio communication device and radio communication system
JP6227197B2 (en) Wireless communication apparatus and wireless communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170110

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171128

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20180612