JPH1125060A - Distributed processing system - Google Patents

Distributed processing system

Info

Publication number
JPH1125060A
JPH1125060A JP19041297A JP19041297A JPH1125060A JP H1125060 A JPH1125060 A JP H1125060A JP 19041297 A JP19041297 A JP 19041297A JP 19041297 A JP19041297 A JP 19041297A JP H1125060 A JPH1125060 A JP H1125060A
Authority
JP
Japan
Prior art keywords
service
computer
program
providing program
service providing
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
JP19041297A
Other languages
Japanese (ja)
Inventor
Hidenori Nakazato
秀則 中里
Hideki Arai
英樹 新井
Mina Tsutsumi
美菜 堤
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP19041297A priority Critical patent/JPH1125060A/en
Publication of JPH1125060A publication Critical patent/JPH1125060A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PROBLEM TO BE SOLVED: To attain a distributed processing system capable of preventing a response time to the processing of a specific computer from being too much prolonged and efficiently operating the system itself. SOLUTION: A service information storing part 4 stores service description, a service providing program identifier(ID) and IDs of computers including a service providing program. A service allocation information storing part 7 stores the processing capacity indexes of computers and the value of an allocation counter indicating whether several service providing programs are permitted to be executed or not in response to the IDs of the computers. When a service retrieving request is outputted from a service use program, a service retrieving part 5 extracts the IDs of computers including the service providing program. A service allocation part 6 outputs a computer having the minimum processing capacity index/allocation counter value as a retrieved result out of the computers extracted by the retrieving part 5.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のコンピュー
タが通信網によって接続され、そのコンピュータが協調
して処理を行うシステムにおいて、コンピュータ間で処
理の負荷を振り分ける分散処理システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed processing system in which a plurality of computers are connected by a communication network and the computers cooperate to perform processing.

【0002】[0002]

【従来の技術】複数のコンピュータが通信網によって接
続されているコンピュータシステムは、分散処理システ
ムと呼ばれる。このような分散処理システムにおいて、
異なるコンピュータ上で実行されるプログラムは相互に
連携することによって、一つの機能を実現する。
2. Description of the Related Art A computer system in which a plurality of computers are connected by a communication network is called a distributed processing system. In such a distributed processing system,
Programs executed on different computers cooperate with each other to realize one function.

【0003】一つのコンピュータ上では、複数のプログ
ラムが仮想的に同時に実行される。ここで言う「仮想的
に同時」とは、一つのプログラムが一定時間そのコンピ
ュータで実行されると、そのプログラムは待ち状態に入
り、他の待ち状態のプログラムがまた一定時間実行され
るというものである。
On one computer, a plurality of programs are executed virtually simultaneously. Here, "simultaneously" means that when one program is executed on the computer for a certain period of time, the program enters a waiting state, and the other waiting programs are executed again for a certain period of time. is there.

【0004】一つのコンピュータで仮想的に同時に実行
されるプログラムが増えると、プログラムが実行できる
状態になってからその実行が完了するまでの時間(応答
時間という)が長くなる。分散処理システムの中には、
プログラムを実行する処理能力が同一あるいは異なる多
くのコンピュータが含まれている。このコンピュータの
中で、一部のコンピュータだけに多くのプログラムを割
り付け、他のコンピュータにはあまりプログラムを割り
付けないとすると、プログラムを多く割り付けられたコ
ンピュータでは応答時間が長く、あまりプログラムを割
り付けられていないコンピュータでは応答時間が短くな
る。
When the number of programs that are virtually simultaneously executed by one computer increases, the time from when the program can be executed to when the execution is completed (called response time) increases. Some distributed processing systems include
Many computers with the same or different processing capabilities to execute programs are included. In this computer, if many programs are assigned to some computers and few programs are assigned to other computers, the response time is long in the computers assigned many programs, and the programs are assigned few. Response time is faster on computers without it.

【0005】しかしながら、もし各コンピュータの処理
能力に比例した数のプログラムが分散処理システムに含
まれる全てのコンピュータに割り付けられていたとする
と、全てのプログラムの応答時間が均一化され、一部の
プログラムが長い応答時間を経験しなくて済むようにす
ることができる。
[0005] However, if a number of programs proportional to the processing capacity of each computer are allocated to all the computers included in the distributed processing system, the response times of all the programs are equalized, and some of the programs are used. You can avoid having to experience long response times.

