JP2998648B2 - Load balancing job processing system - Google Patents

Load balancing job processing system

Info

Publication number
JP2998648B2
JP2998648B2 JP8203889A JP20388996A JP2998648B2 JP 2998648 B2 JP2998648 B2 JP 2998648B2 JP 8203889 A JP8203889 A JP 8203889A JP 20388996 A JP20388996 A JP 20388996A JP 2998648 B2 JP2998648 B2 JP 2998648B2
Authority
JP
Japan
Prior art keywords
job
unit
backlog
transfer
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.)
Expired - Fee Related
Application number
JP8203889A
Other languages
Japanese (ja)
Other versions
JPH09128338A (en
Inventor
公士 田淵
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

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 computers in a computer system in which a plurality of computers performing batch processing by a job are connected via a network.

【0001】[0001]

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

【0002】[0002]

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

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

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

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

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

【0007】[0007]

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

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

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

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

【0011】本発明の第5の負荷分散ジョブ処理システ
ムは、第4の負荷分散ジョブ処理システムにおいて、前
記ジョブ転送部が、さらに、第1ジョブ送信手段または
第2ジョブ転送手段が前記ジョブの転送に成功した場合
に、該ジョブの転送が完了したことを該ジョブに指定さ
れていた全ての転送先の前記ジョブ実行部に通知するジ
ョブ転送完了通知手段を含み、前記ジョブ実行部が、さ
らに、前記ジョブ転送完了通知手段から前記ジョブの転
送が完了した旨の通知を受信し、該ジョブに係る前記バ
ックログを削除する旨の指示を前記バックログ制御手段
に通知するジョブ転送完了通知受信手段とを含み、前記
バックログ制御手段が、さらに、前記ジョブ転送完了通
知受信手段に指示された前記バックログを前記バックロ
グ記録手段から削除することを特徴とする。
According to a fifth load distribution job processing system of the present invention, in the fourth load distribution job processing system, the job transfer unit further includes a first job transmission unit or a second job transfer unit. If the job transfer is completed, the job execution unit includes a job transfer completion notification unit for notifying the job execution units of all the transfer destinations specified for the job that the transfer of the job has been completed. A job transfer completion notification receiving unit that receives a notification that the transfer of the job has been completed from the job transfer completion notification unit, and notifies the backlog control unit of an instruction to delete the backlog related to the job; Wherein 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の負荷分散ジョブ処理システムに
おいて、前記負荷判断手段が、前記ジョブキューイング
手段に登録されている未処理および処理中の前記ジョブ
の個数と前記バックログ記録手段に登録されている転送
待ち状態のバックログの個数との加算値が予め設定した
しきい値以下の場合に、前記ジョブを受け付けることが
できると判断することを特徴とする。
According to a sixth load distribution job processing system of the present invention, in the fourth or fifth load distribution job processing system, the load judging means may be an unprocessed or in process registered in the job queuing means. If the sum of the number of jobs and the number of backlogs in the transfer waiting state registered in the backlog recording means is equal to or less than a preset threshold, it is determined that the job can be accepted. It is characterized by the following.

【0013】[0013]

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

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

【0015】また、図4は、本発明の負荷分散ジョブ処
理システムが適用される計算機システムの構成を示すブ
ロック図である。本実施例においては、負荷分散ジョブ
処理システムを、ネットワークで相互に接続した各計算
機H1、H2、およびH3から構成される計算機システ
ムに適用した場合について説明する。しかし、本発明に
おいて計算機システムを構成する計算機の数は3に限定
しない。
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. In this embodiment, a case will be described in which the load distribution job processing system is applied to a computer system including computers H1, H2, and H3 interconnected by a network. 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 unit 1 and a job execution unit 2. All job transfer units 1 and 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 1
And two job execution units 2. However, one or both of the job transfer unit 1 and the job execution unit 2 may exist in the same computer, or one of the job transfer unit 1 and 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 appended.

【0018】図1を参照すると、ある計算機(計算機H
1とする)内のジョブ転送部1は、ジョブ入力手段11
と、第1ジョブ送信手段12と、ジョブ待機制御手段1
3と、第2ジョブ送信手段14と、ジョブ転送要求受信
手段15とを含む。なお、他の計算機内のジョブ転送部
1にも、同一の各手段が存在する。
Referring to FIG. 1, a computer (computer H
1), the job input unit 11
, The first job transmission means 12, and the job standby control means 1
3, a second job transmission unit 14, and a job transfer request reception unit 15. The same units 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, a job execution unit 2 in a certain computer (hereinafter, referred to as a computer H1) includes a load determination unit 21, a job reception unit 22, a backlog control unit 23, a backlog recording unit 24, a backlog schedule, Means 25, job transfer request means 26, job queuing means 27
And a job execution unit 28. Note that the same means also exists in the job execution unit 2 in another computer.

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

【0021】あるジョブに対応するバックログには、該
ジョブの識別子、該ジョブの転送元の識別情報、および
バックログの状態を記録する領域がある。「バックログ
の状態」には、初期状態である「スケジュール待ち状
態」と、「転送待ち状態」との、2つの状態がある。
The backlog corresponding to a certain 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: a “schedule waiting state”, which is an initial state, and a “transfer waiting state”.

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

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

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

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

【0026】次に、このように構成された本発明の負荷
分散ジョブ処理システムの第1の実施例について、図
1、図3、および図4を参照して以下に詳細に説明す
る。
Next, a first embodiment of the load distribution job processing system of the present invention configured as described above will be described in detail 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 user inputs a new job to the job input unit 11 in the job transfer unit 1 on one of the computers constituting the computer system as shown in FIG. 4 (in this embodiment, the computer H1). Then, the job input unit 11 inputs the job.

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

【0030】ジョブ入力手段11は、予め定義された方
法で当該ジョブの転送先の候補(本実施例では、計算機
H1、H2、およびH3とする)と転送先の優先順序と
からなる転送先情報を決定し、第1ジョブ送信手段12
に当該ジョブとともに送付する。なお、本実施例では、
各計算機内にジョブ実行部2は1つしか存在しないの
で、「計算機」を転送先と見なすことができる。しか
し、一般的には、同一の計算機内の複数のジョブ実行部
2のそれぞれが異なる転送先となりうる。
The job input means 11 uses a predefined method to transfer destination information including candidates for the transfer destination of the job (in the present embodiment, computers H1, H2, and H3) and the priority order of the transfer destinations. And the first job transmission unit 12
And send it together with the job. In this embodiment,
Since there is only one job execution unit 2 in each computer, "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 transmitting unit 12 transmits the job to each of the job execution units 2 existing in the computers H1, H2, and H3 in accordance with the priority order in the transfer destination information specified by the job input unit 11. Try to do.

【0032】ここで、いずれかのジョブ実行部2が当該
ジョブを受信した場合には、その時点で当該ジョブに関
する計算機H1内のジョブ転送部1の処理は完了する。
Here, when any one 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 time.

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

【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 unit 22 in the job execution unit 2 in the computer H1 receives a job transferred from any one of the job transfer units 1. At this time, the job receiving unit 2
2 is the identification information of the transfer source computer of the job and the job transfer unit 1 together with the job (1 in this embodiment).
Since there is only one job transfer unit 1 in one computer, only the identification information of the computer may be used) and the identifier of the job.

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

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

【0038】ジョブ受信手段22は、負荷判断手段21
による判断の結果、当該ジョブの受信が可能である場合
には、ジョブキューイング手段27に当該ジョブを登録
し、当該ジョブに対応するバックログを消去するように
バックログ制御手段23に通知する。
The job receiving means 22 includes a load determining means 21
As a result of the determination, if the job can be received, 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, if the result of the determination by the load determining means 21 is that the job cannot be received, that is, if the job is refused, the job receiving means 22 generates a backlog corresponding to the job. To the backlog control means 23 to perform the operation.

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

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

【0042】バックログスケジュール手段25は、ジョ
ブキューイング手段27またはバックログ制御手段23
から、バックログの再スケジューリングを指示する通知
を受信する(ステップ301)と、バックログの再スケ
ジューリングを開始する。
The backlog schedule means 25 is composed of the job queuing means 27 or the backlog control means 23.
Then, when a notification instructing backlog rescheduling is received (step 301), 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 a backlog rescheduling process according to the following procedures. First, a backlog group recorded in the backlog recording unit 24 is searched for a schedule waiting state, and is set as a target to be transferred from any one of the job transfer units 1 to the job execution unit 2 in which the self unit exists. One backlog corresponding to the most suitable job is determined (step 302).
In the present embodiment, the “oldest backlog” is determined as the “backlog corresponding to the job best suited for transfer”. Next, the load determining unit 21 determines whether the job identified by the job identifier recorded in the backlog, that is, the optimal job to be transferred, can receive the job at that time. A decision is made (step 304). If it is determined in step 304 that the job can be received, the job transfer requesting unit 26
To the job execution unit 2 where the job exists.
Is issued (step 305). If it is determined in step 304 that “the job cannot be received”, the backlog recording unit 2
Then, one "backlog corresponding to the next most suitable job to be transferred" 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 processing of the backlog scheduling means 25 is performed by the schedule waiting in the backlog recording means 24 until the backlog for which it is determined in step 304 that the job can be received is determined. This is performed for all backlogs in the state (step 3
03).

【0045】ジョブ転送要求手段26は、ステップ30
5におけるバックログスケジュール手段25からの指示
に基づき、当該ジョブ(以下、対象ジョブという)を自
計算機に転送するように、当該バックログ(以下、対象
バックログという)に識別情報が記述されているジョブ
転送元に対してジョブ転送要求を送信する(ステップ3
06)。このジョブ転送要求には、そのジョブ転送要求
手段26が存在する計算機の識別情報(当該計算機に複
数のジョブ実行部2が存在するときにはジョブ実行部2
の識別情報を含む)、および転送すべきジョブの識別子
が記述される。
The job transfer requesting means 26 determines in step 30
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 schedule unit 25 in 5. Send a job transfer request to the job transfer source (step 3
06). The job transfer request includes identification information of the computer in which the job transfer request unit 26 exists (when a plurality of job execution units 2 exist in the computer, the job execution unit 2
And the identifier of the job to be transferred.

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

【0047】当該ジョブ転送要求の送信先のジョブ転送
部1内のジョブ転送要求受信手段15′(以下、当該ジ
ョブ転送部1内の各手段は図1上の各手段の符号に′を
付して示す)は、当該ジョブ転送要求を受信する(ステ
ップ307)。
The job transfer request receiving means 15 'in the job transfer unit 1 to which the job transfer request is transmitted (hereinafter, each unit in the job transfer unit 1 is denoted by a symbol'). ) Receives the job transfer request (step 307).

【0048】ジョブ転送要求受信手段15′は、ジョブ
待機制御手段13′に対して、現在登録されている待機
中のジョブに当該ジョブ転送要求中の「ジョブの識別
子」に対応するジョブ(対象ジョブ)があるか否かを問
い合わせる(ステップ308)。
The job transfer request receiving unit 15 ′ sends the job registration request to the job standby control unit 13 ′ to the job registered in the standby job corresponding to the “job identifier” in the job transfer request. ) 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 unit 15 'transfers the target job to the job transfer request unit 26 that issued the job transfer request. A reply is made to the effect that it cannot be done (step 309).

【0050】ジョブ転送要求手段26は、当該返答を受
けて、対象ジョブの転送が不可能であることを認識し、
対象バックログの消去を行うようにバックログ制御手段
23に通知する(ステップ310)。
The job transfer requesting means 26 receives the response and recognizes that the target job cannot be transferred.
The backlog control unit 23 is notified to delete 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 is found 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 request means 26 which has 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 now 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 that has issued the job transfer request described in the job transfer request (step S12). 313).
Here, the second job transmitting means 14 'is different from the first job transmitting means 12' in that the second job transmitting means 14 'attempts transfer to only one designated transfer destination.

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

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

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

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

【0056】図2は、本発明の負荷分散ジョブ処理シス
テムの第2の実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a second embodiment of the load distribution 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から構成される計
算機システムに適用される。
The load distribution job processing system of the second embodiment, like the load distribution job processing system of the first embodiment, has computers H1 and H2 connected to each other by a network as shown in FIG. , And H3.

【0059】本実施例の負荷分散ジョブ処理システム
は、第1の実施例の負荷分散ジョブ処理システムと同様
に、各計算機H1、H2、およびH3は、それぞれ1つ
のジョブ転送部1と1つのジョブ実行部2とを有する。
しかし、ジョブ転送部1およびジョブ実行部2の一方ま
たは両方が同一計算機内に複数存在しても、またジョブ
転送部1およびジョブ実行部2のいずれかが任意の計算
機に存在しなくても良い。ただし、ジョブ転送部1また
はジョブ実行部2が同一計算機内に複数存在する場合に
は、複数のジョブ転送部1のそれぞれまたは複数のジョ
ブ実行部2のそれぞれに識別するための名前(識別情
報)を付す必要がある。
In the load distribution job processing system of this embodiment, each of the computers H1, H2, and H3 includes one job transfer unit 1 and one job, similarly to the load distribution 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 one of the job transfer unit 1 and 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 appended.

【0060】図2に示すように、ある計算機(計算機H
1とする)内のジョブ転送部1は、ジョブ入力手段11
と、第1ジョブ送信手段12と、ジョブ待機制御手段1
3と、第2ジョブ送信手段14と、ジョブ転送要求受信
手段15と、ジョブ転送完了通知手段16とを含んで構
成されている。なお、他の計算機内のジョブ転送部1に
も、同一の各手段が存在する。
As shown in FIG. 2, a computer (computer H
1), the job input unit 11
, The first job transmission means 12, and the 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 units 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 execution unit 2 in a certain computer (to be referred to as a computer H1) includes a load determination unit 21, a job reception unit 22, a backlog control unit 23, a backlog recording unit 24, and a backlog schedule. Means 25, job transfer request means 26, job queuing means 27
And a job execution means 28 and a job transfer completion notification receiving means 29. Note that the same means also exists 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 denoted by the same reference numerals.

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

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

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

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

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

【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の実施例は、あるジョブがジョブ転送要求に応じて特
定の計算機に転送されたことを、当該ジョブを受信した
計算機以外の計算機も認識することができる効果を有し
ている。
In the second embodiment of the load distribution job processing system according to the present invention, a computer other than the computer that has received the job recognizes that a certain job has been transferred to a specific computer in response to a job transfer request. Has the effect that can be.

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

【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 performing batch processing by jobs are connected via a network. ing.

【0072】また、ジョブによるバッチ処理を行う複数
の計算機をネットワークで接続した計算機システムにお
いて、各計算機間の負荷のバランスを均等にすることが
できる効果を有している。
Further, in a computer system in which a plurality of computers performing batch processing by a job 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 according to 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 processing at the time of rescheduling a backlog in the load balancing 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 計算機 REFERENCE SIGNS LIST 1 job transfer unit 2 job execution unit 11 job input unit 12 first job transmission unit 13 job standby control unit 14 second job transmission unit 15 job transfer request reception unit 16 job transfer completion notification unit 21 load determination unit 22 job reception unit 23 Backlog control means 24 Backlog recording means 25 Backlog schedule means 26 Job transfer request means 27 Job queuing means 28 Job execution means 29 Job transfer completion notification receiving means H1 computer H2 computer H3 computer

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 15/177 G06F 15/00 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 15/177 G06F 15/00

Claims (6)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ジョブによるバッチ処理を行う複数の計
算機をネットワークで接続した計算機システムにおい
て、 複数の計算機のそれぞれが、 前記ジョブを入力する少なくとも一つのジョブ転送部
と、 自計算機の負荷が低い時には前記ジョブ転送部が入力し
た前記ジョブを受け付けて実行するとともに、自計算機
の負荷が高い時には該ジョブを受け付けずに該ジョブに
関する情報をバックログに記憶しておき、その後自計算
機の負荷が低くなった時に該バックログから前記ジョブ
に関する情報を取り出し、該情報に基づいて前記ジョブ
転送部に対して該ジョブの転送要求を行い、該ジョブを
受け付けて実行する少なくとも一つのジョブ実行部とを
含むことを特徴とする負荷分散ジョブ処理システム。
In a computer system in which a plurality of computers performing batch processing by a job are connected via a network, each of the plurality of computers includes at least one job transfer unit for inputting the job, and when a load on its own computer is low. The job transfer unit receives and executes the input job, and when the load on the own computer is high, information about the job is stored in the backlog without accepting the job, and thereafter the load on the own computer becomes low. At least one job execution unit that retrieves information about the job from the backlog, makes a job transfer request to the job transfer unit based on the information, and receives and executes the job. And a load distribution job processing system.
【請求項2】 前記ジョブ転送部が、 前記ジョブを入力し、該ジョブを該ジョブに指定された
転送先の前記ジョブ実行部へ転送する第1ジョブ送信手
段と、 前記第1ジョブ送信手段により転送された前記ジョブが
前記ジョブ実行部においても受け付けられなかった場合
に、該ジョブを待機状態で登録するジョブ待機制御手段
と、 前記ジョブ実行部から転送されるジョブ転送要求を受信
し、前記ジョブ待機制御手段に登録された前記ジョブの
内、該ジョブ転送要求に指定されたジョブを待機状態か
ら解放し、同様に指定された前記ジョブ実行部に転送す
る第2ジョブ送信手段とを含むことを特徴とする請求項
1記載の負荷分散ジョブ処理システム。
A first job transmission unit that inputs the job, and transfers the job to the job execution unit at a transfer destination specified for the job; A job standby control unit for registering the job in a standby state when the transferred job is not accepted by the job execution unit; and receiving a job transfer request transferred from the job execution unit; And a second job transmission unit that releases the job specified in the job transfer request from the standby state among the jobs registered in the standby control unit and transfers the job to the job execution unit also specified. 2. The load balancing job processing system according to claim 1, wherein:
【請求項3】 前記ジョブ転送部が、 前記ジョブを入力するとともに、該ジョブを転送する少
なくとも一つの前記ジョブ実行部を転送先情報として指
定するジョブ入力手段と、 前記ジョブ入力手段により入力された前記ジョブを、前
記転送先情報に指定された前記ジョブ実行部へ転送する
第1ジョブ送信手段と、 前記第1ジョブ送信手段により転送された前記ジョブが
いずれの前記ジョブ実行部においても受け付けられなか
った場合に、該ジョブを待機状態で登録するジョブ待機
制御手段と、 前記ジョブ実行部から転送されるジョブ転送要求を受信
し、前記ジョブ待機制御手段に登録された前記ジョブの
内、該ジョブ転送要求に指定されたジョブを待機状態か
ら解放するジョブ転送要求受信手段と、 前記ジョブ転送要求受信手段により待機状態を解放され
た前記ジョブを前記ジョブ転送要求に指定された前記ジ
ョブ実行部に転送する第2ジョブ送信手段とを含むこと
を特徴とする請求項1記載の負荷分散ジョブ処理システ
ム。
A job input unit for inputting the job and specifying at least one job execution unit for transferring the job as transfer destination information; and inputting the job by the job input unit. A first job transmitting unit that transfers the job to the job executing unit specified in the transfer destination information; and the job transferred by the first job transmitting unit is not accepted by any of the job executing units. A job standby control unit for registering the job in a standby state when the job transfer request is received from the job execution unit; A job transfer request receiving unit for releasing the job specified in the request from the standby state, and a standby by the job transfer request receiving unit 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. A load for calculating the load of the computer by a predetermined criterion, and for determining whether or not to accept the job transferred from the job transfer unit based on the calculation result. Determining means, receiving the job transferred from one of the first job transmitting means and the second job transmitting means, and determining that the load determining means accepts the job;
A job receiving unit that performs a reception process of the job; and if the load determining unit determines that the job is not received, the job receiving unit generates, as a backlog, information on the job not received by the job receiving unit. Backlog control means for requesting rescheduling of the backlog when performing any of log generation and deletion, backlog recording means for recording the backlog generated by the backlog control means, Job queuing means for sequentially registering the 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 the processing and unprocessed jobs; For the backlog from any of the backlog control means and the job queuing means In response to the rescheduling request, a target backlog is extracted from the backlog recording unit, information about the job recorded in the backlog is obtained, and whether the job is accepted is determined by the load determination unit. Backlog scheduling means, a job transfer requesting means for requesting the job transfer unit to transfer the job when the backlog scheduling means determines to accept the job, and registration in the job queuing means. 4. The load distribution job processing system according to claim 2, further comprising: a job execution unit that extracts the jobs in order from the top of the queue of the jobs that have been processed and executes the jobs.
【請求項5】 前記ジョブ転送部が、さらに、 第1ジョブ送信手段または第2ジョブ転送手段が前記ジ
ョブの転送に成功した場合に、該ジョブの転送が完了し
たことを該ジョブに指定されていた全ての転送先の前記
ジョブ実行部に通知するジョブ転送完了通知手段を含
み、 前記ジョブ実行部が、さらに、 前記ジョブ転送完了通知手段から前記ジョブの転送が完
了した旨の通知を受信し、該ジョブに係る前記バックロ
グを削除する旨の指示を前記バックログ制御手段に通知
するジョブ転送完了通知受信手段とを含み、 前記バックログ制御手段が、さらに、前記ジョブ転送完
了通知受信手段に指示された前記バックログを前記バッ
クログ記録手段から削除することを特徴とする請求項4
記載の負荷分散ジョブ処理システム。
5. The job transfer unit, further comprising: when the first job transmission unit or the second job transfer unit succeeds in transferring the job, the job transfer unit is designated to have completed the transfer of the job. Job transfer completion notifying means for notifying the job execution units of all the transfer destinations, wherein the job execution unit further receives a notification that the transfer of the job has been completed from the job transfer completion notification means, A job transfer completion notification receiving unit for notifying the backlog control unit of an instruction to delete the backlog relating to the job, wherein the backlog control unit further instructs the job transfer completion notification receiving unit 5. The method according to claim 4, wherein said backlog is deleted from said backlog recording means.
A load balancing job processing system as described.
【請求項6】 前記負荷判断手段が、 前記ジョブキューイング手段に登録されている未処理お
よび処理中の前記ジョブの個数と前記バックログ記録手
段に登録されている転送待ち状態のバックログの個数と
の加算値が予め設定したしきい値以下の場合に、前記ジ
ョブを受け付けることができると判断することを特徴と
する請求項4または請求項5記載の負荷分散ジョブ処理
システム。
6. The number of unprocessed and in-process jobs registered in the job queuing unit and the number of transfer-waiting backlogs registered in the backlog recording unit 6. The load distribution job processing system according to claim 4, wherein when the added value of the job is equal to or smaller than a predetermined threshold value, it is determined that the job can be accepted.
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
JP24254195 1995-08-28
JP7-242541 1995-08-28
JP8203889A JP2998648B2 (en) 1995-08-28 1996-08-01 Load balancing job processing system

Publications (2)

Publication Number Publication Date
JPH09128338A JPH09128338A (en) 1997-05-16
JP2998648B2 true 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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003241980A (en) * 2002-02-06 2003-08-29 Internatl Business Mach Corp <Ibm> Thread dispatch mechanism and method for multiprocessor computer systems

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101432730B (en) * 2006-05-05 2012-04-25 汤姆森许可贸易公司 Method and device for scheduling service request used in providing service
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
JP5488029B2 (en) * 2010-02-19 2014-05-14 富士通株式会社 Distributed processing system, distributed processing method, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003241980A (en) * 2002-02-06 2003-08-29 Internatl Business Mach Corp <Ibm> Thread dispatch mechanism and method for multiprocessor computer systems
US7487504B2 (en) 2002-02-06 2009-02-03 International Business Machines Corporation Thread dispatch for multiprocessor computer systems

Also Published As

Publication number Publication date
JPH09128338A (en) 1997-05-16

Similar Documents

Publication Publication Date Title
US4839798A (en) Method and apparatus for controlling job transfer between computer systems
US7779416B2 (en) Load balance control method and load balance control apparatus in data-processing system
US6493675B1 (en) Apparatus and system for managing work flow, and computer-readable storage medium for storing work flow management program
JP2001147901A (en) Method and system for scheduling external job inside distributed processing system having local job control system
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
KR20040104467A (en) Most eligible server in a common work queue environment
US5923875A (en) Load distributing job processing system
JP2998648B2 (en) Load balancing job processing system
US7685089B2 (en) Method for fast decision-making in highly distributed systems
US5613133A (en) Microcode loading with continued program execution
JPH09282288A (en) Plural-computer operation system
JP2001216276A (en) Information processor
JP2002342098A (en) Management device, data processing system, management method and program for making computer perform management method
US7089265B1 (en) Database management system for implementing independent database actions in response to events of interest
JPH09138776A (en) Load distribution system for transaction processing
JP3660376B2 (en) Distributed processing system and load balancing method in distributed processing system
JPH076110A (en) Method for reducing communication overhead in distributed processing system
JP3266641B2 (en) Control device and mail server
JPH1078942A (en) Multiprocessor system
JPH05324582A (en) Job transfer system
JP3225711B2 (en) Job processing system and job processing execution device
JP3013785B2 (en) Data storage system and data storage method
JPH05216844A (en) Method and apparatus for improved task distribution in multiprocessor data processing system
JP3106833B2 (en) Print system and print management 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