WO2004093394A1 - Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program - Google Patents

Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program Download PDF

Info

Publication number
WO2004093394A1
WO2004093394A1 PCT/JP2003/004689 JP0304689W WO2004093394A1 WO 2004093394 A1 WO2004093394 A1 WO 2004093394A1 JP 0304689 W JP0304689 W JP 0304689W WO 2004093394 A1 WO2004093394 A1 WO 2004093394A1
Authority
WO
WIPO (PCT)
Prior art keywords
server
route
data relay
information
load information
Prior art date
Application number
PCT/JP2003/004689
Other languages
French (fr)
Japanese (ja)
Inventor
Toshihiko Kurita
Hirokazu Iwakura
Hiroyuki Yamashima
Eiki Iwata
Original Assignee
Fujitsu Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Limited filed Critical Fujitsu Limited
Priority to PCT/JP2003/004689 priority Critical patent/WO2004093394A1/en
Priority to JP2004570860A priority patent/JP4080487B2/en
Publication of WO2004093394A1 publication Critical patent/WO2004093394A1/en
Priority to US11/070,672 priority patent/US20050169254A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/101Server selection for load balancing based on network conditions

Definitions

  • Data relay device Description Data relay device, data relay method, data relay program, service selection device, service selection method, and service selection program
  • the present invention relates to a data relay device or the like applied to an information communication system comprising a combination of a server, a client, and a network, and more particularly to a data relay device provided between a plurality of servers and a client, from a client to one of the servers.
  • the present invention relates to a data relay device, a method, and a program for relaying a connection request.
  • the present invention relates to a service selection device, a method, and a program for selecting at least one server from a plurality of servers and a route to the server.
  • Server load balancing control is performed to distribute connection requests (hereinafter referred to as information requests) accessed by an address (for example, a virtual IP (VIP) address) to one of these multiple servers.
  • VIP virtual IP
  • this load balancing control especially in a system where the system is large and the geographical distribution of user sites and server sites is expanding, efficient distribution between servers and server sites deployed over a wide area It is necessary to perform load distribution.
  • This system is a system that connects information system sites that are widely distributed. You.
  • This system connects regional IDCs and connects regional IDCs to center IDCs.
  • the above-mentioned distribution to the wide-area site server is performed by the GW (Gateway; data relay device) in FIG.
  • the following is known as a conventional technique for constructing the above system.
  • A Wide area load distribution technology This technology distributes the load between servers and server sites deployed in a wide area.
  • DNS round-mouth bin method in which DNS responses are distributed by sequentially turning them among a plurality of servers, and a method in which server loads are periodically collected and distributed to the location with the smallest load are used.
  • the DNS response to the server is simply returned in a predetermined order without considering both server load and route load.
  • the destination server is determined only by the server load without considering the path load.
  • no route can be selected in either method, and only a single route uniquely determined by the IP routing described below is used.
  • This technology monitors the route load at the network level and, when it is determined that the traffic is congested, distributes some of the load to alternate routes and distributes the load between routes. This technology optimizes only the path load, and does not control the server status or individual flows.
  • routing information is exchanged between routers, and only the route that minimizes a single evaluation criterion (such as the number of hops) is used continuously. Generally, consider multiple routes do not do.
  • This technology relates to a routing protocol based on multiple criteria for QoS (quality of service). Although a plurality of evaluation criteria for the network are used, which route is selected is determined based on whether or not each evaluation criterion satisfies a certain condition (is within a predetermined range). In general, the solution is not uniquely determined, and you choose something that is not so bad.
  • the above conventional technique has the following problems.
  • Technology that selects services based only on routes such as traffic engineering in (a) above, IP routing in ( ⁇ ), or server load information only, as in (a) server load method.
  • a service is selected based on only one of the path load and the server load, so that the load of the other one of the path load and the server load increases in the selected service. If so, the service quality will be degraded. For example, if a service (server and route) is selected based only on server load information, the service will continue to be used even if the route is congested. Lig will occur. Therefore, resources cannot be effectively used by a technology that selects a service based on only the load information of the route or the load information of the server.
  • service selection based on multiple evaluation criteria in QOSPF involves selecting services based on whether or not the conditions are satisfied for each evaluation criterion.
  • the branch judgment and the amount of calculation are increased, and it takes time to converge.
  • the present invention has been made in order to solve the above-described problems.
  • the present invention collects load information of one or more resources related to a server and a route, and then composites the plurality of load information.
  • a data relay device, a data relay method, and a data relay program capable of judging and selecting a service (a server and a route) to effectively use resources and maintain service quality, and a service selection device, a service selection method, and It aims to provide a service selection program. Disclosure of the invention
  • a data relay device is a data relay device that is provided between a plurality of servers and a client, and relays a connection request from a client to any of the servers.
  • An information collection unit that collects load information on each of the server and a route from the data relay device to the server; and a server that receives the load information from the client based on the load information collected by the information collection unit. It is provided with at least one server and a service selection unit for selecting a route to the server in response to a connection request.
  • the service (server and route) is selected by judging the plurality of load information in a complex manner. Effective use of resources and maintenance of service quality can be achieved.
  • the service selection unit calculates a remaining capacity ratio for each server and each route based on the load information, and calculates a product operation value of the obtained remaining capacity ratios. Is calculated for a plurality of combinations of each server and each route, and the at least one server and a route to the server are selected based on the calculated product operation value.
  • a single evaluation criterion value (preference value) can be derived from a plurality of evaluation criteria based on load information. Comparative evaluation can be easily performed. With this reference value, it is possible to select options based on resource utilization rates such as servers and routes, and services can be allocated so that the resource utilization rates are equal. In addition, the superiority of options when combining multiple evaluation criteria can be easily compared based on a single reference value.
  • the service selection unit acquires load information or a change in the remaining capacity ratio of the predetermined server and the path to the server when the unit number of connection requests is received.
  • the remaining capacity ratio when there is a connection request from the client is calculated based on the change, the remaining capacity ratio based on the load information already acquired, and the change in the number of connection requests. It is characterized by
  • the service selection unit calculates a difference between a product operation value of the remaining capacity ratio before and after accepting a connection request, and based on the difference value, at least one server and the server It is characterized by selecting the route to it.
  • the service selection unit may be configured to: load information collected at a first point in time, the number of connection requests at that time, and a second Based on the difference between the load information collected at the time and the number of connection requests at that time, the load information or the remaining capacity ratio of the predetermined server and the route to the server when the unit number of connection requests are received. Is calculated and obtained.
  • a decrease in the remaining capacity ratio of each resource is determined by feedback control based on a measurement result. It is possible to calculate, and more strict predictive control can be realized as compared with the case where it is held at a fixed value.
  • the service selecting unit when calculating the remaining capacity rate, acquires a resource utilization rate associated with the load information, and defines the resource utilization rate as a parameter Xi.
  • the resource utilization rate is weighted, and the remaining capacity rate is calculated by 11 F (xi).
  • the data relay device of the present invention monitors the product operation value of the remaining capacity ratio for the combination of the server and the route, and when the monitored value falls below a predetermined value, among the resources of the combination. It is characterized by determining that congestion has occurred and switching the communication connection path to another path.
  • the service selecting unit further selects a server and a route to the server based on policy information defined for service allocation. .
  • the load information includes at least one of a CPU load ratio, a disk usage ratio, and the number of connections for the server.
  • the route may include at least one of a used bandwidth and a route delay
  • the server includes a server load aggregating unit that aggregates load information from a plurality of application servers. It can be characterized by being configured with an SLB server that has it.
  • the present invention is a data relay method provided between a plurality of servers and a client, wherein the data relay method relays a connection request from a client to any one of the servers.
  • An information collection step of collecting load information on each of the routes to the server; and at least one connection request from the client based on the load information collected by the information collection step.
  • a service selection step of selecting a route to the server.
  • the service selecting step is a step of calculating a remaining capacity ratio for each server and each route based on the load information, and a product operation value of the obtained remaining capacity ratio is calculated for each server and each route. And a step of selecting the at least one server and a route to the server based on the calculated product operation value.
  • the service selecting step includes a step of acquiring a change in load information or a remaining capacity ratio of a predetermined server and a path to the server when a unit number of connection requests are received; A step of calculating the remaining capacity ratio when there is a connection request from the client, based on the remaining capacity ratio based on the load information that has already been acquired and the change in the number of connection requests. It is a feature.
  • the service selecting step includes a step of calculating a difference between the product operation values of the remaining capacity ratio before and after accepting a connection request, and at least one server and a route to the server based on the difference value. And a selecting step.
  • the step of obtaining the change in the remaining capacity ratio includes: collecting load information at a first time and the number of connection requests at that time; and loading information at a second time. And the number of connection requests at that time.
  • a predetermined server based on the difference between the load information and the number of connection requests collected at the time point and the load information and the number of connection requests collected at the second time point, when the connection request of the unit number is received.
  • a resource usage rate associated with the load information is acquired, and a function F having the resource usage rate as a parameter X i is introduced. Weighting the resource utilization rate and calculating a remaining capacity rate by using 11 F (X i).
  • the service selecting step further comprises a step of selecting a server and a route to the server based on policy information defined for service allocation.
  • the present invention is a data relay program provided between a plurality of servers and a client, and causing a computer to relay a connection request from the client to any of the servers
  • the server comprises: An information collection step of collecting load information relating to each of the path from the data relay device to the server; and, based on the load information collected by the information collection step, for the connection request from the client,
  • the program causes a computer to execute at least one server and a service selection step of selecting a route to the server.
  • the present invention also relates to a service selection device for selecting at least one server from among a plurality of servers and a route to the server, wherein each of the plurality of servers and a route to the plurality of servers are related to each other.
  • An information collection unit for collecting load information, and at least one server and a service selection unit for selecting a route to the server based on the load information collected by the information collection unit.
  • the present invention also provides at least one server from among the plurality of servers and the server.
  • a service selection method for selecting a route in the information processing method wherein an information collection step of collecting load information on each of the plurality of servers and a route to the plurality of servers;
  • At least one server based on the load information collected by the information collecting unit and a service selection step of selecting a route to the server.
  • the present invention is a service selection program for causing a computer to select at least one server from among a plurality of servers and a route to the server, wherein the plurality of servers are connected to the plurality of servers.
  • An information collecting step of collecting load information relating to each of the paths, and a service selecting step of selecting at least one server and a path to the server based on the load information collected by the information collecting unit. Is executed.
  • the data relay device constitutes the service selecting device of the present invention, and its operation method constitutes the service selecting method of the present invention, and a program for causing a computer to execute the operation thereof is provided. Configure the service selection program. BRIEF DESCRIPTION OF THE FIGURES
  • FIG. 1 is a flowchart showing the operation principle of the present invention.
  • FIG. 2 is a functional block diagram of the data relay device to which the present invention is applied.
  • FIG. 3 is a block diagram showing the overall configuration of the embodiment.
  • FIG. 4 is a diagram showing the relationship between the server information table and the route information table.
  • FIG. 4 (a) shows the server information table
  • FIG. 4 (b) shows the configuration of the route information table. .
  • FIG. 5 is a diagram showing an example of a server information table.
  • FIG. 6 is a diagram showing an example of a route information table corresponding to the server information table of FIG.
  • FIG. 7 is a diagram showing another example of the server information table.
  • FIG. 8 is a diagram showing an example of a route information table corresponding to the server information table of FIG.
  • FIG. 9 is a flowchart showing a first operation of the service selection unit 5A shown in FIG.
  • FIG. 10 is a flowchart showing a second operation of the service selection unit different from the operation shown in FIG.
  • FIG. 11 is a flowchart showing a third operation of the service selection unit different from the operations shown in FIGS. 9 and 10.
  • FIG. 12 is a flowchart showing a fourth operation of the service selection unit different from the operations shown in FIGS. 9 to 11.
  • FIG. 13 shows a weighting function used for obtaining the above-mentioned resource utilization rate.
  • FIG. 14 is a flowchart showing a fifth operation of the service selection unit different from the operations shown in FIGS. 9 to 12.
  • FIG. 15 is an overall block diagram showing one configuration example of the present invention in more detail as an embodiment.
  • FIG. 16 is a diagram showing a bucket format applied to each route shown in FIG.
  • FIG. 17 is a diagram showing an internal functional configuration of the data relay device 1 of FIG.
  • FIG. 18 is a first specific example of a server information table and a route information table corresponding to the configuration of FIG.
  • FIG. 19 is a diagram showing a second specific example of the server information table and the route information table corresponding to FIG.
  • FIG. 20 is a diagram showing a system to which the present invention is applied
  • FIG. 20 (a) is a diagram showing a corporate information system
  • FIG. 20 (b) is a distributed IDC (Internet Data Center).
  • FIG. 20 (c) is a diagram showing a carrier system.
  • FIG. 1 is a flowchart showing the principle of operation of the present invention
  • FIG. 2 is a data diagram to which the present invention is applied.
  • the function block diagram of the data relay apparatus is shown.
  • the data relay device 1 shown in FIG. 2 includes an information collecting means 2 for collecting server load information (hereinafter referred to as server information) and route load information (hereinafter referred to as route information), and stores the collected server load information.
  • server information server load information
  • route information hereinafter referred to as route information
  • a server information database 3 to store the collected route load information
  • a route information database 4 to store the collected route load information
  • a service selecting means 5 to select a server and a route as a service based on the collected or stored information
  • (Resource) control means 6 for converting the destination address of the server, selecting a router, specifying a network, etc. to execute the provided service
  • a data transmitting / receiving unit for transmitting / receiving between a client or server (not shown) Has eight.
  • the operation of the data relay device 1 is shown in FIG. That is, in the data relay device 1, the information collecting means 1 periodically collects server information and route information (S1), and stores them in the server information database 3 and the route information database 4 as appropriate.
  • the service selection means 5 obtains the resource utilization rate of each resource (server and route) from the collected information sources (S2), and in response to the information request, determines the possible route / server combination for each resource.
  • the product operation value (preference value) of the remaining capacity ratio is calculated (S 3), and the combination of the server and the route having the maximum preference value is selected (S 4).
  • the resource control means 6 controls the resources so that the service in the combination is executed (S5), transmits the information from the data transmission / reception unit 8 to the server selected according to the selected route, and Receives information according to the route selected from the server.
  • Fig. 3 is a block diagram showing the overall configuration of this system.
  • This system includes a user client 11, various servers 12, 13, a data relay device 1 provided between the user client 11 and various servers 12, 13, and a plurality of connecting devices. It is provided with paths 14, 15, and 16.
  • the data relay device 1 includes an information collection unit 2A, a server information database 3A, a route information database 4A, a service selection unit 5A, a resource control unit 6A, and a service selection unit for selecting a service in response to an information request.
  • the information collection unit 2A periodically collects server information and route information. Examples of the server information include a CPU usage rate and a memory usage rate, and examples of the path information include information on a bandwidth usage rate and path delay.
  • the service selection unit 5A is based on the policy information (definition policy) stored in the policy information database or input as appropriate, and the status information (server information, route information) collected by the information collection unit 2A. Select an appropriate service (server, route) to be assigned to the information request (connection request) from the user client 11.
  • the resource control unit 6A performs control (selection control) for selecting a server and a route in order to implement the selected (determined) service.
  • route selection control label assignment and output interface selection for dynamically associating the received information request with the route of V LAN or IP-VP N are performed.
  • a virtual IP is converted into a real IP corresponding to each server, and the server information database 3A and the route information database 4A store server information and route information as an information table. These information tables are used to manage the server information of the distribution destination for the information request, and the route information to the server (if there are multiple routes to each server, multiple corresponding to them).
  • the information collection unit 2A collects each information, writes the information in the information tables of these databases 3A and 4A, and refers to the information when the service selection unit 5A selects (determines) a service applicable to the information request.
  • FIG. 4 is a diagram showing the relationship between the server information table and the route information table.
  • FIG. 4 (a) shows the server information table
  • FIG. 4 (b) shows the configuration of the route information table.
  • FIG. 5 shows an example of a server information table
  • FIG. 6 shows an example of a path information table corresponding to the server information table of FIG.
  • FIG. 7 shows another example of the server information table
  • FIG. 8 shows an example of the path information table corresponding to the server information table of FIG.
  • server information tables exist for each request information (for example, for each virtual IP address corresponding to the request information), and hold a list of servers having the requested information and load information of the server.
  • the route information table is pointed from each entry of the server information table as shown in FIG. 4 (b), and holds a list of routes to the server and load information of the route.
  • FIG. 6 showing the route information table indicates that two types of information, that is, the used bandwidth 61 and the delay 62 are collected. In this example, multiple routes to the server are checked using the BGP (Border Gateway Protocol) route search.
  • BGP Border Gateway Protocol
  • the difference between the server information table and the route information table shown in FIGS. 7 and 8 and the server information table and the route information table shown in FIGS. 5 and 6, respectively, is the CPU load.
  • the increment per unit request is a constant value or a rewritable value
  • the connection information has load information as a change in the number of information requests since the most recent information collection. Is a point. That is, in the server information table shown in Fig. 7, the CPU load factor increment 51a, the disk usage factor increment 52a, and the change in the number of information requests since the most recent information collection were used as variable increments.
  • FIG. 9 is a flowchart showing a first operation of the service selection unit 5A shown in FIG.
  • the operation is performed using the server information table and the route information table shown in FIGS.
  • the service selection unit 5A searches the server information table and the route information table for the information (S11).
  • the load information contained in each table is converted into a normalized utilization rate of the resource that takes a value between 0 and 1 (S12).
  • the normalized resource utilization rate (resource utilization rate) is defined and calculated as follows.
  • the CPU load rate and the disk usage rate are used as they are as the normalized usage rate.
  • the number of connections is obtained by dividing the measured number of connections by the maximum number of allowed connections. However, the measured connection If the number exceeds the maximum number of allowed connections, set to 1.
  • the bandwidth used is obtained by dividing the measured bandwidth by the link speed
  • the path delay is obtained by dividing the measured path delay by the maximum allowable path delay. It is required by However, if the measured path delay exceeds the maximum allowable path delay, it is set to 1.
  • Route load information Normalized utilization rate
  • the remaining capacity ratio of each resource is calculated as (1-1 normalized utilization rate) Is calculated.
  • the preference value P n for this combination is calculated as the product of the remaining capacity ratios of the full load information. Assuming that the normalized utilization rate of the load information i is X i, the preference value P n is represented by the following equation.
  • Pn (1-1) (1-X 2) ⁇ ⁇ ⁇ (1-X k) where X i is the normalized utilization rate of load information i. Then, Pn is compared for all combinations of (server, route), and the combination with the largest value is selected as the service to be assigned to the information request, and in order to control the actual resources, the combination shown in FIG. Start the resource control unit 6 A. If no combination satisfies the condition, the information request is rejected because there is no suitable resource. (Second operation)
  • FIG. 10 is a flowchart showing a second operation of the service selection unit different from the operation shown in FIG. In this example, the operation is performed using the server information table shown in FIG. 7 and the route information table shown in FIG.
  • the service selection unit 5A searches the server information table (FIG. 7) and the route information table (FIG. 8) for the information every time an information request from the client is received (S21). For each possible combination of route and route, the predicted values of normalized resource utilization (values between 0 and 1) for the load information (obtained at the time of the most recent information collection) included in each table were collected most recently. It is calculated from the load information, the load increment per unit information, and the increment in the number of information requests (S22). Assuming that these values for the load information i are X i, S xi, and m, the predicted value X i ′ of the normalized utilization rate of this load information including the new information request is expressed by the following equation. . In this example, the increment ( ⁇ X i) of each piece of load information per unit information request is calculated in advance as a constant value by actual measurement or the like, and the server information table and the route information table shown in FIGS. It shall be registered in.
  • P n ′ (1-X 1') (1-X 2 ') ⁇ ⁇ ⁇ (1-X k') where X i 'is a predicted value of the normalized utilization of the load information i. Then, P n ′ is compared for all combinations of (server, route), and the combination having the maximum value is selected as a service to be assigned to the information request (S 24). Then, in order to control the actual resources, the resource control unit 6A in FIG. 3 is started (S25Y, S26). If no combination satisfies the condition, The information request is rejected because there is no critical resource (S25N, S27). (Third operation)
  • FIG. 11 is a flowchart showing a third operation of the service selecting unit different from the operations shown in FIGS. 9 and 10.
  • the operation is performed using the server information table shown in FIG. 7 and the route information table shown in FIG.
  • FIG. 12 is a flowchart showing a fourth operation of the service selection unit different from the operations shown in FIGS. 9 to 11.
  • the operation is performed using the server information table shown in FIG. 7 and the route information table shown in FIG.
  • the increment ( ⁇ ⁇ ⁇ ) per unit information request (connection request) of each load information is given as a constant value in advance as described in the second operation (FIG. 10). Instead, it specifies a procedure for adaptively correcting based on load information collected periodically.
  • FIG. 13 is a diagram showing a weighting function used when obtaining the above-mentioned resource utilization rate.
  • the curve shown here represents a function formula for calculating the value used in calculating the preference value instead of the actual resource utilization rate.
  • x i is the normalized utilization rate of load information i.
  • FIG. 13 shows an example of the weighting function F.
  • y X (that is, leave the normalized utilization unchanged).
  • FIG. 14 is a flowchart showing a fifth operation of the service selection unit different from the operations shown in FIGS. 9 to 12.
  • the operation is performed using the server information and route information table shown in FIGS. 5 and 6, or the server information table and route information table shown in FIGS. 7 and 8.
  • the server information table and the route information table for are searched (S51).
  • the normalized utilization rate for the newly collected load information is calculated by the procedure shown in the operation of FIG. 1 described above (S52).
  • the remaining capacity ratio is calculated, and the preference value for this combination is calculated (S53).
  • the preference value is equal to or less than a predefined value (S54). If the preference value is equal to or less than the defined value (S54Y), it is determined that congestion occurs somewhere in the service. Then, a part of the route control of the already set connection is switched to another route (alternate route) to the same server (re-routing) (S55).
  • this route control method is not described in detail in this patent, it is not necessary to change or select a label assigned for dynamically associating the information request with a VLAN or an IP-VPN route. This is realized by changing the output interface.
  • FIG. 15 is an overall block diagram showing one configuration example of the present invention in more detail as an embodiment.
  • an access network 100 for example, a regional base network
  • the information system sites 300 and 400 where information is stored so as to be provided are connected to the Internet 200 via SLB (Session Load Balancer; server load balancer) servers 312 and 413, and internally, Distribute server load to application servers 301 to 30 m.
  • SLB Session Load Balancer; server load balancer
  • the information providing unit in which the information is stored is virtualized in two stages: the data relay device 1 and the SLB servers 312 and 413. In FIG. 15, each IP address is indicated by # 1 to # 17.
  • the packet sent from the user client 11 to the VIP (virtual IP) # 2 (192.168.1.1) is converted by the data relay device 1 to an IP address for distribution, and the distribution destination SLB It is converted to the server's VIP # 6 (192.168.3.5 in the figure, SLB server 312 192.168.3.5), routed, and sent to SLB server 312.
  • the SLB server 312 converts the IP address for distribution from VIP # 6 (192.168.3.5), and the real IP of the distribution destination application server (in the figure, the application server 301 # 7 (192.168.5. 7)) and sent to the application server 301.
  • the route is the next hop This is controlled by sending a packet by specifying the IP.
  • load measurement agents 301-a to 30m-a and 401-a to 40na that periodically measure the CPU load rate and disk usage rate will be provided.
  • load measurement agents include SNMP (Simple Network Management Protocol), which is a standard for network management, and UN
  • the application server periodically reports data measured by each application server to the SLB server.
  • the SLB server aggregates the load information obtained from the multiple application servers into information that indicates the entire site (by means of server load aggregation), and periodically sends it to the data relay device as load information that represents the entire site. Report appropriately.
  • a simple average is used for CPU load and disk usage, and a total is used for the number of connections.
  • the data relay device 1 has a server load collection unit 2A-1 and a route load measurement unit 2A-2 as the information collection unit 2A.
  • the server load collection unit 2A-1 For server load information, the server load collection unit
  • the path load measurement unit 2A_2 has a test packet generation unit 2A-2a and a response observation unit 2A-2b, and the test bucket generation unit 2A-2a determines the path load.
  • Specify (specify the next hop IP in Fig. 15), send a test packet (typically an I CMP ECHO Request bucket), and respond
  • the response observing unit 2A-2b observes (delay and throughput), and calculates the bandwidth and delay of the specified route.
  • FIG. 16 is a diagram showing a bucket format applied to each route shown in FIG. They are defined by destination IP, source IP, and next hop IP, respectively.
  • the next hop IP is the IP of the device that throws the bucket directly.
  • the next pop IP is used to send a MAC bucket to the MAC address for the next pop IP in the lower MAC (Media Access Cntrl) layer of the IP.
  • This bucket format is used for the data exchange described in the above explanation.
  • FIG. 16 (a) shows the case from the user client to the data relay device
  • FIG. 16 (b) shows the case from the data relay device to the router 201
  • FIG. (C) shows the case from the router 201 to the SLB server 312
  • FIG. 16 (d) shows the case from the SLB server 312 to the application server 301.
  • FIG. 17 is a diagram showing a functional configuration inside the data relay device 1 of FIG.
  • the input packet is classified into a plurality of classes (packet 'queue) according to a classification policy defined in advance by the classification unit 7A.
  • the service selection unit 5A selects a service (determines a server and a route) for each class of packets in accordance with a predefined service allocation policy and collected load information (server load and route load).
  • the resource control unit 6A has a server control unit 6A_1 and a route control unit 6A_2, and the server control unit 6A-1 sends the transmitted destination IP to the destination IP for the determined server. Converted and passed to NAT (functional unit) 8A-1 of data transmission / reception unit 8A.
  • NAT functional unit
  • the route control unit 6A_2 assigns the next hop IP corresponding to the route determined in the route selection and passes it to the routing 'stack (functional unit) 8A-2.
  • Functional units such as NAT 8A-1 and Routing 'Stack 8A-2 perform specified operations.
  • FIG. 18 is a first actual configuration example of a server information table and a route information table corresponding to the configuration of FIG. These correspond to the formats in Figures 5 and 6, respectively.
  • FIG. 19 is a diagram showing a second actual configuration example of the server information table and the route information table corresponding to FIG. These correspond to Figure 7 and Figure 1 in Figure 8, respectively.
  • An information request is sent to the data relay device in the format shown in Fig. 16 (a).
  • the service selector searches the server information table and route information table shown in FIG. 18 for this information (# 2 (192.168.1.1) as VIP).
  • CPU load ratio (CpuLoad) / disk usage ratio (DiskLoad) / number of connections (ConnNum) are used as server load information
  • used bandwidth (Bandwidth) / route delay (RtDelay) are used as route load information.
  • the maximum allowable number of connections is 30,000 and the maximum allowable delay is 100 ms.
  • the CPU load rate is calculated as CpuLoad and the number of connections is calculated by ConnNu ra / (maximum allowable number of connections))
  • An information request is sent to the data relay device in the format shown in Fig. 16 (a).
  • the service selection unit searches the server information table and the route information table shown in Fig. 19 for this information (# 2: 192.168.1.1 as VIP).
  • CPU load ratio CPU load ratio
  • diskLoad disk usage ratio
  • Connection number ConnNum
  • used bandwidth Bitwidth
  • route delay route load information.
  • RtDelay One of them is a parameter to be considered in the service decision, and the predicted value of the normalized utilization rate of each resource (including the new information request) is calculated as follows.
  • the maximum allowable number of connections is 30,000 and the maximum allowable delay is 100 ms (for example, the CPU load factor is calculated by CpuLoad + ⁇ CpuLoadX (ConnNum + ReqNum + l)).
  • An information request is sent to the data relay device in the format shown in FIG. 16 (a).
  • the service selection unit searches this information (# 2: 192.168.1.1 as VIP) from the server information table and route information tape shown in Fig. 19.
  • server load information CPU load rate (CpuLoad) / disk usage rate (DiskLoad) / number of connections (ConnNum), and bandwidth usage (Bandwidth) / path delay (RtDelay) as path load information and Barameta
  • P t of Preferences values including new information request calculates as the procedure determined in the second corresponding operation.
  • the maximum allowable number of connections is 30,000 and the maximum allowable delay is 100 ms.
  • the server information table and the routing information table shown in Fig. 19 are searched.
  • Example operation 5 an operation corresponding to the fifth operation described with reference to FIG. 14 (Example operation 5) will be described.
  • the server information table and the routing information table shown in Fig. 19 are searched.
  • the predicted value of the regular usage rate of each resource is calculated by the procedure described in the operation 2 of the embodiment (however, there is no new information request).
  • the calculated results are described below. Calculation of preference value>
  • the threshold value (the defined value in step S54 in FIG. 14) for adjusting the resources of the route is set to 0.08.
  • the meaning of the threshold value is a value for judging that a congestion state has occurred somewhere in the service of this combination if the preference value falls below this value (threshold value).
  • these can be selected according to the load information of the server and the route, and deterioration of data quality can be effectively prevented.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Deterioration of data quality is effectively prevented by selecting information on the loads on servers and paths depending on the information. A data relaying device (1) for relaying a request for connection from a client to one of servers is provided between the client and the servers. The data relaying device (1) comprises information collecting means (2) for collecting load information on the servers and the paths from the data relaying device (1) to the servers and service selecting means (5) for selecting the path from at least one of the servers to the server in response to the connection request of the client according to the load information collected by the information collecting means (2).

Description

明 細 書 データ中継装置、 データ中継方法、 データ中継プログラム、 サービス選択 装置、 サ一ビス選択方法、 及びサービス選択プログラム 技術分野  Description Data relay device, data relay method, data relay program, service selection device, service selection method, and service selection program
本発明は、 サーバ ·クライアントとネットワークの組み合わせからなる情報通 信システムに適用されるデータ中継装置等に関し、 特に、 複数のサーバとクライ アントとの間に設けられ、 クライアントから前記サーバのいずれかへの接続要求 を中継するデータ中継装置、 方法、 及びプログラムに関する。 また、 本発明は、 複数のサーバから少なくとも一^ 3のサーバと共にそのサーバまでの経路を選択す るサービス選択装置、 方法、 及びプログラムに関する。 背景技術  The present invention relates to a data relay device or the like applied to an information communication system comprising a combination of a server, a client, and a network, and more particularly to a data relay device provided between a plurality of servers and a client, from a client to one of the servers. The present invention relates to a data relay device, a method, and a program for relaying a connection request. In addition, the present invention relates to a service selection device, a method, and a program for selecting at least one server from a plurality of servers and a route to the server. Background art
近年の情報通信や情報サービスの高度化に伴い、 これら情報通信システムゃ情 報サービスシステムにおいては、 それらの処理性能を向上させるために、 同一の 情報を複数のサーバに配備し、 単一の情報ァドレス (例えば仮想 I P (V I P)ァ ドレス) でアクセスされた接続要求 (以下情報要求という) を、 これら複数のサ ーバの 1つに振分けるサーバ負荷分散制御が行われている。 この負荷分散制御に おいて、 特に、 システムが大規模化しユーザサイト 'サーバサイトの地理的な分 散が拡大しているシステムにおいては、 広域に配備されたサーバやサーバサイ ト 間での効率的な負荷振分けを行う必要がある。 ここでは、 複数のサーバと経路の 候補から、 ポリシや定期的に収集した負荷情報に基づいてサーバと経路を選択し て割当てることで、 資源の有効利用やサービス品質の維持を行うことが望まれて いる。  With the advancement of information communication and information services in recent years, in these information communication systems and information service systems, the same information is deployed on multiple servers to improve the processing performance of the information. Server load balancing control is performed to distribute connection requests (hereinafter referred to as information requests) accessed by an address (for example, a virtual IP (VIP) address) to one of these multiple servers. In this load balancing control, especially in a system where the system is large and the geographical distribution of user sites and server sites is expanding, efficient distribution between servers and server sites deployed over a wide area It is necessary to perform load distribution. Here, it is desirable to effectively use resources and maintain service quality by selecting and allocating servers and routes from multiple server and route candidates based on policies and load information collected periodically. ing.
このような要求は、 第 2 0図に示すような、 以下のシステムについて望まれて レヽる。  Such a request is desired for the following system as shown in FIG.
( a ) 企業情報システム  (a) Corporate information system
このシステムは、 ±也域分散した情報システムサイ ト間を結合するシステムであ る。 This system is a system that connects information system sites that are widely distributed. You.
( b ) 分散 I D C (Internet Data Center)  (b) Distributed IDC (Internet Data Center)
このシステムは、 地域 I D C間、 地域 I D C—センタ I D C間を結合するシス テムである。  This system connects regional IDCs and connects regional IDCs to center IDCs.
( c ) キヤリアシステム  (c) Carrier system
第 2 0図において、 上述した広域サイト ·サーバへの振分けは、 第 2◦図中の GW (Gateway;データ中継装置) が行うこととなる。 一方、 上記のようなシステムを構築するための従来の技術としては、 以下のよ うなものが知られている。 In FIG. 20, the above-mentioned distribution to the wide-area site server is performed by the GW (Gateway; data relay device) in FIG. On the other hand, the following is known as a conventional technique for constructing the above system.
(ァ) 広域負荷分散技術 この技術は、 広域に配備されたサーバやサーバサイト間で負荷分散を行う技術 である。 一般に、 D N S応答を複数のサーバ間で順番に回すことで振分ける D N Sラウンド口ビン方式や、 サーバの負荷を定期的に収集して一番負荷の小さいと ころへ振分ける方式などが使われる。 (A) Wide area load distribution technology This technology distributes the load between servers and server sites deployed in a wide area. In general, a DNS round-mouth bin method in which DNS responses are distributed by sequentially turning them among a plurality of servers, and a method in which server loads are periodically collected and distributed to the location with the smallest load are used.
D N Sラウンド口ビン方式では、 サーバ負荷 ·経路負荷ともに考慮せず、 単純 に決められた順番でサーバへの D N S応答を返す。 サーバ負荷方式では、 経路負 荷を考慮せず、 サーバの負荷のみで振分け先サーバを判定する。 またいずれの方 式でも経路は選択できず、 下記の I Pルーティングで一意に決まる単一の経路の みを使う。  In the DNS round mouth bin method, the DNS response to the server is simply returned in a predetermined order without considering both server load and route load. In the server load method, the destination server is determined only by the server load without considering the path load. In addition, no route can be selected in either method, and only a single route uniquely determined by the IP routing described below is used.
(ィ) トラフィック 'エンジニアリング  (B) Traffic '' Engineering
この技術は、 ネットワークレベルで経路負荷をモニタし、 輻輳状態になったこ とを判断すると、 一部の負荷を代替経路に振分け、 経路間の負荷分散を行う技術 である。 本技術は経路負荷のみを最適化する技術であり、 サーバ状況や個別のフ ローを意識した制御は行わない。  This technology monitors the route load at the network level and, when it is determined that the traffic is congested, distributes some of the load to alternate routes and distributes the load between routes. This technology optimizes only the path load, and does not control the server status or individual flows.
(ゥ) I Pルーティング  (ゥ) IP routing
この技術は、 ルータ間で経路情報をやりとりし、 単一の評価基準 (ホップ数な ど) が最小となる経路のみを継続的に使う技術である。 一般に、 複数経路を考慮 しない。 In this technology, routing information is exchanged between routers, and only the route that minimizes a single evaluation criterion (such as the number of hops) is used continuously. Generally, consider multiple routes do not do.
(ェ) Q O S P F  (E) Q O S P F
この技術は、 QoS (サービス品質) に関する複数の評価基準に基づくルーティ ングプロトコルに関するものである。 ネットワークに関する複数の評価基準を极 うが、 どの経路を選択するかは、 個々の評価基準が一定の条件を満たしているか (所定の範囲内にあるか) 否かにより判断する。 一般に解は一意に決まらず、 そ れほど悪くないものを選ぶことになる。  This technology relates to a routing protocol based on multiple criteria for QoS (quality of service). Although a plurality of evaluation criteria for the network are used, which route is selected is determined based on whether or not each evaluation criterion satisfies a certain condition (is within a predetermined range). In general, the solution is not uniquely determined, and you choose something that is not so bad.
しかしながら、 上記従来の技術では、 以下のような問題がある。 上記 (ィ) の トラフィック ·エンジニアリング、 (ゥ) の I Pル一ティングのように経路のみ に基づいてサービスを選択する技術、 あるいは (ァ) のサーバ負荷方式のように サーバの負荷情報のみでサービスを選択する技術においては、 経路負荷とサ一 バ負荷のいずれか一方のみに基づいてサービスが選択されるため、 選択されたサ 一ビスにおいて経路負荷とサーバ負荷のいずれか他方の負荷が大きくなっている 場合はサービスの品質劣化が生じることとなる。 例えば、 サーバ負荷情報だけで サービス (サーバおよび経路) を選択した場合、 経路が輻輳してもそのサービス を使い続けるため、 他に代替経路があつたとしても振り替えは行われず、 サービ ス品質の劣ィヒが生じることとなる。 従って、 経路の負荷情報のみ或いはサーバの 負荷情報のみでサービスを選択する技術では、 資源の有効利用が行えない。 また、 (ェ) の Q O S P Fにおける複数の評価基準に基づくサービス選択では 、 個々の評価基準ごとに条件を満たしているか否かによりサービス選択を行うも のであるが、 複数の評価基準を統一的に扱う指針がなレ、。 従って、 評価基準の組 み合わせを単純に比較できないため、 サービスを一意に決定することができない 。 また、 個々の評価基準ごとに判断するので、 分岐判断や計算量が多くなり、 収 束に時間がかかる。  However, the above conventional technique has the following problems. Technology that selects services based only on routes, such as traffic engineering in (a) above, IP routing in (ゥ), or server load information only, as in (a) server load method. In the selected technology, a service is selected based on only one of the path load and the server load, so that the load of the other one of the path load and the server load increases in the selected service. If so, the service quality will be degraded. For example, if a service (server and route) is selected based only on server load information, the service will continue to be used even if the route is congested. Lig will occur. Therefore, resources cannot be effectively used by a technology that selects a service based on only the load information of the route or the load information of the server. In (e), service selection based on multiple evaluation criteria in QOSPF involves selecting services based on whether or not the conditions are satisfied for each evaluation criterion. There are no guidelines. Therefore, the service cannot be uniquely determined because the combination of the evaluation criteria cannot be simply compared. In addition, since the judgment is made for each evaluation criterion, the branch judgment and the amount of calculation are increased, and it takes time to converge.
さらに、 上述した従来の技術においては、 収集した負荷情報と、 現在の状況に ズレがある可能性がある。 一般に、 負荷情報収集の間隔は長い (数秒単位) ため 、 次に負荷情報を得るまでの中間時点では、 負荷状態が変わってしまっている可 能性があり、 得られた負荷情報がその時の状態における正確な負荷情報とは言え ない。 本発明は、 上記問題点を解決するためになされたもので、 サーバ及び経路に関 する 1つないし 2つ以上の資源の負荷情報を収集した上で、 これら複数の負荷情 報を複合的に判断してサービス (サーバ及び経路) を選択し、 資源の有効利用や サービス品質の維持を行うことができるデータ中継装置、 データ中継方法、 及び データ中継プログラム、 並びにサービス選択装置、 サービス選択方法、 及びサー ビス選択プログラムを提供することを目的とする。 発明の開示 Furthermore, in the above-described conventional technology, there is a possibility that the collected load information and the current situation may be different. In general, the load information collection interval is long (several seconds), so the load state may have changed at the intermediate time until the next load information is obtained. Is not accurate load information. The present invention has been made in order to solve the above-described problems. The present invention collects load information of one or more resources related to a server and a route, and then composites the plurality of load information. A data relay device, a data relay method, and a data relay program capable of judging and selecting a service (a server and a route) to effectively use resources and maintain service quality, and a service selection device, a service selection method, and It aims to provide a service selection program. Disclosure of the invention
上述した課題を解決するため、 本発明に係るデータ中継装置は、 複数のサーバ とクライアントとの間に設けられ、 クライアントから前記サーバのいずれかへの 接続要求を中継するデータ中継装顰であって、 前記サーバと、 前記データ中継装 置から前記サーバへの経路とのそれぞれに関する負荷情報を収集する情報収集部 と、 前記情報収集部により収集された負荷情報に基づいて、 前記クライアントか らの前記接続要求に対して、 少なくとも一つのサーバと該サーバまでの経路を選 択するサービス選択部とを備えてなるものである。  In order to solve the above-described problem, a data relay device according to the present invention is a data relay device that is provided between a plurality of servers and a client, and relays a connection request from a client to any of the servers. An information collection unit that collects load information on each of the server and a route from the data relay device to the server; anda server that receives the load information from the client based on the load information collected by the information collection unit. It is provided with at least one server and a service selection unit for selecting a route to the server in response to a connection request.
このような構成によれば、 サーバ及び経路に関する 1つないし 2つ以上の資源 の負荷情報を収集した上で、 これら複数の負荷情報を複合的に判断してサービス (サーバ及び経路) を選択し、 資源の有効利用やサービス品質の維持を行うこと ができる。  According to such a configuration, after collecting load information of one or more resources related to the server and the route, the service (server and route) is selected by judging the plurality of load information in a complex manner. Effective use of resources and maintenance of service quality can be achieved.
また、 本発明のデータ中継装置において、 前記サービス選択部は、 前記負荷情 報に基づいて各サーバと各経路のそれぞれについての残り容量率を演算し、 得ら れた残り容量率の積演算値を各サーバと各経路との複数の組み合わせについて算 出し、 算出された積演算値に基づいて、 前記少なくとも一つのサーバと該サーバ までの経路を選択することを特徴とするものである。  Further, in the data relay device of the present invention, the service selection unit calculates a remaining capacity ratio for each server and each route based on the load information, and calculates a product operation value of the obtained remaining capacity ratios. Is calculated for a plurality of combinations of each server and each route, and the at least one server and a route to the server are selected based on the calculated product operation value.
このような構成によれば、 サービス (サーバと経路) を選択するために、 負荷 情報に基づく複数の評価基準から単一の評価基準値 (プリファレンス値) を導出 することが可能となり、 選択肢の比較評価を簡単に行うことができる。 この基準 値により、 サーバや経路などの资源の利用率に基づいて選択肢を選ぶことが可能 になり、 各資源の利用率が均等になるようにサービスを割付けることができる。 また、 複数の評価基準を組み合わせたときの選択肢の優劣を、 単一の基準値に基 づいて、 簡単に比較することができる。 According to such a configuration, in order to select a service (server and route), a single evaluation criterion value (preference value) can be derived from a plurality of evaluation criteria based on load information. Comparative evaluation can be easily performed. With this reference value, it is possible to select options based on resource utilization rates such as servers and routes, and services can be allocated so that the resource utilization rates are equal. In addition, the superiority of options when combining multiple evaluation criteria can be easily compared based on a single reference value.
また、 本発明のデータ中継装置においては、 前記サービス選択部は、 単位数の 接続要求を受付けた場合における所定のサーバと該サーバまでの経路についての 負荷情報又は残り容量率の変化分を取得しておき、 前記変化分と、 既に取得され ている負荷情報に基づく残り容量率と、 接続要求数の変化分とに基づいて、 前記 クライアントからの接続要求があった場合の前記残り容量率を算出することを特 徴とするものである。  Also, in the data relay device of the present invention, the service selection unit acquires load information or a change in the remaining capacity ratio of the predetermined server and the path to the server when the unit number of connection requests is received. The remaining capacity ratio when there is a connection request from the client is calculated based on the change, the remaining capacity ratio based on the load information already acquired, and the change in the number of connection requests. It is characterized by
このような構成によれば、 負荷情報を収集するボイント間でのサーバと経路の 負荷状態を予測することが可能になり、 この予測値に基づいてサービス選択を行 うことで、 より正確なサービス割当てを実現し、 資源の有効利用とサービス品質 の維持を実現できる。  According to such a configuration, it is possible to predict the load state of the server and the route between the points for collecting the load information, and to perform the service selection based on the predicted value, thereby providing a more accurate service. Realization of allocation enables effective use of resources and maintenance of service quality.
また、 本発明のデータ中継装置において、 前記サービス選択部は、 接続要求を 受け付ける前後における前記残り容量率の積演算値の差分を算出し、 該差分値に 基づいて、 少なくとも一つのサーバと該サーバまでの経路を選択することを特徴 とするものである。  In the data relay device of the present invention, the service selection unit calculates a difference between a product operation value of the remaining capacity ratio before and after accepting a connection request, and based on the difference value, at least one server and the server It is characterized by selecting the route to it.
このような構成によれば、 例えばサービスを割当てることで全資源の残り容量 率の減少に一番影響の小さい選択肢、 つまり余剰資源を一番多く持っている選択 肢を抽出することが可能となる。 この構成は各資源の利用率を均一にするように 動作するのではなく、 各資源間の絶対能力に差があった場合に、 絶対的な余剰能 力がー番高レ、ものを選択するように動作し、 資源の有効利用を図ることができる また、 本発明のデータ中継装置において、 前記サービス選択部は、 第 1の時点 で収集した負荷情報とその時の接続要求数と、 第 2の時点で収集した負荷情報と その時の接続要求数とのそれぞれの差分に基づいて、 前記単位数の接続要求を受 付けた場合における所定のサーバと該サーバまでの経路についての負荷情報又は 残り容量率の変化分を算出して取得することを特徴とするものである。  According to such a configuration, for example, it is possible to extract an option that has the least effect on the reduction of the remaining capacity ratio of all resources by allocating a service, that is, an option that has the most surplus resources. . This configuration does not operate to make the utilization rate of each resource uniform, but if there is a difference in the absolute capacity between each resource, the absolute surplus capacity is selected as the highest In the data relay device of the present invention, the service selection unit may be configured to: load information collected at a first point in time, the number of connection requests at that time, and a second Based on the difference between the load information collected at the time and the number of connection requests at that time, the load information or the remaining capacity ratio of the predetermined server and the route to the server when the unit number of connection requests are received. Is calculated and obtained.
このような構成によれば、 例えば 1つの接続要求 (情報要求) を受付けた時の 各資源の残り容量率の減少分を、 実測結果に基づくフィードバック制御によって 算出することが可能となり、 固定値で持った場合に比べて、 より厳密な予測制御 を実現できるようになる。 According to such a configuration, for example, when a single connection request (information request) is received, a decrease in the remaining capacity ratio of each resource is determined by feedback control based on a measurement result. It is possible to calculate, and more strict predictive control can be realized as compared with the case where it is held at a fixed value.
また、 本発明のデータ中継装置において、 前記サービス選択部は、 前記残り容 量率を算出する際に、 前記負荷情報に関連付けられる資源利用率を取得し、 該資 源利用率をパラメータ X iとする関数 Fを導入して、 前記資源利用率を重み付け し、 残り容量率を 1一 F ( x i ) にて算出することを特徴とするものである。 このような構成によれば、 各資源の利用率に重み付けして選択肢を判定するこ とが可能となり、 当該評価基準の他の評価基準に比べた時の影響度を大きくした り小さくしたりすることができる。 これにより、 評価基準をすベて同等に扱うの ではなく、 選択肢を判定する時に優先させたい評価基準の影響を大きく見せたり 、 優先させたくない評価基準の影響を小さく見せたりすることが可能になる。 また、 本発明のデータ中継装置は、 サーバと経路の組み合わせに対する前記残 り容量率の積演算値を監視し、 該監視値が所 値を下回った場合は、 当該の組み 合わせの資源の中で輻輳が起きていると判断し、 別経路へ通信コネクションの経 路を切り替えることを特徴とするものである。  Further, in the data relay device of the present invention, when calculating the remaining capacity rate, the service selecting unit acquires a resource utilization rate associated with the load information, and defines the resource utilization rate as a parameter Xi. The resource utilization rate is weighted, and the remaining capacity rate is calculated by 11 F (xi). According to such a configuration, it is possible to determine an option by weighting the utilization rate of each resource, and to increase or decrease the degree of influence when the evaluation standard is compared with other evaluation standards be able to. As a result, instead of treating all evaluation criteria equally, it is possible to make the influence of evaluation criteria that are to be prioritized when judging an option larger or to make the influence of evaluation criteria that are not to be prioritized appear smaller. Become. In addition, the data relay device of the present invention monitors the product operation value of the remaining capacity ratio for the combination of the server and the route, and when the monitored value falls below a predetermined value, among the resources of the combination. It is characterized by determining that congestion has occurred and switching the communication connection path to another path.
このような構成によれば、 既に確立した通信コネクションに対し、 他の通信コ ネクシヨンの影響で輻輳を生じて経路負荷が増大した場合に、 当該の通信コネク シヨンの経路を輻輳を起こしていない代替経路に切り替えることで、 サービス品 質の維持を行うことが可能となる。 このような自律的な制御を、 複数の負荷情報 (サーバ情報、 経路情報) カ ら算出した単一の基準値を元に容易に行うことがで さる。  According to such a configuration, when a path load increases due to the congestion of an already established communication connection due to the influence of another communication connection, the path of the relevant communication connection is not congested. By switching to a route, service quality can be maintained. Such autonomous control can be easily performed based on a single reference value calculated from multiple pieces of load information (server information, route information).
また、 本発明のデータ中 g§装置において、 前記サービス選択部は、 更にサービ ス割り当てについて規定されたポリシ情報に基づいて、 サーバと該サーバまでの 経路を選択することを特徴とするものである。  Further, in the data apparatus of the present invention, the service selecting unit further selects a server and a route to the server based on policy information defined for service allocation. .
このような構成によれば、 例えば、 ポリシ情報を優先し、 或いは定められたポ リシの範囲においては負荷情報を優先して資源を選択するようにすることができ 、 ユーザの要望に柔軟に対応させることができる。  According to such a configuration, for example, it is possible to prioritize the policy information, or to prioritize the load information within a predetermined policy range, so that the resource can be selected flexibly. Can be done.
なお、 本発明のデータ中継装置において、 前記負荷情報には、 サーバに関して 、 C P U負荷率、 ディスク使用率、 コネクション数のいずれ力少なくとも一つが 含まれ、 経路に関して、 使用帯域、 経路遅延のいずれか少なくとも一つが含まれ ることを特徴とすることができ、 また、 前記サーバは、 複数のアプリサーバから 負荷情報を集約するサーバ負荷集約部を有する S L Bサーバにより構成されるこ とを特徴とすることができる。 In the data relay device of the present invention, the load information includes at least one of a CPU load ratio, a disk usage ratio, and the number of connections for the server. And the route may include at least one of a used bandwidth and a route delay, and the server includes a server load aggregating unit that aggregates load information from a plurality of application servers. It can be characterized by being configured with an SLB server that has it.
また、 本発明は、 複数のサーバとクライアントとの間に設けられ、 クライアン トから前記サーバのいずれかへの接続要求を中継するデータ中継方法であって、 前記サーバと、 前記データ中継装置から前記サーバへの経路とのそれぞれに関す る負荷情報を収集する情報収集ステップと、 前記情報収集ステップにより収集さ れた負荷情報に基づいて、 前記クライアントからの前記接続要求に対して、 少な くとも一つのサーバと該サーバまでの経路を選択するサービス選択ステップとを 備えてなるものである。  Further, the present invention is a data relay method provided between a plurality of servers and a client, wherein the data relay method relays a connection request from a client to any one of the servers. An information collection step of collecting load information on each of the routes to the server; and at least one connection request from the client based on the load information collected by the information collection step. And a service selection step of selecting a route to the server.
ここで、 前記サービス選択ステップは、 前記負荷情報に基づいて各サーバと各 経路のそれぞれについての残り容量率を演算するステップと、 得られた残り容量 率の積演算値を各サーバと各経路との複数の組み合わせについて算出するステツ プと、 算出された積演算値に基づいて、 前記少なくとも一つのサーバと該サーバ までの経路を選択するステツプとを備えることを特徴とすることができる。 また、 前記サービス選択ステップは、 単位数の接続要求を受付けた場合におけ る所定のサーバと該サーバまでの経路についての負荷情報又は残り容量率の変化 分を取得するステップと、 前記変化分と、 既に取得されている負荷情報に基づく 残り容量率と、 接続要求数の変化分とに基づいて、 前記クライアントからの接続 要求があった場合の前記残り容量率を算出するステップとを備えることを特徴と するものである。  Here, the service selecting step is a step of calculating a remaining capacity ratio for each server and each route based on the load information, and a product operation value of the obtained remaining capacity ratio is calculated for each server and each route. And a step of selecting the at least one server and a route to the server based on the calculated product operation value. In addition, the service selecting step includes a step of acquiring a change in load information or a remaining capacity ratio of a predetermined server and a path to the server when a unit number of connection requests are received; A step of calculating the remaining capacity ratio when there is a connection request from the client, based on the remaining capacity ratio based on the load information that has already been acquired and the change in the number of connection requests. It is a feature.
また、 前記サービス選択ステップは、 接続要求を受け付ける前後における前記 残り容量率の積演算値の差分を算出するステップと、 該差分値に基づいて、 少な くとも一つのサーバと該サーバまでの経路を選択するステップとを備えることを 特徴とするものである。  Further, the service selecting step includes a step of calculating a difference between the product operation values of the remaining capacity ratio before and after accepting a connection request, and at least one server and a route to the server based on the difference value. And a selecting step.
また、 本発明のデータ中継方法において、 前記残り容量率の変化分を取得する ステップは、 第 1の時点で負荷情報とその時の接続要求数とを収集するステップ と、 第 2の時点で負荷情報とその時の接続要求数とを収集するステップと、 第 1 の時点で収集した負荷情報及び接続要求数と、 第 2の時点で収集した負荷情報及 び接続要求数とのそれぞれの差分に基づいて、 前記単位数の接続要求を受付けた 場合における所定のサーバと該サーバまでの経路にっレ、ての負荷情報又は残り容 量率の変化分を算出するステップとを備えることを特徴とする。 Further, in the data relay method of the present invention, the step of obtaining the change in the remaining capacity ratio includes: collecting load information at a first time and the number of connection requests at that time; and loading information at a second time. And the number of connection requests at that time. A predetermined server based on the difference between the load information and the number of connection requests collected at the time point and the load information and the number of connection requests collected at the second time point, when the connection request of the unit number is received. And a step of calculating a change in load information or a remaining capacity ratio along a route to the server.
また、 前記サービス選択ステップでは、 前記残り容量率を算出する際に、 前記 負荷情報に関違付けられる資源利用率を取得し、 該資源利用率をパラメータ X i とする関数 Fを導入して、 前記資源利用率を重み付けし、 残り容量率を 1一 F ( X i ) にて算出するステップを含むことを特徴とするものである。  Further, in the service selection step, when calculating the remaining capacity rate, a resource usage rate associated with the load information is acquired, and a function F having the resource usage rate as a parameter X i is introduced. Weighting the resource utilization rate and calculating a remaining capacity rate by using 11 F (X i).
また、 本発明のデータ中継方法においては、 サーバと経路の組み合わせに対す る前記残り容量率の積演算値を監視するステツプと、 該監視値が所定値を下回つ た場合は、 当該の組み合わせの資源の中で輻輳が起きていると判断し、 別経路へ 通信コネクションの経路を切り替えるステップとを備えることを特徴とするもの である。  Further, in the data relay method of the present invention, a step of monitoring a product operation value of the remaining capacity ratio for a combination of a server and a route; and, when the monitored value falls below a predetermined value, a combination of the combination. And determining that congestion has occurred in the resource and switching the path of the communication connection to another path.
また、 前記サービス選択ステップは、 更にサービス割り当てについて規定され たポリシ情報に基づいて、 サーバと該サーバまでの経路を選択するステップを備 えることを特徴とするものである。  Further, the service selecting step further comprises a step of selecting a server and a route to the server based on policy information defined for service allocation.
また、 本発明は、 複数のサーバとクライアントとの間に設けられ、 クライアン トから前記サーバのいずれかへの接続要求を中継することをコンピュータに実行 させるデータ中継プログラムであって、 前記サーバと、 前記データ中継装置から 前記サーバへの経路とのそれぞれに関する負荷情報を収集する情報収集ステップ と、 前記情報収集ステップにより収集された負荷情報に基づいて、 前記クライァ ントからの前記接続要求に対して、 少なくとも一つのサーバと該サーバまでの経 路を選択するサービス選択ステップとをコンピュータに実行させるものである。 また、 本発明は、 複数のサーバの内から少なくとも一つのサーバと該サーバま での経路を選択するサービス選択装置であって、 前記複数のサーバと、 前記複数 のサーバへの経路とのそれぞれに関する負荷情報を収集する情報収集部と、 前記 情報収集部により収集された負荷情報に基づいて、 少なくとも一つのサーバと該 サーバまでの経路を選択するサービス選択部とを備えてなるものである。  Further, the present invention is a data relay program provided between a plurality of servers and a client, and causing a computer to relay a connection request from the client to any of the servers, wherein the server comprises: An information collection step of collecting load information relating to each of the path from the data relay device to the server; and, based on the load information collected by the information collection step, for the connection request from the client, The program causes a computer to execute at least one server and a service selection step of selecting a route to the server. The present invention also relates to a service selection device for selecting at least one server from among a plurality of servers and a route to the server, wherein each of the plurality of servers and a route to the plurality of servers are related to each other. An information collection unit for collecting load information, and at least one server and a service selection unit for selecting a route to the server based on the load information collected by the information collection unit.
また、 本発明は、 複数のサーバの内から少なくとも一つのサーバと該サーバま での経路を選択するサービス選択方法であって、 前記複数のサーバと、 前記複数 のサーバへの経路とのそれぞれに関する負荷情報を収集する情報収集ステップとThe present invention also provides at least one server from among the plurality of servers and the server. A service selection method for selecting a route in the information processing method, wherein an information collection step of collecting load information on each of the plurality of servers and a route to the plurality of servers;
、 前記情報収集部により収集された負荷情報に基づいて、 少なくとも一つのサー バと該サーバまでの経路を選択するサービス選択ステツプとを備えてなるもので ある。 And at least one server based on the load information collected by the information collecting unit and a service selection step of selecting a route to the server.
また、 本発明は、 複数のサーバの内から少なくとも一つのサーバと該サーバま での経路を選択することをコンピュータに実行させるサービス選択プログラムで あって、 前記複数のサーバと、 前記複数のサーバへの経路とのそれぞれに関する 負荷情報を収集する情報収集ステップと、 前記情報収集部により収集された負荷 情報に基づいて、 少なくとも一つのサーバと該サーバまでの経路を選択するサー ビス選択ステップとをコンピュータに実行させることを特徴とするものである。 なお、 本発明の実施の形態においては、 データ中継装置が本発明のサービス選択 装置を構成しており、 その動作方法が本発明のサービス選択方法を構成し、 その 動作をコンピュータに実行させるプログラムがサービス選択プログラムを構成し ている。 図面の簡単な説明  Further, the present invention is a service selection program for causing a computer to select at least one server from among a plurality of servers and a route to the server, wherein the plurality of servers are connected to the plurality of servers. An information collecting step of collecting load information relating to each of the paths, and a service selecting step of selecting at least one server and a path to the server based on the load information collected by the information collecting unit. Is executed. In the embodiment of the present invention, the data relay device constitutes the service selecting device of the present invention, and its operation method constitutes the service selecting method of the present invention, and a program for causing a computer to execute the operation thereof is provided. Configure the service selection program. BRIEF DESCRIPTION OF THE FIGURES
第 1図は本発明の動作原理を示すフローチヤ一トである。 FIG. 1 is a flowchart showing the operation principle of the present invention.
第 2図は本発明を適用するデータ中継装置の機能プロック図である。 FIG. 2 is a functional block diagram of the data relay device to which the present invention is applied.
第 3図は実施の形態の全体構成を示すプロック図である。 FIG. 3 is a block diagram showing the overall configuration of the embodiment.
第 4図はサーバ情報テーブルと経路情報テーブルの関係を示す図であり、 第 4図 ( a ) は、 サーバ情報テーブルを示し、 第 4図 (b ) は経路情報テーブルの構成 を示す図である。 FIG. 4 is a diagram showing the relationship between the server information table and the route information table. FIG. 4 (a) shows the server information table, and FIG. 4 (b) shows the configuration of the route information table. .
第 5図はサーバ情報テーブルの一例を示す図である。 FIG. 5 is a diagram showing an example of a server information table.
第 6図は第 5図のサーバ情報テーブルに対応する経路情報テーブルの一例を示す 図である。 FIG. 6 is a diagram showing an example of a route information table corresponding to the server information table of FIG.
第 7図はサーバ情報テーブルの他の一例を示す図である。 FIG. 7 is a diagram showing another example of the server information table.
第 8図は第 7図のサーバ情報テーブルに対応する経路情報テーブルの一例を示す 図である。 第 9図は、 第 3図に示されたサービス選択部 5 Aの第 1の動作を示すフローチヤ 一トである。 FIG. 8 is a diagram showing an example of a route information table corresponding to the server information table of FIG. FIG. 9 is a flowchart showing a first operation of the service selection unit 5A shown in FIG.
第 1 0図は、 第 9図に示した動作と異なるサービス選択部の第 2の動作を示すフ ローチャートである。 FIG. 10 is a flowchart showing a second operation of the service selection unit different from the operation shown in FIG.
第 1 1図は、 第 9図や第 1 0図に示した動作と異なるサービス選択部の第 3の動 作を示すフローチャートである。 FIG. 11 is a flowchart showing a third operation of the service selection unit different from the operations shown in FIGS. 9 and 10.
第 1 2図は、 第 9図〜第 1 1図に示した動作と異なるサービス選択部の第 4の動 作を示すフローチヤ一トである。 FIG. 12 is a flowchart showing a fourth operation of the service selection unit different from the operations shown in FIGS. 9 to 11.
第 1 3図は、 上述した資源利用率を得る際に使用される重み付け関数を示す図で める。 FIG. 13 shows a weighting function used for obtaining the above-mentioned resource utilization rate.
第 1 4図は、 第 9図〜第 1 2図に示した動作と異なるサービス選択部の第 5の動 作を示すフローチヤ一トである。 FIG. 14 is a flowchart showing a fifth operation of the service selection unit different from the operations shown in FIGS. 9 to 12.
第 1 5図は、 本発明の一構成例を実施例としてより詳細に示す全体プロック図で ある。 FIG. 15 is an overall block diagram showing one configuration example of the present invention in more detail as an embodiment.
第 1 6図は、 第 1 5図に示された各経路で適用されるバケツトフォーマツトを示 す図である。 FIG. 16 is a diagram showing a bucket format applied to each route shown in FIG.
第 1 7図は、 第 1 5図のデータ中継装置 1の内部の機能構成を示した図である。 第 1 8図は、 第 1 5図の構成に対応したサーバ情報テーブル、 経路情報テーブル の第 1の具体例である。 FIG. 17 is a diagram showing an internal functional configuration of the data relay device 1 of FIG. FIG. 18 is a first specific example of a server information table and a route information table corresponding to the configuration of FIG.
第 1 9図は、 第 1 5図に対応したサーバ情報テーブル、 経路情報テーブルの第 2 の具体例を示す図である。 FIG. 19 is a diagram showing a second specific example of the server information table and the route information table corresponding to FIG.
第 2 0図は、 本発明の適用システムを示す図であり、 第 2 0図 (a ) は企業情報 システムを示す図であり、 第 2 0図 ( b ) は分散 I D C (Internet Data Cente r)を示す図であり、 第 2 0図 (c ) はキャリアシステムを示す図である。 発明を実施するための最良の形態 FIG. 20 is a diagram showing a system to which the present invention is applied, FIG. 20 (a) is a diagram showing a corporate information system, and FIG. 20 (b) is a distributed IDC (Internet Data Center). FIG. 20 (c) is a diagram showing a carrier system. BEST MODE FOR CARRYING OUT THE INVENTION
以下、 本発明の実施の形態を図面を用いて説明する。  Hereinafter, embodiments of the present invention will be described with reference to the drawings.
まず、 本発明の実施の形態における原理を第 1図と第 2図を用いて説明する。 第 1図は本発明の動作原理を示すフローチヤ一ト、 第 2図は本発明を適用するデ ータ中継装置の機能プロック図を示す。 第 2図に示したデータ中継装置 1は、 サ ーバ負荷情報 (以下サーバ情報という) と経路負荷情報 (以下経路情報という) を収集する情報収集手段 2と、 収集されたサーバ負荷情報を格納するサーバ情報 データベース 3と、 収集された経路負荷情報を格納する経路情報データベース 4 と、 これら収集され、 或いは格納された情報に基づいてサーバ及び経路をサービ スとして選択するサービス選択手段 5と、 選択されたサービスを実行するためサ ーバの宛先ァドレスの変換やルータの選択、 ネットワークの指定などを行う資源 (リソース) 制御手段 6と、 図示しないクライアントやサーバとの間で送受信を 行うデータ送受信部 8を備えている。 First, the principle of the embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a flowchart showing the principle of operation of the present invention, and FIG. 2 is a data diagram to which the present invention is applied. The function block diagram of the data relay apparatus is shown. The data relay device 1 shown in FIG. 2 includes an information collecting means 2 for collecting server load information (hereinafter referred to as server information) and route load information (hereinafter referred to as route information), and stores the collected server load information. A server information database 3 to store the collected route load information, a route information database 4 to store the collected route load information, a service selecting means 5 to select a server and a route as a service based on the collected or stored information, (Resource) control means 6 for converting the destination address of the server, selecting a router, specifying a network, etc. to execute the provided service, and a data transmitting / receiving unit for transmitting / receiving between a client or server (not shown) Has eight.
このデータ中継装置 1による動作は第 1図に示される。 即ち、 データ中継装置 1は、 情報収集手段 1がサーバ情報 ·経路情報を定期的に収集し (S 1 ) 、 適宜 サーバ情報データベース 3と経路情報データベース 4に格納する。 次に、 サービ ス選択手段 5が収集された情報源から各資源 (サーバ及び経路) の資源利用率を 求め (S 2 ) 、 情報要求に対し、 可能な経路 .サーバの組み合わせについて、 各 資源の残り容量率の積演算値 (プリファレンス値) を計算し (S 3 ) 、 プリファ レンス値が最大となるサーバ '経路の組み合わせを選択 ( S 4 ) する。 そして資 源制御手段 6がそれらの組み合わせにおけるサービスが実行されるように資源を 制御し (S 5 ) 、 データ送受信部 8よりその選択された経路に従って選択された サーバに情報を送信し、 また当該サーバから選択された経路に従って情報を受信 する。  The operation of the data relay device 1 is shown in FIG. That is, in the data relay device 1, the information collecting means 1 periodically collects server information and route information (S1), and stores them in the server information database 3 and the route information database 4 as appropriate. Next, the service selection means 5 obtains the resource utilization rate of each resource (server and route) from the collected information sources (S2), and in response to the information request, determines the possible route / server combination for each resource. The product operation value (preference value) of the remaining capacity ratio is calculated (S 3), and the combination of the server and the route having the maximum preference value is selected (S 4). Then, the resource control means 6 controls the resources so that the service in the combination is executed (S5), transmits the information from the data transmission / reception unit 8 to the server selected according to the selected route, and Receives information according to the route selected from the server.
次に、 本発明の実施の形態 1について説明する。 第 3図は本システムの全体構 成を示すプロック図である。 本システムはユーザクライアント 1 1と、 各種サー ノ 1 2 , 1 3と、 これらユーザクライアント 1 1と各種サーバ 1 2 , 1 3との間 に設けられるデータ中継装置 1と、 これらを接続する複数の経路 1 4 , 1 5 , 1 6を備えて構成される。 データ中継装置 1は、 情報収集部 2 Aと、 サーバ情報デ ータベース 3 Aと、 経路情報データベース 4 Aと、 サービス選択部 5 Aと、 資源 制御部 6 Aと、 情報要求に対してサービス選択のためのクラス分けを行うクラス 分類部 7 Aと、 クラス分けを行うためのポリシ情報を格納したポリシ情報データ ベース 9 Aと、 データ送受信部 8 Aとを備えている。 情報収集部 2 Aでは、 サーバ情報及び経路情報を定期的に収集する。 サーバ情 報としては C P U使用率、 メモリ使用率などが一例として挙げられ、 経路情報と しては帯域使用率、 経路遅延に関する情報などが一例として挙げられる。 Next, Embodiment 1 of the present invention will be described. Fig. 3 is a block diagram showing the overall configuration of this system. This system includes a user client 11, various servers 12, 13, a data relay device 1 provided between the user client 11 and various servers 12, 13, and a plurality of connecting devices. It is provided with paths 14, 15, and 16. The data relay device 1 includes an information collection unit 2A, a server information database 3A, a route information database 4A, a service selection unit 5A, a resource control unit 6A, and a service selection unit for selecting a service in response to an information request. A classifying unit 7A for performing classification, a policy information database 9A storing policy information for performing classification, and a data transmitting / receiving unit 8A. The information collection unit 2A periodically collects server information and route information. Examples of the server information include a CPU usage rate and a memory usage rate, and examples of the path information include information on a bandwidth usage rate and path delay.
サービス選択部 5 Aでは、 ポリシ情報データベースに格納され、 或いは適宜入 力されたポリシ情報 (定義ポリシ) と、 情報収集部 2 Aにより収集された状態情 報 (サーバ情報、 経路情報) に基づいて、 ユーザクライアント 1 1からの情報要 求 (接続要求) に割付ける適切なサービス (サーバ、 経路) を選択する。  The service selection unit 5A is based on the policy information (definition policy) stored in the policy information database or input as appropriate, and the status information (server information, route information) collected by the information collection unit 2A. Select an appropriate service (server, route) to be assigned to the information request (connection request) from the user client 11.
資源制御部 6 Aは、 選択 (決定) されたサービス実行を実現するために、 サー バおよび経路を選択する制御 (選択制御) を行う。  The resource control unit 6A performs control (selection control) for selecting a server and a route in order to implement the selected (determined) service.
経路の選択制御では、 受け付けた情報要求を V L ANや I P— V P Nの経路に 動的に対応付けするためのラベル付与や出カインタフェース選択を行う。  In route selection control, label assignment and output interface selection for dynamically associating the received information request with the route of V LAN or IP-VP N are performed.
サーバの選択制御では、 仮想 I Pから各サーバに対応した実 I Pへの変換を行 また、 サーバ情報データベース 3 Aや経路情報データベース 4 Aはサーバ情報 や経路情報を情報テーブルとして格納する。 これら情報テーブルは、 情報要求に 対する振分け先のサーバ情報、 およびそのサーバへ至る経路情報 (各サーバに対 して経路が複数ある場合はそれに対応して複数) を管理するために使用されるも のであり、 情報収集部 2 Aが各情報を収集して、 これらデータベース 3 A, 4 A の情報テーブルに書込み、 サービス選択部 5 Aが情報要求に対する適用サービス を選択 (決定) する時に参照する。  In the server selection control, a virtual IP is converted into a real IP corresponding to each server, and the server information database 3A and the route information database 4A store server information and route information as an information table. These information tables are used to manage the server information of the distribution destination for the information request, and the route information to the server (if there are multiple routes to each server, multiple corresponding to them). The information collection unit 2A collects each information, writes the information in the information tables of these databases 3A and 4A, and refers to the information when the service selection unit 5A selects (determines) a service applicable to the information request.
第 4図はサーバ情報テーブルと経路情報テーブルの関係を示す図であり、 第 4 図 (a ) は、 サーバ情報テーブルを示し、 第 4図 (b ) は経路情報テーブルの構 成を示す。 また、 第 5図はサーバ情報テーブルの一例を示し、 第 6図は第 5図の サーバ情報テーブルに対応する経路情報テーブルの一例を示す図である。 また、 第 7図はサーバ情報テーブルの他の一例を示し、 第 8図は第 7図のサーバ情報テ 一ブルに対応する経路情報テーブルの一例を示す図である。  FIG. 4 is a diagram showing the relationship between the server information table and the route information table. FIG. 4 (a) shows the server information table, and FIG. 4 (b) shows the configuration of the route information table. FIG. 5 shows an example of a server information table, and FIG. 6 shows an example of a path information table corresponding to the server information table of FIG. FIG. 7 shows another example of the server information table, and FIG. 8 shows an example of the path information table corresponding to the server information table of FIG.
これらサーバ情報テーブルは、 要求情報ごと (例えば要求情報に対する仮想 I Pアドレスごと) に存在し、 要求された情報を持つサーバの一覧と、 そのサーバ の負荷情報を保持する。 第 5図では、 C P U負荷率 5 1、 ディスク使用率 5 2、 コネクション数 5 3の 3種類の情報を収集することを表している。 These server information tables exist for each request information (for example, for each virtual IP address corresponding to the request information), and hold a list of servers having the requested information and load information of the server. In Fig. 5, the CPU load rate 51, disk usage rate 52, This indicates that three types of information with 53 connections are collected.
経路情報テーブルは、 第 4図 (b ) に示されるようにサーバ情報テーブルの各 ェントリからポインタされ、 そのサーバへ至る経路の一覧と、 その経路の負荷情 報を保持する。 また経路情報テーブルを示す第 6図では、 使用帯域 6 1、 遅延 6 2の 2種類の情報を収集することを表している。 本例では、 B G P (Border Gat eway Protocol)の経路探索を使って、 サーバに至る複数経路を調べる。  The route information table is pointed from each entry of the server information table as shown in FIG. 4 (b), and holds a list of routes to the server and load information of the route. FIG. 6 showing the route information table indicates that two types of information, that is, the used bandwidth 61 and the delay 62 are collected. In this example, multiple routes to the server are checked using the BGP (Border Gateway Protocol) route search.
第 7図及ぴ第 8図のそれぞれに示されるサーバ情報テーブル、 経路情報テープ ルにおける、 第 5図及び第 6図で示されるサーバ情報テーブル、 経路情報テープ ルのそれぞれとの違いは、 C P U負荷率及びディスク使用率に関する情報として 、 単位要求当りの増分を定数値あるいは書替え可能な値として持つ点と、 コネク ション情報に関して負荷情報として直近の情報収集時からの情報要求の数の変化 分を持つ点である。 即ち、 第 7図に示すサーバ情報テーブルにおいては、 変数の 増分として、 C P U負荷率の増分 5 1 a、 ディスク使用率の増分 5 2 a、 直近の 情報収集時からの情報要求の数の変化分 5 3 aの 3種類の情報を持ち、 第 8図に 示す経路情報テーブルでは使用帯域の増分 6 1 a、 経路の遅延の増分 6 2 a、 及 び直近の情報収集時からの情報要求の数の変化分 6 3 aの 3種類の情報を持つ。  The difference between the server information table and the route information table shown in FIGS. 7 and 8 and the server information table and the route information table shown in FIGS. 5 and 6, respectively, is the CPU load. As information on the rate and disk usage, there is a point where the increment per unit request is a constant value or a rewritable value, and the connection information has load information as a change in the number of information requests since the most recent information collection. Is a point. That is, in the server information table shown in Fig. 7, the CPU load factor increment 51a, the disk usage factor increment 52a, and the change in the number of information requests since the most recent information collection were used as variable increments. The route information table shown in Fig. 8 has three types of information, 5 3a.In the routing information table shown in Fig. 8, the increase in bandwidth used 61a, the increase in route delay 62a, and the number of information requests since the latest information collection. It has three types of information, 6 3 a.
(第 1の動作)  (First operation)
第 9図は、 第 3図に示されたサービス選択部 5 Aの第 1の動作を示すフ口ーチ ヤートである。 本例では、 第 4図〜第 6図のサーバ情報テーブル及び経路情報テ 一ブルを使って動作する。 データ送受信部 8 Aにおいてユーザクライアント 1 1 からの情報要求を受付ける都度、 サービス選択部 5 Aは当該情報に関するサーバ 情報テーブル、 経路情報テーブルを検索する (S 1 1 ) 。 サーバと経路の可能な 組合せについて、 各テーブルに含む負荷情報を、 0〜1の間の値を取る資源の正 規化利用率に変換する (S 1 2 ) 。 第 5図に示したサーバ負荷情報及び第 6図に 示した経路負荷情報に対しては、 資源の正規化利用率 (資源利用率) を以下のよ うに定義して算出する。 即ち、 サーバ負荷情報について正規化利用率を算出する に際しては、 C P U負荷率とディスク使用率とは、 その値がそのまま正規化利用 率として使用される。 また、 コネクション数は計測したコネクション数を最大許 容コネクション数で除することにより求められる。 但し、 計測したコネクション 数が最大許容コネクション数を超えた場合は 1とする。 FIG. 9 is a flowchart showing a first operation of the service selection unit 5A shown in FIG. In this example, the operation is performed using the server information table and the route information table shown in FIGS. Each time the data transmission / reception unit 8A receives an information request from the user client 11, the service selection unit 5A searches the server information table and the route information table for the information (S11). For each possible combination of server and route, the load information contained in each table is converted into a normalized utilization rate of the resource that takes a value between 0 and 1 (S12). For the server load information shown in Fig. 5 and the route load information shown in Fig. 6, the normalized resource utilization rate (resource utilization rate) is defined and calculated as follows. That is, when calculating the normalized usage rate for the server load information, the CPU load rate and the disk usage rate are used as they are as the normalized usage rate. The number of connections is obtained by dividing the measured number of connections by the maximum number of allowed connections. However, the measured connection If the number exceeds the maximum number of allowed connections, set to 1.
また、 経路負荷情報について正規化利用率を算出するに際して、 使用帯域は、 計測した使用帯域をリンク速度で除することにより求められ、 経路遅延は、 計測 した経路遅延を最大許容経路遅延で除することにより求められる。 ただし計測し た経路遅延が最大許容経路遅延を超えた場合は 1とする。  Also, when calculating the normalized utilization rate for the path load information, the bandwidth used is obtained by dividing the measured bandwidth by the link speed, and the path delay is obtained by dividing the measured path delay by the maximum allowable path delay. It is required by However, if the measured path delay exceeds the maximum allowable path delay, it is set to 1.
サーバ負荷情報 正規化利用率  Server load information Normalized usage rate
C P U負荷率 >そのまま使用  C P U load factor> Use as it is
ディスク使用率 >そのまま使用  Disk usage> Use as is
コネクション数 十測したコネクション数/最大許容コネクション数  Number of connections Number of measured connections / Maximum allowable connections
(ただし計測したコネクション数が最大許容コネクシ ヨン数を超えた場合は、 本値は 1とする) 経路負荷情報: 正規化利用率  (However, if the measured number of connections exceeds the maximum allowable number of connections, this value is set to 1.) Route load information: Normalized utilization rate
使用帯域 →計測した使用帯域/リンク速度  Bandwidth used → Measured bandwidth used / link speed
→計測した経路遅延/最大許容経路遅延  → Measured path delay / Maximum allowable path delay
(ただし計測した経路遅延が最大許容経路遅延を超え た場合は、 本値は 1とする) そして、 サーバ及び経路の各組合せについて、 各資源の残り容量率を、 (1一 正規化利用率) で算出する。 次に、 この組合せに対するプリファレンス値 P nを 、 全負荷情報の残り容量率の積として計算する。 負荷情報 iの正規化利用率を X iとすると、 プリファレンス値 P nは以下の式で表される。  (However, if the measured path delay exceeds the maximum allowable path delay, this value is set to 1.) Then, for each combination of server and path, the remaining capacity ratio of each resource is calculated as (1-1 normalized utilization rate) Is calculated. Next, the preference value P n for this combination is calculated as the product of the remaining capacity ratios of the full load information. Assuming that the normalized utilization rate of the load information i is X i, the preference value P n is represented by the following equation.
P n = (1- 1 ) ( 1 - X 2 ) · · · ( 1 - X k ) ここで、 X iは負荷情報 iの正規化利用率である。 そして、 全ての (サーバ、 経路) の組合せについて P nを比較し、 値が最大と なる組合せを、 情報要求に対して割当てるサービスとして選択し、 実際の資源を 制御するために、 第 3図における資源制御部 6 Aに起動をかける。 もし条件を満 たす組合せがなければ、 適切な資源は存在しないとして、 情報要求を拒否する。 (第 2の動作) P n = (1-1) (1-X 2) · · · (1-X k) where X i is the normalized utilization rate of load information i. Then, Pn is compared for all combinations of (server, route), and the combination with the largest value is selected as the service to be assigned to the information request, and in order to control the actual resources, the combination shown in FIG. Start the resource control unit 6 A. If no combination satisfies the condition, the information request is rejected because there is no suitable resource. (Second operation)
第 10図は、 第 9図に示した動作と異なるサービス選択部の第 2の動作を示す フローチャートである。 本例では、 第 7図に示されたサーバ情報テーブル及び第 8図に示された経路情報テーブルを使つて動作する。  FIG. 10 is a flowchart showing a second operation of the service selection unit different from the operation shown in FIG. In this example, the operation is performed using the server information table shown in FIG. 7 and the route information table shown in FIG.
この場合、 サービス選択部 5 Aは、 クライアントからの情報要求を受付ける都 度、 当該情報に対するサーバ情報テーブル (第 7図) 、 経路情報テーブル (第 8 図) を検索する (S 21) そして、 サーバと経路の可能な組合せに関して、 各 テーブルに含む負荷情報 (直近の情報収集時に取得したもの) についての資源の 正規化利用率の予測値 (0〜1の間の値) を、 直近で収集した負荷情報および単 位情報当りの負荷増分および情報要求の数の増分から算出する (S 22) 。 負荷 情報 iに対するこれらの値を、 X i、 S x i、 mとすると、 新規の情報要求も含 められたこの負荷情報の正規化利用率の予測値 X i 'は以下の式で表される。 なお、 本例では、 各負荷情報の単位情報要求数当りの増分(δ X i )は、 事前に 実測などで定数値として算出し、 第 7図及び第 8図のサーバ情報テーブル、 経路 情報テーブルに登録されているものとする。 In this case, the service selection unit 5A searches the server information table (FIG. 7) and the route information table (FIG. 8) for the information every time an information request from the client is received (S21). For each possible combination of route and route, the predicted values of normalized resource utilization (values between 0 and 1) for the load information (obtained at the time of the most recent information collection) included in each table were collected most recently. It is calculated from the load information, the load increment per unit information, and the increment in the number of information requests (S22). Assuming that these values for the load information i are X i, S xi, and m, the predicted value X i ′ of the normalized utilization rate of this load information including the new information request is expressed by the following equation. . In this example, the increment (δ X i) of each piece of load information per unit information request is calculated in advance as a constant value by actual measurement or the like, and the server information table and the route information table shown in FIGS. It shall be registered in.
X i =x i + (m+ 1 ) X δ x i 上式の値を用いて、 (サーバ、 経路) の各組合せについて、 各資源の残り容量 率を、 ( 1 _ 正規化利用率の予測値) で算出し、 この組合せに対するプリファ レンス値 Pn 'を、 全負荷情報の残り容量率の積として計算する (S 23) 。 負荷情報 iの正規化利用率を X iとすると、 プリファレンス値の予測値 Pn ' は以下の式で表される。 X i = xi + (m + 1) X δ xi Using the value of the above equation, for each combination of (server, route), calculate the remaining capacity ratio of each resource by (1 _ predicted value of normalized utilization rate). Then, the preference value Pn 'for this combination is calculated as the product of the remaining capacity ratios of the full load information (S23). Assuming that the normalized utilization of the load information i is X i, the predicted value Pn ′ of the preference value is expressed by the following equation.
P n ' = (1 - X 1 ') (1 - X 2 ') · · · (1 - X k ') ここで、 X i 'は負荷情報 iの正規化利用率の予測値である。 そして、 すべての (サーバ、 経路) の組合せについて P n 'を比較し、 値が 最大となる組合せを、 情報要求に対して割当てるサービスとして選択し (S 24 ) する。 そして、 実際の資源を制御するために、 第 3図における資源制御部 6 A に起動をかける (S 25Y, S 26) 。 もし条件を満たす組合せがなければ、 適 切な資源は存在しないとして、 情報要求を拒否する (S 25N, S 27) 。 (第 3の動作) P n '= (1-X 1') (1-X 2 ') · · · (1-X k') where X i 'is a predicted value of the normalized utilization of the load information i. Then, P n ′ is compared for all combinations of (server, route), and the combination having the maximum value is selected as a service to be assigned to the information request (S 24). Then, in order to control the actual resources, the resource control unit 6A in FIG. 3 is started (S25Y, S26). If no combination satisfies the condition, The information request is rejected because there is no critical resource (S25N, S27). (Third operation)
第 1 1図は、 第 9図や第 10図に示した動作と異なるサービス選択部の第 3の 動作を示すフローチャートである。 本例では、 第 7図のサーバ情報テーブル及び 第 8図の経路情報テーブルを使つて動作する。  FIG. 11 is a flowchart showing a third operation of the service selecting unit different from the operations shown in FIGS. 9 and 10. In this example, the operation is performed using the server information table shown in FIG. 7 and the route information table shown in FIG.
この場合、 サービス選択部 5 Aは、 ユーザクライアン卜からの情報要求を受付 ける都度、 当該情報に対する第 7図に示されたサーバ情報テ一プノレ、 第 8図に示 された経路情報テーブルを検索する (S 31) 。 その後、 第 2の動作 (第 10図 ) で説明したように、 すべての (サーバ、 経路) の,組合せについて、 新規の情報 要求も含めたプリファレンス値の予測値 Pt (=Pn ') を算出する (S 32) 。 次に、 新規の情報要求を含まないプリファレンス値の予測値 Pt— iを算出するIn this case, each time the service selection unit 5A receives an information request from the user client, the service selection unit 5A searches the server information tape shown in FIG. 7 for the information and the route information table shown in FIG. Yes (S31). Thereafter, as described in the second operation (Fig. 10), all (server route) of the combination, the prediction value P t of the preference value, including the new information request (= Pn ') It is calculated (S32). Next, a predicted value Pt-i of a preference value not including a new information request is calculated.
(S 33) 。 これらより、 すべての (サーバ、 経路) の組合せについて、 プリフ アレンス値の予測値の減少分である、 Pt— — Ptを算出する (S 34) 。 そし て、 この差分値が最小となる組合せを、 情報要求に対して割当てるサービスとし て選択し (S 35) 、 実際の資源を制御するために、 第 3図における資源制御部 6 Aに起動をかける (S 36Y, S 37) 。 もし条件を満たす組合せがなければ 、 適切な資源は存在しないとして、 情報要求を拒否する (S 36N, S 38) 。 (S33). From these, all (server route) for the combination of a decrease in the estimated value of Purifu Arens value, P t - - calculating a P t (S 34). Then, the combination with the smallest difference value is selected as a service to be assigned to the information request (S35), and the resource control unit 6A in FIG. Apply (S 36Y, S 37). If there is no combination that satisfies the condition, the information request is rejected because there is no appropriate resource (S36N, S38).
(第 4の動作)  (4th operation)
第 12図は、 第 9図〜第 1 1図に示した動作と異なるサービス選択部の第 4の 動作を示すフローチャートである。 本例では、 第 7図のサーバ情報テーブル及び 第 8図の経路情報テーブルを使って動作する。  FIG. 12 is a flowchart showing a fourth operation of the service selection unit different from the operations shown in FIGS. 9 to 11. In this example, the operation is performed using the server information table shown in FIG. 7 and the route information table shown in FIG.
第 4の動作では、 各負荷情報の単位情報要求 (接続要求) 当りの増分 (δ χ ί ) を、 上述の第 2の動作 (第 10図) で説明したように予め定数値として与えるの ではなく、 定期的に収集した負荷情報をもとに適応的に修正していく手順を規定 する。  In the fourth operation, the increment (δ χ ί) per unit information request (connection request) of each load information is given as a constant value in advance as described in the second operation (FIG. 10). Instead, it specifies a procedure for adaptively correcting based on load information collected periodically.
この動作においては、 新しい負荷情報を収集する都度、 当該情報に対する第 7 図に示されたサーバ情報テーブル、 第 8図に示された経路情報テーブルを検索す る (S 41) 。 次に、 前回の負荷情報収集時からの、 各負荷情報の残り容量率お ょぴ情報要求数の増減を計算する (S42) 。 この値と情報要求数の増分より、 単位要求当りの、 各負荷情報の残り容量率の増減を計算する (S 43) 。 例えば ある負荷情報 iについて、 前回収集した負荷情報値、 今回収集した負荷情報値、 及び情報要求数の増分をそれぞれ、 X ( i - 1) 、 ( i ) 、 nとすれば、 新し い増分 δ X iは次の式で表される。 ό i = vx ( i ― x ( i— 1 ) ) / n 上式で算出した値を、 サーバ情報テーブル、 経路情報テーブルに記録し (S4 4) 、 次に新たな負荷情報を収集するまで、 この値を負荷情報の増分として利用 する。 In this operation, each time new load information is collected, the server information table shown in FIG. 7 and the route information table shown in FIG. 8 for the information are searched (S41). Next, the remaining capacity ratio of each load information since the last load information collection The increase / decrease in the number of information requests is calculated (S42). Based on this value and the increment of the number of information requests, the increase / decrease of the remaining capacity ratio of each load information per unit request is calculated (S43). For example, for a given load information i, the load information value collected last time, the load information value collected this time, and the increment of the number of information requests are X (i-1), (i), and n, respectively. δ X i is represented by the following equation. ό i = vx (i-x (i-1)) / n The value calculated by the above equation is recorded in the server information table and the route information table (S44). This value is used as the load information increment.
第 13図は、 上述した資源利用率を得る際に使用される重み付け関数を示す図 である。 すなわち、 ここに示す曲線は、 実際の資源利用率に替えてプリファレン ス値の計算で使用する値を求めるための関数式を表す。 負荷情報値 X iは重み付 け関数 y = F i (x) で変換された後、 サービスの組合せにおけるプリファレン ス値を算出する。 つまり、 プリファレンス値 Pnは以下の式で表される。  FIG. 13 is a diagram showing a weighting function used when obtaining the above-mentioned resource utilization rate. In other words, the curve shown here represents a function formula for calculating the value used in calculating the preference value instead of the actual resource utilization rate. After the load information value X i is converted by the weighting function y = F i (x), the preference value for the service combination is calculated. That is, the preference value Pn is represented by the following equation.
Pn = (1 -F 1 ( 1) ) (1 -F 2 (x 2) ) · · · (1-Fk (x k) )  Pn = (1 -F 1 (1)) (1 -F 2 (x 2)) (1-Fk (x k))
ここで、 x iは負荷情報 iの正規化利用率である。  Here, x i is the normalized utilization rate of load information i.
第 13図に示すのは、 この重み付け関数 Fの例である。 通常は、 y = X (つ まり正規化利用率をそのまま) を使う。 当該負荷情報の影響度を大きく反映させ たい場合は、 関数 Fとして上に凸の関数である y =X1/2を使うことで実現でき る。 当該負荷情報の影響度を小さく反映させたい場合は、 関数 Fとして下に凸の 関数である y = X 2を使うことで実現できる。 FIG. 13 shows an example of the weighting function F. Normally, use y = X (that is, leave the normalized utilization unchanged). When it is desired to greatly reflect the degree of influence of the load information, the function F can be realized by using an upwardly convex function y = X1 / 2 . When it is desired to reflect the degree of influence of the load information to a small extent, it can be realized by using a downwardly convex function y = X 2 as the function F.
(第 5の動作)  (Fifth operation)
第 14図は、 第 9図〜第 12図に示した動作と異なるサービス選択部の第 5の 動作を示すフローチャートである。 本例では、 第 5図及び第 6図に示されたサー バ情報及び経路情報テーブル又は第 7図及び第 8図に示されたサーバ情報テープ ル及び経路情報テーブルを使って動作する。 . この場合、 サービス選択部 5Aは、 新しい負荷情報を収集する都度、 当該情報 に対するサーバ情報テーブル、 経路情報テーブルを検索する (S 51) 。 次に、 ' サーバと経路の可能な組合せについて、 上述した第 1図の動作で示した手順で新 しく収集した負荷情報に関する正規化利用率を算出し (S 52) する。 次に、 残 り容量率を算出すると共に、 この組合せに対するプリファレンス値を算出する ( S 53) 。 そして、 このプリファレンス値が予め定義した定義値以下であるかど うかを判定し (S 54) 、 もし定義値以下の場合 (S 54Y) は、 本サービスの どこかで輻輳が起きていると判断し、 同一のサーバへ至る別経路 (代替経路) へ 既設定コネクションの一部の経路制御を切替える (ルーティングし直す) (S 5 5) 。 なお、 本経路制御の方法については、 本特許では詳細に述べないが、 当該 の情報要求を VLANや I P-VPNの経路に動的に対応付けするために付与す るラベルの変更や、 選択する出カインタフ ースの変更で実現する。 FIG. 14 is a flowchart showing a fifth operation of the service selection unit different from the operations shown in FIGS. 9 to 12. In this example, the operation is performed using the server information and route information table shown in FIGS. 5 and 6, or the server information table and route information table shown in FIGS. 7 and 8. In this case, each time the service selection unit 5A collects new load information, The server information table and the route information table for are searched (S51). Next, for the possible combination of the server and the route, the normalized utilization rate for the newly collected load information is calculated by the procedure shown in the operation of FIG. 1 described above (S52). Next, the remaining capacity ratio is calculated, and the preference value for this combination is calculated (S53). Then, it is determined whether or not the preference value is equal to or less than a predefined value (S54). If the preference value is equal to or less than the defined value (S54Y), it is determined that congestion occurs somewhere in the service. Then, a part of the route control of the already set connection is switched to another route (alternate route) to the same server (re-routing) (S55). Although this route control method is not described in detail in this patent, it is not necessary to change or select a label assigned for dynamically associating the information request with a VLAN or an IP-VPN route. This is realized by changing the output interface.
(実施例)  (Example)
第 1 5図は、 本発明の一構成例を実施例としてより詳細に示す全体プロック図 である。 第 15図に示されるように、 ユーザクライアント 1 1を収容するァクセ スネットワーク 100 (例えば、 地域拠点網) は、 データ中継装置 1を介してィ ンターネット 200に接続される。 一方、 情報が提供可能に格納されている情報 システムサイト 300, 400は、 S L B (Session Load Balancer; サーバ負 荷分散装置)サーバ 312, 413を介してインターネット 200に接続され、 内部的には複数のアプリサーバ 301〜 30 mへのサーバ負荷分散を行う。 情報 が格納されている情報提供部は、 データ中継装置 1と S LBサーバ 312, 41 3の二段階で仮想化される。 第 1 5図中では、 各 I Pァドレスが # 1〜# 1 7で 示されている。 そして、 ユーザクライアント 1 1から V I P (仮想 I P) である # 2 (192.168.1.1) 宛に送られたパケットは、 データ中継装置 1にて振分けの ための I Pアドレス変換を行い、 振分け先の S LBサーバの V I P# 6 (図中で は、 S LBサーバ 312の 192.168.3.5) に変換されて、 経路指定の上、 SLB サーバ 31 2宛に送られる。 これを受けて、 S LBサーバ 31 2では、 V I Pで ある # 6 (192.168.3.5) より振分けのための I Pァドレス変換を行い、 振分け 先のアプリサーバの実 I P (図中では、 アプリサーバ 301の # 7 (192.168.5. 7) ) に変換されて、 アプリサーバ 301宛に送られる。 また、 経路は次ホップ I Pを指定してパケットを送出することで制御する。 データ中継装置 1から SL Bサーバ 312に至る経路は、 ルータ 201 (#4 : 192.168.2.2) を経由する ものと、 ルータ 202 (# 13 : 192.168.2.3) を経由するものの 2つが存在し 、 それぞれデータ中継装置から次ホップとして #4 (192.168.2.2) 、 あるいは # 1 3 (192.168.2.3) に宛ててパケットを送出することで、 通過する経路の切 り分けを行う。 また3 5サーバ413 (# 17 : 192.168.4.6) に至る経路は ルータ 203 (# 15 : 192.168.2.4) を経由するもののみである。 FIG. 15 is an overall block diagram showing one configuration example of the present invention in more detail as an embodiment. As shown in FIG. 15, an access network 100 (for example, a regional base network) accommodating the user client 11 is connected to the Internet 200 via the data relay device 1. On the other hand, the information system sites 300 and 400 where information is stored so as to be provided are connected to the Internet 200 via SLB (Session Load Balancer; server load balancer) servers 312 and 413, and internally, Distribute server load to application servers 301 to 30 m. The information providing unit in which the information is stored is virtualized in two stages: the data relay device 1 and the SLB servers 312 and 413. In FIG. 15, each IP address is indicated by # 1 to # 17. Then, the packet sent from the user client 11 to the VIP (virtual IP) # 2 (192.168.1.1) is converted by the data relay device 1 to an IP address for distribution, and the distribution destination SLB It is converted to the server's VIP # 6 (192.168.3.5 in the figure, SLB server 312 192.168.3.5), routed, and sent to SLB server 312. In response to this, the SLB server 312 converts the IP address for distribution from VIP # 6 (192.168.3.5), and the real IP of the distribution destination application server (in the figure, the application server 301 # 7 (192.168.5. 7)) and sent to the application server 301. The route is the next hop This is controlled by sending a packet by specifying the IP. There are two routes from the data relay device 1 to the SL B server 312, one via the router 201 (# 4: 192.168.2.2) and one via the router 202 (# 13: 192.168.2.3). By transmitting packets from the data relay device to # 4 (192.168.2.2) or # 13 (192.168.2.3) as the next hop, the route to be passed is identified. The route to the 35 server 413 (# 17: 192.168.4.6) is only via the router 203 (# 15: 192.168.2.4).
サーバ負荷情報の収集については、 アプリサーバ 301 (#7 : 192.168.5.7 ) 〜3 Om (#8 : 192.168.5.8) , 401 (# 10 : 192.168.6.9) 〜40 n ( # 1 1 : 192.168.6.10) の内部に、 C P U負荷率やディスク使用率を定期的に計 測する負荷計測エージヱント 301- a〜 30 m- a、 401- a〜40 n-aを配 備する。 これら負荷計測エージェントとしてはネットワーク管理の標準規格であ る SNMP (Simple Network Management Protocol) のエージェントや、 UN Regarding collection of server load information, application server 301 (# 7: 192.168.5.7) to 3 Om (# 8: 192.168.5.8), 401 (# 10: 192.168.6.9) to 40n (# 11: 192.168.5.7) In 6.10), load measurement agents 301-a to 30m-a and 401-a to 40na that periodically measure the CPU load rate and disk usage rate will be provided. These load measurement agents include SNMP (Simple Network Management Protocol), which is a standard for network management, and UN
1 X系 OSの標準ツールである s a rで内部レジスタを読み出すプログラムなど で実現する。 この各アプリサーバで定期的に計測したデータを、 アプリサーバが S LBサーバへ定期的に報告する。 これを受けて、 SLBサーバでは、 複数のァ プリサーバから得た負荷情報をサイト全体を示すものへ集約 (サーバ負荷集約手 段による) した上で、 データ中継装置へサイト全体を表す負荷情報として定期的 に報告する。 なお、 集約の仕方としては、 CPU負荷とディスク使用率について は単純平均を用い、 コネクション数については総和を用いる。 1 Implemented with a program that reads internal registers using s ar, the standard tool of the X-system OS. The application server periodically reports data measured by each application server to the SLB server. In response to this, the SLB server aggregates the load information obtained from the multiple application servers into information that indicates the entire site (by means of server load aggregation), and periodically sends it to the data relay device as load information that represents the entire site. Report appropriately. As a method of aggregation, a simple average is used for CPU load and disk usage, and a total is used for the number of connections.
C P U負荷率 →単純平均 C P U load factor → Simple average
ディスク使用率 →単純平均  Disk usage → Simple average
コネクション数 →総和 データ中継装置 1では、 情報収集部 2 Aとして、 サーバ負荷収集部 2 A— 1と 経路負荷計測部 2 A— 2を有し、 サーバ負荷情報については、 サーバ負荷収集部 Number of connections → total The data relay device 1 has a server load collection unit 2A-1 and a route load measurement unit 2A-2 as the information collection unit 2A. For server load information, the server load collection unit
2 A— 1が各 S LBサーバ 312, 413のサーバ負荷収集部 312 a , 413 aにより収集された情報 (集約された負荷情報) をサーバサイト 300, 400 の負荷情報として収集する。 また、 経路負荷については、 経路負荷計測部 2 A_ 2がテストパケット生成部 2 A— 2 aと応答観測部 2 A— 2 bを有し、 テストバケツト生成部 2 A— 2 aが 経路を指定して (第 15図中では、 次ホップ I Pを指定する) 、 テストパケット (典型的には I CMP ECHO R e q u e s tバケツト) を送出し、 その応答2A-1 collects information (aggregated load information) collected by the server load collecting units 312a and 413a of the respective SLB servers 312 and 413 as load information of the server sites 300 and 400. As for the path load, the path load measurement unit 2A_2 has a test packet generation unit 2A-2a and a response observation unit 2A-2b, and the test bucket generation unit 2A-2a determines the path load. Specify (specify the next hop IP in Fig. 15), send a test packet (typically an I CMP ECHO Request bucket), and respond
(遅延やスループット) を応答観測部 2 A— 2 bが観測することで、 指定経路の 使用帯域や遅延を算出する。 The response observing unit 2A-2b observes (delay and throughput), and calculates the bandwidth and delay of the specified route.
第 16図は、 第 15図に示された各経路で適用されるバケツトフォーマツトを 示す図である。 それぞれ宛先 I P、 送信元 I P、 次ホップ I Pで定義される。 な お、 次ホップ I Pは直接そのバケツトを投げる装置の I Pである。 次ポップ I P は、 I Pの下位の MAC (Me d i a Ac c e s s C o n t r o l) 層におい て、 この次ポップ I Pに対する MACアドレス宛に MACバケツトを送るために 使われる。 本バケツトフォーマツトは、 上記の説明で記したデータのやりとりで 使われるものである。 なお、 第 16図において、 第 16図 (a) はユーザクライ アントからデータ中継装置への場合を示し、 第 16図 (b) はデータ中継装置か らルータ 201への場合を示し、 第 16図 (c) はルータ 201から S LBサー バ 312への場合を示し、 第 16図 (d) は S LBサーバ 312からアプリサー ノ 301への場合を示す。  FIG. 16 is a diagram showing a bucket format applied to each route shown in FIG. They are defined by destination IP, source IP, and next hop IP, respectively. The next hop IP is the IP of the device that throws the bucket directly. The next pop IP is used to send a MAC bucket to the MAC address for the next pop IP in the lower MAC (Media Access Cntrl) layer of the IP. This bucket format is used for the data exchange described in the above explanation. In FIG. 16, FIG. 16 (a) shows the case from the user client to the data relay device, FIG. 16 (b) shows the case from the data relay device to the router 201, and FIG. (C) shows the case from the router 201 to the SLB server 312, and FIG. 16 (d) shows the case from the SLB server 312 to the application server 301.
第 1 7図は、 第 15図のデータ中継装置 1の内部の機能構成を示した図である 。 入力パケットは、 クラス分類部 7Aにより予め定義されたクラス分類ポリシに 従い、 複数のクラス (パケット 'キュー) に分類される。 サービス選択部 5Aは 各クラスのパケットについて、 予め定義されたサービス割当てポリシと、 収集さ れた負荷情報 (サーバ負荷、 経路負荷) とに従い、 サービス選択 (サーバと経路 の決定) を行う。 資源制御部 6 Aは、 サーバ制御部 6 A _ 1と経路制御部 6 A _ 2を有し、 サーバ制御部 6 A— 1では、 送信された宛先 I Pを決定したサーバに ついての宛先 I Pに変換し、 データ送受信部 8 Aの NAT (機能部) 8A— 1に 渡す。 経路制御部 6 A_ 2では、 経路選択において決定した経路に対応する次ホ ップ I Pを付与してルーティング 'スタック (機能部) 8 A— 2へ渡す。 NAT 8 A- 1やルーテイング'スタック 8 A— 2などの機能部は指定された動作を行 ラ。 第 1 8図は、 第 1 5図の構成に対応したサーバ情報テーブル、 経路情報テープ ルの第 1の実際の構成例である。 これらは、 それぞれ第 5図、 第 6図のフォーマ ットに対応している。 FIG. 17 is a diagram showing a functional configuration inside the data relay device 1 of FIG. The input packet is classified into a plurality of classes (packet 'queue) according to a classification policy defined in advance by the classification unit 7A. The service selection unit 5A selects a service (determines a server and a route) for each class of packets in accordance with a predefined service allocation policy and collected load information (server load and route load). The resource control unit 6A has a server control unit 6A_1 and a route control unit 6A_2, and the server control unit 6A-1 sends the transmitted destination IP to the destination IP for the determined server. Converted and passed to NAT (functional unit) 8A-1 of data transmission / reception unit 8A. The route control unit 6A_2 assigns the next hop IP corresponding to the route determined in the route selection and passes it to the routing 'stack (functional unit) 8A-2. Functional units such as NAT 8A-1 and Routing 'Stack 8A-2 perform specified operations. FIG. 18 is a first actual configuration example of a server information table and a route information table corresponding to the configuration of FIG. These correspond to the formats in Figures 5 and 6, respectively.
第 1 9図は、 第 1 5図に対応したサーバ情報テーブル、 経路情報テーブルの第 2の実際の構成例を示す図である。 これらは、 それぞれ第 7図、 第 8図のフォー マツ 1、に対応している。  FIG. 19 is a diagram showing a second actual configuration example of the server information table and the route information table corresponding to FIG. These correspond to Figure 7 and Figure 1 in Figure 8, respectively.
以下、 第 1 5図に示した構成の動作について、 第 9図〜第 1 2図及び第 1 4図 に示した第 1の動作〜第 5の動作に対応させて説明する。  Hereinafter, the operation of the configuration shown in FIG. 15 will be described in association with the first to fifth operations shown in FIGS. 9 to 12 and FIG.
(第 1の対応動作)  (First action)
まず、 第 9図を用いて説明した第 1の動作に対応する動作 (実施例動作 1 ) に ついて説明する。  First, an operation (operation 1 of the embodiment) corresponding to the first operation described with reference to FIG. 9 will be described.
データ中継装置へは、 第 1 6図 (a ) に示したフォーマッ トで情報要求が送ら れる。 サービス選択部はこの情報 (VIPとして # 2 (192.168.1.1) ) に対し、 第 1 8図に示したサーバ情報テーブル、 経路情報テーブルを検索する。  An information request is sent to the data relay device in the format shown in Fig. 16 (a). The service selector searches the server information table and route information table shown in FIG. 18 for this information (# 2 (192.168.1.1) as VIP).
これより、 当該情報に対する (サーバ、 経路) の組合せ [以下これを、 テープ ル中の (SvrEntryID、 RtEntrylD) で表示する] として、  From this, the combination of (server, route) for the information [hereafter, this is indicated by (SvrEntryID, RtEntrylD) in the table]
(1、 1) , (1、 2) , (2、 3)  (1, 1), (1, 2), (2, 3)
の 3つがあることが分かる。 ここで、 サーバを示す「1」は、 S L Bサーバ 3 1 2 (# 6 : 192.168.3.5) を表し、 サーバを示す「2」は、 S L B f— 4 1 3 ( # 1 7 : 192.168.4.6) を表し、 経路を示す「1」は、 パス _ 1 (ルータ 2 0 1 : # 4 ) を表し、 経路を示す「2」は、 パス— 2 (ルータ 2 0 2 : # 1 3 ) を表し、 経路を示す「3 Jはパス一 3 (ルータ 2 0 3 : # 1 5 ) を表している。  It turns out that there are three. Here, “1” indicating the server indicates the SLB server 3 1 2 (# 6: 192.168.3.5), and “2” indicating the server is SLB f—4 1 3 (# 17: 192.168.4.6) "1" indicating a route indicates path _1 (router 201: # 4), "2" indicating a route indicates path-2 (router 202: # 13), "3 J indicating a route indicates path 1 (router 203: # 15)".
この 3つの組合せに対して、 サーバ負荷情報として C P U負荷率 (CpuLoad)/ ディスク使用率 (DiskLoad)/コネクション数 (ConnNum)の 3つを、 経路負荷情報 として使用帯域 (Bandwidth)/経路遅延 (RtDelay)の 2つを、 サービス決定で考盧 するパラメータとし、 各資源の正規化利用率を以下のように算出する。 なお、 最 大許容コネクション数は 30,000、 最大許容遅延は 100msとしている。  For these three combinations, CPU load ratio (CpuLoad) / disk usage ratio (DiskLoad) / number of connections (ConnNum) are used as server load information, and used bandwidth (Bandwidth) / route delay (RtDelay) are used as route load information. ) Are the parameters considered in the service decision, and the normalized utilization rate of each resource is calculated as follows. The maximum allowable number of connections is 30,000 and the maximum allowable delay is 100 ms.
(例えば、 CPU負荷率は CpuLoadの値そのまま、 コネクション数は ConnNu ra/ (最大許容コネクション数)で算出する) 正規化利用率の算出 (For example, the CPU load rate is calculated as CpuLoad and the number of connections is calculated by ConnNu ra / (maximum allowable number of connections)) Calculation of normalized utilization
資源組合せ CPU負荷率 テ"イスク使用率 コネクシ aン数 使用帯域 経路遅延 (1、 1) 0.6 0.5 0.33 0.5 0.1 Resource combination CPU load rate Disk usage rate Number of connectors a Bandwidth used Path delay (1, 1) 0.6 0.5 0.33 0.5 0.1
(1、 2) 0.6 0.5 0.33 0.1 0.001(1, 2) 0.6 0.5 0.33 0.1 0.001
(2、 3) 0.8 0.5 0.68 0.1 0.01 上記の正規化利用率より、 各資源に対する残り容量率、 および全項目の積演算 値 (=プリファレンス値) を、 各組合せで以下のように算出する。 各資源の残り 容量率は、 1一 (正規化利用率) 、 プリファレンス値は、 各組合せでの全項目の 残り容量率の積である。 (2, 3) 0.8 0.5 0.68 0.1 0.01 From the above normalized utilization rates, calculate the remaining capacity rate for each resource and the product operation value (= preference value) of all items for each combination as follows. The remaining capacity rate of each resource is 11 (normalized utilization rate), and the preference value is the product of the remaining capacity rates of all items in each combination.
残り容量率おょぴプリファレンス値の算出  Calculation of the remaining capacity ratio preference value
資源 CPU負荷率 テ"イスク使用率 コネクション数 使用帯域 経路遅延 フ 'リファレンス値 組合せ Resource CPU load rate Disk usage rate Number of connections Bandwidth used Route delay Reference value combination
(1、 1) 0.4 0.5 0.67 0.5 0.9 → 0.06030 (1, 1) 0.4 0.5 0.67 0.5 0.9 → 0.06030
(1、 2) 0.4 0.5 0.67 0.9 0.999 → 0.12048(1, 2) 0.4 0.5 0.67 0.9 0.999 → 0.12048
(2、 3) 0.2 0.5 0.32 0.9 0.99 = 0.02851 上記の演算結果より、 プリファレンス値が最大となる (1、 2) の組合せを選 択する。 このプリファレンス値は 0ではないので、 有効な選択肢としてこれを挙 げ、 リソース制御へ渡す。 (2, 3) 0.2 0.5 0.32 0.9 0.99 = 0.02851 Based on the above calculation result, select the combination (1, 2) that maximizes the preference value. Since this preference value is not 0, list it as a valid choice and pass it to resource control.
(第 2の対応動作)  (2nd action)
次に、 第 1 0図を用いて説明した第 2の動作に対応する動作 (実施例動作 2 ) について説明する。  Next, an operation (operation 2 of the embodiment) corresponding to the second operation described with reference to FIG. 10 will be described.
データ中継装置へは、 第 1 6図 (a ) に示したフォーマッ トで情報要求が送ら れる。 サービス選択部はこの情報 (VIPとして # 2 : 192.168.1.1) に対し、 第 1 9図に示したサーバ情報テーブル、 経路情報テーブルを検索する。  An information request is sent to the data relay device in the format shown in Fig. 16 (a). The service selection unit searches the server information table and the route information table shown in Fig. 19 for this information (# 2: 192.168.1.1 as VIP).
これより、 当該情報に対する (サーバ、 経路) の組合せとして、  From this, as a combination of (server, route) for the information,
(1、 1) , (1、 2) , (2、 3)  (1, 1), (1, 2), (2, 3)
の 3つがあることが分かる。 この 3つの組合せに対して、 サーバ負荷情報とし て C P U負荷率 (CpuLoad)/ディスク使用率 (DiskLoad)/コネクション数 (ConnNu m)の 3つを、 経路負荷情報として使用帯域 (Bandwidth)/経路遅延 (RtDelay)の 2 つを、 サービス決定で考慮するパラメータとし、 各資源の正規化利用率の予測値 (新規情報要求分を含む) を以下のように算出する。 なお、 最大許容コネクショ ン数は 30,000、 最大許容遅延は 100msとしている (例えば、 CPU負荷率は CpuL oad+ δ CpuLoadX (ConnNum+ReqNum+l), で算出する) 。 It turns out that there are three. For these three combinations, CPU load ratio (CpuLoad) / disk usage ratio (DiskLoad) / connection number (ConnNum) are used as server load information, and used bandwidth (Bandwidth) / route delay are used as route load information. (RtDelay) 2 One of them is a parameter to be considered in the service decision, and the predicted value of the normalized utilization rate of each resource (including the new information request) is calculated as follows. The maximum allowable number of connections is 30,000 and the maximum allowable delay is 100 ms (for example, the CPU load factor is calculated by CpuLoad + δCpuLoadX (ConnNum + ReqNum + l)).
正規化利用率の予測値の算出  Calculating the predicted value of normalized utilization
資源組合せ CPU負荷率 テ"イスク使用率 コネクシ 3ン数 使用帯域 経路遅延  Resource combination CPU load rate Disk usage rate Number of connections 3 Bandwidth used Path delay
(1、 1) 0.6402 0.5804 0.34 0.601 0.1101 (1, 1) 0.6402 0.5804 0.34 0.601 0.1101
(1、 2) 0.6402 0.5804 0.34 0.10202 0.0111(1, 2) 0.6402 0.5804 0.34 0.10202 0.0111
(2、 3) 0.8402 0.5804 0.6907 0.1201 0.0301 上記の正規化利用率の予測より、 各資源に対する残り容量率の予測値、 及び全 項目の積演算値 (=プリファレンス値) を、 各組合せで以下のように算出する。 (2, 3) 0.8402 0.5804 0.6907 0.1201 0.0301 Based on the above-mentioned normalized utilization forecast, the predicted value of the remaining capacity ratio for each resource and the product operation value (= preference value) of all items are calculated as follows for each combination. Is calculated as follows.
残り容量率の予測値おょぴプリファレンス値の算出 資源 CPU負荷率 テ"イスク使用率 コネクション数 使用帯域 経路遅延 フ Ίファレンス値 組合せ  Calculation of estimated value of remaining capacity ratio and preference value Resource CPU load factor Disk usage rate Number of connections Bandwidth used Route delay Reference value Combination
(1、 1) 0.3598 0.4196 0.66 0.399 0.8899 → 0.03538 (1, 1) 0.3598 0.4196 0.66 0.399 0.8899 → 0.03538
(1、 2) 0.3598 0.4196 0.66 0.89798 0.9889 → 0.08848(1, 2) 0.3598 0.4196 0.66 0.89798 0.9889 → 0.08848
(2、 3) 0.1598 0.4196 0.3093 0.8799 0.9699 → 0.01770 上記の演算結果より、 プリファレンス値が最大となる (1、 2) の組合せを選択 。 このプリファレンス値は 0ではないので、 有効な選択肢としてこれを挙げ、 リ ソース制御へ渡す。 (2, 3) 0.1598 0.4196 0.3093 0.8799 0.9699 → 0.01770 From the above calculation result, select the combination of (1, 2) that maximizes the preference value. Since this preference value is not 0, list it as a valid choice and pass it to resource control.
(第 3の対応動作)  (Third corresponding operation)
次に、 第 1 1図を用いて説明した第 3の動作に対応する動作 (実施例動作 3 ) について説明する。  Next, an operation corresponding to the third operation described with reference to FIG. 11 (operation 3 of the embodiment) will be described.
データ中継装置へは、 第 1 6図 (a ) に示したフォーマットで情報要求が送ら れる。 サービス選択部はこの情報 (VIPとして # 2 : 192.168.1.1) に対し、 第 1 9図に示したサーバ情報テーブル、 経路情報テープノレを検索する。  An information request is sent to the data relay device in the format shown in FIG. 16 (a). The service selection unit searches this information (# 2: 192.168.1.1 as VIP) from the server information table and route information tape shown in Fig. 19.
これより、 当該情報に対する (サーバ、 経路) の組合せとして、  From this, as a combination of (server, route) for the information,
(1、 1) , (1、 2) , (2、 3)  (1, 1), (1, 2), (2, 3)
の 3つがあることが分かる。 この 3つの組合せに対して、 サーバ負荷情報とし て CPU負荷率 (CpuLoad)/ディスク使用率 (DiskLoad)/コネクション数 (ConnNum )の 3つを、 経路負荷情報として使用帯域 (Bandwidth)/経路遅延 (RtDelay)の 2つ を、 サービス決定で考慮するバラメータとし、 新規情報要求を含むプリファレン ス値の予測値 P tを、 第 2の対応動作で求めた手順の通り算出する。 なお、 最大 許容コネクション数は 30,000、 最大許容遅延は 100msとしている。 It turns out that there are three. For these three combinations, server load information CPU load rate (CpuLoad) / disk usage rate (DiskLoad) / number of connections (ConnNum), and bandwidth usage (Bandwidth) / path delay (RtDelay) as path load information and Barameta, the prediction value P t of Preferences values including new information request, calculates as the procedure determined in the second corresponding operation. The maximum allowable number of connections is 30,000 and the maximum allowable delay is 100 ms.
同様に、 新規情報要求を含まないプリファレンス値の予測値 Pt-iを算出する。 以上より、 Pw-Ptを算出する。  Similarly, the predicted value Pt-i of the preference value not including the new information request is calculated. From the above, Pw-Pt is calculated.
以上のデータを、 各組合せについて記すと、 以下のようになる。  The above data is described below for each combination.
プリファレンス値の予測値および差分値  Predicted value and difference value of preference value
項目組合せ Pt Pt-i Pt-i-Pt  Item combination Pt Pt-i Pt-i-Pt
(1、 1) 0.03538 0.03552 0.00014  (1, 1) 0.03538 0.03552 0.00014
(1、 2) 0.08848 0.08863 0.00015  (1, 2) 0.08848 0.08863 0.00015
(2、 3) 0.01770 0.01774 0.00004  (2, 3) 0.01770 0.01774 0.00004
上記の演算結果より、 卩 一 P tが最小となる (2、 3) の組合せを選択。 こ のプリファレンス値は 0ではないので、 有効な選択肢としてこれを挙げ、 リソー ス制御へ渡す。 From the above calculation results, selects a combination of卩one P t is the minimum (2, 3). Since this preference value is not 0, list it as a valid choice and pass it to resource control.
(第 4の対応動作)  (4th action)
次に、 第 1 2図を用いて説明した第 4の動作に対応する動作 (実施例動作 4 ) について説明する。  Next, an operation corresponding to the fourth operation described with reference to FIG. 12 (operation 4 of the embodiment) will be described.
定期的に負荷情報を収集するタイミングで、 第 1 9図に示すサーバ情報テープ ル、 経路情報テーブルを検索する。  When the load information is collected periodically, the server information table and the routing information table shown in Fig. 19 are searched.
ここで、 新たに収集した負荷情報が、 以下の通りであるとする。 サーバ負荷  Here, it is assumed that the newly collected load information is as follows. Server load
SvrEntrylD CpuLoad'(%) iskLoad'(%) ConnNum' SvrEntrylD CpuLoad '(%) iskLoad' (%) ConnNum '
1 70 55 12000 1 70 55 12000
2 82 55 21000 経路 (パス' パス一 2 ) の経路負荷 2 82 55 21000 Route load of route (path'path-1)
RtEntrylD Bandwidth' RtDelay' RtConnN m' 6Mbps 12ms 2000 110 Mbps 0.2ms 10000 RtEntrylD Bandwidth 'RtDelay' RtConnN m '6Mbps 12ms 2000 110Mbps 0.2ms 10000
経路 (パス— 3 ) の経路負荷 RtEntrylD Bandwidth' RtDelay' RtConnNum' Route load of route (path-3) RtEntrylD Bandwidth 'RtDelay' RtConnNum '
3 12Mbps 1.2ms 21000 3 12Mbps 1.2ms 21000
これより、 前回の負荷収集時の負荷情報 (第 1 9図の値) からの増加分 1 (例 えば、 CPU負荷なら CpuLoad' = CpuLoad' - CpuLoad) は以下のようにな る。  From this, the increment 1 (for example, if the CPU load is CpuLoad '= CpuLoad'-CpuLoad) from the load information (the value in Fig. 19) at the time of the previous load collection is as follows.
くサーバ負荷 >  Server load>
SvrEntrylD dCpuLoad'(%) Z]DiskLoad'(%) ^ConnNum' SvrEntrylD dCpuLoad '(%) Z] DiskLoad' (%) ^ ConnNum '
1 10 5 2000 .1 10 5 2000.
2 10 5 479 2 10 5 479
<経路 (パス一 1、 パス一 2 ) の経路負荷 > <Route load of path (path 1 and path 1 2)>
RtEntrylD Bandwidth' RtDelay' ZlRtConnNum' RtEntrylD Bandwidth 'RtDelay' ZlRtConnNum '
1 1Mbps 2ms 1000 1 1Mbps 2ms 1000
2 10Mbps 0.1ms 1000  2 10Mbps 0.1ms 1000
<経路 (パス一 3 ) の経路負荷 > <Route (path 1-3) path load>
RtEntrylD ^Bandwidth' lRtDelay' ZlRtConnNum' 3 2Mbps 0.2ms 479 これより単位要求当りの各負荷情報の増加分 δ (例えば、 CPU負荷なら δ Cp uLoad' =^CpuLoad'/^ConnNum') は以下のようになる。 <サーバ負荷〉 RtEntrylD ^ Bandwidth 'lRtDelay' ZlRtConnNum '3 2Mbps 0.2ms 479 From this, the increase δ of each load information per unit request (for example, if CPU load, δ Cp uLoad' = ^ CpuLoad '/ ^ ConnNum') is as follows: Become. <Server load>
SvrEntrylD δ CpuLoad'(%) Δ diskLoad'(%)  SvrEntrylD δ CpuLoad '(%) Δ diskLoad' (%)
1 0.005 0.0025  1 0.005 0.0025
2 0.021 0.0104  2 0.021 0.0104
<経路 (パス一 1、 パス一 2 ) の経路負荷 ><Route load of path (path 1 and path 1 2)>
RtEntrylD δ Bandwidth' δ RtDelay' RtEntrylD δ Bandwidth 'δ RtDelay'
1 0.001Mbps 0.002ms  1 0.001Mbps 0.002ms
2 0.01Mbps 0.0001ms く経路 (パス一 3 ) の経路負荷 >  2 0.01Mbps 0.0001ms Route load of route (path-1 3)>
RtEntrylD δ Bandwidth' δ RtDelay'  RtEntrylD δ Bandwidth 'δ RtDelay'
3 0.0042Mbps 0.00042 これらの δの値を新たな負荷情報の増分とし、 第 1 9図に示すサーバ情報テー ブル、 経路情報テーブルの、 5 CpuLoad、 δ DiskLoad, δ Bandwidth, δ RtD elayにそれぞれ書き込む。  3 0.0042 Mbps 0.00042 These δ values are used as new load information increments and written into 5 CpuLoad, δ DiskLoad, δ Bandwidth, and δ RtDelay of the server information table and the route information table shown in FIG.
(第 5の対応動作)  (Fifth response operation)
次に、 第 1 4図を用いて説明した第 5の動作に対応する動作 (実施例動作 5 ) について説明する。  Next, an operation corresponding to the fifth operation described with reference to FIG. 14 (Example operation 5) will be described.
定期的に負荷情報を収集するタイミングで、 第 1 9図に示すサーバ情報テープ ル、 経路情報テーブルを検索する。  When the load information is collected periodically, the server information table and the routing information table shown in Fig. 19 are searched.
(サーバ、 経路) の各組合せに対し、 実施例動作 2で説明した手順 (ただし新規 情報要求分はない) で、 各資源の正規ィ匕利用率の予測値を算出する。  For each combination of (server, route), the predicted value of the regular usage rate of each resource is calculated by the procedure described in the operation 2 of the embodiment (however, there is no new information request).
同様に実施例動作 1で説明した手順により、 正規化利用率より、 残り容量率を 出し、 全項目の積演算値 (=プリファレンス値) を各組合せで算出する。 算出し た結果を、 以下に記す。 くプリファレンス値の算出 > Similarly, according to the procedure described in the operation 1 of the embodiment, the remaining capacity ratio is obtained from the normalized utilization rate, and the product operation value (= preference value) of all items is calculated for each combination. The calculated results are described below. Calculation of preference value>
組合せ つ。リファレンス値  Combination one. Reference value
(1、 1) 0.03552  (1, 1) 0.03552
(1、 2) 0.08863  (1, 2) 0.08863
(2、 3) 0.01774 ここで、 経路のリソース調整を行うためのスレショルド値 (第 1 4図ステップ S 5 4中の定義値) を 0 . 0 8とする。 スレショノレド値の意味は、 プリファレン ス値がこの値 (スレショルド値) を下回ったら、 本組合せのサービスのどこかで 輻輳状態が起きていると判断するための値である。  (2, 3) 0.01774 Here, the threshold value (the defined value in step S54 in FIG. 14) for adjusting the resources of the route is set to 0.08. The meaning of the threshold value is a value for judging that a congestion state has occurred somewhere in the service of this combination if the preference value falls below this value (threshold value).
上記のプリファレンス値とこのスレショルド値を比較した時、 経路が 2つある (1、 1) と (1、 2) について評価すると、 (1、 1) のプリファレンス値が定義 スレショルド値を下回っている。 つまり、 サーバ 3 1 2に至る経路 (パス一 1 ) の経路負荷を、 サーバ 3 1 2に至る経路 (パス一 2 ) に振り返る必要があると判 定する。  When comparing the above preference value with this threshold value, when there are two routes (1, 1) and (1, 2), the preference value of (1, 1) falls below the defined threshold value. I have. In other words, it is determined that it is necessary to reflect the route load of the route (path 1) to the server 312 to the route (path 1) to the server 312.
(なお、 (2、 3 )についてもプリファレンス値が定義スレショルド値を下回って いるが、 経路が 1つしかないので指定経路の切替え処理は行わない)  (Also, for (2, 3), the preference value is below the defined threshold value, but there is only one route, so the specified route switching process is not performed.)
以下、 このための資源、 (リソース) 制御を行うための動作を実施する。 セッシ ヨン単位で指定経路を経路 (パス— 2 ) に切替える動作を行う。 産業上の利用の可能性  In the following, the operation for resource (resource) control for this is performed. The specified route is switched to the route (path-2) in session units. Industrial potential
以上説明したように、 本発明によれば、 サーバと経路の負荷情報に応じて、 こ れらを選択することができ、 データ品質の劣化を有効に防止することができる。 また、 サービス (サーバと経路) を選択するために、 負荷情報に基づく複数の評 価基準から単一の評価基準値を導出することが可能となり、 選択肢の比較評価を 簡単に行うことができるようになる。 また、 収集した負荷情報と資源の利用予測 値から、 次の状態を予測して適切なサーバと経路を選択することが可能になり、 予測制御を行うことができるようになる。 従って、 これらにより、 資源の有効利 用とサービス品質の維持を実現することが可能になる。  As described above, according to the present invention, these can be selected according to the load information of the server and the route, and deterioration of data quality can be effectively prevented. In addition, it is possible to derive a single evaluation criterion value from multiple evaluation criteria based on load information in order to select a service (server and route), making it easier to compare and evaluate options. become. Also, based on the collected load information and resource utilization prediction values, it is possible to predict the next state and select an appropriate server and route, thereby enabling predictive control. Therefore, these enable effective use of resources and maintenance of service quality.

Claims

請 求 の 範 囲 The scope of the claims
1 . 複数のサーバとクライアン卜との間に設けられ、 クライアントから前記サー バのいずれかへの接続要求を中継するデータ中継装置であって、 1. A data relay device that is provided between a plurality of servers and a client and relays a connection request from a client to any of the servers,
前記サーバと、 前記データ中継装置から前記サーバへの経路とのそれぞれに関 する負荷情報を収集する情報収集部と、  An information collection unit that collects load information on each of the server and a route from the data relay device to the server;
前記情報収集部により収集された負荷情報に基づいて、 前記クライアントから の前記接続要求に対して、 少なくとも一つのサーバと該サーバまでの経路を選択 するサービス選択部と  A service selection unit that selects at least one server and a route to the server in response to the connection request from the client based on the load information collected by the information collection unit;
を備えてなるデータ中継装置。  A data relay device comprising:
2 . 請求の範囲第 1項に記載のデータ中継装置において、 2. In the data relay device according to claim 1,
前記サービス選択部は、 前記負荷情報に基づ!/、て各サーバと各経路のそれぞれ につレ、ての残り容量率を演算し、 得られた残り容量率の積演算値を各サーバと各 経路との複数の組み合わせについて算出し、 算出された積算演算値に基づいて、 前記少なくとも一つのサーバと該サーバまでの経路を選択することを特徴とする データ中継装置。  The service selection unit calculates the remaining capacity ratio of each server and each route based on the load information, and calculates a product operation value of the obtained remaining capacity ratio with each server. A data relay device that calculates a plurality of combinations with each route, and selects the at least one server and a route to the server based on the calculated integrated operation value.
3 . 請求の範囲第 2項に記載のデータ中継装置において、 3. In the data relay device according to claim 2,
前記サービス選択部は、 単位数の接続要求を受付けた場合における所定のサー バと該サーバまでの経路についての負荷情報又は残り容量率の変化分を取得して き、  The service selection unit obtains load information or a change in the remaining capacity ratio for a predetermined server and a path to the server when a unit number of connection requests are received,
前記変化分と、 既に取得されている負荷情報に基づく残り容量率と、 接続要求 数の変化分とに基づレ、て、 前記クライアントからの接続要求があつた場合の前記 残り容量率を算出することを特徴とするデータ中継装置。  Based on the change, the remaining capacity ratio based on the load information that has already been acquired, and the change in the number of connection requests, calculate the remaining capacity ratio when there is a connection request from the client. A data relay device.
4 . 請求の範囲第 3項に記載のデータ中継装置において、 4. The data relay device according to claim 3,
前記サービス選択部は、 接続要求を受け付ける前後における前記残り容量率の 積演算値の差分を算出し、 該差分値に基づいて、 少なくとも一つのサーバと該サ ーバまでの経路を選択することを特徴とするデータ中継装置。 The service selection unit calculates a difference between a product operation value of the remaining capacity ratio before and after accepting a connection request, and based on the difference value, at least one server and the service A data relay device for selecting a route to a server.
5 . 請求の範囲第 3項に記載のデータ中継装置において、 5. The data relay device according to claim 3,
前記サービス選択部は、 第 1の時点で収集した負荷情報とその時の接続要求数 と、 第 2の時点で収集した負荷情報とその時の接続要求数とのそれぞれの差分に 基づいて、 前記単位数の接続要求を受付けた場合における所定のサーバと該サー バまでの経路についての負荷情報又は残り容量率の変化分を算出して取得するこ とを特徴とするデータ中継装置。  The service selection unit is configured to calculate the unit number based on a difference between the load information collected at the first time and the number of connection requests at that time and the load information collected at the second time and the number of connection requests at that time. A data relay apparatus for calculating and acquiring load information or a change in a remaining capacity ratio for a predetermined server and a path to the server when the connection request is received.
6 . 請求の範囲第 2項に記載のデータ中継装置において、 6. The data relay device according to claim 2,
前記サービス選択部は、 前記残り容量率を算出する際に、 前記負荷情報に関連 付けられる資源利用率を取得し、 該資源利用率をパラメータ X iとする関数 Fを 導入して、 前記資源利用率を重み付けし、 残り容量率を 1一 F ( x i ) にて算出 することを特徴とするデータ中継装置。  When calculating the remaining capacity rate, the service selection unit acquires a resource utilization rate associated with the load information, and introduces a function F that uses the resource utilization rate as a parameter Xi to perform the resource utilization. A data relay device characterized in that the ratio is weighted and the remaining capacity ratio is calculated by 11F (xi).
7 . 請求の範囲第 1項に記載のデータ中継装置において、 7. The data relay device according to claim 1,
サーバと経路の組み合わせに対する前記残り容量率の積演算値を監視し、 該監 視値が所定値を下回った場合は、 当該の組み合わせの資源の中で輻輳が起きてい ると'判断し、 別経路へ通信コネクションの経路を切り替えることを特徴とするデ ータ中継装置。  The product operation value of the remaining capacity ratio for the combination of the server and the route is monitored, and if the monitored value falls below a predetermined value, it is determined that congestion has occurred in the resources of the combination, and another A data relay device for switching a communication connection path to a path.
8 . 請求の範囲第 1項に記載のデータ中継装置において、 8. In the data relay device according to claim 1,
前記サービス選択部は、 更にサービス割り当てについて規定されたポリシ情報 に基づレ、て、 サーバと該サーバまでの経路を選択することを特徴とするデータ中  The service selecting unit further selects a server and a route to the server based on policy information defined for service allocation.
9 . 請求の範囲第 1項に記載のデータ中継装置において、 9. In the data relay device according to claim 1,
前記負荷情報には、 サーバに関して、 C P U負荷率、 ディスク使用率、 コネク シヨン数のいずれ力少なくとも一つが含まれ、 経路に関して、 使用帯域、 経路遅 延のいずれか少なくとも一つが含まれることを特徴とするデータ中継装置。 The load information includes at least one of a CPU load ratio, a disk usage ratio, and the number of connections for a server. A data relay device comprising at least one of the extensions.
1 0 . 請求の範囲第 1項に記載のデータ中継装置において、 10. The data relay device according to claim 1,
前記サーバは、 複数のアプリサーバから負荷情報を集約するサーバ負荷集約部 を有する S L Bサーバにより構成されることを特徴とするデータ中継装置。  The data relay device, wherein the server is configured by an SLB server having a server load aggregation unit that aggregates load information from a plurality of application servers.
1 1 . 複数のサーバとクライアントとの間に設けられ、 クライアントから前記サ 一バのレ、ずれかへの接続要求を中継するデータ中継方法であって、 11. A data relay method provided between a plurality of servers and a client, wherein the client relays a connection request from the client to one of the servers,
前記サーバと、 前記データ中継装置から前記サーバへの経路とのそれぞれに関 する負荷情報を収集する情報収集ステップと、  An information collection step of collecting load information on each of the server and a route from the data relay device to the server;
前記情報収集ステツプにより収集された負荷情報に基づレ、て、 前記クライアン トからの前記接続要求に対して、 少なくとも一つのサーバと該サーバまでの経路 'を選択するサービス選択ステツプと  A service selection step of selecting at least one server and a route to the server in response to the connection request from the client based on the load information collected by the information collection step;
を備えてなるデータ中継方法。  A data relay method comprising:
1 2 . 請求の範囲第 1 1項に記載のデータ中継方法において、 1 2. In the data relay method according to claim 11,
前記サービス選択ステップは、 前記負荷情報に基づレ、て各サーバと各経路のそ れぞれについての残り容量率を演算するステツプと、 得られた残り容量率の積演 算値を各サーバと各経路との複数の組み合わせについて算出するステップと、 算 出された積演算値に基づいて、 前記少なくとも一つのサーバと該サーバまでの経 路を選択するステップとを備えることを特徴とするデータ中継方法。  The service selection step includes: calculating a remaining capacity ratio for each server and each route based on the load information; and calculating a product operation value of the obtained remaining capacity ratio for each server. And calculating a plurality of combinations of the at least one server and each route, and selecting the at least one server and a route to the server based on the calculated product operation value. Relay method.
1 3 . 請求の範囲第 1 2項に記載のデータ中継方法において、 1 3. In the data relay method according to claim 12,
前記サービス選択ステップは、 単位数の接続要求を受付けた場合における所定 のサーバと該サーバまでの経路についての負荷情報又は残り容量率の変化分を取 得するステップと、  The service selecting step includes a step of obtaining load information or a change in a remaining capacity ratio for a predetermined server and a path to the server when a unit number of connection requests are received;
前記変化分と、 既に取得されている負荷情報に基づく残り容量率と、 接続要求 数の変化分とに基づレ、て、 前記クライアントからの接続要求があつた場合の前記 残り容量率を算出するステップとを備えることを特徴とするデータ中継方法。 Based on the change, the remaining capacity ratio based on the load information that has already been acquired, and the change in the number of connection requests, calculate the remaining capacity ratio when there is a connection request from the client. Performing the data relaying method.
1 4 . 請求の範囲第 1 3項に記載のデータ中継方法において、 14. In the data relay method described in claim 13,
前記サービス選択ステップは、 接続要求を受け付ける前後における前記残り容 量率の積演算値の差分を算出するステップと、 該差分値に基づいて、 少なくとも 一つのサーバと該サーバまでの経路を選択するステツプとを備えることを特徴と するデータ中継方法。  The service selecting step includes a step of calculating a difference between the product operation values of the remaining capacity ratios before and after accepting a connection request, and a step of selecting at least one server and a route to the server based on the difference value. A data relay method comprising:
1 5 . 請求の範囲第 1 3項に記載のデータ中継方法において、 15. The data relay method according to claim 13, wherein:
前記残り容量率の変化分を取得するステップは、 第 1の時点で負荷情報とその 時の接続要求数とを収集するステップと、 第 2の時点で負荷情報とその時の接続 要求数とを収集するステップと、 第 1の時点で収集した負荷情報及び接続要求数 と、 第 2の時点で収集した負荷情報及び接続要求数とのそれぞれの差分に基づい て、 前記単位数の接続要求を受付けた場合における所定のサーバと該サーバまで の経路についての負荷情報又は残り容量率の変化分を算出するステップとを備え ることを特徴とするデータ中継方法。  The step of obtaining the change in the remaining capacity ratio includes: collecting the load information and the number of connection requests at that time at a first time; and collecting the load information and the number of connection requests at that time at a second time. Receiving the connection request of the unit number based on the difference between the load information and the number of connection requests collected at the first time and the load information and the number of connection requests collected at the second time. A data relay method comprising: calculating a change in load information or a remaining capacity ratio for a predetermined server and a route to the server in the above case.
1 6 . 請求の範囲第 1 2項に記載のデータ中継方法において、 16. In the data relay method according to claim 12,
前記サービス選択ステップでは、 前記残り容量率を算出する際に、 前記負荷情 報に関連付けられる資源利用率を取得し、 該資源利用率をパラメータ X iとする 関数 Fを導入して、 前記資源利用率を重み付けし、 残り容量率を 1— F ( x i ) にて算出するステツプを含むことを特徴とするデータ中継方法。  In the service selection step, when calculating the remaining capacity rate, a resource usage rate associated with the load information is acquired, and a function F having the resource usage rate as a parameter Xi is introduced to A data relay method comprising a step of weighting a rate and calculating a remaining capacity rate by 1−F (xi).
1 7 . 請求の範囲第 1 1項に記載のデータ中継方法において、 17. In the data relay method described in claim 11,
サーバと経路の組み合わせに対する前記残り容量率の積演算値を監視するステ ップと、 該監視値が所定値を下回った場合は、 当該の組み合わせの資源の中で輻 輳が起きていると判断し、 別経路へ通信コネクションの経路を切り替えるステツ プとを備えることを特徴とするデータ中継方法。  Monitoring the product operation value of the remaining capacity ratio for the combination of the server and the route; and when the monitored value falls below a predetermined value, it is determined that congestion has occurred in the resources of the combination. And a step of switching a communication connection path to another path.
1 8 . 請求の範囲第 1 1項に記載のデータ中継方法において、 18. In the data relay method according to claim 11,
前記サービス選択ステップは、 更にサービス割り当てについて規定されたポリ シ情報に基づいて、 サーバと該サーバまでの経路を選択するステツプを備えるこ とを特徴とするデータ中継方法。 The service selection step further comprises a policy defined for service allocation. A data relay method, comprising: a step of selecting a server and a route to the server based on system information.
1 9 . 複数のサーバとクライアントとの間に設けられ、 クライアントから前記サ 一バのレ、ずれかへの接続要求を中継することをコンピュータに実行させるデータ 中継プログラムであって、 19. A data relay program, provided between a plurality of servers and a client, for causing a computer to relay a connection request from the client to the server or to the server,
前記サーバと、 前記データ中継装置から前記サーバへの経路とのそれぞれに関 する負荷情報を収集する情報収集ステツプと、  An information collection step of collecting load information on each of the server and a route from the data relay device to the server;
前記情報収集ステップにより収集された負荷情報に基づいて、 前記クライアン トからの前記接続要求に対して、 少なくとも一つのサーバと該サーバまでの経路 を選択するサービス選択ステツプと  A service selection step of selecting at least one server and a route to the server in response to the connection request from the client based on the load information collected in the information collection step;
をコンピュータに実行させるデータ中継プログラム。  Data relay program that causes a computer to execute
2 0 . 請求の範囲第 1 9項に記載のデータ中継プログラムにおいて、 20. In the data relay program according to claim 19,
前記サービス選択ステップは、 前記負荷情報に基づいて各サーバと各経路のそ れぞれについての残り容量率を演算するステップと、 得られた残り容量率の積演 算値を各サーバと各経路との複数の組み合わせについて算出するステツプと、 算 出された積演算値に基づいて、 前記少なくとも一つのサーバと該サーバまでの経 路を選択するステップとをコンピュータに実行させることを特徴とするデータ中 継プログラム。  The service selecting step includes: calculating a remaining capacity ratio for each server and each route based on the load information; and calculating a product operation value of the obtained remaining capacity ratio for each server and each route. Characterized by causing a computer to execute, based on the calculated product operation value, a step of calculating a plurality of combinations of the above, and a step of selecting the at least one server and a route to the server. A relay program.
2 1 . 請求の範囲第 2 0項に記載のデータ中継プログラムにおいて、 21. In the data relay program according to claim 20,
前記サービス選択ステップは、 単位数の接続要求を受付けた場合における所定 のサーバと該サーバまでの経路についての負荷情報又は残り容量率の変化分を取 得するステップと、  The service selection step includes a step of obtaining load information or a change in a remaining capacity ratio for a predetermined server and a path to the server when a unit number of connection requests are received;
前記変化分と、 既に取得されいている負荷情報に基づく残り容量率と、 接続要 求数の変化分とに基づいて、 前記クライアントからの接続要求があつた場合の前 記残り容量率を算出するステップとをコンピュータに実行させることを特徴とす るデータ中継プログラム。 Based on the change, the remaining capacity ratio based on the load information that has already been acquired, and the change in the number of connection requests, the remaining capacity ratio is calculated when there is a connection request from the client. A data relay program characterized by causing a computer to execute the steps.
2 2 . 請求の範囲第 2 1項に記載のデータ中継プログラムにおいて、 22. In the data relay program according to claim 21,
前記サービス選択ステップは、 接続要求を受け付ける前後における前記残り容 量率の積演算値の差分を算出するステップと、 該差分値に基づいて、 少なくとも 一つのサーバと該サーバまでの経路を選択するステップとをコンピュータに実行 させることを特徴とするデータ中継プログラム。  The service selecting step includes a step of calculating a difference between the product operation values of the remaining capacity ratios before and after accepting a connection request; and a step of selecting at least one server and a route to the server based on the difference value. A data relay program characterized by causing a computer to execute the following.
2 3 . 請求の範囲第 2 1項に記載のデータ中継プログラムにおいて、 23. In the data relay program according to claim 21,
前記残り容量率の変化分を取得するステツプは、 第 1の時点で負荷情報とその 時の接続要求数とを収集するステップと、 第 2の時点で負荷情報とその時の接続 要求数とを収集するステップと、 第 1の時点で収集した負荷情報及び接続要求数 と、 第 2の時点で収集した負荷情報及び接続要求数とのそれぞれの差分に基づレヽ て、 前記単位数の接続要求を受付けた場合における所定のサーバと該サーバまで の経路についての負荷情報又は残り容量率の変化分を算出するステップとをコン ピュータに実行させることを特徴とするデータ中継プログラム。  The step of acquiring the change in the remaining capacity ratio includes a step of collecting load information and the number of connection requests at that time at a first time, and a step of collecting load information and the number of connection requests at that time at a second time. Based on the difference between the load information and the number of connection requests collected at the first time and the load information and the number of connection requests collected at the second time, A data relay program for causing a computer to execute a step of calculating a change in load information or a remaining capacity ratio for a predetermined server and a path to the server when the server is received.
2 4 . 請求の範囲第 2 0項に記載のデータ中継プログラムにおいて、 24. In the data relay program according to claim 20,
前記サービス選択ステップでは、 前記残り容量率を算出する際に、 前記負荷情 報に関連付けられる資源利用率を取得し、 該資源利用率をパラメータ X iとする 関数 Fを導入して、 前記資源利用率を重み付けし、 残り容量率を 1 _ F ( x i ) にて算出するステップをコンピュータに実行させることを特徴とするデータ中継 プログラム。  In the service selection step, when calculating the remaining capacity rate, a resource usage rate associated with the load information is obtained, and a function F is set to use the resource usage rate as a parameter X i to introduce the resource usage rate. A data relay program characterized by causing a computer to execute a step of weighting a rate and calculating a remaining capacity rate by 1 _ F (xi).
2 5 . 請求の範囲第 1 9項に記載のデータ中継プログラムにおいて、 25. In the data relay program according to claim 19,
更に、 サーバと経路の組み合わせに対する前記残り容量率の積演算値を監視す るステップと、 該監視値が所定値を下回った場合は、 当該の組み合わせの資源の 中で輻輳が起きていると判断し、 別経路へ通信コネクションの経路を切り替える ステップとをコンピュータに実行させることを特徴とするデータ中継プログラム Monitoring the product operation value of the remaining capacity ratio for the combination of the server and the route; and determining that congestion has occurred in the resources of the combination when the monitored value falls below a predetermined value. Switching a communication connection path to another path by a computer.
2 6 . 請求の範囲第 1 9項に記載のデータ中継プログラムにおいて、 26. In the data relay program according to claim 19,
前記サービス選択ステップは、 更にサービス割り当てについて規定されたポリ シ情報に基づ!/、て、 サーバと該サーバまでの経路を選択するステツプを備えて該 ステップをコンピュータに実行させることを特徴とするデータ中継プログラム。  The service selecting step further includes a step of selecting a server and a route to the server based on policy information prescribed for service allocation, and causing the computer to execute the step. Data relay program.
2 7 . 複数のサーバの内から少なくとも一つのサーバと該サーバまでの経路を選 択するサービス選択装置であって、 27. A service selection device for selecting at least one server from a plurality of servers and a route to the server,
前記複数のサーバと、 前記複数のサーバへの経路とのそれぞれに関する負荷情 報を収集する情報収集部と、  An information collection unit that collects load information on each of the plurality of servers and a route to the plurality of servers;
前記情報収集部により収集された負荷情報に基づいて、 少なくとも一つのサー バと該サーバまでの経路を選択するサービス選択部と  A service selection unit that selects at least one server and a route to the server based on the load information collected by the information collection unit;
を備えてなるサービス選択装置。  Service selection device comprising:
2 8 . 複数のサーバの内から少なくとも一つのサーバと該サーバまでの経路を選 択するサービス選択方法であって、 28. A service selection method for selecting at least one server from a plurality of servers and a route to the server,
前記複数のサーバと、 前記複数のサーバへの経路とのそれぞれに関する負荷情 報を収集する情報収集ステツプと、  An information collection step of collecting load information for each of the plurality of servers and a route to the plurality of servers;
前記情報収集部により収集された負荷情報に基づいて、 少なくとも一つのサー バと該サーバまでの経路を選択するサービス選択ステップと  A service selecting step of selecting at least one server and a route to the server based on the load information collected by the information collecting unit;
を備えてなるサービス選択方法。  Service selection method.
2 9 . 複数のサーバの内から少なくとも一つのサーバと該サーバまでの経路を選 択することをコンピュータに実行させるサービス選択プログラムであって、 前記複数のサーバと、 前記複数のサーバへの経路とのそれぞれに関する負荷情 報を収集する情報収集ステップと、 29. A service selection program for causing a computer to select at least one server from among a plurality of servers and a route to the server, wherein the plurality of servers include a route to the plurality of servers. An information collection step for collecting load information for each of the
前記情報収集部により収集された負荷情報に基づいて、 少なくとも一つのサー バと該サーバまでの経路を選択するサービス選択ステツプと  A service selection step of selecting at least one server and a route to the server based on the load information collected by the information collection unit;
をコンピュータに実行させることを特徴とするサービス選択プログラム。  A service selection program for causing a computer to execute the following.
PCT/JP2003/004689 2003-04-14 2003-04-14 Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program WO2004093394A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
PCT/JP2003/004689 WO2004093394A1 (en) 2003-04-14 2003-04-14 Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program
JP2004570860A JP4080487B2 (en) 2003-04-14 2003-04-14 Data relay device, data relay method, data relay program, service selection device, service selection method, service selection program
US11/070,672 US20050169254A1 (en) 2003-04-14 2005-03-03 Data relay apparatus, data relay method, data relay program, service selection apparatus, service selection method and service selection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2003/004689 WO2004093394A1 (en) 2003-04-14 2003-04-14 Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US11/070,672 Continuation US20050169254A1 (en) 2003-04-14 2005-03-03 Data relay apparatus, data relay method, data relay program, service selection apparatus, service selection method and service selection program

Publications (1)

Publication Number Publication Date
WO2004093394A1 true WO2004093394A1 (en) 2004-10-28

Family

ID=33193211

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/004689 WO2004093394A1 (en) 2003-04-14 2003-04-14 Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program

Country Status (2)

Country Link
JP (1) JP4080487B2 (en)
WO (1) WO2004093394A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222671A (en) * 2005-02-09 2006-08-24 Ntt Docomo Inc Repeater sysyem, terminal device, communication system, and communication control method
JP2008061047A (en) * 2006-08-31 2008-03-13 Fuji Xerox Co Ltd Communication apparatus, communicating system, conference system, and program
WO2012101890A1 (en) * 2011-01-26 2012-08-02 日本電気株式会社 Network system, control device and optimum path control method
JP2014103637A (en) * 2012-11-22 2014-06-05 Nec Corp Load distribution control method and system
JP2014183563A (en) * 2013-03-21 2014-09-29 Fujitsu Ltd Communication device, communication network system, and content server selection method for communication device
WO2015151442A1 (en) * 2014-03-31 2015-10-08 日本電気株式会社 Communication system, communication method, and control device
US9167031B2 (en) 2009-03-17 2015-10-20 Nec Corporation Distributed processing system and distributed processing method
US9992359B2 (en) 2014-09-11 2018-06-05 Konica Minolta, Inc. Relay device employ technique of controlling a communication path established with a server and an image processing device when communication are relayed

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000013435A (en) * 1998-06-18 2000-01-14 Nec Corp Information providing system, server, client, information providing method and recording medium
JP2000101628A (en) * 1998-09-24 2000-04-07 Victor Co Of Japan Ltd File data receiving method
JP2000200253A (en) * 1999-01-05 2000-07-18 Hitachi Ltd Method for data base load distributed process and its implementation device
JP2001007844A (en) * 1999-06-24 2001-01-12 Canon Inc Network status server, information distribution system, and its control method and storage medium storing its control program
JP2002305538A (en) * 2001-04-03 2002-10-18 Hitachi Ltd Communication quality control method, server and network system
JP2003108462A (en) * 2001-09-28 2003-04-11 Toshiba Corp Device and method for transferring data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000013435A (en) * 1998-06-18 2000-01-14 Nec Corp Information providing system, server, client, information providing method and recording medium
JP2000101628A (en) * 1998-09-24 2000-04-07 Victor Co Of Japan Ltd File data receiving method
JP2000200253A (en) * 1999-01-05 2000-07-18 Hitachi Ltd Method for data base load distributed process and its implementation device
JP2001007844A (en) * 1999-06-24 2001-01-12 Canon Inc Network status server, information distribution system, and its control method and storage medium storing its control program
JP2002305538A (en) * 2001-04-03 2002-10-18 Hitachi Ltd Communication quality control method, server and network system
JP2003108462A (en) * 2001-09-28 2003-04-11 Toshiba Corp Device and method for transferring data

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4482465B2 (en) * 2005-02-09 2010-06-16 株式会社エヌ・ティ・ティ・ドコモ Relay device, terminal device, communication system, and communication control method
JP2006222671A (en) * 2005-02-09 2006-08-24 Ntt Docomo Inc Repeater sysyem, terminal device, communication system, and communication control method
US7720080B2 (en) 2005-02-09 2010-05-18 Ntt Docomo, Inc. Relay unit, terminal device, communication system, and communication control method
US8644168B2 (en) 2006-08-31 2014-02-04 Fuji Xerox Co., Ltd. Communication apparatus, communication system, conference system, and program product therefor
JP4730261B2 (en) * 2006-08-31 2011-07-20 富士ゼロックス株式会社 Communications system
JP2008061047A (en) * 2006-08-31 2008-03-13 Fuji Xerox Co Ltd Communication apparatus, communicating system, conference system, and program
US9167031B2 (en) 2009-03-17 2015-10-20 Nec Corporation Distributed processing system and distributed processing method
WO2012101890A1 (en) * 2011-01-26 2012-08-02 日本電気株式会社 Network system, control device and optimum path control method
JPWO2012101890A1 (en) * 2011-01-26 2014-06-30 日本電気株式会社 Network system, control device, and optimum route control method
JP5598688B2 (en) * 2011-01-26 2014-10-01 日本電気株式会社 Network system, control device, and optimum route control method
JP2014103637A (en) * 2012-11-22 2014-06-05 Nec Corp Load distribution control method and system
JP2014183563A (en) * 2013-03-21 2014-09-29 Fujitsu Ltd Communication device, communication network system, and content server selection method for communication device
WO2015151442A1 (en) * 2014-03-31 2015-10-08 日本電気株式会社 Communication system, communication method, and control device
US9992359B2 (en) 2014-09-11 2018-06-05 Konica Minolta, Inc. Relay device employ technique of controlling a communication path established with a server and an image processing device when communication are relayed

Also Published As

Publication number Publication date
JP4080487B2 (en) 2008-04-23
JPWO2004093394A1 (en) 2006-07-06

Similar Documents

Publication Publication Date Title
US20050169254A1 (en) Data relay apparatus, data relay method, data relay program, service selection apparatus, service selection method and service selection program
US9130861B2 (en) Traffic engineering and bandwidth management of bundled links
EP1851921B1 (en) Admission control and routing in a telecommunications network based on the consideration of all physical and logical links
CN108289064B (en) Hybrid load balancing method in data center network
JP4598640B2 (en) Route selection method and apparatus in telecommunication network
US10075390B2 (en) Communications network using a tunnel to connect two network nodes
US20050243723A1 (en) Multi-parameter load balancing device for a label switched communications network peripheral device
US20080144511A1 (en) Method and system for bandwidth allocation using router feedback
US10355974B2 (en) Admission control in a packet network
EP2915306A1 (en) Session admission in a communications network
JP2005539437A (en) Radio resource control system
WO2004073269A1 (en) Transmission system, distribution route control device, load information collection device, and distribution route control method
JP5493965B2 (en) BAND CONTROL SYSTEM, BAND CONTROL DEVICE, BAND CONTROL METHOD, AND BAND CONTROL PROGRAM
US20220124038A1 (en) Device and method for improved load balancing with limited forwarding rules in software defined networks
WO2004093394A1 (en) Data relaying device, data relaying method, data relaying program, service selecting device, service selecting method, and service selecting program
JP7067170B2 (en) Route control system, route control method, and program
Farhoudi et al. Server load balancing in software-defined networks
WO2011110801A1 (en) Capacity adaptation between services or classes in a packet network
Singh et al. A markov decision process based flow assignment framework for heterogeneous network access
KR20220143124A (en) Method for providing multisite orchestration in public networks for factory automation, orchestrator and communication system
Schmidt et al. Scalable bandwidth optimization in advance reservation networks
CN114745343B (en) Network load balancing routing method, device and equipment based on SDN of QoS priority
Rivera et al. An Intent-Based Networking mechanism: A study case for efficient path selection using Graph Neural Networks
Biswas et al. An Efficient Rerouting Approach in Software Defined Networks
CN118118441A (en) Power communication network system supporting deterministic control and scheduling method

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): JP US

WWE Wipo information: entry into national phase

Ref document number: 2004570860

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 11070672

Country of ref document: US