【0006】従来、分散処理システムにおける負荷分散
では、プログラムの割り付けをコンピュータ間で平均化
することによって、プログラムの応答時間が長くならな
いようにしてきた。例えば、このような負荷分散方法を
示す文献としては、N.G.Shivaratri,P.Krueger,
M.Singhal著“Load Distributing for Locally Distri
buted Systems”,IEEE Computer,vol.25,no.12,1
992年12月がある。
Conventionally, in load distribution in a distributed processing system, the response time of a program has not been lengthened by averaging program allocation among computers. For example, as a document showing such a load distribution method, N.A. G. Shivaratri, P .; Krueger,
M. “Load Distributing for Locally Distri” by Singhal
buted Systems ”, IEEE Computer, vol. 25, no. 12, 1
There is December 992.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、複数の
コンピュータに分散して配置されているプログラムが相
互に処理を要求・提供しあって全体として一つの処理を
提供しているような場合、必ずしもプログラムを各コン
ピュータにどのように割り当てるかによって、各コンピ
ュータの負荷が決まるわけではない。処理を要求される
側のプログラム(サーバという)は、要求があるまで待
ち状態にあるために、要求がない限り他のプログラムの
応答時間には影響を与えない。つまり、処理を要求され
る頻度が増えれば、応答時間に与える影響が大きくな
る。
However, when programs distributed in a plurality of computers request / provide processing mutually and provide one processing as a whole, the program is not always required. How computers are assigned to computers does not determine the load on each computer. The program (server) requested to be processed does not affect the response time of other programs unless there is a request because it is in a waiting state until a request is made. That is, if the frequency of requesting the process increases, the influence on the response time increases.

【0008】プログラムが処理を要求する度に、その要
求を送る先のプログラムが動的に割り当てられるような
分散処理システムでは、従来のようにプログラムのコン
ピュータへの割付を変えても、動的に割り当てられる要
求の送り先が集中してしまうと、再び応答時間の遅れが
発生してしまう。
In a distributed processing system in which a program to which a request is sent is dynamically assigned each time a program requests a process, even if the assignment of a program to a computer is changed as in the prior art, the program is dynamically assigned. If the destinations of the requests to be allocated are concentrated, the response time will be delayed again.

【0009】このような点から、特定のコンピュータで
の処理の応答時間が長くならず、システムを効率よく運
用することのできる分散処理システムの実現が望まれて
いた。
In view of the above, it has been desired to realize a distributed processing system in which the response time of processing on a specific computer does not increase and the system can be operated efficiently.

【0010】[0010]

【課題を解決するための手段】本発明は、前述の課題を
解決するため次の構成を採用する。 〈請求項1の構成〉予め設定されたサービスの実行を行
う複数のサービス提供プログラムと、このサービス提供
プログラムに対してサービスを要求するサービス使用プ
ログラムとが複数のコンピュータのいずれかに存在する
分散処理システムにおいて、任意のサービス内容を示す
サービス記述に対応して、そのサービスを提供するサー
ビス提供プログラムの情報と、サービス提供プログラム
の存在するコンピュータの情報とを格納するサービス情
報保持部と、コンピュータの情報に対応して、そのコン
ピュータの能力を示す処理能力指標と、そのコンピュー
タにおいて、いくつのサービス提供プログラムが実行を
許可されているかを示す割当カウンタの値を示すサービ
ス割当情報保持部と、サービス使用プログラムから任意
のサービス要求があった場合、サービス情報保持部を参
照して、サービスに対応するサービス記述から、サービ
スに対応したサービス提供プログラムとコンピュータの
情報を抽出するサービス検索部と、サービス割当情報保
持部を参照し、サービス検索部で抽出されたコンピュー
タの情報に対応した処理能力指標と割当カウンタの値を
取得し、割当カウンタの値を処理能力指標で割った値の
最も小さいコンピュータを、サービス使用プログラムへ
の検索結果として出力するサービス割当部とを備えたこ
とを特徴とする分散処理システムである。
The present invention employs the following structure to solve the above-mentioned problems. <Structure of Claim 1> Distributed processing in which a plurality of service providing programs for executing a preset service and a service using program for requesting a service to the service providing program exist in any of a plurality of computers. In the system, a service information holding unit that stores information of a service providing program that provides the service and information of a computer where the service providing program exists, corresponding to a service description indicating an arbitrary service content, and information of the computer. A service allocation information holding unit indicating a value of an allocation counter indicating how many service providing programs are permitted to be executed in the computer; Any service request from The service search unit extracts the service providing program and computer information corresponding to the service from the service description corresponding to the service by referring to the service information storage unit, and the service allocation information storage unit. The processing unit obtains the processing capacity index and the value of the allocation counter corresponding to the information of the computer extracted by the search unit, and divides the value of the allocation counter by the processing capacity index to find the computer having the smallest value as a search result to the service use program. And a service allocating unit for outputting.

【0011】〈請求項1の説明〉請求項1の発明が前提
とする分散処理システムは、少なくとも、一つのサービ
ス使用プログラムと、一つのサービス提供プログラムと
が異なるコンピュータ上に存在していれば、同じ種類の
プログラムが二つ以上同じコンピュータに存在したり、
あるいは、サービス使用プログラムとサービス提供プロ
グラムが同じコンピュータに存在していてもよい。
<Explanation of Claim 1> A distributed processing system based on the invention of claim 1 is provided if at least one service using program and one service providing program exist on different computers. Two or more programs of the same type exist on the same computer,
Alternatively, the service using program and the service providing program may exist on the same computer.

【0012】このような分散システムにおいて、請求項
1の発明では、予め、サービス内容と、そのサービスを
提供するサービス提供プログラムと、サービス提供プロ
グラムが存在するコンピュータとの関係を格納してお
く。また、コンピュータに対して、そのコンピュータの
処理能力指標と、割当カウンタの値も格納しておく。そ
して、サービス使用プログラムからあるサービスが要求
されると、そのサービスを実行するサービス提供プログ
ラムを決定するため、サービスに対応したサービス提供
プログラムとコンピュータの情報を抽出する。ここで、
複数の情報が抽出された場合は、その中で、(割当カウ
ンタ/処理能力指標)の値が最も小さいもの、即ち、処
理の余裕度が最も高いコンピュータに存在するサービス
提供プログラムを検索結果として出力する。
In such a distributed system, according to the first aspect of the present invention, a relationship between service contents, a service providing program for providing the service, and a computer on which the service providing program exists is stored in advance. The computer also stores the processing capability index of the computer and the value of the assignment counter. When a certain service is requested from the service using program, the service providing program corresponding to the service and computer information are extracted in order to determine a service providing program to execute the service. here,
When a plurality of pieces of information are extracted, a service providing program having the smallest value of (allocation counter / processing capacity index), that is, a service providing program existing in a computer having the highest margin of processing is output as a search result. I do.

【0013】従って、その時点で最も応答時間の速いサ
ービス提供プログラムがサービスを実行することがで
き、その結果、サービス使用プログラムの処理時間を短
くすることができる。また、サービス検索機構以外に、
負荷を分散させるための専用の機構を必要としないとい
う効果も得られる。
Therefore, the service providing program having the fastest response time at that time can execute the service, and as a result, the processing time of the service using program can be shortened. In addition to the service search mechanism,
Another advantage is that a special mechanism for distributing the load is not required.

【0014】〈請求項2の構成〉請求項1において、任
意のサービス提供プログラムから登録要求があった場合
は、そのサービス提供プログラムのサービス内容に対応
するサービス記述と、サービス提供プログラムの情報
と、このサービス提供プログラムが存在するコンピュー
タの情報を、サービス情報保持部に登録するサービス登
録部と、任意のコンピュータを検索結果として出力した
場合、コンピュータの割当カウンタの値を1増加させる
と共に、任意のサービス使用プログラムから、サービス
提供プログラムの使用完了要求が出力された場合は、使
用完了要求に含まれるコンピュータの情報に対応した割
当カウンタの値を1減少させるサービス割当部とを備え
たことを特徴とする分散処理システムである。
<Structure of Claim 2> In claim 1, when there is a registration request from an arbitrary service providing program, a service description corresponding to the service content of the service providing program, information of the service providing program, A service registration unit for registering information of a computer in which the service providing program exists in a service information holding unit, and when an arbitrary computer is output as a search result, the value of an allocation counter of the computer is increased by one and an arbitrary service is added. A service allocating unit configured to decrease a value of an allocation counter corresponding to information of a computer included in the use completion request by one when a use completion request of the service providing program is output from the used program. It is a distributed processing system.

【0015】〈請求項2の説明〉請求項2の発明は、請
求項1の発明において、サービス提供プログラムからの
登録要求に応じて、サービス記述と、サービス提供プロ
グラムの情報と、コンピュータの情報とをサービス情報
保持部に登録すると共に、あるコンピュータにサービス
を割り当てた場合は割当カウンタの値を+1し、そのサ
ービスが完了した場合は−1するようにしたものであ
る。これにより、サービスの登録、検索、使用完了の一
連の処理を確実に行うことができ、分散処理システムを
更に効率良く運用することができる。
<Explanation of Claim 2> According to the invention of claim 2, in the invention of claim 1, in response to a registration request from the service providing program, the service description, the information of the service providing program, the information of the computer, Is registered in the service information holding unit, and when the service is allocated to a certain computer, the value of the allocation counter is incremented by one, and when the service is completed, the value is decreased by one. As a result, a series of processes of service registration, search, and use completion can be reliably performed, and the distributed processing system can be operated more efficiently.

【0016】[0016]

【発明の実施の形態】以下、本発明の実施の形態を図面
を用いて詳細に説明する。 《具体例》 〈構成〉図1は本発明の分散処理システムの具体例を示
す構成図である。図のシステムは、複数のコンピュータ
10a〜10eで構成されており、各コンピュータ10
a〜10eは通信路11を介して接続されている。
Embodiments of the present invention will be described below in detail with reference to the drawings. << Specific Example >><Configuration> FIG. 1 is a configuration diagram showing a specific example of the distributed processing system of the present invention. The illustrated system includes a plurality of computers 10a to 10e.
a to 10 e are connected via a communication path 11.

【0017】各コンピュータは、サービス使用プログラ
ム12、サービス提供プログラム13、サービス検索サ
ーバ1の機能が実現可能であり、図示例では、コンピュ
ータ10aにサービス使用プログラム12a、コンピュ
ータ10bには、サービス使用プログラム12bとサー
ビス提供プログラム13a、コンピュータ10cにはサ
ービス提供プログラム13b、コンピュータ10dには
サービス検索サーバ1、コンピュータ10eには、サー
ビス提供プログラム13c、13dが割り当てられてい
る。尚、以下、各コンピュータ10a〜10eやサービ
ス使用プログラム12a、12b、およびサービス提供
プログラム13a〜13dに共通する構成および動作に
ついては、コンピュータ10、サービス使用プログラム
12、サービス提供プログラム13として説明する。
Each computer can realize the functions of a service use program 12, a service providing program 13, and a service search server 1. In the illustrated example, the computer 10a has a service use program 12a, and the computer 10b has a service use program 12b. The service providing program 13a is assigned to the computer 10c, the service providing program 13b is assigned to the computer 10c, the service search server 1 is assigned to the computer 10d, and the service providing programs 13c and 13d are assigned to the computer 10e. Hereinafter, configurations and operations common to the computers 10a to 10e, the service use programs 12a and 12b, and the service provision programs 13a to 13d will be described as the computer 10, the service use program 12, and the service provision program 13.

【0018】ここで、サービス使用プログラム12と
は、あるサービスをサービス提供プログラム13に要求
するクライアントであり、サービス提供プログラム13
とは、サービス使用プログラム12から要求された処理
を実行するサーバである。更に、サービス検索サーバ1
は、本具体例の特徴をなす機能部であり、図中にその詳
細を示すように、要求受付部2、サービス登録部3、サ
ービス情報保持部4、サービス検索部5、サービス割当
部6、サービス割当情報保持部7、検索結果返送部8か
らなる。
Here, the service using program 12 is a client that requests a certain service from the service providing program 13.
Is a server that executes a process requested by the service use program 12. Further, the service search server 1
Is a functional unit which is a feature of this specific example, and as shown in detail in the figure, a request receiving unit 2, a service registering unit 3, a service information holding unit 4, a service searching unit 5, a service allocating unit 6, It comprises a service allocation information holding unit 7 and a search result returning unit 8.

【0019】要求受付部2は、サービス使用プログラム
12やサービス提供プログラム13からの登録要求や検
索要求を受け付ける機能部である。サービス登録部3
は、要求受付部2で受け付けた登録要求に基づき、サー
ビス情報保持部4に登録を行う機能部である。サービス
情報保持部4は、サービス内容に対する、サービス提供
プログラムと、そのサービス提供プログラムが存在する
コンピュータの情報を示す機能部である。
The request receiving unit 2 is a functional unit that receives a registration request or a search request from the service use program 12 or the service providing program 13. Service registration part 3
Is a functional unit that performs registration in the service information holding unit 4 based on the registration request received by the request receiving unit 2. The service information holding unit 4 is a functional unit that indicates a service providing program and information on a computer in which the service providing program exists for the service content.

【0020】図2は、サービス情報保持部の内容説明図
である。サービス情報保持部4は、図示のように、各サ
ービス提供プログラム13が提供する処理の内容を示す
サービス記述20と、そのサービス記述20のサービス
を提供するサービス提供プログラム13の識別子である
サービス提供プログラム識別子21と、そのサービス提
供プログラム13が動作しているコンピュータ10を示
すためのコンピュータ識別子22の情報を格納してい
る。
FIG. 2 is an explanatory diagram of the contents of the service information holding unit. As shown, the service information holding unit 4 includes a service description 20 indicating the content of the processing provided by each service providing program 13 and a service providing program which is an identifier of the service providing program 13 providing the service of the service description 20. The information of the identifier 21 and the computer identifier 22 for indicating the computer 10 on which the service providing program 13 is running are stored.

【0021】サービス検索部5は、サービス使用プログ
ラム12からのサービス検索要求が要求受付部2で受け
付けられると、これに基づきサービス情報保持部4を検
索し、その検索結果をサービス割当部6に送る機能部で
ある。サービス割当部6は、サービス検索部5からの検
索結果に基づき、サービス割当情報保持部7を参照して
サービス提供プログラム13を割り当てる機能を有して
いる。サービス割当情報保持部7は、コンピュータに対
する処理能力指標と割当カウンタの値を示す機能部であ
る。
When the service search request from the service use program 12 is received by the request receiving unit 2, the service search unit 5 searches the service information holding unit 4 based on the request, and sends the search result to the service allocation unit 6. It is a functional unit. The service allocating unit 6 has a function of allocating the service providing program 13 with reference to the service allocation information holding unit 7 based on the search result from the service searching unit 5. The service allocation information holding unit 7 is a functional unit that indicates a processing capability index for a computer and a value of an allocation counter.

【0022】図3はサービス割当情報保持部7の内容説
明図である。サービス割当情報保持部7は、図示のよう
に、各コンピュータ10を示すコンピュータ識別子22
と、そのコンピュータの性能を示す処理能力指標23
と、そのコンピュータで動作するサービス提供プログラ
ム13の使用をいくつのサービス使用プログラム12に
許可したかを示す割当カウンタ24の情報を格納してい
る。
FIG. 3 is an explanatory diagram of the contents of the service allocation information holding unit 7. The service allocation information holding unit 7 includes a computer identifier 22 indicating each computer 10 as shown in FIG.
And a processing capability index 23 indicating the performance of the computer.
And information on an allocation counter 24 indicating how many service use programs 12 are permitted to use the service providing program 13 operating on the computer.

【0023】図1に戻って、検索結果返送部8は、サー
ビス割当部6で割り当てられたサービス提供プログラム
13とコンピュータ10の情報を検索結果として出力す
る機能部である。
Returning to FIG. 1, the search result returning unit 8 is a functional unit that outputs information of the service providing program 13 and the computer 10 allocated by the service allocating unit 6 as search results.

【0024】〈動作〉サービス検索サーバ1は、三つの
処理を他のプログラムに提供する。その三つの処理とは
「サービス登録」「サービス検索」「サービス使用完
了」であり、以下、これらの処理を順に説明する。
<Operation> The service search server 1 provides three processes to another program. The three processes are “service registration”, “service search”, and “service use completed”, and these processes will be described below in order.

【0025】●サービス登録処理 サービス登録処理は、サービス提供プログラム13が、
サービス検索サーバ1に要求する。サービス提供プログ
ラム13は、そのサービス提供プログラム13が提供す
るサービスを提供可能になると、自分自身が提供するサ
ービスの内容を示すサービス記述20を登録するようサ
ービス検索サーバ1に要求する。
The service registration process is performed by the service providing program 13
Request to the service search server 1. When it becomes possible to provide the service provided by the service providing program 13, the service providing program 13 requests the service search server 1 to register a service description 20 indicating the content of the service provided by itself.

【0026】サービス検索サーバ1では、この登録要求
を要求受付部2が受信する。要求受付部2では、サービ
ス登録要求であることを判断し、要求をサービス登録部
3に転送する。サービス登録部3では、要求元であるサ
ービス提供プログラム13のサービス記述20に基づ
き、対応するサービス記述20と、そのサービス提供プ
ログラム13と、動作するコンピュータ10を示すコン
ピュータ識別子22の情報をサービス情報保持部4に登
録する。このようにして、種々のサービス記述20に対
するサービス提供プログラム識別子21とコンピュータ
識別子22の情報が登録される
In the service search server 1, the request receiving unit 2 receives this registration request. The request receiving unit 2 determines that the request is a service registration request, and transfers the request to the service registration unit 3. The service registration unit 3 stores the corresponding service description 20, the service providing program 13, and the information of the computer identifier 22 indicating the operating computer 10 on the basis of the service description 20 of the service providing program 13 that is the request source. Register in Part 4. In this manner, the information of the service providing program identifier 21 and the computer identifier 22 for the various service descriptions 20 are registered.

【0027】●サービス検索処理 サービス検索処理は、サービス使用プログラム12がサ
ービス検索サーバ1に要求する。あるサービス使用プロ
グラム12が、所望するサービスを使用する場合は、そ
のサービスを提供するサービス提供プログラム13の検
索をサービス検索サーバ1に要求する。
Service Search Processing In the service search processing, the service use program 12 requests the service search server 1. When a certain service use program 12 uses a desired service, it requests the service search server 1 to search for a service providing program 13 that provides the service.

【0028】サービス検索サーバ1では、この検索要求
を要求受付部2が受信すると、要求受付部2ではサービ
ス検索要求であることを判断し、この要求をサービス検
索部5に転送する。サービス検索部5では、その要求に
含まれるサービス記述20を用いてサービス情報保持部
4の情報を検索する。即ち、そのサービス記述20に適
合するサービスを提供するサービス提供プログラム13
のサービス提供プログラム識別子21と、そのサービス
提供プログラム13が動作しているコンピュータ10の
コンピュータ識別子22を探し出す。
In the service search server 1, when the request receiving unit 2 receives the search request, the request receiving unit 2 determines that the request is a service search request, and transfers the request to the service search unit 5. The service search unit 5 searches for information in the service information holding unit 4 using the service description 20 included in the request. That is, the service providing program 13 that provides a service conforming to the service description 20
And a computer identifier 22 of the computer 10 on which the service providing program 13 is running.

【0029】この時、サービス記述20に適合するサー
ビスを提供するサービス提供プログラム13は複数存在
する可能性がある。ここで、サービス提供プログラム1
3が複数存在した場合、サービス検索部5は、全てのサ
ービス提供プログラム13のサービス提供プログラム識
別子21とそのコンピュータ識別子22を、サービス割
当部6に転送する。
At this time, there is a possibility that there are a plurality of service providing programs 13 that provide services conforming to the service description 20. Here, the service providing program 1
In the case where a plurality of service providing programs 3 exist, the service search unit 5 transfers the service providing program identifiers 21 of all the service providing programs 13 and their computer identifiers 22 to the service allocating unit 6.

【0030】サービス割当部6では、サービス検索部5
から転送されてきた全てのコンピュータ識別子22をイ
ンデックスとして、これに対応する処理能力指標23と
割当カウンタ24の値をサービス割当情報保持部7から
読み出す。そして、読み出された全ての割当カウンタ2
4の値を、対応する処理能力指標23の値で割った値の
中から、最も小さい値を持つ組のコンピュータ識別子2
2を選択する。サービス割当部6では、選択したコンピ
ュータ識別子22に対応する割当カウンタ24の値を1
増加させると共に、選択したサービス提供プログラム識
別子21とコンピュータ識別子22とを検索結果として
検索結果返送部8に転送する。
In the service allocating unit 6, the service searching unit 5
Using the computer identifiers 22 transferred from the server as indices, the corresponding processing capability index 23 and the value of the allocation counter 24 are read from the service allocation information holding unit 7. Then, all the read allocation counters 2
4 is divided by the value of the corresponding processing capability index 23, the computer identifier 2 of the set having the smallest value is set.
Select 2. The service allocating unit 6 sets the value of the allocation counter 24 corresponding to the selected computer identifier 22 to 1
At the same time, the selected service providing program identifier 21 and computer identifier 22 are transferred to the search result returning unit 8 as search results.

【0031】検索結果返送部8は、サービス検索要求元
であるサービス使用プログラム12に対して、サービス
割当部6で割り当てられたサービス提供プログラム識別
子21とコンピュータ識別子22の組を通知する。これ
により、サービス使用プログラム12は、通知されたサ
ービス提供プログラム識別子21を用いて、サービス検
索要求で指定したサービスを使用することができる。
The search result returning unit 8 notifies the service use program 12 that is the service search request source of the set of the service providing program identifier 21 and the computer identifier 22 assigned by the service assigning unit 6. Thus, the service using program 12 can use the service specified by the service search request using the notified service providing program identifier 21.

【0032】●サービス使用完了処理 サービス使用完了処理は、サービス使用プログラム12
が、上述したサービス検索処理で取得したサービス提供
プログラム13の使用を完了した場合、サービス検索サ
ーバ1に要求する。サービス使用完了要求の中には、使
用を完了したサービス提供プログラム13が存在するコ
ンピュータ10を示すコンピュータ識別子22を含んで
いる。サービス使用完了要求がサービス検索サーバ1の
要求受付部2で受信されると、要求受付部2では、これ
がサービス使用完了要求であることを判断し、要求をサ
ービス割当部6に転送する。サービス割当部6では、サ
ービス割当情報保持部7が保持する情報のうち、要求に
含まれるコンピュータ識別子22に対応する割当カウン
タ24の値を1減少させる。
● Service Use Completion Processing The service use completion processing is performed by the service use program 12
However, when the use of the service providing program 13 acquired in the service search process described above is completed, a request is made to the service search server 1. The service use completion request includes the computer identifier 22 indicating the computer 10 on which the service providing program 13 whose use has been completed exists. When the service use completion request is received by the request reception unit 2 of the service search server 1, the request reception unit 2 determines that this is a service use completion request, and transfers the request to the service allocation unit 6. The service allocating unit 6 decreases the value of the allocation counter 24 corresponding to the computer identifier 22 included in the request from the information held by the service allocation information holding unit 7 by one.

【0033】〈効果〉以上のように、具体例によれば、
あるサービスに対してサービス提供を行うサービス提供
プログラム13の割当を行う場合、そのサービス提供プ
ログラム13が動作するコンピュータの処理能力とサー
ビスの実行状態とを考慮して行うようにしたので、その
時点でサービス使用プログラム12がサービス提供プロ
グラム13の処理を要求した場合の最小の応答時間で処
理を行うことができる。従って、サービス使用プログラ
ム12の処理時間を短くすることができる。
<Effects> As described above, according to the specific example,
When assigning a service providing program 13 for providing a service to a certain service, the assignment is made in consideration of the processing capability of the computer on which the service providing program 13 operates and the execution state of the service. The processing can be performed with the shortest response time when the service using program 12 requests the processing of the service providing program 13. Therefore, the processing time of the service use program 12 can be shortened.

【0034】また、必要なサービスを提供するサービス
提供プログラム13を選択する際に、同時にコンピュー
タの状態も考慮しているため、専用の負荷を分散させる
ための機構をサービス検索機構の他に設けることなく、
システム内のコンピュータの負荷を平均化し、その結
果、サービス提供プログラムのサービス要求に対する応
答時間を短くし、システムを効率よく運用することがで
きる。
When selecting a service providing program 13 for providing a required service, the state of the computer is also taken into consideration. Therefore, a mechanism for distributing a dedicated load is provided in addition to the service search mechanism. Not
The computer load in the system is averaged, and as a result, the response time to the service request of the service providing program can be shortened, and the system can be operated efficiently.

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

【図1】本発明の分散処理システムの具体例の構成図で
ある。
FIG. 1 is a configuration diagram of a specific example of a distributed processing system of the present invention.

【図2】本発明の分散処理システムの具体例におけるサ
ービス情報保持部の説明図である。
FIG. 2 is an explanatory diagram of a service information holding unit in a specific example of the distributed processing system of the present invention.

【図3】本発明の分散処理システムの具体例におけるサ
ービス割当情報保持部の説明図である。
FIG. 3 is an explanatory diagram of a service allocation information holding unit in a specific example of the distributed processing system of the present invention.

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

1 サービス検索サーバ 3 サービス登録部 4 サービス情報保持部 5 サービス検索部 6 サービス割当部 7 サービス割当情報保持部 10a〜10e コンピュータ 11 通信路 12a、12b サービス使用プログラム 13a〜13d サービス提供プログラム REFERENCE SIGNS LIST 1 service search server 3 service registration unit 4 service information storage unit 5 service search unit 6 service allocation unit 7 service allocation information storage unit 10 a to 10 e computer 11 communication path 12 a, 12 b service use program 13 a to 13 d service provision program

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 予め設定されたサービスの実行を行う複
数のサービス提供プログラムと、このサービス提供プロ
グラムに対して前記サービスを要求するサービス使用プ
ログラムとが複数のコンピュータのいずれかに存在する
分散処理システムにおいて、 任意のサービス内容を示すサービス記述に対応して、そ
のサービスを提供する前記サービス提供プログラムの情
報と、当該サービス提供プログラムの存在するコンピュ
ータの情報とを格納するサービス情報保持部と、 前記コンピュータの情報に対応して、そのコンピュータ
の能力を示す処理能力指標と、そのコンピュータにおい
て、いくつの前記サービス提供プログラムが実行を許可
されているかを示す割当カウンタの値を示すサービス割
当情報保持部と、 前記サービス使用プログラムから任意のサービス要求が
あった場合、前記サービス情報保持部を参照して、前記
サービスに対応するサービス記述から、当該サービスに
対応したサービス提供プログラムとコンピュータの情報
を抽出するサービス検索部と、 前記サービス割当情報保持部を参照し、前記サービス検
索部で抽出されたコンピュータの情報に対応した処理能
力指標と割当カウンタの値を取得し、割当カウンタの値
を処理能力指標で割った値の最も小さいコンピュータ
を、前記サービス使用プログラムへの検索結果として出
力するサービス割当部とを備えたことを特徴とする分散
処理システム。
1. A distributed processing system in which a plurality of service providing programs for executing a preset service and a service using program for requesting the service to the service providing program exist in any of a plurality of computers. A service information holding unit that stores information of the service providing program that provides the service and information of a computer where the service providing program exists, in response to a service description indicating an arbitrary service content; In response to the information, a processing capability index indicating the capability of the computer, and in the computer, a service allocation information holding unit indicating the value of an allocation counter indicating how many service providing programs are permitted to be executed, From the service usage program A service search unit that extracts information of a service providing program and a computer corresponding to the service from a service description corresponding to the service by referring to the service information holding unit when an arbitrary service request is received; A computer having the smallest value obtained by dividing the value of the allocation counter by the processing capability index by obtaining the processing capability index and the value of the allocation counter corresponding to the information of the computer extracted by the service search unit with reference to the allocation information holding unit. And a service allocating unit for outputting a search result as a search result to the service using program.
【請求項2】 請求項1において、 任意のサービス提供プログラムから登録要求があった場
合は、そのサービス提供プログラムのサービス内容に対
応するサービス記述と、当該サービス提供プログラムの
情報と、このサービス提供プログラムが存在するコンピ
ュータの情報を、サービス情報保持部に登録するサービ
ス登録部と、 任意のコンピュータを検索結果として出力した場合、前
記コンピュータの割当カウンタの値を1増加させると共
に、任意のサービス使用プログラムから、サービス提供
プログラムの使用完了要求が出力された場合は、当該使
用完了要求に含まれるコンピュータの情報に対応した割
当カウンタの値を1減少させるサービス割当部とを備え
たことを特徴とする分散処理システム。
2. A service providing program according to claim 1, wherein when a registration request is received from an arbitrary service providing program, a service description corresponding to the service content of the service providing program, information of the service providing program, and the service providing program A service registration unit for registering information of a computer in which the computer exists in a service information holding unit; and when an arbitrary computer is output as a search result, the value of an allocation counter of the computer is increased by 1 and an arbitrary service use program is used. A service allocating unit that, when a use completion request of a service providing program is output, decreases a value of an allocation counter corresponding to information of a computer included in the use completion request by one. system.
JP19041297A 1997-06-30 1997-06-30 Distributed processing system Pending JPH1125060A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19041297A JPH1125060A (en) 1997-06-30 1997-06-30 Distributed processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19041297A JPH1125060A (en) 1997-06-30 1997-06-30 Distributed processing system

Publications (1)

Publication Number Publication Date
JPH1125060A true JPH1125060A (en) 1999-01-29

Family

ID=16257718

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19041297A Pending JPH1125060A (en) 1997-06-30 1997-06-30 Distributed processing system

Country Status (1)

Country Link
JP (1) JPH1125060A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010146117A (en) * 2008-12-16 2010-07-01 Fujitsu Ltd Information processor, information processing method and information processing program
US7778991B2 (en) 2004-01-15 2010-08-17 Nec Corporation Service providing system, computer which executes program providing service and repository service control program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778991B2 (en) 2004-01-15 2010-08-17 Nec Corporation Service providing system, computer which executes program providing service and repository service control program
JP2010146117A (en) * 2008-12-16 2010-07-01 Fujitsu Ltd Information processor, information processing method and information processing program

Similar Documents

Publication Publication Date Title
JP7085565B2 (en) Intelligent thread management across isolated network stacks
JP3382953B2 (en) Client management flow control method and apparatus on finite memory computer system
US7246167B2 (en) Communication multiplexor using listener process to detect newly active client connections and passes to dispatcher processes for handling the connections
US20160292249A1 (en) Dynamic replica failure detection and healing
US20080256248A1 (en) Single server access in a multiple tcp/ip instance environment
US20100138540A1 (en) Method of managing organization of a computer system, computer system, and program for managing organization
US20010049717A1 (en) Method and apparatus for communicating among a network of servers
JP2000500255A (en) System and method for multi-site distributed object management environment
US8417929B2 (en) System for selecting a server from a plurality of server groups to provide a service to a user terminal based on a boot mode indicated in a boot information from the user terminal
JPH04230567A (en) Dispersed type constitution profile for computing system
JP7075888B2 (en) Systems for efficient diversion of connections in a multi-tenant database environment, computer implementation methods, computer programs and equipment
US20150317174A1 (en) Host providing system and host providing method
US7451219B2 (en) Determining server resources accessible to client nodes using information received at the server via a communications medium
JPH0844677A (en) Distributed processing system
US20070174248A1 (en) Method and system for data processing with load balance
CN110601994A (en) Load balancing method for micro-service chain perception in cloud environment
US7716678B2 (en) Processing messages in a message queueing system
US20230019037A1 (en) Reactive non-blocking input and output for target device communication
JPH1125060A (en) Distributed processing system
US11500622B2 (en) Information processing apparatus, information processing system, and non-transitory computer readable medium for coordinating a switch to an updated program in a cluster to suppress confusion on users
US8041671B2 (en) Method and system for providing a homogeneous view of a distributed common information model (CIM) within a heterogeneous virtual system environment
US11398943B1 (en) Negative caching for event notifications
CN114401262A (en) RDMA-based big data transmission system, method, device, equipment and storage medium
CN113590323A (en) MapReduce-oriented data transmission method, device, equipment and storage medium
US9841929B1 (en) Distributed system software infrastructure