JP6515510B2 - Batch job processing apparatus, system, batch job processing method and program - Google Patents

Batch job processing apparatus, system, batch job processing method and program Download PDF

Info

Publication number
JP6515510B2
JP6515510B2 JP2014243146A JP2014243146A JP6515510B2 JP 6515510 B2 JP6515510 B2 JP 6515510B2 JP 2014243146 A JP2014243146 A JP 2014243146A JP 2014243146 A JP2014243146 A JP 2014243146A JP 6515510 B2 JP6515510 B2 JP 6515510B2
Authority
JP
Japan
Prior art keywords
area
batch job
batch
execution
size
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.)
Active
Application number
JP2014243146A
Other languages
Japanese (ja)
Other versions
JP2016105242A (en
Inventor
義郎 内藤
義郎 内藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2014243146A priority Critical patent/JP6515510B2/en
Publication of JP2016105242A publication Critical patent/JP2016105242A/en
Application granted granted Critical
Publication of JP6515510B2 publication Critical patent/JP6515510B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Description

本発明は、バッチジョブ処理装置、ストレージ管理装置、システム、バッチジョブ処理方法およびプログラムに関する。   The present invention relates to a batch job processing device, a storage management device, a system, a batch job processing method, and a program.

オンプレミス上で動作することを想定したバッチ処理システムは、一時的に大量の記憶領域を使用するバッチジョブを実行する場合に、そのバッチジョブが使用する最大使用量に基づいて、記憶領域を確保して運用するのが一般的あった。   When executing a batch job that uses a large amount of storage area temporarily, a batch processing system that assumes operation on on-premises reserves a storage area based on the maximum usage of that batch job. It was common to operate the

例えば、特許文献1には、計算機システムでジョブ実行時に発生するファイル割り当て不足によるジョブの異常終了を未然に防止する方法が記載されている。   For example, Patent Document 1 describes a method for preventing abnormal termination of a job due to insufficient file allocation occurring at the time of job execution in a computer system.

同様に、特許文献2には、記憶装置の領域不足に起因するジョブの異常終了を防止する装置が記載されている。   Similarly, Patent Document 2 describes an apparatus for preventing abnormal termination of a job caused by lack of storage device area.

特開平11−212811号公報Japanese Patent Application Laid-Open No. 11-212811 特開平4−236632号公報JP-A-4-236632

現在、クラウドコンピューティングの利用により、記憶領域が仮想化されるようになった。これにより、使用する記憶領域の追加および削除が、該記憶領域を管理するシステムへの要求により行えるようになった。このようなシステムは、確保された記憶領域のサイズと時間に応じて、従量課金を行うことが主流となっている。   Currently, the use of cloud computing has made storage areas virtual. As a result, addition and deletion of storage areas to be used can be performed by a request to a system that manages the storage areas. In such a system, it is mainstream to charge according to the size and time of the secured storage area.

従って、このようなクラウドコンピューティング上で、オンプレミスの運用形態のバッチ処理システムを稼働させようとすると、バッチジョブが使用する最大容量をもとにディスク領域を確保することとなる。これにより、バッチジョブ終了後に使用されない無駄な領域が発生してしまう。   Therefore, when trying to operate the batch processing system in the on-premises operation form on such cloud computing, the disk area is secured based on the maximum capacity used by the batch job. As a result, a useless area which is not used after the end of the batch job is generated.

特許文献1および2に記載の技術では、領域不足を防ぐことを目的としているため、クラウドコンピューティング上の記憶領域のように、領域不足をしないように記憶領域を確保できる場合における領域の管理については考慮されていない。   Since the techniques described in Patent Documents 1 and 2 aim to prevent the shortage of the area, as in the case of the storage area on the cloud computing, the management of the area in the case where the storage area can be secured not to run out of the area Is not considered.

本発明は、上記課題に鑑みてなされたものであり、その目的は、バッチジョブの実行時に、クラウド上で管理された記憶領域の使用量および使用時間をより最適化する技術を提供することにある。   The present invention has been made in view of the above problems, and it is an object of the present invention to provide a technique for optimizing the use amount and use time of storage areas managed on the cloud when executing a batch job. is there.

本発明の一態様に係るバッチジョブ処理装置は、クラウド上で管理された記憶領域を使用してバッチジョブを実行する実行手段と、前記バッチジョブの実行結果を解析する解析手段と、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する第1の算出手段と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、を備え、前記実行手段は、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する。   A batch job processing apparatus according to an aspect of the present invention includes an execution unit that executes a batch job using a storage area managed on a cloud, an analysis unit that analyzes an execution result of the batch job, and one or more A first calculation for calculating the size of the first area in the storage area based on the analysis result by the analysis means, which is the size of the area used when all of the batch job ends. And a size of a second area which is an area other than the first area among the areas in the storage area which can be used when executing each of the one or more batch jobs. And second calculating means for calculating each batch job based on the analysis result, wherein the executing means executes the batch job using the first area and the second area. Do.

また、本発明の一態様に係るストレージ管理装置は、クラウド上で管理された記憶領域を使用してバッチジョブを実行した実行結果を解析した解析結果に基づいて、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを算出する第1の算出手段と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、を備える。   Further, the storage management apparatus according to an aspect of the present invention is characterized in that all of the one or more batch jobs are analyzed based on an analysis result obtained by analyzing execution results of executing a batch job using a storage area managed on the cloud. Size of the area to be used when the process ends, the first calculating means for calculating the size of the first area in the storage area, and each of the one or more batch jobs Calculating, for each batch job, a size of a second area which is an area other than the first area among the areas in the storage area of a size usable for the second And 2 calculation means.

また、本発明の一態様に係るシステムは、クラウド上で管理された記憶装置を有するクラウド管理システムと、前記記憶装置を使用してバッチジョブを実行するバッチジョブ処理装置と、を備え、前記バッチジョブ処理装置は、前記バッチジョブの実行結果を解析する解析手段と、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する第1の算出手段と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する実行手段と、を備える。   Further, a system according to an aspect of the present invention includes a cloud management system having a storage device managed on a cloud, and a batch job processing device that executes a batch job using the storage device, the batch The job processing apparatus comprises: analysis means for analyzing an execution result of the batch job; and a size of an area used when all of the one or more batch jobs are finished, the first of the storage areas. An area in the storage area of the first calculation means for calculating the size of the area based on the analysis result by the analysis means, and the size that can be used when executing each of the one or more batch jobs And calculating a size of a second area, which is an area other than the first area, for each batch job based on the analysis result, the first area, and the first area. 2 Use region, and an execution unit configured to execute the batch job.

また、本発明の一態様に係るバッチジョブ処理方法は、クラウド上で管理された記憶領域を使用して実行されたバッチジョブの実行結果を解析し、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出し、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出し、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する。   Moreover, the batch job processing method according to an aspect of the present invention analyzes the execution result of the batch job executed using the storage area managed on the cloud, and all one or more of the batch jobs are ended. Calculating the size of the first area in the storage area based on the analysis result by the analysis means, and executing each of the one or more batch jobs. The size of the second area which is an area other than the first area among the areas in the storage area which can be used at the time of calculation is calculated for each batch job based on the analysis result. The batch job is executed using the first area and the second area.

なお、上記各装置、システムまたは方法を、コンピュータによって実現するコンピュータプログラム、およびそのコンピュータプログラムが格納されている、コンピュータ読み取り可能な記憶媒体も、本発明の範疇に含まれる。   A computer program for realizing the above-described respective devices, systems or methods by a computer, and a computer readable storage medium storing the computer program are also included in the scope of the present invention.

本発明によれば、バッチジョブの実行時に、クラウド上で管理された記憶領域の使用量および使用時間をより最適化することができる。   According to the present invention, it is possible to further optimize the use amount and use time of storage areas managed on the cloud when executing a batch job.

本発明の第1の実施の形態に係るバッチジョブ処理装置を含むシステムの構成を説明するための図である。It is a figure for demonstrating the structure of the system containing the batch job processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るバッチジョブ処理装置におけるバッチジョブ実行部が出力する実行予定情報の一例を示す図である。It is a figure which shows an example of the execution plan information which the batch job execution part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention outputs. 本発明の第1の実施の形態に係るバッチジョブ処理装置におけるバッチジョブ実行部が出力するバッチジョブ開始通知の一例を示す図である。It is a figure which shows an example of the notification of a batch job start which the batch job execution part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention outputs. 本発明の第1の実施の形態に係るバッチジョブ処理装置におけるバッチジョブ実行部が出力する実行履歴の一例を示す図である。It is a figure which shows an example of the execution log | history which the batch job execution part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention outputs. 本発明の第1の実施の形態に係るバッチジョブ処理装置内の各部の動作のタイミングを説明するための図である。It is a figure for demonstrating the timing of operation | movement of each part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るバッチジョブ処理装置における記憶部が格納しているデータ量関連情報の一例を示す図である。It is a figure which shows an example of the data amount relevant information which the memory | storage part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention is storing. 本発明の第1の実施の形態に係るバッチジョブ処理装置における実行履歴解析部の機能構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of a function structure of the execution log | history analysis part in the batch job processing apparatus concerning the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るバッチジョブ処理装置における実行履歴解析部が行う実行履歴解析処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the execution log | history analysis process which the execution log | history analysis part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention performs. 本発明の第1の実施の形態に係るバッチジョブ処理装置における恒久領域管理部の機能構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of a function structure of the permanent area | region management part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るバッチジョブ処理装置における恒久領域管理部が行う恒久領域管理処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of a permanent area | region management process which the permanent area | region management part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention performs. 本発明の第1の実施の形態に係るバッチジョブ処理装置における一時領域管理部の機能構成の一例を示す機能ブロック図である。It is a functional block diagram which shows an example of a function structure of the temporary area management part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第1の実施の形態に係るバッチジョブ処理装置における一時領域管理部が行う一時領域管理処理の流れの一例を示すフローチャートである。It is a flowchart which shows an example of the flow of the temporary area management process which the temporary area management part in the batch job processing apparatus which concerns on the 1st Embodiment of this invention performs. 本発明の第1の実施の形態に係るバッチジョブ処理装置を用いることによる、クラウド管理システムの記憶部内のディスク領域の使用量の変化を説明するための図である。It is a figure for demonstrating the change of the usage-amount of the disk area in the memory | storage part of the cloud management system by using the batch job processing apparatus which concerns on the 1st Embodiment of this invention. 本発明の第2の実施の形態に係るバッチジョブ処理装置を含むシステムの構成を説明するための図である。It is a figure for demonstrating the structure of the system containing the batch job processing apparatus which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施の形態に係るバッチジョブ処理装置の機能構成の一例を示す機能ブロック図である。It is a functional block diagram showing an example of functional composition of a batch job processing device concerning a 3rd embodiment of the present invention. 各実施の形態をコンピュータ装置で実現したハードウェア構成を示す図である。It is a figure which shows the hardware constitutions which implement | achieved each embodiment by computer apparatus.

<第1の実施の形態>
本発明の第1の実施の形態について、図面を参照して詳細に説明する。図1は、本実施の形態に係るバッチジョブ処理装置1を含むシステムの構成を説明するための図である。図1に示す通り、本実施の形態に係るバッチジョブ処理装置1は、クラウド管理システム2とデータのやり取りが可能となるように接続している。
First Embodiment
A first embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram for explaining the configuration of a system including a batch job processing apparatus 1 according to the present embodiment. As shown in FIG. 1, the batch job processing device 1 according to the present embodiment is connected to the cloud management system 2 so as to be able to exchange data.

クラウド管理システム2は、クラウドコンピューティングを実現する一般的なシステムである。本実施の形態では、クラウド管理システム2は、クラウド上において、バッチジョブ処理装置1が独占的に使用可能な資源(記憶領域)を管理しているものとする。なお、この記憶領域は、クラウド上の様々な従量課金タイプの記憶領域であり、その形態は特に限定されるものではない。   The cloud management system 2 is a general system that implements cloud computing. In the present embodiment, it is assumed that the cloud management system 2 manages resources (storage areas) that can be used exclusively by the batch job processing device 1 on the cloud. Note that this storage area is a storage area of various pay-as-you-go types on the cloud, and the form is not particularly limited.

クラウド管理システム2は、図1に示す通り、記憶部21と、該記憶部21の記憶領域(ディスク領域とも呼ぶ)を管理する記憶領域管理部22とを備えている。記憶領域管理部22は、後述するバッチジョブ処理装置1からの要求に従って、記憶部21におけるディスク領域の割り当てを行う。   As shown in FIG. 1, the cloud management system 2 includes a storage unit 21 and a storage area management unit 22 that manages a storage area (also referred to as a disk area) of the storage unit 21. The storage area management unit 22 allocates a disk area in the storage unit 21 in accordance with a request from the batch job processing apparatus 1 described later.

具体的には、記憶領域管理部22は、バッチジョブ処理装置1から、指定されたサイズ分の新規領域を、記憶部21に確保する要求を受信すると、受信した要求に従って、該サイズ分のディスク領域を記憶部21内に確保する。このとき、記憶領域管理部22は確保した領域の情報として、該領域のアドレスを、バッチジョブ処理装置1に対して送信する。   Specifically, when the storage area management unit 22 receives from the batch job processing device 1 a request for securing a new area for the designated size in the storage unit 21, the storage area management unit 22 receives the disk for the size according to the received request. An area is secured in the storage unit 21. At this time, the storage area management unit 22 transmits the address of the area to the batch job processing apparatus 1 as the information of the secured area.

また、記憶領域管理部22は、現時点の恒久領域のデータを新規領域に移動させる移動要求を受信すると、該要求に従って、記憶部21内の現時点の恒久領域のデータを新規領域に移動させる。   When the storage area management unit 22 receives a move request to move data of the permanent area at the current time to a new area, the storage area management unit 22 moves data of the permanent area at the current time in the storage unit 21 to the new area.

また、記憶領域管理部22は、バッチジョブ処理装置1から削除要求を受信すると、該要求に従って、領域の削除を行う。   In addition, when the storage area management unit 22 receives a deletion request from the batch job processing apparatus 1, the storage area management unit 22 deletes the area according to the request.

このように、記憶領域管理部22は、バッチジョブ処理装置1からの削除要求があるまで、バッチジョブ処理装置1が独占的に、割り当てたディスク領域を使用できるように制御する。   As described above, the storage area management unit 22 controls the batch job processing apparatus 1 to exclusively use the allocated disk area until there is a deletion request from the batch job processing apparatus 1.

(バッチジョブ処理装置1)
バッチジョブ処理装置1は、クラウドコンピューティング上で動作するものであり、バッチジョブを管理および実行する装置である。バッチジョブ処理装置1は、図1に示す通り、動的ストレージ管理部(ストレージ管理装置)11と、バッチジョブ実行部12とを備えている。
(Batch job processing device 1)
The batch job processing device 1 operates on cloud computing, and is a device that manages and executes batch jobs. The batch job processing device 1 includes a dynamic storage management unit (storage management device) 11 and a batch job execution unit 12 as shown in FIG.

(バッチジョブ実行部12)
バッチジョブ実行部12は、クラウド上で管理された記憶部21の記憶領域を使用してバッチジョブを実行する手段である。バッチジョブ実行部12は、動的ストレージ管理部11から出力された恒久領域を示す情報および一時領域を示す情報に基づいて、バッチジョブの実行場所を動的に変更して、バッチジョブを実行する。
(Batch job execution unit 12)
The batch job execution unit 12 is means for executing a batch job using the storage area of the storage unit 21 managed on the cloud. The batch job execution unit 12 dynamically changes the execution location of the batch job based on the information indicating the permanent area and the information indicating the temporary area output from the dynamic storage management unit 11 to execute the batch job. .

バッチジョブ実行部12は、後述する業務時間になると、該業務時間におけるバッチジョブの実行予定を示す情報(実行予定情報)を動的ストレージ管理部11に出力する。なお、この実行予定情報を出力するタイミングは、一連のバッチジョブが開始される前であればよい。   The batch job execution unit 12 outputs information (execution schedule information) indicating the execution schedule of the batch job in the business time to the dynamic storage management unit 11 when the business time described later is reached. The timing for outputting the execution schedule information may be before the series of batch jobs are started.

バッチジョブ実行部12が動的ストレージ管理部11に出力する実行予定情報について、図2を参照して説明する。図2は、本実施の形態に係るバッチジョブ処理装置1におけるバッチジョブ実行部12が出力する実行予定情報の一例を示す図である。   The execution schedule information that the batch job execution unit 12 outputs to the dynamic storage management unit 11 will be described with reference to FIG. FIG. 2 is a diagram showing an example of execution schedule information output by the batch job execution unit 12 in the batch job processing apparatus 1 according to the present embodiment.

図2に示す通り、実行予定情報は、バッチジョブを開始する時刻(ジョブ開始時刻)と、この時刻に開始されるバッチジョブを示す情報(図2においては、実行予定のジョブ名(実行予定ジョブ名))とを含む。図2に示す実行予定情報には、例えば、10時1分にジョブXというジョブ名のバッチジョブが実行されることが示されている。なお、図2に示す通り、実行予定ジョブ名は、ジョブ開始時刻の早いものから順に並んでいるとするが、どのような順番であってもよい。バッチジョブ実行部12は、このような実行予定情報を、動的ストレージ管理部11に出力する。   As shown in FIG. 2, the execution schedule information indicates the time to start the batch job (job start time) and information indicating the batch job started at this time (in FIG. 2, the job name to be executed (execution schedule job) Name) and. The execution schedule information shown in FIG. 2 indicates, for example, that a batch job with a job name of job X is to be executed at 10:00. Note that, as shown in FIG. 2, the scheduled job names are arranged in order from the job start time, but may be in any order. The batch job execution unit 12 outputs such execution schedule information to the dynamic storage management unit 11.

バッチジョブ実行部12は、個々のバッチジョブを実行する前に、バッチジョブを開始することを示す通知(バッチジョブ開始通知)を動的ストレージ管理部11に出力する。バッチジョブ実行部12が動的ストレージ管理部11に出力するバッチジョブ開始通知について、図3を参照して説明する。図3は、本実施の形態に係るバッチジョブ処理装置1におけるバッチジョブ実行部12が出力するバッチジョブ開始通知の一例を示す図である。   The batch job execution unit 12 outputs, to the dynamic storage management unit 11, a notification (batch job start notification) indicating that the batch job is to be started, before executing each batch job. Batch job start notification that the batch job execution unit 12 outputs to the dynamic storage management unit 11 will be described with reference to FIG. FIG. 3 is a view showing an example of a batch job start notification outputted by the batch job execution unit 12 in the batch job processing apparatus 1 according to the present embodiment.

図3に示す通り、バッチジョブ開始通知は、実行するバッチジョブを示すジョブ名と、該バッチジョブの入力データ量とを含む。なお、バッチジョブ開始通知に含まれる情報はこれに限定されるものではない。バッチジョブ開始通知には、ジョブ名の代わりに、実行するバッチジョブを示す文字列が含まれていてもよい。つまり、バッチジョブ開始通知には、実行するバッチジョブを識別する識別子(図3においては、ジョブ名)が含まれていればよい。   As shown in FIG. 3, the batch job start notification includes a job name indicating a batch job to be executed, and an input data amount of the batch job. The information included in the batch job start notification is not limited to this. The batch job start notification may include a character string indicating a batch job to be executed instead of the job name. That is, the batch job start notification may include an identifier (a job name in FIG. 3) identifying the batch job to be executed.

また、バッチジョブ実行部12は、個々のバッチジョブが終了すると、バッチジョブが終了したことを示す通知(バッチジョブ終了通知)を動的ストレージ管理部11に出力する。バッチジョブ実行部12は、バッチジョブ終了通知として、終了したバッチジョブを示す情報(例えば、ジョブ名)と、終了したことを示す情報とを、動的ストレージ管理部11に出力する。   Further, when each batch job ends, the batch job execution unit 12 outputs a notification (batch job end notification) indicating that the batch job has ended to the dynamic storage management unit 11. The batch job execution unit 12 outputs, to the dynamic storage management unit 11, information indicating the finished batch job (for example, a job name) and information indicating the end as a batch job end notification.

バッチジョブ実行部12は、一連のバッチジョブが終了すると、図4に示すような実行履歴を動的ストレージ管理部11に出力する。バッチジョブ実行部12が出力する実行履歴の一例を図4に示す。図4は、本実施の形態に係るバッチジョブ処理装置1におけるバッチジョブ実行部12が出力する実行履歴の一例を示す図である。   When the series of batch jobs is completed, the batch job execution unit 12 outputs an execution history as shown in FIG. 4 to the dynamic storage management unit 11. An example of the execution history output by the batch job execution unit 12 is shown in FIG. FIG. 4 is a diagram showing an example of an execution history output by the batch job execution unit 12 in the batch job processing apparatus 1 according to the present embodiment.

図4に示す通り、実行履歴には、バッチジョブを識別するジョブ名と、該ジョブ名によって示されるバッチジョブの実行結果であって、該ジョブ名に関連付けられた実行結果とが含まれる。なお、実行履歴には、その他の情報が含まれていてもよい。実行履歴に含まれる実行結果には、少なくとも、以下の(a)〜(c)を示す情報が、実行されたバッチジョブ毎に含まれていればよい。
(a)バッチジョブに入力されたデータの量(入力データ量)、
(b)バッチジョブの実行時に使用したデータの最大量(最大データ量)、
(c)バッチジョブ終了時のデータ量(最終データ量)。
As shown in FIG. 4, the execution history includes a job name for identifying a batch job, and an execution result of the batch job indicated by the job name and associated with the job name. The execution history may include other information. The execution results included in the execution history may include at least information indicating the following (a) to (c) for each executed batch job.
(A) Amount of data input to batch job (input data amount),
(B) Maximum amount of data used when executing batch job (maximum amount of data),
(C) Amount of data at the end of batch job (final amount of data).

図4に示す実行履歴には、ジョブXというジョブ名のバッチジョブの実行結果が、入力データ量100KB、最大データ量1MB、最終データ量1MBであることが示されている。   The execution history shown in FIG. 4 indicates that the execution result of the batch job with the job name of job X is 100 KB of input data amount, 1 MB of maximum data amount, and 1 MB of final data amount.

また、実行履歴には、バッチジョブが実行された順に、バッチジョブの実行結果が含まれている。図4に示す実行履歴では、複数のバッチジョブは、ジョブX、ジョブY、ジョブX、ジョブYの順で実行されていることがわかる。この実行された(実行されるべき)複数のバッチジョブを、以降では、一連のバッチジョブとも呼ぶ。なお、本実施の形態はこれに限定されるものではなく、バッチジョブの実行結果に、バッチジョブが実行された時刻を示す情報が含まれていてもよい。これにより、バッチジョブがどの順番で実行されたかを把握することができる。また、バッチジョブは、1以上であればよい。   Also, the execution history includes the execution results of batch jobs in the order in which the batch jobs were executed. In the execution history shown in FIG. 4, it can be seen that a plurality of batch jobs are executed in the order of job X, job Y, job X, and job Y. The plurality of executed (to be executed) batch jobs is hereinafter also referred to as a series of batch jobs. Note that the present embodiment is not limited to this, and the execution result of the batch job may include information indicating the time when the batch job was executed. This makes it possible to grasp in what order the batch job was executed. Also, the number of batch jobs may be one or more.

また、実行履歴には、ジョブ名が含まれることを例に説明を行ったが、本実施の形態は、これに限定されるものではない。実行履歴には、バッチジョブ実行部12がどのバッチジョブを実行したかを識別するものが、実行結果に関連付けられて含まれていればよい。つまり、実行履歴には、ジョブ名の代わりに、例えば、バッチジョブを示す文字列が含まれていてもよい。つまり、実行履歴には、バッチジョブを識別する識別子(図4においては、ジョブ名)が含まれていればよい。   Also, although the execution history has been described on the example that the job name is included, the present embodiment is not limited to this. What has identified which batch job the batch job execution unit 12 has executed may be included in the execution history in association with the execution result. That is, the execution history may include, for example, a character string indicating a batch job instead of the job name. That is, the execution history may include an identifier (a job name in FIG. 4) for identifying a batch job.

バッチジョブ実行部12は、一連のバッチジョブが終了した時点で、実行履歴を出力してもよいし、後述する業務期間が終了した後に、実行履歴を出力してもよい。   The batch job execution unit 12 may output an execution history when a series of batch jobs end, or may output an execution history after an operation period described later ends.

なお、上述したとおり、図4に示す実行結果は、バッチジョブを識別する識別子(図4においては、ジョブ名)に関連付けられていることから、図4に示す実行履歴自体を実行結果とも呼ぶ。   As described above, since the execution result shown in FIG. 4 is associated with an identifier (a job name in FIG. 4) identifying a batch job, the execution history itself shown in FIG. 4 is also referred to as an execution result.

(動的ストレージ管理部11)
動的ストレージ管理部11は、実行履歴解析部110と、恒久領域管理部(第1の算出部)120と、一時領域管理部(第2の算出部)130とを備えている。また、動的ストレージ管理部11は、更に、記憶部140を備えてもよい。なお、図1では、記憶部140は、動的ストレージ管理部11内に内蔵されているが、本実施の形態はこれに限定されない。記憶部140は、バッチジョブ処理装置1内に内蔵されるものであってもよいし、バッチジョブ処理装置1と接続された、バッチジョブ処理装置1とは別個の記憶装置で実現されるものであってもよい。
(Dynamic storage management unit 11)
The dynamic storage management unit 11 includes an execution history analysis unit 110, a permanent area management unit (first calculation unit) 120, and a temporary area management unit (second calculation unit) 130. The dynamic storage management unit 11 may further include a storage unit 140. Although the storage unit 140 is built in the dynamic storage management unit 11 in FIG. 1, the present embodiment is not limited to this. The storage unit 140 may be built in the batch job processing device 1 or realized by a storage device connected to the batch job processing device 1 and separate from the batch job processing device 1. It may be.

動的ストレージ管理部11内の各部の構成および動作を説明する前に、バッチジョブ処理装置1内の各部の動作のタイミングの一例について、図5を参照して説明する。図5は、バッチジョブ処理装置1内の各部の動作のタイミングを説明するための図である。図5において、横軸は、時間を示す。なお、図5で示す各処理のタイミングは一例であり、本実施の形態はこれに限定されるものではない。また、図5において、A〜Dの符号を付した双方向の矢印は、バッチジョブ処理装置1の各部が行う処理を表している。   Before describing the configuration and operation of each unit in the dynamic storage management unit 11, an example of the operation timing of each unit in the batch job processing apparatus 1 will be described with reference to FIG. FIG. 5 is a diagram for explaining the operation timings of the respective units in the batch job processing apparatus 1. In FIG. 5, the horizontal axis indicates time. The timing of each process shown in FIG. 5 is an example, and the present embodiment is not limited to this. Further, in FIG. 5, bidirectional arrows attached with the symbols A to D represent processing performed by each unit of the batch job processing apparatus 1.

まず、図5に示す「業務期間」、「業務開始時刻」、「業務終了時刻」について説明する。業務期間とは、一連のバッチジョブが実行される任意の期間を示している。そして、業務開始時刻は、この業務期間の開始時刻を示し、業務終了時刻はこの業務期間の終了時刻を示している。バッチジョブは、この業務期間に実行されるものである。つまり、バッチジョブは、業務期間と他の業務期間との間(ある業務期間の業務終了時刻から次の業務期間の業務開始時刻までの間)では、実行されない。   First, “work period”, “work start time”, and “work end time” shown in FIG. 5 will be described. The work period indicates an arbitrary period in which a series of batch jobs are executed. The work start time indicates the start time of the work period, and the work end time indicates the end time of the work period. The batch job is to be executed during this work period. That is, the batch job is not executed between the business period and another business period (from the business end time of one business period to the business start time of the next business period).

ここで、本実施の形態では、複数のバッチジョブが業務期間に実行されることを例に説明を行うが、バッチジョブの数は任意である。また、本実施の形態では、バッチジョブを、単にジョブとも呼ぶ。   Here, in the present embodiment, an example is described in which a plurality of batch jobs are executed in a work period, but the number of batch jobs is arbitrary. Further, in the present embodiment, a batch job is also simply referred to as a job.

図5に示す通り、符号Aで示した双方向の矢印は、実行履歴解析部110によって実行される実行履歴解析処理の期間を示している。同様に、符号Bで示した双方向の矢印は、恒久領域管理部120によって実行される恒久領域管理処理の期間を示している。また、符号Cで示した双方向の矢印は、一時領域管理部130によって実行される一時領域管理処理の期間を示している。また、符号Dで示した双方向の矢印は、バッチジョブ実行部12によって1つのバッチジョブが実行される期間を示している。図5では、一連のバッチジョブとして、2つのバッチジョブが実行されることを例に説明を行う。   As shown in FIG. 5, the bidirectional arrow indicated by symbol A indicates the period of the execution history analysis process executed by the execution history analysis unit 110. Similarly, a bi-directional arrow indicated by a symbol B indicates the duration of the permanent area management process performed by the permanent area management unit 120. Further, a bidirectional arrow indicated by a symbol C indicates a period of the temporary area management process executed by the temporary area management unit 130. Further, a bi-directional arrow indicated by a symbol D indicates a period during which one batch job is executed by the batch job execution unit 12. In FIG. 5, an example is described in which two batch jobs are executed as a series of batch jobs.

実行履歴解析処理(A)は、一連のバッチジョブの終了後に、実行履歴解析部110によって行われる処理である。なお、実行履歴解析処理(A)は、一連のバッチジョブが終了した後であって、業務開始時刻より前に行われるものであればよい。つまり、実行履歴解析処理(A)は、業務終了時刻から業務開始時刻までの間に行われてもよい。実行履歴解析処理(A)は、次の業務開始時刻より前、且つ、バッチジョブ実行部12が動的ストレージ管理部11の実行履歴解析部110に実行履歴を出力した後であればどのタイミングで行われてもよい。   The execution history analysis process (A) is a process performed by the execution history analysis unit 110 after the end of a series of batch jobs. The execution history analysis process (A) may be performed after the series of batch jobs are completed and before the business start time. That is, the execution history analysis process (A) may be performed between the task end time and the task start time. The execution history analysis process (A) is performed at any timing before the next job start time and after the batch job execution unit 12 outputs the execution history to the execution history analysis unit 110 of the dynamic storage management unit 11 It may be done.

恒久領域管理処理(B)は、恒久領域管理部120によって、業務開始時刻後に行われる処理である。なお、図5に示す恒久領域管理処理(B)は、業務開始時刻以降であって、ジョブ開始時刻より前に実行されるものであることを例に説明を行うが、恒久領域管理処理(B)は、実行履歴解析処理(A)が終了した後であり、且つ、ジョブ開始時刻より前であれば、どのタイミングで実行されてもよい。なお、恒久領域管理処理(B)が図5に示す期間で行われることにより、バッチジョブ処理装置1は、後述する恒久領域をバッチジョブの開始前の適切な時間に確保することができる。   The permanent area management process (B) is a process performed by the permanent area management unit 120 after the work start time. Although the permanent area management process (B) shown in FIG. 5 is performed after the job start time and before the job start time, the permanent area management process (B) will be described. ) May be performed at any timing after the execution history analysis process (A) is completed and before the job start time. In addition, by performing the permanent area management process (B) in the period shown in FIG. 5, the batch job processing apparatus 1 can secure the permanent area described later at an appropriate time before the start of the batch job.

一時領域管理処理(C)は、バッチジョブが開始される時刻(図5において「ジョブ開始」で示された時刻)後であって、バッチジョブの実行前に、一時領域管理部130によって行われる処理である。一時領域管理処理(C)は、バッチジョブごとに、バッチジョブの開始時刻になると、実行される。なお、図5に示す一時領域管理処理(C)は、図12において説明する一時領域管理処理の流れにおいて、ジョブ開始通知または終了通知を受信した後(ステップS302以降)の処理を指している。   The temporary area management process (C) is performed by the temporary area management unit 130 after the time when the batch job is started (the time indicated by “job start” in FIG. 5) and before the execution of the batch job. It is a process. The temporary area management process (C) is executed for each batch job when the start time of the batch job is reached. The temporary area management process (C) illustrated in FIG. 5 refers to the process after receiving the job start notification or the end notification (in step S302 and subsequent steps) in the flow of the temporary area management process illustrated in FIG. 12.

バッチジョブ実行(D)は、バッチジョブ実行部12がバッチジョブを実行する期間を示している。バッチジョブは、一時領域管理処理(C)の実行後に実行される。   Batch job execution (D) indicates a period in which the batch job execution unit 12 executes a batch job. The batch job is executed after execution of the temporary area management process (C).

次に、動的ストレージ管理部11内の各部の詳細について説明する。   Next, details of each unit in the dynamic storage management unit 11 will be described.

(記憶部140)
記憶部140には、データ量関連情報が格納されている。図6は、記憶部140が格納するデータ量関連情報の一例を示す図である。記憶部140が格納している情報は、図6に示す通りテーブル形式で格納されているため、データ量関連情報テーブルとも呼ぶ。
(Storage unit 140)
The storage unit 140 stores data amount related information. FIG. 6 is a diagram showing an example of data amount related information stored in the storage unit 140. As shown in FIG. The information stored in the storage unit 140 is also stored in the form of a table as shown in FIG. 6, so it is also called a data amount related information table.

図6に示す通り、データ量関連情報は、ジョブ名と、該ジョブ名に関連付けられたデータ量と、ジョブ名毎に算出された比例係数と、ジョブ名毎に算出された平均値とを含む。ジョブ名に関連付けられたデータ量は、バッチジョブ実行部12が該ジョブ名のジョブを実行した際に得た入力データ量、最大データ量および最終データ量の組である。なお、データ量は、バッチジョブ実行部12がバッチジョブを実行した際に計測された結果であるため、実行結果または計測結果とも呼ぶ。1つのジョブ名には、複数のデータ量(実行結果)が関連付けられている。なお、図6では、1つのジョブ名に2つのデータ量が関連付けられているが、データ量の数は、これに限定されるものではない。また、1つのジョブ名に関連付けられるデータ量の数は、同じであってもよいし、ジョブ名毎に異なる数であってもよい。   As shown in FIG. 6, the data amount related information includes a job name, a data amount associated with the job name, a proportional coefficient calculated for each job name, and an average value calculated for each job name. . The data amount associated with the job name is a set of the input data amount, the maximum data amount, and the final data amount obtained when the batch job execution unit 12 executes the job of the job name. The data amount is a result measured when the batch job execution unit 12 executes the batch job, and therefore, is also referred to as an execution result or a measurement result. A plurality of data amounts (execution results) are associated with one job name. Although two data volumes are associated with one job name in FIG. 6, the number of data volumes is not limited to this. Further, the number of data amounts associated with one job name may be the same or may be different for each job name.

なお、図6に示すデータ量関連情報には、バッチジョブを識別する識別子として、ジョブ名が含まれるが、本実施の形態はこれに限定されるものではなく、バッチジョブを示す文字列であってもよい。   The data amount related information shown in FIG. 6 includes a job name as an identifier for identifying a batch job, but the present embodiment is not limited to this and is a character string indicating a batch job. May be

また、1つのジョブ名には、1つの比例係数が関連付けられている。この比例係数は、1つのジョブ名に関連付けられた複数のデータ量の夫々に含まれる最大データ量および最終データ量から算出されたものである。   Also, one proportional coefficient is associated with one job name. The proportional coefficient is calculated from the maximum data amount and the final data amount included in each of a plurality of data amounts associated with one job name.

また、1つのジョブ名には、1つの平均値が関連付けられている。この平均値は、1つのジョブ名に関連付け有れた複数のデータ量の夫々に含まれる最終データ量の平均値である。   Also, one average value is associated with one job name. This average value is an average value of the final data amount included in each of a plurality of data amounts associated with one job name.

なお、データ量関連情報はこれに限定されるものではなく、その他の情報を含むものであってもよい。   Note that the data amount related information is not limited to this, and may include other information.

(実行履歴解析部110)
次に、実行履歴解析部110の機能構成について説明する。実行履歴解析部110は、バッチジョブの実行結果(実行履歴)を解析する手段である。図7は、本実施の形態に係るバッチジョブ処理装置1における実行履歴解析部110の機能構成の一例を示す機能ブロック図である。図7に示す通り、実行履歴解析部110は、抽出部111と、算出部112とを備えている。
(Execution history analysis unit 110)
Next, the functional configuration of the execution history analysis unit 110 will be described. The execution history analysis unit 110 is means for analyzing the execution result (execution history) of a batch job. FIG. 7 is a functional block diagram showing an example of a functional configuration of the execution history analysis unit 110 in the batch job processing apparatus 1 according to the present embodiment. As shown in FIG. 7, the execution history analysis unit 110 includes an extraction unit 111 and a calculation unit 112.

抽出部111は、バッチジョブ実行部12から出力された実行履歴(図4)を受信する。そして、抽出部111は、実行履歴から、バッチジョブが実行された順に、1つのバッチジョブに対する実行結果を抽出する。抽出部111は、抽出した実行結果から、更に、データ量(入力データ量、最大データ量および最終データ量)を抽出する。そして、抽出部111は、抽出したデータ量を、該データ量に関連付けられたジョブ名と共に、算出部112に供給する。抽出部111は、実行履歴に処理を全てのバッチジョブに対して、データ量の抽出を行う。   The extraction unit 111 receives the execution history (FIG. 4) output from the batch job execution unit 12. Then, the extraction unit 111 extracts an execution result for one batch job from the execution history in the order in which the batch job was executed. The extraction unit 111 further extracts data amount (input data amount, maximum data amount, and final data amount) from the extracted execution result. Then, the extraction unit 111 supplies the extracted data amount to the calculation unit 112 together with the job name associated with the data amount. The extraction unit 111 extracts the amount of data for all batch jobs based on the execution history.

算出部112は、抽出部111から、1つのバッチジョブに対するジョブ名と、該ジョブ名に関連付けられたデータ量とを受信する。そして、算出部112は、データ量関連情報を参照し、データ量関連情報に登録されている(保存されている)データ量の数(データ量の保存数と呼ぶ)が、所定の数(最大保存数)以上か否かを確認する。データ量関連情報は後に説明する恒久領域および一時領域の推定に使用する。そのため、最大保存数は適度な大きさに設定されることが好ましい。算出部112は、データ量の保存数が最大保存数以上の場合、最も古いデータ量を削除し、データ量の保存数を最大保存数より少ない数にする。   The calculation unit 112 receives, from the extraction unit 111, the job name for one batch job and the amount of data associated with the job name. Then, the calculation unit 112 refers to the data amount related information, and the number of data amounts registered (stored) in the data amount related information (referred to as the stored number of data amounts) is a predetermined number (maximum) Check if it is more than the number of stored items. Data amount related information is used for estimation of permanent area and temporary area described later. Therefore, it is preferable that the maximum storage number be set to an appropriate size. When the number of saved data amounts is equal to or greater than the maximum number of saved data, the calculation unit 112 deletes the oldest amount of data and makes the number of saved data amounts smaller than the maximum saved number.

このとき、算出部112は、受信したジョブ名毎に、データ量の保存数が、関連するジョブ名に対して設定された最大保存数以上か否かを確認することが好ましい。そして、算出部112は、受信したジョブ名に関連付けられたデータ量の保存数が最大保存数以上の場合、このジョブ名に関連付けられたデータ量のうち最も古いデータ量から順に削除する。これにより、算出部112は、より最適な比例係数および平均値を算出することができる。なお、データ量関連情報に含まれるデータ量が古い日付から順に並んでいる場合、算出部112は、先頭のデータ量を削除する。   At this time, it is preferable that the calculation unit 112 check, for each received job name, whether or not the number of saved data amounts is equal to or more than the maximum number of saved data set for the related job name. Then, when the storage number of the data amount associated with the received job name is equal to or larger than the maximum storage number, the calculation unit 112 sequentially deletes the oldest data amount among the data amounts associated with the job name. Thus, the calculation unit 112 can calculate more appropriate proportionality coefficients and average values. If the data amount included in the data amount related information is arranged in order from the oldest date, the calculation unit 112 deletes the top data amount.

そして、算出部112は、受信したデータ量を、該データ量に関連付けられたジョブ名に関連付けて、記憶部140のデータ量関連情報に含める。なお、データ量関連情報に含まれるデータ量が古い日付から順に並んでいる場合、算出部112は、データ量関連情報に含まれる複数のデータ量の最後に、受信したデータ量を追加する。   Then, the calculation unit 112 associates the received data amount with the job name associated with the data amount, and includes the data amount related information in the storage unit 140. In addition, when the data amount included in the data amount related information is arranged in order from the oldest date, the calculation unit 112 adds the received data amount to the end of the plurality of data amounts included in the data amount related information.

また、算出部112は、データ量関連情報を参照し、受信したジョブ名に関連付けられた複数のデータ量から比例係数を算出する。具体的には、算出部112は、データ量関連情報に含まれる、受信したジョブ名に関連付けられた複数のデータ量の夫々に含まれる最大データ量の和を求める。また、算出部112は、上記複数のデータ量の夫々に含まれる入力データ量の和を求める。そして、算出部112は、最大データ量の和を、入力データ量の和で割った値を比例係数とする。なお、この比例係数の値は、図6に示す通り、整数であってもよいし、小数であってもよい。算出部112は、最大データ量の和を、入力データ量の和で割った値を丸めることにより、比例係数を算出してもよい。   Further, the calculation unit 112 refers to the data amount related information, and calculates a proportional coefficient from a plurality of data amounts associated with the received job name. Specifically, the calculation unit 112 calculates the sum of the maximum data amount included in each of the plurality of data amounts associated with the received job name, which is included in the data amount related information. In addition, the calculation unit 112 obtains the sum of the amount of input data included in each of the plurality of data amounts. Then, the calculation unit 112 sets a value obtained by dividing the sum of the maximum data amount by the sum of the input data amount as a proportional coefficient. The value of this proportionality factor may be an integer or a decimal as shown in FIG. The calculation unit 112 may calculate the proportional coefficient by rounding a value obtained by dividing the sum of the maximum data amount by the sum of the input data amount.

そして、算出部112は、データ量関連情報に含まれる、上記ジョブ名に関連付けられた比例係数を、算出した比例係数に更新する。   Then, the calculation unit 112 updates the proportionality coefficient associated with the job name, which is included in the data amount related information, to the calculated proportionality coefficient.

なお、本実施の形態では、バッチジョブの実行の際に使用する最大データ量は、入力データ量に比例するものと仮定する。この仮定は、一般的にバッチジョブが、入力データを処理して中間データを書き出し、最終的に圧縮および統計処理等を行って最終データに加工するという処理を行うことから導かれるものである。つまり、上記仮定は、中間データのための領域が最大データ領域になることが多いという事実に基づいている。   In the present embodiment, it is assumed that the maximum amount of data used when executing a batch job is proportional to the amount of input data. This assumption is generally derived from the fact that a batch job processes input data to write intermediate data, and finally performs compression, statistical processing, etc. to process it into final data. That is, the above assumption is based on the fact that the area for intermediate data is often the largest data area.

このように、算出部112は、同じ識別子(図6においては、ジョブ名)を有するバッチジョブの夫々の実行結果(データ量)に含まれる最大データ量および入力データ量に基づいて、比例係数を算出する。この比例係数は、入力データ量の和に対する最大データ量の和の比である。   In this manner, the calculation unit 112 calculates the proportionality coefficient based on the maximum data amount and the input data amount included in the respective execution results (data amounts) of batch jobs having the same identifier (job name in FIG. 6). calculate. This proportionality factor is the ratio of the sum of the largest data amount to the sum of the input data amount.

また、算出部112は、データ量関連情報を参照し、受信したジョブ名に関連付けられた複数のデータ量の夫々に含まれる最終データ量を用いて、最終データ量の平均値を算出する。そして、算出部112は、データ量関連情報に含まれる、上記ジョブ名に関連付けられた平均値を、算出した平均値に更新する。   In addition, the calculation unit 112 refers to the data amount related information, and calculates an average value of the final data amount using the final data amount included in each of the plurality of data amounts associated with the received job name. Then, the calculation unit 112 updates the average value associated with the job name, which is included in the data amount related information, to the calculated average value.

なお、算出部112は、データ量の削除を行わず、データ量の追加を行ってもよい。この場合、算出部112は、日付が新しいものから所定の数分のデータ量を用いて、比例係数および平均値を算出してもよい。   The calculating unit 112 may add the data amount without deleting the data amount. In this case, the calculation unit 112 may calculate the proportional coefficient and the average value using a predetermined number of data amounts starting from the latest date.

このように、算出部112は、同じ識別子(図6においては、ジョブ名)を有するバッチジョブの夫々の実行結果(データ量)に含まれる最終データ量の平均値を算出する。   As described above, the calculation unit 112 calculates the average value of the final data amount included in the respective execution results (data amount) of batch jobs having the same identifier (job name in FIG. 6).

次に、実行履歴解析部110が行う実行履歴解析処理の流れについて、説明を行う。図8は、本実施の形態に係る動的ストレージ管理部11の実行履歴解析部110が行う実行履歴解析処理の流れの一例を示すフローチャートである。   Next, the flow of the execution history analysis process performed by the execution history analysis unit 110 will be described. FIG. 8 is a flowchart showing an example of the flow of execution history analysis processing performed by the execution history analysis unit 110 of the dynamic storage management unit 11 according to the present embodiment.

図8に示す通り、まず、抽出部111が、バッチジョブ実行部12から実行履歴(図4)を受信する(ステップS101)。次に、抽出部111が、バッチジョブが実行された順に、1つのバッチジョブに対する実行結果を抽出する。なお、図4に示した実行履歴には、上述したとおり、バッチジョブが実行された順に、バッチジョブの実行結果が含まれる。そのため、抽出部111は、実行履歴の先頭から1つのバッチジョブに対する実行結果を抽出する(ステップS102)。そして、抽出部111は、抽出した実行結果から、データ量を抽出する(ステップS103)。   As shown in FIG. 8, first, the extraction unit 111 receives an execution history (FIG. 4) from the batch job execution unit 12 (step S101). Next, the extraction unit 111 extracts the execution results for one batch job in the order in which the batch job was executed. As described above, the execution history shown in FIG. 4 includes the execution results of batch jobs in the order in which the batch jobs were executed. Therefore, the extraction unit 111 extracts the execution result for one batch job from the top of the execution history (step S102). Then, the extraction unit 111 extracts the data amount from the extracted execution result (step S103).

そして、算出部112は、データ量関連情報に登録されているデータ量であって、実行結果を抽出したバッチジョブのジョブ名に関連付けられたデータ量の保存数が最大保存数以上か否かを確認する(ステップS104)。   Then, the calculation unit 112 determines whether the number of data volumes stored in the data volume related information is a data volume registered in the data volume related information and associated with the job name of the batch job for which the execution result is extracted is equal to or greater It confirms (step S104).

データ量の保存数が最大保存数以上の場合(ステップS104にてYES)、算出部112は、データ量関連情報における、該ジョブ名に関連付けられたデータ量のうち、最も古いものを削除する(ステップS105)。ステップS104にてNOの場合、または、ステップS105終了後、算出部112は、ステップS103にて抽出部111が抽出したデータ量を、該ジョブ名に関連付けて、データ量関連情報に含める(ステップS106)。   If the number of data volumes stored is equal to or larger than the maximum number of storages (YES in step S104), calculation unit 112 deletes the oldest data volume associated with the job name in the data volume related information ( Step S105). If NO in step S104, or after step S105, the calculation unit 112 includes the data amount extracted by the extraction unit 111 in step S103 in the data amount related information in association with the job name (step S106). ).

なお、算出部112は、ステップS103にて抽出部111が抽出したデータ量を、該ジョブ名に関連付けて、データ量関連情報に含めたあとに、データ量の保存数が最大保存数を超えるか否かを確認してもよい。このとき、算出部112は、データ量の保存数が最大保存数を超えると、該データ量の保存数が最大保存数になるまで、データ量を古いものから順に削除する。   The calculation unit 112 associates the data amount extracted by the extraction unit 111 in step S103 with the job name, and after including it in the data amount related information, whether the number of stored data amounts exceeds the maximum number of stored data? You may check whether or not. At this time, when the number of data volumes stored exceeds the maximum number of storages, the calculation unit 112 deletes the data volumes in order from the oldest until the number of data volumes stored reaches the maximum number of storages.

その後、算出部112は、データ量関連情報を参照し、実行結果を抽出したバッチジョブのジョブ名に関連付けられた複数のデータ量から比例係数を算出する(ステップS107)。そして、算出部112は、データ量関連情報における上記ジョブ名に関連付けられた比例係数を、算出した比例係数に更新する(ステップS108)。   After that, the calculation unit 112 refers to the data amount related information, and calculates a proportional coefficient from a plurality of data amounts associated with the job name of the batch job whose execution result is extracted (step S107). Then, the calculation unit 112 updates the proportional coefficient associated with the job name in the data amount related information to the calculated proportional coefficient (step S108).

そして、算出部112は、データ量関連情報を参照し、実行結果を抽出したバッチジョブのジョブ名に関連付けられた複数のデータ量から最終データ量の平均値を算出する(ステップS109)。そして、算出部112は、データ量関連情報における上記ジョブ名に関連付けられた平均値を、算出した平均値に更新する(ステップS110)。なお、ステップS109は、ステップS107と同時に行われてもよいし、ステップS107より前に行われてもよい。   Then, the calculation unit 112 refers to the data amount related information, and calculates an average value of the final data amount from a plurality of data amounts associated with the job name of the batch job whose execution result has been extracted (step S109). Then, the calculation unit 112 updates the average value associated with the job name in the data amount related information to the calculated average value (step S110). Note that step S109 may be performed simultaneously with step S107 or may be performed before step S107.

その後、算出部112は、実行履歴に含まれる実行結果のうち、全ての実行結果に対して、ステップS102〜ステップS110までの処理を行ったか否かを確認する(ステップS111)。全ての実行結果に対して上記処理を行っていない場合(ステップS111にてNO)、ステップS102に戻り、次の実行結果に対して、ステップS102〜ステップS110までの処理を行う。全ての実行結果に対して上記処理を行った場合(ステップS111にてYES)、実行履歴解析部110は、実行履歴解析処理を終了する。   After that, the calculation unit 112 checks whether or not the processing from step S102 to step S110 has been performed on all the execution results among the execution results included in the execution history (step S111). If the above process has not been performed on all the execution results (NO in step S111), the process returns to step S102, and the process from step S102 to step S110 is performed on the next execution result. When the above process is performed on all the execution results (YES in step S111), the execution history analysis unit 110 ends the execution history analysis process.

以上のように、実行履歴解析部110は、実行履歴を解析することにより、比例係数と、平均値とを求める。   As described above, the execution history analysis unit 110 obtains the proportional coefficient and the average value by analyzing the execution history.

(恒久領域管理部120)
次に、恒久領域管理部120の機能構成について説明する。図9は、本実施の形態に係るバッチジョブ処理装置1における恒久領域管理部120の機能構成の一例を示す機能ブロック図である。図9に示す通り、恒久領域管理部120は、恒久領域算出部121と、要求送信部122とを備えている。
(Permanent area management unit 120)
Next, the functional configuration of the permanent area management unit 120 will be described. FIG. 9 is a functional block diagram showing an example of a functional configuration of the permanent area management unit 120 in the batch job processing apparatus 1 according to the present embodiment. As shown in FIG. 9, the permanent area management unit 120 includes a permanent area calculation unit 121 and a request transmission unit 122.

まず、恒久領域(第1の領域)とは、バッチジョブによって使用される記憶部21のディスク領域のうち、一連のバッチジョブの開始から終了まで、使用可能な固定的なディスク領域である。この恒久領域は、一連のバッチジョブの全てが終了する際に使用される領域の大きさを有する領域である。   First, the permanent area (first area) is a fixed disk area that can be used from the start to the end of a series of batch jobs among the disk areas of the storage unit 21 used by the batch job. This permanent area is an area having the size of the area used when all of the series of batch jobs are finished.

恒久領域算出部121は、バッチジョブ実行部12から業務期間における一連のバッチジョブの実行予定情報(図2)を受信する。そして、恒久領域算出部121は、受信した実行予定情報と、記憶部140に格納されたデータ量関連情報に含まれる平均値とを用いて、恒久領域の大きさ(恒久領域サイズ)を算出する。この平均値は、上述したとおり、ジョブ名毎に算出された、該ジョブ名に関連付けられた最終データ量の平均値である。   The permanent area calculation unit 121 receives, from the batch job execution unit 12, execution schedule information (FIG. 2) of a series of batch jobs in the business period. Then, the permanent area calculation unit 121 calculates the size (permanent area size) of the permanent area using the received execution schedule information and the average value included in the data amount related information stored in the storage unit 140. . This average value is, as described above, the average value of the final data amount calculated for each job name and associated with the job name.

恒久領域算出部121は、算出した恒久領域サイズを、要求送信部122に供給する。   The permanent area calculation unit 121 supplies the calculated permanent area size to the request transmission unit 122.

要求送信部122は、恒久領域算出部121から恒久領域サイズを受信する。要求送信部122は、受け取った恒久領域サイズ分の新規領域を、記憶部21に確保する要求を、クラウド管理システム2に送信する。   The request transmission unit 122 receives the permanent area size from the permanent area calculation unit 121. The request transmission unit 122 transmits, to the cloud management system 2, a request for securing the new area of the received permanent area size in the storage unit 21.

そして、要求送信部122は、クラウド管理システム2から新規領域を確保したことを示す通知を受け取ると、現時点の恒久領域のデータを新規領域に移動させるようクラウド管理システム2に要求する(移動要求を送信する)。このとき、要求送信部122は、クラウド管理システム2から、新規領域の場所を示す情報(アドレス)を受け取ることが好ましい。   Then, when receiving the notification indicating that the new area has been secured from the cloud management system 2, the request transmission unit 122 requests the cloud management system 2 to move the data of the permanent area at the current time to the new area (the movement request Send). At this time, the request transmission unit 122 preferably receives, from the cloud management system 2, information (address) indicating the location of the new area.

また、要求送信部122は、現時点の恒久領域のデータが新規領域に全て移動されたことを示す通知をクラウド管理システム2から受け取ると、現時点の恒久領域を記憶部21から削除するようクラウド管理システム2に要求する(削除要求を送信する)。   In addition, when the request transmission unit 122 receives from the cloud management system 2 a notification indicating that all data in the permanent area at the current time point has been moved to the new area, the cloud management system deletes the current permanent area from the storage unit 21. Request 2 (send a delete request).

そして、要求送信部122は、新規領域を新たな恒久領域として設定する。具体的には、要求送信部122は、新規領域を示す情報(新規領域のアドレス)を、新たな恒久領域を示す情報(恒久領域情報)として、バッチジョブ実行部12に送信する。   Then, the request transmission unit 122 sets the new area as a new permanent area. Specifically, the request transmission unit 122 transmits information (address of the new area) indicating the new area to the batch job execution unit 12 as information (permanent area information) indicating the new permanent area.

次に、恒久領域管理部120が行う恒久領域管理処理の流れについて、説明を行う。図10は、本実施の形態に係る動的ストレージ管理部11の恒久領域管理部120が行う恒久領域管理処理の流れの一例を示すフローチャートである。   Next, the flow of permanent area management processing performed by the permanent area management unit 120 will be described. FIG. 10 is a flowchart showing an example of the flow of permanent area management processing performed by the permanent area management unit 120 of the dynamic storage management unit 11 according to the present embodiment.

まず、恒久領域管理部120の恒久領域算出部121は、業務開始時刻か否かを確認する(ステップS201)。業務開始時刻ではない場合(ステップS201にてNO)、恒久領域算出部121は、業務開始時刻になるまで待機する。業務開始時刻になる(ステップS201にてYES)と、恒久領域算出部121は、バッチジョブ実行部12からこの業務期間における一連のバッチジョブの実行予定情報(図2)を受信する(ステップS202)。なお、図5を用いて説明した恒久領域管理処理(B)は、このステップS202以降の処理を示している。   First, the permanent area calculation unit 121 of the permanent area management unit 120 checks whether it is the task start time (step S201). If it is not the work start time (NO in step S201), the permanent area calculation unit 121 stands by until the work start time. When the job start time comes (YES in step S201), permanent area calculation unit 121 receives execution schedule information (FIG. 2) of a series of batch jobs in this work period from batch job execution unit 12 (step S202). . The permanent area management process (B) described with reference to FIG. 5 indicates the process after step S202.

なお、図5に示す恒久領域管理処理(B)は、業務開始時刻以降であって、ジョブ開始時刻より前に実行されるものであり、図10におけるステップS202以降の処理を示している。   The permanent area management process (B) shown in FIG. 5 is performed after the job start time and before the job start time, and shows the process after step S202 in FIG.

また、恒久領域管理部120は、恒久領域管理処理を業務開始時刻より前に開始してもよい。図5の説明の際に述べたとおり、恒久領域管理処理(B)は、実行履歴解析処理(A)が終了した後であり、且つ、ジョブ開始時刻より前の期間に実行されるものであればよい。   Also, the permanent area management unit 120 may start the permanent area management process before the business start time. As described in the description of FIG. 5, the permanent area management process (B) may be executed after the execution history analysis process (A) is completed and in a period before the job start time. Just do it.

次に、恒久領域算出部121は、恒久領域の算出処理で使用する変数PermanentNewの値を、現時点の恒久領域の大きさ(恒久領域サイズ)で初期化する(ステップS203)。なお、ステップS203は、ステップS202の前に行われてもよいし、ステップS202と同時に行われてもよい。   Next, the permanent area calculation unit 121 initializes the value of the variable PermanentNew used in the calculation process of the permanent area with the size (permanent area size) of the permanent area at the present time (step S203). Step S203 may be performed before step S202, or may be performed simultaneously with step S202.

恒久領域算出部121は、受信した実行予定情報から、最初に実行される実行予定ジョブ名を取得する(ステップS204)。なお、このステップS204がステップS207の後の場合、恒久領域算出部121は、次に実行される実行予定ジョブ名を取得する。そして、恒久領域算出部121は、記憶部140に格納されたデータ量関連情報を参照し、ステップS204にて取得した実行予定ジョブ名と同じジョブ名に関連付けられた平均値(EndUsage)を取得する(ステップS205)。   The permanent area calculation unit 121 acquires an execution scheduled job name to be executed first from the received execution scheduling information (step S204). When the step S204 is after the step S207, the permanent area calculation unit 121 acquires the name of the scheduled job to be executed next. Then, the permanent area calculation unit 121 refers to the data amount related information stored in the storage unit 140, and acquires an average value (EndUsage) associated with the same job name as the scheduled job name acquired in step S204. (Step S205).

そして、恒久領域算出部121は、取得した平均値と、変数PermanentNewの値とを足した値を、変数PermanentNewの新たな値とする(ステップS206)。   Then, the permanent area calculation unit 121 sets a value obtained by adding the acquired average value and the value of the variable PermanentNew as a new value of the variable PermanentNew (step S206).

そして、恒久領域算出部121は、実行予定情報に含まれる全ての実行予定ジョブ名を取得したか否かを確認し(ステップS207)、取得していない場合(ステップS207にてNO)、ステップS204に処理を戻す。   Then, the permanent area calculation unit 121 confirms whether or not all the scheduled job names included in the execution schedule information have been acquired (step S207), and when not acquired (NO in step S207), step S204. Return the process to

全ての実行予定ジョブ名を取得している場合(ステップS207にてYES)、恒久領域算出部121は、変数PermanentNewの値に安全量(Safe)を足した値を、変数PermanentNewの新たな値とする(ステップS208)。この安全量は、見積もり誤差に対応するためのものであり、確保するディスク領域の大きさに余裕をもたせるためのものである。なお、この安全量は、予め定められた値であってもよいし、バッチジョブの種類によって変更されるものであってもよい。安全量は、大きすぎると、余分な領域を確保することになってしまい、小さすぎると、見積もり誤差に対応できなくなるため、適切な大きさに設定されることが好ましい。   If all the scheduled job names have been acquired (YES in step S207), permanent region calculation unit 121 adds a value obtained by adding a safe amount (Safe) to the value of variable PermanentNew, with the new value of variable PermanentNew. (Step S208). This safety amount is for responding to the estimation error, and is for giving a margin to the size of the disk area to be secured. The safety amount may be a predetermined value or may be changed according to the type of batch job. If the safety amount is too large, an extra area will be secured, and if it is too small, the estimation error can not be coped with, so it is preferable that the safety amount be set to an appropriate size.

このステップS208によって得られた変数PermanentNewの値が、新たな恒久領域サイズとなる。   The value of the variable PermanentNew obtained in step S208 becomes the new permanent area size.

そして、要求送信部122は、新たな恒久領域サイズ分(変数PermanentNewの値分)の領域を記憶部21に新規に確保する要求(新規領域要求)を、クラウド管理システム2に送信する(ステップS209)。その後、要求送信部122は、現時点の恒久領域のデータを新規領域に移動(コピー)する要求(移動要求)をクラウド管理システム2に送信する(ステップS210)。更に、要求送信部122は、現時点の恒久領域を記憶部21から削除する要求(削除要求)をクラウド管理システム2に送信する(ステップS211)。   Then, the request transmission unit 122 transmits, to the cloud management system 2, a request (new area request) to newly secure an area for the new permanent area size (for the value of the variable PermanentNew) in the storage unit 21 (step S209) ). Thereafter, the request transmission unit 122 transmits, to the cloud management system 2, a request (movement request) for moving (copying) data of the permanent area at the current time to a new area (step S210). Furthermore, the request transmission unit 122 transmits, to the cloud management system 2, a request (deletion request) for deleting the current permanent area from the storage unit 21 (step S211).

その後、要求送信部122は、新規領域を新たな恒久領域とする(ステップS212)。その後、恒久領域管理部120は、処理をステップS201に戻し、次の業務開始時刻まで待機する。   Thereafter, the request transmission unit 122 sets the new area as a new permanent area (step S212). Thereafter, the permanent area management unit 120 returns the process to step S201 and stands by until the next task start time.

以上により、恒久領域管理部120は、一連のバッチジョブの実行前に、記憶部21に恒久領域を確保することができる。   As described above, the permanent area management unit 120 can secure a permanent area in the storage unit 21 before executing a series of batch jobs.

(一時領域管理部130)
次に、一時領域管理部130の機能構成について説明する。図11は、本実施の形態に係るバッチジョブ処理装置1における一時領域管理部130の機能構成の一例を示す機能ブロック図である。図11に示す通り、一時領域管理部130は、一時領域算出部131と、要求送信部132とを備えている。
(Temporary area management unit 130)
Next, the functional configuration of the temporary area management unit 130 will be described. FIG. 11 is a functional block diagram showing an example of a functional configuration of the temporary area management unit 130 in the batch job processing apparatus 1 according to the present embodiment. As shown in FIG. 11, the temporary area management unit 130 includes a temporary area calculation unit 131 and a request transmission unit 132.

まず、一時領域(第2の領域)とは、バッチジョブによって使用される記憶部21のディスク領域のうち、バッチジョブ毎に一時的に使用されるディスク領域である。つまり、一時領域とは、各バッチジョブを実行する際に使用可能な大きさの領域のうち、恒久領域以外の領域である。   First, the temporary area (second area) is a disk area temporarily used for each batch job among the disk areas of the storage unit 21 used by the batch job. That is, the temporary area is an area other than the permanent area among the areas of the size that can be used when executing each batch job.

一時領域算出部131は、バッチジョブ実行部12からバッチジョブ開始通知およびバッチジョブ終了通知を受信する。一時領域算出部131は、受信した通知がバッチジョブ開始通知の場合、記憶部140に格納されたデータ量関連情報に含まれる比例係数と、受信したバッチジョブ開始通知とを用いて、一時領域の大きさ(一時領域サイズ)を算出する。この比例係数は、上述したとおり、ジョブ名に関連付けられた入力データ量のおよび最大データ量に基づいて、ジョブ名毎に算出されたものである。   The temporary area calculation unit 131 receives a batch job start notification and a batch job end notification from the batch job execution unit 12. When the received notification is a batch job start notification, the temporary region calculation unit 131 uses the proportional coefficient included in the data amount related information stored in the storage unit 140 and the received batch job start notification. Calculate the size (temporary area size). As described above, this proportionality factor is calculated for each job name based on the maximum amount of data and the amount of input data associated with the job name.

一時領域算出部131は、算出した一時領域サイズを、要求送信部132に供給する。   The temporary area calculation unit 131 supplies the calculated temporary area size to the request transmission unit 132.

また、一時領域算出部131は、受信した通知がバッチジョブ終了通知の場合、その旨を示す通知(ジョブ終了通知)を、要求送信部132に出力する。   In addition, when the received notification is a batch job end notification, the temporary area calculation unit 131 outputs a notification (job end notification) indicating that to the request transmission unit 132.

要求送信部132は、一時領域算出部131から一時領域サイズを受信する。要求送信部132は、受け取った一時領域サイズ分の新規領域を、記憶部21に確保する要求を、クラウド管理システム2に送信する。その後、クラウド管理システム2から新規領域を確保したことを示す通知を受け取ると、要求送信部132は、新規領域を、実行するバッチジョブで使用する領域(一時領域)として設定する。なお、このとき、要求送信部132は、クラウド管理システム2から、新規領域の場所を示す情報(アドレス)を受け取ることが好ましい。そして、要求送信部132は、一時領域を示す情報(例えば、新規領域のアドレス)を、一時領域情報として、バッチジョブ実行部12に送信することにより、新規領域を一時領域として設定する。この一時領域は、バッチジョブで使用される領域であるため、実行領域とも呼ぶ。   The request transmission unit 132 receives the temporary area size from the temporary area calculation unit 131. The request transmission unit 132 transmits, to the cloud management system 2, a request for securing the new area of the received temporary area size in the storage unit 21. Thereafter, when receiving a notification from the cloud management system 2 indicating that a new area has been secured, the request sending unit 132 sets the new area as an area (temporary area) to be used by the batch job to be executed. At this time, it is preferable that the request transmission unit 132 receives, from the cloud management system 2, information (address) indicating the location of the new area. Then, the request transmission unit 132 transmits the information indicating the temporary area (for example, the address of the new area) to the batch job execution unit 12 as the temporary area information, thereby setting the new area as the temporary area. Since this temporary area is an area used by a batch job, it is also called an execution area.

また、要求送信部132は、一時領域算出部131からジョブ終了通知を受け取ると、一時領域のデータ(最終データ)を恒久領域に移動させるようクラウド管理システム2に要求する(移動要求を送信する)。   In addition, when the request transmission unit 132 receives the job end notification from the temporary area calculation unit 131, the request transmission unit 132 requests the cloud management system 2 to move data (final data) of the temporary area to the permanent area (sends movement request). .

また、要求送信部132は、最終データが恒久領域に全て移動されたことを示す通知をクラウド管理システム2から受け取ると、一時領域を記憶部21から削除するようクラウド管理システム2に要求する(削除要求を送信する)。   In addition, when receiving a notification from the cloud management system 2 indicating that all the final data has been moved to the permanent area, the request transmission unit 132 requests the cloud management system 2 to delete the temporary area from the storage unit 21 (delete Send request).

次に、一時領域管理部130が行う一時領域管理処理の流れについて、説明を行う。図12は、本実施の形態に係る動的ストレージ管理部11の一時領域管理部130が行う一時領域管理処理の流れの一例を示すフローチャートである。   Next, the flow of temporary area management processing performed by the temporary area management unit 130 will be described. FIG. 12 is a flowchart showing an example of the flow of temporary area management processing performed by the temporary area management unit 130 of the dynamic storage management unit 11 according to the present embodiment.

まず、一時領域管理部130の一時領域算出部131は、バッチジョブ実行部12からバッチジョブ開始通知またはバッチジョブ終了通知を受信したか否かを確認する(ステップS301)。バッチジョブ開始通知またはバッチジョブ終了通知を受信していない場合(ステップS301にてNO)、一時領域算出部131は、受信するまで待機する。   First, the temporary area calculation unit 131 of the temporary area management unit 130 checks whether a batch job start notification or a batch job end notification has been received from the batch job execution unit 12 (step S301). When the batch job start notification or the batch job end notification has not been received (NO in step S301), temporary area calculation unit 131 stands by until reception.

バッチジョブ開始通知またはバッチジョブ終了通知を受信すると(ステップS301にてYES)、一時領域算出部131は、受信した通知がバッチジョブ開始通知か否かを確認する(ステップS302)。   When the batch job start notification or the batch job end notification is received (YES in step S301), the temporary region calculation unit 131 confirms whether the received notification is a batch job start notification (step S302).

受信した通知がバッチジョブ開始通知の場合(ステップS302にてYES)、一時領域算出部131は、記憶部140に格納されたデータ量関連情報を参照し、バッチジョブ開始通知(図8)に含まれるジョブ名と同じジョブ名に関連付けられた比例係数を取得する(ステップS303)。   If the received notification is a batch job start notification (YES in step S302), temporary area calculation unit 131 refers to the data amount related information stored in storage unit 140, and is included in batch job start notification (FIG. 8). The proportional coefficient associated with the same job name as the selected job name is acquired (step S303).

そして、一時領域算出部131は、バッチジョブ開始通知に含まれる入力データ量と、取得した比例係数を掛け合わせ、更に、安全量(Safe)を加えた値を一時領域の大きさ(一時領域サイズ)として算出する(ステップS304)。   Then, the temporary area calculation unit 131 multiplies the input data amount included in the batch job start notification by the acquired proportionality factor, and further adds the safe amount (Safe) to the size of the temporary area (temporary area size ) (Step S304).

なお、この安全量は、恒久領域サイズを算出する際に用いた安全量と同じ値であってもよいし、異なる値であってもよい。また、この安全量は、全てのバッチジョブに対し、同じ値であってもよいし、バッチジョブ毎に異なる値であってもよい。   Note that this safety amount may be the same value as the safety amount used when calculating the permanent region size, or may be a different value. Also, this safety amount may be the same value for all batch jobs, or may be a value different for each batch job.

そして、要求送信部132は、一時領域算出部131が算出した一時領域サイズ分の領域を記憶部21に新規に確保する要求(新規領域要求)を、クラウド管理システム2に送信する(ステップS305)。その後、要求送信部132は、新規領域を一時領域とする(ステップS306)。   Then, the request transmission unit 132 transmits, to the cloud management system 2, a request (new area request) to newly secure an area for the temporary area size calculated by the temporary area calculation unit 131 in the storage unit 21 (step S305). . Thereafter, the request transmission unit 132 sets the new area as a temporary area (step S306).

そして、一時領域管理部130は、処理をステップS301に戻し、次の通知を受信するまで待機する。   Then, the temporary area management unit 130 returns the process to step S301 and stands by until the next notification is received.

一時領域算出部131が受信した通知が、バッチジョブ終了通知の場合(ステップS302にてNO)、要求送信部132は、一時領域のデータ(最終データ)を恒久領域に移動(コピー)する要求(移動要求)をクラウド管理システム2に送信する(ステップS307)。更に、要求送信部132は、一時領域を記憶部21から削除する要求(削除要求)をクラウド管理システム2に送信する(ステップS308)。   If the notification received by temporary area calculation unit 131 is a batch job end notification (NO in step S302), request transmission unit 132 requests to move (copy) the temporary area data (final data) to the permanent area ( The movement request is transmitted to the cloud management system 2 (step S307). Furthermore, the request transmission unit 132 transmits a request (deletion request) to delete the temporary area from the storage unit 21 to the cloud management system 2 (step S308).

そして、一時領域管理部130は、処理をステップS301に戻し、次の通知を受信するまで待機する。   Then, the temporary area management unit 130 returns the process to step S301 and stands by until the next notification is received.

以上により、一時領域管理部130は、個々のバッチジョブを実行する前に、記憶部21に一時領域を確保することができる。また、一時領域管理部130は、個々のバッチジョブの終了後に、確保した一時領域を記憶部21から削除することができる。   As described above, the temporary area management unit 130 can secure a temporary area in the storage unit 21 before executing each batch job. In addition, the temporary area management unit 130 can delete the secured temporary area from the storage unit 21 after the end of each batch job.

(効果)
本実施の形態に係るバッチジョブ処理装置1によれば、バッチジョブの実行時に、クラウド上で管理された記憶領域の使用量および使用時間をより最適化することができる。
(effect)
According to the batch job processing apparatus 1 according to the present embodiment, it is possible to further optimize the usage amount and usage time of the storage area managed on the cloud when executing a batch job.

なぜならば、恒久領域管理部120が、1以上のバッチジョブの全てが終了した際に使用される領域であって、記憶領域内の恒久領域の大きさを、実行履歴解析部110によって解析した結果に基づいて算出するからである。また、一時領域管理部130が、1以上のバッチジョブの夫々を実行する際に使用される領域であって、記憶領域内の一時領域の大きさを、実行履歴解析部110によって解析した結果に基づいて、バッチジョブ毎に算出するからである。そして、バッチジョブ実行部12が、恒久領域と一時領域とを使用して、バッチジョブを実行するからである。   This is because the permanent area management unit 120 analyzes the size of the permanent area in the storage area by the execution history analysis unit 110, which is an area used when all one or more batch jobs are finished. It is because it calculates based on. In addition, the temporary area management unit 130 is an area used when each of one or more batch jobs is executed, and the size of the temporary area in the storage area is analyzed by the execution history analysis unit 110. This is because calculation is performed for each batch job based on the above. Then, the batch job execution unit 12 executes the batch job using the permanent area and the temporary area.

これにより、バッチジョブ処理装置1は、実行するバッチジョブごとに、適した量の記憶領域を確保することができる。また、バッチジョブ処理装置1が、バッチジョブ毎に使用する記憶領域を動的に変化させるため、該記憶領域の使用時間もより最適化することができる。   Thereby, the batch job processing apparatus 1 can secure a suitable amount of storage area for each batch job to be executed. Further, since the batch job processing apparatus 1 dynamically changes the storage area used for each batch job, the use time of the storage area can be further optimized.

また、バッチジョブ処理装置1は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる最終データ量の平均値を算出し、該平均値に基づいて、恒久領域の大きさを算出する。これにより、バッチジョブ処理装置1は、より最適化した恒久領域の大きさを算出することができる。   Further, the batch job processing apparatus 1 calculates the average value of the final data amount included in the respective execution results of batch jobs having the same identifier, and calculates the size of the permanent area based on the average value. Thus, the batch job processing apparatus 1 can calculate the size of the more optimized permanent area.

また、バッチジョブ処理装置1は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる入力データ量および最大データ量に基づいて、比例係数を算出し、該比例係数に基づいて、一時領域の大きさを算出する。これにより、バッチジョブ処理装置1は、より最適化した一時領域の大きさを算出することができる。   Also, the batch job processing device 1 calculates a proportionality factor based on the input data amount and the maximum data amount included in the respective execution results of batch jobs having the same identifier, and based on the proportionality factor, Calculate the size. Thus, the batch job processing apparatus 1 can calculate the size of the more optimized temporary area.

本実施の形態に係るバッチジョブ処理装置1における効果について、図13を参照してより詳細に説明する。図13は、本実施の形態に係るバッチジョブ処理装置1を用いることによる、記憶部21内のディスク領域の使用量の変化を説明するための図である。   The effects of the batch job processing apparatus 1 according to the present embodiment will be described in more detail with reference to FIG. FIG. 13 is a diagram for explaining a change in usage of the disk area in the storage unit 21 by using the batch job processing device 1 according to the present embodiment.

まず、図13において、縦軸はディスク領域の使用量を示し、横軸は時間軸である。また、図13において、E〜Hの符号を付した双方向の矢印は、データ量(バイト)またはディスク領域の大きさ(バイト)を示している。   First, in FIG. 13, the vertical axis indicates the used amount of the disk area, and the horizontal axis is the time axis. Further, in FIG. 13, bidirectional arrows labeled E to H indicate the amount of data (bytes) or the size of the disk area (bytes).

まず、符号Hで示した双方向の矢印は、複数のバッチジョブのうち、最もディスク領域を使用するバッチジョブの最大データ量を示している。この最大データ量に基づいて、ディスク領域を確保した場合、記憶部21内のディスク領域は、業務期間の間、最大データ量分(符号a〜dで囲った部分)使用(確保)されることになる。   First, the bidirectional arrow indicated by the symbol H indicates the maximum data amount of the batch job that uses the most disk area among the plurality of batch jobs. When the disk area is secured based on the maximum data amount, the disk area in the storage unit 21 is used (secured) for the maximum data amount (portion surrounded by the symbols a to d) during the operation period. become.

したがって、例えば、複数のバッチジョブのうち、1つのバッチジョブが一時的に大きなディスク領域を使用し、その他のバッチジョブではあまりディスク領域を使用しない場合、使用しない領域が増えてしまう。   Therefore, for example, when one batch job temporarily uses a large disk area among a plurality of batch jobs and the other batch job does not use much disk area, the unused area increases.

しかしながら、本実施の形態に係るバッチジョブ処理装置1は、一連のバッチジョブを実行する前に、符号Eで示す恒久領域の大きさ分を確保する。そして、バッチジョブ処理装置1は、個々のバッチジョブ(図13においては、ジョブXとジョブY)の夫々を実行する前に算出した一時領域の大きさ(符号FおよびG)分確保する。   However, before executing a series of batch jobs, the batch job processing apparatus 1 according to the present embodiment secures the size of the permanent area indicated by the symbol E. Then, the batch job processing apparatus 1 secures the size (symbols F and G) of the temporary area calculated before executing each of the individual batch jobs (job X and job Y in FIG. 13).

これにより、バッチジョブ処理装置1は、図13の白抜きの部分のディスク領域を記憶部21内に確保するように、クラウド管理システム2に要求することができる。   Thereby, the batch job processing apparatus 1 can request the cloud management system 2 to secure the disk area of the white portion in FIG. 13 in the storage unit 21.

このように、本実施の形態に係るバッチジョブ処理装置1は、バッチジョブの実行時に、クラウド上で管理された記憶領域の使用量および使用時間をより最適化することができる。これにより、本実施の形態に係るバッチジョブ処理装置1は、図13の網掛けの部分の領域の使用を削減することができる。   Thus, the batch job processing apparatus 1 according to the present embodiment can further optimize the usage amount and usage time of the storage area managed on the cloud when executing a batch job. Thereby, the batch job processing apparatus 1 according to the present embodiment can reduce the use of the shaded area in FIG.

したがって、クラウド上の記憶領域に対する課金が、確保したディスク領域と使用時間の面積に比例してなされるものとする場合、本実施の形態に係るバッチジョブ処理装置1は、この網掛けの部分にかかる料金を節約することができる。   Therefore, when charging for the storage area on the cloud is to be made in proportion to the area of the secured disk area and the use time, the batch job processing apparatus 1 according to the present embodiment uses the shaded portion. Such charges can be saved.

<第2の実施の形態>
次に、本発明の第2の実施の形態について、図14を参照して説明を行う。本実施の形態では、上述した実行履歴解析部110が、バッチジョブ実行部12内に内蔵される構成について説明を行う。なお、説明の便宜上、前述した第1の実施の形態で説明した図面に含まれる部材と同じ機能を有する部材については、同じ符号を付し、その詳細な説明を省略する。
Second Embodiment
Next, a second embodiment of the present invention will be described with reference to FIG. In the present embodiment, a configuration will be described in which the execution history analysis unit 110 described above is built in the batch job execution unit 12. Note that, for convenience of explanation, members having the same functions as the members included in the drawings described in the first embodiment described above are given the same reference numerals, and detailed descriptions thereof will be omitted.

図14は、本実施の形態に係るバッチジョブ処理装置1を含むシステムの構成を説明するための図である。図14に示す通り、本実施の形態に係るバッチジョブ処理装置1は、クラウド管理システム2とデータのやり取りが可能となるように接続している。   FIG. 14 is a diagram for explaining the configuration of a system including the batch job processing device 1 according to the present embodiment. As shown in FIG. 14, the batch job processing device 1 according to the present embodiment is connected to the cloud management system 2 so as to be able to exchange data.

図14に示す通り、バッチジョブ処理装置1は、動的ストレージ管理部(ストレージ管理装置)11と、バッチジョブ実行部12とを備えている。   As shown in FIG. 14, the batch job processing device 1 includes a dynamic storage management unit (storage management device) 11 and a batch job execution unit 12.

動的ストレージ管理部11は、上述した第1の実施の形態に係る動的ストレージ管理部11から実行履歴解析部110を除いた構成である。動的ストレージ管理部11は、恒久領域管理部(第1の算出部)120と、一時領域管理部(第2の算出部)130と、記憶部140と、を備えている。   The dynamic storage management unit 11 has a configuration obtained by removing the execution history analysis unit 110 from the dynamic storage management unit 11 according to the above-described first embodiment. The dynamic storage management unit 11 includes a permanent area management unit (first calculation unit) 120, a temporary area management unit (second calculation unit) 130, and a storage unit 140.

恒久領域管理部120は、上述した第1の実施の形態に係る恒久領域管理部120と同様に、解析結果に基づいて、複数のバッチジョブの全てが終了した際に使用される領域であって、記憶部21の記憶領域内の恒久領域の大きさを算出する。   The permanent area management unit 120 is an area used when all of the plurality of batch jobs are finished based on the analysis result, as in the permanent area management unit 120 according to the first embodiment described above. The size of the permanent area in the storage area of the storage unit 21 is calculated.

また、一時領域管理部130は、上述した第1の実施の形態に係る一時領域管理部130と同様に、複数のバッチジョブの夫々を実行する際に使用される領域であって、記憶部21の記憶領域内の一時領域の大きさを、解析結果に基づいて、バッチジョブ毎に算出する。   Further, the temporary area management unit 130 is an area used when executing each of a plurality of batch jobs, similarly to the temporary area management unit 130 according to the first embodiment described above, and is a storage unit 21. The size of the temporary area in the storage area is calculated for each batch job based on the analysis result.

また、図14に示す通り、バッチジョブ実行部12は、実行履歴解析部110と、実行部150とを備えている。   Further, as shown in FIG. 14, the batch job execution unit 12 includes an execution history analysis unit 110 and an execution unit 150.

実行部150は、第1の実施の形態に係るバッチジョブ実行部12と同様の機能を有する。実行部150は、クラウド上で管理された記憶部21の記憶領域を使用してバッチジョブを実行する手段である。実行部150は、実行結果を実行履歴解析部110に出力する。なお、実行部150が有する機能は、上述した第1の実施の形態に係るバッチジョブ実行部12と同様であるため、その説明を省略する。   The execution unit 150 has the same function as the batch job execution unit 12 according to the first embodiment. The execution unit 150 is means for executing a batch job using the storage area of the storage unit 21 managed on the cloud. The execution unit 150 outputs the execution result to the execution history analysis unit 110. The function of the execution unit 150 is the same as that of the batch job execution unit 12 according to the above-described first embodiment, and thus the description thereof will be omitted.

実行部150と、実行履歴解析部110とが同じ部材(バッチジョブ実行部12)内に構成されることにより、本実施の形態に係るバッチジョブ処理装置1は、第1の実施の形態に係るバッチジョブ処理装置1と比べ、実行履歴を送信する際のオーバーヘッドを減らすことができる。これにより、例えば、バッチジョブの実行量が多い場合において、本実施の形態に係るバッチジョブ処理装置1は、上述した効果に加え、より効果的に、上記オーバーヘッドを減らすことができる。   The batch job processing apparatus 1 according to the present embodiment relates to the first embodiment by configuring the execution unit 150 and the execution history analysis unit 110 in the same member (batch job execution unit 12). Compared to the batch job processing apparatus 1, overhead when transmitting the execution history can be reduced. Thereby, for example, when the execution amount of the batch job is large, the batch job processing apparatus 1 according to the present embodiment can reduce the overhead more effectively, in addition to the above-described effects.

<第3の実施の形態>
本発明の第3の実施の形態について説明する。本実施の形態では、本発明の課題を解決する最小の構成について説明を行う。図15は、本実施の形態に係るバッチジョブ処理装置100の機能構成の一例を示す機能ブロック図である。
Third Embodiment
A third embodiment of the present invention will be described. In the present embodiment, the minimum configuration for solving the problems of the present invention will be described. FIG. 15 is a functional block diagram showing an example of a functional configuration of the batch job processing apparatus 100 according to the present embodiment.

バッチジョブ処理装置100は、図15に示す通り、解析部101と、第1の算出部102と、第2の算出部103と、実行部104とを備えている。   The batch job processing apparatus 100 includes an analysis unit 101, a first calculation unit 102, a second calculation unit 103, and an execution unit 104, as shown in FIG.

解析部101は、上述した実行履歴解析部110に相当する。解析部101は、実行部104によって実行されたバッチジョブの実行結果を解析する。解析部101は、解析結果を第1の算出部102と、第2の算出部103とに出力する。   The analysis unit 101 corresponds to the execution history analysis unit 110 described above. The analysis unit 101 analyzes the execution result of the batch job executed by the execution unit 104. The analysis unit 101 outputs the analysis result to the first calculation unit 102 and the second calculation unit 103.

第1の算出部102は、上述した恒久領域管理部120に相当する。第1の算出部102は、解析部101から出力された解析結果に基づいて、1以上のバッチジョブの全てが終了する際に使用されると推測される、記憶領域内の第1の領域の大きさを算出する。   The first calculation unit 102 corresponds to the permanent area management unit 120 described above. The first calculating unit 102 is configured to estimate the first area in the storage area, which is estimated to be used when all of one or more batch jobs end based on the analysis result output from the analyzing unit 101. Calculate the size.

第2の算出部103は、上述した一時領域管理部130に相当する。第2の算出部103は、解析部101から出力された解析結果に基づいて、1以上のバッチジョブの夫々を実行する際に使用可能な大きさの記憶領域内の領域のうち、第1の領域以外の第2の領域の大きさを、バッチジョブ毎に算出する。   The second calculation unit 103 corresponds to the temporary area management unit 130 described above. The second calculation unit 103 is configured to execute the first of the areas in the storage area of a size that can be used when executing each of the one or more batch jobs based on the analysis result output from the analysis unit 101. The size of the second area other than the area is calculated for each batch job.

実行部104は、第1の実施の形態におけるバッチジョブ実行部12または第2の実施の形態における実行部150に相当する。実行部104は、クラウド上で管理された記憶領域のうち、第1の領域および第2の領域を使用して、バッチジョブを実行する。   The execution unit 104 corresponds to the batch job execution unit 12 in the first embodiment or the execution unit 150 in the second embodiment. The execution unit 104 executes the batch job using the first area and the second area of the storage areas managed on the cloud.

以上により、本実施の形態に係るバッチジョブ処理装置100は、バッチジョブの実行時に、クラウド上で管理された記憶領域の使用量および使用時間をより最適化することができる。   As described above, the batch job processing apparatus 100 according to the present embodiment can further optimize the use amount and use time of the storage area managed on the cloud when executing the batch job.

<ハードウェアの構成例>
ここで、上述した各実施の形態に係るバッチジョブ処理装置(1、100)を実現可能なハードウェアの構成例について説明する。上述したバッチジョブ処理装置(1、100)は、専用の装置として実現してもよいが、コンピュータ(情報処理装置)を用いて実現してもよい。
<Example of hardware configuration>
Here, a configuration example of hardware that can realize the batch job processing device (1, 100) according to each embodiment described above will be described. The batch job processing apparatus (1, 100) described above may be realized as a dedicated apparatus, but may be realized using a computer (information processing apparatus).

図16は、本発明の各実施の形態を実現可能なコンピュータ(情報処理装置)のハードウェア構成を例示する図である。   FIG. 16 is a diagram illustrating a hardware configuration of a computer (information processing apparatus) capable of realizing each embodiment of the present invention.

図16に示した情報処理装置(コンピュータ)90のハードウェアは、CPU(Central Processing Unit)91、通信インタフェース(I/F)92、入出力ユーザインタフェース93、ROM(Read Only Memory)94、RAM(Random Access Memory)95、記憶装置97、及びコンピュータ読み取り可能な記憶媒体99のドライブ装置98を備え、これらがバス96を介して接続された構成を有する。入出力ユーザインタフェース93は、入力デバイスの一例であるキーボードや、出力デバイスとしてのディスプレイ等のマンマシンインタフェースである。通信インタフェース92は、上述した各実施の形態に係る装置(図1、図7、図9、図11、図14、図15)が、外部装置と、通信ネットワーク80を介して通信するための一般的な通信手段である。係るハードウェア構成において、CPU91は、各実施の形態に係るバッチジョブ処理装置(1、100)を実現する情報処理装置90について、全体の動作を司る。   The hardware of the information processing apparatus (computer) 90 illustrated in FIG. 16 includes a central processing unit (CPU) 91, a communication interface (I / F) 92, an input / output user interface 93, a read only memory (ROM) 94, and a RAM (read only memory). A random access memory (ROM) 95, a storage unit 97, and a drive unit 98 of a computer readable storage medium 99 are provided, which are connected via a bus 96. The input / output user interface 93 is a man-machine interface such as a keyboard, which is an example of an input device, or a display as an output device. The communication interface 92 is generally used by the devices according to the above-described embodiments (FIGS. 1, 7, 9, 11, 14, 15) to communicate with an external device via the communication network 80. Communication means. In the hardware configuration, the CPU 91 manages the entire operation of the information processing apparatus 90 that realizes the batch job processing apparatus (1, 100) according to each embodiment.

上述した各実施の形態を例に説明した本発明は、例えば、上記各実施の形態において説明した処理を実現可能なプログラム(コンピュータプログラム)を、図16に示す情報処理装置90に対して供給した後、そのプログラムを、CPU91に読み出して実行することによって達成される。なお、係るプログラムは、例えば、上記各実施の形態の説明において参照したフローチャート(図8、図10、図12)に記載した各種処理や、或いは、図1、図7、図9、図11、図14、図15に示したブロック図において当該装置内に示した各部(各ブロック)を実現可能なプログラムであってもよい。   The present invention described by taking each of the above-described embodiments as an example supplies, for example, a program (computer program) capable of realizing the processing described in the above-described embodiments to an information processing apparatus 90 shown in FIG. Then, the program is achieved by reading out the program to the CPU 91 and executing it. Note that such a program may be, for example, various processes described in the flowcharts (FIG. 8, FIG. 10, FIG. 12) referred to in the description of each of the above embodiments, or FIG. It may be a program that can realize each part (each block) shown in the device in the block diagram shown in FIG. 14 and FIG.

また、情報処理装置90内に供給されたプログラムは、読み書き可能な一時記憶メモリ(95)またはハードディスクドライブ等の不揮発性の記憶装置(97)に格納されてもよい。即ち、記憶装置97において、プログラム群97Aは、例えば、上述した各実施の形態におけるバッチジョブ処理装置(1、100)内に示した各部の機能を実現可能なプログラムである。また、各種の記憶情報97Bは、例えば、上述した各実施の形態におけるデータ量関連情報、実行予定情報、実行履歴、恒久領域サイズ等である。ただし、情報処理装置90へのプログラムの実装に際して、個々のプログラムモジュールの構成単位は、ブロック図(図1、図7、図9、図11、図14、図15)に示した各ブロックの区分けには限定されず、当業者が実装に際して適宜選択してよい。   The program supplied into the information processing apparatus 90 may be stored in a readable / writable temporary storage memory (95) or a non-volatile storage device (97) such as a hard disk drive. That is, in the storage device 97, the program group 97A is, for example, a program capable of realizing the function of each unit shown in the batch job processing device (1, 100) in each of the above-described embodiments. Further, the various types of storage information 97B are, for example, data amount related information, execution schedule information, execution history, permanent area size, and the like in each of the above-described embodiments. However, when the program is implemented on the information processing apparatus 90, the constituent units of each program module are divided into blocks shown in the block diagrams (FIG. 1, FIG. 7, FIG. 9, FIG. 11, FIG. 14, FIG. And may be selected as appropriate for implementation in the art.

また、前記の場合において、当該装置内へのプログラムの供給方法は、CD(Compact Disk)−ROM、フラッシュメモリ等のコンピュータ読み取り可能な各種の記録媒体(99)を介して当該装置内にインストールする方法や、インターネット等の通信回線(80)を介して外部よりダウンロードする方法等のように、現在では一般的な手順を採用することができる。そして、このような場合において、本発明は、係るコンピュータプログラムを構成するコード(プログラム群97A)或いは係るコードが格納された記憶媒体(99)によって構成されると捉えることができる。   In the above case, the method of supplying the program into the device is to install the program into the device via various computer readable recording media (99) such as a CD (Compact Disk) -ROM, a flash memory, etc. A general procedure can now be adopted, such as a method, and a method of downloading from the outside via a communication line (80) such as the Internet. And, in such a case, the present invention can be understood as being constituted by a code (program group 97A) constituting the computer program, or a storage medium (99) in which the code is stored.

以上、本発明を、上述した模範的な実施の形態に適用した例として説明した。しかしながら、本発明の技術的範囲は、上述した各実施の形態に記載した範囲には限定されない。当業者には、係る実施の形態に対して多様な変更または改良を加えることが可能であることは明らかである。そのような場合、係る変更または改良を加えた新たな実施の形態も、本発明の技術的範囲に含まれ得る。そしてこのことは、特許請求の範囲に記載した事項から明らかである。   The present invention has been described above as an example applied to the exemplary embodiment described above. However, the technical scope of the present invention is not limited to the scope described in each embodiment described above. It will be apparent to those skilled in the art that various changes or modifications can be made to such embodiments. In such a case, new embodiments added with such changes or improvements can also be included in the technical scope of the present invention. And this is clear from the matter described in the claim.

上記の実施の形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。   Although a part or all of the above-mentioned embodiment may be described as the following supplementary notes, it is not limited to the following.

(付記1)クラウド上で管理された記憶領域を使用してバッチジョブを実行する実行手段と、前記バッチジョブの実行結果を解析する解析手段と、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する第1の算出手段と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、を備え、前記実行手段は、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する、ことを特徴とするバッチジョブ処理装置。   (Supplementary Note 1) Execution means for executing a batch job using a storage area managed on the cloud, analysis means for analyzing the execution result of the batch job, and completion of one or more of the batch jobs Calculating the size of the first area in the storage area based on the analysis result by the analysis means, and the one or more batch jobs The size of the second area which is an area other than the first area among the areas in the storage area which can be used when each of the above is executed is batched based on the analysis result. A second calculating unit that calculates for each job, wherein the executing unit executes the batch job using the first area and the second area. Processing unit.

(付記2)前記第1の算出手段は、前記1以上のバッチジョブの実行前に、前記記憶領域内に、前記第1の領域を確保し、前記第2の算出手段は、前記1以上のバッチジョブの夫々の実行前に、実行するバッチジョブに対して大きさを算出した前記第2の領域を、前記記憶領域内に確保し、該バッチジョブの実行後に、確保した前記第2の領域を前記記憶領域から削除する、ことを特徴とする付記1に記載のバッチジョブ処理装置。   (Supplementary Note 2) The first calculation means secures the first area in the storage area before execution of the one or more batch jobs, and the second calculation means determines the one or more of the one or more. The second area whose size is calculated for the batch job to be executed is secured in the storage area before each execution of the batch job, and the second area secured after execution of the batch job. The batch job processing apparatus according to claim 1, wherein the storage area is deleted from the storage area.

(付記3)前記実行結果には、各バッチジョブの終了時のデータ量である最終データ量が実行されたバッチジョブ毎に含まれており、前記第1の算出手段は、前記最終データ量に基づいて、前記第1の領域の大きさを算出する、ことを特徴とする付記1または2に記載のバッチジョブ処理装置。   (Supplementary Note 3) In the execution result, the final data amount which is the data amount at the end of each batch job is included in each executed batch job, and the first calculation unit calculates the final data amount as the final data amount. The size of the first area is calculated on the basis of the batch job processing apparatus according to any one of appendices 1 and 2.

(付記4)前記解析手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記最終データ量の平均値を算出し、前記第1の算出手段は、前記平均値に基づいて、前記第1の領域の大きさを算出する、ことを特徴とする付記3に記載のバッチジョブ処理装置。   (Supplementary Note 4) The analysis means calculates an average value of the final data amount included in respective execution results of batch jobs having the same identifier, and the first calculation means calculates the average value based on the average value. The batch job processing device according to claim 3, wherein the size of the first area is calculated.

(付記5)前記実行結果には、各バッチジョブに入力された入力データの入力データ量と、各バッチジョブの実行時に使用したデータの最大量である最大データ量とが、バッチジョブ毎に含まれており、前記第2の算出手段は、前記入力データ量および前記最大データ量に基づいて、前記第2の領域の大きさを算出する、ことを特徴とする付記1から4の何れか1つに記載のバッチジョブ処理装置。   (Supplementary Note 5) The execution result includes the amount of input data of input data input to each batch job and the maximum amount of data, which is the maximum amount of data used at the time of execution of each batch job, for each batch job. The first calculation means calculates the size of the second area based on the input data amount and the maximum data amount, any one of the first to fourth aspects. Batch job processing device described in 4.

(付記6)前記解析手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記入力データ量および前記最大データ量に基づいて、前記入力データ量の和に対する前記最大データ量の和の比を比例係数として算出し、前記第2の算出手段は、前記比例係数に基づいて、前記第2の領域の大きさを算出する、ことを特徴とする付記5に記載のバッチジョブ処理装置。   (Supplementary Note 6) The analysis means determines the sum of the maximum data amount with respect to the sum of the input data amount based on the input data amount and the maximum data amount included in respective execution results of batch jobs having the same identifier. The batch job processing device according to claim 5, wherein the ratio is calculated as a proportional coefficient, and the second calculation unit calculates the size of the second region based on the proportional coefficient.

(付記7)クラウド上で管理された記憶領域を使用してバッチジョブを実行した実行結果を解析した解析結果に基づいて、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを算出する第1の算出手段と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、を備えることを特徴とするストレージ管理装置。   (Supplementary Note 7) An area used when all of one or more batch jobs end based on an analysis result obtained by analyzing an execution result of executing a batch job using a storage area managed on the cloud The memory having a size which is usable when the first calculation means for calculating the size of the first area in the storage area and the one or more batch jobs are executed. Providing second calculating means for calculating, for each batch job, a size of a second area which is an area other than the first area among the areas in the area based on the analysis result. Storage management device characterized by

(付記8)前記第1の算出手段は、前記1以上のバッチジョブの実行前に、前記記憶領域内に、前記第1の領域を確保し、前記第2の算出手段は、前記1以上のバッチジョブの夫々の実行前に、実行するバッチジョブに対して大きさを算出した前記第2の領域を、前記記憶領域内に確保し、該バッチジョブの実行後に、確保した前記第2の領域を前記記憶領域から削除する、ことを特徴とする付記7に記載のバッチジョブ処理装置。   (Supplementary Note 8) The first calculation means secures the first area in the storage area before execution of the one or more batch jobs, and the second calculation means determines the one or more of the one or more. The second area whose size is calculated for the batch job to be executed is secured in the storage area before each execution of the batch job, and the second area secured after execution of the batch job. The batch job processing device according to appendix 7, wherein the storage unit is deleted from the storage area.

(付記9)前記実行結果には、各バッチジョブの終了時のデータ量である最終データ量が実行されたバッチジョブ毎に含まれており、前記第1の算出手段は、前記最終データ量に基づいて、前記第1の領域の大きさを算出する、ことを特徴とする付記7または8に記載のバッチジョブ処理装置。   (Supplementary Note 9) The execution result includes, for each batch job, the final data amount which is the data amount at the end of each batch job, and the first calculation unit calculates the final data amount as the final data amount. The size of the first area is calculated on the basis of the batch job processing apparatus according to appendix 7 or 8.

(付記10)前記第1の算出手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記最終データ量の平均値に基づいて、前記第1の領域の大きさを算出する、ことを特徴とする付記9に記載のバッチジョブ処理装置。   (Supplementary note 10) The first calculation means calculates the size of the first area based on the average value of the final data amount included in the respective execution results of batch jobs having the same identifier. The batch job processing device according to claim 9, characterized in that

(付記11)前記実行結果には、各バッチジョブに入力された入力データの入力データ量と、各バッチジョブの実行時に使用したデータの最大量である最大データ量とが、バッチジョブ毎に含まれており、前記第2の算出手段は、前記入力データ量および前記最大データ量に基づいて、前記第2の領域の大きさを算出する、ことを特徴とする付記7から10の何れか1つに記載のバッチジョブ処理装置。   (Supplementary note 11) The execution result includes, for each batch job, an input data amount of input data input to each batch job and a maximum data amount which is the maximum amount of data used at the time of execution of each batch job. The first calculation means calculates the size of the second area based on the input data amount and the maximum data amount, any one of the seventh to tenth features. Batch job processing device described in 4.

(付記12)前記第2の算出手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記入力データ量および前記最大データ量に基づいて、前記入力データ量の和に対する前記最大データ量の和の比に基づいて、前記第2の領域の大きさを算出する、ことを特徴とする付記11に記載のバッチジョブ処理装置。   (Supplementary note 12) The second calculation means may calculate the maximum data amount with respect to the sum of the input data amount based on the input data amount and the maximum data amount included in respective execution results of batch jobs having the same identifier. The size of the second area is calculated based on the ratio of the sum of the above, and the batch job processing apparatus according to claim 11.

(付記13)クラウド上で管理された記憶装置を有するクラウド管理システムと、前記記憶装置を使用してバッチジョブを実行するバッチジョブ処理装置と、を備え、前記バッチジョブ処理装置は、前記バッチジョブの実行結果を解析する解析手段と、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する第1の算出手段と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する実行手段と、を備えることを特徴とするシステム。   (Supplementary Note 13) A cloud management system including a storage device managed on a cloud, and a batch job processing device that executes a batch job using the storage device, the batch job processing device including the batch job Analysis means for analyzing the execution result of the step and the size of the area used when one or more of the batch jobs are all finished, the size of the first area in the storage area being analyzed A first calculation unit that calculates based on an analysis result by the unit, and the first area among the areas in the storage area that can be used when executing each of the one or more batch jobs Using a second calculation unit that calculates, for each batch job, the size of the second area that is the other area based on the analysis result, using the first area and the second area Said buffer System characterized in that it comprises execution means for executing a job, the.

(付記14)クラウド上で管理された記憶領域を使用して実行されたバッチジョブの実行結果を解析し、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出し、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出し、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する、ことを特徴とするバッチジョブ処理方法。   (Supplementary note 14) The size of an area used when all the one or more batch jobs are finished by analyzing the execution result of the batch job executed using the storage area managed on the cloud The size of the first area in the storage area is calculated based on the analysis result by the analysis means, and the size of the storage usable for executing each of the one or more batch jobs The size of a second area which is an area other than the first area among the areas in the area is calculated for each batch job based on the analysis result, and the first area and the second area are calculated. A batch job processing method using a region to execute the batch job.

(付記15)クラウド上で管理された記憶領域を使用してバッチジョブを実行した実行結果を解析した解析結果に基づいて、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを算出し、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する、ことを特徴とするストレージ管理方法。   (Supplementary Note 15) An area used when all of one or more of the batch jobs end based on an analysis result obtained by analyzing an execution result of executing a batch job using a storage area managed on the cloud Of the areas in the storage area that are large enough to calculate the size of the first area in the storage area and that can be used when executing each of the one or more batch jobs And a size of a second area which is an area other than the first area is calculated for each batch job based on the analysis result.

(付記16)クラウド上で管理された記憶領域を使用して実行されたバッチジョブの実行結果を解析する処理と、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する処理と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する処理と、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する処理と、をコンピュータに実行させることを特徴とするプログラム。   (Supplementary Note 16) A process of analyzing an execution result of a batch job executed using a storage area managed on the cloud, and a size of an area used when all of the one or more batch jobs are finished A process of calculating the size of the first area in the storage area based on the analysis result by the analysis means, and the size usable when executing each of the one or more batch jobs Calculating, for each batch job, a size of a second area which is an area other than the first area among the areas in the storage area, based on the analysis result; A program for causing a computer to execute processing for executing the batch job using the area and the second area.

(付記17)クラウド上で管理された記憶領域を使用してバッチジョブを実行した実行結果を解析した解析結果に基づいて、1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを算出する処理と、前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する処理と、をコンピュータに実行させることを特徴とするプログラム。   (Supplementary note 17) An area used when all of one or more of the batch jobs end based on an analysis result obtained by analyzing an execution result of executing a batch job using a storage area managed on the cloud An area in the storage area having a size that can be used to calculate the size of the first area in the storage area and to execute each of the one or more batch jobs. A program for causing a computer to execute a process of calculating, for each batch job, the size of a second area which is an area other than the first area among the above-described areas based on the analysis result.

1 バッチジョブ処理装置
2 クラウド管理システム
11 動的ストレージ管理部
12 バッチジョブ実行部
21 記憶部
22 記憶領域管理部
110 実行履歴解析部
111 抽出部
112 算出部
120 恒久領域管理部
121 恒久領域算出部
122 要求送信部
130 一時領域管理部
131 一時領域算出部
132 要求送信部
140 記憶部
150 実行部
100 バッチジョブ処理装置
101 解析部
102 第1の算出部
103 第2の算出部
104 実行部
DESCRIPTION OF SYMBOLS 1 batch job processing apparatus 2 cloud management system 11 dynamic storage management unit 12 batch job execution unit 21 storage unit 22 storage area management unit 110 execution history analysis unit 111 extraction unit 112 calculation unit 120 permanent area management unit 121 permanent area calculation unit 122 Request transmission unit 130 Temporary area management unit 131 Temporary area calculation unit 132 Request transmission unit 140 Storage unit 150 Execution unit 100 Batch job processing device 101 Analysis unit 102 First calculation unit 103 Second calculation unit 104 Execution unit

Claims (10)

バッチジョブ処理装置であって、
前記バッチジョブ処理装置から要求されたサイズの記憶領域を、前記バッチジョブ処理装置が使用可能な記憶領域として提供するクラウド管理システムに対して、記憶領域のサイズの指定を含む要求を送信する要求送信手段と、
前記使用可能な記憶領域を使用してバッチジョブを実行する実行手段と、
前記実行手段によるバッチジョブの実行結果を解析する解析手段と、
前記実行手段が複数のバッチジョブを実行する場合において、前記解析手段による解析の結果に基づいて、前記複数のバッチジョブの全ての実行が終了する際に使用される領域の大きさとして見積もられる領域サイズを、第1の領域サイズとして算出する第1の算出手段と、
前記解析手段による解析の結果に基づいて、前記複数のバッチジョブの各々について、第2の領域サイズを算出する第2の算出手段と、を備え、
前記要求送信手段は、
前記複数のバッチジョブのうちの最初のバッチジョブの実行前に、前記第1の領域サイズの領域を前記クラウド管理システムに要求することで前記第1の領域サイズの記憶領域を確保し、
前記複数のバッチジョブのうちの1つのバッチジョブの実行毎に、当該1つのバッチジョブの実行前に当該1つのバッチジョブに係る前記第2の領域サイズの領域を前記クラウド管理システムに要求することで当該第2の領域サイズの記憶領域を確保し、当該1つのバッチジョブの実行終了後に当該第2の領域サイズの領域の削除を前記クラウド管理システムに要求することで前記使用可能な記憶領域を前記第1の領域サイズに戻す、
バッチジョブ処理装置。
A batch job processing device,
Sending a request for transmitting a request including specification of a storage area size to a cloud management system that provides the storage area of the size requested by the batch job processing apparatus as a storage area usable by the batch job processing apparatus Means,
An execution means for executing a batch job using the available storage area;
Analysis means for analyzing the execution result of the batch job by the execution means;
When the execution unit executes a plurality of batch jobs, an area estimated as the size of the area used when all the executions of the plurality of batch jobs end based on the analysis result by the analysis unit First calculating means for calculating the size as a first area size ;
And second calculation means for calculating a second area size for each of the plurality of batch jobs based on the analysis result by the analysis means .
The request transmission means
A storage area of the first area size is secured by requesting the area of the first area size from the cloud management system before execution of the first batch job of the plurality of batch jobs.
In each execution of one batch job among the plurality of batch jobs, before the execution of the one batch job, the area of the second area size of the one batch job is requested to the cloud management system By securing the storage area of the second area size and requesting the cloud management system to delete the area of the second area size after the execution of the one batch job is completed. Revert to the first area size,
Batch job processing device.
前記実行結果には、各バッチジョブの終了時のデータ量である最終データ量が実行されたバッチジョブ毎に含まれており、
前記第1の算出手段は、前記第1の領域サイズを、実行される複数のバッチジョブのそれぞれの最終データ量として見積もられる量の合計に基づいて算出する
請求項に記載のバッチジョブ処理装置。
The execution result includes the final data amount, which is the data amount at the end of each batch job, for each executed batch job,
The first calculation means calculates the first area size based on a total of an amount estimated as a final data amount of each of a plurality of batch jobs to be executed .
A batch job processing apparatus according to claim 1 .
前記解析手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記最終データ量の平均値を算出し、
前記第1の算出手段は、前記平均値に基づいて、前記第1の領域サイズを算出する
請求項2に記載のバッチジョブ処理装置。
The analysis means calculates an average value of the final data amount included in each execution result of batch jobs having the same identifier,
The first calculation means calculates the first area size based on the average value .
The batch job processing apparatus according to claim 2.
前記実行結果には、各バッチジョブに入力された入力データの入力データ量と、各バッチジョブの実行時に使用したデータの最大量である最大データ量とが、バッチジョブ毎に含まれており、
前記第2の算出手段は、前記入力データ量および前記最大データ量に基づいて、前記第2の領域サイズを算出する
請求項1からの何れか1項に記載のバッチジョブ処理装置。
The execution result includes, for each batch job, an input data amount of input data input to each batch job and a maximum data amount which is a maximum amount of data used at the time of execution of each batch job,
The second calculation unit calculates the second area size based on the input data amount and the maximum data amount .
The batch job processing apparatus according to any one of claims 1 to 3 .
前記解析手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記入力データ量および前記最大データ量に基づいて、前記入力データ量の和に対する前記最大データ量の和の比を比例係数として算出し、
前記第2の算出手段は、前記比例係数に基づいて、前記第2の領域サイズを算出する、
請求項4に記載のバッチジョブ処理装置。
The analysis means may calculate a ratio of a ratio of the sum of the maximum data amount to the sum of the input data amount based on the input data amount and the maximum data amount included in respective execution results of batch jobs having the same identifier. Calculated as
The second calculation unit calculates the second area size based on the proportional coefficient.
The batch job processing apparatus according to claim 4.
クラウド上で管理された記憶領域を使用してバッチジョブを実行する実行手段と、
前記バッチジョブの実行結果を解析する解析手段と、
1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する第1の算出手段と、
前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、を備え、
前記解析手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる最終データ量の平均値を算出し、
前記第1の算出手段は、前記平均値に基づいて、前記第1の領域の大きさを算出し、
前記実行手段は、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する、
バッチジョブ処理装置。
An execution unit that executes a batch job using a storage area managed on the cloud;
Analysis means for analyzing the execution result of the batch job;
A size of an area used when all one or more of the batch jobs end, wherein the size of a first area in the storage area is calculated based on an analysis result by the analysis means. 1 calculation means,
The size of the second area, which is an area other than the first area, of the area in the storage area which has a size usable when executing each of the one or more batch jobs is the analysis And second calculating means for calculating for each batch job based on the result.
The analyzing unit calculates an average value of the last data volume that is part of the respective execution results of batch jobs having the same identifier,
The first calculation means calculates the size of the first area based on the average value,
The execution means executes the batch job using the first area and the second area.
Batch job processing device.
クラウド上で管理された記憶領域を使用してバッチジョブを実行する実行手段と、
前記バッチジョブの実行結果を解析する解析手段と、
1以上の前記バッチジョブの全てが終了する際に使用される領域の大きさであって、前記記憶領域内の第1の領域の大きさを、前記解析手段による解析結果に基づいて算出する第1の算出手段と、
前記1以上のバッチジョブの夫々を実行する際に使用可能な大きさの、前記記憶領域内の領域のうち、前記第1の領域以外の領域である第2の領域の大きさを、前記解析結果に基づいて、バッチジョブ毎に算出する第2の算出手段と、を備え、
前記実行結果には、各バッチジョブに入力された入力データの入力データ量と、各バッチジョブの実行時に使用したデータの最大量である最大データ量とが、バッチジョブ毎に含まれており、
前記解析手段は、同じ識別子を有するバッチジョブの夫々の実行結果に含まれる前記入力データ量および前記最大データ量に基づいて、前記入力データ量の和に対する前記最大データ量の和の比を比例係数として算出し、
前記第2の算出手段は、前記比例係数に基づいて、前記第2の領域の大きさを算出し、
前記実行手段は、前記第1の領域および前記第2の領域を使用して、前記バッチジョブを実行する
バッチジョブ処理装置。
An execution unit that executes a batch job using a storage area managed on the cloud;
Analysis means for analyzing the execution result of the batch job;
A size of an area used when all one or more of the batch jobs end, wherein the size of a first area in the storage area is calculated based on an analysis result by the analysis means. 1 calculation means,
The size of the second area, which is an area other than the first area, of the area in the storage area which has a size usable when executing each of the one or more batch jobs is the analysis And second calculating means for calculating for each batch job based on the result.
The execution result includes, for each batch job, an input data amount of input data input to each batch job and a maximum data amount which is a maximum amount of data used at the time of execution of each batch job,
The analysis means may calculate a ratio of a ratio of the sum of the maximum data amount to the sum of the input data amount based on the input data amount and the maximum data amount included in respective execution results of batch jobs having the same identifier. Calculated as
The second calculation unit calculates the size of the second region based on the proportional coefficient.
The execution means executes the batch job using the first area and the second area .
Batch job processing device.
バッチジョブ処理装置から要求されたサイズの記憶領域を、前記バッチジョブ処理装置が使用可能な記憶領域として提供するクラウド管理システムと、
前記記憶領域を使用してバッチジョブを実行する前記バッチジョブ処理装置と、を備え、
前記バッチジョブ処理装置は、
前記クラウド管理システムに対して、記憶領域のサイズの指定を含む要求を送信する要求送信手段と、
前記使用可能な記憶領域を使用して複数のバッチジョブを実行する実行手段と、
前記実行手段によるバッチジョブの実行結果を解析する解析手段と、
前記解析手段による解析の結果に基づいて、前記複数のバッチジョブの全ての実行が終了する際に使用される領域の大きさとして見積もられる領域サイズを、第1の領域サイズとして算出する第1の算出手段と、
前記解析手段による解析の結果に基づいて、前記複数のバッチジョブの各々について、第2の領域サイズを算出する第2の算出手段と、を備え、
前記要求送信手段は、
前記複数のバッチジョブのうちの最初のバッチジョブの実行前に、前記第1の領域サイズの領域を前記クラウド管理システムに要求することで前記第1の領域サイズの記憶領域を確保し、
前記複数のバッチジョブのうちの1つのバッチジョブの実行毎に、当該1つのバッチジョブの実行前に当該1つのバッチジョブに係る前記第2の領域サイズの領域を前記クラウド管理システムに要求することで当該第2の領域サイズの記憶領域を確保し、当該1つのバッチジョブの実行終了後に当該第2の領域サイズの領域の削除を前記クラウド管理システムに要求することで前記使用可能な記憶領域を前記第1の領域サイズに戻す、
システム。
A cloud management system which provides a storage area of a size requested by a batch job processing apparatus as a storage area usable by the batch job processing apparatus;
The batch job processing apparatus that executes a batch job using the storage area ;
The batch job processing device is
Request transmission means for transmitting a request including specification of a storage area size to the cloud management system;
An execution means for executing a plurality of batch jobs using the available storage area;
Analysis means for analyzing the execution result of the batch job by the execution means;
A first area size is calculated as an area size which is estimated as a size of an area used when all execution of the plurality of batch jobs is finished , based on a result of analysis by the analysis means. Calculation means,
And second calculation means for calculating a second area size for each of the plurality of batch jobs based on the analysis result by the analysis means .
The request transmission means
A storage area of the first area size is secured by requesting the area of the first area size from the cloud management system before execution of the first batch job of the plurality of batch jobs.
In each execution of one batch job among the plurality of batch jobs, before the execution of the one batch job, the area of the second area size of the one batch job is requested to the cloud management system By securing the storage area of the second area size and requesting the cloud management system to delete the area of the second area size after the execution of the one batch job is completed. Revert to the first area size,
system.
バッチジョブ処理装置によるバッチジョブ処理方法であって、
前記バッチジョブ処理装置から要求されたサイズの記憶領域を、前記バッチジョブ処理装置が使用可能な記憶領域として提供するクラウド管理システムに対して、記憶領域のサイズの指定を含む要求を送信し、
前記使用可能な記憶領域を使用して実行されたバッチジョブの実行結果を解析し、
複数のバッチジョブの実行に際して、
前記実行結果の解析の結果に基づいて、前記複数のバッチジョブの全ての実行が終了する際に使用される領域の大きさとして見積もられる領域サイズを、第1の領域サイズとして算出し、
前記実行結果の解析の結果に基づいて、前記複数のバッチジョブの各々について、第2の領域サイズを算出し、
前記複数のバッチジョブのうちの最初のバッチジョブの実行前に、前記第1の領域サイズの領域を前記クラウド管理システムに要求することで前記第1の領域サイズの記憶領域を確保し、
前記複数のバッチジョブのうちの1つのバッチジョブの実行毎に、当該1つのバッチジョブの実行前に当該1つのバッチジョブに係る前記第2の領域サイズの領域を前記クラウド管理システムに要求することで当該第2の領域サイズの記憶領域を確保し、当該1つのバッチジョブの実行終了後に当該第2の領域サイズの領域の削除を前記クラウド管理システムに要求することで前記使用可能な記憶領域を前記第1の領域サイズに戻す、
バッチジョブ処理方法。
A batch job processing method by a batch job processing device, comprising:
Sending a request including specification of a storage area size to a cloud management system that provides the storage area of the size requested by the batch job processing apparatus as a storage area usable by the batch job processing apparatus;
Analyze the execution result of the batch job executed using the available storage area,
When executing multiple batch jobs,
Based on the analysis result of the execution result, an area size which is estimated as the size of the area used when all execution of the plurality of batch jobs is finished is calculated as a first area size ,
A second region size is calculated for each of the plurality of batch jobs based on the analysis result of the execution result ,
A storage area of the first area size is secured by requesting the area of the first area size from the cloud management system before execution of the first batch job of the plurality of batch jobs.
In each execution of one batch job among the plurality of batch jobs, before the execution of the one batch job, the area of the second area size of the one batch job is requested to the cloud management system By securing the storage area of the second area size and requesting the cloud management system to delete the area of the second area size after the execution of the one batch job is completed. Revert to the first area size,
Batch job processing method.
コンピュータに、
前記コンピュータから要求されたサイズの記憶領域を、前記コンピュータが使用可能な記憶領域として提供するクラウド管理システムに対して、記憶領域のサイズの指定を含む要求を送信する要求送信処理と、
前記使用可能な記憶領域を使用して実行されたバッチジョブの実行結果を解析する解析処理と、
複数のバッチジョブの実行に際して、
前記解析処理による解析の結果に基づいて、前記複数のバッチジョブの全ての実行が終了する際に使用される領域の大きさとして見積もられる領域サイズを、第1の領域サイズとして算出する第1の算出処理と、
前記解析処理による解析の結果に基づいて、前記複数のバッチジョブの各々について、第2の領域サイズを算出する第2の算出処理と、を実行させ、
前記要求送信処理は、
前記複数のバッチジョブのうちの最初のバッチジョブの実行前に、前記第1の領域サイズの領域を前記クラウド管理システムに要求することで前記第1の領域サイズの記憶領域を確保し、
前記複数のバッチジョブのうちの1つのバッチジョブの実行毎に、当該1つのバッチジョブの実行前に当該1つのバッチジョブに係る前記第2の領域サイズの領域を前記クラウド管理システムに要求することで当該第2の領域サイズの記憶領域を確保し、当該1つのバッチジョブの実行終了後に当該第2の領域サイズの領域の削除を前記クラウド管理システムに要求することで前記使用可能な記憶領域を前記第1の領域サイズに戻す、
プログラム。

On the computer
A request transmission process for transmitting a request including specification of a storage area size to a cloud management system that provides the storage area of the size requested by the computer as a storage area usable by the computer ;
Analysis processing for analyzing the execution result of a batch job executed using the available storage area;
When executing multiple batch jobs,
A first area size is calculated as an area size estimated as a size of an area used when all execution of the plurality of batch jobs is finished, based on a result of analysis by the analysis process. Calculation processing,
A second calculation process of calculating a second area size for each of the plurality of batch jobs based on the analysis result of the analysis process;
The request transmission process is
A storage area of the first area size is secured by requesting the area of the first area size from the cloud management system before execution of the first batch job of the plurality of batch jobs.
In each execution of one batch job among the plurality of batch jobs, before the execution of the one batch job, the area of the second area size of the one batch job is requested to the cloud management system By securing the storage area of the second area size and requesting the cloud management system to delete the area of the second area size after the execution of the one batch job is completed. Revert to the first area size,
program.

JP2014243146A 2014-12-01 2014-12-01 Batch job processing apparatus, system, batch job processing method and program Active JP6515510B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014243146A JP6515510B2 (en) 2014-12-01 2014-12-01 Batch job processing apparatus, system, batch job processing method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014243146A JP6515510B2 (en) 2014-12-01 2014-12-01 Batch job processing apparatus, system, batch job processing method and program

Publications (2)

Publication Number Publication Date
JP2016105242A JP2016105242A (en) 2016-06-09
JP6515510B2 true JP6515510B2 (en) 2019-05-22

Family

ID=56102502

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014243146A Active JP6515510B2 (en) 2014-12-01 2014-12-01 Batch job processing apparatus, system, batch job processing method and program

Country Status (1)

Country Link
JP (1) JP6515510B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189211A (en) * 1992-01-09 1993-07-30 Chubu Nippon Denki Software Kk Information processing system
JPH11212811A (en) * 1998-01-30 1999-08-06 Hitachi Ltd File capacity prediction type batch job execution control method
JP2006244098A (en) * 2005-03-03 2006-09-14 Hitachi Ltd Logical partitioning method in storage system
JP4921054B2 (en) * 2006-07-07 2012-04-18 株式会社日立製作所 Load balancing control system and load balancing control method

Also Published As

Publication number Publication date
JP2016105242A (en) 2016-06-09

Similar Documents

Publication Publication Date Title
US20190391744A1 (en) Automated selection of functions to reduce storage capacity based on performance requirements
JPWO2008102739A1 (en) Virtual server system and physical server selection method
CN109408590B (en) Method, device and equipment for expanding distributed database and storage medium
CN110209348B (en) Data storage method and device, electronic equipment and storage medium
CN108153594B (en) Resource fragment sorting method of artificial intelligence cloud platform and electronic equipment
CN111108480A (en) System and method for distributed resource demand and allocation
CN112148468B (en) Resource scheduling method and device, electronic equipment and storage medium
JP6519111B2 (en) Data processing control method, data processing control program and data processing control device
JP6885193B2 (en) Parallel processing device, job management method, and job management program
CN112948279A (en) Method, apparatus and program product for managing access requests in a storage system
CN105022668A (en) Job scheduling method and system
JP2019008454A (en) Information processing system and resource allocation method
CN108205559B (en) Data management method and equipment thereof
JP6515510B2 (en) Batch job processing apparatus, system, batch job processing method and program
CN111510479A (en) Resource allocation method and device for heterogeneous cache system
CN109144689B (en) Task scheduling method, device and computer program product
CN108933837A (en) A kind of transmission method and device of image file
CN112596879B (en) Method for task scheduling of quantum cloud computing platform
CN105718297A (en) Virtual machine establishing system and method
CN107018163B (en) Resource allocation method and device
US9710311B2 (en) Information processing system, method of controlling information processing system, and recording medium
KR101558807B1 (en) Processor scheduling method for the cooperation processing between host processor and cooperation processor and host processor for performing the method
CN106202262A (en) A kind of information processing method and electronic equipment
KR101695238B1 (en) System and method for job scheduling using multi computing resource
CN108334403B (en) Resource scheduling method and equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171115

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180529

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180824

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190122

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190315

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190401

R150 Certificate of patent or registration of utility model

Ref document number: 6515510

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150