JPH02188858A - Job selecting process system - Google Patents

Job selecting process system

Info

Publication number
JPH02188858A
JPH02188858A JP891189A JP891189A JPH02188858A JP H02188858 A JPH02188858 A JP H02188858A JP 891189 A JP891189 A JP 891189A JP 891189 A JP891189 A JP 891189A JP H02188858 A JPH02188858 A JP H02188858A
Authority
JP
Japan
Prior art keywords
job
queue
jobs
input
user identification
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP891189A
Other languages
Japanese (ja)
Inventor
Yoshiaki Okada
芳明 岡田
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP891189A priority Critical patent/JPH02188858A/en
Publication of JPH02188858A publication Critical patent/JPH02188858A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable plural users to execute each job with the even waiting time by providing a job selecting process part to select the input jobs with limitation of the limit value given from an input job queue and to connect the selected job to an execution waiting queue. CONSTITUTION:A job selecting process part 12 shifts a job having the relevant user identification name on an input job queue 11 to an execution waiting queue 13 as long as the number of jobs does not exceed the limit value 15 on the queue 13 containing the same user identification name. A job start process part 14 takes out successively the jobs connected to the queue 13 and executes them. Thus it is possible to start the jobs to be inputted later before the end of many preceding jobs even in the case a single user inputs continuously many jobs as long as the value 15 is properly set at a small value.

Description

【発明の詳細な説明】 〔概 要〕 複数の利用者で共用される計算機における、それらの利
用者から入力されるジョブの実行順序の管理に関し、 複数の利用者に均等な待ち時間でジョブを実行するよう
に、実行順序を管理するジョブ選択処理方式を目的とし
、 所定の利用者識別名を付して入力されるジョブを、順次
実行する計算機において、該ジョブを接続する第1のキ
ュー及び第2のキューと、該入力された該ジョブを第1
のキューに接続する手段と、同一の該利用者識別名を有
する第2のキュー上の該ジョブの数が、所定の制限値を
越えない限り、第1のキュー上で当該利用者識別名を有
する該ジョブを第2のキューに移動する手段とを設け、
第2のキューに接続されている該ジョブを順次取り出し
て実行させるように構成する。
[Detailed Description of the Invention] [Summary] Regarding the management of the execution order of jobs input from multiple users on a computer shared by those users, the present invention allows jobs to be sent to multiple users with equal waiting time. In a computer that sequentially executes jobs that are input with a predetermined user identification name, a first queue and a queue that connect the jobs are used. the second queue and the input job to the first queue;
means for connecting to the queue of the user, and the number of the jobs on the second queue having the same user ID does not exceed a predetermined limit, means for moving the job having the job to a second queue;
The configuration is such that the jobs connected to the second queue are sequentially retrieved and executed.

〔産業上の利用分野〕[Industrial application field]

本発明は、複数の利用者で共用される計算機において、
それらの利用者から入力されるジョブの実行順序を管理
するためのジョブ選択処理方式に関する。
The present invention provides a computer that is shared by multiple users.
The present invention relates to a job selection processing method for managing the execution order of jobs input by users.

〔従来の技術と発明が解決しようとする課題〕第3図は
計算機システムの構成例を示し、処理装置41はその主
記憶に外部記憶装置42から取り出して実行するプログ
ラムによって、システムの管理及び利用者の指定する処
理を行うように構成されている。
[Prior art and problems to be solved by the invention] FIG. 3 shows an example of the configuration of a computer system, in which a processing unit 41 stores in its main memory a program retrieved from an external storage device 42 and executed to manage and utilize the system. It is configured to perform the processing specified by the user.

利用者がこのシステムによって処理を行う場合には、例
えはカード読取装置等の入力装置43からジョブ定義情
報を入力して所要の処理を要求する。
When a user performs processing using this system, the user inputs job definition information from the input device 43, such as a card reader, and requests the required processing.

ジョブ定義情報は実行すべきプログラム及びデータ及び
その他の実行条件を指定する制御情報と必要なプログラ
ム及びデータ等からなり、又複数の利用者で共用される
計算機の場合には、処理結果の出力や課金等の必要から
、各利用者に定めである利用者識別名が付けられる。
Job definition information consists of control information that specifies the program and data to be executed and other execution conditions, as well as necessary programs and data.In addition, in the case of a computer that is shared by multiple users, it also includes the output of processing results and other information. For billing purposes, etc., each user is given a predetermined user identification name.

計算機の処理装置f41で実行されるジョブ管理機構が
、このジョブ定義情報(以下において単にジョブという
)を受は取って外部記憶装置42に格納した後、所定の
順序で主記憶に取り出して、その定義情報に従って当ジ
ョブの実行を開始する。
A job management mechanism executed by the processing unit f41 of the computer receives this job definition information (hereinafter simply referred to as job), stores it in the external storage device 42, and then retrieves it into the main memory in a predetermined order and stores it. Start execution of this job according to the definition information.

第4図は処理装置41で実行されるジョブ管理機構の構
成例を示すブロック図であり、ジョブ入力処理部1は、
利用者が入力するジョブを読み込んで、形式チエツクそ
の他の所定の処理を行った上、そのジョブを外部記憶装
置42に格納すると共に、ジョブの格納位置を示すポイ
ンタその他からなる制御ブロックを主記憶上に作成して
、順次入力されるジョブの待ち行列を構成するように実
行待ちキュー2のキューエレメントとして例えば到着順
に接続する。
FIG. 4 is a block diagram showing an example of the configuration of a job management mechanism executed by the processing device 41, and the job input processing section 1 includes:
After reading the job input by the user and performing a format check and other predetermined processing, the job is stored in the external storage device 42, and a control block consisting of a pointer indicating the job storage location and other information is stored in the main memory. The queue elements of the execution queue 2 are connected, for example, in the order of arrival so as to form a queue of jobs that are input sequentially.

ジョブ開始処理部3は実行待ちキュー2のキューエレメ
ントを先頭から順に取り外して、そのキューエレメント
で指示されるジョブの定義情報に指定されている処理を
起動させる。その場合同一 時に並行して処理できるジョブの数即ちジョブ多重度は
、予め計算機で制限されていて、その数までのジョブを
開始させた後は、1つのジョブの実行が終わるとジョブ
開始処理部3がそれを検出して、次のキューエレメント
を実行待ちキュー2から取り出し、指示されるジョブの
実行を前記のように開始させる。
The job start processing unit 3 sequentially removes queue elements from the execution queue 2 from the top and starts the process specified in the definition information of the job specified by the queue element. In this case, the number of jobs that can be processed in parallel at the same time, that is, the job multiplicity, is limited in advance by the computer, and after starting up to that number of jobs, the job start processing unit 3 detects this, takes the next queue element from the pending queue 2, and begins execution of the indicated job as described above.

こ−で、第4図の実行待ちキュー2に例示するように、
○で示すある一利用者の入カシ式ブ(定義情報に付され
た利用者識別名で識別される)が図示のように多数続け
て入力されると、その後の口等で区別して示す他の利用
者の入力するジョブは、前の利用者のジョブの処理が終
わるまで開始されず、後の利用者のジョブの完了待ち時
間を不当に遅延させることになる。
Now, as illustrated in the execution queue 2 in Figure 4,
When a certain user's entry form box (identified by the user identification name attached to the definition information) indicated by ○ is entered in large numbers in a row as shown in the figure, the following entries will be distinguished and indicated. A job entered by a user does not start until the previous user's job has been processed, which unduly delays the wait time for the subsequent user's job to complete.

本発明は複数の利用者に均等な待ち時間でジョブを実行
するように、実行順序を管理するジョブ選択処理方式を
目的とする。
The object of the present invention is to provide a job selection processing method that manages the execution order so that jobs are executed with equal waiting time for a plurality of users.

〔課題を解決するための手段〕[Means to solve the problem]

第1図は、本発明の構成を示すブロック図である。 FIG. 1 is a block diagram showing the configuration of the present invention.

図は計算機のジョブ選択処理方式の構成を示し、10は
ジョブの入力を受は取って入カシジブキュー11に接続
するジョブ入力処理部、12は入力ジョブキューから制
限値15の制限の下に入力ジョブを選択して、実行待ち
キュー13に接続するジョブ選択処理部、14は実行待
ちキュー13からジョブを取り出して実行させるジョブ
開始処理部である。
The figure shows the configuration of the job selection processing method of the computer, where 10 is a job input processing unit that receives job input and connects it to the input queue 11, and 12 is a job input processing unit that receives input jobs from the input job queue under the limit of 15. A job selection processing section 14 selects a job and connects it to the execution queue 13, and a job start processing section 14 takes out a job from the execution queue 13 and executes it.

〔作 用〕[For production]

所定の利用者識別名を付して入力されるジョブを、順次
実行する計算機に、ジョブを接続する第1のキューであ
る入力ジョブキュー11と、第2のキューである実行待
ちキュー13とを設け、ジョブ入力処理部10は入力さ
れたジョブを入力ジョブキュー11に接続する。
An input job queue 11, which is a first queue for connecting jobs, and an execution queue 13, which is a second queue, are connected to a computer that sequentially executes jobs that are input with a predetermined user identification name. The job input processing unit 10 connects the input job to the input job queue 11.

ジョブ選択処理部12は、同一の該利用者識別名を有す
る実行待ちキュー13上のジョブの数が、制限4a15
を越えない限り、入力ジョブキュー11上で当該利用者
識別名を存するジョブを、実行待ちキュー13に移動す
る。
The job selection processing unit 12 limits the number of jobs on the execution queue 13 having the same user identification name to a limit 4a15.
Jobs with the user identification name in question on the input job queue 11 are moved to the execution queue 13 unless the number exceeds .

ジョブ開始処理部14は、このようにして実行待ちキュ
ー13に接続されているジョブを順次取り出して実行さ
せる。
The job start processing unit 14 sequentially takes out the jobs connected to the execution queue 13 in this way and executes them.

以上の処理方式により、前記制限値を適当に小さな値に
設定しておくことにより、−利用者が多数のジョブを連
続して入力した場合にも、後から入力される他のジョブ
は前の多数のジョブの終了を待たないで開始されるよう
になる。
By using the above processing method and setting the limit value to an appropriately small value, even if the user inputs many jobs in succession, other jobs input later will be It will start without waiting for many jobs to finish.

〔実施例〕〔Example〕

第1図において、ジョブ入力処理部10は、前記従来の
ジョブ入力処理部1と同様に、利用者が作成した入力ジ
ョブを読み込んで処理するが、入力ジョブを一旦入力ジ
ョブキュー11に接続し、ジョブ選択処理部12に通知
する。入力ジョブキュー11の構成は前記従来の実行待
ちキュー2と同様であるが、各キューエレメントには当
該ジョブの利用者識別名を設定するものとする。
In FIG. 1, a job input processing unit 10 reads and processes an input job created by a user, similar to the conventional job input processing unit 1, but once the input job is connected to an input job queue 11, The job selection processing unit 12 is notified. The configuration of the input job queue 11 is similar to that of the conventional execution queue 2, but each queue element is set with the user identification name of the job.

ジョブ選択処理部12は、システムの初期化情報として
設定されている制限(i15を保持し、ジョブ入力処理
部10で入力ジョブキュー11にジョブを追加したとき
起動部30で通知を受けると、ジョブカウント部31で
追加されたジョブと同じ利用者識別名のジョブの数を実
行待ちキュー13でカウントし、切換部32はそのカウ
ント値が制限値15より少なければ、追加されたジョブ
のキューエレメントを入力ジョブキュー11から実行待
ちキュー13の末尾へ移動する。
The job selection processing unit 12 retains the limit (i15) set as system initialization information, and when the job input processing unit 10 adds a job to the input job queue 11 and receives notification from the startup unit 30, the job selection processing unit 12 The counting unit 31 counts the number of jobs with the same user identification name as the added job in the execution queue 13, and if the count value is less than the limit value 15, the switching unit 32 selects the queue element of the added job. Move from the input job queue 11 to the end of the execution queue 13.

又、ジョブ開始処理部14で実行待ちキュー13からジ
ョブを取り出したとき起動部33で通知を受は取り、取
り出したジョブと同じ利用者識別名の付いたキューエレ
メントを入力ジョブキュー11で検索して、そのエレメ
ントがあれば、1エレメントを実行待ちキュー13の末
尾に移動する。
Also, when the job start processing unit 14 retrieves a job from the execution queue 13, the startup unit 33 receives a notification and searches the input job queue 11 for a queue element with the same user identification name as the retrieved job. If the element exists, one element is moved to the end of the execution queue 13.

実行待ちキュー13に接続された入力ジョブは、ジョブ
開始処理部14が先頭から順に取り出して、前記従来の
ジョブ開始処理部3と同様に、そのジョブの処理を起動
させ、取り出したジョブの利用者識別名をジョブ選択部
12に通知する。
The input jobs connected to the execution queue 13 are sequentially retrieved from the beginning by the job start processing unit 14, and similarly to the conventional job start processing unit 3, the job processing is started, and the user of the retrieved job The job selection unit 12 is notified of the identification name.

第2図はジョブ選択処理部12の処理の流れの一例を示
し、ジョブ入力処理部10から通知を受けた場合は起動
部30、ジョブカウント部31及び切換部32によって
、第2図(a)の処理ステップ20で追加した入力ジョ
ブの利用者識別名を受は取ると、処理ステップ21で実
行待ちキュー13を走査して、同じ利用者識別名のジョ
ブのキューエレメント数をカウントし、処理ステップ2
2でカウント値を制限値15と比較して、制限値になっ
ていれば処理を終わるが、制限値より少なければ、処理
ステップ23でそのジョブのキューエレメントを、入力
ジョブキュー11から実行待ちキュー13に移動して処
理を終わる。
FIG. 2 shows an example of the processing flow of the job selection processing section 12. When a notification is received from the job input processing section 10, the activation section 30, job counting section 31, and switching section 32 When the user identification name of the input job added in processing step 20 is received, the execution queue 13 is scanned in processing step 21, the number of queue elements of jobs with the same user identification name is counted, and processing step 21 is performed. 2
In step 2, the count value is compared with the limit value 15, and if it reaches the limit value, the process ends, but if it is less than the limit value, in process step 23, the queue element of the job is transferred from the input job queue 11 to the queue waiting for execution. Move to step 13 and end the process.

又、ジョブ開始処理部14から通知を受けた場合には起
動部33及び切換部34により、第2図(b)の処理ス
テップ24で、実行に入ったジョブの利用者識別名を受
は取ると、処理ステップ25で入力ジョブキュー11を
先頭から走査して、同じ利用者識別名を設定されている
キューエレメントが無ければ処理を終わるが、同じ利用
者識別名のキューエレメントがあれば処理ステップ26
でそのジョブを入カシゴブキュー11から実行待ちキュ
ー13に移動して処理を終わる。
Further, when a notification is received from the job start processing section 14, the starting section 33 and the switching section 34 receive and receive the user identification name of the job that has been executed in step 24 of FIG. 2(b). Then, in processing step 25, the input job queue 11 is scanned from the beginning, and if there is no queue element with the same user identification name set, the processing ends, but if there is a queue element with the same user identification name, processing step 26
Then, the job is moved from the input queue 11 to the execution queue 13, and the process ends.

前記の制限値は、例えば前記ジョブ多重度と同じ値か、
それより小さい値に設定するものとし、例えば1とすれ
ば前記の処理により、入力ジョブキュー11に接続され
ているジョブにある、すべての異なる利用者識別名につ
いて各1ジヨブが実行待ちキュー13に接続され、■ジ
ョブが実行開始されると同じ利用者識別名のジョブがあ
れば入力ジョブキュー11から実行待ちキュー13に追
加されるというようにして、各利用者が均等にサービス
を受けることになる。
For example, the limit value may be the same value as the job multiplicity, or
If it is set to a smaller value, for example 1, the above process will cause one job to be placed in the execution queue 13 for every different user identification name of the jobs connected to the input job queue 11. When a job is connected and a job starts executing, if there is a job with the same user identification name, it is added from the input job queue 11 to the execution queue 13, so that each user receives services equally. Become.

〔発明の効果〕〔Effect of the invention〕

以上の説明から明らかなように本発明によれば、複数の
利用者で共用される計算機において、複数の利用者に均
等な待ち時間でジョブを実行するより うに、実行順序が管理されシステムのサービス性を向上
するという著しい工業的効果がある。
As is clear from the above description, according to the present invention, in a computer shared by multiple users, the execution order is managed so that jobs can be executed with equal waiting time for multiple users, and the system service It has a significant industrial effect of improving properties.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の構成を示すブロック図、第2図は本発
明の処理の流れ図、 第3図は計算機システムの構成例ブロック図、第4図は
従来の構成例を示すブロック図である。 図において、 1.10はジョブ選択処理部、 2.13は実行待ちキュー、3.14はジョブ選択処理
部、11は入カシラブキュー、12はジョブ選択処理部
、15は制限値、     20〜26は処理ステップ
、30.33は起動部、   31はジョブカウント部
、32.34は切換部、   41は処理装置、42は
外部記憶装置、  43は入力装置■ 従来の構成例を示すブロック図 第 図
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a flowchart of the processing of the present invention, FIG. 3 is a block diagram of a configuration example of a computer system, and FIG. 4 is a block diagram showing a conventional configuration example. . In the figure, 1.10 is a job selection processing unit, 2.13 is an execution queue, 3.14 is a job selection processing unit, 11 is an input queue, 12 is a job selection processing unit, 15 is a limit value, and 20 to 26 are Processing step, 30. 33 is a starting section, 31 is a job counting section, 32. 34 is a switching section, 41 is a processing device, 42 is an external storage device, 43 is an input device. A block diagram showing an example of a conventional configuration.

Claims (1)

【特許請求の範囲】 所定の利用者識別名を付して入力されるジョブを、順次
実行する計算機において、 該ジョブを接続する第1のキュー(11)及び第2のキ
ュー(13)と、 該入力された該ジョブを第1のキュー(11)に接続す
る手段(10)と、 同一の該利用者識別名を有する第2のキュー(13)上
の該ジョブの数が、所定の制限値(15)を越えない限
り、第1のキュー(11)上で当該利用者識別名を有す
る該ジョブを第2のキューに移動する手段(12)とを
設け、 第2のキュー(13)に接続されている該ジョブを順次
取り出して実行させる(14)ように構成されているこ
とを特徴とするジョブ選択処理方式。
[Claims] In a computer that sequentially executes jobs input with predetermined user identification names, a first queue (11) and a second queue (13) connecting the jobs; means (10) for connecting said inputted job to a first queue (11); and a means (10) for connecting said inputted job to a first queue (11); means (12) for moving the job having the user identification name on the first queue (11) to the second queue as long as the value (15) is not exceeded; A job selection processing method characterized by being configured to sequentially extract and execute the jobs connected to (14).
JP891189A 1989-01-18 1989-01-18 Job selecting process system Pending JPH02188858A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP891189A JPH02188858A (en) 1989-01-18 1989-01-18 Job selecting process system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP891189A JPH02188858A (en) 1989-01-18 1989-01-18 Job selecting process system

Publications (1)

Publication Number Publication Date
JPH02188858A true JPH02188858A (en) 1990-07-24

Family

ID=11705848

Family Applications (1)

Application Number Title Priority Date Filing Date
JP891189A Pending JPH02188858A (en) 1989-01-18 1989-01-18 Job selecting process system

Country Status (1)

Country Link
JP (1) JPH02188858A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0492964A (en) * 1990-08-06 1992-03-25 Nec Corp Online slip output control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0492964A (en) * 1990-08-06 1992-03-25 Nec Corp Online slip output control system

Similar Documents

Publication Publication Date Title
JPH02188858A (en) Job selecting process system
JPH06119282A (en) Device controller and its priority processing system
JPH1049388A (en) Input and output controller
JPH0588917A (en) Job scheduling system
JPH02171846A (en) Transaction processing system
JPH06282447A (en) Queue management system
JP2957711B2 (en) Scheduling method
US12019644B1 (en) Methods and systems for performing database operations
CN114945909B (en) Optimized query scheduling for resource utilization optimization
JP3046887B2 (en) Output file generation method in OCR data entry system
JPH03122715A (en) Printer selector
JP2752894B2 (en) File transfer device
JPH05216844A (en) Method and apparatus for improved task distribution in multiprocessor data processing system
JPH03149617A (en) Printer controller
JP2828000B2 (en) Job scheduling class management system and management method
WO2023140745A1 (en) Methods and systems for performing database operations
JPS5822454A (en) Job scheduling mechanism
JPH08328881A (en) Task scheduling system
JPH0792735B2 (en) Print output control method
JPH08272739A (en) Method for improving on-line response
JPH01142856A (en) Queue control system
JPH02244228A (en) Job start control method
JPH01279339A (en) File writing processing system
JPH04188332A (en) Data outputting system
JPH07334329A (en) Job management device