[go: up one dir, main page]

JP2003016044A - System for load distribution, method therefor and program - Google Patents

System for load distribution, method therefor and program

Info

Publication number
JP2003016044A
JP2003016044A JP2001200142A JP2001200142A JP2003016044A JP 2003016044 A JP2003016044 A JP 2003016044A JP 2001200142 A JP2001200142 A JP 2001200142A JP 2001200142 A JP2001200142 A JP 2001200142A JP 2003016044 A JP2003016044 A JP 2003016044A
Authority
JP
Japan
Prior art keywords
load
terminal
network
agent
work agent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2001200142A
Other languages
Japanese (ja)
Inventor
Yuichi Yoshida
祐一 吉田
Takashi Kondo
隆 近藤
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.)
Olympus Corp
Original Assignee
Olympus Optical Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Olympus Optical Co Ltd filed Critical Olympus Optical Co Ltd
Priority to JP2001200142A priority Critical patent/JP2003016044A/en
Publication of JP2003016044A publication Critical patent/JP2003016044A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a system for load distribution, a method therefor and a program capable of performing a load distribution by using an operation agent and avoiding setups at every operation terminal in advance even in a parallel task and sequential processing. SOLUTION: A main process controlling an application and the operation agent execute an application function, a cyclic agent traveling over a network performs load measurement of terminals 10-16 except 13 on a network, when the terminals 10-16 except 13 become a predetermined status, the operation agent is transmitted to other terminals 10-16 except 13 in the network based on the result of the measurement to bring the operation agent into execution of the application function.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、負荷分散システム
に係わり、特に作業エージェントにアプリケーション機
能の一部を実行させる負荷分散システム及び負荷分散方
法及びプログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load balancing system, and more particularly to a load balancing system, a load balancing method and a program for causing a work agent to execute a part of an application function.

【0002】[0002]

【従来の技術】従来技術として、特開平9−16534
号公報では、分散型プロセス処理方法およびその装置ク
ライアントとサーバ間にエージェントシステムを設け、
ネットワークの個々の計算機における負荷・資源状況に
応じて複数のサーバプロセスに処理依頼を振り分け実行
させる技術を開示している。また、並列タスクに関して
は並列タスク制御リストを作成し、エージェントはこれ
に基づきタスクを他プロセスに送信して処理する。
2. Description of the Related Art As prior art, Japanese Patent Laid-Open No. 9-16534
In the publication, an agent system is provided between a distributed process processing method and its device client and server,
Disclosed is a technique for distributing and executing processing requests to a plurality of server processes according to the load and resource status of each computer in the network. Also, for parallel tasks, a parallel task control list is created, and the agent sends the task to another process based on this to process it.

【0003】さらに、特開2000−76172公報で
は、分散システムクライアントが要求した処理の実行位
置をクライアント側にするか、サーバ側にするか動的に
変更可能とするシステムを開示している。
Further, Japanese Patent Laid-Open No. 2000-76172 discloses a system in which the execution position of a process requested by a distributed system client can be dynamically changed to either the client side or the server side.

【0004】[0004]

【発明が解決しようとする課題】しかし、ネットワーク
で結合された複数機器から構成される環境での端末にお
いて、例えばサーバ機能を持ったアプリケーションを実
行する場合、端末の能力が複数のクライアント要求に必
要なCPU能力が不足するという問題があった。また、
端末が携帯情報端末の場合についても電力の消費が懸念
される場合や、CPUパワーが不足する場合が多々他発
生する。
However, in a terminal in an environment composed of a plurality of devices connected by a network, for example, when executing an application having a server function, the terminal capacity is required for a plurality of client requests. There was a problem of lack of sufficient CPU power. Also,
Even when the terminal is a portable information terminal, there are many other cases where there is a concern about power consumption, or when the CPU power is insufficient.

【0005】前記のCPUパワーが不足するという課題
に対して、従来では特開平9−16534号公報等で
は、複数の処理エンジンを用意し、特定の処理エンジン
に負荷が集中しないように要求を振り分け、負荷分散を
行っている。また、処理端末は、負荷が処理能力を超え
て増大するとレスポンスが悪くなってしまう。よって、
これを避ける為に、負荷の増大が慢性ではなく一時的な
現象であっても、負荷が最大になった場合を想定し複数
エンジンを各作業端末に予め用意する事が必要となる。
しかし、複数端末の購入のコストアップ、セットアップ
等の作業の増大に繋がっている。また、特開2000−
76172については、クライアントとサーバ間のみの
実行位置の移動である為、サーバとクライアントのどち
らも負荷が重い場合は対応できていない。
To solve the above-mentioned problem of insufficient CPU power, conventionally, in Japanese Patent Laid-Open No. 9-16534, a plurality of processing engines are prepared and the requests are distributed so that the load is not concentrated on a specific processing engine. , Load balancing. In addition, the processing terminal becomes unresponsive when the load exceeds the processing capacity. Therefore,
In order to avoid this, even if the increase in load is not a chronic phenomenon but a temporary phenomenon, it is necessary to prepare a plurality of engines in each work terminal in advance assuming the case where the load becomes maximum.
However, this has led to increased costs for purchasing multiple terminals and increased work such as setup. In addition, JP-A-2000-
With regard to 76172, since the execution position is moved only between the client and the server, neither the server nor the client can handle the heavy load.

【0006】以上より、本発明の目的は、並列タスク
と、シーケンシャルな処理においても作業エージェント
を送り込むことにより負荷分散が行え、予め各作業端末
ごとのセットアップが不要な負荷分散システム及び負荷
分散方法及びプログラムを提供することである。
From the above, it is an object of the present invention to perform load distribution by sending work agents even in parallel tasks and sequential processing, and a load distribution system and a load distribution method that do not require setup for each work terminal in advance. To provide a program.

【0007】[0007]

【課題を解決するための手段】本発明による負荷分散シ
ステム及び負荷分散方法及びプログラムは、ネットワー
クで接続された複数の端末で構成されたシステムであっ
て、アプリケーションの制御を行う制御手段と、前記ネ
ットワーク内を移動可能な作業エージェントが前記アプ
リケーション機能を実行する手段と、前記ネットワーク
を巡回する巡回エージェントを用いて前記ネットワーク
上の端末の負荷計測を行う手段と、前記端末が所定の状
態になった時、前記負荷計測の結果に基づきネットワー
クの他の端末に前記作業エージェントを送信し、前記作
業エージェントに前記アプリケーション機能を実行させ
る手段とを有することを特徴とする。
A load balancing system, a load balancing method and a program according to the present invention are a system composed of a plurality of terminals connected by a network, and a control means for controlling an application, A work agent movable in the network executes the application function, a load agent that circulates in the network measures the load on a terminal on the network, and the terminal is in a predetermined state. At this time, there is provided means for transmitting the work agent to another terminal of the network based on the result of the load measurement and causing the work agent to execute the application function.

【0008】また、前記作業エージェントが前記アプリ
ケーション機能実行手段は、前記アプリケーションの一
部を実行することを特徴とする。
The application function executing means of the work agent executes a part of the application.

【0009】また、前記端末の所定の状態は、前記端末
の負荷が増大した状態、あるいは前記端末の残電力が所
定値以下になった状態とすることを特徴とする。
Further, the predetermined state of the terminal is characterized in that the load of the terminal is increased or the remaining power of the terminal is below a predetermined value.

【0010】また、前記作業エージェントを送り出し、
前記負荷計測の情報を保持する端末となり、前記作業エ
ージェントを受け取り、実行させるの端末とで構成さ
れ、前記負荷計測の情報を保持する端末からの指示に従
い、前記ネットワークに接続している他端末に前記作業
エージェントを送信し、作業エージェントにアプリケー
ション機能の一部を実行させる事により負荷分散を行う
ことを特徴とする。
Further, the work agent is sent out,
It becomes a terminal that holds the load measurement information and is configured with a terminal that receives and executes the work agent. According to an instruction from the terminal that holds the load measurement information, another terminal connected to the network Load distribution is performed by transmitting the work agent and causing the work agent to execute a part of the application function.

【0011】また、前記ネットワークには、前記作業エ
ージェントを受け取り、実行させるの端末が複数台接続
されていることを特徴とする負荷分散システムである。
Further, a load balancing system is characterized in that a plurality of terminals for receiving and executing the work agent are connected to the network.

【0012】また、ネットワークで接続された複数の端
末で構成された負荷分散方法であって、アプリケーショ
ンの制御を行う制御工程としてメインプロセス工程と、
前記ネットワーク内を移動可能な作業エージェントが前
記アプリケーション機能を実行する工程と、前記ネット
ワークを巡回する巡回エージェントを用いて前記ネット
ワーク上の端末の負荷計測を行う工程と、前記端末が所
定の状態になった時、前記負荷計測の結果に基づきネッ
トワークの他の端末に前記作業エージェントを送信し、
前記作業エージェントに前記アプリケーション機能を実
行させる工程とを有することを特徴とする負荷分散方法
である。
[0012] A load distribution method comprising a plurality of terminals connected by a network, wherein a main process step is provided as a control step for controlling an application,
A step in which a work agent movable in the network executes the application function; a step in which a cyclic agent that circulates in the network measures a load on a terminal on the network; and the terminal enters a predetermined state. When the load measurement result is transmitted to the other terminal of the network based on the result of the load measurement,
And a step of causing the work agent to execute the application function.

【0013】また、ネットワークで接続された複数の端
末で構成された負荷分システムを用いる際、アプリケー
ションの制御を行う制御処理としてのメインプロセス処
理と、前記ネットワーク内を移動可能な作業エージェン
トが前記アプリケーション機能を実行する処理と、前記
ネットワークを巡回する巡回エージェントを用いて前記
ネットワーク上の端末の負荷計測を行う処理と、前記端
末が所定の状態になった時、前記負荷計測の結果に基づ
きネットワークの他の端末に前記作業エージェントを送
信し、前記作業エージェントに前記アプリケーション機
能を実行させる処理とをコンピュータに実行させる命令
を含むプログラムである。
When a load distribution system composed of a plurality of terminals connected by a network is used, a main process process as a control process for controlling an application and a work agent movable in the network are used as the application process. A process for executing a function, a process for measuring a load on a terminal on the network using a patrol agent that patrols the network, and a process for measuring the load on the network based on the result of the load measurement when the terminal is in a predetermined state. It is a program including instructions for transmitting the work agent to another terminal and causing the work agent to execute the application function.

【0014】[0014]

【発明の実施の形態】本発明の実施形態を以下に図面を
用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings.

【0015】まず、図1に本発明の実施形態をLAN
(Local Area Network)で用いた場合の機器構成を示
す。
First, FIG. 1 shows a LAN according to an embodiment of the present invention.
The device configuration when used in (Local Area Network) is shown.

【0016】図1に示すように、ネットワークに接続さ
れた複数の端末、即ち、サーバ(図示せず)、パーソナ
ルコンピュータ(以下、PC)10、ワークステーショ
ン(12−13)、プリンタ14、ストレージ装置15
等、アプリケーション実行機能を持った端末、ルータ1
6等より構成される。
As shown in FIG. 1, a plurality of terminals connected to the network, that is, a server (not shown), a personal computer (hereinafter PC) 10, a workstation (12-13), a printer 14, a storage device. 15
Etc., a terminal with application execution function, router 1
It is composed of 6 etc.

【0017】ここで、同一アプリケーションを行う複数
の端末がある場合(例えば、11−13)の構成も示さ
れているが、これはサーバ端末が複数ある場合等が想定
される。
Here, the configuration in the case where there are a plurality of terminals that perform the same application (for example, 11-13) is also shown, but it is assumed that there are a plurality of server terminals.

【0018】また、図示していないが、携帯情報端末、
携帯電話等が、Bluetooth等の無線通信により前記ネッ
トワーク接続する構成も考えられる。どちらの場合も、
アプリケーションを実行する端末がネットワーク上の他
機器にエージェントを送信し、エージェントにアプリケ
ーション機能の一部を実行させる事により、前記端末の
CPUの負荷分散を行っている。
Although not shown, a personal digital assistant,
A configuration is also conceivable in which a mobile phone or the like connects to the network by wireless communication such as Bluetooth. In both cases,
A terminal that executes an application sends an agent to another device on the network and causes the agent to execute a part of the application function, thereby distributing the load of the CPU of the terminal.

【0019】次に、図2は、前記アプリケーション実行
機能を持った端末に含まれるアプリケーションプロセス
24の構成を示す。図2に示すように、負荷計測エージ
ェント30は、端末のCPUの負荷が重くなった時、機
器処理能力及び負荷一覧作成プロセス22によりネット
ワークに送出され、以降ネットワーク上の機器間を予め
決められた任意のルートに従って自発的に巡回し、負荷
情報を前記プロセスに報告する。また、上述した図1の
構成で、接続する機器は、図3(後述)のルーティング
テーブルより取得できる。そして、携帯情報端末等での
無線接続を用いた場合では、ネットワークにブロードキ
ャストをする事により接続機器を調べる事もできる。
Next, FIG. 2 shows the configuration of the application process 24 included in the terminal having the application execution function. As shown in FIG. 2, when the load on the CPU of the terminal becomes heavy, the load measurement agent 30 is sent to the network by the device processing capacity and load list creation process 22, and thereafter, the devices on the network are predetermined. It voluntarily travels along any route and reports load information to the process. With the configuration of FIG. 1 described above, the device to be connected can be acquired from the routing table of FIG. 3 (described later). Then, in the case of using a wireless connection such as a portable information terminal, it is possible to check the connected device by broadcasting to the network.

【0020】また、アプリケーションプロセス24は、
メインプロセス20と作業エージェント26より構成さ
れる。前記メインプロセス20は、処理のコントロール
を主につかさどる。また、作業エージェント26は、機
能毎にまとめられ、各種メッソドを持ち、メインプロセ
ス20より呼び出される事によりサービスを提供してい
る。この作業エージェント26は移動可能で、サーバの
負荷が重くなってきた時、ネットワークを経由して負荷
の軽い他機器に移動する。
Further, the application process 24 is
It is composed of a main process 20 and a work agent 26. The main process 20 mainly controls the processing. The work agent 26 is grouped by function, has various methods, and provides a service by being called by the main process 20. The work agent 26 is movable and moves to another device having a light load via the network when the load on the server becomes heavy.

【0021】そして、前記メインプロセス20は、図5
のリファレンステーブルより作業エージェント26のア
ドレスを求め、メッソドを呼び出しているので、作業エ
ージェント26がローカルにある場合とリモートの場合
と処理ロジックは変わることはない。
Then, the main process 20 is executed as shown in FIG.
Since the address of the work agent 26 is obtained from the reference table of 1 and the method is called, the processing logic does not change when the work agent 26 is local or remote.

【0022】次に、図3は、ルータより取得できるルー
ティングテーブルである。上述した図1の構成の場合、
機器処理能力及び負荷一覧作成プロセスは、このテーブ
ルより管理者の担当範囲の機器、装置の宛先IPアドレ
スを取得する。携帯情報端末等の無線接続の場合も、接
続している機器のアドレス入手は容易である。これらの
接続機器のアドレス情報はリストとして負荷計測エージ
ェント30に添付され、この負荷計測エージェント30
は、前記リスト情報に従いネットワーク上の機器間を巡
回する。
Next, FIG. 3 shows a routing table that can be obtained from the router. In the case of the configuration of FIG. 1 described above,
The device processing capacity and load list creation process acquires the destination IP address of the device and device in the range of the administrator from this table. Even in the case of wireless connection of a mobile information terminal or the like, it is easy to obtain the address of the connected device. The address information of these connected devices is attached to the load measuring agent 30 as a list.
Circulates among the devices on the network according to the list information.

【0023】次に、図4は、前記負荷計測エージェント
30より報告された機器処理能力及び負荷一覧である。
各端末のCPU負荷が重くなった時、あるいは消費電力
を抑制したい場合に作業エージェント26の送信先を決
定するのに使用される。上述した図1の場合、前記作業
エージェント26の送信先を候補となる機器のCPU負
荷と処理速度を考慮して決定するが、携帯情報端末等の
容量の大きい電源を持たない端末の場合、一定以上の電
力を残している機器という条件を判断に付け加えても良
い。
Next, FIG. 4 is a list of equipment processing capacities and loads reported by the load measuring agent 30.
It is used to determine the transmission destination of the work agent 26 when the CPU load of each terminal becomes heavy or when it is desired to suppress power consumption. In the case of FIG. 1 described above, the transmission destination of the work agent 26 is determined in consideration of the CPU load and the processing speed of the candidate device. The condition of a device that retains the above power may be added to the determination.

【0024】次に、図5は、送信した作業エージェント
26管理するリファレンステーブルである。ここでは、
作業エージェント26として、オブジェクト1〜4に分
類している。オブジェクトリファレンスを用いてローカ
ル及びリモートのオブジェクトに呼び出し処理を実行さ
せることができる。また、送信済は送信が完了し、リモ
ートのオブジェクトが使える状態を示す。負荷はCPU
の消費量で、この値が大きい程リモートエージェントに
よる負荷軽減の効果が大きいとする。
Next, FIG. 5 is a reference table for managing the transmitted work agent 26. here,
The work agents 26 are classified into objects 1 to 4. Object references can be used to cause local and remote objects to perform call processing. Also, “transmitted” indicates that the transmission is completed and the remote object can be used. CPU load
It is assumed that the greater the value, the greater the effect of the remote agent on load reduction.

【0025】図5では、オブジェクト1〜3はローカル
のサーバ内に留まり、オブジェクト4はリモートへ送信
完了の状態を示している。そして、pc1_obj4の
リファレンスアドレスを用いる事により、オブジェクト
4に関してはリモートのメッソドを利用する。
In FIG. 5, objects 1 to 3 remain in the local server, and object 4 shows a state in which transmission to the remote has been completed. Then, by using the reference address of pc1_obj4, the remote method is used for the object 4.

【0026】次に、図6は、機器処理能力及び負荷一覧
作成のフローである。この処理は、アプリケーション実
行可能な端末にて、アプリケーションプロセスから独立
した低優先順位のプロセスとして実行される。まず、図
6に示すように、S1にて自端末の負荷を計測し、負荷
が予め決められた負荷よりも重い場合には、S2以降の
処理を行う。S2により負荷計測エージェント30の移
動先リストを作成する。そして、S3で、リストの先頭
のアドレスへエージェントを送信する。
Next, FIG. 6 is a flow for creating a device processing capacity and a load list. This process is executed as a low-priority process independent of the application process on the terminal capable of executing the application. First, as shown in FIG. 6, the load of the own terminal is measured in S1, and if the load is heavier than a predetermined load, the processes from S2 onward are performed. A migration destination list of the load measurement agent 30 is created in S2. Then, in S3, the agent is transmitted to the top address of the list.

【0027】この後エージェントは、自発的に一定時間
ログを取って負荷値等を計測した後、結果を自端末に報
告しリストの次のアドレスへ移動する。以降、これを繰
り返す。次に、S4では、この負荷計測エージェント3
0からの報告を取り込む。そして、S5では、負荷計測
エージェント30からの報告かどうかを判断し、負荷計
測エージェント30からの報告でなければ、S4に戻
し、負荷計測エージェント30からの報告であれば、S
6に進む。S6では、処理能力及び負荷一覧テーブルを
更新する。次に、S7に進み、リファレンステーブルで
送信済みオブジェクトがあるかどうかを判断する。なけ
れば、S4に戻し、送信済みオブジェクトがあった場合
は、S8に進む。S8では、一定時間毎に前記負荷計測
エージェント30から報告が送られてくるので、その都
度、リファレンステーブルのCPU負荷情報のアップデ
ートを行う。
After this, the agent voluntarily logs for a certain period of time, measures the load value, etc., reports the result to its own terminal, and moves to the next address in the list. After that, this is repeated. Next, in S4, this load measurement agent 3
Take in reports from 0. Then, in S5, it is determined whether or not the report is from the load measuring agent 30, and if the report is not from the load measuring agent 30, the process returns to S4.
Go to 6. In S6, the processing capacity and load list table is updated. Next, in S7, it is determined whether there is a transmitted object in the reference table. If not, the process returns to S4, and if there is a transmitted object, the process proceeds to S8. In S8, a report is sent from the load measurement agent 30 at regular intervals, so that the CPU load information in the reference table is updated each time.

【0028】次に、S9に進み、自端末の負荷を判断
し、負荷が一定時間軽い場合は、S10に進み、前記負
荷計測エージェント30の活動を停止させる。そして、
S11に進み、負荷計測エージェント30停止フラグを
ONにする。このフラグはアプリケーションプロセスで
も参照することができ、アプリケーションプロセスは自
端末の負荷が重くないと判断し、全てローカルの作業エ
ージェント26を使用して処理を行う。一方、S9で負
荷が重いと判断された場合、S12に進み、負荷計測エ
ージェント30が停止させたかを判断し、負荷計測エー
ジェント30が停止した場合は、S13にて負荷計測エ
ージェント30に移動開始命令を送り、再起動し、続い
て、S14で負荷計測エージェント30停止フラグをO
FFにする。一方、S12で計測エージェント30が停
止しなかった場合は、S4の負荷計測エージェント30
からの報告を取り込む処理に戻る。ここでの機器処理能
力及び負荷一覧、及びリファレンステーブルは、後のア
プリケーションプロセスで作業エージェント26の配信
先を決めるのに使われる。
Next, in S9, the load on the terminal is judged, and if the load is light for a certain period of time, the process proceeds to S10 and the activity of the load measuring agent 30 is stopped. And
In step S11, the load measurement agent 30 stop flag is turned on. This flag can be referred to by the application process as well, and the application process determines that the load on its own terminal is not heavy, and all processing is performed using the local work agent 26. On the other hand, if it is determined that the load is heavy in S9, the process proceeds to S12, it is determined whether the load measurement agent 30 is stopped, and if the load measurement agent 30 is stopped, the load measurement agent 30 is instructed to start moving in S13. To restart, and then in S14, the load measurement agent 30 stop flag is set to O.
Set to FF. On the other hand, if the measurement agent 30 has not stopped in S12, the load measurement agent 30 in S4
Return to the process of fetching the report from. The device processing capacity and load list here, and the reference table are used to determine the delivery destination of the work agent 26 in the later application process.

【0029】次に、図7(a)は、負荷値計測エージェ
ントの処理フローである。これはアプリケーション端末
により送信され実行可能になると、まず、S22でコン
ピュータ名を読み取りに行き、S24で使用可能メモ
リ、ネットワークI/Oの使用状況、残存電力等の情報
を取得する。前記コンピュータ名の取得は、アプリケー
ション端末に送信すると、処理速度の情報(MIPS
値)に変換される。次にS26にて、一定時間毎にログ
を取りプロセッサの負荷を平均値として求める。続い
て、S28でアプリケーション端末に結果をまとめて報
告した後、S30では、移動リストの次の機器に移動す
る。以降、S22〜S30を繰り返す。また、何回かリ
トライを行った後も移動できない場合は、移動リストか
らその機器のアドレスを外し、アプリケーション端末に
も報告する。この結果に基づき、上述した図4に示す機
器処理能力及び負荷一覧表と図5のリファレンステーブ
ルが更新される。
Next, FIG. 7A is a processing flow of the load value measuring agent. When this is transmitted by the application terminal and becomes executable, first, in S22, the computer name is read, and in S24, information such as available memory, network I / O usage status, and remaining power is acquired. When the computer name is acquired, the processing speed information (MIPS) is transmitted to the application terminal.
Value). Next, in S26, a log is taken at regular intervals and the load on the processor is obtained as an average value. Subsequently, in S28, the results are collectively reported to the application terminal, and in S30, the process moves to the next device in the move list. After that, S22 to S30 are repeated. If the device cannot be moved even after several retries, the address of the device is removed from the transfer list and the application terminal is also notified. Based on this result, the device processing capacity and load list shown in FIG. 4 and the reference table shown in FIG. 5 are updated.

【0030】次に、図7(b)は、機器処理能力及び負
荷一覧作成プロセスより受けた停止、再開命令の処理フ
ローである。まず、これらの命令は割り込みにより受信
し、受信後命令の判別を行っている。S32で移動停止
命令かどうかを判断し、移動停止命令であったときはS
34に進み、負荷値計測エージェントが移動中かどうか
を判断する。負荷値計測エージェントが移動中であった
ときには、S36に進み処理を停止して終了する。一
方、S32で移動停止命令でなかったときは、S38に
進み、移動開始命令かどうかを判断する。移動開始命令
でなかったときは終了し、移動開始命令であったとき
は、S40に進み、停止中かどうかを判断する。停止中
でない場合は終了し、停止中の場合には、S42に進
み、処理を開始した後、終了する。
Next, FIG. 7B is a processing flow of the stop and restart commands received from the device processing capacity and load list creation process. First, these commands are received by interruption, and the commands are determined after reception. In S32, it is determined whether it is a movement stop command, and if it is a movement stop command, S
In step 34, it is determined whether the load value measuring agent is moving. When the load value measuring agent is moving, the process proceeds to S36 and the process is stopped and terminated. On the other hand, if it is not the movement stop instruction in S32, the process proceeds to S38, and it is determined whether or not the movement start instruction. If it is not a movement start command, the process ends. If it is a movement start command, the process proceeds to S40, and it is determined whether or not it is stopped. If it is not stopped, the process ends. If it is stopped, the process proceeds to S42, starts the process, and then ends.

【0031】次に、図8にアプリケーションプロセスの
処理フローを示す。まず、図8(a)のフローでは、S
50にて自端末の負荷値を計測する。続いてS52に進
み、負荷が重いかどうかを判断する。負荷が重いと、S
54に進み、他機器にエージェントを送信する。この他
機器にエージェントを送信する手順は、図9に示した。
Next, FIG. 8 shows a processing flow of the application process. First, in the flow of FIG.
At 50, the load value of the own terminal is measured. Then, the process proceeds to S52, and it is determined whether the load is heavy. If the load is heavy, S
In step 54, the agent is transmitted to another device. The procedure for transmitting an agent to this other device is shown in FIG.

【0032】図9では、リファレンステーブルの負荷値
を調べることにより、S80にて送信効果の大きい作業
エージェントを選択する。S80で選択した作業エージ
ェントが未送信の場合は、S88以降の送信処理を行う
ためS88に進む。一方、送信済の場合は、S84に進
み、送信先の負荷値を調べ、負荷が大きい場合は、同一
作業エージェントのコピーを更に別の機器に送る必要が
あるのでS88以降の送信処理を行う。S84の判断で
送信先の負荷が小さい場合は送信の必要はなく、既に送
信済の作業エージェントの利用を図る。
In FIG. 9, by checking the load value of the reference table, the work agent having a large transmission effect is selected in S80. If the work agent selected in S80 has not been transmitted, the process proceeds to S88 in order to perform the transmission process after S88. On the other hand, if it has been transmitted, the process proceeds to S84, the load value of the transmission destination is checked, and if the load is large, it is necessary to send a copy of the same work agent to another device, so the transmission process from S88 is performed. If the load of the transmission destination is small in the determination of S84, it is not necessary to transmit and the work agent already transmitted is used.

【0033】そして、S88にてメモリ、ネットワーク
I/O、電力等に余裕があるネットワーク上の機器を選
択している。続いて、S90では、S88により選ばれ
た機器の内から 処理速度*(1−プロセッサ負荷) を計算する事により、最もCPU能力の高い機器を決定
する。そして、S92で最もCPU能力の高い機器に向
け、作業エージェントを送信する。そしてS94に進
み、送信完了の確認を行い、送信完了されれば、S96
に進み、オブジェクトリファレンスのアドレス記入、送
信済フラグ設定等のリファレンステーブルの更新を行っ
ている。
Then, in S88, a device on the network having a sufficient memory, network I / O, power, etc. is selected. Then, in S90, the processing speed * (1-processor load) is calculated from the devices selected in S88 to determine the device having the highest CPU capability. Then, in S92, the work agent is transmitted to the device having the highest CPU capability. Then, the process proceeds to S94, the transmission completion is confirmed, and if the transmission is completed, S96
Then, the reference table such as the address of the object reference and the transmitted flag setting is updated.

【0034】再び図8(a)に戻り、S56では、クラ
イアントからの要求キューを取り出し、要求キューがな
い場合は、S50に戻し、要求キューがある場合は、S
58に進み、処理要求キューにより処理を取り出し、そ
の処理を行わせている。そして、S60に進み、新たな
処理プロセスを作成し、要求の処理を行わせている。
Returning to FIG. 8A again, in S56, the request queue from the client is taken out, and if there is no request queue, the process returns to S50. If there is a request queue, S
Proceeding to 58, the process is taken out from the process request queue and the process is performed. Then, the process proceeds to S60, where a new processing process is created and the request is processed.

【0035】次に、図8(b)はプロセスの処理であ
る。まず、S62にてリファレンステーブルのアドレス
を獲得する。そしてS64に進み、自端末の負荷を調
べ、軽い場合は作業エージェントのリファレンスをロー
カルに設定する(S68)。一方、負荷が重い場合は、
S66にて全ての作業エージェントのアドレスを獲得す
る。この時、リファレンステーブルにおいてオブジェク
トが未送信であればローカルのオブジェクトリファレン
スを得、送信済であればそのリモートリファレンスを得
る。複数の送信オブジェクトがある場合は、送信先での
プロセッサ負荷が軽い機器におけるオブジェクトリファ
レンスを獲得する。これは、図5のリファレンステーブ
ルにプロセッサ負荷値が記載されているので、その値を
比較する事により行える。
Next, FIG. 8B shows the processing of the process. First, in S62, the address of the reference table is acquired. Then, the process proceeds to S64, the load of the own terminal is checked, and if the load is light, the reference of the work agent is locally set (S68). On the other hand, if the load is heavy,
In S66, the addresses of all work agents are acquired. At this time, if the object has not been transmitted in the reference table, the local object reference is obtained, and if it has been transmitted, the remote reference is obtained. When there are multiple transmission objects, the object reference for the device with a light processor load at the transmission destination is acquired. This can be done by comparing the processor load values, which are described in the reference table of FIG.

【0036】そして、S70に進み、クライアントから
の要求処理を行っているが、作業エージェントのアドレ
スは既にS66、S68にて確定しているので、作業エ
ージェントがサーバのローカルにある場合と、他端末に
移動している場合との処理ロジックは変わらない。そし
て、S72で処理の完了を判断する。完了していないと
きは、S70に戻し、処理が完了すると、S74で結果
をリターンし、S76でプロセスを消去、あるいはシス
テムにプールして終了する。
Then, the process proceeds to S70, where the request processing from the client is performed, but since the address of the work agent has already been determined in S66 and S68, the case where the work agent is local to the server and the other terminal Processing logic is the same as when moving to. Then, the completion of the process is determined in S72. If not completed, the process returns to S70. When the process is completed, the result is returned in S74, the process is deleted in S76, or the process is pooled in the system and terminated.

【0037】次に、図10にアプリケーションプロセス
と作業エージェントの処理形態を示す。図10に示すよ
うに、アプリケーションプロセスは、サーバ40から作
業エージェント41のメッソドを呼ぶ事により機能の一
部を実行してもらい、処理結果を教えてもらっている。
これは、本来アプリケーション実行端末で必要なCPU
時間、メモリ等の資源消費を肩代わりさせる事となり、
アプリケーション端末の負荷低減となっている。また、
サーバ40において、複数のクライアントから要求があ
る場合、プロセスが並列処理を進めており、各プロセス
において負荷が低減されているので、結果的にレスポン
ス時間が短縮する事になる。
Next, FIG. 10 shows the processing forms of the application process and the work agent. As shown in FIG. 10, the application process asks the server 40 to call a method of the work agent 41 to execute a part of the function, and is told the processing result.
This is the CPU originally required for the application execution terminal
It consumes resources such as time and memory,
The load on the application terminal is reduced. Also,
In the server 40, when there are requests from a plurality of clients, the processes are proceeding with parallel processing, and the load is reduced in each process, and as a result, the response time is shortened.

【0038】次に、図11にサーバ端末が複数台の構成
を示す。1台目のサーバ(サーバ1)は上述した事と同
じ構成及び手順で動作を行う。2台目以降のサーバ(サ
ーバ2)が存在する場合は、図11に示すように、前記
サーバ2からは機器処理能力及び負荷一覧作成プロセス
及び負荷計測エージェント30が削除されており、メイ
ンプロセス34と作業エージェント36にて、図6に示
す機器処理能力、及び負荷一覧作成プロセスのフローは
実行せず、ネットワークに接続している他端末にサーバ
1と共有する管理テーブルにより、作業エージェント3
6を送信し、作業エージェント36に前記アプリケーシ
ョン機能の一部を実行させる事により負荷分散を行う。
また、このサーバ1とサーバ2との構成は端末のセット
アップ時のコンフィギュレーションにて行うことができ
る。
Next, FIG. 11 shows the configuration of a plurality of server terminals. The first server (server 1) operates with the same configuration and procedure as described above. When there are second and subsequent servers (server 2), as shown in FIG. 11, the device processing capacity and load list creation process and the load measurement agent 30 are deleted from the server 2, and the main process 34 The work agent 36 does not execute the device processing capacity and load list creation process flow shown in FIG. 6, and the work agent 3 is managed by the management table shared with the server 1 by another terminal connected to the network.
6 is sent to cause the work agent 36 to execute a part of the application function, thereby distributing the load.
Further, the configuration of the server 1 and the server 2 can be performed by the configuration at the time of setting up the terminal.

【0039】なお、前記サーバ2は、クライアントから
の要求を前記サーバ1から振り分けてもらっても良い
し、別の独立したアクセスポイントとしても良い。ま
た、メインプロセス20の処理フローは管理テーブル
(図3、4、5のテーブル)をローカルではなく、サー
バ1を参照する点を除けば、サーバ1で説明したフロー
と変わらない。すなわち、サーバ2にて負荷が大きくな
い場合は、ローカルの作業エージェント26を用いてク
ライアントからの要求処理を行う。負荷が大きくなって
きた場合、サーバ1の管理テーブルを参照してリモート
に移動している作業エージェント26を利用するか、あ
るいは作業エージェント26のコピーを他機器に送信す
る。さらに、送信した作業エージェント26の機器の負
荷が大きくなっている場合は、別の機器を捜し作業エー
ジェント26のコピーを送信している。また、管理テー
ブルは同時に複数のアプリケーション実行端末よりアク
セスされる可能性があるので、ロック、アンロック等排
他制御の機構を用いて、同時アクセスが発生しないよう
になっている。これはOSのシステムコールを呼び出す
事により行えるが、マルチプロセスの機構では一般的な
のでフローには記載していない。また、一連のこれらの
手順は、サーバ1のフローと同様である。
The server 2 may have the request from the client be distributed from the server 1 or may be another independent access point. Further, the processing flow of the main process 20 is the same as the flow described for the server 1 except that the management table (tables in FIGS. 3, 4, and 5) is not local but refers to the server 1. That is, when the load on the server 2 is not large, the local work agent 26 is used to process the request from the client. When the load increases, the management table of the server 1 is referenced to use the work agent 26 that is moving remotely, or a copy of the work agent 26 is transmitted to another device. Further, when the device load of the transmitted work agent 26 is heavy, another device is searched for and a copy of the work agent 26 is transmitted. Further, since the management table may be simultaneously accessed by a plurality of application execution terminals, simultaneous access does not occur by using an exclusive control mechanism such as locking and unlocking. This can be done by calling a system call of the OS, but it is not described in the flow because it is common in the multi-process mechanism. A series of these procedures is the same as the flow of the server 1.

【0040】なお、このシステムではエージェントが他
の端末に送信され実行されるので、パスワード及び暗号
・復号に関する処理を行う場合、セキュリティを考慮す
る必要がある。これに関しては、Java(登録商標)
で検討されているエージェントの暗号化技術を用いて良
い。また、従来技術でエンベローププロテクト技術があ
るのでこれを使用することもできる。これはアプリケー
ションファイルをスクランブルする事によりプロテクト
を行い、解凍しながら実行するので、エージェントの送
受信時、実行時において保護できる。
Note that in this system, the agent is transmitted to another terminal and executed, so security must be taken into consideration when performing processing relating to the password and encryption / decryption. In this regard, Java (registered trademark)
The agent's encryption technology discussed in Section 3.1.1 may be used. Further, since there is an envelope protection technique in the conventional technique, it can be used. This is protected by scrambling the application file and executed while decompressing, so it can be protected during agent transmission / reception and execution.

【0041】以上、本発明の実施形態を用いることによ
り、一つの処理エンジンを、制御を行うメインプロセス
と移動可能な作業エージェントに分解し、アクセスが集
中した時に作業エージェントを他機器に移動する事によ
り負荷の集中を避けている。この方法では極端にアクセ
スが集中する場合以外は、作業エージェントを他機器に
移動させる事により負荷分散が行え、レスポンスを改善
できる。また、必ずしも端末でなくても負荷分散に役立
てることができる。例えば、CPUを搭載しているプリ
ンタやFAXマシンのような機器にも作業エージェント
を送り込み負荷分散を行える。また、端末の負荷が増大
した時にネットワークに接続した機器全体の負荷が重い
ということでなければ、負荷が軽い端末に処理をさせる
ことにより、処理エンジンの台数を増やさなくても対処
できる装置を提供する事ができる。従って、新たな端末
の購入のコストアップ、ソフトウエアのセットアップ等
の作業工数をかけずに、負荷が増大した時、負荷の分散
を行いレスポンスを改善できる。また、シーケンシャル
な処理においても負荷分散が行え、さらに、サーバ、ク
ライアントの両方負荷が重い場合も対処できる。
As described above, by using the embodiment of the present invention, one processing engine is decomposed into a main process for controlling and a movable work agent, and the work agent is moved to another device when access is concentrated. This avoids concentration of load. With this method, the load can be distributed and the response can be improved by moving the work agent to another device except when the access is extremely concentrated. In addition, it is possible to use it for load distribution even if it is not necessarily a terminal. For example, a work agent can be sent to a device such as a printer or a FAX machine equipped with a CPU to distribute the load. Also, if the load on the entire device connected to the network is not heavy when the load on the terminal increases, we will provide a device that can handle it without increasing the number of processing engines by letting the terminal with a light load process. You can do it. Therefore, when the load increases, the load can be distributed and the response can be improved without increasing the cost of purchasing a new terminal and man-hours such as software setup. In addition, the load can be distributed even in the sequential processing, and it is possible to deal with the case where the load on both the server and the client is heavy.

【0042】また、携帯情報端末等で消費電力が懸念さ
れる場合においても、安定した電源を持つ他端末に作業
を依頼する事により電力消費を節約する事ができ、さら
に、同一アプリケーション処理を行う複数の端末より構
成される場合で、互いに情報を共有し協調動作を行う事
が出来、負荷分散を効果的に行える。
Further, even when power consumption is concerned in a portable information terminal or the like, power consumption can be saved by requesting work to another terminal having a stable power source, and further, the same application processing is performed. When configured with multiple terminals, information can be shared with each other and cooperative operation can be performed, and load distribution can be effectively performed.

【0043】[0043]

【発明の効果】本発明を用いることにより、並列タスク
と、シーケンシャルな処理においても作業エージェント
を送り込むことにより負荷分散が行え、予め各作業端末
ごとのセットアップが不要な負荷分散システムを提供す
ることができる。
EFFECTS OF THE INVENTION By using the present invention, it is possible to provide a load distribution system in which parallel tasks and load distribution can be performed by sending work agents even in sequential processing, and no setup is required for each work terminal in advance. it can.

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

【図1】本発明の実施形態をLANで用いた場合の機器
構成を示す図。
FIG. 1 is a diagram showing a device configuration when an embodiment of the present invention is used in a LAN.

【図2】本発明の実施形態に係るアプリケーション実行
機能を持った端末に含まれるアプリケーションプロセス
の構成を示す図。
FIG. 2 is a diagram showing a configuration of an application process included in a terminal having an application execution function according to the embodiment of the present invention.

【図3】本発明の実施形態に係るルータより取得できる
ルーティングテーブルを示す図。
FIG. 3 is a diagram showing a routing table that can be acquired from the router according to the embodiment of the present invention.

【図4】本発明の実施形態に係る負荷計測エージェント
より報告された機器処理能力及び負荷一覧を示す図。
FIG. 4 is a diagram showing a device processing capacity and a load list reported by a load measurement agent according to the embodiment of the present invention.

【図5】本発明の実施形態に係る送信した作業エージェ
ントの管理テーブルを示す図。
FIG. 5 is a diagram showing a management table of a transmitted work agent according to the embodiment of the present invention.

【図6】本発明の実施形態に係る機器処理能力及び負荷
一覧作成のフローを示す流れ図。
FIG. 6 is a flowchart showing a flow of creating a device processing capacity and a load list according to the embodiment of the present invention.

【図7】本発明の実施形態に係る負荷値計測エージェン
トの処理フロー及び機器処理能力及び負荷一覧作成プロ
セスより受けた停止、再開命令の処理フローを示す流れ
図。
FIG. 7 is a flowchart showing a processing flow of a load value measuring agent and a processing flow of a stop / restart command received from a device processing capacity and load list creation process according to an embodiment of the present invention.

【図8】本発明の実施形態に係るアプリケーションプロ
セスの処理フローを示す図。
FIG. 8 is a diagram showing a processing flow of an application process according to the embodiment of the present invention.

【図9】本発明の実施形態に係るエージェントを送信す
る手順を示した図。
FIG. 9 is a diagram showing a procedure for transmitting an agent according to the embodiment of the present invention.

【図10】本発明の実施形態に係るアプリケーションプ
ロセスと作業エージェントの処理形態を示す図。
FIG. 10 is a diagram showing processing forms of an application process and a work agent according to the embodiment of the present invention.

【図11】本発明の実施形態に係るサーバ端末が複数台
の構成を示す図。
FIG. 11 is a diagram showing a configuration of a plurality of server terminals according to the embodiment of the present invention.

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

10,11,12…端末、13…サーバ端末、15…デ
ィスク装置、14…プリンタ、16…ルータ、20、3
4…メインプロセス、22…負荷一覧作成プロセス、2
4…アプリケーションプロセス、26、36、41…作
業エージェント、30…負荷計測エージェント
10, 11, 12 ... Terminal, 13 ... Server terminal, 15 ... Disk device, 14 ... Printer, 16 ... Router, 20, 3
4 ... Main process, 22 ... Load list creation process, 2
4 ... Application process, 26, 36, 41 ... Work agent, 30 ... Load measuring agent

─────────────────────────────────────────────────────
─────────────────────────────────────────────────── ───

【手続補正書】[Procedure amendment]

【提出日】平成13年12月18日(2001.12.
18)
[Submission date] December 18, 2001 (2001.12.
18)

【手続補正1】[Procedure Amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】特許請求の範囲[Name of item to be amended] Claims

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【特許請求の範囲】[Claims]

【手続補正2】[Procedure Amendment 2]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0008[Correction target item name] 0008

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0008】また、前記作業エージェントが前記アプリ
ケーション機能実行する手段は、前記アプリケーショ
ンの一部を実行することを特徴とする。
The means for executing the application function by the work agent executes a part of the application.

【手続補正3】[Procedure 3]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0010[Correction target item name] 0010

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0010】また、前記作業エージェントを送り出し、
前記負荷計測の情報を保持する端末、前記作業エージ
ェントを受け取り、実行させ端末とで構成され、前記
負荷計測の情報を保持する端末からの指示に従い、前記
ネットワークに接続している他端末に前記作業エージェ
ントを送信し、作業エージェントにアプリケーション機
能の一部を実行させる事により負荷分散を行うことを特
徴とする。
Further, the work agent is sent out,
A terminal for holding information of the load measuring receiving said working agent is composed of a terminal that Ru is executed in accordance with an instruction from the terminal for holding information of the load measuring, the other terminals connected to the network Load distribution is performed by transmitting the work agent and causing the work agent to execute a part of the application function.

【手続補正4】[Procedure amendment 4]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0024[Name of item to be corrected] 0024

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0024】次に、図5は、送信した作業エージェント
26管理するリファレンステーブルである。ここで
は、作業エージェント26として、オブジェクト1〜4
に分類している。オブジェクトリファレンスを用いてロ
ーカル及びリモートのオブジェクトに呼び出し処理を実
行させることができる。また、送信済は送信が完了し、
リモートのオブジェクトが使える状態を示す。負荷はC
PUの消費量で、この値が大きい程リモートエージェン
トによる負荷軽減の効果が大きいとする。
Next, FIG. 5 is a reference table for managing the transmitted work agent 26. Here, the work agents 26 are objects 1 to 4
It is classified into. Object references can be used to cause local and remote objects to perform call processing. In addition, transmission has been completed,
Indicates that the remote object can be used. The load is C
It is assumed that the larger the value of PU consumption, the greater the effect of reducing the load by the remote agent.

【手続補正5】[Procedure Amendment 5]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】0027[Name of item to be corrected] 0027

【補正方法】変更[Correction method] Change

【補正内容】[Correction content]

【0027】この後エージェントは、自発的に一定時間
ログを取って負荷値等を計測した後結果を自端末に報告
しリストの次のアドレスへ移動する。以降、これを繰り
返す。次に、S4では、この負荷計測エージェント30
からの報告を取り込む。そして、S5では、負荷計測エ
ージェント30からの報告かどうかを判断し、負荷計測
エージェント30からの報告でなければ、S4に戻し、
負荷計測エージェント30からの報告であれば、S6に
進む。S6では、処理能力及び負荷一覧テーブルを更新
する。次に、S7に進み、リファレンステーブルで送信
済みオブジェクトがあるかどうかを判断する。なけれ
ば、S4に戻し、送信済みオブジェクトがあった場合
は、S8に進む。S8では、一定時間毎に前記負荷計測
エージェント30から報告が送られてくるので、その都
度、リファレンステーブルのプロセッサ負荷情報のアッ
プデートを行う。
After this, the agent voluntarily logs for a certain period of time, measures the load value, etc., then reports the result to its own terminal, and moves to the next address in the list. After that, this is repeated. Next, in S4, the load measuring agent 30
Capture reports from. Then, in S5, it is judged whether or not the report is from the load measuring agent 30, and if it is not the report from the load measuring agent 30, the process returns to S4,
If the report is from the load measuring agent 30, the process proceeds to S6. In S6, the processing capacity and load list table is updated. Next, in S7, it is determined whether there is a transmitted object in the reference table. If not, the process returns to S4, and if there is a transmitted object, the process proceeds to S8. In S8, a report is sent from the load measurement agent 30 at regular intervals, so the processor load information in the reference table is updated each time.

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 ネットワークで接続された複数の端末で
構成されたシステムであって、 アプリケーションの制御を行う制御手段と、 前記ネットワーク内を移動可能な作業エージェントが前
記アプリケーション機能を実行する手段と、 前記ネットワークを巡回する巡回エージェントを用いて
前記ネットワーク上の端末の負荷計測を行う手段と、 前記端末が所定の状態になった時、前記負荷計測の結果
に基づきネットワークの他の端末に前記作業エージェン
トを送信し、前記作業エージェントに前記アプリケーシ
ョン機能を実行させる手段とを有することを特徴とする
負荷分散システム。
1. A system comprising a plurality of terminals connected by a network, wherein the control means controls an application, and a work agent movable in the network executes the application function. A means for measuring the load of a terminal on the network using a patrol agent that patrols the network; and when the terminal is in a predetermined state, the work agent is transmitted to another terminal of the network based on the result of the load measurement. And a means for causing the work agent to execute the application function.
【請求項2】 前記作業エージェントが前記アプリケー
ション機能実行手段は、前記アプリケーションの一部を
実行することを特徴とする請求項1に記載の負荷分散シ
ステム。
2. The load balancing system according to claim 1, wherein the work agent executes the part of the application by the application function executing means.
【請求項3】 前記端末の所定の状態は、前記端末の負
荷が増大した状態、あるいは前記端末の残電力が所定値
以下になった状態とすることを特徴とする請求項1に記
載の負荷分散システム。
3. The load according to claim 1, wherein the predetermined state of the terminal is a state in which the load on the terminal is increased or a state in which the remaining power of the terminal is less than or equal to a predetermined value. Distributed system.
【請求項4】 前記作業エージェントを送り出し、前記
負荷計測の情報を保持する端末と、前記作業エージェン
トを受け取り、実行させるの端末とで構成され、 前記負荷計測の情報を保持する端末からの指示に従い、
前記ネットワークに接続している他端末に前記作業エー
ジェントを送信し、作業エージェントにアプリケーショ
ン機能の一部を実行させる事により負荷分散を行うこと
を特徴とする請求項1に記載の負荷分散システム。
4. A terminal configured to send out the work agent and hold the load measurement information and a terminal to receive and execute the work agent, according to an instruction from the terminal holding the load measurement information. ,
The load balancing system according to claim 1, wherein the work agent is transmitted to another terminal connected to the network, and the work agent executes a part of an application function to perform load balancing.
【請求項5】 前記ネットワークには、前記作業エージ
ェントを受け取り、実行させるの端末が複数台接続され
ていることを特徴とする請求項1に記載の負荷分散シス
テム。
5. The load balancing system according to claim 1, wherein a plurality of terminals for receiving and executing the work agent are connected to the network.
【請求項6】 ネットワークで接続された複数の端末で
構成された負荷分散方法であって、 アプリケーションの制御を行う制御工程と、 前記ネットワーク内を移動可能な作業エージェントが前
記アプリケーション機能を実行する工程と、 前記ネットワークを巡回する巡回エージェントを用いて
前記ネットワーク上の端末の負荷計測を行う工程と、 前記端末が所定の状態になった時、前記負荷計測の結果
に基づきネットワークの他の端末に前記作業エージェン
トを送信し、前記作業エージェントに前記アプリケーシ
ョン機能を実行させる工程とを有することを特徴とする
負荷分散方法。
6. A load balancing method comprising a plurality of terminals connected by a network, the control step of controlling an application, and the step of a work agent movable in the network executing the application function. And a step of measuring a load of a terminal on the network using a patrol agent that patrols the network, and when the terminal is in a predetermined state, the other terminal of the network is connected to another terminal of the network based on a result of the load measurement. Transmitting a work agent and causing the work agent to execute the application function.
【請求項7】 ネットワークで接続された複数の端末で
構成された負荷分システムを用いる際、 アプリケーションの制御を行う制御処理と、 前記ネットワーク内を移動可能な作業エージェントが前
記アプリケーション機能を実行する処理と、 前記ネットワークを巡回する巡回エージェントを用いて
前記ネットワーク上の端末の負荷計測を行う処理と、 前記端末が所定の状態になった時、前記負荷計測の結果
に基づきネットワークの他の端末に前記作業エージェン
トを送信し、前記作業エージェントに前記アプリケーシ
ョン機能を実行させる処理とをコンピュータに実行させ
る命令を含むプログラム。
7. A control process for controlling an application when using a load distribution system composed of a plurality of terminals connected by a network, and a process for a work agent movable in the network to execute the application function. A process of measuring a load of a terminal on the network using a patrol agent that patrols the network; A program including instructions for transmitting a work agent and causing a computer to perform a process of causing the work agent to execute the application function.
JP2001200142A 2001-06-29 2001-06-29 System for load distribution, method therefor and program Pending JP2003016044A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001200142A JP2003016044A (en) 2001-06-29 2001-06-29 System for load distribution, method therefor and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001200142A JP2003016044A (en) 2001-06-29 2001-06-29 System for load distribution, method therefor and program

Publications (1)

Publication Number Publication Date
JP2003016044A true JP2003016044A (en) 2003-01-17

Family

ID=19037315

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001200142A Pending JP2003016044A (en) 2001-06-29 2001-06-29 System for load distribution, method therefor and program

Country Status (1)

Country Link
JP (1) JP2003016044A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005083574A1 (en) * 2004-03-02 2005-09-09 Matsushita Electric Industrial Co., Ltd. Device control server and device control method
US7103666B2 (en) * 2001-01-12 2006-09-05 Siemens Medical Solutions Health Services Corporation System and user interface supporting concurrent application operation and interoperability
WO2008007609A1 (en) * 2006-07-11 2008-01-17 Panasonic Corporation Information processing system, instructing device, processing device, and information processing method
KR101378350B1 (en) * 2011-12-15 2014-03-28 숭실대학교산학협력단 Device and method to dynamically migrate service components

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000184597A (en) * 1998-12-18 2000-06-30 Toshiba Corp Power system monitoring and control system and recording medium for recording processing program of the system
JP2000259581A (en) * 1999-03-09 2000-09-22 Toshiba Corp Computer-readable storage medium storing computer system control program and object generation program, and computer system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000184597A (en) * 1998-12-18 2000-06-30 Toshiba Corp Power system monitoring and control system and recording medium for recording processing program of the system
JP2000259581A (en) * 1999-03-09 2000-09-22 Toshiba Corp Computer-readable storage medium storing computer system control program and object generation program, and computer system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7103666B2 (en) * 2001-01-12 2006-09-05 Siemens Medical Solutions Health Services Corporation System and user interface supporting concurrent application operation and interoperability
WO2005083574A1 (en) * 2004-03-02 2005-09-09 Matsushita Electric Industrial Co., Ltd. Device control server and device control method
WO2008007609A1 (en) * 2006-07-11 2008-01-17 Panasonic Corporation Information processing system, instructing device, processing device, and information processing method
US8161300B2 (en) 2006-07-11 2012-04-17 Panasonic Corporation Instructing device configured to selects a cooperating device based on a predetermined power supply reliability
KR101378350B1 (en) * 2011-12-15 2014-03-28 숭실대학교산학협력단 Device and method to dynamically migrate service components

Similar Documents

Publication Publication Date Title
US11249829B2 (en) Refreshing security credentials used to invoke an external function
JP7461471B2 (en) Cloud Services for Cross-Cloud Operations
US8713186B2 (en) Server-side connection resource pooling
EP0817043B1 (en) Apparatus and method for operating an aggregation of server computers using a dual-role proxy server computer
JP6487401B2 (en) System and method for active-passive routing and control of traffic in a traffic director environment
AU742156B2 (en) Distributed web application server
US7451197B2 (en) Method, system, and article of manufacture for network protocols
JP2020530722A (en) PDU type setting method, UE policy setting method, and related entities
US20110239216A1 (en) Service providing system, a virtual machine server, a service providing method, and a program thereof
US11838373B2 (en) Remote execution using a global identity
CN111352716B (en) Task request method, device and system based on big data and storage medium
US20030135617A1 (en) Intelligent system control agent
US20200233719A1 (en) Cloud infrastructure service and maintenance
US20070061482A1 (en) Information processing apparatus, communication control method, and communication control program
JP2003016044A (en) System for load distribution, method therefor and program
CN115361271B (en) SSH server switching and connecting method, cloud server and storage medium
US10291717B2 (en) Prioritizing VDI sessions and redirected devices in software defined networks
US20030061257A1 (en) Multithreaded universal daemon for network data exchanges
CN119520350B (en) Application deployment method and device
CN118426696A (en) Data processing method, data processing device and storage platform
Melnyk Modeling of the messages search mechanism in the messaging process on the basis of TCP protocols
JP2000293493A (en) Distributed processing system for security check and its device and information storage medium
JPH11232114A (en) Client server system
JPH02144758A (en) Network system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080624

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100527

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100608

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20101019