JP4242752B2 - Address table management method and terminal - Google Patents

Address table management method and terminal Download PDF

Info

Publication number
JP4242752B2
JP4242752B2 JP2003380450A JP2003380450A JP4242752B2 JP 4242752 B2 JP4242752 B2 JP 4242752B2 JP 2003380450 A JP2003380450 A JP 2003380450A JP 2003380450 A JP2003380450 A JP 2003380450A JP 4242752 B2 JP4242752 B2 JP 4242752B2
Authority
JP
Japan
Prior art keywords
address
terminal
network
multicast group
unit
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.)
Expired - Fee Related
Application number
JP2003380450A
Other languages
Japanese (ja)
Other versions
JP2005143058A (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.)
NTT Docomo Inc
Original Assignee
NTT Docomo Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Docomo Inc filed Critical NTT Docomo Inc
Priority to JP2003380450A priority Critical patent/JP4242752B2/en
Publication of JP2005143058A publication Critical patent/JP2005143058A/en
Application granted granted Critical
Publication of JP4242752B2 publication Critical patent/JP4242752B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

本発明は、マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理するアドレス表管理方法、及び、端末。   The present invention relates to an address table management method for managing an address table including IP addresses of terminals belonging to a multicast group, and a terminal.

ユーザあるいは端末装置を一意に指定する識別子としてURI(Uniform Resource Identifier)[IETF RFC2396“Uniform Resource Identifiers”]と呼ばれる識別子が知られている。URIは、論理的な識別子であり、通信を行う場合の送信元や送信先の識別に利用される。また、URIは、アプリケーションレイヤにおける識別子であるため、URIを通信に利用する場合には、URIとIPアドレスとのマッピングを行う必要がある。   An identifier called URI (Uniform Resource Identifier) [IETF RFC2396 “Uniform Resource Identifiers”] is known as an identifier for uniquely specifying a user or a terminal device. The URI is a logical identifier and is used for identifying a transmission source and a transmission destination when performing communication. Also, since the URI is an identifier in the application layer, when the URI is used for communication, it is necessary to perform mapping between the URI and the IP address.

なお、URIの中で最も利用されているのは、Web Browser等においてResourceを一意に指定する場合に利用されるURL(Uniform Resource Locator)である。   Note that the most used URI is a URL (Uniform Resource Locator) used when a Resource is uniquely specified in a Web Browser or the like.

上述の通り、URLを通信に利用する場合には、URLとIPアドレスとをマッピング(名前解決)する必要がある。このマッピングの技術として、DNS(Domain Name System)[IETF RFC1035“Domain names-implementation and specification”]と呼ばれる技術が知られている。DNSにおいては、名前解決に必要なデータを記憶するServer(Name Server)によって、インターネットにおける名前解決が行われる。   As described above, when a URL is used for communication, it is necessary to map (name resolution) the URL and the IP address. As this mapping technique, a technique called DNS (Domain Name System) [IETF RFC1035 “Domain names-implementation and specification”] is known. In DNS, name resolution on the Internet is performed by a server (name server) that stores data necessary for name resolution.

また、インターネット全体よりも比較的小規模なネットワークにおいて有効な別の名前解決の方法も知られている。例えば、Microsoft社のOSであるWindowsにおいては、Vender独自の方法でホスト名とIPアドレスとのマッピングを行うことによって、通信を可能としている。このとき、通信プロトコル自体は、Venderが独自に規定したプロトコル(例:Microsoft社NetBIOS)が利用される。また、UNIXにおけるhostsファイルのように、ホスト名とIPアドレスとの組み合わせを各端末に予め記憶させるという方法も知られている。   Another name resolution method that is effective in a network that is relatively smaller than the entire Internet is also known. For example, in Windows, which is a Microsoft OS, communication is possible by mapping host names and IP addresses using a method unique to Vender. At this time, as the communication protocol itself, a protocol uniquely defined by Vender (eg, Microsoft NetBIOS) is used. Also, a method is known in which a combination of a host name and an IP address is stored in advance in each terminal, like a hosts file in UNIX.

一方、AdHocネットワークにおいては、お互いが相手のIPアドレスを予め知っていて、そのIPアドレスに基づいて通信が行われている。また、アプリケーションやOSによっては、Vender独自の方法でホスト名とIPアドレスとのマッピングを行い、そのホスト名を利用して通信が行われる。
特開平11−55350号公報
On the other hand, in the AdHoc network, each other knows the other party's IP address in advance, and communication is performed based on the IP address. Further, depending on the application and the OS, the host name and the IP address are mapped by a method unique to Vender, and communication is performed using the host name.
JP-A-11-55350

しかしながら、Vender独自の通信プロトコルは、パブリックネットワークにおける通信プロトコルと異なるため、Vender独自の通信プロトコルを動作させるソフトウェアを実装する必要が生じるという問題があった。   However, since the communication protocol unique to Vender is different from the communication protocol in the public network, there is a problem that it is necessary to implement software that operates the communication protocol unique to Vender.

そこで、本発明は、上述の問題を解決するためになされたものであり、Vender独自の通信プロトコルを利用することなく、特定のネットワーク(例えば、AdHocネットワーク)において、各端末のネットワークアドレスが統一されたアドレス表を管理することができるアドレス表管理方法、及び、端末を提供することを目的とする。   Accordingly, the present invention has been made to solve the above-described problem, and the network address of each terminal is unified in a specific network (for example, AdHoc network) without using a communication protocol unique to Vender. It is an object of the present invention to provide an address table management method and a terminal capable of managing an address table.

本発明の第1の特徴は、マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理するアドレス表管理方法が、第1の端末のIPアドレスと第1の端末が属するネットワークのネットワークアドレスとをマルチキャストグループ宛に第1の端末が通知する工程Aと、第1の端末によって通知された第1の端末のIPアドレスとネットワークアドレスとに基づいて、第2の端末のIPアドレスを第2の端末が設定する工程Bと、第1の端末によって通知された第1の端末のIPアドレスに基づいて、アドレス表を第2の端末が更新する工程Cと、工程Bにおいて設定された第2の端末のIPアドレスをマルチキャストグループ宛に第2の端末が通知する工程Dと、マルチキャストグループ宛に通知された第2の端末のIPアドレスに基づいて、アドレス表を第1の端末が更新する工程Eとを具備することを要旨とする。   According to a first aspect of the present invention, there is provided an address table management method for managing an address table including IP addresses of terminals belonging to a multicast group, wherein an IP address of the first terminal and a network address of a network to which the first terminal belongs are obtained. Based on the step A in which the first terminal notifies the multicast group and the IP address and network address of the first terminal notified by the first terminal, the IP address of the second terminal is set to the second terminal. The process B set by the first terminal, the process C by which the second terminal updates the address table based on the IP address of the first terminal notified by the first terminal, and the second terminal set by the process B The second terminal notifies the IP address of the second terminal to the multicast group, and the IP address of the second terminal notified to the multicast group. Based on less, and summarized in that comprises a step E of the address table is the first terminal to update.

本発明の第2の特徴は、マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末が、自端末のIPアドレスと自端末が属するネットワークのネットワークアドレスとをマルチキャストグループ宛に通知する通知部と、通知部によって通知されたIPアドレスとネットワークアドレスとに基づいて他の端末において設定された他の端末のIPアドレスが通知された場合に、他の端末のIPアドレスに基づいてアドレス表を更新する更新部とを具備することを要旨とする。   The second feature of the present invention is that the terminal managing the address table including the IP addresses of the terminals belonging to the multicast group notifies the multicast group of the IP address of the own terminal and the network address of the network to which the own terminal belongs. And the IP address of the other terminal set in the other terminal based on the IP address and the network address notified by the notification unit, the address table based on the IP address of the other terminal The gist of the present invention is to include an updating unit for updating.

かかる特徴によれば、端末が、自端末のIPアドレスと自端末のネットワークアドレスとに基づいて他の端末において設定された他の端末のIPアドレスに基づいて、アドレス表を更新することにより、端末は、ネットワークアドレスの整合が取れたアドレス表を管理することができる。   According to such a feature, the terminal updates the address table based on the IP address of the other terminal set in the other terminal based on the IP address of the own terminal and the network address of the own terminal. Can manage an address table with matching network addresses.

本発明の第3の特徴は、マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末が、マルチキャストグループ宛に通知された他の端末のIPアドレスと他の端末が属するネットワークのネットワークアドレスとに基づいて自端末のIPアドレスを設定するIPアドレス設定部と、IPアドレス設定部によって設定された自端末のIPアドレスをマルチキャストグループ宛に通知する通知部と、マルチキャストグループ宛に通知された他の端末のIPアドレスに基づいて、アドレス表を更新する更新部とを具備することを要旨とする。   The third feature of the present invention is that the terminal managing the address table including the IP addresses of the terminals belonging to the multicast group receives the IP address of the other terminal notified to the multicast group and the network address of the network to which the other terminal belongs. An IP address setting unit for setting the IP address of the own terminal based on the above, a notification unit for notifying the IP address of the own terminal set by the IP address setting unit to the multicast group, and others notified to the multicast group And an update unit that updates the address table based on the IP address of the terminal.

かかる特徴によれば、端末が、他の端末のIPアドレスと他の端末のネットワークアドレスとに基づいて、自端末のIPアドレスを設定することにより、端末は、ネットワークアドレスの整合が取れたアドレス表を管理することができる。   According to this feature, the terminal sets the IP address of its own terminal based on the IP address of the other terminal and the network address of the other terminal, so that the terminal has an address table in which the network address is consistent. Can be managed.

また、端末が、他の端末のIPアドレスと他の端末のネットワークアドレスに基づいて設定した自端末のIPアドレスをマルチキャストグループ宛に通知することにより、他の端末においても、ネットワークアドレスの整合が取れたアドレス表を管理することができる。   In addition, the terminal notifies the multicast group of the IP address of the own terminal set based on the IP address of the other terminal and the network address of the other terminal, so that the network address can be matched in the other terminal. Manage the address table.

本発明の第4の特徴は、マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末が、マルチキャストグループに途中から参加する場合に、マルチキャストグループに属する端末に対して、アドレス表の通知を要求する要求部と、通知されたアドレス表によって特定されるネットワークアドレスに基づいて、通知されたアドレス表に含まれていないIPアドレスを自端末のIPアドレスとして設定するIPアドレス設定部と、通知されたアドレス表を管理する管理部と、IPアドレス設定部によって設定された自端末のIPアドレスをマルチキャストグループ宛に通知する通知部とを具備することを要旨とする。   According to a fourth aspect of the present invention, when a terminal that manages an address table including IP addresses of terminals belonging to a multicast group joins the multicast group from the middle, notification of the address table is made to the terminals belonging to the multicast group. A request unit for requesting, an IP address setting unit for setting an IP address not included in the notified address table as an IP address of the own terminal based on the network address specified by the notified address table, and a notification The gist of the present invention is to include a management unit that manages the address table that has been set, and a notification unit that notifies the IP address of the own terminal set by the IP address setting unit to the multicast group.

かかる特徴によれば、端末が、既にネットワークアドレスの整合の取れたアドレス表に係るネットワークアドレスに基づいて、自端末のIPアドレスを設定することにより、端末は、ネットワークアドレスの整合が取れたアドレス表を管理することができる。   According to such a feature, the terminal sets the IP address of its own terminal based on the network address related to the address table in which the network address is already matched, so that the terminal can obtain the address table in which the network address is matched. Can be managed.

また、端末が、既にネットワークアドレスの整合の取れたアドレス表に係るネットワークアドレスに基づいて設定した自端末のIPアドレスをマルチキャストグループ宛に通知することにより、他の端末においても、ネットワークアドレスの整合が取れたアドレス表を管理することができる。   In addition, when the terminal notifies the multicast group of the IP address of its own terminal set based on the network address in the address table in which the network address is already matched, the network address can be matched in other terminals as well. The address table taken can be managed.

本発明の第2の特徴乃至第4の特徴において、アドレス表に含まれるIPアドレスと自端末に設定されているIPアドレスとが重複する場合に、マルチキャストグループ宛に通知されたネットワークアドレスに基づいて、自端末のIPアドレスを再設定するIPアドレス再設定部を端末が具備し、通知部が、IPアドレス再設定部によって設定された自端末のIPアドレスをマルチキャストグループ宛に通知することが好ましい。   In the second feature to the fourth feature of the present invention, when the IP address included in the address table and the IP address set in the terminal overlap, based on the network address notified to the multicast group Preferably, the terminal includes an IP address resetting unit that resets the IP address of the terminal itself, and the notification unit notifies the multicast group of the IP address of the terminal set by the IP address resetting unit.

本発明の第2の特徴乃至第4の特徴において、IPアドレス再設定部が、アドレス表において、他のネットワークアドレスに属するIPアドレスが設定されている端末の数が自端末のネットワークアドレスに属するIPアドレスが設定されている端末の数よりも多い場合に、他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定することが好ましい。   In the second to fourth features of the present invention, the IP address resetting unit is configured so that the number of terminals in which an IP address belonging to another network address is set in the address table belongs to the network address of the own terminal. When the number of addresses is larger than the number of terminals set, it is preferable to reset the IP address of the own terminal based on another network address.

本発明の第2の特徴乃至第4の特徴において、IPアドレス再設定部が、アドレス表において、他のネットワークアドレスに含まれるアドレス空間が自端末のネットワークアドレスに含まれるアドレス空間よりも大きい場合に、他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定することが好ましい。   In the second to fourth features of the present invention, when the IP address resetting unit has an address table in which the address space included in the other network address is larger than the address space included in the network address of the own terminal. It is preferable to reset the IP address of the own terminal based on another network address.

本発明の第2の特徴乃至第4の特徴において、通知部が、アドレス表にIPアドレスが含まれていない他の端末と通信を行う場合に、他の端末のIPアドレスを要求する情報をマルチキャストグループ宛に通知することが好ましい。   In the second to fourth features of the present invention, when the notifying unit communicates with another terminal whose IP address is not included in the address table, the information requesting the IP address of the other terminal is multicast. It is preferable to notify the group.

本発明の第2の特徴乃至第4の特徴において、通知部が、自端末のIPアドレスとともに、自端末のユーザ識別子をマルチキャストグループ宛に通知することが好ましい。   In the second to fourth aspects of the present invention, it is preferable that the notification unit notifies the multicast group of the user identifier of the own terminal together with the IP address of the own terminal.

本発明の第2の特徴乃至第4の特徴において、通知部が、自端末のIPアドレスとともに、自端末の端末識別子をマルチキャストグループ宛に通知することが好ましい。   In the second to fourth aspects of the present invention, it is preferable that the notifying unit notifies the multicast group of the terminal identifier of the own terminal together with the IP address of the own terminal.

本発明によれば、Vender独自の通信プロトコルを利用することなく、特定のネットワーク(例えば、AdHocネットワーク)において、各端末のネットワークアドレスが統一されたアドレス表を管理するアドレス表管理方法、及び、端末を提供することができる。   According to the present invention, an address table management method for managing an address table in which network addresses of terminals are unified in a specific network (for example, AdHoc network) without using a communication protocol unique to Vender, and a terminal Can be provided.

(本発明の一実施形態に係る端末の構成)
以下、図1乃至図3を参照して、本発明の一実施形態に係る端末、及び、その端末が接続されているネットワークの構成について説明する。図1は、本実施形態に係る端末が接続されているネットワークの全体構成図である。
(Configuration of terminal according to one embodiment of the present invention)
Hereinafter, the configuration of a terminal according to an embodiment of the present invention and a network to which the terminal is connected will be described with reference to FIGS. FIG. 1 is an overall configuration diagram of a network to which terminals according to the present embodiment are connected.

図1に示すように、本実施形態に係る端末10a乃至端末10dは、特定のネットワーク(以下、AdHocネットワーク)を形成している。また、端末10a乃至端末10dは、無線ネットワーク(例えば、IEEE802.11準拠の無線LAN)によって、物理Layer(Layer1)及びMAC Sublayer(Layer2)におけるAdHocモードの通信ネットワークを形成しているものとする。また、端末10a乃至端末10dは、所定のマルチキャストグループに属しているものとする。   As shown in FIG. 1, the terminals 10a to 10d according to the present embodiment form a specific network (hereinafter referred to as AdHoc network). Further, the terminals 10a to 10d are assumed to form an AdHoc mode communication network in a physical layer (Layer 1) and a MAC sub-layer (Layer 2) by a wireless network (for example, a wireless LAN compliant with IEEE 802.11). Further, it is assumed that the terminals 10a to 10d belong to a predetermined multicast group.

なお、端末10a乃至端末10dは、同一の構成を具備しているものとする。以下、端末10aを例として説明する。図2は、本実施形態に係る端末10aの構成を示すブロック図である。   The terminals 10a to 10d are assumed to have the same configuration. Hereinafter, the terminal 10a will be described as an example. FIG. 2 is a block diagram showing a configuration of the terminal 10a according to the present embodiment.

図2に示すように、端末10aは、送受信部11と、制御部12と、IPアドレス設定部13と、記憶部14とを具備する。   As illustrated in FIG. 2, the terminal 10 a includes a transmission / reception unit 11, a control unit 12, an IP address setting unit 13, and a storage unit 14.

送受信部11は、マルチキャストグループに属する各端末との間において情報を送受信するものである。例えば、送受信部11は、自端末のIPアドレス(192.168.0.11)とユーザ識別子(以下、URI(alice@company.co.jp))と端末識別子(以下、MACアドレス)とサブネットマスク(255.255.255.0)とAdHocネットワーク名とAdHocネットワークの有効継続時間とを含む名前解決情報をマルチキャストグループ宛に送信する。すなわち、送受信部11は、端末10aのIPアドレス(192.168.0.11)とサブネットマスク(255.255.255.0)とをマルチキャストグループ宛に送信することによって、端末10aのIPアドレス(192.168.0.11)と端末10aが属するネットワークのネットワークアドレス(192.168.0.0)とをマルチキャストグループ宛に通知する。また、送受信部11は、他の端末(端末10b乃至端末10d)によってマルチキャストグループ宛に送信された名前解決情報を受信する。   The transmission / reception unit 11 transmits / receives information to / from each terminal belonging to the multicast group. For example, the transmission / reception unit 11 includes the IP address (192.168.0.11) of the own terminal, a user identifier (hereinafter, URI (alice@company.co.jp)), a terminal identifier (hereinafter, MAC address), and a subnet mask. Name resolution information including (255.255.255.0), the AdHoc network name, and the effective duration of the AdHoc network is transmitted to the multicast group. That is, the transmission / reception unit 11 transmits the IP address (192.168.0.11) of the terminal 10a and the subnet mask (255.255.255.0) to the multicast group, whereby the IP address of the terminal 10a ( 192.168.0.11) and the network address (192.168.0.0) of the network to which the terminal 10a belongs are notified to the multicast group. Further, the transmission / reception unit 11 receives the name resolution information transmitted to the multicast group by other terminals (terminals 10b to 10d).

制御部12は、マルチキャストグループ宛に送信された名前解決情報の中から、基準となる名前解決情報(以下、基準名前解決情報)を判断する。ここで、端末10aの制御部12は、時間的に最初にマルチキャストグループ宛に送信された名前解決情報を、基準名前解決情報と判断する。なお、端末10aの制御部12は、自端末がマルチキャストグループ宛に送信した名前解決情報が時間的に最初に送信された名前解決情報である場合には、自端末が送信した名前解決情報を基準名前解決情報と判断するものとする。   The control unit 12 determines reference name resolution information (hereinafter referred to as reference name resolution information) from the name resolution information transmitted to the multicast group. Here, the control unit 12 of the terminal 10a determines that the name resolution information first transmitted to the multicast group in terms of time is the reference name resolution information. Note that the control unit 12 of the terminal 10a uses the name resolution information transmitted from the terminal as a reference when the name resolution information transmitted from the terminal to the multicast group is the name resolution information transmitted first in time. Judged as name resolution information.

制御部12は、他の端末によってマルチキャストグループ宛に送信された名前解決情報に基づいて、上述のAdHocネットワークに参加する端末のIPアドレスを含む名前解決表(アドレス表)を更新する。   The control unit 12 updates the name resolution table (address table) including the IP addresses of the terminals participating in the AdHoc network based on the name resolution information transmitted to the multicast group by other terminals.

制御部12は、名前解決表に含まれるIPアドレスに関連付けられているAdHocネットワークの有効継続時間がなくなった場合に、そのIPアドレスに関連付けられている情報を削除する。また、制御部12は、AdHocネットワークの有効継続時間がなくなった場合に、その有効継続時間を所定の条件に従って延長するように構成されていてもよい。   When the effective duration of the AdHoc network associated with the IP address included in the name resolution table is exhausted, the control unit 12 deletes information associated with the IP address. Moreover, the control part 12 may be comprised so that the effective continuation time may be extended according to predetermined conditions, when the effective continuation time of an AdHoc network runs out.

IPアドレス設定部13は、他の端末から基準名前解決情報を受信した場合に、当該基準名前解決情報に含まれるIPアドレスとサブネットマスクとに基づいて、自端末のIPアドレスを設定(又は、再設定)する。すなわち、IPアドレス設定部13は、他の端末によって通知されたIPアドレスと他の端末が属するネットワークのネットワークアドレスとに基づいて、自端末のIPアドレスを設定する。   When receiving the reference name resolution information from another terminal, the IP address setting unit 13 sets (or re-sets) the IP address of the own terminal based on the IP address and the subnet mask included in the reference name resolution information. Set). That is, the IP address setting unit 13 sets the IP address of the own terminal based on the IP address notified by the other terminal and the network address of the network to which the other terminal belongs.

なお、IPアドレス設定部13は、ネットワークアドレス及びブロードキャストアドレス及び他の端末のIPアドレスを、自端末のIPアドレスとして設定しないものとする。   Note that the IP address setting unit 13 does not set the network address, the broadcast address, and the IP address of another terminal as the IP address of the own terminal.

また、IPアドレス設定部13は、名前解決表に含まれるIPアドレスと自端末のIPアドレスとが重複する場合に、自端末が送信した(又は、他の端末から受信した)基準名前解決情報に含まれるIPアドレスとサブネットマスクとに基づいて、自端末のIPアドレスを再設定する。   Further, the IP address setting unit 13 uses the reference name resolution information transmitted by the own terminal (or received from another terminal) when the IP address included in the name resolution table overlaps with the IP address of the own terminal. Based on the included IP address and subnet mask, the IP address of the own terminal is reset.

さらに、IPアドレス設定部13は、名前解決表において、自端末以外のネットワークアドレスに属するIPアドレスが設定されている端末の数が、自端末のネットワークアドレスに属するIPアドレスが設定されている端末の数よりも多い場合には、自端末以外のネットワークアドレス(そのネットワークアドレスに属するIPアドレスが設定されている端末の数が最も多いネットワークアドレス)に基づいて、自端末のIPアドレスを再設定する。なお、名前解決表においてネットワークアドレスが統一されない原因は、例えば、異なる名前解決情報がほぼ同時に送信された場合に、各端末が異なる名前解決情報を基準名前解決情報として認識することがあるためである。   Further, the IP address setting unit 13 is configured so that the number of terminals set with IP addresses belonging to network addresses other than the own terminal in the name resolution table is the number of terminals set with IP addresses belonging to the network address of the own terminal. When the number is larger than the number, the IP address of the own terminal is reset based on the network address other than the own terminal (the network address having the largest number of terminals set with the IP address belonging to the network address). The reason why the network addresses are not unified in the name resolution table is that, for example, when different name resolution information is transmitted almost simultaneously, each terminal may recognize different name resolution information as reference name resolution information. .

また、IPアドレス設定部13は、名前解決表において、自端末以外のネットワークアドレスに属するIPアドレスが設定されている端末の数と自端末のネットワークアドレスに属するIPアドレスが設定されている端末の数とが同数であり、自端末以外のネットワークアドレスに含まれるIPアドレス空間が自端末のネットワークアドレスに含まれるIPアドレス空間よりも大きい場合に、自端末以外のネットワークアドレス(最も大きいIPアドレス空間を含むネットワークアドレス)に基づいて、自端末のIPアドレスを再設定する。   In addition, the IP address setting unit 13 includes, in the name resolution table, the number of terminals set with IP addresses belonging to network addresses other than the own terminal and the number of terminals set with IP addresses belonging to the network address of the own terminal. Are the same, and the IP address space included in the network address other than the own terminal is larger than the IP address space included in the network address of the own terminal, the network address other than the own terminal (including the largest IP address space) Based on the network address, the IP address of the own terminal is reset.

なお、本実施形態において、IPアドレス設定部13は、マルチキャストグループ宛に通知された他の端末のIPアドレスと他の端末が属するネットワークのネットワークアドレスと(基準名前解決情報)に基づいて自端末のIPアドレスを設定するIPアドレス設定部、及び、名前解決表に含まれるIPアドレスと自端末のIPアドレスとが重複する場合に、マルチキャストグループ宛に通知された他の端末のIPアドレスと他の端末が属するネットワークのネットワークアドレスと(基準名前解決情報)に基づいて自端末のIPアドレスを再設定するIPアドレス再設定部を構成する。   In this embodiment, the IP address setting unit 13 determines the own terminal based on the IP address of the other terminal notified to the multicast group, the network address of the network to which the other terminal belongs, and (reference name resolution information). The IP address setting unit for setting the IP address, and the IP address of the other terminal notified to the multicast group and the other terminal when the IP address included in the name resolution table and the IP address of the own terminal overlap. An IP address resetting unit configured to reset the IP address of the own terminal based on the network address of the network to which the terminal belongs and (reference name resolution information).

記憶部14は、AdHocネットワークに参加している端末のIPアドレスを含む名前解決表(アドレス表)を記憶するものである。具体的には、図3を参照して説明する。   The storage unit 14 stores a name resolution table (address table) including IP addresses of terminals participating in the AdHoc network. Specifically, this will be described with reference to FIG.

