JPH09128338A - Load distribution job processing system - Google Patents

Load distribution job processing system

Info

Publication number
JPH09128338A
JPH09128338A JP20388996A JP20388996A JPH09128338A JP H09128338 A JPH09128338 A JP H09128338A JP 20388996 A JP20388996 A JP 20388996A JP 20388996 A JP20388996 A JP 20388996A JP H09128338 A JPH09128338 A JP H09128338A
Authority
JP
Japan
Prior art keywords
job
backlog
transfer
unit
load
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.)
Granted
Application number
JP20388996A
Other languages
Japanese (ja)
Other versions
JP2998648B2 (en
Inventor
Hiroshi Tabuchi
公士 田淵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP8203889A priority Critical patent/JP2998648B2/en
Publication of JPH09128338A publication Critical patent/JPH09128338A/en
Application granted granted Critical
Publication of JP2998648B2 publication Critical patent/JP2998648B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To improve the throughput of a whole computer system connecting plural computers executing a batch processing by a job by a network. SOLUTION: A load judgment means 21 judges the propriety of the reception of the job from a job transfer part 1 based on the calculated result of the load on its own computer. A back log control means 23 generates a back log corresponding to the job judged that 'it cannot be received,' controls the deletion and change of the back log and requests the rescheduling of the back log at the time of generating and deleting the back log. A job queuing means 27 requests the rescheduling of the back log when a change occurs in the situation of the job which is in the middle of the processing or which has not been processed. A job transfer request means 26 issues the job transfer request of the object job when a back log scheduling means 25 judges that 'the object job can be received'.

Description

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

【発明の属する技術分野】本発明は、ジョブによるバッ
チ処理を行う複数の計算機をネットワークで接続した計
算機システムにおいて、各計算機間で負荷を分散するよ
うにジョブを実行する負荷分散ジョブ処理システムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load distribution job processing system for executing a job so as to distribute the load among the computers in a computer system in which a plurality of computers for batch processing by jobs are connected by a network.

【0001】[0001]

【従来の技術】特開平5−324582号公報には、ジ
ョブによるバッチ処理を行う複数の計算機をネットワー
クで接続した計算機システムにおいて、ジョブ登録時に
指定された各計算機と待ち行列の負荷状態を調べて、最
も負荷の少ない計算機の待ち行列にジョブを登録すると
いう技術が記載されている。
2. Description of the Related Art Japanese Unexamined Patent Publication No. 5-324582 discloses a computer system in which a plurality of computers for performing batch processing by jobs are connected to each other by checking the load state of each computer and queue designated at the time of job registration. , A technique of registering a job in the queue of the computer with the least load is described.

【0002】[0002]

【発明が解決しようとする課題】この従来の技術におい
ては、既に計算機に割り当てられた未処理のジョブを実
行することによって、該計算機にかかる負荷を正確に予
測することができないという問題点があった。
However, this conventional technique has a problem that it is not possible to accurately predict the load on the computer by executing an unprocessed job already assigned to the computer. It was

【0003】また、計算機において同時に他の業務を実
行することによって、該計算機にかかる負荷を正確に予
測することが困難であるという問題点があった。
There is also a problem that it is difficult to accurately predict the load on the computer by simultaneously executing other tasks in the computer.

【0004】さらに、これらの問題点に起因して、各計
算機に対して適切にジョブを割り当てることができない
ために、各計算機間の負荷のバランスが不均等になって
しまうという問題点がある。すなわち、未処理のジョブ
群が滞留する計算機や、逆にすべてのジョブの処理を完
了してしまいジョブの割り当て待ちとなる計算機が存在
するようになってしまうという問題点がある。
Further, due to these problems, there is a problem in that the jobs cannot be properly allocated to the respective computers, so that the load balance among the computers becomes uneven. That is, there is a problem in that there will be a computer in which an unprocessed job group stays, and a computer in which processing of all jobs is completed and waiting for job allocation will occur.

【0005】本発明の目的は、ジョブによるバッチ処理
を行う複数の計算機をネットワークで接続した計算機シ
ステム全体のスループットを向上することにある。
An object of the present invention is to improve the throughput of the entire computer system in which a plurality of computers that perform batch processing by jobs are connected via a network.

【0006】本発明の他の目的は、ジョブによるバッチ
処理を行う複数の計算機をネットワークで接続した計算
機システムにおいて、各計算機間の負荷のバランスを均
等にすることにある。
Another object of the present invention is to evenly balance the loads among the computers in a computer system in which a plurality of computers for batch processing by jobs are connected by a network.

【0007】[0007]

【課題を解決するための手段】本発明の第1の負荷分散
ジョブ処理システムは、ジョブによるバッチ処理を行う
複数の計算機をネットワークで接続した計算機システム
において、複数の計算機のそれぞれが、前記ジョブを入
力する少なくとも一つのジョブ転送部と、自計算機の負
荷が低い時には前記ジョブ転送部が入力した前記ジョブ
を受け付けて実行するとともに、自計算機の負荷が高い
時には該ジョブを受け付けずに該ジョブに関する情報を
バックログに記憶しておき、その後自計算機の負荷が低
くなった時に該バックログから前記ジョブに関する情報
を取り出し、該情報に基づいて前記ジョブ転送部に対し
て該ジョブの転送要求を行い、該ジョブを受け付けて実
行する少なくとも一つのジョブ実行部とを含むことを特
徴とする。
According to a first load balancing job processing system of the present invention, in a computer system in which a plurality of computers for performing batch processing by jobs are connected by a network, each of the plurality of computers executes the job. At least one job transfer unit to be input, and when the load on the local computer is low, the job input by the job transfer unit is accepted and executed, and when the load on the local computer is high, the job is not accepted and information about the job is input. Is stored in the backlog, and when the load on the local computer becomes low thereafter, information about the job is extracted from the backlog, and based on the information, a transfer request for the job is issued to the job transfer unit. At least one job execution unit that receives and executes the job is included.

【0008】本発明の第2の負荷分散ジョブ処理システ
ムは、第1の負荷分散ジョブ処理システムにおいて、前
記ジョブ転送部が、前記ジョブを入力し、該ジョブを該
ジョブに指定された転送先の前記ジョブ実行部へ転送す
る第1ジョブ送信手段と、前記第1ジョブ送信手段によ
り転送された前記ジョブが前記ジョブ実行部においても
受け付けられなかった場合に、該ジョブを待機状態で登
録するジョブ待機制御手段と、前記ジョブ実行部から転
送されるジョブ転送要求を受信し、前記ジョブ待機制御
手段に登録された前記ジョブの内、該ジョブ転送要求に
指定されたジョブを待機状態から解放し、同様に指定さ
れた前記ジョブ実行部に転送する第2ジョブ送信手段と
を含むことを特徴とする。
According to a second load balancing job processing system of the present invention, in the first load balancing job processing system, the job transfer section inputs the job and assigns the job to a transfer destination designated as the job. A first job transmission unit that transfers the job to the job execution unit, and a job standby that registers the job in a standby state when the job transferred by the first job transmission unit is not accepted by the job execution unit. The control means and the job transfer request transferred from the job execution unit are received, and among the jobs registered in the job standby control means, the job specified in the job transfer request is released from the standby state, and And a second job transmitting unit that transfers the job to the job execution unit designated by the above.

【0009】本発明の第3の負荷分散ジョブ処理システ
ムは、第1の負荷分散ジョブ処理システムにおいて、前
記ジョブ転送部が、前記ジョブを入力するとともに、該
ジョブを転送する少なくとも一つの前記ジョブ実行部を
転送先情報として指定するジョブ入力手段と、前記ジョ
ブ入力手段により入力された前記ジョブを、前記転送先
情報に指定された前記ジョブ実行部へ転送する第1ジョ
ブ送信手段と、前記第1ジョブ送信手段により転送され
た前記ジョブがいずれの前記ジョブ実行部においても受
け付けられなかった場合に、該ジョブを待機状態で登録
するジョブ待機制御手段と、前記ジョブ実行部から転送
されるジョブ転送要求を受信し、前記ジョブ待機制御手
段に登録された前記ジョブの内、該ジョブ転送要求に指
定されたジョブを待機状態から解放するジョブ転送要求
受信手段と、前記ジョブ転送要求受信手段により待機状
態を解放された前記ジョブを前記ジョブ転送要求に指定
された前記ジョブ実行部に転送する第2ジョブ送信手段
とを含むことを特徴とする。
According to a third load balancing job processing system of the present invention, in the first load balancing job processing system, the job transfer section inputs the job and executes at least one of the job executions for transferring the job. A job input unit that specifies a copy as transfer destination information; a first job transmission unit that transfers the job input by the job input unit to the job execution unit specified by the transfer destination information; Job standby control means for registering the job in a standby state when the job transferred by the job transmission means is not accepted by any of the job execution parts, and a job transfer request transferred from the job execution part Of the jobs registered in the job standby control means, the job specified in the job transfer request is received. A job transfer request receiving means for releasing from the machine state and a second job transmitting means for transferring the job released from the waiting state by the job transfer request receiving means to the job executing unit designated in the job transfer request. It is characterized by including.

【0010】本発明の第4の負荷分散ジョブ処理システ
ムは、第2または第3の負荷分散ジョブ処理システムに
おいて、前記ジョブ実行部が、自計算機の負荷を予め設
定した判断基準によって算出し、その算出結果に基づい
て前記ジョブ転送部より転送される前記ジョブを受け付
けるか否かを判断する負荷判断手段と、前記第1ジョブ
送信手段および前記第2ジョブ送信手段のいずれかから
転送された前記ジョブを受信し、前記負荷判断手段が該
ジョブを受け付けると判断した場合に、該ジョブの受信
処理を行うジョブ受信手段と、前記負荷判断手段が前記
ジョブを受け付けないと判断した場合に、前記ジョブ受
信手段が受信しなかった前記ジョブに関する情報をバッ
クログとして生成し、該バックログの生成および削除の
いずれかを行った場合には、該バックログの再スケジュ
ーリングを要求するバックログ制御手段と、前記バック
ログ制御手段によって生成されたバックログを記録する
バックログ記録手段と、前記ジョブ受信手段が受信した
ジョブを順次、待ち行列に登録し、処理中および未処理
のジョブの状態に変化があった場合には、前記バックロ
グの再スケジューリングを要求するジョブキューイング
手段と、前記バックログ制御手段および前記ジョブキュ
ーイング手段のいずれかからの前記バックログに対する
再スケジューリング要求に応じて、前記バックログ記録
手段から対象のバックログを取り出し、該バックログに
記録されている前記ジョブに関する情報を得て、前記負
荷判断手段により該ジョブを受け付けるか否かを判断す
るバックログスケジュール手段と、前記バックログスケ
ジュール手段が前記ジョブを受け付けると判断した場合
に、前記ジョブ転送部に対して該ジョブの転送要求を行
うジョブ転送要求手段と、前記ジョブキューイング手段
に登録された前記ジョブの待ち行列の先頭から順に前記
ジョブを取り出し、該ジョブを実行するジョブ実行手段
とを備えたことを特徴とする。
According to a fourth load balancing job processing system of the present invention, in the second or third load balancing job processing system, the job executing section calculates the load of the own computer according to a preset judgment criterion, A load determination unit that determines whether or not to accept the job transferred from the job transfer unit based on the calculation result, and the job transferred from any one of the first job transmission unit and the second job transmission unit. Job receiving means for receiving the job when the load determining means determines to accept the job, and the job receiving means for determining if the load determining means does not accept the job. Information about the job that the means did not receive was created as a backlog, and either the backlog was created or deleted. In this case, backlog control means for requesting the rescheduling of the backlog, backlog recording means for recording the backlog generated by the backlog control means, and the jobs received by the job receiving means in sequence, Job queuing means for requesting rescheduling of the backlog when there is a change in the status of jobs being processed and unprocessed registered in the queue, the backlog control means, and the job queuing means In response to a rescheduling request for the backlog from any of the above, the target backlog is taken out from the backlog recording means, information about the job recorded in the backlog is obtained, and the load determination means Backlog scheduling means for determining whether or not to accept the job, When the backlog scheduling means determines to accept the job, the job transfer request means for requesting the job transfer section to transfer the job, and the queue for the job registered in the job queuing means And a job executing means for executing the job by sequentially taking out the job from the beginning.

【0011】本発明の第5の負荷分散ジョブ処理システ
ムは、第4の負荷分散ジョブ処理システムにおいて、前
記ジョブ転送部が、さらに、第1ジョブ送信手段または
第2ジョブ転送手段が前記ジョブの転送に成功した場合
に、該ジョブの転送が完了したことを該ジョブに指定さ
れていた全ての転送先の前記ジョブ実行部に通知するジ
ョブ転送完了通知手段を含み、前記ジョブ実行部が、さ
らに、前記ジョブ転送完了通知手段から前記ジョブの転
送が完了した旨の通知を受信し、該ジョブに係る前記バ
ックログを削除する旨の指示を前記バックログ制御手段
に通知するジョブ転送完了通知受信手段とを含み、前記
バックログ制御手段が、さらに、前記ジョブ転送完了通
知受信手段に指示された前記バックログを前記バックロ
グ記録手段から削除することを特徴とする。
A fifth load balancing job processing system of the present invention is the load balancing job processing system according to the fourth aspect, wherein the job transfer section further transfers the job by a first job transmitting means or a second job transferring means. If the job execution unit is successful, the job execution unit further includes a job transfer completion notifying unit that notifies the job execution units of all the transfer destinations specified in the job that the transfer of the job is completed, A job transfer completion notification receiving unit that receives a notification from the job transfer completion notifying unit that the transfer of the job has been completed, and notifies the backlog control unit of an instruction to delete the backlog of the job; The backlog control means further deletes the backlog instructed by the job transfer completion notification receiving means from the backlog recording means. Characterized in that it.

【0012】本発明の第6の負荷分散ジョブ処理システ
ムは、第4または第5の負荷分散ジョブ処理システムに
おいて、前記負荷判断手段が、前記ジョブキューイング
手段に登録されている未処理および処理中の前記ジョブ
の個数と前記バックログ記録手段に登録されている転送
待ち状態のバックログの個数との加算値が予め設定した
しきい値以下の場合に、前記ジョブを受け付けることが
できると判断することを特徴とする。
A sixth load balancing job processing system according to the present invention is the load balancing job processing system according to the fourth or fifth aspect, wherein the load determining means is unprocessed or is being processed registered in the job queuing means. If the added value of the number of jobs and the number of backlogs in the transfer waiting state registered in the backlog recording unit is equal to or less than a preset threshold value, it is determined that the job can be accepted. It is characterized by

【0013】[0013]

【発明の実施の形態】以下、本発明の実施例について、
図を参照しながら詳細に説明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below.
This will be described in detail with reference to the drawings.

【0014】図1は、本発明の負荷分散ジョブ処理シス
テムの第1の実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of the first embodiment of the load balancing job processing system of the present invention.

【0015】また、図4は、本発明の負荷分散ジョブ処
理システムが適用される計算機システムの構成を示すブ
ロック図である。本実施例においては、負荷分散ジョブ
処理システムを、ネットワークで相互に接続した各計算
機H1、H2、およびH3から構成される計算機システ
ムに適用した場合について説明する。しかし、本発明に
おいて計算機システムを構成する計算機の数は3に限定
しない。
FIG. 4 is a block diagram showing the configuration of a computer system to which the load balancing job processing system of the present invention is applied. In this embodiment, a case where the load distribution job processing system is applied to a computer system composed of computers H1, H2, and H3 mutually connected by a network will be described. However, the number of computers constituting the computer system in the present invention is not limited to three.

【0016】各計算機H1、H2、およびH3は、ジョ
ブ転送部1と、ジョブ実行部2とを含む。全てのジョブ
転送部1およびジョブ実行部2は、相互に接続されてい
る。
Each of the computers H1, H2, and H3 includes a job transfer section 1 and a job execution section 2. All the job transfer units 1 and the job execution units 2 are connected to each other.

【0017】本実施例においては、各計算機H1、H
2、およびH3は、それぞれ1つのジョブ転送部1と1
つのジョブ実行部2とを有する。しかし、ジョブ転送部
1およびジョブ実行部2の一方または両方が同一計算機
内に複数存在しても、またジョブ転送部1およびジョブ
実行部2のいずれかが任意の計算機に存在しなくても良
い。ただし、ジョブ転送部1またはジョブ実行部2が同
一計算機内に複数存在する場合には、複数のジョブ転送
部1のそれぞれまたは複数のジョブ実行部2のそれぞれ
に識別するための名前(識別情報)を付す必要がある。
In this embodiment, each computer H1, H
2 and H3 are one job transfer unit 1 and one job transfer unit 1 respectively.
And one job execution unit 2. However, one or both of the job transfer unit 1 and the job execution unit 2 may exist in the same computer, or either the job transfer unit 1 or the job execution unit 2 may not exist in any computer. . However, when a plurality of job transfer units 1 or job execution units 2 exist in the same computer, a name (identification information) for identifying each of the plurality of job transfer units 1 or each of the plurality of job execution units 2 Must be attached.

【0018】図1を参照すると、ある計算機(計算機H
1とする)内のジョブ転送部1は、ジョブ入力手段11
と、第1ジョブ送信手段12と、ジョブ待機制御手段1
3と、第2ジョブ送信手段14と、ジョブ転送要求受信
手段15とを含む。なお、他の計算機内のジョブ転送部
1にも、同一の各手段が存在する。
Referring to FIG. 1, a computer (computer H
The job transfer unit 1 in FIG.
A first job transmission means 12 and a job standby control means 1
3, a second job transmitting unit 14, and a job transfer request receiving unit 15. The same means also exist in the job transfer unit 1 in another computer.

【0019】一方、ある計算機(計算機H1とする)内
のジョブ実行部2は、負荷判断手段21と、ジョブ受信
手段22と、バックログ制御手段23と、バックログ記
録手段24と、バックログスケジュール手段25と、ジ
ョブ転送要求手段26と、ジョブキューイング手段27
と、ジョブ実行手段28とを含む。なお、他の計算機内
のジョブ実行部2にも、同一の各手段が存在する。
On the other hand, the job executing unit 2 in a computer (computer H1) has a load judging means 21, a job receiving means 22, a backlog control means 23, a backlog recording means 24, and a backlog schedule. Means 25, job transfer request means 26, and job queuing means 27
And job execution means 28. The same means also exist in the job execution unit 2 in another computer.

【0020】バックログ制御手段23は、ジョブ受信手
段22またはジョブ転送要求手段26からの通知に基づ
き、該通知によって指定されたジョブに対応するバック
ログの生成、消去、および状態の変更を行う。
Based on the notification from the job receiving means 22 or the job transfer requesting means 26, the backlog control means 23 creates, deletes, and changes the status of the backlog corresponding to the job designated by the notification.

【0021】あるジョブに対応するバックログには、該
ジョブの識別子、該ジョブの転送元の識別情報、および
バックログの状態を記録する領域がある。「バックログ
の状態」には、初期状態である「スケジュール待ち状
態」と、「転送待ち状態」との、2つの状態がある。
The backlog corresponding to a job has an area for recording the identifier of the job, the identification information of the transfer source of the job, and the state of the backlog. The "backlog state" has two states, that is, an "initial schedule waiting state" and a "transfer waiting state".

【0022】バックログ制御手段23は、あるジョブに
対応するバックログを生成する場合には、該ジョブの識
別子、該ジョブの転送元の識別情報、および「スケジュ
ール待ち状態」であることを示すバックログの状態を該
ジョブに対応するバックログに記録し、該バックログを
バックログ記録手段24に登録する。
When the backlog control means 23 generates a backlog corresponding to a certain job, the backlog control means 23 identifies the identifier of the job, the identification information of the transfer source of the job, and the backlog indicating that the job is in the "schedule waiting state". The state of the log is recorded in the backlog corresponding to the job, and the backlog is registered in the backlog recording means 24.

【0023】また、バックログ制御手段23は、あるジ
ョブに対応するバックログの生成または消去を行った場
合には、バックログの再スケジューリングを行うように
バックログスケジュール手段25に通知する。
Further, the backlog control means 23, when the backlog corresponding to a certain job is generated or deleted, notifies the backlog scheduling means 25 to perform the rescheduling of the backlog.

【0024】ジョブキューイング手段27は、未処理の
処理中のジョブを管理し、負荷判断手段21からの問合
せがあれば、それらのジョブの合計個数を負荷判断手段
21に応答する。
The job queuing means 27 manages the unprocessed jobs and responds to the load judging means 21 with the total number of these jobs if there is an inquiry from the load judging means 21.

【0025】また、ジョブキューイング手段27は、処
理中および未処理のジョブの状況に変化(ジョブ実行手
段28による実行中のジョブの実行の完了やジョブ実行
手段28による未処理のジョブの新たな実行の開始等)
があった場合には、バックログの再スケジューリングを
行うようにバックログスケジュール手段25に通知す
る。
Further, the job queuing means 27 changes to the status of the job being processed and the unprocessed job (the execution of the job being executed by the job executing means 28 is completed, and the job executing means 28 newly updates the unprocessed job). Start execution, etc.)
If there is, the backlog scheduling means 25 is notified to perform rescheduling of the backlog.

【0026】次に、このように構成された本発明の負荷
分散ジョブ処理システムの第1の実施例について、図
1、図3、および図4を参照して以下に詳細に説明す
る。
Next, a first embodiment of the load balancing job processing system of the present invention thus constructed will be described in detail below with reference to FIGS. 1, 3 and 4.

【0027】まず、新規のジョブの入力を契機とするジ
ョブ転送部1の動作について説明する。
First, the operation of the job transfer unit 1 triggered by the input of a new job will be described.

【0028】図4に示すような計算機システムを構成す
る計算機のいずれか(本実施例では、計算機H1とす
る)上のジョブ転送部1内のジョブ入力手段11にユー
ザによって新規のジョブが投入されると、ジョブ入力手
段11はそのジョブを入力する。
A new job is input by the user to the job input means 11 in the job transfer section 1 on any of the computers (computer H1 in this embodiment) constituting the computer system as shown in FIG. Then, the job input means 11 inputs the job.

【0029】具体的には、以下の〜に示す手順で、
「ジョブの入力」が実現される。 ジョブ入力手段11は、ユーザによって記述された
バッチ処理の内容を受け取る。 そのバッチ処理の内容をいずれかの計算機上の資源
から読み取る。 その読み取りに基づいて、新規のジョブを生成す
る。
Specifically, the following steps (1) to (4)
“Job input” is realized. The job input means 11 receives the content of the batch process described by the user. The contents of the batch process are read from the resource on any computer. Create a new job based on the reading.

【0030】ジョブ入力手段11は、予め定義された方
法で当該ジョブの転送先の候補(本実施例では、計算機
H1、H2、およびH3とする)と転送先の優先順序と
からなる転送先情報を決定し、第1ジョブ送信手段12
に当該ジョブとともに送付する。なお、本実施例では、
各計算機内にジョブ実行部2は1つしか存在しないの
で、「計算機」を転送先と見なすことができる。しか
し、一般的には、同一の計算機内の複数のジョブ実行部
2のそれぞれが異なる転送先となりうる。
The job input means 11 uses a pre-defined method to form transfer destination information consisting of transfer destination candidates (computers H1, H2, and H3 in this embodiment) of the job and the transfer destination priority order. And determines the first job transmission means 12
To be sent together with the job. In this embodiment,
Since only one job execution unit 2 exists in each computer, the "computer" can be regarded as the transfer destination. However, in general, each of the plurality of job execution units 2 in the same computer can be a different transfer destination.

【0031】第1ジョブ送信手段12は、当該ジョブ
を、ジョブ入力手段11によって指定された転送先情報
中の優先順序にしたがって、計算機H1、H2、および
H3に存在する各ジョブ実行部2に送信することを試み
る。
The first job transmission unit 12 transmits the job to each job execution unit 2 existing in the computers H1, H2, and H3 according to the priority order in the transfer destination information designated by the job input unit 11. Try to do.

【0032】ここで、いずれかのジョブ実行部2が当該
ジョブを受信した場合には、その時点で当該ジョブに関
する計算機H1内のジョブ転送部1の処理は完了する。
When any of the job execution units 2 receives the job, the processing of the job transfer unit 1 in the computer H1 for the job is completed at that point.

【0033】一方、いずれのジョブ実行部2も当該ジョ
ブを受信しなかった場合には、ジョブ待機制御手段13
は自己の内部の記憶領域に当該ジョブを登録し、当該ジ
ョブに関する転送の処理を待機させる。
On the other hand, when none of the job executing units 2 receives the job, the job waiting control means 13
Registers the job in its own internal storage area and puts the transfer process for the job on standby.

【0034】次に、いずれかのジョブ転送部1から転送
されたジョブの受信を契機とする計算機H1内のジョブ
実行部2に動作について説明する。
Next, the operation of the job execution unit 2 in the computer H1 triggered by the reception of a job transferred from any one of the job transfer units 1 will be described.

【0035】計算機H1内のジョブ実行部2中のジョブ
受信手段22は、いずれかのジョブ転送部1から転送さ
れてきたジョブを受信する。この際、ジョブ受信手段2
2は、当該ジョブとともに、当該ジョブの転送元の計算
機およびジョブ転送部1の識別情報(本実施例では、1
つの計算機に1つのジョブ転送部1しか存在しないの
で、計算機の識別情報だけでかまわない)、および当該
ジョブの識別子を受け取る。
The job receiving means 22 in the job executing section 2 in the computer H1 receives the job transferred from any of the job transferring sections 1. At this time, the job receiving means 2
Reference numeral 2 denotes identification information of the computer that is the transfer source of the job and the job transfer unit 1 (1 in this embodiment) together with the job.
Since only one job transfer unit 1 exists in one computer, only the identification information of the computer is sufficient) and the identifier of the job.

【0036】ジョブ受信手段22は、負荷判断手段21
に当該ジョブを受信することの可否を問い合わせる。
The job receiving means 22 is the load judging means 21.
Inquires about whether or not the job can be received.

【0037】負荷判断手段21は、自計算機(自己が存
在する計算機)の現在の負荷および未処理のジョブを処
理するために生ずる負荷を一定の方法で判断し、当該ジ
ョブの受信の可否を判断する。本実施例の負荷分散ジョ
ブ処理システムでは、負荷判断手段21は、以下の〜
に示す判断手法を用いるものとする。 ジョブキューイング手段27に登録されている「未
処理および処理中のジョブの個数」と、バックログ記録
手段24に登録されている「転送待ち状態のバックログ
の個数」とを加算する。 の加算値があるしきい値以下である場合には、当
該ジョブを受信可能と判断する。このしきい値には、0
でない数を指定するが、適切な負荷分散を行うため、す
なわち未処理のジョブがなくなり、かつその時間を長く
続かせないために0に近い値を設定する。 また、当該ジョブがバックログ記録手段24に転送
待ち状態として登録されている場合には、無条件に当該
ジョブを受理可能と判断する。
The load judging means 21 judges the present load of its own computer (the computer in which it exists) and the load generated for processing an unprocessed job by a certain method, and judges whether or not the job can be received. To do. In the load distribution job processing system according to the present exemplary embodiment, the load determining unit 21 uses the following items
The judgment method shown in is used. The “number of unprocessed and in-process jobs” registered in the job queuing means 27 and the “number of backlogs in a transfer waiting state” registered in the backlog recording means 24 are added. If the added value of is less than or equal to a threshold value, it is determined that the job can be received. This threshold is 0
However, in order to perform appropriate load balancing, that is, there are no unprocessed jobs and the time cannot be prolonged, a value close to 0 is set. If the job is registered in the backlog recording means 24 as a transfer waiting state, it is unconditionally determined that the job can be accepted.

【0038】ジョブ受信手段22は、負荷判断手段21
による判断の結果、当該ジョブの受信が可能である場合
には、ジョブキューイング手段27に当該ジョブを登録
し、当該ジョブに対応するバックログを消去するように
バックログ制御手段23に通知する。
The job receiving means 22 is the load judging means 21.
If the job can be received as a result of the determination by the above, the job is registered in the job queuing unit 27, and the backlog control unit 23 is notified to delete the backlog corresponding to the job.

【0039】一方、ジョブ受信手段22は、負荷判断手
段21による判断の結果、当該ジョブの受信が可能でな
い場合、すなわち当該ジョブの受信を拒否する場合に
は、当該ジョブに対応するバックログを生成するように
バックログ制御手段23に通知する。
On the other hand, as a result of the judgment by the load judging means 21, the job receiving means 22 generates a backlog corresponding to the job when the job cannot be received, that is, when the reception of the job is rejected. The backlog control means 23 is notified to do so.

【0040】なお、上述のようにしてジョブキューイン
グ手段27に登録されたジョブは、その登録された順番
でジョブ実行手段28によって実行される。すなわち、
ジョブ実行手段28は、逐次、ジョブキューイング手段
27から未処理のジョブを1つ取り出し、当該ジョブの
実行処理を行う。ここで、ジョブキューイング手段27
に対して複数のジョブ実行手段28を接続すること、す
なわちジョブ実行部2内に複数のジョブ実行手段28を
設けることも可能である。ジョブ実行手段28によるジ
ョブの実行処理が完了した場合には、そのジョブに関す
る一連の処理が完了したことになる。
The jobs registered in the job queuing means 27 as described above are executed by the job executing means 28 in the order of registration. That is,
The job execution unit 28 sequentially takes out one unprocessed job from the job queuing unit 27 and executes the execution process of the job. Here, the job queuing means 27
It is also possible to connect a plurality of job executing means 28 to each other, that is, to provide a plurality of job executing means 28 in the job executing section 2. When the job execution processing by the job executing means 28 is completed, it means that a series of processing related to the job is completed.

【0041】次に、バックログ制御手段23またはジョ
ブキューイング手段27からバックログスケジュール手
段25への通知を契機とするバックログの再スケジュー
リング時の動作について説明する。
Next, the operation of the backlog rescheduling triggered by the notification from the backlog control means 23 or the job queuing means 27 to the backlog scheduling means 25 will be described.

【0042】バックログスケジュール手段25は、ジョ
ブキューイング手段27またはバックログ制御手段23
から、バックログの再スケジューリングを指示する通知
を受信する(ステップ301)と、バックログの再スケ
ジューリングを開始する。
The backlog scheduling means 25 is a job queuing means 27 or a backlog control means 23.
When the notification instructing the backlog rescheduling is received from (step 301), the backlog rescheduling is started.

【0043】バックログスケジュール手段25は、バッ
クログの再スケジューリング処理を、以下の〜に示
す手順で行う。 まず、バックログ記録手段24に記録されているバ
ックログ群の中からスケジュール待ち状態のものを検索
し、いずれかのジョブ転送部1から自己が存在するジョ
ブ実行部2への転送の対象とするのに最適なジョブに対
応するバックログを1つ決定する(ステップ302)。
本実施例では、「最も古いバックログ」を「転送の対象
とするのに最適なジョブに対応するバックログ」として
決定している。 次に、負荷判断手段21により、当該バックログに
記録されたジョブ識別子で識別されるジョブ、すなわち
転送の対象とするのに最適なジョブについて、当該ジョ
ブの受信がその時点で可能か否かを判断する(ステップ
304)。 ステップ304において「当該ジョブの受信が可能
である」と判定した場合には、ジョブ転送要求手段26
に対して、当該ジョブを自己が存在するジョブ実行部2
に転送するように要求させるための指示を出す(ステッ
プ305)。 ステップ304において「当該ジョブの受信が可能
ではない」と判定した場合には、バックログ記録手段2
4に記録されているバックログ群の中から「転送の対象
とするのに次に最適なジョブに対応するバックログ」を
1つ決定し(ステップ302)、ステップ303の判定
を行う。
The backlog scheduling means 25 performs the backlog rescheduling process according to the following procedures (1) to (3). First, a backlog group recorded in the backlog recording unit 24 is searched for a job in a schedule wait state, and is set as a transfer target from any one of the job transfer units 1 to the job execution unit 2 in which it exists. One backlog corresponding to the most suitable job is determined (step 302).
In this embodiment, the "oldest backlog" is determined as the "backlog corresponding to the most suitable job to be a transfer target". Next, the load determination unit 21 determines whether or not the job identified by the job identifier recorded in the backlog, that is, the optimum job to be transferred can be received at that time. A judgment is made (step 304). If it is determined in step 304 that the job can be received, the job transfer requesting unit 26
On the other hand, the job execution unit 2 in which the job exists
To issue a request to transfer the data (step 305). If it is determined in step 304 that “the job cannot be received”, the backlog recording unit 2
One "backlog corresponding to the next most suitable job to be the transfer target" is determined from the backlog group recorded in step 4 (step 302), and the determination in step 303 is performed.

【0044】以上のようなバックログスケジュール手段
25の処理は、ステップ304において「当該ジョブの
受信が可能である」と判定されるバックログが決定され
るまで、バックログ記録手段24内のスケジュール待ち
状態のバックログの全てについて行われる(ステップ3
03)。
The above-described processing of the backlog scheduling means 25 waits for the schedule in the backlog recording means 24 until the backlog which is judged to be "receivable for the job" is determined in step 304. Performed for all state backlogs (step 3
03).

【0045】ジョブ転送要求手段26は、ステップ30
5におけるバックログスケジュール手段25からの指示
に基づき、当該ジョブ(以下、対象ジョブという)を自
計算機に転送するように、当該バックログ(以下、対象
バックログという)に識別情報が記述されているジョブ
転送元に対してジョブ転送要求を送信する(ステップ3
06)。このジョブ転送要求には、そのジョブ転送要求
手段26が存在する計算機の識別情報(当該計算機に複
数のジョブ実行部2が存在するときにはジョブ実行部2
の識別情報を含む)、および転送すべきジョブの識別子
が記述される。
The job transfer requesting means 26 executes step 30.
5, the identification information is described in the backlog (hereinafter referred to as the target backlog) so that the job (hereinafter referred to as the target job) is transferred to the own computer based on the instruction from the backlog scheduling means 25. Send a job transfer request to the job transfer source (step 3)
06). This job transfer request includes identification information of the computer in which the job transfer requesting unit 26 exists (when there are a plurality of job executing units 2 in the computer, the job executing unit 2
, And the identifier of the job to be transferred are described.

【0046】なお、ジョブ転送要求手段26は、当該ジ
ョブ転送要求を出す直前に、対象バックログをスケジュ
ール待ち状態から転送待ち状態に変更するように、バッ
クログ制御手段23に通知する。
The job transfer requesting means 26 notifies the backlog control means 23 to change the target backlog from the schedule waiting state to the transfer waiting state immediately before issuing the job transfer request.

【0047】当該ジョブ転送要求の送信先のジョブ転送
部1内のジョブ転送要求受信手段15′(以下、当該ジ
ョブ転送部1内の各手段は図1上の各手段の符号に′を
付して示す)は、当該ジョブ転送要求を受信する(ステ
ップ307)。
A job transfer request receiving means 15 'in the job transfer section 1 which is the destination of the job transfer request (hereinafter, each means in the job transfer section 1 has a reference numeral "" attached to each means in FIG. 1). Indicates the job transfer request (step 307).

【0048】ジョブ転送要求受信手段15′は、ジョブ
待機制御手段13′に対して、現在登録されている待機
中のジョブに当該ジョブ転送要求中の「ジョブの識別
子」に対応するジョブ(対象ジョブ)があるか否かを問
い合わせる(ステップ308)。
The job transfer request receiving means 15 'sends the job waiting control means 13' a job corresponding to the "job identifier" in the job transfer request for the currently registered waiting job (target job). ) Is inquired (step 308).

【0049】ジョブ転送要求受信手段15′は、ステッ
プ308において、対象ジョブが存在しないと判明した
場合には、当該ジョブ転送要求を発行したジョブ転送要
求手段26に対して対象ジョブを転送することができな
い旨を返答する(ステップ309)。
If it is determined in step 308 that the target job does not exist, the job transfer request receiving means 15 'can transfer the target job to the job transfer request means 26 that issued the job transfer request. It responds that it cannot be done (step 309).

【0050】ジョブ転送要求手段26は、当該返答を受
けて、対象ジョブの転送が不可能であることを認識し、
対象バックログの消去を行うようにバックログ制御手段
23に通知する(ステップ310)。
Upon receiving the reply, the job transfer request means 26 recognizes that the transfer of the target job is impossible,
The backlog control means 23 is notified to erase the target backlog (step 310).

【0051】ステップ308の検索で対象ジョブが存在
する場合には、以下の〜の処理が行われる。 ジョブ転送要求受信手段15′は、当該ジョブ転送
要求を発行したジョブ転送要求手段26に対して対象ジ
ョブを転送することができる旨を返答する(ステップ3
11)。 ジョブ待機制御手段13′は、それまで転送できな
かった対象ジョブを個別に待機状態から解放する(ステ
ップ312)。 第2ジョブ送信手段14′は、ジョブ待機制御手段
13によって待機状態から解放されたジョブを当該ジョ
ブ転送要求中に記述されている当該ジョブ転送要求の発
行元のジョブ実行部2に送信する(ステップ313)。
ここで、第2ジョブ送信手段14′が第1ジョブ送信手
段12′と異なる点は、指定された1つの転送先にしか
転送を試みない点である。
If the target job exists in the search in step 308, the following processes (1) to (3) are performed. The job transfer request receiving means 15 'replies to the job transfer requesting means 26 that issued the job transfer request that the target job can be transferred (step 3).
11). The job standby control means 13 'individually releases the target jobs that could not be transferred until then from the standby state (step 312). The second job transmission unit 14 'transmits the job released from the standby state by the job standby control unit 13 to the job execution unit 2 which is the issuer of the job transfer request described in the job transfer request (step). 313).
Here, the second job transmitting means 14 'is different from the first job transmitting means 12' in that the transfer is attempted only to one designated transfer destination.

【0052】なお、図3に示す内容の処理については、
同時に複数の処理の実行が許容されている。すなわち、
バックログの再スケジューリングによって発生する「ジ
ョブ転送要求」については、複数の要求が同時に処理さ
れることが許されている。
Regarding the processing of the contents shown in FIG.
Execution of multiple processes at the same time is allowed. That is,
Regarding the "job transfer request" generated by the rescheduling of the backlog, it is allowed to process a plurality of requests at the same time.

【0053】以上により、本発明の負荷分散ジョブ処理
システムの第1の実施例の処理が完了する。
With the above, the processing of the first embodiment of the load balancing job processing system of the present invention is completed.

【0054】本発明の負荷分散ジョブ処理システムの第
1の実施例は、ジョブ実行部におけるジョブの実行が完
了し、当該計算機の負荷が軽減した場合にバックログに
記載されたジョブを転送するようにジョブの転送元の計
算機に要求を出すことにより、計算機システム全体のス
ループットが向上するという効果を有している。
The first embodiment of the load distribution job processing system of the present invention transfers the job described in the backlog when the job execution unit completes the execution of the job and the load on the computer is reduced. By issuing a request to the computer that is the job transfer source, the throughput of the entire computer system is improved.

【0055】さらに、本発明の負荷分散ジョブ処理シス
テムの第2の実施例について、以下に説明する。
A second embodiment of the load balancing job processing system of the present invention will be described below.

【0056】図2は、本発明の負荷分散ジョブ処理シス
テムの第2の実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of the second embodiment of the load balancing job processing system of the present invention.

【0057】また、図4は、本実施例の負荷分散ジョブ
処理システムが適用される計算機システムの構成を示す
ブロック図でもある。
FIG. 4 is also a block diagram showing the configuration of a computer system to which the load distribution job processing system of this embodiment is applied.

【0058】第2の実施例の負荷分散ジョブ処理システ
ムは、第1の実施例の負荷分散ジョブ処理システムと同
様に、図4に示すように、ネットワークで相互に接続さ
れた各計算機H1,H2、およびH3から構成される計
算機システムに適用される。
As in the load balancing job processing system of the first embodiment, the load balancing job processing system of the second embodiment, as shown in FIG. 4, has computers H1 and H2 connected to each other via a network. , And H3.

【0059】本実施例の負荷分散ジョブ処理システム
は、第1の実施例の負荷分散ジョブ処理システムと同様
に、各計算機H1、H2、およびH3は、それぞれ1つ
のジョブ転送部1と1つのジョブ実行部2とを有する。
しかし、ジョブ転送部1およびジョブ実行部2の一方ま
たは両方が同一計算機内に複数存在しても、またジョブ
転送部1およびジョブ実行部2のいずれかが任意の計算
機に存在しなくても良い。ただし、ジョブ転送部1また
はジョブ実行部2が同一計算機内に複数存在する場合に
は、複数のジョブ転送部1のそれぞれまたは複数のジョ
ブ実行部2のそれぞれに識別するための名前(識別情
報)を付す必要がある。
In the load balancing job processing system of this embodiment, each of the computers H1, H2, and H3 has one job transfer section 1 and one job, as in the load balancing job processing system of the first embodiment. And an execution unit 2.
However, one or both of the job transfer unit 1 and the job execution unit 2 may exist in the same computer, or either the job transfer unit 1 or the job execution unit 2 may not exist in any computer. . However, when a plurality of job transfer units 1 or job execution units 2 exist in the same computer, a name (identification information) for identifying each of the plurality of job transfer units 1 or each of the plurality of job execution units 2 Must be attached.

【0060】図2に示すように、ある計算機(計算機H
1とする)内のジョブ転送部1は、ジョブ入力手段11
と、第1ジョブ送信手段12と、ジョブ待機制御手段1
3と、第2ジョブ送信手段14と、ジョブ転送要求受信
手段15と、ジョブ転送完了通知手段16とを含んで構
成されている。なお、他の計算機内のジョブ転送部1に
も、同一の各手段が存在する。
As shown in FIG. 2, a computer (computer H
The job transfer unit 1 in FIG.
A first job transmission means 12 and a job standby control means 1
3, a second job transmitting unit 14, a job transfer request receiving unit 15, and a job transfer completion notifying unit 16. The same means also exist in the job transfer unit 1 in another computer.

【0061】一方、ある計算機(計算機H1とする)内
のジョブ実行部2は、負荷判断手段21と、ジョブ受信
手段22と、バックログ制御手段23と、バックログ記
録手段24と、バックログスケジュール手段25と、ジ
ョブ転送要求手段26と、ジョブキューイング手段27
と、ジョブ実行手段28と、ジョブ転送完了通知受信手
段29とを含んで構成されている。なお、他の計算機内
のジョブ実行部2にも、同一の各手段が存在する。
On the other hand, the job executing unit 2 in a computer (computer H1) has a load judging means 21, a job receiving means 22, a backlog control means 23, a backlog recording means 24, and a backlog schedule. Means 25, job transfer request means 26, and job queuing means 27
A job execution means 28 and a job transfer completion notification receiving means 29. The same means also exist in the job execution unit 2 in another computer.

【0062】図1に示す第1の実施例における構成要素
と図2に示す第2の実施例における構成要素との間で対
応するものについては、同一の符号を使用している。
Components corresponding to those in the first embodiment shown in FIG. 1 and those in the second embodiment shown in FIG. 2 are designated by the same reference numerals.

【0063】次に、このように構成された本発明の負荷
分散ジョブ処理システムの第2の実施例について、図
2、および図4を参照して以下に詳細に説明する。
Next, a second embodiment of the load balancing job processing system of the present invention thus constructed will be described in detail below with reference to FIGS. 2 and 4.

【0064】次に、このように構成された本実施例の負
荷分散ジョブ処理システムの動作について説明する。な
お、ジョブ入力手段11、ジョブ待機制御手段13、ジ
ョブ転送要求受信手段15、負荷判断手段21、ジョブ
受信手段22、バックログ記録手段24、バックログス
ケジュール手段25、ジョブキューイング手段27、お
よびジョブ実行手段28の動作は、第1の実施例におけ
る対応する手段の動作と同一であるので、以下の動作説
明においては言及しない。
Next, the operation of the load balancing job processing system of this embodiment having the above configuration will be described. Note that the job input means 11, the job standby control means 13, the job transfer request receiving means 15, the load determining means 21, the job receiving means 22, the backlog recording means 24, the backlog scheduling means 25, the job queuing means 27, and the job. Since the operation of the executing means 28 is the same as the operation of the corresponding means in the first embodiment, it will not be mentioned in the following operation description.

【0065】第1の実施例の負荷分散ジョブ処理システ
ムでは、あるジョブがジョブ転送要求の発行に基づいて
特定の計算機に転送された場合に、当該ジョブを受信し
た計算機以外の計算機では当該ジョブの転送処理が完了
していることを認識することができない。
In the load balancing job processing system according to the first embodiment, when a job is transferred to a specific computer based on the issuance of a job transfer request, the computer other than the computer that received the job can execute the job Cannot recognize that the transfer process is complete.

【0066】ここで、計算機H1が当該ジョブを受信し
た計算機以外の計算機であるとすると、当該ジョブに対
応するバックログは、バックログ記録手段24に消去さ
れずに残っており、当該バックログはバックログスケジ
ュール手段25によって再スケジューリングの対象とさ
れて対象バックログとなりうる。したがって、当該バッ
クログは負荷判断手段21によって負荷として評価され
るため、状況によっては当該バックログの存在に起因し
て計算機H1内のジョブ実行部1がジョブを受け付けな
くなり、計算機H1が有効に利用されなくなる恐れがあ
る。
If the computer H1 is a computer other than the computer that received the job, the backlog corresponding to the job remains in the backlog recording means 24 without being erased, and the backlog is The backlog scheduling means 25 can be a target of rescheduling and can be a target backlog. Therefore, since the backlog is evaluated as the load by the load determining means 21, the job execution unit 1 in the computer H1 does not accept the job due to the existence of the backlog depending on the situation, and the computer H1 effectively uses the backlog. There is a risk that it will not be done.

【0067】第2の実施例の負荷分散ジョブ処理システ
ムでは、このような不都合を回避するために、以下の
およびに示すような処理が行われる。 第1ジョブ送信手段12または第2ジョブ送信手段
14がジョブの転送に成功した場合には、ジョブ転送完
了通知手段16は、当該ジョブに対して指定されていた
転送先のジョブ実行部2の全てに転送完了通知を発行す
る。 ジョブ実行部2内のジョブ転送完了通知受信手段2
9は、当該ジョブ転送完了通知を受信すると、該当する
ジョブに対応するバックログをバックログ制御手段23
に通知する。バックログ制御手段23は、バックログ記
録手段24から当該ジョブに対応するバックログを検索
し、当該バックログが存在する場合には当該バックログ
を消去する。
In the load distribution job processing system of the second embodiment, in order to avoid such an inconvenience, the following processes (1) and (2) are performed. When the first job transmitting means 12 or the second job transmitting means 14 succeeds in transferring the job, the job transfer completion notifying means 16 causes all of the transfer destination job execution units 2 designated for the job. Issue a transfer completion notification to. Job transfer completion notification receiving means 2 in the job execution unit 2
Upon receiving the job transfer completion notification, the backlog control means 23 sets the backlog corresponding to the corresponding job.
Notify. The backlog control unit 23 searches the backlog recording unit 24 for a backlog corresponding to the job, and if the backlog exists, deletes the backlog.

【0068】以上により、本発明の負荷分散ジョブ処理
システムの第2の実施例の処理が完了する。
With the above, the processing of the second embodiment of the load distribution job processing system of the present invention is completed.

【0069】本発明の負荷分散ジョブ処理システムの第
2の実施例は、あるジョブがジョブ転送要求に応じて特
定の計算機に転送されたことを、当該ジョブを受信した
計算機以外の計算機も認識することができる効果を有し
ている。
The second embodiment of the load distribution job processing system of the present invention recognizes that a job is transferred to a specific computer in response to a job transfer request, even by a computer other than the computer that received the job. It has the effect of being able to.

【0070】さらに、その結果として、当該ジョブを受
信した計算機以外の計算機が、自身が保持する当該ジョ
ブに対応するバックログを削除することができるので、
当該バックログが存在することに起因する負荷がなくな
り、当該計算機のスループットを向上させることができ
る効果を有している。
Further, as a result, a computer other than the computer that received the job can delete the backlog corresponding to the job held by itself,
The load caused by the existence of the backlog is eliminated, and the throughput of the computer can be improved.

【0071】[0071]

【発明の効果】以上説明したように、本発明の負荷分散
ジョブ処理システムは、ジョブによるバッチ処理を行う
複数の計算機をネットワークで接続した計算機システム
全体のスループットを向上することができる効果を有し
ている。
As described above, the load distribution job processing system of the present invention has the effect of improving the throughput of the entire computer system in which a plurality of computers for batch processing by jobs are connected by a network. ing.

【0072】また、ジョブによるバッチ処理を行う複数
の計算機をネットワークで接続した計算機システムにお
いて、各計算機間の負荷のバランスを均等にすることが
できる効果を有している。
Further, in a computer system in which a plurality of computers for performing batch processing by jobs are connected via a network, there is an effect that the load balance among the computers can be equalized.

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

【図1】図1は、本発明の負荷分散ジョブ処理システム
の第1の実施例の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a first embodiment of a load distribution job processing system of the present invention.

【図2】図2は、本発明の負荷分散ジョブ処理システム
の第2の実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing a configuration of a second embodiment of the load distribution job processing system of the present invention.

【図3】図3は、本発明の負荷分散ジョブ処理システム
のバックログの再スケジューリング時の処理を示す流れ
図である。
FIG. 3 is a flowchart showing a process at the time of rescheduling a backlog of the load distribution job processing system of the present invention.

【図4】図4は、本発明の負荷分散ジョブ処理システム
が適用される計算機システムの構成を示すブロック図で
ある。
FIG. 4 is a block diagram showing a configuration of a computer system to which the load distribution job processing system of the present invention is applied.

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

1 ジョブ転送部 2 ジョブ実行部 11 ジョブ入力手段 12 第1ジョブ送信手段 13 ジョブ待機制御手段 14 第2ジョブ送信手段 15 ジョブ転送要求受信手段 16 ジョブ転送完了通知手段 21 負荷判断手段 22 ジョブ受信手段 23 バックログ制御手段 24 バックログ記録手段 25 バックログスケジュール手段 26 ジョブ転送要求手段 27 ジョブキューイング手段 28 ジョブ実行手段 29 ジョブ転送完了通知受信手段 H1 計算機 H2 計算機 H3 計算機 1 Job Transfer Section 2 Job Execution Section 11 Job Input Means 12 First Job Sending Means 13 Job Standby Control Means 14 Second Job Sending Means 15 Job Transfer Request Receiving Means 16 Job Transfer Completion Notifying Means 21 Load Judging Means 22 Job Receiving Means 23 Backlog control means 24 Backlog recording means 25 Backlog schedule means 26 Job transfer requesting means 27 Job queuing means 28 Job executing means 29 Job transfer completion notification receiving means H1 computer H2 computer H3 computer

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 ジョブによるバッチ処理を行う複数の計
算機をネットワークで接続した計算機システムにおい
て、 複数の計算機のそれぞれが、 前記ジョブを入力する少なくとも一つのジョブ転送部
と、 自計算機の負荷が低い時には前記ジョブ転送部が入力し
た前記ジョブを受け付けて実行するとともに、自計算機
の負荷が高い時には該ジョブを受け付けずに該ジョブに
関する情報をバックログに記憶しておき、その後自計算
機の負荷が低くなった時に該バックログから前記ジョブ
に関する情報を取り出し、該情報に基づいて前記ジョブ
転送部に対して該ジョブの転送要求を行い、該ジョブを
受け付けて実行する少なくとも一つのジョブ実行部とを
含むことを特徴とする負荷分散ジョブ処理システム。
1. In a computer system in which a plurality of computers for batch processing by jobs are connected via a network, each of the plurality of computers has at least one job transfer unit for inputting the job, and when the load on its own computer is low. The job input by the job transfer unit is accepted and executed, and when the load on the local computer is high, the information about the job is stored in the backlog without accepting the job, and then the load on the local computer decreases. At least one job execution unit that takes out information about the job from the backlog, requests the job transfer unit to transfer the job based on the information, and accepts and executes the job. Load balancing job processing system characterized by:
【請求項2】 前記ジョブ転送部が、 前記ジョブを入力し、該ジョブを該ジョブに指定された
転送先の前記ジョブ実行部へ転送する第1ジョブ送信手
段と、 前記第1ジョブ送信手段により転送された前記ジョブが
前記ジョブ実行部においても受け付けられなかった場合
に、該ジョブを待機状態で登録するジョブ待機制御手段
と、 前記ジョブ実行部から転送されるジョブ転送要求を受信
し、前記ジョブ待機制御手段に登録された前記ジョブの
内、該ジョブ転送要求に指定されたジョブを待機状態か
ら解放し、同様に指定された前記ジョブ実行部に転送す
る第2ジョブ送信手段とを含むことを特徴とする請求項
1記載の負荷分散ジョブ処理システム。
2. The job transfer unit inputs the job, and transfers the job to the job execution unit of the transfer destination specified in the job; and a first job transmission unit, When the transferred job is not accepted by the job execution unit, a job standby control unit that registers the job in a standby state, and a job transfer request transferred from the job execution unit is received. Of the jobs registered in the standby control means, a second job transmission means for releasing the job designated in the job transfer request from the standby state and transferring it to the similarly designated job execution unit is also included. The load balancing job processing system according to claim 1.
【請求項3】 前記ジョブ転送部が、 前記ジョブを入力するとともに、該ジョブを転送する少
なくとも一つの前記ジョブ実行部を転送先情報として指
定するジョブ入力手段と、 前記ジョブ入力手段により入力された前記ジョブを、前
記転送先情報に指定された前記ジョブ実行部へ転送する
第1ジョブ送信手段と、 前記第1ジョブ送信手段により転送された前記ジョブが
いずれの前記ジョブ実行部においても受け付けられなか
った場合に、該ジョブを待機状態で登録するジョブ待機
制御手段と、 前記ジョブ実行部から転送されるジョブ転送要求を受信
し、前記ジョブ待機制御手段に登録された前記ジョブの
内、該ジョブ転送要求に指定されたジョブを待機状態か
ら解放するジョブ転送要求受信手段と、 前記ジョブ転送要求受信手段により待機状態を解放され
た前記ジョブを前記ジョブ転送要求に指定された前記ジ
ョブ実行部に転送する第2ジョブ送信手段とを含むこと
を特徴とする請求項1記載の負荷分散ジョブ処理システ
ム。
3. The job transfer unit inputs the job, and at least one of the job execution units transferring the job is designated as transfer destination information, and a job input unit is input by the job input unit. The first job transmission unit that transfers the job to the job execution unit specified in the transfer destination information, and the job transferred by the first job transmission unit is not accepted by any of the job execution units. Job waiting control means for registering the job in a waiting state, and a job transfer request received from the job executing section, and the job transfer request is transferred among the jobs registered in the job waiting control means. Job transfer request receiving means for releasing the job specified in the request from the waiting state, and waiting by the job transfer request receiving means Load distribution job processing system according to claim 1, characterized in that it comprises a second job transmitting means for transferring the job to release the state to the job execution section specified in the job transfer request.
【請求項4】 前記ジョブ実行部が、 自計算機の負荷を予め設定した判断基準によって算出
し、その算出結果に基づいて前記ジョブ転送部より転送
される前記ジョブを受け付けるか否かを判断する負荷判
断手段と、 前記第1ジョブ送信手段および前記第2ジョブ送信手段
のいずれかから転送された前記ジョブを受信し、前記負
荷判断手段が該ジョブを受け付けると判断した場合に、
該ジョブの受信処理を行うジョブ受信手段と、 前記負荷判断手段が前記ジョブを受け付けないと判断し
た場合に、前記ジョブ受信手段が受信しなかった前記ジ
ョブに関する情報をバックログとして生成し、該バック
ログの生成および削除のいずれかを行った場合には、該
バックログの再スケジューリングを要求するバックログ
制御手段と、 前記バックログ制御手段によって生成されたバックログ
を記録するバックログ記録手段と、 前記ジョブ受信手段が受信したジョブを順次、待ち行列
に登録し、処理中および未処理のジョブの状態に変化が
あった場合には、前記バックログの再スケジューリング
を要求するジョブキューイング手段と、 前記バックログ制御手段および前記ジョブキューイング
手段のいずれかからの前記バックログに対する再スケジ
ューリング要求に応じて、前記バックログ記録手段から
対象のバックログを取り出し、該バックログに記録され
ている前記ジョブに関する情報を得て、前記負荷判断手
段により該ジョブを受け付けるか否かを判断するバック
ログスケジュール手段と、 前記バックログスケジュール手段が前記ジョブを受け付
けると判断した場合に、前記ジョブ転送部に対して該ジ
ョブの転送要求を行うジョブ転送要求手段と、 前記ジョブキューイング手段に登録された前記ジョブの
待ち行列の先頭から順に前記ジョブを取り出し、該ジョ
ブを実行するジョブ実行手段とを備えたことを特徴とす
る請求項2または請求項3記載の負荷分散ジョブ処理シ
ステム。
4. The load by which the job execution unit calculates the load of its own computer according to a preset determination criterion, and determines whether or not to accept the job transferred from the job transfer unit based on the calculation result. When the job transferred from any one of the determining means and the first job transmitting means or the second job transmitting means is received, and the load determining means determines to accept the job,
Job receiving means for receiving the job, and, when the load judging means judges that the job is not accepted, generates information about the job not received by the job receiving means as a backlog, Backlog control means for requesting rescheduling of the backlog when any of log generation and deletion is performed, and backlog recording means for recording the backlog generated by the backlog control means, Job queuing means for sequentially registering jobs received by the job receiving means in a queue and requesting rescheduling of the backlog when there is a change in the status of jobs being processed and unprocessed, For the backlog from either the backlog control means or the job queuing means In response to the rescheduling request, the target backlog is extracted from the backlog recording unit, information about the job recorded in the backlog is obtained, and the load determination unit determines whether or not to accept the job. Backlog scheduling means for performing the job transfer requesting means for making a transfer request for the job to the job transfer part when the backlog scheduling means determines to accept the job; 4. The load distribution job processing system according to claim 2, further comprising a job executing unit that extracts the jobs sequentially from the head of the queue of the executed jobs and executes the jobs.
【請求項5】 前記ジョブ転送部が、さらに、 第1ジョブ送信手段または第2ジョブ転送手段が前記ジ
ョブの転送に成功した場合に、該ジョブの転送が完了し
たことを該ジョブに指定されていた全ての転送先の前記
ジョブ実行部に通知するジョブ転送完了通知手段を含
み、 前記ジョブ実行部が、さらに、 前記ジョブ転送完了通知手段から前記ジョブの転送が完
了した旨の通知を受信し、該ジョブに係る前記バックロ
グを削除する旨の指示を前記バックログ制御手段に通知
するジョブ転送完了通知受信手段とを含み、 前記バックログ制御手段が、さらに、前記ジョブ転送完
了通知受信手段に指示された前記バックログを前記バッ
クログ記録手段から削除することを特徴とする請求項4
記載の負荷分散ジョブ処理システム。
5. The job transfer unit further specifies to the job that the transfer of the job is completed when the first job transmission unit or the second job transfer unit succeeds in transferring the job. A job transfer completion notifying unit for notifying the job executing units of all transfer destinations, wherein the job executing unit further receives a notification from the job transfer completion notifying unit that the transfer of the job is completed, A job transfer completion notification receiving unit that notifies the backlog control unit of an instruction to delete the backlog related to the job, the backlog control unit further instructing the job transfer completion notification receiving unit. 5. The deleted backlog is deleted from the backlog recording means.
The load balancing job processing system described.
【請求項6】 前記負荷判断手段が、 前記ジョブキューイング手段に登録されている未処理お
よび処理中の前記ジョブの個数と前記バックログ記録手
段に登録されている転送待ち状態のバックログの個数と
の加算値が予め設定したしきい値以下の場合に、前記ジ
ョブを受け付けることができると判断することを特徴と
する請求項4または請求項5記載の負荷分散ジョブ処理
システム。
6. The number of unprocessed and in-process jobs registered in the job queuing means and the number of backlogs in a transfer waiting state registered in the backlog recording means by the load determining means. 6. The load distribution job processing system according to claim 4, wherein it is determined that the job can be accepted when the addition value of the above is less than or equal to a preset threshold value.
JP8203889A 1995-08-28 1996-08-01 Load balancing job processing system Expired - Fee Related JP2998648B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8203889A JP2998648B2 (en) 1995-08-28 1996-08-01 Load balancing job processing system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-242541 1995-08-28
JP24254195 1995-08-28
JP8203889A JP2998648B2 (en) 1995-08-28 1996-08-01 Load balancing job processing system

Publications (2)

Publication Number Publication Date
JPH09128338A true JPH09128338A (en) 1997-05-16
JP2998648B2 JP2998648B2 (en) 2000-01-11

Family

ID=26514161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8203889A Expired - Fee Related JP2998648B2 (en) 1995-08-28 1996-08-01 Load balancing job processing system

Country Status (1)

Country Link
JP (1) JP2998648B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009113172A1 (en) * 2008-03-13 2009-09-17 富士通株式会社 Job assigning device, and control program and control method for job assigning device
JP2009536498A (en) * 2006-05-05 2009-10-08 トムソン ライセンシング Threshold Based Normalized Rate Arriest Delivery First (NREDF) for Lazy Download Service
WO2010053169A1 (en) * 2008-11-10 2010-05-14 日本電気株式会社 Job execution system, method and program
JP2011170649A (en) * 2010-02-19 2011-09-01 Fujitsu Ltd Distributed processing system, distributed processing method, and program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7487504B2 (en) * 2002-02-06 2009-02-03 International Business Machines Corporation Thread dispatch for multiprocessor computer systems

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009536498A (en) * 2006-05-05 2009-10-08 トムソン ライセンシング Threshold Based Normalized Rate Arriest Delivery First (NREDF) for Lazy Download Service
JP4890610B2 (en) * 2006-05-05 2012-03-07 トムソン ライセンシング Threshold Based Normalized Rate Arriest Delivery First (NREDF) for Lazy Download Service
US8650293B2 (en) 2006-05-05 2014-02-11 Thomson Licensing Threshold-based normalized rate earliest delivery first (NREDF) for delayed down-loading services
WO2009113172A1 (en) * 2008-03-13 2009-09-17 富士通株式会社 Job assigning device, and control program and control method for job assigning device
JP5218548B2 (en) * 2008-03-13 2013-06-26 富士通株式会社 Job allocation apparatus, control program and control method for job allocation apparatus
WO2010053169A1 (en) * 2008-11-10 2010-05-14 日本電気株式会社 Job execution system, method and program
JP2011170649A (en) * 2010-02-19 2011-09-01 Fujitsu Ltd Distributed processing system, distributed processing method, and program

Also Published As

Publication number Publication date
JP2998648B2 (en) 2000-01-11

Similar Documents

Publication Publication Date Title
US4839798A (en) Method and apparatus for controlling job transfer between computer systems
US6021464A (en) Real time disk array which guarantees write deadlines by selecting an alternate disk
JP2004038758A (en) Storage controller, control method for storage controller, and program
US7085831B2 (en) Intelligent system control agent for managing jobs on a network by managing a plurality of queues on a client
US20100318654A1 (en) Routing of pooled messages via an intermediary
US9088537B2 (en) Apparatus and method for executing agent
JP6666555B2 (en) Information processing apparatus, job submission method, and job submission program
US7987225B2 (en) Method for remembering resource allocation in grids
US5923875A (en) Load distributing job processing system
JP2998648B2 (en) Load balancing job processing system
US5613133A (en) Microcode loading with continued program execution
JP2001216276A (en) Information processor
US7089265B1 (en) Database management system for implementing independent database actions in response to events of interest
JP2003208323A (en) Method, system and program for executing batch job
JP3225711B2 (en) Job processing system and job processing execution device
JPH08278953A (en) Exclusive control system of computer system
JP2004054562A (en) Method of controlling input and output for network file system
JPH05265955A (en) Computer system and job executing method
JP2004302630A (en) Message processing method, execution device therefor and processing program therefor
JP3492900B2 (en) Workflow system
JPH11353197A (en) Shared pool resource control system
JP2000020322A (en) Method and system for exclusively using plural common processes by plural applications
JPH11184769A (en) File transfer system
JPH10320218A (en) Automatic starting method for cooperative job in data transfer processing
JPH0651992A (en) Program resource managing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991005

LAPS Cancellation because of no payment of annual fees