[go: up one dir, main page]

JP2013168139A - Load balancing device, load balancing method and hierarchized data center system - Google Patents

Load balancing device, load balancing method and hierarchized data center system Download PDF

Info

Publication number
JP2013168139A
JP2013168139A JP2013010061A JP2013010061A JP2013168139A JP 2013168139 A JP2013168139 A JP 2013168139A JP 2013010061 A JP2013010061 A JP 2013010061A JP 2013010061 A JP2013010061 A JP 2013010061A JP 2013168139 A JP2013168139 A JP 2013168139A
Authority
JP
Japan
Prior art keywords
data center
load
current data
traffic
load balancing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2013010061A
Other languages
Japanese (ja)
Inventor
Ying Shi
イン シ
Juan Wu
ジュアン ウ
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Publication of JP2013168139A publication Critical patent/JP2013168139A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Computer And Data Communications (AREA)

Abstract

【課題】 階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、複数のデータセンターの中の負荷均衡装置に対応する現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう負荷均衡装置、負荷均衡方法及び階層化データセンターシステムを提供する。
【解決手段】 負荷均衡装置は現在データセンターと下層データセンターとのリソース使用状態に基づいて、現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。本発明によると、階層化データセンターシステムの構成の多様性と柔軟性を向上し、階層化データセンターシステムを構成する各データセンターのリソース使用状態に応じて、できるだけユーザに近くて且つリソースがアイドル状態であるデータセンターによってユーザの要求を処理し、階層化データセンターシステムにおける負荷をさらに均衡にし、ユーザ要求の応答速度を向上し、これにより階層化データセンターシステムのサービス効率を向上することができる。
【選択図】図1
PROBLEM TO BE SOLVED: To use load traffic transmitted to a current data center corresponding to a load balancing device in a plurality of data centers, which is used in a hierarchical data center system configured by connecting a plurality of data centers by a layering method. Provided are a load balancing device, a load balancing method, and a hierarchical data center system that perform allocation to a server.
A load balancer allocates load traffic transmitted to a current data center based on resource usage states of the current data center and a lower data center. According to the present invention, the diversity and flexibility of the configuration of the hierarchical data center system is improved, and resources are idle as close to the user as possible according to the resource usage state of each data center constituting the hierarchical data center system. The user's request is processed by the data center in the state, the load in the hierarchical data center system is further balanced, the response speed of the user request is improved, and thereby the service efficiency of the hierarchical data center system can be improved. .
[Selection] Figure 1

Description

本発明はデータセンター負荷均衡技術に関し、特に階層化データセンターシステムにおけるサブネットワーク間の負荷均衡に用いられる負荷均衡装置、負荷均衡方法及び当該負荷均衡装置と負荷均衡方法を用いた階層化データセンターシステムに関する。   The present invention relates to a data center load balancing technique, and more particularly, a load balancing device used for load balancing between sub-networks in a hierarchical data center system, a load balancing method, and a hierarchical data center system using the load balancing device and the load balancing method. About.

現在、ネットワーク応用、特に日増しに発展するモノのネットワーク応用において、階層化データセンターシステムは幅広く使用されている。このような階層化システムのサービス効率を向上するためにはサブネットワーク間の負荷均衡が必要である。   Hierarchical data center systems are now widely used in network applications, especially in the networking of goods that are growing day by day. In order to improve the service efficiency of such a hierarchical system, load balancing between the sub-networks is necessary.

特許文献1では、アグリゲータを利用して、階層化の形式と支店(即ち、後述の中のサイトまたはデータセンター)設備配置を減少する方法で支店設備の集合と負荷均衡を提供し、アグリゲータ間のインタラクティブによって、異なる支店の設備情報を識別し、リソース要求がすべての支店と分岐設備を跨って全体の負荷均衡を図れるようにする技術が提案されている。   In Patent Document 1, aggregator is used to provide a set of branch facilities and load balance in a manner that reduces the hierarchy format and branch (ie, site or data center in the later description) facility layout, and between aggregators A technique has been proposed in which facility information of different branch offices is identified by interactive processing so that resource requests can balance the entire load across all branch offices and branch facilities.

また、特許文献2では、ユーザのIPアドレスに基づいてサービス提供サイトを選択する技術が提案されている。   Patent Document 2 proposes a technique for selecting a service providing site based on a user's IP address.

US2008/0034111A1US2008 / 0034111A1 US7,523,170B1US7,523,170B1

しかしながら、上記の従来技術には以下のような問題点がある。先ず、アグリゲータを介して各支店に接続して各支店の設備情報を収集する場合、ネットワーク階層化構成の多様性と柔軟性が制限されてしまう。また、サイトの選択方法として、サービス種別の区別を考慮せず、既存の接続とセッションの状態のみに基づいて新たに到着した接続要求を処理する。このような処理方法は、サービス種別が異なる可能性があっても、それらが得る負荷均衡処理は同じになってしまう。例えば、大量のネットワークトラフィックが発生するサービスがユーザから離れたサイトに割り当てられ、これによりネットワークリソースが占用されてネットワークの遅延が増加し、全体の階層化構成のサービス提供効率が低下してしまう。   However, the above prior art has the following problems. First, when collecting facility information of each branch by connecting to each branch via an aggregator, the diversity and flexibility of the network hierarchy configuration is limited. In addition, as a site selection method, a newly arrived connection request is processed based only on the existing connection and session state without considering the distinction between service types. Even if there is a possibility that the service types are different in such a processing method, the load balance processing obtained by them is the same. For example, a service that generates a large amount of network traffic is assigned to a site away from the user, and thereby network resources are occupied, the network delay increases, and the service providing efficiency of the overall hierarchical configuration decreases.

本発明は、上記の技術問題を解決するために、階層化データセンターシステムの構成の多様性と柔軟性を向上し、階層化データセンターシステムのサービス効率を向上することができる負荷均衡装置、負荷均衡方法及び階層化データセンターシステムを提供することを目的とする。   In order to solve the above technical problem, the present invention improves the diversity and flexibility of the configuration of the hierarchical data center system, and improves the service efficiency of the hierarchical data center system. An object is to provide a balancing method and a hierarchical data center system.

また、本発明は、上記の技術問題を解決するために、サービス要求のサービス種別を区別し、階層化データセンターシステムのサービス効率を向上することができる負荷均衡装置、負荷均衡方法及び階層化データセンターシステムを提供することを目的とする。   The present invention also provides a load balancing device, a load balancing method, and hierarchical data that can distinguish the service type of the service request and improve the service efficiency of the hierarchical data center system in order to solve the above technical problem. The purpose is to provide a center system.

上述の目的を達するための本発明に係わる負荷均衡装置は、階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、前記複数のデータセンターの中の当該負荷均衡装置に対応する現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう負荷均衡装置であって、前記現在データセンターと、前記現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターとのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   In order to achieve the above object, a load balancing apparatus according to the present invention is used in a hierarchical data center system configured by connecting a plurality of data centers by a hierarchical method, and the load in the plurality of data centers is used. A load balancing device for allocating load traffic transmitted to a current data center corresponding to a balancing device, the current data center, and a lower layer connected to the current data center and positioned below the current data center The load traffic transmitted to the current data center is allocated based on the resource usage state with the data center.

上述の目的を達するための本発明に係わる負荷均衡方法は、階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、前記複数のデータセンターの中の現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう負荷均衡方法であって、前記現在データセンターと、前記現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターとのリソース使用状態を判定する判定ステップと、前記判定ステップの判定結果に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう割り当てステップと、を含む。   The load balancing method according to the present invention for achieving the above object is used in a hierarchical data center system configured by connecting a plurality of data centers by a hierarchical method, and present data in the plurality of data centers. A load balancing method for allocating load traffic transmitted to a center, the resource usage state between the current data center and a lower data center connected to the current data center and located below the current data center And a allocating step of allocating load traffic transmitted to the current data center based on a determination result of the determining step.

上述の目的を達するための本発明に係わる階層化データセンターシステムは、階層化方法によって複数のデータセンターを接続して構成され、各データセンターとそれぞれ対応する複数の負荷均衡装置を含む階層化データセンターシステムであって、各負荷均衡装置は、本負荷均衡装置に対応する現在データセンターと、前記現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターとのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   In order to achieve the above object, a hierarchical data center system according to the present invention is configured by connecting a plurality of data centers by a hierarchical method, and includes hierarchical data including a plurality of load balancing devices respectively corresponding to the data centers. Each of the load balancers is based on the resource usage status of a current data center corresponding to the load balancer and a lower layer data center connected to the current data center and located below the current data center. Then, the load traffic transmitted to the current data center is allocated.

本発明の負荷均衡装置、負荷均衡方法及び階層化データセンターシステムによれば、階層化データセンターシステムの構成の多様性と柔軟性を向上し、階層化データセンターシステムを構成する各データセンターのリソース使用状態に応じて、できるだけユーザに近くてリソースがアイドル状態にあるデータセンターによりユーザ要求を処理し、階層化データセンターシステムにおける負荷をもっと均衡にし、ユーザ要求の応答速度を向上し、これにより階層化データセンターシステムのサービス効率を向上することができる。   According to the load balancing device, the load balancing method, and the hierarchical data center system of the present invention, the diversity and flexibility of the configuration of the hierarchical data center system is improved, and the resources of each data center constituting the hierarchical data center system Depending on usage, user requests are handled by data centers that are as close to the user as possible and resources are idle, which balances the load in the tiered data center system and improves the response speed of user requests, thereby The service efficiency of the data center system can be improved.

上述した負荷均衡装置においては、さらに前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する上層データセンターとの間のリンク状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なってもよい。   In the load balancing apparatus described above, based on a link state between the current data center and the upper data center connected to the lower data center and the current data center and located in the upper layer of the current data center, Allocation may be performed for load traffic currently transmitted to the data center.

上述した負荷均衡方法においては、前記判定ステップにおいて、さらに、前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する上層データセンターとの間のリンク状態を判定してもよい。   In the load balancing method described above, in the determination step, a link between the current data center and the upper data center connected to the lower data center and the current data center and located on the upper layer of the current data center is further provided. The state may be determined.

これにより、アイドル状態にあるリンクによりデータを転送し、転送されたサービスのネットワークリンクに対する圧力を緩和し、階層化データセンターシステムのサービス効率をさらに向上することができる。   As a result, data can be transferred via a link in an idle state, the pressure on the network link of the transferred service can be relieved, and the service efficiency of the hierarchical data center system can be further improved.

上述した負荷均衡装置においては、さらに、負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なってもよい。   In the above-described load balancing device, the load traffic transmitted to the current data center may be assigned based on the protocol type of the packet constituting the load traffic.

前記負荷均衡方法においては、前記判定ステップにおいて、さらに、負荷トラフィックを構成するパケットのプロトコル種別を判定してもよい。   In the load balancing method, in the determination step, a protocol type of a packet constituting the load traffic may be further determined.

これにより、サービスの品質をより確実に保証し、転送されたサービスのネットワークリンクに対する圧力を減少し、ネットワーク輻輳によって転送サービスに及ぼすより大きな応答遅延を防止し、これにより階層化データセンターシステムのサービス効率をさらに向上することができる。   This ensures service quality more reliably, reduces the pressure on the network link of the forwarded service, prevents greater response delays on the forwarded service due to network congestion, thereby providing services for hierarchical data center systems Efficiency can be further improved.

上述した負荷均衡装置においては、ネットワーク層のヘッダ情報を利用して負荷トラフィックを構成するパケットのプロトコル種別を判定してもよい。   In the load balancing device described above, the protocol type of the packet constituting the load traffic may be determined using the header information of the network layer.

前記負荷均衡装置においては、前記判定ステップにおいて、ネットワーク層のヘッダ情報を利用して負荷トラフィックを構成するパケットのプロトコル種別を判定してもよい。   In the load balancing apparatus, in the determination step, the protocol type of a packet constituting the load traffic may be determined using network layer header information.

これにより、ネットワーク層のヘッダ情報を利用して負荷均衡装置の処理速度を加速することができる。   Thereby, the processing speed of the load balancer can be accelerated using the header information of the network layer.

上述した負荷均衡装置において、前記現在データセンターのリソース使用状態が所定の第一の閾値以下である場合、前記負荷均衡装置は前記現在データセンターに伝送された負荷トラフィックを現在データセンターに割り当ててもよく、前記現在データセンターのリソース使用状態が前記第一の閾値より大きく且つ前記第一の閾値より大きい所定の第二の閾値以下である場合、前記負荷均衡装置は前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する前記上層データセンターとの間のリンク状態、及び/または負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なってもよく、前記現在データセンターのリソース使用状態が所定の第二の閾値より大きい場合、前記負荷均衡装置は前記下層データセンターのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックを前記下層データセンターあるいは前記上層データセンターに割り当ててもよい。   In the load balancing apparatus described above, when the resource usage state of the current data center is equal to or less than a predetermined first threshold, the load balancing apparatus may allocate the load traffic transmitted to the current data center to the current data center. Well, if the resource usage status of the current data center is greater than the first threshold and less than or equal to a predetermined second threshold greater than the first threshold, the load balancer The current data center based on a link state between the data center and the upper data center connected to the current data center and located in the upper layer of the current data center and / or a protocol type of a packet constituting load traffic Allocation for load traffic transmitted to If the resource usage state of the current data center is greater than a predetermined second threshold, the load balancer can determine whether the load transmitted to the current data center is based on the resource usage state of the lower layer data center. Traffic may be assigned to the lower layer data center or the upper layer data center.

上述した負荷均衡装置において、前記判定ステップにおいて前記現在データセンターのリソース使用状態が所定の第一の閾値以下であると判定した場合、前記割り当てステップは前記現在データセンターに伝送された負荷トラフィックを現在データセンターに割り当ててもよく、前記判定ステップにおいて前記現在データセンターのリソース使用状態が前記第一の閾値より大きく且つ前記第一の閾値より大きい所定の第二の閾値以下であると判定した場合、前記割り当てステップは前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する前記上層データセンターとの間のリンク状態、及び/または負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なってもよく、前記判定ステップにおいて前記現在データセンターのリソース使用状態が所定の第二の閾値より大きいと判定した場合、前記割り当てステップは前記下層データセンターのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックを前記下層データセンターあるいは前記上層データセンターに割り当ててもよい。   In the load balancing device described above, when it is determined in the determination step that the resource usage state of the current data center is equal to or less than a predetermined first threshold, the allocation step determines whether the load traffic transmitted to the current data center is currently If it is determined in the determination step that the resource usage state of the current data center is less than a predetermined second threshold greater than the first threshold and greater than the first threshold, The allocating step constitutes a link state and / or load traffic between the current data center and the lower data center and the upper data center connected to the current data center and located on the upper layer of the current data center. Based on packet protocol type The load traffic transmitted to the current data center may be allocated. If it is determined in the determination step that the resource usage state of the current data center is greater than a predetermined second threshold, the allocation The step may allocate the load traffic transmitted to the current data center to the lower data center or the upper data center based on the resource usage state of the lower data center.

これにより、複数の閾値を使用してデータセンターの性能を量子化することで、データセンターの性能にもっと適合するように負荷トラフィックの割り当てを最適化することができ、これにより負荷トラフィックをさらに柔軟且つ適切に割り当て、階層化データセンターシステムのサービス効率をさらに向上することができる。   This allows you to optimize load traffic allocation to better match data center performance by using multiple thresholds to quantize data center performance, which makes load traffic more flexible In addition, the service efficiency of the hierarchical data center system can be further improved by appropriately allocating.

上述した負荷均衡装置において、少なくとも負荷トラフィックと状態メッセージを含むパケットを送受信する通信インターフェースと、前記パケットの少なくとも送信元アドレスと宛先アドレスを含むヘッダ情報を変更する転送ユニットと、前記現在データセンターのリソース使用状態と前記状態メッセージにより取得した前記下層データセンターのリソース使用状態とを記憶した記憶装置と、前記記憶装置に記憶されているリソース使用状態と前記通信インターファースによって受信したパケットのヘッダ情報とに基づいて、前記転送ユニットの負荷トラフィックを構成するパケットに対する割り当てを制御する処理ユニットと、を備えてもよい。   In the load balancing apparatus described above, a communication interface that transmits and receives a packet including at least load traffic and a status message, a transfer unit that changes header information including at least a source address and a destination address of the packet, and resources of the current data center A storage device storing a use state and a resource use state of the lower layer data center acquired by the state message, a resource use state stored in the storage device, and header information of a packet received by the communication interface And a processing unit for controlling allocation of packets constituting the load traffic of the transfer unit.

これにより、簡単な構成で本発明の負荷均衡装置を実現することができる。   Thereby, the load balancing device of the present invention can be realized with a simple configuration.

本発明に係わる負荷均衡装置、負荷均衡方法及び階層化データセンターシステムによると、新たに到着したサービス要求を区別し、現在サイト状態とネットワーク状態に基づいて、異なるプロトコル種別のサービスに対して異なる割り当てメカニズムを採用し、ユーザに近いサイトにはもっと多くのネットワークリソースの占用を必要とするサービス要求に応答させ、ユーザから離れたサイトにはネットワークリソースの占用が少ないサービス要求に応答させ、階層化システムの異なるサイト間の通信のネットワークリソースに対する需要を減少した。また、本発明において新たに到着したサービスの情報の区別には主にネットワーク層のヘッダ情報を使用するため、負荷均衡装置の処理速度がルータの線速度に達する可能性がある。従って、例えば、災害による大量のセンサー報告メッセージ、あるいはセンサーノードのスリープ機能のエラーによる大量の報告メッセージ、あるいはユーザのホットスポットコンテンツに対する同時大量クリック、ひいてはネットワークからの悪意の攻撃などのような、区域性突発的大量負荷が発生した場合、本発明の技術案を採用することで、一部の負荷を速やかに他の区域のデータセンターに配信して処理し、これにより当該区域のシステムの超負荷の状況を改善することができる。最後に、システムの階層化構成は末端サイトをユーザ側に近付けて、正常状態時の大部分のサービスをローカル末端サイトに残して処理し、これにより、ローカルサービスの応答速度が向上し、上層データセンターの負荷均衡装置に対する性能要求が低減される。   According to the load balancing apparatus, load balancing method, and hierarchical data center system according to the present invention, a newly arrived service request is distinguished, and different assignments are made to services of different protocol types based on the current site state and network state. Adopting a mechanism, a site close to the user responds to a service request that requires more network resources, and a site far from the user responds to a service request that requires less network resources. Reduced demand for network resources for communication between different sites. Further, in the present invention, network layer header information is mainly used to distinguish newly arrived service information, so the processing speed of the load balancer may reach the router linear speed. Thus, areas such as a large number of sensor report messages due to disaster, or a large number of report messages due to errors in the sensor node's sleep function, or simultaneous large clicks on the user's hotspot content, and thus malicious attacks from the network, etc. In the event of sudden and sudden heavy loads, the technical solution of the present invention is used to quickly distribute and process some loads to data centers in other areas, thereby overloading the system in those areas. The situation can be improved. Finally, the layered configuration of the system moves the end site closer to the user side and processes most of the services in the normal state leaving the local end site, thereby improving the response speed of the local service and improving the upper layer data. Performance requirements for the center load balancer are reduced.

第一の実施形態に係わる階層化データセンターシステムの構成図である。It is a block diagram of the hierarchical data center system concerning 1st embodiment. 第一の実施形態に係わる負荷均衡装置の一つの具体的な実施例のモジュール図である。It is a module figure of one specific Example of the load balancing apparatus concerning 1st embodiment. 状態メッセージのメッセージフォーマットの一例である。It is an example of the message format of a status message. リソース使用状態の一例である。It is an example of a resource use state. 負荷割り当てマッピング情報の一例である。It is an example of load allocation mapping information. 第一の実施形態に係わる負荷均衡方法のフローチャートである。3 is a flowchart of a load balancing method according to the first embodiment. 第一の実施形態に係わる負荷均衡方法の一つの具体的な実施例のフローチャートである。It is a flowchart of one specific Example of the load balancing method concerning 1st embodiment. リンク状態の一例である。It is an example of a link state. 閾値情報の一例ある。There is an example of threshold information. 第四の実施形態に係わる負荷均衡方法の一つの具体的な実施例のフローチャートである。It is a flowchart of one specific Example of the load balancing method concerning 4th embodiment. データ割り当て処理の一例の時系列図である。It is a time series figure of an example of data allocation processing. データ割り当て処理の一例の時系列図である。It is a time series figure of an example of data allocation processing. データ割り当て処理の一例の時系列図である。It is a time series figure of an example of data allocation processing. データ割り当て処理の一例の時系列図である。It is a time series figure of an example of data allocation processing. データ割り当て処理の一例の時系列図である。It is a time series figure of an example of data allocation processing. データ割り当て処理の一例の時系列図である。It is a time series figure of an example of data allocation processing.

〔1.第一の実施形態〕 [1. First Embodiment]

以下、図面に基づいて本発明の第一の実施形態について詳しく説明する。
<1−1.階層化データセンターシステムの全体構成>
Hereinafter, the first embodiment of the present invention will be described in detail with reference to the drawings.
<1-1. Overall Configuration of Hierarchical Data Center System>

以下、図1に基づいて本実施形態に係わる階層化データセンターシステムの全体構成について具体的に説明する。図1は第一の実施形態に係わる階層化データセンターシステムの構成図である。   The overall configuration of the hierarchical data center system according to this embodiment will be specifically described below with reference to FIG. FIG. 1 is a configuration diagram of a hierarchical data center system according to the first embodiment.

本実施形態において、階層化データセンターシステムは階層化方法によって接続された複数のデータセンター(即ちサイト)から構成されている。そのうち、ここでの接続はデータセンターとの間で通信さえ可能であればよく、有線接続方法や無線接続方法等の様々な通信接続方法を含む。例えば、図1において、階層化データセンターシステムは、データセンター11 101、データセンター21 102、データセンター22 103、データセンター31 104、データセンター32 105、データセンター33 106およびデータセンター34 107の七つのデータセンターから構成されている。これらのデータセンターはツリー型トポロジーによって接続されており、そのうち、ツリー型トポロジーにおいて根部方向(図1においては上方)に位置するサイトは親サイト(上層データセンター)と称し、葉方向(図1においては下方)に位置するサイトは子サイト(下層データセンター)と称し、それぞれのデータセンターは自分の親サイトと子サイトとのみ通信する。例えば、データセンター11 101は子サイトであるデータセンター21 102とデータセンター22 103を有し、データセンター21 102は子サイトであるデータセンター31 104とデータセンター32 105を有し、およびデータセンター22 103は子サイトであるデータセンター33 106とデータセンター34 107を有する。   In the present embodiment, the hierarchical data center system is composed of a plurality of data centers (that is, sites) connected by a hierarchical method. Of these, the connection here only needs to be able to communicate with the data center, and includes various communication connection methods such as a wired connection method and a wireless connection method. For example, in FIG. 1, the hierarchical data center system includes seven data centers 11 101, data center 21 102, data center 22 103, data center 31 104, data center 32 105, data center 33 106, and data center 34 107. It consists of a data center. These data centers are connected by a tree-type topology, of which the site located in the root direction (upward in FIG. 1) is called the parent site (upper data center), and the leaf direction (in FIG. 1) Sites located below) are called child sites (lower data centers), and each data center communicates only with its parent site and child sites. For example, data center 11 101 has child site data center 21 102 and data center 22 103, data center 21 102 has child sites data center 31 104 and data center 32 105, and data center 22. Reference numeral 103 denotes a data center 33 106 and a data center 34 107 which are child sites.

本実施形態に係わる階層化データセンターシステムにおいて、データセンターは異なる物理位置に分布し、それぞれ自分に属するローカルユーザと接続する。例えば、図1において、データセンター31 104は、センサーノード108から構成されたセンサーグループ1 109およびユーザ端末110から構成されたユーザグループ1 111と接続する。同時に、データセンター31 104はさらにその他のローカルユーザと接続することができ、図の中のその他の六つのサイトも様々なユーザあるいはユーザグループと接続することができる(図示せず)。
<1−2.データセンター>
In the hierarchical data center system according to the present embodiment, the data centers are distributed at different physical locations and are connected to local users belonging to the data centers. For example, in FIG. 1, the data center 31 104 is connected to a sensor group 1 109 composed of sensor nodes 108 and a user group 1 111 composed of user terminals 110. At the same time, the data center 31 104 can further connect with other local users, and the other six sites in the figure can also connect with various users or user groups (not shown).
<1-2. Data Center>

以下、引き続き図1を参照して本実施形態に係わるデータセンターについて詳しく説明する。   Hereinafter, the data center according to this embodiment will be described in detail with reference to FIG.

本実施形態において、データセンターはローカルユーザと接続し、当該ローカルユーザとの間で負荷トラフィックなどを伝送することができる。また、データセンターはさらにその他のデータセンターと接続し、その他のデータセンターとの間で負荷トラフィックと状態メッセージなどを伝送することができる。データセンターは負荷均衡装置(均衡装置)、データセンターイントラネットおよびサーバグループ(ローカルサーバグループ)を備える。そのうち、負荷均衡装置は本データセンターに伝送された負荷トラフィックに対して割り当て行なう。具体的には、例えば負荷トラフィックの割り当ては本データセンターによって処理し、あるいは負荷トラフィックを本データセンターに接続された上層データセンターもしくは下層データセンターに転送し、データセンターイントラネットは負荷均衡装置によって割り当てられた負荷トラフィックを本データセンターのサービスグループに伝送し、サーブグループはデータセンターイントラネットを経由して伝送された負荷トラフィックを処理する。   In this embodiment, the data center can connect with a local user and transmit load traffic and the like with the local user. Further, the data center can be further connected to other data centers, and load traffic and status messages can be transmitted to and from other data centers. The data center includes a load balancer (balancer), a data center intranet, and a server group (local server group). Among them, the load balancer assigns load traffic transmitted to the data center. Specifically, for example, load traffic allocation is handled by the data center, or load traffic is transferred to an upper data center or a lower data center connected to the data center, and the data center intranet is allocated by a load balancer. The load traffic is transmitted to the service group of the data center, and the serve group processes the load traffic transmitted via the data center intranet.

例えば、図1において、データセンター31 104は、例えばセンサーが収集したデータを記憶する記憶サービスをセンサーグループ1 109に提供し、インターネットアクセス、ビデオオンデマンドおよびメールなどのようなサービスをユーザグループ1 111に提供する。これらのサービスが集まって負荷トラフィック112となり、センサーグループ1 109およびユーザグループ1 111からデータセンター31 104に上り伝送されたり、または逆にデータセンター31 104からセンサーグループ1 109およびユーザグループ1 111に下り伝送されたりする。データセンター31 104は均衡装置31 113を通じて負荷トラフィック112に対して割り当てを行ない、一部またはすべての負荷トラフィックをデータセンターイントラネット31 114を介して本データセンター(サイト)に属するサーバグループ31 115に配信し、その他のデータセンター(サイト)によって処理する必要のある負荷トラフィックを接続されている上層データセンター(親サイト、図1においてはデータセンター21 102)もしくは下層データセンター(子サイト)に転送する。残りのデータセンターはデータセンター31 104と似ている構成を有し、分りやすくするために、図においては一部のデータセンターの関連負荷均衡装置、即ち均衡装置11 116、均衡装置21 117、均衡装置22 118および均衡装置32 119のみを示した。また、同一の階層化データセンターシステムに属するそれぞれのデータセンターは状態メッセージ120を親サイトおよび子サイトと交換することで相手に自分のサイト状態を伝えることができる。状態メッセージ120については、後で詳しく説明する。
<1−3.負荷均衡装置>
For example, in FIG. 1, data center 31 104 provides sensor group 1 109 with a storage service that stores data collected by sensors, for example, and provides services such as Internet access, video on demand, and email to user group 1 111. To provide. These services are gathered to become load traffic 112, which is transmitted upstream from sensor group 1 109 and user group 1 111 to data center 31 104, or conversely, from data center 31 104 to sensor group 1 109 and user group 1 111. Or transmitted. The data center 31 104 allocates to the load traffic 112 through the balancing device 31 113 and distributes some or all of the load traffic to the server group 31 115 belonging to the data center (site) via the data center intranet 31 114. Then, load traffic that needs to be processed by other data centers (sites) is transferred to the connected upper layer data center (parent site, data center 21 102 in FIG. 1) or lower layer data center (child site). The remaining data centers have a configuration similar to data center 31 104, and for the sake of clarity, the associated load balancer of some data centers, namely balancer 11 116, balancer 21 117, balance, is shown in the figure. Only device 22 118 and balance device 32 119 are shown. In addition, each data center belonging to the same hierarchical data center system can communicate its own site status to the other party by exchanging the status message 120 with the parent site and the child site. The status message 120 will be described in detail later.
<1-3. Load balancing device>

以下、本実施形態に係わる負荷均衡装置について詳しく説明する。
<1−3−1.負荷均衡装置の構成>
Hereinafter, the load balancing apparatus according to the present embodiment will be described in detail.
<1-3-1. Configuration of load balancer>

本実施形態において、負荷均衡装置は階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、複数のデータセンターの中の当該負荷均衡装置に対応する現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   In this embodiment, the load balancer is used in a hierarchical data center system configured by connecting a plurality of data centers by a layering method, and the current data center corresponding to the load balancer in the plurality of data centers. Allocation is performed for load traffic transmitted to.

そのうち、負荷均衡装置は現在データセンターおよび現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターのリソース使用状態に基づいて、現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   Among them, the load balancer allocates the load traffic transmitted to the current data center based on the resource usage status of the current data center and the lower data center connected to the current data center and located in the lower layer of the current data center. Do.

具体的に言うと、例えば、現在データセンターのリソース使用状態がアイドル状態である場合、負荷均衡装置は負荷トラフィックを現在データセンターに割り当て、現在データセンターのリソース使用状態がアイドル状態でない場合、且つ下層データセンターのリソース使用状態がアイドル状態である場合、負荷均衡装置は負荷トラフィックを下層データセンターに割り当て、現在データセンターのリソース使用状態がアイドル状態でない場合、且つ下層データセンターのリソース使用状態がアイドル状態でない場合、負荷均衡装置は負荷トラフィックを現在データセンターに接続され且つ現在データセンターの上層に位置する上層データセンターに割り当てる。
<1−3−2.負荷均衡装置の一つの具体的な実施例>
Specifically, for example, if the current data center resource usage is idle, the load balancer assigns load traffic to the current data center, and if the current data center resource usage is not idle, and the lower layer If the data center resource usage is idle, the load balancer allocates load traffic to the lower data center, and the current data center resource usage is not idle, and the lower data center resource usage is idle. Otherwise, the load balancer allocates load traffic to the upper data center that is connected to the current data center and is located above the current data center.
<1-3-2. One Specific Example of Load Balancing Device>

以下、図2〜5を参照して本実施形態に係わる負荷均衡装置の一つの具体的な実施例について説明する。   Hereinafter, one specific example of the load balancing apparatus according to the present embodiment will be described with reference to FIGS.

図2は第一の実施形態に係わる負荷均衡装置の一つの具体的な実施例のモジュール図である。図2に示すように、本具体的な実施例に係わる負荷均衡装置21 117は通信インターフェース201、転送ユニット202、処理ユニット203および記憶装置204を含む。その他の負荷均衡装置ついても同じような構造を採用することができる。
<1−3−2−1.通信インターフェース>
FIG. 2 is a module diagram of one specific example of the load balancing apparatus according to the first embodiment. As shown in FIG. 2, the load balancing device 21 117 according to this specific embodiment includes a communication interface 201, a transfer unit 202, a processing unit 203, and a storage device 204. A similar structure can be adopted for other load balancing devices.
<1-3-2-1. Communication interface>

通信インターフェース201は少なくとも負荷トラフィックと状態メッセージ120を含むパケットを送受信する。通信インターフェース201は、例えば、有線または無線方式のデータ通信インターフェースなどでよい。   The communication interface 201 transmits and receives a packet including at least load traffic and a status message 120. The communication interface 201 may be, for example, a wired or wireless data communication interface.

図3は状態メッセージのメッセージフォーマットの一例であり、具体的に、図3は通信インターフェースによって送信された現在データセンターがリソース使用状態を上層データセンターに報告する状態メッセージ120のメッセージフォーマットの一例である。図3に示すように、状態メッセージ120には、現在データセンター(例えば現在データセンターを示すシリアルナンバー)を識別するサイトID、現在データセンターの対外に使用する唯一の公衆ネットワークIPアドレスを示すホストのバーチャルIP、現在データセンターのリソース使用状態を示すリソース状態、および現在データセンターの提供可能なサービス種別を示すサービスリストが含まれている。   FIG. 3 shows an example of the message format of the status message. Specifically, FIG. 3 shows an example of the message format of the status message 120 sent by the communication interface and reporting the resource usage status to the upper data center. . As shown in FIG. 3, the status message 120 includes a site ID identifying the current data center (eg, a serial number indicating the current data center), and a host's IP address indicating the only public network IP address used outside the current data center. A virtual IP, a resource state indicating a current data center resource use state, and a service list indicating a service type that can be provided by the current data center are included.

そのうち、状態メッセージ120の中のリソース状態はさらに現在データセンターのローカルサーバの平均CPUアイドル率を示すCPUアイドルパーセンテージ、現在データセンターのローカルサーバの平均記憶装置アイドル率を示す記憶装置アイドルパーセンテージ、および現在データセンターのローカルサーバの平均要求処理速度を示す要求処理速度を含むことができる。
<1−3−2−2.転送ユニット>
Of these, the resource state in the status message 120 further includes a CPU idle percentage indicating the average CPU idle rate of the local server of the current data center, a storage idle percentage indicating the average storage idle rate of the local server of the current data center, and the current A request processing rate indicating an average request processing rate of a local server in the data center may be included.
<1-3-2-2. Transfer unit>

転送ユニット202はパケットの少なくとも送信元アドレスと宛先アドレスを含むヘッダ情報を変更する。例えば、転送ユニット202は記憶装置204に記憶されている負荷割り当てマッピング情報(後で具体的に説明する)に基づいてパケットのヘッダ情報を変更して、パケットを転送する。転送ユニット202は、例えば、専用または汎用のプロセッサ或いは集積回路などのようなものである。
<1−3−2−3.記憶装置>
The transfer unit 202 changes the header information including at least the source address and the destination address of the packet. For example, the transfer unit 202 transfers the packet by changing the header information of the packet based on the load allocation mapping information (which will be described in detail later) stored in the storage device 204. The transfer unit 202 is, for example, a dedicated or general-purpose processor or an integrated circuit.
<1-3-2-2-3. Storage device>

記憶装置204には現在データセンターのリソース使用状態、および状態メッセージ120によって取得した下層データセンターのリソース使用状態が記憶されている。記憶装置204はRAMまたはHDDなどのような読み書き可能な記憶装置である。   The storage device 204 stores the resource usage status of the current data center and the resource usage status of the lower data center acquired by the status message 120. The storage device 204 is a readable / writable storage device such as a RAM or an HDD.

図4はリソース使用状態の一例であり、具体的に、図4は記憶装置204によって記憶されている現在データセンターと下層データセンターのリソース使用状態を示すサイト容量テーブルの一例である。図4に示すように、サイト容量テーブルにはインデックス、現在データセンターもしくは下層データセンター(例えば、現在データセンターもしくは下層データセンターを示すシリアルナンバー)を識別するサイトID、現在データセンターもしくは下層データセンターの対外に使用する公衆ネットワークIPアドレスを示すホストのバーチャルIP、現在データセンターもしくは下層データセンターのローカルサーバの平均CPUアイドル率を示すCPUアイドルパーセンテージ、現在データセンターもしくは下層データセンターのローカルサーバの平均記憶装置アイドル率を示す記憶装置アイドルパーセンテージ、現在データセンターもしくは下層データセンターのローカルサーバの平均要求処理速度を示す要求処理速度、現在データセンターもしくは下層データセンターのサイト総合負荷を示す総合負荷、および現在データセンターもしくは下層データセンターの提供可能なサービス種別を示すサービスリストが含まれている。   FIG. 4 is an example of a resource usage state. Specifically, FIG. 4 is an example of a site capacity table showing the resource usage state of the current data center and the lower data center stored in the storage device 204. As shown in FIG. 4, the site capacity table includes an index, a site ID for identifying the current data center or lower layer data center (for example, a serial number indicating the current data center or lower layer data center), the current data center or lower layer data center. Virtual IP of host indicating public network IP address to be used outside, CPU idle percentage indicating average CPU idle rate of local server of current data center or lower layer data center, average storage device of local server of current data center or lower layer data center Storage idle percentage indicating the idle rate, request processing speed indicating the average request processing speed of the local server in the current data center or lower data center, current data set Total load indicating the site total load terpolymers or lower data center, and the service list indicating services that can be provided by the type of the current data center or lower data centers are included.

そのうち、データセンターの総合負荷は、例えば、当該データセンターのローカルサーバのCPU使用率と記憶装置使用率の下式1で示す算術平均値でよい。   Among them, the total load of the data center may be, for example, an arithmetic average value represented by the following formula 1 of the CPU usage rate and the storage device usage rate of the local server of the data center.

総合負荷=AVG(CPU使用率、記憶装置使用率)
=1−AVG(CPUアイドルパーセンテージ、記憶装置アイドルパーセンテージ)
(式において、AVG(x、y)はxとyの算術平均値を取ることを示し、CPU使用率=1−CPUアイドルパーセンテージで、記憶装置使用率=1−記憶装置アイドルパーセンテージである。)
Total load = AVG (CPU usage rate, storage device usage rate)
= 1-AVG (CPU idle percentage, storage idle percentage)
(In the equation, AVG (x, y) indicates that an arithmetic average value of x and y is taken, CPU usage rate = 1-CPU idle percentage, and storage device usage rate = 1-storage device idle percentage.)

図5は負荷割り当てマッピングテーブルの一例であり、具体的に、図5は記憶装置204に記憶されている現在データセンターが受理しているサービスの負荷割り当てマッピングテーブルである。当該負荷割り当てマッピングテーブルにはインデックス、ユーザグループに位置するユーザ端末もしくはセンターグループに位置するセンサーノードもしくはそれらのエージェントのIPアドレスを示すクライアント端末IP、現在データセンターのローカルサーバグループに位置するサーバのイントラネットIPアドレスもしくは転送宛先データセンターのホストのバーチャルIPアドレスを示すサーバ端末IP、転送宛先IPアドレスを示す次ホップIP、転送宛先に到着するパスの次ホップのデータリンク層アドレスを示す次ホップ物理アドレス、パケットが現在データセンターに到着する際の伝送層ポート番号を示す入口ポート、パケットが転送する際の伝送層ポート番号を示す出口ポート、およびパケットの伝送層プロトコル種別を示すプロトコル種別が含まれている。そのうち、伝送層ポート番号はTCPポート番号もしくはUDPポート番号であってよく、プロトコル種別はTCPもしくはUDPであってよい。
<1−3−2−4.処理ユニット>
FIG. 5 is an example of a load allocation mapping table. Specifically, FIG. 5 is a load allocation mapping table of services currently stored in the storage device 204 and accepted by the data center. The load allocation mapping table includes an index, a client terminal IP indicating the IP address of a user terminal located in a user group or a sensor node located in a center group or an agent thereof, and an intranet of a server located in a local server group in a current data center. Server terminal IP indicating the IP address or virtual IP address of the host of the transfer destination data center, next hop IP indicating the transfer destination IP address, next hop physical address indicating the data link layer address of the next hop of the path arriving at the transfer destination, Ingress port indicating the transmission layer port number when the packet currently arrives at the data center, egress port indicating the transmission layer port number when the packet is transferred, and the transmission layer protocol type of the packet Contains the protocol type indicated. Among them, the transmission layer port number may be a TCP port number or a UDP port number, and the protocol type may be TCP or UDP.
<1-3-2-2-4. Processing unit>

処理ユニット203は記憶装置204によって記憶されているリソース使用状態および通信インターフェースによって受信したパケットのヘッダ情報に基づいて、転送ユニット202の負荷トラフィックを構成するパケットに対する割り当てを制御する。処理ユニット203は、例えば、CPUもしくはMPUなどのような汎用プロセッサもしくは専用集積回路などである。   The processing unit 203 controls the allocation of the packet constituting the load traffic of the transfer unit 202 based on the resource usage state stored in the storage device 204 and the header information of the packet received by the communication interface. The processing unit 203 is, for example, a general-purpose processor such as a CPU or MPU or a dedicated integrated circuit.

具体的に、例えば、処理ユニット203は記憶装置204によって記憶されている総合負荷(図4を参照)を読み込むことが可能であり、現在データセンターの総合負荷が所定の閾値A以下である場合は、転送ユニット202が負荷トラフィックを構成するパケットを現在データセンターのローカルサーバへ転送するように制御し、現在データセンターの総合負荷が前記所定閾値Aより大きく、且つ下層データセンターの総合負荷が所定の閾値B以下である場合は、転送ユニット202が負荷トラフィックを構成するパケットを下層データセンターへ転送するように制御し、現在データセンターの総合負荷が前記所定の閾値Aより大きく、且つ下層データセンターの総合負荷が所定の閾値Bより大きい場合は、転送ユニット202が負荷トラフィックを構成するパケットを上層データセンターへ転送するように制御する。そのうち、閾値Aと閾値Bは同じ値でもよく、異なる値でもよい。
<1−4.負荷均衡方法>
Specifically, for example, the processing unit 203 can read the total load (see FIG. 4) stored in the storage device 204, and the total load of the current data center is equal to or less than a predetermined threshold A. The transfer unit 202 controls to transfer the packet constituting the load traffic to the local server of the current data center, the total load of the current data center is greater than the predetermined threshold A, and the total load of the lower data center is predetermined When the threshold value B is equal to or less than the threshold value B, the transfer unit 202 controls to transfer the packet constituting the load traffic to the lower layer data center, and the total load of the current data center is larger than the predetermined threshold value A and If the total load is greater than the predetermined threshold B, the transfer unit 202 The packets constituting the Ikku control to transfer to the upper layer data center. Among them, the threshold A and the threshold B may be the same value or different values.
<1-4. Load balancing method>

以下、図6を参照して本実施形態に係わる負荷均衡方法について具体的に説明する。
<1−4−1.負荷均衡方法のプロセス>
Hereinafter, the load balancing method according to the present embodiment will be described in detail with reference to FIG.
<1-4-1. Process of load balancing method>

図6は第一の実施形態に係わる負荷均衡方法のフローチャートである。図6に示すように、本実施形態に係わる負荷均衡方法は階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、前記複数のデータセンターの中の現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう負荷均衡方法であって、前記現在データセンターのリソース使用状態および前記現在データセンターに接続され且つ前記現在データセンターの下層に位置する下層データセンターのリソース使用状態に対して判定を行なう判定ステップS1と、前記判定ステップS1の判定結果に基づいて、現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう割り当てステップS2と、を含む。
<1−4−2.負荷均衡方法の一つの具体的な実施>
FIG. 6 is a flowchart of the load balancing method according to the first embodiment. As shown in FIG. 6, the load balancing method according to the present embodiment is used in a hierarchical data center system configured by connecting a plurality of data centers by a hierarchical method, and present data in the plurality of data centers. A load balancing method for allocating load traffic transmitted to a center, the resource usage state of the current data center and a lower level data center connected to the current data center and located below the current data center A determination step S1 for determining the resource usage state, and an allocation step S2 for allocating load traffic currently transmitted to the data center based on the determination result of the determination step S1.
<1-4-2. One specific implementation of load balancing method>

以下、図7を参照して本実施形態に係わる負荷均衡方法の一つの具体的な実施例について説明する。図7は第一の実施形態に係わる負荷均衡方法の一つの具体的な実施例のフローチャートである。図において、本具体的な実施例に係わる負荷均衡方法は、負荷均衡装置の上述の具体的な実施例によって実現することができ、負荷均衡装置の上述の具体的な実施例を参照する。   Hereinafter, one specific example of the load balancing method according to the present embodiment will be described with reference to FIG. FIG. 7 is a flowchart of one specific example of the load balancing method according to the first embodiment. In the figure, the load balancing method according to this specific embodiment can be realized by the above-described specific embodiment of the load balancing device, and refers to the above-mentioned specific embodiment of the load balancing device.

最初に、負荷均衡装置の通信インターフェース201は負荷トラフィックを構成するパケットを受信し、このパケットを処理ユニット203に送信する(ステップS901)。   First, the communication interface 201 of the load balancer receives a packet constituting the load traffic and transmits this packet to the processing unit 203 (step S901).

次に、処理ユニット203は記憶装置204に記憶されている負荷割り当てマッピングテーブルをチェックする(ステップS902)。   Next, the processing unit 203 checks the load allocation mapping table stored in the storage device 204 (step S902).

続いて、処理ユニット203はクライアント端末IPアドレスもしくはサーバ端末IPアドレスとパケットの送信元アドレスが同じである記録が存在するかどうかを判定する(ステップS903)。   Subsequently, the processing unit 203 determines whether there is a record in which the client terminal IP address or the server terminal IP address and the packet source address are the same (step S903).

ステップS903の判定結果がYESである場合は、転送ユニット202と通信インターフェース201を介してマッチング記録に従ってヘッダ処理とパケット転送を行なう(ステップS904)。   If the determination result in step S903 is YES, header processing and packet transfer are performed according to the matching record via the transfer unit 202 and the communication interface 201 (step S904).

逆に、ステップS903の判定結果がNOである場合は、さらにパケットの方向をチェックし、上りパケットであるかどうかを判定する(ステップS905)。   Conversely, if the determination result in step S903 is NO, the packet direction is further checked to determine whether it is an uplink packet (step S905).

ステップS905の判定結果がNOである場合は、当該パケットがサーバからの下りパケットであり、ユーザ側からの要求ではないことを意味し、直接放棄することができる(ステップS906)。   If the determination result in step S905 is NO, it means that the packet is a downstream packet from the server and not a request from the user side, and can be abandoned directly (step S906).

逆に、ステップS905の判定結果がYESである場合、これは新しいユーザからの要求であることを意味し、現在データセンターのローカルサーバに配信するかまたはその他のデータセンターに転送する必要がある。従って、処理ユニット203は現在データセンターの現在リソース使用状態、例えばCPUアイドルパーセンテージ、記憶装置アイドルパーセンテージ、要求処理速度などの情報をチェックし、上述の情報の中の一項または複数項を一つまたは複数の予め定義された閾値と比較して現在データセンターがアイドル状態であるかどうかを判定する。具体的な判定方法としては、例えば処理ユニット203は記憶装置204に記憶されているサイト容量テーブルをチェックし、上述のように現在データセンターのローカルサーバの総合負荷を所定の閾値と比較する方法を採用することができる(ステップS907)。   Conversely, if the determination result in step S905 is YES, this means that the request is from a new user, and it is necessary to distribute it to the local server of the current data center or transfer it to another data center. Accordingly, the processing unit 203 checks information such as the current resource usage status of the current data center, for example, CPU idle percentage, storage device idle percentage, requested processing speed, etc. A comparison is made with a plurality of predefined thresholds to determine if the data center is currently idle. As a specific determination method, for example, the processing unit 203 checks the site capacity table stored in the storage device 204 and compares the total load of the local server of the current data center with a predetermined threshold as described above. It can be adopted (step S907).

ステップS907の判定結果がYESである場合は、現在データセンターがアイドル状態であり、当該要求を処理してもよいことを意味し、処理ユニット203は転送ユニット202を介して当該パケットをローカルサーバに送信する。複数のローカルサーバが存在する場合は、例えばアイドル状態のリソースが最も多いサーバを選択することでローカルサーバを選択することができる(ステップS908)。   If the determination result in step S907 is YES, it means that the data center is currently idle and the request may be processed, and the processing unit 203 sends the packet to the local server via the transfer unit 202. Send. When there are a plurality of local servers, for example, the local server can be selected by selecting a server having the largest number of idle resources (step S908).

その後、処理ユニット203は当該要求に含まれているクライアント端末とサーバ端末のIPアドレス、次ホップのアドレスとポート情報などを書き込むことにより負荷割り当てマッピングテーブルを更新する(ステップS909)。   Thereafter, the processing unit 203 updates the load allocation mapping table by writing the IP addresses of the client terminal and the server terminal, the next hop address and port information, etc. included in the request (step S909).

ステップS907の判定結果がNOである場合は、現在データセンターがビジー状態であることを意味し、処理ユニット203は現在データセンターの上層データセンターと下層データセンターの中から一つのデータセンターを選択して転送する必要がある。転送される宛先データセンターを決定するために、処理ユニット203は記憶装置204に記憶されているサイト容量テーブル、例えばCPUアイドルパーセンテージ、記憶装置アイドルパーセンテージ、要求処理速度などの情報をチェックし、上述の情報の中の一項または複数項を一つまたは複数の予め定義された閾値と比較してアイドル状態の下層データセンターがあるかどうかを判定する必要がある。具体的な判定方法としては、例えば、上述のように下層データセンターのローカルサーバの総合負荷を所定の閾値と比較する方法を採用することができる(ステップS910)。   If the determination result in step S907 is NO, it means that the current data center is busy, and the processing unit 203 selects one data center from the upper data center and the lower data center of the current data center. Need to be transferred. In order to determine the destination data center to be transferred, the processing unit 203 checks the site capacity table stored in the storage device 204, for example information such as CPU idle percentage, storage idle percentage, requested processing speed, etc. One or more terms in the information need to be compared with one or more predefined thresholds to determine if there is an idle lower level data center. As a specific determination method, for example, a method of comparing the total load of the local server in the lower layer data center with a predetermined threshold as described above can be employed (step S910).

ステップS910の判定結果がNOである場合は、現在データセンターにアイドル状態にある下層データセンターがなく、現在データセンターがビジー状態であることを意味するため、処理ユニット203は要求を上層データセンターに転送することを選択する(ステップS911)。   If the determination result in step S910 is NO, this means that there is no lower data center that is currently idle in the data center, and the current data center is busy, so the processing unit 203 sends a request to the upper data center. Transfer is selected (step S911).

ステップS910の判定結果がYESである場合、処理ユニット203は転送ユニット202を介して当該パケットを下層データセンターに送信する。複数の下層データセンターが存在する場合は、例えばアイドル状態のリソースが最も多い下層データセンターを選択することで一つの下層データセンターを選択することができる(ステップS912)。   When the determination result of step S910 is YES, the processing unit 203 transmits the packet to the lower layer data center via the transfer unit 202. When there are a plurality of lower layer data centers, for example, one lower layer data center can be selected by selecting a lower layer data center having the largest number of idle resources (step S912).

同様に、ステップS911とS912の後に、処理ユニット203は負荷割り当てマッピングテーブルを更新する必要がある(ステップS909)。   Similarly, after steps S911 and S912, the processing unit 203 needs to update the load allocation mapping table (step S909).

そのうち、図7に示す負荷均衡方法の具体的な例において、ステップS901では負荷トラフィックを受信し、ステップS902、S903、S905では受信した負荷トラフィックが新しい要求であるかどうかを判定し、ステップS907、S910は図6に示す負荷均衡方法における判定ステップS1に相当し、ステップS908、S911、S912は図6に示す負荷均衡方法における割り当てステップS2に相当する。
<1−5.第一の実施形態の効果>
Among them, in the specific example of the load balancing method shown in FIG. 7, in step S901, load traffic is received, and in steps S902, S903, and S905, it is determined whether the received load traffic is a new request, step S907, S910 corresponds to determination step S1 in the load balancing method shown in FIG. 6, and steps S908, S911, and S912 correspond to allocation step S2 in the load balancing method shown in FIG.
<1-5. Effect of First Embodiment>

本実施形態に係わる負荷均衡装置、負荷均衡方法および階層化データセンターシステムによると、階層化データセンターシステムの構成の多様性と柔軟性を向上し、階層化データセンターシステムを構成するそれぞれのデータセンターのリソース使用状態に応じて、できるだけユーザに近くて且つリソースがアイドル状態にあるデータセンターによってユーザの要求を処理し、階層化データセンターシステムにおける負荷をさらに均衡にし、ユーザ要求の応答速度を向上し、これにより階層化データセンターシステムのサービス効率を向上することができる。
〔2.第二の実施形態〕
According to the load balancing device, the load balancing method, and the hierarchical data center system according to the present embodiment, the diversity and flexibility of the configuration of the hierarchical data center system is improved, and each data center constituting the hierarchical data center system is improved. Depending on the resource usage status, the user requests are handled by a data center that is as close to the user as possible and the resources are idle, further balancing the load in the hierarchical data center system and improving the response speed of user requests. As a result, the service efficiency of the hierarchical data center system can be improved.
[2. Second Embodiment]

以下、図面に基づいて本発明の第二の実施形態について具体的に説明する。
<2−1.第二の実施形態の特徴>
Hereinafter, a second embodiment of the present invention will be specifically described with reference to the drawings.
<2-1. Features of Second Embodiment>

本実施形態は第一の実施形態の基で、データセンターのリソース使用状態のみならず、またデータセンターの間のリンク状態に基づいて負荷トラフィックを割り当てる。以下、本実施形態と第一の実施形態との異なる点について具体的に説明し、本実施形態と第一の実施形態との同じ点については第一の実施形態の説明を参照する。   This embodiment is based on the first embodiment, and allocates load traffic based on not only the resource usage state of the data center but also the link state between the data centers. Hereinafter, differences between the present embodiment and the first embodiment will be specifically described, and the description of the first embodiment will be referred to for the same points between the present embodiment and the first embodiment.

本実施形態に係わる階層化データセンターシステムとデータセンターの構成は第一の実施形態と同じであり、ここでは説明を省略する。   The configuration of the hierarchical data center system and the data center according to this embodiment is the same as that of the first embodiment, and a description thereof is omitted here.

本実施形態に係わる負荷均衡装置は第一の実施形態に係わる負荷均衡装置に比べて、さらに前記現在データセンターと、前記下層データセンターおよび前記上層データセンターとの間のリンク状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   The load balancer according to the present embodiment is further compared to the load balancer according to the first embodiment, based on the link state between the current data center, the lower layer data center, and the upper layer data center. Allocation is performed for load traffic currently transmitted to the data center.

本実施形態に係わる負荷均衡方法は第一の実施形態に係わる負荷均衡方法に比べて、判定ステップにおいて、さらに現在データセンターと、下層データセンターおよび上層データセンターとの間のリンク状態を判定し、割り当てステップにおいて、さらに判定ステップにおける前記リンク状態に対する判定結果に基づいて、負荷トラフィックに対して割り当てを行なう。
<2−2.第二の実施形態の一つの具体例>
Compared with the load balancing method according to the first embodiment, the load balancing method according to the present embodiment further determines the link state between the current data center, the lower data center, and the upper data center in the determination step, In the allocation step, the load traffic is allocated based on the determination result for the link state in the determination step.
<2-2. One specific example of the second embodiment>

以下、本実施形態に係わる負荷均衡装置と負荷均衡方法の一つの具体的な実施例について説明する。   Hereinafter, one specific example of the load balancing apparatus and the load balancing method according to the present embodiment will be described.

本実施形態に係わる負荷均衡装置の一つの具体的な実施例として、第一の実施形態の具体的な実施例の負荷均衡装置の基で、記憶装置204にはさらに現在データセンターと、接続されているその他のデータセンターとの間のリンク状態の情報が記憶されている。図8はリンク状態の一例であり、具体的に、図8は現在データセンター21 102から上層データセンターおよび下層データセンターまでのリンク状態を記録するネットワークリンク状態テーブルである。当該ネットワークリンク状態テーブルは、現在データセンターと上層データセンターおよび下層データセンター(例えばネットワークリンクシリアルナンバー)との接続を識別するリンクID、前記リンクに接続された上層データセンターまたは下層データセンター(例えば、データセンターシリアルナンバー)を識別するリモートサイトID、および前記リンクのバンド幅使用率を示すリンク負荷を含む。   As one specific example of the load balancer according to this embodiment, the storage device 204 is further connected to the current data center based on the load balancer of the specific example of the first embodiment. The information on the link state with other data centers is stored. FIG. 8 shows an example of the link state. Specifically, FIG. 8 is a network link state table that records the link state from the current data center 21102 to the upper layer data center and the lower layer data center. The network link state table includes a link ID that identifies a connection between a current data center and an upper data center and a lower data center (for example, a network link serial number), an upper data center or a lower data center connected to the link (for example, A remote site ID identifying the data center serial number) and a link load indicating the bandwidth utilization of the link.

本実施形態に係わる負荷均衡方法の一つの具体的な実施例として、第一の実施形態の具体的な実施例の負荷均衡方法の基で、ステップS907において現在データセンターがアイドル状態でないと判定した場合、処理ユニット203はさらに本実施形態の具体的な実施例に係わる負荷均衡装置の中の記憶装置204に記憶されているネットワークリンク状態テーブルに基づいて、現在データセンターと、上層データセンターおよび下層データセンターとの間のリンク状態を所定の閾値と比較することによりリンク状態がアイドル状態であるかどうかを判定する。リンク状態がアイドル状態であると判定した場合、ステップS910に進み、下層データセンターのリソース使用状態を判定する。リンク状態がいずれもアイドル状態でないと判定した場合、ステップS908に進み、転送ユニット202を介して負荷トラフィックを現在データセンターのローカルサーバに送信する。
<2−3.第二の実施形態の効果>
As one specific example of the load balancing method according to the present embodiment, based on the load balancing method of the specific example of the first embodiment, it is determined in step S907 that the current data center is not idle. In this case, the processing unit 203 further determines the current data center, upper layer data center, and lower layer based on the network link state table stored in the storage device 204 in the load balancer according to the specific example of the present embodiment. It is determined whether the link state is idle by comparing the link state with the data center with a predetermined threshold. When it is determined that the link state is the idle state, the process proceeds to step S910, and the resource usage state of the lower layer data center is determined. If it is determined that none of the link states are idle, the process proceeds to step S908, and the load traffic is transmitted to the local server of the current data center via the transfer unit 202.
<2-3. Effect of Second Embodiment>

本実施形態によると、階層化データセンターシステムにおいて、負荷均衡装置はリソース使用状態のみならず、またリンク状態に基づいて現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。したがって、本実施形態に係わる負荷均衡装置、負荷均衡方法および階層化データセンターシステムによると、第一の実施形態の効果を有すると同時に、アイドル状態にあるリンクを介してデータを転送することで、転送されるサービスのネットワークリンクに対する圧力を緩和し、階層化データセンターシステムのサービス効率をさらに向上することができる。
〔3.第三の実施形態〕
According to the present embodiment, in the hierarchical data center system, the load balancer allocates not only the resource usage state but also the load traffic currently transmitted to the data center based on the link state. Therefore, according to the load balancing device, the load balancing method, and the hierarchical data center system according to the present embodiment, while having the effect of the first embodiment, at the same time, by transferring data via the link in the idle state, The pressure on the network link of the transferred service can be relieved and the service efficiency of the hierarchical data center system can be further improved.
[3. Third Embodiment]

以下、本発明の第三の実施形態について具体的に説明する。
<3−1.第三の実施形態の特徴>
The third embodiment of the present invention will be specifically described below.
<3-1. Features of Third Embodiment>

本実施形態は第一の実施形態の基で、データセンターのリソース使用状態のみならず、また負荷トラフィックを構成するパケットのプロトコル種別に基づいて負荷トラフィックを割り当てる。以下、本実施形態と第一の実施形態との異なる点について具体的に説明し、本実施形態と第一の実施形態との同じ点については第一の実施形態の説明を参照する。   This embodiment is based on the first embodiment, and allocates load traffic not only based on the resource usage state of the data center but also based on the protocol type of the packet constituting the load traffic. Hereinafter, differences between the present embodiment and the first embodiment will be specifically described, and the description of the first embodiment will be referred to for the same points between the present embodiment and the first embodiment.

本実施形態に係わる階層化データセンターシステムとデータセンターの構成は第一の実施形態と同じであり、ここでは説明を省略する。   The configuration of the hierarchical data center system and the data center according to this embodiment is the same as that of the first embodiment, and a description thereof is omitted here.

本実施形態に係わる負荷均衡装置は第一の実施形態に係わる負荷均衡装置に比べて、さらに負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   Compared with the load balancer according to the first embodiment, the load balancer according to the present embodiment further reduces the load traffic transmitted to the current data center based on the protocol type of the packet constituting the load traffic. Make an assignment.

本実施形態に係わる負荷均衡方法は第一の実施形態に係わる負荷均衡方法に比べて、判定ステップにおいて、さらに負荷トラフィックを構成するパケットのプロトコル種別を判定し、割り当てステップにおいて、さらに判定ステップにおける前記パケットのプロトコル種別に対する判定結果に基づいて、負荷トラフィックに対して割り当てを行なう。
<3−2.第三の実施形態の一つの具体例>
Compared with the load balancing method according to the first embodiment, the load balancing method according to the present embodiment further determines the protocol type of the packet constituting the load traffic in the determination step, and in the allocation step, further in the determination step. The load traffic is allocated based on the determination result for the packet protocol type.
<3-2. One specific example of the third embodiment>

以下、本実施形態に係わる負荷均衡装置と負荷均衡方法の一つの具体的な実施例について説明する。   Hereinafter, one specific example of the load balancing apparatus and the load balancing method according to the present embodiment will be described.

負荷トラフィックを構成するパケットのプロトコル種別として、例えばTCPとUDPが挙げられる。そのうち、TCPプロトコルは一般的に遅延に不敏感で、データ量が少ないサービス、例えば、ウェブページ閲覧、ファイル伝送、メールなどの伝送に使われ、UDPプロトコルは一般的に遅延に敏感で、データ量が大きいサービス、例えば、リアルタイムチャット、ビデオオンデマンド、インターネット電話などの伝送に使われる。したがって、UDPプロトコル種別のサービスを現在データセンターに残して処理するとサービスの品質をさらに確実に保証し、転送されたサービスのネットワークリンクに対する圧力を減少し、ネットワーク輻輳による転送サービスに及ぼすより大きな応答遅延を防止することができる。   Examples of the protocol types of the packets constituting the load traffic include TCP and UDP. Among them, the TCP protocol is generally insensitive to delay and used for services with a small amount of data, for example, web page browsing, file transmission, mail transmission, etc. The UDP protocol is generally sensitive to delay and the amount of data. It is used for transmission of large services such as real-time chat, video on demand, and Internet telephone. Therefore, processing of UDP protocol type services currently left in the data center further guarantees the quality of the service, reduces the pressure on the network link of the transferred service, and has a greater response delay on the transfer service due to network congestion Can be prevented.

上述の規則に基づいて、第一の実施形態の具体的な実施例の負荷均衡方法の基で、ステップS907において現在データセンターがアイドル状態でないと判定した場合、処理ユニット203はさらにステップS901によって受信したパケットのIPヘッダの中のプロトコルフィールドが示すプロトコル種別をチェックする。パケットのプロトコル種別がTCPである場合は、ステップS910に進み、下層データセンターのリソース使用状態を判定する。パケットのプロトコル種別がUDPである場合は、ステップS908に進み、転送ユニット202を介して負荷トラフィックを現在データセンターのローカルサーバに送信する。   Based on the above rules, if it is determined in step S907 that the current data center is not idle based on the load balancing method of the specific example of the first embodiment, the processing unit 203 further receives in step S901. The protocol type indicated by the protocol field in the IP header of the received packet is checked. If the packet protocol type is TCP, the process advances to step S910 to determine the resource usage state of the lower layer data center. If the packet protocol type is UDP, the process proceeds to step S908, and the load traffic is transmitted to the local server in the current data center via the transfer unit 202.

上述のようにパケットのプロトコル種別を判定する際に、ネットワーク層のヘッダ情報を利用したため、負荷均衡装置の処理速度が加速し、ルータの線速度に達する可能性がある。具体的に、ネットワーク層のヘッダ情報のみを利用して判定を行なう場合、負荷均衡装置の処理速度は応用層情報を利用して判定を行なう場合よりも大幅に向上する。
<3−3.第三の実施形態の効果>
As described above, since the header information of the network layer is used when determining the protocol type of the packet, there is a possibility that the processing speed of the load balancer is accelerated and reaches the linear speed of the router. Specifically, when the determination is performed using only the header information of the network layer, the processing speed of the load balancer is significantly improved as compared with the case where the determination is performed using the application layer information.
<3-3. Effect of Third Embodiment>

本実施形態によると、階層化データセンターシステムにおいて、負荷均衡装置はリソース使用状態のみならず、また負荷トラフィックを構成するパケットのプロトコル種別に基づいて現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。また、プロトコル種別を判定するときに、ネットワーク層のヘッダ情報を利用する。したがって、本実施形態に係わる負荷均衡装置、負荷均衡方法および階層化データセンターシステムによると、第一の実施形態の効果を有すると同時に、サービスの品質をさらに確実に保証し、転送されるサービスのネットワークリンクに対する圧力を減少し、ネットワーク輻輳による転送サービスに及ぼすより大きな応答遅延を防止し、負荷均衡装置の処理速度を加速し、これにより階層化データセンターシステムのサービス効率をさらに向上することができる。
〔4.第四の実施形態〕
According to the present embodiment, in the hierarchical data center system, the load balancer allocates not only the resource usage state but also load traffic currently transmitted to the data center based on the protocol type of the packet constituting the load traffic. To do. Further, when determining the protocol type, network layer header information is used. Therefore, according to the load balancing device, the load balancing method, and the hierarchical data center system according to the present embodiment, the effect of the first embodiment is obtained, and at the same time, the quality of service is further ensured and the service to be transferred is transmitted. Reduce the pressure on the network link, prevent greater response delay on transfer service due to network congestion, accelerate the load balancer processing speed, and thereby further improve the service efficiency of hierarchical data center system .
[4. Fourth Embodiment]

以下、図面に基づいて本発明の第四の実施形態について具体的に説明する。
<4−1.第四の実施形態の特徴>
The fourth embodiment of the present invention will be specifically described below with reference to the drawings.
<4-1. Features of Fourth Embodiment>

本実施形態は第一、第二および第三の実施形態に対して組み合わせと改良を行ない、データセンターのリソース使用状態、リンク状態および負荷トラフィックを構成するパケットのプロトコル種別に基づいて負荷トラフィックを割り当てる。以下、本実施形態と上述の実施形態の異なる点について具体的に説明し、本実施形態と上述の実施形態の同じ点については上述の実施形態の説明を参照する。   This embodiment combines and improves the first, second, and third embodiments, and allocates load traffic based on the data center resource usage status, link status, and protocol type of the packets that make up the load traffic. . Hereinafter, differences between the present embodiment and the above-described embodiment will be specifically described, and the description of the above-described embodiment will be referred to for the same points between the present embodiment and the above-described embodiment.

本実施形態に係わる階層化データセンターシステムとデータセンターの構成は第一の実施形態と同じであり、ここでは説明を省略する。   The configuration of the hierarchical data center system and the data center according to this embodiment is the same as that of the first embodiment, and a description thereof is omitted here.

本実施形態に係わる負荷均衡装置は第一の実施形態に係わる負荷均衡装置に比べて、さらに現在データセンターと、下層データセンターおよび上層データセンターとの間のリンク状態および負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。   Compared with the load balancer according to the first embodiment, the load balancer according to the present embodiment further includes the link status between the current data center, the lower layer data center and the upper layer data center and the packet constituting the load traffic. Based on the protocol type, allocation is performed for load traffic transmitted to the current data center.

本実施形態に係わる負荷均衡方法は第一の実施形態に係わる負荷均衡方法に比べて、判定ステップにおいて、さらに現在データセンターと、下層データセンターおよび上層データセンターとの間のリンク状態および負荷トラフィックを構成するパケットのプロトコル種別を判定し、割り当てステップにおいて、さらに判定ステップにおける前記リンク状態と前記パケットのプロトコル種別に対する判定結果に基づいて、負荷トラフィックに対して割り当てを行なう。
<4−2.第四の実施形態の一つの具体例>
Compared with the load balancing method according to the first embodiment, the load balancing method according to the present embodiment further includes the link state and load traffic between the current data center, the lower data center, and the upper data center in the determination step. The protocol type of the packet to be configured is determined, and in the assignment step, the load traffic is assigned based on the determination result for the link state and the packet protocol type in the determination step.
<4-2. One specific example of the fourth embodiment>

以下、本実施形態に係わる負荷均衡装置と負荷均衡方法の一つの具体的な実施例について説明する。   Hereinafter, one specific example of the load balancing apparatus and the load balancing method according to the present embodiment will be described.

本実施形態に係わる負荷均衡装置の一つの具体的な実施例として、第一の実施形態の具体的な実施例の負荷均衡装置の基で、記憶装置204にはさらに閾値情報が記憶されている。図9は閾値情報の一例であり、具体的に、図9は記憶装置204に記憶されている現在データセンターがサービスを受理する予め定義された負荷閾値テーブルである。当該予め定義された負荷閾値テーブルは、CPU使用率の閾値11と閾値12、記憶装置使用率の閾値21と閾値22、および総合負荷の閾値1と閾値2を含む。そのうち、総合負荷の閾値1と閾値2は対応するCPU使用率と記憶装置使用率の下式に示す算術平均値である。   As one specific example of the load balancing device according to the present embodiment, threshold information is further stored in the storage device 204 based on the load balancing device of the specific example of the first embodiment. . FIG. 9 is an example of threshold information. Specifically, FIG. 9 is a predefined load threshold table in which the current data center stored in the storage device 204 accepts services. The predefined load threshold table includes a CPU usage rate threshold 11 and a threshold 12, a storage device usage rate threshold 21 and a threshold 22, and a total load threshold 1 and a threshold 2. Among them, the total load threshold value 1 and the threshold value 2 are arithmetic average values shown in the following equations of the corresponding CPU usage rate and storage device usage rate.

閾値m=AVG(閾値1m,閾値2m)、m={1,2}   Threshold m = AVG (threshold 1 m, threshold 2 m), m = {1, 2}

閾値nm(n,m={1,2})の値を合理的に選択することで、例えば、閾値11と閾値12をそれぞれサーバ平均応答時間が軽負荷時よりも2倍増加したときのCPU使用率と記憶装置使用率に設置し、閾値21と閾値22をそれぞれサーバ平均応答時間が軽負荷時よりも100倍増加したときのCPU使用率と記憶装置使用率に設置し、これにより総合負荷の閾値1と閾値2を用いて量子化されたサーバ平均性能の悪化開始および深刻な悪化の状況を表すことができる。   By rationally selecting the value of the threshold nm (n, m = {1, 2}), for example, the CPU when the server average response time is increased twice as much as the threshold average 11 and the threshold 12, respectively, compared to the case of light load. Installed in the usage rate and the storage device usage rate, and the threshold value 21 and the threshold value 22 are respectively set in the CPU usage rate and the storage device usage rate when the server average response time is increased by 100 times compared to the light load. Threshold value 1 and threshold value 2 can be used to represent the start of deterioration of server average performance and the situation of serious deterioration.

図10に基づいて本実施形態に係わる負荷均衡方法の一つの具体的な実施例について説明する。図10は第四の実施形態に係わる負荷均衡方法の一つの具体的な実施例のフローチャートである。図において、本具体的な実施例に係わる負荷均衡方法は負荷均衡装置の上述した具体的な実施例によって実現することができ、負荷均衡装置の上述の具体的な実施例の関連説明を参照する。   One specific example of the load balancing method according to this embodiment will be described with reference to FIG. FIG. 10 is a flowchart of one specific example of the load balancing method according to the fourth embodiment. In the figure, the load balancing method according to this specific embodiment can be realized by the above-described specific embodiment of the load balancing device, and refer to the related description of the above-mentioned specific embodiment of the load balancing device. .

最初に、負荷均衡装置の通信インターフェース201は負荷トラフィックを構成するパケットを受信し、受信したパケットを処理ユニット203に送信する(ステップS1001)。   First, the communication interface 201 of the load balancer receives a packet constituting the load traffic, and transmits the received packet to the processing unit 203 (step S1001).

次に、処理ユニット203は記憶装置204に記憶されている負荷割り当てマッピングテーブルをチェックする(ステップS1002)。   Next, the processing unit 203 checks the load allocation mapping table stored in the storage device 204 (step S1002).

続いて、処理ユニット203はクライアント端末IPアドレスもしくはサーバ端末IPアドレスとパケットの送信元アドレスが同じである記録が存在するかどうかを判定する(ステップS1003)。   Subsequently, the processing unit 203 determines whether there is a record in which the client terminal IP address or the server terminal IP address is the same as the packet source address (step S1003).

ステップS1003の判定結果がYESである場合は、転送ユニット202と通信インターフェース201を介してマッチング記録に従ってヘッダ処理とパケット転送を行なう(ステップS1004)。   If the determination result in step S1003 is YES, header processing and packet transfer are performed according to the matching record via the transfer unit 202 and the communication interface 201 (step S1004).

逆に、ステップS1003の判定結果がNOである場合は、さらにパケットの方向をチェックし、パケットの方向が上りパケットであるかどうかを判定する(ステップS1005)。   Conversely, if the determination result in step S1003 is NO, the packet direction is further checked to determine whether the packet direction is an uplink packet (step S1005).

逆に、ステップS1005の判定結果がNOである場合は、当該パケットがサーバからの下りパケットで、ユーザ側からの要求ではないことを意味し、直接放棄することができる(ステップS1006)。   Conversely, if the determination result in step S1005 is NO, it means that the packet is a downstream packet from the server and not a request from the user side, and can be abandoned directly (step S1006).

逆に、ステップS1005の判定結果がYESである場合は、当該パケットが新しいユーザからの要求であることを意味し、現在データセンターのローカルサーバもしくはその他のデータセンターに配信する必要がある。したがって、処理ユニット203は現在データセンターのリソース使用状態、例えば、CPUアイドルパーセンテージ、記憶装置アイドルパーセンテージ、要求処理速度などの情報をチェックし、上述の情報の中の一項または複数項を一組の予め定義された閾値と比較して現在データセンターがアイドル状態であるかどうかを判定する。具体的な判定方法として、例えば処理ユニット203は記憶装置204に記憶されているサイト容量テーブルと予め定義された負荷閾値テーブルをチェックし、上述のように現在データセンターのローカルサーバの総合負荷を総合負荷の閾値1、2と比較する方法を採用する。   On the other hand, if the determination result in step S1005 is YES, it means that the packet is a request from a new user, and it is necessary to distribute it to a local server in the current data center or another data center. Accordingly, the processing unit 203 checks information such as the current data center resource usage status, eg, CPU idle percentage, storage idle percentage, requested processing speed, etc., and sets one or more items in the above information as a set. Compare with a predefined threshold to determine if the data center is currently idle. As a specific determination method, for example, the processing unit 203 checks the site capacity table stored in the storage device 204 and a pre-defined load threshold table, and totals the total load of the local server of the current data center as described above. A method of comparing with the load thresholds 1 and 2 is adopted.

このとき、ステップS1007の判定結果が、総合負荷が閾値1以下である場合は、現在データセンターのローカルサーバの平均性能が良好な状態にあり、当該要求を処理してもよいことを意味し、処理ユニット203は転送ユニット202を介して当該パケットをローカルサーバに送信する。複数のローカルサーバが存在する場合は、例えばアイドル状態のリソースが最も多いサーバを選択することにより一つのローカルサーバを選択することができる(ステップS1008)。   At this time, if the determination result of step S1007 is that the total load is equal to or less than the threshold value 1, it means that the average performance of the local server of the data center is currently in a good state and the request may be processed. The processing unit 203 transmits the packet to the local server via the transfer unit 202. When there are a plurality of local servers, for example, one local server can be selected by selecting a server having the largest number of idle resources (step S1008).

その後、処理ユニット203は当該要求に含まれているクライアント端末とサーバ端末のIPアドレス、次ホップのアドレスとポート情報、およびプロトコル種別などを書き込むことにより負荷割り当てマッピングテーブルを更新する(ステップS1009)。   Thereafter, the processing unit 203 updates the load allocation mapping table by writing the IP addresses of the client terminal and server terminal, the next hop address and port information, the protocol type, etc. included in the request (step S1009).

ステップS1007の判定結果が、総合負荷が総合負荷閾値2より大きい場合は、現在データセンターのローカルサーバの平均性能が悪い状態にあることを意味し、現在データセンターの上層データセンターおよび下層データセンターの中から一つのデータセンターを選択して転送を行なう必要がある。転送する宛先データセンターを決定するために、処理ユニット203は記憶装置204に記憶されているサイト容量テーブル、例えば、CPUアイドルパーセンテージ、記憶装置アイドルパーセンテージ、要求処理速度などの情報をチェックし、上述の情報の中の一項または複数項を一つまたは複数の予め定義された閾値と比較してアイドル状態の下層データセンターがあるかどうかを判定する必要がある。具体的な判定方法として、例えば上述のように下層データセンターのローカルサーバの総合負荷を所定の閾値と比較する方法を採用してよい(ステップS1010)。   If the determination result of step S1007 is that the total load is larger than the total load threshold 2, it means that the average performance of the local server of the current data center is in a bad state, and the upper data center and lower data center of the current data center are in a bad state. It is necessary to select one data center from among them for transfer. To determine the destination data center to transfer, the processing unit 203 checks the site capacity table stored in the storage device 204, for example, information such as CPU idle percentage, storage idle percentage, requested processing speed, etc. One or more terms in the information need to be compared with one or more predefined thresholds to determine if there is an idle lower level data center. As a specific determination method, for example, as described above, a method of comparing the total load of the local server in the lower layer data center with a predetermined threshold may be employed (step S1010).

ステップS1010の判定結果がNOである場合は、現在データセンターにアイドル状態の下層データセンターがなく、現在データセンターがビジー状態であることを意味するため、処理ユニット203は要求を上層データセンターに転送する(ステップS1011)。   If the determination result in step S1010 is NO, it means that there is no lower data center in the current data center and the current data center is busy, so the processing unit 203 forwards the request to the upper data center. (Step S1011).

ステップS1010の判定結果がYESである場合、処理ユニット203は転送ユニット203を介して当該パケットを下層データセンターに送信する。複数の下層データセンターが存在する場合、例えばアイドル状態のリソースが最も多い下層データセンターを選択することにより一つの下層データセンターを選択することができる(ステップS1012)。   If the determination result of step S1010 is YES, the processing unit 203 transmits the packet to the lower layer data center via the transfer unit 203. When there are a plurality of lower layer data centers, for example, one lower layer data center can be selected by selecting a lower layer data center having the largest number of idle resources (step S1012).

ステップS1007の判定結果が、総合負荷が閾値1より大きく且つ閾値2以下である場合は、現在データセンターのローカルサーバの平均性能が良好と悪いとの間の一般状態にあることを意味し、現在データセンターの負荷を適切に軽減し、一部の新たに増えた負荷を現在データセンターの上層データセンターもしくは下層データセンターに転送する必要がある。このとき、処理ユニット203は記憶装置204に記憶されているネットワークリンク状態テーブルおよびパケットのIPヘッダの中のプロトコルフィールドによって表示されたプロトコル種別をチェックして当該パケットの代表する要求を転送するかどうかを判定する必要がある。具体的な判定方法は第二、第三の実施形態の説明を参照する(ステップS1013)。   If the determination result of step S1007 is that the total load is greater than threshold 1 and less than or equal to threshold 2, it means that the average performance of the local server in the data center is currently in a general state between good and bad, It is necessary to appropriately reduce the load on the data center and transfer some newly increased load to the upper data center or lower data center of the current data center. At this time, whether or not the processing unit 203 checks the protocol type displayed by the protocol field in the network link state table stored in the storage device 204 and the IP header of the packet, and transfers the request represented by the packet It is necessary to judge. For the specific determination method, refer to the descriptions of the second and third embodiments (step S1013).

ステップS1013の判定結果が、アイドル状態のリンクがあり且つパケットプロトコル種別がTCPである場合は、ステップS1010に移ってアイドル状態の下層データセンターがあるかどうかチェックする。逆に、ステップS1013の判定結果が、アイドル状態のリンクがなく且つパケットプロトコル種別がUDPである場合は、ステップS1008に移し、処理ユニット203は転送ユニット202を介してパケットをローカルサーバに転送する。   If the determination result in step S1013 is that there is an idle link and the packet protocol type is TCP, the process proceeds to step S1010 to check whether there is an idle lower layer data center. Conversely, if the determination result in step S1013 is that there is no idle link and the packet protocol type is UDP, the process moves to step S1008, and the processing unit 203 transfers the packet to the local server via the transfer unit 202.

同様に、ステップS1008、S1011およびS1012の後に、処理ユニット203は負荷割り当てマッピングテーブル2を更新する必要がある(ステップS1009)。   Similarly, after steps S1008, S1011 and S1012, the processing unit 203 needs to update the load allocation mapping table 2 (step S1009).

そのうち、図10に示す負荷均衡方法の具体的な例において、ステップS1001では負荷トラフィックを受信し、ステップS1002、S1003、S1005では受信した負荷トラフィックが新しい要求であるかどうかを判定し、ステップS1007、S1013、S1010は図6に示す負荷均衡方法における判定ステップS1に相当し、ステップS1008、S1011、S1012は図6に示す負荷均衡方法における割り当てステップS2に相当する。
<4−3.第四の実施形態の効果>
Among these, in the specific example of the load balancing method shown in FIG. 10, in step S1001, load traffic is received, and in steps S1002, S1003, and S1005, it is determined whether the received load traffic is a new request, and step S1007, S1013 and S1010 correspond to the determination step S1 in the load balancing method shown in FIG. 6, and steps S1008, S1011 and S1012 correspond to the assigning step S2 in the load balancing method shown in FIG.
<4-3. Effect of Fourth Embodiment>

本実施形態によると、階層化データセンターシステムにおいて、負荷均衡装置はリソース使用状態のみならず、またリンク状態と負荷トラフィックを構成するパケットのプロトコル種別とに基づいて、現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう。したがって、本実施形態は前記第一、第二および第三の実施形態の効果を兼ね備える。なお、複数の閾値を使用してデータセンターの性能を量子化することで、データセンターの性能にもっと適合するように負荷トラフィックの割り当てを最適化することができ、これにより負荷トラフィックをさらに柔軟且つ適切に割り当て、階層化データセンターシステムのサービス効率をさらに向上することができる。
<5.本発明の負荷割り当て処理>
According to the present embodiment, in the hierarchical data center system, the load balancer not only uses the resource usage state, but also loads that are currently transmitted to the data center based on the link state and the protocol type of the packet that constitutes the load traffic. Assign to traffic. Therefore, this embodiment combines the effects of the first, second and third embodiments. Note that by quantizing the data center performance using multiple thresholds, load traffic allocation can be optimized to better match the data center performance, thereby making the load traffic more flexible and Appropriately allocated, the service efficiency of the hierarchical data center system can be further improved.
<5. Load assignment processing of the present invention>

以下、図11〜図16の時系列図に基づいて本発明に係わる階層化データセンターシステムにおいて負荷均衡装置の負荷トラフィックに対する異なる状況での割り当て処理について説明する。図11と図12は負荷均衡装置31 113がTCPとUDP種別の負荷トラフィック112を現在データセンター31 104のローカルサーバ即ちサーバグループ31 115に配信することで、現在データセンター31 104により負荷トラフィック112を処理する状況を示す。図13と図14はTCPとUDP種別の負荷トラフィック112を親サイト(上層データセンター)即ちデータセンター21 102に転送して、親サイトにより負荷トラフィック112を処理する状況を示す。図15と図16はTCPとUDP種別の負荷トラフィック112を親サイト即ちデータセンター21 102に転送し、親サイトはさらにその他の子サイト(下層データセンター)即ちデータセンター32 105に転送し、最後に前記その他の子サイトにより負荷トラフィック112を処理する状況を示す。   Hereinafter, based on the time-series diagrams of FIGS. 11 to 16, allocation processing in different situations for load traffic of the load balancer in the hierarchical data center system according to the present invention will be described. 11 and 12 show that the load balancer 31 113 distributes the load traffic 112 of the TCP and UDP types to the local server of the current data center 31 104, that is, the server group 31 115, so that the load traffic 112 is transmitted by the current data center 31 104. Indicates the situation to be processed. FIGS. 13 and 14 show a situation in which TCP and UDP type load traffic 112 is transferred to the parent site (upper layer data center), that is, the data center 21 102, and the load traffic 112 is processed by the parent site. 15 and 16 transfer TCP and UDP type load traffic 112 to the parent site or data center 21 102, which further forwards it to the other child site (lower data center) or data center 32 105, and finally A situation where load traffic 112 is processed by the other child sites will be described.

上述の負荷割り当ては上述の第一〜第四の実施形態に係わる負荷割り当て装置および負荷割り当て方法によって実現し、特に第四の実施形態に係わる負荷割り当て装置と負荷割り当て方法によって実現することができる。   The above-described load allocation can be realized by the load allocation apparatus and the load allocation method according to the first to fourth embodiments described above, and in particular, can be realized by the load allocation apparatus and the load allocation method according to the fourth embodiment.

図11に示すように、最初にユーザグループ1 111(その中の一つもしくは複数のユーザ、もしくはそれらのエージェントでよい)より接続要求を発信し(301)、現在データセンター31 104にSYNメッセージ302を送信する。データセンター31 104の均衡装置31 113の通信インターフェース201がSYNメッセージ302を受信した後に、処理ユニット203は記憶装置204に記憶されている情報と受信したSYNメッセージ302のヘッダ情報に基づいてSYNメッセージ302を分析し、これによりローカルサイト(現在データセンター)によって当該接続要求を処理し(303)、ローカルサーバグループ31 115から宛先サーバを一つ選択することを決定し、例えばアイドル状態のリソースが最も多いサーバを一つ選択する。その後、処理ユニット203により当該要求に含まれているクライアント端末とサーバ端末のIPアドレス、次ホップのアドレスとポート情報などを書き込むことにより負荷割り当てマッピングテーブルを更新する。続いて、転送ユニット202は更新された負荷割り当てマッピングテーブルに基づいてSYNメッセージ302を処理し、宛先IPアドレスを次ホップIPアドレス、即ち処理ユニット203が選択した宛先サーバのIPアドレス(通常はデータセンターのプライベートIPアドレス)に設置し、宛先物理アドレスを次ホップ物理アドレス、即ち宛先サーバに繋がるパス上のすぐ隣のスイッチの物理アドレスに設置し、送信元IPアドレスと送信元物理アドレスを均衡装置31 113のIPアドレスと物理アドレスに設置する。処理後のSYNメッセージ302は通信インターフェース201を介して宛先サーバに接続されているデータセンターイントラネット31 114に転送され、さらにデータセンターイントラネット31 114を経由して宛先サーバに転送される。宛先サーバから送信された応答メッセージは反対方向の処理を通じて宛先IPアドレスを次ホップIPアドレス、即ちクライアント端末IPアドレスに設置し、宛先物理アドレスを次ホップ物理アドレス、即ちユーザグループ1 111に繋がるパス上のすぐ隣のスイッチの物理アドレスに設置し、送信元IPアドレスと送信元物理アドレスを均衡装置31 113のIPアドレスと物理アドレスに設置する。処理後の応答メッセージSYN−ACK 304は通信インターフェース201を介してユーザグループ1 111に送信される。ユーザグループ1 111は応答メッセージを受信した後にクライアント端末に接続を確立し(305)、再び応答メッセージACK306を送信する。応答メッセージACK306が到着した場合、均衡装置31 113は負荷割り当てマッピングテーブルの中の既存の記録に基づいて宛先サーバに転送し、これによりサーバ端末に接続を確立し(307)、ユーザにサービスの提供を開始し(308)、ユーザがサービスを取得できるようにする(309)。そのうちの上りと下りの負荷トラフィック310は均衡装置31 113を経由する際に、同様に負荷割り当てマッピングテーブルの中の既存の記録に基づいて転送される。   As shown in FIG. 11, first, a connection request is transmitted from the user group 1 111 (which may be one or a plurality of users or agents thereof) (301), and a SYN message 302 is sent to the current data center 31 104. Send. After the communication interface 201 of the balancing device 31 113 of the data center 31 104 receives the SYN message 302, the processing unit 203 is based on the information stored in the storage device 204 and the header information of the received SYN message 302. , Thereby processing the connection request by the local site (current data center) (303) and deciding to select one destination server from the local server group 31 115, for example, having the most idle resources Select one server. Thereafter, the processing unit 203 updates the load allocation mapping table by writing the IP addresses of the client terminal and the server terminal, the next hop address, port information, and the like included in the request. Subsequently, the forwarding unit 202 processes the SYN message 302 based on the updated load allocation mapping table and sets the destination IP address as the next hop IP address, ie, the IP address of the destination server selected by the processing unit 203 (usually the data center Private IP address), the destination physical address is placed at the next hop physical address, that is, the physical address of the switch immediately adjacent to the destination server, and the source IP address and the source physical address are balanced. 113 IP address and physical address. The processed SYN message 302 is transferred to the data center intranet 31 114 connected to the destination server via the communication interface 201 and further transferred to the destination server via the data center intranet 31 114. In the response message transmitted from the destination server, the destination IP address is set to the next hop IP address, that is, the client terminal IP address through processing in the opposite direction, and the destination physical address is set to the next hop physical address, that is, the path connected to the user group 1 111 The source IP address and the source physical address are set at the IP address and physical address of the balancing device 31 113. The processed response message SYN-ACK 304 is transmitted to the user group 1 111 via the communication interface 201. After receiving the response message, the user group 1 111 establishes a connection with the client terminal (305) and transmits the response message ACK 306 again. If the response message ACK 306 arrives, the balancing device 31 113 forwards to the destination server based on the existing record in the load allocation mapping table, thereby establishing a connection to the server terminal (307) and providing service to the user. (308) to allow the user to obtain the service (309). Among them, the upstream and downstream load traffic 310 is transferred based on the existing record in the load allocation mapping table in the same manner when passing through the balancing device 31 113.

図12は図11と似ており、異なる点は負荷トラフィックのプロトコル種別がUDPである。図12に示すように、最初にユーザグループ1 111(そのうちの一つもしくは複数のユーザ、あるいはそれらのエージェントでよい)によりパケットの送信を開始し(401)、上りトラフィック402をデータセンター31 104に送信する。ここで、パケットを送信するのはセンターグループ1 109(そのうちの一つもしくは複数のセンサーノード、あるいはそれらのエージェントでよい)であってもよい。前記上りトラフィック402はユーザ端末から発信したビデオオンデマンド要求、或いはセンサーノードから報告したセンサーデータ、或いはその他のUDPプロトコルを使用したデータサービストラフィックでよい。データセンター31 104の均衡装置31 113の通信インターフェース201により上りトラフィック402を受信した後、処理ユニット203は記憶装置204に記憶されている情報と受信した上りトラフィック402のヘッダ情報に基づいて上りトラフィック402を分析し、これにより、これは新しいデータフローであることを識別し、ローカルサイトによって当該接続要求を処理し(403)、ローカルサーバグループ31 115から宛先サーバを一つ選択することを決定し、例えばアイドル状態のリソースが最も多いサーバを一つ選択する。その後、処理ユニット203により当該要求に含まれているクライアント端末とサーバ端末のIPアドレス、次ホップのアドレスとポート情報などを書き込むことにより負荷割り当てマッピングテーブルを更新する。その後の転送プロセスは図11に示したものと似ており、転送ユニット202によって処理された上りトラフィック402は宛先サーバに送信される。宛先サーバはユーザにサービスの提供を開始し(404)、ユーザに送信された下りトラフィック407は反対方向の処理を通じてユーザがサービスを取得できるようにする(406)。そのうちの上りと下りの負荷トラフィック405と407は均衡装置31 113を経由する際に、同様に負荷割り当てマッピングテーブルの中の既存の記録に基づいて転送される。   FIG. 12 is similar to FIG. 11 except that the protocol type of load traffic is UDP. As shown in FIG. 12, first, transmission of a packet is started by the user group 1 111 (which may be one or a plurality of users or their agents) (401), and the upstream traffic 402 is transferred to the data center 31 104. Send. Here, the center group 1 109 (which may be one or a plurality of sensor nodes or agents thereof) may transmit the packet. The upstream traffic 402 may be a video on demand request transmitted from a user terminal, sensor data reported from a sensor node, or data service traffic using another UDP protocol. After receiving the upstream traffic 402 by the communication interface 201 of the balancing device 31 113 of the data center 31 104, the processing unit 203 is based on the information stored in the storage device 204 and the received header information of the upstream traffic 402. , Thereby identifying that this is a new data flow, processing the connection request by the local site (403), and determining to select one destination server from the local server group 31 115; For example, one server having the most idle resources is selected. Thereafter, the processing unit 203 updates the load allocation mapping table by writing the IP addresses of the client terminal and the server terminal, the next hop address, port information, and the like included in the request. The subsequent transfer process is similar to that shown in FIG. 11, and the upstream traffic 402 processed by the transfer unit 202 is transmitted to the destination server. The destination server starts providing the service to the user (404), and the downlink traffic 407 transmitted to the user enables the user to acquire the service through processing in the opposite direction (406). Among them, the upstream and downstream load traffic 405 and 407 are transferred based on the existing records in the load allocation mapping table when passing through the balancing device 31 113.

図13は図11と似ており、異なる点は要求を受けるのはデータセンター31 104の親サイトデータセンター21 102である。図13に示すように、最初にユーザグループ1 111(そのうちの一つもしくは複数のユーザ、あるいはそれらのエージェントでよい)により接続要求を発信し(501)、SYNメッセージ502をデータセンター31 104に送信する。データセンター31 104の均衡装置31 113の通信インターフェース201によりSYNメッセージ502を受信した後、処理ユニット203は記憶装置204に記憶されている情報と受信したSYNメッセージ502のヘッダ情報に基づいてSYNメッセージ502を分析し、当該要求が処理容量を超えていることに気付き、親サイト即ちデータセンター21 102によって当該接続要求を処理することを決定する(503)。その後、処理ユニット203により負荷割り当てマッピングテーブル(図13の表を参照)を更新し、転送ユニット202により、更新された負荷割り当てマッピングテーブルに基づいてSYNメッセージ502を処理し、通信インターフェース201により処理後のSYNメッセージ502をデータセンター21 102に転送する。データセンター21 102において均衡装置21 117がSYNメッセージ502に対して行なわれる処理方法は図11と似ており、ローカルサイトのサーバを選択して当該接続要求を処理する(504)。その後、データセンター21 102は応答メッセージSYN−ACK505をユーザに送信し、均衡装置31 113を介してさらにユーザグループ1 111に送信され、そのうち、均衡装置31 113を経由する際に、均衡装置31 113は負荷割り当てマッピングテーブルの中の既存の記録に基づいてヘッダアドレス情報を修正する。ユーザグループ1 111は応答メッセージSYN−ACK505を受信した後にクライアント端末に接続を確立し(506)、再び応答メッセージACK 507を送信する。応答メッセージACK 507が均衡装置31 113を経由する際に、均衡装置31 113は負荷割り当てマッピングテーブルの中の既存の記録に基づいてヘッダアドレス情報を修正する。最後にサーバ端末は接続を確立し(508)、ユーザにサービスの提供を開始し(509)、ユーザがサービスを取得できるようにする(510)。そのうちの上りと下りの負荷トラフィック514は均衡装置31 113を経由する際に、同様に負荷割り当てマッピングテーブルの中の既存の記録に基づいて転送される。   FIG. 13 is similar to FIG. 11 except that the parent site data center 21 102 of the data center 31 104 receives the request. As shown in FIG. 13, first, a connection request is transmitted by user group 1 111 (one or a plurality of users or agents thereof) (501), and a SYN message 502 is transmitted to data center 31 104. To do. After receiving the SYN message 502 by the communication interface 201 of the balancing device 31 113 of the data center 31 104, the processing unit 203 is based on the information stored in the storage device 204 and the header information of the received SYN message 502. , And notices that the request exceeds the processing capacity, and decides to process the connection request by the parent site or data center 21102 (503). Thereafter, the load allocation mapping table (see the table of FIG. 13) is updated by the processing unit 203, the SYN message 502 is processed based on the updated load allocation mapping table by the transfer unit 202, and processed by the communication interface 201. The SYN message 502 is transferred to the data center 21 102. The processing method performed by the balancing device 21 117 in response to the SYN message 502 in the data center 21 102 is similar to that in FIG. 11, and a server at the local site is selected to process the connection request (504). Thereafter, the data center 21 102 transmits a response message SYN-ACK 505 to the user, and is further transmitted to the user group 1 111 via the balance device 31 113, of which the balance device 31 113 is transmitted via the balance device 31 113. Modifies header address information based on existing records in the load allocation mapping table. After receiving the response message SYN-ACK 505, the user group 1 111 establishes a connection with the client terminal (506), and transmits the response message ACK 507 again. When the response message ACK 507 passes through the balancer 31 113, the balancer 31 113 modifies the header address information based on the existing record in the load allocation mapping table. Finally, the server terminal establishes a connection (508), starts providing services to the user (509), and allows the user to acquire the service (510). Among them, the upstream and downstream load traffic 514 is transferred based on the existing record in the load allocation mapping table in the same manner when passing through the balancing device 31 113.

図14は図12と似ており、異なる点は要求を受けるのはデータセンター31 104の親サイトデータセンター21 102である。図14に示すように、最初はユーザグループ1 111(そのうちの一つもしくは複数のユーザ、あるいはそれらのエージェントでよい)によりパケットの送信を開始し(601)、上りトラフィック602をデータセンター31 104に送信する。データセンター31 104の均衡装置31 113の通信インターフェース201により上りトラフィック602を受信した後、処理ユニット203は記憶装置204に記憶されている情報と受信したS上りトラフィック602のヘッダ情報に基づいて上りトラフィック602を分析し、当該要求が処理容量を超えていることに気付き、親サイト即ちデータセンター21 102によって当該接続要求を処理することを決定する(603)。その後、処理ユニット203により負荷割り当てマッピングテーブルを更新し、転送ユニット202により、更新された負荷割り当てマッピングテーブルに基づいて上りトラフィック602を処理し、通信インターフェース201により処理後の上りトラフィック602をデータセンター21 102に転送する。データセンター21 102において、均衡装置21 117が上りトラフィック602に対して行なわれる処理方法は図12と似ており、これは新しいデータフローであることを識別し、ローカルサイトのサーバを選択して当該接続要求を処理し(604)、負荷割り当てマッピングテーブルを更新する。その後、データセンター21 102はユーザにサービスの提供を開始し(605)、ユーザがサービスを取得できるようにする(510)。そのうちの上りと下りの負荷トラフィック608と607は均衡装置31 113を経由する際に、同様に負荷割り当てマッピングテーブルの中の既存の記録に基づいて転送される。   FIG. 14 is similar to FIG. 12 except that it is the parent site data center 21 102 of the data center 31 104 that receives requests. As shown in FIG. 14, first, transmission of a packet is started by the user group 1 111 (which may be one or a plurality of users or agents thereof) (601), and the upstream traffic 602 is transferred to the data center 31 104. Send. After receiving the upstream traffic 602 by the communication interface 201 of the balancing device 31 113 of the data center 31 104, the processing unit 203 performs the upstream traffic based on the information stored in the storage device 204 and the received header information of the S upstream traffic 602. Analyze 602 and notice that the request exceeds the processing capacity and decide to process the connection request by the parent site or data center 21102 (603). Thereafter, the load allocation mapping table is updated by the processing unit 203, the upstream traffic 602 is processed based on the updated load allocation mapping table by the transfer unit 202, and the processed upstream traffic 602 is processed by the communication interface 201 in the data center 21. 102. In the data center 21 102, the processing performed by the balancing device 21 117 for the upstream traffic 602 is similar to FIG. 12, which identifies this as a new data flow, selects a server at the local site and The connection request is processed (604), and the load allocation mapping table is updated. Thereafter, the data center 21 102 starts providing the service to the user (605) and enables the user to acquire the service (510). Among them, the upstream and downstream load traffic 608 and 607 are transferred based on the existing record in the load allocation mapping table in the same manner when passing through the balancing device 31 113.

図15は図11、図13と似ており、異なる点は要求を受けるのはデータセンター31 104の兄弟サイトデータセンター32 105である。図15に示すように、最初にユーザグループ1 111(そのうちの一つもしくは複数のユーザ、あるいはそれらのエージェントでよい)により接続要求を発信し(701)、SYNメッセージ702をデータセンター31 104に送信する。データセンター31 104の均衡装置31 113の通信インターフェース201によりSYNメッセージ702を受信した後、処理ユニット203は記憶装置204に記憶されている情報と受信したSYNメッセージ702のヘッダ情報に基づいてSYNメッセージ702を分析し、当該要求が処理容量を超えていることに気付き、親サイト即ちデータセンター21 102によって当該接続要求を処理することを決定する(703)。その後、処理ユニット203により負荷割り当てマッピングテーブルを更新し、転送ユニット202により、更新された負荷割り当てマッピングテーブルに基づいてSYNメッセージ702を処理し、通信インターフェース201により処理後のSYNメッセージ702をデータセンター21 102に転送する。同じく、データセンター21 102の均衡装置21 117によりSYNメッセージ702を受信した後に、当該要求が処理容量を超えていることに気付き、その他の子サイト即ちデータセンター32 105によって当該接続要求を処理することを決定する(704)。その後負荷割り当てマッピングテーブルを更新し、更新された負荷割り当てマッピングテーブルに基づいてSYNメッセージ702を処理し、処理後のSYNメッセージ702をデータセンター32 105に転送する。データセンター32 105において、均衡装置32 119がSYNメッセージ702に対して行なわれる処理方法は図11と似ており、ローカルサイトのサーバを選択して当該接続要求を処理する(705)。その後、データセンター32 105は応答メッセージSYN−ACK 706をユーザに送信し、均衡装置21 117と均衡装置31 113を介してさらにユーザグループ1 111に送信され、そのうち、均衡装置21 117と均衡装置31 113を経由する際に、各自の負荷割り当てマッピングテーブルの中の既存の記録に基づいてヘッダアドレス情報が修正される。ユーザグループ1 111は応答メッセージSYN−ACK706を受信した後にクライアント端末に接続を確立し(707)、再び応答メッセージACK 708を送信する。応答メッセージACK 708が均衡装置31 113と均衡装置21 117を経由する際に、各自の負荷割り当てマッピングテーブルの中の既存記録に基づいてヘッダアドレス情報が修正される。最後にサーバ端末は接続を確立し(709)、ユーザにサービスの提供を開始し(710)、ユーザがサービスを取得できるようにする(711)。そのうちの上りと下りの負荷トラフィック712は均衡装置31 113と均衡装置21 117を経由する際に、同様に負荷割り当てマッピングテーブルの中の既存記録に基づいて転送される。   FIG. 15 is similar to FIGS. 11 and 13 except that the sibling site data center 32 105 of the data center 31 104 receives the request. As shown in FIG. 15, first, a connection request is issued by the user group 1 111 (which may be one or a plurality of users or their agents) (701), and a SYN message 702 is transmitted to the data center 31 104. To do. After receiving the SYN message 702 by the communication interface 201 of the balancing device 31 113 of the data center 31 104, the processing unit 203 is based on the information stored in the storage device 204 and the header information of the received SYN message 702. , And notices that the request exceeds the processing capacity, and decides to process the connection request by the parent site or data center 21102 (703). Thereafter, the processing unit 203 updates the load allocation mapping table, the transfer unit 202 processes the SYN message 702 based on the updated load allocation mapping table, and the communication interface 201 converts the processed SYN message 702 to the data center 21. 102. Similarly, after receiving the SYN message 702 by the balancing device 21 117 of the data center 21 102, notice that the request exceeds the processing capacity and process the connection request by other child sites or data centers 32 105. Is determined (704). Thereafter, the load allocation mapping table is updated, the SYN message 702 is processed based on the updated load allocation mapping table, and the processed SYN message 702 is transferred to the data center 32 105. In the data center 32 105, the processing method performed by the balancing device 32 119 for the SYN message 702 is similar to that in FIG. 11, and a server at the local site is selected to process the connection request (705). Thereafter, the data center 32 105 transmits a response message SYN-ACK 706 to the user and further transmitted to the user group 1 111 via the balancing device 21 117 and the balancing device 31 113, of which the balancing device 21 117 and the balancing device 31. When passing through 113, the header address information is modified based on the existing records in the respective load allocation mapping table. The user group 1 111 establishes a connection with the client terminal after receiving the response message SYN-ACK 706 (707), and transmits the response message ACK 708 again. When the response message ACK 708 passes through the balancing device 31 113 and the balancing device 21 117, the header address information is modified based on the existing record in the respective load allocation mapping table. Finally, the server terminal establishes a connection (709), starts providing services to the user (710), and allows the user to acquire the service (711). Among them, the upstream and downstream load traffic 712 is transferred based on the existing record in the load allocation mapping table when passing through the balancing device 31 113 and the balancing device 21 117.

図16は図12、図14と似ており、異なる点は要求を受けるのはデータセンター31 104の兄弟サイトデータセンター32 105である。図16に示すように、最初にユーザグループ1 111(そのうちの一つもしくは複数のユーザ、あるいはそれらのエージェントでよい)によりパケットの送信を開始し(801)、上りトラフィック802をデータセンター31 104に送信する。データセンター31 104の均衡装置31 113の通信インターフェース201により上りトラフィック802を受信した後、処理ユニット203は記憶装置204に記憶されている情報と受信した上りトラフィック802のヘッダ情報に基づいて上りトラフィック802を分析し、当該要求が処理容量を超えていることに気付き、親サイト即ちデータセンター21 102によって当該接続要求を処理することを決定する(803)。その後、処理ユニット203により負荷割り当てマッピングテーブルを更新し、転送ユニット202により、更新された負荷割り当てマッピングテーブルに基づいて上りトラフィック802を処理し、通信インターフェース201により処理後の上りトラフィック802をデータセンター21 102に転送する。同じく、データセンター21 102の均衡装置21 117により上りトラフィック802を受信した後に、当該要求が処理容量を超えていることに気付き、その他の子サイト即ちデータセンター32 105によって当該接続要求を処理することを決定する(804)。その後負荷割り当てマッピングテーブルを更新し、更新された負荷割り当てマッピングテーブルに基づいて上りトラフィック802を処理し、処理後の上りトラフィック802をデータセンター32 105に転送する。データセンター32 105において、均衡装置21 117が上りトラフィック802に対して行なわれる処理方法は図12と似ており、これは新しいデータフローであることを識別し、ローカルサイトのサーバを選択して当該接続要求を処理し(805)、負荷割り当てマッピングテーブルを更新する。その後、データセンター32 105はユーザにサービスの提供を開始し(806)、ユーザがサービスを取得できるようにする(807)。そのうちの上りと下りの負荷トラフィック808と809は均衡装置31 113と均衡装置21 117を経由する際に、同様に負荷割り当てマッピングテーブルの中の既存の記録に基づいて転送される。   FIG. 16 is similar to FIG. 12 and FIG. 14 except that the sibling site data center 32 105 of the data center 31 104 receives the request. As shown in FIG. 16, first, transmission of a packet is started by the user group 1 111 (which may be one or a plurality of users or their agents) (801), and the upstream traffic 802 is transferred to the data center 31 104. Send. After receiving the upstream traffic 802 by the communication interface 201 of the balancing device 31 113 of the data center 31 104, the processing unit 203 is based on the information stored in the storage device 204 and the received header information of the upstream traffic 802. And recognizes that the request exceeds the processing capacity, and decides to process the connection request by the parent site, that is, the data center 21102 (803). Thereafter, the load allocation mapping table is updated by the processing unit 203, the upstream traffic 802 is processed based on the updated load allocation mapping table by the transfer unit 202, and the processed upstream traffic 802 is processed by the communication interface 201 in the data center 21. 102. Similarly, after receiving the upstream traffic 802 by the balancing device 21 117 of the data center 21 102, notice that the request exceeds the processing capacity and process the connection request by the other child sites or data centers 32 105. Is determined (804). Thereafter, the load allocation mapping table is updated, the upstream traffic 802 is processed based on the updated load allocation mapping table, and the processed upstream traffic 802 is transferred to the data center 32 105. In the data center 32 105, the processing performed by the balancing device 21 117 for the upstream traffic 802 is similar to FIG. 12, which identifies this as a new data flow, selects the local site server and The connection request is processed (805), and the load allocation mapping table is updated. Thereafter, the data center 32 105 starts providing the service to the user (806) and allows the user to acquire the service (807). Among them, the upstream and downstream load traffic 808 and 809 are transferred based on the existing records in the load allocation mapping table when passing through the balancing device 31 113 and the balancing device 21 117.

上述のように、本発明に係わる負荷均衡装置、負荷均衡方法および階層化データセンターシステムによると、上述の負荷割り当て処理を実現することができる。これにより、階層化データセンターシステムのサービス効率が向上する。   As described above, according to the load balancing apparatus, the load balancing method, and the hierarchical data center system according to the present invention, the above-described load allocation process can be realized. This improves the service efficiency of the hierarchical data center system.

上述の各実施形態において、現在データセンターの負荷均衡装置は、以下の方法によってその他のデータセンターのリソース使用状態およびリンク状態を取得することができる。例えば、各データセンターの負荷均衡装置はローカルデータセンターのリソースデータおよびローカルデータセンター出口ルータのポートバンド幅データをリアルタイムに収集し、収集された情報を記憶装置(例えば、記憶装置に記憶されているサイト容量テーブルとネットワークリンク状態テーブル)に記憶し、状態情報を自分の上層データセンターに随時もしくは周期的(例えば10秒毎)に送信して上述の情報を報告し、同時に、下層データセンターからの情報を自分の記憶装置に更新しておく。   In each of the above-described embodiments, the load balancer of the current data center can acquire the resource usage status and link status of other data centers by the following method. For example, each data center load balancer collects local data center resource data and local data center egress router port bandwidth data in real time, and the collected information is stored in a storage device (eg, storage device). Site capacity table and network link status table), send status information to your upper data center at any time or periodically (eg every 10 seconds) to report the above information, Update the information in your storage device.

上述の各実施形態において、階層化データセンターシステムに含まれているデータセンター(即ちサイト)の数は七つであるが、本発明は、これに限定されるものではなく、階層化方法によって階層化データセンターシステムを構成できればよく、その他の数でもよい。   In each of the embodiments described above, the number of data centers (that is, sites) included in the hierarchical data center system is seven. However, the present invention is not limited to this, and the hierarchy is determined by the hierarchical method. Any other number may be used as long as the data center system can be configured.

上述の各実施形態において、階層化データセンターシステムに含まれているデータセンターはツリート型ポロジーによって接続されているが、本発明は、これに限定されるものではなく、階層化方法によって接続すればよく、混合接続方法などのその他の接続方法によって接続されてもよい。   In each of the above-described embodiments, the data centers included in the hierarchical data center system are connected by a tree type topology, but the present invention is not limited to this, and the data centers may be connected by a hierarchical method. Well, it may be connected by other connection methods such as a mixed connection method.

上述の各実施形態において、負荷均衡装置は相応するデータセンター(第一のデータセンター)内部に設置されているが、本発明においては、負荷均衡装置が相応するデータセンター(第一のデータセンター)に伝送された負荷トラフィックに対して割り当てを行なうことができればよく、当該データセンターの外部に設置されてもよい。   In each of the above-described embodiments, the load balancer is installed in the corresponding data center (first data center). However, in the present invention, the load balancer corresponds to the data center (first data center). As long as it can be allocated to the load traffic transmitted to the network, it may be installed outside the data center.

上述の各実施形態において、図に示すようなメッセージフォーマットとテーブルフォーマットを採用しているが、本発明は、これに限定されるものではなく、相応する情報を表示できればよく、その他のメッセージフォーマットとテーブルフォーマットを採用してもよい。   In each of the above-described embodiments, the message format and the table format shown in the figure are adopted. However, the present invention is not limited to this, and it is only necessary to display corresponding information. A table format may be adopted.

上述の各実施形態において、データセンターのローカルサーバのCPU使用率と記憶装置使用率の算術平均値に基づいて当該データセンターのリソース使用状態を計算する方法を採用しているが、本発明は、これに限定されるものではなく、例えば、ローカルサーバのCPU使用率、記憶装置使用率および要求処理速度の中の一つもしくは複数に基づいて計算し、あるいはその他のパラメータを追加して計算してもよい。   In each of the above-described embodiments, a method of calculating the resource usage state of the data center based on the arithmetic average value of the CPU usage rate and the storage device usage rate of the local server of the data center is employed. For example, the calculation is based on one or more of the CPU usage rate, the storage device usage rate, and the requested processing speed of the local server, or by adding other parameters. Also good.

Claims (12)

階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、前記複数のデータセンターの中の負荷均衡装置に対応する現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう負荷均衡装置であって、
前記負荷均衡装置は、前記現在データセンターと、前記現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターとのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう
ことを特徴とする負荷均衡装置。
For load traffic transmitted to a current data center corresponding to a load balancing device in the plurality of data centers, which is used in a hierarchical data center system configured by connecting a plurality of data centers by a layering method. A load balancer for performing the allocation,
The load balancer is configured to load traffic transmitted to the current data center based on a resource usage state between the current data center and a lower data center connected to the current data center and positioned below the current data center. A load balancer characterized in that assignment is made to.
前記負荷均衡装置は、さらに前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する上層データセンターとの間のリンク状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう
ことを特徴とする請求項1に記載の負荷均衡装置。
The load balancer further includes the current data center based on a link state between the current data center and an upper data center connected to the lower data center and the current data center and located in an upper layer of the current data center. 2. The load balancing apparatus according to claim 1, wherein allocation is performed for load traffic transmitted to the center.
前記負荷均衡装置は、さらに負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう
ことを特徴とする請求項1または2に記載の負荷均衡装置。
3. The load according to claim 1, wherein the load balancer further allocates the load traffic transmitted to the current data center based on a protocol type of a packet constituting the load traffic. 4. Equilibrium device.
前記負荷均衡装置は、ネットワーク層のヘッダ情報を利用して負荷トラフィックを構成するパケットのプロトコル種別を判定する
ことを特徴とする請求項3に記載の負荷均衡装置。
The load balancing apparatus according to claim 3, wherein the load balancing apparatus determines a protocol type of a packet constituting the load traffic using header information of a network layer.
前記現在データセンターのリソース使用状態が所定の第一の閾値以下である場合、前記負荷均衡装置は前記現在データセンターに伝送された負荷トラフィックを現在データセンターに割り当て、
前記現在データセンターのリソース使用状態が前記第一の閾値より大きく且つ前記第一の閾値より大きい所定の第二の閾値以下である場合、前記負荷均衡装置は前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する前記上層データセンターとの間のリンク状態、及び/または負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行ない、
前記現在データセンターのリソース使用状態が所定の第二の閾値より大きい場合、前記負荷均衡装置は前記下層データセンターのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックを前記下層データセンターあるいは前記上層データセンターに割り当てる
ことを特徴とする請求項1に記載の負荷均衡装置。
If the resource usage state of the current data center is less than or equal to a predetermined first threshold, the load balancer assigns load traffic transmitted to the current data center to the current data center;
If the resource usage state of the current data center is less than a predetermined second threshold value that is greater than the first threshold value and greater than the first threshold value, the load balancer is configured to include the current data center and the lower data center. And transmission to the current data center based on the link status between the upper data center connected to the current data center and located in the upper layer of the current data center and / or the protocol type of the packet constituting the load traffic The assigned load traffic,
When the resource usage state of the current data center is larger than a predetermined second threshold, the load balancer converts the load traffic transmitted to the current data center based on the resource usage state of the lower layer data center to the lower layer data. 2. The load balancing apparatus according to claim 1, wherein the load balancing apparatus is assigned to a center or the upper data center.
少なくとも負荷トラフィックと状態メッセージを含むパケットを送受信する通信インターフェースと、
前記パケットの少なくとも送信元アドレスと宛先アドレスを含むヘッダ情報を変更する転送ユニットと、
前記現在データセンターのリソース使用状態および前記状態メッセージによって取得した前記下層データセンターのリソース使用状態が記憶さている記憶装置と、
前記記憶装置に記憶されているリソース使用状態および前記通信インターフェースにより受信したパケットのヘッダ情報に基づいて、前記転送ユニットの負荷トラフィックを構成するパケットに対する割り当てを制御する処理ユニットと、を備える
ことを特徴とする請求項1に記載の負荷均衡装置。
A communication interface for sending and receiving packets including at least load traffic and status messages;
A transfer unit for changing header information including at least a source address and a destination address of the packet;
A storage device that stores the resource usage status of the current data center and the resource usage status of the lower data center acquired by the status message;
A processing unit that controls allocation of packets constituting the load traffic of the transfer unit based on a resource usage state stored in the storage device and header information of the packet received by the communication interface. The load balancing apparatus according to claim 1.
階層化方法によって複数のデータセンターを接続して構成された階層化データセンターシステムに用いられ、前記複数のデータセンターの中の現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう負荷均衡方法であって、
前記現在データセンターと、前記現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターとのリソース使用状態を判定する判定ステップと、
前記判定ステップの判定結果に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう割り当てステップと、を含む
ことを特徴とする負荷均衡方法。
A load balancing method used in a hierarchical data center system configured by connecting a plurality of data centers by a hierarchical method, and allocating load traffic transmitted to a current data center among the plurality of data centers Because
A determination step of determining a resource usage state of the current data center and a lower data center connected to the current data center and located in a lower layer of the current data center;
An allocation step of allocating load traffic transmitted to the current data center based on a determination result of the determination step.
前記判定ステップにおいて、さらに前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する前記上層データセンターとの間のリンク状態に対して判定を行なう
ことを特徴とする請求項7に記載の負荷均衡方法。
In the determination step, a determination is further made on a link state between the current data center and the lower data center and the upper data center connected to the current data center and positioned in the upper layer of the current data center. The load balancing method according to claim 7.
前記判定ステップにおいて、さらに負荷トラフィックを構成するパケットのプロトコル種別に対して判定を行なう
ことを特徴とする請求項7または8に記載の負荷均衡方法。
9. The load balancing method according to claim 7 or 8, wherein in the determination step, determination is further made for a protocol type of a packet constituting load traffic.
前記判定ステップにおいて、ネットワーク層のヘッダ情報を利用して負荷トラフィックを構成するパケットのプロトコル種別を判定する
ことを特徴とする請求項9に記載の負荷均衡方法。
10. The load balancing method according to claim 9, wherein in the determination step, a protocol type of a packet constituting the load traffic is determined using header information of the network layer.
前記判定ステップにおいて、前記現在データセンターのリソース使用状態が所定の第一の閾値以下であると判定した場合、前記割り当てステップは前記現在データセンターに伝送された負荷トラフィックを現在データセンターに割り当て、
前記判定ステップにおいて、前記現在データセンターのリソース使用状態が前記第一の閾値より大きく且つ前記第一の閾値より大きい所定の第二の閾値以下であると判定した場合、前記割り当てステップは前記現在データセンターと、前記下層データセンターおよび前記現在データセンターに接続され且つ現在データセンターの上層に位置する前記上層データセンターとの間のリンク状態、及び/または負荷トラフィックを構成するパケットのプロトコル種別に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行ない、
前記判定ステップにおいて、前記現在データセンターのリソース使用状態が所定の第二の閾値より大きいと判定した場合、前記割り当てステップは前記下層データセンターのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックを前記下層データセンターあるいは前記上層データセンターに割り当てる
ことを特徴とする請求項7に記載の負荷均衡方法。
In the determination step, when it is determined that the resource usage state of the current data center is equal to or less than a predetermined first threshold, the allocation step allocates load traffic transmitted to the current data center to the current data center,
In the determination step, when it is determined that the resource usage state of the current data center is less than a predetermined second threshold value that is greater than the first threshold value and greater than the first threshold value, the allocation step determines that the current data center Based on the link status between the center and the lower layer data center and the upper layer data center connected to the current data center and located in the upper layer of the current data center, and / or the protocol type of the packet constituting the load traffic Assigns to the load traffic currently transmitted to the data center,
In the determination step, when it is determined that the resource usage status of the current data center is greater than a predetermined second threshold, the allocation step is transmitted to the current data center based on the resource usage status of the lower layer data center. The load balancing method according to claim 7, wherein the load traffic is allocated to the lower layer data center or the upper layer data center.
階層化方法によって複数のデータセンターを接続して構成され、各データセンターとそれぞれ対応する複数の負荷均衡装置を含む階層化データセンターシステムであって、
各負荷均衡装置は、本負荷均衡装置に対応する現在データセンターと、前記現在データセンターに接続され且つ現在データセンターの下層に位置する下層データセンターとのリソース使用状態に基づいて、前記現在データセンターに伝送された負荷トラフィックに対して割り当てを行なう
ことを特徴とする階層化データセンターシステム。
A hierarchical data center system configured by connecting a plurality of data centers by a tiering method and including a plurality of load balancing devices respectively corresponding to the data centers,
Each load balancer is configured to use the current data center based on a resource usage state between a current data center corresponding to the load balancer and a lower data center connected to the current data center and positioned below the current data center. A hierarchical data center system characterized by allocating load traffic transmitted to a network.
JP2013010061A 2012-02-15 2013-01-23 Load balancing device, load balancing method and hierarchized data center system Pending JP2013168139A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012100342029A CN103259809A (en) 2012-02-15 2012-02-15 Load balancer, load balancing method and stratified data center system
CN201210034202.9 2012-02-15

Publications (1)

Publication Number Publication Date
JP2013168139A true JP2013168139A (en) 2013-08-29

Family

ID=48963506

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013010061A Pending JP2013168139A (en) 2012-02-15 2013-01-23 Load balancing device, load balancing method and hierarchized data center system

Country Status (2)

Country Link
JP (1) JP2013168139A (en)
CN (1) CN103259809A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320301A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Intranet special line flow monitoring method and system
JP2016082280A (en) * 2014-10-10 2016-05-16 株式会社リコー Communication system, management server, and communication method
US20180191810A1 (en) * 2017-01-05 2018-07-05 Bank Of America Corporation Network Routing Tool
CN110178118A (en) * 2017-01-17 2019-08-27 微软技术许可有限责任公司 Hardware-implemented load balancing
CN111431814A (en) * 2020-03-18 2020-07-17 紫光云技术有限公司 Method for realizing outbound load balancing of P2P flow
TWI724106B (en) * 2016-03-25 2021-04-11 香港商阿里巴巴集團服務有限公司 Business flow control method, device and system between data centers
CN113093682A (en) * 2021-04-09 2021-07-09 天津商业大学 Non-centralized recursive dynamic load balancing calculation framework
CN113724485A (en) * 2021-09-03 2021-11-30 重庆邮电大学 Rapid intensive information acquisition method

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135406B (en) * 2014-08-01 2017-10-03 浪潮(北京)电子信息产业有限公司 A kind of monitoring data transfer approach and device
CN107295042B (en) * 2016-03-31 2021-12-14 阿里巴巴集团控股有限公司 A method and apparatus for allocating data center to users
JP6680908B2 (en) * 2016-06-10 2020-04-15 テレフオンアクチーボラゲット エルエム エリクソン(パブル) Hierarchical data collectors and related techniques for use in real-time data collection
CN106982171B (en) * 2017-04-28 2019-08-13 中国人民解放军信息工程大学 A kind of flow equalization method and device of descendant node information Perception
CN107465566B (en) * 2017-06-21 2020-06-19 深圳市盛路物联通讯技术有限公司 A filtering control method and routing node for Internet of Things data
CN107528884B (en) * 2017-07-14 2020-08-07 北京三快在线科技有限公司 User request processing method and device of aggregation server
CN107592370A (en) * 2017-10-31 2018-01-16 郑州云海信息技术有限公司 A kind of network load balancing method and device
CN108259336B (en) * 2017-11-22 2020-12-29 新华三技术有限公司 Data center interconnection method and device
CN109951370B (en) * 2017-12-21 2022-07-05 博元森禾信息科技(北京)有限公司 Hierarchical interconnection method and device for big data centers
CN109714216A (en) * 2019-01-24 2019-05-03 江苏中云科技有限公司 A kind of mixing cloud service system of double-layer structure
CN112217843B (en) * 2019-07-09 2023-08-22 阿里巴巴集团控股有限公司 Service unit switching method, system and equipment
CN111654527B (en) * 2020-05-12 2024-06-28 深圳前海微众银行股份有限公司 Message receiving and transmitting method and device
CN112491601B (en) * 2020-11-16 2022-08-30 北京字节跳动网络技术有限公司 Traffic topology generation method and device, storage medium and electronic equipment
CN112671704B (en) * 2020-11-18 2022-11-15 国网甘肃省电力公司信息通信公司 Attack-aware mMTC slice resource allocation method and device and electronic equipment
CN115967680B (en) * 2021-10-12 2025-09-16 中国移动通信有限公司研究院 Flow scheduling method and central site equipment
CN115801792A (en) * 2022-11-11 2023-03-14 电子科技大学中山学院 A structure, device and method for interconnection of wireless and wired fusion data centers

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7174378B2 (en) * 2000-05-29 2007-02-06 Nitgen Technologies, Inc. Co-location service system equipped with global load balancing (GLB) function among dispersed IDCS
CN101009648A (en) * 2006-12-27 2007-08-01 北京航空航天大学 Multi-server hierarchical alterative load balance method
CN101325552B (en) * 2008-08-01 2011-03-30 杭州华三通信技术有限公司 Triangle forwarding method for access request and GLB server
CN101980505A (en) * 2010-10-22 2011-02-23 中山大学 A load balancing method for video on demand based on 3Tnet
CN102035737A (en) * 2010-12-08 2011-04-27 北京交通大学 Adaptive load balancing method and device based on cognitive network

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016082280A (en) * 2014-10-10 2016-05-16 株式会社リコー Communication system, management server, and communication method
US10187392B2 (en) 2014-10-10 2019-01-22 Ricoh Company, Ltd. Communications system, management server, and communications method
CN104320301B (en) * 2014-10-31 2018-06-22 北京思特奇信息技术股份有限公司 A kind of Intranet special line flux monitoring method and system
CN104320301A (en) * 2014-10-31 2015-01-28 北京思特奇信息技术股份有限公司 Intranet special line flow monitoring method and system
TWI724106B (en) * 2016-03-25 2021-04-11 香港商阿里巴巴集團服務有限公司 Business flow control method, device and system between data centers
US11102285B2 (en) * 2017-01-05 2021-08-24 Bank Of America Corporation Network routing tool
US20180191810A1 (en) * 2017-01-05 2018-07-05 Bank Of America Corporation Network Routing Tool
CN110178118A (en) * 2017-01-17 2019-08-27 微软技术许可有限责任公司 Hardware-implemented load balancing
CN110178118B (en) * 2017-01-17 2023-06-23 微软技术许可有限责任公司 Hardware implemented load balancing
CN111431814A (en) * 2020-03-18 2020-07-17 紫光云技术有限公司 Method for realizing outbound load balancing of P2P flow
CN113093682A (en) * 2021-04-09 2021-07-09 天津商业大学 Non-centralized recursive dynamic load balancing calculation framework
CN113093682B (en) * 2021-04-09 2022-07-05 天津商业大学 Non-centralized recursive dynamic load balancing computing system
CN113724485A (en) * 2021-09-03 2021-11-30 重庆邮电大学 Rapid intensive information acquisition method

Also Published As

Publication number Publication date
CN103259809A (en) 2013-08-21

Similar Documents

Publication Publication Date Title
JP2013168139A (en) Load balancing device, load balancing method and hierarchized data center system
CN114090244B (en) Service arrangement method, device, system and storage medium
CN111345012B (en) System and method for DNS resolution using link-level capacity of destination system
CN109618002B (en) Micro-service gateway optimization method, device and storage medium
US11463511B2 (en) Model-based load balancing for network data plane
US7890656B2 (en) Transmission system, delivery path controller, load information collecting device, and delivery path controlling method
CN106998263B (en) System and method for maintaining network service level
JP2013168934A (en) Load-balancing device and load-balancing method
CN102726031A (en) Content processing method, device and system
JP2004171572A (en) Load distribution method between servers, load distribution system, load distribution server and program
CN109274707A (en) A kind of load dispatching method and device
WO2002098058A2 (en) System and method for efficient wide area network routing
CN103024001A (en) Business scheduling method and device, and fusion equipment
CN111182022B (en) Data transmission method and device, storage medium and electronic device
US7826465B2 (en) Methods, systems and computer program products for dynamic communication data routing by a multi-network remote communication terminal
CN104539531A (en) Data transmission method and device
CN110417676A (en) A kind of dispatching method, device and dispatch network
Xie et al. Supporting seamless virtual machine migration via named data networking in cloud data center
JP2021523619A (en) Systems and methods for propagating data packets in a node&#39;s network
CN108259372A (en) A kind of multi-link load balance system and method
JP5154313B2 (en) SIP message distribution method and SIP message distribution apparatus
CN108989438A (en) Implementation method, the device and system of data distribution network
CN103401799A (en) Method and device for realizing load balance
CN104270312B (en) Support relay route distribution system and method that flow optimization and application are perceived
CN115996188A (en) Business scheduling method, device, equipment and computer-readable storage medium

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20140908