JP4336763B2 - Job management system - Google Patents

Job management system Download PDF

Info

Publication number
JP4336763B2
JP4336763B2 JP2006160061A JP2006160061A JP4336763B2 JP 4336763 B2 JP4336763 B2 JP 4336763B2 JP 2006160061 A JP2006160061 A JP 2006160061A JP 2006160061 A JP2006160061 A JP 2006160061A JP 4336763 B2 JP4336763 B2 JP 4336763B2
Authority
JP
Japan
Prior art keywords
job
execution
identifier
job execution
reception
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
JP2006160061A
Other languages
Japanese (ja)
Other versions
JP2007328618A (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 JP2006160061A priority Critical patent/JP4336763B2/en
Publication of JP2007328618A publication Critical patent/JP2007328618A/en
Application granted granted Critical
Publication of JP4336763B2 publication Critical patent/JP4336763B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、複数のジョブを同時に実行するジョブ管理システムに関する。   The present invention relates to a job management system that executes a plurality of jobs simultaneously.

複数のジョブを同時に実行するシステムが開発されている。このシステムでは、複数のクライアント端末と、サーバとを具備し、サーバは、複数のクライアント端末からのジョブを受け付けて、そのジョブを実行する。そのジョブは、サーバに所定の処理を実行させるための命令やコンピュータプログラムを含んでいる。   Systems that execute multiple jobs simultaneously have been developed. This system includes a plurality of client terminals and a server, and the server receives jobs from the plurality of client terminals and executes the jobs. The job includes an instruction and a computer program for causing the server to execute a predetermined process.

サーバが実行できるジョブの数には制限がある。そこで、第1従来例として、サーバは、現在実行されているジョブの数が設定数に達している場合、ジョブの受け付けを停止する。この場合、クライアント端末では、そのクライアント端末からのジョブをサーバが実行可能になるまで待つ。 There is a limit to the number of jobs that the server can execute. Therefore, as a first conventional example, the server stops accepting jobs when the number of jobs currently being executed reaches the set number. In this case, the client terminal waits until the server can execute the job from the client terminal.

しかし、第1従来例では、ジョブの実行は保証されない。そこで、第2従来例として、サーバは、記憶部(例示;キュー)を備え、複数のクライアント端末からのジョブを先着順にキューに格納しておく(例えば、特許文献1)。サーバは、キューに格納されたジョブを先着順に実行する。これにより、サーバは、現在実行されているジョブの数が設定数に達している場合でも、ジョブの受け付けを停止することなく、ジョブをキューに格納することができる。 However, in the first conventional example, the execution of the job is not guaranteed. Therefore, as a second conventional example, the server includes a storage unit (example: queue), and stores jobs from a plurality of client terminals in a queue in the order of arrival (for example, Patent Document 1). The server executes the jobs stored in the queue on a first-come-first-served basis. Thus, even when the number of jobs currently being executed reaches the set number, the server can store the jobs in the queue without stopping job acceptance.

ところが、第2従来例では、サーバが複数のクライアント端末からのジョブ(命令、コンピュータプログラム)を記憶部に格納しているため、記憶部の記憶領域を多く確保する必要があり、サーバに対する大きな負荷となる。   However, in the second conventional example, since the server stores jobs (commands, computer programs) from a plurality of client terminals in the storage unit, it is necessary to secure a large storage area in the storage unit, and a large load on the server. It becomes.

記憶部の記憶領域を従来のそれよりも抑えることができるシステムが望まれる。   A system capable of suppressing the storage area of the storage unit more than that of the conventional one is desired.

上記に関連する技術を紹介する。   The technologies related to the above are introduced.

特開平3−19034号公報(特許文献1)にはジョブ管理方式が記載されている。ジョブ管理方式は、多重プログラミング方式を採用しているオペレーティングシステムに適用される。前記ジョブ管理方式は、少なくともバッチジョブ数を格納するジョブ管理テーブルと、ジョブをジョブ入力キューに登録するジョブ登録手段と、前記ジョブ管理テーブルのバッチジョブ数が所定のバッチジョブ最大多重度より少ないときに前記ジョブ入力キューからジョブを取り出すジョブ取り出し手段と、このジョブ取出し手段により取り出されたジョブを起動するジョブ起動手段と、このジョブ起動手段により起動されたジョブの状態を監視して前記ジョブ管理テーブルのバッチジョブ数を維持管理するとともに前記ジョブ取出し手段に前記ジョブ入力キューからのジョブの取出しを促すジョブ監視手段とを有することを特徴としている。これにより、バッチジョブの多重度が制限されてオンラインジョブの仮想記憶への掃出しを抑制することができる。その結果、オンラインシステムの性能を低下させない。   Japanese Patent Laid-Open No. 3-19034 (Patent Document 1) describes a job management system. The job management method is applied to an operating system that employs a multiple programming method. The job management method includes a job management table that stores at least the number of batch jobs, a job registration unit that registers jobs in a job input queue, and the number of batch jobs in the job management table is less than a predetermined batch job maximum multiplicity. A job retrieving unit for retrieving a job from the job input queue, a job activation unit for activating the job retrieved by the job retrieving unit, and monitoring the status of the job activated by the job activation unit, And a job monitoring means for urging the job take-out means to take out a job from the job input queue. Thereby, the multiplicity of batch jobs is limited, and the sweeping of online jobs to virtual storage can be suppressed. As a result, the performance of the online system is not degraded.

特開平2−211545号公報(特許文献2)にはジョブ実行制御方式が記載されている。ジョブ実行制御方式は、バッチジョブが優先順位によってその実行クラスが分けられ、ジョブを実行させる仮想空間と実行クラスが対応し、現在実行中ではない仮想空間に対応する実行クラスのジョブを実行待ち行列から捜し、当該仮想空間で実行させる手段と、中央処理装置、主記憶装置、チャネル等のシステム資源の負荷を定期的に監視し、主にスワッピングによるジョブの実行制御を行う手段を備える計算機システムに適用される。前記ジョブ実行制御方式は、上記システム資源の負荷が一定時間以上にわたって低く、かつ実行待ちのジョブが存在する場合は、優先順位の高い実行クラスから実行待ちのジョブを捜し、当該ジョブの実行クラス用の仮想空間を新規に作成し、当該仮想空間でジョブを実行させることと、上記システム資源の負荷が一定時間以上にわたって高く、かつ実行中のジョブが存在する場合は、現在ジョブが実行されていない仮想空間を停止させ、現在実行中のジョブの中で最も優先順位の低い実行クラスのジョブが終了した時点で当該仮想空間を停止させることと、上記システム資源の負荷が許容範囲に回復した場合は、低負荷時に新規に作成した仮想空間を消去させ、高負荷時に停止させた仮想空間を開始させることにより、上記システム資源の負荷状況に合わせて実行可能なジョブの数を制御することを特徴としている。これにより、システム資源が高負荷である場合は、仮想空間の数を減らし、スワッピングによるオーバヘッドが減少させ、またシステム資源が低負荷である場合は、仮想空間の数を増やし、システム資源の遊休状態を解消する。   JP-A-2-21545 (Patent Document 2) describes a job execution control method. In the job execution control method, the execution class of a batch job is divided according to the priority order, the execution space corresponds to the virtual space that executes the job, and the execution class corresponding to the virtual space that is not currently being executed. To a computer system having means for searching for and executing in the virtual space, and means for periodically monitoring the load of system resources such as a central processing unit, a main storage device, and a channel, and performing job execution control mainly by swapping Applied. The job execution control method searches for a job waiting for execution from an execution class having a high priority when the system resource load is low for a predetermined time or more and there is a job waiting for execution. If a new virtual space is created and a job is executed in the virtual space, and if the system resource load is high for a certain period of time and there is a job being executed, the current job is not executed. When the virtual space is stopped, the virtual space is stopped when the job of the execution class with the lowest priority among the currently executing jobs is completed, and the load of the system resource is restored to the allowable range By deleting the newly created virtual space at low load and starting the virtual space stopped at high load, It is characterized by controlling the number of jobs which can be run in accordance with the load situation. This reduces the number of virtual spaces when the system resources are heavily loaded, reducing the overhead due to swapping, and increases the number of virtual spaces when the system resources are lightly loaded. Is solved.

特開平8−137808号公報(特許文献3)にはトランザクション処理方法が記載されている。トランザクション処理方法は、複数の計算機をネットワーク接続し、第1の計算機上のプログラムから第2の計算機上のプログラムを呼び出して処理を実行するクライアント・サーバ型の分散処理システムに適用される。前記トランザクション処理方法は、クライアントマシン上のプログラムからの処理要求をサーバマシンに転送し、該サーバマシン上の受け付けプロセスが該クライアントマシンからの最初の処理要求を受け付け、該受け付けプロセスは、該クライアントマシンからの処理要求を代行的に処理する代行プロセスを起動し、該起動された代行プロセスは、前記クライアントマシンからの最初の処理要求を代行処理して、処理結果を該クライアントマシンに通知し、前記クライアントマシンからの2回目以降の処理要求は、前記受け付けプロセスを介することなく、直接、前記代行プロセスで受信されて代行処理されることを特徴としている。これにより、クライアントマシン上でのトランザクション処理要求をサーバマシン上で代行して処理することにより、クライアントマシン上で必要なリソース所要量を低減するとともに、サーバマシン上で動的に負荷を分散して安定したスループットを得ることができる。   JP-A-8-137808 (Patent Document 3) describes a transaction processing method. The transaction processing method is applied to a client-server type distributed processing system in which a plurality of computers are connected to a network, and a program on the second computer is called from a program on the first computer to execute processing. The transaction processing method transfers a processing request from a program on a client machine to a server machine, and an accepting process on the server machine accepts an initial processing request from the client machine. A proxy process for processing the processing request from the proxy, the started proxy process performs the first processing request from the client machine, notifies the client machine of the processing result, and The second and subsequent processing requests from the client machine are directly received and processed by the proxy process without going through the reception process. As a result, transaction processing requests on the client machine are processed on behalf of the server machine, thereby reducing the required resource requirements on the client machine and dynamically distributing the load on the server machine. A stable throughput can be obtained.

特開平3−19034号公報(請求項1)JP-A-3-19034 (Claim 1) 特開平2−211545号公報(請求項1)JP-A-2-21545 (Claim 1) 特開平8−137808号公報(請求項1)JP-A-8-137808 (Claim 1)

本発明の課題は、記憶部の記憶領域を抑えることができるジョブ管理システムを提供することにある。   An object of the present invention is to provide a job management system capable of suppressing a storage area of a storage unit.

以下に、[発明を実施するための最良の形態]で使用する番号・符号を用いて、課題を解決するための手段を説明する。これらの番号・符号は、[特許請求の範囲]の記載と[発明を実施するための最良の形態]の記載との対応関係を明らかにするために付加されたものであるが、[特許請求の範囲]に記載されている発明の技術的範囲の解釈に用いてはならない。   Hereinafter, means for solving the problem will be described using the numbers and symbols used in [Best Mode for Carrying Out the Invention]. These numbers and symbols are added to clarify the correspondence between the description of [Claims] and the description of [Best Mode for Carrying Out the Invention]. It should not be used to interpret the technical scope of the invention described in “

本発明のジョブ管理システムは、複数の端末(1−1〜1−M)(Mは1以上の整数)と、ネットワークを介して前記複数の端末(1−1〜1−M)に接続され、記憶部(35;36)と制御部(30)とを備えたサーバ(3)とを具備している。
前記複数の端末(1−1〜1−M)のうちの要求端末(1−I)(Iは、1≦I≦Mを満たす整数)は、ジョブ(2−I−i)(iは、1≦i≦mを満たす整数)(mは1以上の整数)を前記サーバ(3)に実行させるとき、又は、前記ジョブ(2−I−i)が実行されないことを表すジョブ実行遅延通知を前記サーバ(3)から受信したとき、前記ジョブ(2−I−i)とジョブ識別子(2−I−i’)とを含むジョブ実行要求(4−I−i)を前記サーバ(3)に送信する(S1)(S6−YES、S1)。
前記制御部(30)は、現在実行されているジョブの数が設定数に達している場合、前記ジョブ実行要求(4−I−i)を受信したときに、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)を受付識別子(40−j)(jは、1≦j≦(n+1)を満たす整数)(nは1以上の整数)として前記記憶部(35;36)に登録して、前記ジョブ実行遅延通知を前記要求端末(1−I)に送信する(S2、S3)。
前記制御部(30)は、前記現在実行されているジョブの数が前記設定数より小さい場合、前記ジョブ実行要求(4−I−i)を受信したときに、又は、前記受付識別子(40−j)に対応する前記ジョブ識別子(2−I−i’)を含む前記ジョブ実行要求(4−I−i)を受信したときに、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ(2−I−i)を実行する(S2、S4)。
The job management system of the present invention is connected to a plurality of terminals (1-1 to 1-M) (M is an integer of 1 or more) and the plurality of terminals (1-1 to 1-M) via a network. The server (3) provided with the memory | storage part (35; 36) and the control part (30) is comprised.
Of the plurality of terminals (1-1 to 1-M), the request terminal (1-I) (I is an integer satisfying 1 ≦ I ≦ M) is assigned to the job (2-I-i) (i is An integer satisfying 1 ≦ i ≦ m) (m is an integer equal to or greater than 1) is executed by the server (3), or a job execution delay notification indicating that the job (2-I-i) is not executed When received from the server (3), a job execution request (4-Ii) including the job (2-I-i) and a job identifier (2-I-i ') is sent to the server (3). Transmit (S1) (S6-YES, S1).
When the number of currently executed jobs has reached the set number , the control unit (30) receives the job execution request (4-I-i) and receives the job execution request (4-I). The job identifier (2-Ii ′) included in -i) is the reception identifier (40-j) (j is an integer satisfying 1 ≦ j ≦ (n + 1)) (n is an integer of 1 or more). Register in the storage unit (35; 36) and send the job execution delay notification to the requesting terminal (1-I) (S2, S3).
When the number of the currently executed jobs is smaller than the set number, the control unit (30) receives the job execution request (4-Ii) or receives the reception identifier (40- j) when the job execution request (4-Ii) including the job identifier (2-Ii ′) corresponding to j) is received, the job execution request (4-Ii) includes the job execution request (4-Ii). The job (2-I-i) is executed (S2, S4).

