JPH07295843A - Load scattered platform and its load scattering processing method - Google Patents

Load scattered platform and its load scattering processing method

Info

Publication number
JPH07295843A
JPH07295843A JP8316094A JP8316094A JPH07295843A JP H07295843 A JPH07295843 A JP H07295843A JP 8316094 A JP8316094 A JP 8316094A JP 8316094 A JP8316094 A JP 8316094A JP H07295843 A JPH07295843 A JP H07295843A
Authority
JP
Japan
Prior art keywords
unit
load
platform
processing
application program
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
JP8316094A
Other languages
Japanese (ja)
Inventor
Yoshio Kashima
宜雄 加島
Takashi Inoue
貴司 井上
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP8316094A priority Critical patent/JPH07295843A/en
Publication of JPH07295843A publication Critical patent/JPH07295843A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To provide a load scattered platform and its load scattering processing method which try to attain the high performance of a system, i.e., to shorten the waiting time of each task by making the scattered unit platforms scatter the load in cooperation with each other. CONSTITUTION:A data base DB1, the task modules M and the application programs AP are connected to a unit PF 1 by a DB interface 18, an M interface 17 and an AP interface 13. An accesser 16 manages the access requests given from the programs AP, and each unit PF recognizes its own load state by a data collector 14. At the same time, the PFs notify their load states to each other by a negotiator 15 so that the load states are equalized among the units PF. Furthermore each data base, each task module and each application program are connected to all or plural unit platforms.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、通信分野、事務分野等
において使用されるネットワークの管理、運用等におい
て、データベースとアプリケーションプログラムの結合
や、各種複数のシステム間結合に使用するための負荷分
散化プラットフォーム及びその負荷分散処理方法に関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to load balancing for use in connection of databases and application programs and connection between various systems in the management and operation of networks used in the fields of communication and office work. Computerized platform and its load balancing processing method.

【0002】[0002]

【従来の技術】従来、図2に示すようにデータベースを
用いて一連の仕事を行なうアプリケーションプログラム
(以下、APと称する)とデータベース(以下、DBと
称する)は直結されていたため、DBのデータベースの
流通が困難であったり、DBを変更するとAPも変更す
る必要が有った。即ち、AP(1)で、データ群1とデ
ータ群2を使用して、一連の仕事を行なうことが出来
ず、新規にAPまたは、システムを作成し直す必要があ
った。
2. Description of the Related Art Conventionally, as shown in FIG. 2, an application program (hereinafter, referred to as AP) that performs a series of work using a database and a database (hereinafter, referred to as DB) are directly connected to each other. It was necessary to change the AP when distribution was difficult or when the DB was changed. That is, AP (1) cannot perform a series of work using the data group 1 and the data group 2, and it is necessary to newly recreate the AP or the system.

【0003】また、図3のように特定の仕事を行なうタ
スクモジュールにおいても、APとタスクモジュールは
直結していた。このため、タスクモジュールを変更する
とAPも変更する必要が有った。さらに、複数のタスク
モジュールと複数のDBを使用するAPの場合の変更は
非常に複雑であった。
Also, in the task module that performs a specific task as shown in FIG. 3, the AP and the task module are directly connected. Therefore, when the task module is changed, it is necessary to change the AP. Further, the change in the case of an AP using a plurality of task modules and a plurality of DBs was very complicated.

【0004】これを解消する手段として、図4に示す様
に、APとDB、APとタスクモジュールを直結しない
で分離し、それらの結合部であるプラットフォーム(以
下、PFと略す)を介在させて構成する事で、データの
流通を図ると共に、DBやタスクモジュールの変更がA
Pへ及ぼす影響を軽減する事が可能である。ここで、プ
ラットフォームは複数のDBやタスクモジュールとAP
を接続するためのソフトウェアであり、例えば、電子情
報通信学会VOL.E76-B,No.4,April 1993,pp.391-401のN.
Kashima et al. "Optical cable network operation in
subscriber loops"で議論されている。各AP、DB、
タスクモジュールは、プラットフォームと接続されてい
る。
As a means for solving this, as shown in FIG. 4, AP and DB, AP and task module are not directly connected but separated, and a platform (hereinafter abbreviated as PF) which is a connecting portion thereof is interposed. By configuring it, you can distribute the data and change the DB and task module.
It is possible to reduce the influence on P. Here, the platform is a plurality of DBs, task modules and APs.
Is software for connecting to, for example, the Institute of Electronics, Information and Communication Engineers VOL.E76-B, No.4, April 1993, pp.391-401 N.
Kashima et al. "Optical cable network operation in
"Subscriber loops". Each AP, DB,
The task module is connected to the platform.

【0005】[0005]

【発明が解決しようとする課題】しかし、図4に示すよ
うに多数のDB、タスクモジュール、APが1か所のプ
ラットフォームを介して結合する集中的な状況から、分
散化して処理する必要の生じることがある。例えば、装
置の処理能力の関係や、設置場所の関係、信頼性の確保
などから分散化の必要が生じる。図5〜図7に図4の基
本構成を分散化した例を示す。ここでユニットPFは、
図4のプラットフォーム(PF)の機能全部をユニット
プラットフォーム(ユニットPF)として分散化したも
のである。
However, as shown in FIG. 4, since a large number of DBs, task modules, and APs are connected via a single platform, it becomes necessary to perform distributed processing. Sometimes. For example, there is a need for decentralization because of the processing capability of the device, the installation location, and the reliability. 5 to 7 show examples in which the basic configuration of FIG. 4 is dispersed. Here, the unit PF is
All the functions of the platform (PF) in FIG. 4 are distributed as a unit platform (unit PF).

【0006】このように分散化されたPFでも、システ
ム全体として出来るだけ良好な特性を発揮させる必要が
ある。例えば、何も制御しないと1つのユニットPFに
のみ負荷が集中し、そのユニットPFに接続されている
APが非常に長い間待ち状態になる時、他のユニットP
Fは軽負荷で動作する状況が生じてしまう。
Even with the PF dispersed in this way, it is necessary to exhibit the best possible characteristics as the entire system. For example, if nothing is controlled, the load concentrates only on one unit PF, and when an AP connected to that unit PF is in a waiting state for a very long time, another unit P
F may be operated under a light load.

【0007】一方、分散化されたシステムに対して、高
性能化を行なうための手段として、分散協調の考え方が
提案されている。例えば、1984年のR.E.Filman and
D.P.Friedman のCoordinated Computing (協調型計算
システム)の著書や、1992年日経インテリジェント
システムの”自律動作が可能な「エージェント指向」が
浮上”の記事で開示されている。即ち、自律的に動作す
る実行単位であるエージェントが互いに協調しつつ処理
を進めるという考え方である。
On the other hand, the idea of distributed cooperation has been proposed as a means for improving the performance of a distributed system. For example, 1984 REFilman and
It is disclosed in the book of Coordinated Computing by DPFriedman and in the article "The agent-oriented" capable of autonomous operation emerged in Nikkei Intelligent Systems in 1992. That is, the execution unit that operates autonomously. The idea is that the agents proceed with processing in cooperation with each other.

【0008】本発明の目的は上記の問題点に鑑み、分散
化されたユニットプラットフォームが協調して負荷の分
散を図ることでシステムの高性能化、即ちタスクの待ち
時間の短縮を目指した、負荷分散化プラットフォーム及
びその負荷分散処理方法を提供することにある。
In view of the above problems, it is an object of the present invention to improve the system performance, that is, to reduce the waiting time of a task, by coordinating the distributed unit platforms to distribute the load. A distributed platform and a load distribution processing method thereof are provided.

【0009】[0009]

【課題を解決するための手段】本発明は上記の目的を達
成するために請求項1では、データベース群と、タスク
モジュール群と、前記2群を用いて所定のタスクを実行
するアプリケーションプログラム群と、前記3群間相互
の結合部であるユニットプラットフォーム群とで構成さ
れた分散型処理システムにおいて、各ユニットプラット
フォームは、データベースとタスクモジュールとアプリ
ケーションプログラムとに対してインタフェースをとる
インタフェース手段と、アプリケーションプログラムか
らのアクセス要求を管理するアクセス管理手段と、各ユ
ニットプラットフォームが、自分の負荷状態を認識する
処理状況収集手段と、各ユニットプラットフォーム同士
が、上記負荷状態を通知し合って、ユニットプラットフ
ォーム間の負荷状態を平準化するように制御する分散協
調処理手段とから構成され、各データベース、各タスク
モジュール、各アプリケーションプログラムが複数のユ
ニットプラットフォームに接続されてなる負荷分散化プ
ラットフォームを提案する。
In order to achieve the above object, the present invention provides, in claim 1, a database group, a task module group, and an application program group for executing a predetermined task using the two groups. , A distributed processing system composed of a unit platform group which is a coupling part between the three groups, each unit platform having interface means for interfacing with a database, a task module and an application program, and an application program. Access control means for managing access requests from each unit platform, processing status collection means for each unit platform to recognize its own load status, and each unit platform to notify each other of the above load status, and load between unit platforms Condition The is composed of a distributed cooperative processing means for controlling to equalize, each database, each task module, each application program proposes a load distribution platform that formed by connecting a plurality of units platforms.

【0010】また、請求項2では、データベース群と、
タスクモジュール群と、前記2群を用いて所定のタスク
を実行するアプリケーションプログラム群と、前記3群
間相互の結合部であるユニットプラットフォーム群とで
構成された分散型処理システムにおけるプラットフォー
ムの負荷分散処理方法であって、各ユニットプラットフ
ォームが、ユニットプラットフォーム間に共通した、テ
ストタスクモジュールにアクセスするテストアプリケー
ションプログラムを定期的に起動実行し、その処理時間
1 を求めて、自分の処理状況を認識する第1過程と、
上記処理時間T1 が設定時間T0 を越えたユニットプラ
ットフォーム#1が、自分に接続されている他のユニッ
トプラットフォームに該処理時間T1 を通知する第2過
程と、前記ユニットプラットフォーム#1以外の各ユニ
ットプラットフォームが、自分のテストアプリケーショ
ンプログラムの処理時間T2 と前記処理時間T1 との大
小関係を比較して、T2 <T1 の場合に限り、前記ユニ
ットプラットフォーム#1に返答する第3過程と、前記
ユニットプラットフォーム#1が、自分に接続されてい
る一部のアプリケーションプログラムを、他のユニット
プラットフォームから受け取った処理時間のうち最小値
を返答してきたユニットプラットフォームに接続切替え
して、自分の負荷の一部を分散し協調処理させる第4過
程とによって、各ユニットプラットフォームの負荷状態
を定期的に見直して、ユニットプラットフォーム全体に
ついて負荷状態を平準化するプラットフォームの負荷分
散処理方法を提案する。
Further, in claim 2, a database group,
Platform load balancing processing in a distributed processing system including a task module group, an application program group that executes a predetermined task using the two groups, and a unit platform group that is a coupling unit between the three groups A method, in which each unit platform periodically activates and executes a test application program that is common to the unit platforms and that accesses a test task module, and obtains its processing time T 1 to recognize its own processing status. The first process,
Unit platform # 1 above process time T 1 is exceeds the set time T 0 is, a second step of notifying the processing time T 1 to the other units platform that is connected to his, the unit platform # 1 other than each unit platform compares the magnitude of their test application program processing time T 2 and the processing time T 1, only when the T 2 <T 1, third to respond to the unit platform # 1 In the process, the unit platform # 1 connects and switches some of the application programs connected to itself to the unit platform that has returned the minimum value of the processing time received from other unit platforms, By the fourth process of distributing a part of the load and performing cooperative processing, The load state of the bets platform regularly review, we propose a load balancing method of processing platform to level the load state for the entire unit platform.

【0011】[0011]

【作用】本発明の請求項1によれば、各ユニットプラッ
トフォームにおいて、インタフェース手段により、デー
タベースとタスクモジュールとアプリケーションプログ
ラムとに対してユニットプラットフォームとの間のイン
タフェースがとられ、これらとの間が接続される。ま
た、アクセス管理手段によりアプリケーションプログラ
ムからのアクセス要求が管理され、処理状況収集手段に
より自分の負荷状態が認識されると共に、分散協調処理
手段により各ユニットプラットフォーム同士が、上記負
荷状態を通知し合って、ユニットプラットフォーム間の
負荷状態を平準化するように制御される。さらに、各デ
ータベース、各タスクモジュール、各アプリケーション
プログラムが複数のユニットプラットフォームに接続さ
れる。これにより、図8及び図9に示すように、各ユニ
ットプラットフォームの処理状況収集手段が該ユニット
プラットフォームの負荷状況の認識を行い、各ユニット
プラットフォームの分散協調処理手段により他のユニッ
トプラットフォームに対して負荷分散のための要求、返
答の処理、負荷分散のための処理依頼が行われ、各ユニ
ットプラットフォームは、過負荷になった場合に他のユ
ニットプラットフォームに負荷の分散のための要求を出
し、他の全てのユニットプラットフォームはこの要求を
受け取り、必要に応じて返答を返し、最終的にどのユニ
ットプラットフォームに過負荷の分担を依頼するかが決
定される。従って、過負荷状態のユニットプラットフォ
ームが、他の最小負荷状態のユニットプラットフォーム
に負荷の一部を依頼することが可能となる。
According to the first aspect of the present invention, in each unit platform, the interface means provides an interface between the database, the task module, and the application program, and the unit platform is connected. To be done. Further, the access management unit manages the access request from the application program, the processing status collection unit recognizes its own load state, and the distributed cooperative processing units notify each unit platform of the load state. , It is controlled so as to level the load condition between unit platforms. Furthermore, each database, each task module, and each application program are connected to a plurality of unit platforms. As a result, as shown in FIGS. 8 and 9, the processing status collecting means of each unit platform recognizes the load status of the unit platform, and the distributed cooperative processing means of each unit platform loads the other unit platforms. A request for distribution, a response processing, and a processing request for load distribution are performed.Each unit platform issues a request for load distribution to another unit platform when an overload occurs, and All unit platforms will receive this request and will respond back as needed, ultimately deciding which unit platform to ask for overload sharing. Therefore, an overloaded unit platform can request a part of the load from another minimum loaded unit platform.

【0012】また、請求項2によれば、各ユニットプラ
ットフォームにより、ユニットプラットフォーム間に共
通した、テストタスクモジュールにアクセスするテスト
アプリケーションプログラムが定期的に起動実行され、
その処理時間T1 が求められて、各ユニットプラットフ
ォームにおいて自分の処理状況が認識され、上記処理時
間T1 が設定時間T0 を越えたユニットプラットフォー
ム#1によって、自分に接続されている他のユニットプ
ラットフォームに該処理時間T1 が通知され、前記ユニ
ットプラットフォーム#1以外の各ユニットプラットフ
ォームにより、自分のテストアプリケーションプログラ
ムの処理時間T2 と前記処理時間T1 との大小関係が比
較されて、T2 <T1 の場合に限り、前記ユニットプラ
ットフォーム#1に返答される。この返答の結果に基づ
いて、前記ユニットプラットフォーム#1により、該ユ
ニットプラットフォーム#1に接続されている一部のア
プリケーションプログラムが、他のユニットプラットフ
ォームから受け取った処理時間のうち最小値を返答して
きたユニットプラットフォームに接続切替えされ、該ユ
ニットプラットフォーム#1の負荷の一部が分散されて
協調処理され、各ユニットプラットフォームの負荷状態
が定期的に見直されて、ユニットプラットフォーム全体
について負荷状態が平準化される。
According to a second aspect of the present invention, each unit platform periodically activates and executes a test application program that is common to the unit platforms and that accesses a test task module.
The processing time T 1 is obtained, the processing status of each unit platform is recognized, and the other unit connected to itself by the unit platform # 1 whose processing time T 1 exceeds the set time T 0. platform the processing time T 1 is notified to the by the unit platform # 1 except for the units platform, are compared the magnitude relation between the processing time T 2 of the own test application program and the processing time T 1, T 2 Only when <T 1, the unit platform # 1 is returned. Based on the result of this reply, the unit platform # 1 returns a minimum value among the processing times received by some of the application programs connected to the unit platform # 1 from other unit platforms. The connection is switched to the platform, a part of the load of the unit platform # 1 is distributed and coordinated, the load status of each unit platform is periodically reviewed, and the load status of the entire unit platform is leveled.

【0013】[0013]

【実施例】以下、図面に基づいて本発明の一実施例を説
明する。図1は本発明の一実施例のユニットPFを示す
構成図である。図において、1はユニットPFで、その
内部には、テストアプリケーションプログラムAP(T
EST)11、テストタスクモジュールM(TEST)
12、アプリケーションプログラムAP(1),AP
(2)とインタフェースをとるAPインタフェーサ1
3、処理状況収集機能を有するデータコレクタ14、分
散協調処理機能を有するネゴシエータ15、アクセッサ
16、オペレーションタスクモジュールM(1),M
(2)とインタフェースをとるMインタフェーサ17、
及びデータベース(DB)とインタフェースをとるDB
インタフェーサ18を内蔵している。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing a unit PF according to an embodiment of the present invention. In the figure, 1 is a unit PF, in which the test application program AP (T
EST) 11, test task module M (TEST)
12, application program AP (1), AP
AP interface 1 that interfaces with (2)
3, a data collector 14 having a processing status collecting function, a negotiator 15 having a distributed cooperative processing function, an accessor 16, operation task modules M (1), M
An M interface 17 that interfaces with (2),
And a DB that interfaces with a database (DB)
The interface 18 is built in.

【0014】アクセッサ16は、APインタフェーサ1
3を介して複数のアプリケーションプログラムAP
(1),AP(2)からのアクセス要求を管理するアク
セス管理機能を有するもので、例えばアプリケーション
プログラムに優先順位を予め決めておき、この優先順位
に基づき優先順位アクセス制御(プライオリティアクセ
ス制御)を行なう。
The accessor 16 is the AP interface 1
Multiple application programs AP through 3
(1), having an access management function for managing access requests from the AP (2). For example, a priority order is determined in advance in an application program, and priority order access control (priority access control) is performed based on this priority order. To do.

【0015】次に、前述の構成よりなる本実施例の動作
を図10及び図11に基づいて説明する。ユニットPF
1は、データコレクタ14及びネゴシエータ15によっ
て、テストアプリケーションプログラムAP(TES
T)11とテストタスクモジュールM(TEST)12
を定期的に起動実行し、テストアプリケーションAP
(TEST)11の処理時間T1 を測定する(S1)。
テストアプリケーションAP(TEST)11は図10
に示すようにテストタスクモジュールM(TEST)1
2へのアクセスを依頼するものとする。
Next, the operation of this embodiment having the above-mentioned structure will be described with reference to FIGS. Unit PF
1 is a test application program AP (TES) by the data collector 14 and the negotiator 15.
T) 11 and test task module M (TEST) 12
Is started and executed periodically, and the test application AP
The processing time T1 of the (TEST) 11 is measured (S1).
The test application AP (TEST) 11 is shown in FIG.
Test task module M (TEST) 1 as shown in
Access to 2 shall be requested.

【0016】これにより、ユニットPF1の負荷状態
は、テストアプリケーションAP(TEST)11の起
動開始時刻とテストタスクモジュールM(TEST)1
2からの返答完了時刻との差T1 として、テストアプリ
ケーションAP(TEST)11実行により測定でき
る。
As a result, the load status of the unit PF1 is determined by the start start time of the test application AP (TEST) 11 and the test task module M (TEST) 1.
The difference T 1 from the response completion time from 2 can be measured by executing the test application AP (TEST) 11.

【0017】即ち、測定時間T1 はユニットPF1の負
荷状態を反映している。例えば、アクセス制御(プライ
オリティアクセス制御)の優先順位を5段階に設定した
場合、テストアプリケーションAP(TEST)11の
優先順位をX=3と設定すれば、中位的な優先順位のア
プリケーションAPの処理時間を測定することになる。
ユニットPF1へのアクセス回数が多くなると、優先順
位に基づいた制御でアプリケーションAPは待ち状態と
なり、処理時間が長くなる。
That is, the measurement time T 1 reflects the load state of the unit PF1. For example, when the priority order of access control (priority access control) is set to five levels, if the priority order of the test application AP (TEST) 11 is set to X = 3, the processing of the application AP having a medium priority order is performed. It will measure time.
When the number of accesses to the unit PF1 increases, the application AP enters the waiting state under the control based on the priority order, and the processing time increases.

【0018】この処理時間T1 がテストアプリケーショ
ンAP(TEST)によってデータコレクタ14に申告
され、データコレクタ14によって処理時間T1 が予め
設定されている基準時間T0 以内であるか否かが判定さ
れる(S2)。
The processing time T 1 is reported to the data collector 14 by the test application AP (TEST), and the data collector 14 determines whether the processing time T 1 is within a preset reference time T 0 or not. (S2).

【0019】この判定の結果、処理時間T1 があらかじ
め設定した時間T0 を越えた場合に、ネゴシエータ15
を介して、接続されている他の全てのユニットPF1に
処理時間T1 が通知される(S3)。この通知の受け取
りも各ユニットPFのネゴシエータ15によって行なわ
れる。
As a result of this determination, when the processing time T 1 exceeds the preset time T 0 , the negotiator 15
The processing time T 1 is notified to all the other units PF1 connected thereto via (S3). This notification is also received by the negotiator 15 of each unit PF.

【0020】この後、通知を受けた各ユニットPF1は
自分のテストアプリケーションAP(TEST)の処理
時間T2 と通知された処理時間T1 とを比較し(S4,
S5)、この比較の結果、処理時間T2 が処理時間T1
より短い場合に限り、処理時間T1 を通知してきたユニ
ットPF1(オーバーロードを申告したユニットPF
1)に処理時間T2 を返答する(S6,S7)。
After that, each notified unit PF1 compares the processing time T 2 of its own test application AP (TEST) with the notified processing time T 1 (S4).
S5), as a result of this comparison, the processing time T 2 is the processing time T 1
Only when it is shorter, the unit PF1 that has notified the processing time T 1 (the unit PF that has declared overload)
The processing time T 2 is returned to 1) (S6, S7).

【0021】これにより、処理時間T1 のユニットPF
1(オーバーロードを申告したユニットPF1)は、最
小処理時間を返答したユニットPF1に一部の負荷(処
理)を依頼し(S8)、該当するアプリケーションプロ
グラムAPを最小処理時間を返答したユニットPF1に
接続し直す(S9)。
As a result, the unit PF of the processing time T 1 is
1 (unit PF1 which has declared overload) requests a part of load (processing) to the unit PF1 which has returned the minimum processing time (S8), and the corresponding application program AP to the unit PF1 which has returned the minimum processing time. Reconnect (S9).

【0022】前述したように、過負荷状態のユニットP
F1は適切な他のユニットPF1に処理の一部を依頼す
る事が可能となる。これにより、システム全体について
負荷の平均化が行なえ、高性能化が達成できる。また、
負荷がある閾値を越えた場合にのみに分散協調を行なっ
ているので、通信のためのオーバーヘッドが少なくな
り、高速処理が可能となる。
As described above, the unit P in the overloaded state
It becomes possible for F1 to request a part of the processing to an appropriate other unit PF1. As a result, the load can be averaged over the entire system, and high performance can be achieved. Also,
Since the distributed cooperation is performed only when the load exceeds a certain threshold, the overhead for communication is reduced and high-speed processing becomes possible.

【0023】さらに、各ユニットPFは同格であり、負
荷がある閾値を越えて負荷軽減のための依頼を行いたい
ユニットPFが存在する場合に初めて、このユニットP
Fが主体となってシステム全体について協調処理を行
い、ハイアラーキが生じる。この協調処理が終了する
と、再び同格関係となる。この同格性のため、一つのユ
ニットPFが故障してもシステム全体への影響が少ない
と共に、システムの拡張性に優れるという特徴がある。
Further, each unit PF is of the same rating, and only when there is a unit PF whose load exceeds a certain threshold and which is desired to make a request for reducing the load, this unit P.
Hierarchy occurs due to the cooperative processing of the entire system with F as the main body. When this collaborative process ends, the equivalence relation is established again. Due to this homogeneity, even if one unit PF fails, it has little influence on the entire system and has excellent system expandability.

【0024】次に、図12に基づいてユニットPFの数
n=3の場合の動作例を説明する。ユニットPF#1〜
#3、アプリケーションプログラムAP(1),AP
(2)、オペレーションタスクモジュールM1〜M3及
びデータベースDB1が、イーサネットで代表されるL
AN(Local Area Network) の様なDCN(Data Commu
nication Network: データ転送ネットワーク)によって
接続されている(図12の(a))。論理的には図12の
(b) に示すように、DB1,Mi(i=1,2,3)は
ユニットPF#1,ユニットPF#2,ユニットPF#
3に接続されている。
Next, an operation example in the case where the number of unit PFs n = 3 will be described with reference to FIG. Unit PF # 1
# 3, application program AP (1), AP
(2) The operation task modules M1 to M3 and the database DB1 are L represented by Ethernet.
DCN (Data Commu) such as AN (Local Area Network)
nication Network: a data transfer network) ((a) in FIG. 12). Logically
As shown in (b), DB1, Mi (i = 1, 2, 3) are unit PF # 1, unit PF # 2, unit PF #.
Connected to 3.

【0025】当初、アプリケーションプログラムAPは
実線で示すように、ユニットPF#1にのみ接続されて
いるとする。図12の(b) に図示していないが他のアプ
リケーションプログラムAP群はユニットPF#2やユ
ニットPF#3にも接続されているとする。これら全て
のアプリケーションプログラムAPは、他のユニットP
Fに接続する機能を有しているとする。
Initially, it is assumed that the application program AP is connected only to the unit PF # 1 as shown by the solid line. Although not shown in FIG. 12B, it is assumed that the other application program AP group is also connected to the unit PF # 2 and the unit PF # 3. All of these application programs AP are the other units P
It is assumed to have the function of connecting to F.

【0026】ユニットPF#1が図11のフローチャー
トに示す処理において過負荷と測定した場合(T1 >T
0 )、ユニットPF#1からユニットPF#2、或いは
ユニットPF#3に対して処理依頼が出される。図11
のアルゴリズムに従って、処理依頼先のユニットPFが
決定される(例えばユニットPF#2とする)。
When the unit PF # 1 measures an overload in the process shown in the flowchart of FIG. 11 (T 1 > T
0 ), the unit PF # 1 issues a processing request to the unit PF # 2 or the unit PF # 3. Figure 11
The unit PF of the processing request destination is determined according to the algorithm (1) (for example, the unit PF # 2).

【0027】ユニットPF#1は、アプリケーションプ
ログラムAP群の内の一部のアプリケーションプログラ
ムAPを選択(例えば待ち行列の後からカウントして待
ち状態にあるAPの半分)して、アプリケーションプロ
グラムAPに接続先の変更を通知する。通知を受けたア
プリケーションプログラムAPは、ユニットPF#1か
らユニットPF#2へ依頼先を変更する。これによって
全体として処理時間の短縮が可能となる。
The unit PF # 1 selects a part of the application program APs from the group of application programs AP (for example, half of the APs in the waiting state by counting after the queue) and connects to the application program AP. Notify you of the previous change. The application program AP that has received the notification changes the request destination from the unit PF # 1 to the unit PF # 2. This makes it possible to reduce the processing time as a whole.

【0028】尚、処理時間T2 に関し、処理時間T1
処理時間T2 との大小関係を比較する直前に測定したテ
ストアプリケーションプログラム処理時間を記憶してお
き、この値を用いるようにしても良い。
It should be noted, relates the processing time T 2, stores the test application program processing time measured just prior to comparing the magnitude relation between the processing time T 1 and the processing time T 2, it is used this value good.

【0029】[0029]

【発明の効果】以上説明したように本発明の請求項1記
載の負荷分散化プラットフォームによれば、ユニットプ
ラットフォーム内にプラットフォーム自身の処理状況収
集手段と、分散協調処理手段を設けているため、負荷が
ある閾値を越えた際に他のユニットプラットフォームに
通知し、前記閾値を越えた分の負荷が他のユニットプラ
ットホームに分散されて処理されるので、分散協調しな
いアルゴリズムを前記分散協調処理手段に実装すること
が可能となり、分散処理にありがちな処理の遅延を避け
ることができると共に、通信のためのオーバーヘッドを
減らし、処理の高速化を図ることができる。さらに、本
発明の構成では、各ユニットプラットフォームは同格で
あるため、1つのユニットプラットフォームが故障して
も、システム全体への影響が少ないと共に、システムの
拡張性に優れるという特徴がある。
As described above, according to the load distribution platform according to claim 1 of the present invention, since the processing status collection means of the platform itself and the distributed cooperation processing means are provided in the unit platform, the load is reduced. When a certain threshold is exceeded, other unit platforms are notified, and the load that exceeds the threshold is distributed to other unit platforms for processing, so a distributed non-cooperative algorithm is implemented in the distributed cooperative processing means. This makes it possible to avoid processing delays that are often associated with distributed processing, reduce overhead for communication, and speed up processing. Further, in the configuration of the present invention, since the unit platforms have the same rating, even if one unit platform fails, it has little influence on the entire system and has excellent system expandability.

【0030】また、請求項2記載のプラットフォームの
負荷分散処理方法によれば、過負荷状態のユニットプラ
ットフォームは適切な他のユニットプラットフォームに
処理の一部を依頼する事が可能となり、システム全体に
ついて負荷の平均化が行なえ、高性能化が達成できる。
また、負荷がある閾値を越えた場合にのみに分散協調が
行なわれるので、通信のためのオーバーヘッドが少なく
なり、高速処理が可能となる。さらに、各ユニットプラ
ットフォームは同格であり、負荷がある閾値を越えて負
荷軽減のための依頼を行いたいユニットプラットフォー
ムが存在する場合に初めて、このユニットプラットフォ
ームが主体となってシステム全体について協調処理を行
っているので、一つのユニットプラットフォームが故障
してもシステム全体への影響が少ないと共に、システム
の拡張性に優れるという特徴を有している
According to the platform load distribution processing method of the second aspect, it becomes possible for an overloaded unit platform to request a part of the processing to an appropriate other unit platform, and load the entire system. Can be averaged and high performance can be achieved.
Further, since distributed cooperation is performed only when the load exceeds a certain threshold, the overhead for communication is reduced and high-speed processing becomes possible. Furthermore, each unit platform is of the same rating, and only when there is a unit platform for which the load exceeds a certain threshold and is requested to reduce the load, this unit platform takes the lead in coordinating the entire system. Therefore, even if one unit platform fails, there is little effect on the entire system and the system is highly expandable.

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

【図1】本発明の一実施例を示す構成図FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】従来の技術を説明する図FIG. 2 is a diagram illustrating a conventional technique.

【図3】従来の技術を説明する図FIG. 3 is a diagram illustrating a conventional technique.

【図4】従来の技術を説明する図FIG. 4 is a diagram illustrating a conventional technique.

【図5】従来の技術を説明する図FIG. 5 is a diagram illustrating a conventional technique.

【図6】従来の技術を説明する図FIG. 6 is a diagram illustrating a conventional technique.

【図7】従来の技術を説明する図FIG. 7 is a diagram illustrating a conventional technique.

【図8】本発明の概要を説明するための構成図FIG. 8 is a configuration diagram for explaining the outline of the present invention.

【図9】本発明の概要を説明するための構成図FIG. 9 is a configuration diagram for explaining the outline of the present invention.

【図10】本発明の一実施例の動作を説明する図FIG. 10 is a diagram for explaining the operation of the embodiment of the present invention.

【図11】本発明の一実施例の動作を説明するフローチ
ャート
FIG. 11 is a flowchart illustrating the operation of the embodiment of the present invention.

【図12】本発明の一実施例を説明する図FIG. 12 is a diagram illustrating an embodiment of the present invention.

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

1…ユニットプラットフォーム、11…テストアプリケ
ーションプログラムAP(TEST)、12…テストタ
スクモジュールM(TEST)、13…APインタフェ
ーサ、14…データコレクタ(処理状況収集手段)、1
5…ネゴシエータ(分散協調処理手段)、16…アクセ
ッサ、17…Mインタフェーサ、18…DBインタフェ
ーサ。
DESCRIPTION OF SYMBOLS 1 ... Unit platform, 11 ... Test application program AP (TEST), 12 ... Test task module M (TEST), 13 ... AP interfacer, 14 ... Data collector (processing status collection means), 1
5 ... Negotiator (distributed cooperative processing means), 16 ... Accessor, 17 ... M interface, 18 ... DB interface.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 データベース群と、タスクモジュール群
と、前記2群を用いて所定のタスクを実行するアプリケ
ーションプログラム群と、前記3群間相互の結合部であ
るユニットプラットフォーム群とで構成された分散型処
理システムにおいて、 各ユニットプラットフォームは、データベースとタスク
モジュールとアプリケーションプログラムとに対してイ
ンタフェースをとるインタフェース手段と、 アプリケーションプログラムからのアクセス要求を管理
するアクセス管理手段と、 各ユニットプラットフォームが、自分の負荷状態を認識
する処理状況収集手段と、 各ユニットプラットフォーム同士が、上記負荷状態を通
知し合って、ユニットプラットフォーム間の負荷状態を
平準化するように制御する分散協調処理手段とから構成
され、 各データベース、各タスクモジュール、各アプリケーシ
ョンプログラムが複数のユニットプラットフォームに接
続されてなることを特徴とする負荷分散化プラットフォ
ーム。
1. A distributed system including a database group, a task module group, an application program group that executes a predetermined task using the two groups, and a unit platform group that is a coupling unit between the three groups. In a type processing system, each unit platform has an interface means for interfacing with a database, a task module and an application program, an access management means for managing an access request from the application program, and each unit platform has its own load. The processing status collecting means for recognizing the state, and each unit platform is composed of a distributed cooperative processing means for notifying each other of the load state and controlling so as to level the load state among the unit platforms, Database, each task module, load distribution platform that each application program is characterized by comprising connected to a plurality of units platforms.
【請求項2】 データベース群と、タスクモジュール群
と、前記2群を用いて所定のタスクを実行するアプリケ
ーションプログラム群と、前記3群間相互の結合部であ
るユニットプラットフォーム群とで構成された分散型処
理システムにおけるプラットフォームの負荷分散処理方
法であって、 各ユニットプラットフォームが、ユニットプラットフォ
ーム間に共通した、テストタスクモジュールにアクセス
するテストアプリケーションプログラムを定期的に起動
実行し、その処理時間T1 を求めて、自分の処理状況を
認識する第1過程と、 上記処理時間T1 が設定時間T0 を越えたユニットプラ
ットフォーム#1が、自分に接続されている他のユニッ
トプラットフォームに該処理時間T1 を通知する第2過
程と、 前記ユニットプラットフォーム#1以外の各ユニットプ
ラットフォームが、自分のテストアプリケーションプロ
グラムの処理時間T2 と前記処理時間T1 との大小関係
を比較して、T2 <T1 の場合に限り、前記ユニットプ
ラットフォーム#1に返答する第3過程と、 前記ユニットプラットフォーム#1が、自分に接続され
ている一部のアプリケーションプログラムを、他のユニ
ットプラットフォームから受け取った処理時間のうち最
小値を返答してきたユニットプラットフォームに接続切
替えして、自分の負荷の一部を分散し協調処理させる第
4過程とによって、 各ユニットプラットフォームの負荷状態を定期的に見直
して、ユニットプラットフォーム全体について負荷状態
を平準化することを特徴とするプラットフォームの負荷
分散処理方法。
2. A distributed system comprising a database group, a task module group, an application program group for executing a predetermined task by using the two groups, and a unit platform group which is a coupling unit between the three groups. A method of load balancing processing of platforms in a type processing system, wherein each unit platform periodically activates and executes a test application program that is common to the unit platforms and that accesses a test task module, and obtains its processing time T 1 . Then, the first process of recognizing one's own processing status, and the unit platform # 1 whose processing time T 1 exceeds the set time T 0 , transfers the processing time T 1 to another unit platform connected to itself. Second step of notification and the unit platform # Each unit platforms except that compares the magnitude relation between the processing time T 2 of the own test application program and T 1 the processing time, only when the T 2 <T 1, and replies to the unit platform # 1 In the third step, the unit platform # 1 connects and switches some of the application programs connected to itself to the unit platform that has returned the minimum value of the processing time received from another unit platform, The load distribution of the platform characterized by periodically reviewing the load status of each unit platform and leveling the load status of the entire unit platform by the fourth process of distributing and coordinating a part of own load. Processing method.
JP8316094A 1994-04-21 1994-04-21 Load scattered platform and its load scattering processing method Pending JPH07295843A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8316094A JPH07295843A (en) 1994-04-21 1994-04-21 Load scattered platform and its load scattering processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8316094A JPH07295843A (en) 1994-04-21 1994-04-21 Load scattered platform and its load scattering processing method

Publications (1)

Publication Number Publication Date
JPH07295843A true JPH07295843A (en) 1995-11-10

Family

ID=13794508

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8316094A Pending JPH07295843A (en) 1994-04-21 1994-04-21 Load scattered platform and its load scattering processing method

Country Status (1)

Country Link
JP (1) JPH07295843A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235127A (en) * 1995-02-28 1996-09-13 Chugoku Nippon Denki Software Kk Method and device for automatic load decentralization
WO2004056054A1 (en) * 2002-12-17 2004-07-01 Fujitsu Limited Load decentralization method and apparatus thereof
US7657653B2 (en) 2002-12-17 2010-02-02 Fujitsu Limited Load decentralization method and apparatus thereof
US7689129B2 (en) 2004-08-10 2010-03-30 Panasonic Corporation System-in-package optical transceiver in optical communication with a plurality of other system-in-package optical transceivers via an optical transmission line

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08235127A (en) * 1995-02-28 1996-09-13 Chugoku Nippon Denki Software Kk Method and device for automatic load decentralization
WO2004056054A1 (en) * 2002-12-17 2004-07-01 Fujitsu Limited Load decentralization method and apparatus thereof
JPWO2004056054A1 (en) * 2002-12-17 2006-04-20 富士通株式会社 Load balancing method and apparatus
US7657653B2 (en) 2002-12-17 2010-02-02 Fujitsu Limited Load decentralization method and apparatus thereof
US7689129B2 (en) 2004-08-10 2010-03-30 Panasonic Corporation System-in-package optical transceiver in optical communication with a plurality of other system-in-package optical transceivers via an optical transmission line

Similar Documents

Publication Publication Date Title
US7856572B2 (en) Information processing device, program thereof, modular type system operation management system, and component selection method
CA2471594C (en) Method and apparatus for web farm traffic control
CN108965014B (en) QoS-aware service chain backup method and system
CN102469023B (en) Based on the dispatching method of cloud computing, unit and system
CN107545338B (en) Service data processing method and service data processing system
CN108712464A (en) A kind of implementation method towards cluster micro services High Availabitity
Kelly Fixed point models of loss networks
JPH07282013A (en) Distributed processing system
CN109471705A (en) Method, equipment and system, the computer equipment of task schedule
CN105897484A (en) Traffic management device, server and method
CN108519917A (en) A kind of resource pool distribution method and device
CN109451540A (en) A kind of resource allocation methods and equipment of network slice
CN110086726A (en) A method of automatically switching Kubernetes host node
WO2020134133A1 (en) Resource allocation method, substation, and computer-readable storage medium
CN113645146B (en) New stream density-based software defined network controller load balancing method and system
CN111324429B (en) Micro-service combination scheduling method based on multi-generation ancestry reference distance
CN112543151A (en) SDN controller deployment method and device, electronic equipment and storage medium
CN106576260A (en) Policy coordination method and apparatus in NFV system
Vorozhtsov et al. Resource control system stability of mobile data centers
EP0863680B1 (en) Method and apparatus for improved call control scheduling in a distributed system with dissimilar call processors
JPH07295843A (en) Load scattered platform and its load scattering processing method
Knoll et al. Data fusion using large multi-agent networks: an analysis of network structure and performance
CN115202580A (en) Multipath equipment detection method, device, equipment and storage medium
CN115118666B (en) Load redistribution method and device
CN113742030A (en) Cross-region service configuration method, device and storage medium