JP2010062598A - Load sharing method and dhcp server device - Google Patents

Load sharing method and dhcp server device Download PDF

Info

Publication number
JP2010062598A
JP2010062598A JP2008223025A JP2008223025A JP2010062598A JP 2010062598 A JP2010062598 A JP 2010062598A JP 2008223025 A JP2008223025 A JP 2008223025A JP 2008223025 A JP2008223025 A JP 2008223025A JP 2010062598 A JP2010062598 A JP 2010062598A
Authority
JP
Japan
Prior art keywords
service providing
address
communication terminal
providing device
addresses
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
JP2008223025A
Other languages
Japanese (ja)
Other versions
JP4962451B2 (en
Inventor
Takashi Kato
剛史 加藤
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2008223025A priority Critical patent/JP4962451B2/en
Publication of JP2010062598A publication Critical patent/JP2010062598A/en
Application granted granted Critical
Publication of JP4962451B2 publication Critical patent/JP4962451B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a load distribution method of a service providing apparatus, using a DHCP (dynamic host configuration protocol) server which has less limitations on applicable network configurations and on the kinds of service-providing apparatuses and can be utilized for general purpose, and to provide a DHCP server device. <P>SOLUTION: A storage device 12 of the DHCP server 1 stores the addresses of a plurality of DNS (domain name system) servers. A data processor 11 for the DHCP server 1, when receiving a DHCP message for acquiring setting information, containing the addresses of self-communication terminals and the addresses of the DNS servers, uses a selection algorithm for equal selection for selecting an address to be notified to a communication terminal from among the addresses of the plurality of DNS servers, and transmits the setting information containing the selected address of the DNS server to a communication terminal which transmits the DHCP message. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、DHCPサーバで通信端末のネットワーク設定を管理するIPネットワークにおける負荷分散方法に関し、特にDHCPサーバによるサービス提供機器の負荷分散方法およびDHCPサーバ装置に関する。   The present invention relates to a load distribution method in an IP network in which network settings of communication terminals are managed by a DHCP server, and more particularly to a load distribution method of a service providing device using a DHCP server and a DHCP server device.

TCP/IPに基づくインターネット等のIPネットワークには、IPパケットの送受信を行う多数の通信端末に加えて、これらの通信端末に各種のサービスを提供する機器が接続されている。代表的なサービス提供機器に、DNS(Domain Name System)サーバ、デフォルトルータがある。DNSサーバは、IPアドレスとドメイン名との間の変換サービスを提供する。また、デフォルトルータは、ネットワークと他のネットワークとの間に設けられ、一方のネットワークのIPパケットを他方のネットワークへ中継するサービスを提供する。   In addition to a large number of communication terminals that transmit and receive IP packets, devices that provide various services to these communication terminals are connected to an IP network such as the Internet based on TCP / IP. Typical service providing devices include a DNS (Domain Name System) server and a default router. The DNS server provides a conversion service between an IP address and a domain name. The default router is provided between the network and another network, and provides a service for relaying an IP packet of one network to the other network.

このようなサービス提供機器は、多数の通信端末で共有されるために、サービス提供機器自身の性能がボトルネックとなる可能性がある。そこで、負荷分散を目的に、サービス提供機器を多重化することがしばしば行われている。   Since such a service providing device is shared by many communication terminals, the performance of the service providing device itself may become a bottleneck. Thus, it is often performed to multiplex service providing devices for the purpose of load distribution.

サービス提供機器を多重化して負荷分散を行う方法の一つに、ロードバランサーというネットワーク機器を用いる方法がある。しかし、ロードバランサー自身の処理能力がボトルネックになる上、ネットワーク機器が増加し管理コストが高くなる。そこで、ロードバランサーを使わずに、多重化されたサービス提供機器の負荷分散を行う方法が、特許文献1に記載されている。   One method for distributing the load by multiplexing service providing devices is to use a network device called a load balancer. However, the processing capacity of the load balancer itself becomes a bottleneck, and network devices increase and management costs increase. Therefore, Patent Document 1 discloses a method for performing load distribution of multiplexed service providing devices without using a load balancer.

特許文献1に記載される負荷分散方法(以下、関連技術と言う)は、デフォルトルータを負荷分散の対象とし、DHCP(Dynamic Host Configuration Protocol)サーバを用いて複数のデフォルトルータの負荷分散を行う。具体的には、まず、ネットワーク間を接続する複数のルータは互いに負荷情報を交換することによって最も負荷の低いルータを検出する。通信端末が、起動時または再設定時に、自アドレスおよびデフォルトルータのアドレスを含む設定パラメータを獲得するためのDHCPメッセージを、当該通信端末が接続されたネットワークへブロードキャストすると、複数のルータのうちの所定のルータが、DHCPメッセージに、検出された最も負荷の低いルータを識別する情報を付加してDHCPサーバへ転送する。DHCPサーバは、受信したDHCPサーバに付加された最も負荷の低いルータを識別する情報に基づいて、最も負荷の低いルータをデフォルトルータとする設定パラメータを通信端末に割り当てる。   The load distribution method (hereinafter referred to as related technology) described in Patent Document 1 uses a default router as a load distribution target, and performs load distribution of a plurality of default routers using a DHCP (Dynamic Host Configuration Protocol) server. Specifically, first, a plurality of routers connecting between networks detect the router with the lowest load by exchanging load information with each other. When the communication terminal broadcasts a DHCP message for acquiring a setting parameter including its own address and the address of the default router to the network to which the communication terminal is connected at the time of startup or reconfiguration, a predetermined one of the plurality of routers The router adds the information for identifying the detected router with the lowest load to the DHCP message and forwards it to the DHCP server. The DHCP server assigns to the communication terminal a setting parameter for setting the router with the lowest load as the default router based on the received information identifying the router with the lowest load added to the DHCP server.

特許第3896897号公報Japanese Patent No. 3,896,897

上述した関連技術によれば、既存のDHCPサーバの機能を変更することなく、通信端末において、ルータの負荷を反映したデフォルトルータの分散による負荷分散が可能になる。   According to the related art described above, it is possible to distribute the load by distributing the default router reflecting the load of the router in the communication terminal without changing the function of the existing DHCP server.

しかしながら、上述した関連技術では、通信端末から送信されたDHCPメッセージがルータを経由してDHCPサーバに転送されるネットワーク構成であることが前提になるため、通信端末とDHCPサーバとが同じネットワークに接続される構成のネットワークへの適用は困難であり、適用可能なネットワーク構成に制限が多い。   However, in the related technology described above, since it is assumed that the DHCP message transmitted from the communication terminal is transferred to the DHCP server via the router, the communication terminal and the DHCP server are connected to the same network. Therefore, it is difficult to apply the configuration to the network, and there are many restrictions on the applicable network configuration.

また、上述した関連技術は、デフォルトルータの負荷分散に関する技術であり、デフォルトルータ以外のサービス提供機器の負荷分散には適用が困難である。   Further, the related technique described above is a technique related to load distribution of the default router, and is difficult to apply to load distribution of service providing devices other than the default router.

本発明はこのような事情に鑑みて提案されたものであり、その目的は、適用可能なネットワーク構成およびサービス提供機器の種類に対する制限が少なく、汎用的に利用可能な、DHCPサーバを用いたサービス提供機器の負荷分散方法およびDHCPサーバ装置を提供することにある。   The present invention has been proposed in view of such circumstances, and its purpose is to provide a service using a DHCP server that can be used universally with few restrictions on the types of network configurations and service providing devices that can be applied. The object is to provide a load balancing method for a providing device and a DHCP server device.

本発明の第1のDHCPサーバ装置は、通信端末に通知するサービス提供機器のアドレスを記憶する記憶手段であって、同種のサービス提供機器について、複数のサービス提供機器のアドレスを記憶する記憶手段と、通信端末が送信した、自通信端末のアドレス及びサービス提供機器のアドレスを含む設定情報を獲得するためのDHCPメッセージの受信時、均等に選択する選択アルゴリズムを用いて、同種のサービス提供機器について記憶手段に記憶された複数のサービス提供機器のアドレスのうちから通信端末に通知するサービス提供機器のアドレスを選択し、選択したサービス提供機器のアドレスを含む設定情報を、DHCPメッセージを送信した通信端末に送信するデータ処理手段とを備える。   The first DHCP server device of the present invention is storage means for storing the address of a service providing device to be notified to a communication terminal, and for the same type of service providing device, storage means for storing the addresses of a plurality of service providing devices. When a DHCP message for acquiring setting information including the address of the own communication terminal and the address of the service providing device transmitted by the communication terminal is received, the same type of service providing device is stored using a selection algorithm that is selected evenly. The address of the service providing device notified to the communication terminal is selected from the addresses of the plurality of service providing devices stored in the means, and the setting information including the address of the selected service providing device is sent to the communication terminal that has transmitted the DHCP message. Data processing means for transmission.

本発明によれば、適用可能なネットワーク構成およびサービス提供機器の種類に対する制限が少なく、汎用的に利用可能な、DHCPサーバを用いたサービス提供機器の負荷分散方法およびDHCPサーバ装置が得られる。   ADVANTAGE OF THE INVENTION According to this invention, there are few restrictions with respect to the network configuration and the kind of service provision apparatus which can be applied, and the load distribution method and DHCP server apparatus of the service provision apparatus using a DHCP server which can be used universally are obtained.

[第1の実施の形態]
図1を参照すると、本発明の第1の実施の形態は、DHCPサーバ1と、ネットワーク上のサービスを使用する通信端末2、3と、ネットワーク上の通信端末2、3へDNSのサービスを提供するDNSサーバ4、5と、それらを接続するネットワーク機器で構成されたネットワーク、例えばLAN6とを含む。
[First Embodiment]
Referring to FIG. 1, the first embodiment of the present invention provides a DNS server 1 to a DHCP server 1, communication terminals 2 and 3 using services on the network, and communication terminals 2 and 3 on the network. DNS servers 4 and 5 to be connected to each other, and a network such as a LAN 6 constituted by network devices connecting them.

図2を参照すると、DHCPサーバ1は、DHCPの処理を実行するデータ処理装置11と、DHCPの設定情報を記憶する記憶装置12とから構成される。   Referring to FIG. 2, the DHCP server 1 includes a data processing device 11 that executes DHCP processing, and a storage device 12 that stores DHCP setting information.

記憶装置12は、通知情報記憶部121とDNSサーバアドレス記憶部122とを有する。   The storage device 12 includes a notification information storage unit 121 and a DNS server address storage unit 122.

通知情報記憶部121は、通信端末自身に割り当てるIPアドレスの情報をあらかじめ記憶する。図3を参照すると、通知情報記憶部121に記憶されている端末アドレス管理テーブル1210の一例は、それぞれ異なるIPアドレスを記憶する複数のエントリ1211、1212、…から構成され、各エントリは、割り当て済みフラグ、通信端末に割り当てるIPアドレス、サブネットマスクから構成される。割り当て済みフラグは、当該エントリ中のIPアドレスが何れかの通信端末に既に割り当てられているか否かを示し、例えば値0で未割り当て、値1で割り当て済みを示す。   The notification information storage unit 121 stores in advance information on an IP address assigned to the communication terminal itself. Referring to FIG. 3, an example of the terminal address management table 1210 stored in the notification information storage unit 121 includes a plurality of entries 1211, 1212,... That store different IP addresses, and each entry is assigned. It consists of a flag, an IP address assigned to the communication terminal, and a subnet mask. The assigned flag indicates whether or not the IP address in the entry has already been assigned to any communication terminal. For example, the value 0 indicates unassigned and the value 1 indicates assigned.

DNSサーバアドレス記憶部122は、通信端末に通知するサービス提供機器のアドレスをあらかじめ記憶する。本実施の形態において、通信端末にアドレスを通知するサービス提供機器の種類は1種類であり、その種類はDNSサーバである。また、本実施の形態は、優先的に使用するDNSサーバのアドレスと、そのDNSサーバからサービスの提供を受けることができない場合にその代替として使用するDNSサーバのアドレスとの組を通信端末に通知する。図4を参照すると、DNSサーバアドレス記憶部122に記憶されているDNSサーバアドレス管理テーブル1220の一例は、2つのエントリ1221、1222から構成され、各エントリには、優先DNSサーバおよび代替DNSサーバのアドレスが記憶される。具体的には、一方のエントリ1221には、優先DNSサーバとしてDNSサーバ4のアドレスが記憶され、代替DNSサーバとしてDNSサーバ5のアドレスが記憶されている。他方のエントリ1222には、エントリ1221とは反対に、優先DNSサーバとしてDNSサーバ5のアドレスが記憶され、代替DNSサーバとしてDNSサーバ4のアドレスが記憶されている。   The DNS server address storage unit 122 stores in advance the address of the service providing device to be notified to the communication terminal. In the present embodiment, there is one type of service providing device that notifies an address to a communication terminal, and the type is a DNS server. In this embodiment, the communication terminal is notified of a pair of a DNS server address to be used preferentially and a DNS server address to be used as an alternative when the service cannot be received from the DNS server. To do. Referring to FIG. 4, an example of the DNS server address management table 1220 stored in the DNS server address storage unit 122 includes two entries 1221 and 1222. Each entry includes a priority DNS server and an alternative DNS server. The address is stored. Specifically, one entry 1221 stores the address of the DNS server 4 as the priority DNS server and stores the address of the DNS server 5 as the alternative DNS server. In contrast to the entry 1221, the other entry 1222 stores the address of the DNS server 5 as a priority DNS server, and stores the address of the DNS server 4 as an alternative DNS server.

再び図2を参照すると、データ処理装置11は、通知情報決定手段111とDNSサーバアドレス決定手段112とを有する。   Referring again to FIG. 2, the data processing apparatus 11 includes a notification information determination unit 111 and a DNS server address determination unit 112.

通知情報決定手段111は、通信端末自身に設定するIPアドレスおよびサブネットマスクの情報を、通知情報記憶部122に記憶された図3の端末アドレス管理テーブル1210に基づいて決定する機能を有する。具体的には、割り当て済みフラグが未割り当ての値0を示すエントリを1つ選択し、その選択したエントリ中のIPアドレスとサブネットマスクを通信端末自身に設定するIPアドレスおよびサブネットマスクとして決定する。なお、通知情報決定手段111は、割り当てたIPアドレスに対応する割り当て済みフラグは、値1に更新する。   The notification information determination unit 111 has a function of determining the IP address and subnet mask information set for the communication terminal itself based on the terminal address management table 1210 of FIG. 3 stored in the notification information storage unit 122. Specifically, one entry whose value is 0 and the assigned flag is not assigned is selected, and the IP address and subnet mask in the selected entry are determined as the IP address and subnet mask to be set in the communication terminal itself. Note that the notification information determination unit 111 updates the assigned flag corresponding to the assigned IP address to a value of 1.

DNSサーバアドレス決定手段112は、通信端末に設定するDNSサーバアドレスの情報を、DNSサーバアドレス記憶部122の図4のDNSサーバアドレス管理テーブル1220に基づいて決定する機能を有する。具体的には、均等に選択する選択アルゴリズムを用いて、エントリ1221とエントリ1222を均等に選択し、この選択したエントリ中の優先DNSサーバおよび代替DNSサーバのアドレスを、通信端末に設定するDNSサーバアドレスとして決定する。選択アルゴリズムとしては、例えば、ラウンドロビン方式、ランダム選択方式などを使用することができる。   The DNS server address determination unit 112 has a function of determining information on the DNS server address set in the communication terminal based on the DNS server address management table 1220 in FIG. 4 of the DNS server address storage unit 122. Specifically, the entry 1221 and the entry 1222 are equally selected using a selection algorithm that selects equally, and the DNS server that sets the addresses of the priority DNS server and the alternative DNS server in the selected entry in the communication terminal Determine as an address. As the selection algorithm, for example, a round robin method, a random selection method, or the like can be used.

ラウンドロビン方式は、選択するエントリを順番に変えていく方法である。図4のDNSサーバアドレス管理テーブル1220の場合、前回にエントリ1221を選択したならば、今回はエントリ1222を選択し、その次は再びエントリ1221を選択する。   The round robin method is a method in which entries to be selected are changed in order. In the case of the DNS server address management table 1220 of FIG. 4, if the entry 1221 was selected last time, the entry 1222 is selected this time, and the entry 1221 is selected again after that.

ランダム選択方式は、選択するエントリを毎回、無作為に決定する方法である。無作為にエントリを選択する具体例としては、乱数を用いる方法がある。図4のDNSサーバアドレス管理テーブル1220の場合、発生した乱数が例えば奇数ならばエントリ1221を選択し、偶数ならばエントリ1222を選択する。また、乱数の代わりに、通知情報決定手段11で通信端末に割り当てることが決定した端末アドレスを用いて、端末アドレスが例えば奇数ならばエントリ1221を選択し、偶数ならばエントリ1222を選択する如く、端末に割り当てることになるIPアドレスを元に演算で、選択するエントリを決定するようにしてもよい。   The random selection method is a method of randomly determining entries to be selected each time. A specific example of selecting an entry at random is a method using a random number. In the case of the DNS server address management table 1220 of FIG. 4, for example, if the generated random number is an odd number, the entry 1221 is selected, and if the generated random number is an even number, the entry 1222 is selected. Further, instead of a random number, using the terminal address determined to be assigned to the communication terminal by the notification information determining means 11, the entry 1221 is selected if the terminal address is odd, for example, and the entry 1222 is selected if it is even. The entry to be selected may be determined by calculation based on the IP address to be assigned to the terminal.

次に本実施の形態の動作を説明する。   Next, the operation of the present embodiment will be described.

通信端末2が自身のネットワーク設定を行うためにDHCPリクエストメッセージをLAN6にブロードキャストすると(図5の501)、このDHCPリクエストメッセージを受信識別したDHCPサーバ1のデータ処理装置11がメッセージの処理を開始する。   When the communication terminal 2 broadcasts a DHCP request message to the LAN 6 in order to set up its own network (501 in FIG. 5), the data processing device 11 of the DHCP server 1 that has received and identified the DHCP request message starts processing the message. .

最初にDHCPサーバ1のデータ処理装置11は、通知情報決定手段111の機能を利用して、通知情報記憶部121に記憶された情報の中から通信端末2自身に割り当てるIPアドレスとサブネットマスクを決定する(図5の502)。ここでは、図3の1行目のエントリ1211が選択され、IPアドレスとして(10.0.0.11)、サブネットマスクとして(255.0.0.0)が決定されたものとする。   First, the data processing device 11 of the DHCP server 1 uses the function of the notification information determination unit 111 to determine the IP address and subnet mask to be allocated to the communication terminal 2 itself from the information stored in the notification information storage unit 121. (502 in FIG. 5). Here, it is assumed that the entry 1211 on the first line in FIG. 3 is selected and (10.0.0.11) is determined as the IP address and (255.0.0.0) is determined as the subnet mask.

次にデータ処理装置11は、DNSサーバアドレス決定手段112の機能を利用して、DNSサーバアドレス記憶部122に記憶された情報の中から通信端末2に割り当てるDNSサーバのアドレスを決定する(図5の503)。ここでは、ラウンドロビン方式によって、図4の1行目のエントリ1221が選択され、優先DNSサーバのIPアドレスとしてDNSサーバ4のIPアドレスが決定され、代替DNSサーバのIPアドレスとしてDNSサーバ5のIPアドレスが決定されたものとする。   Next, the data processing device 11 uses the function of the DNS server address determination means 112 to determine the DNS server address to be assigned to the communication terminal 2 from the information stored in the DNS server address storage unit 122 (FIG. 5). 503). Here, the entry 1221 in the first row in FIG. 4 is selected by the round robin method, the IP address of the DNS server 4 is determined as the IP address of the priority DNS server, and the IP address of the DNS server 5 is set as the IP address of the alternative DNS server. Assume that an address has been determined.

次にDHCPサーバ1のデータ処理装置11は、ここまでの処理で決定した通信端末2自身に割り当てるIPアドレスとサブネットマスク、通信端末2に割り当てる優先DNSサーバおよび代替DNSサーバのIPアドレスをネットワーク設定内容としてDHCPリプライメッセージに格納し、通信端末2へ送信する(図5の504)。   Next, the data processing device 11 of the DHCP server 1 sets the IP address and subnet mask assigned to the communication terminal 2 itself determined in the processing so far, and the IP addresses of the priority DNS server and the alternative DNS server assigned to the communication terminal 2. In the DHCP reply message and transmitted to the communication terminal 2 (504 in FIG. 5).

通信端末2は、DHCPサーバ1から送信されたDHCPリプライメッセージを受信し、このメッセージに基づいて自通信端末のネットワーク設定を行う(図5の505)。具体的には、自通信端末2のIPアドレスとして(10.0.0.11)を設定し、サブネットマスクとして(255.0.0.0)を設定する。また、自通信端末2が使用する優先DNSサーバのIPアドレスとして、DNSサーバ4のIPアドレスを設定し、代替DNSサーバのIPアドレスとして、DNSサーバ5のIPを設定する。これにより、通信端末2がDNSのサービスを利用する際には、図5の506に示すように、優先DNSサーバとして設定されたDNSサーバ4を最初にアクセスすることになる。   The communication terminal 2 receives the DHCP reply message transmitted from the DHCP server 1, and performs network setting of the own communication terminal based on this message (505 in FIG. 5). Specifically, (10.0.0.11) is set as the IP address of the own communication terminal 2, and (255.0.0.0) is set as the subnet mask. Also, the IP address of the DNS server 4 is set as the IP address of the priority DNS server used by the own communication terminal 2, and the IP of the DNS server 5 is set as the IP address of the alternative DNS server. As a result, when the communication terminal 2 uses the DNS service, the DNS server 4 set as the priority DNS server is first accessed as indicated by reference numeral 506 in FIG.

その後、通信端末3が自身のネットワーク設定を行うためにDHCPリクエストメッセージをLAN6にブロードキャストすると(図5の511)、このDHCPリクエストメッセージを受信識別したDHCPサーバ1のデータ処理装置11がメッセージの処理を再び開始する。   Thereafter, when the communication terminal 3 broadcasts a DHCP request message to the LAN 6 in order to set up its own network (511 in FIG. 5), the data processing device 11 of the DHCP server 1 that has received and identified the DHCP request message performs message processing. Start again.

最初にDHCPサーバ1のデータ処理装置11は、通知情報決定手段111の機能を利用して、通知情報記憶部121に記憶された情報の中から通信端末3自身に割り当てるIPアドレスとサブネットマスクを決定する(図5の512)。ここでは、図3の2行目のエントリ1212が選択され、IPアドレスとして(10.0.0.12)、サブネットマスクとして(255.0.0.0)が決定されたものとする。   First, the data processing device 11 of the DHCP server 1 uses the function of the notification information determination unit 111 to determine the IP address and subnet mask to be allocated to the communication terminal 3 itself from the information stored in the notification information storage unit 121. (512 in FIG. 5). Here, it is assumed that the entry 1212 in the second row in FIG. 3 is selected and (10.0.0.12) is determined as the IP address and (255.0.0.0) is determined as the subnet mask.

次にデータ処理装置11は、DNSサーバアドレス決定手段112の機能を利用して、DNSサーバアドレス記憶部122に記憶された情報の中から通信端末3に割り当てるDNSサーバのアドレスを決定する(図5の513)。ここでは、ラウンドロビン方式によって、図4の2行目のエントリ1221が選択され、優先DNSサーバのIPアドレスとしてDNSサーバ5のIPアドレスが決定され、代替DNSサーバのIPアドレスとしてDNSサーバ4のIPアドレスが決定されたものとする。   Next, the data processing device 11 determines the DNS server address to be assigned to the communication terminal 3 from the information stored in the DNS server address storage unit 122 using the function of the DNS server address determination means 112 (FIG. 5). 513). Here, the entry 1221 in the second row in FIG. 4 is selected by the round robin method, the IP address of the DNS server 5 is determined as the IP address of the priority DNS server, and the IP address of the DNS server 4 is set as the IP address of the alternative DNS server. Assume that an address has been determined.

次にDHCPサーバ1のデータ処理装置11は、ここまでの処理で決定した通信端末3自身に割り当てるIPアドレスとサブネットマスク、通信端末3に割り当てる優先DNSサーバおよび代替DNSサーバのIPアドレスをネットワーク設定内容としてDHCPリプライメッセージに格納し、通信端末3へ送信する(図5の514)。   Next, the data processing device 11 of the DHCP server 1 sets the IP address and subnet mask assigned to the communication terminal 3 itself determined in the processing so far, and the IP addresses of the priority DNS server and the alternative DNS server assigned to the communication terminal 3. In the DHCP reply message and transmitted to the communication terminal 3 (514 in FIG. 5).

通信端末3は、DHCPサーバ1から送信されたDHCPリプライメッセージを受信し、このメッセージに基づいて自通信端末3のネットワーク設定を行う(図5の515)。具体的には、自通信端末3のIPアドレスとして(10.0.0.12)を設定し、サブネットマスクとして(255.0.0.0)を設定する。また、自通信端末3が使用する優先DNSサーバのIPアドレスとして、DNSサーバ5のIPアドレスを設定し、代替DNSサーバのIPアドレスとして、DNSサーバ4のIPアドレスを設定する。これにより、通信端末3がDNSのサービスを利用する際には、図5の516に示すように、優先DNSサーバとして設定されたDNSサーバ5を最初にアクセスすることになる。   The communication terminal 3 receives the DHCP reply message transmitted from the DHCP server 1, and sets the network of the own communication terminal 3 based on this message (515 in FIG. 5). Specifically, (10.0.0.12) is set as the IP address of the own communication terminal 3, and (255.0.0.0) is set as the subnet mask. Further, the IP address of the DNS server 5 is set as the IP address of the priority DNS server used by the own communication terminal 3, and the IP address of the DNS server 4 is set as the IP address of the alternative DNS server. As a result, when the communication terminal 3 uses the DNS service, the DNS server 5 set as the priority DNS server is first accessed as indicated by 516 in FIG.

以上のようにして、DNSのサービスを利用する際は通信端末2、3毎に異なるDNSサーバが利用されることになり、DNSサーバの負荷分散が実現される。   As described above, when the DNS service is used, a different DNS server is used for each of the communication terminals 2 and 3, and load distribution of the DNS server is realized.

次に本実施の形態の効果を説明する。   Next, the effect of this embodiment will be described.

本実施の形態によれば、DHCPサーバ1を用いてDNSサーバの負荷分散を実現することができる。   According to the present embodiment, it is possible to achieve DNS server load distribution using the DHCP server 1.

また本実施の形態によれば、通信端末とDHCPサーバ間でメッセージの授受が可能であればネットワークの構成は任意で良いため、通信端末が接続されたネットワークとDHCPサーバが接続されるネットワークとがルータで接続されているネットワークや、通信端末とDHCPサーバとが同じネットワークに接続される構成のネットワークなど、任意のネットワークに対して汎用的に適用可能である。   In addition, according to the present embodiment, the network configuration may be arbitrary as long as the message can be exchanged between the communication terminal and the DHCP server. Therefore, the network to which the communication terminal is connected and the network to which the DHCP server is connected are determined. The present invention can be applied universally to any network such as a network connected by a router or a network configured such that a communication terminal and a DHCP server are connected to the same network.

また本実施の形態によれば、各通信端末が優先的に使用するDNSサーバの負荷分散を図りつつ、優先DNSサーバの代替となるDNSサーバのIPアドレスのネットワーク設定も同時に行うことが可能である。但し、別の実施の形態として、優先DNSサーバのアドレスだけを通信端末に通知するようにしてもよい。この場合、図4のDNSサーバアドレス管理テーブル1220から代替DNSサーバの項目を削除した図6に示すようなDNSサーバアドレス管理テーブル1220Aを使用するようにしてもよい。   In addition, according to the present embodiment, it is possible to simultaneously set the network of the IP address of the DNS server as an alternative to the priority DNS server while distributing the load of the DNS server used preferentially by each communication terminal. . However, as another embodiment, only the address of the priority DNS server may be notified to the communication terminal. In this case, a DNS server address management table 1220A as shown in FIG. 6 in which the item of the alternative DNS server is deleted from the DNS server address management table 1220 in FIG. 4 may be used.

なお、本実施の形態は、通信端末にアドレスを通知するサービス提供機器の種類を1種類とし、その種類をDNSサーバとした。しかし、DNSサーバに限定されず、他の種類のサービス提供機器の負荷分散に対しても適用可能である。他の種類のサービス提供機器としては、NTPサーバ、デフォルトルータ、ディレクトリサーバ、ベンダーオプションとして定義されるサービスを提供する機器などが挙げられる。   In the present embodiment, one type of service providing device that notifies an address to a communication terminal is one type, and the type is a DNS server. However, the present invention is not limited to the DNS server, and can be applied to load distribution of other types of service providing devices. Other types of service providing devices include NTP servers, default routers, directory servers, and devices that provide services defined as vendor options.

[第2の実施の形態]
図7を参照すると、本発明の第2の実施の形態は、LAN6に4台のルータ7A〜7Dを介して別のネットワーク8が接続されており、DHCPサーバ1を用いて、DNSサーバとデフォルトルータの2種類のサービス提供機器の負荷分散を同時に行うようにしている点で、図1の第1の実施の形態と相違する。
[Second Embodiment]
Referring to FIG. 7, in the second embodiment of the present invention, another network 8 is connected to the LAN 6 via four routers 7A to 7D, and the DNS server and the default are used by using the DHCP server 1. This is different from the first embodiment of FIG. 1 in that load distribution of two types of service providing devices of the router is performed simultaneously.

図8を参照すると、第2の実施の形態におけるDHCPサーバ1は、第1の実施の形態におけるDHCPサーバ1と比較して、DNSサーバアドレス決定手段112およびDNSサーバアドレス記憶部123の代わりに、サービス提供機器アドレス決定手段113およびサービス提供機器アドレス記憶部123を有する点で相違する。   Referring to FIG. 8, the DHCP server 1 in the second embodiment is different from the DHCP server 1 in the first embodiment in place of the DNS server address determination unit 112 and the DNS server address storage unit 123. The service providing device address determining unit 113 and the service providing device address storage unit 123 are different.

サービス提供機器アドレス記憶部123は、通信端末に通知するサービス提供機器のアドレスをあらかじめ記憶する。本実施の形態において、通信端末にアドレスを通知するサービス提供機器の種類は2種類であり、その種類はDNSサーバとデフォルトルータである。また、本実施の形態は、優先的に使用するDNSサーバのアドレスと、そのDNSサーバからサービスの提供を受けることができない場合にその代替として使用するDNSサーバのアドレスとの組を通信端末に通知する。   The service providing device address storage unit 123 stores in advance the address of the service providing device notified to the communication terminal. In the present embodiment, there are two types of service providing devices for notifying addresses to communication terminals, which are a DNS server and a default router. In this embodiment, the communication terminal is notified of a pair of a DNS server address to be used preferentially and a DNS server address to be used as an alternative when the service cannot be received from the DNS server. To do.

図9を参照すると、サービス提供機器アドレス記憶部123に記憶されているサービス提供機器アドレス管理テーブル1230の一例は、4つのエントリ1231〜1234から構成され、各エントリには、優先DNSサーバおよび代替DNSサーバのIPアドレス、デフォルトルータのIPアドレスが記憶される。具体的には、1行目のエントリ1231には、優先DNSサーバとしてDNSサーバ4のアドレスが記憶され、代替DNSサーバとしてDNSサーバ5のアドレスが記憶され、デフォルトルータとしてルータ7Aのアドレスが記憶されている。2行目のエントリ1232には、優先DNSサーバとしてDNSサーバ5のアドレスが記憶され、代替DNSサーバとしてDNSサーバ4のアドレスが記憶され、デフォルトルータとしてルータ7Bのアドレスが記憶されている。3行目のエントリ1233には、優先DNSサーバおよび代替DNSサーバに関しては1行目のエントリと同じ内容が重複して記憶され、デフォルトルータとしてはルータ7Cのアドレスが記憶されている。4行目のエントリ1234には、優先DNSサーバおよび代替DNSサーバに関しては2行目のエントリと同じ内容が重複して記憶され、デフォルトルータとしてはルータ7Dのアドレスが記憶されている。   Referring to FIG. 9, an example of the service providing device address management table 1230 stored in the service providing device address storage unit 123 includes four entries 1231 to 1234, each of which includes a priority DNS server and an alternative DNS. The server IP address and the default router IP address are stored. Specifically, the entry 1231 on the first line stores the address of the DNS server 4 as the priority DNS server, the address of the DNS server 5 as the alternative DNS server, and the address of the router 7A as the default router. ing. The entry 1232 on the second line stores the address of the DNS server 5 as the priority DNS server, the address of the DNS server 4 as the alternative DNS server, and the address of the router 7B as the default router. The entry 1233 in the third row stores the same contents as those in the entry in the first row for the priority DNS server and the alternative DNS server, and stores the address of the router 7C as the default router. The entry 1234 in the fourth row stores the same contents as the entry in the second row with respect to the priority DNS server and the alternative DNS server, and stores the address of the router 7D as the default router.

サービス提供機器アドレス決定手段113は、通信端末に設定するDNSサーバおよびデフォルトルータのアドレスの情報を、サービス提供機器アドレス記憶部123の図9のサービス提供機器アドレス管理テーブル1230に基づいて決定する機能を有する。具体的には、均等に選択する選択アルゴリズムを用いて、エントリ1231〜1234から1つのエントリを選択し、この選択したエントリ中の優先DNSサーバおよび代替DNSサーバのアドレスならびにデフォルトルータのアドレスを、通信端末に設定するDNSサーバアドレスならびにデフォルトルータアドレスとして決定する。選択アルゴリズムとしては、第1の実施の形態と同様にラウンドロビン方式、ランダム選択方式などを使用することができる。   The service providing device address determining unit 113 has a function of determining information on the DNS server and default router addresses set in the communication terminal based on the service providing device address management table 1230 of FIG. Have. Specifically, one entry is selected from the entries 1231 to 1234 using a selection algorithm that selects equally, and the addresses of the priority DNS server and alternative DNS server and the address of the default router in the selected entry are communicated. The DNS server address and the default router address set in the terminal are determined. As a selection algorithm, a round robin method, a random selection method, or the like can be used as in the first embodiment.

次に本実施の形態の動作を説明する。   Next, the operation of the present embodiment will be described.

何れかの通信端末、例えば通信端末2が自身のネットワーク設定を行うためにDHCPリクエストメッセージをLAN6にブロードキャストすると(図10の1001)、このDHCPリクエストメッセージを受信識別したDHCPサーバ1のデータ処理装置11がメッセージの処理を開始する。   When any one of the communication terminals, for example, the communication terminal 2 broadcasts a DHCP request message to the LAN 6 in order to set up its own network (1001 in FIG. 10), the data processing device 11 of the DHCP server 1 that has received and identified this DHCP request message. Starts processing the message.

最初にDHCPサーバ1のデータ処理装置11は、通知情報決定手段111の機能を利用して、通知情報記憶部121に記憶された情報の中から通信端末2自身に割り当てるIPアドレスとサブネットマスクを決定する(図10の1002)。ここでは、図3の1行目のエントリ1211が選択され、IPアドレスとして(10.0.0.11)、サブネットマスクとして(255.0.0.0)が決定されたものとする。   First, the data processing device 11 of the DHCP server 1 uses the function of the notification information determination unit 111 to determine the IP address and subnet mask to be allocated to the communication terminal 2 itself from the information stored in the notification information storage unit 121. (1002 in FIG. 10). Here, it is assumed that the entry 1211 on the first line in FIG. 3 is selected and (10.0.0.11) is determined as the IP address and (255.0.0.0) is determined as the subnet mask.

次にデータ処理装置11は、サービス提供機器アドレス決定手段113の機能を利用して、サービス提供機器アドレス記憶部123に記憶された情報の中から通信端末2に割り当てるDNSサーバおよびデフォルトルータのアドレスを決定する(図10の1003)。ここでは、ラウンドロビン方式によって、図10のサービス提供機器アドレス管理テーブル1230の4つのエントリ1231〜1234から1つのエントリを選択するものとする。この場合、前回にエントリ1231を選択していたのであれば、今回はエントリ1232を選択する。また、前回にエントリ1232を選択していたのであれば、今回はエントリ1233を選択する。また、前回にエントリ1233を選択していたのであれば、今回はエントリ1234を選択する。また、前回にエントリ1234を選択していたのであれば、今回はエントリ1231を選択する。ここでは、1行目のエントリ1231が選択され、優先DNSサーバのIPアドレスとしてDNSサーバ4のIPアドレスが決定され、代替DNSサーバのIPアドレスとしてDNSサーバ5のIPアドレスが決定され、デフォルトルータのIPアドレスとしてルータ7AのIPアドレスが決定されたものとする。   Next, the data processing device 11 uses the function of the service providing device address determination unit 113 to select the addresses of the DNS server and default router to be assigned to the communication terminal 2 from the information stored in the service providing device address storage unit 123. Determine (1003 in FIG. 10). Here, it is assumed that one entry is selected from the four entries 1231 to 1234 in the service providing device address management table 1230 in FIG. 10 by the round robin method. In this case, if the entry 1231 was selected last time, the entry 1232 is selected this time. If entry 1232 was previously selected, entry 1233 is selected this time. If entry 1233 was selected last time, entry 1234 is selected this time. If entry 1234 was selected last time, entry 1231 is selected this time. Here, the entry 1231 in the first row is selected, the IP address of the DNS server 4 is determined as the IP address of the priority DNS server, the IP address of the DNS server 5 is determined as the IP address of the alternative DNS server, and the default router Assume that the IP address of the router 7A is determined as the IP address.

次にDHCPサーバ1のデータ処理装置11は、ここまでの処理で決定した通信端末2自身に割り当てるIPアドレスとサブネットマスク、通信端末2に割り当てる優先DNSサーバおよび代替DNSサーバのIPアドレス、ならびにデフォルトルータのIPアドレスをネットワーク設定内容としてDHCPリプライメッセージに格納し、通信端末2へ送信する(図10の1004)。   Next, the data processing device 11 of the DHCP server 1 determines the IP address and subnet mask assigned to the communication terminal 2 itself determined in the above processing, the IP addresses of the priority DNS server and the alternative DNS server assigned to the communication terminal 2, and the default router. Are stored in the DHCP reply message as network setting contents and transmitted to the communication terminal 2 (1004 in FIG. 10).

通信端末2は、DHCPサーバ1から送信されたDHCPリプライメッセージを受信し、このメッセージに基づいて自通信端末2のネットワーク設定を行う(図10の1005)。具体的には、自通信端末2のIPアドレスとして(10.0.0.11)を設定し、サブネットマスクとして(255.0.0.0)を設定する。また、自通信端末2が使用する優先DNSサーバのIPアドレスとして、DNSサーバ4のIPアドレスを設定し、代替DNSサーバのIPアドレスとして、DNSサーバ5のIPアドレスを設定する。さらに、自通信端末2が使用するデフォルトルータとしてルータ7AのIPアドレスを設定する。これにより、通信端末2がDNSのサービスを利用する際には、優先DNSサーバとして設定されたDNSサーバ4を最初にアクセスすることになる。また、通信端末2がネットワーク8に接続された図示しない通信端末をアクセスする際には、ルータ7Aがデフォルトルータとして使用されることになる。   The communication terminal 2 receives the DHCP reply message transmitted from the DHCP server 1, and sets the network of the own communication terminal 2 based on this message (1005 in FIG. 10). Specifically, (10.0.0.11) is set as the IP address of the own communication terminal 2, and (255.0.0.0) is set as the subnet mask. Further, the IP address of the DNS server 4 is set as the IP address of the priority DNS server used by the own communication terminal 2, and the IP address of the DNS server 5 is set as the IP address of the alternative DNS server. Further, the IP address of the router 7A is set as a default router used by the own communication terminal 2. Thus, when the communication terminal 2 uses the DNS service, the DNS server 4 set as the priority DNS server is accessed first. When the communication terminal 2 accesses a communication terminal (not shown) connected to the network 8, the router 7A is used as a default router.

通信端末2以外の通信端末が自身のネットワーク設定を行うためにDHCPリクエストメッセージをLAN6にブロードキャストした場合、通信端末2がDHCPリクエストメッセージを送信したときと同様の動作が行われる。但し、サービス提供機器アドレス管理テーブル1230におけるエントリの選択がラウンドロビン方式で行われるため、2番目の通信端末にはエントリ1232に記憶されている内容が、3番目の通信端末にはエントリ1233に記憶されている内容が、4番目の通信端末にはエントリ1234に記憶されている内容が、それぞれ通知されることになる。これにより、DNSのサービスを利用する際は使用するDNSサーバが分散され、また、ネットワーク8に接続された通信端末と通信する際に使用するデフォルトルータが分散されることになる。   When a communication terminal other than the communication terminal 2 broadcasts a DHCP request message to the LAN 6 in order to set its own network, the same operation as when the communication terminal 2 transmits the DHCP request message is performed. However, since the entry selection in the service providing device address management table 1230 is performed by the round robin method, the content stored in the entry 1232 in the second communication terminal is stored in the entry 1233 in the third communication terminal. The content stored in the entry 1234 is notified to the fourth communication terminal. As a result, the DNS server to be used is distributed when using the DNS service, and the default router used when communicating with the communication terminal connected to the network 8 is distributed.

次に本実施の形態の効果を説明する。   Next, the effect of this embodiment will be described.

本実施の形態によれば、DHCPサーバ1を用いてDNSサーバおよびデフォルトルータの負荷分散を実現することができる。   According to the present embodiment, it is possible to realize load distribution of the DNS server and the default router using the DHCP server 1.

また本実施の形態によれば、通信端末とDHCPサーバ間でメッセージの授受が可能であればネットワークの構成は任意で良いため、通信端末が接続されたネットワークとDHCPサーバが接続されるネットワークとがルータで接続されているネットワークや、通信端末とDHCPサーバとが同じネットワークに接続される構成のネットワークなど、任意のネットワークに対して汎用的に適用可能である。   In addition, according to the present embodiment, the network configuration may be arbitrary as long as the message can be exchanged between the communication terminal and the DHCP server. Therefore, the network to which the communication terminal is connected and the network to which the DHCP server is connected are determined. The present invention can be applied universally to any network such as a network connected by a router or a network configured such that a communication terminal and a DHCP server are connected to the same network.

また本実施の形態によれば、各通信端末が優先的に使用するDNSサーバの負荷分散を図りつつ、優先DNSサーバの代替となるDNSサーバのIPアドレスのネットワーク設定も同時に行うことが可能である。但し、別の実施の形態として、優先DNSサーバのアドレスだけを通信端末に通知するようにしてもよい。この場合、図9のサービス提供機器アドレス管理テーブル1230から代替DNSサーバの項目を削除した図11に示すようなサービス提供機器アドレス管理テーブル1230Aを使用するようにしてもよい。   In addition, according to the present embodiment, it is possible to simultaneously set the network of the IP address of the DNS server as an alternative to the priority DNS server while distributing the load of the DNS server used preferentially by each communication terminal. . However, as another embodiment, only the address of the priority DNS server may be notified to the communication terminal. In this case, a service providing device address management table 1230A as shown in FIG. 11 in which the item of the alternative DNS server is deleted from the service providing device address management table 1230 in FIG. 9 may be used.

さらに本実施の形態によれば、図9に示したようなサービス提供機器アドレス管理テーブル1230を用いることにより、DNSサーバとデフォルトルータという2種類のサービス提供機器のアドレスを均等に選択する処理をまとめて一度に行うことができ、DHCPサーバ1における処理効率を高めることができる。   Furthermore, according to the present embodiment, by using the service providing device address management table 1230 as shown in FIG. 9, the processing for equally selecting the addresses of two types of service providing devices, the DNS server and the default router, is summarized. The processing efficiency in the DHCP server 1 can be increased.

なお、本実施の形態は、通信端末にアドレスを通知するサービス提供機器の種類を2種類とし、その種類をDNSサーバとデフォルトルータとした。しかし、通信端末にアドレスを通知するサービス提供機器の種類は、DNSサーバ、デフォルトルータ、NTPサーバ、デフォルトルータ、ディレクトリサーバ、ベンダーオプションとして定義されるサービスを提供する機器などから任意に選択した2つ或いは3つ以上の任意の組み合わせとすることができる。この場合、サービス提供機器アドレス管理テーブル1230は一般的に次にように構成すればよい。   In this embodiment, there are two types of service providing devices for notifying addresses to communication terminals, and the types are a DNS server and a default router. However, two types of service providing devices for notifying addresses to communication terminals are arbitrarily selected from a DNS server, a default router, an NTP server, a default router, a directory server, a device that provides a service defined as a vendor option, and the like. Alternatively, any combination of three or more can be used. In this case, the service providing device address management table 1230 may generally be configured as follows.

まず、テーブルのエントリ数は、各種類のサービス提供機器のアドレス数の最小公倍数に等しい数とする。例えば、サービス提供機器を3種類とし、それぞれの種類のサービス提供機器の台数が2台、3台、4台の場合、エントリ数は12になる。次に、各エントリに、サービス提供機器の種類に1対1に対応する領域を割り当て、各種類のサービス提供機器ごとに、先頭のエントリから最後のエントリまで順に、そのサービス提供機器の種類に対応する領域に複数のサービス提供機器のアドレスを記憶していく。このとき、エントリ数がサービス提供機器のアドレス数の倍数となる種類のサービス提供機器については、複数のサービス提供機器のアドレスを重複して記憶する。例えば、前記の例で台数が2台のサービス提供機器については、同じアドレスの並びのパターンが6回繰り返し記憶される。   First, the number of entries in the table is equal to the least common multiple of the number of addresses of each type of service providing device. For example, if there are three types of service providing devices and the number of service providing devices of each type is two, three or four, the number of entries is twelve. Next, each entry is assigned a one-to-one area corresponding to the type of service providing device, and each type of service providing device corresponds to the type of service providing device in order from the first entry to the last entry. The addresses of a plurality of service providing devices are stored in the area to be used. At this time, for service providing devices of a type in which the number of entries is a multiple of the number of addresses of the service providing devices, the addresses of a plurality of service providing devices are stored redundantly. For example, for the service providing device having two units in the above example, the same address arrangement pattern is repeatedly stored six times.

以上、本発明を幾つかの実施の形態を挙げて説明したが、本発明は上記の実施の形態にのみ限定されず、その他各種の付加変更が可能である。また、前述した通知情報決定手段111、DNSサーバアドレス決定手段112およびサービス提供機器アドレス決定手段113は、その有する機能をハードウェア的に実現することは勿論、コンピュータとプログラムとで実現することができる。プログラムは、磁気ディスクや半導体メモリ等のコンピュータ可読記録媒体に記録されて提供され、コンピュータの立ち上げ時などにコンピュータに読み取られ、そのコンピュータの動作を制御することにより、そのコンピュータを前述した通知情報決定手段111、DNSサーバアドレス決定手段112およびサービス提供機器アドレス決定手段113として機能させる。   Although the present invention has been described with reference to some embodiments, the present invention is not limited to the above-described embodiments, and various other additions and modifications can be made. Further, the notification information determining unit 111, the DNS server address determining unit 112, and the service providing device address determining unit 113 described above can be realized by a computer and a program, as well as by hardware. . The program is provided by being recorded on a computer-readable recording medium such as a magnetic disk or a semiconductor memory, read by the computer when the computer is started up, etc., and controlling the operation of the computer, thereby notifying the computer of the notification information described above. It functions as a determination unit 111, a DNS server address determination unit 112, and a service providing device address determination unit 113.

本発明の第1の実施の形態のブロック図である。It is a block diagram of a 1st embodiment of the present invention. 本発明の第1の実施の形態におけるDHCPサーバのブロック図である。It is a block diagram of the DHCP server in the 1st Embodiment of this invention. 本発明の第1の実施の形態で使用する端末アドレス管理テーブルの構成図である。It is a block diagram of the terminal address management table used in the 1st Embodiment of this invention. 本発明の第1の実施の形態で使用するDNSサーバアドレス管理テーブルの構成図である。It is a block diagram of the DNS server address management table used in the 1st Embodiment of this invention. 本発明の第1の実施の形態の動作シーケンス図である。It is an operation | movement sequence diagram of the 1st Embodiment of this invention. 本発明の第1の実施の形態で使用する端末アドレス管理テーブルの別の構成図である。It is another block diagram of the terminal address management table used in the 1st Embodiment of this invention. 本発明の第2の実施の形態のブロック図である。It is a block diagram of the 2nd Embodiment of this invention. 本発明の第2の実施の形態におけるDHCPサーバのブロック図である。It is a block diagram of the DHCP server in the 2nd Embodiment of this invention. 本発明の第2の実施の形態で使用するサービス提供機器アドレス管理テーブルの構成図である。It is a block diagram of the service provision apparatus address management table used in the 2nd Embodiment of this invention. 本発明の第2の実施の形態の動作シーケンス図である。It is an operation | movement sequence diagram of the 2nd Embodiment of this invention. 本発明の第2の実施の形態で使用するサービス提供機器アドレス管理テーブルの別の構成図である。It is another block diagram of the service provision apparatus address management table used in the 2nd Embodiment of this invention.

符号の説明Explanation of symbols

1…DHCPサーバ
2、3…通信端末
4、5…DNSサーバ
6…LAN
7A〜7D…ルータ
8…ネットワーク
11…データ処理装置
12…記憶装置
111…通知情報決定手段
112…DNSサーバアドレス決定手段
113…サービス提供機器アドレス決定手段
121…通知情報記憶部
122…DNSサーバアドレス記憶部
123…サービス提供機器アドレス記憶部
DESCRIPTION OF SYMBOLS 1 ... DHCP server 2, 3 ... Communication terminal 4, 5 ... DNS server 6 ... LAN
7A to 7D ... Router 8 ... Network 11 ... Data processing device 12 ... Storage device 111 ... Notification information determining means 112 ... DNS server address determining means 113 ... Service providing device address determining means 121 ... Notification information storage unit 122 ... DNS server address storage Unit 123 ... Service providing device address storage unit

Claims (7)

通信端末に通知するサービス提供機器のアドレスを記憶する記憶手段であって、同種のサービス提供機器について、複数のサービス提供機器のアドレスを記憶する記憶手段と、
前記通信端末が送信した、自通信端末のアドレス及び前記サービス提供機器のアドレスを含む設定情報を獲得するためのDHCPメッセージの受信時、均等に選択する選択アルゴリズムを用いて、同種のサービス提供機器について前記記憶手段に記憶された複数のサービス提供機器のアドレスのうちから前記通信端末に通知するサービス提供機器のアドレスを選択し、該選択したサービス提供機器のアドレスを含む設定情報を、前記DHCPメッセージを送信した前記通信端末に送信するデータ処理手段とを備えることを特徴とするDHCPサーバ装置。
Storage means for storing addresses of service providing devices to be notified to a communication terminal, the storage means storing addresses of a plurality of service providing devices for the same type of service providing devices;
Regarding a service providing device of the same type using a selection algorithm that is selected evenly upon reception of a DHCP message for acquiring setting information including the address of the own communication terminal and the address of the service providing device transmitted by the communication terminal The address of the service providing device to be notified to the communication terminal is selected from among the addresses of the plurality of service providing devices stored in the storage means, and setting information including the address of the selected service providing device is stored in the DHCP message. A DHCP server apparatus comprising: data processing means for transmitting to the transmitted communication terminal.
前記記憶手段は、同種のサービス提供機器について、優先的に使用するサービス提供機器とその代替として使用するサービス提供機器のアドレスの組を複数記憶し、
前記データ処理手段は、同種のサービス提供機器について前記記憶手段に記憶された複数のアドレスの組のうちから前記通信端末に通知するアドレスの組を選択し、該選択したアドレスの組を含む設定情報を、前記DHCPメッセージを送信した前記通信端末に送信することを特徴とする請求項1に記載のDHCPサーバ装置。
The storage means stores a plurality of address sets of a service providing device used preferentially and a service providing device used as an alternative for the same type of service providing device,
The data processing unit selects a set of addresses to be notified to the communication terminal from among a plurality of sets of addresses stored in the storage unit for the same type of service providing device, and setting information including the selected set of addresses The DHCP server apparatus according to claim 1, wherein the DHCP server apparatus transmits the DHCP message to the communication terminal that has transmitted the DHCP message.
前記記憶手段は、複数種類のサービス提供機器のそれぞれについて、複数のサービス提供機器のアドレスを記憶し、
前記データ処理手段は、複数種類のサービス提供機器のそれぞれについて、同種のサービス提供機器について前記記憶手段に記憶された複数のサービス提供機器のアドレスのうちから前記通信端末に通知するサービス提供機器のアドレスを選択し、該選択したサービス提供機器のアドレスを含む設定情報を、前記DHCPメッセージを送信した前記通信端末に送信することを特徴とする請求項1または2に記載のDHCPサーバ装置。
The storage means stores the addresses of a plurality of service providing devices for each of a plurality of types of service providing devices,
For each of a plurality of types of service providing devices, the data processing unit notifies the communication terminal of the addresses of the plurality of service providing devices stored in the storage unit for the same type of service providing device. The DHCP server apparatus according to claim 1, wherein setting information including an address of the selected service providing device is transmitted to the communication terminal that has transmitted the DHCP message.
前記記憶手段は、複数種類のサービス提供機器のそれぞれについてのサービス提供機器のアドレス数の最小公倍数に等しい数のエントリを有し、各エントリはサービス提供機器の種類数に等しい分割領域を有し、各種類のサービス提供機器ごとに、先頭のエントリから最後のエントリまで順に、そのサービス提供機器の種類に対応する分割領域に複数のサービス提供機器のアドレスが記憶されており、エントリ数がサービス提供機器のアドレス数の倍数となる種類のサービス提供機器については、複数のサービス提供機器のアドレスが重複して記憶されているサービス提供機器アドレス管理テーブルを有し、
前記データ処理手段は、前記選択アルゴリズムを用いて、前記サービス提供機器アドレス管理テーブルの複数のエントリから1つのエントリを選択することを特徴とする請求項3に記載のDHCPサーバ装置。
The storage means has a number of entries equal to the least common multiple of the number of addresses of service providing devices for each of a plurality of types of service providing devices, and each entry has a divided area equal to the number of types of service providing devices, For each type of service providing device, the addresses of a plurality of service providing devices are stored in the divided area corresponding to the type of the service providing device in order from the first entry to the last entry. A service providing device address management table in which addresses of a plurality of service providing devices are stored in duplicate.
4. The DHCP server device according to claim 3, wherein the data processing means selects one entry from a plurality of entries in the service providing device address management table using the selection algorithm.
前記サービス提供機器が、DNSサーバ、NTPサーバ、デフォルトルータ、ディレクトリサーバの何れかを含むことを特徴とする請求項1乃至4の何れか1項に記載のDHCPサーバ装置。   The DHCP server apparatus according to any one of claims 1 to 4, wherein the service providing device includes any one of a DNS server, an NTP server, a default router, and a directory server. a)通信端末が、自アドレスおよびサービス提供機器のアドレスを含む設定情報を獲得するためのDHCPメッセージをネットワークに送信するステップと、
b)前記DHCPメッセージを受信識別したDHCPサーバが、均等に選択する選択アルゴリズムを用いて、同種のサービス提供機器について記憶された複数のサービス提供機器のアドレスのうちから前記通信端末に通知するサービス提供機器のアドレスを選択し、該選択したサービス提供機器のアドレスを含む設定情報を、前記DHCPメッセージを送信した前記通信端末に送信するステップと、
を含むことを特徴とする負荷分散方法。
a) a communication terminal sending a DHCP message for acquiring setting information including its own address and the address of a service providing device to the network;
b) Service provision in which the DHCP server that has received and identified the DHCP message notifies the communication terminal from among the addresses of a plurality of service providing devices stored for the same type of service providing device, using a selection algorithm that selects equally. Selecting a device address, and transmitting setting information including the address of the selected service providing device to the communication terminal that has transmitted the DHCP message;
A load balancing method comprising:
通信端末に通知するサービス提供機器のアドレスを記憶する記憶手段であって、同種のサービス提供機器について、複数のサービス提供機器のアドレスを記憶する記憶手段を有するDHCPサーバ装置を構成するコンピュータを、
前記通信端末が送信した、自通信端末のアドレス及び前記サービス提供機器のアドレスを含む設定情報を獲得するためのDHCPメッセージの受信時、均等に選択する選択アルゴリズムを用いて、同種のサービス提供機器について前記記憶手段に記憶された複数のサービス提供機器のアドレスのうちから前記通信端末に通知するサービス提供機器のアドレスを選択し、該選択したサービス提供機器のアドレスを含む設定情報を、前記DHCPメッセージを送信した前記通信端末に送信するデータ処理手段として機能させるためのプログラム。
A storage unit for storing the address of a service providing device to be notified to a communication terminal, the computer constituting the DHCP server device having a storage unit for storing the addresses of a plurality of service providing devices for the same type of service providing device,
Regarding a service providing device of the same type using a selection algorithm that is selected evenly upon reception of a DHCP message for acquiring setting information including the address of the own communication terminal and the address of the service providing device transmitted by the communication terminal The address of the service providing device to be notified to the communication terminal is selected from among the addresses of the plurality of service providing devices stored in the storage means, and setting information including the address of the selected service providing device is stored in the DHCP message. A program for functioning as a data processing means for transmitting to the communication terminal that has transmitted.
JP2008223025A 2008-09-01 2008-09-01 Load balancing method and DHCP server device Expired - Fee Related JP4962451B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008223025A JP4962451B2 (en) 2008-09-01 2008-09-01 Load balancing method and DHCP server device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008223025A JP4962451B2 (en) 2008-09-01 2008-09-01 Load balancing method and DHCP server device

Publications (2)

Publication Number Publication Date
JP2010062598A true JP2010062598A (en) 2010-03-18
JP4962451B2 JP4962451B2 (en) 2012-06-27

Family

ID=42188982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008223025A Expired - Fee Related JP4962451B2 (en) 2008-09-01 2008-09-01 Load balancing method and DHCP server device

Country Status (1)

Country Link
JP (1) JP4962451B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011125883A1 (en) * 2010-03-31 2011-10-13 株式会社エヌ・ティ・ティ・ドコモ Mobile communication method and gateway apparatus
JP2012029261A (en) * 2010-07-28 2012-02-09 Ntt Docomo Inc Terminal device, address information providing system, and name resolution method
JP2014511085A (en) * 2012-03-14 2014-05-01 ▲ホア▼▲ウェイ▼技術有限公司 Method, switch, server, and system for sending a connection establishment request

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293496A (en) * 1999-04-08 2000-10-20 Nec Corp Decentralizing device for service load of network
JP2003198583A (en) * 2001-12-27 2003-07-11 Fuji Xerox Co Ltd Setting information assignment method for external network connection
JP2006180095A (en) * 2004-12-21 2006-07-06 Matsushita Electric Ind Co Ltd Gateway, and access control method of web server
JP2007189540A (en) * 2006-01-13 2007-07-26 Nippon Telegr & Teleph Corp <Ntt> Device, method, and program for dns server selection, and name resolution system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000293496A (en) * 1999-04-08 2000-10-20 Nec Corp Decentralizing device for service load of network
JP2003198583A (en) * 2001-12-27 2003-07-11 Fuji Xerox Co Ltd Setting information assignment method for external network connection
JP2006180095A (en) * 2004-12-21 2006-07-06 Matsushita Electric Ind Co Ltd Gateway, and access control method of web server
JP2007189540A (en) * 2006-01-13 2007-07-26 Nippon Telegr & Teleph Corp <Ntt> Device, method, and program for dns server selection, and name resolution system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011125883A1 (en) * 2010-03-31 2011-10-13 株式会社エヌ・ティ・ティ・ドコモ Mobile communication method and gateway apparatus
JP2011217114A (en) * 2010-03-31 2011-10-27 Ntt Docomo Inc Mobile communication method and gateway device
JP2012029261A (en) * 2010-07-28 2012-02-09 Ntt Docomo Inc Terminal device, address information providing system, and name resolution method
JP2014511085A (en) * 2012-03-14 2014-05-01 ▲ホア▼▲ウェイ▼技術有限公司 Method, switch, server, and system for sending a connection establishment request
US9386047B2 (en) 2012-03-14 2016-07-05 Huawei Technologies Co., Ltd. Method, switch, server and system for sending connection establishment request

Also Published As

Publication number Publication date
JP4962451B2 (en) 2012-06-27

Similar Documents

Publication Publication Date Title
KR100984384B1 (en) System, network device, method, and computer program product for active load balancing using clustered nodes as authoritative domain name servers
KR101464452B1 (en) Processing method, proxy processing agent, system and method for filling a routing table of a dht client node, router and dht client node
US7046666B1 (en) Method and apparatus for communicating between divergent networks using media access control communications
US8458303B2 (en) Utilizing a gateway for the assignment of internet protocol addresses to client devices in a shared subset
WO2010064644A1 (en) Cluster control system, cluster control method, and program
KR20090069312A (en) A resource delivery method, system and edge server
JP2014504484A (en) State synchronization between load balancer components
KR20110036573A (en) Providing access over an ip network to a server application program
TW200952516A (en) Load distribution system, load distribution method and authentication server
JP5255035B2 (en) Failover system, storage processing apparatus, and failover control method
JP2013090072A (en) Service provision system
CN111182022A (en) Data transmission method and device, storage medium and electronic device
US9697173B2 (en) DNS proxy service for multi-core platforms
WO2010141450A2 (en) Method for extending the use of single ipv4 addresses to multiple network end-hosts
JP4962451B2 (en) Load balancing method and DHCP server device
JP2004356920A (en) Dhcp server system
US20130254425A1 (en) Dns forwarder for multi-core platforms
CN107172229B (en) Router configuration method and device
CN108632173B (en) Resource access system and resource access method based on local area network
JP2006209465A (en) Load distribution system, load distribution device, server, load distribution program and load distribution method
JP6406712B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM
US7392318B1 (en) Method and system for balancing a traffic load in a half-duplex environment
US11190484B2 (en) Enhanced large scale network address translation (NAT) system for processing packets between router and transmission control protocol/internet protocol (TCP/IP) network
KR102043031B1 (en) Server and method for load balancing of using the same
JP2004064379A (en) Router and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20111129

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120127

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4962451

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

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees