JP5061086B2 - Job management method, execution apparatus and program thereof - Google Patents
Job management method, execution apparatus and program thereof Download PDFInfo
- Publication number
- JP5061086B2 JP5061086B2 JP2008298185A JP2008298185A JP5061086B2 JP 5061086 B2 JP5061086 B2 JP 5061086B2 JP 2008298185 A JP2008298185 A JP 2008298185A JP 2008298185 A JP2008298185 A JP 2008298185A JP 5061086 B2 JP5061086 B2 JP 5061086B2
- Authority
- JP
- Japan
- Prior art keywords
- job
- result
- file
- property
- management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、計算機上でジョブの入出力、ジョブで使用するファイルやジョブの実行結果を出力するファイルの割当・解放、並びにジョブで実行するユーザプログラムの実行を制御するジョブ管理における、プログラムインタフェースおよびユーザインタフェースに関する。 The present invention relates to a program interface in job input / output on a computer, allocation / release of a file used in a job and a file for outputting a job execution result, and job management for controlling execution of a user program executed in the job, and Concerning the user interface.
汎用計算機に実行させる仕事の単位をジョブという。汎用計算機でジョブを実行するためには、まず、ジョブやその実行結果を管理するジョブ管理にジョブ定義を投入する。ジョブ定義は、ジョブの名称や実行方法、ジョブを実行するときに必要な入力資源である使用ファイルや出力資源である実行結果等の指示を、定義によりジョブ管理が理解できる言語で記述したファイルである。 A unit of work to be executed by a general-purpose computer is called a job. In order to execute a job on a general-purpose computer, first, a job definition is input to job management for managing the job and its execution result. A job definition is a file that describes the job name, execution method, used files, which are input resources required to execute the job, and execution results, which are output resources, in a language that can be understood by job management. is there.
ジョブ管理では、ジョブ定義の文法をチェックした後、ジョブを一意に識別するためのジョブ識別子を割り当て、ジョブを実行する。また、ジョブの処理内容を確認できるように、ジョブ解析結果を記録する。 In job management, after checking the grammar of the job definition, a job identifier for uniquely identifying the job is assigned and the job is executed. In addition, the job analysis result is recorded so that the processing contents of the job can be confirmed.
ジョブ管理は、ジョブスケジューラからの指示に従ってジョブを実行する。このとき、ジョブの実行結果を格納するための領域が記憶装置に割り当てられる。 In job management, a job is executed in accordance with an instruction from the job scheduler. At this time, an area for storing the job execution result is allocated to the storage device.
汎用計算機では、ジョブを管理する機能はOS(オペレーティングシステム)が実行しており、どのプログラムからも実行結果は、ジョブ名やジョブ識別子とジョブ結果を関連付けるため、OSに問い合わせることで一意に管理することが出来た。OSの機能としてジョブ管理が存在しない計算機上でのジョブ管理では、OSとは別のジョブ管理プログラムが、ジョブ結果管理情報を使用して、ジョブ名やジョブ識別子と実行結果の関連付けを行い、OS内で常に一意の実行結果となるようにファイルを管理する技術が開示されている。 In a general-purpose computer, a job management function is executed by an OS (operating system), and an execution result from any program is uniquely managed by associating the job name or job identifier with the job result, and inquiring the OS. I was able to do it. In job management on a computer that does not have job management as an OS function, a job management program other than the OS uses job result management information to associate a job name or job identifier with an execution result, and A technique for managing files so as to always have a unique execution result is disclosed.
この技術により、ジョブの実行結果を管理することによって、計算機内であればユーザはジョブ識別子、またはジョブ名を指定して、ジョブ結果表示プログラム、ジョブ結果削除プログラム、印刷プログラムから、OSへ問い合わせることで、ジョブの実行結果を表示、削除、印刷することができる。 By managing job execution results with this technology, if in the computer, the user can specify the job identifier or job name, and inquire the OS from the job result display program, job result deletion program, or print program. The job execution result can be displayed, deleted, and printed.
また、ジョブの実行結果に属性を持たせて履歴管理する技術としては特許文献1にて開示されている。
上記従来技術は、実行結果が常に管理されている状態で動作する技術であり、実行結果が記憶装置上の何処に存在するかが常に管理装置やOS内で管理されていなければならなかった。特に、ジョブ結果ファイルが複数のファイルとなる場合では、個々の実行結果が別々に移動されたり、実行結果を管理する装置で異常が発生することにより、実行結果が存在しても、どのジョブの結果なのか管理できなくなるという課題があった。本発明は、実行結果の移動や管理装置の異常が生じた場合でも、ジョブの実行結果が、どのジョブの結果であるかを実行結果から確認できる様にすることを目的とする。 The above prior art is a technique that operates in a state in which execution results are always managed, and where the execution results exist on the storage device must always be managed in the management device or the OS. In particular, when the job result file is a plurality of files, each job result is moved separately, or an error occurs in the device that manages the job results. There was a problem that it was impossible to manage the result. It is an object of the present invention to make it possible to confirm from the execution result which job the execution result of the job is, even when a transfer of the execution result or an abnormality of the management apparatus occurs.
上記目的を達成するために、本発明にかかわるジョブ管理プログラムは、ジョブ定義に従って入出力ファイルとユーザプログラムの制御を行うステップと、ユーザプログラムが実行する前にそのジョブが入出力するファイルを割り当てるファイル割当処理において、ユーザプログラムが出力する実行結果ファイルを予め割り当て、その割り当てたファイルにプロパティを付与するステップと、プロパティを付与されたプロパティ付実行結果ファイルに対して実行するユーザプログラムがプロパティに影響されずに結果を出力できるファイルを利用するインタフェースとして動作させるステップと、ユーザプログラムが実行結果を出力して、実行終了後に、プロパティの無い実行結果ファイルと同様にプロパティ付実行結果ファイルを扱うステップと、実行結果ファイルのプロパティを参照できるステップを持つことを特徴としている。 In order to achieve the above object, a job management program according to the present invention includes a step for controlling an input / output file and a user program according to a job definition, and a file for assigning a file to be input / output by the job before the user program is executed. In the assignment process, the execution result file output by the user program is assigned in advance, and the property is affected by the step of assigning the property to the assigned file and the user program executed for the execution result file with the property to which the property is assigned. The interface that uses the file that can output the result without the output, and the step that handles the execution result file with properties in the same way as the execution result file without properties after the execution result is output by the user program and the execution is completed. It is characterized by having a flop, steps that may refer to a property of the execution result file.
上記の処理では、ユーザプログラムを変更することなく、ジョブ定義に従ったジョブの情報をプロパティとして持つ実行結果ファイルを作ることが出来るため、ユーザプログラムの修正やリコンパイル等の作業を行わなくても、実行結果のプロパティを見ることでジョブに関する情報を得ることが出来るようになる。 In the above processing, it is possible to create an execution result file that has job information according to the job definition as a property without changing the user program, so there is no need to modify or recompile the user program. You can get information about the job by looking at the properties of the execution result.
具体的な例として、従来はジョブ結果管理情報のような管理装置等から情報を得なければどのジョブが作成した実行結果であるかを判断できなかったが、本発明では、管理装置から情報を得られないサーバにネットワークを介して実行結果ファイルを転送しても、そのプロパティ中のジョブの属性によりどのジョブが作成した実行結果であるかを判断でき、当該ジョブが実行した結果であることの妥当性の判断ができる。 As a specific example, in the past, it was impossible to determine which job was the execution result created without obtaining information from a management device such as job result management information. Even if the execution result file is transferred over the network to an unobtainable server, it is possible to determine which job has been created based on the job attributes in its properties, and that the job has been executed. Validity can be judged.
また、ジョブ管理プログラムにおいて、プロパティを付与するステップでジョブの一意なジョブ識別子を付与することにより、同じジョブを何度も実行した際に出来た同じ実行結果に対して、何回目に実行した際に出来た実行結果かを判断できる。同様に、ジョブ名を付与することにより、同じジョブ定義により実行されたジョブが出力した実行結果であることも判断でき、更に実行結果が正常終了か異常終了かといったステータスを設定することにより、正常時の実行結果だけを利用するといった判断も可能となる。特に複数の実行結果をまとめて判断する場合、それぞれのプロパティに付与した情報順に並べ替えて扱うことで一括した管理が可能となる。 Also, in the job management program, by assigning a unique job identifier for the job in the step of assigning the property, when the same execution result that was created when the same job was executed many times is executed It is possible to determine whether the execution result is completed. Similarly, by assigning a job name, it can be determined that a job executed with the same job definition is an output execution result, and by setting a status such as whether the execution result is normal end or abnormal end, normal It is also possible to determine that only the execution result at the time is used. In particular, when a plurality of execution results are determined collectively, the management can be performed in a lump by rearranging them in the order of information assigned to each property.
また本発明では、ジョブ管理プログラムが、プロパティに付与する内容と同じ情報を従来と同様に管理装置でジョブ結果管理情報として管理している場合、ジョブ結果管理情報をプロパティの内容を元に作成する手段として、ジョブ結果管理情報回復プログラムを用意しておくものとしても良く、これは、ジョブ結果管理情報に矛盾がある場合に、正しくジョブ結果管理情報を再構築する目的を達成するためのものである。 Also, in the present invention, when the same information as the content to be assigned to the property is managed as job result management information by the management apparatus as in the conventional case, the job management program creates the job result management information based on the property content. As a means, a job result management information recovery program may be prepared, in order to achieve the purpose of correctly reconstructing job result management information when there is a contradiction in job result management information. is there.
本発明によれば、ジョブの実行結果を出力するファイルに、ジョブの属性をプロパティとして設定することで、従来と比べ複数のジョブの実行結果を一括して管理することができるという効果がある。 According to the present invention, by setting job attributes as properties in a file that outputs job execution results, it is possible to collectively manage the execution results of a plurality of jobs as compared to the prior art.
本発明はさらにプロパティ付ジョブ結果ファイルのプロパティにジョブ識別子やジョブ名を設定することで、ジョブ識別子やジョブ名によるジョブの実行結果の一括管理を行うユーザインタフェースを、ユーザに提供できるという効果がある。 The present invention further provides the user with a user interface that collectively manages job execution results based on job identifiers and job names by setting job identifiers and job names in properties of job result files with properties. .
本発明はさらにプロパティ付ジョブ結果ファイルのプロパティからジョブ結果管理情報を再構築するプログラムを用意することで、ジョブ結果管理情報に障害があった場合に、それを回復できるという効果がある。 The present invention further provides an effect of preparing a program for reconstructing job result management information from the properties of a job result file with properties so that it can be recovered if there is a failure in the job result management information.
本発明はさらにGUI(Graphical User Interface)のファイルプロパティ画面やファイラ画面で、プロパティ付ジョブ結果ファイルのプロパティを表示することにより、ジョブの実行結果を管理するGUIのインタフェースをユーザに提供できるという効果がある。 The present invention further provides an effect of providing a user with a GUI interface for managing job execution results by displaying the properties of a job result file with properties on a GUI (Graphical User Interface) file property screen or filer screen. is there.
以下、本発明を実施するための最良の形態を図面に基づいて詳細に説明する。
図1は、本発明における一実施形態であるジョブ管理装置の構成を示すものである。本実施形態では、ジョブを管理する計算機000、通信路100を介して計算機000に接続された記憶装置200からなる。
The best mode for carrying out the present invention will be described below in detail with reference to the drawings.
FIG. 1 shows the configuration of a job management apparatus according to an embodiment of the present invention. In the present embodiment, a
計算機000には、主記憶装置010、CPU020、入出力インタフェース030が含まれる。主記憶装置010は、プログラムの命令コードや、ジョブ管理に使用するデータ等を格納する。CPU020は、主記憶装置010上のプログラムの命令コードをロードして解釈実行する。また、入出力インタフェース030を介してファイルの入出力を行う。
The
主記憶装置010には、OS600、ジョブ管理プログラム500、ジョブスケジューラ300、ユーザプログラム700、ジョブ解析結果400が含まれる。OS600は、計算機000上で動作するプログラムに対して基本的な機能を提供し、計算機000全体を管理するソフトウェアであり、本実施形態ではジョブ管理の機能を持っていない。ジョブ管理プログラム500は、ジョブ管理を行うソフトウェアである。ジョブスケジューラ300は、ユーザがジョブを投入した際に、ジョブ管理プログラム500を起動するソフトウェアである。ユーザプログラム700は、ジョブで実行するプログラムである。ジョブ解析結果400は、ジョブ管理プログラム500が、ジョブを解析した結果を格納する、データテーブルである。
The
ジョブ管理プログラム500には、ジョブ定義解析処理510、ファイル割当処理520、ジョブ実行処理530、ファイル解放処理540が含まれる。ジョブ定義解析処理510は、ユーザが定義したジョブ定義800を解析する。ファイル割当処理520は、ジョブで使用するファイルや、ジョブを実行した結果を格納するファイルを、記憶装置200上に割り当てる。ジョブ実行処理530は、ジョブで実行するユーザプログラム700を起動する。ファイル解放処理540は、ファイル割当処理520が割り当てたファイルを解放する。
The
ファイル割当処理520には、プロパティ作成処理521が含まれる。プロパティ作成処理521は、ジョブを実行した結果を格納するファイルに、ジョブの属性を作成する。
The
ファイル解放処理540には、プロパティ編集処理541が含まれる。プロパティ編集処理541は、ジョブを実行した結果を格納するファイルに設定されたジョブの属性を編集する。
The
記憶装置200には、ジョブ定義800、ジョブ結果管理情報900、使用ファイル1000、プロパティ付ジョブ結果ファイル1100が含まれる。ジョブ定義800は、ユーザがジョブの名称、ジョブで実行するユーザプログラム700、ジョブで使用するファイル、ジョブを実行した結果を格納するファイルを定義する。ジョブ結果管理情報900は、ジョブ毎に一意な値であるジョブ識別子1121や、ユーザがジョブの名称としてジョブ定義800に定義したジョブ名1122等のジョブの属性と、ジョブを実行した結果を格納するファイルとを関連付けるためのテーブルである。使用ファイル1000は、ユーザがジョブ定義800に定義した、ジョブで使用するファイルである。プロパティ付ジョブ結果ファイル1100は、ユーザがジョブ定義800に定義した、ジョブを実行した結果を格納するファイルである。
The
プロパティ付ジョブ結果ファイル1100は、実行結果1110とプロパティ1120が含まれる。実行結果1110は、ジョブ実行時に、ユーザプログラム700がデータを出力する。プロパティ1120は、ジョブ識別子1121、ジョブ名1122、ジョブが正常終了だったか異常終了だったかを格納するステータス1123等、ジョブの属性が含まれる。
The property-added
図2は、ジョブ結果管理情報900に障害があった場合における、障害回復の実施形態の構成を示したものである。本実施形態は、CPU020、主記憶装置010、入出力インタフェース030を備える計算機000と、通信路100を介して計算機000に接続された記憶装置200からなる。主記憶装置010中には、OS600、ジョブ結果管理情報回復プログラム1400が含まれる。ジョブ結果管理情報回復プログラム1400には、プロパティ参照処理1410が含まれる。プロパティ参照処理1410は、ジョブ結果管理情報900を再構築するために、プロパティ付ジョブ結果ファイル1100のプロパティ1120を参照する。
FIG. 2 shows the configuration of an embodiment of failure recovery when there is a failure in the job
ジョブ結果管理情報回復プログラム1400は、ジョブ結果管理情報900に障害があった場合、ユーザによって起動される。
ジョブ結果管理情報900が障害で壊れている状態とは、ジョブ結果管理情報900に設定されているプロパティ付ジョブ結果ファイル1100が存在しない状態である。
The job result management
The state in which the job
図3は、ジョブの実行結果1110の表示・削除・印刷の実施形態の構成を示したものである。本実施形態は、CPU020、主記憶装置010、入出力インタフェース030を備える計算機000と、通信路100を介して計算機000に接続された記憶装置200と、計算機000に接続された端末装置1900、プリンタ装置2000からなる。
FIG. 3 shows the configuration of an embodiment for displaying, deleting, and printing a
主記憶装置010は、OS600、ジョブ結果表示プログラム1500、ジョブ結果削除プログラム1600、ジョブ結果印刷プログラム1700が含まれる。ジョブ結果表示プログラム1500は、ユーザが指定した実行結果1110を、端末装置1900に出力する。ジョブ結果削除プログラム1600は、ユーザが指定した実行結果1110を削除する。ジョブ結果印刷プログラム1700は、ユーザが指定した実行結果1110をプリンタ装置2000で印刷する。
The
ジョブ結果表示プログラム1500は、ジョブ検索処理1800、ジョブ結果表示処理1510が含まれる。ジョブ結果表示処理1510は、ジョブ検索処理1800で検索したプロパティ付ジョブ結果ファイル1100の、実行結果1110を端末装置1900に出力する処理である。
The job result display program 1500 includes job search processing 1800 and job result
ジョブ結果削除プログラム1600は、ジョブ検索処理1800、ジョブ結果削除処理1610が含まれる。ジョブ結果削除処理1610は、ジョブ検索処理1800で検索したプロパティ付ジョブ結果ファイル1100を削除する処理である。
The job
ジョブ結果印刷プログラム1700は、ジョブ検索処理1800、ジョブ結果印刷処理1710が含まれる。ジョブ結果印刷処理1710は、ジョブ検索処理1800で検索したプロパティ付ジョブ結果ファイル1100の、実行結果1110をプリンタ装置2000で出力する処理である。
The job result
ジョブ検索処理1800は、ユーザが指定したジョブ識別子1121、ジョブ名1122等をもとに、該当するジョブのプロパティ付ジョブ結果ファイル1100を検索するための処理である。検索には、ジョブ結果管理情報900を使用する。ジョブ結果管理情報900に設定されたプロパティ付ジョブ結果ファイル1100が存在しない場合、ジョブ結果管理情報900が障害により壊れていると判断し、警告を端末装置1900へ出力する。
The job search process 1800 is a process for searching the
なお本実施形態において、コンピュータを図1〜図3の各処理を行う処理部として機能させる為のプログラムは、CD−ROM等の記録媒体に記録され磁気ディスク等に格納された後、メモリにロードされて実行されるものとする。なお前記プログラムを記録する記録媒体はCD−ROM以外の他の記録媒体でも良い。また前記プログラムを当該記録媒体から情報処理装置にインストールして使用しても良いし、ネットワークを通じて当該記録媒体にアクセスして前記プログラムを使用するものとしても良い。また本実施形態では、図1〜図3で各処理を説明しているが、それぞれの処理を異なる計算機で行う必要はなく、1つの計算機でこれらの処理を行うものとしても良い。 In the present embodiment, a program for causing the computer to function as a processing unit for performing each process of FIGS. 1 to 3 is recorded on a recording medium such as a CD-ROM and stored in a magnetic disk or the like, and then loaded into a memory. To be executed. The recording medium for recording the program may be a recording medium other than the CD-ROM. The program may be used by installing it from the recording medium into the information processing apparatus, or the program may be used by accessing the recording medium through a network. In the present embodiment, each process is described with reference to FIGS. 1 to 3, but each process need not be performed by different computers, and these processes may be performed by one computer.
図4は、GUIのファイルプロパティ画面2100で、プロパティ付ジョブ結果ファイル1100のプロパティ1120を表示する実施形態を示したものである。
FIG. 4 shows an embodiment in which the
ファイルプロパティ画面2100にジョブ管理プログラム500専用のジョブ結果タブ2110を追加し、タブを選択するとプロパティ付ジョブ結果ファイル1100のプロパティ1120を参照して、ジョブ識別子1121、ジョブ名1122、ステータス1123を、ジョブ識別子表示欄2111、ジョブ名表示欄2112、ステータス表示欄2113に表示する。これによって、ユーザがプロパティ1120をGUIのインタフェースで参照可能となる。
When a
図5は、GUIのファイラによるジョブ操作画面2200で、プロパティ付ジョブ結果ファイル1100のプロパティ1120を表示し、ジョブの実行結果1110を表示・削除・印刷する例を示したものである。
FIG. 5 shows an example of displaying the
ファイラによるジョブ操作画面2200では、ファイラにおいて一般的に表示される情報である名前カラム2210、サイズカラム2220、更新日時カラム2230等に加え、プロパティ付ジョブ結果ファイル1100のプロパティ1120を参照して、ジョブ識別子1121、ジョブ名1122、ステータス1123を、ジョブ識別子カラム2240、ジョブ名カラム2250、ステータスカラム2260に表示する。
In the
ユーザは、操作したいプロパティ付ジョブ結果ファイル1100を、ジョブ識別子1121、ジョブ名1122、ステータス1123をもとに選択し、表示ボタン2270、削除ボタン2280、印刷ボタン2290を押すことで、ジョブの実行結果1110を操作できる。
The user selects the job result file with
図6に、図1で示したジョブ定義800を詳細に示す。ユーザはジョブ定義800に、ジョブの名称であるジョブ名1122をジョブ名定義欄810に、ジョブで実行するユーザプログラム700を実行プログラム欄820に、ジョブで使用するファイルを示す使用ファイル1000を使用ファイル欄830に、ジョブの実行結果1110を出力するプロパティ付ジョブ結果ファイル1100を実行結果ファイル欄840に、それぞれ定義する。
FIG. 6 shows the
また、ユーザは全ての使用ファイル1000と、プロパティ付ジョブ結果ファイル1100について、ユーザプログラム700が使用ファイル1000とプロパティ付ジョブ結果ファイル1110のパスを識別するための、ファイル識別名850を定義する。ファイル識別名850は、ファイル割当処理520が作成する環境変数の名称に使用する。
Also, the user defines a
また、ユーザは全ての使用ファイル1000について、ジョブ開始時の処理であるファイル割当処理831と、ジョブ終了時の処理であるファイル解放処理832とを、ジョブ定義800に定義する。ファイル割当処理831は、ファイルを新規作成する「新規作成」と、既存のファイルを使用する「既存」とのどちらかを選択して定義する。ファイル解放処理832は、ファイルを記憶装置200上に残して置く「保存」と、ファイルを記憶装置200から削除する「削除」とのどちらかを選択して定義する。
In addition, the user defines a
図7に、図1で示したジョブ解析結果400を詳細に示す。ジョブ解析結果400は、ジョブ定義解析処理510が作成する。ジョブ解析結果400は、ジョブ識別子1121と、ジョブ定義800で定義された内容とを格納するテーブルである。また、ジョブ終了後に、ステータス1123が格納される。
FIG. 7 shows the job analysis result 400 shown in FIG. 1 in detail. The
ジョブ識別子領域410は、ジョブ定義解析処理510が作成したジョブ識別子1121を格納する。実行プログラム領域430は、ジョブ定義800に定義されたユーザプログラム700のパスを格納する。
The
使用ファイル1000とプロパティ付ジョブ結果ファイル1100は、ジョブ定義800に定義された全ファイルについて、定義された情報を、ジョブ解析結果400のサブテーブルである、ファイル詳細情報450に格納する。
The
ファイル詳細情報450は、ジョブ定義解析処理510がそれぞれ作成する。ファイル詳細情報450には、ジョブ定義800に定義されたファイルパス、ファイル割当処理831、ファイル解放処理832、ファイル識別子850を格納する。プロパティ付ジョブ結果ファイル1100のファイル詳細情報450においては、ファイル割当処理831、ファイル解放処理832をジョブ定義800で指定できないため、それらを格納する領域452と453には何も格納しない。
The file
図8に、図1で示したジョブ結果管理情報900を詳細に示す。ジョブ結果管理情報900は、計算機000上にジョブの実行環境を構築するとき、インストーラによって記憶装置200上に作成される。ジョブ結果管理情報900は、ファイル割当処理520が、ジョブ識別子1121と、ジョブ名1122と、それに対応するジョブ結果パスを、ジョブ識別子欄910、ジョブ名欄920、ジョブ結果パス欄930に格納する。ジョブ結果パスは、プロパティ付ジョブ結果ファイル1100のパスである。
FIG. 8 shows the job
ジョブ結果パスが示すプロパティ付ジョブ結果ファイル1100が存在しない場合、ジョブ結果管理情報900が障害で壊れていると判断する。
If the job result file with
図9に、ジョブ管理プログラム500の処理の流れを示す。ジョブ管理プログラム500は、ユーザがジョブを投入した際、ジョブスケジューラ300によって起動される。最初に、ジョブ定義解析処理510によりユーザが定義したジョブ定義800の解析と、ジョブの実行に必要なデータの作成を行う。
FIG. 9 shows a processing flow of the
次に、ファイル割当処理520により、ジョブで使用する使用ファイル1000と、ジョブの実行結果1110を格納する、プロパティ付ジョブ結果ファイル1100の割り当てを行う。プロパティ付ジョブ結果ファイル1100へのプロパティ1120の作成は、ファイル割当処理520で行う。
Next, the
次に、ジョブ実行処理530により、ユーザがジョブ定義800に定義したユーザプログラム700を実行する。
Next, the
次に、ファイル解放処理540により、使用ファイル1000と、プロパティ付ジョブ結果ファイル1100の解放を行う。プロパティ付ジョブ結果ファイル1100のプロパティ1120の編集は、ファイル解放処理540で行う。
Next, the used
図10に、ジョブ定義解析処理510の処理の流れを示す。最初に、主記憶装置010上にジョブ解析結果400を作成する(510−1)。
FIG. 10 shows a processing flow of the job
次に、ジョブ結果管理情報900を読み込む(510−2)。
次に、ジョブ識別子1121を決定する(510−3)。ジョブ識別子1121は、ジョブ管理全体で通し番号を管理したり、日時を元に値を作成したりして、ジョブ毎に一意な値を作成する。
Next, the job
Next, the
次に、記憶装置200上のジョブ定義800を読み込み(510−4)、ジョブを解析する。解析したジョブ名1122と、ユーザプログラム700を、ジョブ解析結果400に格納する(510−5、510−6)。
Next, the
次に、ジョブ定義800に定義された使用ファイル1000それぞれについて、主記憶装置010上にファイル詳細情報450を作成し、解析結果を格納する(510−7)。作成したファイル詳細情報450は、ジョブ解析結果400とリンクさせる。
Next, for each of the used
ジョブ定義800に定義された全ての使用ファイル1000を解析したら(510−8)、ジョブ定義800に定義されたプロパティ付ジョブ結果ファイル1100それぞれについて、主記憶装置010上にファイル詳細情報450を作成し、解析結果を格納する(510−9)。作成したファイル詳細情報450は、ジョブ解析結果400とリンクさせる。
When all use
ジョブ定義800に定義された全てのプロパティ付ジョブ結果ファイル1100を解析したら(510−A)、ジョブ定義解析処理510の処理を完了する。
When all the property-added job result files 1100 defined in the
図11に、ジョブ実行処理530の処理の流れを示す。ジョブ解析結果400の実行プログラム格納領域430に格納された、ユーザプログラム700を実行する(530−1)。
FIG. 11 shows the flow of the
このとき、ファイル割当処理520が作成した、使用ファイル1000とプロパティ付ジョブ結果ファイル1100のパスを格納した環境変数を、ユーザプログラム700に渡す。
At this time, the environment variable storing the paths of the
実行プログラムが完了するのを待ち(530−2)、完了したら、ジョブが正常終了だったか異常終了だったかを、ジョブ解析結果400のステータス格納領域440に格納する(530−3)。
Waiting for the execution program to be completed (530-2), and when completed, whether the job was completed normally or abnormally is stored in the
図12に、ファイル割当処理520の処理の流れを示す。最初に、ジョブ解析結果400からリンクされた使用ファイル1000のファイル詳細情報450を順番に参照する(520−1)。ファイル割当処理520が新規作成の場合(520−2)、記憶装置200上に使用ファイル1000を作成する(520−3)。作成した使用ファイル1000のパスを、環境変数に設定する(520−4)。環境変数の名称はファイル識別名850とする。
FIG. 12 shows a process flow of the
全ての使用ファイル1000の割り当てが完了したら(520−5)、ジョブ解析結果400からリンクされたプロパティ付ジョブ結果ファイル1100のファイル詳細情報450を順番に参照する(520−6)。記憶装置200上にプロパティ付ジョブ結果ファイル1100を作成する(520−7)。そして、プロパティ作成処理521により、プロパティ1120付プロパティ付ジョブ結果ファイルにプロパティ1120を作成する。作成したプロパティ付ジョブ結果ファイル1100のパスを、ジョブ結果管理情報900のジョブ結果パス930に設定する。また、作成したプロパティ付ジョブ結果ファイル1100のパスを、環境変数に設定する(520−9)。環境変数の名称はファイル識別名850とする。
When the assignment of all the used
全てのプロパティ付ジョブ結果ファイル1100の割り当てが完了したら(520−A)、ファイル割当処理520を完了する。
When the assignment of all job result files with
図13に、プロパティ作成処理521の処理の流れを示す。ファイル割当処理520で作成したプロパティ付ジョブ結果ファイル1100を読み込み(521−1)、ジョブ解析結果400のジョブ識別子欄410とジョブ名欄420とに格納された、ジョブ識別子1121と、ジョブ名1122を、プロパティ付ジョブ結果ファイル1100のプロパティ1120に設定する(521−2、521−3)。
FIG. 13 shows the flow of the
図14に、ファイル解放処理540の処理の流れを示す。最初に、ジョブ解析結果400からリンクされた使用ファイル1000のファイル詳細情報450を順番に参照する(540−1)。ファイル解放処理540が削除の場合(540−2)、記憶装置200上から使用ファイル1000を削除する(540−3)。使用ファイル1000のパスを設定していた環境変数を削除する(540−4)。
FIG. 14 shows a process flow of the
全ての使用ファイル1000の解放が完了したら(540−5)、ジョブ解析結果400からリンクされたプロパティ付ジョブ結果ファイル1100のファイル詳細情報450を、順番に参照する(540−6)。プロパティ編集処理541により、プロパティ付ジョブ結果ファイル1100のプロパティ1120を編集する。プロパティ付ジョブ結果ファイル1100のパスを設定していた環境変数を削除する(540−7)。全てのプロパティ付ジョブ結果ファイル1100の解放が完了したら(540−8)、ファイル解放処理540を完了する。
When the release of all the used
図15に、プロパティ編集処理541の処理の流れを示す。ファイル解放処理540で解放しようとしているプロパティ付ジョブ結果ファイル1100を読み込み(541−1)、プロパティ1120に、ジョブ解析結果400のステータス欄440に格納されたステータス1123を設定する(541−2)。
FIG. 15 shows the flow of the
図16に、ジョブ結果管理情報回復プログラム1400の処理の流れを示す。最初に、現在あるジョブ結果管理情報900.aは障害で壊れているので、削除する(1400−1)。そして、新たなジョブ結果管理情報900.bを再作成する(1400−2)。
FIG. 16 shows the flow of processing of the job result management
次に、記憶装置200内のファイルを順に読み込む(1400−3)。プロパティ参照処理1410によって、プロパティ付ジョブ結果ファイル1100のプロパティ1120を参照する。ジョブ結果管理情報900.bに、プロパティ参照処理1410で参照したジョブ識別子1121と、ジョブ名1122と、プロパティ付ジョブ結果ファイル1100のパスを設定する(1400−4、1400−5、1400−6)。全てのファイルについてジョブ結果管理情報900.bを設定したら(1400−7)、処理を完了する。
Next, the files in the
図17に、プロパティ参照処理1410の処理の流れを示す。ジョブ結果管理情報回復プログラム1400が読み込んだプロパティ付ジョブ結果ファイル1100のプロパティ1120から、ジョブ識別子1121と、ジョブ名1122を読み込む(1410−1、1410−2)。
FIG. 17 shows a processing flow of the
000…計算機、010…主記憶装置、020…CPU、030…入出力インタフェース、100…通信路、200…記憶装置、300…ジョブスケジューラ、400…ジョブ解析結果、500…ジョブ管理プログラム、510…ジョブ定義解析処理、520…ファイル割当処理、521…プロパティ作成処理、530…ジョブ実行処理、540…ファイル解放処理、541…プロパティ編集処理、600…OS、700…ユーザプログラム、800…ジョブ定義、900…ジョブ結果管理情報、1000…使用ファイル、1100…プロパティ付ジョブ結果ファイル、1110…実行結果、1120…プロパティ、1121…ジョブ識別子、1122…ジョブ名、1123…ステータス、1200…ジョブ管理(汎用機)、1400…ジョブ結果管理情報回復プログラム、1410…プロパティ参照処理、1500…ジョブ結果表示プログラム、1600…ジョブ結果削除プログラム、1700…ジョブ結果印刷プログラム、1800…ジョブ検索処理、1900…端末装置、2000…プリンタ装置、2100…ファイルプロパティ画面、2200…ファイラのジョブ操作画面 000 ... computer, 010 ... main storage device, 020 ... CPU, 030 ... input / output interface, 100 ... communication path, 200 ... storage device, 300 ... job scheduler, 400 ... job analysis result, 500 ... job management program, 510 ... job Definition analysis process, 520 ... file allocation process, 521 ... property creation process, 530 ... job execution process, 540 ... file release process, 541 ... property edit process, 600 ... OS, 700 ... user program, 800 ... job definition, 900 ... Job result management information, 1000 ... use file, 1100 ... job result file with property, 1110 ... execution result, 1120 ... property, 1121 ... job identifier, 1122 ... job name, 1123 ... status, 1200 ... job management (general-purpose machine), 1400 ... Jo Result management information recovery program, 1410 ... property reference processing, 1500 ... job result display program, 1600 ... job result deletion program, 1700 ... job result printing program, 1800 ... job search processing, 1900 ... terminal device, 2000 ... printer device, 2100 ... File property screen, 2200 ... Filer job operation screen
Claims (4)
前記ジョブ管理装置は、前記ジョブを実行した結果を格納するジョブ結果ファイルに当該ジョブの属性を格納するためのプロパティを作成し、そのプロパティへ前記ジョブを識別するための識別情報を設定して記憶装置へ格納し、
前記ジョブ管理装置は、前記ジョブの実行後、前記ジョブ結果ファイルに作成したプロパティへ当該ジョブの実行結果を示すステータス情報を設定して記憶装置へ格納し、
前記ジョブ管理装置は、前記ジョブを実行した結果を管理するためのジョブ結果管理情報に格納されたジョブ結果パスに前記ジョブ結果ファイルが存在しない場合に、当該ジョブ結果管理情報を削除し、新規のジョブ結果管理情報を、前記ジョブ結果ファイルに作成したプロパティ中の情報から再構築して記憶装置へ格納することを特徴とするジョブ管理方法。 In a job management method in a job management apparatus that manages jobs executed on a computer,
The job management apparatus creates a property for storing the attribute of the job in a job result file for storing the result of executing the job, and sets and stores identification information for identifying the job in the property Store in the device,
The job management device sets status information indicating the execution result of the job to the property created in the job result file after execution of the job, stores the status information in a storage device ,
When the job result file does not exist in the job result path stored in the job result management information for managing the result of executing the job, the job management device deletes the job result management information and creates a new A job management method characterized in that job result management information is reconstructed from information in properties created in the job result file and stored in a storage device .
前記ジョブを実行した結果を格納するジョブ結果ファイルに当該ジョブの属性を格納するためのプロパティを作成し、そのプロパティへ前記ジョブを識別するための識別情報を設定して記憶装置へ格納するプロパティ作成処理部と、
前記ジョブの実行後、前記ジョブ結果ファイルに作成したプロパティへ当該ジョブの実行結果を示すステータス情報を設定して記憶装置へ格納するプロパティ編集処理部とを備え、
前記ジョブを実行した結果を管理するためのジョブ結果管理情報に格納されたジョブ結果パスに前記ジョブ結果ファイルが存在しない場合に、当該ジョブ結果管理情報を削除し、新規のジョブ結果管理情報を、前記ジョブ結果ファイルに作成したプロパティ中の情報から再構築して記憶装置へ格納することを特徴とするジョブ管理装置。 In a job management device that manages jobs executed on a computer,
Create a property to store the job attribute in the job result file that stores the job execution result, set the identification information for identifying the job to the property, and create the property to store in the storage device A processing unit;
A property editing processing unit that sets status information indicating the execution result of the job to the property created in the job result file after the job is executed and stores the property information in a storage device ;
When the job result file does not exist in the job result path stored in the job result management information for managing the result of executing the job, the job result management information is deleted, and new job result management information is A job management device, wherein the job result file is reconstructed from information in the property created in the job result file and stored in a storage device.
前記ジョブ管理装置は、前記ジョブを実行した結果を格納するジョブ結果ファイルに当該ジョブの属性を格納するためのプロパティを作成し、そのプロパティへ前記ジョブを識別するための識別情報を設定して記憶装置へ格納し、
前記ジョブ管理装置は、前記ジョブの実行後、前記ジョブ結果ファイルに作成したプロパティへ当該ジョブの実行結果を示すステータス情報を設定して記憶装置へ格納し、
前記ジョブ管理装置は、前記ジョブを実行した結果を管理するためのジョブ結果管理情報に格納されたジョブ結果パスに前記ジョブ結果ファイルが存在しない場合に、当該ジョブ結果管理情報を削除し、新規のジョブ結果管理情報を、前記ジョブ結果ファイルに作成したプロパティ中の情報から再構築して記憶装置へ格納することを特徴とするジョブ管理方法をコンピュータに実行させるためのプログラム。 In a program for causing a computer to execute a job management method in a job management apparatus that manages jobs executed on a computer,
The job management apparatus creates a property for storing the attribute of the job in a job result file for storing the result of executing the job, and sets and stores identification information for identifying the job in the property Store in the device,
The job management device sets status information indicating the execution result of the job to the property created in the job result file after execution of the job, stores the status information in a storage device ,
When the job result file does not exist in the job result path stored in the job result management information for managing the result of executing the job, the job management device deletes the job result management information and creates a new A program for causing a computer to execute a job management method , wherein job result management information is reconstructed from information in properties created in the job result file and stored in a storage device .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008298185A JP5061086B2 (en) | 2008-11-21 | 2008-11-21 | Job management method, execution apparatus and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008298185A JP5061086B2 (en) | 2008-11-21 | 2008-11-21 | Job management method, execution apparatus and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010123054A JP2010123054A (en) | 2010-06-03 |
JP5061086B2 true JP5061086B2 (en) | 2012-10-31 |
Family
ID=42324324
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008298185A Expired - Fee Related JP5061086B2 (en) | 2008-11-21 | 2008-11-21 | Job management method, execution apparatus and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5061086B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6315899B2 (en) * | 2013-06-11 | 2018-04-25 | キヤノン株式会社 | Information processing apparatus, system, program, and control method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4114315B2 (en) * | 2000-11-14 | 2008-07-09 | 富士ゼロックス株式会社 | Image processing device |
JP4651295B2 (en) * | 2004-03-26 | 2011-03-16 | 株式会社日立ソリューションズ | Monitoring method of job scheduling system |
JP5090039B2 (en) * | 2007-03-28 | 2012-12-05 | 株式会社日立製作所 | Document management system and document management method |
-
2008
- 2008-11-21 JP JP2008298185A patent/JP5061086B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2010123054A (en) | 2010-06-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2005092542A (en) | Device and method for creating jobnet configuration file | |
JP5619179B2 (en) | Computer system, job execution management method, and program | |
US20100057770A1 (en) | System and method of file management, and recording medium storing file management program | |
US20060212848A1 (en) | Apparatus for managing configuration of application software | |
JP5061086B2 (en) | Job management method, execution apparatus and program thereof | |
JP4477531B2 (en) | Data import method and data import apparatus | |
US11144592B2 (en) | Extendable JSON configuration architecture | |
JP6702072B2 (en) | Control program, device, and method | |
JP5063465B2 (en) | Document management apparatus, document management method, information processing program, and recording medium | |
JP6123519B2 (en) | Information processing apparatus and information processing program | |
JP5342522B2 (en) | Installation method and program | |
JP4683535B2 (en) | Job net management system | |
JP2009163566A (en) | Job analysis support apparatus | |
JP2009053767A (en) | Program analysis device and program analysis method | |
JP2007128520A (en) | Method and system for generating manual | |
JP6124640B2 (en) | Document management apparatus, information processing method, and program | |
JP6097118B2 (en) | Program conversion device, program execution device, program conversion method, and conversion program | |
JP6393655B2 (en) | Data migration tuning device and data migration tuning method | |
JP2006011950A (en) | Installer creating apparatus, its method, and program therefor | |
JP2001312412A (en) | System and method for job scheduling | |
US20220107939A1 (en) | File management apparatus and non-transitory computer readable medium | |
JP5502696B2 (en) | Software development support system, software development support program, software development support method | |
JP5891201B2 (en) | Design document management verification apparatus and method | |
JP2000148562A (en) | Data backup method, data backup device utilizing the method and computer readable recording medium recorded with data backup program | |
JP2007034806A (en) | Information processor and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100302 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120314 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120321 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120518 |
|
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: 20120710 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120806 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150810 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |