[go: up one dir, main page]

JP2000194572A - Automatic job operational system by ups cooperation - Google Patents

Automatic job operational system by ups cooperation

Info

Publication number
JP2000194572A
JP2000194572A JP10368297A JP36829798A JP2000194572A JP 2000194572 A JP2000194572 A JP 2000194572A JP 10368297 A JP10368297 A JP 10368297A JP 36829798 A JP36829798 A JP 36829798A JP 2000194572 A JP2000194572 A JP 2000194572A
Authority
JP
Japan
Prior art keywords
job
execution
information
processing
operation status
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10368297A
Other languages
Japanese (ja)
Inventor
Mitsuo Tokuda
満男 徳田
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 JP10368297A priority Critical patent/JP2000194572A/en
Publication of JP2000194572A publication Critical patent/JP2000194572A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To make automatic job operation efficient by making it possible to confirm the priority of a quitting process in case of a power failure and operation state information at quitting time as to each job. SOLUTION: A job information registering means 101 registers the end priority, name, and reexecution necessity information of each job in a job information table 400 during system operation. If a power failure occurs, a job end priority retrieving means 102 detects respective execution jobs in the decreasing order of priority and a job operation state reference registering means 103 registers operation state information at quitting time of an execution job having 'information indicating that reexecution is necessary' set in the reexecution necessity information in a job operation state file 500. When the system is restarted, a reexecution job executing means 105 obtains the operation state information of the reexecution job detected by the reexecution job retrieving means 104 and starts the following processing of the reexecution job from the quitting point at the power failure time.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、UPS(Unin
terruptible Power System:
無停電電源装置)が設置されたコンピュータシステム
(以下、単に「システム」という場合がある)におい
て、その運用中に停電が発生した場合におけるシステム
終了処理中に実行中のジョブを自動的に途中終了させて
停電の終了後に当該ジョブの運用を再開させるためのU
PS連携による自動ジョブ運用方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a UPS (Unin
terruptable Power System:
In a computer system equipped with an uninterruptible power supply (hereinafter sometimes simply referred to as “system”), a job being executed is automatically terminated in the middle of a system termination process when a power failure occurs during its operation U to restart the operation of the job after the power failure
The present invention relates to an automatic job operation method using PS cooperation.

【0002】[0002]

【従来の技術】従来より、この種のUPS連携による自
動ジョブ運用方式では、停電時におけるUPSからの電
源供給の間に実行中のジョブの途中終了(打切り)処理
を行う機能やシステムの再起動処理を行う機能は存在し
た。
2. Description of the Related Art Conventionally, in this type of automatic job operation system based on UPS coordination, a function for performing a process of terminating (stopping) a job being executed during power supply from a UPS during a power failure or a system restart is performed. There was a function to do the processing.

【0003】しかしながら、従来のUPS連携による自
動ジョブ運用方式では、停電発生時に行われる実行中の
ジョブの打切り処理において、ユーザ業務における各ジ
ョブの重要度の高さを知る術がなかった。
[0003] However, in the conventional automatic job operation system based on the UPS cooperation, there is no way to know the importance of each job in the user's work in the process of terminating the running job performed when a power failure occurs.

【0004】また、従来のUPS連携による自動ジョブ
運用方式では、停電発生時に途中で打切りがなされたジ
ョブの打切り時の処理の進捗状況を認識するためには、
システムの再起動後にメッセージログをユーザが見て当
該ジョブに使用されていたファイルの作成状況等をユー
ザ自身が判断しなければならなかった(そのような判断
をしたとしても、その認識には限界があった)。
Further, in the conventional automatic job operation system based on UPS cooperation, in order to recognize the progress of processing when a job that has been interrupted in the middle of a power failure has occurred,
After restarting the system, the user must look at the message log and determine the creation status of the file used for the job, etc. (Even if such determination is made, the recognition is limited. was there).

【0005】[0005]

【発明が解決しようとする課題】上述した従来のUPS
連携による自動ジョブ運用方式では、次のような問題点
があった。
The above-mentioned conventional UPS
The automatic job operation method by cooperation has the following problems.

【0006】第1の問題点は、停電発生時におけるシス
テムシャットダウン処理の際に、実行中のジョブ群に対
して、システム側の決まり(起動順でジョブを終了させ
るアルゴリズムやLRU(Least Recentl
y Used)のアルゴリズム等)に基づいて、ほぼラ
ンダムな順序で各ジョブの打切り処理が行われており、
システム全体としてのジョブの運用効率が考慮されてい
ないということである。例えば、ファイル(ユーザファ
イル等)に対する書込み処理を行うジョブが早く打ち切
られると、その書込み処理の対象となるデータの保全性
が低下するという不都合が生じ、システム全体としての
運用効率が低下する。
The first problem is that when executing a system shutdown process in the event of a power failure, a set of jobs being executed is determined by the system (such as an algorithm for ending jobs in the order of startup or an LRU (Least Recentre).
y Used) algorithm, etc.), each job is terminated in a substantially random order,
This means that job operation efficiency of the entire system is not considered. For example, if a job for performing a write process on a file (such as a user file) is aborted early, there is a disadvantage that the integrity of data to be written is reduced, and the operation efficiency of the entire system is reduced.

【0007】このような問題点が生じる理由は、停電発
生時における実行中のジョブの打切り処理では、ユーザ
業務においてどのジョブの重要度が高いかを知る術がな
かったからである。
The reason that such a problem occurs is that there is no way to know which job has a high importance in the user's work in the process of terminating the job being executed when a power failure occurs.

【0008】第2の問題点は、上記のシステムシャット
ダウン処理で打ち切られたジョブに関して、当該打切り
時にどの程度処理がなされていたかをユーザが認識する
ことができず、停電発生時に途中で実行が打ち切られた
ジョブをシステム再起動時に当該打切り時点から再実行
することが困難になるということである。
[0008] The second problem is that the user cannot recognize how much processing has been performed at the time of the termination of the job that has been terminated in the above-mentioned system shutdown processing, and the execution is terminated in the middle of the power failure. This means that it becomes difficult to re-execute the job from the time of the discontinuation when the system is restarted.

【0009】このような問題点が生じる理由は、従来技
術では途中で打ち切られたジョブの打切り時点での処理
の進捗状況を見るには、システムの再起動後に当該打切
り時点で使用されていたファイルの作成状況等をメッセ
ージログからユーザが見て判断しなければならず、その
外部的情報(メッセージログ)からだけでは内部的にど
のぐらい処理されていたかが分からないからである。
The reason why such a problem arises is that, in the prior art, in order to see the progress of processing at the time of aborting a job that has been aborted halfway, the file used at the time of the abort after restarting the system is used. This is because the user has to make a judgment by looking at the message log from the message log, and it is not possible to determine how much processing has been internally performed only from the external information (message log).

【0010】本発明の目的は、上述の点に鑑み、停電発
生時における実行中のジョブ群の各々の重要度(この重
要度の反対が打切り処理の実行の優先度となる)を自動
的に認識することができ、途中で打切りがなされたジョ
ブの処理の進捗状況(経過状況)を正確に認識すること
ができ、UPS連携による自動ジョブ運用の効率化を可
能にするUPS連携による自動ジョブ運用方式を提供す
ることにある。
In view of the above, it is an object of the present invention to automatically determine the importance of each of the running job groups at the time of the occurrence of a power failure (the opposite of the importance is the priority of the execution of the abort process). Automatic job operation with UPS coordination that can recognize and can accurately recognize the progress (elapsed status) of the processing of a job that has been discontinued in the middle, and that enables more efficient automatic job operation with UPS coordination It is to provide a method.

【0011】[0011]

【課題を解決するための手段】本発明のUPS連携によ
る自動ジョブ運用方式は、システム運用中に、各ジョブ
に対する終了優先度,ジョブ名,および再実行要否情報
をジョブ情報表に登録するジョブ情報登録手段と、停電
発生時におけるUPSからの指示によるシステムシャッ
トダウン処理の際に、前記ジョブ情報表を検索して実行
ジョブ群の中から終了優先度の高い順序で各実行ジョブ
を検出するジョブ終了優先度検索手段と、停電発生時
に、前記ジョブ終了優先度検索手段によって検出された
実行ジョブであって前記ジョブ情報表内の再実行要否情
報に「再実行が必要である旨を示す情報」が設定されて
いるジョブの打切り時点における動作状況情報をジョブ
動作状況ファイルに登録した上で、各実行ジョブの打切
り処理を行うジョブ動作状況参照登録手段と、システム
再起動時に、前記ジョブ情報表内の各ジョブに対する再
実行要否情報を参照して全ての再実行ジョブを順次検出
する再実行ジョブ検索手段と、システム再起動時に、前
記再実行ジョブ検索手段によって検出された再実行ジョ
ブに対する動作状況情報を前記ジョブ動作状況ファイル
から取得して停電発生時の打切り時点からの当該再実行
ジョブの後続処理を起動する再実行ジョブ実行手段とを
有する。
According to the automatic job operation system of the present invention, the priority of each job, the job name, and the necessity of re-execution are registered in a job information table during system operation. A job ending unit that searches for the job information table and detects each execution job from the execution job group in a descending order of priority during the system shutdown process according to an instruction from the UPS when a power failure occurs. A priority search unit, and an execution job detected by the job end priority search unit when a power failure occurs, and "re-execution necessity information" in the re-execution necessity information in the job information table. The job that performs the termination processing of each execution job after registering the operation status information at the time of termination of the job for which is set in the job operation status file Operation status reference registering means, re-execution job searching means for sequentially detecting all re-execution jobs by referring to re-execution necessity information for each job in the job information table at the time of system restart, and Re-execution job execution for acquiring operation status information for the re-execution job detected by the re-execution job search unit from the job operation status file and starting subsequent processing of the re-execution job from the time of termination when a power failure occurs Means.

【0012】また、本発明のUPS連携による自動ジョ
ブ運用方式は、システム運用中に、各ジョブに対する終
了優先度,ジョブ名,再実行要否情報,およびウェイト
タイムをジョブ情報表に登録するジョブ情報登録手段
と、停電発生時におけるUPSからの指示によるシステ
ムシャットダウン処理の際に、前記ジョブ情報表を検索
して実行ジョブ群の中から終了優先度の高い順序で各実
行ジョブを検出するジョブ終了優先度検索手段と、停電
発生時に、前記ジョブ終了優先度検索手段によって検出
された実行ジョブであって前記ジョブ情報表内の再実行
要否情報に「再実行が必要である旨を示す情報」が設定
されているジョブの打切り時点における動作状況情報を
ジョブ動作状況ファイルに登録した上で、各実行ジョブ
の打切り処理を行うジョブ動作状況参照登録手段と、停
電発生時に、前記ジョブ終了優先度検索手段によって検
出された各実行ジョブについて前記ジョブ情報表から取
得した当該実行ジョブに対するウェイトタイムに基づく
待機時間だけ前記ジョブ動作状況参照登録手段による打
切り処理を待機させる待ち時間処理手段と、システム再
起動時に、前記ジョブ情報表内の各ジョブに対する再実
行要否情報を参照して全ての再実行ジョブを順次検出す
る再実行ジョブ検索手段と、システム再起動時に、前記
再実行ジョブ検索手段によって検出された再実行ジョブ
に対する動作状況情報を前記ジョブ動作状況ファイルか
ら取得して停電発生時の打切り時点からの当該再実行ジ
ョブの後続処理を起動する再実行ジョブ実行手段とを有
する構成にすることも可能である。
In the automatic job operation system according to the present invention, job priority information, job name, re-execution necessity information, and wait time for each job are registered in a job information table during system operation. A job termination priority unit for searching the job information table and detecting each execution job from the execution job group in descending order of priority during the system shutdown process in response to an instruction from the UPS when a power failure occurs And a job retrieving necessity information in the job information table, wherein "information indicating that re-execution is necessary" is included in the execution job detected by the job end priority retrieving unit when a power failure occurs. After registering the operation status information at the time of termination of the set job in the job operation status file, perform the termination process of each execution job Job operation status reference registering means, and when a power failure occurs, for each execution job detected by the job end priority search means, the job operation status by a waiting time based on a wait time for the execution job acquired from the job information table. A waiting time processing unit that waits for abort processing by the reference registration unit; and a re-execution job that sequentially detects all re-execution jobs by referring to re-execution necessity information for each job in the job information table when the system is restarted. A search unit that obtains, from the job operation status file, operation status information for the rerun job detected by the rerun job search unit when the system is restarted, It is also possible to adopt a configuration having a re-execution job executing means for starting the processing.

【0013】[0013]

【発明の実施の形態】次に、本発明について図面を参照
して詳細に説明する。
Next, the present invention will be described in detail with reference to the drawings.

【0014】(1) 第1の実施の形態 図1は、本発明の第1の実施の形態に係るUPS連携に
よる自動ジョブ運用方式の構成を示すブロック図であ
る。
(1) First Embodiment FIG. 1 is a block diagram showing a configuration of an automatic job operation system by UPS cooperation according to a first embodiment of the present invention.

【0015】本実施の形態に係るUPS連携による自動
ジョブ運用方式は、プログラム制御により動作するコン
ピュータ100(中央処理装置/データ処理装置)と、
UPS200と、端末300と、ジョブ情報表400
と、ジョブ動作状況ファイル500とを含んで構成され
ている。
The automatic job operation system based on the UPS cooperation according to the present embodiment includes a computer 100 (central processing unit / data processing unit) operating under program control,
UPS 200, terminal 300, job information table 400
And a job operation status file 500.

【0016】コンピュータ100は、ジョブ情報登録手
段101と、ジョブ終了優先度検索手段102と、ジョ
ブ動作状況参照登録手段103と、再実行ジョブ検索手
段104と、再実行ジョブ実行手段105とを含んで構
成されている。
The computer 100 includes a job information registration unit 101, a job end priority search unit 102, a job operation status reference registration unit 103, a re-execution job search unit 104, and a re-execution job execution unit 105. It is configured.

【0017】これらの手段は、それぞれ概略つぎのよう
に動作する。
Each of these means operates roughly as follows.

【0018】ジョブ情報登録手段101は、各ジョブに
ついて、終了優先度(停電発生時に当該ジョブを途中終
了(打切り)させる優先順位を示す情報),ジョブ名
(当該ジョブの識別情報),および再実行要否情報(シ
ステム再起動時に前実行時の状態から当該ジョブを再実
行させるべきか否かを指定する情報)を有するジョブ情
報表400を作成する(図5参照)。なお、再実行要否
情報は、再実行が必要である旨を示す情報(以下、図5
に示すように「〇」で表す)と、再実行が不要である旨
を示す情報(以下、図5に示すように「×」で表す)と
のいずれかを有している。
The job information registering means 101 provides, for each job, an end priority (information indicating a priority order for terminating (stopping) the job halfway when a power failure occurs), a job name (identification information of the job), and re-execution. A job information table 400 having necessity information (information specifying whether the job should be re-executed from the state at the time of previous execution when the system is restarted) is created (see FIG. 5). The re-execution necessity information is information indicating that re-execution is necessary (hereinafter, FIG. 5).
, And information indicating that re-execution is unnecessary (hereinafter, represented by “x” as shown in FIG. 5).

【0019】ジョブ終了優先度検索手段102は、停電
発生時におけるシステムシャットダウン処理の際に、ジ
ョブ情報表400を検索してその時点で動作しているジ
ョブ(実行中のジョブ)の中で終了優先度が最も高いジ
ョブを検出する。
The job end priority search means 102 searches the job information table 400 at the time of system shutdown processing when a power failure occurs, and selects the end priority job among the jobs operating at that time (executing jobs). Find the job with the highest degree.

【0020】ジョブ動作状況参照登録手段103は、停
電発生時におけるシステムシャットダウン処理の際に、
システム再起動時に、再実行要否情報をジョブ情報表4
00から取得して、再実行要否情報に「〇」が設定され
ている実行ジョブについて動作状況情報(処理を打ち切
る直前の実行状況やファイルアクセス状況等のシステム
再起動時における当該打切り時点からの再起動に必要な
情報)をジョブ動作状況ファイル500に登録する。
The job operation status reference registration unit 103 performs a system shutdown process when a power failure occurs.
At the time of system restart, the job information table 4
00 for the execution job for which the re-execution necessity information is set to “〇” (for example, the execution status immediately before aborting the process, the file access status, etc., from the time of the abort at the time of system restart). (Information necessary for restart) is registered in the job operation status file 500.

【0021】再実行ジョブ検索手段104は、システム
再起動時に、ジョブ情報表400から再実行すべきジョ
ブ(再実行ジョブ)を検索する。
The re-execution job search means 104 searches the job information table 400 for a job to be re-executed (re-execution job) when the system is restarted.

【0022】再実行ジョブ実行手段105は、再実行ジ
ョブ検索手段104によって検出された再実行ジョブの
前運用時の状態(停電発生時の打切り時点における処理
の進捗状況)をジョブ動作状況ファイル500内の動作
状況情報から取得して、当該前運用時の状態に基づいて
打切り時点から当該再実行ジョブの処理を再起動する。
The re-executing job executing means 105 stores the state of the re-executing job detected by the re-executing job searching means 104 at the time of the previous operation (processing progress at the time of termination at the time of the occurrence of power failure) in the job operation status file 500. And restarts the processing of the re-executed job from the time of termination based on the state of the previous operation.

【0023】図2は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式におけるシステム運用中の処理
を示す流れ図である。この処理は、指示・情報入力ステ
ップ201と、ジョブ情報表登録ステップ202とから
なる。
FIG. 2 is a flowchart showing processing during system operation in the automatic job operation system based on UPS cooperation according to the present embodiment. This processing includes an instruction / information input step 201 and a job information table registration step 202.

【0024】図3は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式における停電発生時の処理を示
す流れ図である。この処理は、実行ジョブ有無判定ステ
ップ301と、終了優先度最高実行ジョブ検索ステップ
302と、再実行要否情報判定ステップ303と、動作
状況情報登録ステップ304と、ジョブ打切り処理ステ
ップ305と、再実行要否情報更新ステップ306と、
システムシャットダウン処理ステップ307とからな
る。
FIG. 3 is a flow chart showing processing when a power outage occurs in the automatic job operation system using the UPS cooperation according to the present embodiment. This processing includes an execution job presence / absence determination step 301, an end priority highest execution job search step 302, a re-execution necessity information determination step 303, an operation status information registration step 304, a job termination processing step 305, a re-execution Necessity information update step 306;
It comprises a system shutdown processing step 307.

【0025】図4は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式におけるシステム再起動時の処
理を示す流れ図である。この処理は、登録ジョブ抽出ス
テップ401と、再実行要否情報検索ステップ402
と、再実行ジョブ判定ステップ403と、再実行ジョブ
動作状況情報参照取得ステップ404と、再実行ジョブ
起動ステップ405と、全登録ジョブ終了判定ステップ
406と、システム起動処理ステップ407とからな
る。
FIG. 4 is a flowchart showing a process at the time of restarting the system in the automatic job operation system based on the UPS cooperation according to the present embodiment. This processing includes a registration job extraction step 401 and a re-execution necessity information search step 402
, A re-execution job operation status information reference acquisition step 404, a re-execution job activation step 405, an all registration job end determination step 406, and a system activation processing step 407.

【0026】図5は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式におけるジョブ登録表400の
内容の具体例を示す図である。先にも言及したように、
このジョブ登録表400は、各ジョブについて、終了優
先度と、ジョブ名と、再実行要否情報とを有している。
なお、終了優先度の値は、終了させる優先順位が高い順
に、1,2,3,…と設定されている。
FIG. 5 is a diagram showing a specific example of the contents of a job registration table 400 in the automatic job operation system based on the UPS cooperation according to the present embodiment. As mentioned earlier,
The job registration table 400 has an end priority, a job name, and re-execution necessity information for each job.
The end priority values are set to 1, 2, 3,... In descending order of priority.

【0027】図6は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式の具体的な動作を説明するため
の図である。
FIG. 6 is a diagram for explaining a specific operation of the automatic job operation system using the UPS cooperation according to the present embodiment.

【0028】次に、図2,図3,図4,および図5を参
照して、上記のように構成された本実施の形態に係るU
PS連携による自動ジョブ運用方式の全体の動作につい
て詳細に説明する。
Next, with reference to FIG. 2, FIG. 3, FIG. 4, and FIG.
The overall operation of the automatic job operation method based on PS linkage will be described in detail.

【0029】第1に、図2を参照して、システム運用中
(停電発生前)における動作について説明する。
First, an operation during system operation (before power failure occurs) will be described with reference to FIG.

【0030】ジョブ情報登録手段101は、端末300
からの操作によって、指示および情報を入力し(ステッ
プ201)、その指示および情報に基づいてジョブ情報
表400を作成する(ステップ202)。すなわち、ジ
ョブ情報表400に、当該コンピュータシステムにおい
て実行されうるジョブ群の各々について、ジョブ名,終
了優先度,および再実行要否情報を登録する(図5参
照)。
The job information registration means 101 is a terminal
, Instructions and information are input (step 201), and a job information table 400 is created based on the instructions and information (step 202). That is, the job name, end priority, and re-execution necessity information are registered in the job information table 400 for each job group that can be executed in the computer system (see FIG. 5).

【0031】第2に、図3を参照して、停電発生時(シ
ステム運用中における停電の発生時)における動作につ
いて説明する。
Second, the operation when a power failure occurs (when a power failure occurs during system operation) will be described with reference to FIG.

【0032】コンピュータ100は、停電の発生により
UPS200からシステムシャットダウン指示(システ
ムシャットダウン処理を要求する指示)が出されたら、
UPS200が電源を供給している間に実行中のジョブ
群の打切り処理を行い、システムシャットダウン処理を
実行する。
When a system shutdown instruction (an instruction for requesting a system shutdown process) is issued from the UPS 200 due to the occurrence of a power failure, the computer 100
While the power is being supplied from the UPS 200, the CPU 200 performs an abort process for the job group being executed, and executes a system shutdown process.

【0033】このようなシステムシャットダウン処理の
際に、ジョブ終了優先度検索手段102は、現在実行中
のジョブ(実行ジョブ)のうち、終了させるべき優先順
位(すなわち、終了優先度)が最も高いジョブを検索す
る。すなわち、実行ジョブの有無を判定し(ステップ3
01)、ステップ301で「実行ジョブがある」と判定
した場合にはジョブ情報表400を検索して終了優先度
が最も高い実行ジョブを検出する(ステップ302)。
At the time of such a system shutdown process, the job end priority search means 102 selects the job having the highest priority (ie, the end priority) to be ended among the jobs currently being executed (executed jobs). Search for. That is, it is determined whether there is an execution job (step 3).
01), if it is determined in step 301 that there is an "executed job", the job information table 400 is searched to detect an executed job having the highest end priority (step 302).

【0034】次に、ジョブ動作状況参照登録手段103
は、ステップ302でジョブ終了優先度検索手段102
によって検出された実行ジョブに対するジョブ情報表4
00内の再実行要否情報を参照し、当該実行ジョブが
「システム再起動時に再実行すべきジョブ」であるか否
か(当該再実行要否情報が「〇」であるか「×」である
か)を判定する(ステップ303)。
Next, the job operation status reference registration means 103
Is the job end priority search means 102 in step 302
Information 4 for the execution job detected by
00, it is determined whether or not the execution job is a “job to be re-executed when the system is restarted” (by indicating whether the re-execution necessity information is “〇” or “×”). Is determined (step 303).

【0035】ジョブ動作状況参照登録手段103は、ス
テップ303で「当該実行ジョブが再実行すべきジョブ
である」と判定した場合には、当該実行ジョブの現在
(すなわち、停電による打切り直前)の動作状況やファ
イルアクセス状況等を示す動作状況情報をジョブ動作状
況ファイル500に登録する(ステップ304)。
If the job operation status reference registration unit 103 determines in step 303 that the execution job is a job to be re-executed, the current operation of the execution job (that is, immediately before the termination due to a power failure) is performed. Operation status information indicating the status, the file access status, and the like is registered in the job operation status file 500 (step 304).

【0036】ジョブ動作状況参照登録手段103は、ス
テップ303で「当該実行ジョブが再実行の不要なジョ
ブである」と判定した場合またはステップ304の登録
処理を終了した後に、当該実行ジョブの打切り処理を行
い(ステップ305)、まだ実行ジョブが存在するか否
かを判定するためにステップ301の判定に制御を戻す
(ステップ301の判定でまだ実行ジョブが存在する場
合には上記と同じ処理が繰り返される)。
If the job operation status reference registration unit 103 determines in step 303 that the execution job is a job that does not need to be re-executed, or after the registration process in step 304 is completed, the job operation status reference registration unit 103 terminates the execution job. Is performed (step 305), and control is returned to the determination at step 301 to determine whether or not an execution job still exists (if the execution job still exists at the determination at step 301, the same processing as described above is repeated). Is).

【0037】一方、ジョブ終了優先度検索手段102
は、ステップ301で「実行ジョブがない」と判定した
場合には、実行ジョブではないがジョブ情報表400に
情報が登録されているジョブであって再実行要否情報に
「〇」が設定されているジョブに対する当該再実行要否
情報を「×」に更新し(ステップ306)、システムシ
ャットダウン処理を行う既存の手段に制御を渡す(ステ
ップ307)。
On the other hand, the job end priority search means 102
If it is determined in step 301 that there is no “execution job”, the job is not an execution job but information is registered in the job information table 400, and “再” is set in the re-execution necessity information. The re-execution necessity information for the job being executed is updated to “x” (step 306), and control is passed to the existing means for performing system shutdown processing (step 307).

【0038】なお、上記のステップ307の処理の存在
により、システム運用中に再実行要否情報に「〇」が登
録されているジョブであっても、停電発生時に実行ジョ
ブでないジョブについては、システム再起動時には「再
実行ジョブ」に該当しないこととなる。ただし、このよ
うな「再実行ジョブ」に関する調整は、所定のジョブ
(停電発生時に実行ジョブではないがジョブ情報表40
0に情報が登録されているジョブであって再実行要否情
報に「〇」が設定されているジョブ)については、ジョ
ブ動作状況ファイル500に動作状況情報が登録されて
いないことに基づいて当該所定のジョブが再実行ジョブ
に該当しないことを認識することによっても、実現する
ことができる。
Note that, due to the presence of the processing in step 307, even if a job is registered as “〇” in the re-execution necessity information during system operation, if the job is not an execution job when a power failure occurs, the system At the time of restart, it does not correspond to a “re-execution job”. However, such adjustment relating to the “re-execution job” is performed using a predetermined job (not an execution job when a power failure occurs, but the job information table 40).
0 for which the information is registered and the re-execution necessity information is set to “〇”), based on the fact that the operation status information is not registered in the job operation status file 500, This can also be realized by recognizing that a predetermined job does not correspond to a re-execution job.

【0039】第3に、図4を参照して、システム再起動
時における動作について説明する。
Third, the operation at the time of restarting the system will be described with reference to FIG.

【0040】コンピュータ100は、停電の原因となっ
た障害等の修復後に、UPS200からのシステム再起
動指示に基づいて、当該コンピュータシステムの再起動
処理を実行する。
After repairing a failure or the like that caused a power failure, the computer 100 executes restart processing of the computer system based on a system restart instruction from the UPS 200.

【0041】このようなシステム再起動処理の際に、再
実行ジョブ検索手段104は、ジョブ情報表400内に
情報が登録されているジョブ(登録ジョブ)を順次(例
えば、終了優先度の高い順に)抽出する(ステップ40
1)。
At the time of such a system restart process, the re-execution job searching means 104 sequentially searches the jobs (registered jobs) whose information is registered in the job information table 400 (for example, in descending order of end priority). ) Extract (Step 40)
1).

【0042】次に、再実行ジョブ検索手段104は、ス
テップ401で抽出した登録ジョブの再実行要否情報を
ジョブ情報表400から検出し(ステップ402)、そ
の再実行要否情報に基づいて当該登録ジョブが前運用時
の打切り時点の続きから再実行すべきジョブ(再実行ジ
ョブ)であるか否か(この時点で再実行要否情報に
「〇」の指定があるか否か)を判定する(ステップ40
3)。ここで、再実行ジョブ検索手段104は、ステッ
プ403で「当該登録ジョブが再実行ジョブではない」
と判定した場合には、後述するステップ406の判定を
行う。
Next, the re-execution job search means 104 detects the re-execution necessity information of the registered job extracted in step 401 from the job information table 400 (step 402), and based on the re-execution necessity information, It is determined whether the registered job is a job to be re-executed (re-executed job) from the continuation of the termination time in the previous operation (whether or not "再" is specified in the re-execution necessity information at this time). Yes (Step 40
3). Here, the re-execution job search unit 104 determines in step 403 that “the registered job is not a re-execution job”.
When the determination is made, the determination in step 406 described below is performed.

【0043】再実行ジョブ実行手段105は、ステップ
403で「当該登録ジョブが再実行ジョブである」と判
定された場合には、ジョブ動作状況ファイル500から
当該再実行ジョブに対する動作状況情報(打切り直前の
動作状況やファイルアクセス状況等を示す情報)を取得
して(ステップ404)、前運用時の打切り時点の続き
から当該再実行ジョブを起動する(ステップ405)。
その後、再実行ジョブ実行手段105は、再実行ジョブ
検索手段104に制御を戻す。
If it is determined in step 403 that “the registered job is a re-executed job”, the re-executing job execution unit 105 reads from the job operation status file 500 the operation status information for the re-executed job (immediately before the termination). (Step 404), and the re-execution job is started from the continuation of the termination time in the previous operation (Step 405).
Thereafter, the re-execution job execution unit 105 returns control to the re-execution job search unit 104.

【0044】再実行ジョブ検索手段104は、全ての登
録ジョブについて上記の処理を終了したか否かを判定し
(ステップ406)、ステップ406で「終了していな
い」と判定した場合には次の登録ジョブを抽出し(ステ
ップ401)、当該登録ジョブに関して上記の処理を繰
り返す。
The re-execution job search means 104 determines whether or not the above processing has been completed for all registered jobs (step 406). A registered job is extracted (step 401), and the above processing is repeated for the registered job.

【0045】一方、再実行ジョブ検索手段104は、ス
テップ406で「全ての登録ジョブについて終了した」
と判定した場合には、システム起動処理を行う既存の手
段に制御を渡す(ステップ407)。
On the other hand, the re-execution job search unit 104 determines in step 406 that “the job has been completed for all registered jobs”.
If it is determined, the control is passed to the existing means for performing the system activation processing (step 407).

【0046】次に、図5および図6を参照して、本実施
の形態に係るUPS連携による自動ジョブ運用方式の具
体例について説明する。
Next, with reference to FIGS. 5 and 6, a specific example of the automatic job operation method based on the UPS cooperation according to the present embodiment will be described.

【0047】ここでは、図6に示すように、以下のa,
b,およびcのようなジョブが存在する場合を考える。
なお、本発明のUPS連携による自動ジョブ運用方式が
適用されるコンピュータシステムの代表的なものとして
は、この例で示すような種別のジョブ群(参照処理を行
うジョブ,ソート処理を行うジョブ,および登録処理を
行うジョブ)が運用されるコンピュータシステムを挙げ
ることができる(この点は、後述する第2の実施の形態
に関しても同様である)。
Here, as shown in FIG. 6, the following a,
Consider a case where jobs such as b and c exist.
A typical example of a computer system to which the automatic job operation system based on the UPS cooperation of the present invention is applied is a job group of a type as shown in this example (a job for performing a reference process, a job for performing a sort process, and A computer system in which a job for performing a registration process is operated can be cited (this is the same in the second embodiment described later).

【0048】a.予めデータが登録されているユーザフ
ァイル600に新たにデータを追加する登録処理を行う
ジョブ(JOB001)
A. Job for performing registration processing for adding new data to the user file 600 in which data is registered in advance (JOB001)

【0049】b.ユーザファイル600内のデータを参
照してある条件の基で当該データをソートし直してから
更新するソート処理を行うジョブ(JOB002)
B. A job that performs a sort process of re-sorting and updating data based on certain conditions with reference to data in the user file 600 (JOB002)

【0050】c.ユーザファイル600内に登録されて
いるデータを参照する参照処理を行うジョブ(JOB0
03)
C. Job (JOB0) that performs a reference process that refers to data registered in the user file 600
03)

【0051】この場合には、上記の3つの処理(登録処
理,ソート処理,および参照処理)の中で、参照処理の
重要性が一番小さい。そして、ファイル(ユーザファイ
ル600)に書き込み処理を行うということで共通する
登録処理とソート処理とのどちらの重要性が大きいかを
考えると、「ファイルにデータを書き込めるだけ登録し
ておきたい」という要請があるので、登録処理の重要性
が最も大きい(一番最後まで処理させておきたい)とい
うことになる。すなわち、本例では、参照処理、ソート
処理、登録処理の順番で処理を打ち切る(途中終了させ
る)ように、各ジョブの終了優先度が設定される(終了
優先度が、図5に示すように、JOB003、JOB0
02、JOB001の順となる)。
In this case, the importance of the reference processing is the least important among the above three processings (registration processing, sort processing, and reference processing). Then, considering whether the common registration process or the sorting process is more important because the writing process is performed on the file (user file 600), "I want to register as much as possible to write data into the file." Since there is a request, the importance of the registration process is greatest (I want to process it to the end). That is, in this example, the end priority of each job is set so that the process is terminated (terminates halfway) in the order of the reference process, the sort process, and the registration process (the end priority is set as shown in FIG. 5). , JOB003, JOB0
02, JOB001).

【0052】さて、上記のようなジョブ群の存在を前提
として、システム運用中における図2に示す処理(ジョ
ブ情報登録手段101の処理)では、図5に示すよう
に、ジョブ情報表400に、当該各ジョブ(JOB00
1,JOB002,およびJOB003)の終了優先
度,ジョブ名,および再実行要否情報の各項目が登録さ
れる。
Assuming the existence of the job group as described above, in the process shown in FIG. 2 (the process of the job information registration unit 101) during the operation of the system, as shown in FIG. Each job (JOB00
1, JOB002, and JOB003), the end priority, the job name, and the re-execution necessity information are registered.

【0053】なお、上記の再実行要否情報に関しては、
本例では、データを書き込む処理である登録処理と当該
データを基にしたソート処理とを順次行っておきたいた
め、登録処理を行うジョブJOB001とソート処理を
行うジョブJOB002とが「再実行の必要なジョブ」
として指定される(これらのジョブに対する再実行要否
情報に「〇」が設定される)。
The re-execution necessity information is described below.
In this example, since it is desired to sequentially perform a registration process for writing data and a sorting process based on the data, the job JOB001 for performing the registration process and the job JOB002 for performing the sorting process are “necessary for re-execution. Job "
(“再” is set in the re-execution necessity information for these jobs).

【0054】また、停電発生時には、図3に示す処理
(ジョブ終了優先度検索手段102およびジョブ動作状
況参照登録手段103の処理)として、以下のa〜dに
示すような処理が行われる。
When a power failure occurs, the following processes a to d are performed as the process shown in FIG. 3 (the process of the job end priority search means 102 and the job operation status reference and registration means 103).

【0055】a.まず、ジョブ終了優先度検索手段10
2によって、3つのジョブのうちで終了優先度が最高の
ジョブJOB003が検出される。そして、ジョブ動作
状況参照登録手段103によって、当該ジョブJOB0
03が再実行の不要なジョブであることが確認され、そ
のまま当該ジョブJOB003による参照処理の実行が
打ち切られる。
A. First, the job end priority search unit 10
2, the job JOB003 having the highest end priority among the three jobs is detected. Then, the job operation status reference registration unit 103 stores the job JOB0
03 is a job that does not need to be re-executed, and the execution of the reference process by the job JOB 003 is terminated as it is.

【0056】b.次に、ジョブ終了優先度検索手段10
2によって、実行中の2つのジョブのうちで終了優先度
の高いジョブであるジョブJOB002が検出される。
このジョブJOB002は、再実行要否情報に「〇」が
指定されている。したがって、ジョブ動作状況参照登録
手段103によって、ジョブ情報表400からその指定
がなされていることが取得され、現在の当該ジョブJO
B002に関する動作状況やファイルアクセス状況等が
システム再起動時に当該ジョブを打切り時点の続きから
実行するために必要な動作状況情報としてジョブ動作状
況ファイル500に登録され、当該ジョブJOB002
によるソート処理が打ち切られる。
B. Next, the job end priority search unit 10
2, the job JOB002, which is a job having a higher end priority, among the two jobs being executed is detected.
In this job JOB002, “〇” is designated in the re-execution necessity information. Therefore, the job operation status reference / registration unit 103 acquires that the job information is specified from the job information table 400, and the current job JO
The operation status, file access status, and the like relating to B002 are registered in the job operation status file 500 as operation status information necessary for executing the job from the continuation at the time of system termination at the time of system restart, and the job JOB002.
Is terminated.

【0057】c.最後に、ジョブ終了優先度検索手段1
02により検出されたジョブJOB001についても同
手順が経られて、ジョブ情報表400内の当該ジョブに
対する再実行要否情報(「〇」の指定)に基づいてジョ
ブ動作状況ファイル500に動作状況情報が登録された
上で、当該ジョブJOB001の打切り処理(登録処理
の打切り)が実行される。
C. Finally, job end priority search means 1
The same procedure is performed for the job JOB001 detected by the job operation information 02, and the operation status information is stored in the job operation status file 500 based on the re-execution necessity information (designation of “@”) for the job in the job information table 400. After the registration, the job JOB001 is terminated (discontinuation of the registration process).

【0058】d.以上のようにして実行ジョブがなくな
った時点で、システムシャットダウン処理が行われる。
D. When there are no more jobs to be executed as described above, the system shutdown processing is performed.

【0059】さらに、システム再起動時には、図4に示
す処理(再実行ジョブ検索手段104および再実行ジョ
ブ実行手段105の処理)として、以下のa〜cに示す
ような処理が行われる。
Further, when the system is restarted, the following processes a to c are performed as the processes shown in FIG. 4 (the processes of the re-execution job search unit 104 and the re-execution job execution unit 105).

【0060】a.まず、再実行ジョブ検索手段104に
より、ジョブ情報表400に情報が登録されているジョ
ブ(登録ジョブ)が終了優先度の高い順にサーチされ、
検出された各登録ジョブが再実行ジョブであるか否か
(再実行要否情報に「〇」の指定があるか否か)がチェ
ックされる。
A. First, the re-executed job search unit 104 searches for jobs (registered jobs) whose information is registered in the job information table 400 in the descending order of end priority.
It is checked whether or not each of the detected registered jobs is a re-execution job (whether or not the re-execution necessity information has "〇" specified).

【0061】b.ここでは、ソート処理を行うJOB0
02と登録処理を行うJOB001とが再実行ジョブで
あるので、再実行ジョブ実行手段105により、ジョブ
動作状況ファイル500からこれらのジョブの動作状況
情報が読み込まれ、前運用中の打切り時点の続きからこ
れらのジョブJOB001およびJOB002が再起動
される。
B. Here, JOB0 for performing the sorting process
02 and the job JOB001 to be registered are re-executed jobs. Therefore, the re-executed job execution unit 105 reads the operation status information of these jobs from the job operation status file 500, and starts from the continuation time of the previous operation. These jobs JOB001 and JOB002 are restarted.

【0062】c.そして、上記のような再実行ジョブ群
の起動後に、システム起動処理が行われる。
C. Then, after the re-execution job group is activated as described above, a system activation process is performed.

【0063】(2) 第2の実施の形態 図7は、本発明の第2の実施の形態に係るUPS連携に
よる自動ジョブ運用方式の構成を示すブロック図であ
る。
(2) Second Embodiment FIG. 7 is a block diagram showing a configuration of an automatic job operation system by UPS cooperation according to a second embodiment of the present invention.

【0064】本実施の形態に係るUPS連携による自動
ジョブ運用方式も、第1の実施の形態と同様に、プログ
ラム制御により動作するコンピュータ100と、UPS
200と、端末300と、ジョブ情報表400と、ジョ
ブ動作状況ファイル500とを含んで構成されている。
As in the first embodiment, the automatic job operation method based on UPS cooperation according to the present embodiment also includes a computer 100 that operates under program control and a UPS.
200, a terminal 300, a job information table 400, and a job operation status file 500.

【0065】コンピュータ100は、ジョブ情報登録手
段101と、ジョブ終了優先度検索手段102と、ジョ
ブ動作状況参照登録手段103と、再実行ジョブ検索手
段104と、再実行ジョブ実行手段105と、待ち時間
処理手段106とを含んで構成されている。
The computer 100 includes a job information registration unit 101, a job end priority search unit 102, a job operation status reference registration unit 103, a re-execution job search unit 104, a re-execution job execution unit 105, And a processing unit 106.

【0066】図8は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式における停電発生時の処理を示
す流れ図である。この処理は、実行ジョブ有無判定ステ
ップ801と、終了優先度最高実行ジョブ検索ステップ
802と、打切り処理待機ステップ803と、再実行要
否情報判定ステップ804と、動作状況情報登録ステッ
プ805と、ジョブ打切り処理ステップ806と、再起
動要否情報更新ステップ807と、システムシャットダ
ウン処理ステップ808とからなる。
FIG. 8 is a flow chart showing processing when a power failure occurs in the automatic job operation system using the UPS cooperation according to the present embodiment. This processing includes an execution job presence / absence determination step 801, an end priority highest execution job search step 802, an abort processing standby step 803, a re-execution necessity information determination step 804, an operation status information registration step 805, and a job abort. It comprises a processing step 806, a restart necessity information updating step 807, and a system shutdown processing step 808.

【0067】図9は、本実施の形態に係るUPS連携に
よる自動ジョブ運用方式におけるジョブ情報表400の
内容の具体例を示す図である。このジョブ情報表400
は、各ジョブについて、終了優先度と、ジョブ名と、再
実行要否情報と、ウェイトタイム(WaitTime)
とを有している。
FIG. 9 is a diagram showing a specific example of the contents of the job information table 400 in the automatic job operation method using the UPS cooperation according to the present embodiment. This job information table 400
Indicates the end priority, job name, re-execution necessity information, and wait time (WaitTime) for each job.
And

【0068】なお、図2および図4は、本実施の形態に
係るUPS連携による自動ジョブ運用方式におけるシス
テム運用中およびシステム再起動時の処理を示す流れ図
でもある。また、図6は、本実施の形態に係るUPS連
携による自動ジョブ運用方式の具体的な動作を説明する
ための図でもある。
FIGS. 2 and 4 are also flowcharts showing processing during system operation and system restart in the automatic job operation system based on UPS cooperation according to the present embodiment. FIG. 6 is also a diagram for explaining a specific operation of the automatic job operation method based on the UPS cooperation according to the present embodiment.

【0069】次に、このように構成されたUPS連携に
よる自動ジョブ運用方式の動作について説明する。
Next, the operation of the automatic job operation system based on the UPS linkage configured as described above will be described.

【0070】本実施の形態に係るUPS連携による自動
ジョブ運用方式の動作で、上述の第1の実施の形態に係
るUPS連携による自動ジョブ運用方式の動作とは異な
る特有のものは、ジョブ情報表400内のウェイトタイ
ムの存在および待ち時間処理手段106の存在に関係す
る動作である。したがって、ここでは、図2,図7,図
8,および図9を参照して、そのような本実施の形態に
特有の動作を中心にして説明を行う。なお、システム再
起動時における動作(図4参照)は、上述の第1の実施
の形態における動作と全く同様になるので、ここではそ
の説明を割愛する。
The operation of the automatic job operation system based on the UPS cooperation according to the present embodiment, which is different from the operation of the automatic job operation system based on the UPS cooperation according to the first embodiment, is described in the job information table. This is an operation related to the existence of the wait time in 400 and the existence of the waiting time processing means 106. Therefore, here, the description will be made with reference to FIG. 2, FIG. 7, FIG. 8, and FIG. 9 focusing on such an operation unique to the present embodiment. The operation at the time of restarting the system (see FIG. 4) is completely the same as the operation in the above-described first embodiment, and the description thereof is omitted here.

【0071】第1に、図2を参照して、システム運用中
(停電発生前)における動作について説明する。
First, an operation during system operation (before power failure occurs) will be described with reference to FIG.

【0072】ジョブ情報登録手段101は、端末300
からの操作によって、指示および情報を入力し(ステッ
プ201)、その指示および情報に基づいてジョブ情報
表400を作成する(ステップ202)。すなわち、ジ
ョブ情報表400に、当該コンピュータシステムにおい
て実行されうるジョブ群の各々について、ジョブ名,終
了優先度,再実行要否情報,およびウェイトタイムを登
録する(図9参照)。ここで、あるジョブのウェイトタ
イムとは、停電発生時において実行ジョブ群の打切り処
理を順次行っていく過程で、前のジョブの打切り処理の
実行後から当該ジョブの打切り処理の実行開始までにど
れだけの時間(例えば何秒間)待機させるかを示す情報
をいう。
The job information registering means 101
, Instructions and information are input (step 201), and a job information table 400 is created based on the instructions and information (step 202). That is, the job information, the job name, the end priority, the re-execution necessity information, and the wait time are registered in the job information table 400 (see FIG. 9). Here, the wait time of a certain job is defined as the time from the execution of the discontinuation process of the previous job to the start of the execution of the discontinuation process of the job in the process of successively performing the process of terminating the execution job group when a power failure occurs. This indicates information indicating how long to wait (for example, how many seconds).

【0073】第2に、図8を参照して、停電発生時(シ
ステム運用中における停電の発生時)における動作につ
いて説明する。
Second, the operation when a power failure occurs (when a power failure occurs during system operation) will be described with reference to FIG.

【0074】コンピュータ100は、停電の発生により
UPS200からシステムシャットダウン指示(システ
ムシャットダウン処理を要求する指示)が出されたら、
UPS200が電源を供給している間に実行中のジョブ
群の打切り処理を行い、システムシャットダウン処理を
実行する。
When a system shutdown instruction (an instruction for requesting a system shutdown process) is issued from the UPS 200 due to the occurrence of a power failure, the computer 100
While the power is being supplied from the UPS 200, the CPU 200 performs an abort process for the job group being executed, and executes a system shutdown process.

【0075】このようなシステムシャットダウン処理の
際に、ジョブ終了優先度検索手段102は、現在実行中
のジョブ(実行ジョブ)のうち、終了させるべき優先順
位(すなわち、終了優先度)が最も高いジョブを検索す
る。すなわち、実行ジョブの有無を判定し(ステップ8
01)、ステップ801で「実行ジョブがある」と判定
した場合にはジョブ情報表400を検索して終了優先度
が最も高い実行ジョブを検出する(ステップ802)。
At the time of such a system shutdown process, the job end priority search means 102 selects a job having the highest priority (ie, end priority) to be ended among jobs currently being executed (executed jobs). Search for. That is, it is determined whether there is an execution job (step 8).
01), if it is determined in step 801 that there is an "executed job", the job information table 400 is searched to detect an executed job having the highest end priority (step 802).

【0076】次に、待ち時間処理手段106は、ステッ
プ802でジョブ終了優先度検索手段102によって検
出された実行ジョブに対するジョブ情報表400内のウ
ェイトタイムの値を参照し、当該実行ジョブの打切り処
理の開始を何秒後に行うかを認識し、その時間だけ当該
打切り処理を待機(ウェイト)させる(ステップ80
3)。
Next, the waiting time processing means 106 refers to the wait time value in the job information table 400 for the execution job detected by the job end priority search means 102 in step 802, and terminates the execution job. Is recognized after how many seconds to start, and the cutoff processing is made to stand by (wait) for that time (step 80).
3).

【0077】ジョブ動作状況参照登録手段103は、ス
テップ803における待機時間が経過すると、ステップ
802でジョブ終了優先度検索手段102によって検出
された実行ジョブに対するジョブ情報表400内の再実
行要否情報を参照し、当該実行ジョブが「システム再起
動時に再実行すべきジョブ」であるか否か(当該再実行
要否情報が「〇」であるか「×」であるか)を判定する
(ステップ804)。
When the waiting time in step 803 elapses, the job operation status reference registration unit 103 stores the re-execution necessity information in the job information table 400 for the execution job detected by the job end priority search unit 102 in step 802. Then, it is determined whether or not the execution job is a “job to be re-executed when the system is restarted” (whether the re-execution necessity information is “Δ” or “x”) (step 804). ).

【0078】以下、ステップ805〜ステップ808の
処理は、第1の実施の形態におけるステップ304〜ス
テップ307の処理と同様の処理が行われる。
Hereinafter, the processing of steps 805 to 808 is the same as the processing of steps 304 to 307 in the first embodiment.

【0079】次に、図6および図8を参照して、本実施
の形態に係るUPS連携による自動ジョブ運用方式の具
体例について説明する。
Next, with reference to FIGS. 6 and 8, a specific example of the automatic job operation system based on the UPS cooperation according to the present embodiment will be described.

【0080】ここでは、第1の実施の形態に関する説明
でも言及した図6に示す3つのジョブ(登録処理を行う
ジョブJOB001,ソート処理を行うジョブJOB0
02,および参照処理を行うジョブJOB003)が存
在する場合を考える。
Here, the three jobs (job JOB001 for performing the registration process and job JOB0 for performing the sort process) shown in FIG.
02 and a job JOB003) for performing the reference process.

【0081】この場合には、システム運用中に、ジョブ
情報登録手段101によって、上記の各ジョブに関し
て、終了優先度,ジョブ名,再実行要否情報,およびウ
ェイトタイムが、ジョブ情報表400に登録される。
In this case, during the system operation, the job information registration means 101 registers the end priority, job name, re-execution necessity information, and wait time for each of the above-mentioned jobs in the job information table 400. Is done.

【0082】図9を参照すると、本例におけるジョブ情
報表400におけるウェイトタイムの指定は、「参照処
理を行うジョブJOB003に対して打切り処理が実行
された後に、60秒間の経過後に(60秒間待って)ソ
ート処理を行うジョブJOB002の打切り処理が開始
され、それからさらに20秒間の経過後に登録処理を行
うジョブJ0B001の打切り処理が開始される」とい
う内容を示す指定である。
Referring to FIG. 9, the designation of the wait time in the job information table 400 in the present example is such that “after the discontinuation process has been performed for the job JOB003 to perform the reference process, 60 seconds later (wait for 60 seconds). The job JOB002 that performs the sort process is terminated, and the job J0B001 that performs the registration process is started after a lapse of another 20 seconds. "

【0083】以上のようなジョブ情報表400の存在を
前提として、停電発生時には、図8に示す処理(ジョブ
終了優先度検索手段102,ジョブ動作状況参照登録手
段103,および待ち時間処理手段106の処理)とし
て、以下のa〜eに示すような処理が行われる。
Assuming the existence of the job information table 400 as described above, when a power failure occurs, the processing shown in FIG. 8 (job end priority search means 102, job operation status reference registration means 103, and wait time processing means 106 As the processing, the following processings a to e are performed.

【0084】a.まず、ジョブ終了優先度検索手段10
2によって、3つのジョブのうちで終了優先度が最高の
ジョブJOB003が検出される。そして、ジョブ動作
状況参照登録手段103によって、当該ジョブJOB0
03が再実行の不要なジョブであることが確認され、そ
のまま当該ジョブJOB003による参照処理の実行が
打ち切られる。なお、当該ジョブに関してはウェイトタ
イムの指定はないので、待ち時間処理手段106の処理
は行われない。
A. First, the job end priority search unit 10
2, the job JOB003 having the highest end priority among the three jobs is detected. Then, the job operation status reference registration unit 103 stores the job JOB0
03 is a job that does not need to be re-executed, and the execution of the reference process by the job JOB 003 is terminated as it is. Since no wait time is specified for the job, the processing by the waiting time processing unit 106 is not performed.

【0085】b.次に、ジョブ終了優先度検索手段10
2によって、実行中の2つのジョブのうちで終了優先度
の高いジョブであるジョブJOB002が検出される。
このジョブJOB002については、ウェイトタイムに
「60秒」が設定されている。したがって、待ち時間処
理手段106によって、当該ウェイトタイムの値に基づ
き、ソート処理を行うジョブの打切り処理の開始まで6
0秒間の待機が必要であることが認識され、その時間だ
け待機が行われる。つまり、JOB003の打切り処理
が終了してから60秒後に、JOB002の打切り処理
が開始される。現登録データ内でできるだけソート処理
を行ってから当該ソート処理を打ち切りたいような場合
に、このような指定・処理が有効となる。
B. Next, the job end priority search unit 10
2, the job JOB002, which is a job having a higher end priority, among the two jobs being executed is detected.
For this job JOB002, “60 seconds” is set as the wait time. Therefore, the waiting time processing means 106 waits for the job to be sorted to be terminated based on the value of the wait time until the end of the job.
It is recognized that a wait of 0 seconds is necessary, and the wait is performed for that time. In other words, the job termination process of JOB002 starts 60 seconds after the termination process of JOB003 ends. Such designation and processing are effective when it is desired to perform the sorting processing in the currently registered data as much as possible and then terminate the sorting processing.

【0086】c.上記のように待ち時間処理手段106
で60秒間のウェイト処理が行われた後に、当該ジョブ
JOB002の打切り処理が実行される。ここで、当該
ジョブに関しては、再実行要否情報に「〇」が指定され
ている。したがって、ジョブ動作状況参照登録手段10
3によって、ジョブ情報表400からその指定がなされ
ていることが取得され、現在の当該ジョブJOB002
に関する動作状況やファイルアクセス状況等がシステム
再起動時に当該ジョブを打切り時点の続きから実行する
ために必要な動作状況情報としてジョブ動作状況ファイ
ル500に登録され、当該ジョブJOB002によるソ
ート処理が打ち切られる。
C. As described above, the waiting time processing means 106
After the wait processing for 60 seconds is performed, the termination processing of the job JOB002 is executed. Here, regarding the job, “に” is specified in the re-execution necessity information. Therefore, the job operation status reference registration unit 10
3, it is acquired from the job information table 400 that the job is specified, and the current job JOB002 is obtained.
The operation status, file access status, and the like are registered in the job operation status file 500 as operation status information necessary to execute the job from the continuation at the time of termination when the system is restarted, and the sort processing by the job JOB002 is terminated.

【0087】d.最後に、ジョブ終了優先度検索手段1
02により検出されたジョブJOB001についても同
手順が経られて、ジョブ情報表400内の当該ジョブに
対するウェイトタイム(「20秒」の指定)および再実
行要否情報(「〇」の指定)に基づいて20秒間の待機
処理の後にジョブ動作状況ファイル500に動作状況情
報が登録された上で、当該ジョブJOB001の打切り
処理(登録処理の打切り)が実行される。
D. Finally, job end priority search means 1
The same procedure is performed for the job JOB001 detected by “02”, based on the wait time (“20 seconds” designation) and the re-execution necessity information (“情報” designation) for the job in the job information table 400. After the waiting process for 20 seconds, the operation status information is registered in the job operation status file 500, and then the job JOB001 is terminated (the registration process is terminated).

【0088】e.以上のようにして実行ジョブがなくな
った時点で、システムシャットダウン処理が行われる。
E. When there are no more jobs to be executed as described above, the system shutdown processing is performed.

【0089】(3) 第3の実施の形態 図10は、本発明の第3の実施の形態に係るUPS連携
による自動ジョブ運用方式の構成を示すブロック図であ
る。
(3) Third Embodiment FIG. 10 is a block diagram showing a configuration of an automatic job operation system based on UPS cooperation according to a third embodiment of the present invention.

【0090】図10を参照すると、本発明の第3の実施
の形態に係るUPS連携による自動ジョブ運用方式は、
図1に示した第1の実施の形態に係るUPS連携による
自動ジョブ運用方式に対して、自動ジョブ運用プログラ
ムを記録した記録媒体1000を備える点が異なってい
る。この記録媒体1000は、磁気ディスク,半導体メ
モリ,その他の記録媒体であってよい。
Referring to FIG. 10, an automatic job operation system based on UPS cooperation according to the third embodiment of the present invention is as follows.
The difference from the automatic job operation method based on UPS cooperation according to the first embodiment shown in FIG. 1 is that a recording medium 1000 in which an automatic job operation program is recorded is provided. This recording medium 1000 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0091】自動ジョブ運用プログラムは、記録媒体1
000からコンピュータ100に読み込まれ、コンピュ
ータ100の動作をジョブ情報登録手段101,ジョブ
終了優先度検索手段102,ジョブ動作状況参照登録手
段103,再実行ジョブ検索手段104,および再実行
ジョブ実行手段105として制御する。自動ジョブ運用
プログラムの制御によるコンピュータ100の動作は、
第1の実施の形態におけるコンピュータ100の動作と
全く同様になるので、その詳しい説明を割愛する。
The automatic job operation program is stored in the recording medium 1
000 is read by the computer 100, and the operations of the computer 100 are referred to as job information registration means 101, job end priority search means 102, job operation status reference registration means 103, re-execution job search means 104, and re-execution job execution means 105. Control. The operation of the computer 100 under the control of the automatic job operation program is as follows.
Since the operation is exactly the same as that of the computer 100 in the first embodiment, a detailed description thereof will be omitted.

【0092】(4) 第4の実施の形態 図11は、本発明の第4の実施の形態に係るUPS連携
による自動ジョブ運用方式の構成を示すブロック図であ
る。
(4) Fourth Embodiment FIG. 11 is a block diagram showing a configuration of an automatic job operation system based on UPS cooperation according to a fourth embodiment of the present invention.

【0093】図11を参照すると、本発明の第4の実施
の形態に係るUPS連携による自動ジョブ運用方式は、
図7に示した第2の実施の形態に係るUPS連携による
自動ジョブ運用方式に対して、自動ジョブ運用プログラ
ムを記録した記録媒体11000を備える点が異なって
いる。この記録媒体1100は、磁気ディスク,半導体
メモリ,その他の記録媒体であってよい。
Referring to FIG. 11, an automatic job operation method based on the UPS cooperation according to the fourth embodiment of the present invention is as follows.
The difference from the automatic job operation method based on the UPS cooperation according to the second embodiment shown in FIG. 7 is that a recording medium 11000 in which an automatic job operation program is recorded is provided. This recording medium 1100 may be a magnetic disk, a semiconductor memory, or another recording medium.

【0094】自動ジョブ運用プログラムは、記録媒体1
100からコンピュータ100に読み込まれ、コンピュ
ータ100の動作をジョブ情報登録手段101,ジョブ
終了優先度検索手段102,ジョブ動作状況参照登録手
段103,再実行ジョブ検索手段104,再実行ジョブ
実行手段105,および待ち時間処理手段106として
制御する。自動ジョブ運用プログラムの制御によるコン
ピュータ100の動作は、第2の実施の形態におけるコ
ンピュータ100の動作と全く同様になるので、その詳
しい説明を割愛する。
The automatic job operation program is stored in the recording medium 1
100, the operation of the computer 100 is registered in the job information registration unit 101, the job end priority search unit 102, the job operation status reference registration unit 103, the re-execution job search unit 104, the re-execution job execution unit 105, and Control is performed as the waiting time processing unit 106. Since the operation of the computer 100 under the control of the automatic job operation program is exactly the same as the operation of the computer 100 in the second embodiment, a detailed description thereof will be omitted.

【0095】[0095]

【発明の効果】以上説明したように、本発明では、以下
に示すような効果が生じる。
As described above, the present invention has the following effects.

【0096】第1の効果は、ジョブ群に終了優先度を付
加してジョブ情報表によって当該終了優先度を管理する
ことにより、停電発生時におけるシステムシャットダウ
ン処理の際に、システム全体としてのジョブの運用効率
を考慮して各ジョブの打切り処理を実行することができ
るということである。例えば、停電発生時に当該ジョブ
群の処理を打ち切る際において、当該ジョブ群の使用デ
ータの保全性を向上させることができる。
The first effect is that the end priority is added to the job group and the end priority is managed by the job information table, so that when the system is shut down when a power failure occurs, the job as a whole system is processed. That is, it is possible to execute the termination processing of each job in consideration of the operational efficiency. For example, when the processing of the job group is terminated when a power failure occurs, the integrity of use data of the job group can be improved.

【0097】このような効果が生じる理由は、特にファ
イルに対する書込み処理を行うジョブの終了優先度(処
理の打切りの順位)を、他の処理(参照処理等)を行う
ジョブの終了優先度よりも低く設定しておけば、UPS
からの電源供給が続いている間は、できるだけ多くのデ
ータをファイルに書き込むことができ、使用データの保
全性等を向上させることができるからである。
The reason why such an effect occurs is that, in particular, the end priority (order of processing termination) of a job that performs writing processing on a file is higher than the end priority of a job that performs other processing (reference processing and the like). If you set it low, UPS
This is because as much data as possible can be written to the file while the power supply from is continued, thereby improving the integrity of the used data and the like.

【0098】第2の効果は、停電発生時に途中で打ち切
られたジョブを、システム再起動時に当該打切り時点の
続きから実行できるので、システム全体としての運用時
間の効率化を実現できるということである。例えば、停
電発生時に途中まで登録処理やソート処理が行われてい
たファイルを、システム再起動時にまた始めから処理し
直すということがなくなり、それらのジョブの運用を効
率的に行うことができるようになる。
The second effect is that, since a job that has been interrupted halfway when a power failure occurs can be executed from the continuation of the time when the system is restarted, the operation time of the entire system can be made more efficient. . For example, files that had been registered or sorted halfway through when a power failure occurred will not be processed again from the beginning when the system is restarted, so that those jobs can be operated efficiently. Become.

【0099】このような効果が生じる理由は、当該打切
り時点における当該ジョブの動作状況情報を動作状況フ
ァイルに保存しておくことができるからである。
The reason why such an effect is generated is that the operation status information of the job at the time of the termination can be stored in the operation status file.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係るUPS連携に
よる自動ジョブ運用方式の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of an automatic job operation system based on UPS cooperation according to a first embodiment of the present invention.

【図2】図1および図7に示すUPS連携による自動ジ
ョブ運用方式におけるシステム運用中の処理を示す流れ
図である。
FIG. 2 is a flowchart showing processing during system operation in the automatic job operation system based on the UPS cooperation shown in FIGS. 1 and 7;

【図3】図1に示すUPS連携による自動ジョブ運用方
式における停電発生時の処理を示す流れ図である。
FIG. 3 is a flowchart showing processing when a power failure occurs in the automatic job operation system based on the UPS cooperation shown in FIG. 1;

【図4】図1および図7に示すUPS連携による自動ジ
ョブ運用方式におけるシステム再起動時の処理を示す流
れ図である。
FIG. 4 is a flowchart showing a process at the time of restarting the system in the automatic job operation system based on the UPS cooperation shown in FIGS. 1 and 7;

【図5】図1中のジョブ情報表の内容の具体例を示す図
である。
FIG. 5 is a diagram showing a specific example of the contents of a job information table in FIG. 1;

【図6】図1および図7に示すUPS連携による自動ジ
ョブ運用方式で運用されるジョブの具体例を示す図であ
る。
FIG. 6 is a diagram showing a specific example of a job operated by the automatic job operation method based on the UPS cooperation shown in FIGS. 1 and 7.

【図7】本発明の第2の実施の形態に係るUPS連携に
よる自動ジョブ運用方式の構成を示すブロック図であ
る。
FIG. 7 is a block diagram illustrating a configuration of an automatic job operation method based on UPS cooperation according to a second embodiment of the present invention.

【図8】図7に示すUPS連携による自動ジョブ運用方
式における停電発生時の処理を示す流れ図である。
FIG. 8 is a flowchart showing processing when a power failure occurs in the automatic job operation system using the UPS cooperation shown in FIG. 7;

【図9】図7中のジョブ情報表の内容の具体例を示す図
である。
9 is a diagram showing a specific example of the contents of a job information table in FIG. 7;

【図10】本発明の第3の実施の形態に係るUPS連携
による自動ジョブ運用方式の構成を示すブロック図であ
る。
FIG. 10 is a block diagram showing a configuration of an automatic job operation system based on UPS cooperation according to a third embodiment of the present invention.

【図11】本発明の第4の実施の形態に係るUPS連携
による自動ジョブ運用方式の構成を示すブロック図であ
る。
FIG. 11 is a block diagram showing a configuration of an automatic job operation system based on UPS cooperation according to a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

100 コンピュータ 101 ジョブ情報登録手段 102 ジョブ終了優先度検索手段 103 ジョブ動作状況参照登録手段 104 再実行ジョブ検索手段 105 再実行ジョブ実行手段 106 待ち時間処理手段 200 UPS 300 端末 400 ジョブ情報表 500 ジョブ動作状況ファイル 600 ユーザファイル 1000,1100 記録媒体 REFERENCE SIGNS LIST 100 computer 101 job information registration means 102 job end priority search means 103 job operation status reference registration means 104 re-execution job search means 105 re-execution job execution means 106 waiting time processing means 200 UPS 300 terminal 400 job information table 500 job operation status File 600 User file 1000, 1100 Recording medium

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 システム運用中に、各ジョブに対する終
了優先度,ジョブ名,および再実行要否情報をジョブ情
報表に登録するジョブ情報登録手段と、停電発生時にお
けるUPSからの指示によるシステムシャットダウン処
理の際に、前記ジョブ情報表を検索して実行ジョブ群の
中から終了優先度の高い順序で各実行ジョブを検出する
ジョブ終了優先度検索手段と、停電発生時に、前記ジョ
ブ終了優先度検索手段によって検出された実行ジョブで
あって前記ジョブ情報表内の再実行要否情報に「再実行
が必要である旨を示す情報」が設定されているジョブの
打切り時点における動作状況情報をジョブ動作状況ファ
イルに登録した上で、各実行ジョブの打切り処理を行う
ジョブ動作状況参照登録手段と、システム再起動時に、
前記ジョブ情報表内の各ジョブに対する再実行要否情報
を参照して全ての再実行ジョブを順次検出する再実行ジ
ョブ検索手段と、システム再起動時に、前記再実行ジョ
ブ検索手段によって検出された再実行ジョブに対する動
作状況情報を前記ジョブ動作状況ファイルから取得して
停電発生時の打切り時点からの当該再実行ジョブの後続
処理を起動する再実行ジョブ実行手段とを有することを
特徴とするUPS連携による自動ジョブ運用方式。
1. A job information registering means for registering, in a job information table, an end priority, a job name, and information on necessity of re-execution for each job during a system operation, and a system shutdown by an instruction from a UPS when a power failure occurs. A job end priority search unit that searches the job information table and detects each execution job in a descending order of execution priority from the execution job group during processing; and a job end priority search when a power failure occurs. The operation status information at the time of discontinuation of a job whose execution is detected by the means and for which “information indicating that re-execution is required” is set in the re-execution necessity information in the job information table is a job operation. A job operation status reference registration unit that performs abort processing of each execution job after registration in the status file, and at the time of system restart,
A re-execution job search unit for sequentially detecting all re-execution jobs by referring to the re-execution necessity information for each job in the job information table; and a re-execution job detected by the re-execution job search unit when the system is restarted. Re-executing job execution means for acquiring operation status information for an executed job from the job operation status file and starting subsequent processing of the re-executed job from the time of termination when a power failure occurs. Automatic job operation method.
【請求項2】 停電発生時に実行ジョブではないがジョ
ブ情報表内の再実行要否情報に「再実行が必要である旨
を示す情報」が設定されているジョブに対する当該再実
行要否情報を「再実行が不要である旨を示す情報」に更
新するジョブ終了優先度検索手段を有することを特徴と
する請求項1記載のUPS連携による自動ジョブ運用方
式。
2. The re-execution necessity information for a job that is not an execution job when a power failure occurs but has “re-execution necessity information” set in the re-execution necessity information in the job information table. 2. The automatic job operation system according to claim 1, further comprising a job end priority search unit that updates the information with information indicating that re-execution is unnecessary.
【請求項3】 「登録処理を行うジョブ」,「ソート処
理を行うジョブ」,および「参照処理を行うジョブ」と
いう種別のジョブが運用され、終了優先度が「参照処理
を行うジョブ」、「ソート処理を行うジョブ」、「登録
処理を行うジョブ」の順序で高く設定され、システム運
用中に「ソート処理を行うジョブ」および「登録処理を
行うジョブ」に対する再実行要否情報に「再実行が必要
である旨を示す情報」が設定されることを特徴とする請
求項1または請求項2記載のUPS連携による自動ジョ
ブ運用方式。
3. Jobs of the types “job for performing registration processing”, “job for performing sorting processing”, and “job for performing reference processing” are operated, and the end priority is “job for performing reference processing”, It is set higher in the order of "Job to perform the sorting process" and "Job to perform the registration process". 3. The automatic job operation system according to claim 1 or 2, wherein "information indicating that a job is required" is set.
【請求項4】 システム運用中に、各ジョブに対する終
了優先度,ジョブ名,再実行要否情報,およびウェイト
タイムをジョブ情報表に登録するジョブ情報登録手段
と、停電発生時におけるUPSからの指示によるシステ
ムシャットダウン処理の際に、前記ジョブ情報表を検索
して実行ジョブ群の中から終了優先度の高い順序で各実
行ジョブを検出するジョブ終了優先度検索手段と、停電
発生時に、前記ジョブ終了優先度検索手段によって検出
された実行ジョブであって前記ジョブ情報表内の再実行
要否情報に「再実行が必要である旨を示す情報」が設定
されているジョブの打切り時点における動作状況情報を
ジョブ動作状況ファイルに登録した上で、各実行ジョブ
の打切り処理を行うジョブ動作状況参照登録手段と、停
電発生時に、前記ジョブ終了優先度検索手段によって検
出された各実行ジョブについて前記ジョブ情報表から取
得した当該実行ジョブに対するウェイトタイムに基づく
待機時間だけ前記ジョブ動作状況参照登録手段による打
切り処理を待機させる待ち時間処理手段と、システム再
起動時に、前記ジョブ情報表内の各ジョブに対する再実
行要否情報を参照して全ての再実行ジョブを順次検出す
る再実行ジョブ検索手段と、システム再起動時に、前記
再実行ジョブ検索手段によって検出された再実行ジョブ
に対する動作状況情報を前記ジョブ動作状況ファイルか
ら取得して停電発生時の打切り時点からの当該再実行ジ
ョブの後続処理を起動する再実行ジョブ実行手段とを有
することを特徴とするUPS連携による自動ジョブ運用
方式。
4. A job information registering means for registering an end priority, a job name, re-execution necessity information, and a wait time for each job in a job information table during system operation, and an instruction from the UPS when a power failure occurs. A job end priority search unit that searches the job information table and detects each execution job in descending order of execution priority from a group of execution jobs during a system shutdown process, and Operation status information at the time of discontinuation of a job that is an execution job detected by the priority search unit and for which “information indicating that re-execution is required” is set in the re-execution necessity information in the job information table A job operation status reference registering unit that terminates each execution job after registering the job in a job operation status file; Waiting time processing means for waiting for aborting processing by the job operation status reference registration means for a waiting time based on a wait time for the execution job obtained from the job information table for each execution job detected by the job end priority search means; A re-execution job searching means for sequentially detecting all re-execution jobs by referring to re-execution necessity information for each job in the job information table when the system is restarted; Re-execution job execution means for acquiring operation status information for the re-execution job detected by the means from the job operation status file and starting subsequent processing of the re-execution job from the time of termination when a power failure occurs. The feature is an automatic job operation method by UPS cooperation.
【請求項5】 停電発生時に実行ジョブではないがジョ
ブ情報表内の再実行要否情報に「再実行が必要である旨
を示す情報」が設定されているジョブに対する当該再実
行要否情報を「再実行が不要である旨を示す情報」に更
新するジョブ終了優先度検索手段を有することを特徴と
する請求項4記載のUPS連携による自動ジョブ運用方
式。
5. The re-execution necessity information for a job that is not an execution job at the time of a power failure but has “re-execution necessity information” set in the re-execution necessity information in the job information table. 5. The automatic job operation system according to claim 4, further comprising a job end priority search unit that updates the information to "information indicating that re-execution is unnecessary".
【請求項6】 「登録処理を行うジョブ」,「ソート処
理を行うジョブ」,および「参照処理を行うジョブ」と
いう種別のジョブが運用され、終了優先度が「参照処理
を行うジョブ」、「ソート処理を行うジョブ」、「登録
処理を行うジョブ」の順序で高く設定され、システム運
用中に「ソート処理を行うジョブ」および「登録処理を
行うジョブ」に対する再実行要否情報に「再実行が必要
である旨を示す情報」が設定されることを特徴とする請
求項4または請求項5記載のUPS連携による自動ジョ
ブ運用方式。
6. Jobs of the types “job for performing registration processing”, “job for performing sorting processing”, and “job for performing reference processing” are operated, and the end priority is “job for performing reference processing”, “job for performing reference processing”, It is set higher in the order of "Job to perform the sorting process" and "Job to perform the registration process". 6. The automatic job operation system according to claim 4, wherein "information indicating that a job is required" is set.
【請求項7】 UPSと連携して動作するコンピュータ
を、システム運用中に、各ジョブに対する終了優先度,
ジョブ名,および再実行要否情報をジョブ情報表に登録
するジョブ情報登録手段,停電発生時におけるUPSか
らの指示によるシステムシャットダウン処理の際に、前
記ジョブ情報表を検索して実行ジョブ群の中から終了優
先度の高い順序で各実行ジョブを検出するジョブ終了優
先度検索手段,停電発生時に、前記ジョブ終了優先度検
索手段によって検出された実行ジョブであって前記ジョ
ブ情報表内の再実行要否情報に「再実行が必要である旨
を示す情報」が設定されているジョブの打切り時点にお
ける動作状況情報をジョブ動作状況ファイルに登録した
上で、各実行ジョブの打切り処理を行うジョブ動作状況
参照登録手段,システム再起動時に、前記ジョブ情報表
内の各ジョブに対する再実行要否情報を参照して全ての
再実行ジョブを順次検出する再実行ジョブ検索手段,な
らびにシステム再起動時に、前記再実行ジョブ検索手段
によって検出された再実行ジョブに対する動作状況情報
を前記ジョブ動作状況ファイルから取得して停電発生時
の打切り時点からの当該再実行ジョブの後続処理を起動
する再実行ジョブ実行手段として機能させるためのプロ
グラムを記録した記録媒体。
7. A computer operating in cooperation with the UPS is provided with an end priority for each job during system operation.
A job information registration unit for registering a job name and re-execution necessity information in a job information table, and searching for the job information table and executing the job in the execution job group during system shutdown processing in response to an instruction from the UPS when a power failure occurs , A job end priority search unit for detecting each execution job in descending order of end priority, and an execution job detected by the job end priority search unit when a power failure occurs. Register the operation status information at the time of discontinuation of the job whose rejection information is set to "information indicating that re-execution is required" in the job operation status file, and then execute the job termination status for each execution job The reference registration unit, when the system is restarted, sequentially refers to the re-execution necessity information for each job in the job information table to order all re-executed jobs. The re-execution job search means to be detected, and at the time of system restart, the operation status information for the re-execution job detected by the re-execution job search means is obtained from the job operation status file, and A recording medium on which a program for functioning as a re-execution job executing means for starting a subsequent process of the re-execution job is recorded.
【請求項8】 UPSと連携して動作するコンピュータ
を、システム運用中に、各ジョブに対する終了優先度,
ジョブ名,再実行要否情報,およびウェイトタイムをジ
ョブ情報表に登録するジョブ情報登録手段,停電発生時
におけるUPSからの指示によるシステムシャットダウ
ン処理の際に、前記ジョブ情報表を検索して実行ジョブ
群の中から終了優先度の高い順序で各実行ジョブを検出
するジョブ終了優先度検索手段,停電発生時に、前記ジ
ョブ終了優先度検索手段によって検出された実行ジョブ
であって前記ジョブ情報表内の再実行要否情報に「再実
行が必要である旨を示す情報」が設定されているジョブ
の打切り時点における動作状況情報をジョブ動作状況フ
ァイルに登録した上で、各実行ジョブの打切り処理を行
うジョブ動作状況参照登録手段,停電発生時に、前記ジ
ョブ終了優先度検索手段によって検出された各実行ジョ
ブについて前記ジョブ情報表から取得した当該実行ジョ
ブに対するウェイトタイムに基づく待機時間だけ前記ジ
ョブ動作状況参照登録手段による打切り処理を待機させ
る待ち時間処理手段,システム再起動時に、前記ジョブ
情報表内の各ジョブに対する再実行要否情報を参照して
全ての再実行ジョブを順次検出する再実行ジョブ検索手
段,ならびにシステム再起動時に、前記再実行ジョブ検
索手段によって検出された再実行ジョブに対する動作状
況情報を前記ジョブ動作状況ファイルから取得して停電
発生時の打切り時点からの当該再実行ジョブの後続処理
を起動する再実行ジョブ実行手段として機能させるため
のプログラムを記録した記録媒体。
8. A computer that operates in cooperation with the UPS is provided with an end priority for each job during system operation.
Job information registering means for registering a job name, re-execution necessity information, and wait time in a job information table. Searching the job information table for an execution job during system shutdown processing in response to an instruction from the UPS when a power failure occurs A job end priority search unit for detecting each execution job in the order of the end priority from the group, and an execution job detected by the job end priority search unit when a power failure occurs, and After registering the operation status information at the time of discontinuation of the job whose reexecution necessity information is set to "information indicating that reexecution is required" in the job operation status file, perform the termination process of each execution job For each execution job detected by the job operation status reference registration unit and the job end priority search unit when a power failure occurs, the job Waiting time processing means for suspending the abort processing by the job operation status reference registration means for a waiting time based on the wait time for the execution job acquired from the job information table, and restarting each job in the job information table upon system restart Re-execution job search means for sequentially detecting all re-execution jobs with reference to the execution necessity information; and, when the system is restarted, the operation status information for the re-execution job detected by the re-execution job search means. A recording medium on which a program for functioning as a re-execution job execution unit for starting subsequent processing of the re-execution job from the time of termination when a power failure occurs is obtained from the status file.
JP10368297A 1998-12-25 1998-12-25 Automatic job operational system by ups cooperation Pending JP2000194572A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10368297A JP2000194572A (en) 1998-12-25 1998-12-25 Automatic job operational system by ups cooperation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10368297A JP2000194572A (en) 1998-12-25 1998-12-25 Automatic job operational system by ups cooperation

Publications (1)

Publication Number Publication Date
JP2000194572A true JP2000194572A (en) 2000-07-14

Family

ID=18491468

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10368297A Pending JP2000194572A (en) 1998-12-25 1998-12-25 Automatic job operational system by ups cooperation

Country Status (1)

Country Link
JP (1) JP2000194572A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007518169A (en) * 2004-01-14 2007-07-05 インターナショナル・ビジネス・マシーンズ・コーポレーション Maintaining application behavior within a sub-optimal grid environment
JP2008171427A (en) * 2007-01-11 2008-07-24 Internatl Business Mach Corp <Ibm> Method for determining optimum order for rebooting a plurality of servers in data center
US7921133B2 (en) 2004-06-10 2011-04-05 International Business Machines Corporation Query meaning determination through a grid service
US8275881B2 (en) 2004-01-13 2012-09-25 International Business Machines Corporation Managing escalating resource needs within a grid environment
US8346591B2 (en) 2005-01-12 2013-01-01 International Business Machines Corporation Automating responses by grid providers to bid requests indicating criteria for a grid job
US8387058B2 (en) 2004-01-13 2013-02-26 International Business Machines Corporation Minimizing complex decisions to allocate additional resources to a job submitted to a grid environment
US8396757B2 (en) 2005-01-12 2013-03-12 International Business Machines Corporation Estimating future grid job costs by classifying grid jobs and storing results of processing grid job microcosms
US8583650B2 (en) 2005-01-06 2013-11-12 International Business Machines Corporation Automated management of software images for efficient resource node building within a grid environment
JP2014052687A (en) * 2012-09-05 2014-03-20 Nec Engineering Ltd Virtual machine management system, management server, and virtual machine management method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8275881B2 (en) 2004-01-13 2012-09-25 International Business Machines Corporation Managing escalating resource needs within a grid environment
US8387058B2 (en) 2004-01-13 2013-02-26 International Business Machines Corporation Minimizing complex decisions to allocate additional resources to a job submitted to a grid environment
JP2007518169A (en) * 2004-01-14 2007-07-05 インターナショナル・ビジネス・マシーンズ・コーポレーション Maintaining application behavior within a sub-optimal grid environment
US8136118B2 (en) 2004-01-14 2012-03-13 International Business Machines Corporation Maintaining application operations within a suboptimal grid environment
US7921133B2 (en) 2004-06-10 2011-04-05 International Business Machines Corporation Query meaning determination through a grid service
US8583650B2 (en) 2005-01-06 2013-11-12 International Business Machines Corporation Automated management of software images for efficient resource node building within a grid environment
US8346591B2 (en) 2005-01-12 2013-01-01 International Business Machines Corporation Automating responses by grid providers to bid requests indicating criteria for a grid job
US8396757B2 (en) 2005-01-12 2013-03-12 International Business Machines Corporation Estimating future grid job costs by classifying grid jobs and storing results of processing grid job microcosms
JP2008171427A (en) * 2007-01-11 2008-07-24 Internatl Business Mach Corp <Ibm> Method for determining optimum order for rebooting a plurality of servers in data center
JP2014052687A (en) * 2012-09-05 2014-03-20 Nec Engineering Ltd Virtual machine management system, management server, and virtual machine management method

Similar Documents

Publication Publication Date Title
US12253916B2 (en) Redo avoidance during database recovery
US20030051127A1 (en) Method of booting electronic apparatus, electronic apparatus and program
JP2000194572A (en) Automatic job operational system by ups cooperation
JP2000242484A (en) How to change the control program
JP2809271B2 (en) Job re-execution method
JP2006065440A (en) Process management system
JP2001356946A (en) Workflow execution method and apparatus, and recording medium recording workflow execution program
US5617558A (en) Method of executing a series of computer code operations that must be completed without interruption by a page fault during execution
US5655072A (en) Method and apparatus for testing a sytem component with test checkpointing
JP2001005693A (en) Automatic failure recovery system, automatic failure recovery method, and recording medium storing automatic failure recovery program
JP2002366396A (en) System and program for automatically collecting fault analysis information
JP2713218B2 (en) Checkpoint / restart processing method
JP2000181735A (en) System for batch job recovery in system fault
JPH08286936A (en) System starting device
JP2003256085A (en) Information processor
JP2000315190A (en) Job recovery system
JPH1091478A (en) Agent management method
CN117504276A (en) Game server player data processing method, system and electronic device
JP2006293582A (en) Automatic job rerun system
JP4089649B2 (en) Buffer leak recovery system
JPH03246643A (en) Processing for editing dump summary
CN120123122A (en) Database transaction playback system and method
JPH0425941A (en) Ipl resuming system
JPH04354019A (en) Sort processor
JPH03225434A (en) Job reactuation system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040315

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040728