同図に示すように、記憶部14は、AdHocネットワークに参加している端末のURI(例えば、とIPアドレスとMACアドレスとStatus(端末がAdHocネットワークに参加しているか否か(“Active”又は“Halt”)などの情報)とが関連付けられている名前解決表を記憶する。また、名前解決表には、上述の情報に加え、AdHocネットワーク名、AdHocネットワークの有効継続時間等が関連付けられている。   As shown in the figure, the storage unit 14 stores the URIs of terminals participating in the AdHoc network (for example, IP address, MAC address, and Status (whether the terminal is participating in the AdHoc network (“Active” or In addition to the above-mentioned information, the name resolution table is associated with the AdHoc network name, the AdHoc network effective duration, and the like. Yes.

(本発明の一実施形態に係る端末の動作)
以下、図4乃至図6を参照して、本発明の一実施形態に係る端末の動作について説明する。図4は、本実施形態に係る名前解決表共有処理(形成)を示すフロー図である。
(Operation of terminal according to one embodiment of the present invention)
Hereinafter, the operation of the terminal according to the embodiment of the present invention will be described with reference to FIGS. FIG. 4 is a flowchart showing name resolution table sharing processing (formation) according to the present embodiment.

同図に示すように、ステップ11において、任意の端末(例えば、端末10a)は、名前解決情報をマルチキャストグループ宛に送信する。   As shown in the figure, in step 11, an arbitrary terminal (for example, terminal 10a) transmits name resolution information to the multicast group.

ステップ12において、名前解決情報を受信した端末(例えば、端末10b乃至端末10d)は、名前解決情報に基づいて名前解決表を作成する。   In step 12, the terminal (for example, the terminal 10b to the terminal 10d) that has received the name resolution information creates a name resolution table based on the name resolution information.

ステップ13において、各端末(端末10a乃至端末10d)は、自端末が受信した名前解決情報(自端末が送信した場合には、その名前解決情報を含む)が一つであるか否か確認する。また、各端末は、名前解決情報が一つである場合には、ステップ15の処理に移り、名前解決情報が複数である場合には、ステップ14の処理に移る。   In step 13, each terminal (terminal 10a to terminal 10d) checks whether or not there is only one name resolution information received by the terminal itself (including the name resolution information if the terminal transmits it). . Each terminal proceeds to the process of step 15 when there is only one name resolution information, and proceeds to the process of step 14 when there are a plurality of name resolution information.

ステップ14において、各端末(端末10a乃至端末10d)は、時間的に最初に送信された名前解決情報を基準名前解決情報として認識する。   In step 14, each terminal (terminal 10a to terminal 10d) recognizes the name resolution information transmitted first in terms of time as reference name resolution information.

ステップ15において、各端末(例えば、端末10b乃至端末10d)は、受信した名前解決情報を基準名前解決情報として認識する。   In step 15, each terminal (for example, terminal 10b to terminal 10d) recognizes the received name resolution information as reference name resolution information.

以下、各端末(端末10b乃至端末10d)は、ステップ14又はステップ15において、端末10aが送信した名前解決情報が基準名前解決情報として認識したものとする。   Hereinafter, it is assumed that each terminal (terminal 10b to terminal 10d) recognizes the name resolution information transmitted by the terminal 10a as the reference name resolution information in step 14 or step 15.

ステップ16において、基準名前解決情報を受信した各端末(端末10b乃至端末10d)は、基準名前解決情報に含まれる端末10aのIPアドレス(192.168.0.11)とサブネットマスク(255.255.255.0)とに基づいて、自端末のIPアドレスを設定する。   In step 16, each terminal (terminal 10b to terminal 10d) that has received the reference name resolution information receives the IP address (192.168.0.11) and subnet mask (255.255) of the terminal 10a included in the reference name resolution information. 255.0), the IP address of the own terminal is set.

各端末(端末10b乃至端末10d)は、ネットワークアドレス(192.168.0.0)及びブロードキャストアドレス(192.168.0.255)及び端末10aのIPアドレス(192.168.0.11)を、自端末のIPアドレスとして設定しないものとする。   Each terminal (terminal 10b to terminal 10d) has a network address (192.168.0.0), a broadcast address (192.168.0.255), and an IP address (192.168.0.11) of the terminal 10a. Suppose that it is not set as the IP address of its own terminal.

ステップ17において、各端末(端末10b乃至端末10d)は、名前解決情報をマルチキャストグループ宛に送信する。   In step 17, each terminal (terminal 10b to terminal 10d) transmits name resolution information to the multicast group.

ステップ18において、各端末(端末10a乃至端末10d)は、受信した名前解決情報に基づいて、名前解決表を更新する。   In step 18, each terminal (terminal 10a to terminal 10d) updates the name resolution table based on the received name resolution information.

ステップ19において、各端末(端末10a乃至端末10d)は、名前解決表に含まれる他の端末のIPアドレスと自端末のIPアドレスとが重複していないか確認する。また、各端末は、IPアドレスが重複していない場合には、名前解決表共有処理(形成)を終了し、IPアドレスが重複している場合には、ステップ20の処理に移る。   In step 19, each terminal (terminal 10a to terminal 10d) checks whether the IP address of the other terminal included in the name resolution table overlaps with the IP address of its own terminal. Each terminal ends the name resolution table sharing process (formation) when the IP address is not duplicated, and proceeds to the process of step 20 when the IP address is duplicated.

ステップ20において、各端末(端末10a乃至端末10d)は、自端末のIPアドレスと他の端末のIPアドレスとが名前解決表において重複している端末は、基準名前解決情報に基づいて自端末のIPアドレスを再設定する。   In step 20, each terminal (terminal 10a to terminal 10d) has its own terminal IP address and another terminal's IP address overlapping in the name resolution table. Reset the IP address.

以下、各端末によって管理される名前解決表において、各端末のネットワークアドレスが統一されていない場合に、これを是正する処理について説明する。図5は、本実施形態に係る名前解決表共有処理(不一致是正)を示すフロー図である。なお、以下、端末10aの動作を例に説明する。   Hereinafter, a description will be given of processing for correcting a case where the network address of each terminal is not unified in the name resolution table managed by each terminal. FIG. 5 is a flowchart showing name resolution table sharing processing (mismatch correction) according to the present embodiment. Hereinafter, the operation of the terminal 10a will be described as an example.

同図に示すように、ステップ31において、端末10aは、自端末の名前解決表において、各端末のネットワークアドレスが統一されているか否かを確認する。また、端末10aは、各端末のネットワークアドレスが統一されていない場合には、ステップ32の処理に移り、各端末のネットワークアドレスが統一されている場合には、名前解決表共有処理(不一致是正)を終了する。   As shown in the figure, in step 31, the terminal 10a checks whether or not the network address of each terminal is unified in its own name resolution table. If the network address of each terminal is not unified, the terminal 10a proceeds to the process of step 32. If the network address of each terminal is unified, the name resolution table sharing process (mismatch correction). Exit.

ステップ32において、端末10aは、自端末の名前解決表において、各ネットワークアドレスに属するIPアドレスが設定されている端末の数に差異があるか否か確認する。また、端末10aは、各ネットワークアドレスに属するIPアドレスが設定されている端末の数が同数である場合には、ステップ34の処理に移り、各ネットワークアドレスに属するIPアドレスが設定されている端末の数に差異がある場合には、ステップ33の処理に移る。   In step 32, the terminal 10a checks whether or not there is a difference in the number of terminals set with IP addresses belonging to the respective network addresses in the name resolution table of the terminal itself. Further, when the number of terminals set with IP addresses belonging to each network address is the same, the terminal 10a proceeds to the process of step 34, and the terminal 10a is set to the terminal set with the IP address belonging to each network address. If there is a difference between the numbers, the process proceeds to step 33.

ステップ33において、端末10aは、そのネットワークアドレスに属するIPアドレスが設定されている端末の数が最も多いネットワークアドレスに係る基準名前解決情報を、自端末における基準名前解決情報として再認識する。   In step 33, the terminal 10a re-recognizes the reference name resolution information related to the network address having the largest number of terminals to which the IP address belonging to the network address is set as the reference name resolution information in its own terminal.

ステップ34において、端末10aは、自端末の名前解決表において、各ネットワークアドレスに含まれるIPアドレス空間の大きさに差異があるか否か確認する。また、端末10aは、IPアドレス空間の大きさに差異がある場合には、ステップ35の処理に移り、IPアドレス空間の大きさに差異がない場合には、ステップ36の処理に移る。   In step 34, the terminal 10a checks whether or not there is a difference in the size of the IP address space included in each network address in the name resolution table of its own terminal. If there is a difference in the size of the IP address space, the terminal 10a proceeds to the process of step 35. If there is no difference in the size of the IP address space, the terminal 10a proceeds to the process of step 36.

ステップ35において、端末10aは、含まれるIPアドレス空間が最も大きいネットワークアドレスに係る基準名前解決情報を、自端末における基準名前解決情報として再認識する。   In step 35, the terminal 10a re-recognizes the reference name resolution information related to the network address having the largest IP address space as the reference name resolution information in its own terminal.

ステップ36において、端末10aは、含まれるIPアドレスが最も小さい基準名前解決情報を、自端末の基準名前解決情報として再認識する。   In step 36, the terminal 10a recognizes the reference name resolution information having the smallest IP address as the reference name resolution information of the terminal itself.

ステップ37において、端末10aは、基準名前解決情報によって特定されるネットワークアドレスと自端末のネットワークアドレスとの整合が取れていない場合には、当該基準名前解決情報に基づいて、自端末のIPアドレスを再設定する。   In step 37, if the network address specified by the reference name resolution information and the network address of the own terminal are not matched, the terminal 10a determines the IP address of the own terminal based on the reference name resolution information. Reset it.

ステップ38において、端末10aは、名前解決情報をマルチキャストグループ宛に送信する。   In step 38, the terminal 10a transmits the name resolution information to the multicast group.

ステップ39において、端末10aは、他の端末から受信した名前解決情報に基づいて、名前解決表を更新する。   In step 39, the terminal 10a updates the name resolution table based on the name resolution information received from the other terminals.

ステップ40において、端末10aは、名前解決表において、自端末のIPアドレスと他の端末のIPアドレスとが重複しているか否かを確認する。また、端末10aは、IPアドレスが重複している場合には、ステップ41の処理に移り、IPアドレスが重複していない場合には、名前解決表共有処理(不一致是正)を終了する。   In step 40, the terminal 10a checks whether or not the IP address of its own terminal and the IP address of another terminal overlap in the name resolution table. If the IP address is duplicated, the terminal 10a proceeds to the process of step 41. If the IP address is not duplicated, the terminal 10a ends the name resolution table sharing process (mismatch correction).

ステップ41において、端末10aは、自端末のIPアドレスと他の端末のIPアドレスとが重複している場合には、自端末のIPアドレスを再設定する。   In step 41, when the IP address of the terminal 10a and the IP address of another terminal overlap, the terminal 10a resets the IP address of the terminal 10a.

以下自端末(送信元)の名前解決表に存在しないIPアドレスに係る他の端末(送信先)と通信する場合について説明する。なお、他の端末のIPアドレスが自端末の名前解決表に存在しない要因としては、(1)他の端末がネットワークに接続されていない、(2)他の端末が名前解決情報を送信していない、(3)自端末が、他の端末によって送信された名前解決情報を受信できていない等の要因が考えられる。   A case will be described below where communication is performed with another terminal (transmission destination) related to an IP address that does not exist in the name resolution table of the terminal (transmission source). The factors that cause the IP address of the other terminal not to exist in the name resolution table of the own terminal are (1) the other terminal is not connected to the network, and (2) the other terminal is transmitting name resolution information. There may be factors such as no (3) the terminal itself cannot receive the name resolution information transmitted by another terminal.

以下、自端末(送信元)が端末10aであり、他の端末(送信先)が端末10bである場合を例に説明する。   Hereinafter, the case where the own terminal (transmission source) is the terminal 10a and the other terminal (transmission destination) is the terminal 10b will be described as an example.

図6は、本実施形態に係る名前解決表共有処理(名前解決表に無い端末との通信)を示すフロー図である。同図に示すように、ステップ51において、端末10aは、端末10bとの通信を開始する。   FIG. 6 is a flowchart showing name resolution table sharing processing (communication with a terminal not in the name resolution table) according to the present embodiment. As shown in the figure, in step 51, the terminal 10a starts communication with the terminal 10b.

ステップ52において、端末10aは、自端末の名前解決表に端末10bのURI(IPアドレス)が含まれているか否かを確認する。また、端末10aは、端末10bのURIが含まれている場合には、名前解決表共有処理を終了し、端末10bのURIが含まれていない場合には、ステップ53の処理に移る。   In step 52, the terminal 10a checks whether or not the URI (IP address) of the terminal 10b is included in the name resolution table of the terminal 10a. If the URI of the terminal 10b is included, the terminal 10a ends the name resolution table sharing process. If the URI of the terminal 10b is not included, the terminal 10a proceeds to the process of step 53.

ステップ53において、端末10aは、端末探索要求をマルチキャストグループ宛に送信する。   In step 53, the terminal 10a transmits a terminal search request to the multicast group.

ステップ54において、端末10aは、端末探索要求に対する応答が所定の時間内にあったか否か確認する。また、端末10aは、端末探索要求に対する応答が所定の時間内にない場合には、ステップ55の処理に移り、端末探索要求に対する応答が所定の時間内にあった場合には、ステップ56の処理に移る。   In step 54, the terminal 10a confirms whether or not a response to the terminal search request is within a predetermined time. If the response to the terminal search request is not within the predetermined time, the terminal 10a proceeds to the process of step 55. If the response to the terminal search request is within the predetermined time, the process of step 56 is performed. Move on.

このとき、端末10bは、端末探索要求を受信すると、自端末の名前解決情報を未だマルチキャストグループ宛に送信していない場合には、端末探索応答をマルチキャストグループ宛に送信する。また、端末10bは、自端末の名前解決情報を既にマルチキャストグループ宛に送信している場合には、再度、自端末の名前解決情報をマルチキャストグループ宛に送信する。   At this time, when the terminal 10b receives the terminal search request, the terminal 10b transmits a terminal search response to the multicast group when the name resolution information of the terminal 10b has not yet been transmitted to the multicast group. In addition, when the terminal 10b has already transmitted the name resolution information of the terminal itself to the multicast group, the terminal 10b transmits the name resolution information of the terminal itself to the multicast group again.

ステップ55において、端末10aは、端末10bとの通信を中止する。   In step 55, the terminal 10a stops communication with the terminal 10b.

ステップ56において、端末10aは、端末探索要求に対する応答が名前解決情報であるか否か確認する。また、端末10aは、端末探索要求に対する応答が名前解決情報である場合には、ステップ61の処理に移り、端末探索要求に対する応答が名前解決情報でない場合には、ステップ57の処理に移る。   In step 56, the terminal 10a confirms whether or not the response to the terminal search request is name resolution information. If the response to the terminal search request is name resolution information, the terminal 10a proceeds to step 61. If the response to the terminal search request is not name resolution information, the terminal 10a proceeds to step 57.

ステップ57において、端末10aは、端末探索要求に対する応答が端末探索応答であるか否か確認する。また、端末10aは、端末探索要求に対する応答が端末探索応答である場合には、ステップ58の処理に移り、端末探索要求に対する応答が端末探索応答でない場合には、ステップ55の処理に移る。   In step 57, the terminal 10a confirms whether the response to the terminal search request is a terminal search response. If the response to the terminal search request is a terminal search response, the terminal 10a proceeds to step 58. If the response to the terminal search request is not a terminal search response, the terminal 10a proceeds to step 55.

ステップ58において、端末10aは、自端末で管理する名前解決表を端末10bに送信する。   In step 58, the terminal 10a transmits a name resolution table managed by the terminal 10a to the terminal 10b.

ステップ59において、端末10bは、受信した名前解決表によって特定されるネットワークアドレスに基づいて、自端末のIPアドレスを設定する。   In step 59, the terminal 10b sets the IP address of its own terminal based on the network address specified by the received name resolution table.

ステップ60において、端末10bは、自端末の名前解決情報をマルチキャストグループ宛に送信する。   In step 60, the terminal 10b transmits the name resolution information of its own terminal to the multicast group.

ステップ61において、端末10aは、端末10bから受信した名前解決情報に基づいて、名前解決表を更新する。   In step 61, the terminal 10a updates the name resolution table based on the name resolution information received from the terminal 10b.

なお、本実施形態においては、形成されるAdHocネットワークは1つであったが、同一のLANセグメント(有線ネットワークの場合)又は同一の無線チャネル(無線ネットワークの場合)において、複数のAdHocネットワークが形成されてもよい。   In this embodiment, only one AdHoc network is formed. However, a plurality of AdHoc networks are formed in the same LAN segment (in the case of a wired network) or the same wireless channel (in the case of a wireless network). May be.

このとき、複数のAdHocネットワークに参加する各端末は、それぞれ異なるネットワークアドレスで統一された名前解決表を管理するものとする。また、複数のAdHocネットワークに参加する端末は、AdHocネットワーク毎に異なるIPアドレスを設定することができるものとする。   At this time, each terminal participating in a plurality of AdHoc networks shall manage a name resolution table unified with different network addresses. Also, it is assumed that terminals participating in a plurality of AdHoc networks can set different IP addresses for each AdHoc network.

また、既に形成されているAdHocネットワークに途中から参加する端末は、そのAdHocネットワークに参加している端末に、その端末で管理する名前解決表を要求するために、名前解決表要求をマルチキャストグループ宛に送信する。このとき、AdHocネットワークに既に参加している端末は、自端末で管理する名前解決表をマルチキャストグループ宛に送信する。ただし、AdHocネットワークに既に参加している端末は、いずれかの端末が既に名前解決表を送信している場合には、重複する送信を避けるため、名前解決表を送信しないものとする。   Also, a terminal that joins an already formed AdHoc network from the middle sends a name resolution table request to a multicast group in order to request a terminal that participates in the AdHoc network for a name resolution table managed by the terminal. Send to. At this time, a terminal already participating in the AdHoc network transmits a name resolution table managed by the own terminal to the multicast group. However, a terminal already participating in the AdHoc network does not transmit a name resolution table in order to avoid duplicate transmission when any terminal has already transmitted the name resolution table.

(本発明の一実施形態に係る端末の作用及び効果)
本実施形態に係る端末によれば、端末10aが、端末10aのIPアドレスとサブネットマスクとをマルチキャストグループ宛に送信することによって、端末10aのIPアドレスと端末10aが属するネットワークのネットワークアドレスとを他の端末(端末10b乃至端末10d)に通知し、通知された端末10aのIPアドレスとネットワークアドレスとに基づいて他の端末(端末10b乃至端末10d)において設定されたIPアドレスを受信し、受信したIPアドレスに基づいて名前解決表(アドレス表)を更新することにより、端末10aは、ネットワークアドレスが統一された名前解決表を管理することができる。
(Operation and effect of terminal according to one embodiment of the present invention)
According to the terminal according to the present embodiment, the terminal 10a transmits the IP address and subnet mask of the terminal 10a to the multicast group, thereby changing the IP address of the terminal 10a and the network address of the network to which the terminal 10a belongs. Terminal (terminal 10b to terminal 10d) and received the IP address set in the other terminal (terminal 10b to terminal 10d) based on the notified IP address and network address of terminal 10a. By updating the name resolution table (address table) based on the IP address, the terminal 10a can manage the name resolution table with a unified network address.

また、端末10b乃至端末10dが、他の端末(端末10a)のIPアドレスとネットワークアドレスとに基づいて、自端末のIPアドレスを設定するとともに、名前解決表を作成することにより、端末10b乃至端末10dは、ネットワークアドレスが統一された名前解決表を管理することができる。   Further, the terminals 10b to 10d set their own IP addresses based on the IP addresses and network addresses of other terminals (terminals 10a), and create a name resolution table, so that the terminals 10b to 10d 10d can manage a name resolution table with a unified network address.

さらに、端末10b乃至端末10dが、他の端末(端末10a)のIPアドレスとネットワークアドレスとに基づいて、自端末のIPアドレスを設定するとともに、自端末のIPアドレスをマルチキャストグループ宛に送信することにより、各端末(端末10a乃至端末10d)は、ネットワークアドレスが統一された名前解決表を共有することができる。   Further, the terminal 10b to the terminal 10d set the IP address of the own terminal based on the IP address and network address of the other terminal (terminal 10a), and transmit the IP address of the own terminal to the multicast group. Thus, each terminal (terminal 10a to terminal 10d) can share a name resolution table with a unified network address.

また、各端末(端末10a乃至端末10d)が、自端末の名前解決表において、複数のネットワークアドレスに含まれるIPアドレスが含まれている場合に、そのネットワークアドレスに属するIPアドレスが設定されている端末の数が最も多いネットワークアドレスに係る基準名前解決情報に基づいて、自端末のIPアドレスを再設定し、再設定したIPアドレスをマルチキャストグループ宛に送信することにより、各端末(端末10a乃至端末10d)は、自端末で管理する名前解決表におけるネットワークアドレスの統一を図ることができ、ネットワークアドレスが統一された名前解決表を共有することができる。   Further, when each terminal (terminal 10a to terminal 10d) includes IP addresses included in a plurality of network addresses in its own name resolution table, an IP address belonging to the network address is set. Based on the reference name resolution information related to the network address having the largest number of terminals, the IP address of the own terminal is reset, and the reset IP address is transmitted to the multicast group. 10d) can unify network addresses in the name resolution table managed by its own terminal, and can share the name resolution table with the unified network address.

さらに、各端末(端末10a乃至端末10d)が、自端末の名前解決表において、複数のネットワークアドレスに含まれるIPアドレスが含まれている場合に、IPアドレス空間が最も大きいネットワークアドレスに係る基準名前解決情報に基づいて、自端末のIPアドレスを再設定し、再設定したIPアドレスをマルチキャストグループ宛に送信することにより、各端末(端末10a乃至端末10d)は、自端末で管理する名前解決表におけるネットワークアドレスの統一を図ることができ、ネットワークアドレスが統一された名前解決表を共有することができる。   Furthermore, when each terminal (terminal 10a to terminal 10d) includes IP addresses included in a plurality of network addresses in its own name resolution table, the reference name relating to the network address having the largest IP address space Based on the resolution information, by resetting the IP address of the own terminal and transmitting the reset IP address to the multicast group, each terminal (terminal 10a to terminal 10d) can manage the name resolution table managed by the own terminal. Network addresses can be unified, and a name resolution table with unified network addresses can be shared.

本実施形態に係る端末が接続されているネットワークの全体構成図である。1 is an overall configuration diagram of a network to which a terminal according to the present embodiment is connected. 本実施形態に係る端末の構成を示す図である。It is a figure which shows the structure of the terminal which concerns on this embodiment. 本実施形態に係る名前解決表の一例を示す図である。It is a figure which shows an example of the name resolution table which concerns on this embodiment. 本実施形態に係る名前解決表共有処理(形成)を示すフロー図である。It is a flowchart which shows the name resolution table sharing process (formation) concerning this embodiment. 本実施形態に係る名前解決表共有処理(不一致是正)を示すフロー図である。It is a flowchart which shows the name resolution table sharing process (mismatch correction) which concerns on this embodiment. 本実施形態に係る名前解決表共有処理(名前解決表に無い端末との通信)を示すフロー図である。It is a flowchart which shows the name resolution table sharing process (communication with the terminal which is not in a name resolution table) concerning this embodiment.

符号の説明Explanation of symbols

10a〜10d・・・端末、11・・・送受信部、12・・・制御部、13・・・IPアドレス設定部、14・・・13記憶部   10a to 10d ... terminal, 11 ... transmission / reception unit, 12 ... control unit, 13 ... IP address setting unit, 14 ... 13 storage unit

Claims (10)

マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理するアドレス表管理方法であって、
第1の端末が、前記第1の端末のIPアドレスと前記第1の端末が属するネットワークのネットワークアドレスとを前記マルチキャストグループ宛に通知する工程Aと、
第2の端末が、前記第1の端末によって通知された前記第1の端末のIPアドレスとネットワークアドレスとに基づいて、前記第1の端末のネットワークアドレスと同じネットワークアドレスを有しており、かつ、前記第1の端末のIPアドレスと重複しないIPアドレスを前記第2の端末のIPアドレスとして設定する工程Bと、
前記第2の端末が、前記第1の端末によって通知された前記第1の端末のIPアドレスに基づいて、前記アドレス表を更新する工程Cと、
前記第2の端末が、前記工程Bにおいて設定された前記第2の端末のIPアドレスを前記マルチキャストグループ宛に通知する工程Dと、
前記第1の端末が、前記マルチキャストグループ宛に通知された前記第2の端末のIPアドレスに基づいて、前記アドレス表を更新する工程Eと
前記第1の端末又は前記第2の端末が、前記アドレス表において、他のネットワークアドレスに属するIPアドレスが設定されている端末の数が、自端末のネットワークアドレスに属するIPアドレスが設定されている端末の数よりも多い場合に、前記他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定する工程Fとを具備することを特徴とするアドレス表管理方法。
An address table management method for managing an address table including IP addresses of terminals belonging to a multicast group,
A step in which the first terminal notifies the multicast group of the IP address of the first terminal and the network address of the network to which the first terminal belongs;
The second terminal has the same network address as the network address of the first terminal based on the IP address and network address of the first terminal notified by the first terminal; and Setting an IP address that does not overlap with the IP address of the first terminal as the IP address of the second terminal;
A step C in which the second terminal updates the address table based on the IP address of the first terminal notified by the first terminal;
A step D in which the second terminal notifies the multicast group of the IP address of the second terminal set in the step B;
A step E in which the first terminal updates the address table based on the IP address of the second terminal notified to the multicast group ;
In the address table, the number of terminals for which the first terminal or the second terminal is set with an IP address belonging to another network address is set to an IP address belonging to the network address of the own terminal. And a step F of resetting the IP address of the own terminal based on the other network address when the number is larger than the number of terminals .
マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理するアドレス表管理方法であって、  An address table management method for managing an address table including IP addresses of terminals belonging to a multicast group,
第1の端末が、前記第1の端末のIPアドレスと前記第1の端末が属するネットワークのネットワークアドレスとを前記マルチキャストグループ宛に通知する工程Aと、  A step in which the first terminal notifies the multicast group of the IP address of the first terminal and the network address of the network to which the first terminal belongs;
第2の端末が、前記第1の端末によって通知された前記第1の端末のIPアドレスとネットワークアドレスとに基づいて、前記第1の端末のネットワークアドレスと同じネットワークアドレスを有しており、かつ、前記第1の端末のIPアドレスと重複しないIPアドレスを前記第2の端末のIPアドレスとして設定する工程Bと、  The second terminal has the same network address as the network address of the first terminal based on the IP address and network address of the first terminal notified by the first terminal; and Setting an IP address that does not overlap with the IP address of the first terminal as the IP address of the second terminal;
前記第2の端末が、前記第1の端末によって通知された前記第1の端末のIPアドレスに基づいて、前記アドレス表を更新する工程Cと、  A step C in which the second terminal updates the address table based on the IP address of the first terminal notified by the first terminal;
前記第2の端末が、前記工程Bにおいて設定された前記第2の端末のIPアドレスを前記マルチキャストグループ宛に通知する工程Dと、  A step D in which the second terminal notifies the multicast group of the IP address of the second terminal set in the step B;
前記第1の端末が、前記マルチキャストグループ宛に通知された前記第2の端末のIPアドレスに基づいて、前記アドレス表を更新する工程Eと、  A step E in which the first terminal updates the address table based on the IP address of the second terminal notified to the multicast group;
前記第1の端末又は前記第2の端末が、前記アドレス表において、他のネットワークアドレスに含まれるアドレス空間が、自端末のネットワークアドレスに含まれるアドレス空間よりも大きい場合に、前記他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定する工程Fとを具備することを特徴とするアドレス表管理方法。  When the first terminal or the second terminal has an address space included in another network address in the address table larger than an address space included in the network address of its own terminal, the other network address And a step F of resetting the IP address of the own terminal on the basis of the address table management method.
マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末であって、
前記マルチキャストグループ宛に通知された他の端末のIPアドレスと当該他の端末が属するネットワークのネットワークアドレスとに基づいて、前記他の端末のネットワークアドレスと同じネットワークアドレスを有しており、かつ、前記他の端末のIPアドレスと重複しないIPアドレスを自端末のIPアドレスとして設定するIPアドレス設定部と、
前記IPアドレス設定部によって設定された自端末のIPアドレスを前記マルチキャストグループ宛に通知する通知部と、
前記マルチキャストグループ宛に通知された前記他の端末のIPアドレスに基づいて、前記アドレス表を更新する更新部と
前記アドレス表において、他のネットワークアドレスに属するIPアドレスが設定されている端末の数が、自端末のネットワークアドレスに属するIPアドレスが設定されている端末の数よりも多い場合に、前記他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定するIPアドレス再設定部とを具備することを特徴とする端末。
A terminal that manages an address table including IP addresses of terminals belonging to a multicast group,
Based on the IP address of the other terminal notified to the multicast group and the network address of the network to which the other terminal belongs, and has the same network address as the network address of the other terminal, and An IP address setting unit for setting an IP address not overlapping with the IP address of another terminal as the IP address of the own terminal;
A notifying unit for notifying the IP address of the terminal set by the IP address setting unit to the multicast group;
An updating unit for updating the address table based on the IP address of the other terminal notified to the multicast group ;
In the address table, when the number of terminals set with IP addresses belonging to other network addresses is larger than the number of terminals set with IP addresses belonging to the network address of the own terminal, the other networks A terminal comprising: an IP address resetting unit that resets the IP address of the terminal based on the address .
マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末であって、  A terminal that manages an address table including IP addresses of terminals belonging to a multicast group,
前記マルチキャストグループ宛に通知された他の端末のIPアドレスと当該他の端末が属するネットワークのネットワークアドレスとに基づいて、前記他の端末のネットワークアドレスと同じネットワークアドレスを有しており、かつ、前記他の端末のIPアドレスと重複しないIPアドレスを自端末のIPアドレスとして設定するIPアドレス設定部と、  Based on the IP address of the other terminal notified to the multicast group and the network address of the network to which the other terminal belongs, and has the same network address as the network address of the other terminal, and An IP address setting unit for setting an IP address not overlapping with the IP address of another terminal as the IP address of the own terminal;
前記IPアドレス設定部によって設定された自端末のIPアドレスを前記マルチキャストグループ宛に通知する通知部と、  A notifying unit for notifying the IP address of the terminal set by the IP address setting unit to the multicast group;
前記マルチキャストグループ宛に通知された前記他の端末のIPアドレスに基づいて、前記アドレス表を更新する更新部と、  An updating unit for updating the address table based on the IP address of the other terminal notified to the multicast group;
前記アドレス表において、他のネットワークアドレスに含まれるアドレス空間が、自端末のネットワークアドレスに含まれるアドレス空間よりも大きい場合に、前記他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定するIPアドレス再設定部とを具備することを特徴とする端末。  In the address table, when the address space included in the other network address is larger than the address space included in the network address of the own terminal, the IP address of the own terminal is reset based on the other network address. A terminal comprising: an IP address resetting unit.
マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末であって、
前記マルチキャストグループに途中から参加する場合に、前記マルチキャストグループに属する端末に対して、前記アドレス表の通知を要求する要求部と、
通知された前記アドレス表によって特定されるネットワークアドレスと同じネットワークアドレスを有しており、かつ、通知された前記アドレス表に含まれていないIPアドレスを自端末のIPアドレスとして設定するIPアドレス設定部と、
通知された前記アドレス表を管理する管理部と、
前記IPアドレス設定部によって設定された自端末のIPアドレスを前記マルチキャストグループ宛に通知する通知部と
前記アドレス表において、他のネットワークアドレスに属するIPアドレスが設定されている端末の数が、自端末のネットワークアドレスに属するIPアドレスが設定されている端末の数よりも多い場合に、前記他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定するIPアドレス再設定部とを具備することを特徴とする端末。
A terminal that manages an address table including IP addresses of terminals belonging to a multicast group,
A request unit for requesting notification of the address table to terminals belonging to the multicast group when joining the multicast group from the middle;
An IP address setting unit that sets an IP address that has the same network address as the network address specified by the notified address table and is not included in the notified address table as the IP address of its own terminal When,
A management unit for managing the notified address table;
A notifying unit for notifying the IP address of the terminal set by the IP address setting unit to the multicast group ;
In the address table, when the number of terminals set with IP addresses belonging to other network addresses is larger than the number of terminals set with IP addresses belonging to the network address of the own terminal, the other networks A terminal comprising: an IP address resetting unit that resets the IP address of the terminal based on the address .
マルチキャストグループに属する端末のIPアドレスを含むアドレス表を管理する端末であって、  A terminal that manages an address table including IP addresses of terminals belonging to a multicast group,
前記マルチキャストグループに途中から参加する場合に、前記マルチキャストグループに属する端末に対して、前記アドレス表の通知を要求する要求部と、  A request unit for requesting notification of the address table to terminals belonging to the multicast group when joining the multicast group from the middle;
通知された前記アドレス表によって特定されるネットワークアドレスと同じネットワークアドレスを有しており、かつ、通知された前記アドレス表に含まれていないIPアドレスを自端末のIPアドレスとして設定するIPアドレス設定部と、  An IP address setting unit that sets an IP address that has the same network address as the network address specified by the notified address table and is not included in the notified address table as the IP address of its own terminal When,
通知された前記アドレス表を管理する管理部と、  A management unit for managing the notified address table;
前記IPアドレス設定部によって設定された自端末のIPアドレスを前記マルチキャストグループ宛に通知する通知部と、  A notifying unit for notifying the IP address of the terminal set by the IP address setting unit to the multicast group;
前記アドレス表において、他のネットワークアドレスに含まれるアドレス空間が、自端末のネットワークアドレスに含まれるアドレス空間よりも大きい場合に、前記他のネットワークアドレスに基づいて、自端末のIPアドレスを再設定するIPアドレス再設定部とを具備することを特徴とする端末。  In the address table, when the address space included in the other network address is larger than the address space included in the network address of the own terminal, the IP address of the own terminal is reset based on the other network address. A terminal comprising: an IP address resetting unit.
前記アドレス表に含まれるIPアドレスと自端末に設定されているIPアドレスとが重複する場合に、前記マルチキャストグループ宛に通知された前記ネットワークアドレスに基づいて、自端末のIPアドレスを再設定するIPアドレス再設定部を具備し、
前記通知部は、前記IPアドレス再設定部によって設定された自端末のIPアドレスを前記マルチキャストグループ宛に通知することを特徴とする請求項3乃至請求項に記載の端末。
IP for resetting the IP address of the own terminal based on the network address notified to the multicast group when the IP address included in the address table overlaps with the IP address set for the own terminal An address resetting unit,
The notification unit terminal according to claims 3 to 6 and notifies the IP address of the terminal that is set by the IP address resetting unit addressed the multicast group.
前記通知部は、前記アドレス表にIPアドレスが含まれていない他の端末と通信を行う場合に、当該他の端末のIPアドレスを要求する情報をマルチキャストグループ宛に通知することを特徴とする請求項乃至請求項に記載の端末。 The notification unit, when communicating with another terminal whose IP address is not included in the address table, notifies the multicast group of information requesting the IP address of the other terminal. The terminal of Claim 3 thru | or 7 . 前記通知部は、自端末のIPアドレスとともに、自端末のユーザ識別子をマルチキャストグループ宛に通知することを特徴とする請求項乃至請求項に記載の端末。 The notification unit, together with the IP address of the terminal, the terminal according to claims 3 to 8 and notifies the user identifier of the own terminal addressed to the multicast group. 前記通知部は、自端末のIPアドレスとともに、自端末の端末識別子をマルチキャストグループ宛に通知することを特徴とする請求項乃至請求項に記載の端末。 The notification unit, together with the IP address of the terminal, the terminal according to claims 3 to 9 and notifies the terminal identifier of the own terminal addressed to the multicast group.
JP2003380450A 2003-11-10 2003-11-10 Address table management method and terminal Expired - Fee Related JP4242752B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003380450A JP4242752B2 (en) 2003-11-10 2003-11-10 Address table management method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003380450A JP4242752B2 (en) 2003-11-10 2003-11-10 Address table management method and terminal

Publications (2)

Publication Number Publication Date
JP2005143058A JP2005143058A (en) 2005-06-02
JP4242752B2 true JP4242752B2 (en) 2009-03-25

Family

ID=34690170

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003380450A Expired - Fee Related JP4242752B2 (en) 2003-11-10 2003-11-10 Address table management method and terminal

Country Status (1)

Country Link
JP (1) JP4242752B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8227160B2 (en) 2006-10-16 2012-07-24 Kao Corporation Toner for electrophotography

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100553229C (en) * 2007-01-24 2009-10-21 中国科学院计算机网络信息中心 A kind of dynamic multicast routing method of half-covered self-organizing
JP2017112395A (en) * 2014-03-17 2017-06-22 日本電気株式会社 Radio communication device, radio communication system, automatic setting method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8227160B2 (en) 2006-10-16 2012-07-24 Kao Corporation Toner for electrophotography

Also Published As

Publication number Publication date
JP2005143058A (en) 2005-06-02

Similar Documents

Publication Publication Date Title
Rahman et al. Group communication for the constrained application protocol (CoAP)
JP4226553B2 (en) Routing in data communication networks
EP1659762B1 (en) System and method for a distributed address allocation server for peer-to-peer networks
US8250184B2 (en) System, network entities and computer programs for configuration management of a dynamic host configuration protocol framework
US7181503B2 (en) Apparatus and method of searching for DNS server in outernet
US10659430B2 (en) Systems and methods for dynamic network address modification related applications
US8724513B2 (en) Methods and apparatus for distribution of IP layer routing information in peer-to-peer overlay networks
US20050175020A1 (en) Tunneling service method and system
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
JP2006254137A (en) User terminal management device, user terminal management program and user terminal management system
US20180139133A1 (en) Method to Optimize Mapping for Multiple Locations of a Device in Mobility
JP2019515555A (en) Anonymous Identification Information and Protocol of Identification Information Oriented Network
WO2006068747A2 (en) Distributed domain name service
JP2021536711A (en) Methods and devices that support selective forwarding of messages over the network of communicablely coupled communication devices
JP2012104970A (en) Communication apparatus, and control method thereof
JP4186733B2 (en) Communication system, terminal, and address generation method
JP4242752B2 (en) Address table management method and terminal
Rahman et al. RFC 7390: Group Communication for the Constrained Application Protocol (CoAP)
WO2017219777A1 (en) Packet processing method and device
JP4654613B2 (en) Communication system, communication method, address distribution system, address distribution method, communication terminal
JP2005210554A (en) Dhcp substitute server
JP2006211347A (en) Radio communication system
Stenberg et al. Distributed Node Consensus Protocol
US20030225910A1 (en) Host resolution for IP networks with NAT
JP2008206081A (en) Data relaying apparatus and data relaying method used for multi-homing communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060411

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080604

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080610

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080811

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080902

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081104

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081225

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 4242752

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130109

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140109

Year of fee payment: 5

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees