JP5293452B2 - Control method, control device, and storage medium - Google Patents

Control method, control device, and storage medium Download PDF

Info

Publication number
JP5293452B2
JP5293452B2 JP2009150272A JP2009150272A JP5293452B2 JP 5293452 B2 JP5293452 B2 JP 5293452B2 JP 2009150272 A JP2009150272 A JP 2009150272A JP 2009150272 A JP2009150272 A JP 2009150272A JP 5293452 B2 JP5293452 B2 JP 5293452B2
Authority
JP
Japan
Prior art keywords
terminal
control information
request control
packet
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2009150272A
Other languages
Japanese (ja)
Other versions
JP2011009967A (en
Inventor
健太郎 池本
知善 竹林
俊浩 園田
茂寛 井谷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Priority to JP2009150272A priority Critical patent/JP5293452B2/en
Publication of JP2011009967A publication Critical patent/JP2011009967A/en
Application granted granted Critical
Publication of JP5293452B2 publication Critical patent/JP5293452B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、制御方法、制御装置及び記憶媒体に関する。   The present invention relates to a control method, a control device, and a storage medium.

近年、無線端末(例えば「ノード」)が自律分散的に相互接続するアドホックネットワークの研究が進められている。アドホックネットワークにおいては、アクセスポイントは設置されず、各ノードが、隣接ノードから受信したパケットを通信経路情報に基づき他の隣接ノードに中継することで、通信経路を形成する。   In recent years, research on ad hoc networks in which wireless terminals (for example, “nodes”) are interconnected in an autonomous distributed manner has been underway. In an ad hoc network, no access point is installed, and each node forms a communication path by relaying a packet received from an adjacent node to another adjacent node based on the communication path information.

ところで、アドホックネットワークにおいては、電波強度の変化やノードの移動などに伴いネットワーク環境が頻繁に変化する。このため、アドホックネットワークに接続する各ノードは、他ノードとの間で通信を行う前に通信経路制御を行う。   By the way, in an ad hoc network, the network environment frequently changes with changes in radio field intensity or movement of nodes. For this reason, each node connected to the ad hoc network performs communication path control before communicating with other nodes.

例えば、従来、各ノードは、ピュアフラッディングと呼ばれる手法によって通信経路制御を行っている。具体的には、各ノードは、自ノードが認知している他ノードとの通信経路を確認することを目的として、他ノードを最終宛先とする要求制御情報(例えば「HELLOパケット」)を送信する。すると、HELLOパケットを受信した各ノードは、最終宛先が自ノードであるか否かを判定し、最終宛先が自ノードである場合には、自ノードが存在することを示す存在制御情報(例えば「REGISTERパケット」)を返信する。一方、最終宛先が自ノードでない場合には、HELLOパケットを隣接ノードに中継する。   For example, conventionally, each node performs communication path control by a technique called pure flooding. Specifically, each node transmits request control information (for example, “HELLO packet”) with the other node as the final destination for the purpose of confirming the communication path with the other node recognized by the node. . Then, each node that has received the HELLO packet determines whether or not the final destination is its own node. If the final destination is its own node, presence control information (for example, “ REGISTER packet ") is returned. On the other hand, if the final destination is not the local node, the HELLO packet is relayed to the adjacent node.

特開2008−47984号公報JP 2008-47984 A

しかしながら、上記した従来の手法では、ネットワークの負荷が高くなってしまうという課題があった。すなわち、HELLOパケットの発信源となる発信源ノードは、自ノードが認知している他ノードの数分HELLOパケットを送信しなければならず、他ノードが増えれば増えるほど、HELLOパケットはネットワークの負荷要因となっていた。   However, the above-described conventional method has a problem that the load on the network increases. That is, the source node that is the source of the HELLO packet must transmit HELLO packets as many as the number of other nodes that the node recognizes, and the more nodes increase, the more HELLO packets are loaded on the network. It was a factor.

開示の技術は、上記に鑑みてなされたものであって、ネットワークの負荷を抑えることが可能な制御方法、制御装置及び記憶媒体を提供することを目的とする。   The disclosed technology has been made in view of the above, and an object thereof is to provide a control method, a control device, and a storage medium capable of suppressing a load on a network.

本願の開示する制御方法、制御装置及び記憶媒体は、一つの態様において、複数の端末が接続されたネットワークにおける任意の特定端末が、存在確認を求める要求制御情報を他の端末から受信して、該要求制御情報を処理する制御方法である。特定端末は、存在確認を求める要求制御情報を他の端末から受信する受信ステップを含む。また、特定端末は、前記受信ステップによって受信された前記要求制御情報を、前記他の端末とは異なる端末に中継する中継ステップを含む。また、特定端末は、前記受信ステップによって受信された前記要求制御情報から該要求制御情報を最初に送信した端末である発信源端末を識別し、識別した該発信源端末を、前記特定端末が存在することを示す存在制御情報の最終宛先として設定し、最終宛先を設定した該存在制御情報を、前記要求制御情報を該特定端末に送信した前記他の端末に送信する返信ステップを含む。   In one aspect, a control method, a control device, and a storage medium disclosed in the present application receive request control information for requesting existence confirmation from another terminal in a network to which a plurality of terminals are connected. A control method for processing the request control information. The specific terminal includes a reception step of receiving request control information for requesting existence confirmation from another terminal. The specific terminal includes a relay step of relaying the request control information received in the reception step to a terminal different from the other terminals. In addition, the specific terminal identifies the source terminal that is the terminal that first transmitted the request control information from the request control information received in the reception step, and the identified terminal exists as the identified source terminal. A return step of transmitting the presence control information, which is set as the final destination of presence control information indicating that the final destination is set, to the other terminal that has transmitted the request control information to the specific terminal.

本願の開示する制御方法、制御装置及び記憶媒体の一つの態様によれば、ネットワークの負荷を抑えることが可能になるという効果を奏する。   According to one aspect of the control method, the control device, and the storage medium disclosed in the present application, there is an effect that it is possible to suppress the load on the network.

図1は、実施例1におけるネットワークシステムの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a network system according to the first embodiment. 図2は、実施例1におけるネットワークシステムの処理手順を示すシーケンス図である。FIG. 2 is a sequence diagram illustrating a processing procedure of the network system according to the first embodiment. 図3は、実施例2におけるアドホックネットワークシステムの概要を説明するための図である。FIG. 3 is a diagram for explaining the outline of the ad hoc network system according to the second embodiment. 図4は、実施例2におけるアドホックネットワークシステムの構成を示すブロック図である。FIG. 4 is a block diagram illustrating a configuration of the ad hoc network system according to the second embodiment. 図5は、実施例2におけるパケット及びルーティングテーブルを説明するための図である。FIG. 5 is a diagram for explaining a packet and a routing table according to the second embodiment. 図6は、ノードにおける処理手順の全体を説明するためのフローチャートである。FIG. 6 is a flowchart for explaining the entire processing procedure in the node. 図7は、ルーティングテーブルの更新処理を説明するためのフローチャートである。FIG. 7 is a flowchart for explaining routing table update processing. 図8は、HELLOパケットの中継処理を説明するためのフローチャートである。FIG. 8 is a flowchart for explaining the HELLO packet relay process. 図9は、REGISTERパケットの返信処理を説明するためのフローチャートである。FIG. 9 is a flowchart for explaining a REGISTER packet return process. 図10は、REGISTERパケットの中継処理を説明するためのフローチャートである。FIG. 10 is a flowchart for explaining the relay process of the REGISTER packet. 図11は、実施例2の効果を説明するための図である。FIG. 11 is a diagram for explaining the effect of the second embodiment. 図12は、制御プログラムを実行するコンピュータを示す図である。FIG. 12 is a diagram illustrating a computer that executes a control program.

以下、本願の開示する制御方法、制御装置及び記憶媒体の実施例を説明する。なお、以下の実施例により本発明が限定されるものではない。   Hereinafter, embodiments of a control method, a control apparatus, and a storage medium disclosed in the present application will be described. In addition, this invention is not limited by the following examples.

[実施例1におけるネットワークシステムの構成]
まず、図1を用いて、実施例1におけるネットワークシステムの構成を説明する。図1は、実施例1におけるネットワークシステムの構成を示すブロック図である。
[Configuration of Network System in Embodiment 1]
First, the configuration of the network system according to the first embodiment will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a network system according to the first embodiment.

図1に示すように、実施例1におけるネットワーク1には、複数の端末が接続されている。ここで、特定端末10は、任意の端末であり、存在確認を求める要求制御情報を他の端末から受信して、該要求制御情報を処理する。また、発信源端末20は、要求制御情報を最初に送信した端末である。   As shown in FIG. 1, a plurality of terminals are connected to the network 1 in the first embodiment. Here, the specific terminal 10 is an arbitrary terminal, receives request control information for requesting existence confirmation from another terminal, and processes the request control information. The source terminal 20 is a terminal that first transmits request control information.

図1に示すように、特定端末10は、要求制御情報受信部11と、要求制御情報中継部12と、存在制御情報返信部13とを備える。   As illustrated in FIG. 1, the specific terminal 10 includes a request control information receiving unit 11, a request control information relay unit 12, and a presence control information reply unit 13.

要求制御情報受信部11は、要求制御情報を他の端末から受信する。   The request control information receiving unit 11 receives request control information from another terminal.

要求制御情報中継部12は、要求制御情報受信部11によって受信された要求制御情報を、要求制御情報を特定端末10に送信した他の端末とは異なる端末に中継する。   The request control information relay unit 12 relays the request control information received by the request control information receiving unit 11 to a terminal different from other terminals that transmitted the request control information to the specific terminal 10.

存在制御情報返信部13は、要求制御情報受信部11によって受信された要求制御情報から発信源端末20を識別する。また、存在制御情報返信部13は、識別した発信源端末20を、特定端末10が存在することを示す存在制御情報の最終宛先として設定する。また、存在制御情報返信部13は、最終宛先を設定した存在制御情報を、要求制御情報を特定端末10に送信した他の端末に送信する。   The presence control information return unit 13 identifies the source terminal 20 from the request control information received by the request control information receiving unit 11. In addition, the presence control information return unit 13 sets the identified source terminal 20 as the final destination of presence control information indicating that the specific terminal 10 exists. In addition, the presence control information reply unit 13 transmits the presence control information in which the final destination is set to the other terminal that has transmitted the request control information to the specific terminal 10.

[実施例1におけるネットワークシステムの処理手順]
次に、図2を用いて、実施例1におけるネットワークシステムの処理手順を説明する。図2は、実施例1におけるネットワークシステムの処理手順を示すシーケンス図である。
[Processing Procedure of Network System in First Embodiment]
Next, the processing procedure of the network system according to the first embodiment will be described with reference to FIG. FIG. 2 is a sequence diagram illustrating a processing procedure of the network system according to the first embodiment.

図2に示すように、特定端末10が要求制御情報を受信する(ステップS1)。   As shown in FIG. 2, the specific terminal 10 receives the request control information (step S1).

要求制御情報を受信した特定端末10は、要求制御情報を、要求制御情報を特定端末10に送信した端末30とは異なる端末30に中継する(ステップS2)。   The specific terminal 10 that has received the request control information relays the request control information to a terminal 30 different from the terminal 30 that has transmitted the request control information to the specific terminal 10 (step S2).

また、特定端末10は、ステップS1において受信した要求制御情報から発信源端末20を識別する(ステップS3)。   Further, the specific terminal 10 identifies the source terminal 20 from the request control information received in step S1 (step S3).

次に、特定端末10は、ステップS3において識別した発信源端末20を、特定端末10が存在することを示す存在制御情報の最終宛先として設定する(ステップS4)。   Next, the specific terminal 10 sets the source terminal 20 identified in step S3 as the final destination of presence control information indicating that the specific terminal 10 exists (step S4).

そして、特定端末10は、ステップS4において最終宛先を設定した存在制御情報を、要求制御情報を特定端末10に送信した端末30に送信する(ステップS5)。   Then, the specific terminal 10 transmits the presence control information in which the final destination is set in step S4 to the terminal 30 that has transmitted the request control information to the specific terminal 10 (step S5).

なお、実施例1においては、特定端末10が、ステップS2において要求制御情報を中継した後にステップS3において発信源端末20を識別する処理手順を説明したが、これに限られるものではない。例えば、ステップS2の処理とステップS3〜S5の処理とが併行して行われてもよいし、ステップS3〜S5の処理の後にステップS2の処理が行われてもよい。   In the first embodiment, the processing procedure for identifying the source terminal 20 in step S3 after the specific terminal 10 relays the request control information in step S2 has been described. However, the present invention is not limited to this. For example, the process of step S2 and the processes of steps S3 to S5 may be performed in parallel, or the process of step S2 may be performed after the processes of steps S3 to S5.

[実施例1の効果]
上記してきたように、実施例1によれば、要求制御情報を受信した特定端末10は、要求制御情報を他の端末30に中継し、かつ、存在制御情報を発信源端末20に返信する。言い換えると、発信源端末20が通信経路上に1つの要求制御情報を送信すると、通信経路上の各端末30が、要求制御情報の中継と存在制御情報の返信とを行う。このように、発信源端末20が1つの要求制御情報を送信するだけで、各端末30の存在確認ができる結果、要求制御情報の数を減少させることが可能になり、ネットワークの負荷を抑えることが可能になる。
[Effect of Example 1]
As described above, according to the first embodiment, the specific terminal 10 that has received the request control information relays the request control information to another terminal 30 and returns the presence control information to the source terminal 20. In other words, when the transmission source terminal 20 transmits one request control information on the communication path, each terminal 30 on the communication path relays the request control information and returns the presence control information. As described above, the existence of each terminal 30 can be confirmed only by transmitting one request control information from the transmission source terminal 20. As a result, the number of request control information can be reduced and the load on the network can be suppressed. Is possible.

[実施例2におけるアドホックネットワークシステムの概要]
続いて、本願の開示する制御方法、制御装置及び記憶媒体の実施例として、アドホックネットワークシステムを説明する。まず、図3を用いて、実施例2におけるアドホックネットワークシステムの概要を説明する。図3は、実施例2におけるアドホックネットワークシステムの概要を説明するための図である。
[Outline of Ad Hoc Network System in Embodiment 2]
Subsequently, an ad hoc network system will be described as an embodiment of a control method, a control apparatus, and a storage medium disclosed in the present application. First, the outline of the ad hoc network system according to the second embodiment will be described with reference to FIG. FIG. 3 is a diagram for explaining the outline of the ad hoc network system according to the second embodiment.

図3に示すように、実施例2におけるアドホックネットワークには、少なくともノードX、ノードY、ノードZが接続されている。ここで、ノードY及びノードZは、任意のノードであり、存在確認を求めるHELLOパケットを他のノードから受信して、該HELLOパケットを処理する。また、ノードXは、HELLOパケットを最初に送信した送信元ノードである。   As shown in FIG. 3, at least a node X, a node Y, and a node Z are connected to the ad hoc network in the second embodiment. Here, the node Y and the node Z are arbitrary nodes, receive HELLO packets for requesting existence confirmation from other nodes, and process the HELLO packets. Node X is a transmission source node that first transmits a HELLO packet.

図3に示すように、ノードXがHELLOパケットを送信し、ノードYがHELLOパケットを受信する(ステップS10)。   As illustrated in FIG. 3, the node X transmits a HELLO packet, and the node Y receives the HELLO packet (step S10).

HELLOパケットを受信したノードYは、ノードXとは異なるノードZにHELLOパケットを中継し、ノードZがHELLOパケットを受信する(ステップS11)。また、HELLOパケットを受信したノードZは、ノードYとは異なるノードにHELLOパケットを中継する(ステップS12)。   The node Y that has received the HELLO packet relays the HELLO packet to the node Z different from the node X, and the node Z receives the HELLO packet (step S11). Further, the node Z that has received the HELLO packet relays the HELLO packet to a node different from the node Y (step S12).

また、ノードYは、ステップS10において受信したHELLOパケットから、送信元ノードとしてノードXを識別する(ステップS13)。   Further, the node Y identifies the node X as a transmission source node from the HELLO packet received in step S10 (step S13).

次に、ノードYは、ステップS13において識別した送信元ノードXを、ノードYが存在することを示すREGISTERパケットの最終宛先として設定する(ステップS14)。   Next, the node Y sets the transmission source node X identified in step S13 as the final destination of the REGISTER packet indicating that the node Y exists (step S14).

そして、ノードYは、ステップS14において最終宛先を設定したREGISTERパケットを、HELLOパケットをノードYに送信したノードXに送信する(ステップS15)。   Then, the node Y transmits the REGISTER packet in which the final destination is set in step S14 to the node X that has transmitted the HELLO packet to the node Y (step S15).

同様に、ノードZは、ステップS11において受信したHELLOパケットから、送信元ノードとしてノードXを識別する(ステップS16)。   Similarly, the node Z identifies the node X as a transmission source node from the HELLO packet received in step S11 (step S16).

次に、ノードZは、ステップS16において識別した送信元ノードXを、ノードZが存在することを示すREGISTERパケットの最終宛先として設定する(ステップS17)。   Next, the node Z sets the transmission source node X identified in step S16 as the final destination of the REGISTER packet indicating that the node Z exists (step S17).

そして、ノードZは、ステップS17において最終宛先を設定したREGISTERパケットを、HELLOパケットをノードZに送信したノードYに送信する(ステップS18)。   Then, the node Z transmits the REGISTER packet in which the final destination is set in step S17 to the node Y that transmitted the HELLO packet to the node Z (step S18).

すると、REGISTERパケットを受信したノードYは、REGISTERパケットをノードXに中継する(ステップS19)。   Then, the node Y that has received the REGISTER packet relays the REGISTER packet to the node X (step S19).

このようなことから、実施例2によれば、HELLOパケットを受信したノードYは、HELLOパケットを他のノードZに中継し、かつ、REGISTERパケットをノードXに返信するので、ネットワークの負荷を抑えることが可能になる。   For this reason, according to the second embodiment, the node Y that has received the HELLO packet relays the HELLO packet to the other node Z and returns the REGISTER packet to the node X, thereby suppressing the load on the network. It becomes possible.

すなわち、従来の手法では、HELLOパケットを受信した各ノードは、最終宛先が自ノードである場合にのみREGISTERパケットを返信し、最終宛先が自ノードでない場合には、HELLOパケットを隣接ノードに中継するだけであった。このため、HELLOパケットの発信源となる発信源ノードは、自ノードが認知している他ノードの数分HELLOパケットを送信しなければならず、他ノードが増えれば増えるほど、ネットワークの負荷が高くなっていた。   That is, in the conventional method, each node that has received the HELLO packet returns a REGISTER packet only when the final destination is its own node, and when the final destination is not its own node, relays the HELLO packet to the adjacent node. It was only. For this reason, the transmission source node that is the transmission source of the HELLO packet must transmit HELLO packets by the number of other nodes recognized by the own node, and as the number of other nodes increases, the load on the network increases. It was.

これに対し、実施例2によれば、HELLOパケットを受信した各ノードは、最終宛先が自ノードであるか否かに関わらず、HELLOパケットを他のノードに中継し、かつ、REGISTERパケットを返信する。言い換えると、発信源ノードが通信経路上に1つのHELLOパケットを送信すると、通信経路上の各ノードが、HELLOパケットの中継とREGISTERパケットの返信とを行う。このように、発信源ノードが1つのHELLOパケットを送信するだけで、各ノードの存在確認ができる結果、HELLOパケットの数を減少させることが可能になり、ネットワークの負荷を抑えることが可能になる。   On the other hand, according to the second embodiment, each node that receives the HELLO packet relays the HELLO packet to another node and returns a REGISTER packet regardless of whether or not the final destination is its own node. To do. In other words, when the source node transmits one HELLO packet on the communication path, each node on the communication path relays the HELLO packet and returns a REGISTER packet. As described above, the existence of each node can be confirmed only by transmitting one HELLO packet from the transmission source node. As a result, the number of HELLO packets can be reduced, and the load on the network can be suppressed. .

[実施例2におけるアドホックネットワークシステムの構成]
次に、図4及び図5を用いて、実施例2におけるアドホックネットワークシステムの構成を説明する。図4は、実施例2におけるアドホックネットワークシステムの構成を示すブロック図である。図5は、実施例2におけるパケット及びルーティングテーブルを説明するための図である。
[Configuration of Ad Hoc Network System in Embodiment 2]
Next, the configuration of the ad hoc network system according to the second embodiment will be described with reference to FIGS. 4 and 5. FIG. 4 is a block diagram illustrating a configuration of the ad hoc network system according to the second embodiment. FIG. 5 is a diagram for explaining a packet and a routing table according to the second embodiment.

図4に示すように、ノード100は、通信部110と、記憶部120と、制御部130とを備える。   As illustrated in FIG. 4, the node 100 includes a communication unit 110, a storage unit 120, and a control unit 130.

通信部110は、無線通信可能な無線モジュール及びアンテナなどである。   The communication unit 110 is a wireless module and an antenna that can perform wireless communication.

記憶部120は、制御部130による各種処理に用いるデータを記憶し、特に、ルーティングテーブル部121と、ワークデータ部122とを備える。   The storage unit 120 stores data used for various processes by the control unit 130, and particularly includes a routing table unit 121 and a work data unit 122.

ルーティングテーブル部121は、通信経路情報を記憶する。ここで、通信経路情報とは、宛先となるノードにパケットを送信する際の通信経路を示す情報である。言い換えると、通信経路情報とは、パケットの宛先となるノードと、パケットを中継するノードとの対応関係を示す情報である。また、ルーティングテーブル部121は、対応関係を示す情報の他に、通信経路の品質を示す品質情報や、通信経路情報を取得したパケットを一意に識別するFID(Frame ID)を記憶する。   The routing table unit 121 stores communication path information. Here, the communication path information is information indicating a communication path when a packet is transmitted to a destination node. In other words, the communication path information is information indicating a correspondence relationship between a node that is a packet destination and a node that relays the packet. In addition to the information indicating the correspondence relationship, the routing table unit 121 stores quality information indicating the quality of the communication path and FID (Frame ID) for uniquely identifying the packet from which the communication path information has been acquired.

具体的には、ルーティングテーブル部121は、後述するパケット受信部131によってパケットが受信された場合に、後述するルーティングテーブル更新部132によって更新されることで通信経路情報を記憶する。また、ルーティングテーブル部121が記憶する通信経路情報は、後述するHELLOパケット中継部133による処理、REGISTERパケット返信部134による処理、REGISTERパケット中継部135による処理などに利用される。   Specifically, the routing table unit 121 stores communication path information by being updated by a routing table updating unit 132 described later when a packet is received by a packet receiving unit 131 described later. The communication path information stored in the routing table unit 121 is used for processing by a HELLO packet relay unit 133 (described later), processing by a REGISTER packet return unit 134, processing by a REGISTER packet relay unit 135, and the like.

例えば、ルーティングテーブル部121は、図5に示すように、通信経路情報(図5において「ルーティングテーブル」と示す)を記憶する。すなわち、ルーティングテーブル部121は、パケットの宛先となるノードを示す宛先ノード(『宛先』)と、パケットを中継するノードの内、自ノードと相互に接続するノードを示す隣接ノード(『隣接』)とを対応付けて記憶する。また、ルーティングテーブル部121は、宛先ノードとの間でパケットを送受信する通信経路の品質(『品質』)と、通信経路情報を取得したパケットを一意に識別するFID(『FID』)とを対応付けて記憶する。ここで、品質は、例えばホップ数から算出される値である。   For example, as shown in FIG. 5, the routing table unit 121 stores communication path information (shown as “routing table” in FIG. 5). That is, the routing table unit 121 includes a destination node (“destination”) indicating a node that is a packet destination, and an adjacent node (“adjacent”) indicating a node that interconnects with the own node among nodes that relay packets. Are stored in association with each other. In addition, the routing table unit 121 corresponds to the quality (“quality”) of the communication path for transmitting and receiving packets with the destination node, and the FID (“FID”) that uniquely identifies the packet for which the communication path information has been acquired. Add and remember. Here, the quality is a value calculated from the number of hops, for example.

具体的に例を挙げて説明すると、例えば、図5のS102に示すように、ルーティングテーブル部121は、宛先ノード『X』、品質『1』、隣接ノード『X』、FID『1』の通信経路情報を記憶する。すなわち、ルーティングテーブル部121は、ノード『X』を宛先としてパケットを送信する場合には隣接ノード『X』に送信する通信経路があり、経路の品質が『1』であることを記憶する。また、ルーティングテーブル部121は、この通信経路情報を取得したパケットを一意に識別するFIDが『1』であることを記憶する。   For example, as shown in S102 of FIG. 5, the routing table unit 121 communicates with the destination node “X”, the quality “1”, the adjacent node “X”, and the FID “1”. Stores route information. That is, the routing table unit 121 stores that there is a communication path to be transmitted to the adjacent node “X” when the packet is transmitted to the node “X” as the destination, and the quality of the path is “1”. In addition, the routing table unit 121 stores that the FID for uniquely identifying the packet from which the communication path information has been acquired is “1”.

ワークデータ部122は、ルーティングテーブル部121や、HELLOパケット、REGISTERパケットと同じ構造の記憶領域を持つ。具体的には、ワークデータ部122は、ルーティングテーブル部121に格納する前の不確定な通信経路情報を一時的に記憶したり、HELLOパケット、REGISTERパケットを生成する際の不確定な情報を一時的に記憶する。   The work data unit 122 has a storage area having the same structure as the routing table unit 121, the HELLO packet, and the REGISTER packet. Specifically, the work data unit 122 temporarily stores indeterminate communication path information before being stored in the routing table unit 121, or temporarily stores indeterminate information when generating a HELLO packet or a REGISTER packet. Remember me.

制御部130は、ノード100を制御して各種処理を実行する。制御部130は、特に、パケット受信部131と、ルーティングテーブル更新部132と、HELLOパケット中継部133と、REGISTERパケット返信部134と、REGISTERパケット中継部135とを備える。   The control unit 130 controls the node 100 to execute various processes. In particular, the control unit 130 includes a packet reception unit 131, a routing table update unit 132, a HELLO packet relay unit 133, a REGISTER packet return unit 134, and a REGISTER packet relay unit 135.

パケット受信部131は、HELLOパケットやREGISTERパケットを他のノードから受信する。具体的には、パケット受信部131は、隣接ノードから通信部110を介してパケットを受信すると、受信したパケットがHELLOパケットであるかREGISTERパケットであるか、あるいは通常のデータパケットであるかを判定する。   The packet receiving unit 131 receives a HELLO packet or a REGISTER packet from another node. Specifically, when the packet receiving unit 131 receives a packet from an adjacent node via the communication unit 110, the packet receiving unit 131 determines whether the received packet is a HELLO packet, a REGISTER packet, or a normal data packet. To do.

パケット受信部131は、受信したパケットがHELLOパケットもしくはREGISTERパケットであると判定した場合には、受信したパケットをルーティングテーブル更新部132に送る。一方、受信したパケットが通常のデータパケットであると判定した場合には、通常のデータパケット処理を行い、処理を終了する。   When the packet reception unit 131 determines that the received packet is a HELLO packet or a REGISTER packet, the packet reception unit 131 sends the received packet to the routing table update unit 132. On the other hand, when it is determined that the received packet is a normal data packet, normal data packet processing is performed, and the processing ends.

ルーティングテーブル更新部132は、ルーティングテーブル部121によって記憶される通信経路情報(ルーティングテーブル)を更新する。具体的には、ルーティングテーブル更新部132は、パケット受信部131からHELLOパケットもしくはREGISTERパケットを受け取ると、HELLOパケットもしくはREGISTERパケットを一意に識別するFIDを用いてルーティングテーブルを参照する。そして、ルーティングテーブル更新部132は、HELLOパケットもしくはREGISTERパケットに含まれるFIDと一致するFIDがルーティングテーブルに存在するか否かを判定する。ルーティングテーブル更新部132は、存在しないと判定した場合には、ルーティングテーブル更新処理を行い、存在すると判定した場合には、そのまま処理を終了する。   The routing table update unit 132 updates communication path information (routing table) stored by the routing table unit 121. Specifically, when receiving the HELLO packet or the REGISTER packet from the packet receiving unit 131, the routing table updating unit 132 refers to the routing table using an FID that uniquely identifies the HELLO packet or the REGISTER packet. Then, the routing table update unit 132 determines whether or not a FID that matches the FID included in the HELLO packet or the REGISTER packet exists in the routing table. The routing table update unit 132 performs a routing table update process when it is determined that it does not exist, and ends the process as it is when it is determined that it exists.

また、ルーティングテーブル更新部132は、HELLOパケットについてルーティングテーブル更新処理を行った場合には、その後、HELLOパケットをHELLOパケット中継部133に送る。一方、ルーティングテーブル更新部132は、REGISTERパケットについてルーティングテーブル更新処理を行った場合には、その後、REGISTERパケットをREGISTERパケット中継部135に送る。なお、ルーティングテーブル更新処理については、処理手順を説明する際に詳述する。   In addition, when the routing table update unit 132 performs the routing table update process for the HELLO packet, the routing table update unit 132 then sends the HELLO packet to the HELLO packet relay unit 133. On the other hand, when the routing table update unit 132 performs the routing table update process for the REGISTER packet, the routing table update unit 132 then sends the REGISTER packet to the REGISTER packet relay unit 135. The routing table update process will be described in detail when explaining the processing procedure.

HELLOパケット中継部133は、HELLOパケットを他のノードに中継する。具体的には、HELLOパケット中継部133は、ルーティングテーブル更新部132からHELLOパケットを受け取ると、HELLOパケットの中継処理を行う。また、HELLOパケット中継部133は、HELLOパケットの中継処理を行うと、その後、ルーティングテーブル更新部132から受け取ったHELLOパケットを、REGISTERパケット返信部134に送る。なお、HELLOパケットの中継処理については、処理手順を説明する際に詳述する。   The HELLO packet relay unit 133 relays the HELLO packet to other nodes. Specifically, when the HELLO packet relay unit 133 receives a HELLO packet from the routing table update unit 132, the HELLO packet relay unit 133 performs a HELLO packet relay process. When the HELLO packet relay unit 133 performs the HELLO packet relay process, the HELLO packet relay unit 133 then sends the HELLO packet received from the routing table update unit 132 to the REGISTER packet return unit 134. The HELLO packet relay process will be described in detail when the processing procedure is described.

REGISTERパケット返信部134は、HELLOパケットの送信元ノードにREGISTERパケットを返信する。具体的には、REGISTERパケット返信部134は、HELLOパケット中継部133からHELLOパケットを受け取ると、REGISTERパケットの返信処理を行い、その後、処理を終了する。なお、REGISTERパケットの返信処理については、処理手順を説明する際に詳述する。   The REGISTER packet return unit 134 returns the REGISTER packet to the transmission source node of the HELLO packet. Specifically, when the REGISTER packet reply unit 134 receives the HELLO packet from the HELLO packet relay unit 133, the REGISTER packet reply unit 134 performs a REGISTER packet reply process, and then ends the process. The REGISTER packet return process will be described in detail when the processing procedure is described.

REGISTERパケット中継部135は、REGISTERパケットを他のノードに中継する。具体的には、REGISTERパケット中継部135は、ルーティングテーブル更新部132からREGISTERパケットを受け取ると、まず、REGSITERパケットの宛先が自ノードであるか否かを判定する。   The REGISTER packet relay unit 135 relays the REGISTER packet to another node. Specifically, when the REGISTER packet relay unit 135 receives the REGISTER packet from the routing table update unit 132, it first determines whether or not the destination of the REGSITER packet is its own node.

そして、REGISTERパケット中継部135は、自ノードでないと判定した場合には、REGISTERパケットの中継処理を行い、その後、処理を終了する。一方、REGISTERパケット中継部135は、自ノードであると判定した場合には、そのまま処理を終了する。なお、REGISTERパケットの中継処理については、処理手順を説明する際に詳述する。   If the REGISTER packet relay unit 135 determines that the node is not its own node, the REGISTER packet relay unit 135 performs the REGISTER packet relay process, and then ends the process. On the other hand, if the REGISTER packet relay unit 135 determines that the node is the own node, the REGISTER packet relay unit 135 ends the process. Note that the REGISTER packet relay processing will be described in detail when the processing procedure is described.

[実施例2におけるアドホックネットワークシステムの処理手順]
次に、図5〜図10を用いて、実施例2におけるアドホックネットワークシステムの処理手順を説明する。図5は、実施例2におけるパケット及びルーティングテーブルを説明するための図である。
[Processing Procedure of Ad Hoc Network System in Embodiment 2]
Next, the processing procedure of the ad hoc network system according to the second embodiment will be described with reference to FIGS. FIG. 5 is a diagram for explaining a packet and a routing table according to the second embodiment.

[ノードにおける処理手順の全体]
まず、図6を用いて、ノードにおける処理手順の全体を説明する。図6は、ノードにおける処理手順の全体を説明するためのフローチャートである。
[Overall procedure in the node]
First, the entire processing procedure in the node will be described with reference to FIG. FIG. 6 is a flowchart for explaining the entire processing procedure in the node.

図6に示すように、ノード100において、パケット受信部131が、パケットを受信する(ステップS201)。   As shown in FIG. 6, in the node 100, the packet receiver 131 receives a packet (step S201).

ここで、HELLOパケットは、例えば図5に示すような構造のパケットである。具体的には、HELLOパケットを最初に送信したノードを示す送信元ノード(『送信元』)、送信元ノードからの通信経路の品質を示すホップ数(『ホップ数』)、隣接ノード(『隣接』)、HELLOパケットを一意に識別するFID(『FID』)を有する。すなわち、例えばノードXがステップS101において送信したHELLOパケットは、ノード『X』が送信元ノードであること、送信元ノードXからのホップ数が『1』であること、隣接ノードは自ノード『X』であること、FIDは『1』であることを示す情報を含む。   Here, the HELLO packet is a packet having a structure as shown in FIG. 5, for example. Specifically, a transmission source node (“transmission source”) indicating the node that first transmitted the HELLO packet, a hop number (“hop count”) indicating the quality of the communication path from the transmission source node, an adjacent node (“adjacent” )) And a FID (“FID”) for uniquely identifying the HELLO packet. That is, for example, in the HELLO packet transmitted by the node X in step S101, the node “X” is the transmission source node, the hop count from the transmission source node X is “1”, and the adjacent node is the own node “X ", And the FID includes information indicating" 1 ".

また、REGISTERパケットは、例えば図5に示すような構造のパケットである。具体的には、REGISTERパケットを最初に送信したノードを示す送信元ノード(『送信元』)、送信元ノードからの通信経路の品質を示すホップ数(『ホップ数』)を有する。また、REGISTERパケットの最終宛先となるノードを示す宛先ノード(『宛先』)、隣接ノード(『隣接』)、REGISTERパケットを一意に識別するFID(『FID』)を有する。すなわち、例えばノードZがステップS108において送信したREGISTERパケットは、ノード『Z』が送信元ノードであること、送信元ノードZからのホップ数が『1』であることを示す情報を含む。また、最終宛先となるノードはノード『X』であること、隣接ノードは自ノード『Z』であること、FIDは『1』であることを示す情報を含む。   The REGISTER packet is a packet having a structure as shown in FIG. 5, for example. Specifically, it has a transmission source node (“transmission source”) indicating the node that first transmitted the REGISTER packet, and a hop count (“hop count”) indicating the quality of the communication path from the transmission source node. In addition, a destination node (“destination”) indicating a node that is a final destination of the REGISTER packet, an adjacent node (“adjacent”), and a FID (“FID”) for uniquely identifying the REGISTER packet are included. That is, for example, the REGISTER packet transmitted by the node Z in step S108 includes information indicating that the node “Z” is the transmission source node and the hop count from the transmission source node Z is “1”. In addition, information indicating that the node as the final destination is the node “X”, the adjacent node is the local node “Z”, and the FID is “1”.

そして、パケット受信部131は、受信したパケットがHELLOパケットであるか(ステップS202)、REGISTERパケットであるか(ステップS207)、あるいは通常のデータパケットであるかを判定する。   Then, the packet reception unit 131 determines whether the received packet is a HELLO packet (step S202), a REGISTER packet (step S207), or a normal data packet.

受信したパケットがHELLOパケットであると判定した場合には(ステップS202肯定)、パケット受信部131は、受信したパケットをルーティングテーブル更新部132に送る。   If it is determined that the received packet is a HELLO packet (Yes at step S202), the packet receiving unit 131 sends the received packet to the routing table updating unit 132.

すると、ルーティングテーブル更新部132は、HELLOパケットに含まれるFIDを用いてルーティングテーブルを参照し、HELLOパケットに含まれるFIDと一致するFIDがルーティングテーブルに存在するか否かを判定する(ステップS203)。   Then, the routing table update unit 132 refers to the routing table using the FID included in the HELLO packet, and determines whether there is an FID that matches the FID included in the HELLO packet (step S203). .

一致するFIDが存在すると判定した場合には(ステップS203否定)、ルーティングテーブル更新部132は、そのまま処理を終了する。一方、一致するFIDが存在しないと判定した場合には(ステップS203肯定)、ルーティングテーブル更新部132は、後述するルーティングテーブル更新処理を行い(ステップS204)、その後、HELLOパケットをHELLOパケット中継部133に送る。   When it is determined that there is a matching FID (No at Step S203), the routing table update unit 132 ends the process as it is. On the other hand, when it is determined that there is no matching FID (Yes at Step S203), the routing table update unit 132 performs a routing table update process described later (Step S204). Send to.

すると、HELLOパケット中継部133は、後述するHELLOパケットの中継処理を行い(ステップS205)、その後、ルーティングテーブル更新部132から受け取ったHELLOパケットを、REGISTERパケット返信部134に送る。   Then, the HELLO packet relay unit 133 performs a HELLO packet relay process to be described later (step S205), and then sends the HELLO packet received from the routing table update unit 132 to the REGISTER packet return unit 134.

続いて、REGISTERパケット返信部134は、後述するREGISTERパケットの返信処理を行い(ステップS206)、その後、処理を終了する。   Subsequently, the REGISTER packet return unit 134 performs a REGISTER packet return process described later (step S206), and then ends the process.

一方、ステップS202において、受信したパケットがHELLOパケットでないと判定した場合には(ステップS202否定)、パケット受信部131は、次に、受信したパケットがREGISTERパケットであるか否かを判定する(ステップS207)。   On the other hand, when it is determined in step S202 that the received packet is not a HELLO packet (No in step S202), the packet receiver 131 next determines whether or not the received packet is a REGISTER packet (step S202). S207).

受信したパケットがREGISTERパケットであると判定した場合には(ステップS207肯定)、パケット受信部131は、受信したパケットをルーティングテーブル更新部132に送る。   If it is determined that the received packet is a REGISTER packet (Yes at step S207), the packet receiving unit 131 sends the received packet to the routing table updating unit 132.

すると、ルーティングテーブル更新部132は、REGISTERパケットに含まれるFIDを用いてルーティングテーブルを参照し、REGISTERパケットに含まれるFIDと一致するFIDがルーティングテーブルに存在するか否かを判定する(ステップS208)。   Then, the routing table update unit 132 refers to the routing table using the FID included in the REGISTER packet, and determines whether there is an FID that matches the FID included in the REGISTER packet (step S208). .

一致するFIDが存在すると判定した場合には(ステップS208否定)、ルーティングテーブル更新部132は、そのまま処理を終了する。一方、一致するFIDが存在しないと判定した場合には(ステップS208肯定)、ルーティングテーブル更新部132は、後述するルーティングテーブル更新処理を行い(ステップS209)、その後、REGISTERパケットをREGISTERパケット中継部135に送る。   When it is determined that there is a matching FID (No at Step S208), the routing table update unit 132 ends the process as it is. On the other hand, if it is determined that there is no matching FID (Yes at Step S208), the routing table update unit 132 performs a routing table update process described later (Step S209), and then transmits the REGISTER packet to the REGISTER packet relay unit 135. Send to.

すると、REGISTERパケット中継部135は、まず、REGSITERパケットの宛先が自ノードであるか否かを判定する(ステップS210)。自ノードであると判定した場合には(ステップS210否定)、そのまま処理を終了する。   Then, the REGISTER packet relay unit 135 first determines whether or not the destination of the REGSITER packet is the local node (step S210). If it is determined that the node is the own node (No at step S210), the process is terminated as it is.

一方、自ノードでないと判定した場合には(ステップS210肯定)、REGISTERパケット中継部135は、後述するREGISTERパケットの中継処理を行い(ステップS211)、その後、処理を終了する。   On the other hand, if it is determined that the node is not the own node (Yes at Step S210), the REGISTER packet relay unit 135 performs a REGISTER packet relay process (to be described later) (Step S211), and then ends the process.

一方、ステップS207において、受信したパケットがREGISTERパケットでないと判定した場合には(ステップS207否定)、パケット受信部131は、受信したパケットが通常のデータパケットであると判定し、通常のデータパケット処理を行い(ステップS212)、処理を終了する。   On the other hand, if it is determined in step S207 that the received packet is not a REGISTER packet (No in step S207), the packet receiver 131 determines that the received packet is a normal data packet, and performs normal data packet processing. (Step S212), and the process ends.

[ルーティングテーブルの更新処理]
次に、図7を用いて、ルーティングテーブルの更新処理を説明する。図7は、ルーティングテーブルの更新処理を説明するためのフローチャートである。なお、ルーティングテーブルの更新処理は、HELLOパケットを用いて更新する場合とREGISTERパケットを用いて更新する場合とで異ならないため、以下では、HELLOパケットを用いて更新する場合を説明する。
[Routing table update processing]
Next, routing table update processing will be described with reference to FIG. FIG. 7 is a flowchart for explaining routing table update processing. Since the routing table update processing is not different between the case of updating using the HELLO packet and the case of updating using the REGISTER packet, the case of updating using the HELLO packet will be described below.

ルーティングテーブル更新部132は、まず、HELLOパケットから、送信元ノードを識別する(ステップS204−1)。例えば、図5に示すノードYのルーティングテーブル更新部132は、ステップS101において受信したHELLOパケットから、送信元ノード『X』を識別する。   The routing table update unit 132 first identifies the transmission source node from the HELLO packet (step S204-1). For example, the routing table updating unit 132 of the node Y illustrated in FIG. 5 identifies the transmission source node “X” from the HELLO packet received in step S101.

次に、ルーティングテーブル更新部132は、ワークデータ部122に、ルーティングテーブルと同じ構造を持つ一時的な記憶領域としてワークテーブルを設定し、設定したワークテーブルにレコードを新規作成する(ステップS204−2)。   Next, the routing table update unit 132 sets a work table as a temporary storage area having the same structure as the routing table in the work data unit 122, and newly creates a record in the set work table (step S204-2). ).

続いて、ルーティングテーブル更新部132は、ワークテーブルに新規作成したレコードの『宛先』に、ステップS204−1において識別した送信元ノードを設定する(ステップS204−3)。例えば、ルーティングテーブル更新部132は、ワークテーブルに新規作成したレコードの『宛先』に送信元ノード『X』を設定する。   Subsequently, the routing table update unit 132 sets the transmission source node identified in step S204-1 to the “destination” of the newly created record in the work table (step S204-3). For example, the routing table update unit 132 sets the transmission source node “X” as the “destination” of the newly created record in the work table.

また、ルーティングテーブル更新部132は、受信したHELLOパケットから隣接ノードを識別し、ワークテーブルに新規作成したレコードの『隣接』に、識別した隣接ノードを設定する(ステップS204−4)。例えば、ルーティングテーブル更新部132は、ステップS101において受信したHELLOパケットから隣接ノード『X』を識別し、ワークテーブルに新規作成したレコードの『隣接』に、識別した隣接ノード『X』を設定する。   Further, the routing table update unit 132 identifies the adjacent node from the received HELLO packet, and sets the identified adjacent node in “adjacent” of the newly created record in the work table (step S204-4). For example, the routing table update unit 132 identifies the adjacent node “X” from the HELLO packet received in step S101, and sets the identified adjacent node “X” in “adjacent” of the newly created record in the work table.

また、ルーティングテーブル更新部132は、受信したHELLOパケットからホップ数を識別し、ワークテーブルに新規作成したレコードの『品質』に、識別したホップ数を設定する(ステップS204−5)。例えば、ルーティングテーブル更新部132は、ステップS101において受信したHELLOパケットからホップ数『1』を識別し、ワークテーブルに新規作成したレコードの『品質』に、識別したホップ数『1』を設定する。   Also, the routing table update unit 132 identifies the number of hops from the received HELLO packet, and sets the identified number of hops in the “quality” of the newly created record in the work table (step S204-5). For example, the routing table updating unit 132 identifies the hop number “1” from the HELLO packet received in step S101, and sets the identified hop number “1” as the “quality” of the newly created record in the work table.

また、ルーティングテーブル更新部132は、受信したHELLOパケットからFIDを識別し、ワークテーブルに新規作成したレコードの『FID』に、識別したFIDを設定する(ステップS204−6)。例えば、ルーティングテーブル更新部132は、ステップS101において受信したHELLOパケットからFID『1』を識別し、ワークテーブルに新規作成したレコードの『FID』に、識別したFID『1』を設定する。   Further, the routing table update unit 132 identifies the FID from the received HELLO packet, and sets the identified FID in “FID” of the newly created record in the work table (step S204-6). For example, the routing table updating unit 132 identifies the FID “1” from the HELLO packet received in step S101, and sets the identified FID “1” to “FID” of the newly created record in the work table.

そして、ルーティングテーブル更新部132は、ルーティングテーブルに同一の『宛先』及び『隣接』のレコードがあるか否かを判定する(ステップS204−7)。そして、ある場合には(ステップS204−7肯定)、ルーティングテーブル更新部132は、ワークテーブルに新規作成したレコードをルーティングテーブルに上書きして(ステップS204−8)、処理を終了する。例えば、図5に示すノードYのルーティングテーブル更新部132は、ステップS101において受信したHELLOパケットから、ステップS102に示すようにルーティングテーブルを更新する。   Then, the routing table updating unit 132 determines whether or not the same “destination” and “adjacent” records exist in the routing table (step S204-7). If there is (Yes at Step S204-7), the routing table update unit 132 overwrites the routing table with the newly created record in the work table (Step S204-8), and ends the process. For example, the routing table updating unit 132 of the node Y illustrated in FIG. 5 updates the routing table as illustrated in Step S102 from the HELLO packet received in Step S101.

一方、ない場合には(ステップS204−7否定)、ルーティングテーブル更新部132は、ワークテーブルに新規作成したレコードをルーティングテーブルに新規追加して(ステップS204−9)、処理を終了する。   On the other hand, if not (No at Step S204-7), the routing table update unit 132 adds a newly created record to the work table to the routing table (Step S204-9), and ends the process.

[HELLOパケットの中継処理]
次に、図8を用いて、HELLOパケットの中継処理を説明する。図8は、HELLOパケットの中継処理を説明するためのフローチャートである。
[Relay processing of HELLO packet]
Next, HELLO packet relay processing will be described with reference to FIG. FIG. 8 is a flowchart for explaining the HELLO packet relay process.

HELLOパケット中継部133は、まず、ワークデータ部122に、HELLOパケットと同じ構造を持つ一時的な記憶領域としてワークパケットを設定し、設定したワークパケットに、受信したHELLOパケットをコピーする(ステップS205−1)。例えば、図5に示すノードYのHELLOパケット中継部133は、ステップS101において受信したHELLOパケットをワークパケットにコピーする。   First, the HELLO packet relay unit 133 sets a work packet as a temporary storage area having the same structure as the HELLO packet in the work data unit 122, and copies the received HELLO packet to the set work packet (step S205). -1). For example, the HELLO packet relay unit 133 of the node Y shown in FIG. 5 copies the HELLO packet received in step S101 to the work packet.

次に、HELLOパケット中継部133は、ワークパケットにコピーされた『ホップ数』に1を加え、新たなホップ数を設定する(ステップS205−2)。例えば、HELLOパケット中継部133は、ワークパケットに新たなホップ数『2』を設定する。   Next, the HELLO packet relay unit 133 adds 1 to the “hop count” copied to the work packet and sets a new hop count (step S <b> 205-2). For example, the HELLO packet relay unit 133 sets a new hop number “2” in the work packet.

また、HELLOパケット中継部133は、ワークパケットにコピーされた『隣接』に自ノードを設定する(ステップS205−3)。例えば、HELLOパケット中継部133は、『隣接』に自ノード『Y』を設定する。   Further, the HELLO packet relay unit 133 sets its own node to “adjacent” copied to the work packet (step S205-3). For example, the HELLO packet relay unit 133 sets its own node “Y” to “adjacent”.

また、HELLOパケット中継部133は、ワークパケットにコピーされた『FID』に、そのまま『FID』を設定する(ステップS205−4)。例えば、HELLOパケット中継部133は、『FID』にFID『1』を設定する。   Further, the HELLO packet relay unit 133 sets “FID” as it is to “FID” copied to the work packet (step S205-4). For example, the HELLO packet relay unit 133 sets FID “1” to “FID”.

そして、HELLOパケット中継部133は、新規のHELLOパケットを生成し、生成した新HELLOパケットにワークパケットの内容を設定する(ステップS205−5)。   Then, the HELLO packet relay unit 133 generates a new HELLO packet, and sets the contents of the work packet in the generated new HELLO packet (step S205-5).

その後、HELLOパケット中継部133は、ステップS205−5で生成したHELLOパケットを送信する(ステップS205−6)。例えば、図5に示すノードYのHELLOパケット中継部133は、生成したHELLOパケットをノードZに送信する(ステップS103を参照)。   Thereafter, the HELLO packet relay unit 133 transmits the HELLO packet generated in step S205-5 (step S205-6). For example, the HELLO packet relay unit 133 of the node Y illustrated in FIG. 5 transmits the generated HELLO packet to the node Z (see step S103).

[REGISTERパケットの返信処理]
次に、図9を用いて、REGISTERパケットの返信処理を説明する。図9は、REGISTERパケットの返信処理を説明するためのフローチャートである。
[Register packet reply processing]
Next, the REGISTER packet return process will be described with reference to FIG. FIG. 9 is a flowchart for explaining a REGISTER packet return process.

REGISTERパケット返信部134は、まず、新規のREGISTERパケットを生成するために、新REGISTERパケットの新規フィールドを生成する(ステップS206−1)。例えば、図5に示すノードYのREGISTERパケット返信部134は、『送信元』、『ホップ数』、『宛先』、『隣接』、『FID』の空フィールドを生成する。   The REGISTER packet return unit 134 first generates a new field of the new REGISTER packet in order to generate a new REGISTER packet (step S206-1). For example, the REGISTER packet return unit 134 of the node Y shown in FIG. 5 generates empty fields of “transmission source”, “hop count”, “destination”, “adjacent”, and “FID”.

次に、REGISTERパケット返信部134は、空フィールド『送信元』に自ノードを設定する(ステップS206−2)。例えば、図5のステップS104に示すように、REGISTERパケット返信部134は、『送信元』に自ノード『Y』を設定する。   Next, the REGISTER packet return unit 134 sets its own node in the empty field “transmission source” (step S206-2). For example, as shown in step S104 of FIG. 5, the REGISTER packet reply unit 134 sets its own node “Y” as “transmission source”.

また、REGISTERパケット返信部134は、空フィールド『ホップ数』に『1』を設定する(ステップS206−3)。   Further, the REGISTER packet reply unit 134 sets “1” to the empty field “hop count” (step S206-3).

また、REGISTERパケット返信部134は、空フィールド『宛先』に、HELLOパケットの送信元ノードを設定する(ステップS206−4)。例えば、図5のステップS104に示すように、REGISTERパケット返信部134は、『宛先』に、ルーティングテーブルの更新処理にて識別した送信元ノード『X』を設定する。   Further, the REGISTER packet reply unit 134 sets the transmission source node of the HELLO packet in the empty field “destination” (step S206-4). For example, as shown in step S104 of FIG. 5, the REGISTER packet reply unit 134 sets the transmission source node “X” identified in the routing table update process to “destination”.

また、REGISTERパケット返信部134は、空フィールド『隣接』に自ノードを設定する(ステップS206−5)。例えば、図5のステップS104に示すように、REGISTERパケット返信部134は、『隣接』に自ノード『Y』を設定する。   Further, the REGISTER packet reply unit 134 sets its own node in the empty field “adjacent” (step S206-5). For example, as shown in step S104 in FIG. 5, the REGISTER packet reply unit 134 sets its own node “Y” to “adjacent”.

また、REGISTERパケット返信部134は、空フィールド『FID』に、HELLOパケットの『FID』を設定する(ステップS206−6)。例えば、図5のステップS104に示すように、REGISTERパケット返信部134は、ステップS101において受信したHELLOパケットに含まれるFID『1』を設定する。   The REGISTER packet return unit 134 sets “FID” of the HELLO packet in the empty field “FID” (step S206-6). For example, as shown in step S104 of FIG. 5, the REGISTER packet reply unit 134 sets the FID “1” included in the HELLO packet received in step S101.

そして、REGISTERパケット返信部134は、ステップS206−6までに生成したREGISTERパケットを送信する(ステップS206−7)。例えば、図5のステップS104に示すように、ノードYのREGISTERパケット返信部134は、生成したREGISTERパケットを、ステップS101においてHELLOパケットをノードYに送信したノードXに送信する。   Then, the REGISTER packet return unit 134 transmits the REGISTER packet generated up to step S206-6 (step S206-7). For example, as shown in step S104 of FIG. 5, the REGISTER packet return unit 134 of the node Y transmits the generated REGISTER packet to the node X that has transmitted the HELLO packet to the node Y in step S101.

[REGISTERパケットの中継処理]
次に、図10を用いて、REGISTERパケットの中継処理を説明する。図10は、REGISTERパケットの中継処理を説明するためのフローチャートである。
[Relay processing of REGISTER packet]
Next, the relay processing of the REGISTER packet will be described with reference to FIG. FIG. 10 is a flowchart for explaining the relay process of the REGISTER packet.

REGISTERパケット中継部135は、まず、ワークデータ部122に、REGISTERパケットと同じ構造を持つ一時的な記憶領域としてワークパケットを設定し、設定したワークパケットに、受信したREGISTERパケットをコピーする(ステップS211−1)。例えば、図5に示すノードYのREGISTERパケット中継部135は、ステップS108において受信したREGISTERパケットをワークパケットにコピーする。   The REGISTER packet relay unit 135 first sets a work packet as a temporary storage area having the same structure as the REGISTER packet in the work data unit 122, and copies the received REGISTER packet to the set work packet (step S211). -1). For example, the REGISTER packet relay unit 135 of the node Y shown in FIG. 5 copies the REGISTER packet received in step S108 to the work packet.

次に、REGISTERパケット中継部135は、ワークパケットにコピーされた『ホップ数』に1を加え、新たなホップ数を設定する(ステップS211−2)。例えば、REGISTERパケット中継部135は、ワークパケットに新たなホップ数『2』を設定する。   Next, the REGISTER packet relay unit 135 adds 1 to the “hop count” copied to the work packet, and sets a new hop count (step S211-2). For example, the REGISTER packet relay unit 135 sets a new hop number “2” in the work packet.

また、REGISTERパケット中継部135は、ワークパケットにコピーされた『隣接』に自ノードを設定する(ステップS211−3)。例えば、REGISTERパケット中継部135は、『隣接』に自ノード『Y』を設定する。   Further, the REGISTER packet relay unit 135 sets its own node to “adjacent” copied to the work packet (step S211-3). For example, the REGISTER packet relay unit 135 sets its own node “Y” to “adjacent”.

また、REGISTERパケット中継部135は、ワークパケットにコピーされた『FID』に、そのまま『FID』を設定する(ステップS211−4)。例えば、REGISTERパケット中継部135は、『FID』にFID『1』を設定する。なお、REGISTERパケット中継部135は、ワークパケットにコピーされた『送信元』および『宛先』に変更を加えない。   The REGISTER packet relay unit 135 sets “FID” as it is to “FID” copied to the work packet (step S211-4). For example, the REGISTER packet relay unit 135 sets FID “1” to “FID”. The REGISTER packet relay unit 135 does not change the “transmission source” and “destination” copied to the work packet.

そして、REGISTERパケット中継部135は、中継用のREGISTERパケットを生成し、生成したREGISTERパケットにワークパケットの内容を設定する(ステップS211−5)。例えば、図5に示すノードYのREGISTERパケット中継部135は、生成したREGISTERパケットに、送信元『Z』、ホップ数『2』、宛先『X』、隣接『Y』、FID『1』を設定する。   Then, the REGISTER packet relay unit 135 generates a REGISTER packet for relay, and sets the content of the work packet in the generated REGISTER packet (step S211-5). For example, the REGISTER packet relay unit 135 of the node Y illustrated in FIG. 5 sets the transmission source “Z”, the number of hops “2”, the destination “X”, the adjacent “Y”, and the FID “1” in the generated REGISTER packet. To do.

その後、REGISTERパケット中継部135は、ステップS211−5で生成したREGISTERパケットを送信する(ステップS211−6)。例えば、図5に示すノードYのREGISTERパケット中継部135は、生成したREGISTERパケットをノードXに送信する(ステップS110を参照)。   Thereafter, the REGISTER packet relay unit 135 transmits the REGISTER packet generated in step S211-5 (step S211-6). For example, the REGISTER packet relay unit 135 of the node Y shown in FIG. 5 transmits the generated REGISTER packet to the node X (see step S110).

[実施例2の効果]
上記してきたように、実施例2によれば、複数のノードが接続されたアドホックネットワークにおける任意のノードは、存在確認を求めるHELLOパケットを他のノードから受信すると、受信したHELLOパケットを、他のノードとは異なるノードに中継する。また、ノードは、受信したHELLOパケットから、HELLOパケットを最初に送信したノードである発信源ノードを識別し、識別した発信源ノードを、ノードが存在することを示すREGISTERパケットの最終宛先として設定する。そして、ノードは、最終宛先を設定したREGISTERパケットを、HELLOパケットをノードに送信した他のノードに送信する。
[Effect of Example 2]
As described above, according to the second embodiment, when an arbitrary node in an ad hoc network to which a plurality of nodes are connected receives a HELLO packet for confirmation of existence from another node, the received HELLO packet is transferred to another node. Relay to a node different from the node. Also, the node identifies the source node that is the node that first transmitted the HELLO packet from the received HELLO packet, and sets the identified source node as the final destination of the REGISTER packet indicating that the node exists. . Then, the node transmits the REGISTER packet in which the final destination is set to the other node that has transmitted the HELLO packet to the node.

このようなことから、実施例2によれば、ネットワークの負荷を抑えることが可能になる。すなわち、従来の手法では、HELLOパケットを受信した各ノードは、最終宛先が自ノードである場合にのみREGISTERパケットを返信し、最終宛先が自ノードでない場合には、HELLOパケットを隣接ノードに中継するだけであった。このため、HELLOパケットの発信源となる発信源ノードは、自ノードが認知している他ノードの数分HELLOパケットを送信しなければならず、他ノードが増えれば増えるほど、ネットワークの負荷が高くなっていた。   For this reason, according to the second embodiment, it is possible to suppress the load on the network. That is, in the conventional method, each node that has received the HELLO packet returns a REGISTER packet only when the final destination is its own node, and when the final destination is not its own node, relays the HELLO packet to the adjacent node. It was only. For this reason, the transmission source node that is the transmission source of the HELLO packet must transmit HELLO packets by the number of other nodes recognized by the own node, and as the number of other nodes increases, the load on the network increases. It was.

これに対し、実施例2によれば、HELLOパケットを受信した各ノードは、最終宛先が自ノードであるか否かに関わらず、HELLOパケットを他のノードに中継し、かつ、REGISTERパケットを返信する。言い換えると、発信源ノードが通信経路上に1つのHELLOパケットを送信すると、通信経路上の各ノードが、HELLOパケットの中継とREGISTERパケットの返信とを行う。このように、発信源ノードが1つのHELLOパケットを送信するだけで、各ノードの存在確認ができる結果、HELLOパケットの数を減少させることが可能になり、ネットワークの負荷を抑えることが可能になる。   On the other hand, according to the second embodiment, each node that receives the HELLO packet relays the HELLO packet to another node and returns a REGISTER packet regardless of whether or not the final destination is its own node. To do. In other words, when the source node transmits one HELLO packet on the communication path, each node on the communication path relays the HELLO packet and returns a REGISTER packet. As described above, the existence of each node can be confirmed only by transmitting one HELLO packet from the transmission source node. As a result, the number of HELLO packets can be reduced, and the load on the network can be suppressed. .

図11は、実施例2の効果を説明するための図であり、発信源からゲートウェイまでのノード数ごとに、従来の手法(『従来方式が必要なパケット数』を参照)と実施例2の手法(『実施例2方式が必要なパケット数』を参照)とを比較したものである。なお、ここにいうゲートウェイノードとは、外部ネットワークと接続されているノードのことであり、発信源ノードがゲートウェイノードを最終宛先として設定したものとする。   FIG. 11 is a diagram for explaining the effect of the second embodiment. For each number of nodes from the transmission source to the gateway, the conventional method (see “number of packets requiring the conventional method”) and the second embodiment are described. This is a comparison with a method (see “Number of Packets Required for Method of Example 2”). Here, the gateway node is a node connected to an external network, and it is assumed that the source node sets the gateway node as the final destination.

すると、従来の手法では、ノード数が『n』である場合には『Σ2n』だけパケット数が必要となるのに対し、実施例2の手法では『Σ2n−Σ(n−1)』のパケット数で済むことになり、パケット数を減少させることが可能であることがわかる。   Then, in the conventional method, when the number of nodes is “n”, the number of packets is required by “Σ2n”, whereas in the method of the second embodiment, “Σ2n−Σ (n−1)” packets are used. It will be understood that the number of packets can be reduced.

また、実施例2において説明したように、HELLOパケットの最終宛先が設定されているといないとに関わらず、各ノードは、REGISTERパケットを返信する。すなわち、HELLOパケットに、HELLOパケットの最終宛先が設定されていない場合であっても、各ノードは、REGISTERパケットを返信する。一方、HELLOパケットの最終宛先が設定されている場合にも、各ノードは、HELLOパケットの最終宛先として自ノードが設定されているか否かに関わらず、REGISTERパケットを返信する。   Further, as described in the second embodiment, each node returns a REGISTER packet regardless of whether or not the final destination of the HELLO packet is set. That is, each node returns a REGISTER packet even if the final destination of the HELLO packet is not set in the HELLO packet. On the other hand, even when the final destination of the HELLO packet is set, each node returns a REGISTER packet regardless of whether or not the own node is set as the final destination of the HELLO packet.

また、実施例2において説明したように、各ノードは、受信したHELLOパケットに含まれるFIDをルーティングテーブルに記憶する。そして、各ノードは、受信したHELLOパケットに含まれるFIDと一致するFIDがルーティングテーブルに存在するか否かを判定し、存在する場合は、HELLOパケットを他のノードに中継しない。このようなことから、実施例2によれば、同じHELLOパケットが中継され続けるといった事態を防止することも可能になる。   Further, as described in the second embodiment, each node stores the FID included in the received HELLO packet in the routing table. Then, each node determines whether or not a FID that matches the FID included in the received HELLO packet exists in the routing table, and if it exists, does not relay the HELLO packet to another node. For this reason, according to the second embodiment, it is possible to prevent a situation in which the same HELLO packet is continuously relayed.

以上、実施例のいくつかを図面に基づいて詳細に説明したが、これらは例示であり、発明の開示の欄に記載の態様を始めとして、当業者の知識に基づいて種々の変形、改良を施した他の形態で本発明を実施することが可能である。   Although some of the embodiments have been described in detail with reference to the drawings, these are only examples, and various modifications and improvements can be made based on the knowledge of those skilled in the art including the aspects described in the column of the disclosure of the invention. It is possible to implement the present invention in other forms.

[コンピュータ]
上記の実施例で説明した各種の処理は、予め用意されたプログラムを、フレキシブルディスク(FD)、CD−ROM、MOディスク、DVDディスク、光磁気ディスク、ICカードなどの記憶媒体が記憶し、コンピュータが記憶媒体からプログラムを読み出して実行することによって実現することができる。そこで、以下では、図12を用いて、上記の実施例と同様の機能を有する制御プログラムを記憶媒体から読み出して実行するコンピュータの一例を説明する。図12は、制御プログラムを実行するコンピュータを示す図である。
[Computer]
In the various processes described in the above embodiments, a program prepared in advance is stored in a storage medium such as a flexible disk (FD), a CD-ROM, an MO disk, a DVD disk, a magneto-optical disk, and an IC card. Can be realized by reading and executing the program from the storage medium. In the following, an example of a computer that reads and executes a control program having the same function as that of the above embodiment from a storage medium will be described with reference to FIG. FIG. 12 is a diagram illustrating a computer that executes a control program.

図12に示すように制御プログラム(コンピュータ)40は、キャッシュ41、RAM(Random Access Memory)42、HDD(Hard Disk Drive)43、ROM(Read Only Memory)44およびCPU(Central Processing Unit)45をバス46で接続して構成される。ここで、コンピュータ40は、記憶媒体から制御プログラムを読み出し、ROM44に、要求制御情報受信プログラム44a、要求制御情報中継プログラム44b、及び存在制御情報返信プログラム44cを格納する。   As shown in FIG. 12, the control program (computer) 40 is a bus for a cache 41, a RAM (Random Access Memory) 42, an HDD (Hard Disk Drive) 43, a ROM (Read Only Memory) 44 and a CPU (Central Processing Unit) 45. 46 is connected. Here, the computer 40 reads the control program from the storage medium, and stores the request control information receiving program 44a, the request control information relay program 44b, and the presence control information return program 44c in the ROM 44.

そして、CPU45が、これらのプログラム44a〜44cを読み出して実行することで、図12に示すように、各プログラム44a〜44cは、要求制御情報受信プロセス45a、要求制御情報中継プロセス45b、及び存在制御情報返信プロセス45cとなる。なお、各プロセス45a〜45cは、図1に示した、要求制御情報受信部11、要求制御情報中継部12、及び存在制御情報返信部13に各々対応する。   Then, the CPU 45 reads and executes these programs 44a to 44c, so that each of the programs 44a to 44c has a request control information reception process 45a, a request control information relay process 45b, and presence control as shown in FIG. The information return process 45c is performed. Each process 45a to 45c corresponds to the request control information reception unit 11, the request control information relay unit 12, and the presence control information return unit 13 shown in FIG.

1 ネットワーク
10 特定端末
11 要求制御情報受信部
12 要求制御情報中継部
13 存在制御情報返信部
20 発信源端末
30 端末
100 ノード
110 通信部
120 記憶部
121 ルーティングテーブル部
122 ワークデータ部
130 制御部
131 パケット受信部
132 ルーティングテーブル更新部
133 HELLOパケット中継部
134 REGISTERパケット返信部
135 REGISTERパケット中継部

DESCRIPTION OF SYMBOLS 1 Network 10 Specific terminal 11 Request control information receiving part 12 Request control information relay part 13 Existence control information reply part 20 Source terminal 30 Terminal 100 Node 110 Communication part 120 Storage part 121 Routing table part 122 Work data part 130 Control part 131 Packet Reception unit 132 Routing table update unit 133 HELLO packet relay unit 134 REGISTER packet return unit 135 REGISTER packet relay unit

Claims (8)

複数の端末が接続されたネットワークにおける任意の特定端末が、存在確認を求める要求制御情報を他の端末から受信して、該要求制御情報を処理する制御方法であって、
特定端末が、
存在確認を求める要求制御情報を他の端末から受信する受信ステップと、
前記受信ステップによって受信された前記要求制御情報を、前記他の端末及び前記特定端末とは異なる第1の端末に中継する中継ステップと、
前記受信ステップによって受信された前記要求制御情報から該要求制御情報を最初に送信した端末である発信源端末を識別し、前記特定端末により独自に生成された、前記特定端末が存在することを示す存在制御情報の最終宛先として、前記発信源端末を設定し、前記最終宛先設定され前記存在制御情報を、前記要求制御情報を前記特定端末に送信した前記他の端末に送信する返信ステップと
前記第1の端末が、
前記中継ステップによって中継された前記要求制御情報を前記特定端末から受信する受信ステップと、
前記受信ステップによって受信された前記要求制御情報を、前記発信源端末、前記他の端末、前記特定端末、及び前記第1の端末とは異なる第2の端末に中継する中継ステップと、
前記受信ステップによって受信された前記要求制御情報から前記発信源端末を識別し、前記第1の端末により前記特定端末とは異なる様に独立して生成された、前記第1の端末が存在することを示す存在制御情報の最終宛先として、前記発信源端末を設定し、前記最終宛先の設定された前記存在制御情報を、前記特定端末経由で前記他の端末宛に送信する返信ステップと
を含んだことを特徴とする制御方法。
An arbitrary specific terminal in a network to which a plurality of terminals are connected receives request control information for requesting existence confirmation from another terminal, and processes the request control information.
A specific device
A receiving step of receiving request control information for requesting existence confirmation from another terminal;
Relaying the request control information received by the receiving step to a first terminal different from the other terminal and the specific terminal ;
From the request control information received by said receiving step, to identify the source terminal is a terminal that has transmitted the request control information first, which is uniquely generated by said specific terminal, said specific terminal is present reply transmitting as the final destination of the presence control information indicating to set the source terminal, the presence control information set of the final destination, to the other terminal that has sent the request control information to the specific terminal and,
The first terminal is
Receiving the request control information relayed by the relay step from the specific terminal;
Relaying the request control information received in the receiving step to a second terminal different from the source terminal, the other terminal, the specific terminal, and the first terminal;
The source terminal is identified from the request control information received in the reception step, and the first terminal is generated by the first terminal independently from the specific terminal. A return step of setting the source terminal as the final destination of the presence control information indicating, and transmitting the presence control information with the final destination set to the other terminal via the specific terminal . A control method characterized by that.
前記要求制御情報には、該要求制御情報の最終宛先が設定されていないことを特徴とする請求項1に記載の制御方法。   The control method according to claim 1, wherein a final destination of the request control information is not set in the request control information. 前記要求制御情報には、該要求制御情報の最終宛先が設定されており、
前記特定端末は、
前記返信ステップにおいて、該要求制御情報の最終宛先として自端末が設定されているか否かに関わらず、前記存在制御情報を送信することを特徴とする請求項1に記載の制御方法。
In the request control information, a final destination of the request control information is set,
The specific terminal is
2. The control method according to claim 1, wherein, in the reply step, the presence control information is transmitted regardless of whether or not the own terminal is set as a final destination of the request control information.
前記特定端末は、
前記受信ステップにおいて、受信した前記要求制御情報に含まれる該要求制御情報を一意に識別する識別情報を記憶テーブルに記憶し、
前記中継ステップにおいて、前記記憶テーブルを参照し、受信した前記要求制御情報に含まれる前記識別情報と一致する識別情報が該記憶テーブルに存在するか否かを判定し、存在する場合は、該要求制御情報を前記第1の端末に中継しないことを特徴とする請求項1に記載の制御方法。
The specific terminal is
In the reception step, storing identification information for uniquely identifying the request control information included in the received request control information in a storage table;
In the relay step, the storage table is referenced to determine whether or not identification information that matches the identification information included in the received request control information exists in the storage table. The control method according to claim 1, wherein control information is not relayed to the first terminal.
複数の端末が接続されたネットワークにおける任意の特定端末として、存在確認を求める要求制御情報を他の端末から受信して、該要求制御情報を処理する制御装置であって、
存在確認を求める要求制御情報を他の端末から受信する受信部と、
前記受信部によって受信された前記要求制御情報を、前記他の端末及び前記特定端末とは異なる第1の端末に中継する中継部と、
前記受信部によって受信された前記要求制御情報から該要求制御情報を最初に送信した端末である発信源端末を識別し、前記特定端末により独自に生成された、前記特定端末が存在することを示す存在制御情報の最終宛先として、前記発信源端末を設定し、前記最終宛先設定され前記存在制御情報を、前記要求制御情報を前記特定端末に送信した前記他の端末に送信する返信部とを備え、
前記第1の端末は、
前記中継部によって中継された前記要求制御情報を前記特定端末から受信する受信部と、
前記受信部によって受信された前記要求制御情報を、前記発信源端末、前記他の端末、前記特定端末、及び前記第1の端末とは異なる第2の端末に中継する中継部と、
前記受信部によって受信された前記要求制御情報から前記発信源端末を識別し、前記第1の端末により前記特定端末とは異なる様に独立して生成された、前記第1の端末が存在することを示す存在制御情報の最終宛先として、前記発信源端末を設定し、前記最終宛先の設定された前記存在制御情報を、前記特定端末経由で前記他の端末宛に送信する返信部と
を備えたことを特徴とする制御装置。
As a specific terminal in a network to which a plurality of terminals are connected, a control apparatus that receives request control information for requesting existence confirmation from another terminal and processes the request control information,
A receiving unit for receiving request control information for requesting existence confirmation from another terminal;
A relay unit that relays the request control information received by the receiving unit to a first terminal different from the other terminal and the specific terminal ;
From the request control information received by the receiving unit, to identify the source terminal is a terminal that has transmitted the request control information first, which is uniquely generated by said specific terminal, said specific terminal is present as the final destination of the existence control information indicating the source to set the terminal, the said presence control information set in the final destination, the reply unit for transmitting the request control information to the other terminal which transmits to the specific terminal It equipped with a door,
The first terminal is
A receiving unit that receives the request control information relayed by the relay unit from the specific terminal;
A relay unit that relays the request control information received by the receiving unit to a second terminal different from the source terminal, the other terminal, the specific terminal, and the first terminal;
The source terminal is identified from the request control information received by the receiver, and the first terminal is generated by the first terminal independently of the specific terminal. A return unit configured to set the source terminal as a final destination of presence control information indicating, and to transmit the presence control information in which the final destination is set to the other terminal via the specific terminal A control device characterized by that.
前記要求制御情報には、該要求制御情報の最終宛先が設定されていないことを特徴とする請求項5に記載の制御装置。   6. The control apparatus according to claim 5, wherein a final destination of the request control information is not set in the request control information. 前記要求制御情報には、該要求制御情報の最終宛先が設定されており、
前記返信部は、該要求制御情報の最終宛先として自端末が設定されているか否かに関わらず、前記存在制御情報を送信することを特徴とする請求項5に記載の制御装置。
In the request control information, a final destination of the request control information is set,
6. The control apparatus according to claim 5, wherein the reply unit transmits the presence control information regardless of whether or not the own terminal is set as a final destination of the request control information.
複数の端末が接続されたネットワークにおける任意の特定端末が、存在確認を求める要求制御情報を他の端末から受信して、該要求制御情報を処理する制御プログラムを記憶する記憶媒体であって、
特定端末が、
存在確認を求める要求制御情報を他の端末から受信する受信手順と、
前記受信手順によって受信された前記要求制御情報を、前記他の端末及び前記特定端末とは異なる第1の端末に中継する中継手順と、
前記受信手順によって受信された前記要求制御情報から該要求制御情報を最初に送信した端末である発信源端末を識別し、前記特定端末により独自に生成された、前記特定端末が存在することを示す存在制御情報の最終宛先として、前記発信源端末を設定し、前記最終宛先設定され前記存在制御情報を、前記要求制御情報を前記特定端末に送信した前記他の端末に送信する返信手順と
前記第1の端末が、
前記中継手順によって中継された前記要求制御情報を前記特定端末から受信する受信手順と、
前記受信手順によって受信された前記要求制御情報を、前記発信源端末、前記他の端末、前記特定端末、及び前記第1の端末とは異なる第2の端末に中継する中継手順と、
前記受信手順によって受信された前記要求制御情報から前記発信源端末を識別し、前記第1の端末により前記特定端末とは異なる様に独立して生成された、前記第1の端末が存在することを示す存在制御情報の最終宛先として、前記発信源端末を設定し、前記最終宛先の設定された前記存在制御情報を、前記特定端末経由で前記他の端末宛に送信する返信手順と
を実行することを特徴とする制御プログラムを記憶する記憶媒体。
An arbitrary specific terminal in a network to which a plurality of terminals are connected is a storage medium that stores request control information for requesting existence confirmation from another terminal and stores a control program for processing the request control information,
A specific device
A reception procedure for receiving request control information for requesting existence confirmation from another terminal,
A relay procedure for relaying the request control information received by the reception procedure to a first terminal different from the other terminal and the specific terminal ;
The source terminal that is the terminal that first transmitted the request control information is identified from the request control information received by the reception procedure , and the specific terminal that is uniquely generated by the specific terminal exists. reply procedure as the final destination of the existence control information, sets the source terminal, the presence control information set of the final destination, and transmits the request control information to the other terminal which transmits to the specific terminal shown and,
The first terminal is
A reception procedure for receiving the request control information relayed by the relay procedure from the specific terminal;
A relay procedure for relaying the request control information received by the reception procedure to a second terminal different from the source terminal, the other terminal, the specific terminal, and the first terminal;
The source terminal is identified from the request control information received by the reception procedure, and the first terminal is generated by the first terminal independently from the specific terminal. The transmission source terminal is set as the final destination of the presence control information indicating, and the return procedure for transmitting the presence control information with the final destination set to the other terminal via the specific terminal is executed A storage medium for storing a control program.
JP2009150272A 2009-06-24 2009-06-24 Control method, control device, and storage medium Active JP5293452B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009150272A JP5293452B2 (en) 2009-06-24 2009-06-24 Control method, control device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009150272A JP5293452B2 (en) 2009-06-24 2009-06-24 Control method, control device, and storage medium

Publications (2)

Publication Number Publication Date
JP2011009967A JP2011009967A (en) 2011-01-13
JP5293452B2 true JP5293452B2 (en) 2013-09-18

Family

ID=43566124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009150272A Active JP5293452B2 (en) 2009-06-24 2009-06-24 Control method, control device, and storage medium

Country Status (1)

Country Link
JP (1) JP5293452B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000261361A (en) * 1999-03-08 2000-09-22 Fujitsu Denso Ltd Radio relay system and radio relaying method
JP4605427B2 (en) * 2003-08-08 2011-01-05 ソニー株式会社 COMMUNICATION SYSTEM, COMMUNICATION METHOD, COMMUNICATION TERMINAL DEVICE, ITS CONTROL METHOD, AND PROGRAM
PT2296325E (en) * 2005-11-09 2014-06-24 Thomson Licensing Route selection in wireless networks
WO2007091738A1 (en) * 2006-02-10 2007-08-16 National University Corporation Tokyo University Of Agriculture And Technology Terminal, méthode et système de communication

Also Published As

Publication number Publication date
JP2011009967A (en) 2011-01-13

Similar Documents

Publication Publication Date Title
JP3597511B2 (en) Wireless device, communication path control method thereof, and computer program
WO2012133521A1 (en) Communication method and communication device
EP2425608B1 (en) Method and system to enable a hybrid routing protocol
JP6195014B2 (en) COMMUNICATION SYSTEM, COMMUNICATION METHOD, RELAY DEVICE, AND COMMUNICATION PROGRAM
JP5029002B2 (en) Network system and data transfer method
US20100020740A1 (en) Wireless Communication System, Wireless Communication Device, Wireless Communication Method, and Program
US20060262753A1 (en) Method and apparatus for efficiently transmitting frame in wireless mesh network
JP2004336716A (en) Path mtu discovery system and method for ad-hoc network
US7813309B2 (en) Radio multi-hop network, node, multicast route control method, and program thereof
WO2013042209A1 (en) Data transfer method and node device employing same
JP3972338B2 (en) Mobile communication device and mobile communication program
JP5464278B2 (en) Wireless communication apparatus and route determination method in wireless network
JP5851020B2 (en) Communication system and communication method
JP4839993B2 (en) Multihop network, route information management method thereof, and communication terminal used therefor
JP5293452B2 (en) Control method, control device, and storage medium
JP2007181056A (en) Path selection method
JP6459665B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
JP6556686B2 (en) Relay device and relay method
JP5246060B2 (en) Control method, control device, and storage medium
US20110164565A1 (en) Method and apparatus for routing in wireless network
JP2018007105A (en) Radio equipment, and method and program for time slot allocation control
JP2012070376A (en) Method and node for realizing route discovery in network
RU2551809C1 (en) Methods and devices for handling extended proxy information item
JP2006094313A (en) Routing recovery system
JP2023074148A (en) Electronic apparatus, communication program and communication method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120329

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130306

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130312

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130419

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130514

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130527

R150 Certificate of patent or registration of utility model

Ref document number: 5293452

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150