JPWO2018061219A1 - Job scheduling system, job scheduling method, and job scheduling apparatus - Google Patents
Job scheduling system, job scheduling method, and job scheduling apparatus Download PDFInfo
- Publication number
- JPWO2018061219A1 JPWO2018061219A1 JP2018541865A JP2018541865A JPWO2018061219A1 JP WO2018061219 A1 JPWO2018061219 A1 JP WO2018061219A1 JP 2018541865 A JP2018541865 A JP 2018541865A JP 2018541865 A JP2018541865 A JP 2018541865A JP WO2018061219 A1 JPWO2018061219 A1 JP WO2018061219A1
- Authority
- JP
- Japan
- Prior art keywords
- job
- file
- jobs
- schedule
- updated
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
【課題】複数のジョブの再設計に利用可能なジョブスケジューリングシステム、ジョブスケジューリング方法、およびジョブスケジューリング装置を提供する。【解決手段】複数のジョブが開始された時間を示す時間情報、複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブとファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうちファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、影響度が示されるスケジュール案を生成する生成部と、スケジュール案を出力する出力部と、を設けるようにした。A job scheduling system, a job scheduling method, and a job scheduling apparatus that can be used to redesign a plurality of jobs are provided. SOLUTION: For each of a plurality of jobs, history information including time information indicating time when a plurality of jobs are started and access information indicating that a file is referred to or updated in each of a plurality of jobs Identify the context, and identify the job that refers to the file among the jobs between the job of the starting point that has updated the file and the job of the end point that indicates the latest job that has updated the file The degree of influence is set according to the identified job, and a generation unit for generating a schedule proposal indicating the degree of influence and an output unit for outputting the schedule proposal are provided.
Description
本発明はジョブスケジューリングシステム、ジョブスケジューリング方法、およびジョブスケジューリング装置に関し、例えば複数のジョブのスケジュールの再設計に用いられるジョブスケジューリングシステム、ジョブスケジューリング方法、およびジョブスケジューリング装置に適用して好適なものである。 The present invention relates to a job scheduling system, a job scheduling method, and a job scheduling apparatus, and is suitably applied to, for example, a job scheduling system used for redesigning a schedule of a plurality of jobs, a job scheduling method, and a job scheduling apparatus. .
一般に、金融系システムなどに代表されるシステムでは、オンライン処理とバッチ処理とが実施される。特に、バッチ処理は、日中のオンライン処理で扱ったデータの集計処理業務などを取り扱うため、日中のオンライン業務が終了した後に実施されることが多い。そのため、夜間バッチ処理と呼ばれることもある。夜間バッチ処理では、数万以上といった膨大な数のジョブの中から、条件に応じて選択した多数のジョブが実行されている。そして、オンライン業務(第1処理)の開始までにバッチ業務(第2処理)を完了させる工夫がされている(特許文献1参照)。 Generally, in a system represented by a financial system etc., online processing and batch processing are performed. In particular, batch processing is often performed after the online work in the daytime is over, since it handles the tabulation processing of data handled in the online process in the daytime. Therefore, it may be called night batch processing. In nighttime batch processing, a large number of jobs selected according to conditions are executed out of a huge number of jobs such as tens of thousands or more. Then, a device has been devised to complete the batch work (second process) by the start of the online work (first process) (see Patent Document 1).
近年、過去のジョブ動作実績を参照し、現在の計算機資源の利用状況下で動作可能なジョブを選択する技術(特許文献2参照)、動作実績から各ジョブの処理時間の最長を求め、それをベースにジョブの優先度を決定する技術が開示されている(特許文献3参照)。 In recent years, technology to select jobs that can operate under current computer resource utilization conditions by referring to past job operation results (see Patent Document 2), and find the longest processing time of each job from operation results, A technology for determining the priority of a job on the basis is disclosed (see Patent Document 3).
ところで、業務形態の変更に伴い、バッチ処理の構造も変更されるため、最初は最適化されていたバッチ処理のスケジュールが多数のジョブが追加される等といったことが原因で、当初とは大きく異なったものとなり、挙句の果てには解析不能な複雑化したシステムになる可能性がある。しかしながら、上述の特許文献に記載の技術では、リアルタイムにジョブの実行順序を決定して実行することはできるが、複雑化したシステムのジョブを再設計することはできないという問題がある。 By the way, since the structure of batch processing is also changed along with the change of business form, the schedule of batch processing that was optimized at the beginning is largely different from the original because a large number of jobs are added, etc. The result may be a complex system that can not be analyzed at the end of the statement. However, with the technology described in the above-mentioned patent documents, although it is possible to determine and execute the execution order of jobs in real time, there is a problem that it is not possible to redesign a complicated system job.
本発明は以上の点を考慮してなされたもので、複数のジョブの再設計に利用可能なジョブスケジューリングシステム、ジョブスケジューリング方法、およびジョブスケジューリング装置を提案しようとするものである。 The present invention has been made in consideration of the above points, and an object thereof is to propose a job scheduling system, a job scheduling method, and a job scheduling apparatus which can be used for redesigning a plurality of jobs.
かかる課題を解決するため本発明においては、複数のジョブのスケジュールの再設計に用いられるジョブスケジューリングシステムであって、前記複数のジョブが開始された時間を示す時間情報、前記複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、前記複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブと前記ファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうち前記ファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、前記影響度が示されるスケジュール案を生成する生成部と、前記スケジュール案を出力する出力部とを設けるようにした。 In order to solve such problems, the present invention is a job scheduling system used for redesigning a schedule of a plurality of jobs, wherein time information indicating times when the plurality of jobs are started, each of the plurality of jobs For each of the plurality of jobs, from the history information including access information indicating that the file has been referenced or updated, the context of the job is specified for each of the plurality of jobs, and the subsequent job is the starting job that updated the file and the file Of the jobs between the end job indicating the most recent job that has further updated the file and the job referring to the file among the jobs, and setting the degree of influence according to the specified job, the schedule proposal indicating the degree of influence , And an output unit for outputting the schedule proposal.
また本発明においては、複数のジョブのスケジュールの再設計に用いられるシステムが実行するジョブスケジューリング方法であって、前記複数のジョブが開始された時間を示す時間情報、前記複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、前記複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブと前記ファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうち前記ファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、前記影響度が示されるスケジュール案を生成する第1のステップと、前記スケジュール案を出力する第2のステップとを設けるようにした。 Further, according to the present invention, there is provided a job scheduling method executed by a system used for redesigning a schedule of a plurality of jobs, wherein time information indicating times when the plurality of jobs are started, a file for each of the plurality of jobs For each of the plurality of jobs, the context of the job is specified from the history information including the access information indicating that the file is referred to or updated, and the job and the file that are the subsequent jobs and the file is updated Further, a job referring to the file is specified among the jobs between the job and the end point indicating the latest job updated, the influence degree is set according to the specified job, and the schedule proposal indicating the influence degree A first step of generating and a second step of outputting the proposed schedule are provided.
また本発明においては、複数のジョブのスケジュールの再設計に用いられるジョブスケジューリング装置であって、前記複数のジョブが開始された時間を示す時間情報、前記複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、前記複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブと前記ファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうち前記ファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、前記影響度が示されるスケジュール案を生成する生成部と、前記スケジュール案を出力する出力部とを設けるようにした。 Further, in the present invention, it is a job scheduling apparatus used for redesigning a schedule of a plurality of jobs, and time information indicating time when the plurality of jobs are started, and a file is referred or updated in each of the plurality of jobs. For each of the plurality of jobs, from the history information including the access information indicating that it has been done, the context of the job is specified, and it is the succeeding job and the latest job of the starting point that updated the file and the latest updated file. The job that identifies the job that refers to the file among the jobs between the job and the end job that indicates the job, sets the degree of influence according to the specified job, and generates a schedule proposal that indicates the degree of influence And an output unit for outputting the schedule proposal.
本発明の複数のジョブの再設計に利用可能なジョブスケジューリングシステム、ジョブスケジューリング方法、およびジョブスケジューリング装置によれば、複数のジョブの各々について後続のジョブに対応する影響度が示されたスケジュール案が生成されて出力されるので、影響度に基づいて複数のジョブを再設計できるようになる。 According to the job scheduling system, the job scheduling method, and the job scheduling apparatus which can be used for redesigning a plurality of jobs of the present invention, there is provided a schedule proposal indicating the degree of influence corresponding to the subsequent job for each of the plurality of jobs. As it is generated and output, multiple jobs can be redesigned based on the degree of influence.
本発明によれば、複数のジョブの再設計に利用可能なジョブスケジューリングシステム、ジョブスケジューリング方法、およびジョブスケジューリング装置を実現することができる。 According to the present invention, it is possible to realize a job scheduling system, a job scheduling method, and a job scheduling apparatus that can be used to redesign a plurality of jobs.
以下図面について、本発明の一実施の形態を詳述する。 An embodiment of the present invention will now be described in detail with reference to the drawings.
(1)ジョブスケジューリングシステムの構成
図1において、1は全体として本実施の形態によるジョブスケジューリングシステムを示す。このジョブスケジューリングシステム1は、ジョブの投入手順を設計(再設計)する際に利用される情報を提示するシステムであり、第1の計算機10、第2の計算機20、バッチ向けファイル30、第1の計算機10の実行履歴DB40、スケジュール案DB50、スケジュール案出力装置60を備える。(1) Configuration of Job Scheduling System In FIG. 1, 1 generally shows a job scheduling system according to the present embodiment. The job scheduling system 1 is a system that presents information used when designing (redesigning) job submission procedures, and includes a
第1の計算機10は、コンピュータ等であり、CPU11、メモリ12を備え、CPU11が各種プログラムをメモリ12に読み出して実行することにより、バッチプログラム13、ジョブスケジュール管理部14、実行履歴管理部15、およびOS16が実現される。第1の計算機10では、ジョブスケジュール管理部14がバッチプログラム13(各ジョブ)の実行順序を管理してバッチプログラム13が実行され、実行履歴管理部15がバッチプログラム13の実行結果をハードディスク等の記憶装置に設けられる実行履歴DB40に登録する。
The
第2の計算機20は、コンピュータ等であり、CPU21、メモリ22を備え、CPU21が各種プログラムをメモリ22に読み出して実行することにより、スケジュール分析部23、スケジュール案作成部24、スケジュール案表示部25、およびOS26が実現される。第2の計算機20では、スケジュール分析部23が実行履歴DB40から実行履歴(レコード)を読み出してジョブのスケジュール(前後関係など)を分析し、スケジュール案作成部24が分析されたスケジュールから各ジョブの後続のジョブへの影響度を求めて各ジョブに順位付けを行うことよりスケジュール案を作成してスケジュール案DB50に登録し、スケジュール案表示部25は、スケジュール案DB50からスケジュール案を読み出してスケジュール案出力装置60に出力する。
The
(2)実行履歴のデータ構成および実行履歴のデータ例
図2〜図4は、実行履歴DB40に登録されるデータ(レコード)のデータ構造を示す図である。図2は、ジョブ開始情報41のデータ構造を示し、ジョブ開始情報41には、レコード識別子「01」、ジョブ名、およびジョブ開始時刻が含まれる。図3は、ジョブ終了情報42のデータ構造を示し、ジョブ終了情報42には、レコード識別子「02」、ジョブ名、およびジョブ終了時刻が含まれる。図4は、ファイルクローズ情報43のデータ構造を示し、ファイルクローズ情報43には、レコード識別子「03」、ジョブ名、ファイル名、参照識別子または更新識別子を示す参照・更新識別子、および参照回数または更新回数を示す参照・更新回数が含まれる。(2) Data Configuration of Execution History and Data Example of Execution History FIGS. 2 to 4 are diagrams showing the data structure of data (records) registered in the
図5は、実行履歴DB40に登録されるデータ(レコード)の一例を示す図である。実行履歴DB40には、ジョブが開始した際にはジョブ開始情報41、ジョブが終了した際にはジョブ終了情報42、ジョブがファイルにアクセス(参照・更新)した際にはファイルクローズ情報43が登録されて蓄積される。例えば、ジョブ1の実行が「××:×1:××」に開始され、ジョブ1では、ファイル11が「×」回参照され、ファイル12が「×」回更新され、ジョブ1の実行が「××:×6:××」に終了された場合、図5に示すように、レコード44〜レコード47が登録される。なお、レコード44は、ジョブ開始情報41の一例であり、レコード45およびレコード46は、ファイルクローズ情報43の一例であり、レコード47は、ジョブ終了情報42の一例である。
FIG. 5 is a diagram showing an example of data (record) registered in the
(3)ジョブのスケジュール分析例(管理テーブルキューの例)
図6および図7は、図8に示す管理テーブルキュー90を構成するテーブルのデータ構造を示す図である。図6は、ジョブ情報を格納するジョブ情報テーブル70のデータ構造を示し、図7は、ファイル情報を格納するファイル情報テーブル80のデータ構造を示す。(3) Example of job schedule analysis (example of management table queue)
FIG. 6 and FIG. 7 are diagrams showing the data structure of tables constituting the
図6に示すように、ジョブ情報テーブル70には、ジョブ情報として、フォワードポインタ71、バックワードポインタ72、ジョブ名73、ジョブ開始時刻74、ジョブ終了時刻75、アクセスファイルキュー先頭ポインタ76、アクセスファイルキュー最終ポインタ77、影響度評価値78、および優先順位79の情報が含まれる。
As shown in FIG. 6, the job information table 70 includes, as job information, a
図7に示すように、ファイル情報テーブル80には、ファイル情報として、フォワードポインタ81、バックワードポインタ82、ファイル名83、参照識別子または更新識別子を示す参照・更新識別子84、アクセス回数85、および参照ファイル生成フラグ86の情報が含まれる。
As shown in FIG. 7, the file information table 80 includes, as file information, a
例えば、図8に示すように、管理テーブルキュー90は、複数のジョブ情報テーブル70(70a、70b、70c、・・・)と、複数のジョブ情報テーブル70の各ジョブで参照または更新される一または複数のファイルに対応した一または複数のファイル情報テーブル80(80−1a、80−2a、80−1b、80−2b、80−1c、80−2c、・・・)と、を含んで構成される。
For example, as shown in FIG. 8, the
各ジョブ情報テーブル70については、フォワードポインタ71(ポインタ71a、71b、71c、・・・)およびバックワードポインタ72(ポインタ72b、72c、・・・)によりジョブの前後関係が特定(識別)される。また、各ファイル情報テーブル80については、アクセスファイルキュー先頭ポインタ76(ポインタ76a、76b、76c、・・・)、アクセスファイルキュー最終ポインタ77(ポインタ77a、77b、77c、・・・)、フォワードポインタ81(ポインタ81−2a、81−2b、81−2c、・・・)、およびバックワードポインタ82(ポインタ82−2a、82−2b、82−2c、・・・)によりファイルのアクセス関係(各ジョブでアクセスされるファイル)が特定される。なお、図8に示すジョブ情報テーブル70の数、およびファイル情報テーブル80の数は、あくまで一例であり、これらの数に限られるものではない。
For each job information table 70, the forward / backward relationship of the job is specified (identified) by the forward pointer 71 (
(4)スケジュール分析
図9は、スケジュール分析処理に係るフローチャートを示す図である。図9に示すように、スケジュール分析部23は、実行履歴DB40から1レコード読み出し(S1)、読み出したレコードが「EOF(End Of File)」、すなわち最終レコードであるか否かを判定する(S2)。スケジュール分析部23は、「EOF」であると判定した場合、処理を終了し、「EOF」でないと判定した場合、読み出したレコードのレコード識別子が「01」であるか否か、すなわちジョブの開始を示すレコードであるか否かを判定する(S3)。スケジュール分析部23は、レコード識別子が「01」であると判断した場合、S4に処理を移し、レコード識別子が「01」でないと判断した場合、S8に処理を移す。(4) Schedule Analysis FIG. 9 is a diagram showing a flowchart related to schedule analysis processing. As shown in FIG. 9, the
S4では、スケジュール分析部23は、ジョブ情報を格納するテーブル(ジョブ情報テーブル70)を用意する。続いて、スケジュール分析部23は、用意したジョブ情報テーブル70のジョブ名73およびジョブ開始時刻74に、読み出したレコードのジョブ名およびジョブ開始時刻を登録し(S5)、情報を登録したジョブ情報テーブル70を管理テーブルキュー90につなげ(S6)、S7に処理を移す。
In S4, the
より具体的には、S6では、スケジュール分析部23は、ジョブ情報テーブル70のフォワードポインタ71およびバックワードポインタ72の各々にポインタを登録する。例えば、スケジュール分析部23は、図8に示すジョブ情報テーブル70bを用意した場合、フォワードポインタ71にポインタ71b、バックワードポインタ72にポインタ72bを登録する。
More specifically, in S6, the
S7では、スケジュール分析部23は、実行履歴DB40から次のレコードを読み込み、S2に処理を移す。
In S7, the
S8では、スケジュール分析部23は、読み出したレコードのレコード識別子が「02」であるか否か、すなわちジョブの終了を示すレコードであるか否かを判定する。スケジュール分析部23は、レコード識別子が「02」であると判断した場合、S13に処理を移し、レコード識別子が「02」でないと判断した場合、S9に処理を移す。
In S8, the
S9では、スケジュール分析部23は、管理テーブルキュー90からジョブ名が等しく、かつジョブ終了時刻が登録されていないエントリ(ジョブ情報テーブル70)を検索する。続いて、スケジュール分析部23は、ファイル情報を格納するテーブル(ファイル情報テーブル80)を用意し(S10)、用意したファイル情報テーブル80のファイル名83、参照・更新識別子84、およびアクセス回数85に、読み出したレコードのファイル名、参照・更新識別子、および参照・更新回数を登録し(S11)、情報を登録したファイル情報テーブル80を管理テーブルキュー90につなげ(S12)、S7に処理を移す。
In S9, the
より具体的には、S12では、スケジュール分析部23は、検索したジョブ情報テーブル70のアクセスファイルキュー先頭ポインタ76およびアクセスファイルキュー最終ポインタ77を更新し、用意したファイル情報テーブル80のフォワードポインタ81およびバックワードポインタ82の各々にポインタを登録する。例えば、スケジュール分析部23は、図8に示すファイル情報テーブル80−1bを用意した場合、アクセスファイルキュー先頭ポインタ76およびアクセスファイルキュー最終ポインタ77の各々をポインタ76bに更新し、フォワードポインタ81およびバックワードポインタ82の各々にヌルポインタを登録する。また、例えば、スケジュール分析部23は、図8に示すファイル情報テーブル80−2bを用意した場合、アクセスファイルキュー最終ポインタ77をポインタ77bに更新し、フォワードポインタ81にポインタ81−2b、バックワードポインタ82にポインタ82−2bを登録する。
More specifically, in S12, the
S13では、スケジュール分析部23は、管理テーブルキュー90からジョブ名が等しく、かつジョブ終了時刻が登録されていないエントリ(ジョブ情報テーブル70)を検索する。続いて、スケジュール分析部23は、検索したジョブ情報テーブル70のジョブ終了時刻75に、読み出したレコードのジョブ終了時刻を登録し(S14)、S7に処理を移す。
In S13, the
以上のように、スケジュール分析処理が行われることにより、ジョブの分析結果(ジョブの前後関係、ファイルのアクセス関係など)を示す管理テーブルキュー90が完成する。
As described above, by performing the schedule analysis process, the
(5)スケジュール案作成
図10は、スケジュール案作成処理に係るフローチャートを示す図である。図10に示すように、スケジュール案作成部24は、管理テーブルキュー90の先頭エントリ(ジョブ情報テーブル70)を検証対象とし(S21)、S22に処理を移す。(5) Schedule Proposal Creation FIG. 10 is a diagram showing a flowchart related to schedule proposal creation processing. As shown in FIG. 10, the schedule
S22では、スケジュール案作成部24は、検証対象としたジョブ情報テーブル70の影響度評価値78を「0」にする。続いて、スケジュール案作成部24は、検証対象としたジョブ情報テーブル70が管理するファイル情報の先頭エントリ(ファイル情報テーブル80)を検証対象とし(S23)、S24に処理を移す。
In S22, the schedule
S24では、スケジュール案作成部24は、検証対象としたファイル情報テーブル80の参照・更新識別子が「更新」であるか否かを判定し、「更新」である場合、S25に処理を移し、「更新」でない場合、S32に処理を移す。
In step S24, the schedule
S25では、スケジュール案作成部24は、現在対象としているジョブ情報テーブル70およびファイル情報テーブル80を検証対象の起点とする。続いて、スケジュール案作成部24は、起点のテーブルに後続するジョブ情報テーブル70およびファイル情報テーブル80を順次検索し、最初に、ファイル名が等しく、かつ、参照・更新識別子が「更新」である条件を満足するファイル情報テーブル80と、当該ファイル情報テーブル80が関係付けられたジョブ情報テーブル70を抽出し(S26)、条件を満足したテーブルを抽出したか否かを判定する(S27)。スケジュール案作成部24は、抽出したと判定した場合、抽出したジョブ情報テーブル70を終点のジョブ情報テーブル70とし(S28)、抽出しなかったと判定した場合、管理テーブルキュー90の最終エントリ(ジョブ情報テーブル70)を終点のジョブ情報テーブル70とし(S29)、S30に処理を移す。
In S25, the schedule
S30では、スケジュール案作成部24は、起点のジョブ情報テーブル70と終点のジョブ情報テーブル70のキュー上にある各ジョブ情報テーブル70がポイントするファイル情報テーブル80から、(1)起点のファイル情報テーブル80に記載されたファイル名と等しい、(2)ファイル情報テーブル80の参照・更新識別子が「参照」である、これらの条件を満足するファイル情報テーブル80の参照ファイル生成フラグ86を「ON」にする。
In S30, the schedule
続いて、スケジュール案作成部24は、ジョブ情報テーブル70毎に、当該テーブルがポイントするキューに接続されたファイル情報テーブル80群から、参照ファイル生成フラグ86が「ON」となっているファイル情報テーブル80をカウントし、検証対象のジョブ情報テーブル70の影響度評価値78に格納し(S31)、S32に処理を移す。
Subsequently, for each job information table 70, the schedule
S32では、スケジュール案作成部24は、検証対象のファイル情報テーブル80がキューの最後であるか否かを判定し、最後でないと判定した場合、次のファイル情報テーブル80を検証対象とし(S33)、S24に処理を移し、最後であると判定した場合、S34に処理を移す。
In S32, the schedule
S34では、スケジュール案作成部24は、検証対象のジョブ情報テーブル70がキューの最後であるか否かを判定し、最後でないと判定した場合、次のジョブ情報テーブル70を検証対象とし(S35)、S24に処理を移し、最後でないと判定した場合、S36に処理を移す。なお、S35では、スケジュール案作成部24は、全ての参照ファイル生成フラグ86を「OFF」にする。
In S34, the schedule
S36では、スケジュール案作成部24は、影響度評価値78が格納されているジョブ情報テーブル70をリストアップする。続いて、スケジュール案作成部24は、リストアップしたジョブ情報テーブル70から影響度評価値が高い順に、ジョブ情報テーブル70の優先順位79に順序番号(優先順位)を格納し(S37)、処理を終了する。なお、影響度評価値78が同じ値のジョブ情報テーブル70が存在する場合、ジョブ開始時刻74が早い方のジョブ情報テーブル70の優先順位79をより高く設定する。
In S36, the schedule
上述したように、複数のジョブの各々について、ジョブの前後関係、およびファイルのアクセス関係に基づいて後続のジョブが加味され、優先順位(影響度評価値)が示されるスケジュール案が生成される。 As described above, for each of the plurality of jobs, the subsequent job is added based on the job context and the file access relationship, and a schedule proposal is generated in which the priority (impact evaluation value) is indicated.
(6)スケジュール案表示
図11は、スケジュール案表示処理に係るフローチャートを示す図である。図11に示すように、スケジュール案表示部25は、ジョブ情報テーブル70の優先順位が1位のジョブ情報をスケジュール案出力装置60に表示させ(S41)、次の優先順位のジョブ情報テーブル70(ジョブ)を検索し、当該ジョブのジョブ情報をスケジュール案出力装置60に表示させ(S42)、当該ジョブが最終エントリであるか否か、すなわち表示対象のジョブのジョブ情報を全て表示したか否かを判定し(S43)、最終エントリでないと判定した場合、S42に処理を移し、最終エントリであると判定した場合、処理を終了する。(6) Schedule Proposal Display FIG. 11 is a diagram showing a flowchart related to the schedule proposal display process. As shown in FIG. 11, the schedule
上述の処理によれば、スケジュール案がスケジュール案出力装置60に出力される。
According to the above-described process, the proposed schedule is output to the proposed
(7)スケジュール案の表示例
図12は、スケジュール案の表示例を示す。図12に示すように、スケジュール案出力装置60の表示画面には、スケジュール案61(優先順位、ジョブ名、ジョブ開始時刻、ジョブ終了時刻)が表示される。(7) Display Example of Schedule Proposal FIG. 12 shows a display example of the schedule proposal. As shown in FIG. 12, on the display screen of the schedule
システム設計者は、スケジュール案を見ることで、どのジョブを先に投入すべきかが把握でき、ジョブの投入手順(スケジュール)を再設計できるようになる。 The system designer can see which job should be submitted first by looking at the schedule proposal, and can redesign the job submission procedure (schedule).
以上のように本実施の形態のジョブスケジューリングシステム1によれば、後続のジョブに対応する影響度が示されたスケジュール案が生成されて出力されるので、影響度に基づいて複数のジョブを再設計できるようになる。 As described above, according to the job scheduling system 1 of the present embodiment, a schedule proposal indicating the degree of influence corresponding to the subsequent job is generated and output. Therefore, a plurality of jobs are re-selected based on the degree of influence. It becomes possible to design.
また、後続のジョブへの影響が大きい順序を示す優先順位に従ってジョブを実行することで、実行可能(動作可能)なジョブをより多く作り出すことができるので、複数の計算機を用いる場合、処理時間を効率よく短縮することができる。また、実行可能なジョブを多く作り出すことで、高性能な計算機を新たに用意することなしに、汎用的な計算機であっても複数用いることで、換言するならば今ある計算資源を活用して、処理時間を短縮することができるようになる。 Also, by executing jobs according to the priority order that indicates the order in which the impact on subsequent jobs is large, more executable (operable) jobs can be created, so when using multiple computers, the processing time is increased. It can be shortened efficiently. Also, by creating a large number of executable jobs, without using a new high-performance computer, by using a plurality of general-purpose computers, in other words utilizing existing computing resources And processing time can be shortened.
(8)他の実施の形態
なお上述実施の形態においては、本発明を第1の計算機10および第2の計算機20に適用するようにした場合について述べたが、本発明はこれに限らず、一の計算機(装置)に適用することができる。(8) Other Embodiments In the above embodiment, although the present invention is applied to the
また上述実施の形態においては、本発明をジョブに適用した場合について述べたが、本発明はこれに限らず、ジョブ内のジョブステップに適用することができる。この場合、ジョブステップのジョブステップ開始時刻、ジョブステップ終了時刻、およびファイルクローズ情報が実行履歴DB40に記録されている。
In the above embodiment, the present invention is applied to a job. However, the present invention is not limited to this and can be applied to a job step in a job. In this case, the job step start time of the job step, the job step end time, and the file close information are recorded in the
また上述実施の形態においては、本発明を1つの先行ジョブが生成したファイルを参照する後続のジョブの数から影響度評価値を求める構成(構成A)に適用した場合について述べたが、本発明はこれに限らず、1つの先行ジョブが生成したファイルのデータを、後続のジョブ群が参照する回数(アクセス回数)から影響度評価値を求める構成(構成B)にしてもよい。この構成によれば、1つのファイルを繰り返し参照するケースへの対応が可能になる。 In the above embodiment, the present invention has been described as applied to a configuration (configuration A) for obtaining the impact degree evaluation value from the number of subsequent jobs that refer to a file generated by one preceding job. However, the present invention is not limited to this, and the data of the file generated by one preceding job may be configured (configuration B) to obtain the influence degree evaluation value from the number of times (number of accesses) the subsequent job group refers. According to this configuration, it is possible to cope with the case where one file is repeatedly referenced.
また上述実施の形態においては、本発明を構成Aに適用した場合について述べたが、本発明はこれに限らず、構成Aとジョブクラス(業務ごとに優先順位が高い等をスケジューラが識別可能な定義情報)とを組み合わせて影響度評価値を求める構成(構成C)にしてもよい。この場合、影響度評価値は、構成Aの影響度評価値×Nとして算出する。 In the above embodiment, although the present invention is applied to the configuration A, the present invention is not limited to this, and the scheduler can identify the configuration A and the job class (high priority for each job, etc. The definition information (C) may be combined to obtain the evaluation value of the degree of influence. In this case, the influence degree evaluation value is calculated as the influence degree evaluation value of configuration A × N.
また上述実施の形態においては、本発明を構成Aに適用した場合について述べたが、本発明はこれに限らず、構成Bとジョブクラスとを組み合わせて影響度評価値を求める構成(構成D)にしてもよい。この場合、影響度評価値は、構成Bの影響度評価値×Nとして算出する。 In the above embodiment, the present invention is applied to the configuration A. However, the present invention is not limited to this. A configuration B and a job class are combined to obtain an influence degree evaluation value (configuration D) You may In this case, the influence degree evaluation value is calculated as the influence degree evaluation value of configuration B × N.
また上述実施の形態においては、本発明を構成Aに適用した場合について述べたが、本発明はこれに限らず、構成A〜構成Dについて、後続のジョブの後続のジョブ(孫ジョブ)更に後続のジョブ(ひ孫ジョブ)を関連付けて影響度評価値を求める構成(構成E)にしてもよい。 In the above embodiment, the present invention is applied to the configuration A. However, the present invention is not limited to this. For the configurations A to D, the subsequent job (grandchild job) of the subsequent job is further continued The second job (absorptive job) may be associated with one another to obtain an impact degree evaluation value (Configuration E).
また上述実施の形態においては、本発明を構成Aに適用した場合について述べたが、本発明はこれに限らず、1つの先行ジョブが生成したファイルを参照する後続のジョブのデータ量(数×アクセス回数)から影響度評価値を求める構成にしてもよい。 In the above embodiment, although the present invention is applied to the configuration A, the present invention is not limited to this, and the data amount of the subsequent job referring to the file generated by one preceding job (number x The impact evaluation value may be calculated from the number of accesses).
また上述実施の形態においては、本発明をスケジュール案出力装置60にスケジュール案を表示させる場合について述べたが、本発明はこれに限らず、スケジュール案を印刷させるようにしてもよい。
In the above-described embodiment, the present invention has been described in the case where the proposed schedule is displayed on the proposed
また上述実施の形態においては、本発明を優先順位、ジョブ名、ジョブ開始時刻、およびジョブ終了時刻を含めるスケジュール案に適用した場合について述べたが、本発明はこれに限らず、スケジュール案に影響度評価値を含めてもよいし、これらの情報の一または複数を含めないようにしてもよい。 In the above embodiment, although the present invention is applied to a schedule proposal including priority, job name, job start time, and job end time, the present invention is not limited to this and affects the schedule proposal. The degree evaluation value may be included, or one or more of the information may not be included.
また上述実施の形態においては、本発明を全ての参照ファイル生成フラグを「OFF」にする場合について述べたが、本発明はこれに限らず、全ての参照ファイル生成フラグを「OFF」にする処理に替えて、S31の処理において検証対象で「ON」にされたファイル情報テーブル80をカウントの対象にするようにしてもよい。 In the above embodiment, the present invention has been described for the case where all reference file generation flags are set to "OFF", but the present invention is not limited to this, and all the reference file generation flags are set to "OFF". Instead of the above, the file information table 80 that is set to “ON” as the verification target in the process of S31 may be the target of the count.
1……ジョブスケジューリングシステム、10……第1の計算機、11……CPU、12……メモリ、13……バッチプログラム、14……ジョブスケジュール管理部、15……実行履歴管理部、16……OS、20……第2の計算機、21……CPU、22……メモリ、23……スケジュール分析部、24……スケジュール案作成部、25……スケジュール案表示部、26……OS、30……バッチ向けファイル、40……実行履歴DB、50……スケジュール案DB、60……スケジュール案出力装置。 1 ... job scheduling system, 10 ... first computer, 11 ... CPU, 12 ... memory, 13 ... batch program, 14 ... job schedule management section, 15 ... execution history management section, 16 ... OS, 20: second computer, 21: CPU, 22: memory, 23: schedule analysis unit, 24: schedule proposal preparation unit, 25: schedule proposal display unit, 26: OS, 30 ... ... File for batch, 40 ... Execution history DB, 50 ... Schedule proposal DB, 60 ... Schedule proposal output device.
Claims (5)
前記複数のジョブが開始された時間を示す時間情報、前記複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、前記複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブと前記ファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうち前記ファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、前記影響度が示されるスケジュール案を生成する生成部と、
前記スケジュール案を出力する出力部と
を備えることを特徴とするジョブスケジューリングシステム。A job scheduling system used to redesign multiple job schedules, comprising:
From history information including time information indicating time when the plurality of jobs are started and access information indicating that a file is referenced or updated in each of the plurality of jobs, for each of the plurality of jobs, before and after the job Identify the relationship and specify the job that refers to the file among the jobs between the job of the starting point that has updated the file and the job of the end point that indicates the latest job that has further updated the file. A generation unit configured to set a degree of influence according to the identified job, and generate a schedule proposal in which the degree of influence is indicated;
A job scheduling system comprising: an output unit that outputs the schedule proposal.
前記生成部は、特定したジョブの前記参照回数情報を計数して前記影響度を設定する
ことを特徴とする請求項1に記載のジョブスケジューリングシステム。The access information includes reference number information indicating the number of times the file has been referenced;
The job scheduling system according to claim 1, wherein the generation unit counts the reference frequency information of the identified job and sets the influence degree.
前記出力部は、前記優先順位、前記ジョブ名、前記ジョブ開始時刻、および前記ジョブ終了時刻を表示する
ことを特徴とする請求項1に記載のジョブスケジューリングシステム。The generation unit is configured to determine a priority corresponding to the degree of influence of each of the plurality of jobs, a job name indicating a name of each of the plurality of jobs, and a job start time indicating a time when each of the plurality of jobs is started. Generating the proposed schedule including a job end time indicating a time when each of the plurality of jobs is ended;
The job scheduling system according to claim 1, wherein the output unit displays the priority, the job name, the job start time, and the job end time.
前記複数のジョブが開始された時間を示す時間情報、前記複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、前記複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブと前記ファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうち前記ファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、前記影響度が示されるスケジュール案を生成する第1のステップと、
前記スケジュール案を出力する第2のステップと
を備えることを特徴とするジョブスケジューリング方法。A job scheduling method performed by a system used for redesigning a schedule of a plurality of jobs, comprising:
From history information including time information indicating time when the plurality of jobs are started and access information indicating that a file is referenced or updated in each of the plurality of jobs, for each of the plurality of jobs, before and after the job Identify the relationship and specify the job that refers to the file among the jobs between the job of the starting point that has updated the file and the job of the end point that indicates the latest job that has further updated the file. Setting a degree of influence according to the identified job, and generating a schedule proposal indicating the degree of influence;
And a second step of outputting the proposed schedule.
前記複数のジョブが開始された時間を示す時間情報、前記複数のジョブの各々でファイルが参照または更新されたことを示すアクセス情報を含む履歴情報から、前記複数のジョブの各々について、ジョブの前後関係を特定し、後続のジョブであってファイルを更新した起点のジョブと前記ファイルを更に更新した直近のジョブを示す終点のジョブとの間にあるジョブのうち前記ファイルを参照したジョブを特定し、特定したジョブに応じて影響度を設定し、前記影響度が示されるスケジュール案を生成する生成部と、
前記スケジュール案を出力する出力部と
を備えることを特徴とするジョブスケジューリング装置。
A job scheduling apparatus used to redesign multiple job schedules, comprising:
From history information including time information indicating time when the plurality of jobs are started and access information indicating that a file is referenced or updated in each of the plurality of jobs, for each of the plurality of jobs, before and after the job Identify the relationship and specify the job that refers to the file among the jobs between the job of the starting point that has updated the file and the job of the end point that indicates the latest job that has further updated the file. A generation unit configured to set a degree of influence according to the identified job, and generate a schedule proposal in which the degree of influence is indicated;
A job scheduling apparatus comprising: an output unit that outputs the schedule proposal.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2016/079182 WO2018061219A1 (en) | 2016-09-30 | 2016-09-30 | Job scheduling system, job scheduling method, and job scheduling device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2018061219A1 true JPWO2018061219A1 (en) | 2019-06-24 |
JP6646754B2 JP6646754B2 (en) | 2020-02-14 |
Family
ID=61759505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2018541865A Active JP6646754B2 (en) | 2016-09-30 | 2016-09-30 | Job scheduling system, job scheduling method, and job scheduling device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6646754B2 (en) |
WO (1) | WO2018061219A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7236939B2 (en) * | 2019-06-03 | 2023-03-10 | 日立Astemo株式会社 | Control device and control method |
JP7391740B2 (en) * | 2020-03-19 | 2023-12-05 | 株式会社日立製作所 | Impact identification support device and impact identification support method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08286958A (en) * | 1995-04-13 | 1996-11-01 | Hitachi Ltd | Method for analizing job scheduling |
JP2015064723A (en) * | 2013-09-25 | 2015-04-09 | 株式会社日立ソリューションズ | Job management system |
JP2015133112A (en) * | 2014-01-10 | 2015-07-23 | 富士通株式会社 | Job scheduling method, data analyzer, data analysis apparatus, computer system and computer readable medium |
-
2016
- 2016-09-30 WO PCT/JP2016/079182 patent/WO2018061219A1/en active Application Filing
- 2016-09-30 JP JP2018541865A patent/JP6646754B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08286958A (en) * | 1995-04-13 | 1996-11-01 | Hitachi Ltd | Method for analizing job scheduling |
JP2015064723A (en) * | 2013-09-25 | 2015-04-09 | 株式会社日立ソリューションズ | Job management system |
JP2015133112A (en) * | 2014-01-10 | 2015-07-23 | 富士通株式会社 | Job scheduling method, data analyzer, data analysis apparatus, computer system and computer readable medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018061219A1 (en) | 2018-04-05 |
JP6646754B2 (en) | 2020-02-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20230126005A1 (en) | Consistent filtering of machine learning data | |
US20170351989A1 (en) | Providing supply chain information extracted from an order management system | |
US20150058053A1 (en) | Shifting a group of tasks along a timeline | |
CN111639078A (en) | Data query method and device, electronic equipment and readable storage medium | |
US20070179973A1 (en) | Status tool to expose metadata read and write queues | |
CN109542889A (en) | Stream data column storage method, device, equipment and storage medium | |
JP2005115514A (en) | Database search system, its search method, and program | |
US10474698B2 (en) | System, method, and program for performing aggregation process for each piece of received data | |
US20130326535A1 (en) | Storage medium, information processing device, and information processing method | |
CN107870949B (en) | Data analysis job dependency relationship generation method and system | |
US20130346992A1 (en) | Computing system, method for controlling thereof, and computer-readable recording medium having computer program for controlling thereof | |
JPWO2012137347A1 (en) | Computer system and parallel distributed processing method | |
JP6646754B2 (en) | Job scheduling system, job scheduling method, and job scheduling device | |
CN112035230A (en) | Method and device for generating task scheduling file and storage medium | |
US10503823B2 (en) | Method and apparatus providing contextual suggestion in planning spreadsheet | |
JP2012159887A (en) | Retrieval request control device, retrieval request control program and retrieval request control method | |
JP5907251B2 (en) | Database management method, program, and information processing apparatus | |
JP2008225686A (en) | Data arrangement management device and method in distributed data processing platform, and system and program | |
CN115857918A (en) | Data processing method and device, electronic equipment and storage medium | |
CN105824976A (en) | Method and device for optimizing word segmentation banks | |
JP2020160494A (en) | Information processing apparatus, document management system and program | |
US20090249343A1 (en) | System, method, and computer program product for receiving timer objects from local lists in a global list for being used to execute events associated therewith | |
KR101744017B1 (en) | Method and apparatus for indexing data for real time search | |
JP2006302032A (en) | Business process exception handling generation support device and program | |
US20180239640A1 (en) | Distributed data processing system, and distributed data processing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190131 |
|
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: 20191224 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200110 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6646754 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |