JP3178380B2 - Connection management method and computer-readable recording medium - Google Patents

Connection management method and computer-readable recording medium

Info

Publication number
JP3178380B2
JP3178380B2 JP22023297A JP22023297A JP3178380B2 JP 3178380 B2 JP3178380 B2 JP 3178380B2 JP 22023297 A JP22023297 A JP 22023297A JP 22023297 A JP22023297 A JP 22023297A JP 3178380 B2 JP3178380 B2 JP 3178380B2
Authority
JP
Japan
Prior art keywords
server
service
user terminal
connection
network
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 - Fee Related
Application number
JP22023297A
Other languages
Japanese (ja)
Other versions
JPH1155321A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP22023297A priority Critical patent/JP3178380B2/en
Publication of JPH1155321A publication Critical patent/JPH1155321A/en
Application granted granted Critical
Publication of JP3178380B2 publication Critical patent/JP3178380B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークを介
して接続される利用者端末とサーバとの間に確立される
コネクションの管理方法に関する。
The present invention relates to a method for managing a connection established between a user terminal connected via a network and a server.

【0002】[0002]

【従来の技術】複数のネットワークから構成される分散
型情報サービスシステムにおいて、情報サービスを提供
するサーバと情報サーバを利用する利用者端末との間の
通信コネクションの確立を、利用者端末の自由に任せず
システムで管理することは、効率的な情報サービスの提
供を実現する上で重要である。
2. Description of the Related Art In a distributed information service system composed of a plurality of networks, establishment of a communication connection between a server for providing an information service and a user terminal using the information server can be freely performed by the user terminal. It is important to manage the system without leaving it in order to realize efficient information service provision.

【0003】従来、この種のコネクション管理方法とし
て、特開平9−46367号公報に記載された技術(以
下、従来技術と称す)がある。
Conventionally, as this type of connection management method, there is a technique described in Japanese Patent Application Laid-Open No. 9-46367 (hereinafter referred to as a conventional technique).

【0004】図13は、この従来技術の説明図であり、
100,200,300はネットワーク、101〜10
3,203,301〜303は利用者端末、104,2
02,304はサーバ(アプリケーションサーバ)、2
01は管理サーバである。
FIG. 13 is an explanatory view of this prior art.
100, 200, 300 are networks, 101 to 10
3, 203, 301 to 303 are user terminals;
02, 304 are servers (application servers), 2
01 is a management server.

【0005】図13において、管理サーバ201は、内
部のアプリケーション管理テーブルに、アプリケーショ
ンサービス毎にそのサービスを提供するサーバを1つ登
録してあり、また、サービスの提供に必要なネットワー
クの使用帯域に関する情報も登録してある。何れかの利
用者端末、例えば利用者端末101から或るアプリケー
ションサービス名αを指定したコネクション登録要求が
管理サーバ201に出されると、管理サーバ201は内
部のアプリケーション管理テーブルを参照してアプリケ
ーションサービス名αのサービスを提供可能なサーバを
調べる。今、複数存在するサーバ104,202,30
4の内で、アプリケーションサービス名αのサービスを
提供できるサーバがサーバ304であったとすると、次
に管理サーバ201は、コネクションが経由するネット
ワーク100,200,300の使用可能な帯域と既に
コネクション確立を許可され登録された他のコネクショ
ンが使用する帯域とを考慮し、今回のコネクション登録
要求を許可するか否かを判断する。
[0005] In FIG. 13, a management server 201 registers one server that provides the application service for each application service in an internal application management table, and also relates to a network usage band required for providing the service. Information is also registered. When a connection registration request designating a certain application service name α is issued to the management server 201 from any of the user terminals, for example, the user terminal 101, the management server 201 refers to the internal application management table to determine the application service name. Check the servers that can provide the service of α. Now, a plurality of servers 104, 202, 30
4, if the server that can provide the service of the application service name α is the server 304, the management server 201 then establishes the connection with the available bandwidth of the networks 100, 200, and 300 through which the connection passes. It is determined whether or not to permit the current connection registration request in consideration of the bandwidth used by another permitted and registered connection.

【0006】また、ネットワークの帯域に余裕がないと
きは、より優先度の低いコネクションの登録を解除する
か、強制終了させるか、使用帯域を縮退させて、優先度
の高いコネクションの使用帯域を確保する制御を行う。
[0006] When there is no room in the bandwidth of the network, the registration of a connection with a lower priority is deregistered, forcibly terminated, or the bandwidth used is reduced to secure the bandwidth used for a connection with a higher priority. Control.

【0007】[0007]

【発明が解決しようとする課題】上記の従来技術によれ
ば、ネットワークの使用可能帯域に応じてコネクション
の確立を管理でき、また緊急を要するコネクションに優
先的に帯域を割り当てることができる。しかしながら、
アプリケーションサービス毎にそのサービスを提供する
サーバが1つしか存在しないため、特定のサーバとの間
に必要な帯域を確保できない場合、端末利用者は全くサ
ービスを受けることができないという問題がある。
According to the above-mentioned prior art, the establishment of connections can be managed in accordance with the available bandwidth of the network, and the bandwidth can be preferentially allocated to connections that require urgency. However,
Since there is only one server that provides the service for each application service, there is a problem that if a necessary band cannot be secured with a specific server, the terminal user cannot receive the service at all.

【0008】このような問題は、アプリケーションサー
ビス毎にそのサービスを提供するサーバを複数設けるこ
とで解消し得ると考えられる。しかし、同一のサービス
を提供するサーバが複数存在する場合、確立可能なコネ
クションも複数存在し得ることから、その何れのコネク
ションを確立すれば良いのかという別の問題が発生す
る。このような問題の解決法を提示した公知文献は現時
点では見当たらない。
It is considered that such a problem can be solved by providing a plurality of servers for providing each application service. However, when there are a plurality of servers that provide the same service, since there can be a plurality of connections that can be established, another problem arises as to which of the connections should be established. There is no known document presenting a solution to such a problem at this time.

【0009】本発明はこのような事情に鑑みて提案され
たものであり、その目的は、同一のサービスを提供する
サーバが複数存在する場合に、ネットワーク帯域がより
有効に活用できるように、割り当てるコネクションを決
定することができるコネクション管理方法を提供するこ
とにある。
[0009] The present invention has been proposed in view of such circumstances, and an object of the present invention is to allocate the network bandwidth so that it can be more effectively utilized when there are a plurality of servers providing the same service. An object of the present invention is to provide a connection management method capable of determining a connection.

【0010】また、従来技術では、サーバの資源(CP
Uの処理能力など)が考慮されていないため、たとえ接
続できたとしても、充分なサービスを受けることができ
ない場合があるという問題もあった。
In the prior art, a server resource (CP
U, etc.) is not taken into account, and there is a problem that even if the connection can be made, sufficient service may not be received.

【0011】そこで本発明の別の目的は、同一のサービ
スを提供するサーバが複数存在する場合に、サーバの資
源量に応じて、割り当てるコネクションの接続先サーバ
を決定することができるコネクション管理方法を提供す
ることにある。
Therefore, another object of the present invention is to provide a connection management method capable of determining a connection destination server of a connection to be allocated according to a resource amount of a server when there are a plurality of servers providing the same service. To provide.

【0012】[0012]

【課題を解決するための手段】本発明のコネクション管
理方法は、複数のネットワークから構成される分散型情
報サービスシステムで、ネットワークを介して接続され
るサーバと利用者端末との間に確立するコネクションを
管理する方法において、利用者端末から特定のサーバに
対し、利用するサービスを指定したサービス要求を送出
する段階、前記特定のサーバにおいて、サーバの資源の
全体量から既にコネクション確立を許可され他のサービ
スで必要とする資源の量を差し引いた残りの資源量が利
用者端末から指定されたサービスで必要とするサーバ資
源量以上である複数のサーバのうち、利用者端末からの
ネットワーク経由数が最も少ないサーバを検索する段
階、該検索されたサーバと利用者端末とにコネクション
の確立によるサービス許可を通知する段階、を含むこと
を特徴とする。
SUMMARY OF THE INVENTION A connection management method according to the present invention is a distributed information service system comprising a plurality of networks, and a connection established between a server connected via a network and a user terminal. a method of managing, for a particular server from the user terminal, the step of sending a service request specifying use service, in the specific server, the server resources
Connection establishment is already permitted from the entire volume and other services
Resources remaining after subtracting the amount of resources
Server resources required for the service specified from the user terminal
Searching for a server with the least number of connections from the user terminal through the network among the plurality of servers having the source amount or more, and notifying the searched server and the user terminal of service permission by establishing a connection; It is characterized by including.

【0013】[0013]

【0014】記特定のサーバにおいて、サーバの資源
の全体量から既にコネクション確立を許可され他のサー
ビスで必要とする資源の量を差し引いた残りの資源量が
利用者端末から指定されたサービスで必要とするサーバ
資源量以上である複数のサーバのうち、利用者端末から
のネットワーク経由数が最も少ないサーバを検索し、こ
の検索されたサーバと利用者端末とにコネクション確立
によるサービス許可を通知することで、ネットワーク帯
域をより有効に活用することができると共に、利用者が
サーバの過負荷のためにサービスを受けられないといっ
た事態を避けることができる。
[0014] In prior Symbol specific server a service that the remaining resource amount by subtracting the amount of resources required from the entire amount of previously authorized connection establishment other services server resource is designated by the user terminal Search for the server that has the least number of user terminals via the network among multiple servers that have the required server resource amount or more.
Connection is established between the server searched by the user and the user terminal
Notification of service permission by
It is possible to use the area more effectively, and to avoid a situation where the user cannot receive the service due to the overload of the server.

【0015】さらに本発明は、前記検索されたサーバ
が、利用者端末から指定されたサービスを提供するアプ
リケーションプログラムを保有していない場合に、前記
特定のサーバから前記検索されたサーバに対して前記ア
プリケーションプログラムをダウンロードする段階を含
むことを特徴とする。これにより、各サーバにおいて、
プログラムを事前にロードしておく必要がなく資源を有
効に利用できるだけでなく、プログラムの更新を容易に
行うことができる。
[0015] Further, the present invention provides a method wherein, when the searched server does not have an application program for providing a service specified by a user terminal, the specific server sends the searched server to the searched server. The method includes a step of downloading the application program. As a result, in each server,
It is not necessary to load the program in advance, so that the resources can be effectively used and the program can be easily updated.

【0016】なお、利用者端末から指定されたサービス
を提供するアプリケーションプログラムを現に保有して
いることを検索条件の1つにすることもでき、更に、従
来技術と同様に利用者端末との間のコネクションが必要
とする帯域がネットワーク上確保できることを検索条件
の1つにすることもできる。
The fact that the user terminal currently has an application program for providing a service designated by the user terminal can be used as one of the search conditions. One of the search conditions may be that the band required by the connection can be secured on the network.

【0017】[0017]

【発明の実施の形態】次に本発明の実施の形態の例につ
いて図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0018】図1は本発明を適用した分散型情報サービ
スシステムの一例を示すブロック図である。この例のシ
ステムは、ネットワーク4−1,4−2,4−3と、ネ
ットワーク4−1に接続されたサーバ1および端末2−
1と、ネットワーク4−2に接続されたミラーサーバ3
−1および端末2−2と、ネットワーク4−3に接続さ
れたミラーサーバ3−2および端末2−3とから構成さ
れている。
FIG. 1 is a block diagram showing an example of a distributed information service system to which the present invention is applied. The system of this example includes a network 4-1, 4-2, and 4-3, a server 1 and a terminal 2- connected to the network 4-1.
1 and a mirror server 3 connected to the network 4-2
1 and a terminal 2-2, and a mirror server 3-2 and a terminal 2-3 connected to a network 4-3.

【0019】ネットワーク4−1,4−2,4−3は、
基幹LANまたは広域ネットワークである。ミラーサー
バ3−1,3−2は、端末2−1〜2−3からの要求に
応じて情報サービスを提供するアプリケーションプログ
ラムを実行するサーバである。また、サーバ1は、ネッ
トワークシステム全体のコネクション管理を司るサーバ
で、ネットワークシステム上に1つ存在する。本実施例
では、このサーバ1にも、端末2−1〜2−3からの要
求に応じて情報サービスを提供するアプリケーションプ
ログラムを実行する機能を持たせている。サーバ1およ
びミラーサーバ3−1,3−2は、ワークステーション
やパーソナルコンピュータ等の情報処理装置で構成され
る。
The networks 4-1, 4-2, and 4-3 are:
It is a backbone LAN or a wide area network. The mirror servers 3-1 and 3-2 are servers that execute application programs that provide information services in response to requests from the terminals 2-1 to 2-3. The server 1 is a server that manages connection management of the entire network system, and one server 1 exists on the network system. In this embodiment, the server 1 also has a function of executing an application program for providing an information service in response to a request from the terminals 2-1 to 2-3. The server 1 and the mirror servers 3-1 and 3-2 are configured by information processing devices such as workstations and personal computers.

【0020】端末2−1,2−2,2−3は、サーバ1
やミラーサーバ3−1,3−2の提供する情報サービス
を利用する利用者の端末であり、これもパーソナルコン
ピュータ等の情報処理装置で構成される。端末2−1,
2−2,2−3の利用者は、何らかのサービスを受ける
場合、先ず、利用するサービス名を指定したサービス要
求をサーバ1に対し送出し、コネクションの確立による
サービス許可の通知を得る。そして、この許可通知時に
サーバ1から実際にサービスを提供するサーバ名が通知
されるので、この通知されたサーバにコネクション要求
を出してコネクションを確立し、サービスを受ける。
The terminals 2-1, 2-2 and 2-3 are connected to the server 1
And the terminals of users who use information services provided by the mirror servers 3-1 and 3-2, which are also constituted by information processing devices such as personal computers. Terminal 2-1
When receiving any service, the users 2-2 and 2-3 first send a service request designating a service name to be used to the server 1, and obtain a service permission notification by establishing a connection. Then, at the time of this permission notification, the name of the server that actually provides the service is notified from the server 1, and a connection request is issued to the notified server to establish a connection and receive the service.

【0021】図2はサーバ1およびミラーサーバ3(3
−1,3−2)の構成例と、サーバ1,ミラーサーバ3
および端末2(2−1〜2−3)の間の情報の流れを示
す図である。
FIG. 2 shows a server 1 and a mirror server 3 (3
-1, 3-2), server 1, mirror server 3
FIG. 4 is a diagram showing a flow of information between the terminal 2 and terminals 2 (2-1 to 2-3).

【0022】サーバ1は、ネットワーク構成管理テーブ
ル11,サーバ管理テーブル12,コネクション管理テ
ーブル13およびサービス管理テーブル17といったテ
ーブル類と、登録処理部14,コネクション管理部15
およびアプリケーションプログラム部16といった機能
部とを有している。サーバ1に接続された記録媒体5
は、サーバ1用の制御プログラムを格納するCD−RO
M,磁気ディスク,半導体メモリ等の機械読み取り可能
な記録媒体であり、ここに記録された制御プログラムは
サーバ1を構成する情報処理装置に読み取られ、その情
報処理装置の動作を制御することにより、その情報処理
装置上に図2に示す各構成要素を実現する。
The server 1 includes tables such as a network configuration management table 11, a server management table 12, a connection management table 13, and a service management table 17, a registration processing unit 14, and a connection management unit 15.
And a functional unit such as an application program unit 16. Recording medium 5 connected to server 1
Is a CD-RO storing a control program for the server 1.
M, a magnetic disk, a machine-readable recording medium such as a semiconductor memory, and the control program recorded therein is read by an information processing device included in the server 1 and controls the operation of the information processing device. The components shown in FIG. 2 are realized on the information processing device.

【0023】他方、ミラーサーバ3は、サーバ情報登録
要求部31と、サービス管理テーブル32と、アプリケ
ーションプログラム部33とを有している。ミラーサー
バ3に接続された記録媒体6は、ミラーサーバ3用の制
御プログラムを格納するCD−ROM,磁気ディスク,
半導体メモリ等の機械読み取り可能な記録媒体であり、
ここに記録された制御プログラムはミラーサーバ3を構
成する情報処理装置に読み取られ、その情報処理装置の
動作を制御することにより、その情報処理装置上に図2
に示す各構成要素を実現する。
On the other hand, the mirror server 3 has a server information registration request unit 31, a service management table 32, and an application program unit 33. The recording medium 6 connected to the mirror server 3 includes a CD-ROM, a magnetic disk, and the like for storing a control program for the mirror server 3.
A machine-readable recording medium such as a semiconductor memory,
The control program recorded here is read by the information processing apparatus constituting the mirror server 3 and controls the operation of the information processing apparatus, so that the information processing apparatus shown in FIG.
Each of the constituent elements shown in FIG.

【0024】サーバ1およびミラーサーバ3上の各構成
要素は、概ね以下のような構成ないし機能を有してい
る。
Each component on the server 1 and the mirror server 3 has the following configuration or function.

【0025】(1)サーバ1 ○ネットワーク構成管理テーブル11;ネットワークシ
ステムを構成する各ネットワークの使用可能帯域とネッ
トワーク間の接続経路との情報を保持するテーブルであ
る。これらの情報はシステム管理者等により事前に登録
される。その内容例を図3に示す。この例では、各ネッ
トワーク(ネットワーク4−1,4−2,4−3)毎
に、ネットワーク名31,使用可能帯域32,自ネット
ワークを含め他のネットワークとの距離を示すネットワ
ーク経由数33−1〜33−3が登録されている。ま
た、ネットワーク経由数が2以上の場合については、そ
の途中に経由するネットワーク名を含む経由ネットワー
クリストLが付加されている。
(1) Server 1 Network configuration management table 11: This table holds information on the available bandwidth of each network constituting the network system and the connection route between the networks. These pieces of information are registered in advance by a system administrator or the like. FIG. 3 shows an example of the contents. In this example, for each network (networks 4-1, 4-2, and 4-3), a network name 31, an available bandwidth 32, and a number of via-networks 33-1 indicating a distance from another network including the own network. 33-3 are registered. When the number of network passes is two or more, a transit network list L including the names of transit networks is added along the way.

【0026】○サーバ管理テーブル12;ネットワーク
上でアプリケーションサービスを提供することが可能な
サーバに関する種々の情報を保持するテーブルである。
これらの情報は各サーバの起動時に自動的に登録され
る。その内容例を図4に示す。この例では、各サーバ
(サーバ1,ミラーサーバ3−1,3−2)毎に、サー
バ名41,そのサーバが属するネットワーク名42,そ
のサーバの使用可能なサーバ資源量43,そのサーバが
提供可能なアプリケーションサービス名44,その各ア
プリケーションサービスの実行に必要なネットワークの
帯域45,その各アプリケーションサービスの実行に必
要な当該サーバの資源量46が登録されている。ここ
で、使用可能サーバ資源量43は当該サーバの有するC
PUの処理能力(MIPS等)に応じた値とされ、必要
資源46としては当該サービスの提供のために当該サー
バのCPUの処理能力をどの程度使用するかに基づいて
設定される。勿論、CPU以外の資源量を考慮するよう
にしても良い。なお、アプリケーションサービス名44
が登録されているということは、そのサービスを提供す
るアプリケーションプログラムが当該サーバにロード済
みであることを意味する。
The server management table 12 is a table for holding various information on servers capable of providing application services on the network.
These pieces of information are automatically registered when each server is started. FIG. 4 shows an example of the contents. In this example, for each server (server 1, mirror server 3-1 and 3-2), a server name 41, a network name 42 to which the server belongs, an available server resource amount 43 of the server, and the server A possible application service name 44, a network bandwidth 45 required to execute each application service, and a resource amount 46 of the server required to execute each application service are registered. Here, the available server resource amount 43 is the C of the server.
The value is set in accordance with the processing capacity of the PU (such as MIPS), and is set as the necessary resource 46 based on how much the processing capacity of the CPU of the server is used for providing the service. Of course, the amount of resources other than the CPU may be considered. The application service name 44
Is registered, it means that the application program providing the service has been loaded on the server.

【0027】○コネクション管理テーブル13;端末と
サーバとの間に確立されるコネクションに関する種々の
情報を保持するテーブルである。これらの情報は端末か
らのサービス要求時に自動的に登録される。その内容例
を図5に示す。この例では、2つのコネクションに関す
る情報が登録されている。各々のコネクション管理情報
は、その識別番号51,コネクションの確立されるサー
バ名52と端末名53,そのコネクションを通じて提供
されるサービス名54,そのサービスの実行に必要なネ
ットワークの帯域55,そのサービスの実行に必要な当
該サーバの資源量56から構成される。
The connection management table 13 is a table for holding various information on a connection established between the terminal and the server. These pieces of information are automatically registered when a service is requested from the terminal. FIG. 5 shows an example of the contents. In this example, information on two connections is registered. Each piece of connection management information includes an identification number 51, a server name 52 and a terminal name 53 to which a connection is established, a service name 54 provided through the connection, a network bandwidth 55 required to execute the service, and a name of the service. It consists of the resource amount 56 of the server required for execution.

【0028】○サービス管理テーブル17;コネクショ
ン管理部15から通知されたサービス許可情報を保持し
ておくテーブルである。サービス許可情報の内容はコネ
クション管理テーブル13に保持されるコネクション管
理情報の一部分であり、例えば図5のサーバ名51,端
末名53,サービス名54が含まれる。
Service management table 17: A table for holding service permission information notified from the connection management unit 15. The content of the service permission information is a part of the connection management information held in the connection management table 13, and includes, for example, the server name 51, the terminal name 53, and the service name 54 in FIG.

【0029】○登録処理部14;自サーバ1の起動時に
自サーバ1に関する種々の情報をサーバ管理テーブル1
2に登録すると共に、ミラーサーバ3の起動時にミラー
サーバ3からのサーバ情報登録要求に従って、ミラーサ
ーバ3に関する種々の情報をサーバ管理テーブル12に
登録する手段である。
The registration processing unit 14 stores various information relating to the server 1 when the server 1 starts up.
2, and registers various information on the mirror server 3 in the server management table 12 according to a server information registration request from the mirror server 3 when the mirror server 3 is started.

【0030】○コネクション管理部15;端末2からの
サービス名を指定したサービス要求に応答して、指定さ
れたサービスをその端末2に対して提供可能なサーバの
有無の調査、提供可能なサーバが存在した場合のそのサ
ーバと要求元端末2へのコネクションの確立によるサー
ビス許可の通知などを行う。提供可能なサーバの決定
は、ネットワーク帯域やサーバ資源量を考慮して行い、
また、要求元の端末2からのネットワーク経由数が最も
少ないサーバを優先する。本実施例ではサーバ1自体も
アプリケーションサービスの提供機能を有するため、自
サーバ1も対象として、提供可能なサーバを決定する。
In response to a service request specifying a service name from the terminal 2, the connection management unit 15 checks whether there is a server capable of providing the specified service to the terminal 2, and determines which server can provide the service. If there is, a service permission notification is performed by establishing a connection between the server and the request source terminal 2. The server that can be provided is determined in consideration of the network bandwidth and the amount of server resources.
Also, the server with the least number of requests from the terminal 2 via the network is given priority. In the present embodiment, since the server 1 itself has a function of providing an application service, a server that can be provided is determined for the server 1 itself.

【0031】○アプリケーションプログラム部16;端
末2に対してアプリケーションサービスを提供する手段
である。端末2からコネクション要求があったとき、そ
の端末2との間のコネクション確立によるサービス許可
通知がサービス管理テーブル17に登録されているか否
かを調べ、登録されている場合に限り、サービスを提供
する。
The application program section 16 is a means for providing an application service to the terminal 2. When a connection request is received from the terminal 2, it is checked whether or not a service permission notification by the establishment of a connection with the terminal 2 is registered in the service management table 17, and the service is provided only when it is registered. .

【0032】(2)ミラーサーバ3 ○サーバ情報登録要求部31;自サーバ3の起動時に、
自サーバ3に関する種々の情報をサーバ1のサーバ管理
テーブル12に登録するために、サーバ1に対してサー
バ情報登録要求を送出する手段である。
(2) Mirror server 3 Server information registration request unit 31;
This is a means for sending a server information registration request to the server 1 in order to register various information on the server 3 in the server management table 12 of the server 1.

【0033】○サービス管理テーブル32;サーバ1の
コネクション管理部15から通知されたサービス許可情
報を保持しておくテーブルである。サービス許可情報の
項目は、サーバ1側のサービス管理テーブル17に保持
される情報と同じである。
Service management table 32: A table for holding service permission information notified from the connection management unit 15 of the server 1. The items of the service permission information are the same as the information held in the service management table 17 on the server 1 side.

【0034】○アプリケーションプログラム部33;端
末2に対してアプリケーションサービスを提供する手段
である。端末2からコネクション要求があったとき、そ
の端末2との間のコネクション確立によるサービス許可
通知がサービス管理テーブル32に登録されているか否
かを調べ、登録されている場合に限り、サービスを提供
する。
The application program unit 33 is a means for providing an application service to the terminal 2. When a connection request is received from the terminal 2, it is checked whether or not a service permission notification by establishing a connection with the terminal 2 is registered in the service management table 32, and only when the notification is registered, the service is provided. .

【0035】以下、本実施例の動作を説明する。The operation of this embodiment will be described below.

【0036】先ず、サーバ1およびミラーサーバ3の実
行手順の概要を説明する。
First, the outline of the execution procedure of the server 1 and the mirror server 3 will be described.

【0037】図6は、サーバ1およびミラーサーバ3の
実行手順の概要を示すフローチャートである。サーバ1
およびミラーサーバ3は起動されると、サーバ情報登録
処理を行い(61)、その処理が正常終了したら(62
でYES)、終了要求があるまでネットワークアプリケ
ーションサービスを繰り返し実行する(63,64)。
そして、終了要求時には、サーバ終了処理を行う(6
5)。なお、サーバ情報登録処理61が正常終了しなか
ったら(62でNO)、処理を終了する。
FIG. 6 is a flowchart showing an outline of the execution procedure of the server 1 and the mirror server 3. Server 1
When the mirror server 3 is started, it performs server information registration processing (61).
YES), the network application service is repeatedly executed until there is a termination request (63, 64).
At the time of a termination request, server termination processing is performed (6.
5). If the server information registration processing 61 has not been completed normally (NO in 62), the processing is terminated.

【0038】サーバ1およびミラーサーバ3の実行手順
の概要は上記の通りであるが、サーバ1とミラーサーバ
3とでは、各ステップの具体的な処理内容が相違するの
で、以下、サーバ1とミラーサーバ3とに分けて、より
具体的な処理を説明する。
The outline of the execution procedure of the server 1 and the mirror server 3 is as described above. However, the specific processing contents of each step are different between the server 1 and the mirror server 3. More specific processing will be described separately for the server 3.

【0039】サーバ1は起動されると、サーバ情報登録
処理61により、自サーバ1に関する種々の情報、即
ち、サーバ名,自サーバが属するネットワーク名,自サ
ーバの使用可能サーバ資源量,自サーバが提供可能なア
プリケーションサービス名,その各アプリケーションサ
ービスの実行に必要なネットワークの帯域およびサーバ
資源量を、自サーバ1のサーバ管理テーブル12に登録
する。この処理が正常終了することにより、図4に示し
たサーバ1に関連する情報がサーバ管理テーブル12に
登録されることになる。その後、サーバ1は、ネットワ
ークアプリケーションサービスを繰り返し実行する(6
3,64)。なお、ここで言うネットワークアプリケー
ションサービスには自サーバ1上のアプリケーションプ
ログラム部16の処理以外に、登録処理部14やコネク
ション管理部15の処理も含まれる。そして、システム
管理者等からサーバ1の終了要求が出されると(6
4)、サーバ終了処理65を行う。このサーバ終了処理
65では、その一環として起動中のミラーサーバ3に対
して終了要求を発行し、各ミラーサーバ3がサーバ終了
処理を行って後述するサーバ情報削除要求を発行するの
を待ち合わせる。そして、サーバ情報削除要求を発行し
たミラーサーバに関するサーバ情報をサーバ管理テーブ
ル12から削除し、自サーバ1のサーバ情報もサーバ管
理テーブル12から削除する。
When the server 1 is started, the server information registration processing 61 performs various information relating to the own server 1, that is, the server name, the network name to which the own server belongs, the available server resource amount of the own server, and the own server. The application service name that can be provided, the network bandwidth and the server resource amount required for executing each application service are registered in the server management table 12 of the own server 1. When this process ends normally, the information related to the server 1 shown in FIG. 4 is registered in the server management table 12. Thereafter, the server 1 repeatedly executes the network application service (6).
3, 64). The network application service referred to here includes the processing of the registration processing unit 14 and the processing of the connection management unit 15 in addition to the processing of the application program unit 16 on the server 1 itself. Then, when a system administrator or the like issues a request to end the server 1, (6)
4), a server termination process 65 is performed. In the server termination processing 65, as a part of this, a termination request is issued to the mirror server 3 that is running, and each mirror server 3 performs server termination processing and waits for issuing a server information deletion request described later. Then, the server information relating to the mirror server which has issued the server information deletion request is deleted from the server management table 12, and the server information of the own server 1 is also deleted from the server management table 12.

【0040】他方、ミラーサーバ3は起動されると、サ
ーバ情報登録処理61により、自サーバ3に関する種々
の情報、即ち、サーバ名,自サーバが属するネットワー
ク名,自サーバの使用可能サーバ資源量,自サーバが提
供可能なアプリケーションサービス名,その各アプリケ
ーションサービスの実行に必要なネットワークの帯域お
よびサーバ資源量を通知してサーバ1に対してサーバ情
報登録要求を行う。このサーバ情報登録要求を受けたサ
ーバ1の登録処理部14では、図7のステップ71,7
2,73に示すように、受信したサーバ情報をサーバ管
理テーブル12に登録し、その処理終了を要求元のミラ
ーサーバ3に通知する。この処理が正常終了することに
より、図4に示したミラーサーバ3−1または3−2に
関連する情報がサーバ1のサーバ管理テーブル12に登
録されることになる。その後、ミラーサーバ3は、ネッ
トワークアプリケーションサービスを繰り返し実行する
(63,64)。そして、管理者等から自サーバに対し
て終了要求が出されるか、サーバ1からの終了要求を受
信すると(64)、サーバ終了処理65を行う。このサ
ーバ終了処理65では、その一環として自サーバ情報の
削除をサーバ1に対し要求する。このサーバ情報削除要
求を受けたサーバ1の登録処理部14では、図7のステ
ップ74,75,76に示すように、サーバ管理テーブ
ル12から当該ミラーサーバ3に関するサーバ情報を削
除し、その処理終了を要求元のミラーサーバ3に通知す
る。
On the other hand, when the mirror server 3 is activated, the server information registration processing 61 executes various information relating to the own server 3, that is, a server name, a network name to which the own server belongs, an available server resource amount of the own server, The server 1 makes a server information registration request to the server 1 by notifying the name of the application service that can be provided by the server itself, the network bandwidth and the amount of server resources required for executing each application service. Upon receiving the server information registration request, the registration processing unit 14 of the server 1 executes steps 71 and 7 in FIG.
As shown in 2, 73, the received server information is registered in the server management table 12, and the end of the processing is notified to the mirror server 3 which has made the request. When this process ends normally, information related to the mirror server 3-1 or 3-2 shown in FIG. 4 is registered in the server management table 12 of the server 1. Thereafter, the mirror server 3 repeatedly executes the network application service (63, 64). Then, when a termination request is issued from the administrator or the like to the own server or a termination request is received from the server 1 (64), the server termination processing 65 is performed. In the server termination process 65, the server 1 is requested to delete its own server information as a part thereof. Upon receiving the server information deletion request, the registration processing unit 14 of the server 1 deletes the server information relating to the mirror server 3 from the server management table 12 as shown in steps 74, 75, and 76 of FIG. Is notified to the mirror server 3 that has made the request.

【0041】次に、端末2がサーバ1に対してサービス
要求を送出したときの動作を説明する。なお、サービス
要求中には、利用するサービス名の他に、当該端末2の
端末名や、当該端末2の属するネットワーク名などが含
まれているものとする。
Next, the operation when the terminal 2 sends a service request to the server 1 will be described. It is assumed that the service request includes the terminal name of the terminal 2 and the name of the network to which the terminal 2 belongs, in addition to the service name to be used.

【0042】図8はサーバ1のコネクション管理部15
が端末2からサービス要求を受信したときの処理の一例
を示すフローチャートである。コネクション管理部15
は、端末2からサービス要求を受信すると(80)、端
末2が含まれるネットワークを抽出し(81)、まず最
初は、端末2が含まれるネットワークに注目する(82
−1〜83−1)。即ち、内部変数kを0にし(82−
1)、ネットワーク構成管理テーブル11を参照して
(82−2)、端末2が含まれるネットワークからの経
由数が0で未チェックのネットワーク、つまり端末2が
含まれるネットワークを検索し(82−3)、そのネッ
トワークをチェック済みとする(83−1)。
FIG. 8 shows the connection management unit 15 of the server 1.
7 is a flowchart illustrating an example of a process when a service request is received from a terminal 2. Connection management unit 15
Receives a service request from the terminal 2 (80), extracts a network including the terminal 2 (81), and first focuses on a network including the terminal 2 (82).
-1 to 83-1). That is, the internal variable k is set to 0 (82-
1) With reference to the network configuration management table 11 (82-2), an unchecked network in which the number of passes from the network including the terminal 2 is 0, that is, a network including the terminal 2 is searched (82-3). ), The network is checked (83-1).

【0043】そして、このネットワーク中に端末2から
指定されたサービスを提供可能なサーバが存在するか否
かを調べる(83−2〜83−5)。即ち、サーバ管理
テーブル12を参照し(83−2)、当該ネットワーク
中に未チェックのサーバが存在するか否かを調べ(83
−3)、存在すればそのサーバをチェック済みとした上
で(83−4)、そのサーバで要求サービスの提供が可
能か否かを調べる(83−5)。そして、提供可能であ
れば、ステップ83−6,83−7の処理を行い、処理
を終了する。また、提供可能でなければ、当該ネットワ
ーク中の未チェックのサーバについて同様の処理を行
う。
Then, it is checked whether or not a server capable of providing the service specified by the terminal 2 exists in this network (83-2 to 83-5). That is, the server refers to the server management table 12 (83-2) and checks whether or not there is an unchecked server in the network (83-2).
-3) If the server exists, the server is checked (83-4), and it is checked whether the server can provide the requested service (83-5). If it can be provided, the processing of steps 83-6 and 83-7 is performed, and the processing ends. If it cannot be provided, the same processing is performed for an unchecked server in the network.

【0044】端末2が含まれるネットワーク中に端末2
から指定されたサービスを提供可能なサーバが1つも存
在しない場合(83−3でNO)、次は、端末2が含ま
れるネットワークからの経由数が1のネットワークの1
つに注目する(82−2〜82−6,83−1)。そし
て、このネットワーク中に端末2から指定されたサービ
スを提供可能なサーバが存在するか否かを調べる(83
−2〜83−5)。存在すれば(83−5でYES)、
ステップ83−6,83−7の処理を行い、処理を終了
する。
The terminal 2 is included in the network including the terminal 2.
If there is no server that can provide the service specified by the terminal 2 (NO in 83-3), then, the number of the servers having the number of connections from the network including the terminal 2 is 1
Attention is paid to the following (82-2 to 82-6, 83-1). Then, it is determined whether or not a server capable of providing the service specified by the terminal 2 exists in this network (83).
-2-83-5). If it exists (YES at 83-5),
The processing of steps 83-6 and 83-7 is performed, and the processing ends.

【0045】端末2が含まれるネットワークからの経由
数が1の全てのネットワーク中に端末2から指定された
サービスを提供可能なサーバが存在しなかった場合(8
3−3でNO)、次は、端末2が含まれるネットワーク
からの経由数が2のネットワークについて調べる(82
−2〜82−6,83−1)。但し、予め定義された最
大の経由数のネットワークまで調査してもサービスを提
供できるサーバが見つからなかったときは(82−6で
YES)、要求元の端末2に対してアプリケーションサ
ービスが不可能であることを通知し(82−7)、処理
を終える。
When there is no server capable of providing the service specified by the terminal 2 in all the networks having the number of passes from the network including the terminal 2 (8)
Next, a check is made for a network having two routes from the network containing the terminal 2 (82).
-2-82-6,83-1). However, if a server that can provide the service is not found even after checking the network of the maximum number of pre-defined routes (YES in 82-6), the application service cannot be provided to the requesting terminal 2. That there is is notified (82-7), and the processing is ended.

【0046】サービスを提供できるサーバを見つけたと
きに実行するステップ83−6の処理では、その見つけ
たサーバ名と、端末2の端末名と、指定されたサービス
名と、その実行に必要なネットワーク帯域およびサーバ
資源量(これらはサーバ管理テーブル12から求まる)
とを含むコネクション管理情報をコネクション管理テー
ブル13に登録する。また、次のステップ83−7で
は、要求元の端末2に対し、実際にサービスを提供する
サーバ名を含むサーバ許可通知を送り、更に、サービス
提供元となったサーバのアプリケーションプログラム部
16または33に対し、サービスを受ける端末2の端末
名や利用するサービス名などを含むサービス許可通知を
送る。
In step 83-6, which is executed when a server that can provide the service is found, the name of the found server, the terminal name of the terminal 2, the designated service name, and the network necessary for its execution Bandwidth and server resource amount (these are obtained from the server management table 12)
Is registered in the connection management table 13. In the next step 83-7, a server permission notification including the name of the server that actually provides the service is sent to the requesting terminal 2, and the application program unit 16 or 33 of the server that has provided the service is also sent. Sends a service permission notification including the terminal name of the terminal 2 receiving the service and the service name to be used.

【0047】図9は、図8のステップ83−5の処理の
一例を示すフローチャートである。この例では、まずサ
ーバ管理テーブル12を参照して当該サーバに、要求さ
れているサービス名が登録されているか否かを調べ(9
1,92)、登録されていなければサービス不可とする
(96)。要求されているサービス名が登録されていれ
ば、次に、要求元端末2から当該サーバに至るネットワ
ークの各々について、ネットワーク構成管理テーブル1
1に登録されている使用可能帯域32から、コネクショ
ン管理テーブル13に登録されているコネクションのう
ちそのネットワークを経由するコネクションに必要なネ
ットワーク帯域55を差し引くことにより、要求元端末
2から当該サーバに至るネットワークの各々についての
使用可能帯域の残量を計算し(93)、その各々のネッ
トワークの使用可能帯域の残量と、サーバ管理テーブル
12を参照して取得した当該サービスの必要帯域45と
を比較し、全てのネットワークの使用可能帯域の残量が
当該サービスの必要帯域45以上あれば(94でYE
S)、サービス可能と判定し(95)、それ以外はサー
ビス不可と判定する(96)。
FIG. 9 is a flowchart showing an example of the process of step 83-5 in FIG. In this example, first, it is determined whether the requested service name is registered in the server by referring to the server management table 12 (9).
1, 92), and if not registered, the service is disabled (96). If the requested service name has been registered, then the network configuration management table 1 is set for each of the networks from the request source terminal 2 to the server.
By subtracting the network bandwidth 55 required for the connection passing through the network among the connections registered in the connection management table 13 from the available bandwidth 32 registered in 1, the connection from the request source terminal 2 to the server concerned is obtained. The remaining available bandwidth of each network is calculated (93), and the remaining available bandwidth of each network is compared with the required bandwidth 45 of the service acquired by referring to the server management table 12. If the remaining available bandwidth of all the networks is equal to or more than the required bandwidth 45 of the service (YE at 94)
S), it is determined that the service is possible (95), and otherwise, it is determined that the service is unavailable (96).

【0048】図10は、図8のステップ83−5の処理
の別の例を示すフローチャートである。この例は図9と
異なり、更にサーバ資源量のチェックを行うようにした
ものである。まずサーバ管理テーブル12を参照して当
該サーバに要求されているサービス名が登録されている
か否かを調べ(91,92)、登録されていなければサ
ービス不可とする(96)。要求されているサービス名
が登録されていれば、次に、サーバ管理テーブル12に
登録されている当該サーバの使用可能サーバ資源量43
から、コネクション管理テーブル13に登録されている
コネクションで当該サーバに必要な資源量56を差し引
くことにより、当該サーバの使用可能資源量の残量を計
算し(101)、この使用可能資源量の残量と、サーバ
管理テーブル12を参照して取得した当該サービスの必
要資源量46とを比較し、サーバの使用可能資源量の残
量がサービスの必要資源量46より少なければ(102
でYES)、サービス不可と判定する(96)。次に、
サーバ資源量を満足していた場合、さらに要求元端末2
から当該サーバに至るネットワークの各々について、ネ
ットワーク構成管理テーブル11に登録されている使用
可能帯域32から、コネクション管理テーブル13に登
録されているコネクションのうちそのネットワークを経
由するコネクションに必要なネットワーク帯域55を差
し引くことにより、要求元端末2から当該サーバに至る
ネットワークの各々についての使用可能帯域の残量を計
算し(93)、その各々のネットワークの使用可能帯域
の残量と、サーバ管理テーブル12を参照して取得した
当該サービスの必要帯域45とを比較し、全てのネット
ワークの使用可能帯域の残量が当該サービスの必要帯域
45以上あれば(94でYES)、サービス可能と判定
し(95)、それ以外はサービス不可と判定する(9
6)。
FIG. 10 is a flowchart showing another example of the process of step 83-5 in FIG. This example differs from FIG. 9 in that the server resource amount is further checked. First, referring to the server management table 12, it is checked whether or not the service name requested for the server is registered (91, 92), and if it is not registered, the service is disabled (96). If the requested service name is registered, then the available server resource amount 43 of the server registered in the server management table 12
By subtracting the resource amount 56 required for the server from the connection registered in the connection management table 13, the remaining available resource amount of the server is calculated (101), and the remaining available resource amount is calculated. The amount is compared with the required resource amount 46 of the service acquired with reference to the server management table 12, and if the remaining available resource amount of the server is smaller than the required resource amount 46 of the service (102
YES), it is determined that the service is not possible (96). next,
If the server resource amount is satisfied, the requesting terminal 2
From the available bandwidth 32 registered in the network configuration management table 11 to the network bandwidth 55 required for connections passing through that network among the connections registered in the connection management table 13 for each of the networks from , The remaining available bandwidth of each network from the requesting terminal 2 to the server is calculated (93), and the remaining available bandwidth of each network and the server management table 12 are stored. The required bandwidth 45 of the service acquired by reference is compared with the required bandwidth 45. If the remaining available bandwidth of all the networks is equal to or greater than the required bandwidth 45 of the service (YES at 94), it is determined that the service is available (95). Otherwise, it is determined that the service is not possible (9
6).

【0049】図11は、図8のステップ83−5の処理
の更に別の例を示すフローチャートである。図9の処理
では、当該サーバに端末2から指定されたサービス名が
登録されていないとき、即ちそのサービスを実行するア
プリケーションプログラムがロードされていないときサ
ービス不可と判断したが、本例では、必要に応じてプロ
グラムをダウンロードすることにより、当該サーバによ
るサービスを可能とする。このため、本例の前提とし
て、サーバ1には全てのサービスについて、そのサービ
スを実行するアプリケーションプログラムが磁気ディス
ク等の記憶装置に記憶されている。
FIG. 11 is a flowchart showing still another example of the process of step 83-5 in FIG. In the process of FIG. 9, when the service name specified from the terminal 2 is not registered in the server, that is, when the application program for executing the service is not loaded, it is determined that the service is unavailable. By downloading the program according to the above, the service by the server is enabled. For this reason, as a premise of this example, the server 1 stores, for all services, application programs for executing the services in a storage device such as a magnetic disk.

【0050】動作にあっては、まず、要求元端末2から
当該サーバに至るネットワークの各々について、ネット
ワーク構成管理テーブル11に登録されている使用可能
帯域32から、コネクション管理テーブル13に登録さ
れているコネクションのうちそのネットワークを経由す
るコネクションに必要なネットワーク帯域55を差し引
くことにより、要求元端末2から当該サーバに至るネッ
トワークの各々についての使用可能帯域の残量を計算し
(93)、その各々のネットワークの使用可能帯域の残
量と、サーバ管理テーブル12を参照して取得した当該
サービスの必要帯域45とを比較し、全てのネットワー
クの使用可能帯域の残量が当該サービスの必要帯域45
以上あれば(94でYES)、ステップ111へ進み、
そうでなければサービス不可と判定する(96)。
In operation, first, for each of the networks from the request source terminal 2 to the server, the available bandwidth 32 registered in the network configuration management table 11 is registered in the connection management table 13. By subtracting the network bandwidth 55 required for the connection passing through the network among the connections, the remaining available bandwidth for each of the networks from the request source terminal 2 to the server is calculated (93), and each of the remaining available bandwidths is calculated. The remaining available bandwidth of the service is compared with the required bandwidth 45 of the service acquired by referring to the server management table 12, and the remaining available bandwidth of all the networks is determined as the required bandwidth 45 of the service.
If so (YES at 94), the process proceeds to step 111,
Otherwise, it is determined that the service is unavailable (96).

【0051】次に、この段階でサービス不可と判断され
なかった場合、サーバ管理テーブル12を参照して当該
サーバに要求されているサービス名が登録されているか
否かを調べ(111,112)、登録されていなけれ
ば、当該サービスに必要なアプリケーションプログラム
を当該サーバにダウンロードする(113)。このと
き、サーバ管理テーブル12のダウンロード先のサーバ
情報を更新し、アプリケーションサービス名44,必要
帯域45,必要資源46を追加する。そして、サービス
可能を返す(95)。
Next, if it is not determined at this stage that the service is unavailable, it is checked with reference to the server management table 12 whether the service name required for the server is registered (111, 112). If not registered, an application program required for the service is downloaded to the server (113). At this time, the server information of the download destination in the server management table 12 is updated, and the application service name 44, the required bandwidth 45, and the required resource 46 are added. Then, the service availability is returned (95).

【0052】図8のステップ83−5の他の処理例とし
ては、図11の処理に更に、サーバ資源量のチェックを
組み込んだ処理などが採用可能である。
As another processing example of step 83-5 in FIG. 8, a processing in which a check of a server resource amount is further incorporated into the processing of FIG. 11 can be adopted.

【0053】次に、アプリケーションプログラム部1
6,33の処理について、図12を参照して説明する。
Next, the application program unit 1
The processing of steps 6 and 33 will be described with reference to FIG.

【0054】サーバ1またはミラーサーバ3のアプリケ
ーションプログラム部16または33は、サーバ1のコ
ネクション管理部15からサービス許可通知を受けると
(121−1)、このサービス許可通知の内容をサービ
ス管理テーブル17または32に登録しておく(121
−2)。端末2からコネクション要求を受けると(12
2−1)、アプリケーションプログラム部16または3
3は、端末2と一旦コネクションを接続するが、サービ
ス管理テーブル17または32を参照して、当該端末2
とのコネクション確立によるサービス許可通知が登録さ
れていない場合には(122−2でNO)、端末2との
コネクションを切断する(122−3)。
When the application program unit 16 or 33 of the server 1 or the mirror server 3 receives the service permission notification from the connection management unit 15 of the server 1 (121-1), the contents of the service permission notification are stored in the service management table 17 or 32 (121
-2). When a connection request is received from the terminal 2 (12
2-1), application program unit 16 or 3
3 temporarily connects the connection to the terminal 2, but refers to the service management table 17 or 32 and
If the service permission notification by the connection establishment with the terminal 2 is not registered (NO in 122-2), the connection with the terminal 2 is disconnected (122-3).

【0055】他方、当該端末2とのサービスが許可され
ている場合、サービス管理テーブル17に格納されてい
るサービス許可通知にかかるサービスを提供する(12
3)。そして、そのサービスの終了後、端末2とのコネ
クションを切断し(124)、サービス管理テーブル1
7から終了したサービスにかかる情報を削除すると共
に、サーバ1のコネクション管理部15にサービス終了
通知を出す(125)。このサービス終了通知に応答し
て、コネクション管理部15は、当該サービスにかかる
コネクション情報をコネクション管理テーブル13から
削除する。なお、図12中のサービス管理テーブル更新
処理126は、サービス許可通知がありながら、実際に
は例えば或る一定時間内に端末2からのコネクション要
求がなかった場合などに実行され、サービス管理テーブ
ル17または32から該当情報を削除し、またコネクシ
ョン管理部15にサービス終了を通知する処理などが行
われる。
On the other hand, when the service with the terminal 2 is permitted, the service according to the service permission notification stored in the service management table 17 is provided (12).
3). Then, after the end of the service, the connection with the terminal 2 is disconnected (124), and the service management table 1
7 and deletes the information related to the terminated service, and issues a service termination notification to the connection management unit 15 of the server 1 (125). In response to the service end notification, the connection management unit 15 deletes connection information related to the service from the connection management table 13. Note that the service management table update processing 126 in FIG. 12 is executed when, for example, there is no connection request from the terminal 2 within a certain period of time while the service permission notification is received. Alternatively, a process of deleting the corresponding information from 32 and notifying the connection management unit 15 of the service end is performed.

【0056】以上本発明の実施例について説明したが、
本発明は以上の実施例にのみ限定されず、その他各種の
付加変更が可能である。例えば、上記実施例において
は、サーバ1にサービス管理テーブル17を設けたが、
サーバ1においては同種の情報がコネクション管理テー
ブル13に登録されているので、アプリケーションプロ
グラム部16がサーバ管理テーブル17を参照する代わ
りにコネクション管理テーブル13を参照することで、
サーバ管理テーブル17は省略することができる。ま
た、上記の実施例においてはサーバ1にもアプリケーシ
ョンサービスの提供機能を持たせたが、コネクション管
理専用のサーバとすることも可能である。
The embodiments of the present invention have been described above.
The present invention is not limited to the above embodiments, and various other additions and changes are possible. For example, in the above embodiment, the server 1 is provided with the service management table 17,
Since the same kind of information is registered in the connection management table 13 in the server 1, the application program unit 16 refers to the connection management table 13 instead of referring to the server management table 17, and
The server management table 17 can be omitted. Further, in the above embodiment, the server 1 is provided with the function of providing the application service, but it may be a server dedicated to connection management.

【0057】[0057]

【発明の効果】以上説明したように本発明によれば以下
のような効果が得られる。
As described above, according to the present invention, the following effects can be obtained.

【0058】同一のサービスを提供するサーバが複数存
在する場合に、ネットワーク帯域をより有効に活用でき
るように、割り当てるコネクションを決定することがで
きる。その理由は、利用者端末から指定されたサービス
を提供可能な複数のサーバのうち、利用者端末からのネ
ットワーク経由数が最も少ないサーバを求めているから
である。これにより、利用者にとっては、サーバのネッ
トワーク上の位置を気にすることなく、希望するアプリ
ケーションサービスを好条件で受けることができ、また
ネットワーク事業者にとっては、限られたネットワーク
帯域を有効に利用することが可能となる。
When there are a plurality of servers providing the same service, the connection to be allocated can be determined so that the network bandwidth can be used more effectively. The reason is that, among a plurality of servers that can provide the service specified by the user terminal, the server that requires the least number of network connections from the user terminal is required. As a result, users can receive desired application services under favorable conditions without worrying about the location of the server on the network, and network operators can effectively use limited network bandwidth. It is possible to do.

【0059】利用者がサーバの過負荷のためにサービス
を受けれない事態を未然に防止することができる。その
理由は、サーバの負荷状況を考慮してコネクションの確
立を管理しているためである。
It is possible to prevent a situation in which a user cannot receive a service due to an overloaded server. The reason is that connection establishment is managed in consideration of the load status of the server.

【0060】各サーバにおいて、アプリケーションプロ
グラムを必ずしも事前にロードしておく必要がなく資源
を有効に利用できるだけでなく、アプリケーションプロ
グラムの更新を容易に行うことができる。その理由は必
要に応じて特定のサーバから該当するサーバへ必要なア
プリケーションプログラムをダウンロードするからであ
る。
In each server, it is not always necessary to load the application program in advance, so that the resources can be effectively used and the application program can be easily updated. The reason is that a necessary application program is downloaded from a specific server to a corresponding server as needed.

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

【図1】本発明を適用した分散型情報サービスシステム
の一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a distributed information service system to which the present invention has been applied.

【図2】サーバおよびミラーサーバの構成例と、サー
バ,ミラーサーバおよび端末の間の情報の流れを示す図
である。
FIG. 2 is a diagram illustrating a configuration example of a server and a mirror server, and a flow of information between the server, the mirror server, and a terminal.

【図3】ネットワーク構成管理テーブルの内容例を示す
図である。
FIG. 3 is a diagram showing an example of the contents of a network configuration management table.

【図4】サーバ管理テーブルの内容例を示す図である。FIG. 4 is a diagram showing an example of the contents of a server management table.

【図5】コネクション管理テーブルの内容例を示す図で
ある。
FIG. 5 is a diagram showing an example of the contents of a connection management table.

【図6】サーバおよびミラーサーバの実行手順の概要を
示すフローチャートである。
FIG. 6 is a flowchart illustrating an outline of an execution procedure of a server and a mirror server.

【図7】登録処理部の処理例を示すフローチャートであ
る。
FIG. 7 is a flowchart illustrating a processing example of a registration processing unit.

【図8】コネクション管理部の処理例を示すフローチャ
ートである。
FIG. 8 is a flowchart illustrating a processing example of a connection management unit.

【図9】図8のステップ83−5の処理の一例を示すフ
ローチャートである。
FIG. 9 is a flowchart illustrating an example of a process of step 83-5 in FIG. 8;

【図10】図8のステップ83−5の処理の別の例を示
すフローチャートである。
FIG. 10 is a flowchart illustrating another example of the process of step 83-5 in FIG. 8;

【図11】図8のステップ83−5の処理の更に別の例
を示すフローチャートである。
FIG. 11 is a flowchart illustrating yet another example of the process of step 83-5 in FIG. 8;

【図12】アプリケーションプログラム部の処理例を示
すフローチャートである。
FIG. 12 is a flowchart illustrating a processing example of an application program unit.

【図13】従来のコネクション管理方法の説明図であ
る。
FIG. 13 is an explanatory diagram of a conventional connection management method.

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

1…サーバ 2,2−1〜2−3…端末 3,3−1,3−2…ミラーサーバ 4−1〜4−3…ネットワーク 5,6…記録媒体 11…ネットワーク構成管理テーブル 12…サーバ管理テーブル 13…コネクション管理テーブル 14…登録処理部 15…コネクション管理部 16…アプリケーションプログラム部 17…サービス管理テーブル 31…サーバ情報登録要求部 32…サービス管理テーブル 33…アプリケーションプログラム部 DESCRIPTION OF SYMBOLS 1 ... Server 2, 2-1 to 2-3 ... Terminal 3, 3-1 and 3-2 ... Mirror server 4-1 to 4-3 ... Network 5, 6 ... Recording medium 11 ... Network configuration management table 12 ... Server Management table 13 Connection management table 14 Registration processing unit 15 Connection management unit 16 Application program unit 17 Service management table 31 Server information registration request unit 32 Service management table 33 Application program unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平7−219907(JP,A) 特開 平8−185348(JP,A) 特開 平9−46367(JP,A) 特開 平10−307783(JP,A) 「MSN2.0の舞台裏:インターネ ットベースのオンラインサービスを設計 する」,MSJ,株式会社アスキー, (1997−6−18),Vol.49,p. 102−121 「WWWデータ資源検索におけるデー タマイニング手法」,情報処理学会研究 報告96−DBS−108−5,(1996−5 −23),Vol.96,No.45,p.33 −40 (58)調査した分野(Int.Cl.7,DB名) H04L 12/56 H04L 12/28 G06F 13/00 355 ────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-7-219907 (JP, A) JP-A 8-185348 (JP, A) JP-A 9-46367 (JP, A) JP-A 10-108 307783 (JP, A) "Behind the scenes of MSN 2.0: Designing Internet-based online services", MSJ, ASCII Corporation, (1997-6-18), Vol. 49, pp. 102-121, "Data Mining Techniques for WWW Data Resource Search", Information Processing Society of Japan Research Report 96-DBS-108-5, (1996-5-23), Vol. 96, No. 45, p. 33-40 (58) Fields investigated (Int. Cl. 7 , DB name) H04L 12/56 H04L 12/28 G06F 13/00 355

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数のネットワークから構成される分散
型情報サービスシステムで、ネットワークを介して接続
されるサーバと利用者端末との間に確立するコネクショ
ンを管理する方法において、 利用者端末から特定のサーバに対し、利用するサービス
を指定したサービス要求を送出する段階、 前記特定のサーバにおいて、サーバの資源の全体量から
既にコネクション確立を許可され他のサービスで必要と
する資源の量を差し引いた残りの資源量が利用者端末か
ら指定されたサービスで必要とするサーバ資源量以上で
ある複数のサーバのうち、利用者端末からのネットワー
ク経由数が最も少ないサーバを検索する段階、 該検索されたサーバと利用者端末とにコネクションの確
立によるサービス許可を通知する段階、 を含むことを特徴とするコネクション管理方法。
1. A method for managing a connection established between a server connected via a network and a user terminal in a distributed information service system comprising a plurality of networks, comprising the steps of: Sending a service request designating a service to be used to the server; in the specific server, the remaining amount obtained by subtracting the amount of resources already required to establish a connection and required for other services from the total amount of server resources Searching for a server having the least number of network connections from the user terminal among a plurality of servers whose resource amount is equal to or more than the server resource amount required for the service specified by the user terminal; Notifying the service permission by establishing a connection to the user terminal and the user terminal. Nekushon management method.
【請求項2】 複数のネットワークから構成される分散
型情報サービスシステムで、ネットワークを介して接続
されるサーバと利用者端末との間に確立するコネクショ
ンを管理する方法において、 利用者端末から特定のサーバに対し、利用するサービス
を指定したサービス要求を送出する段階、 前記特定のサーバにおいて、サーバの資源の全体量から
既にコネクション確立を許可され他のサービスで必要と
する資源の量を差し引いた残りの資源量が利用者端末か
ら指定されたサービスで必要とするサーバ資源量以上で
あり、かつ、そのサーバと前記利用者端末との間のコネ
クションが必要とする帯域がネットワーク上確保できる
複数のサーバのうち、利用者端末からのネットワーク経
由数が最も少ないサーバを検索する段階、 該検索されたサーバと利用者端末とにコネクションの確
立によるサービス許可を通知する段階、 を含むことを特徴とするコネクション管理方法。
2. A method for managing a connection established between a server connected via a network and a user terminal in a distributed information service system comprising a plurality of networks, comprising the steps of: Sending a service request designating a service to be used to the server; in the specific server, the remaining amount obtained by subtracting the amount of resources already required to establish a connection and required for other services from the total amount of server resources A plurality of servers whose resource amount is equal to or greater than the server resource amount required for the service specified by the user terminal, and in which the bandwidth required for the connection between the server and the user terminal can be secured on the network. Searching the server with the least number of user terminals via the network, A step of notifying a server and a user terminal of service permission by establishing a connection.
【請求項3】 前記検索されたサーバが、利用者端末か
ら指定されたサービスを提供するアプリケーションプロ
グラムを保有していない場合に、前記特定のサーバから
前記検索されたサーバに対して前記アプリケーションプ
ログラムをダウンロードする段階を含むことを特徴とす
る請求項1または2記載のコネクション管理方法。
3. When the searched server does not have an application program for providing a service specified by a user terminal, the specific server sends the application program to the searched server. 3. The connection management method according to claim 1, further comprising a step of downloading.
【請求項4】 複数のネットワークから構成される分散
型情報サービスシステムで、ネットワークを介して接続
されるサーバと利用者端末との間に確立するコネクショ
ンを管理する方法において、 利用者端末から特定のサーバに対し、利用するサービス
を指定したサービス要求を送出する段階、 前記特定のサーバにおいて、利用者端末から指定された
サービスを提供するアプリケーションプログラムを備え
るサーバであって、サーバの資源の全体量から既にコネ
クション確立を許可され他のサービスで必要とする資源
の量を差し引いた残りの資源量が利用者端末から指定さ
れたサービスで必要とするサーバ資源量以上であり、か
つ、そのサーバと前記利用者端末との間のコネクション
が必要とする帯域がネットワーク上確保できる複数のサ
ーバのうち、利用者端末からのネットワーク経由数が最
も少ないサーバを検索する段階、 該検索されたサーバと利用者端末とにコネクションの確
立によるサービス許可を通知する段階、 を含むことを特徴とするコネクション管理方法。
4. A method for managing a connection established between a server connected via a network and a user terminal in a distributed information service system comprising a plurality of networks, comprising the steps of: Sending a service request designating a service to be used to the server; wherein, in the specific server, a server including an application program for providing a service designated by a user terminal, wherein the server includes: The remaining resource amount after the connection establishment is already permitted and the amount of resources required for other services is subtracted is equal to or more than the server resource amount required for the service specified by the user terminal, and the server and the use Services that can secure the bandwidth required by the connection with the A step of retrieving a server having the least number of connections from the user terminal via the network, and a step of notifying the retrieved server and the user terminal of service permission by establishing a connection. Management method.
【請求項5】 ネットワークを介して接続されるサーバ
と利用者端末との間に確立するコネクションを管理する
情報処理装置に、 利用者端末から特定のサーバに対し、利用するサービス
を指定したサービス要求を送出する段階、 前記特定のサーバにおいて、サーバの資源の全体量から
既にコネクション確立を許可され他のサービスで必要と
する資源の量を差し引いた残りの資源量が利用者端末か
ら指定されたサービスで必要とするサーバ資源量以上で
ある複数のサーバのうち、利用者端末からのネットワー
ク経由数が最も少ないサーバを検索する段階、 該検索されたサーバと利用者端末とにコネクションの確
立によるサービス許可を通知する段階、 を実行させるプログラムを記録したコンピュータ読み取
り可能な記録媒体。
5. A service request which designates a service to be used from a user terminal to a specific server to an information processing apparatus for managing a connection established between a server connected via a network and the user terminal. A service in which, at the specific server, the remaining resource amount obtained by subtracting the amount of resources already required to establish a connection from the total amount of resources of the server and required by other services is specified by the user terminal. Searching for the server with the least number of network connections from the user terminal among a plurality of servers that are equal to or more than the server resource amount required in the step, and permitting service by establishing a connection between the searched server and the user terminal Notifying, a computer-readable recording medium recording a program for executing the program.
【請求項6】 ネットワークを介して接続されるサーバ
と利用者端末との間に確立するコネクションを管理する
情報処理装置に、 利用者端末から特定のサーバに対し、利用するサービス
を指定したサービス要求を送出する段階、 前記特定のサーバにおいて、サーバの資源の全体量から
既にコネクション確立を許可され他のサービスで必要と
する資源の量を差し引いた残りの資源量が利用者端末か
ら指定されたサービスで必要とするサーバ資源量以上で
あり、かつ、そのサーバと前記利用者端末との間のコネ
クションが必要とする帯域がネットワーク上確保できる
複数のサーバのうち、利用者端末からのネットワーク経
由数が最も少ないサーバを検索する段階、 該検索されたサーバと利用者端末とにコネクションの確
立によるサービス許可を通知する段階、 を実行させるプログラムを記録したコンピュータ読み取
り可能な記録媒体。
6. A service request specifying a service to be used from a user terminal to a specific server to an information processing apparatus for managing a connection established between a server connected via a network and the user terminal. A service in which, at the specific server, the remaining resource amount obtained by subtracting the amount of resources already required to establish a connection from the total amount of resources of the server and required by other services is specified by the user terminal. Out of a plurality of servers that can secure the bandwidth required by the connection between the server and the user terminal on the network, the number of which is greater than or equal to the server resource amount required in Searching for the least number of servers, passing the service permission by establishing a connection between the searched server and the user terminal. Computer readable recording medium recording a program for executing step, the to.
JP22023297A 1997-07-31 1997-07-31 Connection management method and computer-readable recording medium Expired - Fee Related JP3178380B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22023297A JP3178380B2 (en) 1997-07-31 1997-07-31 Connection management method and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22023297A JP3178380B2 (en) 1997-07-31 1997-07-31 Connection management method and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JPH1155321A JPH1155321A (en) 1999-02-26
JP3178380B2 true JP3178380B2 (en) 2001-06-18

Family

ID=16747965

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22023297A Expired - Fee Related JP3178380B2 (en) 1997-07-31 1997-07-31 Connection management method and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP3178380B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100358157B1 (en) * 1999-12-24 2002-10-25 한국전자통신연구원 Apparatus And Method For QoS Management
WO2001077783A2 (en) * 2000-04-07 2001-10-18 Movielink, Llc System and process for delivery of content over a network
US7209941B2 (en) 2000-05-11 2007-04-24 Fujitsu Limited System and method for distributing contents from a child server based on a client's current location
JP3688982B2 (en) * 2000-07-05 2005-08-31 日本電信電話株式会社 Content delivery control system and method
JP4372098B2 (en) 2003-07-09 2009-11-25 富士通株式会社 Optimal routing method for a specific service in a network and server and routing node used in the network
KR100810757B1 (en) 2006-03-31 2008-03-10 엔에이치엔(주) Game Broadcasting System Using Server Mirroring
JP4941015B2 (en) * 2007-03-09 2012-05-30 コニカミノルタホールディングス株式会社 Distributed information sharing server system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
「MSN2.0の舞台裏:インターネットベースのオンラインサービスを設計する」,MSJ,株式会社アスキー,(1997−6−18),Vol.49,p.102−121
「WWWデータ資源検索におけるデータマイニング手法」,情報処理学会研究報告96−DBS−108−5,(1996−5−23),Vol.96,No.45,p.33−40

Also Published As

Publication number Publication date
JPH1155321A (en) 1999-02-26

Similar Documents

Publication Publication Date Title
US6023722A (en) High-availability WWW computer server system with pull-based load balancing using a messaging and queuing unit in front of back-end servers
US7464399B2 (en) Portable device and a method for accessing a computer resource of a temporary registered user
US8001327B2 (en) Method and apparatus for managing placement of data in a tiered storage system
JP4205323B2 (en) Distribution system, distribution server and distribution method, distribution program
JP2002163241A (en) Client server system
JP2001022678A (en) Internet mail distribution agent with automatic cache storage for annex-to-file
CN103986741A (en) Cloud data system, cloud data center, and resource management method of the cloud data center
US20010016915A1 (en) Access request processing method and device
JP3487425B2 (en) Congestion control method and method
JP3178380B2 (en) Connection management method and computer-readable recording medium
US8014398B2 (en) Method and apparatus for managing delivery of stream data
US8782372B2 (en) Method, system and program product for storing downloadable content on a plurality of enterprise storage system (ESS) cells
CN113517985A (en) File data processing method and device, electronic equipment and computer readable medium
JP2003131960A (en) Data relay method
EP1353472A1 (en) Apparatus and system for communication
JP2002183019A (en) Cache device
CN110347656A (en) The management method and device requested in document storage system
JP2004302564A (en) Name service providing method, execution device of the same, and processing program of the same
JP4119879B2 (en) Access request processing method and apparatus
JP2003051846A (en) Band control method, network service system, contents server device, band management device and contents management device
JP3736680B2 (en) Access control apparatus and computer program
JP4046562B2 (en) Load balancing method
JP6911658B2 (en) Terminal equipment, data acquisition system, data acquisition method, and program
JP2003157197A (en) Download method, download help method, and computer
JPH0454634A (en) Software resources distribution management system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080413

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090413

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100413

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110413

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120413

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20130413

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20140413

Year of fee payment: 13

LAPS Cancellation because of no payment of annual fees