JPH064308A - Batch processing scheduling system - Google Patents

Batch processing scheduling system

Info

Publication number
JPH064308A
JPH064308A JP16088092A JP16088092A JPH064308A JP H064308 A JPH064308 A JP H064308A JP 16088092 A JP16088092 A JP 16088092A JP 16088092 A JP16088092 A JP 16088092A JP H064308 A JPH064308 A JP H064308A
Authority
JP
Japan
Prior art keywords
job
priority
queue
executed
registered
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.)
Withdrawn
Application number
JP16088092A
Other languages
Japanese (ja)
Inventor
Hiroshi Hotta
浩史 堀田
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.)
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Original Assignee
KOBE NIPPON DENKI SOFTWARE KK
NEC Software Kobe Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by KOBE NIPPON DENKI SOFTWARE KK, NEC Software Kobe Ltd filed Critical KOBE NIPPON DENKI SOFTWARE KK
Priority to JP16088092A priority Critical patent/JPH064308A/en
Publication of JPH064308A publication Critical patent/JPH064308A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To enable classification corresponding to the priority of queues to be executed and queues having various attributes in the same class to be set by comparing the priority of a queue, of which priority is registered in a job, with the priority of a job registered on the other queue having the same priority, and deciding the order of execution, without closing the queues, of which priority is registered in the job. CONSTITUTION:A queue priority managing part 1 investigates which queue is to be started to be scheduled with, selects a queue '1' having the most significant queue priority, investigates whether the job to be selected for being executed is still registered on the queue '1' or not, selects the queue '1' as the object of schedule and informs a job priority managing part 2 of it. The job priority managing part 2 decides the job to be executed by comparing the priority of all the jobs in the candidate key. When the job to be executed is decided, that job is executed by a job execution part 3. Thus, the queues are successively selected, and the job having the higher priority is executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、キューにより実行スケ
ジューリングを行うバッチ処理システムに関し、特に、
バッチ手続きのスケジューリングに影響を与える優先度
を決定する場合のバッチ処理スケジューリング方式に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a batch processing system for executing execution scheduling by a queue, and in particular,
The present invention relates to a batch processing scheduling method when determining a priority that affects scheduling of a batch procedure.

【0002】[0002]

【従来の技術】従来、この種のバッチ処理システムで
は、どのキューに登録されたリクエストを先に実行する
か決めるキューに設定されたキューの優先度と、キュー
内でどのリクエストを先に実行するか決める、ジョブに
設定された優先度とに従ってジョブの実行順序を決定す
る。
2. Description of the Related Art Conventionally, in this type of batch processing system, the priority of a queue set in a queue that determines which queue is registered to execute a request first, and which request is executed in the queue first. The job execution order is determined according to the priority set for the job.

【0003】この2つの優先度は全く別のものであり、
ジョブに設定された優先度はキュー内に閉じたものであ
る。
These two priorities are completely different,
The priority set for the job is the one closed in the queue.

【0004】[0004]

【発明が解決しようとする課題】上述した従来のバッチ
処理システムでは、ジョブに設定された優先度がそのキ
ュー内に閉じていて、キューの優先度を考慮する時、ジ
ョブの優先度はまったく考慮されないため、同一優先度
を持つキューを作成すると、キューの優先度は同じにも
かかわらず、特定キューに登録されているジョブばかり
優先されるという結果になる。つまり、同一優先度を有
するキューを2つ以上作成すると優先度によるキューの
クラス分けに矛盾が生じることになる。したがって、ク
ラス一つに一つのキューしか設定できず、属性の異なる
キューをクラス内に設定することができず、運用しにく
い面がある。
In the conventional batch processing system described above, the priority set for the job is closed in the queue, and when the priority of the queue is considered, the priority of the job is not considered at all. Therefore, if queues having the same priority are created, the result is that jobs registered in a specific queue are prioritized even though the queues have the same priority. In other words, if two or more queues having the same priority are created, there will be inconsistency in the classification of queues according to the priority. Therefore, only one queue can be set for each class, and queues with different attributes cannot be set within the class, which is difficult to operate.

【0005】[0005]

【課題を解決するための手段】本発明は、ジョブに設定
される優先度を登録されているキューに閉じないで、他
の同一優先度を持つキューに登録されているジョブの優
先度と比較し、実行順序を決定させるものである。
According to the present invention, the priority set for a job is not closed in the registered queue, and is compared with the priority of a job registered in another queue having the same priority. However, the execution order is determined.

【0006】本発明は、各バッチ手続きのジョブをキュ
ーにより実行制御するシステムのバッチ処理スケジュー
リング方式において、キューに指定された優先度とジョ
ブに指定された優先度を同じレベルで結合して実行順序
を決定することを特徴とするものである。
According to the present invention, in a batch processing scheduling method of a system for controlling execution of jobs of each batch procedure by a queue, the priority specified in the queue and the priority specified in the job are combined at the same level to execute the order of execution. It is characterized by determining.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings.

【0008】図1は本発明の一実施例のブロック図であ
る。図1における1は各キューの優先度を監視するキュ
ー優先度管理部、2はジョブの優先度を監視するジョブ
優先度管理部、3はジョブの実行を行うジョブ実行部で
ある。
FIG. 1 is a block diagram of an embodiment of the present invention. In FIG. 1, 1 is a queue priority management unit that monitors the priority of each queue, 2 is a job priority management unit that monitors the priority of jobs, and 3 is a job execution unit that executes jobs.

【0009】図2はジョブの実行スケジューリング過程
を説明するための図である。
FIG. 2 is a diagram for explaining a job execution scheduling process.

【0010】図2のようにqueue1(優先度5
0)、queue2(優先度30)、queue3(優
先度30)、queue4(優先度30)、queue
5(優先度10)の5つのキューをhigh clas
s(優先度50)、middle class(優先度
30)、low class(優先度10)の3つのク
ラスに分けて運用していて、queue1にジョブ1
(優先度20)、queue2にジョブ2(優先度3
0)、queue3にジョブ3(優先度40)とジョブ
4(優先度10)、queue4にジョブ5(優先度5
0)、queue5にジョブ6(優先度50)とジョブ
7(優先度20)のジョブがそれぞれ登録されている場
合を例にあげて説明する。
As shown in FIG. 2, queue1 (priority level 5)
0), queue2 (priority 30), queue3 (priority 30), queue4 (priority 30), queue
5 queues with priority 5 (priority 10)
s (priority 50), middle class (priority 30), low class (priority 10) are divided into three classes for operation, and job 1 is assigned to queue1.
(Priority 20), job 2 (queue 3)
0), job 3 (priority 40) and job 4 (priority 10) in queue 3, and job 5 (priority 5) in queue 4
An example will be described in which the jobs of job 6 (priority 50) and job 7 (priority 20) are registered in 0) and queue 5, respectively.

【0011】まず、図2の状態から第一番目に実行する
ジョブを選択する過程は以下のようになる。
First, the process of selecting the first job to be executed from the state of FIG. 2 is as follows.

【0012】第1に、キュー優先度管理部がどのキュー
からスケジュールするか調べ、キューの優先度が一番高
いqueue1を選択し、queue1に、実行するた
めに選択されるべきジョブがまだ登録されているか調べ
る。ジョブ1がまだ実行されていないので、スケジュー
ルの対象としてqueue1が選ばれジョブ優先度管理
部に通知する。
First, the queue priority management unit checks from which queue to schedule, selects queue1 having the highest queue priority, and the job to be selected for execution is still registered in queue1. Check if Since job 1 has not been executed yet, queue1 is selected as the schedule target and the job priority management unit is notified.

【0013】第2に、ジョブ優先度管理部は、その候補
キュー内のジョブ全ての優先度を比較して実行するジョ
ブを決定する。この場合はqueue1に登録されてい
るジョブはジョブ1だけなのでそれが選択される。
Secondly, the job priority management unit compares the priorities of all the jobs in the candidate queue and determines the job to be executed. In this case, the job registered in queue1 is only job 1, so that job is selected.

【0014】第3に、実行するジョブが決定するとその
ジョブをジョブ実行部にて実行する。
Thirdly, when the job to be executed is determined, the job is executed by the job executing section.

【0015】二番目に実行するジョブを選択する過程は
以下のようになる。
The process of selecting the second job to be executed is as follows.

【0016】第1に、キュー優先度管理部は、queu
e1に登録されていた唯一のリクエストジョブ1は既に
選択されたため、一番高い優先度のキューqueue1
にはもはや実行するために選択するリクエストがないこ
とを判断し、次に優先度が高いキューのqueue2、
queue3、queue4を選択し、queue2、
queue3、queue4に、まだ実行するために選
択されるべきジョブが登録されているか調べる。que
ue2、queue3、queue4にまだ実行するた
めに選択されるべきジョブが残っているのでスケジュー
ルの対象としてqueue2、queue3、queu
e4を選択し、ジョブ優先度管理部に通知する。
[0016] First, the queue priority management unit is queu.
The only request job 1 registered in e1 has already been selected, so the queue with the highest priority, queue1
Determines that there are no more requests to choose from to execute, and queue2 of the next highest priority queue,
select queue3, queue4, queue2,
It is checked whether jobs to be selected for execution are registered in queue3 and queue4. que
Since jobs to be selected for execution still remain in ue2, queue3, and queue4, queue2, queue3, and queue are targeted for scheduling.
Select e4 and notify the job priority management unit.

【0017】第2に、ジョブ優先度管理部は、queu
e2、queue3、queue4に登録されているジ
ョブ2、ジョブ3、ジョブ4、ジョブ5の優先度を比較
し、一番優先度の高いジョブ5を選択する。
Secondly, the job priority management unit is queu
The priorities of job 2, job 3, job 4, and job 5 registered in e2, queue 3, and queue 4 are compared, and job 5 with the highest priority is selected.

【0018】第3に、選択されたジョブ5をジョブ実行
部で実行する。
Thirdly, the selected job 5 is executed by the job executing section.

【0019】三番目の選択は、以下のようになる。The third choice is as follows.

【0020】第1に、キュー優先度管理部は、queu
e1に登録されていた唯一のリクエストジョブ1は既に
選択されたため、一番高い優先度のキューqueue1
にはもはや実行するために選択するリクエストがないこ
とを判断し、次に優先度が高いキューのqueue2、
queue3、queue4を選択し、queue2、
queue3、queue4にまだ実行するために選択
されるべきジョブが登録されているか調べる。queu
e2、queue3、queue4にまだ実行するため
に選択されるべきジョブが残っているのでスケジュール
の対象としてqueue2、queue3、queue
4を選択し、ジョブ優先度管理部に通知する。
First, the queue priority management unit uses queue.
The only request job 1 registered in e1 has already been selected, so the queue with the highest priority, queue1
Determines that there are no more requests to choose from to execute, and queue2 of the next highest priority queue,
select queue3, queue4, queue2,
Check whether the jobs to be selected for execution are registered in queue3 and queue4. queu
The jobs to be selected for execution still remain in e2, queue3, and queue4, so queue2, queue3, and queue are to be scheduled.
4 is selected and the job priority management unit is notified.

【0021】第2に、ジョブ優先度管理部は、queu
e2、queue3、queue4に登録されているジ
ョブ2、ジョブ3、ジョブ4の優先度を比較し、一番優
先度の高いジョブ3を選択する。
Secondly, the job priority management unit is queu
The priorities of job 2, job 3, and job 4 registered in e2, queue 3, and queue 4 are compared, and job 3 with the highest priority is selected.

【0022】第3に、選択されたジョブ3をジョブ実行
部で実行する。
Thirdly, the selected job 3 is executed by the job executing section.

【0023】以降、四番目、五番目は、三番目の場合と
同様にジョブ2、ジョブ4の順で選択され実行されてい
く。
Thereafter, the fourth job and the fifth job are selected and executed in the order of job 2 and job 4 as in the case of the third case.

【0024】六番目の選択は以下のようになる。The sixth choice is as follows.

【0025】第1に、キュー優先度管理部は、一番高い
優先度のキューqueue1にはもはや実行するために
選択するリクエストがないことを判断し、次に優先度が
高いキューのqueue2、queue3、queue
4を選択するが、queue2、queue3、que
ue4にも実行するために選択するリクエストがないこ
とを判断し、次に優先度が高いqueue5を選択す
る。queue5にはまだ選択されるべきジョブが残っ
ているのでスケジュールの対象としてqueue5を選
択し、ジョブ優先度管理部に通知する。
First, the queue priority management unit determines that the queue with the highest priority, queue1, no longer has a request to select for execution, and the queues with the queues with the second highest priority, queue2 and queue3. , Queue
4 is selected, but queue2, queue3, que
It judges that there is no request to be selected for execution by ue4, and selects queue5 having the next highest priority. Since jobs to be selected still remain in queue5, queue5 is selected as a schedule target, and the job priority management unit is notified.

【0026】第2に、ジョブ優先度管理部は、queu
e5に登録されているジョブ6、ジョブ7の優先度を比
較し、一番優先度の高いジョブ6を選択する。3.選択
されたジョブ6をジョブ実行部で実行する。
Secondly, the job priority management unit is queu
The priorities of the jobs 6 and 7 registered in e5 are compared, and the job 6 having the highest priority is selected. 3. The job execution unit executes the selected job 6.

【0027】最後にqueue5に登録されているリク
エスト、ジョブ7がジョブ6の場合と同様に選択され実
行される。
Finally, the request registered in queue 5 and job 7 are selected and executed as in the case of job 6.

【0028】[0028]

【発明の効果】以上説明したように、本発明によれば、
キューの優先度によるクラス分けができるようになり、
また、同一優先度のキューを複数設定できることによ
り、同一クラス内に異なる属性を持つキューを設定する
ことができる。
As described above, according to the present invention,
You can now classify by queue priority,
In addition, since a plurality of queues having the same priority can be set, queues having different attributes can be set in the same class.

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】本発明の一実施例の動作を説明するブロック図
である。
FIG. 2 is a block diagram illustrating the operation of an embodiment of the present invention.

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

1 キュー優先度管理部 2 ジョブ優先度管理部 3 ジョブ実行部 1 queue priority management unit 2 job priority management unit 3 job execution unit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 各バッチ手続きのジョブをキューにより
実行制御するシステムのバッチ処理スケジューリング方
式において、キューに指定された優先度とジョブに指定
された優先度を同じレベルで結合して実行順序を決定す
ることを特徴とするバッチ処理スケジューリング方式。
1. In a batch processing scheduling method of a system for controlling execution of jobs of each batch procedure by a queue, the priority specified in the queue and the priority specified in the job are combined at the same level to determine the execution order. A batch processing scheduling method characterized by:
JP16088092A 1992-06-19 1992-06-19 Batch processing scheduling system Withdrawn JPH064308A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16088092A JPH064308A (en) 1992-06-19 1992-06-19 Batch processing scheduling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16088092A JPH064308A (en) 1992-06-19 1992-06-19 Batch processing scheduling system

Publications (1)

Publication Number Publication Date
JPH064308A true JPH064308A (en) 1994-01-14

Family

ID=15724373

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16088092A Withdrawn JPH064308A (en) 1992-06-19 1992-06-19 Batch processing scheduling system

Country Status (1)

Country Link
JP (1) JPH064308A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011076371A (en) * 2009-09-30 2011-04-14 Hitachi Information Systems Ltd Job processing system, and method and program for the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011076371A (en) * 2009-09-30 2011-04-14 Hitachi Information Systems Ltd Job processing system, and method and program for the same

Similar Documents

Publication Publication Date Title
US7065766B2 (en) Apparatus and method for load balancing of fixed priority threads in a multiple run queue environment
US6560628B1 (en) Apparatus, method, and recording medium for scheduling execution using time slot data
US6237058B1 (en) Interrupt load distribution system for shared bus type multiprocessor system and interrupt load distribution method
US6981260B2 (en) Apparatus for minimizing lock contention in a multiple processor system with multiple run queues when determining the threads priorities
US7559062B2 (en) Intelligent scheduler for multi-level exhaustive scheduling
US5564062A (en) Resource arbitration system with resource checking and lockout avoidance
US6993767B2 (en) System for preventing periodic load balancing if processor associated with lightest local run queue has benefited from idle processor load balancing within a determined time period
US6473780B1 (en) Scheduling of direct memory access
JPH07141305A (en) Control method for execution of parallel computer
EP1187019B1 (en) Resource management
US20150100964A1 (en) Apparatus and method for managing migration of tasks between cores based on scheduling policy
US20030191794A1 (en) Apparatus and method for dispatching fixed priority threads using a global run queue in a multiple run queue system
US5241676A (en) Method for controlling process priority in semaphore operation
US8555285B2 (en) Executing a general-purpose operating system as a task under the control of a real-time operating system
JPH0877025A (en) Method and device for controlling priority of task
JPH064308A (en) Batch processing scheduling system
CN111143210A (en) Test task scheduling method and system
CN115309519A (en) Deterministic task scheduling and arranging method and system based on time trigger mechanism and storage medium
JP2518134B2 (en) Shared resource exclusive control method
JPH09282188A (en) Interruption processing method and system using the method
US20230418667A1 (en) Computing device for handling tasks in a multi-core processor, and method for operating computing device
JPH0855091A (en) Distributed processing system and load distributing method for this system
JPH11102349A (en) Load control method for memory sharing multiprocessor system
Zahedi et al. Fuzzy round robin CPU scheduling (FRRCS) algorithm
JPH01258135A (en) Transaction execution control system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990831