JP3472540B2 - Server selection device, server selection method, and recording medium recording server selection program - Google Patents

Server selection device, server selection method, and recording medium recording server selection program

Info

Publication number
JP3472540B2
JP3472540B2 JP2000275363A JP2000275363A JP3472540B2 JP 3472540 B2 JP3472540 B2 JP 3472540B2 JP 2000275363 A JP2000275363 A JP 2000275363A JP 2000275363 A JP2000275363 A JP 2000275363A JP 3472540 B2 JP3472540 B2 JP 3472540B2
Authority
JP
Japan
Prior art keywords
server
user
identification information
information
selection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2000275363A
Other languages
Japanese (ja)
Other versions
JP2002091843A (en
Inventor
則宏 三浦
正久 川島
和幸 高屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2000275363A priority Critical patent/JP3472540B2/en
Publication of JP2002091843A publication Critical patent/JP2002091843A/en
Application granted granted Critical
Publication of JP3472540B2 publication Critical patent/JP3472540B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、通信網上の複数の
サーバ装置が同一のサービスを提供している場合、その
サービスを利用するユーザがアクセスすべきサーバ装置
を選択するサーバ選択方法及び装置に関し、特に、選択
されたサーバがサービス提供に必要なリソースを確実に
確保でき、かつユーザからの距離が近いことを保証する
技術に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server selection method and device for selecting a server device to be accessed by a user who uses the service when a plurality of server devices on a communication network provide the same service. In particular, the present invention relates to a technique for ensuring that the selected server can reliably secure the resources necessary for providing the service and that the selected server is close to the user.

【0002】[0002]

【従来の技術】近年のインターネットの爆発的な普及に
伴い、インターネット上でクライアントからの要求を処
理するサーバ装置の負荷増大が深刻な問題となってい
る。これを解決するために同一の機能を持つサーバを複
数用意し、クライアントからの処理要求をそれら複数に
分散させたサーバに均等に割り振るサーバ負荷分散方法
が一般的に用いられている。サーバ負荷の分散に関わる
従来手法をより詳細に解説する。最も単純な方法は、同
一のサービスを提供する複数のサーバを用意しておき、
ユーザに対してもそれらのサーバのURL(Uniform
Resource Locator)を通知する方法である。これらの
サーバの一つにアクセスしたユーザが不快を覚える程処
理速度が遅い場合、ユーザの意志で別なサーバにアクセ
スすることによって高速なサービスを享受することがで
きる。
2. Description of the Related Art With the explosive spread of the Internet in recent years, an increase in the load on a server device that processes a request from a client on the Internet has become a serious problem. In order to solve this, a server load balancing method is generally used in which a plurality of servers having the same function are prepared and processing requests from clients are evenly distributed to the plurality of servers. The conventional method related to server load distribution is explained in more detail. The simplest method is to prepare multiple servers that provide the same service,
URLs of those servers (Uniform
Resource Locator). When the processing speed is so slow that a user who accesses one of these servers feels uncomfortable, the user can enjoy a high-speed service by accessing another server.

【0003】しかし、この方法では、ユーザに対しあら
かじめ複数のサーバを通知する必要があり、その通知す
る手段によっては、サーバの変更、追加、削除に応じた
通知が困難となる。最も一般的な通知手段はHTML
(HyperText Markup Language)ページに複数のサ
ーバへのリンクを記載しておく方法であるが、サーバの
追加、変更、削除を行うたびにHTMLページに記載さ
れているリンク先を変更しなければならず、ホームペー
ジのメンテナンスの観点から不便である。また、この方
法はあくまでユーザの判断によってサーバを選択するた
め、それぞれのサーバについて均等に負荷分散を行うこ
とは不可能であり、サービス提供者の意図に基づくサー
バ負荷の調整が困難である。
However, according to this method, it is necessary to notify the user of a plurality of servers in advance, and depending on the means for notifying, it becomes difficult to notify the change, addition, or deletion of the server. HTML is the most common notification method
This is a method of listing links to multiple servers on the (HyperText Markup Language) page, but the link destinations listed on the HTML page must be changed every time a server is added, changed, or deleted. , Is inconvenient from the viewpoint of homepage maintenance. In addition, since this method only selects the server based on the user's judgment, it is impossible to evenly distribute the load on each server, and it is difficult to adjust the server load based on the intention of the service provider.

【0004】現在では、これらの問題を解決するための
サーバ負荷分散装置が実用化されている。サーバ負荷分
散装置は、DNS(Domain Name System)サーバに
機能を拡張したものが一般的である。サーバ負荷分散装
置は、あるURLのアドレス解決要求をクライアントか
ら受け付け、そのサーバ負荷分散装置が管理対象とする
サーバ群の中からランダム、あるいはラウンドロビンな
どの方法によって一つのサーバを選択する手段を備え、
そのIPアドレスをクライアントに通知する手段を備え
ている。この機能によってユーザの意図ではなく、サー
ビス提供者側の意図に基づきサーバに対する処理要求を
分散させることができる。
At present, a server load balancer for solving these problems is put into practical use. The server load balancer is generally a DNS (Domain Name System) server with its functions expanded. The server load balancer includes means for accepting an address resolution request for a certain URL from a client and selecting one server from a group of servers managed by the server load balancer by a random method or a round robin method. ,
A means for notifying the client of the IP address is provided. With this function, it is possible to distribute processing requests to the server based on the intention of the service provider rather than the user's intention.

【0005】また、日経コミュニケーション2000年
3月20日号p.114−123の記述によれば、サー
バ選択の方法は、前記に示す乱数やラウンドロビンによ
る方法だけではなく、ラウンドロビンに重み付けを行う
方法、サーバに優先順序を付与する方法、接続数の最も
少ないサーバを割当てる方法、応答時間の最も早いサー
バを割当てる方法、CPU負荷の最も軽いサーバを割当
てる方法など、様々なパラメータを元にサーバ選択を行
うサーバ負荷分散装置が存在する。このサーバ負荷分散
装置などに用いられるサーバ選択方法の一つとして、論
文“LocatingNearby Copies of Replicated Inter
net Servers”(computer communication review vol.
25,no.4 p.288(1995))に記載のサーバとクライアント
間の距離(ホップ数)を求め、最も距離の短いサーバを
そのクライアントの処理に対応させるサーバとして選択
する方法について言及する。サーバ選択装置にはサーバ
選択装置から各制御対象のサーバまでの経路情報(ルー
タのアドレス)を保持しておき、サーバ選択装置からク
ライアントまでの経路情報を取得する手段を備えてい
る。これらの情報からサーバとクライアントの距離(ホ
ップ数)を反映した評価値を求め、その評価値が最も小
さいサーバを選択する。これにより、ユーザは最も近い
サーバにアクセスすることが可能となり、ネットワーク
の混雑によるレスポンスの低下を抑制することができ
る。
According to the description of Nikkei Communication March 20, 2000, p.114-123 , the server selection method is not limited to the random number and round robin methods described above, but the round robin is weighted. Server selection based on various parameters such as method, method of assigning priority to servers, method of allocating server with least number of connections, method of allocating server with fastest response time, method of allocating server with lightest CPU load, etc. There is a server load balancer that performs As one of the server selection methods used for this server load balancer, etc., the paper “Locating Near Copies of Replicated Internet
net Servers ”(computer communication review vol.
25, no.4 p.288 (1995)), the distance between the server and the client (the number of hops) is obtained, and the method of selecting the server with the shortest distance as the server corresponding to the processing of the client is mentioned. The server selection device is provided with means for holding route information (router address) from the server selection device to each server to be controlled and acquiring route information from the server selection device to the client. An evaluation value that reflects the distance (hop count) between the server and the client is obtained from these pieces of information, and the server having the smallest evaluation value is selected. As a result, the user can access the closest server, and can suppress a decrease in response due to network congestion.

【0006】前述の方法は、主に現在のWebサーバに
対する負荷分散処理を実現するためのサーバ選択装置に
用いられる方法であり、Webサーバのように同時アク
セス数の上限やサーバライセンス数などによるアクセス
数制限などが比較的緩いタイプのサーバに対して効果的
な負荷分散が行える方法であった。しかし、今後は今ま
で負荷分散対象として十分な考慮がされていなかった会
議サーバや動画像のスプリッタサーバ、ストリーミング
サーバなどといった性能上、ライセンス上のアクセス数
の制限や伝送レートの制限などの条件が比較的厳しいサ
ーバについても考慮しなければならない。これらのサー
バのサーバ選択を行う際には、サービスを提供できる状
態のサーバ(例えばサーバのアクセス数がサーバ毎に決
められた上限値に達していないサーバや、コンテンツの
送出レートが可能な送出レートの上限に達していないサ
ーバなど)の中から選択しなければならない。
The above-mentioned method is a method mainly used in a server selection device for realizing load distribution processing for a current Web server, and access by the upper limit of the number of simultaneous accesses and the number of server licenses like the Web server is performed. It was a method that could effectively balance the load on servers with a relatively loose number limit. However, in the future, due to the performance of conference servers, moving image splitter servers, streaming servers, etc., which have not been fully considered as load balancing targets, conditions such as the number of licensed access and the transmission rate are restricted. You also have to consider relatively strict servers. When selecting a server for these servers, a server that can provide a service (for example, a server whose number of server accesses has not reached the upper limit determined for each server, or a transmission rate that allows the content transmission rate) Servers that have not reached the upper limit) must be selected.

【0007】現在、このような機能を備えるサーバ選択
装置はあまり例が無いが、例えば特開平11−4158
7号公報に記載の方法にあるように、動画像をクライア
ントに向けて送出するビデオサーバが複数台あり、前記
特開平11−41587号公報に記載の映像管理装置が
クライアントからの映像タイトルの配送要求を受け取る
と、該映像タイトルを配送できる複数のサーバの中か
ら、負荷の少ないサーバを選択する、といった発明があ
る。この仕組みにより負荷の軽いビデオサーバをクライ
アントに利用させ、配送効率を向上させることが可能に
なる。
At present, there are not many examples of a server selection device having such a function, but for example, Japanese Patent Laid-Open No. 11-4158.
As in the method described in Japanese Patent Publication No. 7, there are a plurality of video servers for sending moving images to clients, and the video management apparatus described in Japanese Patent Laid-Open No. 11-41587 described above delivers video titles from clients. There is an invention in which, when a request is received, a server with a light load is selected from a plurality of servers that can deliver the video title. This mechanism allows the client to use a video server with a light load and improve the delivery efficiency.

【0008】また、サーバ選択装置自体もクライアント
からの要求が一時的に増加するとサーバ選択の処理が遅
くなり、サーバ選択処理のレスポンス速度が低下すると
いった問題が発生する。これらを解決するために現在は
2台以上のサーバ選択装置を同一拠点に二重化して配備
する方法、あるいは例えば米Cisco社製負荷分散装
置であるDistribute Directorと同じく米Cisco
社製の局所的な負荷分散装置であるLocal Directorを
組み合わせ、どの地域のサーバ群に処理させるかをDis
tribute Director によって決定し、ある地域内にある
サーバの中からどのサーバを選択するかをLocal Dire
ctorによって決定すると言った方法によって、サーバ選
択装置を地理的に分散する方法もある。
Further, in the server selection device itself, if the number of requests from the client temporarily increases, the server selection process becomes slow, and the response speed of the server selection process decreases. In order to solve these problems, at present, two or more server selection devices are duplicated and deployed at the same location, or, for example, the US-based CISCO load balancing device, Distribute Director, is also used.
Disabling which server group to process by combining the local load balancer Local Director
The Local Dire is determined by the tribute director and which server is selected from the servers in a certain area.
There is also a method of geographically distributing server selection devices by the method of determining by ctor.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、これま
で述べてきたサーバ選択装置には、次のような問題点が
ある。従来のサーバ負荷分散装置では、選択対象サーバ
がユーザの要求したサービスを提供できる状態にあるか
どうかに関わらず、あらかじめ負荷分散装置に登録され
たサーバ群の中からサーバを選択してしまう。一般的に
用いられるサーバ選択方法は、ランダムあるいはラウン
ドロビン、重みづけラウンドロビン、サーバの処理負荷
(CPU負荷、応答速度など)など様々なパラメータに
基づいているが、サービス提供に必要なサーバリソース
を指定し、サーバの残リソース量が必要リソース量を上
回っているサーバの中から適切なサーバを選択するとい
った機能を持っていない。
However, the server selection device described so far has the following problems. A conventional server load balancer selects a server from a group of servers registered in advance in the load balancer regardless of whether or not the selected server can provide the service requested by the user. The commonly used server selection method is based on various parameters such as random or round robin, weighted round robin, and server processing load (CPU load, response speed, etc.). It does not have a function to specify and specify an appropriate server from the servers whose remaining resource amount exceeds the required resource amount.

【0010】そのため、実際には、サービスを提供でき
る状態にないサーバをサーバの候補から除外することが
できず、サービスの提供が困難なサーバが選択されてし
まう可能性がある。そのようなサーバに新たにアクセス
したユーザや該ユーザがアクセスする前から該サーバを
使用していた他のユーザに対し、サーバリソース不足が
原因となるサービス品質の劣化を防ぐことが困難とな
る。
Therefore, in practice, a server that cannot provide a service cannot be excluded from the server candidates, and a server that is difficult to provide a service may be selected. It is difficult for a user who newly accesses such a server or another user who has been using the server before the user accesses the server to prevent deterioration of service quality due to lack of server resources.

【0011】また、サーバの残リソースが十分でない時
に新たなサーバ利用要求を受け付けない機能を持つサー
バが選択対象サーバである場合、サーバ負荷分散装置に
よって選択された残リソースが十分でないサーバにアク
セスするユーザは、サービスが享受できない。以上示し
てきたようなサーバ選択は避けなければならない。
Further, when the server having the function of not accepting a new server use request when the remaining resources of the server are not sufficient is the selected server, the server selected by the server load balancer accesses the insufficient server. The user cannot enjoy the service. The server selections shown above should be avoided.

【0012】また、特に、前記論文“Locating Nearb
y Copies of Replicated Internet Servers”につ
いての問題点について述べる。この方式は、通信品質に
大きな影響を及ぼすサーバとクライアントとの間のホッ
プ数(経由ルータ数)を最小化できるサーバを選択する
方式であるが、最寄りのサーバがサービスを提供できる
だけの残リソースを残していない場合には、サーバの種
類によって提供するサービス品質を保つことができなく
なるかサーバがサービス利用要求を受け付けない状況と
なり、ユーザが享受できるサービス品質が劣化する。
Also, in particular, the above-mentioned article "Locating Nearb"
This section describes the problem of "Y Copies of Replicated Internet Servers." This method selects a server that can minimize the number of hops (the number of transit routers) between the server and the client, which has a great influence on the communication quality. However, if the nearest server does not have the remaining resources that can provide the service, the service quality cannot be maintained depending on the type of server or the server cannot accept the service use request and the user enjoys it. The quality of service that can be provided deteriorates.

【0013】一方で特開平11−41587号公報にお
いては、ビデオサーバの可能映像送出レートや同時可能
チャネル数が最も少ないサーバを選択する方法である。
この方法によれば、サーバの残リソースを考慮した割り
当てを行うことが可能であるが、前記の例と同様サーバ
選択処理要求毎に必要リソース量を指定することができ
ないため、残リソースが必要リソースを上回っていない
サーバも選択されてしまう可能性がある。
On the other hand, Japanese Patent Laid-Open No. 11-41587 discloses a method of selecting a server having the smallest possible video transmission rate of the video server and the maximum number of simultaneously available channels.
According to this method, allocation can be performed in consideration of the remaining resources of the server, but since the required resource amount cannot be specified for each server selection processing request as in the above example, the remaining resources are required resources. It is possible that a server that does not exceed the above may be selected.

【0014】また、別の問題として残リソースが必要リ
ソースを上回っているサーバを選択した場合でも、ユー
ザからの距離については全く考慮されていないため、ユ
ーザ−サーバ間の距離が大きく離れたサーバが選択され
る可能性がある。これはユーザとサーバの間のホップ数
が増大し、ネットワーク上における品質劣化が発生する
ため、結果としてユーザに対しサービス品質を保つこと
が困難となる。
Further, as another problem, even when a server whose remaining resource exceeds the required resource is selected, since the distance from the user is not taken into consideration at all, a server having a large distance between the user and the server may be selected. May be selected. This increases the number of hops between the user and the server and causes quality deterioration on the network. As a result, it becomes difficult to maintain the quality of service for the user.

【0015】次に、有料コンテンツを提供するサーバの
該サーバ選択に従来のサーバ選択方法を導入した時の問
題点について述べる。有料コンテンツを提供する事業者
が、サービス享受前に課金・決済を行なうビジネスモデ
ルを導入した場合を想定する。
Next, a problem when a conventional server selection method is introduced for selecting a server for providing pay contents will be described. It is assumed that a business that provides paid content introduces a business model that charges and makes payment before enjoying the service.

【0016】この場合サーバ選択装置にサーバ位置解決
要求を発行するのは、ユーザ所有のクライアントではな
く、有料コンテンツを提供する事業者が用意するEC
エレクトロニック・コマース)サーバであるとする。
ECサーバではユーザとの対話制御によってコンテンツ
に対する課金を行う。課金終了後クライアントがECサ
ーバによって通知されたサーバのURLにアクセスした
時、サーバの残リソース量がサービス提供するのに十分
ではなかった場合、課金を行ったにもかかわらず品質の
劣化したサービスを受けてしまうか、あるいは全くサー
ビスが受けられなくなるといった問題が生じる。
In this case, it is not the client owned by the user who issues the server location resolution request to the server selection device, but an EC prepared by the business operator who provides the paid content.
( Electronic commerce ) server.
The EC server charges the content by controlling the interaction with the user. When the client accesses the URL of the server notified by the EC server after the end of billing, if the remaining resource amount of the server is not sufficient to provide the service, the service whose quality is deteriorated despite the billing is provided. There is a problem that you receive the service or you cannot receive the service at all.

【0017】本来であれば、有料コンテンツを配信する
サイトは、課金を行う前にユーザのために選択されたサ
ーバがサービス提供可能な状態かどうかを判断する必要
があるが、このような機能を備えたサーバ選択装置は存
在しない。また、ECサーバによる課金・決済処理の後
ユーザが実際に選択されたサーバにアクセスするまでに
ある程度の時間を要することがある。その間に別のクラ
イアントがそのサーバにアクセスすることによって前者
のクライアントがアクセス不能になるような事態を防ぐ
ため、サーバに仮予約機能が存在する場合サーバ選択時
に選択されたサーバに対し仮予約情報を通知する機能が
必要である。
Originally, a site that distributes paid contents needs to judge whether or not the server selected for the user can provide the service before charging. There is no server selection device provided. Further, it may take some time before the user actually accesses the selected server after the charging / settlement processing by the EC server. In order to prevent the former client from becoming inaccessible by another client accessing the server in the meantime, if the server has a temporary reservation function, the temporary reservation information is sent to the server selected when the server is selected. A function to notify is required.

【0018】しかし、従来のサーバ選択方法では、サー
バ選択時にサーバの仮予約機能を用いて当該ユーザの仮
予約に関する情報を通知する手段を持っていない。さら
にセキュリティをより強固にし、より限定された形での
サービス提供を行うためにユーザの認証情報を選択され
たサーバに通知する機能も必要と考えられるが、従来の
サーバ選択装置では、サーバ選択時に認証情報を通知す
る手段を持たないため、これも対応不可能である。
However, the conventional server selection method does not have a means for notifying the information regarding the temporary reservation of the user by using the temporary reservation function of the server when the server is selected. It is also considered necessary to have a function of notifying the selected server of the user's authentication information in order to further strengthen security and provide services in a more limited form. This is also not possible because there is no means to notify the authentication information.

【0019】また、サーバ選択装置自体が分散化した場
合の問題点の具体例として、残リソース数を考慮しなけ
ればならないサーバのサーバ選択方法に先に述べた米C
isco社製の負荷分散装置であるDistribute Direc
tor及びLocal Directorの組み合わせによるサーバ選
択方法を適用した場合について述べる。
As a concrete example of a problem when the server selection device itself is decentralized, the server selection method of the server in which the number of remaining resources must be taken into consideration is described above.
Distribute Direc, a load balancer made by isco
The case where the server selection method based on the combination of tor and Local Calder is applied will be described.

【0020】前述の通り、従来のサーバ選択方法ではサ
ーバの残リソース数と必要リソース数とを比較し、残リ
ソースが必要リソースを上回っているサーバのみをサー
バ選択候補とすることはできなかった。この例の場合も
Local Directorは、負荷分散対象のサーバの残リソー
スと必要リソースとを比較したサーバ選択ができず、さ
らにDistribute Directorには必要リソースをLocal
Directorに通知する機能が存在しない。例えば、Loca
l Directorの管理対象であるすべてのサーバでサービ
スが提供できないにもかかわらず、Distribute Direc
torは、サーバの選択処理をそのLocal Directorに行
わせる可能性があり、その結果サービスを提供できない
サーバが選択されてしまう可能性がある。
As described above, in the conventional server selection method, the number of remaining resources of the server is compared with the required number of resources, and only the server having the remaining resources exceeding the required resources cannot be selected as the server selection candidate. Also in this example, the Local Director cannot select the server by comparing the remaining resources of the load-balanced server with the necessary resources, and further, the necessary resources are local to the Distribute Director.
There is no function to notify the Director. For example, Loca
l Although the service cannot be provided on all servers managed by the Director, the Distribute Direc
The tor may cause the Local Director to perform a server selection process, and as a result, a server that cannot provide the service may be selected.

【0021】これらの問題点は以下の4点に整理でき
る。 問題点1:既存のサーバ選択方法では、残リソース量が
サービス提供時に必要となるリソース量以下であるサー
バが選択される可能性がある。このようなサーバにクラ
イアントがアクセスすると、サーバ全体の処理が正常に
行えないため、当該サーバを利用する全ての利用者にお
けるサービス品質が劣化するか、当該クライアントの接
続が拒否されるため、サービスが享受できないかのいず
れかとなる。
These problems can be organized into the following four points. Problem 1: In the existing server selection method, there is a possibility that a server whose remaining resource amount is less than or equal to the resource amount required when providing a service may be selected. When a client accesses such a server, the processing of the entire server cannot be performed normally, so the quality of service of all users who use the server deteriorates, or the connection of the client is refused, and the service is You will either not be able to enjoy it.

【0022】問題点2:最もサーバ負荷の少ないサーバ
を選択するといったサーバ選択方法は存在するが、クラ
イアントとサーバとの間の距離については全く考慮され
ていないため、クライアントから見て遠方に存在するサ
ーバが選択される可能性がある。距離(経路上のルータ
数など)が増加するとネットワーク上に発生する遅延な
どが発生するため、結果的にサーバ負荷が最も少ないサ
ーバを選択してもサービス品質の劣化が発生する。
Problem 2: There is a server selection method of selecting the server with the least server load, but since it does not consider the distance between the client and the server at all, it exists far from the client. The server may be selected. If the distance (the number of routers on the route, etc.) increases, delays and the like occur on the network. As a result, even if the server with the smallest server load is selected, the quality of service will deteriorate.

【0023】問題点3:既存のサーバ選択方法では、選
択対象サーバが仮予約機能を持っていたとしても、これ
をサーバ選択時に通知することができなかった。選択さ
れたサーバが仮予約されていない場合、クライアントが
サーバ選択結果を取得してからサーバにアクセスするま
での間に別のクライアントによってサーバがアクセスさ
れ、現時点でのサーバの同時接続数が最大同時アクセス
数に達した場合、当該クライアントがサーバにアクセス
してもアクセスが拒否される可能性がある。
Problem 3: In the existing server selection method, even if the selected server has the provisional reservation function, this cannot be notified when the server is selected. If the selected server is not tentatively reserved, the server is accessed by another client between the time the client obtains the server selection result and the time the server is accessed, and the maximum number of simultaneous connections of the server at the current time is the maximum. When the number of accesses is reached, the access may be denied even if the client accesses the server.

【0024】問題点4:既存のサーバ選択方法では、選
択対象サーバが認証機能を持っていたとしても、これを
サーバ選択時に通知することができなかった。従来のサ
ーバ選択方法において、ユーザ認証が必要なサーバを選
択対象とすると、ユーザ認証情報を選択される可能性の
ある全てのサーバに事前に配布しておく方法しかない
が、これを実現するためには、クライアントの情報がす
べて事前に登録されていることが前提であり、不特定多
数の利用者を想定したサービスには不適である。また、
全てのサーバに同じ認証用のデータを登録しなければな
らないため、非効率的である。
Problem 4: In the existing server selection method, even if the selected server has an authentication function, this cannot be notified when the server is selected. In the conventional server selection method, if you select a server that requires user authentication as the selection target, there is only a method of distributing user authentication information to all servers that may be selected in advance, but in order to realize this Is premised on that all client information is registered in advance, and is not suitable for services that assume an unspecified number of users. Also,
This is inefficient because the same authentication data must be registered in all servers.

【0025】本発明の目的は、前述の4つの問題点を解
決し、サービス提供に必要なリソース量を考慮し、かつ
ユーザからの距離が近いサーバを選択することが可能な
サーバ選択技術を提供することにある。本発明の前記な
らびにその他の目的と新規な特徴は、本明細書の記述及
び添付図面によって明らかにする。
An object of the present invention is to solve the above-mentioned four problems, to provide a server selection technique which considers the amount of resources required for service provision and can select a server that is close to the user. To do. The above and other objects and novel features of the present invention will become apparent from the description of this specification and the accompanying drawings.

【0026】[0026]

【課題を解決するための手段】本願において開示される
発明の概要を簡単に説明すれば、下記のとおりである。
第1の発明は、前述の問題点1と問題点2を解決するた
めの手段である。本発明のサーバ選択装置は、ユーザの
識別情報とサーバの識別情報とからユーザ−サーバ間の
距離を取得する距離取得手段と、サーバの識別情報から
当該サーバの残リソース量を取得する残リソース量取得
手段と、ユーザの識別情報、サーバリスト、及び必要と
なるサーバリソース量を入力し、前記サーバリストに記
載されるサーバそれぞれについて前記残リソース量取得
手段によって残リソース量を取得し、該残リソース量が
必要となるサーバリソース量を上回っているサーバの中
から、前記距離取得手段によって得られたユーザヘの距
離が短いサーバを優先的に選択してサーバの識別情報を
サーバ選択結果として出力するサーバ選択手段とで構成
されることを特徴としている。このような仕組みを設け
ることにより、本発明のサーバ選択装置によって選択さ
れたサーバは残リソース量が必要となるサーバリソース
量を上回るものであり、かつユーザからの距離が短いも
のであることが保証される。
The outline of the invention disclosed in the present application will be briefly described as follows.
The first invention is a means for solving the above-mentioned problems 1 and 2. A server selection device of the present invention includes a distance acquisition unit that acquires a user-server distance from user identification information and server identification information, and a remaining resource amount that acquires the remaining resource amount of the server from the server identification information. The acquisition unit, the user identification information, the server list, and the required server resource amount are input, and the remaining resource amount is acquired by the remaining resource amount acquisition unit for each server described in the server list, and the remaining resource is acquired. A server that preferentially selects a server having a short distance to the user obtained by the distance acquisition means from the servers having the required amount of server resources exceeding the amount and outputs the identification information of the server as the server selection result. And a selection means. By providing such a mechanism, it is guaranteed that the server selected by the server selection device of the present invention has a remaining resource amount that exceeds the required server resource amount and that the distance from the user is short. To be done.

【0027】第2の発明は、前記第1の発明の距離取得
手段における一距離取得手法であり、前述の問題点2を
解決する具体的な方法を提供するものである。本発明の
距離取得手段は、本発明のサーバ選択装置から前記サー
バリストに含まれるそれぞれのサーバへの経路上に存在
する中継装置の識別情報を記憶する経路情報テーブル
と、本発明のサーバ選択装置から当該ユーザヘの経路上
の中継装置の識別情報を取得する中継装置情報処理手段
と、該中継装置情報処理手段が取得した中継装置の識別
情報に基づき前記サーバリストに含まれるサーバそれぞ
れについて当該ユーザまでの距離を求める手段を含むこ
とを特徴としている。このような仕組みを設けることに
より、サーバ選択装置からユーザまでの経路情報、サー
バまでの経路情報の両方を取得できるため、ユーザとサ
ーバ間の距離を見積もり、それに応じたサーバ選択が可
能となる。
A second invention is a one-distance acquisition method in the distance acquisition means of the first invention, and provides a concrete method for solving the above-mentioned problem 2. The distance acquisition means of the present invention includes a route information table storing identification information of relay devices existing on a route from the server selection device of the present invention to each server included in the server list, and the server selection device of the present invention. To the user for each of the servers included in the server list based on the relay device information processing unit that acquires the identification information of the relay device on the route from the user to the user, and the relay device information acquired by the relay device information processing unit. It is characterized by including a means for obtaining the distance of. By providing such a mechanism, both the route information from the server selection device to the user and the route information to the server can be acquired, so that the distance between the user and the server can be estimated and the server can be selected accordingly.

【0028】第3の発明は、前記第1の発明の距離取得
手段における一距離取得手法であり、前記問題点2を解
決する具体的な方法を提供するものである。本発明の距
離取得手段は、ユーザの位置情報を取得する位置取得手
段と、それぞれのサーバの位置情報を記憶しているサー
バの位置テーブルと、これらを用いて取得したユーザの
位置情報とサーバの位置情報とを用いてサーバ−ユーザ
間の距離を求める手段を備えていることを特徴としてい
る。この発明によればサーバ選択装置と管理対象サーバ
あるいはユーザとの距離が離れていたとしてもサーバ−
ユーザ間の距離を正確に測定できるため、サーバ選択装
置が選択するサーバは、ユーザにとって真に最寄りのサ
ービス提供可能なサーバであることが保証される。
A third invention is a distance acquisition method in the distance acquisition means of the first invention, and provides a concrete method for solving the problem 2. A distance acquisition unit of the present invention includes a position acquisition unit that acquires position information of a user, a position table of a server that stores position information of each server, position information of a user acquired by using these, and a server position information. It is characterized in that it is provided with means for obtaining the distance between the server and the user using the position information. According to the present invention, even if the distance between the server selection device and the managed server or the user is large, the server-
Since the distance between the users can be accurately measured, it is guaranteed that the server selected by the server selection device is a server that can provide a service that is truly closest to the user.

【0029】第4の発明は、本発明のサーバ選択装置に
おける残リソース取得手段が、サーバ選択装置の管理対
象であるサーバそれぞれについて残リソース量を示す残
リソース管理テーブルを含むことを特徴としている。こ
れによって残リソース量を外部装置からの要求に応じて
出力する機能を持たないサーバに対しても、本発明のサ
ーバ選択装置は、必要リソース量を考慮したリソース割
り当てが可能となり、本発明によるサーバ選択方法の適
用領域が拡大する。
A fourth aspect of the present invention is characterized in that the remaining resource acquisition means in the server selection device of the present invention includes a remaining resource management table indicating a remaining resource amount for each server that is a management target of the server selection device. This allows the server selection device of the present invention to perform resource allocation in consideration of the required resource amount even for a server that does not have a function of outputting the remaining resource amount in response to a request from an external device. The application area of the selection method expands.

【0030】第5の発明は、前記サーバに同時に接続可
能な最大端末数を最大同時接続数として定め、前記残リ
ソース量は前記サーバの最大同時接続数から当該サーバ
に接続中の端末の数を引いた値であることを特徴として
いる。これにより、接続しているユーザ数がサーバが定
める最大同時接続数に達しているサーバについては、サ
ーバに残リソースがないと判断され、このサーバが選択
候補から除外されるため、最大同時接続数以上のクライ
アントが前記サーバに接続することを回避できる。
In a fifth aspect of the invention, the maximum number of terminals that can be simultaneously connected to the server is defined as the maximum number of simultaneous connections, and the remaining resource amount is calculated from the maximum number of simultaneous connections of the server to the number of terminals connected to the server. It is characterized by the subtracted value. As a result, if the number of connected users has reached the maximum number of simultaneous connections defined by the server, it is determined that there are no remaining resources in the server, and this server is excluded from the selection candidates. It is possible to prevent the above client from connecting to the server.

【0031】第6の発明は、前記サーバが実行可能な最
大伝送レートの総和を最大総レートとして定め、前記残
リソース量は当該サーバの最大総レートから実行中のデ
ータ転送レートの総和を差し引いた値であることを特徴
としている。これにより、サーバの最大総レートと現時
点でサーバが実行しているデータ転送レートの差が、こ
れから開始しようとしているデータ転送レートを下回っ
ているサーバについては、残リソースがないと判断さ
れ、このサーバが選択候補から除外されるため、サービ
ス提供に必要な転送レートが確保できないサーバにクラ
イアントがアクセスすることを回避できる。
According to a sixth aspect of the invention, the sum of the maximum transmission rates that the server can execute is defined as the maximum total rate, and the remaining resource amount is obtained by subtracting the sum of the data transfer rates being executed from the maximum total rate of the server. It is characterized by being a value. As a result, if the difference between the maximum total rate of the server and the data transfer rate that the server is currently executing is less than the data transfer rate that the server is about to start, it is determined that there are no remaining resources, and this server Is excluded from the selection candidates, it is possible to prevent the client from accessing the server that cannot secure the transfer rate required for providing the service.

【0032】第7の発明は、同一拠点に設置されたサー
バ群が実行可能な拠点外とのデータ転送のレートの総和
を拠点最大総レートとして定め、前記残リソース量は、
当該サーバの設置拠点の拠点最大総レートから当該サー
バの設置拠点のサーバ群が実行中の拠点外とのデータ転
送のレートの総和を引いた値であることを特徴としてい
る。これにより、拠点最大総レートと現時点での拠点外
とのデータ転送のレートの総和との差が、サービス提供
に必要なデータ転送レートを下回っている拠点について
は、残リソースがないと判断される。従って、サービス
提供に必要な転送レートが確保できない拠点に配置され
たサーバ群が選択候補から除外される。
According to a seventh aspect of the present invention, the total sum of rates of data transfer to and from outside the base that can be executed by a group of servers installed in the same base is defined as the maximum total base rate, and the remaining resource amount is
It is characterized in that it is a value obtained by subtracting the sum of the rates of data transfer with the outside of the site where the server group of the site where the server is installed is being executed from the maximum total rate of the site where the server is installed. As a result, it is determined that there is no remaining resource at the base where the difference between the maximum total base rate and the sum of the data transfer rates outside the base at the moment is lower than the data transfer rate necessary for providing the service. . Therefore, the server group arranged at the site where the transfer rate necessary for providing the service cannot be secured is excluded from the selection candidates.

【0033】第8の発明は、前記第4の発明におけるサ
ーバリソース管理テーブルに記憶されている残リソース
量のうち前記サーバ選択手段が選択したサーバの残リソ
ース量を、前記サーバ選択手段に入力された必要リソー
スだけ減算する残リソース減算手段を備えたことを特徴
としている。これにより、前記サーバ選択手段の管理対
象であるサーバが残リソース量を計算するのに必要な情
報を提供しない場合でも、サーバリソース管理テーブル
が示す残リソース量は実際の残リソース量と同値である
ことから、残リソースを考慮した割り当てを実現するこ
とが可能となる。
In an eighth aspect of the present invention, the remaining resource amount of the server selected by the server selecting means out of the remaining resource amounts stored in the server resource management table in the fourth aspect is input to the server selecting means. It is characterized in that it has a remaining resource subtraction means for subtracting only required resources. As a result, even when the server managed by the server selecting means does not provide the information necessary for calculating the remaining resource amount, the remaining resource amount indicated by the server resource management table is the same as the actual remaining resource amount. Therefore, it is possible to realize the allocation considering the remaining resources.

【0034】第9の発明は、前記第4の発明に追加し
て、前記サーバによって提供されるサービスの識別情
報、及びサーバ選択手段によって選択されたサーバを入
力し、この入力に基づきサービス提供に要する時間(サ
ービス提供時間)を取得し、該サービス提供時間を出力
とするサービス提供時間取得手段と、前記サービス提供
時間取得手段が出力した前記サービス提供時間、前記サ
ーバ選択手段によって選択されたサーバの識別情報、及
び前記必要リソース量を入力し、これらが入力された時
点から前記サービス提供時間経過後、前記サーバリソー
ス管理テーブルが示す選択されたサーバに関する残サー
バリソース量が、必要サーバリソース量分だけ増加とな
るように前記サーバリソース管理テーブルを更新するサ
ーバリソース管理タイマー手段とを備えたことを特徴と
している。これにより、サーバが残リソースに関する情
報を外部機器に出力する機能を備えていない場合におい
ても、サーバの残リソースを考慮したサーバ選択を実現
することが可能となる。
In addition to the above-mentioned fourth invention, a ninth invention inputs the identification information of the service provided by the server and the server selected by the server selecting means, and provides the service based on this input. A service providing time acquiring unit that acquires a required time (service providing time) and outputs the service providing time, a service providing time output by the service providing time acquiring unit, and a server selected by the server selecting unit. After the identification information and the required resource amount are input, and after the service providing time has elapsed from the time when these are input, the remaining server resource amount related to the selected server indicated by the server resource management table is equal to the required server resource amount. Server resource management type that updates the server resource management table to increase It is characterized in that a chromatography unit. As a result, even when the server does not have the function of outputting the information on the remaining resources to the external device, it is possible to realize the server selection in consideration of the remaining resources of the server.

【0035】第10の発明は、当該サーバ選択装置の管
理対象となるサーバが前記ユーザのアクセスのために仮
にサーバリソースを確保する仮予約機能を持っている場
合、サーバ選択時に、前記サーバ選択手段の出力である
選択されたサーバの識別情報、ユーザの識別情報、サー
ビスの識別情報を入力とし、前記サーバに対して仮予約
の設定を行うための情報(以下、仮予約設定情報と称
す)をこれらの情報を元に生成し、前記仮予約設定情報
を出力し、仮予約設定が正常に終了してから選択された
サーバの識別情報をサーバ選択結果として出力する仮予
約情報通知手段を備えたことを特徴とする。これによ
り、限定されたサーバのみにユーザの仮予約情報が通知
されるため、限定されたサーバにアクセスする限定され
たユーザのみに確実にサービスを提供することが可能と
なる。
In a tenth aspect of the present invention, when the server to be managed by the server selection device has a provisional reservation function for temporarily securing server resources for the user's access, the server selection means is selected at the time of server selection. Input the identification information of the selected server, the identification information of the user, and the identification information of the service, which is the output of the above, and input the information for setting the temporary reservation for the server (hereinafter referred to as the temporary reservation setting information). Provision is made of provisional reservation information notifying means for generating based on these pieces of information, outputting the provisional reservation setting information, and outputting the identification information of the server selected after the provisional reservation setting is normally completed as the server selection result. It is characterized by As a result, the provisional reservation information of the user is notified only to the limited server, so that it is possible to reliably provide the service only to the limited user who accesses the limited server.

【0036】第11の発明は、前記サーバ選択装置の管
理対象となるサーバがユーザアクセスを制限するための
ユーザ認証機能を持っている場合、サーバ選択時に、前
記サーバ選択手段の出力である選択されたサーバの識別
情報、ユーザの識別情報、及びサービスの識別情報を入
力し、当該サーバに対して当該ユーザに関するユーザ認
証の設定を行うための情報(以下認証設定情報)をこれ
らの情報を元に生成し、該認証設定情報を出力し、認証
設定が正常に終了してから選択されたサーバの識別情報
をサーバ選択結果として出力する認証情報通知手段を備
えたことを特徴とする。これにより、限定されたサーバ
のみにユーザの認証情報が通知されるため、限定された
サーバにアクセスする限定されたユーザのみに確実にサ
ービスを提供することが可能となる。
An eleventh aspect of the present invention is, when a server to be managed by the server selection device has a user authentication function for restricting user access, selects a server which is an output of the server selection means when selecting a server. Enter the server identification information, the user identification information, and the service identification information, and use the information (hereinafter referred to as the authentication setting information) for setting the user authentication for the user to the server based on these information. The present invention is characterized by including an authentication information notifying unit that generates the authentication setting information, outputs the authentication setting information, and outputs the identification information of the server selected after the authentication setting is normally completed as the server selection result. With this, since the user authentication information is notified only to the limited server, it is possible to reliably provide the service only to the limited user who accesses the limited server.

【0037】第12の発明は、ユーザの識別情報を入力
とし、ユーザの位置情報を元に当該サーバ選択装置でサ
ーバの選択を行うことの可否を演算によって求め、選択
を行うことを決定した場合には、サーバ選択手段による
サーバ選択処理を続行し、選択を行わないことを決定し
た場合には、該ユーザに対するサーバ選択を行う候補と
なるサーバ選択装置の識別情報を出力し、サーバ選択処
理を中断するサーバ選択可否判断手段を備えたことを特
徴とする。これにより、サーバ選択プログラムを分散化
してサーバ選択動作を実行することが可能となる。以下
に、本発明について、本発明による実施形態(実施例)
とともに図面を参照して詳細に説明する。
In a twelfth aspect of the invention, when the identification information of the user is input and whether or not the server can be selected by the server selection device is calculated based on the position information of the user, the selection is determined. In the case of continuing the server selection process by the server selection means and determining not to perform the selection, the identification information of the server selection device that is a candidate for the server selection for the user is output, and the server selection process is performed. It is characterized in that it is provided with means for determining whether or not the server can be interrupted. This makes it possible to decentralize the server selection program and execute the server selection operation. Hereinafter, embodiments of the present invention (Examples) will be described.
A detailed description will be given with reference to the drawings.

【0038】[0038]

【発明の実施の形態】図1は、本発明による実施形態の
サーバ選択装置の機能構成を示すブロック図であり、図
2は、本実施形態のサーバ選択装置の動作手順を示すフ
ローチャートである。図1に示すように、本実施形態1
のサーバ選択装置100は、サーバ選択手段1、距離取
得手段2、及び残リソース量取得手段3で構成されてい
る。図1において、Uはユーザの識別情報、Sはサーバ
の識別情報、SLはサーバリスト(サーバの識別情報の
リスト)、Rは必要となるサーバリソース量、SSはサ
ーバ選択手段によって選択されたサーバの識別情報、D
(U.S)は拠点Uと拠点Sとの間の距離情報、R(S)
はサーバSの残リソース量である。
1 is a block diagram showing a functional configuration of a server selection device according to an embodiment of the present invention, and FIG. 2 is a flowchart showing an operation procedure of the server selection device according to the present embodiment. As shown in FIG.
The server selection device 100 is composed of a server selection unit 1, a distance acquisition unit 2, and a remaining resource amount acquisition unit 3. In FIG. 1, U is user identification information, S is server identification information, SL is a server list (a list of server identification information), R is the required server resource amount, and SS is the server selected by the server selection means. Identification information, D
(US) is the distance information between the base U and the base S, R (S)
Is the remaining resource amount of the server S.

【0039】本実施形態のサーバ選択装置100の動作
について図2を用いて説明する。まず、本実施形態のサ
ーバ選択装置100は、起動時にユーザの識別情報U、
サーバリストSL、及び必要となるサーバリソース量R
がサーバ選択手段1に入力される(101)。サーバ選
択手段1は、入力されたサーバリストSLに記載の全て
のサーバについて残リソース取得手段3を用いて残リソ
ース量を得る(102)。残リソース量が必要とするサ
ーバリソース量Rを上回っている(103)サーバにつ
いて、ユーザとサーバの距離を距離取得手段2によって
得る(104)。前記の操作を入力されたサーバリスト
に記載の全てのサーバについて行う。全てのサーバにつ
いて前記の操作を行い、残リソース量がサーバリソース
量を上回っているサーバのうちユーザからの距離が近い
サーバを優先してサーバ選択装置100の選択結果とし
て出力する(105)。このような操作を行うことによ
って、残リソース量が前記必要となるサーバリソース量
を下回るサーバはサーバ選択の候補から除外される。ま
た、除外されなかったサーバの中から前記距離取得手段
2によって得られる当該ユーザとの距離が短いものを優
先的に選択しサーバ選択の結果とすることから、選択さ
れたサーバは、残リソース量が必要となるサーバリソー
ス量を上回るものであり、かつユーザからの距離が短い
ものであることが保証されるため、前記問題点1と前記
問題点2を同時に解決することができる。
The operation of the server selection device 100 of this embodiment will be described with reference to FIG. First, the server selection device 100 of the present embodiment, when started, the user identification information U,
Server list SL and required server resource amount R
Is input to the server selection means 1 (101). The server selection means 1 obtains the remaining resource amount by using the remaining resource acquisition means 3 for all the servers described in the input server list SL (102). For a server whose remaining resource amount exceeds the required server resource amount R (103), the distance between the user and the server is obtained by the distance acquisition means 2 (104). The above operation is performed for all the servers described in the input server list. The above operation is performed for all the servers, and among the servers with the remaining resource amount exceeding the server resource amount, the server closer to the user is preferentially output as the selection result of the server selection device 100 (105). By performing such an operation, a server whose remaining resource amount is less than the required server resource amount is excluded from the server selection candidates. In addition, the server that is not excluded is selected as a result of the server selection by preferentially selecting a server having a short distance with the user, which is obtained by the distance acquisition unit 2, so that the selected server has the remaining resource amount. Is guaranteed to exceed the required server resource amount, and the distance from the user is short, so that the problem 1 and the problem 2 can be solved at the same time.

【0040】続いて本実施形態に記載のサーバ選択装置
の内部実装構成、およびサーバ選択装置を取り巻く環境
について説明する。図3は、本発明に係わる本実施形態
のサーバ選択装置を有する汎用コンピュータの機能構成
を示すブロック図である。図3に示すように、本発明に
係わる本実施形態のサーバ選択装置を有する汎用コンピ
ュータ50は、ルータ装置51を有する通信線52に接
続されている。通信線52にはサーバ選択装置の管理対
象サーバ53が接続され、所定のルータ装置51にはク
ライアントソフトウェア54Aを有するクライアント装
置54が複数個接続されている。前記汎用コンピュータ
50の内部構成は、サーバ選択プログラム50Aとこの
サーバ選択プログラム50Aが参照するデータベース5
0Bで構成されている前記サーバ選択プログラム50A
は、受付処理ルーチン50A1、メインルーチン50A
2、及びサーバ選択ルーチン50A3を有している。
Next, the internal mounting structure of the server selection device according to the present embodiment and the environment surrounding the server selection device will be described. FIG. 3 is a block diagram showing the functional arrangement of a general-purpose computer having the server selection device according to the present embodiment of the present invention. As shown in FIG. 3, the general-purpose computer 50 having the server selection device according to the present embodiment of the present invention is connected to the communication line 52 having the router device 51. A managed server 53 of a server selection device is connected to the communication line 52, and a plurality of client devices 54 having client software 54A are connected to a predetermined router device 51. The internal configuration of the general-purpose computer 50 includes a server selection program 50A and a database 5 referred to by the server selection program 50A.
The server selection program 50A composed of 0B
Is a reception processing routine 50A1 and a main routine 50A
2 and a server selection routine 50A3.

【0041】クライアントソフトウェア54があるUR
Lで指定されるサービスを前記サーバ選択プログラム5
0Aに要求する際用いるプロトコルスタックを図4に、
その際用いられるメッセージの例を表1にそれぞれ示
す。図4および表1は当プロトコルスタックにおける上
位プロトコルとしてhttp,rtspを用いた例であ
る。また図4については、以降の記述がデータリンク
層、物理層に非依存であるため、IP以下のレイヤにつ
いては省略して記述している。
UR with client software 54
The service specified by L is used as the server selection program 5
The protocol stack used when requesting 0A is shown in FIG.
Table 1 shows examples of messages used at that time. FIG. 4 and Table 1 show an example in which http and rtsp are used as the upper protocol in this protocol stack. Further, in FIG. 4, since the following description is independent of the data link layer and the physical layer, the layers below IP are omitted.

【0042】本実施形態1のサーバ選択装置は、サーバ
を選択した後に、図4に示すプロトコルスタックを用い
てクライアントソフトウェアにサーバ選択結果を通知す
る。結果通知時における上位プロトコルのメッセージ例
を表2に示す。該メッセージを受信したクライアントソ
フトウェアでは、前記メッセージに記載の文字列“Lo
cation:”が記載されている行のURLにサービ
ス利用要求を行うことにより、クライアント装置はサー
バ選択結果を反映して目的とするサーバにアクセスする
ことができる。なお表2に示すメッセージによって別な
サーバに処理を転送することをリダイレクトと呼ぶ。
After selecting the server, the server selection device of the first embodiment notifies the client software of the server selection result using the protocol stack shown in FIG. Table 2 shows an example of upper-layer protocol messages at the time of result notification. The client software that received the message uses the character string "Lo described in the message.
The client device can access the target server by reflecting the server selection result by making a service use request to the URL in the line in which "cation:" is described. Transferring processing to the server is called redirection.

【0043】[0043]

【表1】 [Table 1]

【0044】[0044]

【表2】 [Table 2]

【0045】更に、詳細にサーバ選択装置内部について
前提とする環境を解説する。図5に示すように、サーバ
選択プログラムがサービス利用要求を受信すると、メイ
ンルーチンを実行する子プロセスを起動し、サーバ選択
処理はすべてそちらに行わせ、親プロセスであるサーバ
プログラムは再度他のクライアントからのサーバ選択要
求を待ち受ける。
Further, the environment presupposed inside the server selection device will be explained in detail. As shown in FIG. 5, when the server selection program receives the service use request, it activates a child process that executes the main routine, causes it to perform all server selection processing, and the parent server process executes the client process again. Wait for the server selection request from.

【0046】メインルーチンにおけるフローチャートを
図6に示す。メインルーチンが起動したら、まず、クラ
イアント装置のIPアドレスを取得する(201)。ま
た、表3と表4に示す情報がデータベースに格納されて
いるものとし、これらのデータベースからサービスのU
RLに対応したサーバのURLと、サービスのURLと
サービス提供に必要なリソース量を取得する(20
2)。これらの情報を取得後サーバ選択ルーチンを起動
する(203)。メインルーチンとサーバ選択ルーチン
は、共通のプログラミング言語、かつ標準的なC/C++
/JAVA(登録商標)などで記載されると仮定する。
そのような場合サーバ選択ルーチンは、図7のような関
数で実現され、この関数をメインルーチンなどに取り込
むことによってサーバ選択ルーチンが起動できる(20
4)。該サーバ選択ルーチンはサーバ選択結果を表2に
示すような形式に書式を変更し、サーバ選択結果をクラ
イアントソフトウェアに通知する機能を設けている。
A flowchart of the main routine is shown in FIG. When the main routine is activated, first, the IP address of the client device is acquired (201). Further, it is assumed that the information shown in Tables 3 and 4 is stored in the database, and the service U
The URL of the server corresponding to the RL, the URL of the service, and the resource amount necessary for providing the service are acquired (20
2). After obtaining these pieces of information, the server selection routine is activated (203). Main routine and server selection routine are common programming language and standard C / C ++
/ JAVA (registered trademark) or the like.
In such a case, the server selection routine is realized by the function shown in FIG. 7, and the server selection routine can be started by incorporating this function into the main routine or the like (20
4). The server selection routine has a function of changing the format of the server selection result to the format shown in Table 2 and notifying the client software of the server selection result.

【0047】[0047]

【表3】 [Table 3]

【0048】[0048]

【表4】 [Table 4]

【0049】以下に前述したサーバ選択プログラムの実
施例について説明する。 (実施例1)前述の第1の発明によるサーバ選択ルーチ
ンであって、距離取得手段に前述の第2の発明を用い、
サーバ選択ルーチンが認識する残リソース量を前述の第
5の発明のように定義した場合の実施例について述べ
る。
An embodiment of the server selection program described above will be described below. (Embodiment 1) A server selection routine according to the above-mentioned first invention, wherein the above-mentioned second invention is used as the distance acquisition means,
An embodiment will be described in which the remaining resource amount recognized by the server selection routine is defined as in the above-mentioned fifth invention.

【0050】図8に想定するネットワークを示す。図8
中、SS’は本発明によるサーバ選択プログラムがイン
ストールされたサーバ選択装置である。Ra,Rb,R
c,Rd,Reはすべて汎用のルータ装置である。図8
中のルータ装置のネットワーク結合部近傍に記載の数値
を用い、ルータ装置のIPアドレスをRa0,Rb1の
ように表記するものとする。Sa,Sb,Sc,Sd,
SeはSS’の選択対象となるサーバである。また、
U'は前記サーバの利用要求を行うユーザである。
FIG. 8 shows an assumed network. Figure 8
Among them, SS 'is a server selection device in which the server selection program according to the present invention is installed. Ra, Rb, R
c, Rd, and Re are all general-purpose router devices. Figure 8
The numerical value described near the network connection part of the router device is used and the IP address of the router device is represented as Ra0 and Rb1. Sa, Sb, Sc, Sd,
Se is a server that is the selection target of SS '. Also,
U'is a user who makes a usage request for the server.

【0051】本実施例1で実現するサーバ選択装置の機
能構成図を図9に示す。図9中、1はサーバ選択手段、
2は距離取得手段、3は残リソース量取得手段、Uはユ
ーザのIPアドレス(ユーザの識別情報)、Sはサーバ
のURL(サーバの識別情報)、SLはサーバのURL
リスト(サーバの識別情報リスト)、R’は1“接続”
(必要となるサーバリソース量)、SSは選択されたサー
バのURL(選択されたサーバの識別情報)、D(U.
S)は拠点Uと拠点Sとの間の距離情報、R(S)’は現
時点での可能同時接続数である。
FIG. 9 is a functional block diagram of the server selection device realized in the first embodiment. In FIG. 9, 1 is a server selecting means,
2 is a distance acquisition unit, 3 is a remaining resource amount acquisition unit, U is a user IP address (user identification information), S is a server URL (server identification information), and SL is a server URL.
List (server identification information list), R'is 1 "connect"
(Required server resource amount), SS is URL of selected server (identification information of selected server), D (U.
S) is the distance information between the base U and the base S, and R (S) 'is the number of simultaneous connections possible at the present time.

【0052】図9に示すように、前記本実施例1のサー
バ選択ルーチン100Aは、サーバ選択手段1、距離取
得手段2、及び残リソース量取得手段3で構成されてい
る。本実施例1のサーバ選択ルーチンは、ユーザのIP
アドレスU、及び選択対象サーバのURLリストSLを
入力し、選択されたサーバのURLのSSを出力とす
る。また、前記サーバ選択ルーチン100Aに入力され
たユーザのIPアドレスU、サーバのURLリストS
L、及び1“接続”R’は、サーバ選択手段1に入力さ
れる。サーバ選択手段1はサーバのURLリストSLに
記載の全てのサーバについて、残リソース量取得手段3
を用い、各サーバの現時点での可能同時接続数R(S)'
を取得する。
As shown in FIG. 9, the server selection routine 100A of the first embodiment is composed of a server selection means 1, a distance acquisition means 2, and a remaining resource amount acquisition means 3. The server selection routine of the first embodiment is performed by the user's IP.
The address U and the URL list SL of the selected server are input, and the SS of the URL of the selected server is output. Also, the IP address U of the user and the URL list S of the server entered in the server selection routine 100A.
L and 1 “connection” R ′ are input to the server selection means 1. The server selection means 1 obtains the remaining resource amount acquisition means 3 for all the servers listed in the server URL list SL.
, The current number of possible simultaneous connections of each server R (S) '
To get.

【0053】現時点での可能同時接続数R(S)’が1
“接続”R’以上である場合、距離取得手段2によって
当該ユーザと当該サーバとの距離D(U.S)を取得す
る。サーバ選択手段1では前記残リソース量が必要とな
るサーバリソース量を上回るサーバの中から最もユーザ
との距離が短いものをサーバ選択ルーチンの出力として
選択する。
The number of possible simultaneous connections R (S) ′ at present is 1
If “connection” R ′ or more, the distance acquisition unit 2 acquires the distance D (US) between the user and the server. The server selection means 1 selects, as an output of the server selection routine, a server having the shortest distance to the user from the servers in which the remaining resource amount exceeds the required server resource amount.

【0054】以下に各手段の詳細を説明する。まず、距
離取得手段2の具体例について説明する。第一段階とし
て、サーバ選択装置とユーザとの間の経路情報を取得す
る。ここでは、経路情報取得手段として一般に良く知ら
れたtracerouteと呼ばれるプログラムを使用
する。前記tracerouteプログラムは、目的と
するIPアドレスを入力すると、該IPアドレスにパケ
ットが到達するまでに経由するルータ装置のIPアドレ
スをプログラム実行マシンに近いものから順に出力する
プログラムである。前記tracerouteを用いる
ことでサーバ選択装置とユーザとの間の経由ルータのI
Pアドレスを取得することができる。
Details of each means will be described below. First, a specific example of the distance acquisition unit 2 will be described. As the first step, the route information between the server selection device and the user is acquired. Here, a program called traceroute, which is generally well known, is used as the route information acquisition means. The traceroute program is a program that, when the target IP address is input, outputs the IP addresses of the routers through which the packet reaches the IP address in order from the one closest to the program execution machine. By using the traceroute, the I of the transit router between the server selection device and the user
The P address can be obtained.

【0055】図10に前記図8に記載のようなネットワ
ーク構成の場合のtraceroute実行結果を示
す。これを前記ユーザの距離情報として一時的に記憶さ
せる。第二段階としてサーバのURLリストに記載のそ
れぞれのサーバについてサーバの距離情報を取得する。
本実施例1では前述の第2の発明に記載の通り、サーバ
選択装置の距離取得手段がサーバ選択装置−中継装置の
識別情報を記憶する経路情報テーブルを備えていること
を前提としている。ここでは、中継装置をルータとし、
その識別情報をルータのアドレスとする。図8に記載の
ネットワーク構成において、前記経路情報テーブルを記
載した例を表5に示す。前記経路情報テーブルをサーバ
の距離情報と定義し、一時的に記憶させる。第三段階と
して一時的に記憶された前記ユーザの距離情報と前記サ
ーバの距離情報とを用い、次の数1の式を用いてサーバ
とユーザ間の距離Lsuを求める。なお、この場合「距
離」とは経路上の経由ルータ数であるものとする。
[0055] shows the traceroute execution results when the network configuration as described in FIG. 8 in FIG. 10. This is temporarily stored as the distance information of the user. As the second step, the server distance information is acquired for each server described in the server URL list.
In the first embodiment, as described in the above-mentioned second invention, it is premised that the distance acquisition means of the server selection device is provided with the route information table storing the identification information of the server selection device-relay device. Here, the relay device is a router,
The identification information is used as the router address. Table 5 shows an example in which the route information table is described in the network configuration shown in FIG . The route information table is defined as server distance information and is temporarily stored. As the third step, the distance information Lsu between the server and the user is obtained using the following equation 1 using the distance information of the user and the distance information of the server that are temporarily stored. In this case, the “distance” is the number of transit routers on the route.

【0056】[0056]

【数1】Lsu =A+B−2×+1 A=サーバ選択装置とユーザ間の経路上に存在するルー
タの数 B=サーバ選択装置とサーバ間の経路上に存在するルー
タの数 C=サーバ選択装置とユーザ間の経路とサーバ選択装
とサーバ間の経路で共通しているルータの数 前記数1の式によってサーバとユーザ間の距離Lsuを求
めた結果を表6に示す。これをサーバとユーザ間の距離
情報と定義し、一時的に記憶させる。
[Number 1] Lsu = A + B-2 × C +1 A = number C = server selection router in the path between the number B = server selection device and the server router in the path between the server selection device and user Table 6 shows the number of routers common to the route between the device and the user and the route between the server selection device and the server . This is defined as distance information between the server and the user and is temporarily stored.

【0057】[0057]

【表5】 [Table 5]

【0058】[0058]

【表6】 [Table 6]

【0059】残リソース量取得手段3は、サーバのUR
Lを入力とし、該サーバの現時点での可能同時接続数を
出力とする。サーバの現時点での可能同時接続数は、当
該サーバに問い合わせることで取得できるものとする。
残リソース量取得手段3は、サーバに問い合わせるため
のライブラリファイル及びAPIによって提供されるも
のとする。
The remaining resource amount acquisition means 3 is the UR of the server.
Let L be the input and the number of possible simultaneous connections of the server at the present time be the output. The current number of possible simultaneous connections of the server shall be acquired by inquiring to the server.
The remaining resource amount acquisition means 3 is provided by a library file and an API for inquiring the server.

【0060】サーバ選択手段1は一時的に記憶された前
記サーバとユーザ間の距離情報を用い、前記サーバとユ
ーザ間の距離情報の記載されているサーバについて残リ
ソース量取得手段3を用いて残リソースを取得する。ま
た、本実施例1では、残リソース量が前記第5の発明で
定義された最大同時接続数から当該サーバに接続中の端
末数を引いた値であり、1回のサーバ処理要求に必要と
なるリソース量は「1接続」であるため、前記サーバ選
択手段1は、表7のなかで残リソース量が0でないもの
から最寄りのサーバを選択すればよい。従って、残リソ
ース量が表7に示される通りであった場合、前記サーバ
選択手段1が選択するサーバのURLはSaのURLで
ある。このURLがサーバ選択プログラムの出力URL
となる。
The server selection means 1 uses the temporarily stored distance information between the server and the user, and uses the remaining resource amount acquisition means 3 for the server in which the distance information between the server and the user is described. Get a resource. Further, in the first embodiment, the remaining resource amount is a value obtained by subtracting the number of terminals connected to the server from the maximum number of simultaneous connections defined in the fifth aspect of the invention, and is required for one server processing request. Since the resource amount is "1 connection", the server selection means 1 may select the nearest server from the ones in Table 7 where the remaining resource amount is not 0. Therefore, when the remaining resource amount is as shown in Table 7, the URL of the server selected by the server selecting means 1 is the URL of Sa. This URL is the output URL of the server selection program
Becomes

【0061】[0061]

【表7】 [Table 7]

【0062】以上示してきた通り、このような仕組みを
備えたサーバ選択プログラムによって、複数のサーバリ
ストの中からユーザの最寄り、かつユーザを現時点で収
容可能なサーバを選択することができる。
As shown above, the server selection program having such a mechanism can select the server closest to the user and capable of accommodating the user from the plurality of server lists.

【0063】(実施例2) 前記実施例1を改造して、前述の第6の発明に示される
ように、取り扱うリソースをサーバの帯域とした本発明
による実施例2を以下に説明する。前提とするネットワ
ーク構成は、図8に示されるものと同一とする。また、
本実施例2で実現するサーバ選択ルーチンの機能構成図
を図11に示す。図11中、100Bは本実施例2のサ
ーバ選択ルーチン、1はサーバ選択手段、2は距離取得
手段、3は残リソース量取得手段、UはユーザのIPア
ドレス、SはサーバのURL、SLはサーバのURLリ
スト、R''はサーバに必要となるネットワークの帯域、
SSは選択されたサーバのURL、D(U.S)は拠点
Uと拠点Sとの間の距離情報、R(S)''は現時点での可
能最大送出レートである。前記実施例1と異なる部分
は、図11に示すように、サーバ選択ルーチン100B
の入力としてサービス提供に必要な帯域R''が追加され
た点と、残リソースがサーバの現時点での可能最大送出
レートR(S)''である点である。
(Second Embodiment) A second embodiment according to the present invention in which the resource to be handled is a server band as shown in the sixth invention will be described below by modifying the first embodiment. The presumed network configuration is the same as that shown in FIG . Also,
FIG. 11 shows a functional block diagram of a server selection routine realized in the second embodiment. In FIG. 11, 100B is a server selection routine of the second embodiment, 1 is server selection means, 2 is distance acquisition means, 3 is remaining resource amount acquisition means, U is the IP address of the user, S is the URL of the server, and SL is SL. Server URL list, R '' is the network bandwidth required for the server,
SS is the URL of the selected server, D (U.S) is the distance information between the base U and the base S, and R (S) ″ is the maximum possible transmission rate at the present time. As shown in FIG. 11, the part different from the first embodiment is a server selection routine 100B.
Is that a band R ″ necessary for providing a service is added as an input of the above, and the remaining resource is the maximum possible transmission rate R (S) ″ at the present time of the server.

【0064】サービス提供に必要な帯域R''が、“bi
t/sec”の単位でメインルーチンからサーバ選択ル
ーチンに入力される。前記サーバ選択手段では入力した
サーバのURLリストSLに記載のサーバそれぞれにつ
いて残リソース量取得手段3を用いて前記可能最大転送
レートR(S)''を取得する。表8にサーバの残リソース
量の例を示す。サーバ毎に求められる前記可能最大転送
レートR(S)''とサービス提供に必要な帯域R''の比較
を行い、R(S)''がR''を下回っているサーバはサーバ
選択候補から除外する。
The bandwidth R ″ necessary for providing the service is “bi
It is input from the main routine to the server selection routine in the unit of "t / sec". The server selection means uses the remaining resource amount acquisition means 3 for each server described in the input URL list SL of the server, and the maximum transfer rate possible. R (S) ″ is obtained. Table 8 shows an example of the remaining resource amount of the server. The maximum transfer rate R (S) ″ required for each server and the bandwidth R ″ required for service provision are shown. A comparison is performed, and a server in which R (S) ″ is lower than R ″ is excluded from the server selection candidates.

【0065】[0065]

【表8】 [Table 8]

【0066】その他の処理は、前記実施例1と同様であ
るため説明を省略する。以上説明してきた通り、このよ
うな仕組みを備えたサーバ選択プログラムによって、複
数のサーバリストの中からユーザの最寄り、かつユーザ
を現時点で収容可能なサーバを選択することができる。
The other processing is the same as that of the first embodiment, and therefore its explanation is omitted. As described above, the server selection program having such a mechanism can select the server closest to the user and capable of accommodating the user from the plurality of server lists.

【0067】(実施例3)前述の第1の発明によるサー
バ装置であって、距離取得手段に前述の第3の発明を使
い、サーバ選択装置が認識する残リソース量を前述の第
7の発明のように定義した場合の実施例3について説明
する。図12に想定するネットワークを示す。図12に
おいて、Aa,Ab,Ac,Ad,Ae,As,Auで
示される拠点がルータ装置を介して接続している状態を
示している。
(Embodiment 3) A server device according to the above-mentioned first invention, wherein the distance acquisition means uses the above-mentioned third invention, and the remaining resource amount recognized by the server selection device is determined by the above-mentioned seventh invention. A third embodiment in which the above definition is made will be described. FIG. 12 shows an assumed network. FIG. 12 shows a state in which the bases indicated by Aa, Ab, Ac, Ad, Ae, As, Au are connected via the router device.

【0068】本実施例3で実現するサーバ選択ルーチン
の機能ブロック図を図13に示す。本実施例3のサーバ
選択ルーチン100Cは、ユーザの属する拠点名と選択
対象サーバのURLリストと各拠点からバックボーンに
伸びる回線に必要な空き帯域を入力とし、選択されたサ
ーバのURLを出力とする。また、サービス選択ルーチ
ン100Cは、サーバ選択手段1、距離取得手段2、及
び残リソース量取得手段3で構成されている。
FIG. 13 shows a functional block diagram of the server selection routine realized in the third embodiment. The server selection routine 100C of the third embodiment inputs the site name to which the user belongs, the URL list of the selection target server, and the available bandwidth required for the line extending from each site to the backbone, and outputs the URL of the selected server. . The service selection routine 100C includes a server selection unit 1, a distance acquisition unit 2, and a remaining resource amount acquisition unit 3.

【0069】まず、距離取得手段1について説明する。
第一段階はユーザのIPアドレスを用い、ネットワーク
内のトポロジーを考慮した際のユーザの位置を相対化し
た数値を計算する。ここで、IPアドレスをx.y.
z.w(0<x,y,z,w<256)と表現したとき
に次の数2の式によって当該ユーザの位置を相対化した
数値を求め、一時的に記憶させるものとする。
First, the distance acquisition means 1 will be described.
In the first step, the IP address of the user is used, and a numerical value is calculated by relativizing the position of the user when considering the topology in the network. Here, the IP address is x. y.
z. When expressed as w (0 <x, y, z, w <256), it is assumed that a numerical value obtained by relativizing the position of the user is obtained by the following formula 2 and temporarily stored.

【0070】[0070]

【数2】(x&m1)×2563+(y&m2)×2562
(z&m3)×256+(w&m4)ただし、ネットマスク
をm1.m2.m3.m4(0≦m1,m2,m3,m
4<256)で表現する。a&bはビット毎の論理和を
意味するものと定義する。すなわち、a=0x15,b
=0xbb(0x は16進数であることを示す)であっ
た場合、a&b=0x11となる。第二段階はサーバの
URLからIPアドレスを求め、前記の式に基づき、サ
ーバの位置を相対化した数値を求め、一時的に記憶させ
るものとする。第三段階は一時的に記憶させた前記ユー
ザの位置を相対化した数値と前記サーバの位置を相対化
した数値とからユーザ−サーバ間の距離を求め、これを
一時的に記憶させるものとする。表9に記載のサーバの
IPアドレスとサブネットマスクを仮定したときのサー
バの相対化数値を同じ表9に示している。またユーザの
IPアドレスを11.14.5.12、サブネットマスク
を255.255.255.0と仮定する。この場合のユ
ーザの相対化数値は、185794560となる。
[Formula 2] (x & m1) x 256 3 + (y & m2) x 256 2 +
(z & m3) × 256 + (w & m4) However, the net mask is m1. m2. m3. m4 (0 ≦ m1, m2, m3, m
Expressed as 4 <256). It is defined that a & b means a logical sum for each bit. That is, a = 0x15, b
If = 0xbb (0x indicates a hexadecimal number), then a & b = 0x11. In the second step, the IP address is obtained from the URL of the server, the numerical value obtained by relativizing the position of the server is obtained based on the above equation, and is temporarily stored. In the third step, the distance between the user and the server is obtained from the temporarily stored numerical value of the relative position of the user and the numerical value of the relative position of the server, and this is temporarily stored. . Table 9 shows the relativized numerical values of the server when the IP address and the subnet mask of the server shown in Table 9 are assumed. It is also assumed that the user's IP address is 11.14.5.12 and the subnet mask is 255.255.255.0. In this case, the user's relativization numerical value is 185794560.

【0071】[0071]

【表9】 [Table 9]

【0072】次に、残リソース量取得手段3について説
明する。残リソース量取得手段3が保持するテーブルを
表10に示す。本実施例3は、リソースが拠点からのネ
ットワーク回線の帯域である場合の例である。表10に
示す当該テーブルは、サーバ単位で保持されているので
はなく、拠点毎に管理されているのが特徴である。
Next, the remaining resource amount acquisition means 3 will be described. Table 10 shows a table held by the remaining resource amount acquisition means 3. The third embodiment is an example in which the resource is a band of a network line from the base. The table shown in Table 10 is characterized in that it is not held for each server but is managed for each base.

【0073】[0073]

【表10】 [Table 10]

【0074】次に、サーバ選択手段1について説明す
る。サーバ選択手段1は、表11に示すようなサーバと
拠点とを対応づける表を持っている。表11のような表
とサーバ・ユーザの相対化数値の情報を元に次の数3の
式によって、サーバとユーザ間の距離を計算し、サーバ
に残リソースが余っているかチェックを行った後に、サ
ービス提供可能なサーバの中でユーザとの距離が最も短
いものをサーバ選択プログラムの出力とする。
Next, the server selecting means 1 will be described. The server selection means 1 has a table as shown in Table 11 that associates the servers with the bases. After calculating the distance between the server and the user by the following formula 3 based on the table such as Table 11 and the information of the relative value of the server / user, and after checking whether the server has the remaining resources Among the servers that can provide services, the one with the shortest distance to the user is output as the server selection program.

【0075】[0075]

【数3】 |(ユーザを相対化した数値)−(サーバを相
対化した数値)| 表12には、前記ユーザの相対化数値と表10に示すサ
ーバの相対化数値及び空き帯域とを合わせて記述した表
を示す。表12から当サーバ選択プログラムは最も距離
が短く空き帯域が要求帯域(ここでは6Mbit/se
cとする)を満たすものはSb0及びSb1のサーバで
あることがわかる。当該サーバ選択手段1では、前記の
例のように同一拠点のサーバが複数選択される可能性が
あるが、本実施例3では、各サーバに対応した乱数を求
め乱数値の大きいサーバを選択サーバに決定するものと
する。すなわち、前記の例では乱数の取得を2回行い、
1回目の結果をSb0の結果とし、2回目の結果をSb
1の結果として、乱数値の大きいものを選択サーバとし
て決定する。なお、乱数値は固定的な最小値、最大値が
存在し、その範囲内で一様に分布するものとする。
## EQU00003 ## | (numerical value relative to user)-(numerical value relative to server) | Table 12 shows the relative numerical value of the user and the relative numerical value of the server and the available bandwidth shown in Table 10. The table described above is shown. From Table 12, this server selection program has the shortest distance and the free bandwidth is the required bandwidth (here, 6 Mbit / se.
It can be seen that those satisfying (denoted as c) are servers of Sb0 and Sb1. The server selecting means 1 may select a plurality of servers at the same base as in the above example, but in the third embodiment, a random number corresponding to each server is obtained and a server having a large random value is selected. Shall be decided. That is, in the above example, the random number is obtained twice,
The first result is Sb0 and the second result is Sb0.
As a result of 1, the one having a large random value is determined as the selection server. The random number has fixed minimum and maximum values and is uniformly distributed within the range.

【0076】[0076]

【表11】 [Table 11]

【0077】[0077]

【表12】 [Table 12]

【0078】以上のような仕組みを備えたサーバ選択プ
ログラムによって、複数のサーバリストの中からユーザ
の最寄り、かつユーザを現時点で収容可能なサーバを選
択することができる。
With the server selection program having the above-described mechanism, it is possible to select the server closest to the user and capable of accommodating the user from the plurality of server lists.

【0079】(実施例4)サーバ負荷分散プログラムの
管理対象となるサーバが外部装置に対し現時点での残リ
ソース量を通知する手段を持たない場合に対応するた
め、前述した第4の発明、第8の発明、及び第9の発明
を応用した場合の実施例4について説明する。本実施例
4は、前記実施例1を拡張したものと仮定する。すなわ
ち、サーバ選択ルーチンの入力は、ユーザのIPアドレ
スとサーバのURLリストであり、出力は選択されたサ
ーバのURLである。また、サーバ選択ルーチンで扱わ
れる必要となるサーバリソース量は、サーバヘの接続数
であり1接続とする。
(Embodiment 4) In order to deal with the case where the server to be managed by the server load balancing program does not have a means for notifying the external device of the remaining resource amount at the present time, the above-mentioned fourth invention, A fourth embodiment in which the eighth invention and the ninth invention are applied will be described. The fourth embodiment is assumed to be an extension of the first embodiment. That is, the input of the server selection routine is the IP address of the user and the URL list of the server, and the output is the URL of the selected server. Also, the amount of server resources that needs to be handled by the server selection routine is the number of connections to the server, and is one connection.

【0080】本実施例4のサーバ選択ルーチンの機能構
成を図14に示す。図14中、100Dは本実施例4の
サーバ選択ルーチン、1はサーバ選択手段、2は距離取
得手段、3は残リソース量取得手段、4はサーバリソー
ス管理タイマー手段、UはユーザのIPアドレス、Sは
サーバのURL、SLはサーバのURLリスト、R’は
1“接続”、SSは選択されたサーバのURL、D
(U.S)は拠点Uと拠点Sとの間の距離情報、R
(S)’は現時点での可能同時接続数、TSはタイマー起
動通知(選択されたサーバのURLも通知)、RSSは
残リソース減算通知(選択されたサーバのURLも通
知)、RASは残リソース加算通知(選択されたサーバ
のURLも通知)である。本実施例4のサーバ選択ルー
チン100Dは、図14に示すように、サーバ選択手段
1、距離取得手段2、残リソース量取得手段3、及びサ
ーバリソース管理タイマー手段4で構成される。ここ
で、距離取得手段2については、前記実施例1に記載の
距離取得手段と同様であるとする。
FIG. 14 shows the functional arrangement of the server selection routine of the fourth embodiment. In FIG. 14, 100D is a server selection routine of the fourth embodiment, 1 is server selection means, 2 is distance acquisition means, 3 is remaining resource amount acquisition means, 4 is server resource management timer means, U is the IP address of the user, S is the URL of the server, SL is the URL list of the server, R'is 1 "connect", SS is the URL of the selected server, D
(US) is the distance information between the base U and the base S, R
(S) 'is the number of simultaneous connections possible at the moment, TS is a timer start notification (notifying the URL of the selected server), RSS is a remaining resource subtraction notification (notifying the URL of the selected server), and RAS is the remaining resource. It is a notification of addition (notifying the URL of the selected server). As shown in FIG. 14, the server selection routine 100D according to the fourth embodiment includes a server selection unit 1, a distance acquisition unit 2, a remaining resource amount acquisition unit 3, and a server resource management timer unit 4. Here, it is assumed that the distance acquisition unit 2 is the same as the distance acquisition unit described in the first embodiment.

【0081】本実施例4における残リソース取得手段3
について説明する。まず、前記残リソース取得手段3
は、サーバリソース管理テーブルを含んでいる。サーバ
リソース管理テーブルは、サーバ名と可能接続数との関
連で記載される。サーバリソース管理テーブルの例を表
13に示す。テーブル自体はデータベースなどを用いて
実現される。
Remaining resource acquisition means 3 in the fourth embodiment
Will be described. First, the remaining resource acquisition means 3
Contains a server resource management table. The server resource management table is described in relation to the server name and the number of possible connections. Table 13 shows an example of the server resource management table. The table itself is realized using a database or the like.

【0082】[0082]

【表13】 [Table 13]

【0083】また、前記残リソース取得手段3は、前記
サーバリソース管理テーブルの内容の取得、変更を行う
ための関数を他の機能ブロックに対し提供している。C
/C++/JAVAのプログラミング言語でプログラミン
グを行うことを想定した場合の関数の例を表14に示
す。
Further, the remaining resource acquisition means 3 provides other function blocks with a function for acquiring and changing the contents of the server resource management table. C
Table 14 shows an example of functions assuming that programming is performed in the / C ++ / JAVA programming language.

【0084】本実施例4におけるサーバ選択手段1につ
いて説明する。図15にサーバ選択手段の処理フローを
示す。前提として当該サーバ選択プログラムに入力され
たサーバリスト、及び距離取得手段2によって求められ
たユーザ−サーバ間距離情報は一時的に記憶されている
ものとする。第1段階として、一時的に記憶されたサー
バリストを参照し、該サーバリスト記載のサーバそれぞ
れの可能接続数を残リソース量取得手段3から得る(3
01)。
The server selecting means 1 in the fourth embodiment will be described. FIG. 15 shows a processing flow of the server selection means. As a premise, it is assumed that the server list input to the server selection program and the user-server distance information obtained by the distance acquisition unit 2 are temporarily stored. As a first step, the temporarily stored server list is referred to, and the number of possible connections of each server described in the server list is obtained from the remaining resource amount acquisition means 3 (3
01).

【0085】[0085]

【表14】 [Table 14]

【0086】取得方法は表14に記載のgetReso
urce関数を用いる。第2段階として、可能接続数が
1以上であるサーバの中から一時的に記憶されたユーザ
−サーバ間距離情報を元にユーザに最も近いサーバを選
択する(302)。当該第2段階に該当する箇所は、前
記実施例1に記載されている方法と同様である。第3段
階として、選択されたサーバの残リソース減算指示を残
リソース量取得手段3に対して発行する(303)。減
算指示は表14に記載のdeleteResource
関数を用いる。第4段階としてサーバリソース管理タイ
マー手段に対し、選択したサーバに対するタイマー処理
を起動する(304)。第5段階として選択したサーバ
を出力して(305)、サーバ選択手段1の処理を終了
する。
The acquisition method is getReso described in Table 14.
urce function is used. In the second step, the server closest to the user is selected from the servers having the number of possible connections of 1 or more based on the temporarily stored user-server distance information (302). The part corresponding to the second stage is the same as the method described in the first embodiment. As a third step, a remaining resource subtraction instruction for the selected server is issued to the remaining resource amount acquisition means 3 (303). The subtraction instruction is the deleteResource described in Table 14.
Use a function. As a fourth step, the server resource management timer means starts a timer process for the selected server (304). The server selected as the fifth stage is output (305), and the processing of the server selecting means 1 is terminated.

【0087】本実施例4におけるサーバリソース管理タ
イマー手段4について説明する。図16に当サーバリソ
ース管理タイマー手段4の処理フローを示す。第1段階
として、サーバリソース管理タイマー4が前記サーバ選
択手段1の第4段階において起動される(401)。起
動時に選択されたサーバのURLが通知される。第2段
階として、サービス提供に要する時間を取得する(40
2)。前提として当サーバリソース管理タイマー手段は
URIとプロトコルとサービス提供に要すると推定され
た推定サービス提供時間との関連を示す推定サービス提
供時間テーブルを持っている。この推定サービス提供時
間テーブルの例を表15に示す。この推定サービス提供
時間テーブルはデータベースなどを用いて実装される。
The server resource management timer means 4 in the fourth embodiment will be described. FIG. 16 shows a processing flow of the server resource management timer means 4. As a first step, the server resource management timer 4 is started in the fourth step of the server selecting means 1 (401). The URL of the selected server is notified at startup. As the second step, the time required to provide the service is acquired (40
2). As a premise, the server resource management timer means has an estimated service provision time table showing the relationship between the URI, the protocol, and the estimated service provision time estimated to be required for service provision. Table 15 shows an example of this estimated service provision time table. This estimated service provision time table is implemented using a database or the like.

【0088】[0088]

【表15】 [Table 15]

【0089】また、サーバの処理能力や使用プロトコル
に起因する推定サービス提供時間のばらつきを表現する
ために、前記サーバリソース管理タイマー手段4は、サ
ーバ名、プロトコル、処理能力係数の関連を記述したサ
ーバ処理能力係数テーブルを持つ。前記推定サービス提
供時間テーブルに記載の推定サービス提供時間に前記処
理能力係数を乗ずることで、選択されたサーバ、使用す
るプロトコルにおける推定サービス提供時間を取得する
ことができる。表16にサーバ処理能力係数テーブルを
示す。
Further, in order to express the variation in the estimated service provision time due to the processing capacity of the server and the protocol used, the server resource management timer means 4 describes the relationship between the server name, the protocol and the processing capacity coefficient. It has a processing capacity coefficient table. By multiplying the estimated service provision time described in the estimated service provision time table by the processing capacity coefficient, the estimated service provision time in the selected server and the protocol used can be acquired. Table 16 shows a server processing capacity coefficient table.

【0090】[0090]

【表16】 [Table 16]

【0091】以上示したテーブルを用意し、前記選択さ
れたサーバのURLをプロトコル、サーバ名、URIに
分解し、前記分解したプロトコルとURIから推定サー
ビス提供時間を取得し、サーバ名とプロトコルから処理
能力係数を取得し、前記推定サービス提供時間と処理能
力係数を乗ずることによって当該URLに対する推定サ
ービス提供時間を求めることができる。例として、UR
Lがrtsp://osaka.ntt.co.jp/ne
ws/0705/special.mpgとすると、プ
ロトコルはrtsp、サーバ名はosaka.ntt.c
o.jp、URIは/news/0705/speci
al.mpgであることから、URIに対する推定サー
ビス提供時間は、表15より1時間5分30秒であり、
処理能力係数は表16より1.5である。したがって、
当URLに対する推定サービス提供時間は1時間38分
15秒である。
The table shown above is prepared, the URL of the selected server is decomposed into a protocol, a server name, and a URI, the estimated service provision time is acquired from the decomposed protocol and URI, and processing is performed from the server name and the protocol. The estimated service provision time for the URL can be obtained by obtaining the capacity coefficient and multiplying the estimated service provision time by the processing capacity coefficient. As an example, UR
L is rtsp: //osaka.ntt.co.jp/ne
Assuming ws / 0705 / special.mpg, the protocol is rtsp and the server name is saka.ntt.c.
o.jp, URI is / news / 0705 / speci
Since it is al.mpg, the estimated service provision time for URI is 1 hour 5 minutes 30 seconds from Table 15,
The processing capacity coefficient is 1.5 from Table 16. Therefore,
The estimated service provision time for this URL is 1 hour 38 minutes 15 seconds.

【0092】第3段階として、当該サーバリソース管理
タイマー手段4が待ち状態に移行してから次の処理を行
うまで待つ時間を決定する(403)。通常は前記UR
Lに対する推定サービス提供時間と同値であるが、任意
のマージン値を加算することも考えられる。本実施例4
においては10%のマージンを加算することとする。す
なわち、推定サービス提供時間が1時間38分15秒で
ある場合は、待ち状態の時間は1時間48分5秒(1秒
未満は繰り上げ)と計算される。第4段階として、前記
待ち状態の時間だけ次の第5段階の処理実行を中断する
(404)。
As the third step, the time to wait until the next process is performed after the server resource management timer means 4 shifts to the waiting state is determined (403). Usually the UR
Although it is the same value as the estimated service provision time for L, it is also possible to add an arbitrary margin value. Example 4
In this case, a 10% margin is added. That is, when the estimated service provision time is 1 hour 38 minutes 15 seconds, the waiting time is calculated to be 1 hour 48 minutes 5 seconds (less than 1 second is advanced). As the fourth step, the execution of the process of the next fifth step is suspended for the waiting time.
(404).

【0093】第5段階では、前記待ち状態の時間の後、
残リソース量取得手段3に対し、選択されたサーバの残
リソース加算指示を行う(405)。前記加算指示は表
14に記載のaddResource関数によって実行
する。前記第5段階の処理が終了したらサーバリソース
管理タイマーの処理を終了する。なお、当該サーバリソ
ース管理タイマーの処理は複数のタイマー処理を並行し
て実行できるものとする。本実施例4では、残リソース
量の状況をサーバに問い合わせることなくサーバの残リ
ソースを考慮したサーバ選択が実現できる。
In the fifth stage, after the waiting time,
The remaining resource amount acquisition means 3 is instructed to add the remaining resources of the selected server (405). The addition instruction is executed by the addResource function shown in Table 14. When the process of the fifth step is finished, the process of the server resource management timer is finished. Note that the server resource management timer process can execute a plurality of timer processes in parallel. In the fourth embodiment, it is possible to realize server selection in consideration of the remaining resources of the server without inquiring the server about the status of the remaining resources.

【0094】(実施例5)サーバ負荷分散プログラムの
管理対象となるサーバが仮予約機能やユーザ認証機能を
備えている場合に対応するため、前述した第10の発明
及び第11の発明を応用した場合の実施例5について説
明する。
(Fifth Embodiment) The tenth invention and the eleventh invention described above are applied in order to deal with the case where the server to be managed by the server load balancing program has the provisional reservation function and the user authentication function. Example 5 in the case will be described.

【0095】はじめに、サーバの「仮予約」について定
義を行う。サーバの仮予約とは、サーバがある特定ユー
ザに対してサービスを提供する際、サービス提供に必要
なサーバのリソースを事前に確保し、当該サーバのリソ
ースは、当該特定ユーザのみによって利用されることを
保証する動作である。
First, the definition of "temporary reservation" of the server is made. The provisional reservation of the server means that when the server provides a service to a specific user, the server resource necessary for providing the service is secured in advance, and the server resource is used only by the specific user. Is an operation that guarantees.

【0096】つづいて、サーバの「ユーザ認証」につい
て定義を行う。「ユーザ認証」とはサーバにアクセスし
たユーザが実際にそのサーバを使用する権利が与えられ
たユーザであるか照合を行ない、権利が与えられている
ユーザであればサービスを提供し、権利が与えられてい
ないユーザであれば、ユーザの要求を拒絶する機能であ
る。
Next, the "user authentication" of the server will be defined. "User authentication" is to verify whether the user who accessed the server is the user who is actually given the right to use the server. If the user is given the right, the service is provided and the right is given. If the user is not authorized, the function rejects the user's request.

【0097】前記に定義した仮予約やユーザ認証を実行
する機能をサーバが備えることにより、限定されたユー
ザのみに確実にサービスを提供することが可能となる。
仮予約・ユーザ認証機能を持つサーバを選択対象とする
サーバ選択プログラムを実現するために、第10の発
明、第11の発明を利用した実施例5を以下に説明す
る。なお、本実施例5は前記実施例1の機能拡張という
位置づけであるとする。
Since the server has the function of executing the temporary reservation and the user authentication defined above, the service can be surely provided only to a limited number of users.
A fifth embodiment using the tenth invention and the eleventh invention in order to realize a server selection program for selecting a server having a provisional reservation / user authentication function will be described below. It is assumed that the fifth embodiment is positioned as the function expansion of the first embodiment.

【0098】まず、本実施例5によるサーバ選択プログ
ラムの説明に先立って、本サーバ選択プログラムの選択
対象であるサーバの前提について説明する。選択対象で
あるサーバは、最大同時接続数がソフトウェアのライセ
ンス数で定められているサーバであるとする。また、ユ
ーザのIPアドレスと利用するサービスのURI、プロ
トコルを指定してIPアドレスで示されたユーザのため
のリソースを確保する仮予約機能と、ユーザのIPアド
レスと利用するサービスのURI、プロトコルを指定し
てIPアドレスで示されたユーザの認証を行うユーザ認
証機能とを備えているものとする。また該サーバを遠隔
装置から制御するためにライブラリが提供され、API
(Application Programming Interface)を通してサ
ーバ選択ルーチンがサーバ制御プログラムを取り込むこ
とが可能であるものとする。
First, before the description of the server selection program according to the fifth embodiment, the premise of the server that is the selection target of the server selection program will be described. It is assumed that the server to be selected is a server whose maximum number of simultaneous connections is determined by the number of software licenses. In addition, the provisional reservation function that reserves the resource for the user indicated by the IP address by specifying the user's IP address and the URI and protocol of the service to be used, and the user's IP address and the URI and protocol of the service to be used. It is assumed to have a user authentication function for authenticating the user who is designated and indicated by the IP address. A library is provided to control the server from a remote device, and the API
It shall be possible for the server selection routine to include a server control program through the (Aplication Replication Interface).

【0099】ライブラリとサーバ選択ルーチンとの関係
を図17に示す。図17中、100D’はサーバ選択プ
ログラム、100Dはサーバ選択ルーチン、10はサー
バ制御ライブラリ、20は選択対象のサーバ群、20A
は選択対象のサーバである。ライブラリが提供する関数
(仮予約関数、認証情報関数)を表17に示す。
FIG. 17 shows the relationship between the library and the server selection routine. In FIG. 17, 100D 'is a server selection program, 100D is a server selection routine, 10 is a server control library, 20 is a selection target server group, and 20A.
Is a server to be selected. Table 17 shows the functions (temporary reservation function, authentication information function) provided by the library.

【0100】[0100]

【表17】 [Table 17]

【0101】本実施例5のサーバ選択ルーチンの機能構
成を図18に示す。図18中、100Eは本実施例5の
サーバ選択ルーチン、1はサーバ選択手段、2は距離取
得手段、3は残リソース量取得手段、5は仮予約情報通
知手段、6は認証情報通知手段、UはユーザのIPアド
レス、SはサーバのURL、SLはサーバのURLリス
ト、R’は1“接続”、SSは選択されたサーバのUR
L、D(U.S)は拠点Uと拠点Sとの間の距離情報、
R(S)’は現時点での可能同時接続数、IRAは仮予
約情報通知手段からの情報通知結果、IRBは認証情報
通知手段からの情報通知結果である。
FIG. 18 shows the functional arrangement of the server selection routine of the fifth embodiment. In FIG. 18, 100E is a server selection routine of the fifth embodiment, 1 is server selection means, 2 is distance acquisition means, 3 is remaining resource amount acquisition means, 5 is temporary reservation information notification means, 6 is authentication information notification means, U is the IP address of the user, S is the URL of the server, SL is the URL list of the server, R'is 1 "connect", SS is the UR of the selected server.
L and D (US) are distance information between the base U and the base S,
R (S) 'is the current number of simultaneous connections possible, IRA is the information notification result from the provisional reservation information notifying means, and IRB is the information notification result from the authentication information notifying means.

【0102】本実施例5のサーバ選択ルーチン100E
は、図18に示すように、サーバ選択手段1、距離取得
手段2、残リソース量取得手段3、仮予約情報通知手段
5、及び認証情報通知手段6で構成される。前記距離取
得手段2及び残リソース量取得手段3は、前記実施例1
と同様とする。また、本実施例5において、サーバ選択
ルーチンが扱うリソースは、前記実施例1と同様とす
る。すなわち、サーバの残リソースとは現時点での最大
の可能接続数であり、1サービス提供当りで必要となる
サーバリソース量は接続数1であるとする。
The server selection routine 100E of the fifth embodiment.
As shown in FIG. 18, includes a server selecting unit 1, a distance acquiring unit 2, a remaining resource amount acquiring unit 3, a temporary reservation information notifying unit 5, and an authentication information notifying unit 6. The distance acquisition unit 2 and the remaining resource amount acquisition unit 3 are the same as those in the first embodiment.
Same as. In the fifth embodiment, the resources handled by the server selection routine are the same as those in the first embodiment. That is, it is assumed that the remaining resource of the server is the maximum possible number of connections at the present time, and the amount of server resources required for one service provision is one.

【0103】以下に各機能ブロックについて説明する。
まず、前記サーバ選択手段1について説明する。図19
に本実施例5の前記サーバ選択手段1の処理手順のフロ
ーチャートを示す。第1段階と第2段階については、前
記実施例4に記載のものと同一であるため説明を省略す
る(501,502)。第3段階では、仮予約情報通知
手段5に対し選択されたサーバのURLとユーザのIP
アドレスを通知する(503)。仮予約情報通知手段5
の処理結果が仮予約設定に成功しているかをチェックし
(504)、仮予約情報通知手段5の処理結果が仮予約
設定に失敗していることを示している場合(NO)、本
サーバ選択手段1における処理を中止する(505)。
前記処理結果が仮予約設定の成功を示している場合(Y
es)、次の第4段階に移行する。第4段階では、認証
情報通知手段6に対し選択されたサーバのURLとユー
ザのIPアドレスを通知する(506)。次に、認証情
報通知手段6の処理結果が認証情報設定に成功している
かをチェックし(507)、失敗していることを示して
いる場合(NO)、仮予約設定を取り消し(508)、
本サーバ選択手段1における処理を中止する(50
9)。前記処理結果が認証情報設定の成功を示している
場合(Yes)、次の第5段階に移行する。第5段階で
は選択したサーバのURLを出力し(510)、サーバ
選択手段1の処理を終了する。
Each functional block will be described below.
First, the server selection means 1 will be described. FIG. 19
A flowchart of the processing procedure of the server selecting means 1 of the fifth embodiment is shown in FIG. Since the first step and the second step are the same as those described in the fourth embodiment, the description thereof will be omitted (501, 502). In the third stage, the URL of the server and the user's IP selected for the provisional reservation information notifying means 5
The address is notified (503). Provisional reservation information notification means 5
It is checked whether the processing result of No. is successful in the temporary reservation setting (504), and when the processing result of the temporary reservation information notifying unit 5 indicates that the temporary reservation setting has failed (NO), this server selection The processing in the means 1 is stopped (505).
When the processing result indicates that the temporary reservation setting is successful (Y
es), and shifts to the next fourth stage. In the fourth stage, the URL of the selected server and the IP address of the user are notified to the authentication information notifying means 6 (506). Next, it is checked whether the processing result of the authentication information notifying means 6 is successful in setting the authentication information (507), and if it indicates that the setting has failed (NO), the provisional reservation setting is canceled (508),
The processing in the server selecting means 1 is stopped (50
9). When the processing result indicates that the authentication information setting has succeeded (Yes), the process proceeds to the next fifth step. In the fifth stage, the URL of the selected server is output (510), and the processing of the server selecting means 1 is ended.

【0104】前記仮予約情報通知手段5について説明す
る。仮予約情報通知手段5の処理フローを図20に示
す。サーバから通知されたURLをrtsp://tok
yo.ntt.co.jp/news.mp2とする。第1
段階では、サーバ選択手段1から通知されたURLから
サービス提供に用いられるサーバの種類を特定する(6
01)。仮予約情報通知手段5には表18に示すサーバ
種類とプロトコル、ファイル名との対応表が用意されて
いるものとする。なお、表中*は一個以上の文字からな
る文字列であることを示している。
The provisional reservation information notifying means 5 will be described. FIG. 20 shows a processing flow of the provisional reservation information notifying means 5. URL sent from the server is rtsp: // tok
yo.ntt.co.jp/news.mp2. First
At the stage, the type of the server used for providing the service is specified from the URL notified from the server selection means 1 (6
01). It is assumed that the temporary reservation information notifying means 5 is provided with a correspondence table of server types, protocols, and file names shown in Table 18. It should be noted that * in the table indicates that the character string consists of one or more characters.

【0105】[0105]

【表18】 [Table 18]

【0106】前記URLの例の場合、表18によってサ
ーバ種類はmpeg2_serverに特定される。第
2段階では、特定されたサーバに対応した仮予約通知プ
ログラムを起動する(602)。仮予約情報通知手段5
には表19に示すようなサーバ種類と仮予約通知プログ
ラム名との対応表が記載されている。第3段階では、仮
予約設定の実行結果を出力選択したサーバのURLを出
力し(603)、仮予約情報通知手段5の処理を終了す
る。
In the case of the example of the URL, the server type is specified as mpeg2_server according to Table 18. In the second stage, the provisional reservation notification program corresponding to the specified server is activated (602). Provisional reservation information notification means 5
Describes a correspondence table between server types and provisional reservation notification program names as shown in Table 19. In the third stage, the execution result of the temporary reservation setting is output, the URL of the selected server is output (603), and the processing of the temporary reservation information notifying means 5 is ended.

【0107】[0107]

【表19】 [Table 19]

【0108】また、一例としてプログラムmp2Pre
Reserveの処理シーケンスを図21に示す。ま
ず、URLからサーバ名とURIを取得する(70
1)。mpeg2_serverが表17のような関数
を提供している場合、仮予約設定に必要な情報はサーバ
名、URI、ユーザアドレス、expiretimeで
ある。ここで、expiretimeとは、仮予約が有
効な時間と定義し、仮予約情報通知後この時間を過ぎて
もアクセスがなかった場合は仮予約がキャンセルされた
と見なされるものとする。
Further, as an example, the program mp2Pre
The processing sequence of Reserve is shown in FIG. First, the server name and URI are acquired from the URL (70
1). When mpeg2_server provides the function as shown in Table 17, the information necessary for the temporary reservation setting is the server name, URI, user address, and expiretime. Here, "expiretime" is defined as a time during which the tentative reservation is valid, and it is assumed that the tentative reservation is canceled if there is no access after this time after notification of the tentative reservation information.

【0109】前記expiretimeは、本実施例5
においては1分に固定しておく。サーバのURLからサ
ーバのURIとサーバ名を取得する。URIとサーバ名
とユーザアドレスを引数として、表17のsetPre
Reserve関数を実行する(702)。これとユー
ザアドレスとを併せて表17に記載の関数setPre
Reserveの引数として通知する。この実行結果を
通知して(703)、mp2PreReserveの実
行を終了する。なお、表19に示した全てのプログラム
は、“(OSのプロンプト) プログラム名 URL
ユーザアドレス”の形式で起動されるものとする。ま
た、実行結果の出力値は表20に示す通りである。
The expirtime is the same as in the fifth embodiment.
In, fix at 1 minute. Obtain the server URI and server name from the server URL. Using the URI, server name, and user address as arguments, setPre in Table 17
The Reserve function is executed (702). The function setPre described in Table 17 together with this and the user address.
Notify as an argument of Reserve. The result of this execution is notified (703), and the execution of mp2PreReserve ends. In addition, all the programs shown in Table 19 are “(OS prompt) program name URL
It is assumed that it is activated in the form of "user address". The output values of the execution result are as shown in Table 20.

【0110】[0110]

【表20】 [Table 20]

【0111】前記第3段階において、前記実行結果の出
力値をそのまま仮予約通知手段5の出力とし、仮予約通
知手段5の処理を終了する。次に、前記認証情報通知手
段6について説明する。認証情報通知手段6の処理フロ
ーを図22に示す。サーバから通知されたURLをrt
sp://tokyo.ntt.co.jp/news.mp
2とする。また、ユーザのIPアドレスを10.20.3
0.100とする。第1段階では、サーバ選択手段1か
ら通知されたURLからサービス提供に用いられるサー
バの種類を特定する(801)。前記認証情報通知手段
6には、表21に示すサーバ種類とプロトコル、ファイ
ル名との対応表が用意されているものとする。なお、表
中はいかなる文字列も含むことを示している。
In the third stage, the output value of the execution result is directly used as the output of the temporary reservation notifying means 5, and the processing of the temporary reservation notifying means 5 is terminated. Next, the authentication information notifying means 6 will be described. The processing flow of the authentication information notifying means 6 is shown in FIG. Rt the URL notified by the server
sp: //tokyo.ntt.co.jp/news.mp
Set to 2. In addition, the IP address of the user is 10.2.3.
Set it to 0.100. In the first stage, the type of the server used for providing the service is specified from the URL notified from the server selecting means 1 (801). It is assumed that the authentication information notifying means 6 is provided with a correspondence table of server types, protocols, and file names shown in Table 21. The table shows that any character string is included.

【0112】[0112]

【表21】 [Table 21]

【0113】前記URLの例の場合、表21によってサ
ーバ種類はmpeg2_serverに特定される。第
2段階では、特定されたサーバに対応した認証情報通知
プログラムを起動する(802)。第3段階では、認証
情報の実行結果を出力選択したサーバのURLを出力し
(803)、mpeg2_serverの実行を終了す
る。前記認証情報通知手段6には、表22に示すような
サーバ種類と認証情報通知プログラム名との対応表が記
載されている。
In the case of the example of the URL, the server type is specified as mpeg2_server according to Table 21. In the second stage, the authentication information notification program corresponding to the specified server is activated (802). In the third stage, the execution result of the authentication information is output, the URL of the selected server is output (803), and the execution of mpeg2_server is terminated. The authentication information notifying means 6 describes a correspondence table between server types and authentication information notifying program names as shown in Table 22.

【0114】[0114]

【表22】 [Table 22]

【0115】また、一例としてプログラムmp2Aut
henticationの処理シーケンスを図23に示
す。まず、URLからサーバ名とURIを取得する(9
01)。mpeg2_serverが表17のようなコ
マンドを提供している場合、仮予約設定に必要な情報
は、サーバ名、URI、ユーザアドレス、ユーザ名、パ
スワードである。サーバのURLからサーバのURIと
サーバ名を取得し、表17に記載の関数の引数として用
いる。また、ユーザアドレスからユーザ名とパスワード
を取得する(902)。本実施例5では、サーバ選択装
置100の他にユーザ管理データベース(DB)を備え
ているものとし、該ユーザ管理データベース(DB)に
おいて、ユーザアドレスとユーザ名、パスワードとの関
連が記載されるものとする。これらを併せて表17に記
載のコマンドsetAuthenticationの引
数に用い、setAuthenticationを実行
し(903)、認証情報を通知する。このsetAut
hentication実行結果を出力して(90
4)、mp2Authenticationの実行を終
了する。なお、表22に示した全てのプログラムは、
“(OSのプロンプト) プログラム名 URL ユー
ザアドレス”の形式で起動されるものとする。また、実
行結果の出力値は表23に示す通りである。
Also, as an example, the program mp2Aut
FIG. 23 shows a processing sequence of the entication. First, get the server name and URI from the URL (9
01). When mpeg2_server provides the command as shown in Table 17, the information necessary for provisional reservation setting is the server name, URI, user address, user name, and password. The URI of the server and the server name are acquired from the URL of the server and used as the argument of the function described in Table 17. Further, the user name and password are acquired from the user address (902). In the fifth embodiment, a user management database (DB) is provided in addition to the server selection device 100, and the user management database (DB) describes the relationship between the user address, the user name, and the password. And Together, these are used as arguments of the command setAuthentication described in Table 17, execute setAuthentication (903), and notify the authentication information. This setAut
Hentification execution result is output (90
4), execution of mp2Authentication ends. In addition, all the programs shown in Table 22 are
It shall be started in the format of "(OS prompt) program name URL user address". The output value of the execution result is as shown in Table 23.

【0116】[0116]

【表23】 [Table 23]

【0117】前記第3段階において、前記実行結果の出
力値をそのまま認証情報通知手段6の出力とし、認証情
報通知手段の処理を終了する。本実施例5では、サーバ
が仮予約機能・ユーザ認証機能を持っている場合に対応
したサーバ選択ルーチンを構成することができる。これ
は以下のようなメリットをもたらすことが期待できる。 ・サーバ選択の結果ユーザに渡されるURLはそのユー
ザが必ずサービスを受けられることが保証されているU
RLである。 ・サーバ選択後ユーザがサーバにアクセスするまでに多
少のタイムラグがあった場合でも、当該ユーザに割当て
られたリソースが他のユーザによって占有されることが
ないため、当該ユーザがサーバ選択後時間をおいてサー
バにアクセスした場合でも確実に当該ユーザはサービス
を享受することが可能である
In the third step, the output value of the execution result is directly used as the output of the authentication information notifying means 6, and the processing of the authentication information notifying means is ended. In the fifth embodiment, it is possible to configure a server selection routine corresponding to the case where the server has the provisional reservation function / user authentication function. This can be expected to bring the following merits. -The URL passed to the user as a result of server selection is guaranteed that the user can receive the service.
It is RL. Even if there is some time lag before the user accesses the server after selecting the server, the resources allocated to the user are not occupied by other users, so that the user can reduce the time after selecting the server. The user can certainly enjoy the service even when he / she accesses the server without permission.

【0118】(実施例6)サーバ選択プログラムがイン
ストールされているサーバ選択装置自体の負荷増大に対
応するために、サーバ選択プログラムを分散配置させた
場合に前述の第12の発明を利用した実施例6を示す。
前提とするネットワーク構成を図24に示す。図24
中、SS1、SS2がサーバ選択装置、Ra〜Reはルー
タ装置、Sa〜Seが選択対象サーバ、Uがユーザであ
る。また、点線で囲んだ領域(グレーの領域)が二つあ
り、一つはSS1の管理範囲であり、もう一つがSS2
管理範囲であるとする。また、本実施例6の別な前提と
して、本実施例6は、前記実施例1を拡張した形で実現
するものとする。
(Embodiment 6) An embodiment using the above-mentioned twelfth invention when the server selection programs are distributed in order to cope with an increase in the load on the server selection device itself in which the server selection program is installed. 6 is shown.
FIG. 24 shows a presumed network configuration. Figure 24
Among them, SS 1 and SS 2 are server selection devices, Ra to Re are router devices, Sa to Se are selection target servers, and U is a user. Further, there are two regions (gray regions) surrounded by dotted lines, one is the management range of SS 1 and the other is the management range of SS 2 . As another premise of the sixth embodiment, the sixth embodiment is realized by expanding the first embodiment.

【0119】本実施例6のサーバ選択ルーチンの機能構
成を図25に示す。本実施例6のサーバ選択ルーチン1
00Fは、前記実施例1のサーバ選択ルーチン100A
とサーバ選択可否判断手段7で構成される。本実施例6
の当サーバ選択ルーチンの処理フローを図26に示す。
本実施例6のサーバ選択ルーチン100Fは、図26に
示すように、当該ユーザが本サーバ選択ルーチン100
Aでサーバを選択することが適しているのか判断し(1
001)、その結果、別のサーバ選択装置に任せる方が
適していると判断した場合(NO)、当該ユーザに対す
るサーバ選択により適していると思われるサーバ選択装
置のURLを求め(1002)、そのサーバ選択装置の
URLを出力する(1003)。また、前記判断結果
が、当該ユーザが本サーバ選択ルーチン100Fでサー
バを選択することが適していると判断した場合(Ye
s)、前記実施例1のサーバ選択ルーチン100Aを起
動し、サーバ選択結果を示すURLを求め(100
4)、そのサーバ選択結果のURLを出力する(100
5)。これにより、サーバ選択プログラムの実行が終了
する。
FIG. 25 shows the functional arrangement of the server selection routine of the sixth embodiment. Server selection routine 1 of the sixth embodiment
00F is the server selection routine 100A of the first embodiment.
And server selectability determination means 7. Example 6
FIG. 26 shows the processing flow of this server selection routine.
In the server selection routine 100F of the sixth embodiment, as shown in FIG. 26, the user selects the server selection routine 100F.
Determine whether it is appropriate to select the server in A (1
001), as a result, when it is determined that it is more appropriate to leave it to another server selection device (NO), the URL of the server selection device that seems to be more suitable for server selection for the user is obtained (1002), The URL of the server selection device is output (1003). In addition, when it is determined that it is suitable for the user to select the server in the server selection routine 100F, the determination result is Yes (Yes).
s), the server selection routine 100A of the first embodiment is activated, and the URL indicating the server selection result is obtained (100
4) Output the URL of the server selection result (100
5). As a result, the execution of the server selection program ends.

【0120】ここで、本実施例6におけるサーバ選択可
否判断手段7について説明する。まず、前記サーバ選択
可否判断手段7は、事前に他のサーバ選択装置に処理を
任せる領域までの経路情報を保持するテーブルを備えて
いる。表24に前記処理を任せる領域までの経路情報を
保持するテーブルを図22に示すネットワーク構成につ
いて記述した例を示す。
Now, the server selectability judgment means 7 in the sixth embodiment will be described. First, the server selectability determination means 7 is provided with a table that holds route information up to an area in which processing is left to another server selection device in advance. Table 24 shows an example in which a table holding the route information up to the area to which the processing is given is described in the network configuration shown in FIG.

【0121】[0121]

【表24】 [Table 24]

【0122】本サーバ選択可否判断手段7は、ユーザの
IPアドレスを受信すると、tracerouteを実
行する。tracerouteの実行結果が表24に記
載の経路情報保持テーブルに記載の経由するルータのア
ドレスリストのどれか一つを含む場合、該テーブルに記
載のリダイレクト先サーバ選択装置のURLを出力して
サーバ選択可否判断処理を終了させる。ここで、ユーザ
UがSS1に対しサーバ選択を要求した場合を例として
説明する。まず、SS1からユーザUまでのtrace
routeを実行する。tracerouteの実行結
果を表25に示す。
The server selectability judging means 7 executes traceroute when receiving the IP address of the user. If the execution result of the traceroute includes any one of the address lists of the routed routers described in the route information holding table described in Table 24, the URL of the redirect destination server selection device described in the table is output to select the server. The permission / prohibition determination process is terminated. Here, a case where the user U requests the server selection from SS 1 will be described as an example. First, the trace from SS 1 to user U
Run route. Table 25 shows the execution results of the traceroute.

【0123】[0123]

【表25】 [Table 25]

【0124】表25の結果は、表24(1)の一行目の
経路情報を含んでいるため、SS1ではサーバ選択処理
を行わず、表24(1)の一行目に記載のリダイレクト
先のサーバURLであるSS2という値を出力する。続
いて、ユーザはSS2に対しサーバ選択を要求した場合
について説明する。まず、SS2からUまでのtrac
erouteを実行する。tracerouteの実行
結果を表26に示す。
Since the result of Table 25 includes the route information in the first line of Table 24 (1), the server selection process is not performed in SS 1 , and the redirect destination of the redirect line described in the first line of Table 24 (1) is not executed. The value of SS 2, which is the server URL, is output. Next, a case where the user requests SS 2 to select a server will be described. First, the trac from SS 2 to U
Execute the route. Table 26 shows the result of executing the traceroute.

【0125】[0125]

【表26】 [Table 26]

【0126】この結果は表24(2)のいずれの経路情
報も含んでいないため本サーバ選択装置でサーバを選択
すべきユーザであると判断できる。従って、実施例1に
記載のサーバ選択プログラムを起動してその結果選択さ
れたサーバを出力する。本実施例6により、本発明を用
いてサーバ選択プログラムを分散化してサーバ選択動作
を実行することが可能である。
Since this result does not include any of the route information in Table 24 (2), it can be determined that the user is a user who should select a server with this server selection device. Therefore, the server selection program described in the first embodiment is activated to output the selected server. According to the sixth embodiment, it is possible to decentralize the server selection program and execute the server selection operation using the present invention.

【0127】(実施例7) 本実施例7では、本発明のサーバ選択装置を用いて有料
サービスを提供することを想定し、前記サーバ選択装置
とサービスに対する課金決済を行うEC(エレクトロニ
ック・コマース)サーバとの連携例について説明する。
前提として有料で動画像コンテンツをストリーミング配
信するサービスを想定する。動画像配信サーバは複数存
在し、最大同時接続数がサーバソフトウェアのライセン
ス数によって定められている。ユーザはコンテンツのカ
タログに相当する無料のホームページにアクセスし有料
で視聴したいコンテンツを選択すると、課金に必要な情
報をECサーバとユーザ端末との間でインタラクティブ
にやり取りし、課金処理が完了した後にユーザが有料コ
ンテンツを閲覧するためのURLがECサーバによって
通知される。なお、サーバ選択装置には、前記実施例5
のサーバ選択プログラムを使用するものとする。また、
ECサーバにはユーザの名前及びユーザの暗証番号が登
録されているものとする。
(Embodiment 7) In this embodiment 7, assuming that the server selection device of the present invention is used to provide a paid service, an EC ( electronic
It will be described cooperation example of a click-commerce) server.
As a premise, a service for streaming delivery of moving image content is assumed. There are a plurality of moving image distribution servers, and the maximum number of simultaneous connections is determined by the number of server software licenses. When the user accesses the free home page corresponding to the content catalog and selects the content that he / she wants to watch for a fee, the information necessary for charging is interactively exchanged between the EC server and the user terminal, and after the charging process is completed, the user The EC server notifies the URL for browsing the pay content. In addition, the server selection device includes
The server selection program of Also,
It is assumed that the name of the user and the personal identification number of the user are registered in the EC server.

【0128】サービス提供の全体的なシーケンスを図2
7に示す。本サービスを提供するシステムは、有料コン
テンツを受信しようとするユーザが繰作するクライアン
ト、有料コンテンツを提供する情報提供者が用意するE
Cサーバ及び顧客情報が格納されているECサーバ用デ
ータベース、複数ある動画像サーバのなかからクライア
ントに近く、サービス提供可能なサーバを選択するサー
バ選択装置、及び前記サーバ選択装置の選択対象である
動画像配信サーバで構成されている。図27に示すシー
ケンスによれば、ユーザと情報提供者との間で契約が締
結(課金に同意)される直前に当該ユーザのサーバリソ
ースを仮予約するため、リソースが空いていないのにも
かかわらず課金したり、課金後通知されたURLにアク
セスしたらサービスを享受できなかったり、といったト
ラブルを回避することができ、より確実な有料サービス
を提供することが可能となる。また、サーバ選択装置が
選択したサーバのみにユーザの認証情報を通知するた
め、全てのサーバに事前にECサーバ用データベースと
同内容のコピーを置いておく必要がなくなり、サーバコ
ストが低減できる。
The overall sequence of service provision is shown in FIG.
7 shows. The system that provides this service is a client prepared by a user who intends to receive paid contents, and an E provided by an information provider who provides paid contents.
EC server database that stores C server and customer information, server selection device that selects a server that can provide a service from a plurality of moving image servers that is close to the client, and a movie that is a selection target of the server selection device It consists of an image distribution server. According to the sequence shown in FIG. 27, the server resource of the user is tentatively reserved immediately before the contract is concluded (agreement to the billing) between the user and the information provider, so that the resource may not be available. It is possible to avoid troubles such as not being charged, or not being able to enjoy the service when accessing the URL notified after the charging, and it is possible to provide a more reliable pay service. Further, since the user authentication information is notified only to the server selected by the server selection device, it is not necessary to previously place a copy having the same contents as the EC server database in all the servers, and the server cost can be reduced.

【0129】以上本実施例で示した通り、本発明を用い
たサーバ選択装置は有料サービスを提供するサーバに適
用でき、課金決済を行うECサーバとの連携も容易に実
現できる。なお、前記各実施例の処理プログラムは、コ
ンピュータが読み取り可能な記録媒体に記録しておき、
再度利用するようにしてもよい。ここで、「コンピュー
タ読み取り可能な記録媒体」とは、フロッピー(登録商
標)ディスク、光磁気ディスク、ROM、CD−ROM
等の可搬媒体、コンピュータシステムに内蔵されるハー
ドディスク等の記録装置をいう。以上、本発明者によっ
てなされた発明を、前記実施形態(実施例)に基づき具
体的に説明したが、本発明は、前記実施形態(実施例)
に限定されるものではなく、その要旨を逸脱しない範囲
において種々変更可能であることは勿論である。
As described above in the present embodiment, the server selection device using the present invention can be applied to a server that provides a pay service, and can easily realize cooperation with an EC server that performs billing settlement. The processing program of each of the above embodiments is recorded in a computer-readable recording medium,
You may make it use again. Here, the "computer-readable recording medium" means a floppy (registered trademark) disk, a magneto-optical disk, a ROM, a CD-ROM.
A portable medium such as a hard disk or a recording device such as a hard disk built in a computer system. The invention made by the present inventor has been specifically described above based on the embodiment (example), but the present invention is not limited to the embodiment (example).
Of course, the present invention is not limited to the above, and various changes can be made without departing from the scope of the invention.

【0130】[0130]

【発明の効果】本願において開示される発明によって得
られる効果を簡単に説明すれば、下記のとおりである。
本発明によれば、通信網上で複数のサーバ装置が同一の
サービスを提供しており、ユーザがサーバ群によって提
供されるサービスを利用しようとする場合、ユーザがア
クセスすべきサーバとしてこれらの複数サーバ装置の中
からサービス提供に必要なリソースを確実に確保でき、
かつユーザからの距離が近いサーバを選択することがで
きる。
The effects obtained by the invention disclosed in the present application will be briefly described as follows.
According to the present invention, when a plurality of server devices provide the same service on the communication network and the user intends to use the service provided by the server group, the plurality of server devices are to be accessed by the user. You can surely secure the resources required for service provision from the server device,
In addition, it is possible to select a server that is close to the user.

【図面の簡単な説明】[Brief description of drawings]

【図1】 本発明による実施形態のサーバ選択装置の機
能構成図である。
FIG. 1 is a functional configuration diagram of a server selection device according to an embodiment of the present invention.

【図2】 本実施形態のサーバ選択装置の動作手順を示
すフローチャートである。
FIG. 2 is a flowchart showing an operation procedure of the server selection device of this embodiment.

【図3】 本発明に係わる本実施形態のサーバ選択装置
を有する汎用コンピュータの機能構成図である。
FIG. 3 is a functional configuration diagram of a general-purpose computer having a server selection device according to an embodiment of the present invention.

【図4】 本実施形態のクライアント装置とサーバ選択
装置間で使用するプロトコルスタックを示す図である。
FIG. 4 is a diagram showing a protocol stack used between a client device and a server selection device according to the present embodiment.

【図5】 本実施形態のサーバ選択装置内部について前
提とする環境を説明するための図である。
FIG. 5 is a diagram for explaining an environment premised on the inside of the server selection device of the present embodiment.

【図6】 本実施形態のサーバ選択プログラムの処理手
順を示すフローチャートである。
FIG. 6 is a flowchart showing a processing procedure of a server selection program of this embodiment.

【図7】 本実施形態のサーバ選択ルーチンの実装例を
示す図である。
FIG. 7 is a diagram showing an implementation example of a server selection routine of the present embodiment.

【図8】 本発明による実施例1で想定するネットワー
クを示す図である。
FIG. 8 is a diagram showing a network assumed in the first embodiment according to the present invention.

【図9】 本実施例1におけるサーバ選択ルーチンの機
能構成図である。
FIG. 9 is a functional configuration diagram of a server selection routine in the first embodiment.

【図10】 本実施例1におけるtraceroute
実行の結果例を示す図である。
FIG. 10 is a traceroute in the first embodiment.
It is a figure which shows the example of a result of execution.

【図11】 本発明による実施例2におけるサーバ選択
ルーチンの機能構成図である。
FIG. 11 is a functional configuration diagram of a server selection routine in a second embodiment according to the present invention.

【図12】 本発明による実施例3で想定するネットワ
ークを示す図である。
FIG. 12 is a diagram showing a network assumed in a third embodiment according to the present invention.

【図13】 本実施例3におけるサーバ選択ルーチンの
機能構成図である。
FIG. 13 is a functional configuration diagram of a server selection routine in the third embodiment.

【図14】 本発明による実施例4におけるサーバ選択
ルーチンの機能構成図である。
FIG. 14 is a functional configuration diagram of a server selection routine according to a fourth embodiment of the present invention.

【図15】 本実施例4のサーバ選択手段の処理手順を
示すフローチャートである。
FIG. 15 is a flowchart illustrating a processing procedure of a server selection unit according to the fourth embodiment.

【図16】 本実施例4のサーバリソース管理タイマー
手段の処理手順を示すフローチャートである。
FIG. 16 is a flowchart showing a processing procedure of a server resource management timer means of the fourth embodiment.

【図17】 本発明による実施例5におけるサーバ選択
ルーチンとサーバ制御ライブラリとの関係を示す図であ
る。
FIG. 17 is a diagram showing a relationship between a server selection routine and a server control library according to the fifth embodiment of the present invention.

【図18】 本実施例5におけるサーバ選択ルーチンの
機能構成図である。
FIG. 18 is a functional configuration diagram of a server selection routine in the fifth embodiment.

【図19】 本実施例5のサーバ選択手段の処理手順を
示すフローチャートである。
FIG. 19 is a flowchart showing a processing procedure of a server selection means of the fifth embodiment.

【図20】 本実施例5の仮予約情報通知手段の処理手
順を示すフローチャートである。
FIG. 20 is a flowchart illustrating a processing procedure of a provisional reservation information notification unit according to the fifth embodiment.

【図21】 本実施例5の仮予約情報通知手段が起動す
るmp2PreReserveプログラムの処理手順を
示すフローチャートである。
FIG. 21 is a flow chart showing a processing procedure of an mp2PreReserve program activated by the provisional reservation information notifying means of the fifth embodiment.

【図22】 本実施例5の認証情報通知手段の処理手順
を示すフローチャートである。
FIG. 22 is a flowchart showing the processing procedure of the authentication information notifying means of the fifth embodiment.

【図23】 本実施例5の認証情報通知手段が起動する
mp2Authenticationプログラムの処理
手順を示すフローチャートである。
FIG. 23 is a flowchart showing a processing procedure of an mp2Authentication program activated by the authentication information notifying means of the fifth embodiment.

【図24】 本発明による実施例6で想定するネットワ
ークを示す図である。
FIG. 24 is a diagram showing a network assumed in a sixth embodiment according to the present invention.

【図25】 本実施例6のサーバ選択ルーチンの機能構
成図である。
FIG. 25 is a functional configuration diagram of a server selection routine of the sixth embodiment.

【図26】 本実施例6のサーバ選択ルーチンの処理手
順を示すフローチャートである。
FIG. 26 is a flowchart showing a processing procedure of a server selection routine of the sixth embodiment.

【図27】 本発明による実施例7で想定するクライア
ント、ECサーバ、サーバ選択装置、動画像配信サーバ
間のシーケンスを説明するための図である。
FIG. 27 is a diagram illustrating a sequence among a client, an EC server, a server selection device, and a moving image distribution server, which is assumed in a seventh embodiment according to the present invention.

【符号の説明】[Explanation of symbols]

1…サーバ選択手段 2…距離取得手段 3…残リソース量取得手段 4…サーバリソース管理タイマー手段 5…仮予約情報通知手段 6…認証情報通知手段 7…サーバ選択可否判断手段 10…サーバ制御ライブラリ 20…選択対象のサーバ群 20A…選択対象のサーバ 50…汎用コンピュータ 50A…サーバ選択プログラム 50B…参照データベース 51…ルータ 52…通信線(ネットワーク) 53…サーバ選択装置の管理対象サーバ 54…クライアント装置 54A…クライアントソフトウェア 100…サーバ選択装置 100A〜100F…本実施例のサーバ選択ルーチン U’…サーバの利用要求を行うユーザ U…ユーザの識別情報 S…サーバの識別情報 SL…サーバリスト(サーバの識別情報のリスト) R…必要となるサーバリソース量 SS’…サーバ選択プログラムがインストールされたサ
ーバ装置 SS…選択されたサーバのURL(識別情報) D(U.S)…拠点U、拠点S間の距離情報 R(S)…サーバSの残リソース量 SSY…選択可能の場合のサーバの識別情報 SSN…選択不可能の場合のサーバの識別情報 SY…選択可能を示すメッセージ
DESCRIPTION OF SYMBOLS 1 ... Server selection means 2 ... Distance acquisition means 3 ... Remaining resource amount acquisition means 4 ... Server resource management timer means 5 ... Temporary reservation information notification means 6 ... Authentication information notification means 7 ... Server selectability judgment means 10 ... Server control library 20 Selection target server group 20A Selection target server 50 General-purpose computer 50A Server selection program 50B Reference database 51 Router 52 Communication line (network) 53 Server managed server management server 54 Client device 54A Client software 100 ... Server selection devices 100A to 100F ... Server selection routine U'of the present embodiment ... User U requesting to use the server U ... User identification information S ... Server identification information SL ... Server list (server identification information List) R ... Amount of required server resources SS '... Server device SS in which the server selection program is installed ... URL (identification information) of the selected server D (US) ... Distance information R (S) between base U and base S ... Remaining resource amount SSY of server S ... Server identification information SSN when selectable ... Server identification information SY when not selectable ... Message indicating selectable

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平11−110324(JP,A) 特開 平7−152698(JP,A) 特開 平7−160648(JP,A) 特開 平11−55645(JP,A) 特開 平10−78938(JP,A) 特開2000−196677(JP,A) 国際公開00/28713(WO,A1) 国際公開99/05094(WO,A1) (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 G06F 15/16 H04L 12/00 ─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-11-110324 (JP, A) JP-A-7-152698 (JP, A) JP-A-7-160648 (JP, A) JP-A-11- 55645 (JP, A) JP 10-78938 (JP, A) JP 2000-196677 (JP, A) International publication 00/28713 (WO, A1) International publication 99/05094 (WO, A1) (58) Fields surveyed (Int.Cl. 7 , DB name) G06F 13/00 G06F 15/16 H04L 12/00

Claims (23)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 分散配備された複数のサーバの中からユ
ーザにアクセスさせるサーバを選択するサーバ選択装置
であって、前記ユーザの識別情報、及び前記サーバのリ
ストであるサーバリストを入力し、前記複数のサーバに
ついて前記ユーザとの距離を取得する距離取得手段と、
所定の前記サーバについて当該サーバの残リソース量を
取得する残リソース量取得手段と、前記ユーザの識別情
報、前記サーバリスト、及び必要となるサーバリソース
量を入力し、前記サーバのリストに含まれていて、かつ
前記残リソース量取得手段によって取得される残サーバ
リソース量が、前記必要となるサーバリソース量を上回
っているサーバの中から、前記距離取得手段によって求
められる前記入力が示すユーザとの距離が短いサーバを
優先的に選択してサーバの識別情報をサーバ選択結果と
して出力するサーバ選択手段と、前記サーバがユーザア
クセスを制限するためのユーザ認証機能を持っている場
合、サーバ選択時に、前記サーバ選択手段の出力である
選択されたサーバの識別情報、ユーザの識別情報、及び
サービスの識別情報を入力し、当該サーバに対して当該
ユーザに関するユーザ認証の設定を行うための情報(以
下認証設定情報)をこれらの情報を元に生成し、前記認
証設定情報を出力し、認証設定が正常に終了してから選
択されたサーバの識別情報をサーバ選択結果として出力
する認証情報通知手段を有することを特徴とするサーバ
選択装置。
1. A server selection device for selecting a server to be accessed by a user from among a plurality of distributed servers, wherein the user identification information and a server list which is a list of the servers are input, Distance acquisition means for acquiring the distance to the user for a plurality of servers,
The remaining resource amount acquisition means for acquiring the remaining resource amount of the server for the predetermined server, the identification information of the user, the server list, and the required server resource amount are input and included in the server list. And the remaining server resource amount acquired by the remaining resource amount acquisition means exceeds the required server resource amount, and the distance to the user indicated by the input obtained by the distance acquisition means Server selecting means for preferentially selecting a server with a short server and outputting the identification information of the server as the server selection result ;
If you have a user authentication function to limit access
When the server is selected, it is the output of the server selecting means.
Selected server identification information, user identification information, and
Enter the identification information of the service,
Information for setting user authentication for users (below
Lower authentication setting information) based on these information
Output the certificate setting information and select it after the authentication setting is completed normally.
Outputs the identification information of the selected server as the server selection result
A server selection device, comprising:
【請求項2】 前記距離取得手段は、前記複数のサーバ
それぞれについて当該サーバ選択装置から当該サーバヘ
の経路上の中継装置の識別情報を記憶する経路情報テー
ブルと、前記中継装置の識別情報を取得する中継装置情
報取得手段と、該中継装置情報取得手段が取得した中継
装置の識別情報に基づき、前記複数のサーバそれぞれに
ついて当該ユーザとの距離を算出する距離算出手段を含
むことを特徴とする請求項1に記載のサーバ選択装置。
2. The distance acquisition means acquires, for each of the plurality of servers, a route information table that stores identification information of a relay device on the route from the server selection device to the server, and the identification information of the relay device. 7. A relay device information acquisition means, and a distance calculation means for calculating a distance to the user for each of the plurality of servers based on the relay device identification information acquired by the relay device information acquisition means. 1. The server selection device according to 1.
【請求項3】 前記距離取得手段は、前記ユーザーの識
別情報から当該ユーザの位置情報を取得する位置取得手
段と、前記複数のサーバそれぞれについて当該サーバの
位置情報を記憶するサーバ位置テーブルと、前記位置取
得手段が取得したユーザの識別情報、及び前記サーバ位
置テーブルに記憶されている前記サーバそれぞれの位置
情報をもとに、前記サーバそれぞれについて当該ユーザ
までの距離を求める手段を含むことを特徴とする請求項
1に記載のサーバ選択装置。
3. The distance acquisition unit, a position acquisition unit that acquires position information of the user from identification information of the user, a server position table that stores position information of the server for each of the plurality of servers, and Characterized in that it includes means for obtaining the distance to the user for each of the servers based on the identification information of the user acquired by the position acquisition means and the position information of each of the servers stored in the server position table. The server selection device according to claim 1.
【請求項4】 前記残リソース量取得手段は、前記複数
のサーバそれぞれについて残リソース量を示す残リソー
ス情報を記憶するサーバリソース管理テーブルを含むこ
とを特徴とする請求項1から3のうちいずれか1項に記
載のサーバ選択装置。
4. The remaining resource amount acquisition means includes a server resource management table that stores remaining resource information indicating a remaining resource amount for each of the plurality of servers. The server selection device according to item 1.
【請求項5】 前記サーバに対し同時に接続可能な端末
の数が最大同時接続数として定められており、前記残リ
ソース量は、当該サーバの最大同時接続数から当該サー
バに接続中の端末の数を引いた値であることを特徴とす
る請求項1から4のうちいずれか1項に記載のサーバ選
択装置。
5. The number of terminals that can be simultaneously connected to the server is defined as the maximum number of simultaneous connections, and the remaining resource amount is the maximum number of simultaneous connections of the server to the number of terminals connected to the server. 5. The server selection device according to claim 1, wherein the server selection device has a value obtained by subtracting.
【請求項6】 前記サーバが実行可能なデータ転送のレ
ートの総和が最大総レートとして定められており、前記
残リソース量は、当該サーバの最大総レートから当該サ
ーバが実行中のデータ転送のレートの総和を引いた値で
あることを特徴とする請求項1からのうちいずれか1
項に記載のサーバ選択装置。
6. A total sum of data transfer rates that the server can execute is defined as a maximum total rate, and the remaining resource amount is the maximum total rate of the server to the rate of data transfer being executed by the server. any one of the claims 1 to 5, characterized in that a value obtained by subtracting the sum of
A server selection device according to item.
【請求項7】 同一拠点に設置されたサーバ群が実行可
能な拠点外とのデータ転送のレートの総和が拠点最大総
レートとして定められており、前記残リソース量は、当
該サーバの設置拠点の拠点最大総レートから当該サーバ
の設置拠点のサーバ群が実行中の拠点外とのデータ転送
のレートの総和を引いた値であることを特徴とする請求
項1から4のうちいずれか1項に記載のサーバ選択装
置。
7. The sum total of the rates of data transfer to and from outside the sites that can be executed by a group of servers installed at the same site is defined as the site maximum total rate, and the remaining resource amount is the value of the site where the server is installed. 5. A value obtained by subtracting the sum of rates of data transfer to / from outside the bases in which the server group of the base where the server is installed is subtracted from the maximum total base rate. The server selection device described.
【請求項8】 前記サーバリソース管理テーブルに記憶
されている残リソース量のうち前記サーバ選択手段が選
択したサーバの残リソース量を、前記サーバ選択手段に
入力された必要リソースだけ減算する残リソース減算手
段を備えたことを特徴とする請求項4に記載のサーバ選
択装置。
8. A remaining resource subtraction for subtracting, from the remaining resource amount stored in the server resource management table, the remaining resource amount of the server selected by the server selecting unit by the necessary resource input to the server selecting unit. The server selection device according to claim 4, further comprising means.
【請求項9】 前記サーバによって提供されるサービス
の識別情報、及びサーバ選択手段によって選択されたサ
ーバを入力し、この入力に基づきサービス提供に要する
時間(以下、サービス提供時間と称す)を取得し、該サ
ービス提供時間を出力とするサービス提供時間取得手段
と、前記サービス提供時間取得手段が出力した前記サー
ビス提供時間、前記サーバ選択手段によって選択された
サーバの識別情報、及び前記必要リソース量を入力し、
これらが入力された時点から前記サービス提供時間経過
後、前記サーバリソース管理テーブルが示す選択された
サーバに関する残サーバリソース量が必要サーバリソー
ス量分だけ増加となるように前記サーバリソース管理テ
ーブルを更新するサーバリソース管理タイマー手段を備
えたことを特徴とする請求項4に記載のサーバ選択装
置。
9. The identification information of the service provided by the server and the server selected by the server selection means are input, and the time required for the service provision (hereinafter referred to as the service provision time) is acquired based on this input. , A service providing time acquiring unit that outputs the service providing time, the service providing time output by the service providing time acquiring unit, the identification information of the server selected by the server selecting unit, and the required resource amount Then
After the service providing time has elapsed from the time when these were input, the server resource management table is updated so that the remaining server resource amount related to the selected server indicated by the server resource management table increases by the required server resource amount. The server selection device according to claim 4, further comprising server resource management timer means.
【請求項10】 当該サーバ選択装置の管理対象となる
サーバが前記ユーザのアクセスのために仮にサーバリソ
ースを確保する仮予約機能を持っている場合、サーバ選
択時に、前記サーバ選択手段の出力である選択されたサ
ーバの識別情報、ユーザの識別情報、サービスの識別情
報を入力とし、前記サーバに対して仮予約の設定を行う
ための情報(以下、仮予約設定情報と称す)をこれらの
情報を元に生成し、前記仮予約設定情報を出力し、仮予
約設定が正常に終了してから選択されたサーバの識別情
報をサーバ選択結果として出力する機能を持つ仮予約情
報通知手段とを備えたことを特徴とする請求項1から9
のうちいずれか1項に記載のサーバ選択装置。
10. When the server to be managed by the server selection device has a provisional reservation function for temporarily securing server resources for the user's access, the output of the server selection means is made when the server is selected. The identification information of the selected server, the identification information of the user, and the identification information of the service are input, and the information for setting the temporary reservation for the server (hereinafter referred to as temporary reservation setting information) is provided as these information. A provisional reservation information notifying unit having a function of generating the original, outputting the provisional reservation setting information, and outputting the identification information of the server selected after the provisional reservation setting is normally completed as the server selection result. Claims 1 to 9 characterized in that
A server selection device given in any 1 paragraph among them.
【請求項11】 ユーザの識別情報を入力とし、ユーザ
の位置情報を元に当該サーバ選択装置でサーバの選択を
行うことの可否を演算によって求め、選択を行うことを
決定した場合には、サーバ選択手段によるサーバ選択処
理を続行し、選択を行わないことを決定した場合には、
該ユーザに対するサーバ選択を行う候補となるサーバ選
択装置の識別情報を出力し、サーバ選択処理を中断する
サーバ選択可否判断手段を備えたことを特徴とする請求
項1から10のうちいずれか1項に記載のサーバ選択装
置。
11. When the identification information of the user is input and whether or not the server selection device can select the server is calculated based on the position information of the user and the selection is determined, the server is selected. If the server selection processing by the selection means is continued and it is decided not to select,
And outputs the identification information of the candidate to become the server selection device for performing server selection for the user, any one of claims 1 to 10, characterized in that it comprises interrupting the server selection allowability determining means server selection process The server selection device described in 1.
【請求項12】 分散配備された複数のサーバの中から
ユーザにアクセスさせるサーバを選択するサーバ選択方
法であって、前記ユーザの識別情報、及び前記サーバの
リストであるサーバリストを入力し、前記複数のサーバ
について前記ユーザとの距離を取得する距離取得手順
、所定の前記サーバについて当該サーバの残リソース
量を取得する残リソース量取得手順と、前記ユーザの識
別情報、前記サーバリスト、及び必要となるサーバリソ
ース量を入力し、前記サーバのリストに含まれていて、
かつ前記残リソース量取得手順によって取得される残サ
ーバリソース量が、前記必要となるサーバリソース量を
上回っているサーバの中から、前記距離取得手順によっ
て求められる前記入力が示すユーザとの距離が短いサー
バを優先的に選択してサーバの識別情報をサーバ選択結
果として出力するサ ーバ選択手順と、前記サーバが、ユ
ーザアクセスを制限するためのユーザ認証機能を持って
いる場合、サーバ選択時に、前記サーバ選択手順で選択
されたサーバの識別情報、ユーザの識別情報、及びサー
ビスの識別情報を入力し、前記サーバに対して前記ユー
ザに関するユーザ認証の設定を行うための情報(以下、
認証設定情報と称す)を前記入力した情報を元に生成
し、この生成した認証設定情報を出力し、認証設定が正
常に終了してから選択されたサーバの識別情報をサーバ
選択結果として出力する認証情報通知手順を備えたこと
を特徴とするサーバ選択方法。
12. A server selection method for selecting a server to be accessed by a user from a plurality of distributed servers, wherein the user identification information and a server list which is a list of the servers are input, Distance acquisition procedure for acquiring distances to the user for a plurality of servers
And a remaining resource amount acquisition procedure for acquiring the remaining resource amount of the server for the predetermined server, the user identification information, the server list, and the required server resource amount are input and included in the server list. Is
In addition, the remaining server resource amount acquired by the remaining resource amount acquisition procedure is determined by the distance acquisition procedure from the servers having the required server resource amount higher than the required server resource amount.
An output Surusa over server selection procedure the distance is short server with the user preferentially selected server identification information as the server selection result indicated by the input sought Te, the server, Yoo
User authentication function to limit user access
If there is, select it in the server selection procedure when selecting the server.
Server identification information, user identification information, and server
Enter the identification information of the service to the server.
Information for setting user authentication related to the
Generated based on the entered information (referred to as authentication setting information)
Then, the generated authentication setting information is output and the authentication setting is correct.
Always quit the selected server's identification information from the server
A server selection method comprising an authentication information notification procedure that is output as a selection result .
【請求項13】 前記距離取得手順は、前記複数のサー
バそれぞれについて対象となるサーバ選択装置からサー
バヘの経路上の中継装置の識別情報を記憶し、前記中継
装置の識別情報を取得し、この取得した中継装置の識別
情報に基づき前記複数のサーバそれぞれについて当該ユ
ーザとの距離を算出する手順を含むことを特徴とする請
求項12に記載のサーバ選択方法。
13. The distance acquisition procedure stores identification information of a relay device on a route from a target server selection device to a server for each of the plurality of servers, acquires identification information of the relay device, and acquires the identification information. 13. The server selection method according to claim 12 , further comprising a step of calculating a distance to the user for each of the plurality of servers based on the identification information of the relay device.
【請求項14】 前記距離取得手順は、前記ユーザの識
別情報から当該ユーザの位置情報を取得し、前記複数の
サーバそれぞれについて当該サーバの位置情報をサーバ
位置テーブルに記憶し、前記取得したユーザの識別情
報、及び前記サーバ位置テーブルに記憶されている前記
サーバそれぞれの位置情報をもとに、前記サーバそれぞ
れについて当該ユーザまでの距離を求める手順を含むこ
とを特徴とする請求項12に記載のサーバ選択方法。
14. The distance acquisition procedure acquires position information of the user from identification information of the user, stores position information of the server in a server position table for each of the plurality of servers, and acquires the position information of the acquired user. 13. The server according to claim 12 , further comprising a step of obtaining a distance to the user for each of the servers based on identification information and position information of each of the servers stored in the server position table. Selection method.
【請求項15】 前記残リソース量取得手順は、前記複
数のサーバそれぞれについて残リソース量を示す残リソ
ース情報をサーバリソース管理テーブルに記憶する手順
を含むことを特徴とする請求項12から14のうちいず
れか1項に記載のサーバ選択方法。
15. The remaining resource amount acquisition procedure of claims 12 14, characterized in that it comprises the steps of storing the remaining resource information indicating the remaining resource amount for each of the plurality of servers in the server resource management table The server selection method according to any one of items.
【請求項16】 前記サーバに対し同時に接続可能な端
末の数が最大同時接続数として定められており、前記残
リソース量は、当該サーバの最大同時接続数から当該サ
ーバに接続中の端末の数を引いた値であることを特徴と
する請求項12から15のうちいずれか1項に記載のサ
ーバ選択方法。
16. The number of terminals that can be simultaneously connected to the server is defined as the maximum number of simultaneous connections, and the remaining resource amount is the number of terminals that are connected to the server from the maximum number of simultaneous connections of the server. 16. The server selection method according to claim 12, wherein the server selection method is a value obtained by subtracting.
【請求項17】 前記サーバが実行可能なデータ転送の
レートの総和が最大総レートとして定められており、前
記残リソース量は、当該サーバの最大総レートから当該
サーバが実行中のデータ転送のレートの総和を引いた値
であることを特徴とする請求項12から16のうちいず
れか1項に記載のサーバ選択方法。
17. The maximum total rate is defined as the sum of the rates of data transfer that can be executed by the server, and the remaining resource amount is calculated from the maximum total rate of the server to the rate of data transfer being executed by the server. server selecting method as claimed in any one of claims 12 16, characterized in that a value obtained by subtracting the sum of.
【請求項18】 同一拠点に設置されたサーバ群が実行
可能な拠点外とのデータ転送のレートの総和が拠点最大
総レートとして定められており、前記残リソース量は、
当該サーバの設置拠点の拠点最大総レートから当該サー
バの設置拠点のサーバ群が実行中の拠点外とのデータ転
送のレートの総和を引いた値であることを特徴とする請
求項12から15のうちいずれか1項に記載のサーバ選
択方法。
18. The sum total of the rates of data transfer to and from the outside of the sites that can be executed by the servers installed at the same site is defined as the maximum total rate of the sites, and the remaining resource amount is
Claims 12, characterized in that the base up to the total rate of the installation base of the server is a value obtained by subtracting the sum of the rate of data transfer between the base outside in the server group installation base of the server is running 15 The method for selecting a server according to any one of the items.
【請求項19】 前記サーバリソース管理テーブルに記
憶されている残リソース量のうち前記サーバ選択方法で
選択したサーバの残リソース量を、前記サーバ選択手段
に入力された必要リソースだけ減算する残リソース減算
手順を備えたことを特徴とする請求項15に記載のサー
バ選択方法。
19. A remaining resource subtraction for subtracting, from the remaining resource amount stored in the server resource management table, the remaining resource amount of the server selected by the server selection method by the required resource input to the server selecting means. The server selection method according to claim 15 , further comprising a procedure.
【請求項20】 前記サーバによって提供されるサービ
スの識別情報及び前記サーバ選択方法によって選択され
たサーバ識別情報を入力し、この入力に基づきサービス
提供に要する時間(以下、サービス提供時間と称す)を
計算し、この計算したサービス提供時間、前記サーバ選
択方法によって選択されたサーバの識別情報、及び前記
必要リソース量を入力し、これらが入力された時点から
前記サービス提供時間経過後、前記サーバリソース管理
テーブル情報から選択されたサーバに関する残サーバリ
ソース量が、必要サーバリソース量分だけ増加となるよ
うに前記サーバリソース管理テーブルを更新するサーバ
リソース管理タイマー手順を備えたことを特徴とする請
求項15に記載のサーバ選択方法。
20. The identification information of the service provided by the server and the server identification information selected by the server selection method are input, and the time required to provide the service (hereinafter referred to as the service provision time) is input based on the input. The calculated service provision time, the identification information of the server selected by the server selection method, and the required resource amount are input, and the server resource management is performed after the service provision time elapses from the time when these are input. 16. The server resource management timer procedure for updating the server resource management table so that the remaining server resource amount related to the server selected from the table information is increased by the required server resource amount. The server selection method described.
【請求項21】 前記サーバ選択方法の管理対象となる
サーバが、前記ユーザのアクセスのために仮にサーバリ
ソースを確保する仮予約機能を持っている場合、サーバ
選択時に、前記サーバ選択方法で選択されたサーバの識
別情報、ユーザの識別情報、サービスの識別情報を入力
し、前記サーバに対して仮予約の設定を行うための情報
(以下、仮予約設定情報と称す)をこれらの情報を元に
生成し、前記仮予約設定情報を出力し、仮予約設定が正
常に終了してから選択されたサーバの識別情報をサーバ
選択結果として出力する仮予約情報通知手順を備えたこ
とを特徴とする請求項12から20のうちいずれか1項
に記載のサーバ選択方法。
21. When a server to be managed by the server selection method has a temporary reservation function for temporarily securing a server resource for access by the user, the server is selected by the server selection method at the time of server selection. The server's identification information, user's identification information, service identification information are input, and information for making temporary reservation settings for the server (hereinafter referred to as temporary reservation setting information) is based on these information. A provisional reservation information notification procedure for generating and outputting the provisional reservation setting information and outputting the identification information of the server selected after the provisional reservation setting is normally completed as a server selection result is provided. The server selection method according to any one of Items 12 to 20 .
【請求項22】 ユーザの識別情報を入力とし、ユーザ
の位置情報を元に当該サーバ選択装置でサーバの選択を
行うことの可否を演算によって求め、選択を行うことを
決定した場合には、サーバ選択手段によるサーバ選択処
理を続行し、選択を行わないことを決定した場合には、
当該ユーザに対するサーバ選択を行う候補となるサーバ
選択装置の識別情報を出力し、サーバ選択処理を中断す
るサーバ選択可否判断手順を備えたことを特徴とする請
求項12から21のうちいずれか1項に記載のサーバ選
択方法。
22. When the identification information of the user is input and whether or not the server selection device can select the server is calculated based on the position information of the user, and the selection is determined, the server is selected. If the server selection processing by the selection means is continued and it is decided not to select,
And outputs the identification information of the candidate to become the server selection device for performing server selection for the user, any one of the claims 12 to 21, further comprising a suspend server selection allowability determining steps server selection process Server selection method described in.
【請求項23】 前記請求項12から22のうちいずれ
か1項に記載のサーバ選択方法の処理手順を、コンピュ
ータに実行させるためのサーバ選択プログラムを記録し
たコンピュータ読み取り可能な記録媒体。
23. A computer-readable recording medium recording a server selection program for causing a computer to execute the processing procedure of the server selection method according to any one of claims 12 to 22 .
JP2000275363A 2000-09-11 2000-09-11 Server selection device, server selection method, and recording medium recording server selection program Expired - Lifetime JP3472540B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000275363A JP3472540B2 (en) 2000-09-11 2000-09-11 Server selection device, server selection method, and recording medium recording server selection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000275363A JP3472540B2 (en) 2000-09-11 2000-09-11 Server selection device, server selection method, and recording medium recording server selection program

Publications (2)

Publication Number Publication Date
JP2002091843A JP2002091843A (en) 2002-03-29
JP3472540B2 true JP3472540B2 (en) 2003-12-02

Family

ID=18760992

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000275363A Expired - Lifetime JP3472540B2 (en) 2000-09-11 2000-09-11 Server selection device, server selection method, and recording medium recording server selection program

Country Status (1)

Country Link
JP (1) JP3472540B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005062176A1 (en) * 2003-12-18 2005-07-07 Club It Corporation Server/client system, load distribution device, load distribution method, and load distribution program

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3811436B2 (en) * 2002-08-09 2006-08-23 日本電信電話株式会社 Nearest base estimation apparatus and method
US7660877B2 (en) 2003-05-19 2010-02-09 Hewlett-Packard Development Company, L.P. Systems and methods in which a provider is selected to service content requested by a client device
JP2005071081A (en) * 2003-08-25 2005-03-17 Bitwallet Inc Sales server, sales method, and sales program
US7614053B2 (en) 2004-02-20 2009-11-03 Sony Computer Entertainment Inc. Methods and apparatus for task management in a multi-processor system
US8028292B2 (en) 2004-02-20 2011-09-27 Sony Computer Entertainment Inc. Processor task migration over a network in a multi-processor system
US7565653B2 (en) 2004-02-20 2009-07-21 Sony Computer Entertainment Inc. Methods and apparatus for processor task migration in a multi-processor system
US20050262253A1 (en) * 2004-04-16 2005-11-24 Qiang Li Method and apparatus for a loosely coupled, scalable distributed multimedia streaming system
US7606793B2 (en) 2004-09-27 2009-10-20 Microsoft Corporation System and method for scoping searches using index keys
US7827181B2 (en) 2004-09-30 2010-11-02 Microsoft Corporation Click distance determination
US7761448B2 (en) 2004-09-30 2010-07-20 Microsoft Corporation System and method for ranking search results using click distance
US7739277B2 (en) 2004-09-30 2010-06-15 Microsoft Corporation System and method for incorporating anchor text into ranking search results
US7716198B2 (en) 2004-12-21 2010-05-11 Microsoft Corporation Ranking search results using feature extraction
US7792833B2 (en) 2005-03-03 2010-09-07 Microsoft Corporation Ranking search results using language types
EP1872560A1 (en) * 2005-04-22 2008-01-02 AT&T Corporation Managing media server resources in a voip network
US7899865B2 (en) 2005-04-22 2011-03-01 At&T Intellectual Property Ii, L.P. Managing media server resources in a VoIP network
CN101026615B (en) * 2006-02-18 2011-09-14 华为技术有限公司 IMS-based flow media network system
CN101026617B (en) * 2006-02-18 2010-09-15 华为技术有限公司 Media resource scheduling method for IMS network
JP4778345B2 (en) * 2006-03-30 2011-09-21 Necパーソナルプロダクツ株式会社 Information processing apparatus and information processing apparatus control method
JP2008097498A (en) * 2006-10-16 2008-04-24 Olympus Corp Processing element, control unit, processing system provided with the sames, and distributed processing method
KR100818305B1 (en) * 2006-11-17 2008-04-01 한국전자통신연구원 Robot control system based on network on dynamic ip address environment
JP5058758B2 (en) * 2007-11-08 2012-10-24 キヤノン株式会社 COMMUNICATION MANAGEMENT DEVICE, ITS CONTROL METHOD, AND PROGRAM
US9348912B2 (en) 2007-10-18 2016-05-24 Microsoft Technology Licensing, Llc Document length as a static relevance feature for ranking search results
US7840569B2 (en) 2007-10-18 2010-11-23 Microsoft Corporation Enterprise relevancy ranking using a neural network
JP5470720B2 (en) 2008-03-07 2014-04-16 日本電気株式会社 Event processing system and event processing method
US8812493B2 (en) 2008-04-11 2014-08-19 Microsoft Corporation Search results ranking using editing distance and document information
JP5181811B2 (en) * 2008-05-01 2013-04-10 富士通株式会社 Access point, access point dependency destination determination method, and wireless communication system
JP4702756B2 (en) * 2008-05-27 2011-06-15 株式会社アイ・オー・データ機器 Relay device, peripheral device, television receiver, and information processing system
US20100050179A1 (en) * 2008-08-22 2010-02-25 Ajay Mohindra Layered capacity driven provisioning in distributed environments
JP5517463B2 (en) * 2009-02-09 2014-06-11 三菱電機株式会社 Thin client system, management server and thin client terminal
JP2011055139A (en) * 2009-08-31 2011-03-17 Brother Industries Ltd Information communication system, node device and program therefor, and content acquiring method
JP5671297B2 (en) * 2009-11-16 2015-02-18 インターナショナル・ビジネス・マシーンズ・コーポレーションInternational Business Machines Corporation Method and system for optimizing multimedia services over an IMS network
JP5463268B2 (en) * 2009-11-20 2014-04-09 サムソン エスディーエス カンパニー リミテッド Anti-virus protection system and method
JP2011182031A (en) * 2010-02-26 2011-09-15 Kddi R & D Laboratories Inc Cloud service providing system
US8738635B2 (en) 2010-06-01 2014-05-27 Microsoft Corporation Detection of junk in search result ranking
FR2962621A1 (en) * 2010-07-08 2012-01-13 Alcatel Lucent ACCESS CONFIDENTIAL OR PROTECTED TO A NETWORK OF KNOTS DISTRIBUTED OVER A COMMUNICATION ARCHITECTURE USING A TOPOLOGY SERVER
JP5535844B2 (en) * 2010-09-14 2014-07-02 Necインフロンティア株式会社 Name resolution apparatus and name resolution method
JP5743589B2 (en) 2011-02-18 2015-07-01 キヤノン株式会社 Web service system, server management apparatus, and Web service providing method
MX2014002055A (en) * 2011-08-25 2014-03-21 Smart Hub Pte Ltd System and method for provisioning internet access to a computing device.
US9495462B2 (en) 2012-01-27 2016-11-15 Microsoft Technology Licensing, Llc Re-ranking search results
JP5949111B2 (en) * 2012-05-01 2016-07-06 三菱電機株式会社 Information collection device, information collection system, information collection server, information collection method
JP5700700B2 (en) * 2012-05-18 2015-04-15 日本電信電話株式会社 CONFERENCE SERVER DEVICE AND PROGRAM
WO2014118938A1 (en) * 2013-01-31 2014-08-07 株式会社日立製作所 Communication path management method
JP5987181B2 (en) * 2013-02-07 2016-09-07 株式会社日立製作所 Distributed processing system and management method of distributed processing system
JP5940998B2 (en) * 2013-03-05 2016-06-29 日本電信電話株式会社 Message distribution system and operation method thereof
JP5866554B1 (en) * 2014-10-21 2016-02-17 パナソニックIpマネジメント株式会社 GAME SYSTEM, MANAGEMENT DEVICE, AND READER / WRITER DEVICE
JP5866558B1 (en) * 2014-11-26 2016-02-17 パナソニックIpマネジメント株式会社 GAME SYSTEM AND MANAGEMENT DEVICE
CN105162665B (en) * 2015-08-31 2019-01-11 小米科技有限责任公司 Server cut-in method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005062176A1 (en) * 2003-12-18 2005-07-07 Club It Corporation Server/client system, load distribution device, load distribution method, and load distribution program
US7992152B2 (en) 2003-12-18 2011-08-02 G-Cluster Global Corporation Server/client system, load distribution device, load distribution method, and load distribution program

Also Published As

Publication number Publication date
JP2002091843A (en) 2002-03-29

Similar Documents

Publication Publication Date Title
JP3472540B2 (en) Server selection device, server selection method, and recording medium recording server selection program
JP2002140309A (en) Service system
JP4968975B2 (en) Content distribution method in distributed computer network
JP4652345B2 (en) Policy-based admission control and bandwidth reservation for future sessions
US7797401B2 (en) Systems and methods for providing quality assurance
JP2003223378A (en) Contents delivery network service method and system
US7640246B2 (en) Method and system for providing content
US8291504B2 (en) Enforcing single stream per sign-on from a content delivery network (CDN) media server
JP2001502830A (en) System and method for optimized data storage and retrieval over a distributed computer network
JP2015029295A (en) System and method for adaptive file delivery with transparency capability
JP2001527668A (en) System and method for selecting and restoring various video data on a computer network
CN101132373A (en) Method of providing qos for a flow
WO2010078765A1 (en) Method and system for service processing in content distribution network of interactive network tv
JP2010517160A (en) Method and apparatus for providing network resources to a content provider
US20080247400A1 (en) System and method for increasing the efficiency in the delivery of media within a network
JP2004341576A (en) Content delivery method and content delivery system
US7197038B1 (en) Internetwork quality of service provisioning with reciprocal compensation
JP2005018293A (en) Content delivery control device, content delivery control method and content delivery control program
US20130332946A1 (en) Method for establishing a network platform for renting the electronic publications
US7620557B2 (en) Charging system
US20110289552A1 (en) Information management system
JP2005070884A (en) Accounting policy generation device, metadata delivery server, fee-based ifnormation delivery server, fee-based information delivery system, accounting policy generation method, and fee-based information accounting method
JP3725401B2 (en) Access distribution method, apparatus, and recording medium
WO2005117368A1 (en) Content distribution system and content distribution method
KR101467023B1 (en) System and method to deliver contents using dynamic context in the distributed network

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
R150 Certificate of patent or registration of utility model

Ref document number: 3472540

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20080912

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20090912

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100912

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100912

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110912

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120912

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130912

Year of fee payment: 10

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term