本発明のジョブ管理システムにおいて、前記制御部(30)は、N個(Nは1以上の整数)のジョブ実行部(32−1〜32−N)と、ジョブ実行制御部(31)とを備えている。
前記N個のジョブ実行部(32−1〜32−N)のうちのジョブ実行部群は、前記現在実行されているジョブとして、それぞれ前記複数の端末(1−1〜1−M)のうちの端末群によるジョブ群を実行している。
いま、前記受付識別子(40−j)が前記記憶部(35;36)に登録されていない(S2;S10−YES)。
このとき、前記ジョブ実行制御部(31)は、前記現在実行されているジョブの数を表す同時実行数y(yは、1≦y<Nを満たす整数)が、前記設定数として実行可能なジョブの数を表す最大同時実行数z(zは、1<z≦Nを満たす整数)に達している場合(S2;S11−NO)、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)を前記受付識別子(40−1){この場合、上記jは、1である}として前記記憶部(35;36)に登録し(S2;S12)、前記ジョブ実行遅延通知を前記要求端末(1−I)に送信する(S3)。
一方、前記ジョブ実行制御部(31)は、前記同時実行数yが前記最大同時実行数zより小さい場合(S2;S11−YES)、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ(2−I−i)が実行されるように、N個のジョブ実行部(32−1〜32−N)のうちの前記ジョブ実行部群以外の使用可能なジョブ実行部(32−J)(Jは、1≦J≦Nを満たす整数)を制御する(S4)。
In the job management system of the present invention, the control unit (30) includes N (N is an integer equal to or greater than 1) job execution units (32-1 to 32-N) and a job execution control unit (31). I have.
Among the N job execution units (32-1 to 32-N), the job execution unit group includes the plurality of terminals (1-1 to 1-M) as the currently executed jobs. The job group is executed by the terminal group.
Now, the reception identifier (40-j) is not registered in the storage unit (35; 36) (S2; S10-YES).
At this time, the job execution control unit (31) can execute the simultaneous execution number y (y is an integer satisfying 1 ≦ y <N) representing the number of currently executed jobs as the set number. When the maximum concurrent execution number z representing the number of jobs has been reached (z is an integer satisfying 1 <z ≦ N) (S2; S11-NO), it is included in the job execution request (4-I-i). The job identifier (2-I-i ′) is registered in the storage unit (35; 36) as the reception identifier (40-1) {in this case, j is 1} (S2; S12), The job execution delay notification is transmitted to the requesting terminal (1-I) (S3).
On the other hand, when the concurrent execution number y is smaller than the maximum concurrent execution number z (S2; S11-YES), the job execution control unit (31) includes the job execution request (4-Ii). Available job execution units (32-J) other than the job execution unit group among the N job execution units (32-1 to 32-N) so that the job (2-I-i) is executed. ) (J is an integer satisfying 1 ≦ J ≦ N) (S4).

本発明のジョブ管理システムにおいて、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)に対応する前記受付識別子(40−j)が前記記憶部(35;36)に登録されていないが、現在実行待ちのジョブを識別する1番目からn番目(nは1以上の整数)までのn個の前記受付識別子(40−1〜40−n)が前記記憶部(35;36)に登録されている(S2;S10−NO、S20−NO)。
このとき、前記ジョブ実行制御部(31)は、前記最大同時実行数zから同時実行数yを減算した数が、n以下である場合(S2;S21−NO)、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)を(n+1)番目の前記受付識別子(40−(n+1)){この場合、上記jは、(n+1)である}として前記記憶部(35;36)に登録し(S2;S22)、前記ジョブ実行遅延通知を前記要求端末(1−I)に送信する(S3)。
一方、前記ジョブ実行制御部(31)は、前記最大同時実行数zから同時実行数yを減算した数が、前記nより大きい場合(S2;S21−YES)、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ(2−I−i)が実行されるように、前記使用可能なジョブ実行部(32−J)を制御する(S4)。
In the job management system of the present invention, the reception identifier (40-j) corresponding to the job identifier (2-Ii ′) included in the job execution request (4-Ii) is the storage unit (35). 36), but the n reception identifiers (40-1 to 40-n) from 1st to nth (n is an integer equal to or greater than 1) for identifying a job that is currently waiting for execution are It is registered in the storage unit (35; 36) (S2; S10-NO, S20-NO).
At this time, when the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is n or less (S2; S21-NO), the job execution control unit (31) determines the job execution request (4- The job identifier (2-Ii ′) included in (I−i) is the (n + 1) th reception identifier (40− (n + 1)) {in this case, j is (n + 1)} It registers in the storage unit (35; 36) (S2; S22), and transmits the job execution delay notification to the requesting terminal (1-I) (S3).
On the other hand, when the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is greater than the n (S2; S21-YES), the job execution control unit (31) determines the job execution request (4-I). The usable job execution unit (32-J) is controlled so that the job (2-I-i) included in -i) is executed (S4).

本発明のジョブ管理システムにおいて、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)に対応する前記受付識別子が前記(n+1)番目の受付識別子(40−(n+1))として前記記憶部(35;36)に登録されている(S2;S10−NO、S20−YES)。
このとき、前記ジョブ実行制御部(31)は、前記最大同時実行数zから同時実行数yを減算した数が、(n+1)より小さい場合(S2;S30−YES)、前記ジョブ実行遅延通知を前記要求端末(1−I)に送信する(S3)。
一方、前記ジョブ実行制御部(31)は、前記最大同時実行数zから同時実行数yを減算した数が、前記(n+1)以上である場合(S2;S30−NO)、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)に対応する前記(n+1)番目の受付識別子(40−(n+1))を前記記憶部(35;36)から削除し(S2;S32)、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ(2−I−i)が実行されるように、前記使用可能なジョブ実行部(32−J)を制御する(S4)。
In the job management system of the present invention, the reception identifier corresponding to the job identifier (2-Ii ′) included in the job execution request (4-Ii) is the (n + 1) th reception identifier (40 -(N + 1)) is registered in the storage unit (35; 36) (S2; S10-NO, S20-YES).
At this time, when the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is smaller than (n + 1) (S2; S30-YES), the job execution control unit (31) notifies the job execution delay notification. Transmit to the requesting terminal (1-I) (S3).
On the other hand, when the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is equal to or greater than the (n + 1) (S2; S30-NO), the job execution control unit (31) 4-I-i) deletes the (n + 1) -th reception identifier (40- (n + 1)) corresponding to the job identifier (2-I-i ′) from the storage unit (35; 36). (S2; S32), the usable job execution unit (32-J) is controlled so that the job (2-Ii) included in the job execution request (4-Ii) is executed. (S4).

本発明のジョブ管理システムにおいて、前記受付識別子(40−1〜40−(n+1))は、前記識別子と、前記識別子を前記記憶部(35;36)に登録するときの受付時刻(40−1’〜40−(n+1)’)とを含んでいる。
上述のように、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ識別子(2−I−i’)に対応する前記受付識別子が前記(n+1)番目の受付識別子(40−(n+1))として前記記憶部(35;36)に登録されている(S2;S10−NO、S20−YES)。
このとき、前記ジョブ実行制御部(31)は、前記最大同時実行数zから同時実行数yを減算した数が、前記(n+1)以下である場合(S2;S30−YES)、前記記憶部(35;36)に登録されている前記(n+1)番目の受付識別子(40−(n+1))の前記受付時刻(40−(n+1)’)を現在の時刻に更新し(S2;S31)、前記ジョブ実行遅延通知を前記要求端末(1−I)に送信する(S3)。
In the job management system of the present invention, the reception identifier (40-1 to 40- (n + 1)) includes the identifier and a reception time (40-1) when the identifier is registered in the storage unit (35; 36). '~ 40- (n + 1)').
As described above, the reception identifier corresponding to the job identifier (2-Ii ′) included in the job execution request (4-Ii) is the (n + 1) th reception identifier (40- (n + 1). )) Is registered in the storage unit (35; 36) (S2; S10-NO, S20-YES).
At this time, when the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is equal to or less than the (n + 1) (S2; S30-YES), the job execution control unit (31) 35; 36) The reception time (40- (n + 1) ′) of the (n + 1) th reception identifier (40− (n + 1)) registered in 35; 36) is updated to the current time (S2; S31). A job execution delay notification is transmitted to the request terminal (1-I) (S3).

本発明のジョブ管理システムにおいて、前記ジョブ実行制御部(31)は、前記記憶部(35;36)に登録されている前記(n+1)番目の受付識別子(40−(n+1))の前記受付時刻(40−(n+1)’)から、現在の時刻までの時間が、所定時間を超えた場合、前記(n+1)番目の受付識別子(40−(n+1))を前記記憶部(35;36)から削除する(S2)。   In the job management system of the present invention, the job execution control unit (31) receives the reception time of the (n + 1) th reception identifier (40- (n + 1)) registered in the storage unit (35; 36). When the time from (40− (n + 1) ′) to the current time exceeds a predetermined time, the (n + 1) th reception identifier (40− (n + 1)) is transferred from the storage unit (35; 36). Delete (S2).

本発明のジョブ管理システムにおいて、前記ジョブ実行制御部(31)は、前記ジョブ実行要求(4−I−i)に含まれる前記ジョブ(2−I−i)が実行されるように前記使用可能なジョブ実行部(32−J)を制御したとき(S4)、前記ジョブ(2−I−i)が実行されたことを表すジョブ実行開始通知を前記要求端末(1−I)に送信する(S5)。   In the job management system of the present invention, the job execution control unit (31) can be used so that the job (2-Ii) included in the job execution request (4-Ii) is executed. When the job execution unit (32-J) is controlled (S4), a job execution start notification indicating that the job (2-I-i) has been executed is transmitted to the request terminal (1-I) ( S5).

本発明のジョブ管理システムにおいて、前記記憶部(35;36)に登録されている前記(n+1)個の受付識別子(40−1〜40−(n+1))のうちの、前記n個の受付識別子(40−1〜40−n)に対応するジョブが実行される(S4)。
このとき、前記ジョブ実行制御部(31)は、前記(n+1)番目の受付識別子(40−(n+1))が前記1番目の受付識別子(40−1)として前記記憶部(35;36)に登録され、前記1番目の受付識別子(40−1)に対応するジョブ(2−I−i)が実行可能である場合、前記ジョブ(2−I−i)が実行可能であることを表すジョブ実行可能通知を前記要求端末(1−I)に送信する(S2)。
In the job management system of the present invention, among the (n + 1) reception identifiers (40-1 to 40- (n + 1)) registered in the storage unit (35; 36), the n reception identifiers. A job corresponding to (40-1 to 40-n) is executed (S4).
At this time, the job execution control unit (31) stores the (n + 1) th reception identifier (40- (n + 1)) in the storage unit (35; 36) as the first reception identifier (40-1). If the registered job and the job (2-I-i) corresponding to the first reception identifier (40-1) can be executed, the job indicating that the job (2-I-i) can be executed An executable notification is transmitted to the requesting terminal (1-I) (S2).

本発明のジョブ管理システムにおいて、前記ジョブ識別子(2−I−i’)は、前記要求端末(1−I)を識別する識別子(1−I’)を含んでいる。   In the job management system of the present invention, the job identifier (2-I-i ') includes an identifier (1-I') that identifies the requesting terminal (1-I).

本発明のサーバは、上記のサーバ(3)である。   The server of this invention is said server (3).

本発明のジョブ管理方法は、上記のサーバ(3)であるコンピュータを用いる。そのコンピュータには、コンピュータプログラム(30)が備えられている。この場合、本発明のジョブ管理方法は、上記のコンピュータプログラム(30)により実現される。   The job management method of the present invention uses the computer that is the server (3). The computer is provided with a computer program (30). In this case, the job management method of the present invention is realized by the computer program (30).

以上により、本発明では、サーバ(3)は、従来のようにジョブ(2−I−i)そのものをキューに格納するのではなく、必要最小限の情報として、受付識別子(40−j)のみを記憶部(35;36)に登録すればよい。
まず、サーバ(3)は、ジョブ実行要求(4−I−i)に含まれるジョブ(2−I−i)を実行できない場合、それに対応する受付識別子(40−j)を記憶部(35;36)に登録する。次に、サーバ(3)は、ジョブ(2−I−i)を実行可能である場合、ジョブ実行要求(4−I−i)を再度受信することにより、ジョブ(2−I−i)の実行に必要な命令やコンピュータプログラム等の情報を取得する。このため、本発明によれば、サーバ(3)の記憶部(35)の記憶領域を従来のそれよりも抑えることができる。
As described above, in the present invention, the server (3) does not store the job (2-I-i) itself in the queue as in the prior art, but only the reception identifier (40-j) as the necessary minimum information. May be registered in the storage unit (35; 36).
First, when the server (3) cannot execute the job (2-I-i) included in the job execution request (4-I-i), the server (3) stores the corresponding reception identifier (40-j) in the storage unit (35; 36). Next, when the server (3) can execute the job (2-I-i), the server (3) receives the job execution request (4-I-i) again to thereby execute the job (2-I-i). Obtain information such as instructions and computer programs required for execution. For this reason, according to this invention, the memory area of the memory | storage part (35) of a server (3) can be restrained rather than the conventional one.

本発明では、従来のようにキューに格納した順でジョブを実行するのではなく、ジョブ実行要求を受信した順で、それに対応するジョブを優先して実行する。
サーバ(3)は、ジョブ実行要求に含まれるジョブを実行できない場合、それに対応する受付識別子(40−1〜40−(n+1))を記憶部(35;36)に登録する。この場合、サーバ(3)は、記憶部(35;36)に受付識別子(40−1〜40−(n+1))を登録した順で、それに対応するジョブを実行するわけではなく、ジョブ実行要求を受信した順で、それに対応するジョブを優先して実行する。このため、本発明によれば、従来のそれよりも効率良くジョブを実行することができる。
In the present invention, jobs are not executed in the order in which they are stored in the queue as in the prior art, but jobs corresponding to the jobs are preferentially executed in the order in which the job execution requests are received.
When the server (3) cannot execute the job included in the job execution request, the server (3) registers the corresponding reception identifier (40-1 to 40- (n + 1)) in the storage unit (35; 36). In this case, the server (3) does not execute the corresponding job in the order in which the reception identifiers (40-1 to 40- (n + 1)) are registered in the storage unit (35; 36), but does not execute a job execution request. Priority is given to the job corresponding to the order received. Therefore, according to the present invention, the job can be executed more efficiently than the conventional one.

本発明では、ジョブ実行要求が再度行なわれずに、そのジョブ実行要求に対応する受付識別子(40−j)(jは、1≦j≦(n+1)がいつまでも記憶部(35;36)に登録されている場合、その受付識別子(40−j)は、ジョブを実行する優先度が低いことを意味する。このため、本発明によれば、サーバ(3)は、該当する受付識別子(40−j)を記憶部(35;36)から削除することにより、上記のそれよりも効率良くジョブを実行することができ、記憶部(35)の記憶領域を上記のそれよりも更に抑えることができる。   In the present invention, the job execution request is not performed again, and the reception identifier (40-j) (j is 1 ≦ j ≦ (n + 1) corresponding to the job execution request is always registered in the storage unit (35; 36). In this case, the reception identifier (40-j) means that the priority of executing the job is low, so that according to the present invention, the server (3) can receive the corresponding reception identifier (40-j). ) From the storage unit (35; 36), the job can be executed more efficiently than that described above, and the storage area of the storage unit (35) can be further suppressed than that described above.

本発明では、サーバ(3)は、1番目の受付識別子(40−1)に対応するジョブ(2−I−i)が実行可能である場合、ジョブ実行可能通知を要求端末(1−I)に送信することにより、要求端末(1−I)にジョブ実行要求の送信を促すことができ、上記のそれよりも効率良くジョブを実行することができる。   In the present invention, when the job (2-I-i) corresponding to the first reception identifier (40-1) is executable, the server (3) sends a job executable notification to the requesting terminal (1-I). By transmitting to the request terminal, it is possible to prompt the requesting terminal (1-I) to transmit a job execution request, and the job can be executed more efficiently than that described above.

以下に添付図面を参照して、本発明のジョブ管理システムについて詳細に説明する。   The job management system of the present invention will be described in detail below with reference to the accompanying drawings.

図1は、本発明のジョブ管理システムの構成を示している。本発明のジョブ管理システムは、複数のクライアント端末1−1〜1−M(Mは1以上の整数)と、サーバ3とを具備している。サーバ3は、ネットワークを介して複数のクライアント端末1−1〜1−Mに接続されている。   FIG. 1 shows the configuration of the job management system of the present invention. The job management system of the present invention includes a plurality of client terminals 1-1 to 1 -M (M is an integer of 1 or more) and a server 3. The server 3 is connected to a plurality of client terminals 1-1 to 1-M via a network.

複数のクライアント端末1−1〜1−Mの各々は、コンピュータであり、制御部10と、記憶部15とを備えている。
記憶部15には、コンピュータプログラムが格納されている。制御部10は、そのコンピュータプログラムである複数のジョブ実行要求部11−1〜11−m(mは1以上の整数)、ジョブ識別子処理部12を実行する。複数のジョブ実行要求部11−1〜11−m、ジョブ識別子処理部12については後述する。
Each of the plurality of client terminals 1-1 to 1-M is a computer, and includes a control unit 10 and a storage unit 15.
The storage unit 15 stores a computer program. The control unit 10 executes a plurality of job execution requesting units 11-1 to 11-m (m is an integer of 1 or more) and a job identifier processing unit 12 which are computer programs. The plurality of job execution requesting units 11-1 to 11-m and the job identifier processing unit 12 will be described later.

サーバ3は、コンピュータであり、制御部30と、記憶部35とを備えている。
記憶部35には、コンピュータプログラムが格納されている。制御部30は、そのコンピュータプログラムであるジョブ実行制御部31、複数のジョブ実行部32−1〜32−N(Nは1以上の整数)を実行する。ジョブ実行制御部31、複数のジョブ実行部32−1〜32−Nについては後述する。
記憶部35には、実行待ちジョブリスト36が更に格納されている。
The server 3 is a computer and includes a control unit 30 and a storage unit 35.
The storage unit 35 stores a computer program. The control unit 30 executes a job execution control unit 31 and a plurality of job execution units 32-1 to 32 -N (N is an integer equal to or greater than 1) which are the computer programs. The job execution control unit 31 and the plurality of job execution units 32-1 to 32-N will be described later.
The storage unit 35 further stores an execution waiting job list 36.

複数のクライアント端末1−1〜1−Mは、1人又は複数人の利用者に利用される。例えば、利用者は、クライアント端末1−1を利用する。利用者は、そのクライアント端末1−1の複数のジョブ実行要求部11−1〜11−mのうちのジョブ実行要求部11−1に対して、ジョブをサーバ3に実行させるための実行要求指示を行なう。そのジョブは、サーバ3に所定の処理を実行させるための命令やコンピュータプログラムを含んでいる。   The plurality of client terminals 1-1 to 1-M are used by one or a plurality of users. For example, the user uses the client terminal 1-1. The user instructs the job execution request unit 11-1 of the plurality of job execution request units 11-1 to 11-m of the client terminal 1-1 to execute a job on the server 3. To do. The job includes an instruction and a computer program for causing the server 3 to execute a predetermined process.

この場合、ジョブ実行要求部11−1は、上記のジョブであるジョブ2−1−1を識別するための指示をジョブ識別子処理部12に出力する。
ジョブ識別子処理部12は、ジョブ2−1−1を識別するジョブ識別子2−1−1’を決定し、ジョブ実行要求部11−1に出力する。ジョブ識別子2−1−1’は、クライアント端末1−1を識別する識別子と、ジョブ実行要求部11−1を識別する識別子とを含んでいる。例えば、ジョブ識別子2−I−i’では、クライアント端末1−I(Iは、1≦I≦Mを満たす整数)を識別する識別子“I”と、ジョブ実行要求部11−i(iは、1≦i≦mを満たす整数)を識別する識別子“i”とを含んでいる。
ジョブ実行要求部11−1は、ジョブ2−1−1とジョブ識別子2−1−1’とを含むジョブ実行要求4−1−1をサーバ3に送信する。
In this case, the job execution request unit 11-1 outputs an instruction for identifying the job 2-1-1, to the job identifier processing unit 12.
The job identifier processing unit 12 determines a job identifier 2-1-1 ′ for identifying the job 2-1-1 and outputs the job identifier 2-1-1 ′ to the job execution request unit 11-1. The job identifier 2-1-1 ′ includes an identifier for identifying the client terminal 1-1 and an identifier for identifying the job execution request unit 11-1. For example, in the job identifier 2-I-i ′, an identifier “I” for identifying the client terminal 1-I (I is an integer satisfying 1 ≦ I ≦ M) and the job execution request unit 11-i (i is And an identifier “i” that identifies 1 ≦ i ≦ m).
The job execution request unit 11-1 transmits a job execution request 4-1-1 including the job 2-1-1 and the job identifier 2-1-1 ′ to the server 3.

サーバ3のジョブ実行制御部31は、クライアント端末1−1からのジョブ実行要求4−1−1を受信する。ジョブ実行制御部31は、クライアント端末1−Iを識別する識別子“I”と、ジョブ実行要求部11−iを識別する識別子“i”とを認識している。   The job execution control unit 31 of the server 3 receives the job execution request 4-1-1 from the client terminal 1-1. The job execution control unit 31 recognizes an identifier “I” that identifies the client terminal 1-I and an identifier “i” that identifies the job execution request unit 11-i.

例えば、サーバ3の複数のジョブ実行部32−1〜32−Nのうちのジョブ実行部群は、現在実行されているジョブとして、それぞれ複数のクライアント端末1−1〜1−Mのうちのクライアント端末群によるジョブ群を実行している。   For example, the job execution unit group among the plurality of job execution units 32-1 to 32-N of the server 3 is a client currently out of the plurality of client terminals 1-1 to 1-M as the currently executed job. A job group is executed by a terminal group.

このとき、現在実行されているジョブの数が設定数に達している。この場合、ジョブ実行制御部31は、ジョブ実行要求4−1−1に含まれるジョブ識別子2−1−1’を受付識別子40−1として実行待ちジョブリスト36に登録し、ジョブ実行遅延通知をクライアント端末1−1に送信する。クライアント端末1−1は、ジョブ実行遅延通知を受信した場合、再度、上記のジョブ実行要求4−1−1をサーバ3に送信する。
一方、現在実行されているジョブの数が設定数より小さい。この場合、ジョブ実行制御部31は、ジョブ実行要求4−1−1を受信する。又は、上記の受付識別子40−1に対応するジョブ識別子2−1−1’を含むジョブ実行要求4−1−1を受信する。このとき、ジョブ実行制御部31は、ジョブ実行要求4−1−1に含まれるジョブ2−1−1が実行されるように、複数のジョブ実行部32−1〜32−Nのうちの上記のジョブ実行部群以外の使用可能なジョブ実行部32−J(Jは、1≦J≦Nを満たす整数)を制御する。ジョブ実行部32−Jは、ジョブ実行制御部31により起動され、ジョブ2−1−1を実行した後、その起動を終了する。
At this time, the number of jobs currently being executed has reached the set number. In this case, the job execution control unit 31 registers the job identifier 2-1-1 ′ included in the job execution request 4-1-1 as the reception identifier 40-1 in the waiting job list 36, and notifies the job execution delay notification. It transmits to the client terminal 1-1. When the client terminal 1-1 receives the job execution delay notification, the client terminal 1-1 transmits the job execution request 4-1-1 to the server 3 again.
On the other hand, the number of jobs currently being executed is smaller than the set number. In this case, the job execution control unit 31 receives the job execution request 4-1-1. Alternatively, a job execution request 4-1-1 including a job identifier 2-1-1 ′ corresponding to the reception identifier 40-1 is received. At this time, the job execution control unit 31 executes the above-described among the plurality of job execution units 32-1 to 32-N so that the job 2-1-1 included in the job execution request 4-1-1 is executed. The usable job execution units 32-J other than the job execution unit group (J is an integer satisfying 1 ≦ J ≦ N) are controlled. The job execution unit 32-J is activated by the job execution control unit 31, executes the job 2-1-1, and then terminates the activation.

図2に示されるように、実行待ちジョブリスト36には、受付識別子40−1、40−2、…、40−n(nは1以上の整数)が先着順に登録される。受付識別子40−1は、先頭を表している。
また、受付識別子40−1、40−2、…、は、上記のジョブ識別子と、上記のジョブ識別子を実行待ちジョブリスト36に登録するときの受付時刻40−1’、40−2’、…とを含んでいる。例えば、受付識別子40−1は、ジョブ識別子2−1−1’と、受付時刻40−1’とを含んでいる。
As shown in FIG. 2, reception identifiers 40-1, 40-2,..., 40 -n (n is an integer equal to or greater than 1) are registered in the waiting job list 36 in the order of arrival. The reception identifier 40-1 represents the head.
Further, the reception identifiers 40-1, 40-2,... Are the reception times 40-1 ′, 40-2 ′,... When the job identifiers and the job identifiers are registered in the execution waiting job list 36, respectively. Including. For example, the reception identifier 40-1 includes a job identifier 2-1-1 ′ and a reception time 40-1 ′.

このように、本発明のジョブ管理システムでは、サーバ3は、従来のようにジョブ2−1−1そのものをキューに格納するのではなく、必要最小限の情報として、受付識別子40−1のみを実行待ちジョブリスト36に登録すればよい。
サーバ3は、ジョブ実行要求4−1−1に含まれるジョブ2−1−1を実行できない場合、それに対応する受付識別子40−1を記憶部35の実行待ちジョブリスト36に登録する。サーバ3は、ジョブ2−1−1を実行可能である場合、ジョブ実行要求4−1−1を再度受信することにより、ジョブ2−1−1の実行に必要な命令やコンピュータプログラム等の情報を取得する。このため、本発明のジョブ管理システムによれば、サーバ3の記憶部35の記憶領域を従来のそれよりも抑えることができる。
As described above, in the job management system of the present invention, the server 3 does not store the job 2-1-1 itself in the queue as in the prior art, but uses only the reception identifier 40-1 as the minimum necessary information. What is necessary is just to register into the execution waiting job list 36.
When the server 3 cannot execute the job 2-1-1 included in the job execution request 4-1-1, the server 3 registers the reception identifier 40-1 corresponding to the job 2-1-1 in the execution waiting job list 36 of the storage unit 35. When the server 3 can execute the job 2-1-1, the server 3 receives the job execution request 4-1-1 again to thereby obtain information such as instructions and computer programs necessary for executing the job 2-1-1. To get. For this reason, according to the job management system of the present invention, the storage area of the storage unit 35 of the server 3 can be reduced as compared with the conventional one.

図3は、本発明のジョブ管理システムの動作を示すフローチャートである。   FIG. 3 is a flowchart showing the operation of the job management system of the present invention.

要求クライアント端末1−I(Iは、1≦I≦Mを満たす整数)の利用者は、クライアント端末1−Iを操作して、ジョブをサーバ3に実行させるための実行要求指示を行なう。このとき、クライアント端末1−Iのジョブ実行要求部11−i(iは、1≦i≦mを満たす整数)は、上記のジョブであるジョブ2−I−iを識別するための指示を、クライアント端末1−Iのジョブ識別子処理部12に出力する。クライアント端末1−Iのジョブ識別子処理部12は、ジョブ2−I−iを識別するジョブ識別子2−I−i’を決定し、クライアント端末1−Iのジョブ実行要求部11−iに出力する。クライアント端末1−Iのジョブ実行要求部11−iは、ジョブ2−I−iとジョブ識別子2−I−i’とを含むジョブ実行要求4−I−iをサーバ3に送信する(ステップS1)。   A user of the request client terminal 1-I (I is an integer satisfying 1 ≦ I ≦ M) operates the client terminal 1-I to give an execution request instruction for causing the server 3 to execute the job. At this time, the job execution requesting unit 11-i (i is an integer satisfying 1 ≦ i ≦ m) of the client terminal 1-I gives an instruction for identifying the job 2-I-i that is the job described above. The data is output to the job identifier processing unit 12 of the client terminal 1-I. The job identifier processing unit 12 of the client terminal 1-I determines a job identifier 2-Ii ′ for identifying the job 2-I-i, and outputs it to the job execution request unit 11-i of the client terminal 1-I. . The job execution request unit 11-i of the client terminal 1-I transmits a job execution request 4-Ii including the job 2-Ii and the job identifier 2-Ii ′ to the server 3 (step S1). ).

サーバ3のジョブ実行制御部31は、要求クライアント端末1−Iからのジョブ実行要求4−I−iを受信し、ジョブ実行判定処理を実行する(ステップS2)。ジョブ実行判定処理についての詳細は、図4A、図4Bを用いて後述するが、ここでは簡単に説明する。   The job execution control unit 31 of the server 3 receives the job execution request 4-I-i from the request client terminal 1-I and executes job execution determination processing (step S2). Details of the job execution determination process will be described later with reference to FIGS. 4A and 4B, but will be briefly described here.

ジョブ実行判定処理(ステップS2)において、現在実行されているジョブの数が設定数に達している。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ識別子2−I−i’を受付識別子40−j(jは、1≦j≦(n+1)を満たす整数)として実行待ちジョブリスト36に登録する。
次に、ジョブ実行制御部31は、ジョブ実行遅延通知を要求クライアント端末1−Iに送信する(ステップS3)。要求クライアント端末1−Iのジョブ実行要求部11−iは、ジョブ実行遅延通知を受信した場合(ステップS6−YES)、その旨を利用者に通知し、利用者は、要求クライアント端末1−IにステップS1を再度実行させる。即ち、要求クライアント端末1−Iのジョブ実行要求部11−iは、再度、上記のジョブ実行要求4−I−i(ジョブ2−I−i、ジョブ識別子2−I−i’)をサーバ3に送信する。
In the job execution determination process (step S2), the number of currently executed jobs has reached the set number. In this case, the job execution control unit 31 uses the job identifier 2-Ii ′ included in the job execution request 4-Ii as the reception identifier 40-j (j is an integer satisfying 1 ≦ j ≦ (n + 1)). Is registered in the waiting job list 36.
Next, the job execution control unit 31 transmits a job execution delay notification to the requesting client terminal 1-I (step S3). When the job execution request unit 11-i of the request client terminal 1-I receives the job execution delay notification (YES in step S6-), the job execution request unit 11-i notifies the user to that effect, and the user receives the request client terminal 1-I. Step S1 is executed again. That is, the job execution request unit 11-i of the request client terminal 1-I sends the job execution request 4-Ii (job 2-I-i, job identifier 2-I-i ′) to the server 3 again. Send to.

ジョブ実行判定処理(ステップS2)において、現在実行されているジョブの数が設定数より小さい。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iを受信する。又は、上記の受付識別子40−jに対応するジョブ識別子2−I−i’を含むジョブ実行要求4−I−iを受信する。
次に、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ2−I−iが実行されるように、使用可能なジョブ実行部32−J(Jは、1≦J≦Nを満たす整数)を制御する(ステップS4)。次に、ジョブ実行制御部31は、ジョブ2−I−iが実行されたことを表すジョブ実行開始通知を要求クライアント端末1−Iに送信する(ステップS5)。要求クライアント端末1−Iのジョブ実行要求部11−iは、ジョブ実行開始通知を受信した場合(ステップS6−NO)、その旨を利用者に通知し、利用者は、次のジョブ実行要求を行なうことができる。
In the job execution determination process (step S2), the number of jobs currently being executed is smaller than the set number. In this case, the job execution control unit 31 receives the job execution request 4-I-i. Alternatively, the job execution request 4-Ii including the job identifier 2-Ii ′ corresponding to the reception identifier 40-j is received.
Next, the job execution control unit 31 uses the job execution unit 32-J (J is 1 ≦ J) so that the job 2-Ii included in the job execution request 4-Ii is executed. (An integer satisfying ≦ N) is controlled (step S4). Next, the job execution control unit 31 transmits a job execution start notification indicating that the job 2-I-i has been executed to the requesting client terminal 1-I (step S5). When the job execution request unit 11-i of the request client terminal 1-I receives the job execution start notification (step S6-NO), the job execution request unit 11-i notifies the user to that effect, and the user issues a next job execution request. Can be done.

図4A、図4Bは、本発明のジョブ管理システムの動作として上記のジョブ実行判定処理(ステップS2)を示すフローチャートである。   4A and 4B are flowcharts showing the job execution determination process (step S2) as the operation of the job management system of the present invention.

いま、受付識別子40−jが実行待ちジョブリスト36に登録されていない(ステップS10−YES)。   Now, the reception identifier 40-j is not registered in the execution waiting job list 36 (step S10—YES).

このとき、上記の現在実行されているジョブの数を表す同時実行数y(yは、1≦y<Nを満たす整数)が、上記の設定数として実行可能なジョブの数を表す最大同時実行数z(zは、1<z≦Nを満たす整数)に達している(ステップS11−NO)。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ識別子2−I−i’を受付識別子40−1{この場合、上記jは、1である}として実行待ちジョブリスト36に登録する(ステップS12)。次に、ジョブ実行制御部31は、ジョブ実行遅延通知を要求クライアント端末1−Iに送信する(ステップS3)。 At this time, the maximum number of concurrent executions in which the number y of concurrent executions representing the number of currently executed jobs (y is an integer satisfying 1 ≦ y <N) represents the number of jobs that can be executed as the set number. The number z (z is an integer satisfying 1 <z ≦ N) has been reached (step S11—NO). In this case, the job execution control unit 31 sets the job identifier 2-Ii ′ included in the job execution request 4-Ii as the reception identifier 40-1 {in this case, j is 1} and waits for execution. Registration in the job list 36 (step S12). Next, the job execution control unit 31 transmits a job execution delay notification to the requesting client terminal 1-I (step S3).

一方、同時実行数yが最大同時実行数zより小さい(ステップS11−YES)。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ2−I−iが実行されるように、使用可能なジョブ実行部32−J(Jは、1≦J≦Nを満たす整数)を制御する(ステップS4)。次に、ジョブ実行制御部31は、ジョブ2−I−iが実行されたことを表すジョブ実行開始通知を要求クライアント端末1−Iに送信する(ステップS5)。   On the other hand, the concurrent execution number y is smaller than the maximum concurrent execution number z (step S11—YES). In this case, the job execution control unit 31 can use the job execution unit 32-J (J is 1 ≦ J) so that the job 2-Ii included in the job execution request 4-Ii is executed. (An integer satisfying ≦ N) is controlled (step S4). Next, the job execution control unit 31 transmits a job execution start notification indicating that the job 2-I-i has been executed to the requesting client terminal 1-I (step S5).

次に、ジョブ実行要求4−I−iに含まれるジョブ識別子2−I−i’に対応する受付識別子が実行待ちジョブリスト36に登録されていないが、現在実行待ちのジョブを識別する1番目からn番目(nは1以上の整数)までのn個の受付識別子40−1〜40−nが実行待ちジョブリスト36に登録されている(ステップS10−NO、S20−NO)。   Next, although the reception identifier corresponding to the job identifier 2-Ii ′ included in the job execution request 4-Ii is not registered in the execution waiting job list 36, the first identifying the job currently waiting to be executed To n-th (n is an integer equal to or greater than 1) n reception identifiers 40-1 to 40-n are registered in the execution waiting job list 36 (steps S10-NO, S20-NO).

このとき、ジョブ実行制御部31は、最大同時実行数zから同時実行数yを減算した数を求め、その数が、実行待ちジョブ数としてn以下である(ステップS21−NO)。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ識別子2−I−i’を受付識別子40−(n+1){この場合、上記jは、(n+1)である}として実行待ちジョブリスト36に登録する(ステップS22)。次に、ジョブ実行制御部31は、ジョブ実行遅延通知を要求クライアント端末1−Iに送信する(ステップS3)。
一方、ジョブ実行制御部31は、最大同時実行数zから同時実行数yを減算した数を求め、その数が、実行待ちジョブ数nより大きい(ステップS21−YES)。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ2−I−iが実行されるように、使用可能なジョブ実行部32−Jを制御する(ステップS4)。次に、ジョブ実行制御部31は、ジョブ2−I−iが実行されたことを表すジョブ実行開始通知を要求クライアント端末1−Iに送信する(ステップS5)。
At this time, the job execution control unit 31 obtains a number obtained by subtracting the number of simultaneous executions y from the maximum number of simultaneous executions z, and the number is n or less as the number of jobs waiting to be executed (NO in step S21). In this case, the job execution control unit 31 sets the job identifier 2-Ii ′ included in the job execution request 4-Ii to the reception identifier 40- (n + 1) {in this case, j is (n + 1). } Is registered in the waiting job list 36 (step S22). Next, the job execution control unit 31 transmits a job execution delay notification to the requesting client terminal 1-I (step S3).
On the other hand, the job execution control unit 31 obtains a number obtained by subtracting the number of simultaneous executions y from the maximum number of simultaneous executions z, and the number is larger than the number of jobs waiting for execution n (YES in step S21). In this case, the job execution control unit 31 controls the usable job execution unit 32-J so that the job 2-Ii included in the job execution request 4-Ii is executed (step S4). . Next, the job execution control unit 31 transmits a job execution start notification indicating that the job 2-I-i has been executed to the requesting client terminal 1-I (step S5).

次に、ジョブ実行要求4−I−iに含まれるジョブ識別子2−I−i’に対応する受付識別子が、(n+1)番目の受付識別子である受付識別子40−(n+1)として実行待ちジョブリスト36に登録されている(ステップS10−NO、S20−YES)。   Next, an execution waiting job list in which the reception identifier corresponding to the job identifier 2-Ii ′ included in the job execution request 4-I-i is the reception identifier 40- (n + 1) which is the (n + 1) th reception identifier. 36 (steps S10-NO, S20-YES).

このとき、ジョブ実行制御部31は、最大同時実行数zから同時実行数yを減算した数を求め、その数が、上記の受付識別子40−(n+1)が表す順番である(n+1)以下である(ステップS30−YES)。この場合、ジョブ実行制御部31は、実行待ちジョブリスト36に登録されている(n+1)番目の受付識別子40−(n+1)の受付時刻40−(n+1)’を現在の時刻に更新する(ステップS31)。次に、ジョブ実行制御部31は、ジョブ実行遅延通知を要求クライアント端末1−Iに送信する(ステップS3)。
一方、ジョブ実行制御部31は、最大同時実行数zから同時実行数yを減算した数を求め、その数が、上記(n+1)より小さい場合(ステップS30−NO)、ジョブ実行要求4−I−iに含まれるジョブ識別子2−I−i’に対応する(n+1)番目の受付識別子40−(n+1)を実行待ちジョブリスト36から削除する(ステップS32)。この場合、ジョブ実行制御部31は、ジョブ実行要求4−I−iに含まれるジョブ2−I−iが実行されるように、使用可能なジョブ実行部32−Jを制御する(ステップS4)。次に、ジョブ実行制御部31は、ジョブ2−I−iが実行されたことを表すジョブ実行開始通知を要求クライアント端末1−Iに送信する(ステップS5)。
At this time, the job execution control unit 31 obtains a number obtained by subtracting the concurrent execution number y from the maximum concurrent execution number z, and the number is equal to or less than (n + 1) which is the order represented by the reception identifier 40- (n + 1). Yes (step S30-YES). In this case, the job execution control unit 31 updates the reception time 40- (n + 1) ′ of the (n + 1) th reception identifier 40- (n + 1) registered in the job queue 36 for execution to the current time (Step S1). S31). Next, the job execution control unit 31 transmits a job execution delay notification to the requesting client terminal 1-I (step S3).
On the other hand, the job execution control unit 31 obtains a number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z, and when the number is smaller than the above (n + 1) (step S30-NO), the job execution request 4-I. The (n + 1) th reception identifier 40- (n + 1) corresponding to the job identifier 2-I-i 'included in -i is deleted from the waiting job list 36 (step S32). In this case, the job execution control unit 31 controls the usable job execution unit 32-J so that the job 2-Ii included in the job execution request 4-Ii is executed (step S4). . Next, the job execution control unit 31 transmits a job execution start notification indicating that the job 2-I-i has been executed to the requesting client terminal 1-I (step S5).

ジョブ実行判定処理(ステップS2)では、ジョブ実行制御部31は、実行待ちジョブリスト36に登録されている受付識別子40−j(jは、1≦j≦(n+1)の受付時刻40−j’から、現在の時刻までの時間が、所定時間を超えた場合、その受付識別子40−jを実行待ちジョブリスト36から削除する。例えば、ジョブ実行制御部31は、受付識別子40−(n+1)の受付時刻40−(n+1)’から、現在の時刻までの時間が、所定時間を超えた場合、その受付識別子40−(n+1)を実行待ちジョブリスト36から削除する。   In the job execution determination process (step S2), the job execution control unit 31 receives the reception identifier 40-j (j is 1 ≦ j ≦ (n + 1) reception time 40-j ′ registered in the execution waiting job list 36. When the time until the current time exceeds a predetermined time, the reception identifier 40-j is deleted from the execution waiting job list 36. For example, the job execution control unit 31 sets the reception identifier 40- (n + 1). When the time from the reception time 40- (n + 1) ′ to the current time exceeds a predetermined time, the reception identifier 40- (n + 1) is deleted from the job queue 36 for execution.

以上の説明により、本発明のジョブ管理システムでは、サーバ3は、従来のようにジョブ2−I−iそのものをキューに格納するのではなく、必要最小限の情報として、受付識別子40−jのみを実行待ちジョブリスト36に登録すればよい。
まず、サーバ3は、ジョブ実行要求4−I−iに含まれるジョブ2−I−iを実行できない場合、それに対応する受付識別子40−jを記憶部35の実行待ちジョブリスト36に登録する。次に、サーバ3は、ジョブ2−I−iを実行可能である場合、ジョブ実行要求4−I−iを再度受信することにより、ジョブ2−I−iの実行に必要な命令やコンピュータプログラム等の情報を取得する。このため、本発明によれば、サーバ3の記憶部35の記憶領域を従来のそれよりも抑えることができる。
As described above, in the job management system of the present invention, the server 3 does not store the job 2-Ii itself in the queue as in the prior art, but only the reception identifier 40-j as the minimum necessary information. May be registered in the waiting job list 36.
First, when the server 3 cannot execute the job 2-Ii included in the job execution request 4-I-i, the server 3 registers the reception identifier 40-j corresponding to the job 2-I-i in the execution waiting job list 36 of the storage unit 35. Next, when the server 3 can execute the job 2-I-i, the server 3 receives the job execution request 4-I-i again to thereby execute an instruction or a computer program necessary for executing the job 2-I-i. Get information such as. For this reason, according to this invention, the memory area of the memory | storage part 35 of the server 3 can be restrained rather than the conventional one.

本発明のジョブ管理システムでは、従来のようにキューに格納した順でジョブを実行するのではなく、ジョブ実行要求を受信した順で、それに対応するジョブを優先して実行する。
サーバ3は、ジョブ実行要求に含まれるジョブを実行できない場合、それに対応する受付識別子40−1〜40−(n+1)を記憶部35の実行待ちジョブリスト36に登録する。この場合、サーバ3は、実行待ちジョブリスト36に受付識別子40−1〜40−(n+1)を登録した順で、それに対応するジョブを実行するわけではなく、ジョブ実行要求を受信した順で、それに対応するジョブを優先して実行する。このため、本発明のジョブ管理システムによれば、従来のそれよりも効率良くジョブを実行することができる。
In the job management system of the present invention, jobs are not executed in the order in which they are stored in the queue as in the prior art, but jobs corresponding to the jobs are preferentially executed in the order in which job execution requests are received.
When the server 3 cannot execute the job included in the job execution request, the server 3 registers the corresponding reception identifiers 40-1 to 40- (n + 1) in the execution waiting job list 36 of the storage unit 35. In this case, the server 3 does not execute the corresponding job in the order in which the reception identifiers 40-1 to 40- (n + 1) are registered in the execution waiting job list 36, but in the order in which the job execution request is received. Priority is given to the corresponding job. Therefore, according to the job management system of the present invention, it is possible to execute a job more efficiently than the conventional one.

本発明のジョブ管理システムでは、ジョブ実行要求が再度行なわれずに、そのジョブ実行要求に対応する受付識別子40−j(jは、1≦j≦(n+1)がいつまでも実行待ちジョブリスト36に登録されている場合、その受付識別子40−jは、ジョブを実行する優先度が低いことを意味する。このため、本発明のジョブ管理システムによれば、サーバ3は、該当する受付識別子40−jを実行待ちジョブリスト36から削除することにより、上記のそれよりも効率良くジョブを実行することができ、記憶部35の記憶領域を上記のそれよりも更に抑えることができる。   In the job management system of the present invention, the job execution request is not made again, and the reception identifier 40-j (j is 1 ≦ j ≦ (n + 1)) corresponding to the job execution request is registered in the execution waiting job list 36 indefinitely. In this case, the reception identifier 40-j means that the priority of executing the job is low, so according to the job management system of the present invention, the server 3 sets the corresponding reception identifier 40-j to By deleting from the waiting job list 36, the job can be executed more efficiently than that described above, and the storage area of the storage unit 35 can be further reduced than that described above.

なお、本発明のジョブ管理システムの他の実施形態として、ジョブ実行制御部31は、1番目の受付識別子40−1に対応するジョブが実行可能である場合、そのジョブが実行可能であることを表すジョブ実行可能通知を要求クライアント端末に送信してもよい。
例えば、実行待ちジョブリスト36に登録されている(n+1)個の受付識別子40−1〜40−(n+1)のうちの、n個の受付識別子40−1〜40−nに対応するジョブが実行される(ステップS4)。このとき、(n+1)番目の受付識別子40−(n+1)が1番目の受付識別子40−1として実行待ちジョブリスト36に登録される。ジョブ実行制御部31は、その1番目の受付識別子40−1に対応するジョブ2−I−iが実行可能である場合、ジョブ実行可能通知を要求クライアント端末1−Iに送信する(ステップS2)。
これにより、要求クライアント端末1−Iにジョブ実行要求の送信を促すことができ、上記のそれよりも効率良くジョブを実行することができる。
As another embodiment of the job management system of the present invention, when the job corresponding to the first reception identifier 40-1 can be executed, the job execution control unit 31 indicates that the job can be executed. A job executable notification may be transmitted to the requesting client terminal.
For example, a job corresponding to n reception identifiers 40-1 to 40-n out of (n + 1) reception identifiers 40-1 to 40- (n + 1) registered in the waiting job list 36 is executed. (Step S4). At this time, the (n + 1) th reception identifier 40- (n + 1) is registered in the execution waiting job list 36 as the first reception identifier 40-1. If the job 2-Ii corresponding to the first reception identifier 40-1 can be executed, the job execution control unit 31 transmits a job execution notification to the requesting client terminal 1-I (step S2). .
As a result, the request client terminal 1-I can be prompted to transmit a job execution request, and the job can be executed more efficiently than that described above.

図1は、本発明のジョブ管理システムの構成を示している。FIG. 1 shows the configuration of the job management system of the present invention. 図2は、実行待ちジョブリスト36を示している。FIG. 2 shows an execution waiting job list 36. 図3は、本発明のジョブ管理システムの動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of the job management system of the present invention. 図4Aは、本発明のジョブ管理システムの動作として上記のジョブ実行判定処理(ステップS2)を示すフローチャートである。FIG. 4A is a flowchart showing the job execution determination process (step S2) as an operation of the job management system of the present invention. 図4Bは、本発明のジョブ管理システムの動作として上記のジョブ実行判定処理(ステップS2)を示すフローチャートである。FIG. 4B is a flowchart showing the job execution determination process (step S2) as the operation of the job management system of the present invention.

符号の説明Explanation of symbols

1−1〜1−M(Mは1以上の整数) クライアント端末
1−I(Iは、1≦I≦Mを満たす整数) 要求クライアント端末
10 制御部
11−1〜11−m(mは1以上の整数)、11−i ジョブ実行要求部
12 ジョブ識別子処理部
15 記憶部
3 サーバ
30 制御部
31 ジョブ実行制御部
32−1〜32−N(Nは1以上の整数) ジョブ実行部
32−J(Jは、1≦J≦Nを満たす整数) 使用可能なジョブ実行部
35 記憶部
36 実行待ちジョブリスト
2−I−i(iは、1≦i≦mを満たす整数) ジョブ
2−I−i’ ジョブ識別子
4−I−i ジョブ実行要求
40−1〜40−(n+1)、40−j(jは、1≦j≦(n+1)を満たす整数) 受付識別子
40−1’〜40−(n+1)’、40−j’ 受付時刻
1-1 to 1-M (M is an integer of 1 or more) Client terminal 1-I (I is an integer satisfying 1 ≦ I ≦ M) Request client terminal 10 Control units 11-1 to 11-m (m is 1) 11-i Job execution request unit 12 Job identifier processing unit 15 Storage unit 3 Server 30 Control unit 31 Job execution control units 32-1 to 32-N (N is an integer of 1 or more) Job execution unit 32- J (J is an integer satisfying 1 ≦ J ≦ N) Available job execution unit 35 Storage unit 36 Execution waiting job list 2-I-i (i is an integer satisfying 1 ≦ i ≦ m) Job 2-I -I 'Job identifier 4-I-i Job execution request 40-1 to 40- (n + 1), 40-j (j is an integer satisfying 1≤j≤ (n + 1)) Acceptance identifier 40-1'-40- (N + 1) ', 40-j' Reception time

Claims (10)

複数の端末と、
ネットワークを介して前記複数の端末に接続され、記憶部と制御部とを備えたサーバとを具備し、
前記複数の端末のうちの要求端末は、ジョブを前記サーバに実行させるとき、又は、前記ジョブが実行されないことを表すジョブ実行遅延通知を前記サーバから受信したとき、前記ジョブとジョブ識別子とを含むジョブ実行要求を前記サーバに送信し、
前記制御部は、N個(Nは1以上の整数)のジョブ実行部と、ジョブ実行制御部とを備え、
前記N個のジョブ実行部のうちのジョブ実行部群は、現在実行されているジョブとして、それぞれ前記複数の端末のうちの端末群によるジョブ群を実行し、
前記受付識別子が前記記憶部に登録されていないとき、
前記ジョブ実行制御部は、
前記現在実行されているジョブの数を表す同時実行数y(yは、1≦y<Nを満たす整数)設定数として実行可能なジョブの数を表す最大同時実行数z(zは、1<z≦Nを満たす整数)に達している場合、前記ジョブ実行要求を受信したときに、前記ジョブ実行要求に含まれる前記ジョブ識別子を受付識別子として前記記憶部に登録して、前記ジョブ実行遅延通知を前記要求端末に送信し、
前記同時実行数yが前記最大同時実行数zより小さい場合、前記ジョブ実行要求を受信したときに、又は、前記受付識別子に対応する前記ジョブ識別子を含む前記ジョブ実行要求を受信したときに、前記ジョブ実行要求に含まれる前記ジョブ実行されるように、N個のジョブ実行部のうちの前記ジョブ実行部群以外の使用可能なジョブ実行部を制御し、
前記ジョブ実行要求に含まれる前記ジョブ識別子に対応する前記受付識別子が前記記憶部に登録されていないが、現在実行待ちのジョブを識別する1番目からn番目(nは1以上の整数)までのn個の前記受付識別子が前記記憶部に登録されているとき、
前記ジョブ実行制御部は、
前記最大同時実行数zから同時実行数yを減算した数が、n以下である場合、前記ジョブ実行要求に含まれる前記ジョブ識別子を(n+1)番目の前記受付識別子として前記記憶部に登録し、前記ジョブ実行遅延通知を前記要求端末に送信し、
前記最大同時実行数zから同時実行数yを減算した数が、前記nより大きい場合、前記ジョブ実行要求に含まれる前記ジョブが実行されるように、前記使用可能なジョブ実行部を制御する
ジョブ管理システム。
Multiple devices,
A server that is connected to the plurality of terminals via a network and includes a storage unit and a control unit;
The requesting terminal of the plurality of terminals includes the job and a job identifier when causing the server to execute a job or when receiving a job execution delay notification indicating that the job is not executed from the server. Send a job execution request to the server;
The control unit includes N (N is an integer of 1 or more) job execution units, and a job execution control unit.
A job execution unit group of the N job execution units executes a job group by a terminal group of the plurality of terminals as a currently executed job,
When the acceptance identifier is not registered in the storage unit,
The job execution control unit
The concurrency y representing the number of the currently running job (y is an integer satisfying 1 ≦ y <N) is the maximum concurrent number z (z representing the number of jobs which can be run as a set number, 1 <If reached integer) satisfying z ≦ N, upon receiving the job execution request, and registered in the storage unit the job identifier included in the job execution request as a reception identifier, the job execution Sending a delay notification to the requesting terminal;
When the concurrent execution number y is smaller than the maximum concurrent execution number z, when the job execution request is received or when the job execution request including the job identifier corresponding to the reception identifier is received, Control usable job execution units other than the job execution unit group among the N job execution units so that the job included in the job execution request is executed ,
Although the reception identifier corresponding to the job identifier included in the job execution request is not registered in the storage unit, the first to nth (n is an integer equal to or greater than 1) identifying a job that is currently waiting to be executed When the n reception identifiers are registered in the storage unit,
The job execution control unit
When the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is n or less, the job identifier included in the job execution request is registered in the storage unit as the (n + 1) th reception identifier, Sending the job execution delay notification to the requesting terminal;
When the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is larger than the n, the usable job execution unit is controlled so that the job included in the job execution request is executed. <br/> Job management system.
請求項に記載のジョブ管理システムにおいて、
前記ジョブ実行要求に含まれる前記ジョブ識別子に対応する前記受付識別子が前記(n+1)番目の受付識別子として前記記憶部に登録されているとき、
前記ジョブ実行制御部は、
前記最大同時実行数zから同時実行数yを減算した数が、(n+1)より小さい場合、前記ジョブ実行遅延通知を前記要求端末に送信し、
前記最大同時実行数zから同時実行数yを減算した数が、前記(n+1)以上である場合、前記ジョブ実行要求に含まれる前記ジョブ識別子に対応する前記(n+1)番目の受付識別子を前記記憶部から削除し、前記ジョブ実行要求に含まれる前記ジョブが実行されるように、前記使用可能なジョブ実行部を制御する
ジョブ管理システム。
The job management system according to claim 1 ,
When the reception identifier corresponding to the job identifier included in the job execution request is registered in the storage unit as the (n + 1) th reception identifier,
The job execution control unit
When the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is smaller than (n + 1), the job execution delay notification is transmitted to the requesting terminal,
If the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is equal to or greater than the (n + 1), the (n + 1) th reception identifier corresponding to the job identifier included in the job execution request is stored in the memory. A job management system that controls the usable job execution unit so that the job included in the job execution request is executed.
請求項に記載のジョブ管理システムにおいて、
前記受付識別子は、前記識別子と、前記識別子を前記記憶部に登録するときの受付時刻とを含み、
前記ジョブ実行要求に含まれる前記ジョブ識別子に対応する前記受付識別子が前記(n+1)番目の受付識別子として前記記憶部に登録されているとき、
前記ジョブ実行制御部は、
前記最大同時実行数zから同時実行数yを減算した数が、前記(n+1)以下である場合、前記記憶部に登録されている前記(n+1)番目の受付識別子の前記受付時刻を現在の時刻に更新し、前記ジョブ実行遅延通知を前記要求端末に送信する
ジョブ管理システム。
The job management system according to claim 2 ,
The reception identifier includes the identifier and a reception time when the identifier is registered in the storage unit,
When the reception identifier corresponding to the job identifier included in the job execution request is registered in the storage unit as the (n + 1) th reception identifier,
The job execution control unit
When the number obtained by subtracting the concurrent execution number y from the maximum concurrent execution number z is equal to or less than the (n + 1), the reception time of the (n + 1) th reception identifier registered in the storage unit is the current time. And a job management system that transmits the job execution delay notification to the requesting terminal.
請求項に記載のジョブ管理システムにおいて、
前記ジョブ実行制御部は、
前記記憶部に登録されている前記(n+1)番目の受付識別子の前記受付時刻から、現在の時刻までの時間が、所定時間を超えた場合、前記(n+1)番目の受付識別子を前記記憶部から削除する
ジョブ管理システム。
The job management system according to claim 3 .
The job execution control unit
When the time from the reception time of the (n + 1) th reception identifier registered in the storage unit to the current time exceeds a predetermined time, the (n + 1) th reception identifier is stored from the storage unit. The job management system to delete.
請求項のいずれかに記載のジョブ管理システムにおいて、
前記ジョブ実行制御部は、
前記ジョブ実行要求に含まれる前記ジョブが実行されるように前記使用可能なジョブ実行部を制御したとき、前記ジョブが実行されたことを表すジョブ実行開始通知を前記要求端末に送信する
ジョブ管理システム。
In the job management system according to any one of claims 1 to 4 ,
The job execution control unit
A job management system that transmits a job execution start notification indicating that the job has been executed to the requesting terminal when the usable job execution unit is controlled so that the job included in the job execution request is executed. .
請求項のいずれかに記載のジョブ管理システムにおいて、
前記記憶部に登録されている前記(n+1)個の受付識別子のうちの、前記n個の受付識別子に対応するジョブが実行されたとき、
前記ジョブ実行制御部は、
前記(n+1)番目の受付識別子が前記1番目の受付識別子として前記記憶部に登録され、前記1番目の受付識別子に対応するジョブが実行可能である場合、前記ジョブが実行可能であることを表すジョブ実行可能通知を前記要求端末に送信する
ジョブ管理システム。
In the job management system according to any one of claims 1 to 4 ,
When a job corresponding to the n reception identifiers of the (n + 1) reception identifiers registered in the storage unit is executed,
The job execution control unit
When the (n + 1) th reception identifier is registered in the storage unit as the first reception identifier and a job corresponding to the first reception identifier is executable, this indicates that the job is executable A job management system for transmitting a job executable notification to the requesting terminal.
請求項1〜のいずれかに記載のジョブ管理システムにおいて、
前記ジョブ識別子は、前記ジョブを識別するジョブ識別子と、前記要求端末を識別する端末識別子とを含む
ジョブ管理システム。
In the job management system according to any one of claims 1 to 6 ,
The job management system, wherein the job identifier includes a job identifier for identifying the job and a terminal identifier for identifying the requesting terminal.
請求項1〜7のいずれかに記載のジョブ管理システムに使用されるサーバ。 A server used in the job management system according to claim 1 . ネットワークを介して複数の端末に接続され、記憶部を備えたコンピュータを用いるジョブ管理方法であって、
現在実行されているジョブとして、それぞれ前記複数の端末のうちの端末群によるジョブ群を実行するステップと、ここで、前記複数の端末のうちの要求端末は、ジョブを前記コンピュータに実行させるとき、又は、前記ジョブが実行されないことを表すジョブ実行遅延通知を前記コンピュータから受信したとき、前記ジョブとジョブ識別子とを含むジョブ実行要求を前記コンピュータに送信し、
前記受付識別子が前記記憶部に登録されていないとき、
前記現在実行されているジョブの数を表す同時実行数y(yは、1≦y<Nを満たす整数)設定数として実行可能なジョブの数を表す最大同時実行数z(zは、1<z≦Nを満たす整数)に達している場合、
前記ジョブ実行要求を受信したときに、前記ジョブ実行要求に含まれる前記ジョブ識別子を受付識別子として前記記憶部に登録するステップと
前記ジョブ実行遅延通知を前記要求端末に送信するステップと、
前記同時実行数yが前記最大同時実行数zより小さい場合、前記ジョブ実行要求を受信したときに、又は、前記受付識別子に対応する前記ジョブ識別子を含む前記ジョブ実行要求を受信したときに、前記ジョブ実行要求に含まれる前記ジョブ実行されるように、N個のジョブ実行部のうちの前記ジョブ実行部群以外の使用可能なジョブ実行部を制御するステップと
前記ジョブ実行要求に含まれる前記ジョブ識別子に対応する前記受付識別子が前記記憶部に登録されていないが、現在実行待ちのジョブを識別する1番目からn番目(nは1以上の整数)までのn個の前記受付識別子が前記記憶部に登録されているとき、
前記最大同時実行数zから同時実行数yを減算した数が、n以下である場合、
前記ジョブ実行要求に含まれる前記ジョブ識別子を(n+1)番目の前記受付識別子として前記記憶部に登録するステップと、
前記ジョブ実行遅延通知を前記要求端末に送信するステップと、
前記最大同時実行数zから同時実行数yを減算した数が、前記nより大きい場合、前記ジョブ実行要求に含まれる前記ジョブが実行されるように、前記使用可能なジョブ実行部を制御するステップと
を含むジョブ管理方法。
A job management method using a computer connected to a plurality of terminals via a network and having a storage unit,
A step of executing a job group by a terminal group of the plurality of terminals as a currently executed job, and when a requesting terminal of the plurality of terminals causes the computer to execute a job, Alternatively, when a job execution delay notification indicating that the job is not executed is received from the computer, a job execution request including the job and a job identifier is transmitted to the computer,
When the acceptance identifier is not registered in the storage unit,
The concurrency y representing the number of the currently running job (y is an integer satisfying 1 ≦ y <N) is the maximum concurrent number z (z representing the number of jobs which can be run as a set number, 1 <integer satisfying z ≦ N)
When receiving the job execution request, registering the job identifier included in the job execution request as a reception identifier in the storage unit;
Sending the job execution delay notification to the requesting terminal;
When the concurrent execution number y is smaller than the maximum concurrent execution number z, when the job execution request is received or when the job execution request including the job identifier corresponding to the reception identifier is received, Controlling usable job execution units other than the job execution unit group among the N job execution units so that the job included in the job execution request is executed ;
Although the reception identifier corresponding to the job identifier included in the job execution request is not registered in the storage unit, the first to nth (n is an integer equal to or greater than 1) identifying a job that is currently waiting to be executed When the n reception identifiers are registered in the storage unit,
When the number obtained by subtracting the concurrent execution number y from the maximum concurrent execution number z is n or less,
Registering the job identifier included in the job execution request as the (n + 1) th reception identifier in the storage unit;
Sending the job execution delay notification to the requesting terminal;
Controlling the usable job execution unit so that the job included in the job execution request is executed when the number obtained by subtracting the simultaneous execution number y from the maximum simultaneous execution number z is larger than the n. And <br/> job management method.
請求項に記載のジョブ管理方法の各ステップを前記コンピュータに実行させるコンピュータプログラム。 A computer program for causing a computer to execute each step of the job management method according to claim 9 .
JP2006160061A 2006-06-08 2006-06-08 Job management system Expired - Fee Related JP4336763B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006160061A JP4336763B2 (en) 2006-06-08 2006-06-08 Job management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006160061A JP4336763B2 (en) 2006-06-08 2006-06-08 Job management system

Publications (2)

Publication Number Publication Date
JP2007328618A JP2007328618A (en) 2007-12-20
JP4336763B2 true JP4336763B2 (en) 2009-09-30

Family

ID=38929036

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006160061A Expired - Fee Related JP4336763B2 (en) 2006-06-08 2006-06-08 Job management system

Country Status (1)

Country Link
JP (1) JP4336763B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5955385B2 (en) * 2012-06-12 2016-07-20 三菱電機株式会社 Information processing system
JP2020024636A (en) * 2018-08-08 2020-02-13 株式会社Preferred Networks Scheduling device, scheduling system, scheduling method and program

Also Published As

Publication number Publication date
JP2007328618A (en) 2007-12-20

Similar Documents

Publication Publication Date Title
CN100533387C (en) System and method for executing job step
US8239868B2 (en) Computer system, servers constituting the same, and job execution control method and program
US20090165003A1 (en) System and method for allocating communications to processors and rescheduling processes in a multiprocessor system
JP2004038758A (en) Storage controller, control method for storage controller, and program
EP3114589B1 (en) System and method for massively parallel processing database
JP2002073576A (en) Batch job control system
JP2008152618A (en) Job assignment program, method and device
US9537940B2 (en) Exchange of information between processing servers
WO2014133630A1 (en) Apparatus and method for handling partially inconsistent states among members of a cluster in an erratic storage network
JP4336763B2 (en) Job management system
JP2007328413A (en) Method for distributing load
US20060242258A1 (en) File sharing system, file sharing program, management server and client terminal
US8869171B2 (en) Low-latency communications
US20230393782A1 (en) Io request pipeline processing device, method and system, and storage medium
JP4140014B2 (en) Client server system and data processing method of client server system
JP4151330B2 (en) I / O control method for network file system
JP2000259591A (en) Distributed processing job execution method and network system
JPH076110A (en) Method for reducing communication overhead in distributed processing system
JP5390947B2 (en) Job management system, job management apparatus and program thereof
US20230333886A1 (en) Method and system for processing a manifest to provision an application in a distributed multi-tiered computing environment
US8804173B2 (en) Apparatus management device and method for merging additional information identifiers into information acquisition requests
JP2004348233A (en) File sharing system, server, and program
WO2007108133A1 (en) Multi-processing method and multi-processing system
JP4877526B2 (en) Client server system and data processing method of client server system
JP2007317038A (en) Automated general purpose control system, control apparatus, automated general purpose control method, automated general purpose control apparatus, program and recording medium

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090127

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090323

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090520

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090602

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120710

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130710

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees