JP2015012603A - Network mode selection method and apparatus - Google Patents

Network mode selection method and apparatus Download PDF

Info

Publication number
JP2015012603A
JP2015012603A JP2013233808A JP2013233808A JP2015012603A JP 2015012603 A JP2015012603 A JP 2015012603A JP 2013233808 A JP2013233808 A JP 2013233808A JP 2013233808 A JP2013233808 A JP 2013233808A JP 2015012603 A JP2015012603 A JP 2015012603A
Authority
JP
Japan
Prior art keywords
dynamic
message
network
allocation
mode
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.)
Granted
Application number
JP2013233808A
Other languages
Japanese (ja)
Other versions
JP5737367B2 (en
Inventor
フウイ オウ、ジェ
Je Hui Oh
フウイ オウ、ジェ
フーン ジュン、ジュン
Jun Hoon Jung
フーン ジュン、ジュン
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.)
MODACOM CO Ltd
Original Assignee
MODACOM CO 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 MODACOM CO Ltd filed Critical MODACOM CO Ltd
Publication of JP2015012603A publication Critical patent/JP2015012603A/en
Application granted granted Critical
Publication of JP5737367B2 publication Critical patent/JP5737367B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • H04L61/5014Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Abstract

PROBLEM TO BE SOLVED: To provide a network mode selection method and an apparatus.SOLUTION: A network device includes: an interface unit for supporting a communication standard that supports DHCP (Dynamic Host Configuration Protocol); an IP discovery unit for broadcasting a dynamic IP discovery message; an interface selection unit for selecting any one of a plurality of communication standards, based on whether or not a dynamic IP offer message corresponding to the dynamic IP discovery message is received from a dynamic IP allocation device within a predetermined timeout period; and a mode operation unit for operating in a network mode according to the selected communication standard.

Description

本発明は、IP(Internet Protocol)基盤の通信を可能にするネットワークモード選択方法及び装置に関するものである。   The present invention relates to a network mode selection method and apparatus that enable IP (Internet Protocol) -based communication.

以下に記述される内容は単純に本発明と関連する背景情報のみを提供するだけであり、従来の技術を構成するものでないことを明らかにする。   It will be clarified that the content described below merely provides background information relevant to the present invention and does not constitute prior art.

一般に、ユーザは多様な通信規格を用いてIP基盤の通信を遂行する。このようなIP基盤の通信機器のうち、有無線共有器のような機器は通信事業者(ISP:Internet Service Provider)からIPの割当を受けて別途の内部網を構成してインターネットサービスを提供する。この際、有無線共有器のような機器は通信事業者からIPの割当を受けて通信が可能にする広域ネットワークを利用したり、内部私設網の端末機にIPを割当しながら通信を可能にする近距離ネットワークを利用したりすることができる。   Generally, a user performs IP-based communication using various communication standards. Among such IP-based communication devices, a device such as a wired / wireless sharing device receives an IP assignment from a telecommunications carrier (ISP: Internet Service Provider) and configures a separate internal network to provide Internet services. . At this time, a device such as a wired / wireless sharing device can use a wide area network that enables communication by receiving an IP assignment from a communication carrier, or can communicate while assigning an IP to a terminal in an internal private network. Or use a short-distance network.

従来の有無線共有器のような機器は、該当インターフェースの役割が固定されていたり、通信環境が変わる場合、機器の該当インターフェースをユーザが手動に変更(再設定)したりしなければならないという問題がある。   In the case of a device such as a conventional wired / wireless sharing device, if the role of the corresponding interface is fixed or the communication environment changes, the user must manually change (reconfigure) the corresponding interface of the device. There is.

本発明の目的は、DHCP(Dynamic Host Configuration Protocol)メッセージ特性を用いて通信環境に従うネットワークモードを選択する方法及び装置を提供することにある。   An object of the present invention is to provide a method and apparatus for selecting a network mode according to a communication environment using a DHCP (Dynamic Host Configuration Protocol) message characteristic.

本実施形態の一態様によれば、DHCP(Dynamic Host Configuration Protocol)規約をサポートする通信規格をサポートするインターフェース部、動的IP(Dynamic IP)発見メッセージをブロードキャスティング(Broadcasting)するIP発見部、予め設定されたタイムアウト(TimeOut)の内に上記動的IP発見メッセージに対応する動的IPオファー(Offer)メッセージが動的IP割当装置から受信されるか否かに基づいて上記複数の通信規格のうち、いずれか1つの通信規格を選択するインターフェース選択部、及び選択された上記通信規格に従うネットワークモードで動作するようにするモード動作部を含むことを特徴とする、ネットワーク装置を提供する。   According to an aspect of this embodiment, an interface unit that supports a communication standard that supports DHCP (Dynamic Host Configuration Protocol) protocol, an IP discovery unit that broadcasts a dynamic IP discovery message, Based on whether a dynamic IP offer (Offer) message corresponding to the dynamic IP discovery message is received from the dynamic IP allocation device within a set timeout (TimeOut), among the plurality of communication standards. A network device comprising: an interface selection unit that selects any one communication standard; and a mode operation unit configured to operate in a network mode according to the selected communication standard.

また、本発明の他の態様によれば、WANまたはLANを用いる装置がネットワークモードを選択する方法において、動的IP発見メッセージをブロードキャスティングするIP発見過程、予め設定されたタイムアウトの内に上記動的IP発見メッセージに対応する動的IPオファー(Offer)メッセージが動的IP割当装置から受信されるか否かを確認する確認過程、上記確認過程の確認結果に基づいてインターフェース部がサポートする複数の通信規格のうち、いずれか1つの通信規格を選択するインターフェース選択過程、及び選択された上記通信規格に従うネットワークモードで動作するようにするモード動作過程を含むことを特徴とする、ネットワークモード選択方法を提供する。   In addition, according to another aspect of the present invention, in a method in which a device using a WAN or a LAN selects a network mode, an IP discovery process for broadcasting a dynamic IP discovery message, the above-described operation within a preset timeout. A confirmation process for confirming whether a dynamic IP offer (Offer) message corresponding to the dynamic IP discovery message is received from the dynamic IP allocation device, and a plurality of interfaces supported by the interface unit based on the confirmation result of the confirmation process. A network mode selection method comprising: an interface selection process for selecting any one of communication standards, and a mode operation process for operating in a network mode according to the selected communication standard. provide.

以上、説明したように本発明によれば、DHCPメッセージ特性を用いて通信環境に従うネットワークモードを選択し、選択されたネットワークモードに通信が維持されるようにする効果がある。即ち、クライアントとネットワーク装置(WANまたはLANを用いる装置)との間に一回だけ連結されれば、その後に通信環境が変わってもクライアントはネットワークを再設定する必要無しでネットワーク装置から自動的にネットワークを設定して、結果的に通信を維持することができる効果がある。言い換えると、ユーザの操作無しでネットワーク装置の内部的にネットワークモードの再設定が自動的に可能な効果がある。   As described above, according to the present invention, there is an effect that the network mode according to the communication environment is selected using the DHCP message characteristics, and the communication is maintained in the selected network mode. That is, if the client and the network device (device using WAN or LAN) are connected only once, even if the communication environment changes after that, the client can automatically start from the network device without having to reset the network. There is an effect that communication can be maintained as a result of setting a network. In other words, there is an effect that the network mode can be automatically reset inside the network device without any user operation.

また、本発明によれば、スイッチ(Switch)のような別途のモード切換機能無しで複数のネットワークモードをサポート可能な効果がある。また、有無線通信環境によって自動的にネットワークモードを認識することによって、ユーザが別途にネットワークを設定する必要がないだけでなく、移動型機器などのように空間制限が発生する機器で複数のネットワークモードを全て提供を受けることができるようにする効果がある。   In addition, according to the present invention, it is possible to support a plurality of network modes without a separate mode switching function such as a switch. In addition, by automatically recognizing the network mode according to the wired / wireless communication environment, not only does the user need to set up a separate network, but also multiple devices such as mobile devices that have space limitations. This has the effect of allowing all modes to be offered.

本発明の実施形態に従うネットワーク装置(WANまたはLANを用いる装置)を概略的に示すブロック構成図である。1 is a block configuration diagram schematically showing a network device (device using WAN or LAN) according to an embodiment of the present invention. FIG. 本発明の実施形態に従うIPアドレス割当手続きを説明するための順序図である。FIG. 5 is a flowchart illustrating an IP address assignment procedure according to an embodiment of the present invention. 本発明の実施形態に従うIPアドレス賃貸期間延長手続きを説明するための順序図である。It is a flowchart for demonstrating the IP address rental period extension procedure according to embodiment of this invention. 本発明の実施形態に従うIPアドレス返却手続きを説明するための順序図である。It is a flowchart for demonstrating the IP address return procedure according to embodiment of this invention. 本発明の実施形態に従うIPアドレス割当、賃貸期間延長、及び返却手続きを説明するための図である。It is a figure for demonstrating the IP address allocation according to embodiment of this invention, lease period extension, and a return procedure. 本発明の実施形態に従うネットワークモード選択方法を説明するための順序図である。FIG. 5 is a flowchart illustrating a network mode selection method according to an embodiment of the present invention.

以下、本実施形態を添付した図面を参照して詳細に説明する。   Hereinafter, this embodiment will be described in detail with reference to the accompanying drawings.

本実施形態に従うネットワーク装置100は、基本的にLTE信号またはワイマックス(Wi−MAX(登録商標))信号をワイファイ(Wi−Fi(登録商標))信号に変える携帯用端末機と結合される形態に具現できる。   The network device 100 according to the present embodiment is basically combined with a portable terminal that converts an LTE signal or a WiMAX (Wi-MAX (registered trademark)) signal into a WiFi (Wi-Fi (registered trademark)) signal. Can be implemented.

図1は、本発明の実施形態に従うネットワーク装置(WANまたはLANを用いる装置)を概略的に示すブロック構成図である。   FIG. 1 is a block diagram schematically showing a network device (device using WAN or LAN) according to an embodiment of the present invention.

本実施形態に従うネットワーク装置100は、WANまたはLANを用いる全ての装置であって、WAN及びLANを全て利用したり、WAN及びLANのうち、少なくとも1つ以上を用いることができる装置で具現できる。ネットワーク装置100は、モバイルルーターで具現されるか、固定型デスクトップ(Desktop)ルーターで具現できる。   The network device 100 according to the present embodiment can be implemented by any device that uses a WAN or LAN, and can use all of the WAN and LAN, or can use at least one of the WAN and LAN. The network device 100 may be implemented as a mobile router or a fixed desktop router.

本実施形態に従うネットワーク装置100は、インターフェース部110、IP発見部120、インターフェース選択部130、及びモード動作部140を含む。ネットワーク装置100に含まれた構成要素は必ずこれに限定されるものではない。   The network device 100 according to the present embodiment includes an interface unit 110, an IP discovery unit 120, an interface selection unit 130, and a mode operation unit 140. The components included in the network device 100 are not necessarily limited to this.

また、本実施形態に従うネットワーク装置100は、動的IP割当装置220と別途の装置で具現されたものと記載しているが、実際の実施形態の具現において、ネットワーク装置100は動的IP割当装置220の一部または全部の機能を含む形態の自立型(Stand Alone)装置で具現できる。   In addition, the network device 100 according to the present embodiment is described as being implemented by a separate device from the dynamic IP allocation device 220. However, in the actual embodiment, the network device 100 is a dynamic IP allocation device. 220 may be implemented as a stand-alone device including a part or all of the functions of 220.

インターフェース部110は、複数の通信規格(Communication Protocol)をサポートする。また、インターフェース部110はDHCP(Dynamic Host Configuration Protocol)規約をサポートする各種の通信規格をサポートする。インターフェース部110は、複数の通信規格をサポートする各々の通信モジュールまたは通信ポートを含む。例えば、インターフェース部110は、ワイマックスモジュール、3Gネットワーク通信モジュール、4Gネットワーク通信モジュール、ワイファイ通信モジュール、及びテザリング(Tethering)通信モジュールのうち、少なくとも1つ以上の通信モジュールを含むことができ、RJ45ポートを含むことができる。   The interface unit 110 supports a plurality of communication standards (Communication Protocol). The interface unit 110 supports various communication standards that support DHCP (Dynamic Host Configuration Protocol) protocol. The interface unit 110 includes each communication module or communication port that supports a plurality of communication standards. For example, the interface unit 110 may include at least one communication module among a WiMAX module, a 3G network communication module, a 4G network communication module, a WiFi communication module, and a tethering communication module. Can be included.

IP発見部120は、動的IP(Dynamic IP)発見メッセージをブロードキャスティング(Broadcasting)する。ここで、動的IP発見メッセージはDHCPディスカバー(Discover)メッセージをいう。   The IP discovery unit 120 broadcasts a dynamic IP discovery message. Here, the dynamic IP discovery message is a DHCP Discover message.

以下、'DHCP(Dynamic Host Configuration Protocol)'について説明する。通常、インターネットを用いるためのインターネットアドレスがIPアドレスである。このようなインターネットアドレスはインターネットに接続する時、動的(Dynamic)に割当を受けるが、動的にIPアドレスを割り当ててくれるプロトコルを'DHCP'という。このような、DHCPを通じたIPアドレス割当は'賃貸'という概念を有する。これは、動的IP割当装置220がIPアドレスを永久的にクライアント210に割り当てるものでなく、賃貸期間を明示してその期間の間だけクライアント210がIPアドレスを用いるようにする。ここで、動的IP割当装置220はDHCPサーバをいう。クライアント210は、賃貸期間の以後にも続けて該当IPアドレスを利用しようとすれば、IPアドレス賃貸期間延長を動的IP割当装置220に要請しなければならない。また、クライアント210は賃貸を受けたIPアドレスがこれ以上必要でない場合、IPアドレス返却手続きを遂行することができる。   Hereinafter, “DHCP (Dynamic Host Configuration Protocol)” will be described. Usually, an Internet address for using the Internet is an IP address. Such an Internet address is dynamically assigned when connecting to the Internet, but a protocol that dynamically assigns an IP address is called “DHCP”. Such IP address assignment through DHCP has the concept of “rental”. This means that the dynamic IP allocation device 220 does not permanently allocate an IP address to the client 210, but specifies the lease period so that the client 210 uses the IP address only during that period. Here, the dynamic IP allocation device 220 refers to a DHCP server. If the client 210 intends to use the corresponding IP address after the lease period, the client 210 must request the dynamic IP allocation apparatus 220 to extend the IP address lease period. In addition, the client 210 can perform an IP address return procedure when the leased IP address is not needed any more.

言い換えると、DHCPはネットワーク管理者が組織の内のネットワークの上でIPアドレスを中央で管理し、割り当ててくれることができるようにするプロトコルである。即ち、インターネットのTCP/IPプロトコルでは、各クライアント210が固有なIPアドレスを有しなければインターネットに接続できない。組織でクライアント210がインターネットに接続する時、IPアドレスは各クライアント210に必ず割り当てられなければならない。DHCPを利用しない場合には、各クライアント210毎にIPアドレスが手業務により入力されなければならない。仮に、クライアント210が他の場所に移動する場合、IPアドレスを新しく入力しなければならない。DHCPは、ネットワーク管理者が中央でIPアドレスを管理し割り当てて、クライアント210がネットワークの他の場所に接続された時、自動的に新しいIPアドレスを送ってくれることができるようにする。   In other words, DHCP is a protocol that allows a network administrator to centrally manage and assign IP addresses on an organization's network. That is, in the TCP / IP protocol of the Internet, it is impossible to connect to the Internet unless each client 210 has a unique IP address. When clients 210 connect to the Internet in an organization, an IP address must be assigned to each client 210. If DHCP is not used, an IP address must be manually input for each client 210. If the client 210 moves to another location, a new IP address must be entered. DHCP allows a network administrator to centrally manage and assign IP addresses so that when a client 210 is connected to another location on the network, it can automatically send a new IP address.

また、DHCPは与えられたIPアドレスが一定の時間の間だけそのクライアント210に有効であるようにする'賃貸'概念を有する。賃貸時間は、ユーザが特定の場所でどのくらい長い間インターネット接続が必要であるかによって変わることができる。DHCPは、クライアント210がよく変わる学校のような環境で有用である。DHCPは、利用可能なIPアドレスの個数より多いクライアント210がある場合にもIPアドレスの賃貸時間を設定してネットワークを動的に再構成することができる。   DHCP also has a 'rental' concept that allows a given IP address to be valid for its client 210 for a certain amount of time. Rental times can vary depending on how long the user needs an internet connection at a particular location. DHCP is useful in a school-like environment where clients 210 are often changing. DHCP can dynamically reconfigure the network by setting IP address lease time even when there are more clients 210 than the number of available IP addresses.

このようなDHCPは、有無線IP環境で端末のIPアドレス、サブネットマスク(Subnet Mask)、デフォルトゲートウエー(Default Gateway)IPアドレス、DNS(Domain Name System)サーバIPアドレス、賃貸時間(Lease Time)などの多様なネットワーク情報を動的IP割当装置(DHCPサーバ)220がクライアント210に動的に割り当ててくれるプロトコルをいう。DHCPによってユーザがネットワーク情報を直接設定する必要無しで自動的にネットワーク設定が可能である。   Such DHCP is used in a wired / wireless IP environment, such as a terminal IP address, a subnet mask, a default gateway IP address, a DNS (Domain Name System) server IP address, and a lease time. This is a protocol in which the dynamic IP allocation device (DHCP server) 220 dynamically allocates various network information to the client 210. With DHCP, network setting can be automatically performed without the need for the user to set network information directly.

インターフェース選択部130は、予め設定されたタイムアウト(TimeOut)の内に動的IP発見メッセージに対応する動的IPオファー(Offer)メッセージが動的IP割当装置220から受信されるか否かに基づいて複数の通信規格のうち、いずれか1つの通信規格を選択する。ここで、タイムアウトは予め設定された時間をいい、動的IPオファーメッセージはDHCPオファー(Offer)メッセージをいう。   The interface selection unit 130 determines whether a dynamic IP offer message corresponding to the dynamic IP discovery message is received from the dynamic IP allocation apparatus 220 within a preset timeout (TimeOut). One of the plurality of communication standards is selected. Here, the timeout refers to a preset time, and the dynamic IP offer message refers to a DHCP offer (Offer) message.

以下、インターフェース選択部130が通信規格を広域ネットワーク規格に選択する場合について説明する。即ち、インターフェース選択部130は予め設定されたタイムアウトの内に動的IP割当装置220から動的IPオファーメッセージが受信される場合、通信規格を広域ネットワーク規格に選択する。   Hereinafter, a case where the interface selection unit 130 selects the communication standard as the wide area network standard will be described. That is, when the dynamic IP offer message is received from the dynamic IP allocation device 220 within a preset timeout, the interface selection unit 130 selects the communication standard as the wide area network standard.

以下、インターフェース選択部130が通信規格を近距離ネットワーク規格に選択する場合について説明する。インターフェース選択部130は、予め設定されたタイムアウトが経過されるまで動的IP割当装置220から動的IPオファーメッセージが未受信される時、クライアント210から動的IP発見メッセージが受信されるか、動的IP割当要請メッセージが受信される場合、動的IP割当装置220が未存在することと認識して、通信規格を近距離ネットワーク規格に選択する。ここで、動的IP割当要請メッセージはDHCPリクエスト(Request)メッセージをいう。また、インターフェース選択部130は予め設定されたタイムアウトが経過されるまで動的IP割当装置220から動的IPオファーメッセージが未受信される時、クライアント210から動的IP発見メッセージが受信されるか、動的IP割当要請メッセージが未受信されれば、動的IP発見メッセージの送信回数が最大転送回数以上の場合に、通信規格を近距離ネットワーク規格に選択する。   Hereinafter, a case where the interface selection unit 130 selects the communication standard as the short-range network standard will be described. When the dynamic IP offer message is not received from the dynamic IP allocation device 220 until the preset timeout elapses, the interface selection unit 130 receives the dynamic IP discovery message from the client 210, If the dynamic IP allocation request message is received, the dynamic IP allocation device 220 recognizes that it does not exist and selects the communication standard as the short-distance network standard. Here, the dynamic IP assignment request message is a DHCP request message. In addition, when the dynamic IP offer message is not received from the dynamic IP allocation device 220 until the preset timeout elapses, the interface selection unit 130 receives the dynamic IP discovery message from the client 210, or If the dynamic IP allocation request message is not received, the communication standard is selected as the short-distance network standard when the number of transmissions of the dynamic IP discovery message is equal to or greater than the maximum number of transfers.

モード動作部140は、インターフェース選択部130により選択された通信規格に従うネットワークモードで動作するようにする。このようなモード動作部140は、IPオファー部142、IP割当要請部144、及びIP割当応答部146を含む。ここで、IPオファー部142及びIP割当要請部144は動的IP割当装置220と連動して動作するだけでなく、動的IP割当装置220と連動しなくて独自に動作することができる。   The mode operation unit 140 operates in a network mode in accordance with the communication standard selected by the interface selection unit 130. The mode operation unit 140 includes an IP offer unit 142, an IP allocation request unit 144, and an IP allocation response unit 146. Here, the IP offer unit 142 and the IP allocation request unit 144 not only operate in conjunction with the dynamic IP allocation device 220 but also can operate independently without interlocking with the dynamic IP allocation device 220.

モード動作部140は、インターフェース選択部130により広域ネットワーク規格が選択された場合、選択された広域ネットワーク規格によって広域ネットワークモードで動作するようにする。ここで、広域ネットワークモードはWAN(Wide Area Network)サポートモードとして、ワイマックスモード、3Gネットワークモード、4Gネットワークモード、またはRJ45モードを含んだ多様なインターフェースのうちの1つ以上のネットワークモードを含む。ここで、WANは公衆通信事業者が提供する専用線、パケット交換網、総合情報通信網(ISDN:Integrated Services Digital Network)などの通信回線サービスを用いて広範囲な地域に分散されている構内情報通信網(LAN:Local Area Network)や都市圏通信網(MAN:Metropolitan Area Network)を相互接続して形成した大規模通信網を称する。   When the wide area network standard is selected by the interface selection unit 130, the mode operation unit 140 operates in the wide area network mode according to the selected wide area network standard. Here, the wide area network mode includes one or more network modes of various interfaces including a WiMAX mode, a 3G network mode, a 4G network mode, or an RJ45 mode as a WAN (Wide Area Network) support mode. Here, WAN is a premises information communication distributed over a wide area using communication line services such as leased line, packet switching network, integrated services digital network (ISDN) provided by public telecommunications carriers. A large-scale communication network formed by interconnecting a network (LAN: Local Area Network) and a metropolitan area communication network (MAN: Metropolitan Area Network).

以下、モード動作部140に含まれた構成要素が広域ネットワークモードで動作する過程について説明する。IPオファー部142は、動的IP割当装置220がブロードキャスティングした動的IPオファーメッセージを受信する。IP割当要請部144は、動的IPオファーメッセージに対応する動的IP割当要請メッセージを動的IP割当装置220に転送する。IP割当応答部146は、動的IP割当装置220がブロードキャスティングしたIP割当要請メッセージに対応する動的IP割当応答メッセージを受信する。ここで、動的IP割当応答メッセージはDHCPアック(Ack)メッセージをいう。   Hereinafter, a process in which the components included in the mode operation unit 140 operate in the wide area network mode will be described. The IP offer unit 142 receives the dynamic IP offer message broadcasted by the dynamic IP assignment device 220. The IP allocation request unit 144 transfers a dynamic IP allocation request message corresponding to the dynamic IP offer message to the dynamic IP allocation device 220. The IP allocation response unit 146 receives a dynamic IP allocation response message corresponding to the IP allocation request message broadcasted by the dynamic IP allocation apparatus 220. Here, the dynamic IP allocation response message is a DHCP ACK message.

モード動作部140は、インターフェース選択部130により近距離ネットワーク規格が選択された場合、選択された近距離ネットワーク規格によって近距離ネットワークモードで動作するようにする。ここで、近距離ネットワークモードはLANサポートモードとして、ワイファイモード、テザリングモード、またはRJ45モードを含んだ多様なインターフェースのうちの1つ以上のネットワークモードを含む。ここで、LANは一般的に企業の内部で運用される網という意味で企業内の通信網を称する。   When the short-distance network standard is selected by the interface selection unit 130, the mode operation unit 140 operates in the short-distance network mode according to the selected short-distance network standard. Here, the short-distance network mode includes one or more network modes among various interfaces including a WiFi mode, a tethering mode, or an RJ45 mode as a LAN support mode. Here, the LAN generally refers to a communication network within a company in the sense that it is a network operated within the company.

以下、モード動作部140に含まれた構成要素が近距離ネットワークモードで動作する過程について説明する。IPオファー部142は、動的IP割当装置220と連動せず、独自に動的IP発見メッセージに応答として動的IPオファーメッセージをブロードキャスティングする。即ち、IPオファー部142はクライアント210から受信された動的IP発見メッセージに応答として動的IPオファーメッセージをクライアント210に伝達(ブロードキャスティング)する。但し、IPオファー部142の動作は必ずこれに限定されるものではなく、動的IP割当装置220と連動して動的IP割当装置220から動的IPオファーメッセージを受信してクライアント210に伝達(ブロードキャスティング)することができる。言い換えると、IPオファー部142は内部(独自)または遠隔にある動的IP割当装置220を用いて動的IPオファーメッセージをブロードキャスティングすることができる。   Hereinafter, a process in which the components included in the mode operation unit 140 operate in the short-distance network mode will be described. The IP offer unit 142 does not link with the dynamic IP assignment device 220 and broadcasts the dynamic IP offer message as a response to the dynamic IP discovery message. That is, the IP offer unit 142 transmits (broadcasts) the dynamic IP offer message to the client 210 in response to the dynamic IP discovery message received from the client 210. However, the operation of the IP offer unit 142 is not necessarily limited to this, and the dynamic IP offer message is received from the dynamic IP assignment device 220 in conjunction with the dynamic IP assignment device 220 and transmitted to the client 210 ( Broadcasting). In other words, the IP offer unit 142 can broadcast a dynamic IP offer message using the dynamic IP allocation device 220 that is internal (unique) or remote.

IP割当要請部144は、動的IP割当装置220と連動せず、独自に動的IP割当を行う。即ち、IP割当要請部144は、動的IPオファーメッセージに対応する動的IP割当要請メッセージをクライアント210から受信した後、動的IPを割り当てる。但し、IPオファー部142の動作は必ずこれに限定されるものではなく、動的IP割当装置220と連動して動的IP割当要請メッセージを動的IP割当装置220に伝達して動的IPの割当を受けることができる。言い換えると、IP割当要請部144は、内部(独自)または遠隔にある動的IP割当装置220を用いて動的IP割当を受けることができる。IP割当応答部146は、内部(独自)または遠隔にある動的IP割当装置220から割当を受けた情報を通じてIP割当要請メッセージに対応する動的IP割当応答メッセージをクライアント210に伝達する。   The IP allocation request unit 144 does not link with the dynamic IP allocation device 220 and independently performs dynamic IP allocation. That is, the IP allocation request unit 144 allocates a dynamic IP after receiving a dynamic IP allocation request message corresponding to the dynamic IP offer message from the client 210. However, the operation of the IP offer unit 142 is not necessarily limited to this, and the dynamic IP allocation request message is transmitted to the dynamic IP allocation apparatus 220 in conjunction with the dynamic IP allocation apparatus 220 to Can be assigned. In other words, the IP allocation request unit 144 can receive dynamic IP allocation using the internal (unique) or remote dynamic IP allocation device 220. The IP allocation response unit 146 transmits a dynamic IP allocation response message corresponding to the IP allocation request message to the client 210 through information allocated from the internal (unique) or remote dynamic IP allocation apparatus 220.

図1に図示されたネットワーク装置100は、DHCPメッセージを用いてネットワークモードを自動検出してユーザの設定無しで該当モードに合うように自動的にネットワークモードに設定することができる。また、ネットワーク装置100は動的IP発見メッセージ転送と動的IPオファーメッセージ検出機能をサポートする。即ち、ネットワーク装置100はインターフェース部110が活性化されれば、広域ネットワークモードで動作できるか否かを確認するために、動的IP発見メッセージと動的IPオファーメッセージを検出する。また、ネットワーク装置100は動的IP発見メッセージの再転送のためのタイムアウトと最大転送回数制限機能をサポートする。即ち、ネットワーク装置100は広域ネットワークモード検出のために動的IPオファーメッセージ受信タイムアウトと動的IP発見メッセージの最大転送回数を管理する。また、ネットワーク装置100は動的IP発見メッセージ及び動的IP割当要請メッセージ受信確認機能をサポートする。   The network apparatus 100 illustrated in FIG. 1 can automatically detect a network mode using a DHCP message and automatically set the network mode to match the corresponding mode without user setting. Further, the network device 100 supports a dynamic IP discovery message transfer and a dynamic IP offer message detection function. That is, when the interface unit 110 is activated, the network device 100 detects the dynamic IP discovery message and the dynamic IP offer message in order to confirm whether or not the network device 100 can operate in the wide area network mode. In addition, the network device 100 supports a time-out and maximum transfer number limit function for retransfer of a dynamic IP discovery message. That is, the network device 100 manages the dynamic IP offer message reception timeout and the maximum number of transfer times of the dynamic IP discovery message in order to detect the wide area network mode. Further, the network device 100 supports a dynamic IP discovery message and a dynamic IP assignment request message reception confirmation function.

また、ネットワーク装置100はインターフェース部110が活性化されれば、近距離ネットワークモードで動作できるか否かを確認するために、動的IP発見メッセージと動的IP割当要請メッセージに対して受信したか否かを確認する。仮に、'広域ネットワークモード'に設定されれば、クライアント210が動作されてゲートウエー設定、DNS設定、WANモード防火壁(Fire wall)を設定する。一方、'近距離ネットワークモード'に設定されれば、動的IP割当装置220が動作されなければならず、近距離ネットワークモード防火壁を設定する。   In addition, if the interface unit 110 is activated, the network device 100 has received a dynamic IP discovery message and a dynamic IP allocation request message in order to confirm whether the network unit 100 can operate in the short-distance network mode. Confirm whether or not. If “wide area network mode” is set, the client 210 is operated to set the gateway setting, the DNS setting, and the WAN mode fire wall. On the other hand, if it is set to 'Near Field Network Mode', the dynamic IP allocation device 220 must be operated, and the near field network mode firewall is set.

図2は、本発明の実施形態に従うIPアドレス割当手続きを説明するための順序図である。   FIG. 2 is a flowchart illustrating an IP address assignment procedure according to an embodiment of the present invention.

図2に図示されたクライアント210は、ユーザのキー操作によってネットワークを経由して各種のデータを送受信することができる端末機をいうものであり、タブレットPC(Tablet PC)、ラップトップ(Laptop)、個人用コンピュータ(PC:Personal Computer)、スマートフォン(Smart Phone)、個人携帯用情報端末機(PDA:Personal Digital Assistant)、及び移動通信端末機(Mobile Communication Terminal)などのうち、いずれか1つでありうる。即ち、クライアント210はネットワークを用いて音声またはデータ通信を遂行する端末機であり、ネットワークを用いた通信を遂行するためのプログラムまたはプロトコルを格納するためのメモリ、該当プログラムを実行して演算及び制御するためのマイクロプロセッサーなどを備えている端末機を意味する。即ち、クライアント210はネットワークと通信が可能であれば、如何なる端末機も可能である。動的IP割当装置220はDHCPサーバであって、クライアント210に動的IPを割り当てる装置をいう。   A client 210 illustrated in FIG. 2 is a terminal that can transmit and receive various types of data via a network by a user's key operation, and includes a tablet PC, a laptop, Personal computer (PC), smart phone (Smart Phone), personal portable information terminal (PDA: Personal Digital Assistant), mobile communication terminal (Mobile Communication Terminal), etc. sell. That is, the client 210 is a terminal that performs voice or data communication using a network, a memory for storing a program or protocol for performing communication using the network, and a calculation and control by executing the corresponding program. It means a terminal equipped with a microprocessor for doing so. That is, the client 210 can be any terminal as long as it can communicate with the network. The dynamic IP allocation device 220 is a DHCP server, and refers to a device that allocates a dynamic IP to the client 210.

クライアント210は、動的IP割当装置220からIPアドレスなどのネットワーク情報の割当(賃貸)を受けるためには図2のように'動的IP発見メッセージ(DHCPディスカバーメッセージ)(S210)'、'動的IPオファーメッセージ(DHCPオファーメッセージ)(S220)'、'動的IP割当要請メッセージ(DHCPリクエストメッセージ)(S230)'、'動的IP割当応答メッセージ(DHCP応答メッセージ)(S240)'の送受信過程を経なければならない。以下、S210からS240に対して説明する。   In order to receive the allocation (rental) of the network information such as the IP address from the dynamic IP allocation device 220, the client 210 performs the 'dynamic IP discovery message (DHCP discover message) (S210)', ' Transmission / reception process of a dynamic IP offer message (DHCP offer message) (S220) ',' dynamic IP assignment request message (DHCP request message) (S230) ', and' dynamic IP assignment response message (DHCP response message) (S240) ' Have to go through. Hereinafter, S210 to S240 will be described.

クライアント210は、動的IP発見メッセージ(DHCPディスカバーメッセージ)をブロードキャスティングする(S210)。ステップS210では、クライアント210が動的IP発見メッセージ(DHCPディスカバーメッセージ)をブロードキャスティングすると記載したが、実際の発明の具現においてはネットワーク装置100が広域ネットワークモードで動作すればクライアント210の役割をするので、動的IP発見メッセージ(DHCPディスカバーメッセージ)を転送し、近距離ネットワークモードで動作すれば、動的IP割当装置として動作するので該当メッセージを受信する。   The client 210 broadcasts a dynamic IP discovery message (DHCP discover message) (S210). In step S210, it has been described that the client 210 broadcasts a dynamic IP discovery message (DHCP discover message). However, in the realization of the present invention, if the network device 100 operates in the wide area network mode, it acts as the client 210. If a dynamic IP discovery message (DHCP discover message) is transferred and operates in the short-distance network mode, it operates as a dynamic IP allocation device and receives the corresponding message.

即ち、クライアント210がブーティングされながら同一サブネット(LAN)に位置する動的IP割当装置220を探すために、動的IP発見メッセージ(DHCPディスカバーメッセージ)をイーサネット(Ethernet(登録商標))網にブロードキャスティング(イーサネットヘッダーの目的地マック(Destination MAC)がBroadcast MAC=FF:FF:FF:FF:FF:FF)するものである。これを通じて同一サブネットの上にある全ての動的IP割当装置(DHCPサーバ)220は、動的IP発見メッセージ(DHCPディスカバーメッセージ)を受信するものである。   That is, a dynamic IP discovery message (DHCP discover message) is broadcast to the Ethernet (Ethernet) network in order to search for a dynamic IP allocation device 220 located in the same subnet (LAN) while the client 210 is booted. Casting (Destination MAC of Ethernet header is broadcast MAC = FF: FF: FF: FF: FF: FF). Through this, all the dynamic IP allocation devices (DHCP servers) 220 on the same subnet receive the dynamic IP discovery message (DHCP discover message).

動的IP割当装置(DHCPサーバ)220は、クライアント210がブロードキャスティングした動的IP発見メッセージ(DHCPディスカバーメッセージ)を受信した場合、動的IPオファーメッセージ(DHCPオファーメッセージ)をブロードキャスティングする(S220)。ステップS220で、クライアント210は動的IP割当装置(DHCPサーバ)220がブロードキャスティングした動的IPオファーメッセージ(DHCPオファーメッセージ)を受信する。   When receiving the dynamic IP discovery message (DHCP discover message) broadcasted by the client 210, the dynamic IP allocation device (DHCP server) 220 broadcasts the dynamic IP offer message (DHCP offer message) (S220). . In step S220, the client 210 receives the dynamic IP offer message (DHCP offer message) broadcasted by the dynamic IP allocation device (DHCP server) 220.

即ち、動的IP発見メッセージ(DHCPディスカバーメッセージ)を受信した動的IP割当装置(DHCPサーバ)220は、自身の存在を知らせるために動的IPオファーメッセージ(DHCPオファーメッセージ)をイーサネット網にブロードキャスティングする。この際、クライアント210がまだIPアドレスの割当を受けることができなかったので、動的IPオファーメッセージ(DHCPオファーメッセージ)をブロードキャスティングするものである。   That is, the dynamic IP allocation device (DHCP server) 220 that has received the dynamic IP discovery message (DHCP discover message) broadcasts the dynamic IP offer message (DHCP offer message) to the Ethernet network in order to notify its existence. To do. At this time, since the client 210 has not yet been assigned an IP address, it broadcasts a dynamic IP offer message (DHCP offer message).

ここで、動的IPオファーメッセージ(DHCPオファーメッセージ)の内にはクライアント210が必要とするネットワーク情報(端末IPアドレス、サブネットマスク、デフォルトゲートウェイ(Default Gateway)IPアドレス、DNSIPアドレス、賃貸時間など)が含まれている。このように、ブロードキャスティングされる動的IPオファーメッセージ(DHCPオファーメッセージ)は、動的IP発見メッセージ(DHCPディスカバーメッセージ)を転送したクライアント210を含んだ同一サブネットの上の全てのクライアントが受信することができる。   Here, in the dynamic IP offer message (DHCP offer message), network information (terminal IP address, subnet mask, default gateway IP address, DNSIP address, lease time, etc.) required by the client 210 is included. include. In this way, the broadcast dynamic IP offer message (DHCP offer message) is received by all clients on the same subnet including the client 210 that forwarded the dynamic IP discovery message (DHCP discover message). Can do.

クライアント210は、動的IP割当装置(DHCPサーバ)220がブロードキャスティングした動的IPオファーメッセージ(DHCPオファーメッセージ)を受信した後、動的IP割当要請メッセージ(DHCPリクエストメッセージ)をブロードキャスティングする(S230)。ステップS230で、動的IP割当装置(DHCPサーバ)220は、クライアント210がブロードキャスティングした動的IP割当要請メッセージ(DHCPリクエストメッセージ)を受信する。   The client 210 receives the dynamic IP offer message (DHCP offer message) broadcasted by the dynamic IP assignment device (DHCP server) 220, and then broadcasts the dynamic IP assignment request message (DHCP request message) (S230). ). In step S230, the dynamic IP allocation device (DHCP server) 220 receives the dynamic IP allocation request message (DHCP request message) broadcasted by the client 210.

即ち、動的IPオファーメッセージ(DHCPオファーメッセージ)を受信したクライアント210は、同一サブネットに動的IP割当装置220が存在するということを確認した後、端末IPアドレスを含んだネットワーク情報を要請するために動的IP割当要請メッセージ(DHCPリクエストメッセージ)をイーサネット網にブロードキャスティングする。   That is, the client 210 that has received the dynamic IP offer message (DHCP offer message) confirms that the dynamic IP allocation device 220 exists in the same subnet, and then requests network information including the terminal IP address. A dynamic IP allocation request message (DHCP request message) is broadcast to the Ethernet network.

この際、同一サブネットの上に2台以上の動的IP割当装置220が存在する場合、クライアント210は複数個の動的IPオファーメッセージ(DHCPオファーメッセージ)を受信するようになり、クライアント210はそのうちの1つの動的IP割当装置220を選択して、その装置のIPアドレスを動的IP割当要請メッセージ(DHCPリクエストメッセージ)の内にサーバ識別子(Server Identifier(Option 54))フィールドに記録後、全ての動的IP割当装置220に該当内容を伝達することができる。ここで、全ての動的IP割当装置220が動的IP割当要請メッセージ(DHCPリクエストメッセージ)を受けることができるようにブロードキャスティングする理由は、各動的IP割当装置220が動的IPオファーメッセージ(DHCPオファーメッセージ)を送りながら該当クライアント210に割り当ててくれる'IPアドレス'と'その他の情報'を内部的に格納して置くため、選択されなかった動的IP割当装置220が'IPアドレス'と'その他の情報'を削除できるようにするためである。動的IP割当装置(DHCPサーバ)220は、クライアント210がブロードキャスティングした動的IP割当要請メッセージ(DHCPリクエストメッセージ)を受信した場合、動的IP割当応答メッセージ(DHCP応答メッセージ)をブロードキャスティングする(S240)。ステップS240で、クライアント210は動的IP割当装置(DHCPサーバ)220がブロードキャスティングした動的IP割当応答メッセージ(DHCP応答メッセージ)を受信する。   At this time, when two or more dynamic IP allocation devices 220 exist on the same subnet, the client 210 receives a plurality of dynamic IP offer messages (DHCP offer messages), and the client 210 After selecting one of the dynamic IP allocation devices 220 and recording the IP address of the device in the Server Identifier (Option 54) field in the dynamic IP allocation request message (DHCP request message), all The corresponding contents can be transmitted to the dynamic IP allocation device 220. Here, the reason for broadcasting so that all the dynamic IP allocation devices 220 can receive the dynamic IP allocation request message (DHCP request message) is that each dynamic IP allocation device 220 has a dynamic IP offer message ( In order to internally store the “IP address” and “other information” that are allocated to the corresponding client 210 while sending the DHCP offer message), the dynamic IP allocation device 220 that has not been selected is set to the “IP address”. This is so that 'other information' can be deleted. When the dynamic IP allocation request message (DHCP request message) broadcasted by the client 210 is received, the dynamic IP allocation device (DHCP server) 220 broadcasts the dynamic IP allocation response message (DHCP response message) ( S240). In step S240, the client 210 receives the dynamic IP allocation response message (DHCP response message) broadcasted by the dynamic IP allocation device (DHCP server) 220.

即ち、動的IP割当要請メッセージ(DHCPリクエストメッセージ)を受信した動的IP割当装置(DHCPサーバ)220は、メッセージの内にサーバ識別子フィールドに記録されたIPアドレスが自身のアドレスか否かを確認した後、動的IP割当応答メッセージ(DHCP応答メッセージ)をイーサネット網にブロードキャスティング(まだクライアント210がIPアドレスの割当を受けなかったので、ブロードキャスティング)して、クライアント210が動的IP割当応答メッセージ(DHCP応答メッセージ)を受信することができるようにする。   That is, the dynamic IP allocation device (DHCP server) 220 that has received the dynamic IP allocation request message (DHCP request message) checks whether or not the IP address recorded in the server identifier field in the message is its own address. After that, the dynamic IP allocation response message (DHCP response message) is broadcast to the Ethernet network (the client 210 has not received the IP address allocation yet), and the client 210 receives the dynamic IP allocation response message. (DHCP response message) can be received.

クライアント210は、動的IP割当装置(DHCPサーバ)220がブロードキャスティングした動的IP割当応答メッセージ(DHCP応答メッセージ)を受信した後、動的IP割当応答メッセージ(DHCP応答メッセージ)を用いてネットワークにアクセスする(S250)。ステップS250で、動的IP割当装置(DHCPサーバ)220は、動的IPオファーメッセージ(DHCPオファーメッセージ)のように、IPアドレスを含んだ多様なネットワーク情報を伝達するようになり、これを受信したクライアント210は動的IP割当装置220が伝達してくれた情報に基づいてクライアント210のネットワーク環境を構成した後、インターネットにアクセスすることができる。この際、動的IP割当応答メッセージ(DHCP応答メッセージ)を通じてクライアント210に伝えられる代表的なネットワーク情報は、'IPアドレス'、'サブネットマスク'、'デフォルトゲートウエーIPアドレス'、'DNSサーバIPアドレス'、'賃貸時間(動的IP割当装置(DHCPサーバ)220が割当(賃貸)してくれたIPアドレスをクライアント210が用いることができる期間)'などを含むことができる。   After receiving the dynamic IP allocation response message (DHCP response message) broadcasted by the dynamic IP allocation device (DHCP server) 220, the client 210 uses the dynamic IP allocation response message (DHCP response message) to enter the network. Access is made (S250). In step S250, the dynamic IP allocation device (DHCP server) 220 receives and receives various network information including an IP address, such as a dynamic IP offer message (DHCP offer message). The client 210 can access the Internet after configuring the network environment of the client 210 based on the information transmitted from the dynamic IP allocation device 220. At this time, typical network information transmitted to the client 210 through the dynamic IP allocation response message (DHCP response message) is “IP address”, “subnet mask”, “default gateway IP address”, “DNS server IP address”. , “Rental time (period in which the client 210 can use the IP address allocated (rented) by the dynamic IP allocation device (DHCP server) 220)” and the like.

ネットワーク装置100は、前述した図2のDHCPメッセージ特性を用いてインターフェースが近距離ネットワークモードに連結されたか、広域ネットワークモードに連結されたかを検出して、該当インターフェースに対するネットワークを自動的に設定することができる。   The network device 100 detects whether the interface is connected to the short-range network mode or the wide-area network mode using the DHCP message characteristic of FIG. 2 described above, and automatically sets the network for the corresponding interface. Can do.

まず、ネットワーク装置100は、'広域ネットワークモード'で動作した場合のDHCPメッセージを区分することができる。即ち、インターフェースが広域ネットワークモードで動作すれば、クライアント210が実行されながら動的IP発見メッセージ(DHCPディスカバーメッセージ)を伝達するようになる。そして、動的IP割当装置220から伝えられた動的IPオファーメッセージ(DHCPオファーメッセージ)を受信するようになるが、ネットワーク装置100はこのようなDHCPメッセージ特性を用いることができる。   First, the network device 100 can classify a DHCP message when operating in the “wide area network mode”. That is, if the interface operates in the wide area network mode, the client 210 transmits a dynamic IP discovery message (DHCP discover message) while being executed. Then, a dynamic IP offer message (DHCP offer message) transmitted from the dynamic IP allocation device 220 is received, and the network device 100 can use such DHCP message characteristics.

一方、ネットワーク装置100は、'近距離ネットワークモード'で動作した場合のDHCPメッセージを区分することができる。即ち、インターフェースが近距離ネットワークモードで動作すれば、動的IP割当装置220が実行されながら動的IP発見メッセージ(DHCPディスカバーメッセージ)と動的IP割当要請メッセージ(DHCPリクエストメッセージ)が受信されることを待つようになるが、ネットワーク装置100はこのようなDHCPメッセージ特性を用いることができる。   On the other hand, the network device 100 can classify the DHCP message when operating in the “short distance network mode”. That is, if the interface operates in the short distance network mode, the dynamic IP discovery message (DHCP discover message) and the dynamic IP assignment request message (DHCP request message) are received while the dynamic IP assignment device 220 is executed. However, the network apparatus 100 can use such a DHCP message characteristic.

図3は、本発明の実施形態に従うIPアドレス賃貸期間延長手続きを説明するための順序図である。   FIG. 3 is a flowchart illustrating an IP address rental period extension procedure according to an embodiment of the present invention.

前述した図2での'IPアドレス割当(賃貸)手続き'の最後の過程(S240)である動的IP割当応答メッセージ(DHCP応答メッセージ)には、IP賃貸時間(Lease Time(Option 51))パラメータが含まれている。クライアント210は、IP賃貸時間パラメータに明示された時間(賃貸期間)の間だけ該当IPアドレス(例えば、'1.1.1.10')を用いることができる。したがって、賃貸期間以上に該当IPアドレスを用いるためには、図4のようにクライアント210が動的IP割当装置(DHCPサーバ)220にIPアドレス賃貸期間延長を要請しなければならない。   In the dynamic IP allocation response message (DHCP response message), which is the last step (S240) of the “IP address allocation (rental) procedure” in FIG. 2, the IP lease time (Lease Time (Option 51)) parameter is included. It is included. The client 210 can use the corresponding IP address (eg, “1.1.1.10”) only for the time (rental period) specified in the IP rental time parameter. Therefore, in order to use the corresponding IP address longer than the lease period, the client 210 must request the IP address lease period extension from the dynamic IP allocation device (DHCP server) 220 as shown in FIG.

クライアント210は、動的IP割当装置(DHCPサーバ)220に動的IP割当要請メッセージ(DHCPリクエストメッセージ)をユニキャスティング(Unicasting)する(S310)。例えば、'IPアドレス割当(賃貸)手続き'の最後の過程(S240)である動的IP割当応答メッセージ(DHCP応答メッセージ)に含まれたIP賃貸時間(例えば、賃貸期間は'1時間')の半分になった時(例えば、1,800秒、即ち、30分)、クライアント210は、IPアドレス賃貸期間延長のために動的IP割当装置(DHCPサーバ)220に動的IP割当要請メッセージ(DHCPリクエストメッセージ)を送信する。   The client 210 unicasts a dynamic IP allocation request message (DHCP request message) to the dynamic IP allocation device (DHCP server) 220 (S310). For example, the IP rental time (for example, the rental period is “1 hour”) included in the dynamic IP allocation response message (DHCP response message), which is the last step (S240) of the “IP address allocation (rental) procedure”. When halved (eg, 1,800 seconds, ie, 30 minutes), the client 210 sends a dynamic IP allocation request message (DHCP) to the dynamic IP allocation device (DHCP server) 220 to extend the IP address rental period. Request message).

この際、S310は図2の'IPアドレス割当(賃貸)手続き'とは異なり、動的IP割当要請メッセージ(DHCPリクエストメッセージ)をブロードキャスティング(Destination MAC=FF:FF:FF:FF:FF:FF、Destination IP=255.255.255.255)でないユニキャスティング(Destination MAC=DHCP Server MAC(m2)、Destination IP=DHCP Server IP(例えば、'1.1.1.254')に送る。即ち、これはクライアント210に既にIPアドレスが割り当てられており、クライアント210と動的IP割当装置(DHCPサーバ)220との間に互いにIPアドレスを知っているためである。また、IPアドレス賃貸期間延長のための動的IP割当要請メッセージ(DHCPリクエストメッセージ)の内にクライアントIPアドレス(CIADDR)フィールドには賃貸期間延長を要請するクライアント210のIPアドレスが必ず入らなければならず、要請されたIPアドレス(Requested IP Address(Option 50))とサーバ識別子フィールドは該当メッセージに含まれることができない。   At this time, S310 is different from the “IP address assignment (rental) procedure” of FIG. 2 in that the dynamic IP assignment request message (DHCP request message) is broadcast (Destination MAC = FF: FF: FF: FF: FF: FF). , Destination IP = 255.255.255.255) is not unicasting (Destination MAC = DHCP Server MAC (m2), Destination IP = DHCP Server IP (for example, “1.1.1.1254”). This is because an IP address has already been assigned to the client 210, and the client 210 and the dynamic IP assignment device (DHCP server) 220 know each other's IP address. Client IP address (DHCP request message) in the dynamic IP allocation request message for In the IADDR field, the IP address of the client 210 that requests extension of the lease period must be entered, and the requested IP address (Requested IP Address (Option 50)) and the server identifier field may be included in the corresponding message. Can not.

動的IP割当装置(DHCPサーバ)220は、クライアント210に動的IP割当応答メッセージ(DHCP応答メッセージ)をユニキャスティングする(S320)。即ち、動的IP割当要請メッセージ(DHCPリクエストメッセージ)を受信した動的IP割当装置(DHCPサーバ)220がクライアント210の要請(IPアドレス延長使用)を受諾するようになれば、動的IP割当応答メッセージ(DHCP応答メッセージ)にクライアント210が用いるIPアドレス、サブネットマスク、デフォルトゲートウエーIPアドレス、DNS IPアドレス、賃貸時間(クライアント210がIPアドレスを用いることができる期間)などを含んでクライアント210にやはりブロードキャスティングでないユニキャスティング(Destination MAC=PC MAC(m1)、Destination IP=PC IP(例えば、1.1.1.10)するものである。これを受信したクライアント210は、動的IP割当応答メッセージ(DHCP応答メッセージ)に含まれたIP賃貸時間の間、IPアドレスを延長して用いることができる。   The dynamic IP allocation device (DHCP server) 220 unicasts a dynamic IP allocation response message (DHCP response message) to the client 210 (S320). That is, if the dynamic IP allocation device (DHCP server) 220 that receives the dynamic IP allocation request message (DHCP request message) accepts the request (IP address extension use) of the client 210, the dynamic IP allocation response The message (DHCP response message) also includes the IP address used by the client 210, subnet mask, default gateway IP address, DNS IP address, lease time (period in which the client 210 can use the IP address), etc. Non-casting unicasting (Destination MAC = PC MAC (m1), Destination IP = PC IP (for example, 1.1.1.10). The client 210 that has received this is a dynamic IP allocation response message ( DHCP response The IP address can be extended and used during the IP lease time included in the answer message.

図4は、本発明の実施形態に従うIPアドレス返却手続きを説明するための順序図である。   FIG. 4 is a flowchart illustrating an IP address return procedure according to an embodiment of the present invention.

クライアント210がログオフ(Shut Down)するか、クライアント210のOS(Operating System)の上で特定命令(例えば、ipconfigまたはrelease)が入力された場合、クライアント210は割り当てられたIPアドレスを動的IP割当装置(DHCPサーバ)220に返還するために、図4に示すように、動的IP返却メッセージ(DHCPリリーズメッセージ)を動的IP割当装置(DHCPサーバ)220に送信(ユニキャスティング)するようになる。以後、クライアント210はネットワーク環境情報(クライアント210のIPアドレス、サブネットマスク、デフォルトゲートウエーのIPアドレス、DNSのIPアドレス等)を解除する。したがって、クライアント210はこれ以上インターネットにアクセスできない状態となる。   When the client 210 logs off (Shut Down) or a specific command (for example, ipconfig or release) is input on the OS (Operating System) of the client 210, the client 210 dynamically assigns the assigned IP address. In order to return to the device (DHCP server) 220, as shown in FIG. 4, a dynamic IP return message (DHCP release message) is transmitted (unicast) to the dynamic IP allocation device (DHCP server) 220. . Thereafter, the client 210 releases the network environment information (IP address, subnet mask, default gateway IP address, DNS IP address, etc. of the client 210). Therefore, the client 210 cannot access the Internet any more.

クライアント210は、動的IP割当装置(DHCPサーバ)に動的IP返却メッセージ(DHCPリリーズメッセージ)をユニキャスティングする(S410)。即ち、これ以上賃貸を受けたIPアドレスを必要としないクライアント210は、動的IP返却メッセージ(DHCPリリーズメッセージ)をユニキャスティング(Destination MAC=DHCP Server MAC(m2)、Destination IP=DHCP Server IP(例えば、'1.1.1.254')により動的IP割当装置(DHCPサーバ)220に伝達する。動的IP割当装置(DHCPサーバ)220は、動的IP返却メッセージ(DHCPリリーズメッセージ)の内にクライアントIPフィールドに記録されたIPアドレス(例えば、'1.1.1.10')を返還するようになる。   The client 210 unicasts a dynamic IP return message (DHCP release message) to the dynamic IP allocation device (DHCP server) (S410). That is, the client 210 that does not need a leased IP address no longer has a unicasting dynamic IP return message (DHCP release message) (Destination MAC = DHCP Server MAC (m2), Destination IP = DHCP Server IP (for example, , '1.1.1.254') is transmitted to the dynamic IP allocation device (DHCP server) 220. The dynamic IP allocation device (DHCP server) 220 includes the dynamic IP return message (DHCP release message). The IP address recorded in the client IP field (for example, “1.1.1.10”) is returned.

図5は、本発明の実施形態に従うIPアドレス割当、賃貸期間延長、及び返却手続きを説明するための図である。   FIG. 5 is a diagram for explaining IP address assignment, lease period extension, and return procedure according to the embodiment of the present invention.

DHCPプロトコルを用いた'IPアドレス割当(賃貸)'、'IPアドレス賃貸期間延長'、'IPアドレス返却手続き'は図5に図示した通りである。   'IP address allocation (rental)', 'IP address rental period extension', and 'IP address return procedure' using the DHCP protocol are as shown in FIG.

即ち、'IPアドレス割当(賃貸)'手続きは、クライアント210のブーティングされれば、動的IP発見メッセージ(DHCPディスカバーメッセージ)をブロードキャスティングする。動的IP割当装置(DHCPサーバ)220は、これに対する応答として動的IPオファーメッセージ(DHCPオファーメッセージ)をブロードキャスティングする。この際、2台以上の動的IP割当装置(DHCPサーバ)220が存在すれば、クライアント210はそのうちの1つの動的IP割当装置(DHCPサーバ)220を選択する。以後、その情報を'サーバ識別子フィールド'に乗せて動的IP割当要請メッセージ(DHCPリクエストメッセージ)をブロードキャスティングする。最終的に、該当動的IP割当装置(DHCPサーバ)220から'クライアント210のIPアドレス、サブネットマスク、デフォルトゲートウエーのIPアドレス、DNSのIPアドレス、IP賃貸時間'を受けてクライアント210のネットワーク環境を構成する。   That is, the “IP address assignment (rental)” procedure broadcasts a dynamic IP discovery message (DHCP discover message) when the client 210 is booted. The dynamic IP allocation device (DHCP server) 220 broadcasts a dynamic IP offer message (DHCP offer message) as a response thereto. At this time, if there are two or more dynamic IP allocation devices (DHCP servers) 220, the client 210 selects one of the dynamic IP allocation devices (DHCP servers) 220. Thereafter, the dynamic IP allocation request message (DHCP request message) is broadcast with the information carried on the “server identifier field”. Finally, upon receiving the 'IP address, subnet mask, default gateway IP address, DNS IP address, IP lease time' from the corresponding dynamic IP allocation device (DHCP server) 220, the network environment of the client 210 is determined. Configure.

また、'IPアドレス賃貸期間延長'手続きは、'IPアドレス割当(賃貸)'手続きを通じて受信したIP賃貸時間の半分の時間が経ると、クライアント210は動的IP割当要請メッセージ(DHCPリクエストメッセージ)を動的IP割当装置(DHCPサーバ)220にユニキャスティングしてクライアント210のIPアドレス賃貸時間(賃貸期間)延長を要請する。動的IP割当装置(DHCPサーバ)220は、これに対する応答として動的IP割当応答メッセージ(DHCP応答メッセージ)をクライアント210にユニキャスティングして該当要請を受諾する。   Further, in the “IP address rental period extension” procedure, when half of the IP lease time received through the “IP address allocation (rental)” procedure has elapsed, the client 210 sends a dynamic IP allocation request message (DHCP request message). The IP address lease time (rental period) of the client 210 is requested to be extended by unicasting to the dynamic IP allocation device (DHCP server) 220. The dynamic IP allocation device (DHCP server) 220 unicasts a dynamic IP allocation response message (DHCP response message) to the client 210 as a response thereto, and accepts the corresponding request.

また、'IPアドレス返却'手続きは、クライアント210をログオフするようになれば、クライアント210は動的IP返却メッセージ(DHCPリリーズメッセージ)を動的IP割当装置(DHCPサーバ)220にユニキャスティングして利用していたIPアドレスを返却する。   Further, in the “IP address return” procedure, when the client 210 is logged off, the client 210 uses the dynamic IP return message (DHCP release message) by unicasting it to the dynamic IP allocation device (DHCP server) 220. Return the IP address that was being used.

図6は、本発明の実施形態に従うネットワークモード選択方法を説明するための順序図である。   FIG. 6 is a flowchart illustrating a network mode selection method according to an embodiment of the present invention.

ネットワーク装置100は、複数の通信規格をサポートするインターフェース部110を活性化する(S610)。ネットワーク装置100は、インターフェース部110を活性化した状態でメッセージ受信待機状態に動作する(S620)。ここで、メッセージはDHCPメッセージをいう。ネットワーク装置100は、動的IP発見メッセージをブロードキャスティングする(S630)。ステップS630で、ネットワーク装置100はブロードキャスティングした動的IP発見メッセージの送信回数をカウンティング(Counting)する。   The network device 100 activates the interface unit 110 that supports a plurality of communication standards (S610). The network device 100 operates in a message reception standby state with the interface unit 110 activated (S620). Here, the message refers to a DHCP message. The network device 100 broadcasts the dynamic IP discovery message (S630). In step S630, the network device 100 counts the number of transmissions of the broadcasted dynamic IP discovery message.

ネットワーク装置100は、動的IP発見メッセージに対応する動的IPオファーメッセージが動的IP割当装置220から受信されるか否かを確認する(S640)。即ち、S640でネットワーク装置100は動的IP割当装置220がブロードキャスティングする動的IPオファーメッセージが受信されるか否かを確認するものである。   The network device 100 confirms whether a dynamic IP offer message corresponding to the dynamic IP discovery message is received from the dynamic IP allocation device 220 (S640). That is, in step S640, the network device 100 confirms whether or not a dynamic IP offer message broadcast by the dynamic IP allocation device 220 is received.

ステップS640の確認結果、動的IPオファーメッセージが受信される場合、ネットワーク装置100は通信規格を広域ネットワーク規格に選択し、選択された広域ネットワーク規格によって広域ネットワークモードで動作する(S650)。ここで、広域ネットワークモードはWANサポートモードとして、ワイマックスモード、3Gネットワークモード、4Gネットワークモード、またはRJ45モードを含んだ多様なインターフェースのうちの1つ以上のネットワークモードを含む。また、S650の以後に、ネットワーク装置100は動的IPオファーメッセージに対応する動的IP割当要請メッセージをブロードキャスティングする。以後、ネットワーク装置100は動的IP割当装置220がブロードキャスティングしたIP割当要請メッセージに対応する動的IP割当応答メッセージを受信する。ネットワーク装置100は、IP割当応答メッセージを用いて広域ネットワークにアクセスする。   When the dynamic IP offer message is received as a result of the confirmation in step S640, the network device 100 selects the communication standard as the wide area network standard, and operates in the wide area network mode according to the selected wide area network standard (S650). Here, the wide area network mode includes one or more network modes among various interfaces including a Wimax mode, a 3G network mode, a 4G network mode, or an RJ45 mode as a WAN support mode. Further, after S650, the network device 100 broadcasts a dynamic IP allocation request message corresponding to the dynamic IP offer message. Thereafter, the network device 100 receives a dynamic IP allocation response message corresponding to the IP allocation request message broadcasted by the dynamic IP allocation device 220. The network device 100 accesses the wide area network using the IP assignment response message.

ステップS650の以後、ネットワーク装置100は'広域ネットワークモード'に設定された場合、クライアント210が動作されてゲートウエー設定、DNS設定、及びWANモードの防火壁設定を遂行する。   After step S650, when the network device 100 is set to the 'wide area network mode', the client 210 is operated to perform gateway setting, DNS setting, and WAN mode firewall setting.

一方、ステップS640の確認結果、動的IPオファーメッセージが未受信される場合、ネットワーク装置100は予め設定されたタイムアウトが到来したか否かを確認する(S660)。即ち、S660でネットワーク装置100は動的IP発見メッセージ(DHCPディスカバーメッセージ)をブロードキャスティングした後、無限待機を防止するために動的IPオファーメッセージ(DHCPオファーメッセージ)に対する受信タイムアウトを確認するものである。   On the other hand, if the result of the confirmation in step S640 is that a dynamic IP offer message has not been received, the network device 100 confirms whether or not a preset timeout has arrived (S660). That is, in S660, after broadcasting the dynamic IP discovery message (DHCP discover message), the network device 100 confirms the reception timeout for the dynamic IP offer message (DHCP offer message) in order to prevent infinite waiting. .

ステップS660の確認結果、予め設定されたタイムアウトが到来した場合、ネットワーク装置100はクライアント210から動的IP発見メッセージが受信されるか、動的IP割当要請メッセージが受信されるか否かを確認する(S670)。即ち、S670でネットワーク装置100が動的IP発見メッセージ(DHCPディスカバーメッセージ)または動的IP割当要請メッセージ(DHCPリクエストメッセージ)に対するメッセージが受信されたかを確認する機能は、動的IP発見メッセージ(DHCPディスカバーメッセージ)の転送後、動的IPオファーメッセージ(DHCPオファーメッセージ)のみを待つロジック(Logic)だけで近距離ネットワークモードを設定する場合の誤りを補完するためである。   As a result of the confirmation in step S660, when a preset timeout has arrived, the network device 100 confirms whether a dynamic IP discovery message is received from the client 210 or a dynamic IP assignment request message is received. (S670). That is, in S670, the network device 100 confirms whether a message for the dynamic IP discovery message (DHCP discover message) or the dynamic IP assignment request message (DHCP request message) is received. This is to compensate for an error when the short-distance network mode is set only by the logic (Logic) that waits only for the dynamic IP offer message (DHCP offer message) after transfer of the message.

ステップS670の確認結果、クライアント210から動的IP発見メッセージが受信されるか、動的IP割当要請メッセージが受信される場合、ネットワーク装置100は動的IP割当装置220が未存在することと認識して、通信規格を近距離ネットワーク規格に選択し、選択された近距離ネットワーク規格によって近距離ネットワークモードで動作する(S680)。ここで、近距離ネットワークモードはLANサポートモードとして、ワイファイモード、テザリングモード、またはRJ45モードを含んだ多様なインターフェースのうちの1つ以上のネットワークモードを含む。   As a result of the confirmation in step S670, when the dynamic IP discovery message is received from the client 210 or the dynamic IP allocation request message is received, the network device 100 recognizes that the dynamic IP allocation device 220 does not exist. The communication standard is selected as the short-range network standard, and the short-range network mode is operated according to the selected short-range network standard (S680). Here, the short-distance network mode includes one or more network modes among various interfaces including a WiFi mode, a tethering mode, or an RJ45 mode as a LAN support mode.

また、S680の以後に、ネットワーク装置100は受信された動的IPオファーメッセージに対応する動的IP割当要請メッセージをクライアント210から受信し、動的IP割当要請メッセージをブロードキャスティングする。以後、ネットワーク装置100は動的IP割当装置220がブロードキャスティングしたIP割当要請メッセージに対応する動的IP割当応答メッセージを受信し、動的IP割当応答メッセージをクライアント210に伝達する。   Also, after S680, the network device 100 receives a dynamic IP allocation request message corresponding to the received dynamic IP offer message from the client 210, and broadcasts the dynamic IP allocation request message. Thereafter, the network device 100 receives a dynamic IP allocation response message corresponding to the IP allocation request message broadcasted by the dynamic IP allocation device 220 and transmits the dynamic IP allocation response message to the client 210.

ステップS680の以後、ネットワーク装置100は'近距離ネットワークモード'に設定される場合、動的IP割当装置(DHCPサーバ)220が動作されなければならず、それに相応する近距離ネットワークモードの防火壁を設定する。   After step S680, when the network device 100 is set to the “short range network mode”, the dynamic IP allocation device (DHCP server) 220 must be operated, and the corresponding short range network mode firewall is set. Set.

一方、ステップS670の確認結果、クライアント210から動的IP発見メッセージまたは動的IP割当要請メッセージが未受信される場合、動的IP発見メッセージの送信回数が最大転送回数以上か否かを確認する(S690)。即ち、S690でネットワーク装置100に予め格納された動的IP発見メッセージ(DHCPディスカバーメッセージ)の最大転送回数は、近距離ネットワークモードまたは広域ネットワークモードの自動検出時間と関連して設定されなければならない。ステップS690の確認結果、動的IP発見メッセージの送信回数が最大転送回数以上の場合、ネットワーク装置100は通信規格を近距離ネットワーク規格に選択し、選択された近距離ネットワーク規格によって近距離ネットワークモードで動作する(S680)。この際、ステップS680は必ず近距離ネットワークモードに限定されるものではなく、ネットワーク装置100の目的に従って設定された優先順位値によって特定ネットワークモード(広域ネットワークモード、または近距離ネットワークモード)で動作することができる。   On the other hand, when the dynamic IP discovery message or the dynamic IP allocation request message is not received from the client 210 as a result of the confirmation in step S670, it is confirmed whether or not the number of transmissions of the dynamic IP discovery message is equal to or greater than the maximum number of transfers ( S690). That is, the maximum transfer count of the dynamic IP discovery message (DHCP discover message) stored in advance in the network device 100 in S690 must be set in association with the automatic detection time in the short-distance network mode or the wide-area network mode. As a result of the confirmation in step S690, when the number of transmissions of the dynamic IP discovery message is equal to or greater than the maximum number of transfers, the network device 100 selects the communication standard as the short-distance network standard, and the short-distance network mode is selected according to the selected short-distance network standard. It operates (S680). At this time, step S680 is not necessarily limited to the short-distance network mode, but operates in a specific network mode (wide area network mode or short-distance network mode) according to a priority value set according to the purpose of the network device 100. Can do.

図6では、ステップS610からステップS690を順次に実行することと記載しているが、必ずこれに限定されるものではない。即ち、図6に記載されたステップを変更して実行するか、1つ以上のステップを並列的に実行することによって適用可能であるので、図6は時系列的な順序に限定されるものではない。   In FIG. 6, it is described that steps S610 to S690 are sequentially executed, but the present invention is not limited to this. That is, since the steps described in FIG. 6 can be changed and executed, or one or more steps can be executed in parallel, FIG. 6 is not limited to a chronological order. Absent.

前述したように、図6に記載された本実施形態に従うネットワークモード選択方法は、プログラムで具現され、コンピュータにより読取できる記録媒体に記録できる。本実施形態に従うネットワークモード選択方法を具現するためのプログラムが記録され、コンピュータにより読取できる記録媒体は、コンピュータシステムにより読取できるデータが格納される全ての種類の記録装置を含む。このようなコンピュータにより読取できる記録媒体の例には、ROM、RAM、CD−ROM、磁気テープ、フレキシブルディスク、光データ格納装置などがあり、また、キャリアウェーブ(例えば、インターネットを通じた転送)の形態に具現されるものも含む。また、コンピュータにより読取できる記録媒体は、ネットワークにより連結されたコンピュータシステムに分散されて、分散方式によりコンピュータにより読取できるコードが格納され、実行されることもできる。また、本実施形態を具現するための機能的な(Functional)プログラム、コード、及びコードセグメントは、本実施形態が属する技術分野のプログラマーにより容易に推論できるものである。   As described above, the network mode selection method according to the present embodiment illustrated in FIG. 6 can be recorded on a recording medium that is embodied by a program and can be read by a computer. A recording medium in which a program for implementing the network mode selection method according to the present embodiment is recorded and can be read by a computer includes all types of recording devices in which data that can be read by a computer system is stored. Examples of such a computer-readable recording medium include a ROM, a RAM, a CD-ROM, a magnetic tape, a flexible disk, an optical data storage device, and the like, and a carrier wave (for example, transfer via the Internet) Including those embodied in Also, the computer-readable recording medium can be distributed to computer systems connected by a network, and a computer-readable code can be stored and executed by a distributed system. In addition, a functional program, code, and code segment for implementing the present embodiment can be easily inferred by a programmer in the technical field to which the present embodiment belongs.

以上の説明は、本発明の技術思想を例示的に説明したことに過ぎないものであって、本発明が属する技術分野で通常の知識を有する者であれば、本発明の本質的な特性から外れない範囲で多様な修正及び変形が可能である。したがって、本発明に開示された実施形態は本発明の技術思想を限定するためのものではなく、説明するためのものであり、このような実施形態により本発明の技術思想の範囲が限定されるものではない。本発明の保護範囲は請求範囲により解釈されなければならず、それと同等な範囲内にある全ての技術思想は本発明の権利範囲に含まれるものと解釈されるべきである。   The above description is merely illustrative of the technical idea of the present invention. If the person has ordinary knowledge in the technical field to which the present invention belongs, the essential characteristics of the present invention are described. Various modifications and variations are possible without departing from the scope. Therefore, the embodiments disclosed in the present invention are not intended to limit the technical idea of the present invention, but to illustrate, and the scope of the technical idea of the present invention is limited by such an embodiment. It is not a thing. The protection scope of the present invention should be construed in accordance with the claims, and all technical ideas within the equivalent scope should be construed as being included in the scope of the right of the present invention.

100 ネットワーク装置
110 インターフェース部
120 IP発見部
130 インターフェース選択部
140 モード動作部
142 IPオファー部
144 IP割当要請部
146 IP割当応答部
210 クライアント
220 動的IP割当装置
100 network device 110 interface unit 120 IP discovery unit 130 interface selection unit 140 mode operation unit 142 IP offer unit 144 IP allocation request unit 146 IP allocation response unit 210 client 220 dynamic IP allocation device

Claims (16)

DHCP(Dynamic Host Configuration Protocol)規約をサポートする通信規格をサポートするインターフェース部と、
動的IP(Dynamic IP)発見メッセージをブロードキャスティング(Broadcasting)するIP発見部と、
予め設定されたタイムアウト(TimeOut)の内に前記動的IP発見メッセージに対応する動的IPオファー(Offer)メッセージが動的IP割当装置から受信されるか否かに基づいて複数の前記通信規格のうち、いずれか1つの通信規格を選択するインターフェース選択部と、
選択された前記通信規格に従うネットワークモードで動作するようにするモード動作部と、
を含むことを特徴とする、ネットワーク装置。
An interface unit that supports a communication standard that supports DHCP (Dynamic Host Configuration Protocol) protocol;
An IP discovery unit for broadcasting a dynamic IP discovery message;
Based on whether a dynamic IP offer (Offer) message corresponding to the dynamic IP discovery message is received from the dynamic IP allocation device within a preset timeout (TimeOut), a plurality of communication standards. An interface selection unit for selecting any one of the communication standards;
A mode operation unit configured to operate in a network mode in accordance with the selected communication standard;
A network device comprising:
前記インターフェース選択部は、予め設定されたタイムアウトの内に前記動的IP割当装置から前記動的IPオファーメッセージが受信される場合、前記通信規格を広域ネットワーク規格に選択し、
前記モード動作部は、前記広域ネットワーク規格によって広域ネットワークモードで動作するようにすることを特徴とする、請求項1に記載のネットワーク装置。
The interface selection unit, when the dynamic IP offer message is received from the dynamic IP allocation device within a preset timeout, selects the communication standard as a wide area network standard,
The network apparatus according to claim 1, wherein the mode operation unit operates in a wide area network mode according to the wide area network standard.
前記モード動作部は、
前記動的IP割当装置から前記動的IPオファーメッセージを受信するIPオファー部と、
前記動的IPオファーメッセージに対応する動的IP割当要請メッセージをブロードキャスティングするIP割当要請部と、
前記動的IP割当装置から前記動的IP割当要請メッセージに対応する動的IP割当応答メッセージを受信するIP割当応答部と、
を含むことを特徴とする、請求項1又は2に記載のネットワーク装置。
The mode operation unit is
An IP offer unit that receives the dynamic IP offer message from the dynamic IP allocation device;
An IP allocation request unit for broadcasting a dynamic IP allocation request message corresponding to the dynamic IP offer message;
An IP allocation response unit for receiving a dynamic IP allocation response message corresponding to the dynamic IP allocation request message from the dynamic IP allocation device;
The network device according to claim 1, wherein the network device includes:
前記動的IP発見メッセージはDHCPディスカバー(Discover)メッセージであり、前記動的IPオファーメッセージはDHCPオファー(Offer)メッセージであり、前記動的IP割当要請メッセージはDHCPリクエスト(Request)メッセージであり、前記動的IP割当応答メッセージはDHCPアック(Ack)メッセージであり、前記動的IP割当装置はDHCPサーバであることを特徴とする、請求項3に記載のネットワーク装置。   The dynamic IP discovery message is a DHCP Discover message, the dynamic IP offer message is a DHCP offer message, the dynamic IP allocation request message is a DHCP request message, The network apparatus according to claim 3, wherein the dynamic IP allocation response message is a DHCP ACK message, and the dynamic IP allocation apparatus is a DHCP server. 前記広域ネットワークモードは、
WAN(Wide Area Network)サポートモードとして、ワイマックス(Wi−MAX)モード、3Gネットワークモード、4Gネットワークモード、及びRJ45モードのうち、少なくとも1つ以上のネットワークモードを含むことを特徴とする、請求項2に記載のネットワーク装置。
The wide area network mode is:
The WAN (Wide Area Network) support mode includes at least one of a Wi-MAX mode, a 3G network mode, a 4G network mode, and an RJ45 mode. 3. The network device according to 2.
前記インターフェース選択部は、予め設定されたタイムアウトが経過されるまで前記動的IP割当装置から前記動的IPオファーメッセージが未受信される場合、前記通信規格を近距離ネットワーク規格に選択し、
前記モード動作部は、前記近距離ネットワーク規格によって近距離ネットワークモードで動作するようにすることを特徴とする、請求項1から5のいずれか一項に記載のネットワーク装置。
When the dynamic IP offer message is not received from the dynamic IP allocation device until a preset timeout elapses, the interface selection unit selects the communication standard as a short-distance network standard,
The network apparatus according to claim 1, wherein the mode operation unit operates in a short-distance network mode according to the short-distance network standard.
前記インターフェース選択部は、
予め設定されたタイムアウトが経過されるまで前記動的IP割当装置から前記動的IPオファーメッセージが未受信される時、
クライアント(Client)から前記動的IP発見メッセージが受信されるか、動的IP割当要請メッセージが受信される場合、前記動的IP割当装置が未存在することと認識して、前記通信規格を前記近距離ネットワーク規格に選択することを特徴とする、請求項6に記載のネットワーク装置。
The interface selection unit
When the dynamic IP offer message is not received from the dynamic IP allocation device until a preset timeout elapses,
When the dynamic IP discovery message is received from the client or the dynamic IP allocation request message is received, the dynamic IP allocation apparatus is recognized as not existing, and the communication standard is changed to the communication standard. The network device according to claim 6, wherein the network device is selected as a short-range network standard.
前記インターフェース選択部は、
予め設定されたタイムアウトが経過されるまで前記動的IP割当装置から前記動的IPオファーメッセージが未受信される時、
前記クライアントから前記動的IP発見メッセージが受信されるか、前記動的IP割当要請メッセージが未受信されれば、
前記動的IP発見メッセージの送信回数が最大転送回数以上の場合に、前記通信規格を前記近距離ネットワーク規格に選択することを特徴とする、請求項7に記載のネットワーク装置。
The interface selection unit
When the dynamic IP offer message is not received from the dynamic IP allocation device until a preset timeout elapses,
If the dynamic IP discovery message is received from the client or the dynamic IP allocation request message is not received,
The network device according to claim 7, wherein when the number of transmissions of the dynamic IP discovery message is equal to or greater than a maximum number of transfers, the communication standard is selected as the short-range network standard.
前記モード動作部は、
前記動的IPオファーメッセージをブロードキャスティングするIPオファー部と、
前記動的IPオファーメッセージに対応する前記動的IP割当要請メッセージを前記クライアントから受信し、前記動的IP割当要請メッセージを処理するIP割当要請部と、
前記動的IP割当要請メッセージに対応する動的IP割当応答メッセージをブロードキャスティングするIP割当応答部と、
を含むことを特徴とする、請求項7又は8に記載のネットワーク装置。
The mode operation unit is
An IP offer part for broadcasting the dynamic IP offer message;
An IP allocation request unit that receives the dynamic IP allocation request message corresponding to the dynamic IP offer message from the client and processes the dynamic IP allocation request message;
An IP assignment response unit for broadcasting a dynamic IP assignment response message corresponding to the dynamic IP assignment request message;
The network device according to claim 7, wherein the network device includes:
前記近距離ネットワークモードは、
LAN(Local Area Network)サポートモードとして、ワイファイモード、テザリング(Tethering)モード、RJ45モードのうち、少なくとも1つ以上のネットワークモードを含むことを特徴とする、請求項6から9のいずれか一項に記載のネットワーク装置。
The short-range network mode is
The LAN (Local Area Network) support mode includes at least one network mode among a WiFi mode, a tethering mode, and an RJ45 mode, according to any one of claims 6 to 9, The network device described.
ネットワーク装置がネットワークモードを選択する方法であって、
動的IP発見メッセージをブロードキャスティングするIP発見過程と、
予め設定されたタイムアウトの内に前記動的IP発見メッセージに対応する動的IPオファー(Offer)メッセージが動的IP割当装置から受信されるか否かを確認する確認過程と、
前記確認過程の確認結果に基づいてインターフェース部がサポートする複数の通信規格のうち、いずれか1つの通信規格を選択するインターフェース選択過程と、
選択された前記通信規格に従うネットワークモードで動作するようにするモード動作過程と、
を含むことを特徴とする、ネットワークモード選択方法。
A method for a network device to select a network mode,
IP discovery process for broadcasting dynamic IP discovery messages;
A confirmation process of confirming whether a dynamic IP offer message corresponding to the dynamic IP discovery message is received from the dynamic IP allocation device within a preset timeout;
An interface selection process for selecting one of the communication standards supported by the interface unit based on the confirmation result of the confirmation process;
A mode operation process for operating in a network mode according to the selected communication standard;
A network mode selection method comprising:
前記インターフェース選択過程は、予め設定されたタイムアウトの内に前記動的IP割当装置から前記動的IPオファーメッセージが受信される場合、前記通信規格を広域ネットワーク規格に選択する過程を含み、
前記モード動作過程は、前記広域ネットワーク規格によって広域ネットワークモードで動作するようにする過程を含むことを特徴とする、請求項11に記載のネットワークモード選択方法。
The interface selection process includes a process of selecting the communication standard as a wide area network standard when the dynamic IP offer message is received from the dynamic IP allocation apparatus within a preset timeout.
The method of claim 11, wherein the mode operation process includes a process of operating in a wide area network mode according to the wide area network standard.
前記モード動作過程は、
前記動的IP割当装置から前記動的IPオファーメッセージを受信するIPオファー過程と、
前記動的IPオファーメッセージに対応する動的IP割当要請メッセージをブロードキャスティングするIP割当要請過程と、
前記動的IP割当装置から前記動的IP割当要請メッセージに対応する動的IP割当応答メッセージを受信するIP割当応答過程と、
を含むことを特徴とする、請求項11又は12に記載のネットワークモード選択方法。
The mode operation process includes:
An IP offer process for receiving the dynamic IP offer message from the dynamic IP allocation device;
An IP assignment request process for broadcasting a dynamic IP assignment request message corresponding to the dynamic IP offer message;
An IP allocation response process for receiving a dynamic IP allocation response message corresponding to the dynamic IP allocation request message from the dynamic IP allocation device;
The network mode selection method according to claim 11 or 12, characterized by comprising:
前記インターフェース選択過程は、予め設定されたタイムアウトが経過されるまで前記動的IP割当装置から前記動的IPオファーメッセージが未受信される場合、前記通信規格を近距離ネットワーク規格に選択する過程を含み、
前記モード動作過程は、前記近距離ネットワーク規格によって近距離ネットワークモードで動作するようにする過程を含むことを特徴とする、請求項11から13のいずれか一項に記載のネットワークモード選択方法。
The interface selection process includes a process of selecting the communication standard as a short-distance network standard when the dynamic IP offer message is not received from the dynamic IP allocation apparatus until a preset timeout elapses. ,
14. The network mode selection method according to claim 11, wherein the mode operation process includes a process of operating in a short-distance network mode according to the short-distance network standard.
前記インターフェース選択過程は、
予め設定されたタイムアウトの内に前記動的IP割当装置から前記動的IPオファーメッセージが受信されるか否かを確認する第1確認過程と、
前記第1確認過程の確認結果、前記動的IPオファーメッセージが未受信される場合、クライアントから前記動的IP発見メッセージが受信されるか、動的IP割当要請メッセージが受信されるか否かを確認する第2確認過程と、
前記第2確認過程の確認結果、前記動的IP発見メッセージまたは前記動的IP割当要請メッセージが受信される場合、前記動的IP割当装置が未存在することと認識して、前記通信規格を前記近距離ネットワーク規格に選択する選択過程と、
を含むことを特徴とする、請求項14に記載のネットワークモード選択方法。
The interface selection process includes:
A first confirmation process of confirming whether or not the dynamic IP offer message is received from the dynamic IP allocation apparatus within a preset timeout;
If the dynamic IP offer message is not received as a result of the first confirmation process, whether the dynamic IP discovery message is received from the client or the dynamic IP allocation request message is received. A second confirmation process to confirm;
If the dynamic IP discovery message or the dynamic IP assignment request message is received as a result of the confirmation in the second confirmation process, it recognizes that the dynamic IP assignment device does not exist and sets the communication standard to the The selection process to select for the short-range network standard;
The network mode selection method according to claim 14, further comprising:
前記モード動作過程は、
前記動的IPオファーメッセージをブロードキャスティングするIPオファー過程と、
前記動的IPオファーメッセージに対応する動的IP割当要請メッセージを前記クライアントから受信し、前記動的IP割当要請メッセージを処理するIP割当要請過程と、
前記動的IP割当要請メッセージに対応する動的IP割当応答メッセージをブロードキャスティングするIP割当応答過程と、
を含むことを特徴とする、請求項15に記載のネットワークモード選択方法。
The mode operation process includes:
An IP offer process for broadcasting the dynamic IP offer message;
Receiving a dynamic IP allocation request message corresponding to the dynamic IP offer message from the client and processing the dynamic IP allocation request message;
An IP assignment response process for broadcasting a dynamic IP assignment response message corresponding to the dynamic IP assignment request message;
The network mode selection method according to claim 15, further comprising:
JP2013233808A 2013-06-26 2013-11-12 Network mode selection method and apparatus Expired - Fee Related JP5737367B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR10-2013-0074064 2013-06-26
KR20130074064A KR101506852B1 (en) 2013-06-26 2013-06-26 Method for Selecting Network Mode, Mobile Router Therefor

Publications (2)

Publication Number Publication Date
JP2015012603A true JP2015012603A (en) 2015-01-19
JP5737367B2 JP5737367B2 (en) 2015-06-17

Family

ID=52305344

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013233808A Expired - Fee Related JP5737367B2 (en) 2013-06-26 2013-11-12 Network mode selection method and apparatus

Country Status (2)

Country Link
JP (1) JP5737367B2 (en)
KR (1) KR101506852B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231674A (en) * 2017-05-27 2017-10-03 郑州云海信息技术有限公司 A kind of method and apparatus of cluster ad-hoc network
CN113766605A (en) * 2021-07-23 2021-12-07 深圳市智微智能科技股份有限公司 android device network sharing method, system, terminal and storage medium
KR102372597B1 (en) 2021-12-08 2022-03-08 성주용 Lotus lantern with lotus leaves

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002023781A (en) * 2000-07-12 2002-01-25 Sanyo Electric Co Ltd Voice synthesizer, correction method for phrase units therein, rhythm pattern editing method therein, sound setting method therein, and computer-readable recording medium with voice synthesis program recorded thereon
JP2002237816A (en) * 2001-02-08 2002-08-23 Ricoh Co Ltd Automatic address assigning method
JP2007006190A (en) * 2005-06-24 2007-01-11 Nikon Corp Communication control device, communication control method, and imaging device
JP2007081497A (en) * 2005-09-12 2007-03-29 Canon Inc Wireless communication apparatus and control method thereof
JP2008042834A (en) * 2006-08-10 2008-02-21 Nec Access Technica Ltd Network connecting apparatus, network system and network connection method
JP2014175748A (en) * 2013-03-07 2014-09-22 Nec Access Technica Ltd Network device and control method therefor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8539053B2 (en) * 2009-02-27 2013-09-17 Futurewei Technologies, Inc. Apparatus and method for dynamic host configuration protocol version 6 extensions for configuring hosts with multiple interfaces
KR20120105846A (en) * 2011-03-16 2012-09-26 주식회사 네이블커뮤니케이션즈 Service system based on multi coummnication paths

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002023781A (en) * 2000-07-12 2002-01-25 Sanyo Electric Co Ltd Voice synthesizer, correction method for phrase units therein, rhythm pattern editing method therein, sound setting method therein, and computer-readable recording medium with voice synthesis program recorded thereon
JP2002237816A (en) * 2001-02-08 2002-08-23 Ricoh Co Ltd Automatic address assigning method
JP2007006190A (en) * 2005-06-24 2007-01-11 Nikon Corp Communication control device, communication control method, and imaging device
JP2007081497A (en) * 2005-09-12 2007-03-29 Canon Inc Wireless communication apparatus and control method thereof
JP2008042834A (en) * 2006-08-10 2008-02-21 Nec Access Technica Ltd Network connecting apparatus, network system and network connection method
JP2014175748A (en) * 2013-03-07 2014-09-22 Nec Access Technica Ltd Network device and control method therefor

Also Published As

Publication number Publication date
KR20150002934A (en) 2015-01-08
KR101506852B1 (en) 2015-04-08
JP5737367B2 (en) 2015-06-17

Similar Documents

Publication Publication Date Title
KR100656474B1 (en) Port forwarding configuration system and method for wire and wireless network
US20180098214A1 (en) Apparatus and method for providing universal plug and play service based on wi-fi direct connection in portable terminal
US9712383B2 (en) Device abstraction in autonomous wireless local area networks
US7636775B2 (en) Digital network modem with an integrated DHCP server
EP2273722B1 (en) Upnp device for preventing network address conflict in consideration of remote access and method thereof
US20070091908A1 (en) Communication device and communication control method using efficient echonet address determination scheme
US10630551B2 (en) Method and apparatus for automatic networking of gateway device
WO2009090707A1 (en) Communication terminal and method for controlling connection of communication device
WO2015003566A1 (en) Method, device and system for transmitting packet in multicast domain name system
JP2013509117A (en) Method, apparatus, and network system for tunnel establishment
WO2009117963A1 (en) Address configuring method, apparatus and system
KR20120071121A (en) Virtual tunnel router, ip camera management server and ip camera service method based on position information
WO2016015180A1 (en) Automatic wireless access network configuration synchronization method and apparatus
WO2011150720A1 (en) Method, network device and system for automatically configuring network device in internet protocol version 6 network
WO2012079461A1 (en) Method, device and system for allocating ip address
JP2004048175A (en) Communication apparatus, communication system, and communication method
US11683287B2 (en) Helping MDNS discovery between resource-seeking and resource-providing devices by modifying MDNS response to lower one or more TTL values
WO2011079786A1 (en) Internet protocol (ip) address auto-configuration method, server device, client and communicaiton system
JP5737367B2 (en) Network mode selection method and apparatus
WO2010034214A1 (en) Method of installing network element, network element, dhcp server and network system
CN108024306B (en) TCP connection management method and gateway equipment
JP2013243560A (en) Network system, network management device, network management program, and network management method
KR102009810B1 (en) Method and apparatus for transmitting and receiving a service in a wireless communication system
WO2014169859A1 (en) Network data processing method, terminal and data card
CN105792385B (en) Communication method and device based on wireless local area network

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141216

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150304

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150406

R150 Certificate of patent or registration of utility model

Ref document number: 5737367

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees