JP2024047188A - JOB MANAGEMENT DEVICE, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM - Google Patents
JOB MANAGEMENT DEVICE, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM Download PDFInfo
- Publication number
- JP2024047188A JP2024047188A JP2022152675A JP2022152675A JP2024047188A JP 2024047188 A JP2024047188 A JP 2024047188A JP 2022152675 A JP2022152675 A JP 2022152675A JP 2022152675 A JP2022152675 A JP 2022152675A JP 2024047188 A JP2024047188 A JP 2024047188A
- Authority
- JP
- Japan
- Prior art keywords
- execution
- external
- information
- information processing
- freshness
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000007726 management method Methods 0.000 title claims description 76
- PWPJGUXAGUPAHP-UHFFFAOYSA-N lufenuron Chemical compound C1=C(Cl)C(OC(F)(F)C(C(F)(F)F)F)=CC(Cl)=C1NC(=O)NC(=O)C1=C(F)C=CC=C1F PWPJGUXAGUPAHP-UHFFFAOYSA-N 0.000 title 1
- 230000010365 information processing Effects 0.000 claims abstract description 116
- 238000000034 method Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 16
- 239000000284 extract Substances 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 31
- 238000004891 communication Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
【課題】情報処理が使用する外部から取得する情報の鮮度及び情報処理の実行完了時刻に関する要件を満たすように情報処理を自動で実行する。【解決手段】ジョブ管理装置60は、外部情報71を用いた情報処理において、外部情報71の鮮度及び実行完了時刻に関する要件610を取得する要件取得部61と、内部記憶装置80に格納された外部情報の鮮度620を取得する鮮度取得部62と、外部情報71の取得先を、外部装置70にする場合と内部記憶装置80にする場合とに関して、取得する外部情報の鮮度631及び実行完了時刻632を予測する予測部63と、予測された外部情報の鮮度631及び実行完了時刻632が要件610を満たすような、実行開始時刻、及び、外部情報71の取得先を表す情報処理の実行計画640を生成する生成部64と、実行計画640を用いて情報処理の実行を制御する制御部65と、を備える。【選択図】 図14[Problem] To automatically execute information processing so as to satisfy requirements regarding the freshness of information acquired from an external source used in the information processing and the execution completion time of the information processing. [Solution] A job management device 60 includes, in information processing using external information 71, a requirement acquisition unit 61 that acquires requirements 610 regarding the freshness and execution completion time of the external information 71, a freshness acquisition unit 62 that acquires freshness 620 of the external information stored in an internal storage device 80, a prediction unit 63 that predicts freshness 631 and execution completion time 632 of the acquired external information when the external information 71 is acquired from the external device 70 and when the external information 71 is acquired from the internal storage device 80, a generation unit 64 that generates an information processing execution plan 640 that indicates the execution start time and the acquisition destination of the external information 71 such that the predicted freshness 631 and execution completion time 632 of the external information satisfy the requirements 610, and a control unit 65 that controls execution of the information processing using the execution plan 640. [Selected Figure] FIG.
Description
本発明は、ジョブ管理装置、ジョブ管理方法、及び、ジョブ管理プログラムに関する。 The present invention relates to a job management device, a job management method, and a job management program.
コンピュータが実行するジョブ(プロセス、タスクとも称する)の管理を好適に行うことにより、ジョブの実行効率等を高める技術が期待されている。 There is hope for technology that can improve the efficiency of job execution by optimally managing the jobs (also called processes or tasks) executed by a computer.
上述の技術に関連して、特許文献1には、ジョブネットの実行終了タイミングを安定した 精度で予測するジョブ管理装置が開示されている。この装置は、過去に実行された各ジョブネットの実行時間に関する情報に基づき実行されるジョブネットの実行時間を予測する実行時間予測モデルを生成する。この装置は、生成した実行時間予測モデルによる各ジョブネットの実行時間の予測精度をそれぞれ算出する。この装置は、現在実行中の又は以後に実行される複数のジョブネットを含む集合であるジョブネット群のうち指定されたジョブネットの実行終了時を実行時間予測モデルに基づき予測するか否かを、算出した各ジョブネットの実行時間の予測精度に基づき判定する。そしてこの装置は、予測すると判定した場合には、実行時間予測モデルに基づき予測した指定されたジョブネットの実行終了時に関する情報を表示する。 In relation to the above-mentioned technology, Patent Document 1 discloses a job management device that predicts the execution end timing of a jobnet with stable accuracy. This device generates an execution time prediction model that predicts the execution time of a jobnet to be executed based on information about the execution time of each jobnet executed in the past. This device calculates the prediction accuracy of the execution time of each jobnet using the generated execution time prediction model. This device determines whether to predict the execution end time of a specified jobnet from a jobnet group, which is a collection of multiple jobnets that are currently being executed or will be executed in the future, based on the execution time prediction model, based on the calculated prediction accuracy of the execution time of each jobnet. Then, if it is determined that a prediction should be made, the device displays information about the execution end time of the specified jobnet predicted based on the execution time prediction model.
また、特許文献2には、スケジュールされたジョブの実行状況に応じた柔軟なキャッシュ管理を行う情報処理装置が開示されている。この装置は、ジョブで用いられる各データの将来の使用時期を予測する。この装置は、ジョブを実行し、ジョブの実行状況を取得する。この装置は、キャッシュを備え、キャッシュ内の各データの将来の使用時期に基づいて優先度を算出する優先度算出アルゴリズムと実行状況に対する条件とを対応付けた情報を、ジョブ毎に保持する。この装置は、実行状況が満たす条件に対応付けられた優先度算出アルゴリズムを用いて、キャッシュ内のデータに優先度を算出する。そしてこの装置は、キャッシュ内のデータを優先度に基づいて選択して削除する。 Patent Document 2 also discloses an information processing device that performs flexible cache management according to the execution status of scheduled jobs. The device predicts the future use time of each piece of data used in a job. The device executes the job and obtains the execution status of the job. The device has a cache, and holds, for each job, information that associates a priority calculation algorithm that calculates a priority based on the future use time of each piece of data in the cache with conditions for the execution status. The device calculates a priority for data in the cache using the priority calculation algorithm associated with the conditions satisfied by the execution status. The device then selects and deletes data in the cache based on the priority.
また、特許文献3には、ジョブ実行サーバで実行されるジョブ毎の予め設定された入力データと出力データとに基づいて、複数のジョブの一連の実行順序を設定した実行経路情報を生成するジョブ管理装置が開示されている。この装置は、実行経路情報に従って当該実行経路情報における一連のジョブが1つのジョブ実行サーバで実行されるよう実行スケジュールを生成する。そしてこの装置は、実行スケジュールに従って実行経路情報における一連のジョブが実行されるようジョブ実行サーバを制御する。 Patent Document 3 discloses a job management device that generates execution path information that sets a series of execution orders for multiple jobs based on preset input data and output data for each job executed by a job execution server. This device generates an execution schedule so that a series of jobs in the execution path information are executed by one job execution server according to the execution path information. This device then controls the job execution server so that the series of jobs in the execution path information are executed according to the execution schedule.
コンピュータが実行するジョブ(情報処理)が外部のデータやサービス(以下外部情報と称する)に依存する場合、ジョブが使用する際の外部情報の鮮度(新しさ)に関する要件(例えば、前日までのデータでよい、あるいは可能な限り最新のデータを使用したいなど)が存在することが多い。また一般的に、ジョブの実行完了時刻に関する要件も存在することが多い。したがって、このようなジョブをコンピュータに実行させる場合、上述した要件を満たすようにジョブの実行計画を設定する必要があるが、このようなジョブの実行計画の設定を、例えば利用者が行うことは困難である。特許文献1乃至3は、このような問題には特に言及していない。 When a job (information processing) executed by a computer depends on external data or services (hereinafter referred to as external information), there are often requirements regarding the freshness (lateness) of the external information used by the job (for example, data from the previous day is sufficient, or the most recent data possible is desired to be used). In addition, there are often requirements regarding the completion time of job execution. Therefore, when executing such a job on a computer, it is necessary to set a job execution plan that satisfies the above-mentioned requirements, but it is difficult for a user, for example, to set such a job execution plan. Patent documents 1 to 3 do not specifically mention such problems.
本発明の主たる目的は、情報処理が使用する外部から取得する情報の鮮度及び情報処理の実行完了時刻に関する要件を満たすように情報処理を自動で実行できるようにすることである。 The main objective of the present invention is to enable automatic execution of information processing so as to satisfy requirements regarding the freshness of information obtained from an external source and used in the information processing and the time at which the information processing is completed.
本発明の一態様に係るジョブ管理装置は、外部装置において更新される外部情報を用いた情報処理において、前記外部情報の鮮度及び前記情報処理の実行完了時刻に関する要件を取得する要件取得手段と、前記情報処理が実行される前に内部記憶装置に格納された前記外部情報の鮮度を取得する鮮度取得手段と、前記外部情報を、前記情報処理の実行時に前記外部装置から取得する場合と前記内部記憶装置から取得する場合とに関して、前記情報処理の実行開始時刻から、取得する前記外部情報の鮮度及び前記実行完了時刻を予測する予測手段と、予測された前記外部情報の鮮度及び前記実行完了時刻が前記要件を満たすような、前記実行開始時刻、及び、前記外部情報を前記外部装置及び前記内部記憶装置のいずれかから取得するのかを表す前記情報処理の実行計画を生成する生成手段と、前記実行計画を用いて前記情報処理の実行を制御する制御手段と、を備える。 A job management device according to one aspect of the present invention includes a requirement acquisition means for acquiring requirements related to the freshness of external information and the execution completion time of the information processing using external information updated in an external device, a freshness acquisition means for acquiring the freshness of the external information stored in an internal storage device before the information processing is executed, a prediction means for predicting the freshness of the external information to be acquired and the execution completion time from the execution start time of the information processing for when the external information is acquired from the external device and when it is acquired from the internal storage device during the execution of the information processing, a generation means for generating an execution plan for the information processing indicating the execution start time and whether the external information is acquired from the external device or the internal storage device such that the predicted freshness of the external information and the execution completion time satisfy the requirements, and a control means for controlling the execution of the information processing using the execution plan.
上記目的を達成する他の見地において、本発明の一態様に係るジョブ管理方法は、情報処理装置によって、外部装置において更新される外部情報を用いた情報処理において、前記外部情報の鮮度及び前記情報処理の実行完了時刻に関する要件を取得し、前記情報処理が実行される前に内部記憶装置に格納された前記外部情報の鮮度を取得し、前記外部情報を、前記情報処理の実行時に前記外部装置から取得する場合と前記内部記憶装置から取得する場合とに関して、前記情報処理の実行開始時刻から、取得する前記外部情報の鮮度及び前記実行完了時刻を予測し、予測された前記外部情報の鮮度及び前記実行完了時刻が前記要件を満たすような、前記実行開始時刻、及び、前記外部情報を前記外部装置及び前記内部記憶装置のいずれかから取得するのかを表す前記情報処理の実行計画を生成し、前記実行計画を用いて前記情報処理の実行を制御する。 In another aspect of achieving the above object, a job management method according to one aspect of the present invention includes, in an information processing device, acquiring requirements related to the freshness of the external information and the execution completion time of the information processing using external information updated in an external device, acquiring the freshness of the external information stored in an internal storage device before the information processing is executed, predicting the freshness of the external information to be acquired and the execution completion time from the execution start time of the information processing for when the external information is acquired from the external device and when it is acquired from the internal storage device during the execution of the information processing, generating an execution plan for the information processing indicating the execution start time and whether the external information will be acquired from the external device or the internal storage device such that the predicted freshness of the external information and the execution completion time satisfy the requirements, and controlling the execution of the information processing using the execution plan.
また、上記目的を達成する更なる見地において、本発明の一態様に係るジョブ管理プログラムは、外部装置において更新される外部情報を用いた情報処理において、前記外部情報の鮮度及び前記情報処理の実行完了時刻に関する要件を取得する要件取得処理と、前記情報処理が実行される前に内部記憶装置に格納された前記外部情報の鮮度を取得する鮮度取得処理と、前記外部情報を、前記情報処理の実行時に前記外部装置から取得する場合と前記内部記憶装置から取得する場合とに関して、前記情報処理の実行開始時刻から、取得する前記外部情報の鮮度及び前記実行完了時刻を予測する予測処理と、予測された前記外部情報の鮮度及び前記実行完了時刻が前記要件を満たすような、前記実行開始時刻、及び、前記外部情報を前記外部装置及び前記内部記憶装置のいずれかから取得するのかを表す前記情報処理の実行計画を生成する生成処理と、前記実行計画を用いて前記情報処理の実行を制御する制御処理と、をコンピュータに実行させる。 In addition, in a further aspect of achieving the above object, a job management program according to one aspect of the present invention causes a computer to execute, in an information processing using external information updated in an external device, a requirement acquisition process for acquiring requirements related to the freshness of the external information and the execution completion time of the information processing, a freshness acquisition process for acquiring the freshness of the external information stored in an internal storage device before the information processing is executed, a prediction process for predicting the freshness of the external information to be acquired and the execution completion time from the execution start time of the information processing for when the external information is acquired from the external device and when it is acquired from the internal storage device during the execution of the information processing, a generation process for generating an execution plan for the information processing indicating the execution start time and whether the external information is acquired from the external device or the internal storage device such that the predicted freshness of the external information and the execution completion time satisfy the requirements, and a control process for controlling the execution of the information processing using the execution plan.
更に、本発明は、係るジョブ管理プログラム(コンピュータプログラム)が格納された、コンピュータ読み取り可能な、不揮発性の記録媒体によっても実現可能である。 Furthermore, the present invention can also be realized by a computer-readable, non-volatile recording medium on which such a job management program (computer program) is stored.
本発明は、情報処理が使用する外部から取得する情報の鮮度及び情報処理の実行完了時刻に関する要件を満たすように情報処理を自動で実行することができる。 The present invention can automatically execute information processing so as to satisfy requirements regarding the freshness of information obtained from an external source and used in the information processing and the time at which the information processing is completed.
以下、本発明の実施の形態について図面を参照して詳細に説明する。 The following describes in detail the embodiments of the present invention with reference to the drawings.
<第1の実施形態>
図1は、本発明の第1の実施の形態に係るジョブ管理システム1の構成を示すブロック図である。ジョブ管理システム1は、大別して、ジョブ管理装置10、情報処理装置20、利用者端末30、1以上の外部装置40を有する。ジョブ管理装置10、情報処理装置20、利用者端末30、外部装置40は、通信ネットワーク50を介して通信可能に接続されている。通信ネットワーク50は、例えばインターネットである。
First Embodiment
1 is a block diagram showing the configuration of a job management system 1 according to a first embodiment of the present invention. The job management system 1 broadly includes a
ジョブ管理装置10は、情報処理装置20において実行されるジョブ(情報処理の一例)の実行を管理する。ジョブ管理装置10は、情報処理装置20に含まれる装置でもよいし、通信ネットワーク50を介さずに情報処理装置20と直接に接続されてもよい。情報処理装置20は、図16を参照して後述する情報処理装置900と同様の構成を備える。
The
利用者端末30は、ジョブ管理装置10の利用者が使用する、例えばパーソナルコンピュータ、タブレット端末、スマートフォン等の情報処理装置である。利用者端末30は、例えば、キーボード、マウス、タッチパネル機能を有する表示画面等のユーザインタフェースを備える。利用者端末30は、当該ユーザインタフェースを介して利用者により入力された情報をジョブ管理装置10に入力し、ジョブ管理装置10から出力された情報を、当該ユーザインタフェースを介して利用者に提示する。
The
1以上の外部装置40はサーバ等の情報処理装置であり、外部データ41(外部情報の一例)を管理する。外部データ41は外部装置40において、例えば随時更新され、情報処理装置20において実行されるジョブによって使用される。情報処理装置20は、ジョブを実行する際に外部装置40から取得した外部データ41を、具備するキャッシュ21(内部記憶装置の一例)に格納する。尚、本実施形態では後述する説明において、外部データ41A、外部データ41Bというように、異なる外部データ41を区別して記載する場合がある。
One or more
ジョブ管理装置10は、要件取得部11、鮮度取得部12、予測部13、生成部14、制御部15、記憶部16を備える。要件取得部11、鮮度取得部12、予測部13、生成部14、制御部15は、順に、要件取得手段、鮮度取得手段、予測手段、生成手段、制御手段の一例である。
The
記憶部16は、例えば、図16を参照して後述するRAM(Random Access Memory)903あるいはハードディスク904のような記憶デバイスである。記憶部16は、ジョブネット構成情報161、要件162、キャッシュ管理情報163、実行実績情報164、予測結果165、実行計画166を記憶している。記憶部16に記憶されたこれらの情報に関しては後述する。
The
図2は、ジョブネット構成情報161のデータを例示する図である。ジョブネット構成情報161は、目的の業務などの情報処理を実現する複数のジョブの実行フローを定義したジョブネットを表す情報である。尚、図2では、説明の便宜上、ジョブネット構成情報161をフロー図によって表しているが、ジョブネット構成情報161は、実際には、図2に例示するフロー図を表すコードによって構成される。また、情報処理装置20において実行されるジョブは、例えば、シェルスクリプト(UNIX(登録商標)の場合)あるいはバッチスクリプト(Windows(登録商標)の場合)等によって定義される。ジョブネット構成情報161は、例えばジョブ管理装置10の利用者による利用者端末30を介した入力操作等によって、事前に記憶部16に格納される。
Figure 2 is a diagram illustrating the data of the
図2に例示するジョブネット構成情報161が表すジョブネットは、ジョブ101乃至108という8個のジョブを含む。当該ジョブネットでは、まず外部データ41Aを取得するジョブ101が実行された後、外部データ41Bを取得するジョブ102と、外部データ41Cを取得するジョブ104と、外部データ41Dを取得するジョブ106とが、並列に実行される。当該ジョブネットでは、ジョブ102の実行が完了した後にデータ処理を行うジョブ103が実行され、ジョブ104の実行が完了した後にデータ処理を行うジョブ105が実行され、ジョブ106の実行が完了した後にデータ処理を行うジョブ107が実行される。当該ジョブネットでは、ジョブ103、ジョブ105、及びジョブ107の実行が完了した後にデータ処理を行うジョブ108が実行される。尚、図2に例示するジョブネット構成情報161は一例であり、ジョブネット構成情報161は、図2とは異なる構成のジョブネットを表してもよい。
The job net represented by the job
要件取得部11は、情報処理装置20あるいは利用者端末30等から要件162を取得し、取得した要件162を記憶部16に格納する。
The
図3は、本実施形態に係る要件162のデータを例示する図である。図3に例示する要件162は、ジョブネット構成情報161が表すジョブネットの実行完了時刻、及び、当該ジョブネットにおいて使用される外部データ41A乃至41Dの鮮度(新しさ)に関する要件を表す。
Figure 3 is a diagram illustrating data of
図3に例示する要件162は、ジョブネットの実行が1時0分までに完了すること、使用する外部データ41Aが当日0時0分以降のデータであって、より新しいデータであること、使用する外部データ41Bが前日0時0分以降のデータであること、使用する外部データ41Cが前日12時0分以降のデータであること、使用する外部データ41Dが当日0時0分以降のデータであること、を表している。尚、図3に例示する要件162は一例であり、要件162は、図3とは異なる要件を表してもよい。
鮮度取得部12は、情報処理装置20等からキャッシュ管理情報163を取得し、取得したキャッシュ管理情報163を記憶部16に格納する。キャッシュ管理情報163は、情報処理装置20のキャッシュ21に事前に格納されている外部データ41に関するキャッシュ21への格納時刻を表す。外部データ41は、外部装置40において随時更新されるので、キャッシュ21に格納された外部データ41は、キャッシュ21に格納された時刻よりも後に更新された内容が反映されていない。したがって、キャッシュ管理情報163は、情報処理装置20においてジョブネット構成情報161が表すジョブネットが実行される前にキャッシュ21に格納された外部データ41の鮮度を表す。
The
図4は、本実施形態に係るキャッシュ管理情報163のデータを例示する図である。図4に例示するキャッシュ管理情報163は、外部データ41Aが前日6時0分にキャッシュ21に格納され、外部データ41Bが前日0時0分にキャッシュ21に格納され、外部データ41Cが前日12時0分にキャッシュ21に格納され、外部データ41Dが前日9時0分にキャッシュ21に格納されたことを表している。
Figure 4 is a diagram illustrating data of
図5は、本実施形態に係る実行実績情報164のデータを例示する図である。実行実績情報164は、ジョブネット構成情報161に含まれるジョブ101乃至108の個々に関する、情報処理装置20による実行時間(あるジョブに関して実行開始から実行完了までに要する時間)の実績を表す情報である。当該実行時間の実績は、例えば、過去に実行された複数回の実績値の平均値であってもよい。図5に例示する実行実績情報164によれば、ジョブ101乃至108に関する実行時間の実績は、順に、20分、30分、20分、20分、10分、10分、10分、10分である。
FIG. 5 is a diagram illustrating data of
予測部13は、外部データ41を、ジョブネット構成情報161が表すジョブネットの実行時に外部装置40から取得する場合とキャッシュ21から取得する場合とに関して、当該ジョブネットの実行開始時刻から、取得する外部データ41の鮮度及びジョブネットの実行完了時刻を予測する。予測部13は、その予測結果165を記憶部16に格納する。
The
生成部14は、予測部13によって予測された外部データ41の鮮度及びジョブネットの実行完了時刻が要件162を満たすような、ジョブネットの実行開始時刻、及び、外部データ41を外部装置40及びキャッシュ21のいずれかから取得するのかを表すジョブネットの実行計画166を生成する。生成部14は生成した実行計画166を記憶部16に格納する。
The
上述した予測部13と生成部14とが連携して、外部データ41の鮮度及びジョブネットの実行完了時刻が要件162を満たすようなジョブネットの実行計画166を生成する動作に関して、図6乃至図12を参照して説明する。
The operation of the
予測部13は、図2に例示するジョブネット構成情報161から、ジョブネットに含まれる、「ジョブ101→ジョブ102→ジョブ103→ジョブ108」(実行パスA)、「ジョブ101→ジョブ104→ジョブ105→ジョブ108」(実行パスB)、「ジョブ101→ジョブ106→ジョブ107→ジョブ108」(実行パスC)という3つの実行パスを抽出する。但し、予測部13には、ジョブネット構成情報161から実行パスを抽出するための手順を示す情報が与えられていることとする。予測部13は、実行実績情報164によって示される通り、ジョブ101、ジョブ102、ジョブ103、ジョブ108の実行時間が、順に20分、30分、20分、10分であることから、実行パスAの実行に要する時間が80分であると算出する。予測部13は、同様に実行実績情報164に基づいて、実行パスB及びCの実行に要する時間が、順に、60分、50分であると算出する。即ち、ジョブネット構成情報161に含まれる3つの実行パスのうち、実行パスAが実行に要する時間が最も長いクリティカルパスである。この場合、予測部13は、最初に、クリティカルパスである実行パスAを、ジョブネットの実行開始時刻から、取得する外部データ41の鮮度及びジョブネットの実行完了時刻を予測する対象に設定する。
2, the
図6は、本実施形態に係る予測結果165のデータの第1の例を表す図である。図6に例示する予測結果165は、上述した実行パスAに関する予測結果である。予測部13は、例えば、図3に例示する要件162が、外部データ41A及び41Dの鮮度が当日0時0分以降のデータであることを表すことをふまえ、ジョブネットの実行開始時刻の初期値を0時0分に設定する。予測部13は、また、取得する外部データ41の鮮度が要件162を満たせるように、外部データ41の取得先の初期値を外部装置40に設定する。
Figure 6 is a diagram showing a first example of the data of the
生成部14は、図6に例示する予測結果165において、ジョブネットの実行完了時刻は1時20分であり、「1時0分まで」という要件162を満たさないと判定する。
In the
生成部14は、図6に例示する予測結果165が要件162を満たさないことから、取得先を外部装置40からキャッシュ21に変更しても鮮度に関する要件162を満たすことが可能な外部データ41が存在するか確認する。尚、本実施形態では、外部データ41をキャッシュ21から取得するのに要する時間は、外部データ41を外部装置40から取得するのに要する時間よりも短いこととする。また、外部データ41をキャッシュ21から取得するのに要する時間は、無視できるほど小さいこととする。即ち、ある外部データ41の取得先を外部装置40からキャッシュ21に変更した場合、取得する外部データ41の鮮度は低下するが、ジョブネットの実行時間は短くなる。
Because the
図3に例示する要件162は、外部データ41Bの鮮度が前日0時0分以降のデータであることを表している。そして、図4に例示するキャッシュ管理情報163は、外部データ41Bのキャッシュ21への格納時刻が前日0時0分であることを表している。したがって、生成部14は、図6に例示する予測結果165において、ジョブ102によって使用される外部データ41Bの取得先を外部装置40からキャッシュ21に変更しても、外部データ41Bの鮮度は要件162を満たしていると判定する。生成部14は、この判定結果に基づいて、ジョブ102によって使用される外部データ41Bの取得先を外部装置40からキャッシュ21に変更して、実行パスAに関する予測結果165を算出するように、予測部13を制御する。
The
図7は、本実施形態に係る予測結果165のデータの第2の例を表す図である。図7に例示する予測結果165では、上述した生成部14による予測部13に対する制御によって、ジョブ102によって使用される外部データ41Bの取得先が、外部装置40からキャッシュ21に変更されている。
Figure 7 is a diagram showing a second example of data of a
生成部14は、図7に例示する予測結果165において、ジョブネットの実行完了時刻は0時50分であり、「1時0分まで」という要件162を満たすと判定する。生成部14は、合わせて、予測されたジョブネットの実行完了時刻が、要件162が示す1時0分までには10分の余裕があり、図3に例示する通り、外部データ41Aに関する「当日0時0分以降のデータであって、より新しいデータ」という要件162の鮮度に関して改善余地があると判定する。
The
生成部14は、この判定結果に基づいて、ジョブネットの実行開始時刻を10分遅らせて0時10分に変更して、実行パスAに関する予測結果165を算出するように、予測部13を制御する。即ち、生成部14は、ジョブネットの実行完了時刻が要件162を満たせる条件のもとで、外部データ41Aの鮮度が最も新しくなるような予測結果165を算出するように、予測部13を制御する。
Based on this determination result, the
図8は、本実施形態に係る予測結果165のデータの第3の例を表す図である。図8に例示する予測結果165では、上述した生成部14による予測部13に対する制御によって、ジョブネットの実行開始時刻が0時0分から0時10分に変更されている。
Figure 8 is a diagram showing a third example of data of a
生成部14は、図8に例示する予測結果165において、ジョブネットの実行完了時刻は要件162を満たし、かつ、要件162が示す1時0分と等しいので、上述した外部データAの鮮度の要件162に関して改善余地がないと判定する。即ちこの場合、ジョブネットの実行完了時刻が要件162を満たせる条件のもとで、外部データ41Aの鮮度が最も新しくなっている。したがって生成部14は、外部データ41の鮮度に関しても要件162を満たしていると判定する。予測部13は、生成部14による上述した判定に基づいて、実行パスAに関する、取得する外部データ41の鮮度及びジョブネットの実行完了時刻の予測を終了する。
In the
予測部13は、次に、実行に要する時間が実行パスAに次いで長い実行パスBを、ジョブネットの実行開始時刻から、取得する外部データ41の鮮度及びジョブネットの実行完了時刻を予測する対象に設定する。
The
図9は、本実施形態に係る予測結果165のデータの第4の例を表す図である。図9に例示する予測結果165は、実行パスBに関する予測結果である。予測部13は、ジョブネットの実行開始時刻を、図8に例示する実行パスAに関する予測結果165と同じ0時10分に設定する。
Figure 9 is a diagram showing a fourth example of
生成部14は、図9に例示する予測結果165において、ジョブネットの実行完了時刻は1時10分であり、「1時0分まで」という要件162を満たさないと判定する。
In the
生成部14は、図9に例示する予測結果165が要件162を満たさないことから、実行パスAのときと同様に、取得先を外部装置40からキャッシュ21に変更しても鮮度に関する要件162を満たすことが可能な外部データ41が存在するか確認する。
Since the
図3に例示する要件162は、外部データ41Cの鮮度が前日12時0分以降のデータであることを表している。そして、図4に例示するキャッシュ管理情報163は、外部データ41Cのキャッシュ21への格納時刻が前日12時0分であることを表している。したがって、生成部14は、図9に例示する予測結果165において、ジョブ104によって使用される外部データ41Cの取得先を外部装置40からキャッシュ21に変更しても、外部データ41Cの鮮度は要件162を満たしていると判定する。生成部14は、この判定結果に基づいて、ジョブ104によって使用される外部データ41Cの取得先を外部装置40からキャッシュ21に変更して、実行パスBに関する予測結果165を算出するように、予測部13を制御する。
The
図10は、本実施形態に係る予測結果165のデータの第5の例を表す図である。図10に例示する予測結果165では、上述した生成部14による予測部13に対する制御によって、ジョブ104によって使用される外部データ41Cの取得先が、外部装置40からキャッシュ21に変更されている。
Figure 10 is a diagram showing a fifth example of data of a
生成部14は、図10に例示する予測結果165において、ジョブネットの実行完了時刻は1時0分であり、「1時0分まで」という要件162を満たすと判定する。生成部14は、また、外部データ41の鮮度に関しても要件162を満たしていると判定する。予測部13は、生成部14による上述した判定に基づいて、実行パスBに関する、取得する外部データ41の鮮度及びジョブネットの実行完了時刻の予測を終了する。
In the
予測部13は、次に実行パスCを、ジョブネットの実行開始時刻から、取得する外部データ41の鮮度及びジョブネットの実行完了時刻を予測する対象に設定する。
The
図11は、本実施形態に係る予測結果165のデータの第6の例を表す図である。図11に例示する予測結果165は、実行パスCに関する予測結果である。予測部13は、ジョブネットの実行開始時刻を、図8に例示する実行パスAに関する予測結果165及び図10に例示する実行パスBに関する予測結果165と同じ0時10分に設定する。
Figure 11 is a diagram showing a sixth example of
生成部14は、図11に例示する予測結果165において、ジョブネットの実行完了時刻は1時0分であり、「1時0分まで」という要件162を満たすと判定する。生成部14は、また、外部データ41の鮮度に関しても要件162を満たしていると判定する。予測部13は、生成部14による上述した判定に基づいて、実行パスCに関する、取得する外部データ41の鮮度及びジョブネットの実行完了時刻の予測を終了する。
In the
生成部14は、図8に例示する実行パスAに関する予測結果165、図10に例示する実行パスBに関する予測結果165、及び、図11に例示する実行パスCに関する予測結果165に基づいて、ジョブネットの実行計画166を生成する。
The
図12は、本実施形態に係るジョブネットの実行計画166のデータを例示する図である。図12に例示する実行計画166は、ジョブネットの実行開始時刻が0時10分であり、外部データ41A乃至41Dの取得先が、順に、外部装置40、キャッシュ21、キャッシュ21、外部装置40であることを表している。
Figure 12 is a diagram illustrating data of a
生成部14は、上述した予測部13及び生成部14による処理において、取得する外部データ41の鮮度及びジョブネットの実行完了時刻が要件162を満たすような実行計画166が存在しない場合、例外処理を行う。そして生成部14は、外部データ41の鮮度及びジョブネットの実行完了時刻が要件162を満たす実行計画166を生成できないことを表す例外処理を行ったことを、例えば利用者端末30に通知する。
In the processing by the
制御部15は、生成部14により生成された実行計画166を用いて、情報処理装置20による図2に例示するジョブネット構成情報161が表すジョブネットの実行を制御する。情報処理装置20は、制御部15による制御にしたがって、当該ジョブネットを実行する。
The
次に図13A及び13Bのフローチャートを参照して、本実施形態に係るジョブ管理装置10の動作(処理)について詳細に説明する。
Next, the operation (processing) of the
要件取得部11は、情報処理装置20あるいは利用者端末30等から要件162を取得し、取得した要件162を記憶部16に格納する(ステップS101)。鮮度取得部12は、情報処理装置20等からキャッシュ管理情報163を取得し、取得したキャッシュ管理情報163を記憶部16に格納する(ステップS102)。
The
予測部13は、ジョブネット構成情報161からジョブネットの実行パスを抽出する(ステップS103)。予測部13は、ジョブの実行開始時刻及び実行完了時刻の予測を行っていない実行パスのうち、実行に要する時間が最も長い実行パスを選択し、設定したジョブネットの実行開始時刻に基づいて、予測結果165を生成する(ステップS104)。生成部14は、ジョブネットの当該実行パスに関する実行完了時刻が要件162を満たすか判定する(ステップS105)。
The
当該実行パスに関する実行完了時刻が要件162を満たす場合(ステップS106でYes)、処理はステップS110へ進む。当該実行パスに関する実行完了時刻が要件162を満たさない場合(ステップS106でNo)、生成部14は、取得先を外部装置40からキャッシュ21に変更しても、要件162を満たせるような外部データ41が存在するか判定する(ステップS107)。
If the execution completion time for the execution path satisfies requirement 162 (Yes in step S106), the process proceeds to step S110. If the execution completion time for the execution path does not satisfy requirement 162 (No in step S106), the
要件162を満たせるような外部データ41が存在しない場合(ステップS108でNo)、生成部14は、外部データ41の鮮度及びジョブネットの実行完了時刻が要件162を満たす実行計画166を生成できないことを表す例外処理を行い、当該例外処理を行ったことを利用者端末30に通知して(ステップS116)、全体の処理は終了する。
If there is no
要件162を満たせるような外部データ41が存在する場合(ステップS108でYes)、生成部14は、要件162を満たせるような外部データ41の取得先を外部装置40からキャッシュ21に変更して予測結果165を生成するように予測部13を制御し(ステップS109)、処理はステップS105に戻る。
If
生成部14は、取得する外部データ41の鮮度に関して要件162を満たせるように、ジョブネットの実行完了時刻に関する要件162を満たせる条件のもとでジョブネットの実行開始時刻を遅くすることの調整が可能か判定する(ステップS110)。ジョブネットの実行開始時刻を遅くすることの調整が可能でない場合(ステップS111でNo)、処理はステップS113へ進む。ジョブネットの実行開始時刻を遅くすることの調整が可能である場合(ステップS111でYes)、予測部13は、ジョブネットの実行開始時刻を調整した予測結果165を生成する(ステップS112)。
The
ジョブの実行開始時刻及び実行完了時刻の予測を行っていない実行パスが存在する場合(ステップS113でYes)、処理はステップS104へ戻る。ジョブの実行開始時刻及び実行完了時刻の予測を行っていない実行パスが存在しない場合(ステップS113でNo)、生成部14は、予測結果165に基づいて実行計画166を生成し、生成した実行計画166を記憶部16に格納する(ステップS114)。制御部15は、生成部14により生成された実行計画166用いて、情報処理装置20によるジョブネット構成情報161が表すジョブネットの実行を制御し(ステップS115)、全体の処理は終了する。
If there is an execution path for which the job execution start time and execution completion time have not been predicted (Yes in step S113), the process returns to step S104. If there is no execution path for which the job execution start time and execution completion time have not been predicted (No in step S113), the
本実施形態に係るジョブ管理装置10は、情報処理が使用する外部から取得する情報の鮮度及び情報処理の実行完了時刻に関する要件を満たすように情報処理を自動で実行することができる。その理由は、ジョブ管理装置10は、取得する外部データ41の鮮度とジョブネットの実行完了時刻とが要件162を満たすように、外部装置40とキャッシュ21とのいずれかである外部データ41の取得先と、ジョブネットの実行開始時刻とを調整した実行計画166を用いて、情報処理装置20によるジョブネットの実行を制御するからである。
The
以下に、本実施形態に係るジョブ管理装置10によって実現される効果について、詳細に説明する。
The effects achieved by the
コンピュータが実行するジョブ(情報処理)が外部のデータやサービス等の外部情報に依存する場合、ジョブが使用する際の外部情報の鮮度(新しさ)に関する要件が存在することが多い。また一般的に、ジョブの実行完了時刻に関する要件も存在することが多い。したがって、このようなジョブをコンピュータに実行させる場合、上述した要件を満たすようにジョブの実行計画を設定する必要があるが、このようなジョブの実行計画の設定を例えば利用者が行うことは困難である。 When a job (information processing) executed by a computer depends on external information such as external data or services, there are often requirements regarding the freshness (newness) of the external information used by the job. In addition, there are generally also often requirements regarding the time at which the job is to be completed. Therefore, when executing such a job on a computer, it is necessary to set up an execution plan for the job so as to satisfy the above-mentioned requirements, but it is difficult for a user, for example, to set up such an execution plan for the job.
このような課題に対して、本実施形態に係るジョブ管理装置10は、外部装置40において更新される外部データ41を用いたジョブネット(情報処理)において、外部データ41の鮮度及びジョブネットの実行完了時刻に関する要件162を取得する。ジョブ管理装置10は、ジョブネットが実行される前にキャッシュ21に格納された外部データ41の鮮度を取得する。ジョブ管理装置10は、外部データ41を、ジョブネットの実行時に外部装置40から取得する場合とキャッシュ21から取得する場合とに関して、ジョブネットの実行開始時刻から、取得する外部データ41の鮮度及び当該実行完了時刻を予測する。ジョブ管理装置10は、予測された外部データ41の鮮度及び当該実行完了時刻が要件162を満たすような、当該実行開始時刻、及び、外部データ41を外部装置40及びキャッシュ21のいずれかから取得するのかを表すジョブネットの実行計画166を生成する。そしてジョブ管理装置10は、実行計画166を用いてジョブネットの実行を制御する。これにより、ジョブ管理装置10は、ジョブが使用する外部から取得する情報の鮮度及びジョブの実行完了時刻に関する要件を満たすようにジョブを自動で実行することができる。
In response to such a problem, the
また、本実施形態に係る要件162は、外部データ41の鮮度が所定の時刻よりも新しいこと、及び、ジョブネットの実行完了時刻が所定の期限よりも前の時刻であることの少なくともいずれかを表す。要件162は、また、ジョブネットの実行完了時刻が所定の期限よりも前の時刻となる条件のもとで、外部データ41の鮮度が最も新しいことを表す。要件162は、また、ジョブネットの実行完了時刻が当該所定の期限と等しいことを表す。そして、ジョブ管理装置10は、このような要件162を満たすようなジョブネットの実行計画166を生成する。これによりジョブ管理装置10は、利用者が所望する結果が得られるように、ジョブネットを実行することができる。
本実施形態に係るジョブ管理装置10は、ジョブネット構成情報161から、ジョブの実行パスを抽出して、抽出した実行パスごとに、実行パスに含まれるジョブが実行される時刻を予測する。そしてジョブ管理装置10は、実行パスに含まれるジョブが取得する外部データ41の鮮度が要件162を満たすか否かを判定する。ジョブ管理装置10は、その際、実行に要する時間の長さの順番で実行パスを選択して、ジョブが実行される時刻を予測する。これにより、ジョブ管理装置10は、要件162を満たすようなジョブネットの実行計画166を効率的に生成することができる。
The
<第2の実施形態>
図14は、本発明の第2の実施形態に係るジョブ管理装置60の構成を示すブロック図である。
Second Embodiment
FIG. 14 is a block diagram showing the configuration of a
本実施形態に係るジョブ管理装置60は、要件取得部61、鮮度取得部62、予測部63、生成部64、制御部65を備えている。要件取得部61、鮮度取得部62、予測部63、生成部64、制御部65は、順に、要件取得手段、鮮度取得手段、予測手段、生成手段、制御手段の一例である。
The
要件取得部61は、外部装置70において更新される外部情報71を用いた情報処理において、外部情報71の鮮度及び当該情報処理の実行完了時刻に関する要件610を取得する。外部装置70は、例えば、第1の実施形態に係る外部装置40と同様な装置である。外部情報71は、例えば、第1の実施形態に係る外部データ41と同様な情報である。要件610は、例えば、第1の実施形態に係る要件162と同様な情報である。要件取得部61は、例えば、第1の実施形態に係る要件取得部11と同様に動作する。
In information processing using
鮮度取得部62は、当該情報処理が実行される前に内部記憶装置80に格納された外部情報の鮮度620を取得する。内部記憶装置80は、例えば、第1の実施形態に係るキャッシュ21と同様な装置である。外部情報の鮮度620は、例えば、第1の実施形態に係るキャッシュ管理情報163と同様な情報である。鮮度取得部62は、例えば、第1の実施形態に係る鮮度取得部12と同様に動作する。
The
予測部63は、外部情報71を、当該情報処理の実行時に外部装置70から取得する場合と内部記憶装置80から取得する場合とに関して、当該情報処理の実行開始時刻から、取得する外部情報の鮮度631及び前記実行完了時刻632を予測する。外部情報の鮮度631及び前記実行完了時刻632は、例えば、第1の実施形態に係る予測結果165に含まれる情報と同様な情報である。予測部63は、例えば、第1の実施形態に係る予測部13と同様に動作する。
The
生成部64は、予測された外部情報の鮮度631及び実行完了時刻632が要件610を満たすような、実行開始時刻、及び、外部情報71を外部装置70及び内部記憶装置80のいずれかから取得するのかを表す当該情報処理の実行計画640を生成する。実行計画640は、例えば、第1の実施形態に係る実行計画166と同様な情報である。生成部64は、例えば、第1の実施形態に係る生成部14と同様に動作する。
The
制御部65は、実行計画640を用いて当該情報処理の実行を制御する。制御部65は、例えば、第1の実施形態に係る制御部15と同様に動作する。
The
次に図15のフローチャートを参照して、本実施形態に係るジョブ管理装置60の動作(処理)について詳細に説明する。
Next, the operation (processing) of the
要件取得部61は、外部情報71の鮮度及び情報処理の実行完了時刻に関する要件610を取得する(ステップS201)。鮮度取得部62は、当該情報処理が実行される前に内部記憶装置80に格納された外部情報の鮮度620を取得する(ステップS202)。
The
予測部63は、外部情報71を、当該情報処理の実行時に外部装置70から取得する場合と内部記憶装置80から取得する場合とに関して、当該情報処理の実行開始時刻から、取得する外部情報の鮮度631及び実行完了時刻632を予測する(ステップS203)。
The
生成部64は、予測された外部情報の鮮度631及び実行完了時刻632が要件610を満たすような、実行開始時刻、及び、外部情報71を外部装置70及び内部記憶装置80のいずれかから取得するのかを表す当該情報処理の実行計画640を生成する(ステップS204)。制御部65は、実行計画640を用いて当該情報処理の実行を制御し(ステップS205)、全体の処理は終了する。
The
本実施形態に係るジョブ管理装置60は、情報処理が使用する外部から取得する情報の鮮度及び情報処理の実行完了時刻に関する要件を満たすように情報処理を自動で実行することができる。その理由は、ジョブ管理装置60は、取得する外部情報の鮮度631と情報処理の実行完了時刻632とが要件610を満たすように、外部装置70と内部記憶装置80とのいずれかである外部情報71の取得先と、情報処理の実行開始時刻とを調整した実行計画640を用いて、当該情報処理の実行を制御するからである。
The
<ハードウェア構成例>
上述した各実施形態において図1、及び、図14に示したジョブ管理装置における各部は、専用のHW(HardWare)(電子回路)によって実現することができる。また、図1、及び、図14において、少なくとも、下記構成は、プロセッサによって実行される命令を含むソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。
・要件取得部11及び61、
・鮮度取得部12及び62、
・予測部13及び63、
・生成部14及び64、
・制御部15及び65、
・記憶部16における記憶制御機能。
<Hardware configuration example>
In each of the above-mentioned embodiments, each unit in the job management device shown in Fig. 1 and Fig. 14 can be realized by dedicated HW (Hardware) (electronic circuitry). In Fig. 1 and Fig. 14, at least the following components can be considered as functional (processing) units (software modules) of a software program including instructions executed by a processor.
- Storage control function in the
但し、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。この場合のハードウェア環境の一例を、図16を参照して説明する。 However, the division of the various parts shown in these figures is for the convenience of explanation, and various configurations may be assumed when implementing the system. An example of the hardware environment in this case will be described with reference to FIG. 16.
図16は、本発明の各実施形態に係るジョブ管理装置を実現可能な情報処理装置900(コンピュータ)の構成を例示的に説明する図である。即ち、図16は、図1及び図14に示したジョブ管理装置を実現可能なコンピュータ(情報処理装置)の構成であって、上述した実施形態における各機能を実現可能なハードウェア環境を表す。 Figure 16 is a diagram illustrating an example of the configuration of an information processing device 900 (computer) capable of realizing the job management device according to each embodiment of the present invention. That is, Figure 16 shows the configuration of a computer (information processing device) capable of realizing the job management device shown in Figures 1 and 14, and represents a hardware environment capable of realizing each function in the above-mentioned embodiment.
図16に示した情報処理装置900は、構成要素として下記を備えている。
・CPU(Central_Processing_Unit)901、
・ROM(Read_Only_Memory)902、
・RAM(Random_Access_Memory)903、
・ハードディスク(記憶装置)904、
・通信インタフェース905、
・バス906(通信線)、
・CD-ROM(Compact_Disc_Read_Only_Memory)等の記録媒体907に格納されたデータを読み書き可能なリーダライタ908、
・モニターやスピーカ、キーボード等の入出力インタフェース909。
The
CPU (Central_Processing_Unit) 901,
ROM (Read Only Memory) 902,
RAM (Random Access Memory) 903,
Hard disk (storage device) 904,
Bus 906 (communication line),
A reader/
Input/
即ち、上記構成要素を備える情報処理装置900は、これらの構成がバス906を介して接続された一般的なコンピュータである。情報処理装置900は、CPU901を複数備える場合もあれば、マルチコアにより構成されたCPU901を備える場合もある。
That is, the
そして、上述した実施形態を例に説明した本発明は、図16に示した情報処理装置900に対して、次の機能を実現可能なコンピュータプログラムを供給する。その機能とは、その実施形態の説明において参照したブロック構成図(図1及び図14)における上述した構成、或いはフローチャート(図13A、図13B、及び、図15)の機能である。本発明は、その後、そのコンピュータプログラムを、当該ハードウェアのCPU901に読み出して解釈し実行することによって達成される。また、当該装置内に供給されたコンピュータプログラムは、読み書き可能な揮発性のメモリ(RAM903)、または、ROM902やハードディスク904等の不揮発性の記憶デバイスに格納すれば良い。
The present invention, explained using the above-mentioned embodiment as an example, supplies a computer program capable of realizing the following functions to the
また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、現在では一般的な手順を採用することができる。その手順としては、例えば、CD-ROM等の各種記録媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等がある。そして、このような場合において、本発明は、係るコンピュータプログラムを構成するコード或いは、そのコードが格納された記録媒体907によって構成されると捉えることができる。 In the above case, the method of supplying the computer program to the hardware can be any currently common procedure. For example, the procedure can be installing the program in the device via a recording medium 907 such as a CD-ROM, or downloading the program from an external source via a communication line such as the Internet. In such a case, the present invention can be considered to be configured by the code that constitutes the computer program, or the recording medium 907 on which the code is stored.
以上、上述した実施形態を模範的な例として本発明を説明した。しかしながら、本発明は、上述した実施形態には限定されない。即ち、本発明は、本発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。 The present invention has been described above using the above-mentioned embodiment as an exemplary example. However, the present invention is not limited to the above-mentioned embodiment. In other words, the present invention can be applied in various aspects that can be understood by a person skilled in the art within the scope of the present invention.
1 ジョブ管理システム
10 ジョブ管理装置
11 要件取得部
12 鮮度取得部
13 予測部
14 生成部
15 制御部
16 記憶部
161 ジョブネット構成情報
162 要件
163 キャッシュ管理情報
164 実行実績情報
165 予測結果
166 実行計画
20 情報処理装置
21 キャッシュ
30 利用者端末
40 外部装置
41 外部データ
50 通信ネットワーク
60 ジョブ管理装置
61 要件取得部
610 要件
62 鮮度取得部
620 外部情報の鮮度
63 予測部
631 外部情報の鮮度
632 実行完了時刻
64 生成部
640 実行計画
65 制御部
70 外部装置
71 外部情報
80 内部記憶装置
900 情報処理装置
901 CPU
902 ROM
903 RAM
904 ハードディスク(記憶装置)
905 通信インタフェース
906 バス
907 記録媒体
908 リーダライタ
909 入出力インタフェース
LIST OF SYMBOLS 1
902 ROM
903 RAM
904 Hard disk (storage device)
905
Claims (10)
前記情報処理が実行される前に内部記憶装置に格納された前記外部情報の鮮度を取得する鮮度取得手段と、
前記外部情報を、前記情報処理の実行時に前記外部装置から取得する場合と前記内部記憶装置から取得する場合とに関して、前記情報処理の実行開始時刻から、取得する前記外部情報の鮮度及び前記実行完了時刻を予測する予測手段と、
予測された前記外部情報の鮮度及び前記実行完了時刻が前記要件を満たすような、前記実行開始時刻、及び、前記外部情報を前記外部装置及び前記内部記憶装置のいずれかから取得するのかを表す前記情報処理の実行計画を生成する生成手段と、
前記実行計画を用いて前記情報処理の実行を制御する制御手段と、
を備えるジョブ管理装置。 a requirement acquisition means for acquiring requirements relating to freshness of the external information and a completion time of the information processing, in an information processing using the external information updated in an external device;
a freshness acquisition means for acquiring freshness of the external information stored in an internal storage device before the information processing is executed;
a prediction means for predicting the freshness of the external information to be acquired and the execution completion time from a start time of the information processing when the external information is acquired from the external device and when the external information is acquired from the internal storage device during the execution of the information processing;
a generation means for generating an execution plan of the information processing, which indicates the execution start time and whether the external information is to be obtained from the external device or the internal storage device, such that the predicted freshness of the external information and the execution completion time satisfy the requirements;
A control means for controlling the execution of the information processing using the execution plan;
A job management device comprising:
請求項1に記載のジョブ管理装置。 the requirement indicates at least one of that the freshness of the external information is newer than a predetermined time and that the execution completion time is a time before a predetermined deadline;
The job management device according to claim 1 .
請求項2に記載のジョブ管理装置。 the requirement indicates that the external information is the newest under a condition that the execution completion time is a time before the predetermined time limit;
The job management device according to claim 2 .
請求項2または請求項3に記載のジョブ管理装置。 The requirement indicates that the execution completion time is equal to the predetermined deadline.
4. The job management device according to claim 2.
請求項1または請求項2に記載のジョブ管理装置。 the prediction means predicts the freshness of the external information to be acquired and the execution completion time based on a past execution record of the information processing.
3. The job management device according to claim 1.
前記予測手段は、前記ジョブネットの構成を表す情報に基づいて、個々の前記ジョブが実行される時刻を予測する、
請求項1または請求項2に記載のジョブ管理装置。 the information processing is a job net including a plurality of jobs,
the prediction means predicts a time when each of the jobs will be executed based on information representing a configuration of the job net;
3. The job management device according to claim 1.
前記生成手段は、前記実行パスに含まれる前記ジョブが取得する前記外部情報の鮮度が前記要件を満たすか否かを判定する、
請求項6に記載のジョブ管理装置。 the prediction means extracts execution paths of the jobs from information representing a configuration of the job net, and predicts, for each of the extracted execution paths, a time at which the job included in the execution path will be executed;
the generating means determines whether or not freshness of the external information acquired by the job included in the execution path satisfies the requirement.
The job management device according to claim 6.
請求項7に記載のジョブ管理装置。 the prediction means selects the execution paths in order of the length of time required for execution and predicts the time at which the job will be executed;
The job management device according to claim 7.
外部装置において更新される外部情報を用いた情報処理において、前記外部情報の鮮度及び前記情報処理の実行完了時刻に関する要件を取得し、
前記情報処理が実行される前に内部記憶装置に格納された前記外部情報の鮮度を取得し、
前記外部情報を、前記情報処理の実行時に前記外部装置から取得する場合と前記内部記憶装置から取得する場合とに関して、前記情報処理の実行開始時刻から、取得する前記外部情報の鮮度及び前記実行完了時刻を予測し、
予測された前記外部情報の鮮度及び前記実行完了時刻が前記要件を満たすような、前記実行開始時刻、及び、前記外部情報を前記外部装置及び前記内部記憶装置のいずれかから取得するのかを表す前記情報処理の実行計画を生成し、
前記実行計画を用いて前記情報処理の実行を制御する、
ジョブ管理方法。 By the information processing device,
In information processing using external information updated in an external device, requirements regarding freshness of the external information and a time when execution of the information processing is completed are acquired;
acquiring freshness of the external information stored in an internal storage device before the information processing is executed;
predicting freshness of the external information to be acquired and the execution completion time from a start time of the information processing with respect to a case where the external information is acquired from the external device and a case where the external information is acquired from the internal storage device during execution of the information processing;
generating an execution plan for the information processing, which indicates the execution start time and whether the external information is to be obtained from the external device or the internal storage device, such that the predicted freshness of the external information and the execution completion time satisfy the requirements;
Controlling the execution of the information processing using the execution plan.
Job management methods.
前記情報処理が実行される前に内部記憶装置に格納された前記外部情報の鮮度を取得する鮮度取得処理と、
前記外部情報を、前記情報処理の実行時に前記外部装置から取得する場合と前記内部記憶装置から取得する場合とに関して、前記情報処理の実行開始時刻から、取得する前記外部情報の鮮度及び前記実行完了時刻を予測する予測処理と、
予測された前記外部情報の鮮度及び前記実行完了時刻が前記要件を満たすような、前記実行開始時刻、及び、前記外部情報を前記外部装置及び前記内部記憶装置のいずれかから取得するのかを表す前記情報処理の実行計画を生成する生成処理と、
前記実行計画を用いて前記情報処理の実行を制御する制御処理と、
をコンピュータに実行させるためのジョブ管理プログラム。 a requirement acquisition process for acquiring requirements related to freshness of the external information and an execution completion time of the information processing, in an information processing using the external information updated in an external device;
a freshness acquisition process for acquiring freshness of the external information stored in an internal storage device before the information processing is executed;
a prediction process for predicting the freshness of the external information to be acquired and the execution completion time from a start time of the information processing, with respect to a case where the external information is acquired from the external device and a case where the external information is acquired from the internal storage device during execution of the information processing;
a generation process for generating an execution plan of the information processing, which indicates the execution start time and whether the external information is to be obtained from the external device or the internal storage device, such that the predicted freshness of the external information and the execution completion time satisfy the requirements;
a control process for controlling execution of the information processing using the execution plan;
A job management program for causing a computer to execute the following.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022152675A JP2024047188A (en) | 2022-09-26 | 2022-09-26 | JOB MANAGEMENT DEVICE, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2022152675A JP2024047188A (en) | 2022-09-26 | 2022-09-26 | JOB MANAGEMENT DEVICE, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2024047188A true JP2024047188A (en) | 2024-04-05 |
Family
ID=90527084
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2022152675A Pending JP2024047188A (en) | 2022-09-26 | 2022-09-26 | JOB MANAGEMENT DEVICE, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2024047188A (en) |
-
2022
- 2022-09-26 JP JP2022152675A patent/JP2024047188A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5342615B2 (en) | Virtual server control system and program | |
US8838620B2 (en) | Predictive data object retrieval | |
US20090077235A1 (en) | Mechanism for profiling and estimating the runtime needed to execute a job | |
US8606905B1 (en) | Automated determination of system scalability and scalability constraint factors | |
KR101224682B1 (en) | Method and computer-readable medium for formula-based document retention | |
KR20080073734A (en) | Readsheet cell-based notifications | |
CN110427258B (en) | Resource scheduling control method and device based on cloud platform | |
JP5619179B2 (en) | Computer system, job execution management method, and program | |
US20110302004A1 (en) | Customizing workflow based on participant history and participant profile | |
US20150095875A1 (en) | Computer-assisted release planning | |
JP2005148901A (en) | Job scheduling system | |
JP2024047188A (en) | JOB MANAGEMENT DEVICE, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM | |
JP2018067241A (en) | Operation log generation device, operation log generation system, operation log generation method, and operation log generation program | |
WO2020047390A1 (en) | Systems and methods for hybrid burst optimized regulated workload orchestration for infrastructure as a service | |
JP2016200912A (en) | Computer system, computer, job execution time prediction method and job execution time prediction program | |
CN113971074A (en) | Transaction processing method and device, electronic equipment and computer readable storage medium | |
JP2015108877A (en) | Prediction time distribution generation device, control method, and program | |
US8239870B2 (en) | Scheduling execution of work units with policy based extension of long-term plan | |
JP6141136B2 (en) | Apparatus and program | |
CN111858234A (en) | Task execution method, device, equipment and medium | |
WO2022202676A1 (en) | Information resource allocation assistance device, information resource allocation assistance method, and recording medium storing information resource allocation assistance program | |
JPWO2018230444A1 (en) | Accelerator control device, accelerator control method, and accelerator control program | |
US20240176485A1 (en) | Storage management system and method for managing storage apparatus | |
JPWO2019059135A1 (en) | Information processing apparatus, information processing system, information processing method, and program | |
JP2005242848A (en) | Batch job execution control system, program therefor, and recording medium with the program recorded thereon |