JP2001202318A - Data distribution system - Google Patents
Data distribution systemInfo
- Publication number
- JP2001202318A JP2001202318A JP2000014337A JP2000014337A JP2001202318A JP 2001202318 A JP2001202318 A JP 2001202318A JP 2000014337 A JP2000014337 A JP 2000014337A JP 2000014337 A JP2000014337 A JP 2000014337A JP 2001202318 A JP2001202318 A JP 2001202318A
- Authority
- JP
- Japan
- Prior art keywords
- usage rate
- internal memory
- data distribution
- server
- client device
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000009826 distribution Methods 0.000 title abstract description 127
- 230000015654 memory Effects 0.000 claims abstract description 74
- 230000005540 biological transmission Effects 0.000 claims abstract description 22
- 238000012545 processing Methods 0.000 claims description 25
- 230000004044 response Effects 0.000 claims description 16
- 238000007726 management method Methods 0.000 description 26
- 238000000034 method Methods 0.000 description 19
- 238000011156 evaluation Methods 0.000 description 16
- 101100048435 Caenorhabditis elegans unc-18 gene Proteins 0.000 description 12
- 230000006870 function Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 239000013256 coordination polymer Substances 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Small-Scale Networks (AREA)
- Computer And Data Communications (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
(57)【要約】
【課題】 管理装置が複数のサーバ装置の中から選択し
たサーバ装置によりデータをネットワークを介してクラ
イアント装置へ送信させるデータ配信システムで、各サ
ーバ装置の正確な負荷を用いてサーバ装置の負荷を自動
的に分散させる。
【解決手段】 各サーバ装置S1〜SNではCPUが内
部メモリを用いて行う送信処理によりデータをクライア
ント装置4へ送信する送信手段を備え、通知手段がCP
U使用率及び内部メモリ使用率を所定のタイミングで管
理装置1に通知する。管理装置では管理手段が各サーバ
装置から通知されるCPU使用率及び内部メモリ使用率
を管理し、送信制御手段がクライアント装置からネット
ワークを介して送信される要求に応じて、CPU使用率
及び内部メモリ使用率を用いて決定される負荷が小さい
サーバ装置によりデータをクライアント装置へ送信させ
る。
(57) [Summary] [Problem] To provide a data distribution system in which a management device transmits data to a client device via a network by a server device selected from a plurality of server devices, using an accurate load of each server device. Automatically distribute the load on the server device. Each of the server devices (S1 to SN) includes a transmission unit for transmitting data to a client device (4) by a transmission process performed by a CPU using an internal memory.
The management device 1 is notified of the U usage rate and the internal memory usage rate at a predetermined timing. In the management device, the management unit manages the CPU usage rate and the internal memory usage rate notified from each server device, and the transmission control unit responds to a request transmitted from the client device via the network by using the CPU usage rate and the internal memory usage rate. The data is transmitted to the client device by the server device having a small load determined using the usage rate.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、管理装置が複数の
サーバ装置の中から選択したサーバ装置によりデータを
ネットワークを介してクライアント装置へ送信させるデ
ータ配信システムやこのような管理装置に関し、特に、
各サーバ装置のCPUの使用率及び内部メモリの使用率
を用いてサーバ装置の負荷を自動的に分散させる技術に
関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data distribution system in which a management device transmits data to a client device via a network by a server device selected from a plurality of server devices, and to such a management device.
The present invention relates to a technique for automatically distributing the load on a server device using the CPU usage ratio and the internal memory usage ratio of each server device.
【0002】[0002]
【従来の技術】例えばインターネットのデータ配信シス
テムでは、ユーザ側のクライアント装置と、サービスデ
ータ供給側のサーバ装置とを設け、クライアント装置か
らインターネットを介して送信される要求に応じて、サ
ーバ装置からデータ(サービスデータ)をインターネッ
トを介してクライアント装置へ送信することが行われ
る。2. Description of the Related Art For example, in a data distribution system of the Internet, a client device on the user side and a server device on the service data supply side are provided, and data is transmitted from the server device in response to a request transmitted from the client device via the Internet. (Service Data) is transmitted to the client device via the Internet.
【0003】ところで、従来のデータ配信システムでは
サーバ装置が1台しか設けられていなかったため、例え
ばサーバ装置へのアクセスが失敗した場合には、ユーザ
側がアクセスのリトライ等を行ってHTMLデータ等の
表示要求を再度発行する必要があった。このため、例え
ばサーバ装置へのアクセスが混雑等して当該サーバ装置
にかかる負荷が高いときには、ユーザ側でアクセス処理
のタイムアウトが頻発してしまうといった問題があっ
た。In the conventional data distribution system, only one server device is provided. For example, when access to the server device fails, the user performs access retry or the like to display HTML data or the like. The request had to be reissued. For this reason, for example, when access to the server device is congested or the like and the load on the server device is high, there is a problem that the timeout of the access process frequently occurs on the user side.
【0004】このような問題を回避するものとして、例
えばサーバ装置と同一のデータを格納したミラーサーバ
装置を設けたデータ配信システムが知られている。この
データ配信システムでは、サーバ装置とミラーサーバ装
置との中で負荷の軽い方へユーザ側がアクセス先を切り
替えることにより、ユーザ側は負荷の軽い方の装置(サ
ーバ装置或いはミラーサーバ装置)へアクセスして当該
装置からデータを受信することができ、これにより、サ
ーバ装置とミラーサーバ装置とで負荷を分散させること
ができる。To avoid such a problem, there is known a data distribution system provided with a mirror server device storing the same data as the server device, for example. In this data distribution system, the user switches the access destination to the one with the lightest load between the server device and the mirror server device, so that the user accesses the device with the lightest load (server device or mirror server device). Thus, data can be received from the device, whereby the load can be distributed between the server device and the mirror server device.
【0005】なお、図5には、上記のようなサーバ(メ
インサーバ)装置17及びミラーサーバ装置18をイー
サネット16を介して接続して設けたインターネットの
データ配信システムの一例を示してある。このデータ配
信システムでは、クライアント装置11がモデム12等
及びプロバイダ13等を介してインターネット14と接
続されており、また、サーバ装置17及びミラーサーバ
装置18がイーサネット16及びルータ(又は、プロキ
シサーバ)15を介してインターネット14と接続され
ている。[0005] FIG. 5 shows an example of an Internet data distribution system provided by connecting the server (main server) device 17 and the mirror server device 18 via the Ethernet 16 as described above. In this data distribution system, a client device 11 is connected to the Internet 14 via a modem 12 and a provider 13 and the like, and a server device 17 and a mirror server device 18 are connected to an Ethernet 16 and a router (or proxy server) 15. Is connected to the Internet 14 through the Internet.
【0006】しかしながら、上記のようにミラーサーバ
装置を設けたデータ配信システムでは、ユーザ側は実際
に各装置(サーバ装置或いはミラーサーバ装置)へアク
セスしてみないと各装置の負荷状況を把握することがで
きず、また、ユーザ側がアクセスを希望する装置(サー
バ装置或いはミラーサーバ装置)に応じてアクセス先の
アドレスを変更しなければならないといった煩わしさが
あった。However, in the data distribution system provided with the mirror server device as described above, the user grasps the load condition of each device unless the user actually accesses each device (server device or mirror server device). In addition, there is a trouble that the user has to change the address of the access destination according to the device (server device or mirror server device) to which the user desires access.
【0007】このような煩わしさを解消するものとし
て、例えば特開平10−27148号公報(以下で、文
献1と言う)に記載されたインターネット用サーバシス
テムでは、管理サーバがサーバに対して定期的に送信す
る監視コマンドの応答時間に応じて負荷レベルを設定
し、最も負荷の軽いサーバを選択することを行う。In order to solve such an inconvenience, for example, in an Internet server system described in Japanese Patent Application Laid-Open No. Hei 10-27148 (hereinafter referred to as Document 1), a management server periodically sends a request to a server. The load level is set according to the response time of the monitoring command sent to the server, and the server with the lightest load is selected.
【0008】また、例えば特開平10−105500号
公報(以下で、文献2と言う)に記載されたネットワー
ク・サーバの動的再構成では、複数のサーバを設けたク
ライアントサーバシステムにおいて、各サーバは単位時
間当たりにサービスされたアクセス(要求)の回数の形
で処理負荷を維持しており、或るサーバの処理負荷が過
剰になった場合に当該サーバがクライアント要求を他の
サーバに対してリダイレクトすることを行う。In a dynamic reconfiguration of a network server described in, for example, Japanese Patent Application Laid-Open No. 10-105500 (hereinafter referred to as Document 2), in a client server system having a plurality of servers, each server The processing load is maintained in the form of the number of accesses (requests) serviced per unit time, and when a processing load of one server becomes excessive, the server redirects a client request to another server. Do what you want.
【0009】また、各サーバの負荷を監視するものでは
ないが、例えば特開平11−143804号公報に記載
されたマルチ・コンピュータ・サーバのためのネットワ
ーク負荷均衡化を紹介しておく。このマルチ・コンピュ
ータ・サーバのためのネットワーク負荷均衡化では、メ
ッセージ・ディスパッチャがネットワーク負荷を表すパ
ラメータ(例えばパケット長の累積カウントおよび/ま
たは1秒当たりの平均パケット数)に応答して、クライ
アントからの要求をディスパッチすべきサーバを複数の
サーバの中から決定することを行う。Although the load of each server is not monitored, for example, a network load balancing for a multi-computer server described in Japanese Patent Application Laid-Open No. 11-143804 will be introduced. In this network load balancing for a multi-computer server, the message dispatcher responds to parameters representative of network load (eg, cumulative count of packet length and / or average number of packets per second) from the client. It determines which server to dispatch the request from among the plurality of servers.
【0010】[0010]
【発明が解決しようとする課題】しかしながら、上記の
ような従来のデータ配信システムでは、複数のサーバ装
置を管理する管理装置が各サーバ装置の実際の負荷を正
確に検出することができないため、サーバ装置の負荷分
散の効果が十分に得られないといった不具合があった。However, in the conventional data distribution system as described above, the management device that manages a plurality of server devices cannot accurately detect the actual load of each server device. There was a problem that the effect of dispersing the load of the device could not be sufficiently obtained.
【0011】例えば上記文献1に記載されたインターネ
ット用サーバシステムのように応答時間から負荷レベル
を設定する仕方では、一例として管理サーバとサーバと
を接続するLAN(Local Area Network)の混み具合等
によっても応答時間が変化してしまうといった問題があ
り、各サーバの負荷レベルを正確に検出することはでき
なかった。また、例えば上記文献2に記載されたクライ
アントサーバシステムのような形で処理負荷を維持する
仕方においても、同様に、各サーバに備えられたCPU
等の実際の負荷と一致する処理負荷が必ずしも検出され
ないといった問題があり、また、このシステムでは管理
サーバが設けられずにサーバ間でのリダイレクションが
行われるため、データ配信処理に遅延が生じ易いといっ
た問題があった。For example, in the method of setting the load level from the response time as in the Internet server system described in the above-mentioned document 1, for example, depending on the degree of congestion of the LAN (Local Area Network) connecting the management server and the server. However, there is a problem that the response time changes, and the load level of each server cannot be accurately detected. Also, for example, in a method of maintaining the processing load in the form of a client server system described in the above-mentioned document 2, similarly, the CPU provided in each server
However, there is a problem that a processing load that matches the actual load, such as the processing load, is not always detected. In addition, in this system, since a management server is not provided and redirection is performed between servers, a delay is likely to occur in data distribution processing. There was a problem.
【0012】本発明は、このような従来の課題を解決す
るためになされたもので、管理装置が複数のサーバ装置
の中から選択したサーバ装置によりデータをネットワー
クを介してクライアント装置へ送信させるに際して、各
サーバ装置のCPU及びメモリの正確な負荷に基づいて
サーバ装置の負荷を分散させることができるデータ配信
システムや、このような管理装置を提供することを目的
とする。The present invention has been made in order to solve such a conventional problem. When a management apparatus transmits data to a client apparatus via a network by a server apparatus selected from a plurality of server apparatuses. It is an object of the present invention to provide a data distribution system capable of distributing a load on a server device based on an accurate load on a CPU and a memory of each server device, and to provide such a management device.
【0013】[0013]
【課題を解決するための手段】上記目的を達成するた
め、本発明に係るデータ配信システムでは、次のように
して、クライアント装置からネットワークを介して管理
装置へ送信される要求に応じて、管理装置が複数のサー
バ装置の中から選択したサーバ装置によりデータをネッ
トワークを介してクライアント装置へ送信させる。In order to achieve the above object, a data distribution system according to the present invention manages a data in response to a request transmitted from a client device to a management device via a network as follows. The device causes the server device selected from the plurality of server devices to transmit data to the client device via the network.
【0014】すなわち、各サーバ装置では、CPUが内
部メモリを用いて行う送信処理によりデータをネットワ
ークを介してクライアント装置へ送信する送信手段を備
え、通知手段がCPUの使用率及び内部メモリの使用率
を所定のタイミングで管理装置に通知する一方、管理装
置では、管理手段が各サーバ装置から通知されるCPU
の使用率及び内部メモリの使用率を管理し、送信制御手
段がクライアント装置から送信される要求に応じて、C
PUの使用率及び内部メモリの使用率を用いて決定され
る負荷が小さいサーバ装置によりデータをクライアント
装置へ送信させる。That is, each server device has transmission means for transmitting data to the client device via the network by a transmission process performed by the CPU using the internal memory, and the notifying means uses the CPU usage rate and the internal memory usage rate. Is notified to the management device at a predetermined timing. On the management device, the management unit
And the use rate of the internal memory are managed, and the transmission control means responds to a request transmitted from the client device, and
Data is transmitted to the client device by a server device with a small load determined using the PU usage ratio and the internal memory usage ratio.
【0015】従って、各サーバ装置に備えられたCPU
の使用率及び内部メモリの使用率が管理されて、これら
を用いて決定される負荷に基づいてデータ送信を行うサ
ーバ装置が選択されるため、各サーバ装置の実際の負荷
と一致する正確な負荷に基づいてサーバ装置の負荷を分
散させることができる。なお、本発明では、このような
データ配信システムばかりでなく、上記のような管理手
段や送信制御手段を備えた管理装置も提供する。Therefore, the CPU provided in each server device
The usage rate of the server and the usage rate of the internal memory are managed, and the server apparatus that performs data transmission is selected based on the load determined using these. Therefore, an accurate load that matches the actual load of each server apparatus is selected. , The load on the server device can be distributed. The present invention provides not only such a data distribution system, but also a management device having the above-described management means and transmission control means.
【0016】[0016]
【発明の実施の形態】本発明に係る一実施例を図面を参
照して説明する。なお、本例では、本発明に係るデータ
配信システムと本発明に係る管理装置とをまとめて説明
する。図1には、本発明に係るデータ配信システムの概
略的な構成例を示してあり、このデータ配信システムに
は、例えばコンピュータ等から構成された代表ポート部
1と、同様にコンピュータ等から構成された複数(本例
では、N台)のサービスデータ配信部S1〜SNと、こ
れら複数のサービスデータ配信部S1〜SN同士を接続
するとともにこれら複数のサービスデータ配信部S1〜
SNと代表ポート部1とを接続するLAN2とが設けら
れている。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment according to the present invention will be described with reference to the drawings. In this example, the data distribution system according to the present invention and the management device according to the present invention will be described together. FIG. 1 shows a schematic configuration example of a data distribution system according to the present invention. This data distribution system includes, for example, a representative port unit 1 composed of a computer and the like and a computer and the like as well. The plurality of (in this example, N) service data distribution units S1 to SN are connected to each other, and the plurality of service data distribution units S1 to SN are connected to each other.
A LAN 2 for connecting the SN and the representative port unit 1 is provided.
【0017】また、同図には、例えばコンピュータ等か
ら構成されたクライアント装置4や、代表ポート部1と
クライアント装置4とを接続するインターネット3を示
してあり、本例では、複数のサービスデータ配信部S1
〜SNとクライアント装置4ともLAN2やインターネ
ット3を介して接続されている。なお、同図では、1つ
のクライアント装置4のみを示したが、本例では、多数
のクライアント装置がインターネット3に接続されてい
る。FIG. 1 shows a client device 4 composed of, for example, a computer and the Internet 3 connecting the representative port unit 1 and the client device 4. In this example, a plurality of service data distributions are provided. Section S1
SN and the client device 4 are also connected via the LAN 2 and the Internet 3. Although only one client device 4 is shown in FIG. 1, many client devices are connected to the Internet 3 in this example.
【0018】ここで、代表ポート部1は本発明に言う管
理装置の一実施例に相当し、サービスデータ配信部S1
〜SNは本発明に言うサーバ装置の一実施例に相当し、
クライアント装置4は本発明に言うクライアント装置の
一実施例に相当する。また、代表ポート部1や各サービ
スデータ配信部S1〜SNやクライアント装置4では、
それぞれに備えられたCPUが内部メモリを用いて各種
のアプリケーションプログラムを起動して実行すること
により、当該プログラムに対応した各種の処理を実現す
る。Here, the representative port unit 1 corresponds to an embodiment of the management device according to the present invention, and the service data distribution unit S1
To SN correspond to an embodiment of the server device according to the present invention,
The client device 4 corresponds to an embodiment of the client device according to the present invention. In the representative port unit 1, the service data distribution units S1 to SN, and the client device 4,
The respective CPUs activate and execute various application programs using the internal memory, thereby realizing various processes corresponding to the programs.
【0019】まず、上記したクライアント装置4や上記
した代表ポート部1や上記した各サービスデータ配信部
S1〜SNに備えられた機能を概略的に説明する。すな
わち、クライアント装置4は、例えばインターネット3
上のデータを閲覧するためのソフトウエアであるブラウ
ザを備えており、インターネット3を介して代表ポート
部1へアクセスして、自己の表示画面上への表示を希望
するデータを要求する信号(表示要求)を代表ポート部
1へ送信する機能を有している。また、クライアント装
置4は、サービスデータ配信部S1〜SNからLAN2
やインターネット3を介して送信される表示データを受
信し、当該表示データを自己の表示画面上に表示出力す
る機能を有している。なお、表示要求は、例えばクライ
アント装置4を操作するユーザからの指示により発信さ
せられる。First, the functions provided in the client device 4, the representative port unit 1, and the service data distribution units S1 to SN will be schematically described. That is, the client device 4 is, for example, the Internet 3
It has a browser which is software for browsing the above data, accesses the representative port unit 1 via the Internet 3, and requests a signal (display) for requesting data to be displayed on its own display screen. Request) to the representative port unit 1. In addition, the client device 4 transmits the service data from the service data distribution units S1 to SN to the LAN2.
And a function of receiving display data transmitted via the Internet 3 and displaying the display data on its own display screen. The display request is transmitted, for example, according to an instruction from a user who operates the client device 4.
【0020】また、代表ポート部1は、クライアント装
置4からのアクセスを受け付ける窓口となっており、各
サービスデータ配信部S1〜SNから通知されるマシン
負荷情報に基づいて各サービスデータ配信部S1〜SN
の負荷を監視する機能を有しているとともに、監視して
いる各サービスデータ配信部S1〜SNの負荷状況に基
づいて負荷が小さいサービスデータ配信部S1〜SNを
選択することにより、クライアント装置4からのアクセ
ス(表示要求)を各サービスデータ配信部S1〜SNに
振り分ける機能を有している。The representative port unit 1 serves as a window for receiving access from the client device 4, and based on the machine load information notified from each of the service data distribution units S1 to SN, each of the service data distribution units S1 to S1. SN
The client device 4 has a function of monitoring the load of the client device 4 by selecting the service data distribution units S1 to SN with a small load based on the load status of the monitored service data distribution units S1 to SN. Has the function of distributing the access (display request) from the service data distribution units S1 to SN.
【0021】また、各サービスデータ配信部S1〜SN
は、クライアント装置4からのアクセス(表示要求)に
応じて当該クライアント装置4へ供給するための種々な
データ(サービスデータ)を格納した外部メモリを備え
ており、クライアント装置4からの表示要求に応じた表
示データ(例えばHTMLデータ)をLAN2やインタ
ーネット3を介して当該クライアント装置4へ送信する
機能を有している。ここで、本例では、各サービスデー
タ配信部S1〜SNのいずれもが同一の表示データをク
ライアント装置4へ供給することができる構成となって
いる。また、上述したように、本例では、クライアント
装置4からの表示要求は代表ポート部1を介して各サー
ビスデータ配信部S1〜SNへ伝送される。Each of the service data distribution units S1 to SN
Has an external memory storing various data (service data) to be supplied to the client device 4 in response to an access (display request) from the client device 4, and responds to a display request from the client device 4. It has a function of transmitting the display data (for example, HTML data) to the client device 4 via the LAN 2 or the Internet 3. Here, in the present example, each of the service data distribution units S1 to SN can supply the same display data to the client device 4. Further, as described above, in this example, the display request from the client device 4 is transmitted to the service data distribution units S1 to SN via the representative port unit 1.
【0022】また、各サービスデータ配信部S1〜SN
は、自己に備えられたCPUの使用率や内部メモリの使
用率に関する情報(マシン負荷情報)を例えば所定の期
間(一定の時間間隔)毎にLAN2を介して代表ポート
部1に通知する機能を有している。ここで、CPUの使
用率とは、例えばCPUが有する処理能力の内で実際に
利用されている処理能力の割合を示しており、具体的に
は、例えばCPUが単位時間当たりに実行することが可
能な最大のプロセス数の内で実際に実行されているプロ
セス数の割合を示す。また、内部メモリの使用率とは、
例えば内部メモリが有する記憶容量の内で実際に利用さ
れている記憶容量の割合を示しており、具体的には、例
えば内部メモリが記憶することが可能な最大のデータ量
の内で実際に記憶されているデータ量の割合を示す。Each of the service data distribution units S1 to SN
Has a function of notifying the representative port unit 1 via the LAN 2 of information (machine load information) on the usage rate of the CPU provided therein and the usage rate of the internal memory, for example, at predetermined time intervals (fixed time intervals). Have. Here, the CPU usage rate indicates, for example, the ratio of the processing capacity actually used in the processing capacity of the CPU, and specifically, for example, the CPU execution rate per unit time. Shows the percentage of processes that are actually running out of the maximum possible number of processes. Also, the internal memory usage rate is
For example, it indicates the ratio of the storage capacity actually used in the storage capacity of the internal memory. Specifically, for example, the storage capacity is actually stored within the maximum data amount that can be stored in the internal memory. Shows the percentage of the data amount that has been used.
【0023】次に、図2を参照して、上記した代表ポー
ト部1や上記した各サービスデータ配信部S1〜SNに
より行われる負荷分散処理の具体例を示す。なお、同図
には、本例の負荷分散処理に関して、各サービスデータ
配信部S1〜SNにより行われる処理T1〜T4や代表
ポート部1により行われる処理T11〜T13を概念的
に示してある。また、本例では各サービスデータ配信部
S1〜SNは同様な構成を有して同様な処理を行うた
め、同図では、1つのサービスデータ配信部S1により
行われる処理のみについて符号T1〜T4を付してあ
る。Next, referring to FIG. 2, a specific example of the load distribution processing performed by the above-described representative port unit 1 and the above-described service data distribution units S1 to SN will be described. FIG. 3 conceptually shows processes T1 to T4 performed by the service data distribution units S1 to SN and processes T11 to T13 performed by the representative port unit 1 with respect to the load distribution process of the present example. Further, in this example, since the service data distribution units S1 to SN have the same configuration and perform the same processing, in FIG. 3, only the processing performed by one service data distribution unit S1 is denoted by T1 to T4. It is attached.
【0024】まず、各サービスデータ配信部S1〜SN
によりマシン負荷情報を取得して当該マシン負荷情報を
代表ポート部1に通知する処理の具体例を示す。すなわ
ち、各サービスデータ配信部S1〜SNでは、例えば所
定の期間毎に自己に備えられたCPUの使用率や内部メ
モリの使用率をマシン負荷情報として取得し(処理T
1)、当該マシン負荷情報を記憶等して管理するととも
に(処理T2)、当該マシン負荷情報をLAN2を介し
て代表ポート部1へ送信することで当該マシン負荷情報
を代表ポート部1に通知する(処理T3)。First, the service data distribution units S1 to SN
5 shows a specific example of processing for acquiring machine load information and notifying the representative port unit 1 of the machine load information. That is, each of the service data distribution units S1 to SN acquires, for example, the usage rate of the CPU provided therein and the usage rate of the internal memory as machine load information at predetermined intervals (processing T).
1) The machine load information is stored and managed (process T2), and the machine load information is transmitted to the representative port unit 1 via the LAN 2 to notify the representative port unit 1 of the machine load information. (Process T3).
【0025】次に、代表ポート部1により各サービスデ
ータ配信部S1〜SNのマシン負荷情報を管理して、ク
ライアント装置4からの表示要求を各サービスデータ配
信部S1〜SNに振り分ける処理の具体例を示す。すな
わち、代表ポート部1では、各サービスデータ配信部S
1〜SNから送信されるマシン負荷情報を受信し、受信
した各サービスデータ配信部S1〜SNのマシン負荷情
報(すなわち、CPUの使用率や内部メモリの使用率)
を接続テーブルに格納して管理する(処理T11)。こ
こで、接続テーブルは、例えば代表ポート部1により作
成されて当該代表ポート部1のメモリに保持されてお
り、上述のように各サービスデータ配信部S1〜SNの
マシン負荷情報を格納する(処理T12)。Next, a specific example of processing in which the representative port unit 1 manages the machine load information of each service data distribution unit S1 to SN and distributes a display request from the client device 4 to each service data distribution unit S1 to SN. Is shown. That is, in the representative port unit 1, each service data distribution unit S
1 to SN, receives the machine load information transmitted from each of the service data distribution units S1 to SN, and receives the received machine load information (that is, the CPU usage rate and the internal memory usage rate).
Is stored in the connection table and managed (process T11). Here, the connection table is created by, for example, the representative port unit 1 and held in the memory of the representative port unit 1, and stores the machine load information of each of the service data distribution units S1 to SN as described above (processing T12).
【0026】また、代表ポート部1では、インターネッ
ト3を介してクライアント装置4からのアクセスがあっ
た場合には、例えば接続テーブルに格納された各サービ
スデータ配信部S1〜SNのマシン負荷情報を検出し、
当該マシン負荷情報を用いて決定される負荷が最も小さ
いサービスデータ配信部S1〜SNを選択して、選択し
たサービスデータ配信部S1〜SNへ当該クライアント
装置4からの表示要求をLAN2を介して送信(転送)
することにより、クライアント装置4からのアクセスを
振り分ける(処理T13)。When there is an access from the client device 4 via the Internet 3, the representative port unit 1 detects the machine load information of each of the service data distribution units S1 to SN stored in the connection table, for example. And
The service data distribution units S1 to SN with the smallest load determined using the machine load information are selected, and a display request from the client device 4 is transmitted to the selected service data distribution units S1 to SN via the LAN2. (transfer)
Then, the access from the client device 4 is distributed (process T13).
【0027】ここで、本例の代表ポート部1が各サービ
スデータ配信部S1〜SNのマシン負荷情報を用いて負
荷が最も小さいサービスデータ配信部S1〜SNを選択
する仕方の具体例を示す。すなわち、本例の代表ポート
部1では、例えば常駐形のアプリケーションプログラム
を実行することで、上記のような負荷分散管理処理等や
アクセス振り分け処理(処理T11〜処理T13)を行
っており、図3に示すCPU使用率の点数表や図4に示
す内部メモリ使用率の点数表を参照して、各サービスデ
ータ配信部S1〜SNの負荷分散評価値を算出する。Here, a specific example of how the representative port unit 1 of the present embodiment selects the service data distribution units S1 to SN with the smallest load using the machine load information of each service data distribution unit S1 to SN will be described. That is, the representative port unit 1 of the present example executes the above-described load distribution management processing and the like and the access distribution processing (processing T11 to processing T13) by executing a resident application program, for example. The load distribution evaluation value of each of the service data distribution units S1 to SN is calculated with reference to the score table of the CPU usage rate shown in FIG. 4 and the score table of the internal memory usage rate shown in FIG.
【0028】上記図3に示したCPU使用率の点数表は
例えば代表ポート部1のメモリに格納されており、この
点数表には、複数種類のCPU(本例では、“Pentium1
00MH”、“Pentium133MH”、“PentiumII160MH”、“Pe
ntiumII233MH”、“PentiumII400MH”、“PentiumIII60
0MH”といった6種類のCPU)に関して、それぞれの
CPUのベース評価の点数(それぞれ“1 00”、“13
3”、“160”、“233”、“400”、“600”)と、CP
U使用率が10パーセント(%)以下であるときの乗算
係数(全てのCPUに共通で“0.9”)と、CPU使用
率が20パーセントであるときの乗算係数(全てのCP
Uに共通で“0.8”)と、CPU使用率が30パーセン
トであるときの乗算係数(全てのCPUに共通で“0.
7”)と、CPU使用率が40パーセント以上であると
きの乗算係数(全てのCPUに共通で“0.6”)とが対
応付けられて記憶されている。The CPU utilization rate score table shown in FIG. 3 is stored, for example, in the memory of the representative port unit 1. This score table includes a plurality of types of CPUs (in this example, "Pentium1").
00MH ”,“ Pentium133MH ”,“ PentiumII160MH ”,“ Pe
ntiumII233MH ”,“ PentiumII400MH ”,“ PentiumIII60
With respect to six types of CPUs such as “0MH”, the scores of the base evaluation of each CPU (“100” and “13
3 "," 160 "," 233 "," 400 "," 600 ") and CP
A multiplication coefficient when the U usage rate is 10% (%) or less (“0.9” common to all CPUs) and a multiplication coefficient when the CPU usage rate is 20% (all CPs
U and “0.8”, and a multiplication coefficient when the CPU usage rate is 30% (“0.
7 ") and a multiplication coefficient (" 0.6 "common to all CPUs) when the CPU usage rate is 40% or more are stored in association with each other.
【0029】また、上記図4に示した内部メモリ使用率
の点数表は例えば代表ポート部1のメモリに格納されて
おり、この点数表には、複数種類の内部メモリ(本例で
は、“sim64M1n”、“sim64M2n”、“sim64M3n”、“si
m128M1n”、“sim128M2n”、“sim128M3n”といった6
種類の内部メモリ)に関して、それぞれの内部メモリの
ベース評価の点数(それぞれ“64*1.0”、“64*0.8”、
“64*0.7”、“128*1.0”、“128*0.8”、“128*0.
7”)と、内部メモリ使用率が10パーセント(%)以
下であるときの乗算係数(全ての内部メモリに共通で
“0.9”)と、内部メモリ使用率が30パーセントであ
るときの乗算係数(全ての内部メモリに共通で“0.
7”)と、内部メモリ使用率が50パーセントであると
きの乗算係数(全ての内部メモリに共通で“0.5”)
と、内部メモリ使用率が70パーセントであるときの乗
算係数(全ての内部メモリに共通で“0.3”)と、内部
メモリ使用率が80パーセント以上であるときの乗算係
数(全ての内部メモリに共通で“0.2”)とが対応付け
られて記憶されている。The score table of the internal memory usage rate shown in FIG. 4 is stored in, for example, the memory of the representative port unit 1. The score table includes a plurality of types of internal memories (in this example, "sim64M1n"). ”,“ Sim64M2n ”,“ sim64M3n ”,“ si
6 such as “m128M1n”, “sim128M2n”, “sim128M3n”
Type of internal memory), the score of the base evaluation of each internal memory (“64 * 1.0”, “64 * 0.8”,
“64 * 0.7”, “128 * 1.0”, “128 * 0.8”, “128 * 0.
7 "), a multiplication factor when the internal memory usage rate is 10% (%) or less (" 0.9 "common to all internal memories), and a multiplication factor when the internal memory usage rate is 30% (%). “0.
7 ”) and the multiplication coefficient when the internal memory usage rate is 50% (“ 0.5 ”for all internal memories)
And a multiplication coefficient when the internal memory usage rate is 70% (common to all internal memories is “0.3”) and a multiplication coefficient when the internal memory usage rate is 80% or more (common to all internal memories) And “0.2”) are stored in association with each other.
【0030】具体的には、代表ポート部1では、次のよ
うにして、各サービスデータ配信部S1〜SNの負荷分
散評価値を算出する。すなわち、代表ポート部1では、
例えば各サービスデータ配信部S1〜SNに備えられた
CPUの種類や内部メモリの種類をメモリに記憶してお
り、各サービスデータ配信部S1〜SNに関して、当該
サービスデータ配信部S1〜SNに備えられたCPUの
ベース評価の点数にCPU使用率に応じた乗算係数を乗
算した乗算結果と、当該サービスデータ配信部S1〜S
Nに備えられた内部メモリのベース評価の点数に内部メ
モリ使用率に応じた乗算係数を乗算した乗算結果とを総
和した値を算出し、このようにして算出した総和値を各
サービスデータ配信部S1〜SNの負荷分散評価値とす
る。Specifically, the representative port unit 1 calculates load distribution evaluation values of the service data distribution units S1 to SN in the following manner. That is, in the representative port unit 1,
For example, the type of the CPU and the type of the internal memory provided in each of the service data distribution units S1 to SN are stored in the memory, and the service data distribution units S1 to SN are provided in the service data distribution units S1 to SN. Multiplied by multiplying the score of the base evaluation of the CPU by a multiplication coefficient according to the CPU usage rate, and the service data distribution units S1 to S
N and a multiplication result obtained by multiplying the score of the base evaluation of the internal memory provided by N with a multiplication coefficient corresponding to the internal memory usage rate, and calculates the total value calculated in this manner in each service data distribution unit. S1 to SN are load distribution evaluation values.
【0031】一例として、負荷分散評価値の算出対象と
なるサービスデータ配信部S1〜SNに備えられたCP
Uの種類が“Pentium133MH”であって当該CPUの使用
率が20パーセントであるとともに、当該サービスデー
タ配信部S1〜SNに備えられた内部メモリの種類が
“sim64M2n”であって当該内部メモリの使用率が50パ
ーセントである場合には、負荷分散評価値は132(=
133*0.8+64*0.8*0.5)と算出され
る。As an example, the CP provided in the service data distribution units S1 to SN for which the load balancing evaluation value is calculated is provided.
The type of U is “Pentium133MH” and the usage rate of the CPU is 20%, and the type of internal memory provided in the service data distribution units S1 to SN is “sim64M2n” and the usage of the internal memory is When the rate is 50%, the load balancing evaluation value is 132 (=
133 * 0.8 + 64 * 0.8 * 0.5).
【0032】なお、CPU使用率が上記図3の点数表で
示した使用率以外の値となるときや、内部メモリ使用率
が上記図4の点数表で示した使用率以外の値となるとき
には、例えば最も近い使用率について設定されている乗
算係数が負荷分散評価値の算出に用いられる。また、上
記図3に示したCPU使用率の点数表や上記図4に示し
た内部メモリ使用率の点数表としては、必ずしも本例で
示したものに限られずに種々であってもよく、例えば更
に細かい使用率(パーセント)に区切って乗算係数を設
定したものを用いることもできる。また、これらの点数
表は、例えばシステムの使用状況等に応じて、代表ポー
ト部1により書き換え可能な構成であってもよい。When the CPU utilization is a value other than the utilization shown in the score table of FIG. 3 or when the internal memory utilization is a value other than the utilization shown in the score table of FIG. For example, the multiplication coefficient set for the closest usage rate is used for calculating the load distribution evaluation value. Further, the score table of the CPU usage rate shown in FIG. 3 and the score table of the internal memory usage rate shown in FIG. 4 are not necessarily limited to those shown in this example, and may be various. It is also possible to use a value in which a multiplication coefficient is set while being divided into finer usage rates (percentages). Further, these score tables may be configured to be rewritable by the representative port unit 1 in accordance with, for example, the usage status of the system.
【0033】また、上記のようにして算出される負荷分
散評価値は、例えば各サービスデータ配信部S1〜SN
の識別情報(マシンID)と対応付けられて、代表ポー
ト部1のメモリに保持される負荷分散検索テーブルに格
納される。そして、代表ポート部1では、例えば全ての
サービスデータ配信部S1〜SNの負荷分散評価値が負
荷分散検索テーブルに格納された状態において、負荷分
散評価値が最も大きいサービスデータ配信部S1〜SN
を検索し、当該サービスデータ配信部S1〜SNを負荷
が最も小さいサービスデータ配信部として選択する。こ
のようにして負荷が最も小さいサービスデータ配信部S
1〜SNを選択すると、上述したように、代表ポート部
1では、クライアント装置4からの表示要求をLAN2
を介して当該サービスデータ配信部S1〜SNへ送信す
る。The load distribution evaluation values calculated as described above are, for example, the service data distribution units S1 to SN
Is stored in the load balancing search table held in the memory of the representative port unit 1 in association with the identification information (machine ID) of the representative port unit 1. In the representative port unit 1, for example, in a state where the load distribution evaluation values of all the service data distribution units S1 to SN are stored in the load distribution search table, the service data distribution units S1 to SN having the largest load distribution evaluation value.
And selects the service data distribution units S1 to SN as service data distribution units with the smallest load. In this way, the service data distribution unit S with the smallest load
When 1 to SN are selected, as described above, the representative port unit 1 transmits a display request from the client device 4 to the LAN 2
To the service data distribution units S1 to SN via the network.
【0034】次いで、各サービスデータ配信部S1〜S
Nが代表ポート部1を介して受信するクライアント装置
4からの表示要求に応じて、当該クライアント装置4へ
表示データを送信する処理の具体例を示す。すなわち、
各サービスデータ配信部S1〜SNでは、例えば代表ポ
ート部1を介して送信されてくるクライアント装置4か
らの表示要求をLAN2を介して受信すると、当該表示
要求を解析して当該表示要求に応じたサービスデータを
表示させるためのサービスデータ表示画面のデータ(表
示データ)を作成し、作成した表示データをLAN2や
インターネット3を介して当該クライアント装置4へ送
信する(処理T4)。Next, the service data distribution units S1 to S
A specific example of a process of transmitting display data to the client device 4 in response to a display request from the client device 4 that N receives via the representative port unit 1 will be described. That is,
When each of the service data distribution units S1 to SN receives a display request from the client device 4 transmitted via the representative port unit 1 via the LAN 2, for example, it analyzes the display request and responds to the display request. The data (display data) of the service data display screen for displaying the service data is created, and the created display data is transmitted to the client device 4 via the LAN 2 or the Internet 3 (process T4).
【0035】また、上記のようにしてサービスデータ配
信部S1〜SNが表示データをクライアント装置4へ送
信すると当該送信処理の実行によりCPUの使用率や内
部メモリの使用率が変化するが、本例の各サービスデー
タ配信部S1〜SNでは、このような変化があった場合
においても、自己のマシン負荷情報を取得して当該マシ
ン負荷情報を更新するとともに、更新後のマシン負荷情
報を代表ポート部1に通知する。そして、本例では、こ
のようなマシン負荷情報のリアルタイムなフィードバッ
クにより代表ポート部1で管理されるマシン負荷情報が
更新され、このような更新情報が次回のクライアント装
置4からの表示要求の振り分け処理に有効に反映させら
れる。When the service data distribution units S1 to SN transmit the display data to the client device 4 as described above, the execution rate of the transmission processing changes the CPU usage rate and the internal memory usage rate. Even if such a change occurs, each of the service data distribution units S1 to SN obtains its own machine load information and updates the machine load information, and transmits the updated machine load information to the representative port unit. Notify 1. Then, in this example, the machine load information managed by the representative port unit 1 is updated by such real-time feedback of the machine load information, and the updated information is used in the next distribution process of the display request from the client device 4. Is effectively reflected in
【0036】以上のようにして、本例のデータ配信シス
テムでは、クライアント装置4からインターネット3を
介して代表ポート部1へ送信される表示要求に応じて、
代表ポート部1が複数のサービスデータ配信部S1〜S
Nの中から選択したサービスデータ配信部S1〜SNに
より表示データをLAN2やインターネット3を介して
クライアント装置4へ送信させる。As described above, in the data distribution system of this embodiment, in response to the display request transmitted from the client device 4 to the representative port unit 1 via the Internet 3,
The representative port unit 1 includes a plurality of service data distribution units S1 to S
The display data is transmitted to the client device 4 via the LAN 2 or the Internet 3 by the service data distribution units S1 to SN selected from N.
【0037】これに際して、本例のデータ配信システム
では、各サービスデータ配信部S1〜SNの性能に直結
するCPUの使用率や内部メモリの使用率に関する情報
が代表ポート部1により常に管理されて、これらの情報
を用いて決定される負荷分散評価値に基づいてデータ送
信を行わせるサービスデータ配信部S1〜SNが選択さ
れるため、各サービスデータ配信部S1〜SNの実際の
負荷と一致する正確な負荷に基づいて多数のクライアン
ト装置4からの表示要求を各サービスデータ配信部S1
〜SNに振り分けることができ、これにより、サービス
データ配信部S1〜SNの負荷を例えば均等に自動的に
分散させることができる。At this time, in the data distribution system of the present embodiment, information on the CPU usage rate and the internal memory usage rate directly connected to the performance of each service data delivery section S1 to SN is always managed by the representative port section 1, Since the service data distribution units S1 to SN for performing data transmission are selected based on the load distribution evaluation value determined using these pieces of information, an accurate load matching the actual load of each service data distribution unit S1 to SN is selected. Display requests from a large number of client devices 4 on the basis of various loads.
To SN, whereby the loads on the service data distribution units S1 to SN can be automatically and evenly distributed, for example.
【0038】また、本例のデータ配信システムでは、各
サービスデータ配信部S1〜SNの性能に直結するCP
Uの使用率と内部メモリの使用率との両方を組合せて決
定した負荷分散評価値に基づいて負荷が小さいサービス
データ配信部S1〜SNが選択されるため、当該選択に
用いられる負荷(本例では、負荷分散評価値)が正確で
あり、負荷分散の精度を高めることができる。また、本
例のようなデータ配信システムは、特に、例えばあまり
性能が高くないコンピュータから代表ポート部が構成さ
れるような場合や、例えば多数のサービスデータ配信部
を設けてシステム性能を向上させるような場合におい
て、大きな効果を発揮することができる。In the data distribution system of this embodiment, the CP directly connected to the performance of each of the service data distribution units S1 to SN
Since the service data distribution units S1 to SN with a small load are selected based on the load distribution evaluation value determined by combining both the usage rate of the U and the usage rate of the internal memory, the load used in the selection (this example In this case, the load distribution evaluation value) is accurate, and the accuracy of load distribution can be improved. In addition, the data distribution system of this example is designed to improve the system performance, particularly when the representative port unit is constituted by a computer having a low performance, for example, or when a large number of service data distribution units are provided. In such a case, a great effect can be exhibited.
【0039】ここで、本例の各サービスデータ配信部S
1〜SNでは、当該サービスデータ配信部S1〜SNに
備えられたCPUが内部メモリを用いて行う送信処理に
より表示データをネットワーク(本例では、LAN2や
インターネット3)を介してクライアント装置4へ送信
する機能により、本発明に言う送信手段が構成されてい
る。Here, each service data distribution unit S of this example
In 1 to SN, the display data is transmitted to the client device 4 via the network (in this example, the LAN 2 or the Internet 3) by the transmission processing performed by the CPU provided in the service data distribution units S1 to SN using the internal memory. These functions constitute the transmission means according to the present invention.
【0040】また、本例の各サービスデータ配信部S1
〜SNでは、上記のような送信処理を行うCPUの使用
率や当該CPUにより用いられる内部メモリの使用率に
関する情報(マシン負荷情報)を所定のタイミングで代
表ポート部1に通知する機能により、本発明に言う通知
手段が構成されている。Each service data distribution unit S1 of this embodiment
In SN, the function of notifying the representative port unit 1 at a predetermined timing of information on the usage rate of the CPU performing the above-described transmission processing and the usage rate of the internal memory used by the CPU (machine load information). The notification means according to the invention is configured.
【0041】なお、本例の各サービスデータ配信部S1
〜SNでは、好ましい態様として、所定の期間毎にマシ
ン負荷情報の通知を行うとともに当該マシン負荷情報の
更新があったときにも通知を行う構成としたが、通知を
行う所定のタイミングとしては特に限定はなく、例えば
CPUの使用率や内部メモリの使用率が所定の値に達し
たときに通知を行うようにすることもできる。Each service data distribution unit S1 of this embodiment
As a preferred embodiment, the configuration in which the notification of the machine load information is performed every predetermined period and the notification is performed when the machine load information is updated is performed. There is no limitation. For example, a notification may be made when the usage rate of the CPU or the usage rate of the internal memory reaches a predetermined value.
【0042】また、本例では、好ましい態様として、各
サービスデータ配信部S1〜SNが自発的にマシン負荷
情報を代表ポート部1に通知する構成とすることによ
り、代表ポート部1と各サービスデータ配信部S1〜S
Nとの間の通信量を少なくしたが、例えば代表ポート部
1が各サービスデータ配信部S1〜SNに対してマシン
負荷情報の通知要求を発する一方、各サービスデータ配
信部S1〜SNが当該通知要求に応じてマシン負荷情報
を代表ポート部1に通知する構成とすることも可能であ
る。In the present embodiment, as a preferable mode, each service data distribution unit S1 to SN voluntarily notifies the representative port unit 1 of the machine load information. Distribution units S1 to S
For example, the representative port unit 1 issues a notification request of machine load information to each of the service data distribution units S1 to SN, while each of the service data distribution units S1 to SN It is also possible to adopt a configuration in which machine load information is notified to the representative port unit 1 in response to a request.
【0043】また、本例の代表ポート部1では、接続テ
ーブル等を用いて各サービスデータ配信部S1〜SNか
ら通知されるCPUの使用率や内部メモリの使用率を管
理する機能により、本発明に言う管理手段が構成されて
いる。また、本例の代表ポート部1では、クライアント
装置4から送信される表示要求に応じて、CPUの使用
率や内部メモリの使用率を用いて決定される負荷が小さ
いサービスデータ配信部S1〜SNにより表示データを
クライアント装置4へ送信させる機能により、本発明に
言う送信制御手段が構成されている。The representative port unit 1 of the present embodiment has a function of managing the CPU usage rate and the internal memory usage rate notified from the service data distribution units S1 to SN using a connection table or the like. Is configured. In addition, in the representative port unit 1 of the present example, the service data distribution units S1 to SN having a small load determined using the CPU usage rate or the internal memory usage rate in response to a display request transmitted from the client device 4. The function of transmitting display data to the client device 4 constitutes a transmission control means according to the present invention.
【0044】なお、本例では、好ましい態様として、負
荷が最も小さいサービスデータ配信部S1〜SNにより
表示データを送信させたが、例えば最小でなくとも、比
較的負荷が小さいサービスデータ配信部S1〜SNによ
り送信を行わせることも可能である。一例として、所定
の閾値を設けて、負荷が当該閾値以下であるサービスデ
ータ配信部S1〜SN(例えば複数ある場合にはいずれ
か)により送信を行わせる構成とすることも可能であ
る。In the present embodiment, as a preferable mode, the display data is transmitted by the service data distribution units S1 to SN with the smallest load. It is also possible to cause transmission by SN. As an example, a configuration may be adopted in which a predetermined threshold value is provided, and transmission is performed by the service data distribution units S1 to SN (for example, if there is a plurality of load devices) whose load is equal to or less than the threshold value.
【0045】また、本例の各サービスデータ配信部S1
〜SNはクライアント装置4からの表示要求を受信した
ことに応じて当該クライアント装置4へ表示データを送
信する構成であるため、本例の代表ポート部1では、ク
ライアント装置4からの表示要求を例えばその送信先ア
ドレスを変更してサービスデータ配信部S1〜SNへ送
信(転送)することをもって、当該サービスデータ配信
部S1〜SNにより表示データを送信させている。Further, each service data distribution unit S1 of this embodiment
SN are configured to transmit display data to the client device 4 in response to receiving the display request from the client device 4, so that the representative port unit 1 of the present example By changing (transmitting) the destination address to the service data distribution units S1 to SN, the display data is transmitted by the service data distribution units S1 to SN.
【0046】ここで、本発明に係るデータ配信システム
や管理装置やサーバ装置の構成としては、必ずしも以上
に示したものに限られず、種々なものであってもよく、
また、クライアント装置の構成としても同様に種々なも
のであってもよい。一例として、データ配信システムに
設けられるサーバ装置の数としては、特に限定はなく、
複数であれば任意であってもよい。Here, the configurations of the data distribution system, the management device and the server device according to the present invention are not necessarily limited to those described above, but may be various.
Similarly, various configurations may be used for the client device. As an example, the number of server devices provided in the data distribution system is not particularly limited,
Any number may be used as long as it is plural.
【0047】また、本例では、クライアント装置4から
の表示要求に応じてサービスデータ配信部S1〜SNが
表示データを送信する場合を示したが、本発明では、ク
ライアント装置からの要求としてはどのような要求(例
えばテキストデータの要求や音声データの要求等)であ
ってもよく、また、各サーバ装置から送信されるデータ
としても当該要求に応じて種々なものであってもよい。In the present embodiment, the case where the service data distribution units S1 to SN transmit display data in response to a display request from the client device 4 has been described. Such a request (for example, a request for text data, a request for voice data, and the like) may be made, and the data transmitted from each server device may be various data according to the request.
【0048】また、本例では、各サービスデータ配信部
S1〜SNから送信される表示データが代表ポート部1
を介さずにクライアント装置4へ伝送される構成を示し
たが、本発明では、例えば各サーバ装置から送信される
データが管理装置を介してクライアント装置へ伝送され
る構成とすることも可能である。In this example, the display data transmitted from each of the service data distribution units S1 to SN is the representative port unit 1
Although the configuration in which the data is transmitted to the client device 4 without using the client device 4 is described above, the present invention may be configured to transmit data transmitted from each server device to the client device via the management device, for example. .
【0049】また、本例では、各サービスデータ配信部
S1〜SNが自己のCPUの使用率や自己の内部メモリ
の使用率を管理する一方、代表ポート部1がこれら複数
のサービスデータ配信部S1〜SNのCPU使用率や内
部メモリ使用率を管理する構成としたが、本発明では、
必ずしもCPUの使用率や内部メモリの使用率がそのま
まの値で管理等されなくともよく、例えばCPUの使用
率や内部メモリの使用率が他の形(例えば使用率の値に
所定の演算を施して得られる値や、使用率の値をその大
きさに応じてA、B、C、D等の段階へ変換したもの
等)で管理等されてもよく、本発明はこのような態様を
も包含するものである。In this embodiment, each service data distribution unit S1 to SN manages the usage rate of its own CPU and the usage rate of its own internal memory, while the representative port unit 1 manages these service data distribution units S1 to SN. Although the configuration is such that the CPU usage rate and internal memory usage rate of SN are managed, in the present invention,
The CPU usage rate and the internal memory usage rate do not necessarily have to be managed as they are, for example, the CPU usage rate and the internal memory usage rate may be in other forms (for example, a predetermined operation may be performed on the usage rate value). Or a value obtained by converting the value of the usage rate into stages such as A, B, C, D, etc. according to the size of the usage rate, etc.). Includes
【0050】また、本例では、CPUの使用率と内部メ
モリの使用率を用いて各サービスデータ配信部S1〜S
Nの負荷を管理する構成としたが、本発明では、例えば
各サーバ装置のファイルアクセス頻度等といった他の情
報をも用いて負荷を管理する構成とすることも可能であ
る。このような構成では、例えば各サーバ装置では自己
のCPU使用率や内部メモリ使用率やファイルアクセス
頻度等を検出して管理装置に通知し、管理装置では通知
されたこれらの情報を用いて各サーバ装置の負荷を決定
する。In this embodiment, the service data distribution units S1 to S1 are used by using the CPU utilization and the internal memory utilization.
Although the configuration is such that the load of N is managed, the present invention can also be configured to manage the load by using other information such as the file access frequency of each server device. In such a configuration, for example, each server device detects its own CPU usage rate, internal memory usage rate, file access frequency and the like and notifies the management device, and the management device uses each of the notified information to notify each server device. Determine the load on the device.
【0051】また、本発明に係る管理装置や各サーバ装
置では、例えばCPUや内部メモリ等を備えたハードウ
エア資源においてCPUがROMに格納された制御プロ
グラムを実行することにより各種の処理を実行するが、
本発明は、このような制御プログラムを格納したフロッ
ピーディスクやCD−ROM等のコンピュータにより読
み取り可能な記録媒体として把握することもでき、当該
制御プログラムを記録媒体からコンピュータに入力して
CPUに実行させることにより、本発明に係る処理を遂
行させることができる。Further, in the management device and each server device according to the present invention, various processes are executed by the CPU executing the control program stored in the ROM on the hardware resources including the CPU and the internal memory. But,
The present invention can be understood as a computer-readable recording medium such as a floppy disk or a CD-ROM storing such a control program, and the control program is input to the computer from the recording medium and executed by the CPU. Thereby, the processing according to the present invention can be performed.
【0052】[0052]
【発明の効果】以上説明したように、本発明に係るデー
タ配信システムによると、クライアント装置から送信さ
れる要求に応じて管理装置が複数のサーバ装置の中から
選択したサーバ装置によりデータをクライアント装置へ
送信させるに際して、各サーバ装置が送信処理を行うC
PUの使用率や内部メモリの使用率を所定のタイミング
で管理装置に通知する一方、管理装置が各サーバ装置か
ら通知されるCPUの使用率や内部メモリの使用率を管
理して、CPUの使用率及び内部メモリの使用率を用い
て決定される負荷が小さいサーバ装置によりデータをク
ライアント装置へ送信させるようにしたため、各サーバ
装置の実際の負荷と一致する正確な負荷に基づいてサー
バ装置の負荷を分散させることができ、効率的な負荷分
散を実現することができる。As described above, according to the data distribution system of the present invention, in response to a request transmitted from a client device, a management device transmits data to a client device by a server device selected from a plurality of server devices. When each server device performs transmission processing,
While notifying the management device of the usage rate of the PU and the usage rate of the internal memory to the management device at a predetermined timing, the management device manages the usage rate of the CPU and the usage rate of the internal memory notified from each server device, and Since the data is transmitted to the client device by the server device having a small load determined using the rate and the usage rate of the internal memory, the load of the server device is determined based on the exact load that matches the actual load of each server device. Can be distributed, and efficient load distribution can be realized.
【図1】本発明の一実施例に係るデータ配信システムの
一例を示す図である。FIG. 1 is a diagram illustrating an example of a data distribution system according to an embodiment of the present invention.
【図2】データ配信システムにより行われる処理の具体
例を説明するための図である。FIG. 2 is a diagram illustrating a specific example of a process performed by the data distribution system.
【図3】CPU使用率の点数表の一例を示す図である。FIG. 3 is a diagram illustrating an example of a score table of CPU usage rates.
【図4】内部メモリ使用率の点数表の一例を示す図であ
る。FIG. 4 is a diagram illustrating an example of a score table of an internal memory usage rate.
【図5】従来例に係るデータ配信システムの一例を示す
図である。FIG. 5 is a diagram showing an example of a data distribution system according to a conventional example.
1・・代表ポート部、 S1〜SN・・サービスデータ
配信部、2・・LAN、 3・・インターネット、 4
・・クライアント装置、1. Representative port section, S1 to SN service data distribution section, 2. LAN, 3. Internet, 4.
..Client devices,
───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04L 12/40 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04L 12/40
Claims (2)
して管理装置へ送信される要求に応じて、管理装置が複
数のサーバ装置の中から選択したサーバ装置によりデー
タをネットワークを介してクライアント装置へ送信させ
るデータ配信システムであって、 各サーバ装置には、CPUが内部メモリを用いて行う送
信処理によりデータをネットワークを介してクライアン
ト装置へ送信する送信手段と、 CPUの使用率及び内部メモリの使用率を所定のタイミ
ングで管理装置に通知する通知手段と、を備え、 管理装置には、各サーバ装置から通知されるCPUの使
用率及び内部メモリの使用率を管理する管理手段と、 クライアント装置から送信される要求に応じて、CPU
の使用率及び内部メモリの使用率を用いて決定される負
荷が小さいサーバ装置によりデータをクライアント装置
へ送信させる送信制御手段と、 を備えたことを特徴とするデータ配信システム。1. A data that causes a management device to transmit data to a client device via a network by a server device selected from a plurality of server devices in response to a request transmitted from the client device to the management device via the network. A transmission system for transmitting data to a client device via a network by a transmission process performed by a CPU using an internal memory, a server device, and a CPU usage rate and an internal memory usage rate. Notification means for notifying the management device at the timing of (i), wherein the management device manages the usage rate of the CPU and the usage rate of the internal memory notified from each server device, and is transmitted from the client device. CPU on request
And a transmission control means for transmitting data to the client device by a server device having a small load determined using the usage rate of the internal memory and the usage rate of the internal memory.
して送信される要求に応じて、複数のサーバ装置の中か
ら選択したサーバ装置のCPUが内部メモリを用いて行
う送信処理によりデータをネットワークを介してクライ
アント装置へ送信させる管理装置であって、 各サーバ装置から所定のタイミングで通知されるCPU
の使用率及び内部メモリの使用率を管理する管理手段
と、 クライアント装置から送信される要求に応じて、CPU
の使用率及び内部メモリの使用率を用いて決定される負
荷が小さいサーバ装置によりデータをクライアント装置
へ送信させる送信制御手段と、 を備えたことを特徴とする管理装置。2. A server device selected from a plurality of server devices in response to a request transmitted from the client device via a network, performs transmission processing using an internal memory to transmit data to the client device via the network. A management device to be transmitted to the device, wherein the CPU is notified from each server device at a predetermined timing.
Management means for managing the usage rate of the internal memory and the usage rate of the internal memory; and a CPU in response to a request transmitted from the client device.
And a transmission control means for transmitting data to the client device by a server device having a small load determined using the usage rate of the internal memory and the usage rate of the internal memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000014337A JP2001202318A (en) | 2000-01-24 | 2000-01-24 | Data distribution system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2000014337A JP2001202318A (en) | 2000-01-24 | 2000-01-24 | Data distribution system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2001202318A true JP2001202318A (en) | 2001-07-27 |
Family
ID=18541807
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2000014337A Pending JP2001202318A (en) | 2000-01-24 | 2000-01-24 | Data distribution system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2001202318A (en) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002009828A (en) * | 2000-06-20 | 2002-01-11 | Nippon Telegr & Teleph Corp <Ntt> | Location selection device, location selection system, and recording medium |
| WO2003027858A1 (en) * | 2001-09-19 | 2003-04-03 | Accelia, Inc. | Content server defending system |
| JP2003108393A (en) * | 2001-09-27 | 2003-04-11 | Oki Electric Ind Co Ltd | Load distribution method of video stream sending process and apparatus thereof, load distribution program and recording medium with the program recorded thereon |
| JP2003152729A (en) * | 2001-11-19 | 2003-05-23 | Nec Access Technica Ltd | Load distribution method, contents distribution system, and load distribution device |
| JP2003178040A (en) * | 2001-12-10 | 2003-06-27 | Hitachi Information Systems Ltd | Website configuration decision support method |
| JP2004005068A (en) * | 2002-05-30 | 2004-01-08 | Internatl Business Mach Corp <Ibm> | Backup technique of data using network |
| JP2008078927A (en) * | 2006-09-20 | 2008-04-03 | Nippon Telegr & Teleph Corp <Ntt> | Information distribution apparatus and information distribution method |
| US8019874B2 (en) | 2003-01-31 | 2011-09-13 | Fujitsu Limited | Apparatus for delivering information and method therefor |
| KR101076762B1 (en) | 2011-03-28 | 2011-10-26 | 삼성탈레스 주식회사 | Process Allocation Device and Its Operation Method |
| KR101184843B1 (en) * | 2010-05-11 | 2012-09-20 | 엘에스아이 코포레이션 | System and method for managing resources in a partitioned computing systmem based on resource usage volatility |
| WO2014024620A1 (en) * | 2012-08-06 | 2014-02-13 | 日本電気株式会社 | Load control system, load control server, information processing system, load control method, and recording medium |
| JP2016001441A (en) * | 2014-06-12 | 2016-01-07 | 富士通株式会社 | System and subordinate device |
-
2000
- 2000-01-24 JP JP2000014337A patent/JP2001202318A/en active Pending
Cited By (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002009828A (en) * | 2000-06-20 | 2002-01-11 | Nippon Telegr & Teleph Corp <Ntt> | Location selection device, location selection system, and recording medium |
| JP3401478B2 (en) | 2000-06-20 | 2003-04-28 | 日本電信電話株式会社 | Location selection device, location selection system, and recording medium |
| WO2003027858A1 (en) * | 2001-09-19 | 2003-04-03 | Accelia, Inc. | Content server defending system |
| JP2003108393A (en) * | 2001-09-27 | 2003-04-11 | Oki Electric Ind Co Ltd | Load distribution method of video stream sending process and apparatus thereof, load distribution program and recording medium with the program recorded thereon |
| JP2003152729A (en) * | 2001-11-19 | 2003-05-23 | Nec Access Technica Ltd | Load distribution method, contents distribution system, and load distribution device |
| JP2003178040A (en) * | 2001-12-10 | 2003-06-27 | Hitachi Information Systems Ltd | Website configuration decision support method |
| JP2004005068A (en) * | 2002-05-30 | 2004-01-08 | Internatl Business Mach Corp <Ibm> | Backup technique of data using network |
| US7194491B2 (en) | 2002-05-30 | 2007-03-20 | International Business Machines Corporation | Data backup technique using network |
| US8019874B2 (en) | 2003-01-31 | 2011-09-13 | Fujitsu Limited | Apparatus for delivering information and method therefor |
| JP2008078927A (en) * | 2006-09-20 | 2008-04-03 | Nippon Telegr & Teleph Corp <Ntt> | Information distribution apparatus and information distribution method |
| KR101184843B1 (en) * | 2010-05-11 | 2012-09-20 | 엘에스아이 코포레이션 | System and method for managing resources in a partitioned computing systmem based on resource usage volatility |
| KR101076762B1 (en) | 2011-03-28 | 2011-10-26 | 삼성탈레스 주식회사 | Process Allocation Device and Its Operation Method |
| WO2014024620A1 (en) * | 2012-08-06 | 2014-02-13 | 日本電気株式会社 | Load control system, load control server, information processing system, load control method, and recording medium |
| JPWO2014024620A1 (en) * | 2012-08-06 | 2016-07-25 | 日本電気株式会社 | Load control system, load control server, information processing system, load control method and program |
| JP2016001441A (en) * | 2014-06-12 | 2016-01-07 | 富士通株式会社 | System and subordinate device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12368682B2 (en) | Software load balancer to maximize utilization | |
| CN1610347B (en) | Method and apparatus for managing performance and resource utilization in a cluster-based system | |
| US7400633B2 (en) | Adaptive bandwidth throttling for network services | |
| US7558859B2 (en) | Peer-to-peer auction based data distribution | |
| USRE42726E1 (en) | Dynamically modifying the resources of a virtual server | |
| US20200029110A1 (en) | Bandwidth Control Method and Apparatus, and Device | |
| US20040103194A1 (en) | Method and system for server load balancing | |
| US7882210B2 (en) | Dynamic agent formation for efficient data provisioning | |
| CN108933829A (en) | A kind of load-balancing method and device | |
| JP2001202318A (en) | Data distribution system | |
| CN109510878B (en) | Long connection session keeping method and device | |
| CN112866394A (en) | Load balancing method, device, system, computer equipment and storage medium | |
| JP2005182641A (en) | Dynamic load balancing system and dynamic load balancing method | |
| JP2005092862A (en) | Load balancing method and client / server system | |
| JP2002259354A (en) | Network system and load balancing method | |
| JP2022166934A (en) | Information processing device, overload control program, and overload control method | |
| CN114640607B (en) | Monitoring service registration method and device, computer equipment and storage medium | |
| CN116032932B (en) | Cluster management method, system, equipment and medium for edge server | |
| JP2006260059A (en) | Server device | |
| KR101625159B1 (en) | Dynamic session assignment method, dynamic session management method and system | |
| US20230396677A1 (en) | Computing power information processing method, first network device, and system | |
| TWI502922B (en) | Method and server for maintaining the device to wake up at any time | |
| JP2003150570A (en) | Method and device for allocating connection to server, and program and recording medium therefor | |
| CN121509434A (en) | A WebSocket cluster connection scheduling method, system, device, and storage medium | |
| CN117729158A (en) | Request current limiting methods, devices, computer equipment and storage media |