JP2010286931A - System, device and program for mkanaging job - Google Patents

System, device and program for mkanaging job Download PDF

Info

Publication number
JP2010286931A
JP2010286931A JP2009138743A JP2009138743A JP2010286931A JP 2010286931 A JP2010286931 A JP 2010286931A JP 2009138743 A JP2009138743 A JP 2009138743A JP 2009138743 A JP2009138743 A JP 2009138743A JP 2010286931 A JP2010286931 A JP 2010286931A
Authority
JP
Japan
Prior art keywords
job
execution
unit
request
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2009138743A
Other languages
Japanese (ja)
Other versions
JP5390947B2 (en
Inventor
Shinya Takeuchi
真也 竹内
Minsok Hwang
▲民▼錫 黄
Yutaka Kaneko
金子  豊
Yoshinori Izumi
吉則 和泉
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.)
Japan Broadcasting Corp
Original Assignee
Nippon Hoso Kyokai NHK
Japan Broadcasting 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 Nippon Hoso Kyokai NHK, Japan Broadcasting Corp filed Critical Nippon Hoso Kyokai NHK
Priority to JP2009138743A priority Critical patent/JP5390947B2/en
Publication of JP2010286931A publication Critical patent/JP2010286931A/en
Application granted granted Critical
Publication of JP5390947B2 publication Critical patent/JP5390947B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a job management technology for shortening the processing time of a job. <P>SOLUTION: The job management system 1 includes a user terminal 10 for requiring execution of the job, process servers 30a-30c including processes 33a-33c which can execute the job, and a job management device 20 that determines the processes 33a-33c for executing the job and makes the processes 33a-33c execute the job. When the processes 33a-33c which can execute the job are started, the job is executed by the already started processes 33a-33c. When the processes 33a-33c which can execute the job are not started, the job is executed by starting the processes 33a-33c. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は、グリッドコンピューティングシステムにおいて、ジョブを実行するプロセスを決定するジョブ管理技術に関する。   The present invention relates to a job management technique for determining a process for executing a job in a grid computing system.

従来から、ネットワークで接続されたコンピュータ同士を統合して利用するグリッドコンピューティングシステムが提案されている。このグリッドコンピューティングシステムは、ネットワーク上の複数のコンピュータ同士で演算装置、記憶装置等のハードウェア資源を共有すると共に、多数のプロセスでジョブを並列に実行することで、1台の大規模な仮想コンピュータとして,ジョブを実行する仕組みである。   Conventionally, a grid computing system that integrates and uses computers connected via a network has been proposed. In this grid computing system, a plurality of computers on a network share hardware resources such as an arithmetic device and a storage device, and execute a job in parallel in a large number of processes. This is a mechanism for executing jobs as a computer.

このグリッドコンピューティングシステムでは、ジョブ管理装置が、システムに要求されたジョブの実行順序を決定し、ジョブを実行するプロセスを割り当てる。そして、ジョブは、割り当てられたプロセスによって実行される。ここで、コンピュータの負荷状態等に応じてプロセスを割り当てるスケジューリングが重要となる。このため、従来から、スケジューリングに関する技術が提案されている(例えば、特許文献1〜3参照)。   In this grid computing system, the job management apparatus determines the execution order of jobs requested of the system and assigns a process for executing the job. The job is executed by the assigned process. Here, scheduling for assigning processes according to the load state of the computer is important. For this reason, conventionally, techniques related to scheduling have been proposed (see, for example, Patent Documents 1 to 3).

特表05/091137号公報Special table 05/091137 特開2007−226280号公報JP 2007-226280 A 特開2008−77281号公報JP 2008-77281 A

しかし、特許文献1〜3に記載のスケジューリング技術では、以下のような問題がある。これら従来技術においては、クライアントがグリッドコンピューティングシステムに対して、ジョブの実行を要求すると、ジョブ管理装置が、ジョブの実行に用いるプロセスを決定し、ジョブを実行するプロセスのサーバの割り当てを行い、割り当てされたサーバがプロセスの起動を行って、データを処理し、データの処理が終わるとプロセスを終了させる。そして、一旦プロセスが終了し、次のジョブの実行が要求された場合、前のプロセスの割り当てに関係なく、ジョブ管理装置は、ジョブを実行するプロセスのサーバの割り当てを再度行う。このため、これら従来技術では、同じプロセスあるいは同じ機能を持ったプロセスを用いてジョブの実行する場合、ジョブ割り当てやプロセスの起動をその都度行うことになり、ジョブの処理時間が長くなってしまう。   However, the scheduling techniques described in Patent Documents 1 to 3 have the following problems. In these conventional techniques, when a client requests the grid computing system to execute a job, the job management apparatus determines a process to be used for executing the job, assigns a server for the process to execute the job, The assigned server starts the process, processes the data, and terminates the process when the data processing is completed. Once the process is finished and the execution of the next job is requested, the job management apparatus again assigns the server of the process that executes the job regardless of the previous process assignment. For this reason, in these conventional techniques, when a job is executed using the same process or a process having the same function, job assignment and process activation are performed each time, and the processing time of the job becomes long.

そこで、本発明は、ジョブの処理時間の短縮するジョブ管理システム、ジョブ管理装置及びそのプログラムを提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides a job management system, a job management apparatus, and a program for reducing the job processing time.

前記した課題を解決するため、本願第1発明に係るジョブ管理システムは、ジョブの実行を要求するユーザ端末と、ジョブを実行可能なプロセスを備えるプロセスサーバと、ジョブを実行するプロセスを決定してプロセスにジョブを実行させるジョブ管理装置と、を備えることを特徴とする。   In order to solve the above-described problem, a job management system according to the first invention of the present application determines a user terminal that requests execution of a job, a process server that includes a process that can execute the job, and a process that executes the job. And a job management apparatus that causes a process to execute a job.

かかる構成によれば、ユーザ端末は、ジョブ実行要求手段によって、外部からジョブ実行指令が入力されたとき、ジョブの実行を要求する。また、ジョブ管理装置は、プロセス管理手段によって、少なくともプロセスが起動しているか否かを示すプロセス情報を記憶する。そして、ジョブ管理装置は、ジョブ管理手段によって、ユーザ端末からジョブの実行を要求されたとき、ジョブを実行可能なプロセスが起動していれば、プロセスを起動しないと判定すると共に、ジョブを実行可能なプロセスが起動していなければ、プロセスの起動が必要と判定する。   According to such a configuration, the user terminal requests execution of a job when a job execution command is input from the job execution request unit. Further, the job management apparatus stores process information indicating whether or not at least the process is activated by the process management unit. When the job management unit requests the user terminal to execute the job, if the process capable of executing the job is activated, the job management unit determines that the process is not activated and can execute the job. If no process is active, it is determined that the process needs to be started.

また、ジョブ管理装置は、プロセス決定手段が、ジョブ管理手段によってプロセスの起動が必要と判定されたとき、プロセス情報を参照し、ジョブを実行するプロセスを所定のプロセス決定アルゴリズムによって決定する。そして、ジョブ管理装置は、プロセス起動要求手段によって、プロセスサーバに、プロセス決定手段が決定したプロセスの起動を要求する。さらに、ジョブ管理装置は、ジョブ実行要求手段によって、プロセスサーバに、既に起動しているプロセス又はプロセス起動要求手段の要求によって起動したプロセスを用いて、ジョブの実行を要求する。   In addition, when the process determining unit determines that the process needs to be started by the job managing unit, the job management apparatus refers to the process information and determines a process to execute the job by a predetermined process determination algorithm. Then, the job management apparatus requests the process server to start the process determined by the process determination unit by the process start request unit. Furthermore, the job management apparatus requests the process server to execute the job by using the process that has already been started or the process that has been started by the request of the process start request means.

これによって、ジョブ管理システムは、ジョブを実行可能なプロセスが既に起動しているとき、新たにプロセスを起動することなく、既に起動したプロセスでジョブを実行する。従って、ジョブ管理システムは、ジョブを実行可能なプロセスが既に起動しているとき、そのプロセスを起動する時間を節約できる。   As a result, when a process capable of executing a job has already started, the job management system executes the job with the already started process without starting a new process. Therefore, when a process capable of executing a job is already activated, the job management system can save time for starting the process.

ジョブとは、コンピュータに処理を行わせる単位であり、例えば、データ処理(画像処理、検索処理、印刷処理)、通信処理、記憶手段への書き込み処理や読出し処理がある。
プロセスとは、プロセスサーバのプログラムを実行することで生成されるものである。つまり、プロセスサーバでは、メモリ領域等のハードウェア資源をプロセスに割り当ておき、実行中のプログラムをプロセスとして管理する。ここで、1個のジョブを1個のプロセスだけで実行する必要はなく、1個のジョブを2個以上のプロセスで実行しても良い。
ジョブの処理時間とは、プロセスがジョブを実行する時間だけでなく、ジョブを実行するプロセスの決定、起動、及び、終了までの時間を含めたものである。
A job is a unit that causes a computer to perform processing, and includes, for example, data processing (image processing, search processing, printing processing), communication processing, writing processing to a storage unit, and reading processing.
A process is generated by executing a process server program. In other words, the process server allocates hardware resources such as a memory area to a process and manages the program being executed as a process. Here, one job need not be executed by only one process, and one job may be executed by two or more processes.
The job processing time includes not only the time for the process to execute the job but also the time until the determination, activation, and end of the process for executing the job.

また、前記した課題を解決するため、本願第2発明に係るジョブ管理装置は、ジョブの実行を要求するユーザ端末とジョブを実行可能なプロセスを備えるプロセスサーバとを含むグリッドコンピューティングシステムに用いられ、ジョブを実行するプロセスを決定してプロセスにジョブを実行させるジョブ管理装置であって、プロセス管理手段と、ジョブ管理手段と、プロセス決定手段と、プロセス起動要求手段と、ジョブ実行要求手段と、を備えることを特徴とする。   In order to solve the above-described problem, the job management apparatus according to the second invention of the present application is used in a grid computing system including a user terminal that requests execution of a job and a process server that includes a process that can execute the job. A job management apparatus for determining a process to execute a job and causing the process to execute a job, the process management means, the job management means, the process determination means, the process activation request means, the job execution request means, It is characterized by providing.

かかる構成によれば、ジョブ管理装置は、プロセス管理手段によって、少なくともプロセスが起動しているか否かを示すプロセス情報を記憶する。そして、ジョブ管理装置は、ジョブ管理手段によって、ユーザ端末からジョブの実行を要求されたとき、ジョブを実行可能なプロセスが起動していれば、プロセスを起動しないと判定すると共に、ジョブを実行可能なプロセスが起動していなければ、プロセスの起動が必要と判定する。   According to such a configuration, the job management apparatus stores process information indicating whether or not the process is at least activated by the process management unit. When the job management unit requests the user terminal to execute the job, if the process capable of executing the job is activated, the job management unit determines that the process is not activated and can execute the job. If no process is active, it is determined that the process needs to be started.

また、ジョブ管理装置は、プロセス決定手段が、ジョブ管理手段によってプロセスの起動が必要と判定されたとき、プロセス情報を参照し、ジョブを実行するプロセスを所定のプロセス決定アルゴリズムによって決定する。そして、ジョブ管理装置は、プロセス起動要求手段によって、プロセスサーバに、プロセス決定手段が決定したプロセスの起動を要求する。さらに、ジョブ管理装置は、ジョブ実行要求手段によって、プロセスサーバに、既に起動しているプロセス又はプロセス起動要求手段の要求によって起動したプロセスを用いて、ジョブの実行を要求する。   In addition, when the process determining unit determines that the process needs to be started by the job managing unit, the job management apparatus refers to the process information and determines a process to execute the job by a predetermined process determination algorithm. Then, the job management apparatus requests the process server to start the process determined by the process determination unit by the process start request unit. Furthermore, the job management apparatus requests the process server to execute the job by using the process that has already been started or the process that has been started by the request of the process start request means.

これによって、ジョブ管理装置は、ジョブを実行可能なプロセスが既に起動しているとき、新たにプロセスを起動することなく、既に起動したプロセスでジョブを実行する。従って、ジョブ管理装置は、ジョブを実行可能なプロセスが既に起動しているとき、そのプロセスを起動する時間を節約できる。   As a result, when a process capable of executing a job is already started, the job management apparatus executes the job with the already started process without starting a new process. Therefore, when a process capable of executing a job is already started, the job management apparatus can save time for starting the process.

また、本願第3発明に係るジョブ管理装置は、ジョブ管理手段が、ユーザ端末からジョブの終了を要求されたとき、ジョブを実行したプロセスを終了すると判定し、プロセス決定手段が、ジョブ管理手段がプロセスを終了すると判定したとき、プロセス情報を参照して終了するプロセスを決定し、プロセスサーバに、プロセス決定手段が決定したプロセスの終了を要求するプロセス終了要求手段を備えることを特徴とする。   The job management apparatus according to the third invention of the present application determines that the job management means terminates the process that executed the job when the job termination is requested from the user terminal, and the process determination means When it is determined that the process is to be terminated, a process termination request unit that determines the process to be terminated with reference to the process information and requests the process server to terminate the process determined by the process determination unit is provided.

かかる構成によれば、ジョブ管理装置は、ユーザ端末からジョブの終了の要求がされるまで、プロセスを起動させておく。これによって、ジョブ管理装置は、例えば、同一のユーザ端末から一定間隔で同一のジョブの実行が複数回要求されるとき、ジョブを実行する毎に、新たなプロセスの起動とそのプロセスの終了とを繰り返す必要がない。従って、ジョブ管理装置は、プロセスを起動する時間とそのプロセスを終了する時間とを大幅に節約できる。   According to this configuration, the job management apparatus activates the process until a job termination request is issued from the user terminal. Thus, for example, when the same user terminal requests execution of the same job multiple times at regular intervals, each time the job is executed, a new process is started and the process is terminated. There is no need to repeat. Therefore, the job management apparatus can greatly save time for starting a process and time for ending the process.

また、前記した課題を解決するため、本願第4発明に係るジョブ管理プログラムは、ジョブの実行を要求するユーザ端末と、ジョブを実行可能なプロセスを備えるプロセスサーバとを含むグリッドコンピューティングシステムに用いられ、ジョブを実行するプロセスを決定してプロセスにジョブを実行させるために、少なくともプロセスが起動しているか否かを示すプロセス情報を記憶するプロセス管理手段を備えるコンピュータを、ジョブ管理手段、プロセス決定手段、プロセス起動要求手段、ジョブ実行要求手段、として機能させる。   In order to solve the above-described problem, the job management program according to the fourth invention of the present application is used in a grid computing system including a user terminal that requests job execution and a process server that includes a process that can execute the job. In order to determine a process for executing a job and cause the process to execute the job, at least a computer having process management means for storing process information indicating whether or not the process is running is determined. Means, process activation request means, and job execution request means.

かかる構成によれば、ジョブ管理プログラムは、ジョブ管理手段によって、ユーザ端末からジョブの実行を要求されたとき、ジョブを実行可能なプロセスが起動していれば、プロセスを起動しないと判定すると共に、ジョブを実行可能なプロセスが起動していなければ、プロセスの起動が必要と判定する。   According to such a configuration, the job management program determines that the process is not started if a process capable of executing the job is activated when the job management unit requests execution of the job from the user terminal. If the process that can execute the job is not started, it is determined that the process needs to be started.

また、ジョブ管理プログラムは、プロセス決定手段が、ジョブ管理手段によってプロセスの起動が必要と判定されたとき、プロセス情報を参照し、ジョブを実行するプロセスを所定のプロセス決定アルゴリズムによって決定する。そして、ジョブ管理プログラムは、プロセス起動要求手段によって、プロセスサーバに、プロセス決定手段が決定したプロセスの起動を要求する。さらに、ジョブ管理プログラムは、ジョブ実行要求手段によって、プロセスサーバに、既に起動しているプロセス又はプロセス起動要求手段の要求によって起動したプロセスを用いて、ジョブの実行を要求する。   In addition, the job management program refers to the process information when the process determining unit determines that the process needs to be started by the job managing unit, and determines a process for executing the job by a predetermined process determining algorithm. Then, the job management program requests the process server to start the process determined by the process determination unit by the process start request unit. Further, the job management program requests the execution of the job by the job execution requesting means using the process already started or the process started by the request of the process starting requesting means.

これによって、ジョブ管理プログラムは、ジョブを実行可能なプロセスが既に起動しているとき、新たにプロセスを起動することなく、既に起動したプロセスでジョブを実行する。従って、ジョブ管理プログラムは、ジョブを実行可能なプロセスが既に起動しているとき、そのプロセスを起動する時間を節約できる。   As a result, when a process capable of executing a job is already activated, the job management program executes the job with the already activated process without newly activating the process. Therefore, when a process capable of executing a job is already started, the job management program can save time for starting the process.

本発明によれば、以下のような優れた効果を奏する。
本願第1,2,4に係る発明によれば、ジョブを実行可能なプロセスが既に起動しているとき、そのプロセスを起動する時間を節約でき、ジョブの処理時間を短縮することができる。
本願第3に係る発明によれば、同一のジョブを繰り返し実行する場合、プロセスを起動する時間とそのプロセスを終了する時間とを大幅に節約でき、ジョブの処理時間をより短縮することができる。
According to the present invention, the following excellent effects can be obtained.
According to the first, second, and fourth aspects of the present invention, when a process capable of executing a job is already started, the time for starting the process can be saved, and the job processing time can be shortened.
According to the third aspect of the present invention, when the same job is repeatedly executed, the time for starting the process and the time for ending the process can be greatly saved, and the job processing time can be further shortened.

本発明の第1実施形態に係るジョブ管理システムの構成を示すブロック図である。1 is a block diagram illustrating a configuration of a job management system according to a first embodiment of the present invention. 図1のジョブ管理装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the job management apparatus in FIG. 1. 図1のジョブ管理装置の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the job management apparatus in FIG. 1. 図1のジョブ管理システムの動作例1を示すシーケンス図である。It is a sequence diagram which shows the operation example 1 of the job management system of FIG. 図1のジョブ管理システムの動作例2を示すシーケンス図である。FIG. 6 is a sequence diagram illustrating an operation example 2 of the job management system in FIG. 1. 図1のジョブ管理システムの動作例3を示すシーケンス図である。FIG. 10 is a sequence diagram illustrating an operation example 3 of the job management system in FIG. 1.

以下、本発明の実施形態について、適宜図面を参照しながら詳細に説明する。なお、各実施形態において、同一の機能を有する手段には同一の符号を付し、説明を省略した。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings as appropriate. In each embodiment, means having the same function are denoted by the same reference numerals and description thereof is omitted.

(第1実施形態)
以下、図1を参照して、本発明の第1実施形態に係るジョブ管理システムを説明する。ジョブ管理システム1は、グリッドコンピューティングシステムにより、プロセスサーバ30a〜30cが、ユーザ端末10から要求されたジョブを実行するものである。図1に示すように、ジョブ管理システム1は、ユーザ端末10と、ジョブ管理装置20と、プロセスサーバ30a〜30cとが、インターネット、LAN(Local Area Network)等のネットワークNWを介して接続されている。
(First embodiment)
The job management system according to the first embodiment of the present invention will be described below with reference to FIG. In the job management system 1, the process servers 30 a to 30 c execute jobs requested from the user terminal 10 by the grid computing system. As shown in FIG. 1, a job management system 1 includes a user terminal 10, a job management apparatus 20, and process servers 30a to 30c connected via a network NW such as the Internet or a LAN (Local Area Network). Yes.

ここで、ジョブ管理システム1では、例えば、ユーザがユーザ端末10を用いて映像データを制作し、この映像データをファイルとして保存する。その後、ジョブ管理システム1では、このファイルの一部映像データ(映像データにおける特定のカット)に画像処理を施すジョブを、プロセスサーバ30a〜30cのプロセス33a〜33cで実行する。   Here, in the job management system 1, for example, a user creates video data using the user terminal 10 and stores the video data as a file. Thereafter, in the job management system 1, a job for performing image processing on a part of the video data (a specific cut in the video data) of the file is executed by the processes 33a to 33c of the process servers 30a to 30c.

ジョブとは、コンピュータに処理を行わせる単位であり、本実施形態では、画像処理のジョブとして説明する。
プロセス33a〜33cとは、プロセスサーバ30a〜30cのプログラム(不図示)を実行することで生成される。なお、プロセス33a〜33cの詳細は、後記する。
A job is a unit that causes a computer to perform processing. In the present embodiment, a job is described as an image processing job.
The processes 33a to 33c are generated by executing a program (not shown) of the process servers 30a to 30c. Details of the processes 33a to 33c will be described later.

[ユーザ端末の構成]
以下、ユーザ端末10の構成について、説明する。
ユーザ端末10は、ジョブの実行と、ジョブの終了とをジョブ管理装置20に要求するものであり、ジョブ実行・終了入力手段11と、ジョブ実行・終了要求手段12とを備える。例えば、ユーザ端末10は、映像制作アプリケーション(不図示)がインストールされたコンピュータである。
[User terminal configuration]
Hereinafter, the configuration of the user terminal 10 will be described.
The user terminal 10 requests the job management apparatus 20 to execute a job and end the job, and includes a job execution / end input unit 11 and a job execution / end request unit 12. For example, the user terminal 10 is a computer in which a video production application (not shown) is installed.

ジョブ実行・終了入力手段11は、ユーザが、ジョブの実行を示すジョブ実行指令と、ジョブの終了を示すジョブ終了指令とを入力するものである。本実施形態では、ジョブ実行・終了入力手段11は、例えば、映像制作アプリケーションの一部機能として実現される。   The job execution / end input means 11 is used by the user to input a job execution command indicating job execution and a job end command indicating job end. In the present embodiment, the job execution / end input unit 11 is realized as a partial function of a video production application, for example.

ここで、例えば、ジョブを実行したい場合、ユーザは、映像制作アプリケーションで制作した映像データをファイルとして保存し、これを予めプロセスサーバ30aの記憶手段34aに書き込む。その後、ユーザは、マウス、キーボード等の操作手段(不図示)を操作して映像制作アプリケーションのジョブ実行アイコンをクリックする。すると、ジョブ実行・終了入力手段11は、ジョブ実行指令をジョブ実行・終了要求手段12に出力する。また、例えば、ジョブを終了したい場合、ユーザは、操作手段を操作して、映像制作アプリケーションのジョブ終了アイコンをクリックする。すると、ジョブ実行・終了入力手段11は、ジョブ終了指令をジョブ実行・終了要求手段12に出力する。もし、同じジョブを複数回実行する場合、ユーザは、全てのジョブを終了したときに、映像制作アプリケーションのジョブ終了アイコンをクリックする。   Here, for example, when executing a job, the user saves the video data produced by the video production application as a file and writes it in the storage means 34a of the process server 30a in advance. Thereafter, the user operates an operation means (not shown) such as a mouse and a keyboard to click a job execution icon of the video production application. Then, the job execution / end input means 11 outputs a job execution command to the job execution / end request means 12. Also, for example, when the user wants to end the job, the user operates the operation means and clicks the job end icon of the video production application. Then, the job execution / end input means 11 outputs a job end command to the job execution / end request means 12. If the same job is executed a plurality of times, the user clicks the job end icon of the video production application when all the jobs are completed.

ジョブ実行・終了要求手段12は、ジョブ実行・終了入力手段11からジョブ実行指令が入力されたとき、ジョブの実行を要求するジョブ実行要求をジョブ管理装置20に出力するものである。また、ジョブ実行・終了要求手段12は、ジョブ実行・終了入力手段11からジョブ終了指令が入力されたとき、ジョブの終了を要求するジョブ終了要求をジョブ管理装置20に出力する。ここで、本実施形態では、ジョブ実行・終了要求手段12は、例えば、映像制作アプリケーションの一部機能として実現される。なお、ジョブ実行・終了要求手段12が、請求項に記載のジョブ実行手段に相当する。   The job execution / end request unit 12 outputs a job execution request for requesting job execution to the job management apparatus 20 when a job execution command is input from the job execution / end input unit 11. The job execution / end request unit 12 outputs a job end request for requesting job end to the job management apparatus 20 when a job end command is input from the job execution / end input unit 11. Here, in the present embodiment, the job execution / end request unit 12 is realized as a partial function of a video production application, for example. The job execution / end request unit 12 corresponds to the job execution unit described in the claims.

ここで、ジョブ実行・終了要求手段12は、ジョブ実行要求に、ジョブの実行に必要となる情報を含めても良い。例えば、ジョブ実行要求は、実行を要求するジョブの識別子、このジョブの種類、このジョブの対象となるファイルの名称、このファイルを格納したサーバの名称、このファイルを格納するサーバの名称、ジョブの実行結果を出力するサーバ名称、及び、ネットワークNWでのユーザ端末10のアドレス(IPアドレス)を含む。また、画像処理を施すジョブの場合、ジョブ実行要求には、ジョブの対象となる映像データの範囲を指定するタイムコード(例えば、10:00:00:00〜10:00:13:10)や、画像処理に必要となる画像処理パラメータ(例えば、色変換の数値、ワイプ処理におけるワイプ方向)を含めても良い。これらジョブの実行に必要となる情報は、ユーザ又はシステム管理者によって、予め設定される。   Here, the job execution / end request unit 12 may include information necessary for job execution in the job execution request. For example, the job execution request includes the identifier of the job that requests execution, the type of this job, the name of the file that is the target of this job, the name of the server that stores this file, the name of the server that stores this file, The server name that outputs the execution result and the address (IP address) of the user terminal 10 in the network NW are included. In the case of a job to be subjected to image processing, the job execution request includes a time code (for example, 10: 00: 00: 00 to 10: 00: 13: 10) for designating a range of video data as a job target. Image processing parameters necessary for image processing (for example, numerical values for color conversion, wipe direction in wipe processing) may be included. Information necessary for executing these jobs is set in advance by a user or a system administrator.

また、ジョブ実行・終了要求手段12は、ジョブ終了要求に、ジョブの終了に必要となる情報を含めても良い。例えば、ジョブ終了要求は、終了を要求するジョブの識別子、このジョブの種類、及び、ネットワークNWでのユーザ端末10のアドレスを含む。なお、図1では、1台のユーザ端末10を図示したが、ユーザ端末10が複数でも良いことは言うまでもない。   Further, the job execution / end request unit 12 may include information necessary for job end in the job end request. For example, the job end request includes the identifier of the job requesting the end, the type of the job, and the address of the user terminal 10 in the network NW. In FIG. 1, one user terminal 10 is illustrated, but it goes without saying that a plurality of user terminals 10 may be provided.

[ジョブ管理装置の構成]
ジョブ管理装置20は、ユーザ端末10からジョブ実行要求が入力されたとき、ジョブを実行するプロセスを決定してプロセスにジョブを実行させるものである。また、ジョブ管理装置20は、ユーザ端末10からジョブ終了要求が入力されたとき、ジョブを実行したプロセスを終了する。図1に示すように、ジョブ管理装置20は、プロセス管理手段21と、ジョブ管理手段22と、プロセス決定手段23と、プロセス起動・終了要求手段24と、ジョブ実行要求手段25とを備える。
[Configuration of Job Management Device]
When a job execution request is input from the user terminal 10, the job management apparatus 20 determines a process for executing a job and causes the process to execute the job. Further, when a job end request is input from the user terminal 10, the job management apparatus 20 ends the process that executed the job. As shown in FIG. 1, the job management apparatus 20 includes a process management unit 21, a job management unit 22, a process determination unit 23, a process start / end request unit 24, and a job execution request unit 25.

プロセス管理手段21は、プロセスサーバ30a〜30cのプロセス33a〜33c毎に、少なくともプロセス33a〜33cが起動しているか否かを示すプロセス情報を記憶するメモリ、ハードディスク等の記憶手段である。例えば、プロセス情報は、プロセス33a〜33cの起動又は停止を示すステータス、プロセス33a〜33cが何れのジョブを実行したかを示すジョブの識別子、プロセス33a〜33cが実行可能なジョブの種類を示すプロセス種類を有する。さらに、プロセス情報は、CPU時間、メモリ使用量、ネットワーク負荷率等のプロセスサーバ30a〜30cの負荷情報を含んでも良い。なお、このプロセス情報は、プロセスサーバ30a〜30cによって一定間隔(例えば、10秒間隔)で更新される。   The process management unit 21 is a storage unit such as a memory or a hard disk that stores process information indicating whether or not at least the processes 33a to 33c are activated for each of the processes 33a to 33c of the process servers 30a to 30c. For example, the process information includes a status indicating start or stop of the processes 33a to 33c, a job identifier indicating which job the processes 33a to 33c executed, and a process indicating the type of job that can be executed by the processes 33a to 33c. Have kind. Further, the process information may include load information of the process servers 30a to 30c such as CPU time, memory usage, and network load factor. The process information is updated at regular intervals (for example, every 10 seconds) by the process servers 30a to 30c.

ジョブ管理手段22は、ユーザ端末10からジョブ実行要求が入力されたとき、プロセス管理手段21のプロセス情報を参照し、プロセス33a〜33cを起動するか否かを判定するものである。以下、図2,図3を参照して、ジョブ実行要求が入力された場合と、ジョブ終了要求が入力された場合とに分けて、ジョブ管理手段22の詳細を説明する。なお、説明のために、ジョブ実行要求が入力されたときの信号入出力を示す図2と、ジョブ終了要求が入力されたときの信号入出力を示す図3とに分けて図示しており、図2及び図3のジョブ管理手段22は同一のものである。   When a job execution request is input from the user terminal 10, the job management unit 22 refers to the process information of the process management unit 21 and determines whether to start the processes 33 a to 33 c. The details of the job management unit 22 will be described below with reference to FIGS. 2 and 3 separately for a case where a job execution request is input and a case where a job end request is input. For the sake of explanation, FIG. 2 showing signal input / output when a job execution request is input and FIG. 3 showing signal input / output when a job end request is input are shown separately. The job management means 22 in FIGS. 2 and 3 are the same.

<ジョブ管理手段の詳細:ジョブ実行要求入力時>
図2に示すように、ジョブ管理手段22は、ジョブ実行要求入力部221と、プロセス制御指令部222と、プロセス起動・終了指令部223と、ジョブ実行指令部224と、ジョブ終了要求入力部225とを備える。
<Details of job management means: When a job execution request is input>
As shown in FIG. 2, the job management unit 22 includes a job execution request input unit 221, a process control command unit 222, a process start / end command unit 223, a job execution command unit 224, and a job end request input unit 225. With.

ジョブ実行要求入力部221は、ユーザ端末10からジョブ実行要求が入力されると共に、入力されたジョブ実行要求を、プロセス制御指令部222に出力するものである。   The job execution request input unit 221 receives a job execution request from the user terminal 10 and outputs the input job execution request to the process control command unit 222.

プロセス制御指令部222は、ジョブ実行要求入力部221からジョブ実行要求が入力された場合、プロセス情報を参照し、そのジョブを実行可能なプロセス33a〜33cが起動しているか否かを判定する。ここで、前記したように、プロセス情報には、プロセス33a〜33cの起動又は停止を示すステータスや、プロセス33a〜33cが実行可能なジョブの種類が含まれている。また、前記したように、ジョブ実行要求には、実行を要求するジョブの種類が含まれている。従って、プロセス制御指令部222は、プロセス情報とジョブ実行要求とを参照(つまり、プロセス情報とジョブ実行要求とに含まれるジョブの種類が一致するか否かを判定)することで、ジョブを実行可能なプロセス33a〜33cが起動しているか否かを判定できる。   When a job execution request is input from the job execution request input unit 221, the process control command unit 222 refers to the process information and determines whether or not the processes 33 a to 33 c that can execute the job are activated. Here, as described above, the process information includes the status indicating the start or stop of the processes 33a to 33c and the types of jobs that can be executed by the processes 33a to 33c. Further, as described above, the job execution request includes the type of job requesting execution. Therefore, the process control command unit 222 executes the job by referring to the process information and the job execution request (that is, determining whether or not the job types included in the process information and the job execution request match). It is possible to determine whether or not possible processes 33a to 33c are activated.

ここで、ジョブの実行に必要なプロセス33a〜33cが起動していない場合、プロセス制御指令部222は、プロセス33a〜33cの起動が必要と判定する。この判定結果に応じて、プロセス制御指令部222は、ジョブの実行に必要なプロセス33a〜33cの決定を要求するプロセス決定要求を、プロセス決定手段23に出力する。例えば、プロセス決定要求は、実行を要求するジョブの識別子、及び、このジョブの種類を含む。   Here, when the processes 33a to 33c necessary for job execution are not activated, the process control command unit 222 determines that the processes 33a to 33c need to be activated. In accordance with the determination result, the process control command unit 222 outputs a process determination request for requesting determination of the processes 33a to 33c necessary for job execution to the process determination unit 23. For example, the process determination request includes an identifier of a job requesting execution and the type of the job.

そして、このプロセス決定要求が入力された場合、プロセス決定手段23は、プロセス制御指令部222にプロセス決定応答を出力する。このプロセス決定応答は、新たに起動するプロセス33a〜33cを示す情報であり、例えば、実行を要求するジョブの識別子、このジョブの種類、及び、新たに起動すべきプロセス33a〜33の識別子を含む。そして、プロセス制御指令部222は、新たに起動すべきプロセス33a〜33cの識別子を含むプロセス決定応答と、ジョブ実行要求とをプロセス起動・終了指令部223に出力する。なお、プロセス決定手段23の詳細は、後記する。   When this process determination request is input, the process determination unit 23 outputs a process determination response to the process control command unit 222. This process determination response is information indicating the newly activated processes 33a to 33c, and includes, for example, the identifier of the job requesting execution, the type of the job, and the identifier of the process 33a to 33 to be newly activated. . Then, the process control command unit 222 outputs a process determination response including the identifiers of the processes 33a to 33c to be newly started and a job execution request to the process start / end command unit 223. Details of the process determining means 23 will be described later.

一方、ジョブを実行可能なプロセス33a〜33cが起動している場合、プロセス制御指令部222は、プロセス33a〜33cを起動しないと判定する。この判定結果に応じて、プロセス制御指令部222は、既に起動されているプロセス33a〜33cを用いてジョブの実行を要求するジョブ実行要求をジョブ実行指令部224に出力する。   On the other hand, when the processes 33a to 33c capable of executing the job are activated, the process control command unit 222 determines not to activate the processes 33a to 33c. In response to the determination result, the process control command unit 222 outputs a job execution request for requesting job execution to the job execution command unit 224 using the processes 33a to 33c that have already been started.

プロセス起動・終了指令部223は、プロセス制御指令部222からのプロセス決定応答に含まれるプロセス33a〜33cの識別子を参照し、そのプロセス33a〜33cの起動を要求するプロセス起動要求を、プロセス起動・終了要求手段24に出力するものである。そして、プロセス起動・終了指令部223は、プロセス33a〜33cでジョブの実行を要求するジョブ実行要求を、ジョブ実行指令部224に出力する。   The process activation / termination command unit 223 refers to the identifiers of the processes 33a to 33c included in the process determination response from the process control command unit 222, and sends a process activation request for requesting activation of the processes 33a to 33c to the process activation / deactivation command. This is output to the end request means 24. Then, the process start / end instruction unit 223 outputs a job execution request for requesting job execution in the processes 33 a to 33 c to the job execution instruction unit 224.

ジョブ実行指令部224は、プロセス制御指令部222及びプロセス起動・終了指令部223の少なくとも一方から入力されたジョブ実行要求を、ジョブ実行要求手段25に出力するものである。   The job execution command unit 224 outputs a job execution request input from at least one of the process control command unit 222 and the process start / end command unit 223 to the job execution request unit 25.

<ジョブ管理手段の詳細:ジョブ終了要求入力時>
以下、図3を参照して、ジョブ管理手段22の詳細について、説明を続ける。
ジョブ終了要求入力部225は、ユーザ端末10からジョブ終了要求が入力されると共に、入力されたジョブ終了要求を、プロセス制御指令部222に出力するものである。
<Details of job management means: When a job end request is input>
Hereinafter, the details of the job management unit 22 will be described with reference to FIG.
The job end request input unit 225 receives a job end request from the user terminal 10 and outputs the input job end request to the process control command unit 222.

プロセス制御指令部222は、ジョブ終了要求入力部225からのジョブ終了要求に含まれるジョブの識別子を参照し、このジョブの識別子を含む終了プロセス決定要求を、プロセス決定手段23に出力する。ここで、終了プロセス決定要求は、ジョブを実行したプロセス33a〜33cの終了を要求するものである。この終了プロセス決定要求が入力された場合、プロセス決定手段23は、プロセス制御指令部222に終了プロセス決定応答を出力する。この終了プロセス決定応答は、終了するプロセス33a〜33cを示す情報であり、例えば、終了するプロセス33a〜33cの識別子を含む。そして、プロセス制御指令部222は、プロセス決定手段23からの終了プロセス決定応答をプロセス起動・終了指令部223に出力する。   The process control command unit 222 refers to the job identifier included in the job end request from the job end request input unit 225, and outputs an end process determination request including the job identifier to the process determination unit 23. Here, the termination process determination request is a request for termination of the processes 33a to 33c that have executed the job. When the termination process determination request is input, the process determination unit 23 outputs a termination process determination response to the process control command unit 222. This end process determination response is information indicating the processes 33a to 33c to be ended, and includes, for example, identifiers of the processes 33a to 33c to be ended. Then, the process control command unit 222 outputs the end process determination response from the process determination unit 23 to the process start / end command unit 223.

プロセス起動・終了指令部223は、プロセス制御指令部222からの終了プロセス決定応答に含まれるプロセス33a〜33cの識別子を参照し、このプロセス33a〜33の終了を要求するプロセス終了要求を、プロセス起動・終了要求手段24に出力する。   The process activation / termination command unit 223 refers to the identifiers of the processes 33a to 33c included in the termination process determination response from the process control command unit 222, and sends a process termination request for requesting termination of the processes 33a to 33 to the process activation. Output to end request means 24.

以下、図1に戻り、ジョブ管理装置20の構成について、説明を続ける(適宜図2及び図3参照)。
プロセス決定手段23は、ジョブ管理手段22からプロセス決定要求が入力されたとき、プロセス管理手段21が記憶するプロセス情報を参照し、ジョブを実行するプロセス33a〜33cをプロセス決定アルゴリズムによって決定するものである。例えば、プロセス情報で、プロセス決定要求に含まれるジョブを実行可能なプロセス種類で、かつ、ステータスが起動となっているプロセス33a〜33cが無い場合、プロセス決定手段23は、ジョブを実行するプロセス33a〜33cを決定する。もし、これに該当するプロセス33a〜33cが複数ある場合、プロセス決定手段23は、どのプロセス33a〜33cを用いてジョブを実行するかも決定する。
Hereinafter, returning to FIG. 1, the description of the configuration of the job management apparatus 20 will be continued (see FIGS. 2 and 3 as appropriate).
When a process determination request is input from the job management unit 22, the process determination unit 23 refers to the process information stored in the process management unit 21, and determines processes 33a to 33c for executing jobs by a process determination algorithm. is there. For example, if there is no process 33a-33c whose process information can execute the job included in the process determination request and whose status is activated, the process determination unit 23 sets the process 33a to execute the job. ~ 33c is determined. If there are a plurality of processes 33a to 33c corresponding to this, the process determination means 23 also determines which process 33a to 33c is used to execute the job.

ここで、プロセス決定アルゴリズムとしては、例えば、先に入力されたジョブから順にプロセス33a〜33cを決定するFIFO(First In Frist Out)法、後に入力されたジョブから順にプロセス33a〜33cを決定するLIFO(Last In Frist Out)法、ジョブを終了してから最も長い時刻が経過したプロセス33a〜33cに決定するLRU(Least Recently Used)法、又は、ラウンドロビン法がある。また、例えば、プロセス決定手段23は、プロセス情報に含まれる負荷情報を参照し、最も負荷が低いプロセスサーバ30a〜30cのプロセス33a〜33cに決定しても良い。そして、前記したように、プロセス決定手段23は、例えば、新たに起動するプロセス33a〜33cの識別子を含むプロセス決定応答をジョブ管理手段22に出力する。なお、プロセス決定手段23のプロセス決定アルゴリズムは、これらに制限されない。   Here, as the process determination algorithm, for example, a FIFO (First In Frist Out) method for determining the processes 33a to 33c in order from the job input first, and a LIFO to determine the processes 33a to 33c in order from the job input later. There is a (Last In Frist Out) method, an LRU (Least Recently Used) method that determines the processes 33a to 33c that have passed the longest time after the job is completed, or a round robin method. Further, for example, the process determining unit 23 may determine the process 33a to 33c of the process server 30a to 30c having the lowest load with reference to the load information included in the process information. Then, as described above, the process determination unit 23 outputs, for example, a process determination response including the identifiers of the processes 33a to 33c to be newly activated to the job management unit 22. The process determination algorithm of the process determination unit 23 is not limited to these.

また、プロセス決定手段23は、ジョブ管理手段22から終了プロセス決定要求が入力されたとき、プロセス管理手段21が記憶するプロセス情報を参照し、終了するプロセス33a〜33cを決定する。例えば、プロセス決定手段23は、プロセス情報に含まれるプロセス33a〜33cが実行したジョブの識別子と、終了プロセス決定要求に含まれるジョブの識別子とが一致するプロセス33a〜33cを、終了すると判定する。そして、プロセス決定手段23は、終了するプロセス33a〜33cの識別子を含む終了プロセス決定応答をジョブ管理手段22に出力する。   Further, when a termination process determination request is input from the job management unit 22, the process determination unit 23 refers to the process information stored in the process management unit 21 and determines the processes 33a to 33c to be terminated. For example, the process determination unit 23 determines that the processes 33a to 33c in which the identifiers of the jobs executed by the processes 33a to 33c included in the process information match the identifiers of the jobs included in the end process determination request are to be ended. Then, the process determination unit 23 outputs an end process determination response including the identifiers of the processes 33 a to 33 c to be ended to the job management unit 22.

プロセス起動・終了要求手段24は、ジョブ管理手段22からのプロセス起動要求を、プロセスサーバ30a〜30cに出力するものである。また、プロセス起動・終了要求手段24は、ジョブ管理手段22からのプロセス終了要求を、プロセスサーバ30a〜30cに出力する。つまり、プロセス起動・終了要求手段24は、プロセス起動要求に含まれるプロセス33a〜33cの起動をプロセスサーバ30a〜30cに要求し、プロセス終了要求に含まれるプロセス33a〜33cの終了をプロセスサーバ30a〜30cに要求する。なお、図1では、説明のために、請求項に記載のプロセス起動要求手段とプロセス終了要求手段とを一体で構成したプロセス起動・終了要求手段24として図示したが、別々に構成しても良い。   The process activation / termination request unit 24 outputs a process activation request from the job management unit 22 to the process servers 30a to 30c. Further, the process activation / termination request unit 24 outputs the process termination request from the job management unit 22 to the process servers 30a to 30c. That is, the process activation / termination request unit 24 requests the process servers 30a to 30c to activate the processes 33a to 33c included in the process activation request, and terminates the processes 33a to 33c included in the process termination request. Request to 30c. In FIG. 1, for the sake of explanation, the process activation request unit and the process termination request unit described in the claims are illustrated as the process activation / termination request unit 24 integrally formed, but may be configured separately. .

ジョブ実行要求手段25は、プロセスサーバ30a〜30cに、既に起動しているプロセス33a〜33c又はプロセス起動・終了要求手段24のプロセス起動要求によって起動したプロセス33a〜33cを用いて、ジョブの実行を要求することを示すジョブ実行要求を出力するものである。つまり、ジョブ実行要求手段25は、例えば、ジョブ管理手段22からのジョブ実行要求をプロセスサーバ30a〜30cに出力する。   The job execution requesting unit 25 uses the processes 33a to 33c that have already been started or the processes 33a to 33c started by the process start request of the process start / end requesting unit 24 to the process servers 30a to 30c. A job execution request indicating that it is requested is output. That is, the job execution request unit 25 outputs, for example, a job execution request from the job management unit 22 to the process servers 30a to 30c.

なお、本発明に係るジョブ管理装置20を独立した装置として説明したが、これに限定されない。例えば、本発明では、一般的なコンピュータのCPU、メモリ、ハードディスク等のハードウェア資源を、前記した各手段として協調動作させるプログラムによって実現できる。このプログラムは、通信回線を介して配布しても良く、CD−ROMやフラッシュメモリ等の記録媒体に書き込んで配布しても良い。   Although the job management apparatus 20 according to the present invention has been described as an independent apparatus, the present invention is not limited to this. For example, the present invention can be realized by a program that causes hardware resources such as a CPU, a memory, and a hard disk of a general computer to cooperate with each other as described above. This program may be distributed via a communication line, or may be distributed by writing in a recording medium such as a CD-ROM or a flash memory.

[プロセスサーバの構成]
プロセスサーバ30a〜30cは、それぞれ、ジョブを実行可能なプロセス33a〜33cとして動作するプログラム(不図示)を備えるものである。図1に示すように、プロセスサーバ30a〜30cは、それぞれ、プロセス監視手段31a〜31cと、プロセス起動・終了手段32a〜32cと、プロセス33a〜33cと、記憶手段34a〜34cとを備える。
[Process Server Configuration]
Each of the process servers 30a to 30c includes a program (not shown) that operates as processes 33a to 33c that can execute jobs. As shown in FIG. 1, the process servers 30a to 30c include process monitoring units 31a to 31c, process start / end units 32a to 32c, processes 33a to 33c, and storage units 34a to 34c, respectively.

プロセス監視手段31a〜31cは、それぞれのプロセスサーバ30a〜30cのプロセス33a〜33cが起動しているか又は終了しているかを監視するものである。また、プロセス監視手段31a〜31cは、プロセス管理手段21のプロセス情報を、プロセス33a〜33の監視結果で更新(例えば、10秒間隔で更新)する。   The process monitoring units 31a to 31c monitor whether the processes 33a to 33c of the process servers 30a to 30c are activated or terminated. Further, the process monitoring units 31a to 31c update the process information of the process management unit 21 with the monitoring results of the processes 33a to 33 (for example, update at 10 second intervals).

プロセス起動・終了手段32a〜32cは、ジョブ管理装置20からプロセス起動要求が入力されたとき、そのプロセス起動要求に対応するプログラムを、プロセス33a〜33cとして起動させる。また、プロセス起動・終了手段32a〜32cは、ジョブ管理装置20からプロセス終了要求が入力されたとき、そのプロセス終了要求に対応するプロセス33a〜33c(つまり、プログラム)を終了させる。   When a process activation request is input from the job management apparatus 20, the process activation / termination means 32a to 32c activate a program corresponding to the process activation request as processes 33a to 33c. Further, when a process termination request is input from the job management apparatus 20, the process activation / termination means 32a to 32c terminate the processes 33a to 33c (that is, programs) corresponding to the process termination request.

プロセス33a〜33cは、プロセスサーバ30a〜30cにおいて、メモリ領域等のハードウェア資源が割り当てられたプログラムである。そして、プロセス33a〜33cは、ジョブを実行する。なお、本発明では、プロセス33a〜33は、実行可能なジョブが特に制限されない。また、プロセスサーバ30a〜30cがそれぞれ1個のプロセス33a〜33cを備える例で説明したが、これに限定されない。例えば、プロセスサーバ30a〜30cは、それぞれ、2個以上のプログラム(プロセス)を備えても良い(不図示)。   The processes 33a to 33c are programs to which hardware resources such as a memory area are allocated in the process servers 30a to 30c. Then, the processes 33a to 33c execute the job. In the present invention, the processes 33a to 33 are not particularly limited to executable jobs. Moreover, although the process server 30a-30c demonstrated in the example provided with the one process 33a-33c, respectively, it is not limited to this. For example, each of the process servers 30a to 30c may include two or more programs (processes) (not shown).

記憶手段34a〜34cは、例えば、データやファイルの読み込みや書き込みが可能なメモリやハードディスクである。また、記憶手段34a〜34cは、プロセス33a〜33cとして動作するプログラムを記憶しても良い。なお、図1では、3台のプロセスサーバ30a〜30cを図示したが、プロセスサーバ30a〜30cは、3台に限定されない。   The storage units 34a to 34c are, for example, a memory or a hard disk capable of reading and writing data and files. The storage units 34a to 34c may store programs that operate as the processes 33a to 33c. In FIG. 1, three process servers 30a to 30c are illustrated, but the process servers 30a to 30c are not limited to three.

[プロセス毎に起動と停止とを行う具体例]
以上では、プロセス33a〜33cの全て起動及び停止する例を説明したが、プロセス33a〜33c毎に起動と停止とを行っても良い。以下、プロセス33cが既に起動しており、かつ、プロセス33a,33bが起動していない場合を例に説明する(図1,2参照)。この場合、プロセス決定手段23は、プロセス33a,33bの識別子を含むプロセス決定応答をジョブ管理手段22(プロセス制御指令部222)に出力する。
[Specific example of starting and stopping for each process]
The example in which all the processes 33a to 33c are started and stopped has been described above. However, the processes 33a to 33c may be started and stopped. Hereinafter, a case where the process 33c has already been activated and the processes 33a and 33b have not been activated will be described as an example (see FIGS. 1 and 2). In this case, the process determination unit 23 outputs a process determination response including the identifiers of the processes 33a and 33b to the job management unit 22 (process control command unit 222).

また、プロセス制御指令部222は、プロセス33a,33bの識別子を含むプロセス決定応答と、ジョブ実行要求とをプロセス起動・終了指令部223に出力する。そして、プロセス制御指令部222は、プロセス33cでジョブの実行を要求するジョブ実行要求を、ジョブ実行指令部224に出力する。さらに、プロセス起動・終了指令部223は、プロセス33a,33bの起動を要求するプロセス起動要求を出力し、プロセス33a,33bでジョブの実行を要求するジョブ実行要求を、ジョブ実行指令部224に出力する。   Further, the process control command unit 222 outputs a process determination response including the identifiers of the processes 33a and 33b and a job execution request to the process start / end command unit 223. Then, the process control command unit 222 outputs a job execution request for requesting job execution in the process 33c to the job execution command unit 224. Further, the process activation / termination command unit 223 outputs a process activation request for requesting activation of the processes 33a and 33b, and outputs a job execution request for requesting job execution by the processes 33a and 33b to the job execution instruction unit 224. To do.

また、ジョブ実行指令部224は、プロセス制御指令部222から入力されジョブ実行要求と、プロセス起動・終了指令部223から入力されジョブ実行要求とを、プロセスサーバ30a〜30cに別々に出力する。このように、ジョブ管理装置20は、プロセス33a〜33c毎に、起動と停止とを行うことができる。   Further, the job execution command unit 224 separately outputs the job execution request input from the process control command unit 222 and the job execution request input from the process start / end command unit 223 to the process servers 30a to 30c. In this way, the job management apparatus 20 can start and stop for each of the processes 33a to 33c.

以下、図1のジョブ管理システム1の動作例1〜動作例3をそれぞれ説明する(適宜図1参照)。なお、動作例1〜動作例3では、プロセス33aが記憶手段34aに記録されたファイルを読み出してプロセスサーバ30bに送信し、プロセス33bが任意の処理(例えば、ファイルに対する画像処理)を行ってプロセスサーバ30bに送信し、プロセス33cがファイルを記憶手段34cに書き込むものとして説明する。また、動作例1では、プロセス33a〜33cの全てが起動していないものとして説明する。ここで、図4では、プロセス起動要求のかっこ書きは、そのプロセス起動要求が起用を要求するプロセスを示す。さらに、ジョブ実行要求のかっこ書きは、どのプロセスを用いてジョブを実行するかを示す。   Hereinafter, operation examples 1 to 3 of the job management system 1 in FIG. 1 will be described respectively (see FIG. 1 as appropriate). In the operation example 1 to the operation example 3, the process 33a reads the file recorded in the storage unit 34a and transmits the file to the process server 30b, and the process 33b performs arbitrary processing (for example, image processing on the file) to perform the process. A description will be given assuming that the process 33c writes the file to the storage unit 34c. In the operation example 1, it is assumed that all the processes 33a to 33c are not activated. Here, in FIG. 4, parentheses in the process activation request indicate a process for which the process activation request requests to be used. Further, parentheses in the job execution request indicate which process is used to execute the job.

[動作例1:新たにプロセスを起動する場合]
図4を参照して、図1のジョブ管理システム1の動作例1を説明する。ユーザは、記憶手段34aのファイルに対して画像処理を行いたい場合、ファイルを記憶手段34aに書き込み、ジョブ実行・終了入力手段11によりジョブ実行指令を入力する。すると、ユーザ端末10は、図4に示すように、ジョブ実行・終了要求手段12によって、ジョブ実行・終了入力手段11からジョブ実行指令が入力されたとき、ジョブの実行を要求するジョブ実行要求をジョブ管理装置20に出力する(ステップS1)。
[Operation example 1: When starting a new process]
An operation example 1 of the job management system 1 in FIG. 1 will be described with reference to FIG. When the user wants to perform image processing on the file in the storage unit 34 a, the user writes the file in the storage unit 34 a and inputs a job execution command through the job execution / end input unit 11. Then, as shown in FIG. 4, when the job execution command is input from the job execution / end input means 11 by the job execution / end request means 12, the user terminal 10 issues a job execution request for requesting the job execution. The data is output to the job management apparatus 20 (step S1).

ステップS1の処理に応じて、ジョブ管理装置20は、ジョブ管理手段22によって、プロセス管理手段21のプロセス情報を参照し、プロセス33a〜33cを起動するか否かを判定する。プロセス33a〜33cが起動していないため、ジョブ管理装置20は、ジョブ管理手段22によって、プロセス33a〜33cの起動が必要と判定する。また、ジョブ管理装置20は、プロセス決定手段23によって、ジョブの実行に必要なプロセス33a〜33cを決定する。そして、ジョブ管理装置20は、プロセス起動・終了要求手段24によって、プロセス33bの起動を要求するプロセス起動要求をプロセスサーバ30bに出力する(ステップS2)。なお、ジョブ管理手段22の詳細は、既に説明しているので省略する。   In accordance with the processing in step S1, the job management apparatus 20 refers to the process information of the process management unit 21 by the job management unit 22, and determines whether to start the processes 33a to 33c. Since the processes 33a to 33c are not activated, the job management apparatus 20 determines that the processes 33a to 33c need to be activated by the job management unit 22. Further, the job management apparatus 20 uses the process determination unit 23 to determine processes 33a to 33c necessary for job execution. Then, the job management apparatus 20 outputs a process activation request for requesting activation of the process 33b to the process server 30b by the process activation / termination request unit 24 (step S2). Note that details of the job management unit 22 have already been described, and will be omitted.

ステップS2と同様に、ジョブ管理装置20は、プロセス起動・終了要求手段24によって、プロセス33aの起動を要求するプロセス起動要求をプロセスサーバ30aに出力する(ステップS3)。また、ジョブ管理装置20は、プロセス起動・終了要求手段24によって、プロセス33cの起動を要求するプロセス起動要求をプロセスサーバ30cに出力する(ステップS4)。   As in step S2, the job management apparatus 20 outputs a process activation request for requesting activation of the process 33a to the process server 30a by the process activation / termination request unit 24 (step S3). Further, the job management apparatus 20 outputs a process activation request for requesting activation of the process 33c to the process server 30c by the process activation / termination request unit 24 (step S4).

ステップS2の処理に応じて、プロセスサーバ30bは、プロセス起動・終了手段32bによって、プロセス33bを起動する(ステップS5)。また、ステップS3の処理に応じて、プロセスサーバ30aは、プロセス起動・終了手段32aによって、プロセス33aを起動する(ステップS6)。そして、ステップS4の処理に応じて、プロセスサーバ30cは、プロセス起動・終了手段32cによって、プロセス33cを起動する(ステップS7)。   In response to the processing in step S2, the process server 30b starts the process 33b by the process start / end means 32b (step S5). Further, in accordance with the processing in step S3, the process server 30a starts the process 33a by the process start / end means 32a (step S6). Then, in accordance with the processing in step S4, the process server 30c activates the process 33c by the process activation / termination means 32c (step S7).

ステップS5の処理に続いて、プロセスサーバ30bでは、プロセス33bが、プロセス33a,33cに対して通信コネクションを確立する。その後、プロセス33bが、ジョブの実行が可能な待ち状態となる。また、ステップS6の処理に続いて、プロセスサーバ30aでは、プロセス33aが、プロセス33bに対して通信コネクションを確立する。その後、プロセス33aが、ジョブの実行が可能な待ち状態となる。そして、ステップS7の処理に続いて、プロセスサーバ30cは、プロセス33cが、プロセス33bに対して通信コネクションを確立する。その後、プロセス33cが、ジョブの実行が可能な待ち状態となる(ステップS8,ステップS9)。   Following the process of step S5, in the process server 30b, the process 33b establishes a communication connection with the processes 33a and 33c. Thereafter, the process 33b enters a waiting state where the job can be executed. Further, following the process of step S6, in the process server 30a, the process 33a establishes a communication connection to the process 33b. Thereafter, the process 33a enters a waiting state where the job can be executed. Then, following the process of step S7, in the process server 30c, the process 33c establishes a communication connection with the process 33b. Thereafter, the process 33c enters a waiting state where the job can be executed (steps S8 and S9).

ステップS9の処理に続いて、ジョブ管理装置20は、ジョブ実行要求手段25によって、ジョブ実行要求をプロセスサーバ30bに出力する(ステップS10)。また、ジョブ管理装置20は、ジョブ実行要求手段25によって、ジョブ実行要求をプロセスサーバ30aに出力する(ステップS11)。そして、ジョブ管理装置20は、ジョブ実行要求手段25によって、ジョブ実行要求をプロセスサーバ30cに出力する(ステップS12)。   Following the processing in step S9, the job management apparatus 20 outputs a job execution request to the process server 30b by the job execution request unit 25 (step S10). Further, the job management apparatus 20 outputs a job execution request to the process server 30a by the job execution request unit 25 (step S11). Then, the job management apparatus 20 outputs a job execution request to the process server 30c by the job execution request unit 25 (step S12).

ステップS11の処理に応じて、プロセスサーバ30aは、プロセス33aによって、ジョブを実行する。例えば、プロセスサーバ30aは、プロセス33aによって、ステップS11で入力されたジョブ実行要求に含まれるファイルの名称を参照し、記憶手段34aからジョブの対象となるファイルを読み出す。そして、プロセスサーバ30aは、プロセス33aによって、ジョブ実行要求に含まれるタイムコードを参照し、ファイルからタイムコードで指定された範囲の映像データを抽出する。さらに、プロセスサーバ30aは、ジョブ実行要求に含まれるジョブの実行結果を出力するサーバ名称を参照し、抽出した映像データをジョブの実行結果としてプロセスサーバ30bに送信する。その後、プロセス33aは、終了することなく、ジョブを実行可能な待ち状態となる(ステップS13)。   In accordance with the processing in step S11, the process server 30a executes a job by the process 33a. For example, the process server 30a refers to the name of the file included in the job execution request input in step S11 by the process 33a, and reads the file to be processed from the storage unit 34a. Then, the process server 30a refers to the time code included in the job execution request by the process 33a and extracts video data in a range specified by the time code from the file. Further, the process server 30a refers to the server name that outputs the job execution result included in the job execution request, and transmits the extracted video data to the process server 30b as the job execution result. Thereafter, the process 33a enters a waiting state in which the job can be executed without ending (step S13).

ステップS10の処理に応じて、プロセスサーバ30bは、プロセス33bによって、ジョブを実行する。例えば、プロセスサーバ30bは、ステップS10で入力されたジョブ実行要求に含まれる画像処理パラメータを参照し、プロセス33bによって、ステップS13で送信された映像データに対して画像処理を行う。そして、プロセスサーバ30bは、プロセス33bによって、この映像データ(つまり、ジョブの実行結果)をプロセスサーバ30cに送信する。その後、プロセス33bは、終了することなく、ジョブを実行可能な待ち状態となる(ステップS14)。   In accordance with the processing in step S10, the process server 30b executes the job by the process 33b. For example, the process server 30b refers to the image processing parameter included in the job execution request input in step S10, and performs image processing on the video data transmitted in step S13 by the process 33b. Then, the process server 30b transmits the video data (that is, the job execution result) to the process server 30c by the process 33b. Thereafter, the process 33b enters a waiting state in which the job can be executed without ending (step S14).

ステップS12の処理に応じて、プロセスサーバ30cは、プロセス33cによって、ジョブを実行する。例えば、プロセスサーバ30cは、プロセス33cによって、ステップS12で入力された映像データを、ファイルを記憶手段34cに書き込む。その後、プロセス33cは、終了することなく、ジョブを実行可能な待ち状態となる(ステップS15)。   In accordance with the processing in step S12, the process server 30c executes a job by the process 33c. For example, the process server 30c writes a file of the video data input in step S12 by the process 33c in the storage unit 34c. Thereafter, the process 33c enters a waiting state where the job can be executed without ending (step S15).

[動作例2:既にプロセスが起動している場合]
図5を参照して、図1のジョブ管理システム1の動作例2を説明する。ここで、動作例2では、プロセス33a〜33cの全てが起動し、プロセス33aとプロセス33bとの間でコネクションが確立し、プロセス33bとプロセス33cとの間でコネクションが確立しているものとして説明する。また、動作例2では、動作例1と同一のジョブを実行するものとして説明する。なお、動作例2において、ジョブの対象となる映像データは、動作例1と同一である必要はない。
[Operation example 2: When the process is already running]
With reference to FIG. 5, an operation example 2 of the job management system 1 of FIG. 1 will be described. Here, in the operation example 2, it is assumed that all of the processes 33a to 33c are activated, a connection is established between the process 33a and the process 33b, and a connection is established between the process 33b and the process 33c. To do. The operation example 2 will be described assuming that the same job as the operation example 1 is executed. Note that in the operation example 2, the video data that is the target of the job does not have to be the same as the operation example 1.

ユーザ端末10は、図5に示すように、ジョブ実行・終了要求手段12によって、ジョブ実行・終了入力手段11からジョブ実行指令が入力されたとき、ジョブの実行を要求するジョブ実行要求をジョブ管理装置20に出力する(ステップS101)。   As shown in FIG. 5, when a job execution command is input from the job execution / end input unit 11 by the job execution / end request unit 12, the user terminal 10 manages a job execution request for requesting job execution. It outputs to the apparatus 20 (step S101).

ステップS101の処理に応じて、ジョブ管理装置20は、ジョブ管理手段22によって、プロセス管理手段21のプロセス情報を参照し、プロセス33a〜33cを起動するか否かを判定する。プロセス33a〜33cが既に起動しているため、ジョブ管理装置20は、ジョブ管理手段22によって、プロセス33a〜33cを起動しないと判定する。また、ジョブ管理装置20は、プロセス決定手段23によって、既に起動しているプロセス33a〜33cでジョブを実行すると決定する。   In accordance with the processing in step S101, the job management apparatus 20 refers to the process information of the process management unit 21 by the job management unit 22, and determines whether to start the processes 33a to 33c. Since the processes 33a to 33c are already activated, the job management apparatus 20 determines that the processes 33a to 33c are not activated by the job management unit 22. Further, the job management apparatus 20 determines that the process is executed by the processes 33a to 33c that have already been activated by the process determination unit 23.

そして、ジョブ管理装置20は、ジョブ実行要求手段25によって、ジョブ実行要求をプロセスサーバ30bに出力する(ステップS102)。また、ジョブ管理装置20は、ジョブ実行要求手段25によって、ジョブ実行要求をプロセスサーバ30aに出力する(ステップS103)。さらに、ジョブ管理装置20は、ジョブ実行要求手段25によって、ジョブ実行要求をプロセスサーバ30cに出力する(ステップS104)。   Then, the job management apparatus 20 outputs a job execution request to the process server 30b by the job execution request unit 25 (step S102). Further, the job management apparatus 20 outputs a job execution request to the process server 30a by the job execution request unit 25 (step S103). Further, the job management apparatus 20 outputs a job execution request to the process server 30c by the job execution request unit 25 (step S104).

ステップS102の処理に応じて、プロセスサーバ30bは、プロセス33bによって、ジョブを実行する(ステップS106)。その後、プロセス33bは、終了することなく、ジョブを実行可能な待ち状態となる。なお、ステップS106は、図4のステップ14と同様の処理であるため、その説明を省略する。   In accordance with the processing in step S102, the process server 30b executes the job by the process 33b (step S106). Thereafter, the process 33b enters a waiting state in which the job can be executed without ending. Note that step S106 is the same processing as step 14 in FIG.

ステップS103の処理に応じて、プロセスサーバ30aは、プロセス33aによって、ジョブを実行する(ステップS105)。その後、プロセス33aは、終了することなく、ジョブを実行可能な待ち状態となる。なお、ステップS105は、図4のステップ13と同様の処理であるため、その説明を省略する。   In accordance with the processing in step S103, the process server 30a executes the job by the process 33a (step S105). Thereafter, the process 33a enters a waiting state in which the job can be executed without ending. Note that step S105 is the same processing as step 13 in FIG.

ステップS104の処理に応じて、プロセスサーバ30cは、プロセス33cによって、ジョブを実行する(ステップS107)。その後、プロセス33cは、終了することなく、ジョブを実行可能な待ち状態となる。なお、ステップS107は、図4のステップ15と同様の処理であるため、その説明を省略する。   In accordance with the processing in step S104, the process server 30c executes the job by the process 33c (step S107). Thereafter, the process 33c enters a waiting state in which the job can be executed without ending. Note that step S107 is the same processing as step 15 in FIG.

[動作例3:プロセスを終了する場合]
図6を参照して、図1のジョブ管理システム1の動作例3を説明する。ここで、動作例3では、プロセス33a〜33cの全てが起動し、プロセス33aとプロセス33bとの間でコネクションが確立し、プロセス33bとプロセス33cとの間でコネクションが確立しているものとして説明する。
[Operation example 3: Ending the process]
With reference to FIG. 6, the operation example 3 of the job management system 1 of FIG. 1 will be described. Here, in the operation example 3, it is assumed that all of the processes 33a to 33c are activated, a connection is established between the process 33a and the process 33b, and a connection is established between the process 33b and the process 33c. To do.

ジョブが全て終了し、プロセス33a〜33cを起動させておく必要が無くなった場合、ユーザは、ジョブ実行・終了入力手段11によりジョブ終了指令を入力する。すると、ユーザ端末10は、図6に示すように、ジョブ実行・終了要求手段12によって、ジョブ実行・終了入力手段11からジョブ終了指令が入力されたとき、ジョブの終了を要求するジョブ終了要求をジョブ管理装置20に出力する(ステップS1001)。   When all the jobs are completed and it is no longer necessary to start the processes 33 a to 33 c, the user inputs a job end command through the job execution / end input unit 11. Then, as shown in FIG. 6, when a job end command is input from the job execution / end input unit 11 by the job execution / end request unit 12, the user terminal 10 issues a job end request for requesting the end of the job. The data is output to the job management apparatus 20 (step S1001).

ステップS1001の処理に応じて、ジョブ管理装置20は、ジョブ管理手段22によって、プロセス管理手段21のプロセス情報を参照し、プロセス33a〜33cが起動しているか否かを判定し、ジョブを実行したプロセス33a〜33cを終了する。   In response to the processing in step S1001, the job management apparatus 20 refers to the process information of the process management unit 21 by the job management unit 22, determines whether or not the processes 33a to 33c are activated, and executes the job. The processes 33a to 33c are terminated.

そして、ジョブ管理装置20は、プロセス起動・終了要求手段24によって、プロセス33bの終了を要求するプロセス終了要求をプロセスサーバ30bに出力する(ステップS1002)。また、ジョブ管理装置20は、プロセス起動・終了要求手段24によって、プロセス33aの終了を要求するプロセス終了要求をプロセスサーバ30aに出力する(ステップS1003)。さらに、ジョブ管理装置20は、プロセス起動・終了要求手段24によって、プロセス33cの終了を要求するプロセス終了要求をプロセスサーバ30cに出力する(ステップS1004)。   Then, the job management apparatus 20 outputs a process termination request for requesting termination of the process 33b to the process server 30b by the process activation / termination request unit 24 (step S1002). Further, the job management apparatus 20 outputs a process termination request for requesting termination of the process 33a to the process server 30a by the process activation / termination request unit 24 (step S1003). Furthermore, the job management apparatus 20 outputs a process termination request for requesting termination of the process 33c to the process server 30c by the process activation / termination request unit 24 (step S1004).

ステップS1002の処理に応じて、プロセスサーバ30bは、プロセス起動・終了手段32bによって、プロセス33bを終了する(ステップS1005)。また、ステップS1003の処理に応じて、プロセスサーバ30aは、プロセス起動・終了手段32aによって、プロセス33aを終了する(ステップS1006)。そして、ステップS1004の処理に応じて、プロセスサーバ30cは、プロセス起動・終了手段32cによって、プロセス33cを終了する(ステップS1007)。   In accordance with the processing in step S1002, the process server 30b terminates the process 33b by the process activation / termination means 32b (step S1005). Further, in accordance with the processing in step S1003, the process server 30a terminates the process 33a by the process activation / termination means 32a (step S1006). Then, in accordance with the processing in step S1004, the process server 30c terminates the process 33c by the process start / end means 32c (step S1007).

ステップS1005〜ステップS1007の処理に続いて、プロセス33aとプロセス33bとの間でコネクションが切断され、プロセス33bとプロセス33cとの間でコネクションが切断される(ステップS1008及びステップS1009)。   Subsequent to the processing of step S1005 to step S1007, the connection is disconnected between the process 33a and the process 33b, and the connection is disconnected between the process 33b and the process 33c (step S1008 and step S1009).

以上、本発明の第1実施形態に係るジョブ管理装置20では、ジョブを実行可能なプロセス33a〜33cが既に起動しているとき、ジョブの処理時間の短縮することができる。具体的には、図5に示すように、プロセス33a〜33cが既に起動している場合、ジョブ管理システム1では、ジョブの処理時間から、プロセス起動要求を送信する時間(図4のステップS2〜ステップS4)と、プロセス33a〜33cを起動する時間(図4のステップS5〜ステップS7)と、プロセス33a〜33cがコネクションを確立する時間(図4のステップS8及びステップS9)とを節約できる。   As described above, in the job management apparatus 20 according to the first embodiment of the present invention, when the processes 33a to 33c capable of executing a job are already activated, the job processing time can be reduced. Specifically, as shown in FIG. 5, when the processes 33a to 33c are already activated, the job management system 1 determines the time for transmitting the process activation request from the job processing time (steps S2 to S2 in FIG. 4). Step S4), the time for starting the processes 33a to 33c (step S5 to step S7 in FIG. 4), and the time for the processes 33a to 33c to establish a connection (step S8 and step S9 in FIG. 4) can be saved.

また、図6に示すように、本発明の第1実施形態に係るジョブ管理装置20では、プロセス終了要求が送信されたときに、プロセスサーバ30a〜30cがプロセス33a〜33cを終了する。このため、本発明の第1実施形態に係るジョブ管理装置20では、従来技術のように、ジョブを実行する毎に、プロセス33a〜33cを起動して、そのプロセス33a〜33cを終了する必要がなく、ジョブの処理時間をより短縮することができる。具体的には、本発明の第1実施形態に係るジョブ管理装置20では、同一のジョブを繰り返し実行する場合、プロセス起動要求を送信する時間(図4のステップS2〜ステップS4)と、プロセス33a〜33cを起動する時間(図4のステップS5〜ステップS7)と、プロセス33a〜33cがコネクションを確立する時間(図4のステップS8及びステップS9)と、プロセス終了要求を送信する時間(図6のステップS1002〜ステップS1004)と、プロセス33a〜33cを終了する時間(図6のステップS1005〜ステップS1007)とを節約できる。   As shown in FIG. 6, in the job management apparatus 20 according to the first embodiment of the present invention, the process servers 30a to 30c terminate the processes 33a to 33c when a process termination request is transmitted. For this reason, in the job management apparatus 20 according to the first embodiment of the present invention, it is necessary to start the processes 33a to 33c and end the processes 33a to 33c each time a job is executed as in the related art. In addition, the job processing time can be further reduced. Specifically, in the job management apparatus 20 according to the first embodiment of the present invention, when the same job is repeatedly executed, the process start request transmission time (step S2 to step S4 in FIG. 4) and the process 33a are transmitted. To 33c (steps S5 to S7 in FIG. 4), processes 33a to 33c to establish a connection (steps S8 and S9 in FIG. 4), and process end request transmission time (FIG. 6). Steps S1002 to S1004) and the time to complete the processes 33a to 33c (Steps S1005 to S1007 in FIG. 6) can be saved.

なお、本発明は、ユーザ端末10の台数、各ユーザ端末10がジョブを要求する回数、各ユーザ端末10がジョブを連続要求するときの間隔等のジョブ実行環境に関わらず、適用することができる。特に、本発明は、特定少数(例えば、1〜3台)のユーザ端末10が同一ジョブを繰り返し要求するジョブ実行環境において、各ユーザ端末10がプロセス33a〜33cを占有する影響が少なく、その効果が顕著なものとなる。   The present invention can be applied regardless of the job execution environment such as the number of user terminals 10, the number of times each user terminal 10 requests a job, and the interval at which each user terminal 10 requests a job continuously. . In particular, according to the present invention, in a job execution environment in which a specific small number (for example, 1 to 3) of user terminals 10 repeatedly request the same job, each user terminal 10 is less likely to occupy the processes 33a to 33c. Becomes prominent.

1 ジョブ管理システム
10 ユーザ端末
11 ジョブ実行・終了入力手段
12 ジョブ実行・終了要求手段(ジョブ実行手段)
20 ジョブ管理装置
21 プロセス管理手段
22 ジョブ管理手段
221 ジョブ実行要求入力部
222 プロセス制御指令部
223 プロセス起動・終了指令部(プロセス起動要求手段及びプロセス終了要求手段)
224 ジョブ実行指令部
225 ジョブ終了要求入力部
23 プロセス決定手段
24 プロセス起動・終了要求手段
25 ジョブ実行終了要求手段
30a〜30c プロセスサーバ
31a〜31c プロセス監視手段
32a〜32c プロセス起動・終了手段
33a〜33c プロセス
34a〜34c 記憶手段
NW ネットワーク
1 Job management system 10 User terminal 11 Job execution / end input means 12 Job execution / end request means (job execution means)
20 Job Management Device 21 Process Management Unit 22 Job Management Unit 221 Job Execution Request Input Unit 222 Process Control Command Unit 223 Process Start / End Command Unit (Process Start Request Unit and Process End Request Unit)
224 Job execution command unit 225 Job end request input unit 23 Process determination unit 24 Process start / end request unit 25 Job execution end request unit 30a-30c Process server 31a-31c Process monitoring unit 32a-32c Process start / end unit 33a-33c Process 34a-34c Storage means NW network

Claims (4)

ジョブの実行を要求するユーザ端末と、前記ジョブを実行可能なプロセスとして動作するプログラムを備えるプロセスサーバと、前記ジョブを実行する前記プロセスを決定して当該プロセスに前記ジョブを実行させるジョブ管理装置と、を備えるジョブ管理システムであって、
前記ユーザ端末は、
外部からジョブ実行指令が入力されたとき、前記ジョブの実行を要求するジョブ実行要求手段を備え、
前記ジョブ管理装置は、
少なくとも前記プロセスが起動しているか否かを示すプロセス情報を記憶するプロセス管理手段と、
前記ユーザ端末から前記ジョブの実行を要求されたとき、前記ジョブを実行可能な前記プロセスが起動していれば、前記プロセスを起動しないと判定すると共に、前記ジョブを実行可能な前記プロセスが起動していなければ、前記プロセスの起動が必要と判定するジョブ管理手段と、
前記ジョブ管理手段によって前記プロセスの起動が必要と判定されたとき、前記プロセス情報を参照し、前記ジョブを実行する前記プロセスを所定のプロセス決定アルゴリズムによって決定するプロセス決定手段と、
前記プロセスサーバに、前記プロセス決定手段が決定した前記プロセスの起動を要求するプロセス起動手段と、
前記プロセスサーバに、既に起動している前記プロセス又は前記プロセス起動要求手段の要求によって起動した前記プロセスを用いて、前記ジョブの実行を要求するジョブ実行要求手段と、
を備えることを特徴とするジョブ管理システム。
A user terminal that requests execution of a job; a process server that includes a program that operates as a process capable of executing the job; and a job management apparatus that determines the process to execute the job and causes the process to execute the job. A job management system comprising:
The user terminal is
Comprising a job execution requesting means for requesting execution of the job when a job execution command is input from the outside;
The job management device includes:
Process management means for storing process information indicating whether or not at least the process is running;
When the execution of the job is requested from the user terminal, if the process capable of executing the job is activated, it is determined that the process is not activated, and the process capable of executing the job is activated. If not, job management means for determining that the process needs to be started, and
A process determining unit that refers to the process information when the job management unit determines that the process needs to be started, and determines the process for executing the job by a predetermined process determination algorithm;
Process starting means for requesting the process server to start the process determined by the process determining means;
Job execution requesting means for requesting execution of the job using the process started by the process server or the process activation requesting means requested to the process server;
A job management system comprising:
ジョブの実行を要求するユーザ端末と前記ジョブを実行可能なプロセスなプロセスとして動作するプログラムを備えるプロセスサーバとを含むグリッドコンピューティングシステムに用いられ、前記ジョブを実行する前記プロセスを決定して当該プロセスに前記ジョブを実行させるジョブ管理装置であって、
少なくとも前記プロセスが起動しているか否かを示すプロセス情報を記憶するプロセス管理手段と、
前記ユーザ端末から前記ジョブの実行を要求されたとき、前記ジョブを実行可能な前記プロセスが起動していれば、前記プロセスを起動しないと判定すると共に、前記ジョブを実行可能な前記プロセスが起動していなければ、前記プロセスの起動が必要と判定するジョブ管理手段と、
前記ジョブ管理手段によって前記プロセスの起動が必要と判定されたとき、前記プロセス情報を参照し、前記ジョブを実行する前記プロセスを所定のプロセス決定アルゴリズムによって決定するプロセス決定手段と、
前記プロセスサーバに、前記プロセス決定手段が決定した前記プロセスの起動を要求するプロセス起動手段と、
前記プロセスサーバに、既に起動している前記プロセス又は前記プロセス起動要求手段の要求によって起動した前記プロセスを用いて、前記ジョブの実行を要求するジョブ実行要求手段と、
を備えることを特徴とするジョブ管理装置。
Used in a grid computing system including a user terminal that requests execution of a job and a process server that includes a program that operates as a process that can execute the job, and determines the process that executes the job and determines the process A job management apparatus for executing the job,
Process management means for storing process information indicating whether or not at least the process is running;
When the execution of the job is requested from the user terminal, if the process capable of executing the job is activated, it is determined that the process is not activated, and the process capable of executing the job is activated. If not, job management means for determining that the process needs to be started, and
A process determining unit that refers to the process information when the job management unit determines that the process needs to be started, and determines the process for executing the job by a predetermined process determination algorithm;
Process starting means for requesting the process server to start the process determined by the process determining means;
Job execution requesting means for requesting execution of the job using the process started by the process server or the process activation requesting means requested to the process server;
A job management apparatus comprising:
前記ジョブ管理手段は、前記ユーザ端末から前記ジョブの終了を要求されたとき、前記ジョブを実行した前記プロセスを終了すると判定し、
前記プロセス決定手段は、前記ジョブ管理手段が前記プロセスを終了すると判定したとき、前記プロセス情報を参照して終了する前記プロセスを決定し、
前記プロセスサーバに、前記プロセス決定手段が決定した前記プロセスの終了を要求するプロセス終了要求手段を備えることを特徴とする請求項2に記載のジョブ管理装置。
The job management means determines that the process that executed the job is to be ended when the user terminal requests the end of the job,
The process determining unit determines the process to be ended with reference to the process information when the job management unit determines to end the process,
The job management apparatus according to claim 2, further comprising a process end request unit that requests the process server to end the process determined by the process determination unit.
ジョブの実行を要求するユーザ端末と前記ジョブを実行可能なプロセスなプロセスとして動作するプログラムを備えるプロセスサーバとを含むグリッドコンピューティングシステムに用いられ、前記ジョブを実行する前記プロセスを決定して当該プロセスに前記ジョブを実行させるために、少なくとも前記プロセスが起動しているか否かを示すプロセス情報を記憶するプロセス管理手段を備えるコンピュータを、
前記ユーザ端末から前記ジョブの実行を要求されたとき、前記ジョブを実行可能な前記プロセスが起動していれば、前記プロセスを起動しないと判定すると共に、前記ジョブを実行可能な前記プロセスが起動していなければ、前記プロセスの起動が必要と判定するジョブ管理手段、
前記ジョブ管理手段によって前記プロセスの起動が必要と判定されたとき、前記プロセス情報を参照し、前記ジョブを実行する前記プロセスを所定のプロセス決定アルゴリズムによって決定するプロセス決定手段、
前記プロセスサーバに、前記プロセス決定手段が決定した前記プロセスの起動を要求するプロセス起動手段、
前記プロセスサーバに、既に起動している前記プロセス又は前記プロセス起動要求手段の要求によって起動した前記プロセスを用いて、前記ジョブの実行を要求するジョブ実行要求手段、
として機能させるためのジョブ管理プログラム。
Used in a grid computing system including a user terminal that requests execution of a job and a process server that includes a program that operates as a process that can execute the job, and determines the process that executes the job and determines the process A computer having process management means for storing process information indicating whether or not at least the process is activated in order to execute the job;
When the execution of the job is requested from the user terminal, if the process capable of executing the job is activated, it is determined that the process is not activated, and the process capable of executing the job is activated. If not, job management means for determining that the process needs to be started,
A process determining unit that refers to the process information and determines the process to execute the job by a predetermined process determining algorithm when the job management unit determines that the process needs to be started;
Process starting means for requesting the process server to start the process determined by the process determining means;
Job execution requesting means for requesting execution of the job by using the process that has already been started to the process server or the process started by the request of the process start requesting means;
Job management program to function as
JP2009138743A 2009-06-10 2009-06-10 Job management system, job management apparatus and program thereof Expired - Fee Related JP5390947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009138743A JP5390947B2 (en) 2009-06-10 2009-06-10 Job management system, job management apparatus and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009138743A JP5390947B2 (en) 2009-06-10 2009-06-10 Job management system, job management apparatus and program thereof

Publications (2)

Publication Number Publication Date
JP2010286931A true JP2010286931A (en) 2010-12-24
JP5390947B2 JP5390947B2 (en) 2014-01-15

Family

ID=43542602

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009138743A Expired - Fee Related JP5390947B2 (en) 2009-06-10 2009-06-10 Job management system, job management apparatus and program thereof

Country Status (1)

Country Link
JP (1) JP5390947B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160004334A (en) * 2013-04-23 2016-01-12 아브 이니티오 테크놀로지 엘엘시 Controlling tasks performed by a computing system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07121487A (en) * 1993-10-27 1995-05-12 Hitachi Ltd Task assigning method in distributed processing system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07121487A (en) * 1993-10-27 1995-05-12 Hitachi Ltd Task assigning method in distributed processing system

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160004334A (en) * 2013-04-23 2016-01-12 아브 이니티오 테크놀로지 엘엘시 Controlling tasks performed by a computing system
KR20160004335A (en) * 2013-04-23 2016-01-12 아브 이니티오 테크놀로지 엘엘시 Controlling tasks performed by a computing system
JP2016520911A (en) * 2013-04-23 2016-07-14 アビニシオ テクノロジー エルエルシー Control of tasks performed by computing systems
JP2019071120A (en) * 2013-04-23 2019-05-09 アビニシオ テクノロジー エルエルシー Controlling tasks performed by computing system
US10489191B2 (en) 2013-04-23 2019-11-26 Ab Initio Technology Llc Controlling tasks performed by a computing system using controlled process spawning
US10565005B2 (en) 2013-04-23 2020-02-18 Ab Initio Technology Llc Controlling tasks performed by a computing system
KR102251932B1 (en) 2013-04-23 2021-05-13 아브 이니티오 테크놀로지 엘엘시 Controlling tasks performed by a computing system
KR102305084B1 (en) 2013-04-23 2021-09-24 아브 이니티오 테크놀로지 엘엘시 Controlling tasks performed by a computing system

Also Published As

Publication number Publication date
JP5390947B2 (en) 2014-01-15

Similar Documents

Publication Publication Date Title
JP5614226B2 (en) Virtual machine control device, virtual machine control program, and virtual machine control method
US8584127B2 (en) Storage medium storing job management program, information processing apparatus, and job management method
WO2012066640A1 (en) Computer system, migration method, and management server
JP5402226B2 (en) Management apparatus, information processing system, control program for information processing system, and control method for information processing system
JP4558661B2 (en) Computer system and method for transferring executable programs between partitions
EP1750200A2 (en) System and method for executing job step, and computer product
TWI344090B (en) Management of a scalable computer system
JP2008123205A (en) Job execution method, job execution system, and job execution program
JP2008108260A (en) Method, computer system and computer program for providing operating system service of policy base in hypervisor on computer system
JP5862359B2 (en) Thin client system, connection management server, connection management method, and connection management program
JP2010533399A (en) Dynamic router configuration to find the best DHCP server
JP2005056391A (en) Method and system for balancing workload of computing environment
JP2015075898A (en) Processing restart method, processing restart program and information processing system
CN110781159B (en) Ceph directory file information reading method and device, server and storage medium
CN107528871B (en) Data analysis in storage systems
JP2008107966A (en) Computer system
JP2017068480A (en) Job management method, job management device, and program
US8060885B2 (en) Creating task queries for concrete resources using alias selection fields specifying formal resources and formal relationships
CN111177032A (en) Cache space application method, system, device and computer readable storage medium
JP5294014B2 (en) File sharing method, computer system, and job scheduler
JP2013522740A (en) Dual mode reader / writer lock
JP5390947B2 (en) Job management system, job management apparatus and program thereof
JP2011108014A (en) Virtual machine management device, virtual machine management method, and virtual machine management program
JP4112511B2 (en) Task management program and task management device
JP2008009865A (en) Distributed computer system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120104

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130514

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130521

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130703

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: 20130917

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131011

R150 Certificate of patent or registration of utility model

Ref document number: 5390947

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees