JP7508974B2 - JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM - Google Patents

JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM Download PDF

Info

Publication number
JP7508974B2
JP7508974B2 JP2020161646A JP2020161646A JP7508974B2 JP 7508974 B2 JP7508974 B2 JP 7508974B2 JP 2020161646 A JP2020161646 A JP 2020161646A JP 2020161646 A JP2020161646 A JP 2020161646A JP 7508974 B2 JP7508974 B2 JP 7508974B2
Authority
JP
Japan
Prior art keywords
job
execution
information
management
standby
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020161646A
Other languages
Japanese (ja)
Other versions
JP2022054543A (en
Inventor
昭宏 渡邉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2020161646A priority Critical patent/JP7508974B2/en
Publication of JP2022054543A publication Critical patent/JP2022054543A/en
Application granted granted Critical
Publication of JP7508974B2 publication Critical patent/JP7508974B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

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

現用系のシステムの障害に備え、現用系のシステムのデータを複製した待機系のシステムを用意する場合がある。現用系のシステムに障害が発生した場合、現用系のシステムから待機系のシステムに系を切り替えることで、システムの運用は継続される。 In preparation for a failure of the active system, a standby system that replicates the data of the active system may be prepared. If a failure occurs in the active system, system operation can be continued by switching from the active system to the standby system.

現用系として稼働するジョブ実行装置とジョブ管理装置とを含むシステムの障害に備え、待機系として稼働するジョブ実行装置とジョブ管理装置とを含むシステムがあるとする。 Let us assume that there is a system including a job execution device and a job management device that operate as a standby system in preparation for a failure of the system including the job execution device and the job management device that operate as an active system.

ここで、ジョブを実行する装置をジョブ実行装置と呼ぶ。ジョブ実行装置は、ジョブの実行により得た成果物と、実行したジョブに関する情報とを記憶する。また、現用系のジョブ実行装置に記憶されている、成果物と、実行したジョブに関する情報とは、待機系のジョブ実行装置に非同期にレプリケーション(複製)されるとする。 Here, a device that executes a job is called a job execution device. The job execution device stores the results obtained by executing the job and information about the executed job. In addition, the results and information about the executed job stored in the active job execution device are asynchronously replicated (copied) to the standby job execution device.

また、ジョブ実行装置に実行させるジョブを管理する装置をジョブ管理装置と呼ぶ。ジョブ管理装置は、ジョブをジョブ実行装置に実行させるか否かを判定するための情報である、ジョブの管理に関する情報を記憶する。また、現用系のジョブ管理装置に記憶されている、ジョブの管理に関する情報は、待機系のジョブ管理装置に、非同期にレプリケーションされるとする。 A device that manages jobs to be executed by a job execution device is called a job management device. The job management device stores information related to job management, which is information used to determine whether or not to execute a job on a job execution device. The job management information stored in the active job management device is asynchronously replicated to the standby job management device.

現用系のシステムでは、現用系のシステムに含まれるジョブ実行装置が実行したジョブは、実行したジョブに関する情報において、実行済みとして示される。また、ジョブ実行装置が実行したジョブは、ジョブ管理装置のジョブの管理に関する情報においても実行済みとして示される。 In the active system, jobs executed by a job execution device included in the active system are indicated as having been executed in information about the executed jobs. Jobs executed by a job execution device are also indicated as having been executed in information about job management of a job management device.

前述したように、非同期にレプリケーションが行われるので、複製のタイミングは、現用系のジョブ実行装置やジョブ管理装置ごとに異なる。そのため、系が切り替えられた場合、待機系のジョブ実行装置に複製されている、実行したジョブに関する情報において実行済みと示されたジョブが、待機系のジョブ管理装置に複製されている、ジョブの管理に関する情報においては未実行とされている場合がある。このように、待機系のシステムに系が切り替えられた場合に、待機系のジョブ実行装置に複製された、実行したジョブに関する情報と、待機系のジョブ管理装置のジョブの管理に関する情報とが整合しない可能性がある。待機系のジョブ実行装置に複製された、実行したジョブに関する情報と、待機系のジョブ管理装置のジョブの管理に関する情報とが整合しない場合、待機系のジョブ管理システムに不都合が生じる可能性がある。 As described above, because replication is performed asynchronously, the timing of replication differs for each active job execution device and job management device. Therefore, when the system is switched, a job that is indicated as executed in the information about the executed job that is replicated to the job execution device of the standby system may be indicated as not executed in the information about job management that is replicated to the job management device of the standby system. In this way, when the system is switched to the standby system, there is a possibility that the information about the executed job that is replicated to the job execution device of the standby system and the information about job management of the job management device of the standby system will not be consistent. If the information about the executed job that is replicated to the job execution device of the standby system and the information about job management of the job management device of the standby system are not consistent, problems may occur in the job management system of the standby system.

たとえば、待機系のジョブ管理装置の管理に関する情報においては実行済みであるとされているジョブの成果物が、待機系のジョブ実行装置に複製されていないとする。この場合、待機系のジョブ管理装置が、複製されていない成果物を入力として使用するジョブの実行を待機系のジョブ実行装置に指示しても、待機系のジョブ実行装置は、そのジョブを実行することができない。また、この場合、待機系のジョブ実行装置に複製されている、実行したジョブに関する情報においては、複製されていない成果物を得るジョブについて未実行であると示される。 For example, suppose that the result of a job that is indicated as having been executed in the information on management of the standby job management device has not been replicated on the standby job execution device. In this case, even if the standby job management device instructs the standby job execution device to execute a job that uses an unreplicated result as input, the standby job execution device cannot execute the job. In this case, the information on the executed job that is replicated on the standby job execution device indicates that the job that obtains the unreplicated result has not been executed.

このように、待機系のジョブ管理装置のジョブの管理に関する情報が、待機系のジョブ実行装置に複製された、実行したジョブに関する情報と整合していない場合、待機系のシステムに系が切り替えられた後に不都合が生じる可能性がある。 In this way, if the information about job management in the standby job management device is not consistent with the information about executed jobs that is copied to the standby job execution device, problems may occur after the system is switched to the standby system.

これに対し、特許文献1では、ジョブ管理装置が、ジョブの設計者によって用意されたジョブテンプレートに基づいて、ジョブネット定義やジョブネットを作成または更新することが提案されている。ジョブネット定義は、ジョブや、ジョブの実行順序を含む。ジョブネットは、ジョブを実行するシステムに実際に投入されるデータである。 In response to this, Patent Document 1 proposes that a job management device creates or updates a jobnet definition or a jobnet based on a job template prepared by a job designer. A jobnet definition includes jobs and the order in which the jobs are executed. A jobnet is data that is actually input into a system that executes the jobs.

また、特許文献2では、運用系から待機系に系を切り替える時に、旧運用系のレプリケーションが完了していないデータに関する情報を新運用系に記憶させることが提案されている。これにより、新運用系の処理プロセッサが、レプリケーションが完了していないデータに関する情報に基づいて必要なデータがレプリケーションされているか否かを確認することが可能になる。また、必要なデータがレプリケーションされていない場合、新運用系の処理プロセッサが、旧運用系の処理プロセッサに必要なデータをレプリケーションさせることが可能になる。 Patent Document 2 also proposes that when switching from an active system to a standby system, information about data for which replication has not been completed in the old active system is stored in the new active system. This enables the processing processor of the new active system to check whether or not necessary data has been replicated based on information about data for which replication has not been completed. Furthermore, if necessary data has not been replicated, the processing processor of the new active system can cause the processing processor of the old active system to replicate the necessary data.

また、特許文献3では、複数のホストを含むシステムが中断した場合に、ジョブの動作に関する情報に基づいて、障害が発生したホストにおいて障害発生時に動作中であったと判定されたジョブを、他のホストが起動することが提案されている。 Patent Document 3 also proposes that when a system including multiple hosts is interrupted, other hosts start jobs that are determined to have been running on the failed host at the time the failure occurred, based on information about the job's operation.

国際公開第2010/050524号International Publication No. 2010/050524 特開2005-056287号公報JP 2005-056287 A 特開平06-124214号公報Japanese Patent Application Laid-Open No. 06-124214

しかし、特許文献1には、ジョブ管理装置が、待機系のジョブ管理装置に複製された、ジョブの管理に関する情報が、待機系のジョブ実行装置に複製されている、実行したジョブに関する情報と整合していない場合に、不都合が生じる可能性を低減することについて、記載されていない。 However, Patent Document 1 does not mention reducing the possibility of problems occurring when the job management device replicates information related to job management on a standby job management device and information related to executed jobs on a standby job execution device.

また、特許文献2に記載の方法では、旧運用系のレプリケーションが完了していないデータに関する情報を新運用系に記憶させることにより、上述の不都合が生じる可能性を低減することができる。しかし、この方法では、系が切り替えられた後にレプリケーションを行うので、迅速にシステムを復旧することができない。 In addition, the method described in Patent Document 2 can reduce the possibility of the above-mentioned inconvenience occurring by storing information about data for which replication of the old operating system has not been completed in the new operating system. However, with this method, replication is performed after the system is switched, so the system cannot be quickly restored.

また、特許文献3に記載の方法では、待機系のシステムに系が切り替えられた場合、待機系のジョブ管理装置は、ジョブ実行装置に実行させるべきジョブを特定することができない。なぜならば、待機系のジョブ管理装置のジョブの管理に関する情報において実行中として示されているジョブと、待機系のジョブ実行装置の実行したジョブに関する情報において実行中と示されているジョブとが一致しない可能性があるためである。そのため、待機系のジョブ管理装置は、待機系のジョブ管理装置に複製された、ジョブの管理に関する情報が、待機系のジョブ実行装置に複製されている、実行したジョブに関する情報と整合しないことによって、不都合が生じる可能性がある。 In addition, in the method described in Patent Document 3, when the system is switched to a standby system, the job management device of the standby system cannot identify the job to be executed by the job execution device. This is because there is a possibility that the job indicated as being executed in the information on job management of the standby system job management device does not match the job indicated as being executed in the information on jobs executed by the standby system job execution device. Therefore, the job management device of the standby system may experience inconvenience because the information on job management copied to the standby system job management device does not match the information on executed jobs copied to the standby system job execution device.

このように、特許文献1から特許文献3に記載の方法のいずれにおいても、待機系のジョブ管理装置は、待機系のジョブ管理装置に複製された、ジョブの管理に関する情報が、待機系のジョブ実行装置に複製されている、実行したジョブに関する情報と整合しないことによって不都合が生じる可能性を低減しつつ、システムを迅速に復旧することができない。特許文献1から特許文献3に記載の方法には、迅速にシステムを復旧することができないという問題点がある。 As described above, in any of the methods described in Patent Documents 1 to 3, the standby job management device cannot quickly restore the system while reducing the possibility of inconvenience caused by inconsistency between information on job management copied to the standby job management device and information on executed jobs copied to the standby job execution device. The methods described in Patent Documents 1 to 3 have the problem of being unable to quickly restore the system.

本発明の目的は、システムの復旧までの時間を短縮することを可能にするジョブ管理装置、システム、方法およびプログラムを提供することにある。 The object of the present invention is to provide a job management device, system, method, and program that can shorten the time it takes to restore the system.

本発明の一態様において、ジョブ管理装置は、ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、障害が発生した場合に、実行情報を取得する取得部と、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した実行情報とに基づいて、ジョブを、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定する特定部と、特定されたジョブを待機系のジョブ実行装置に実行させる制御部とを備える。 In one aspect of the present invention, the job management device includes an acquisition unit that acquires execution information when a failure occurs from a standby job execution device that has been copied before a failure occurs in a system including the active job execution device, in which a result of a job executed by the active job execution device that executes the job and execution information indicating the status of job execution of the active job execution device are acquired; an identification unit that determines whether or not to cause the standby job execution device to execute a job based on management information, which is information for determining whether or not to cause the standby job execution device to execute a job, and the acquired execution information, and identifies the job that has been determined to be executed as a job to be executed by the standby job execution device; and a control unit that causes the standby job execution device to execute the identified job.

また、本発明の他の態様において、ジョブ管理方法は、ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、障害が発生した場合に、実行情報を取得し、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した実行情報とに基づいて、ジョブを、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定し、特定されたジョブを待機系のジョブ実行装置に実行させる。 In another aspect of the present invention, the job management method acquires execution information from a standby job execution device that has been copied before a failure occurs in a system including the active job execution device, which contains a product of the job executed by the active job execution device that executes the job and execution information indicating the status of the job execution by the active job execution device, and determines whether or not to cause the job to be executed by the standby job execution device based on management information, which is information for determining whether or not to cause the job to be executed by the standby job execution device, and the acquired execution information, identifies the job that has been determined to be executed as a job to be executed by the standby job execution device, and causes the standby job execution device to execute the identified job.

また、本発明の他の態様において、ジョブ管理プログラムは、コンピュータに、ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、障害が発生した場合に、実行情報を取得する取得機能と、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した実行情報とに基づいて、ジョブを、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定する特定機能と、特定されたジョブを待機系のジョブ実行装置に実行させる制御機能とを実現させる。 In another aspect of the present invention, the job management program causes the computer to realize an acquisition function for acquiring execution information when a failure occurs, from a standby job execution device to which a product of a job executed by an active job execution device that executes the job and execution information indicating the status of job execution by the active job execution device were copied before a failure occurred in a system including the active job execution device; an identification function for determining whether or not to cause a job to be executed by the standby job execution device based on management information, which is information for determining whether or not to cause a job to be executed by the standby job execution device, and the acquired execution information, and for identifying a job determined to be executed as a job to be executed by the standby job execution device; and a control function for causing the standby job execution device to execute the identified job.

本発明のジョブ管理装置、システム、方法およびプログラムにより、システムの復旧までの時間を短縮することが可能になる。 The job management device, system, method, and program of the present invention make it possible to reduce the time it takes to restore the system.

本発明の第一の実施形態のジョブ管理装置の構成例を示すブロック図である。1 is a block diagram showing an example of the configuration of a job management device according to a first embodiment of the present invention; 本発明の第一の実施形態のジョブ管理装置の動作例を示すフローチャートである。5 is a flowchart showing an example of the operation of the job management device according to the first embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理システムおよび現用系のジョブ管理システムの構成例を示す図である。11 is a diagram illustrating an example of the configuration of a job management system for a standby system and a job management system for an active system according to a second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理システムの構成例を示すブロック図である。FIG. 11 is a block diagram showing an example of the configuration of a job management system for a standby system according to a second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の時刻格納表の一例を示す図である。FIG. 11 is a diagram illustrating an example of a time storage table of a job management device of a standby system according to a second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の取得実行情報格納表の一例を示す図である。13 is a diagram illustrating an example of an acquisition/execution information storage table of a job management device of a standby system according to the second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の管理情報格納表の一例を示す図である。13 is a diagram illustrating an example of a management information storage table in a job management device of a standby system according to the second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の管理情報格納表の一例を示す図である。13 is a diagram illustrating an example of a management information storage table in a job management device of a standby system according to the second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の管理情報格納表の一例を示す図である。13 is a diagram illustrating an example of a management information storage table in a job management device of a standby system according to the second embodiment of the present invention. 本発明の待機系のジョブ管理装置のジョブネット定義格納表の一例を示す図である。FIG. 13 is a diagram showing an example of a job net definition storage table of the standby job management device of the present invention. 本発明の第二の実施形態の現用系のジョブ管理システムの構成例を示すブロック図である。FIG. 11 is a block diagram showing an example of the configuration of a job management system for an active system according to a second embodiment of the present invention. 本発明の第二の実施形態の現用系のジョブ管理装置の管理情報格納表の一例を示す図である。13 is a diagram illustrating an example of a management information storage table of an active job management device according to the second embodiment of the present invention. 本発明の第二の実施形態の現用系のジョブ実行装置および待機系のジョブ実行装置の動作例を示す図である。11 is a diagram illustrating an example of the operation of an active job execution device and a standby job execution device according to the second embodiment of the present invention. 本発明の第二の実施形態の現用系のジョブ管理装置および待機系のジョブ管理装置の動作例を示す図である。13 is a diagram illustrating an example of the operation of a job management device of an active system and a job management device of a standby system according to the second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理システムの動作例を示す図である。FIG. 11 is a diagram illustrating an example of the operation of a job management system for a standby system according to a second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の動作例を示すフローチャートである。10 is a flowchart illustrating an example of the operation of a job management device of a standby system according to a second embodiment of the present invention. 本発明の第二の実施形態のジョブの実行順序を模式的に示した模式図である。FIG. 11 is a schematic diagram showing a job execution order according to a second embodiment of the present invention. 本発明の第二の実施形態の待機系のジョブ管理装置の動作例を示すフローチャートである。10 is a flowchart illustrating an example of the operation of a job management device of a standby system according to a second embodiment of the present invention. 本発明の各実施形態のハードウェア構成例を示すブロック図である。FIG. 2 is a block diagram showing an example of a hardware configuration according to each embodiment of the present invention.

[第一の実施形態]
本発明の第一の実施形態について説明する。
[First embodiment]
A first embodiment of the present invention will be described.

図1は、本実施形態のジョブ管理装置1の構成例を示すブロック図である。本実施形態のジョブ管理装置1は、取得部11と、特定部12と、制御部13とを含む。 FIG. 1 is a block diagram showing an example of the configuration of a job management device 1 according to this embodiment. The job management device 1 according to this embodiment includes an acquisition unit 11, a specification unit 12, and a control unit 13.

ジョブ管理装置1は、待機系のシステムに含まれる。待機系のシステムは、図示されないジョブ実行装置(以降、図示されないジョブ実行装置を単にジョブ実行装置と称する)を含む。ジョブ実行装置は、ジョブを実行する。現用系のシステムに障害が発生した場合に、ジョブ管理装置1は、ジョブを待機系のジョブ実行装置に実行させる。 The job management device 1 is included in a standby system. The standby system includes a job execution device (not shown) (hereinafter, the job execution device (not shown) will be simply referred to as a job execution device). The job execution device executes jobs. If a failure occurs in the active system, the job management device 1 causes the job execution device in the standby system to execute the job.

取得部11は、現用系のジョブ実行装置を含むシステムに障害が発生した場合に、待機系のジョブ実行装置から実行情報を取得する。待機系のジョブ実行装置には、現用系のジョブ実行装置により実行されたジョブの成果物と、現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、障害が発生する前に複製される。 The acquisition unit 11 acquires execution information from a standby job execution device when a failure occurs in a system including an active job execution device. The standby job execution device stores a copy of the results of a job executed by the active job execution device and execution information indicating the status of job execution on the active job execution device before the failure occurs.

特定部12は、管理情報と、取得部11によって取得された実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定する。管理情報は、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である。管理情報は、ジョブ管理装置1に含まれる記憶部(図示せず)に記憶される。 The identification unit 12 determines whether or not each job should be executed by a job execution device in the standby system based on the management information and the execution information acquired by the acquisition unit 11, and identifies the job determined to be executed as a job to be executed by a job execution device in the standby system. The management information is information for determining whether or not a job should be executed by a job execution device in the standby system. The management information is stored in a memory unit (not shown) included in the job management device 1.

制御部13は、特定されたジョブを待機系のジョブ実行装置に実行させる。 The control unit 13 causes the job execution device in the standby system to execute the identified job.

このように、ジョブ管理装置1は、現用系のジョブ実行装置を含むシステムに障害が発生した場合に、ジョブを実行する待機系のジョブ実行装置から、実行情報を取得する。待機系のジョブ実行装置には、現用系のジョブ実行装置により実行されたジョブの成果物と、現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、障害が発生する前に複製されている。また、ジョブ管理装置1は、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、待機系のジョブ実行装置から取得した実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定する。また、ジョブ管理装置1は、特定されたジョブを待機系のジョブ実行装置に実行させる。 In this way, the job management device 1 acquires execution information from the standby job execution device that executes the job when a failure occurs in a system including the active job execution device. In the standby job execution device, the results of the job executed by the active job execution device and the execution information indicating the execution status of the job in the active job execution device are copied before the failure occurs. Furthermore, the job management device 1 determines whether or not to cause the standby job execution device to execute each job based on management information, which is information for determining whether or not to cause the standby job execution device to execute the job, and the execution information acquired from the standby job execution device, and identifies the job that is determined to be executed as the job to be executed by the standby job execution device. Furthermore, the job management device 1 causes the standby job execution device to execute the identified job.

このように、ジョブ管理装置1は、障害が発生した場合に、待機系のジョブ実行装置における各ジョブの実行要否を、管理情報と、障害が発生する前に複製されていた実行情報とに基づいて速やかに判定することができる。そして、ジョブ管理装置1は、障害が発生する前に待機系のジョブ実行装置に複製されていた、現用系のジョブ実行装置が実行したジョブの成果物を活用して、待機系のシステムの運用を開始することが可能になる。このため、迅速にシステムを復旧することが可能になる。 In this way, when a failure occurs, the job management device 1 can quickly determine whether or not each job needs to be executed on the standby job execution device based on the management information and the execution information that was copied before the failure occurred. The job management device 1 can then start operating the standby system by utilizing the results of the job executed by the active job execution device that was copied to the standby job execution device before the failure occurred. This makes it possible to quickly restore the system.

次に、図2を用いて、本実施形態のジョブ管理装置1の動作例を説明する。図2は、ジョブ管理装置1の動作例を示すフローチャートである。 Next, an example of the operation of the job management device 1 of this embodiment will be described with reference to FIG. 2. FIG. 2 is a flowchart showing an example of the operation of the job management device 1.

取得部11は、ジョブを実行する現用系のジョブ実行装置を含むシステムに障害が発生した場合に、待機系のジョブ実行装置から実行情報を取得する(ステップS101)。待機系のジョブ実行装置には、現用系のジョブ実行装置により実行されたジョブの成果物と、現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、障害が発生する前に複製されている。 When a failure occurs in a system including an active job execution device that executes a job, the acquisition unit 11 acquires execution information from a standby job execution device (step S101). The standby job execution device stores copies of the results of the job executed by the active job execution device and execution information indicating the status of job execution on the active job execution device before the failure occurs.

特定部12は、管理情報と、取得部11によって取得された実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定する(ステップS102)。管理情報は、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である。 The identification unit 12 determines whether or not each job is to be executed by a job execution device in the standby system based on the management information and the execution information acquired by the acquisition unit 11, and identifies the job determined to be executed as a job to be executed by a job execution device in the standby system (step S102). The management information is information for determining whether or not a job is to be executed by a job execution device in the standby system.

制御部13は、特定されたジョブを待機系のジョブ実行装置に実行させる(ステップS103)。 The control unit 13 causes the job execution device in the standby system to execute the identified job (step S103).

このように、ジョブ管理装置1は、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、待機系のジョブ実行装置から取得した実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置に実行させるジョブとして特定する。また、ジョブ管理装置1は、特定されたジョブを待機系のジョブ実行装置に実行させる。このように、ジョブ管理装置1は、障害が発生した場合に、待機系のジョブ実行装置における各ジョブの実行要否を、管理情報と、障害が発生する前に複製されていた実行情報とに基づいて速やかに判定することができる。そして、ジョブ管理装置1は、障害が発生する前に待機系のジョブ実行装置に複製されていた、現用系のジョブ実行装置が実行したジョブの成果物を活用して、待機系のシステムの運用を開始することが可能になる。このため、迅速にシステムを復旧することが可能になる。 In this way, the job management device 1 determines whether or not to cause the job execution device of the standby system to execute each job based on the management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the execution information acquired from the job execution device of the standby system, and identifies the job determined to be executed as the job to be executed by the job execution device of the standby system. In addition, the job management device 1 causes the job execution device of the standby system to execute the identified job. In this way, when a failure occurs, the job management device 1 can quickly determine whether or not each job needs to be executed in the job execution device of the standby system based on the management information and the execution information that was copied before the failure occurred. Then, the job management device 1 can start operating the system of the standby system by utilizing the results of the job executed by the job execution device of the active system that was copied to the job execution device of the standby system before the failure occurred. This makes it possible to quickly restore the system.

[第二の実施形態]
次に、本発明の第二の実施の形態におけるジョブ管理装置4について具体的に説明する。
[Second embodiment]
Next, the job management device 4 according to the second embodiment of the present invention will be specifically described.

まず、図3および図4を用いて、ジョブ管理装置4を含む待機系のジョブ管理システム2の構成例を説明する。図3は、本実施形態の待機系のジョブ管理システム2および現用系のジョブ管理システム5の構成例を示す図である。図4は、本実施形態のジョブ管理システム2の構成例を示すブロック図である。 First, an example of the configuration of a standby job management system 2 including a job management device 4 will be described with reference to Figs. 3 and 4. Fig. 3 is a diagram showing an example of the configuration of a standby job management system 2 and an active job management system 5 in this embodiment. Fig. 4 is a block diagram showing an example of the configuration of the job management system 2 in this embodiment.

図3および図4に示すように、本実施形態の待機系のジョブ管理システム2は、待機系のジョブ実行装置3a,3b,3c,・・・,3nと、待機系のジョブ管理装置4とを含む。(以降、ジョブ実行装置3a,3b,3c,・・・,3nの各々を、「ジョブ実行装置3」という。)たとえば、待機系のジョブ管理システム2は、ジョブ管理システムによる業務の自動化を行っている事業者により利用されている現用系のシステムの、予備のシステムである。また、図3に示すように、待機系のジョブ管理システム2は、現用系のジョブ管理システム5に、有線通信または無線通信により接続される。なお、待機系のジョブ管理システム2に含まれるジョブ実行装置の数は、一つまたは二以上の複数の任意である。 As shown in Figures 3 and 4, the standby job management system 2 of this embodiment includes standby job execution devices 3a, 3b, 3c, ..., 3n and a standby job management device 4. (Hereinafter, each of the job execution devices 3a, 3b, 3c, ..., 3n will be referred to as a "job execution device 3.") For example, the standby job management system 2 is a backup system for an active system used by a business that automates business operations using a job management system. Also, as shown in Figure 3, the standby job management system 2 is connected to the active job management system 5 by wired or wireless communication. The number of job execution devices included in the standby job management system 2 can be one or more than two.

図3に示すように、現用系のジョブ管理システム5は、現用系のジョブ実行装置6a,6b,6c,・・・,6nと、現用系のジョブ管理装置7とを含む。(以降、ジョブ実行装置6a,6b,6c,・・・,6nの各々を、「ジョブ実行装置6」という。)たとえば、現用系のジョブ管理システム5は、ジョブ管理システムによる業務の自動化を行っている事業者により利用されている現用系のシステムである。それぞれの現用系のジョブ実行装置6は、あらかじめ対応付けられている、所定の待機系のジョブ実行装置3によって情報をレプリケーションされる。本実施形態では、それぞれの現用系のジョブ実行装置6は、待機系のジョブ実行装置3と、一対一に対応付けられているものとする。本実施形態では、現用系のジョブ実行装置6の数は、待機系のジョブ実行装置3の数と同じである。なお、所定の現用系のジョブ実行装置6は、複数の待機系のジョブ実行装置3と対応付けられていてもよい。また、所定の待機系のジョブ実行装置3は、複数の現用系のジョブ実行装置6と対応付けられていてもよい。この場合、ジョブ管理システム5に含まれる現用系のジョブ実行装置の数は、一つまたは二以上の複数の任意であってもよい。現用系のジョブ実行装置6および現用系のジョブ管理装置7の詳細については、後述する。 As shown in FIG. 3, the active job management system 5 includes active job execution devices 6a, 6b, 6c, ..., 6n and an active job management device 7. (Hereinafter, each of the job execution devices 6a, 6b, 6c, ..., 6n is referred to as a "job execution device 6.") For example, the active job management system 5 is an active system used by a business that automates business operations using a job management system. Each active job execution device 6 replicates information by a predetermined standby job execution device 3 that is associated with it in advance. In this embodiment, each active job execution device 6 is associated one-to-one with the standby job execution device 3. In this embodiment, the number of active job execution devices 6 is the same as the number of standby job execution devices 3. Note that a given active job execution device 6 may be associated with multiple standby job execution devices 3. Also, a given standby job execution device 3 may be associated with multiple active job execution devices 6. In this case, the number of active job execution devices included in the job management system 5 may be one or any number of multiple devices, two or more. Details of the active job execution device 6 and the active job management device 7 will be described later.

次に、図3および図4を用いて、待機系のジョブ実行装置3および待機系のジョブ管理装置4の詳細を説明する。 Next, the standby job execution device 3 and the standby job management device 4 will be described in detail with reference to Figures 3 and 4.

まず、図3を用いて、本実施形態のジョブ実行装置3について説明する。 First, the job execution device 3 of this embodiment will be described with reference to FIG.

現用系のジョブ管理システム5に障害が発生していない場合、待機系のジョブ実行装置3は、あらかじめ対応付けられている現用系のジョブ実行装置6により実行されたジョブの成果物と、実行情報とを、所定のタイミングで、非同期にレプリケーションする。実行情報は、現用系の実行情報格納表に含まれる情報である。現用系の実行情報格納表に含まれる実行情報は、現用系のジョブ実行装置6のジョブの実行の状態を示す。また、待機系のジョブ管理システム2に系が切り替えられた場合に、待機系のジョブ実行装置3は、実行するジョブを指示する制御情報を待機系のジョブ管理装置4から受信し、受信した制御情報に基づいてジョブを実行する。 When no failure occurs in the job management system 5 of the active system, the job execution device 3 of the standby system asynchronously replicates the results of the job executed by the job execution device 6 of the active system, which is associated with the job execution device 6 in advance, and the execution information at a predetermined timing. The execution information is information contained in the execution information storage table of the active system. The execution information contained in the execution information storage table of the active system indicates the execution status of the job of the job execution device 6 of the active system. In addition, when the system is switched to the job management system 2 of the standby system, the job execution device 3 of the standby system receives control information instructing the job to be executed from the job management device 4 of the standby system, and executes the job based on the received control information.

たとえば、図3に示す待機系のジョブ実行装置3aが、現用系のジョブ実行装置6aの成果物と実行情報格納表に含まれる情報とをレプリケーションするとする。また、待機系のジョブ実行装置3bが、現用系のジョブ実行装置6bの成果物と実行情報格納表に含まれる情報とをレプリケーションするとする。この場合、待機系のジョブ実行装置3aが成果物と実行情報格納表に含まれる情報とをレプリケーションする時刻は、ジョブ実行装置3bが成果物と実行情報格納表に含まれる情報とをレプリケーションする時刻と異なる。 For example, suppose that the standby job execution device 3a shown in FIG. 3 replicates the deliverables of the active job execution device 6a and the information contained in the execution information storage table. Also, suppose that the standby job execution device 3b replicates the deliverables of the active job execution device 6b and the information contained in the execution information storage table. In this case, the time at which the standby job execution device 3a replicates the deliverables and the information contained in the execution information storage table is different from the time at which the job execution device 3b replicates the deliverables and the information contained in the execution information storage table.

次に、図4を用いて、本実施形態のジョブ実行装置3の構成例を説明する。 Next, an example of the configuration of the job execution device 3 of this embodiment will be described with reference to FIG.

ジョブ実行装置3は、出力部31と、実行部32と、データ記憶部33と、実行情報記憶部34と、レプリケーション部35とを含む。 The job execution device 3 includes an output unit 31, an execution unit 32, a data storage unit 33, an execution information storage unit 34, and a replication unit 35.

出力部31は、時刻出力部311と、実行情報出力部312とを含む。 The output unit 31 includes a time output unit 311 and an execution information output unit 312.

時刻出力部311は、複製時刻情報の出力を、待機系のジョブ管理装置4の時刻取得部411から要求された場合に、待機系のジョブ実行装置3の装置識別情報と、実行情報記憶部34に記憶されている複製時刻情報とを出力する。装置識別情報は、待機系のジョブ実行装置3を識別する情報を含む。複製時刻情報は、現用系のジョブ実行装置6の成果物と実行情報格納表に含まれる情報とを、待機系のジョブ実行装置3のレプリケーション部35がレプリケーションした時刻を示す情報を含む。本実施形態の時刻出力部311は、待機系のジョブ実行装置3のレプリケーション部35が最後にレプリケーションした時刻を示す、複製時刻情報を出力する。 When the time output unit 311 is requested by the time acquisition unit 411 of the standby job management device 4 to output the replication time information, it outputs the device identification information of the standby job execution device 3 and the replication time information stored in the execution information storage unit 34. The device identification information includes information that identifies the standby job execution device 3. The replication time information includes information indicating the time when the replication unit 35 of the standby job execution device 3 replicated the deliverables of the active job execution device 6 and the information included in the execution information storage table. The time output unit 311 of this embodiment outputs replication time information indicating the time when the replication unit 35 of the standby job execution device 3 last replicated.

実行情報出力部312は、確定時刻情報を、待機系のジョブ管理装置4の実行情報取得部412から受信する。確定時刻情報は、障害が発生する前に、現用系のジョブ管理システム5に含まれる装置の中で、最後にレプリケーションされた装置がレプリケーションされた時刻を示す。また、確定時刻情報が示す時刻を確定時刻とする。また、実行情報出力部312は、実行情報格納表に含まれる情報の出力を待機系のジョブ管理装置4の実行情報取得部412から要求される。具体的には、次の2つの条件を共に満たすジョブに関連する、実行情報格納表に含まれる情報の出力が要求される。以降、2つの条件を共に満たすジョブを、実行情報出力条件を満たすジョブと呼ぶ。 The execution information output unit 312 receives the confirmed time information from the execution information acquisition unit 412 of the job management device 4 of the standby system. The confirmed time information indicates the time when the last replicated device among the devices included in the job management device 5 of the active system was replicated before a failure occurred. The time indicated by the confirmed time information is regarded as the confirmed time. The execution information output unit 312 is also requested by the execution information acquisition unit 412 of the job management device 4 of the standby system to output information contained in the execution information storage table. Specifically, the execution information output unit 312 is requested to output information contained in the execution information storage table related to jobs that satisfy both of the following two conditions. Hereinafter, a job that satisfies both of the following two conditions will be referred to as a job that satisfies the execution information output condition.

1つ目の条件は、ジョブに対応付けられている実行情報が、ジョブが実行済み、または実行中の状態であることを示していることである。実行情報は、レプリケーション部35がレプリケーションしたタイミングでの、待機系のジョブ実行装置3に対応する現用系のジョブ実行装置6のジョブの実行の状態を示す。実行情報が示す、ジョブの実行の状態には、現用系のジョブ実行装置6がジョブの実行を終了した状態(「完了」)、現用系のジョブ実行装置6が、ジョブの実行を開始し、実行を終了していない状態(「実行中」)、または、ジョブの実行を開始していない状態(「未実行」)が含まれる。また、以下の説明において、実行が終了したジョブの状態を、実行済みとする。また、実行を開始し、実行を終了していない状態について、実行中とする。 The first condition is that the execution information associated with the job indicates that the job has been executed or is in an executing state. The execution information indicates the execution state of the job of the active job execution device 6 corresponding to the standby job execution device 3 at the time of replication by the replication unit 35. The execution state of the job indicated by the execution information includes a state in which the active job execution device 6 has finished executing the job ("Completed"), a state in which the active job execution device 6 has started executing the job but has not finished executing it ("Executing"), or a state in which the job execution has not started executing it ("Not Executed"). In the following explanation, the state of a job that has finished executing is referred to as "executed". The state in which execution has started but has not finished executing is referred to as "Executed".

2つ目の条件は、次の(a)または(b)の条件を満たすことである。(a)または(b)の条件を満たすジョブは、確定時刻情報が示す時刻に、現用系のジョブ実行装置6が実行していたジョブ、または、確定時刻情報が示す時刻より後に現用系のジョブ実行装置6が実行を開始したジョブである。
(a)ジョブに対応付けられている実行情報に関連する終了時刻情報が示す時刻が、確定時刻情報が示す時刻よりも後の時刻を示すこと。
(b)ジョブに対応付けられている実行情報に関連する終了時刻情報が、実行情報格納表に格納されていないこと。
The second condition is that the following condition (a) or (b) is satisfied. A job that satisfies condition (a) or (b) is a job that the active job execution unit 6 was executing at the time indicated by the confirmed time information, or a job that the active job execution unit 6 started executing after the time indicated by the confirmed time information.
(a) The time indicated by the end time information related to the execution information associated with the job indicates a time later than the time indicated by the confirmed time information.
(b) The end time information related to the execution information associated with the job is not stored in the execution information storage table.

なお、開始時刻情報は、現用系のジョブ実行装置6がジョブの実行を開始した時刻を示す。終了時刻情報は、現用系のジョブ実行装置6がジョブの実行を終了した時刻を示す。 The start time information indicates the time when the active job execution device 6 starts executing the job. The end time information indicates the time when the active job execution device 6 ends executing the job.

実行情報出力部312は、待機系のジョブ実行装置3の装置識別情報と、実行情報出力条件を満たすジョブに関連する、実行情報記憶部34に記憶されている実行情報格納表に含まれる情報とを出力する。実行情報格納表に含まれる情報のうち、出力される情報は、実行情報(「完了」または「実行中」)と、実行情報に関連する、ジョブ識別情報と、開始時刻情報と、終了時刻情報である。ジョブ識別情報は、ジョブを識別する情報である。この場合に出力される実行情報と、開始時刻情報と、終了時刻情報は、現用系のジョブ実行装置6の実行情報格納表から待機系のジョブ実行装置3の実行情報格納表に、待機系のジョブ実行装置3のレプリケーション部35がレプリケーションした情報である。また、実行情報出力部312は、待機系のジョブ管理装置4の判定部422から要求された場合に、成果物に関する情報を出力する。成果物に関する情報については、後述する。 The execution information output unit 312 outputs the device identification information of the standby job execution device 3 and information included in the execution information storage table stored in the execution information storage unit 34 that is related to the job that satisfies the execution information output condition. Among the information included in the execution information storage table, the information to be output is the execution information ("Completed" or "Executing"), and the job identification information, start time information, and end time information related to the execution information. The job identification information is information that identifies the job. The execution information, start time information, and end time information output in this case are information replicated by the replication unit 35 of the standby job execution device 3 from the execution information storage table of the active job execution device 6 to the execution information storage table of the standby job execution device 3. In addition, the execution information output unit 312 outputs information related to the deliverable when requested by the determination unit 422 of the standby job management device 4. The information related to the deliverable will be described later.

レプリケーション部35は、現用系のジョブ実行装置6により実行されたジョブの成果物と、現用系のジョブ実行装置6に記憶されている実行情報格納表に含まれる情報とを、所定のタイミングで、非同期にレプリケーションする。また、ジョブの成果物は、たとえば、ジョブの実行により得られたファイルや、ジョブの実行により更新されたデータベースのレコードである。レプリケーションの対象である、現用系のジョブ実行装置6に記憶されている実行情報格納表は、次の情報を含む。現用系のジョブ実行装置6に記憶されている実行情報格納表は、現用系のジョブ実行装置6が実行するジョブのジョブ識別情報と、現用系のジョブ実行装置6のジョブの実行の状態を示す実行情報と、開始時刻情報と、終了時刻情報とを含む。現用系のジョブ実行装置6の実行情報格納表に格納されている実行情報は、ジョブの実行を終了した状態であることを示す情報(「完了」)、ジョブの実行を開始し、実行を終了していない状態であることを示す情報(「実行中」)、またはジョブの実行を開始していない状態であることを示す情報(「未実行」)を含む。現用系のジョブ実行装置6の実行情報格納表に格納されている、実行情報と、開始時刻情報と、終了時刻情報は、ジョブ識別情報と関連付けられている。 The replication unit 35 asynchronously replicates the results of a job executed by the job execution device 6 of the active system and the information contained in the execution information storage table stored in the job execution device 6 of the active system at a predetermined timing. The results of a job are, for example, a file obtained by the execution of a job or a database record updated by the execution of a job. The execution information storage table stored in the job execution device 6 of the active system, which is the target of replication, includes the following information. The execution information storage table stored in the job execution device 6 of the active system includes job identification information of a job executed by the job execution device 6 of the active system, execution information indicating the execution status of the job of the job execution device 6 of the active system, start time information, and end time information. The execution information stored in the execution information storage table of the job execution device 6 of the active system includes information indicating that the execution of the job has been completed ("Completed"), information indicating that the execution of the job has started but not yet been completed ("Executing"), or information indicating that the execution of the job has not yet been started ("Not Executed"). The execution information, start time information, and end time information stored in the execution information storage table of the active job execution device 6 are associated with job identification information.

具体的には、レプリケーション部35は、現用系のジョブ実行装置6により実行されたジョブの成果物を受信し、待機系のジョブ実行装置3のデータ記憶部33、または待機系のジョブ管理システム2に含まれるリモートストレージ(図示せず)にレプリケーションする。また、レプリケーション部35は、現用系のジョブ実行装置6の実行情報格納表に含まれる情報を受信し、待機系のジョブ実行装置3の実行情報記憶部34に記憶されている実行情報格納表に、受信した情報をレプリケーションする。さらに、レプリケーション部35は、レプリケーションした時刻を示す複製時刻情報を、実行情報記憶部34に記憶させる。本実施形態のレプリケーション部35は、レプリケーションのたびに実行情報記憶部34に複製時刻情報を記憶させる。 Specifically, the replication unit 35 receives the results of a job executed by the active job execution device 6, and replicates the results to the data storage unit 33 of the standby job execution device 3, or to a remote storage (not shown) included in the standby job management system 2. The replication unit 35 also receives information included in the execution information storage table of the active job execution device 6, and replicates the received information to the execution information storage table stored in the execution information storage unit 34 of the standby job execution device 3. Furthermore, the replication unit 35 stores replication time information indicating the time of replication in the execution information storage unit 34. The replication unit 35 of this embodiment stores replication time information in the execution information storage unit 34 each time replication is performed.

データ記憶部33は、ジョブの成果物を記憶する。また、データ記憶部33は、データベースを記憶する。なお、ジョブの成果物およびデータベースは、待機系のジョブ実行装置3のデータ記憶部33(ローカル)ではなく、待機系のジョブ管理システム2に含まれるリモートストレージに記憶されてもよい。現用系のジョブ管理システム5に障害が発生していない場合、データ記憶部33に記憶されているジョブの成果物は、待機系のジョブ実行装置3のレプリケーション部35によりレプリケーションされた、現用系のジョブ実行装置6が実行したジョブの成果物である。現用系のジョブ管理システム5に障害が発生した場合、待機系のジョブ実行装置3の実行部32は、実行したジョブの成果物を、データ記憶部33、または、待機系のジョブ管理システム2に含まれるリモートストレージに記憶させる。 The data storage unit 33 stores the results of the job. The data storage unit 33 also stores a database. The results of the job and the database may be stored in a remote storage included in the job management system 2 of the standby system, rather than in the data storage unit 33 (local) of the job execution device 3 of the standby system. When no failure occurs in the job management system 5 of the active system, the results of the job stored in the data storage unit 33 are the results of the job executed by the job execution device 6 of the active system, which are replicated by the replication unit 35 of the job execution device 3 of the standby system. When a failure occurs in the job management system 5 of the active system, the execution unit 32 of the job execution device 3 of the standby system stores the results of the executed job in the data storage unit 33 or in the remote storage included in the job management system 2 of the standby system.

実行情報記憶部34は、実行情報格納表(図示せず)と複製時刻情報とを記憶する。実行情報格納表は、実行するジョブのジョブ識別情報と、実行情報と、開始時刻情報と、終了時刻情報とを含む。なお、実行情報出力部312により、待機系のジョブ管理装置4に出力された、実行情報格納表に含まれる情報は、取得情報記憶部44に記憶されている取得実行情報格納表(図6)に、実行情報取得部412により格納される。 The execution information storage unit 34 stores an execution information storage table (not shown) and replication time information. The execution information storage table includes job identification information of the job to be executed, execution information, start time information, and end time information. The information included in the execution information storage table output by the execution information output unit 312 to the standby job management device 4 is stored by the execution information acquisition unit 412 in the acquired execution information storage table (Figure 6) stored in the acquired information storage unit 44.

なお、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を待機系のジョブ管理装置4が受信した時点では、待機系のジョブ実行装置3の実行情報記憶部34に記憶されている実行情報格納表は、現用系のジョブ実行装置6の実行情報格納表からレプリケーションされた情報を含む。実行情報記憶部34に記憶されている複製時刻情報は、レプリケーション部35によって格納される。また、実行部32がジョブを実行した場合には、実行部32が、実行情報記憶部34に記憶されている実行情報格納表に、実行情報と、開始時刻情報と、終了時刻情報とを格納する。なお、本実施形態では、待機系のジョブ管理装置4が、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を受信した場合に、現用系のジョブ管理システム5から待機系のジョブ管理システム2に系を切り替えるとする。 When the job management device 4 of the standby system receives instruction information instructing the system to switch to the job management system 2 of the standby system, the execution information storage table stored in the execution information storage unit 34 of the job execution device 3 of the standby system contains information replicated from the execution information storage table of the job execution device 6 of the active system. The replication time information stored in the execution information storage unit 34 is stored by the replication unit 35. When the execution unit 32 executes a job, the execution unit 32 stores the execution information, start time information, and end time information in the execution information storage table stored in the execution information storage unit 34. In this embodiment, when the job management device 4 of the standby system receives instruction information instructing the system to switch to the job management system 2 of the standby system, the system is switched from the job management system 5 of the active system to the job management system 2 of the standby system.

実行部32は、実行するジョブのジョブ識別情報を含む、実行するジョブを指示する制御情報を待機系のジョブ管理装置4から受信する。待機系のジョブ実行装置3の実行部32は、ジョブの実行を開始した時刻を示す開始時刻情報と、実行情報(「実行中」)とを、実行情報記憶部34に記憶されている実行情報格納表に格納する。また、実行部32は、実行を開始したジョブのジョブ識別情報と、当該ジョブの開始時刻情報とを、待機系のジョブ管理装置4に出力する。実行部32は、受信した制御情報に基づいてジョブを実行する。ジョブの実行により、ローカルファイルが作成される場合、実行部32は、成果物であるファイルをデータ記憶部33に記憶させる。ジョブの実行により、リモートファイルが作成される場合、実行部32は、ファイルを待機系のジョブ管理システム2に含まれるリモートストレージに記憶させる。また、データベースの所定のレコードがジョブの実行により更新される場合、実行部32は、データ記憶部33、または、待機系のジョブ管理システム2に含まれるリモートストレージに記憶されているデータベースの所定のレコードを更新する。さらに、実行部32は、ジョブの実行を終了した時刻を示す終了時刻情報と、ジョブの実行を終了した状態を示す実行情報(「完了」)とを、実行情報記憶部34に記憶されている実行情報格納表に格納する。また、実行部32は、実行を終了したジョブのジョブ識別情報と、当該ジョブの終了時刻情報とを待機系のジョブ管理装置4に出力する。 The execution unit 32 receives control information instructing the job to be executed, including job identification information of the job to be executed, from the job management device 4 of the standby system. The execution unit 32 of the job execution device 3 of the standby system stores start time information indicating the time when execution of the job started and execution information ("executing") in the execution information storage table stored in the execution information storage unit 34. The execution unit 32 also outputs the job identification information of the job that has started to be executed and the start time information of the job to the job management device 4 of the standby system. The execution unit 32 executes the job based on the received control information. When a local file is created by the execution of the job, the execution unit 32 stores the file, which is the result, in the data storage unit 33. When a remote file is created by the execution of the job, the execution unit 32 stores the file in the remote storage included in the job management system 2 of the standby system. When a specific record of the database is updated by the execution of the job, the execution unit 32 updates a specific record of the database stored in the data storage unit 33 or the remote storage included in the job management system 2 of the standby system. Furthermore, the execution unit 32 stores end time information indicating the time when the execution of the job ended and execution information indicating the state in which the execution of the job ended ("Complete") in the execution information storage table stored in the execution information storage unit 34. The execution unit 32 also outputs the job identification information of the job that has finished execution and the end time information of the job to the job management device 4 of the standby system.

次に、図3を用いて、本実施形態のジョブ管理装置4について説明する。 Next, the job management device 4 of this embodiment will be described with reference to FIG.

待機系のジョブ管理装置4は、現用系のジョブ管理システム5に障害が発生していない場合、次の動作を行う。待機系のジョブ管理装置4は、現用系のジョブ管理システム5に含まれるジョブ管理装置7に記憶されている管理情報格納表に含まれる情報を、所定のタイミングで、ジョブ管理装置7から非同期にレプリケーションする。管理情報は、ジョブを待機系のジョブ実行装置3に実行させるか否かを判定するための情報である。本実施形態の管理情報は、管理情報格納表およびジョブネット定義格納表(図10)に含まれる情報を含む。 The standby job management device 4 performs the following operation if no failure has occurred in the active job management system 5. The standby job management device 4 asynchronously replicates information contained in a management information storage table stored in a job management device 7 included in the active job management system 5 from the job management device 7 at a predetermined timing. The management information is information for determining whether or not to cause a job to be executed by the standby job execution device 3. The management information in this embodiment includes information contained in the management information storage table and the jobnet definition storage table (Figure 10).

待機系のジョブ管理システム2への系の切り替えを指示する指示情報を待機系のジョブ管理装置4が受信した時点では、待機系のジョブ管理装置4に記憶されている管理情報格納表は、現用系のジョブ管理装置7に記憶されている管理情報格納表の複製である。待機系のジョブ管理システム2に系が切り替えられた後では、待機系のジョブ管理装置4に記憶されている管理情報格納表は、待機系のジョブ実行装置3に実行させるジョブの情報を示す。また、待機系のジョブ管理システム2に系が切り替えられた場合に、待機系のジョブ管理装置4は、実行するジョブを指示する制御情報を待機系のジョブ実行装置3に出力する。 When the job management device 4 of the standby system receives instruction information instructing the system to switch to the job management system 2 of the standby system, the management information storage table stored in the job management device 4 of the standby system is a copy of the management information storage table stored in the job management device 7 of the active system. After the system is switched to the job management system 2 of the standby system, the management information storage table stored in the job management device 4 of the standby system indicates information on jobs to be executed by the job execution device 3 of the standby system. Furthermore, when the system is switched to the job management system 2 of the standby system, the job management device 4 of the standby system outputs control information instructing the job to be executed to the job execution device 3 of the standby system.

たとえば、図3に示す待機系のジョブ管理装置4が、現用系のジョブ管理装置7の管理情報格納表に含まれる情報をレプリケーションするとする。この場合、待機系のジョブ実行装置3a~3nのそれぞれが成果物と実行情報格納表に含まれる情報とをレプリケーションする時刻は、待機系のジョブ管理装置4が管理情報に含まれる情報をレプリケーションする時刻と異なる。このため、現用系のジョブ管理システム5に障害が発生した時点の、待機系のジョブ管理装置4に複製されている管理情報格納表に含まれる情報と、待機系のジョブ実行装置3a~3nに複製されている実行情報格納表に含まれる情報とが、整合しない場合がある。管理情報格納表の詳細については、後述する。 For example, suppose that the standby job management device 4 shown in FIG. 3 replicates information contained in the management information storage table of the active job management device 7. In this case, the time at which each of the standby job execution devices 3a to 3n replicates the deliverables and the information contained in the execution information storage table differs from the time at which the standby job management device 4 replicates the information contained in the management information. For this reason, there may be cases where the information contained in the management information storage table replicated in the standby job management device 4 at the time a failure occurs in the active job management device 5 is inconsistent with the information contained in the execution information storage table replicated in the standby job management device 4. Details of the management information storage table will be described later.

次に、図4を用いて、本実施形態のジョブ管理装置4の構成例を説明する。 Next, an example of the configuration of the job management device 4 of this embodiment will be described with reference to FIG.

ジョブ管理装置4は、取得部41と、特定部42と、制御部43とを含む。 The job management device 4 includes an acquisition unit 41, an identification unit 42, and a control unit 43.

受付部47は、取得部41に接続される。受付部47は、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を受信する。そして、受付部47は、複製時刻情報の取得を時刻取得部411に要求する。本実施形態の受付部47は、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、現用系のジョブ管理システム5に含まれる、現用系のジョブ実行装置6および現用系のジョブ管理装置7の中で、障害を検知したいずれかの装置から受信する。 The reception unit 47 is connected to the acquisition unit 41. The reception unit 47 receives instruction information instructing a system switch to the standby job management system 2. The reception unit 47 then requests the time acquisition unit 411 to acquire the replication time information. In this embodiment, the reception unit 47 receives instruction information instructing a system switch to the standby job management system 2 from any one of the active job execution device 6 and the active job management device 7 included in the active job management system 5 that has detected a fault.

取得部41は、時刻取得部411と、実行情報取得部412とを含む。 The acquisition unit 41 includes a time acquisition unit 411 and an execution information acquisition unit 412.

時刻取得部411は、複製時刻情報の取得を受付部47から要求された場合に、複製時刻情報の出力を待機系のジョブ実行装置3に要求する。また、時刻取得部411は、待機系のジョブ実行装置3の装置識別情報と、複製時刻情報とを待機系のジョブ実行装置3の時刻出力部311から受信する。待機系のジョブ管理装置4の時刻取得部411は、受信した情報が待機系のジョブ実行装置3の情報であることを示す装置情報(「ジョブ実行装置」)と、待機系のジョブ実行装置3の、受信した装置識別情報および複製時刻情報とを、取得情報記憶部44に記憶されている時刻格納表(図5)に格納する。装置情報は、レプリケーションを行った装置が、待機系のジョブ実行装置3であるか、待機系のジョブ管理装置4であるかを示す情報である。図5に本実施形態の時刻格納表の例を示す。時刻格納表は、レプリケーションを行った装置の装置識別情報と、レプリケーションを行った装置がジョブ実行装置3であるかジョブ管理装置4であるかを示す装置情報と、レプリケーションが行われた時刻を示す複製時刻情報とを含む。時刻取得部411は、待機系のジョブ管理システム2に含まれるすべてのジョブ実行装置3の複製時刻情報を、待機系のジョブ管理装置4の取得情報記憶部44の時刻格納表に格納する。また、時刻取得部411は、取得情報記憶部44の時刻格納表に格納されている複製時刻情報の中で最も過去の時刻を示す確定時刻情報を実行情報取得部412に出力する。 When the time acquisition unit 411 is requested by the reception unit 47 to acquire the replication time information, the time acquisition unit 411 requests the standby job execution device 3 to output the replication time information. The time acquisition unit 411 also receives the device identification information of the standby job execution device 3 and the replication time information from the time output unit 311 of the standby job execution device 3. The time acquisition unit 411 of the standby job management device 4 stores the device information ("job execution device") indicating that the received information is the information of the standby job execution device 3, and the received device identification information and replication time information of the standby job execution device 3 in the time storage table (FIG. 5) stored in the acquired information storage unit 44. The device information is information indicating whether the device that performed the replication is the standby job execution device 3 or the standby job management device 4. FIG. 5 shows an example of the time storage table of this embodiment. The time storage table includes the device identification information of the device that performed the replication, the device information indicating whether the device that performed the replication is the job execution device 3 or the job management device 4, and the replication time information indicating the time when the replication was performed. The time acquisition unit 411 stores the replicated time information of all job execution devices 3 included in the standby job management system 2 in a time storage table in the acquired information storage unit 44 of the standby job management device 4. The time acquisition unit 411 also outputs to the execution information acquisition unit 412 confirmed time information indicating the oldest time among the replicated time information stored in the time storage table in the acquired information storage unit 44.

実行情報取得部412は、確定時刻情報を時刻取得部411から受信した場合に、次の動作をする。実行情報取得部412は、確定時刻情報を待機系のジョブ実行装置3の実行情報出力部312に出力する。また、待機系のジョブ管理装置4の実行情報取得部412は、前述の実行情報出力条件を満たすジョブに関連する、実行情報格納表に含まれる情報の出力を、待機系のジョブ実行装置3の実行情報出力部312に要求する。また、待機系のジョブ管理装置4の実行情報取得部412は、待機系のジョブ実行装置3の装置識別情報と、実行情報出力条件を満たすジョブに関連する、ジョブ識別情報と、実行情報(「完了」または「実行中」)と、開始時刻情報と、終了時刻情報とを待機系のジョブ実行装置3の実行情報出力部312から受信する。待機系のジョブ管理装置4の実行情報取得部412は、待機系のジョブ実行装置3の実行情報出力部312から受信した情報を、取得情報記憶部44に記憶されている、図6に例を示す取得実行情報格納表に格納する。実行情報取得部412は、待機系のジョブ管理システム2に含まれるすべてのジョブ実行装置3の実行情報格納表に含まれる情報を、待機系のジョブ管理装置4の取得情報記憶部44に記憶されている取得実行情報格納表に格納する。また、実行情報取得部412は、確定時刻情報を確定部421に出力する。 When the execution information acquisition unit 412 receives the confirmed time information from the time acquisition unit 411, it performs the following operation. The execution information acquisition unit 412 outputs the confirmed time information to the execution information output unit 312 of the job execution device 3 of the standby system. In addition, the execution information acquisition unit 412 of the job management device 4 of the standby system requests the execution information output unit 312 of the job execution device 3 of the standby system to output information contained in the execution information storage table related to the job that satisfies the execution information output condition described above. In addition, the execution information acquisition unit 412 of the job management device 4 of the standby system receives the device identification information of the job execution device 3 of the standby system, the job identification information related to the job that satisfies the execution information output condition, the execution information ("Completed" or "Executing"), the start time information, and the end time information from the execution information output unit 312 of the job execution device 3 of the standby system. The execution information acquisition unit 412 of the standby job management device 4 stores the information received from the execution information output unit 312 of the standby job execution device 3 in an acquired execution information storage table, an example of which is shown in FIG. 6, stored in the acquired information storage unit 44. The execution information acquisition unit 412 stores the information contained in the execution information storage table of all job execution devices 3 included in the standby job management system 2 in the acquired execution information storage table stored in the acquired information storage unit 44 of the standby job management device 4. The execution information acquisition unit 412 also outputs the confirmed time information to the confirmation unit 421.

取得情報記憶部44は、取得部41に接続される。取得情報記憶部44は、時刻格納表と、取得実行情報格納表とを記憶する。時刻格納表は、レプリケーションを行った装置の装置識別情報と、レプリケーションを行った装置がジョブ実行装置3であるかジョブ管理装置4であるかを示す装置情報と、レプリケーションが行われた時刻を示す複製時刻情報とを含む。取得実行情報格納表は、実行が開始されたジョブを示すジョブ識別情報と、ジョブを実行する装置を示す装置識別情報と、実行情報と、開始時刻情報と、終了時刻情報とを含む。 The acquired information storage unit 44 is connected to the acquisition unit 41. The acquired information storage unit 44 stores a time storage table and an acquired execution information storage table. The time storage table includes device identification information of the device that performed the replication, device information indicating whether the device that performed the replication is a job execution device 3 or a job management device 4, and replication time information indicating the time when the replication was performed. The acquired execution information storage table includes job identification information indicating the job that has started to be executed, device identification information indicating the device that executes the job, execution information, start time information, and end time information.

図5に示す本実施形態の時刻格納表の例では、装置識別情報が「AG1」から「AG4」である待機系のジョブ実行装置3について、それぞれのジョブ実行装置3がレプリケーションを行った時刻を示す複製時刻情報が、時刻格納表に格納されている。また、装置識別情報が「MG」である待機系のジョブ管理装置4について、そのジョブ管理装置4がレプリケーションを行った時刻を示す複製時刻情報が、時刻格納表に格納されている。ジョブ実行装置3の複製時刻情報は、時刻取得部411により時刻格納表に格納される。ジョブ管理装置4の複製時刻情報は、レプリケーション部48により時刻格納表に格納される。たとえば、一行目は、装置識別情報が「MG」であるジョブ管理装置4が、「9:10」にレプリケーションを行ったことを示す。 In the example of the time storage table of this embodiment shown in FIG. 5, for the job execution devices 3 in standby whose device identification information is "AG1" to "AG4", replication time information indicating the time when each job execution device 3 performed replication is stored in the time storage table. Also, for the job management device 4 in standby whose device identification information is "MG", replication time information indicating the time when the job management device 4 performed replication is stored in the time storage table. The replication time information of the job execution device 3 is stored in the time storage table by the time acquisition unit 411. The replication time information of the job management device 4 is stored in the time storage table by the replication unit 48. For example, the first row indicates that the job management device 4 whose device identification information is "MG" performed replication at "9:10".

図6に本実施形態の取得実行情報格納表の例を示す。この例では、ジョブ識別情報が「JOB2」、「JOB3-1」、「JOB3-2」、「JOB5-1」、および「JOB5-2」であるジョブの各々について、そのジョブを実行するジョブ実行装置3の装置識別情報と、そのジョブの実行の状態を示す実行情報と、開始時刻情報と、終了時刻情報とが、取得実行情報格納表に格納されている。 Figure 6 shows an example of the acquired execution information storage table of this embodiment. In this example, for each job with job identification information "JOB2", "JOB3-1", "JOB3-2", "JOB5-1", and "JOB5-2", the acquired execution information storage table stores the device identification information of the job execution device 3 that executes the job, execution information indicating the execution status of the job, start time information, and end time information.

管理情報記憶部45は、特定部42およびレプリケーション部48に接続される。管理情報記憶部45は、管理情報格納表を記憶する。管理情報格納表は、ジョブ識別情報を含み、また、当該ジョブ識別情報が示すジョブについて、ジョブを実行するジョブ実行装置3の装置識別情報と、実行状況情報と、開始時刻情報と、終了時刻情報とを含む。待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、待機系のジョブ管理装置4の受付部47が受信するまでは、実行状況情報は、レプリケーション部48が、現用系の管理情報格納表に含まれる情報をレプリケーションした時点での、対応する現用系のジョブ管理装置7によるジョブの管理の状態を示す。 The management information storage unit 45 is connected to the identification unit 42 and the replication unit 48. The management information storage unit 45 stores a management information storage table. The management information storage table includes job identification information, and also includes, for the job indicated by the job identification information, device identification information of the job execution device 3 that executes the job, execution status information, start time information, and end time information. Until the reception unit 47 of the standby job management device 4 receives instruction information instructing a system switch to the standby job management system 2, the execution status information indicates the status of job management by the corresponding active job management device 7 at the time when the replication unit 48 replicates the information included in the active management information storage table.

図7から図9に、本実施形態の、管理情報記憶部45に記憶されている管理情報格納表の例を示す。図7から図9の例では、ジョブ識別情報が「JOB1」、「JOB2」、「JOB3-1」、「JOB3-2」、「JOB4」、「JOB5-1」、「JOB5-2」、および「JOB6」であるジョブの各々について、ジョブを実行するジョブ実行装置3の装置識別情報と、実行状況情報と、開始時刻情報と、終了時刻情報とが、管理情報格納表に格納されている。 FIGS. 7 to 9 show examples of management information storage tables stored in the management information storage unit 45 in this embodiment. In the examples of FIG. 7 to FIG. 9, for each of the jobs with job identification information "JOB1", "JOB2", "JOB3-1", "JOB3-2", "JOB4", "JOB5-1", "JOB5-2", and "JOB6", the device identification information of the job execution device 3 that executes the job, execution status information, start time information, and end time information are stored in the management information storage table.

図7は、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を待機系のジョブ管理装置4が受信した時点の管理情報格納表の例である。図8は、管理情報格納表に含まれる実行状況情報が、待機系のジョブ実行装置3に記憶されている実行情報が示すジョブの状態と一致しているジョブの実行状況情報を確定部421が確定した後の管理情報格納表の例である。図9は、実行状況情報が確定されていないジョブについて、待機系のジョブ実行装置3に当該ジョブを実行させるか否かを判定部422が判定した後の管理情報格納表の例である。 Figure 7 is an example of the management information storage table at the time when the standby job management device 4 receives instruction information instructing switching to the standby job management system 2. Figure 8 is an example of the management information storage table after the determination unit 421 has determined the execution status information of a job whose execution status information included in the management information storage table matches the job status indicated by the execution information stored in the standby job execution device 3. Figure 9 is an example of the management information storage table after the determination unit 422 has determined whether or not to cause the standby job execution device 3 to execute the job for which execution status information has not been determined.

待機系のジョブ管理システム2への系の切り替えを指示する指示情報を待機系のジョブ管理装置4が受信する前に、管理情報記憶部45に記憶されている管理情報格納表(図7)は、現用系のジョブ管理装置7の管理情報格納表からレプリケーション部48により複製された情報を含む。この場合の実行状況情報は、現用系のジョブ実行装置6が、ジョブの実行を終了した状態であることを示す情報(「完了」)、ジョブの実行を開始していない状態であることを示す情報(「未実行」)、またはジョブの実行を開始し、実行を終了していない状態であることを示す情報(「実行中」)を含む。さらに、この場合、待機系の管理情報格納表に含まれている開始時刻情報は、現用系のジョブ実行装置6がジョブの実行を開始した時刻を示す情報である。また、待機系の管理情報格納表に含まれている終了時刻情報は、現用系のジョブ実行装置6がジョブの実行を終了した時刻を示す情報である。 Before the standby job management device 4 receives instruction information instructing the system to switch to the standby job management system 2, the management information storage table (FIG. 7) stored in the management information storage unit 45 contains information replicated by the replication unit 48 from the management information storage table of the active job management device 7. In this case, the execution status information contains information indicating that the active job execution device 6 has finished executing the job ("Complete"), information indicating that the active job execution device 6 has not started executing the job ("Not Executed"), or information indicating that the active job execution device 6 has started executing the job but has not finished executing it ("Executing"). Furthermore, in this case, the start time information contained in the standby management information storage table is information indicating the time when the active job execution device 6 started executing the job. Furthermore, the end time information contained in the standby management information storage table is information indicating the time when the active job execution device 6 finished executing the job.

待機系のジョブ管理システム2への系の切り替えを指示する指示情報を待機系のジョブ管理装置4が受信した場合、管理情報記憶部45に記憶されている管理情報格納表は、特定部42および制御部43によって情報を格納される。特定部42は、確定部421と判定部422とを含む。 When the standby job management device 4 receives instruction information instructing a system switch to the standby job management system 2, the management information storage table stored in the management information storage unit 45 stores information by the identification unit 42 and the control unit 43. The identification unit 42 includes a determination unit 421 and a determination unit 422.

確定部421は、管理情報格納表に含まれる実行状況情報が、待機系のジョブ実行装置3に記憶されている実行情報格納表に含まれる実行情報が示すジョブの状態と一致しているジョブの、管理情報格納表に含まれる実行状況情報を確定する。確定部421の動作の詳細については、後述する。確定部421の動作の後、実行状況情報が確定されていないジョブの実行状況情報には、判定部422による判定の対象であることを示す情報(「判定待ち」)が含まれる。 The determination unit 421 determines the execution status information contained in the management information storage table of a job whose execution status information contained in the management information storage table matches the job status indicated by the execution information contained in the execution information storage table stored in the standby job execution device 3. Details of the operation of the determination unit 421 will be described later. After the operation of the determination unit 421, the execution status information of a job whose execution status information has not been determined includes information indicating that it is the subject of determination by the determination unit 422 ("waiting for determination").

判定部422は、実行状況情報に対応付けられているジョブを、待機系のジョブ実行装置3に実行させるか否かを判定する。判定部422による、判定対象のジョブを待機系のジョブ実行装置3に実行させるか否かの判定については後述する。また、判定部422により前述の判定がされた後の判定対象のジョブの、管理情報格納表(図9)に含まれる実行状況情報には、特定部42により特定された、待機系のジョブ実行装置3に実行させるジョブであることを示す情報(「要実行」)が含まれる。また、待機系のジョブ管理システム2において実行されたジョブの、管理情報管理表に格納されている開始時刻情報は、待機系のジョブ実行装置3がジョブの実行を開始した時刻を示す。また、待機系のジョブ管理システム2において実行されたジョブの、管理情報管理表に格納されている終了時刻情報は、待機系のジョブ実行装置3が、ジョブの実行を終了した時刻を示す。 The determination unit 422 determines whether or not to cause the job associated with the execution status information to be executed by the job execution device 3 of the standby system. The determination by the determination unit 422 of whether or not to cause the job to be executed by the job execution device 3 of the standby system will be described later. Furthermore, the execution status information contained in the management information storage table (FIG. 9) of the job to be determined after the above-mentioned determination by the determination unit 422 includes information indicating that the job is to be executed by the job execution device 3 of the standby system, identified by the identification unit 42 ("to be executed"). Furthermore, the start time information stored in the management information management table of the job executed in the job management system 2 of the standby system indicates the time when the job execution device 3 of the standby system started executing the job. Furthermore, the end time information stored in the management information management table of the job executed in the job management system 2 of the standby system indicates the time when the job execution device 3 of the standby system ended executing the job.

特定部42について以下、さらに詳細に説明する。 The identification unit 42 is described in more detail below.

確定部421は、確定時刻情報を実行情報取得部412から受信する。そして、確定部421は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報と、取得情報記憶部44に記憶されている取得実行情報格納表に含まれる実行情報とに基づいて、次の動作を行う。確定部421は、管理情報記憶部45の管理情報格納表の実行状況情報が、待機系のジョブ実行装置3の実行情報記憶部34の実行情報格納表の実行情報が示すジョブの状態と一致しているジョブの、管理情報格納表に含まれる実行状況情報を確定する。 The determination unit 421 receives the determination time information from the execution information acquisition unit 412. Then, the determination unit 421 performs the following operation based on the execution status information included in the management information storage table stored in the management information storage unit 45 and the execution information included in the acquired execution information storage table stored in the acquired information storage unit 44. The determination unit 421 determines the execution status information included in the management information storage table of the job for which the execution status information in the management information storage table of the management information storage unit 45 matches the job status indicated by the execution information in the execution information storage table of the execution information storage unit 34 of the job execution device 3 of the standby system.

確定部421が実行情報取得部412から受信する確定時刻情報が示す時刻(以降、確定時刻という)は、待機系のジョブ管理システム2に含まれる装置の複製時刻情報が示す時刻の中で最も過去の時刻を示す。したがって、確定時刻までの時刻を終了時刻情報が示す、確定時刻までに実行が終了したジョブの成果物は、待機系のジョブ実行装置3のデータ記憶部33、またはジョブ管理システム2に含まれるリモートストレージに記憶されている。この場合、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報(「完了」)は、待機系のジョブ実行装置3の実行情報記憶部34に記憶されている実行情報格納表の実行情報(「完了」)が示すジョブの状態と一致する。確定部421は、終了時刻情報が、確定時刻までの時刻を示す、確定時刻までに実行が終了したジョブに関しては、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報を「完了」のままとする。また、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報が「完了」なので、確定時刻までに実行済みのジョブは、後述する判定部422による、判定の対象とならない。 The time indicated by the confirmation time information received by the confirmation unit 421 from the execution information acquisition unit 412 (hereinafter referred to as the confirmation time) indicates the earliest time among the times indicated by the copy time information of the devices included in the job management system 2 of the standby system. Therefore, the deliverables of the job whose execution was completed by the confirmation time, whose end time information indicates the time up to the confirmation time, are stored in the data storage unit 33 of the job execution device 3 of the standby system or in the remote storage included in the job management system 2. In this case, the execution status information ("Complete") of the management information storage table stored in the management information storage unit 45 matches the job status indicated by the execution information ("Complete") of the execution information storage table stored in the execution information storage unit 34 of the job execution device 3 of the standby system. For jobs whose end time information indicates the time up to the confirmation time and whose execution was completed by the confirmation time, the confirmation unit 421 leaves the execution status information of the management information storage table stored in the management information storage unit 45 as "Complete". In addition, because the execution status information in the management information storage table stored in the management information storage unit 45 is "completed," jobs that have been executed by the confirmed time are not subject to judgment by the judgment unit 422, which will be described later.

また、確定部421は、後述するように、待機系の管理情報格納表に含まれるジョブの実行状況情報と、取得された実行情報の少なくとも一方が、ジョブが実行済みであることを示すジョブの中で、最後に実行されるジョブである最終ジョブを特定する。なお、確定時刻までに実行が終了したジョブより後に実行されるジョブから最終ジョブまでのジョブに関しては、待機系のジョブ管理装置4の管理情報格納表の実行状況情報と、待機系のジョブ実行装置3の実行情報格納表の実行情報とが示すジョブの状態が一致しない場合がある。したがって、確定時刻までに実行が終了したジョブより後に実行されるジョブから、最終ジョブまでに実行されるジョブは、後述する判定部422による判定の対象となる。 As described below, the determination unit 421 also identifies the final job, which is the last job to be executed, among jobs for which at least one of the job execution status information included in the management information storage table of the standby system and the acquired execution information indicates that the job has been executed. Note that with respect to jobs executed after jobs that have finished execution by the determination time through to the final job, the job status information indicated in the management information storage table of the job management device 4 of the standby system and the execution information indicated in the execution information storage table of the job execution device 3 of the standby system may not match. Therefore, jobs executed after jobs that have finished execution by the determination time through to the final job are subject to determination by the determination unit 422, which will be described later.

確定部421は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表に含まれる、前方ジョブ情報に基づいて、最終ジョブより後に実行されるジョブを把握することができる。そして、確定部421は、最終ジョブより後に実行されるジョブに関し、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報を「未実行」のままとする。なぜならば、現用系のジョブ実行装置6が、最終ジョブより後に実行されるジョブを実行していないので、最終ジョブより後に実行されるジョブの各々の成果物は、待機系のジョブ管理システム2に存在しない。そのため、最終ジョブより後に実行されるジョブの、待機系のジョブ管理装置4の管理情報格納表の実行状況情報(「未実行」)は、待機系のジョブ実行装置3の実行情報格納表の実行情報(「未実行」)が示すジョブの状態と一致する。また、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報が「未実行」なので、これらのジョブは、後述する判定部422による、判定の対象とならない。 The determination unit 421 can grasp jobs to be executed after the final job based on the previous job information included in the job net definition storage table stored in the job net definition storage unit 46. The determination unit 421 then leaves the execution status information of the management information storage table stored in the management information storage unit 45 for jobs to be executed after the final job as "unexecuted". This is because the job execution device 6 of the active system has not executed jobs to be executed after the final job, and therefore the deliverables of the jobs to be executed after the final job do not exist in the job management system 2 of the standby system. Therefore, the execution status information ("unexecuted") of the management information storage table of the job management device 4 of the standby system for jobs to be executed after the final job matches the job status indicated by the execution information ("unexecuted") of the execution information storage table of the job execution device 3 of the standby system. In addition, since the execution status information of the management information storage table stored in the management information storage unit 45 is "unexecuted", these jobs are not subject to judgment by the judgment unit 422 described later.

なお、確定部421は、実行状況情報が確定されていない、判定の対象のジョブについて、当該ジョブが判定の対象であることを示す実行状況情報(「判定待ち」)を、管理情報記憶部45に記憶されている管理情報格納表に格納した後に、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報が未実行であることを確定する動作を行う。また、確定部421は、待機系のジョブ管理装置4の管理情報格納表の実行状況情報が「完了」であること、および「未実行」であることをそれぞれ確定した後に、実行状況情報が確定されていないジョブについて、当該ジョブが判定の対象であることを示す実行状況情報を、管理情報記憶部45に記憶されている管理情報格納表に格納してもよい。 The determination unit 421 performs an operation of storing execution status information ("waiting for determination") indicating that a job is a target for determination for a job whose execution status information has not been determined in the management information storage table stored in the management information storage unit 45, and then determining that the execution status information in the management information storage table stored in the management information storage unit 45 is not yet executed for the job whose execution status information has not been determined, after determining that the execution status information in the management information storage table of the standby job management device 4 is "completed" and that the execution status information in the management information storage table of the standby job management device 4 is "not yet executed", for the job whose execution status information has not been determined, storing execution status information indicating that the job is a target for determination in the management information storage table stored in the management information storage unit 45.

このように、確定部421は、待機系のジョブ管理装置4の管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が、待機系のジョブ実行装置3の実行情報記憶部34の実行情報格納表の実行情報が示すジョブの状態と一致しているジョブの、管理情報記憶部45に記憶されている管理情報格納表に含まれるジョブの実行状況情報を確定する。 In this way, the determination unit 421 determines the job execution status information contained in the management information storage table stored in the management information storage unit 45 of the standby job management device 4, for a job whose execution status information contained in the management information storage table stored in the management information storage unit 45 matches the job status indicated by the execution information in the execution information storage table of the execution information storage unit 34 of the standby job execution device 3.

確定部421は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が確定されていないジョブについて、後述する判定部422による判定の対象のジョブとする。 The determination unit 421 determines that jobs for which the execution status information included in the management information storage table stored in the management information storage unit 45 has not been determined are jobs to be subjected to determination by the determination unit 422, which will be described later.

具体的には、確定部421は、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報と、取得情報記憶部44に記憶されている取得実行情報格納表の実行情報の少なくとも一方が、ジョブが実行済みであることを示すジョブのジョブ識別情報を抽出する。そして、確定部421は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表に含まれる前方ジョブ情報に基づいて、抽出されたジョブ識別情報が示すジョブの中から、最終ジョブを特定する。前方ジョブ情報は、当該前方ジョブ情報が対応付けられているジョブよりも先に実行されるジョブを示す。本実施形態では、前方ジョブ情報は、当該前方ジョブ情報が対応付けられているジョブの直前に実行されるジョブのジョブ識別情報である。 Specifically, the determination unit 421 extracts job identification information of a job for which at least one of the execution status information in the management information storage table stored in the management information storage unit 45 and the execution information in the acquired execution information storage table stored in the acquired information storage unit 44 indicates that the job has been executed. Then, the determination unit 421 identifies the final job from among the jobs indicated by the extracted job identification information based on the forward job information included in the job net definition storage table stored in the job net definition storage unit 46. The forward job information indicates a job that is executed before the job with which the forward job information is associated. In this embodiment, the forward job information is job identification information of a job that is executed immediately before the job with which the forward job information is associated.

さらに、確定部421は、最終ジョブ以前に実行されるジョブのうち、実行済みであることが確定されたジョブ以外のジョブを、後述する判定部422による判定の対象のジョブとする。そして、確定部421は、判定の対象のジョブについて、当該ジョブが判定の対象であることを示す実行状況情報(「判定待ち」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。そして、確定部421は、前述した、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報が「未実行」であることを確定する動作を行う。さらに、確定部421は、ジョブの判定を判定部422に要求する。 Furthermore, the determination unit 421 sets jobs other than jobs that have been determined to have been executed among the jobs executed before the final job as jobs to be determined by the determination unit 422, which will be described later. Then, for the jobs to be determined, the determination unit 421 stores execution status information indicating that the job is to be determined ("waiting for determination") in the management information storage table stored in the management information storage unit 45. Then, the determination unit 421 performs an operation to determine that the execution status information in the management information storage table stored in the management information storage unit 45, as described above, is "not executed". Furthermore, the determination unit 421 requests the determination unit 422 to determine the job.

判定部422は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が確定されていないジョブについて、当該ジョブを、待機系のジョブ実行装置3に実行させるか否かを判定する。判定部422は、待機系のジョブ実行装置3に実行させるジョブを特定する。本実施形態では、判定部422は、判定対象のジョブに関連する、待機系のジョブ実行装置3の実行情報記憶部34に記憶されている実行情報格納表に含まれる開始時刻情報と終了時刻情報を管理情報記憶部45に記憶されている管理情報格納表に格納する。 The determination unit 422 determines whether or not to cause a job, for which execution status information included in the management information storage table stored in the management information storage unit 45 has not been determined, to be executed by a job execution device 3 in the standby system. The determination unit 422 identifies a job to be executed by a job execution device 3 in the standby system. In this embodiment, the determination unit 422 stores start time information and end time information related to the job to be determined and included in the execution information storage table stored in the execution information storage unit 34 of the job execution device 3 in the standby system in the management information storage table stored in the management information storage unit 45.

判定部422の具体的な動作を説明する。ジョブの判定を確定部421から要求された場合に、判定部422は、管理情報記憶部45に記憶されている管理情報格納表から、対応付けられているジョブが判定の対象のジョブであることを示す実行状況情報(「判定対象」)を含むレコードを抽出する。さらに、判定部422は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表(図10)に含まれる、前方ジョブ情報に基づいて、抽出されたレコードに関連するジョブを、待機系のジョブ実行装置3に実行させるか否かの判定を、実行順序が後ろのジョブ(後方のジョブ)から行う。判定部422の判定により、あるジョブが、待機系のジョブ実行装置3に実行させる必要がないジョブであると判定されたとする。その場合、当該ジョブよりも前方のジョブが、判定の対象であり、実行されていない場合であっても、判定対象の未実行の前方のジョブを実行する必要がない場合がある。そのため、判定部422は、実行順序が後方のジョブから順に判定を行う。 A specific operation of the determination unit 422 will be described. When a job determination is requested by the determination unit 421, the determination unit 422 extracts a record including execution status information ("determination target") indicating that the associated job is a job to be determined from the management information storage table stored in the management information storage unit 45. Furthermore, the determination unit 422 determines whether or not to cause the job execution device 3 in the standby system to execute the job related to the extracted record, starting from the job that is later in the execution order (the job that is later), based on the forward job information included in the job net definition storage table (FIG. 10) stored in the job net definition storage unit 46. Assume that the determination unit 422 determines that a certain job is a job that does not need to be executed by the job execution device 3 in the standby system. In that case, even if a job earlier than the job is the target of the determination and has not been executed, there are cases where it is not necessary to execute the unexecuted job earlier than the job to be determined. Therefore, the determination unit 422 performs the determination starting from the job that is later in the execution order.

本実施形態の判定部422が行う判定は、次の3つである。また、判定部422は、次の3つの判定を行った後、実行するジョブを指示する制御情報の出力を制御部43に要求する。判定部422は、(1)から順に、(3)まで判定を行う。(1)判定部422が、判定対象のジョブの正常な成果物が、待機系のジョブ管理システム2に存在するか、否かを判定する。
(2)判定部422が、判定対象のジョブの成果物が、一時的に待機系のジョブ管理システム2に存在する成果物である中間成果物であるか、否かを判定する。
(3)判定部422が、判定対象のジョブの成果物が、未実行の他のジョブの実行で用いられるか、否かを判定する。
The determination unit 422 in this embodiment makes the following three determinations. After making the following three determinations, the determination unit 422 requests the control unit 43 to output control information instructing the job to be executed. The determination unit 422 makes determinations in order from (1) to (3). (1) The determination unit 422 determines whether or not a normal deliverable of the job to be determined exists in the job management system 2 of the standby system.
(2) The determination unit 422 determines whether the deliverable of the job to be determined is an intermediate deliverable that is a deliverable that is temporarily present in the job management system 2 of the standby system.
(3) The determination unit 422 determines whether or not the deliverable of the job to be determined is used in the execution of another job that has not yet been executed.

判定部422は、判定対象のジョブの正常な成果物が、待機系のジョブ管理システム2に存在するか、否かを判定する((1)の判定)。判定対象のジョブの正常な成果物が、待機系のジョブ管理システム2に存在する場合、待機系のジョブ管理装置4は、判定対象のジョブを待機系のジョブ実行装置3に実行させない。また、判定対象のジョブの正常な成果物が、待機系のジョブ管理システム2に存在しない場合、判定対象のジョブを待機系のジョブ実行装置3に実行させるか否かをさらに判定する((2)および(3)の判定)。 The judgment unit 422 judges whether or not a normal deliverable of the job to be judged exists in the job management system 2 of the standby system (judgment (1)). If a normal deliverable of the job to be judged exists in the job management system 2 of the standby system, the job management device 4 of the standby system does not cause the job execution device 3 of the standby system to execute the job to be judged. Furthermore, if a normal deliverable of the job to be judged does not exist in the job management system 2 of the standby system, the judgment unit 422 further judges whether or not to cause the job execution device 3 of the standby system to execute the job to be judged (judgments (2) and (3)).

判定部422の判定について、(1)から順に説明する。 The judgments made by the judgment unit 422 will be explained starting from (1).

まず、(1)判定部422が、判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在するか、否かを判定する場合について説明する。 First, (1) we will explain the case where the judgment unit 422 judges whether or not a normal deliverable of the job to be judged exists in the job management system 2 of the standby system.

判定部422は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表(図10)の装置識別情報に基づいて、判定対象のジョブを実行する待機系のジョブ実行装置3の実行情報出力部312に、成果物に関する情報を出力させる。成果物に関する情報は、出力データ識別情報と、出力データ形式情報と、判定に用いられる情報とを含む。出力データ識別情報は、ジョブの実行により得られた成果物を識別するための情報である。出力データ形式情報は、ジョブの実行により得られた成果物のデータ形式を示す。判定に用いられる情報は、たとえば、成果物がレコードである場合、ジョブの実行により更新されたレコードの更新時刻や、成果物がファイルである場合、後述するようにあらかじめ現用系のジョブ実行装置6により計算されたハッシュ値である。 The judgment unit 422 causes the execution information output unit 312 of the standby job execution device 3 that executes the job to be judged to output information about the deliverable based on the device identification information in the jobnet definition storage table (FIG. 10) stored in the jobnet definition storage unit 46. The information about the deliverable includes output data identification information, output data format information, and information used for judgment. The output data identification information is information for identifying the deliverable obtained by executing the job. The output data format information indicates the data format of the deliverable obtained by executing the job. The information used for judgment is, for example, the update time of the record updated by the execution of the job if the deliverable is a record, or a hash value calculated in advance by the active job execution device 6 as described below if the deliverable is a file.

判定部422は、判定対象のジョブの成果物に関する情報に含まれる、出力データ識別情報および出力データ形式情報が、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表に含まれる、判定対象のジョブに関連する出力データ識別情報および出力データ形式情報と一致するか否かを判定する。さらに、判定部422は、判定対象のジョブの成果物に関する情報に基づいて、判定対象のジョブと対応付けられた判定情報が示す条件を判定対象のジョブの成果物が満たすか、否かを判定する。判定情報は、ジョブの成果物が、正常であるか、否かを判定するための条件を示す情報である。このように、判定部422は、判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在するか、否かを判定する。 The judgment unit 422 judges whether the output data identification information and output data format information included in the information on the deliverable of the job to be judged match the output data identification information and output data format information related to the job to be judged included in the jobnet definition storage table stored in the jobnet definition storage unit 46. Furthermore, the judgment unit 422 judges whether the deliverable of the job to be judged satisfies the condition indicated by the judgment information associated with the job to be judged based on the information on the deliverable of the job to be judged. The judgment information is information indicating the condition for judging whether the deliverable of the job is normal or not. In this way, the judgment unit 422 judges whether a normal deliverable of the job to be judged exists in the job management system 2 of the standby system.

そして、判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在すると判定部422が判定した場合、判定部422は、判定対象のジョブを実行済みのジョブであるとする。また、判定部422は、判定対象のジョブについて、当該ジョブが実行済みの状態であることを示す実行状況情報(「完了」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。 When the determination unit 422 determines that a normal deliverable of the job being determined exists in the job management system 2 of the standby system, the determination unit 422 determines that the job being determined is a job that has already been executed. In addition, the determination unit 422 stores execution status information ("Complete") indicating that the job being determined has already been executed, in the management information storage table stored in the management information storage unit 45.

次に、(2)判定部422が、判定対象のジョブの成果物が、中間成果物であるか、否かを判定する場合について説明する。 Next, we will explain (2) the case where the judgment unit 422 judges whether the deliverable of the job being judged is an intermediate deliverable.

判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在しないと判定部422が判定した場合、判定部422は、次の判定((2)の判定)を行う。判定部422は、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表に含まれる中間情報に基づいて、判定対象のジョブの成果物が、中間成果物であるか、否かを判定する。 When the determination unit 422 determines that a normal deliverable of the job to be determined does not exist in the standby job management system 2, the determination unit 422 performs the next determination (determination (2)). The determination unit 422 determines whether or not the deliverable of the job to be determined is an intermediate deliverable based on the intermediate information included in the jobnet definition storage table stored in the jobnet definition storage unit 46.

中間情報は、ジョブの成果物の保存期間を示す。中間情報として「Yes」が対応付けられたジョブの実行により得られた成果物は、一時的に待機系のジョブ管理システム2に存在する成果物(たとえば、テンポラリーファイル)である。一時的に待機系のジョブ管理システム2に存在する成果物を中間成果物と呼ぶ。また、中間成果物は、後方のジョブの実行に用いられた後は、待機系のジョブ管理システム2に存在しなくてもよい。また、中間成果物であると判定された成果物を用いるすべての後方のジョブが実行済みである場合、中間成果物であると判定された正常な成果物が待機系のジョブ管理システム2に存在しなくても、待機系のジョブ実行装置3が当該成果物を得るジョブを実行する必要はない。中間情報として「No」が対応付けられたジョブの実行により得られた成果物は、関連する一連のジョブ(たとえば、ジョブネットに含まれるジョブ)の実行が終了した後も、待機系のジョブ管理システム2に存在している必要がある成果物である。 The intermediate information indicates the retention period of the job product. The product obtained by executing a job to which "Yes" is associated as intermediate information is a product (e.g., a temporary file) that temporarily exists in the job management system 2 of the standby system. A product that temporarily exists in the job management system 2 of the standby system is called an intermediate product. In addition, an intermediate product does not need to exist in the job management system 2 of the standby system after it has been used to execute a subsequent job. In addition, if all subsequent jobs that use a product determined to be an intermediate product have been executed, even if a normal product determined to be an intermediate product does not exist in the job management system 2 of the standby system, the job execution device 3 of the standby system does not need to execute a job to obtain the product. The product obtained by executing a job to which "No" is associated as intermediate information is a product that needs to exist in the job management system 2 of the standby system even after the execution of a series of related jobs (e.g., jobs included in a jobnet) has ended.

本実施形態では、関連する一連のジョブは、図10に示すジョブネット定義格納表に格納されたジョブ識別情報が示すジョブである。判定部422は、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表(図10)に含まれる、判定対象のジョブの中間情報が「Yes」である場合、判定対象のジョブの成果物が中間成果物であると判定する。また、判定部422は、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表(図10)に含まれる、判定対象のジョブの中間情報が「No」である場合、判定対象のジョブの成果物が中間成果物でないと判定する。そして、判定対象のジョブの成果物が中間成果物でないと判定部422が判定した場合、判定部422は、判定対象のジョブを実行させるジョブであるとする。また、判定部422は、判定対象のジョブについて、当該ジョブを実行させることを示す実行状況情報(「要実行」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。 In this embodiment, the series of related jobs are jobs indicated by the job identification information stored in the jobnet definition storage table shown in FIG. 10. When the intermediate information of the job to be determined contained in the jobnet definition storage table (FIG. 10) stored in the jobnet definition storage unit 46 is "Yes", the determination unit 422 determines that the deliverable of the job to be determined is an intermediate deliverable. When the intermediate information of the job to be determined contained in the jobnet definition storage table (FIG. 10) stored in the jobnet definition storage unit 46 is "No", the determination unit 422 determines that the deliverable of the job to be determined is not an intermediate deliverable. When the determination unit 422 determines that the deliverable of the job to be determined is not an intermediate deliverable, the determination unit 422 determines that the job to be determined is a job to be executed. Furthermore, the determination unit 422 stores execution status information ("to be executed") indicating that the job is to be executed for the job to be determined in the management information storage table stored in the management information storage unit 45.

最後に、(3)判定対象のジョブの成果物が、判定対象のジョブより後に実行される、実行されていない他のジョブの実行で用いられるか、否かを判定する場合について説明する。 Finally, we will explain (3) the case where it is determined whether the deliverables of the job being evaluated are used in the execution of another job that is not yet executed but will be executed after the job being evaluated.

判定対象のジョブの成果物が中間成果物である場合、判定部422は、次の判定を行う。判定部422は、判定対象のジョブの成果物が、判定対象のジョブより後に実行される、未実行の他のジョブの実行で用いられるか、否かを判定する。判定部422は、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表に含まれる、出力データ識別情報と入力データ識別情報とに基づいて、判定対象のジョブの成果物の出力データ識別情報と一致する入力データ識別情報を用いるジョブのジョブ識別情報を特定する。入力データ識別情報は、ジョブの実行において用いられる入力データを識別するための情報である。なお、先行して実行したジョブの成果物を入力データとして用いる場合、入力データ識別情報は、先行して実行したジョブの成果物の出力データ識別情報と同様の識別情報で表される。判定部422は、特定されたジョブ識別情報が示すジョブが、判定対象のジョブより後に実行されるか否かを、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表に含まれる、前方ジョブ情報に基づいて判定する。また、判定部422は、特定されたジョブ識別情報が示すジョブに関連する、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報が「未実行」または「要実行」である場合、特定されたジョブ識別情報が示すジョブが実行されていないとする。特定されたジョブ識別情報が示すジョブが、判定対象のジョブより後に実行され、かつ、実行されていない場合、判定部422は、判定対象のジョブを、実行させるジョブであるとする。そして、判定部422は、判定対象のジョブについて、当該ジョブを実行させることを示す実行状況情報(「要実行」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。 When the deliverable of the job to be judged is an intermediate deliverable, the judgment unit 422 makes the following judgment. The judgment unit 422 judges whether the deliverable of the job to be judged is used in the execution of another unexecuted job to be executed after the job to be judged. The judgment unit 422 identifies the job identification information of a job that uses input data identification information that matches the output data identification information of the deliverable of the job to be judged, based on the output data identification information and input data identification information included in the job net definition storage table stored in the job net definition storage unit 46. The input data identification information is information for identifying input data used in the execution of a job. Note that, when the deliverable of a job executed earlier is used as input data, the input data identification information is represented by the same identification information as the output data identification information of the deliverable of the job executed earlier. The judgment unit 422 judges whether the job indicated by the identified job identification information is executed after the job to be judged, based on the previous job information included in the job net definition storage table stored in the job net definition storage unit 46. Furthermore, when the execution status information in the management information storage table stored in the management information storage unit 45, which is related to the job indicated by the specified job identification information, is "not executed" or "must be executed", the determination unit 422 determines that the job indicated by the specified job identification information is not being executed. When the job indicated by the specified job identification information is executed after the job being determined and has not been executed, the determination unit 422 determines that the job being determined is a job to be executed. Then, the determination unit 422 stores execution status information indicating that the job is to be executed ("must be executed") for the job being determined in the management information storage table stored in the management information storage unit 45.

また、判定対象のジョブの成果物が、判定対象のジョブより後に実行される、実行されていない他のジョブの実行で用いられないと判定部422が判定した場合、判定部422は、判定対象のジョブを実行済みのジョブであるとする。そして、判定部422は、判定対象のジョブについて、当該ジョブが実行済みの状態であることを示す実行状況情報(「完了」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。抽出したレコードに含まれるすべてのジョブについて待機系のジョブ実行装置3に実行させるか否かを判定した場合、待機系のジョブ管理装置4の判定部422は、実行するジョブを指示する制御情報の出力を制御部43に要求する。 Furthermore, if the determination unit 422 determines that the deliverables of the job being determined will not be used in the execution of another job that is not yet executed and will be executed after the job being determined, the determination unit 422 determines that the job being determined is an executed job. Then, the determination unit 422 stores execution status information ("Complete") indicating that the job being determined has been executed, in the management information storage table stored in the management information storage unit 45. When it has determined whether or not to cause the job execution device 3 of the standby system to execute all jobs included in the extracted records, the determination unit 422 of the job management device 4 of the standby system requests the control unit 43 to output control information instructing the job to be executed.

レプリケーション部48は、管理情報記憶部45およびジョブネット定義記憶部46に接続される。レプリケーション部48は、現用系のジョブ管理装置7に記憶されている管理情報格納表に含まれる情報と、ジョブネット定義格納表に含まれる情報とを、所定のタイミングで、非同期にレプリケーションする。 The replication unit 48 is connected to the management information storage unit 45 and the jobnet definition storage unit 46. The replication unit 48 asynchronously replicates, at a predetermined timing, the information contained in the management information storage table stored in the job management device 7 of the active system and the information contained in the jobnet definition storage table.

本実施形態のレプリケーション部48は、現用系のジョブ管理装置7に記憶されている、管理情報格納表に含まれる情報を現用系のジョブ管理装置7の管理情報出力部711から受信する。また、レプリケーション部48は、現用系のジョブ管理装置7のジョブネット定義格納表に含まれる情報を、現用系のジョブ管理装置7のジョブネット定義出力部712から受信する。レプリケーション部48は、受信した、管理情報格納表に含まれる情報を、待機系のジョブ管理装置4の管理情報記憶部45に記憶されている管理情報格納表にレプリケーションする。また、レプリケーション部48は、受信した、ジョブネット定義格納表に含まれる情報を、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表にレプリケーションする。さらに、レプリケーション部48は、レプリケーションした時刻を示す複製時刻情報と、レプリケーションを行った装置が待機系のジョブ管理装置4であることを示す装置情報と、待機系のジョブ管理装置4の装置識別情報とを、取得情報記憶部44の時刻格納表(図5)に格納する。 The replication unit 48 of this embodiment receives information contained in the management information storage table stored in the job management device 7 of the active system from the management information output unit 711 of the job management device 7 of the active system. The replication unit 48 also receives information contained in the job net definition storage table of the job management device 7 of the active system from the job net definition output unit 712 of the job management device 7 of the active system. The replication unit 48 replicates the received information contained in the management information storage table to the management information storage table stored in the management information storage unit 45 of the job management device 4 of the standby system. The replication unit 48 also replicates the received information contained in the job net definition storage table to the job net definition storage table stored in the job net definition storage unit 46. Furthermore, the replication unit 48 stores replication time information indicating the time of replication, device information indicating that the device that performed the replication is the job management device 4 of the standby system, and device identification information of the job management device 4 of the standby system in the time storage table (FIG. 5) of the acquired information storage unit 44.

なお、現用系のジョブ管理装置7の管理情報格納表をレプリケーションする場合に、レプリケーション部48は、次の動作を行う。レプリケーション部48は、受信した管理情報格納表に含まれる情報のうち、現用系のジョブ実行装置6の装置識別情報のそれぞれを、現用系のジョブ実行装置6と対応する待機系のジョブ実行装置3の装置識別情報に置き換え、レプリケーションする。待機系のジョブ管理装置4は、待機系のジョブ管理システム2に含まれる待機系のジョブ実行装置3が、どの現用系のジョブ管理装置7の実行情報格納表と成果物とをレプリケーションしているのかを示す、関係に関する情報を記憶部(図示せず)に記憶してもよい。 When replicating the management information storage table of the active job management device 7, the replication unit 48 performs the following operation. The replication unit 48 replaces each of the device identification information of the active job execution device 6 among the information contained in the received management information storage table with the device identification information of the standby job execution device 3 corresponding to the active job execution device 6, and replicates it. The standby job management device 4 may store, in a storage unit (not shown), relationship information indicating which active job management device 7's execution information storage table and deliverable are being replicated by the standby job execution device 3 included in the standby job management system 2.

ジョブネット定義記憶部46は、特定部42およびレプリケーション部48に接続される。ジョブネット定義記憶部46は、ジョブネット定義格納表を記憶する。ジョブネット定義格納表は、ジョブ識別情報と、前方ジョブ情報と、ジョブ識別情報が示すジョブを実行する待機系のジョブ実行装置3の装置識別情報と、出力データ識別情報と、出力データ形式情報と、中間情報と、入力データ識別情報と、判定情報とを含む。待機系のジョブ管理システム2への系の切り替えを指示する指示情報を待機系のジョブ管理装置4が受信する前には、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表は、レプリケーション部48によりレプリケーションされた情報を含む。 The jobnet definition storage unit 46 is connected to the identification unit 42 and the replication unit 48. The jobnet definition storage unit 46 stores a jobnet definition storage table. The jobnet definition storage table includes job identification information, previous job information, device identification information of the job execution device 3 of the standby system that executes the job indicated by the job identification information, output data identification information, output data format information, intermediate information, input data identification information, and judgment information. Before the job management device 4 of the standby system receives instruction information instructing switching of the system to the job management system 2 of the standby system, the jobnet definition storage table stored in the jobnet definition storage unit 46 includes information replicated by the replication unit 48.

判定情報が示す、ジョブの成果物が、正常であるか、否かを判定するための条件として、以下の例を挙げる。なお、判定するための条件は、以下の条件に限定されるものではない。
・成果物が、ファイルである場合、成果物の作成日時(タイムスタンプ)が、成果物を作成するジョブの開始時刻情報が示す時刻よりも新しいこと。
・成果物が、ファイルであり、成果物のハッシュ値が、ジョブ実行時に現用系のジョブ実行装置6により計算されている場合、待機系のジョブ管理システム2に含まれる成果物のハッシュ値が、現用系のジョブ実行装置6により計算されたハッシュ値と一致すること。ハッシュ値は、たとえば、MD5(Message Digest 5)、またはSHA-1(Secure Hash Algorithm 1)を用いて計算される。
・成果物が、データベースに登録されたレコードである場合、待機系のジョブ管理システム2に含まれるデータベースのテーブルに、ジョブの開始時刻情報が示す時刻よりも新しいレコードが存在すること。
・ジョブが、リモートサーバの電源を入れるジョブである場合、判定部422が
実行したping(Packet Internet Groper)コマンドに対し、リモートサーバから所定時間以内に応答があること。
The following are examples of conditions for determining whether the job deliverable indicated by the determination information is normal or not. Note that the conditions for determination are not limited to the following conditions.
- If the deliverable is a file, the creation date and time (timestamp) of the deliverable is newer than the time indicated by the start time information of the job that created the deliverable.
When the deliverable is a file and the hash value of the deliverable is calculated by the active job execution device 6 at the time of job execution, the hash value of the deliverable stored in the standby job management system 2 matches the hash value calculated by the active job execution device 6. The hash value is calculated using, for example, MD5 (Message Digest 5) or SHA-1 (Secure Hash Algorithm 1).
If the deliverable is a record registered in a database, a record newer than the time indicated by the job start time information exists in the table of the database included in the job management system 2 of the standby system.
If the job is a job for turning on the power of a remote server, a response is received from the remote server within a predetermined time period in response to a ping (Packet Internet Groper) command executed by the determination unit 422 .

図10に、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表の例を示す。図10の例では、ジョブ識別情報と、当該ジョブ識別情報が示すジョブについて、前方ジョブ情報と、当該ジョブを実行するジョブ実行装置の装置識別情報と、当該ジョブの成果物の出力データ識別情報と、出力データ形式情報と、当該ジョブの中間情報と、入力データ識別情報と、判定情報とが、ジョブネット定義格納表に格納されている。図10の例では、ジョブ識別情報が「JOB1」、「JOB2」、「JOB3-1」、「JOB3-2」、「JOB4」、「JOB5-1」、「JOB5-2」、および「JOB6」であるジョブの各々についての情報が、ジョブネット定義格納表に格納されている。 Figure 10 shows an example of a jobnet definition storage table stored in the jobnet definition storage unit 46. In the example of Figure 10, job identification information and, for a job indicated by the job identification information, previous job information, device identification information of the job execution device that executes the job, output data identification information of the deliverable of the job, output data format information, intermediate information of the job, input data identification information, and judgment information are stored in the jobnet definition storage table. In the example of Figure 10, information about each of the jobs with job identification information "JOB1", "JOB2", "JOB3-1", "JOB3-2", "JOB4", "JOB5-1", "JOB5-2", and "JOB6" is stored in the jobnet definition storage table.

制御部43は、実行するジョブを指示する制御情報の出力を待機系のジョブ管理装置4の判定部422から要求された場合に、次の動作を行う。 When the control unit 43 receives a request from the determination unit 422 of the standby job management device 4 to output control information indicating the job to be executed, the control unit 43 performs the following operations.

制御部43は、実行させるジョブのジョブ識別情報を含む、特定部42により特定されたジョブの実行を指示する制御情報を出力する。制御部43は、ジョブが実行されていない状態を示す実行状況情報(「未実行」または「要実行」)が関連付けられた、前方のジョブから順に、待機系のジョブ実行装置3にジョブを実行させる。制御部43は、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表に含まれる、前方ジョブ情報に基づいて、前方のジョブから順に待機系のジョブ実行装置3にジョブを実行させる。さらに、制御部43は、実行を開始したジョブのジョブ識別情報と、当該ジョブの開始時刻情報とを、待機系のジョブ実行装置3から受信する。制御部43は、受信したジョブ識別情報に基づいて、当該ジョブの開始時刻情報と、ジョブの実行を開始し、実行を終了していない状態を示す実行状況情報(「実行中」)とを管理情報記憶部45の管理情報格納表に格納する。また、制御部43は、待機系のジョブ実行装置3から、実行を終了したジョブのジョブ識別情報と、当該ジョブの終了時刻情報とを待機系のジョブ実行装置3から受信する。制御部43は、受信したジョブ識別情報に基づき、実行が完了したジョブについて、当該ジョブが実行済みの状態であることを示す実行状況情報(「完了」)と、終了時刻情報とを、管理情報記憶部45の管理情報格納表に格納する。 The control unit 43 outputs control information that instructs the execution of the job identified by the identification unit 42, including the job identification information of the job to be executed. The control unit 43 causes the job execution device 3 of the standby system to execute the job in order from the front job associated with execution status information ("not executed" or "to be executed") indicating a state in which the job is not being executed. The control unit 43 causes the job execution device 3 of the standby system to execute the job in order from the front job based on the front job information included in the job net definition storage table stored in the job net definition storage unit 46. Furthermore, the control unit 43 receives the job identification information of the job that has started execution and the start time information of the job from the job execution device 3 of the standby system. Based on the received job identification information, the control unit 43 stores the start time information of the job and execution status information ("executing") indicating a state in which the job has started execution and has not yet finished execution in the management information storage table of the management information storage unit 45. The control unit 43 also receives job identification information of a job that has been completed and end time information of the job from the standby job execution device 3. Based on the received job identification information, the control unit 43 stores, for a job that has been completed, execution status information ("Complete") indicating that the job has been executed and end time information in the management information storage table of the management information storage unit 45.

次に、図11を用いて、本実施形態の現用系のジョブ実行装置6の構成例を説明する。図11は、本実施形態の現用系のジョブ管理システム5の構成例を示すブロック図である。 Next, an example of the configuration of the active job execution device 6 of this embodiment will be described with reference to FIG. 11. FIG. 11 is a block diagram showing an example of the configuration of the active job management system 5 of this embodiment.

ジョブ実行装置6は、出力部61と、実行部62と、データ記憶部63と、実行情報記憶部64とを含む。 The job execution device 6 includes an output unit 61, an execution unit 62, a data storage unit 63, and an execution information storage unit 64.

現用系のジョブ実行装置6は、出力部61にデータ出力部611を含む点、および待機系のジョブ実行装置3のレプリケーション部35に相当する構成を含まない点で、待機系のジョブ実行装置3と異なる。本実施形態の、待機系のジョブ実行装置3の出力部31は、現用系のジョブ実行装置6のデータ出力部611に相当する構成を含んでもよい。また、本実施形態のジョブ実行装置6は、待機系のジョブ実行装置3のレプリケーション部35に相当する構成を含んでもよい。このように、現用系のジョブ実行装置6は、待機系のジョブ実行装置3の構成と同様の構成であってもよい。 The job execution device 6 of the active system differs from the job execution device 3 of the standby system in that the output unit 61 includes a data output unit 611, and does not include a configuration equivalent to the replication unit 35 of the job execution device 3 of the standby system. In this embodiment, the output unit 31 of the job execution device 3 of the standby system may include a configuration equivalent to the data output unit 611 of the job execution device 6 of the active system. Furthermore, the job execution device 6 of this embodiment may include a configuration equivalent to the replication unit 35 of the job execution device 3 of the standby system. In this way, the job execution device 6 of the active system may have a configuration similar to that of the job execution device 3 of the standby system.

また、現用系のジョブ実行装置6は、現用系のジョブ管理システム5の障害を検知する機能を備え、障害を検知した場合、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、待機系のジョブ管理装置4に出力する。 The active job execution device 6 also has a function for detecting a failure in the active job management system 5, and when a failure is detected, outputs instruction information to the standby job management device 4 to instruct the system to switch to the standby job management system 2.

出力部61は、データ出力部611と、実行情報出力部612とを含む。 The output unit 61 includes a data output unit 611 and an execution information output unit 612.

データ出力部611は、ジョブの成果物を、所定のタイミングで、待機系のジョブ実行装置3に出力する。本実施形態のデータ出力部611は、前回成果物を出力して以降に実行されたジョブの成果物を出力する。データ出力部611は、ジョブの成果物を、所定の時間が経過するたびに出力してもよい。 The data output unit 611 outputs the job results to the standby job execution device 3 at a predetermined timing. In this embodiment, the data output unit 611 outputs the results of the job executed after the previous output of the results. The data output unit 611 may output the job results every time a predetermined time has elapsed.

実行情報出力部612は、実行情報記憶部64に記憶されている実行情報格納表に含まれる情報を、データ出力部611がジョブの成果物を出力する動作と同じタイミングで、待機系のジョブ実行装置3に出力する。また、本実施形態の実行情報出力部612は、前回実行情報格納表に含まれる情報を出力して以降に実行されたジョブに関連する、実行情報格納表に含まれる情報を出力する。 The execution information output unit 612 outputs information contained in the execution information storage table stored in the execution information memory unit 64 to the standby job execution device 3 at the same timing as the data output unit 611 outputs the job deliverable. In addition, the execution information output unit 612 of this embodiment outputs information contained in the execution information storage table related to jobs executed after the previous output of information contained in the execution information storage table.

データ記憶部63は、ジョブの成果物を記憶する。また、データ記憶部63は、データベースを記憶する。データ記憶部63に記憶されているジョブの成果物は、実行部62が実行したジョブの成果物である。なお、ジョブの成果物およびデータベースは、現用系のジョブ実行装置6のデータ記憶部63(ローカル)ではなく、現用系のジョブ管理システム5に含まれるリモートストレージ(図示せず)に記憶されてもよい。 The data storage unit 63 stores the results of a job. The data storage unit 63 also stores a database. The results of a job stored in the data storage unit 63 are the results of a job executed by the execution unit 62. Note that the results of a job and the database may be stored in a remote storage (not shown) included in the job management system 5 of the current system, rather than in the data storage unit 63 (local) of the job execution device 6 of the current system.

実行情報記憶部64は、実行情報格納表(図示せず)を記憶する。実行情報格納表は、ジョブ識別情報と、ジョブ識別情報が示すジョブに関し、実行情報と、開始時刻情報と、終了時刻情報とを含む。実行情報記憶部64に記憶されている実行情報格納表は、実行部62によって情報を格納される。 The execution information storage unit 64 stores an execution information storage table (not shown). The execution information storage table includes job identification information, and execution information, start time information, and end time information for the job indicated by the job identification information. The execution information storage table stored in the execution information storage unit 64 stores information by the execution unit 62.

実行部62は、実行させるジョブのジョブ識別情報を含む、実行するジョブを指示する制御情報を現用系のジョブ管理装置7から受信する。現用系のジョブ実行装置6の実行部62は、ジョブの実行を開始した時刻を示す開始時刻情報と、実行情報(「実行中」)とを、実行情報記憶部64に記憶されている実行情報格納表に格納する。また、実行部62は、実行を開始したジョブのジョブ識別情報と、当該ジョブの開始時刻情報とを、現用系のジョブ管理装置7に出力する。実行部62は、受信した、実行するジョブを指示する制御情報に基づいてジョブを実行する。実行部62は、ジョブの成果物を、データ記憶部63、または現用系のジョブ管理システム5に含まれるリモートストレージに記憶させる。実行部62は、ジョブの実行を終了した時刻を示す終了時刻情報と、ジョブの実行を終了した状態を示す実行情報(「完了」)とを、実行情報記憶部64に記憶されている実行情報格納表に格納する。また、実行部62は、実行を終了したジョブのジョブ識別情報と、当該ジョブの終了時刻情報とを現用系のジョブ管理装置7に出力する。 The execution unit 62 receives control information instructing the job to be executed, including job identification information of the job to be executed, from the job management device 7 of the active system. The execution unit 62 of the active system job execution device 6 stores start time information indicating the time when the execution of the job started and execution information ("executing") in the execution information storage table stored in the execution information storage unit 64. The execution unit 62 also outputs the job identification information of the job that has started to be executed and the start time information of the job to the job management device 7 of the active system. The execution unit 62 executes the job based on the received control information instructing the job to be executed. The execution unit 62 stores the result of the job in the data storage unit 63 or the remote storage included in the job management system 5 of the active system. The execution unit 62 stores end time information indicating the time when the execution of the job ended and execution information ("completed") indicating the state in which the execution of the job ended in the execution information storage table stored in the execution information storage unit 64. In addition, the execution unit 62 outputs the job identification information of the job that has finished execution and the end time information of the job to the job management device 7 of the active system.

最後に、図11を用いて、本実施形態の現用系のジョブ管理装置7の構成例を説明する。 Finally, an example configuration of the current job management device 7 in this embodiment will be described with reference to FIG. 11.

現用系のジョブ管理装置7は、出力部71を含む点、および待機系のジョブ管理装置4の取得部41と、特定部42と、取得情報記憶部44と、受付部47と、レプリケーション部48とに相当する構成を含まない点で、待機系のジョブ管理装置4と異なる。本実施形態の、待機系のジョブ管理装置4は、現用系のジョブ管理装置7の出力部71に相当する構成を含んでもよい。また、本実施形態のジョブ管理装置7は、待機系のジョブ管理装置4の取得部41と、特定部42と、取得情報記憶部44と、受付部47と、レプリケーション部48とに相当する構成を含んでもよい。このように、現用系のジョブ管理装置7は、待機系のジョブ管理装置4の構成と同様の構成であってもよい。 The job management device 7 of the active system differs from the job management device 4 of the standby system in that it includes an output unit 71 and does not include configurations equivalent to the acquisition unit 41, identification unit 42, acquired information storage unit 44, reception unit 47, and replication unit 48 of the job management device 4 of the standby system. The job management device 4 of the standby system in this embodiment may include configurations equivalent to the output unit 71 of the job management device 7 of the active system. The job management device 7 of this embodiment may also include configurations equivalent to the acquisition unit 41, identification unit 42, acquired information storage unit 44, reception unit 47, and replication unit 48 of the job management device 4 of the standby system. In this way, the job management device 7 of the active system may have a configuration similar to that of the job management device 4 of the standby system.

また、現用系のジョブ管理装置7は、現用系のジョブ管理システム5の障害を検知する機能を備え、障害を検知した場合、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、待機系のジョブ管理装置4に出力する。 The job management device 7 of the active system also has a function of detecting a failure in the job management system 5 of the active system, and when a failure is detected, outputs instruction information to the job management device 4 of the standby system to instruct the system to switch to the job management system 2 of the standby system.

ジョブ管理装置7は、出力部71と、制御部72と、管理情報記憶部73と、ジョブネット定義記憶部74とを含む。 The job management device 7 includes an output unit 71, a control unit 72, a management information storage unit 73, and a job network definition storage unit 74.

出力部71は、管理情報出力部711と、ジョブネット定義出力部712とを含む。 The output unit 71 includes a management information output unit 711 and a jobnet definition output unit 712.

管理情報出力部711は、管理情報記憶部73に記憶されている管理情報格納表に含まれる情報を、所定のタイミングで、待機系のジョブ管理装置4に出力する。出力される、管理情報格納表に含まれる情報は、ジョブ管理装置7が、前回管理情報格納表に含まれる情報を出力して以降に現用系のジョブ実行装置6に実行させたジョブに関連する。管理情報出力部711は、管理情報記憶部73に記憶されている管理情報格納表に含まれる情報を、所定の時間が経過するたびに、ジョブ管理装置4に出力してもよい。 The management information output unit 711 outputs information contained in the management information storage table stored in the management information storage unit 73 to the job management device 4 of the standby system at a predetermined timing. The output information contained in the management information storage table is related to jobs that the job management device 7 has caused the job execution device 6 of the active system to execute since it last output the information contained in the management information storage table. The management information output unit 711 may output information contained in the management information storage table stored in the management information storage unit 73 to the job management device 4 every time a predetermined time has elapsed.

ジョブネット定義出力部712は、ジョブネット定義記憶部74に記憶されているジョブネット定義格納表に含まれる情報を、管理情報出力部711が管理情報格納表に含まれる情報を出力する動作と同じタイミングで、待機系のジョブ管理装置4に出力する。本実施形態のジョブネット定義出力部712は、前回ジョブネット定義格納表に含まれる情報を出力して以降に変更された、ジョブネット定義格納表に含まれる情報を、ジョブ管理装置4に出力する。 The jobnet definition output unit 712 outputs information contained in the jobnet definition storage table stored in the jobnet definition memory unit 74 to the standby job management device 4 at the same timing as the management information output unit 711 outputs information contained in the management information storage table. In this embodiment, the jobnet definition output unit 712 outputs information contained in the jobnet definition storage table that has been changed since the previous output of information contained in the jobnet definition storage table to the job management device 4.

管理情報記憶部73は、管理情報格納表を記憶する。管理情報記憶部73に記憶されている管理情報格納表は、ジョブ識別情報を含み、また、当該ジョブ識別情報が示すジョブについて、ジョブを実行する現用系のジョブ実行装置6の装置識別情報と、実行状況情報と、開始時刻情報と、終了時刻情報とを含む。管理情報記憶部73に記憶されている実行状況情報は、現用系のジョブ実行装置6に実行させるジョブの状態を示す。 The management information storage unit 73 stores a management information storage table. The management information storage table stored in the management information storage unit 73 includes job identification information, and also includes, for the job indicated by the job identification information, device identification information of the active job execution device 6 that executes the job, execution status information, start time information, and end time information. The execution status information stored in the management information storage unit 73 indicates the status of the job to be executed by the active job execution device 6.

より具体的には、管理情報記憶部73に記憶されている実行状況情報は、現用系のジョブ実行装置6が、ジョブの実行を終了した状態であることを示す情報(「完了」)、ジョブの実行を開始していない状態であることを示す情報(「未実行」)、またはジョブの実行を開始し、実行を終了していない状態であることを示す情報(「実行中」)を含む。 More specifically, the execution status information stored in the management information storage unit 73 includes information indicating that the currently used job execution device 6 has finished executing the job ("Completed"), information indicating that the job execution has not yet started ("Not Executed"), or information indicating that the job execution has started but not yet finished ("In Progress").

管理情報記憶部73に記憶されている管理情報格納表に含まれる開始時刻情報は、現用系のジョブ実行装置6がジョブの実行を開始した時刻を示す。管理情報記憶部73に記憶されている管理情報格納表に含まれる終了時刻情報は、現用系のジョブ実行装置6がジョブの実行を終了した時刻を示す。 The start time information included in the management information storage table stored in the management information storage unit 73 indicates the time when the active job execution device 6 starts executing the job. The end time information included in the management information storage table stored in the management information storage unit 73 indicates the time when the active job execution device 6 ends executing the job.

図12に、本実施形態の、管理情報記憶部73に記憶されている管理情報格納表の例を示す。図12の例では、ジョブ識別情報が「JOB1」、「JOB2」、「JOB3-1」、「JOB3-2」、「JOB4」、「JOB5-1」、「JOB5-2」、および「JOB6」であるジョブの各々について、ジョブを実行するジョブ実行装置6の装置識別情報と、実行状況情報と、開始時刻情報と、終了時刻情報とが、管理情報格納表に格納されている。図12は、待機系のジョブ管理システム2への系の切り替えを指示する指示情報が出力された時点の、現用系のジョブ管理装置7の管理情報記憶部73に記憶されている管理情報格納表の例である。図12に示す管理情報格納表の例は、それぞれの現用系のジョブ実行装置6の装置識別情報が、現用系のジョブ実行装置6の実行情報格納表と成果物とを複製している待機系のジョブ実行装置3の装置識別情報と同じである場合の例である。 FIG. 12 shows an example of the management information storage table stored in the management information storage unit 73 in this embodiment. In the example of FIG. 12, for each job whose job identification information is "JOB1", "JOB2", "JOB3-1", "JOB3-2", "JOB4", "JOB5-1", "JOB5-2", and "JOB6", the device identification information of the job execution device 6 that executes the job, execution status information, start time information, and end time information are stored in the management information storage table. FIG. 12 shows an example of the management information storage table stored in the management information storage unit 73 of the active job management device 7 at the time when instruction information instructing the system to switch to the standby job management system 2 is output. The example of the management information storage table shown in FIG. 12 is an example in which the device identification information of each active job execution device 6 is the same as the device identification information of the standby job execution device 3 that duplicates the execution information storage table and deliverables of the active job execution device 6.

なお、図7は、図12に示される、現用系のジョブ管理装置7の管理情報記憶部73に記憶されている管理情報格納表の例と同じ時点の、待機系のジョブ管理装置4の管理情報記憶部45に記憶されている管理情報格納表の例である。図12では、図7において「未実行」として示されている、ジョブ識別情報が「JOB3-1」から「JOB5-1」までのジョブの実行が完了している。また、図12では、ジョブ識別情報が「JOB5-2」であるジョブが、現用系のジョブ実行装置6に実行されている。この違いは、ジョブ識別情報が「JOB3-1」から「JOB5-1」までのジョブに関連する、管理情報記憶部73に記憶されている管理情報格納表に含まれる情報が、待機系のジョブ管理装置4にレプリケーションされていないために生じる。 Note that FIG. 7 is an example of a management information storage table stored in the management information storage unit 45 of the job management device 4 of the standby system at the same time as the example of the management information storage table stored in the management information storage unit 73 of the job management device 7 of the active system shown in FIG. 12. In FIG. 12, the jobs with job identification information "JOB3-1" to "JOB5-1" shown as "unexecuted" in FIG. 7 have been completed. Also, in FIG. 12, a job with job identification information "JOB5-2" is being executed by the job execution device 6 of the active system. This difference occurs because the information included in the management information storage table stored in the management information storage unit 73 and related to the jobs with job identification information "JOB3-1" to "JOB5-1" has not been replicated to the job management device 4 of the standby system.

ジョブネット定義記憶部74は、ジョブネット定義格納表(図示せず)を記憶する。ジョブネット定義記憶部74に記憶されているジョブネット定義格納表は、図10に示す、待機系のジョブ管理装置4のジョブネット定義記憶部46に記憶されているジョブネット定義格納表と同様であるので、説明を省略する。 The jobnet definition storage unit 74 stores a jobnet definition storage table (not shown). The jobnet definition storage table stored in the jobnet definition storage unit 74 is similar to the jobnet definition storage table stored in the jobnet definition storage unit 46 of the standby job management device 4 shown in FIG. 10, so a description thereof will be omitted.

制御部72は、ジョブ識別情報を含む、実行するジョブを指示する制御情報を、現用系のジョブ実行装置6に出力する。さらに、制御部72は、実行を開始したジョブのジョブ識別情報と、当該ジョブの開始時刻情報とを、現用系のジョブ実行装置6から受信する。制御部72は受信したジョブ識別情報に基づいて、当該ジョブの開始時刻情報と、ジョブの実行を開始し、実行を終了していない状態を示す実行状況情報(「実行中」)とを管理情報記憶部73の管理情報格納表に格納する。 The control unit 72 outputs control information, including job identification information, instructing the job to be executed to the job execution device 6 of the active system. Furthermore, the control unit 72 receives job identification information of the job that has started execution and start time information of the job from the job execution device 6 of the active system. Based on the received job identification information, the control unit 72 stores the start time information of the job and execution status information ("executing") indicating that the job has started execution but has not yet finished in the management information storage table of the management information storage unit 73.

制御部72は、ジョブネット定義記憶部74に記憶されているジョブネット定義格納表に含まれる、前方ジョブ情報に基づいて、前方のジョブから順に現用系のジョブ実行装置6にジョブを実行させる。制御部72は、実行を終了したジョブのジョブ識別情報と、当該ジョブの終了時刻情報とを現用系のジョブ実行装置6から受信する。制御部72は、受信したジョブ識別情報に基づき、実行が完了したジョブについて、当該ジョブが実行済みの状態であることを示す実行状況情報(「完了」)と、終了時刻情報とを、管理情報記憶部45の管理情報格納表に格納する。 The control unit 72 causes the job execution device 6 of the active system to execute jobs in order starting from the forward job based on the forward job information included in the job net definition storage table stored in the job net definition storage unit 74. The control unit 72 receives job identification information of a job that has finished execution and end time information of the job from the job execution device 6 of the active system. Based on the received job identification information, the control unit 72 stores execution status information indicating that the job has been executed ("Completed") and end time information for a job that has finished execution in the management information storage table of the management information storage unit 45.

このように、ジョブ管理装置4は、現用系のジョブ実行装置6を含むシステムに障害が発生した場合に、ジョブを実行する待機系のジョブ実行装置3から、実行情報を取得する。待機系のジョブ実行装置3には、現用系のジョブ実行装置6により実行されたジョブの成果物と、現用系のジョブ実行装置6のジョブの実行の状態を示す実行情報とが、障害が発生する前に複製されている。また、ジョブ管理装置4は、ジョブを待機系のジョブ実行装置3に実行させるか否かを判定するための情報である管理情報と、待機系のジョブ実行装置3から取得した実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置3に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置3に実行させるジョブとして特定する。また、ジョブ管理装置4は、特定されたジョブを待機系のジョブ実行装置3に実行させる。 In this way, when a failure occurs in a system including the active job execution device 6, the job management device 4 acquires execution information from the standby job execution device 3 that executes the job. In the standby job execution device 3, the product of the job executed by the active job execution device 6 and the execution information indicating the execution status of the job in the active job execution device 6 are copied before the failure occurs. Furthermore, the job management device 4 determines whether or not to cause the standby job execution device 3 to execute each job based on the management information, which is information for determining whether or not to cause the standby job execution device 3 to execute the job, and the execution information acquired from the standby job execution device 3, and identifies the job that is determined to be executed as the job to be executed by the standby job execution device 3. Furthermore, the job management device 4 causes the standby job execution device 3 to execute the identified job.

このように、ジョブ管理装置4は、障害が発生した場合に、待機系のジョブ実行装置3における各ジョブの実行要否を、管理情報と、障害が発生する前に複製されていた実行情報とに基づいて速やかに判定することができる。そして、ジョブ管理装置4は、障害が発生する前に待機系のジョブ実行装置3に複製されていた、現用系のジョブ実行装置6が実行したジョブの成果物を活用して、待機系のシステムの運用を開始することが可能になる。このため、迅速にシステムを復旧することが可能になる。 In this way, when a failure occurs, the job management device 4 can quickly determine whether or not each job needs to be executed in the standby job execution device 3 based on the management information and the execution information that was copied before the failure occurred. The job management device 4 can then start operating the standby system by utilizing the results of the job executed by the active job execution device 6 that was copied to the standby job execution device 3 before the failure occurred. This makes it possible to quickly restore the system.

また、本実施形態のジョブ管理装置4は、管理情報と待機系のジョブ実行装置3から取得した実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置3に実行させるか否かを判定する。そのため、管理情報が実行状況情報を含む場合に、実行状況情報と待機系のジョブ実行装置3に複製された実行情報とが整合しないことによる不都合が生じる可能性を低減することができる。 The job management device 4 of this embodiment also determines whether or not to have the standby job execution device 3 execute each job based on the management information and the execution information acquired from the standby job execution device 3. Therefore, when the management information includes execution status information, it is possible to reduce the possibility of inconvenience caused by inconsistency between the execution status information and the execution information copied to the standby job execution device 3.

また、ジョブ管理装置4は、待機系のジョブ管理装置4の管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が、待機系のジョブ実行装置3の実行情報記憶部34の実行情報格納表の実行情報が示すジョブの状態と一致しているジョブの、管理情報記憶部45に記憶されている管理情報格納表に含まれるジョブの実行状況情報を確定する。さらに、ジョブ管理装置4は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が確定されていないジョブを、待機系のジョブ実行装置3にジョブを実行させるか、否かを判定する。これにより、待機系のジョブ管理装置4は、待機系のジョブ実行装置3に実行させる必要がないジョブを、待機系のジョブ実行装置3に実行させないことが可能になる。これにより、待機系のジョブ管理システム2を、障害の発生前の現用系のジョブ管理システム5の状態に、迅速に復旧させることが可能になる。 The job management device 4 also determines the job execution status information included in the management information storage table stored in the management information storage unit 45 of the standby job management device 4 for a job whose execution status information included in the management information storage table stored in the management information storage unit 45 matches the job status indicated by the execution information in the execution information storage table of the execution information storage unit 34 of the standby job execution device 3. Furthermore, the job management device 4 determines whether or not to cause the standby job execution device 3 to execute a job for which the execution status information included in the management information storage table stored in the management information storage unit 45 has not been determined. This makes it possible for the standby job management device 4 to not cause the standby job execution device 3 to execute a job that does not need to be executed by the standby job execution device 3. This makes it possible to quickly restore the standby job management system 2 to the state of the active job management system 5 before the occurrence of the failure.

次に、本実施形態の、待機系のジョブ管理システム2と現用系のジョブ管理システム5に含まれる装置の動作例について説明する。 Next, we will explain an example of the operation of the devices included in the standby job management system 2 and the active job management system 5 in this embodiment.

まず、図13を用いて、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、待機系のジョブ管理装置4の受付部47が受信するまでの、待機系のジョブ実行装置3および現用系のジョブ実行装置6の動作例を説明する。図13は、待機系のジョブ実行装置3および現用系のジョブ実行装置6の動作例を示す。 First, an example of the operation of the standby job execution device 3 and the active job execution device 6 until the reception unit 47 of the standby job management device 4 receives instruction information instructing switching to the standby job management system 2 will be described with reference to FIG. 13. FIG. 13 shows an example of the operation of the standby job execution device 3 and the active job execution device 6.

現用系のジョブ実行装置6のデータ出力部611は、前回成果物を出力して以降に実行されたジョブの成果物を、所定のタイミングで、待機系のジョブ実行装置3に出力する。さらに、データ出力部611がジョブの成果物を出力する動作と同じタイミングで、現用系のジョブ実行装置6の実行情報出力部612は、実行情報記憶部64に記憶されている、前回実行情報格納表に含まれる情報を出力して以降に実行されたジョブに関連する、実行情報格納表に含まれる情報を、待機系のジョブ実行装置3に出力する(ステップS201)。 The data output unit 611 of the active job execution device 6 outputs the results of the job executed after the previous output of the results to the standby job execution device 3 at a predetermined timing. Furthermore, at the same timing as the data output unit 611 outputs the results of the job, the execution information output unit 612 of the active job execution device 6 outputs the information contained in the execution information storage table stored in the execution information storage unit 64, which is related to the job executed after the information contained in the previous execution information storage table was output, to the standby job execution device 3 (step S201).

待機系のジョブ実行装置3のレプリケーション部35は、現用系のジョブ実行装置6により実行されたジョブの成果物と、現用系のジョブ実行装置6の実行情報格納表に含まれる情報とを受信する。レプリケーション部35は、受信したジョブの成果物を、待機系のジョブ実行装置3のデータ記憶部33、または待機系のジョブ管理システム2に含まれるリモートストレージにレプリケーションする。また、レプリケーション部35は、受信した実行情報格納表に含まれる情報を、待機系のジョブ実行装置3の実行情報記憶部34に記憶されている実行情報格納表にレプリケーションする(ステップS202)。 The replication unit 35 of the standby job execution device 3 receives the results of the job executed by the active job execution device 6 and the information included in the execution information storage table of the active job execution device 6. The replication unit 35 replicates the received job results to the data storage unit 33 of the standby job execution device 3 or to a remote storage included in the standby job management system 2. The replication unit 35 also replicates the information included in the received execution information storage table to the execution information storage table stored in the execution information storage unit 34 of the standby job execution device 3 (step S202).

レプリケーション部35は、ジョブの成果物および実行情報格納表に含まれる情報を現用系のジョブ実行装置6からレプリケーションした時刻を示す複製時刻情報を実行情報記憶部34に記憶させる(ステップS203)。ここでの複製時刻情報が示す時刻は、ジョブの成果物および実行情報格納表に含まれる情報が、現用系のジョブ実行装置6から出力された時刻である。本実施形態では、現用系のジョブ実行装置6のデータ出力部611が、ジョブの成果物を出力した時刻を示す複製時刻情報を待機系のジョブ実行装置3のレプリケーション部35に出力する。また、待機系のジョブ実行装置3のレプリケーション部35が、受信した複製時刻情報を実行情報記憶部34に記憶させる。 The replication unit 35 stores in the execution information storage unit 34 replication time information indicating the time when the job deliverable and the information contained in the execution information storage table were replicated from the active job execution device 6 (step S203). The time indicated by the replication time information here is the time when the job deliverable and the information contained in the execution information storage table were output from the active job execution device 6. In this embodiment, the data output unit 611 of the active job execution device 6 outputs replication time information indicating the time when the job deliverable was output to the replication unit 35 of the standby job execution device 3. In addition, the replication unit 35 of the standby job execution device 3 stores the received replication time information in the execution information storage unit 34.

次に、図14を用いて、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、待機系のジョブ管理装置4の受付部47が受信するまでの、待機系のジョブ管理装置4および現用系のジョブ管理装置7の動作例を説明する。図14は、現用系のジョブ管理装置7および待機系のジョブ管理装置4の動作例を示す。 Next, an example of the operation of the standby job management device 4 and the active job management device 7 until the reception unit 47 of the standby job management device 4 receives instruction information instructing switching to the standby job management device 2 will be described with reference to FIG. 14. FIG. 14 shows an example of the operation of the active job management device 7 and the standby job management device 4.

現用系のジョブ管理装置7の管理情報出力部711は、管理情報記憶部73に記憶されている管理情報格納表に含まれる情報を、所定のタイミングで、待機系のジョブ管理装置4に出力する。出力される、管理情報格納表に含まれる情報は、ジョブ管理装置7が、前回管理情報格納表に含まれる情報を出力して以降に現用系のジョブ実行装置6に実行させたジョブに関連する。さらに、管理情報出力部711が管理情報格納表に含まれる情報を出力する動作と同じタイミングで、現用系のジョブ管理装置7のジョブネット定義出力部712は、前回ジョブネット定義格納表に含まれる情報を出力して以降に変更された、ジョブネット定義記憶部74に記憶されているジョブネット定義格納表に含まれる情報を、待機系のジョブ管理装置4に出力する(ステップS301)。 The management information output unit 711 of the job management device 7 of the active system outputs information contained in the management information storage table stored in the management information memory unit 73 to the job management device 4 of the standby system at a predetermined timing. The output information contained in the management information storage table relates to jobs that the job management device 7 has caused the job execution device 6 of the active system to execute since the job management device 7 last output the information contained in the management information storage table. Furthermore, at the same timing as the operation of the management information output unit 711 to output the information contained in the management information storage table, the job net definition output unit 712 of the job management device 7 of the active system outputs information contained in the job net definition storage table stored in the job net definition memory unit 74 that has been changed since the information contained in the job net definition storage table was last output to the job management device 4 of the standby system (step S301).

待機系のジョブ管理装置4のレプリケーション部48は、現用系のジョブ管理装置7に記憶されている、管理情報格納表に含まれる情報と、ジョブネット定義格納表に含まれる情報とを現用系のジョブ管理装置7から受信する。レプリケーション部48は、受信した、管理情報格納表に含まれる情報を、待機系のジョブ管理装置4の管理情報記憶部45に記憶されている管理情報格納表にレプリケーションする。また、レプリケーション部48は、受信した、ジョブネット定義格納表に含まれる情報を、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表にレプリケーションする(ステップS302)。 The replication unit 48 of the standby job management device 4 receives from the active job management device 7 the information contained in the management information storage table and the information contained in the jobnet definition storage table stored in the active job management device 7. The replication unit 48 replicates the information contained in the received management information storage table to the management information storage table stored in the management information memory unit 45 of the standby job management device 4. The replication unit 48 also replicates the information contained in the received jobnet definition storage table to the jobnet definition storage table stored in the jobnet definition memory unit 46 (step S302).

レプリケーション部48は、管理情報格納表に含まれる情報およびジョブネット定義格納表に含まれる情報を現用系のジョブ管理装置7からレプリケーションした時刻を示す複製時刻情報と、レプリケーションを行った装置が待機系のジョブ管理装置4であることを示す装置情報と、レプリケーションを行った待機系のジョブ管理装置4の装置識別情報とを、取得情報記憶部44の時刻格納表(図5)に格納する(ステップS303)。 The replication unit 48 stores the replication time information indicating the time when the information contained in the management information storage table and the information contained in the jobnet definition storage table were replicated from the active job management device 7, device information indicating that the device that performed the replication is the standby job management device 4, and device identification information of the standby job management device 4 that performed the replication in the time storage table (Figure 5) of the acquired information storage unit 44 (step S303).

ここでの複製時刻情報が示す時刻は、現用系のジョブ管理装置7に記憶されている管理情報格納表に含まれる情報およびジョブネット定義格納表に含まれる情報が、現用系のジョブ管理装置7から出力された時刻である。本実施形態では、現用系のジョブ実行装置6の管理情報出力部711が、管理情報格納表に含まれる情報を出力した時刻を示す複製時刻情報を、待機系のジョブ管理装置4のレプリケーション部48に出力する。また、待機系のジョブ管理装置4のレプリケーション部48が、受信した複製時刻情報を、取得情報記憶部44の時刻格納表に格納する。 The time indicated by the replication time information here is the time when the information contained in the management information storage table and the information contained in the jobnet definition storage table stored in the active job management device 7 are output from the active job management device 7. In this embodiment, the management information output unit 711 of the active job execution device 6 outputs replication time information indicating the time when the information contained in the management information storage table was output to the replication unit 48 of the standby job management device 4. In addition, the replication unit 48 of the standby job management device 4 stores the received replication time information in the time storage table of the acquired information storage unit 44.

次に、図15を用いて、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を、待機系のジョブ管理装置4の受付部47が受信した場合の、待機系のジョブ管理システム2の動作例を説明する。図15は、本発明の第二の実施形態の待機系のジョブ管理システム2の動作例を示す。 Next, an example of the operation of the standby job management system 2 when the reception unit 47 of the standby job management device 4 receives instruction information instructing switching to the standby job management system 2 will be described with reference to FIG. 15. FIG. 15 shows an example of the operation of the standby job management system 2 of the second embodiment of the present invention.

待機系のジョブ管理装置4の受付部47は、待機系のジョブ管理システム2への系の切り替えを指示する指示情報を受信する(ステップS401)。受付部47は、複製時刻情報の取得を時刻取得部411に要求する。 The reception unit 47 of the standby job management device 4 receives instruction information instructing a system switch to the standby job management system 2 (step S401). The reception unit 47 requests the time acquisition unit 411 to acquire the replication time information.

時刻取得部411は、複製時刻情報の取得を受付部47から要求された場合に、複製時刻情報の出力を待機系のジョブ実行装置3に要求する(ステップS402)。 When the time acquisition unit 411 receives a request from the reception unit 47 to acquire the replication time information, it requests the standby job execution device 3 to output the replication time information (step S402).

待機系のジョブ実行装置3の時刻出力部311は、待機系のジョブ実行装置3の装置識別情報と、実行情報記憶部34に記憶されている複製時刻情報とを出力する(ステップS403)。 The time output unit 311 of the standby job execution device 3 outputs the device identification information of the standby job execution device 3 and the replication time information stored in the execution information storage unit 34 (step S403).

待機系のジョブ管理装置4の時刻取得部411は、待機系のジョブ実行装置3の装置識別情報および複製時刻情報を、待機系のジョブ実行装置3の時刻出力部311から受信する。待機系のジョブ管理装置4の時刻取得部411は、受信した情報が待機系のジョブ実行装置3の情報であることを示す装置情報と、待機系のジョブ実行装置3の、受信した装置識別情報および複製時刻情報とを、取得情報記憶部44に記憶されている時刻格納表(図5)に格納する(ステップS404)。時刻取得部411は、待機系のジョブ管理システム2に含まれるすべてのジョブ実行装置3の複製時刻情報を、待機系のジョブ管理装置4の取得情報記憶部44の時刻格納表に格納する。そして、時刻取得部411は、取得情報記憶部44の時刻格納表に格納されている複製時刻情報の中で最も過去の時刻である確定時刻を示す確定時刻情報を、実行情報取得部412に出力する。図5に示す時刻格納表の例では、確定時刻情報は、装置識別情報が「AG1」であるジョブ実行装置3の複製時刻情報が示す「9:05」である。 The time acquisition unit 411 of the standby job management device 4 receives the device identification information and the copy time information of the standby job execution device 3 from the time output unit 311 of the standby job execution device 3. The time acquisition unit 411 of the standby job management device 4 stores the device information indicating that the received information is the information of the standby job execution device 3, and the received device identification information and the copy time information of the standby job execution device 3 in the time storage table (FIG. 5) stored in the acquired information storage unit 44 (step S404). The time acquisition unit 411 stores the copy time information of all the job execution devices 3 included in the standby job management system 2 in the time storage table of the acquired information storage unit 44 of the standby job management device 4. Then, the time acquisition unit 411 outputs the confirmed time information indicating the confirmed time that is the oldest time among the copies of the time information stored in the time storage table of the acquired information storage unit 44 to the execution information acquisition unit 412. In the example of the time storage table shown in FIG. 5, the confirmed time information is "9:05", which is indicated by the replicated time information of the job execution device 3, whose device identification information is "AG1".

実行情報取得部412は、確定時刻情報を時刻取得部411から受信する。実行情報取得部412は、確定時刻情報を待機系のジョブ実行装置3の実行情報出力部312に出力する。実行情報取得部412は、実行情報出力条件を満たすジョブに関連する、実行情報格納表に含まれる情報の出力を、待機系のジョブ実行装置3の実行情報出力部312に要求する(ステップS405)。 The execution information acquisition unit 412 receives the confirmed time information from the time acquisition unit 411. The execution information acquisition unit 412 outputs the confirmed time information to the execution information output unit 312 of the standby job execution device 3. The execution information acquisition unit 412 requests the execution information output unit 312 of the standby job execution device 3 to output information contained in the execution information storage table that is related to the job that satisfies the execution information output condition (step S405).

待機系のジョブ実行装置3の実行情報出力部312は、確定時刻情報を、待機系のジョブ管理装置4の実行情報取得部412から受信する。また、待機系のジョブ実行装置3の実行情報出力部312は、実行情報出力条件を満たすジョブに関連する、実行情報格納表に含まれる情報の出力を待機系のジョブ管理装置4の実行情報取得部412から要求される。待機系のジョブ実行装置3の実行情報出力部312は、待機系のジョブ実行装置3の装置識別情報と、実行情報出力条件を満たすジョブに関連する、実行情報記憶部34に記憶されている実行情報格納表に含まれる情報とを出力する(ステップS406)。 The execution information output unit 312 of the job execution device 3 of the standby system receives the confirmed time information from the execution information acquisition unit 412 of the job management device 4 of the standby system. The execution information output unit 312 of the job execution device 3 of the standby system is also requested by the execution information acquisition unit 412 of the job management device 4 of the standby system to output information contained in the execution information storage table related to the job that satisfies the execution information output condition. The execution information output unit 312 of the job execution device 3 of the standby system outputs the device identification information of the job execution device 3 of the standby system and information contained in the execution information storage table stored in the execution information storage unit 34 related to the job that satisfies the execution information output condition (step S406).

待機系のジョブ管理装置4の実行情報取得部412は、待機系のジョブ実行装置3の装置識別情報と、実行情報出力条件を満たすジョブに関連する、ジョブ識別情報と、実行情報と、開始時刻情報と、終了時刻情報とを待機系のジョブ実行装置3の実行情報出力部312から受信する。待機系のジョブ管理装置4の実行情報取得部412は、待機系のジョブ実行装置3の実行情報出力部312から受信した情報を取得情報記憶部44に記憶されている取得実行情報格納表(図6)に格納する(ステップS407)。実行情報取得部412は、待機系のジョブ管理システム2に含まれるすべてのジョブ実行装置3の実行情報格納表に含まれる情報を、待機系のジョブ管理装置4の取得情報記憶部44に記憶されている取得実行情報格納表に格納する。そして、実行情報取得部412は、確定時刻情報を確定部421に出力する。 The execution information acquisition unit 412 of the standby job management device 4 receives the device identification information of the standby job execution device 3, and the job identification information, execution information, start time information, and end time information related to the job that satisfies the execution information output condition from the execution information output unit 312 of the standby job execution device 3. The execution information acquisition unit 412 of the standby job management device 4 stores the information received from the execution information output unit 312 of the standby job execution device 3 in the acquired execution information storage table (FIG. 6) stored in the acquired information storage unit 44 (step S407). The execution information acquisition unit 412 stores the information included in the execution information storage table of all job execution devices 3 included in the standby job management system 2 in the acquired execution information storage table stored in the acquired information storage unit 44 of the standby job management device 4. Then, the execution information acquisition unit 412 outputs the confirmed time information to the confirmation unit 421.

たとえば、実行情報取得部412は、実行情報出力条件を満たすジョブに関連する、実行情報格納表に含まれる情報の出力を要求した場合に、装置識別情報が「AG1」である待機系のジョブ実行装置3の実行情報格納表に、次の情報が格納されていたとする。ジョブ識別情報が「JOB2」であるジョブについて、実行情報は「実行中」であり、ジョブの開始時刻情報は、「9:03」であり、終了時刻情報は格納されていないとする。確定時刻情報が「9:05」である場合、ジョブ識別情報が「JOB2」であるジョブについて、ジョブが実行中の状態であることを実行情報が示し、また、終了時刻情報が格納されていないので、このジョブは実行情報出力条件を満たす。この場合、待機系のジョブ管理装置4の実行情報取得部412は、待機系のジョブ実行装置3の装置識別情報(「AG1」)と、このジョブのジョブ識別情報(「JOB2」)と、このジョブに関する実行情報(「実行中」)と、開始時刻情報(「9:03」)と、終了時刻情報(データなしを示す情報)とを、装置識別情報が「AG1」である待機系のジョブ実行装置3から受信する。また、この場合、待機系のジョブ管理装置4の実行情報取得部412により、図6に示す取得実行情報格納表の1行目のレコードの、ジョブ識別情報が「JOB2」であるジョブに関する情報が格納される。 For example, when the execution information acquisition unit 412 requests output of information contained in the execution information storage table related to a job that satisfies the execution information output condition, the following information is stored in the execution information storage table of the standby job execution device 3 whose device identification information is "AG1". For a job whose job identification information is "JOB2", the execution information is "In progress", the job start time information is "9:03", and no end time information is stored. If the confirmed time information is "9:05", for the job whose job identification information is "JOB2", the execution information indicates that the job is in a running state, and no end time information is stored, so this job satisfies the execution information output condition. In this case, the execution information acquisition unit 412 of the standby job management device 4 receives the device identification information of the standby job execution device 3 ("AG1"), the job identification information of this job ("JOB2"), the execution information related to this job ("Executing"), the start time information ("9:03"), and the end time information (information indicating no data) from the standby job execution device 3 whose device identification information is "AG1". In this case, the execution information acquisition unit 412 of the standby job management device 4 stores information related to the job whose job identification information is "JOB2" in the record in the first row of the acquired execution information storage table shown in FIG. 6.

確定部421は、確定時刻情報を実行情報取得部412から受信する。そして、確定部421は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報と、取得情報記憶部44に記憶されている取得実行情報格納表に含まれる実行情報とに基づいて、次の動作を行う。確定部421の動作の詳細については、図16を用いて、後述する。確定部421は、管理情報記憶部45の管理情報格納表の実行状況情報が、待機系のジョブ実行装置3の実行情報記憶部34の実行情報格納表の実行情報が示すジョブの状態と一致しているジョブの、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報を確定する。また、確定部421は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が確定されていないジョブを、後述する判定部422による判定の対象のジョブとする。さらに、確定部421は、ジョブの判定を判定部422に要求する。 The determination unit 421 receives the determination time information from the execution information acquisition unit 412. The determination unit 421 performs the following operation based on the execution status information included in the management information storage table stored in the management information storage unit 45 and the execution information included in the acquired execution information storage table stored in the acquired information storage unit 44. Details of the operation of the determination unit 421 will be described later with reference to FIG. 16. The determination unit 421 determines the execution status information included in the management information storage table stored in the management information storage unit 45 of a job whose execution status information in the management information storage table of the management information storage unit 45 matches the job status indicated by the execution information in the execution information storage table of the execution information storage unit 34 of the job execution device 3 of the standby system. In addition, the determination unit 421 sets a job whose execution status information included in the management information storage table stored in the management information storage unit 45 has not been determined as a job to be determined by the determination unit 422 described later. Furthermore, the determination unit 421 requests the determination unit 422 to determine the job.

判定部422は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が確定されていないジョブについて、当該ジョブを、待機系のジョブ実行装置3に実行させるか否かを判定する。判定部422の動作の詳細については、図17を用いて、後述する。判定部422は、待機系のジョブ実行装置3に実行させるジョブを特定する(ステップS408)。さらに、判定部422は、実行するジョブを指示する制御情報の出力を制御部43に要求する。 The determination unit 422 determines whether or not to cause a job, for which execution status information included in the management information storage table stored in the management information storage unit 45 has not been determined, to be executed by a job execution device 3 in the standby system. Details of the operation of the determination unit 422 will be described later with reference to FIG. 17. The determination unit 422 identifies a job to be executed by a job execution device 3 in the standby system (step S408). Furthermore, the determination unit 422 requests the control unit 43 to output control information instructing the job to be executed.

制御部43は、実行させるジョブのジョブ識別情報を含む、特定部42により特定されたジョブの実行を指示する制御情報を出力する(ステップS409)。 The control unit 43 outputs control information that instructs the execution of the job identified by the identification unit 42, including job identification information of the job to be executed (step S409).

待機系のジョブ実行装置3の実行部32は、実行するジョブのジョブ識別情報を含む、実行するジョブを指示する制御情報を待機系のジョブ管理装置4から受信する。待機系のジョブ実行装置3の実行部32は、ジョブの実行を開始した時刻を示す開始時刻情報と、実行情報(「実行中」)とを、実行情報記憶部34に記憶されている実行情報格納表に格納する。実行部32は、実行を開始したジョブのジョブ識別情報と、当該ジョブの開始時刻情報とを、待機系のジョブ管理装置4に出力する(ステップS410)。 The execution unit 32 of the job execution device 3 of the standby system receives control information instructing the job to be executed, including job identification information of the job to be executed, from the job management device 4 of the standby system. The execution unit 32 of the job execution device 3 of the standby system stores start time information indicating the time when execution of the job started and execution information ("executing") in the execution information storage table stored in the execution information memory unit 34. The execution unit 32 outputs the job identification information of the job that has started execution and the start time information of the job to the job management device 4 of the standby system (step S410).

待機系のジョブ管理装置4の制御部43は、実行を開始したジョブのジョブ識別情報と、当該ジョブの開始時刻情報とを、待機系のジョブ実行装置3から受信する。制御部43は、受信したジョブ識別情報に基づいて、当該ジョブの開始時刻情報と、実行状況情報(「実行中」)とを管理情報記憶部45の管理情報格納表に格納する。 The control unit 43 of the standby job management device 4 receives the job identification information of the job that has started execution and the start time information of the job from the standby job execution device 3. Based on the received job identification information, the control unit 43 stores the start time information of the job and the execution status information ("executing") in the management information storage table of the management information storage unit 45.

待機系のジョブ実行装置3の実行部32は、ジョブの成果物をデータ記憶部33、または待機系のジョブ管理システム2に含まれるリモートストレージに記憶させる。実行部32は、ジョブの実行を終了した時刻を示す終了時刻情報と、ジョブの実行を終了した状態を示す実行情報(「完了」)とを、実行情報記憶部34に記憶されている実行情報格納表に格納する。待機系のジョブ実行装置3の実行部32は、実行を終了したジョブのジョブ識別情報と、当該ジョブの終了時刻情報とを待機系のジョブ管理装置4に出力する(ステップS411)。 The execution unit 32 of the standby job execution device 3 stores the job results in the data storage unit 33 or in a remote storage included in the standby job management system 2. The execution unit 32 stores the end time information indicating the time when the job execution was completed and the execution information indicating the state in which the job execution was completed ("Completed") in the execution information storage table stored in the execution information storage unit 34. The execution unit 32 of the standby job execution device 3 outputs the job identification information of the job that has been completed and the end time information of the job to the standby job management device 4 (step S411).

待機系のジョブ管理装置4の制御部43は、実行を終了したジョブのジョブ識別情報と、当該ジョブの終了時刻情報とを待機系のジョブ実行装置3から受信する。制御部43は、受信したジョブ識別情報に基づき、実行が完了したジョブについて、当該ジョブが実行済みの状態を示す実行状況情報(「完了」)と、終了時刻情報とを、管理情報記憶部45の管理情報格納表に格納する(ステップS412)。 The control unit 43 of the standby job management device 4 receives the job identification information of the job that has finished execution and the end time information of the job from the standby job execution device 3. Based on the received job identification information, the control unit 43 stores the execution status information ("Completed") indicating that the job has been executed and the end time information for the job that has finished execution in the management information storage table of the management information storage unit 45 (step S412).

なお、制御部43は、実行させるジョブとして特定部42により特定されたジョブを待機系のジョブ実行装置3に実行させる。その後、制御部43は、障害発生前に現用系のジョブ管理システム2において実行されていないジョブを待機系のジョブ実行装置3に実行させる。このように、ジョブ管理装置4は、待機系のジョブ管理システム2の運用を開始する。 The control unit 43 causes the job execution device 3 of the standby system to execute the job identified by the identification unit 42 as the job to be executed. After that, the control unit 43 causes the job execution device 3 of the standby system to execute the job that was not executed in the job management system 2 of the active system before the failure occurred. In this way, the job management device 4 starts the operation of the job management system 2 of the standby system.

次に、図16および図18を用いて、待機系のジョブ管理システム2に含まれる、待機系のジョブ管理装置4の特定部42の動作例を説明する。図16および図18は、待機系のジョブ管理装置4の動作例を示す。図16は、待機系のジョブ管理装置4の確定部421の動作例を示す。図18は、待機系のジョブ管理装置4の判定部422の動作例を示す。また、図16および図18の動作は、図15のステップS408の動作を詳述するものである。 Next, an example of the operation of the determination unit 42 of the standby job management device 4 included in the standby job management system 2 will be described with reference to Figures 16 and 18. Figures 16 and 18 show an example of the operation of the standby job management device 4. Figure 16 shows an example of the operation of the determination unit 421 of the standby job management device 4. Figure 18 shows an example of the operation of the determination unit 422 of the standby job management device 4. The operations in Figures 16 and 18 also provide a detailed description of the operation of step S408 in Figure 15.

待機系のジョブ管理装置4および待機系のジョブ実行装置3が、第二の実施形態の待機系のジョブ管理システム2の動作例(図15)のステップ401からステップ407までの一連の動作を行う。その後、本実施形態の待機系のジョブ管理装置4は、図15のステップS408の動作(図16および図18に詳述する動作)を行う。 The standby job management device 4 and the standby job execution device 3 perform a series of operations from step 401 to step 407 in the operation example (FIG. 15) of the standby job management device 2 of the second embodiment. After that, the standby job management device 4 of this embodiment performs the operation of step S408 in FIG. 15 (the operation described in detail in FIG. 16 and FIG. 18).

まず、図16を用いて、待機系のジョブ管理装置4の特定部42に含まれる確定部421の動作例を説明する。 First, an example of the operation of the determination unit 421 included in the identification unit 42 of the job management device 4 in the standby system will be described with reference to FIG. 16.

確定部421は、確定時刻情報を実行情報取得部412から受信する。確定部421は、終了時刻情報が、確定時刻までの時刻を示す、確定時刻までに実行が終了したジョブに関連する、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報を「完了」のままとする。確定部421は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が、待機系のジョブ実行装置3の実行情報記憶部34の実行情報が示すジョブの状態と、ジョブが実行済みの状態であることを示すことで一致するジョブについて、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報を確定する(ステップS501)。 The determination unit 421 receives the determination time information from the execution information acquisition unit 412. The determination unit 421 leaves the execution status information in the management information storage table stored in the management information storage unit 45 related to the job whose execution was completed by the determination time and whose end time information indicates the time up to the determination time as "completed". The determination unit 421 determines the execution status information included in the management information storage table stored in the management information storage unit 45 for the job whose execution status information included in the management information storage table stored in the management information storage unit 45 matches the job status indicated by the execution information storage unit 34 of the standby job execution device 3 in indicating that the job has been executed (step S501).

たとえば、確定時刻が9:05である場合、図7の管理情報格納表の例では、確定部421は、実行状況情報が「完了」であり、かつ、終了時刻情報が示す時刻が9:05以前の、ジョブ識別情報が「JOB1」であるジョブの管理情報格納表の実行状況情報を「完了」のままとする。 For example, if the confirmation time is 9:05, in the example management information storage table of Figure 7, the confirmation unit 421 leaves the execution status information in the management information storage table of the job whose execution status information is "Completed" and whose job identification information is "JOB1" and whose end time information indicates a time before 9:05 as "Completed."

確定部421は、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報と、取得情報記憶部44に記憶されている取得実行情報格納表に含まれる実行情報の少なくとも一方が、ジョブが実行済みであることを示すジョブの識別情報を抽出する。そして、確定部421は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表に含まれる前方ジョブ情報に基づいて、抽出されたジョブ識別情報が示すジョブの中から、待機系のジョブ実行装置3に、最後に実行させるジョブである最終ジョブを特定する(ステップS502)。 The determination unit 421 extracts job identification information for which at least one of the execution status information in the management information storage table stored in the management information storage unit 45 and the execution information included in the acquired execution information storage table stored in the acquired information storage unit 44 indicates that the job has been executed. Then, based on the previous job information included in the job net definition storage table stored in the job net definition storage unit 46, the determination unit 421 identifies the final job, which is the job to be executed last by the standby job execution device 3, from among the jobs indicated by the extracted job identification information (step S502).

確定部421は、最終ジョブ以前に実行されるジョブのうち、実行済みであることが確定されたジョブ以外のジョブを、後述する判定部422による判定の対象のジョブとする(ステップS503)。 The determination unit 421 determines, among the jobs executed before the final job, the jobs other than the jobs that have been confirmed as having been executed as jobs to be subjected to determination by the determination unit 422 described below (step S503).

図17は、図6に示す取得実行情報格納表と、図7から図9および図12に示す管理情報格納表と、図10に示すジョブネット定義格納表とに含まれる、ジョブの実行順序を模式的に示した模式図である。各ジョブを結ぶ矢印は、ジョブの実行順序を表現している。具体的には、矢印の始点側にあるジョブの実行が完了すると、次に矢印の終点側にあるジョブが実行される。枝分かれした矢印は、並列に実行されるジョブを示す。図17の例では、ジョブ識別情報が「JOB3-1」であるジョブとジョブ識別情報が「JOB3-2」であるジョブは並列に実行される。また、ジョブ識別情報が「JOB5-1」であるジョブとジョブ識別情報が「JOB5-2」であるジョブは並列に実行される。 Figure 17 is a schematic diagram showing the job execution order contained in the acquisition execution information storage table shown in Figure 6, the management information storage tables shown in Figures 7 to 9 and 12, and the job net definition storage table shown in Figure 10. The arrows connecting the jobs represent the job execution order. Specifically, when the job at the start point of the arrow is completed, the job at the end point of the arrow is executed next. Branched arrows indicate jobs executed in parallel. In the example of Figure 17, a job with job identification information "JOB3-1" and a job with job identification information "JOB3-2" are executed in parallel. Also, a job with job identification information "JOB5-1" and a job with job identification information "JOB5-2" are executed in parallel.

たとえば、確定時刻情報が「9:05」であり、管理情報格納表が図7に示す管理情報格納表であり、取得実行情報格納表が図6に示す取得実行情報格納表の例である場合、確定部421は、ジョブ識別情報が「JOB5-1」であるジョブを最終ジョブとする。また、確定部421は、ジョブ識別情報が「JOB2」であるジョブと、「JOB3-1」であるジョブと、「JOB3-2」であるジョブと、「JOB5-1」であるジョブとを、後述する判定部422による判定の対象とする。 For example, if the confirmed time information is "9:05", the management information storage table is the management information storage table shown in FIG. 7, and the acquisition execution information storage table is the example of the acquisition execution information storage table shown in FIG. 6, the confirmation unit 421 determines the job with job identification information "JOB5-1" to be the final job. The confirmation unit 421 also determines the jobs with job identification information "JOB2", "JOB3-1", "JOB3-2", and "JOB5-1" to be targets for determination by the determination unit 422, which will be described later.

確定部421は、判定の対象のジョブについて、当該ジョブが判定の対象であることを示す実行状況情報(「判定待ち」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。 For the job that is the subject of judgment, the determination unit 421 stores execution status information indicating that the job is the subject of judgment ("waiting for judgment") in the management information storage table stored in the management information storage unit 45.

たとえば、ジョブ識別情報が「JOB2」から「JOB5-1」までであるジョブが、後述する判定部422による判定の対象であるとする。判定の対象であることを示す実行状況情報(「判定待ち」)を確定部421が管理情報記憶部45に記憶されている管理情報格納表に格納した場合、管理情報記憶部45に記憶されている管理情報格納表には、図8に示す管理情報格納表の2行目から6行目のレコードの実行状況情報に「判定待ち」が格納される。なお、確定部421は、待機系の管理情報格納表において、開始時刻情報および終了時刻情報が記憶されていないジョブについて、取得情報記憶部44の取得実行情報格納表に記憶されている開始時刻情報および終了時刻情報を、管理情報格納表に格納してもよい。なお、図8に示す管理情報格納表の5行目の開始時刻情報(「?」)、および終了時刻情報(「?」)は、開始時刻情報および終了時刻情報が、取得情報記憶部44の取得実行情報格納表に格納されていないことを示す。 For example, assume that jobs with job identification information "JOB2" to "JOB5-1" are to be judged by the judging unit 422, which will be described later. When the determining unit 421 stores execution status information indicating that the job is to be judged ("waiting for judgment") in the management information storage table stored in the management information storage unit 45, "waiting for judgment" is stored in the execution status information of the records in the second to sixth rows of the management information storage table shown in FIG. 8 in the management information storage table stored in the management information storage unit 45. Note that the determining unit 421 may store the start time information and end time information stored in the acquired execution information storage table of the acquired information storage unit 44 for jobs for which the start time information and end time information are not stored in the standby system management information storage table. Note that the start time information ("?") and end time information ("?") in the fifth row of the management information storage table shown in FIG. 8 indicate that the start time information and end time information are not stored in the acquired execution information storage table of the acquired information storage unit 44.

確定部421は、最終ジョブより後に実行されるジョブに関連する、管理情報記憶部45に記憶されている管理情報格納表の実行状況情報を「未実行」のままとする。確定部421は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が、待機系のジョブ実行装置3の実行情報記憶部34の実行情報が示すジョブの状態と、ジョブが未実行の状態であることを示すことで一致するジョブについて、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報を確定する(ステップS504)。さらに、確定部421は、ジョブの判定を判定部422に要求する。 The determination unit 421 leaves the execution status information in the management information storage table stored in the management information storage unit 45, which is related to jobs executed after the final job, as "unexecuted." The determination unit 421 determines the execution status information included in the management information storage table stored in the management information storage unit 45 for jobs whose execution status information included in the management information storage table stored in the management information storage unit 45 matches the job status indicated by the execution information storage unit 34 of the job execution device 3 in the standby system by indicating that the job is in an unexecuted state (step S504). Furthermore, the determination unit 421 requests the determination unit 422 to determine the job.

次に、図18を用いて、待機系のジョブ管理装置4の特定部42に含まれる判定部422の動作例を説明する。図18は、待機系のジョブ管理装置4の動作例を示す。 Next, an example of the operation of the determination unit 422 included in the identification unit 42 of the job management device 4 of the standby system will be described with reference to FIG. 18. FIG. 18 shows an example of the operation of the job management device 4 of the standby system.

待機系のジョブ管理装置4の確定部421の動作例(図16)のステップ501からステップS504までの一連の動作を、確定部421が行った後、本実施形態の待機系のジョブ管理装置4の判定部422は、図18に示す動作を行う。 After the determination unit 421 of the standby job management device 4 performs a series of operations from step S501 to step S504 in the operation example of the determination unit 421 of the standby job management device 4 (FIG. 16), the determination unit 422 of the standby job management device 4 of this embodiment performs the operation shown in FIG. 18.

ジョブの判定を確定部421から要求された場合に、判定部422は、管理情報記憶部45に記憶されている管理情報格納表から、対応付けられているジョブが判定の対象であることを示す実行状況情報(「判定対象」)を含むレコードを抽出する(ステップS601)。 When a request for job judgment is received from the determination unit 421, the judgment unit 422 extracts a record from the management information storage table stored in the management information storage unit 45 that contains execution status information ("Judgement target") indicating that the associated job is the subject of judgment (step S601).

判定部422は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表(図10)に含まれる、前方ジョブ情報に基づいて、抽出されたレコードに関連するジョブを、待機系のジョブ実行装置3に実行させるか否かの判定を、後方のジョブから行う。判定部422は、判定対象のジョブのうち、実行順序が最も後方のジョブを特定する(ステップS602)。 The determination unit 422 determines whether or not to cause the job execution device 3 in the standby system to execute the job related to the extracted record, starting from the subsequent job, based on the forward job information included in the job net definition storage table (FIG. 10) stored in the job net definition storage unit 46. The determination unit 422 identifies the job that is furthest back in the execution order among the jobs to be determined (step S602).

判定部422は、まず、ステップS602で特定されたジョブを、ステップS603からステップS607で行われる判定の対象とする。判定部422は、ジョブネット定義記憶部46に記憶されたジョブネット定義格納表の装置識別情報に基づいて、判定対象のジョブを実行する待機系のジョブ実行装置3を特定する。そして、判定部422は、特定したジョブ実行装置3の実行情報出力部312に、成果物に関する情報を出力させる。判定部422は、判定対象のジョブの成果物に関する情報に含まれる、出力データ識別情報および出力データ形式情報が、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表に含まれる、判定対象のジョブに関連する出力データ識別情報および出力データ形式情報と一致するか否かを判定する。さらに、判定部422は、判定対象のジョブの成果物に関する情報に基づいて、判定対象のジョブと対応付けられた判定情報が示す条件を判定対象のジョブの成果物が満たすか、否かを判定する(前述の(1)の判定)。このように、判定部422は、判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在するか、否かを判定する(ステップS603)。 The judgment unit 422 first subjects the job identified in step S602 to the judgment performed in steps S603 to S607. The judgment unit 422 identifies the standby job execution device 3 that executes the job to be judged based on the device identification information in the job net definition storage table stored in the job net definition storage unit 46. Then, the judgment unit 422 causes the execution information output unit 312 of the identified job execution device 3 to output information about the deliverable. The judgment unit 422 judges whether the output data identification information and output data format information included in the information about the deliverable of the job to be judged match the output data identification information and output data format information related to the job to be judged included in the job net definition storage table stored in the job net definition storage unit 46. Furthermore, the judgment unit 422 judges whether the deliverable of the job to be judged satisfies the condition indicated by the judgment information associated with the job to be judged based on the information about the deliverable of the job to be judged (the judgment of (1) described above). In this way, the judgment unit 422 judges whether or not a normal deliverable of the job being judged exists in the job management system 2 of the standby system (step S603).

判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在する場合(ステップS603、YES)、判定部422は、判定対象のジョブを実行済みのジョブであるとする(ステップS607)。判定部422は、判定対象のジョブについて、当該ジョブが実行済みの状態であることを示す実行状況情報(「完了」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。この場合、判定部422は、後述するステップS604からステップS606までの動作を行わない。 If a normal deliverable of the job being judged exists in the job management system 2 of the standby system (step S603, YES), the judgment unit 422 determines that the job being judged is a job that has already been executed (step S607). The judgment unit 422 stores execution status information ("Complete") indicating that the job being judged has already been executed, for the job being judged, in the management information storage table stored in the management information storage unit 45. In this case, the judgment unit 422 does not perform the operations from step S604 to step S606 described below.

たとえば、ジョブ識別情報が「JOB4」であるジョブの成果物を、判定部422が判定するとする。図10に示すジョブネット定義格納表には、ジョブ識別情報が「JOB4」であるジョブの判定情報として、「ファイルが存在」が格納されている。判定部422は、装置識別情報が「AG1」である待機系のジョブ実行装置3から出力された、成果物に関する情報に基づき、出力データ識別情報が「File4」であり、かつ、出力データ形式情報が「リモートファイル」である成果物が、待機系のジョブ管理システム2に存在するか、否かを判定する。判定情報が「ファイルが存在」であるので、成果物に関する情報に、出力データ識別情報が「File4」であり、かつ、出力データ形式情報が「リモートファイル」である成果物の情報が含まれる場合に、判定部422は、判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在するとする。判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在すると判定部422が判定した場合、判定部422により、図9に示す管理情報格納表の5行目のレコードの実行状況情報に「完了」が格納される。 For example, suppose that the judgment unit 422 judges the deliverable of a job whose job identification information is "JOB4". In the jobnet definition storage table shown in FIG. 10, "file exists" is stored as the judgment information of the job whose job identification information is "JOB4". The judgment unit 422 judges whether or not a deliverable whose output data identification information is "File4" and whose output data format information is "remote file" exists in the job management system 2 of the standby system based on the information on the deliverable output from the job execution device 3 of the standby system whose device identification information is "AG1". Since the judgment information is "file exists", if the information on the deliverable includes information on a deliverable whose output data identification information is "File4" and whose output data format information is "remote file", the judgment unit 422 judges that a normal deliverable of the job to be judged exists in the job management system 2 of the standby system. If the determination unit 422 determines that a normal deliverable of the job being determined exists in the job management system 2 of the standby system, the determination unit 422 stores "Completed" in the execution status information of the record in the fifth row of the management information storage table shown in FIG. 9.

判定対象のジョブの正常な成果物が待機系のジョブ管理システム2に存在しないと判定部422が判定した場合(ステップS603、NO)、判定部422は、次の動作を行う。判定部422は、ジョブネット定義記憶部46に記憶されているジョブネット定義格納表に含まれる中間情報に基づいて、判定対象のジョブの成果物が中間成果物であるか、否かを判定する(前述の(2)の判定)(ステップS604)。 When the determination unit 422 determines that a normal deliverable of the job to be determined does not exist in the standby job management system 2 (step S603, NO), the determination unit 422 performs the following operation. The determination unit 422 determines whether the deliverable of the job to be determined is an intermediate deliverable based on the intermediate information included in the jobnet definition storage table stored in the jobnet definition storage unit 46 (the determination of (2) described above) (step S604).

判定対象のジョブの成果物が中間成果物でないと判定部422が判定した場合(ステップS604、NO)、判定部422は、判定対象のジョブを、実行させるジョブであるとする(ステップS606)。また、判定部422は、判定対象のジョブについて、当該ジョブを実行させることを示す実行状況情報(「要実行」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。この場合、判定部422は、後述するステップS605およびステップS607の動作を行わない。 When the determination unit 422 determines that the deliverable of the job being determined is not an intermediate deliverable (step S604, NO), the determination unit 422 determines that the job being determined is a job to be executed (step S606). In addition, the determination unit 422 stores execution status information indicating that the job being determined is to be executed ("to be executed") in the management information storage table stored in the management information storage unit 45 for the job being determined. In this case, the determination unit 422 does not perform the operations of steps S605 and S607 described below.

たとえば、ジョブ識別情報が「JOB3-2」であるジョブの成果物を、判定部422が判定するとする。出力データ識別情報が「File3」であり、かつ、出力データ形式情報が「ローカルファイル」である成果物が、装置識別情報が「AG3」である待機系のジョブ実行装置3のデータ記憶部33に記憶されていないとする。また、図10に示すジョブネット定義格納表には、ジョブ識別情報が「JOB3-2」であるジョブの中間情報として、「No」が格納されている。この場合、ジョブ識別情報が「JOB3-2」であるジョブの成果物が中間成果物でないので、判定部422により、図9に示す管理情報格納表の4行目のレコードの実行状況情報に「要実行」が格納される。 For example, suppose that the determination unit 422 determines the result of a job whose job identification information is "JOB3-2". Suppose that a result whose output data identification information is "File3" and whose output data format information is "local file" is not stored in the data storage unit 33 of the standby job execution device 3 whose device identification information is "AG3". Furthermore, in the jobnet definition storage table shown in FIG. 10, "No" is stored as intermediate information for the job whose job identification information is "JOB3-2". In this case, since the result of the job whose job identification information is "JOB3-2" is not an intermediate result, the determination unit 422 stores "Execution required" in the execution status information of the record in the fourth row of the management information storage table shown in FIG. 9.

判定対象のジョブの成果物が中間成果物であると判定部422が判定した場合(ステップS604、YES)、判定部422は、判定対象のジョブの成果物が、判定対象のジョブより後に実行される、実行されていない他のジョブの実行で用いられるか、否かを判定する(前述の(3)の判定)(ステップS605)。 When the determination unit 422 determines that the deliverable of the job being determined is an intermediate deliverable (step S604, YES), the determination unit 422 determines whether the deliverable of the job being determined is used in the execution of another job that is not yet executed and that is executed after the job being determined (determination of (3) above) (step S605).

判定対象のジョブの成果物が、判定対象のジョブより後に実行される、実行されていない他のジョブの実行で用いられるジョブであると判定部422が判定した場合(ステップS605、YES)、判定部422は、判定対象のジョブを実行させるジョブであるとする(ステップS606)。そして、判定部422は、判定対象のジョブについて、当該ジョブを実行させることを示す実行状況情報(「要実行」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する。また、判定部422は、ステップS607の動作を行わない。 When the determination unit 422 determines that the deliverable of the job being determined is a job to be used in the execution of another job that is not yet executed and will be executed after the job being determined (step S605, YES), the determination unit 422 determines that the job being determined is a job that causes the job being determined to be executed (step S606). Then, the determination unit 422 stores execution status information indicating that the job being determined is to be executed ("must be executed") in the management information storage table stored in the management information storage unit 45 for the job being determined. Furthermore, the determination unit 422 does not perform the operation of step S607.

たとえば、ジョブ識別情報が「JOB5-1」であるジョブの成果物を、判定部422が判定するとする。出力データ識別情報が「Record2」であり、かつ、出力データ形式が「DBレコード」である成果物が、待機系のジョブ実行装置3のデータ記憶部33、またはジョブ管理システム2に含まれるリモートストレージに記憶されているデータベースに格納されていないとする。また、図10に示すジョブネット定義格納表には、ジョブ識別情報が「JOB5-1」であるジョブの中間情報として、「Yes」が格納されている。この場合、ジョブ識別情報が「JOB5-1」であるジョブの成果物が中間成果物であるので、判定部422は、判定対象のジョブより後に実行される、実行されていない他のジョブの実行で用いられるか否かを判定する。図10に示すジョブネット定義格納表には、ジョブ識別情報が「JOB6」であるジョブの入力データ識別情報として、「Record2」が格納されている。この場合、ジョブ識別情報が「JOB5-1」であるジョブの成果物は、ジョブ識別情報が「JOB6」であるジョブの実行で用いられる。また、図10に示すジョブネット定義格納表の、ジョブ識別情報が「JOB6」であるジョブの前方ジョブ情報(「JOB5-1」)および図17に示すように、ジョブ識別情報が「JOB6」であるジョブは、ジョブ識別情報が「JOB5-1」であるジョブの後に実行される。ここで、図9の管理情報格納表の例では、ジョブ識別情報が「JOB6」であるジョブは実行されていないので、判定部422により、図9に示す管理情報格納表の6行目のレコードの実行状況情報に「要実行」が格納される。 For example, suppose that the determination unit 422 determines the deliverable of a job whose job identification information is "JOB5-1". Suppose that the deliverable whose output data identification information is "Record2" and whose output data format is "DB record" is not stored in the data storage unit 33 of the standby job execution device 3 or in the database stored in the remote storage included in the job management system 2. Also, in the job net definition storage table shown in FIG. 10, "Yes" is stored as intermediate information of the job whose job identification information is "JOB5-1". In this case, since the deliverable of the job whose job identification information is "JOB5-1" is an intermediate deliverable, the determination unit 422 determines whether or not it is used in the execution of another job that is executed after the job to be determined and is not executed. In the job net definition storage table shown in FIG. 10, "Record2" is stored as input data identification information of the job whose job identification information is "JOB6". In this case, the product of the job with job identification information "JOB5-1" is used in the execution of the job with job identification information "JOB6". Also, as shown in the previous job information ("JOB5-1") of the job with job identification information "JOB6" in the job net definition storage table shown in FIG. 10 and in FIG. 17, the job with job identification information "JOB6" is executed after the job with job identification information "JOB5-1". Here, in the example of the management information storage table in FIG. 9, the job with job identification information "JOB6" has not been executed, so the determination unit 422 stores "to be executed" in the execution status information of the record in the sixth row of the management information storage table shown in FIG. 9.

判定対象のジョブの成果物が、判定対象のジョブより後に実行される、実行されていない他のジョブの実行で用いられないと判定部422が判定した場合(ステップS605、NO)、判定部422は、次の動作を行う。判定部422は、判定対象のジョブについて、当該ジョブが実行済みの状態であることを示す実行状況情報(「完了」)を、管理情報記憶部45に記憶されている管理情報格納表に格納する(ステップS607)。この場合、判定部422は、ステップS606の動作を行わない。 When the determination unit 422 determines that the deliverables of the job being determined will not be used in the execution of another job that is not yet executed and will be executed after the job being determined (step S605, NO), the determination unit 422 performs the following operation. For the job being determined, the determination unit 422 stores execution status information indicating that the job has been executed ("Completed") in the management information storage table stored in the management information storage unit 45 (step S607). In this case, the determination unit 422 does not perform the operation of step S606.

たとえば、ジョブ識別情報が「JOB2」であるジョブの成果物を、判定部422が判定するとする。出力データ識別情報が「File2」であり、かつ、出力データ形式情報が「リモートファイル」である成果物が、待機系のジョブ管理システム2に存在しないとする。また、図10に示すジョブネット定義格納表には、ジョブ識別情報が「JOB2」であるジョブの中間情報として、「Yes」が格納されている。さらに、図10に示すジョブネット定義格納表の例では、ジョブ識別情報が「JOB3-1」であるジョブの入力データ識別情報として、「File2」が格納されている。ジョブ識別情報が「JOB2」であるジョブの成果物は、中間成果物である。また、ジョブ識別情報が「JOB2」であるジョブの成果物は、ジョブ識別情報が「JOB3-1」であるジョブの実行で用いられる。また、図10に示すジョブネット定義格納表の、ジョブ識別情報が「JOB3-1」であるジョブの前方ジョブ情報(「JOB2」)および図17に示すように、ジョブ識別情報が「JOB3-1」であるジョブは、ジョブ識別情報が「JOB2」であるジョブの後に実行される。ここで、図9の管理情報格納表の例では、ジョブ識別情報が「JOB3-1」であるジョブは実行済みであるので、判定部422により、図9に示す管理情報格納表の2行目のレコードの実行状況情報に「完了」が格納される。 For example, suppose that the judgment unit 422 judges the result of a job whose job identification information is "JOB2". Suppose that a result whose output data identification information is "File2" and whose output data format information is "remote file" does not exist in the job management system 2 of the standby system. Furthermore, in the jobnet definition storage table shown in FIG. 10, "Yes" is stored as intermediate information of a job whose job identification information is "JOB2". Furthermore, in the example of the jobnet definition storage table shown in FIG. 10, "File2" is stored as input data identification information of a job whose job identification information is "JOB3-1". The result of a job whose job identification information is "JOB2" is an intermediate result. Furthermore, the result of a job whose job identification information is "JOB2" is used in the execution of a job whose job identification information is "JOB3-1". Also, as shown in the previous job information ("JOB2") of the job with job identification information "JOB3-1" in the job net definition storage table shown in FIG. 10 and in FIG. 17, the job with job identification information "JOB3-1" is executed after the job with job identification information "JOB2". Here, in the example of the management information storage table in FIG. 9, the job with job identification information "JOB3-1" has already been executed, so the determination unit 422 stores "Completed" in the execution status information of the record in the second row of the management information storage table shown in FIG. 9.

判定部422は、ステップS606またはステップS607の動作の後に、待機系のジョブ実行装置3に実行させるか否かを、判定対象のすべてのジョブについて判定したか否かを確認する(ステップS608)。ここでいう判定対象のすべてのジョブとは、ステップS601でレコードを抽出されたジョブである。待機系のジョブ実行装置3に実行させるか否かを、判定対象のすべてのジョブについて判定していない場合(ステップS608、NO)、判定部422は、次の動作を行う。判定部422は、ステップS601でレコードを抽出されたジョブのうち、待機系のジョブ実行装置3に実行させるか否かが判定されていないジョブについて、ステップS603からステップS608の動作を行う。待機系のジョブ実行装置3に実行させるか否かを、判定対象のすべてのジョブについて判定した場合(ステップS608、YES)、待機系のジョブ管理装置4の判定部422は、実行するジョブを指示する制御情報の出力を制御部43に要求する。なお、本実施形態では、判定対象のジョブについて判定するたびに、判定部422は、管理情報格納表に判定結果を反映している。判定部422は、判定対象のすべてのジョブについて判定した後に、管理情報格納表に判定結果を反映してもよい。 After the operation of step S606 or step S607, the judgment unit 422 checks whether or not it has been determined for all jobs to be judged whether they should be executed by the job execution device 3 of the standby system (step S608). All jobs to be judged here are the jobs whose records were extracted in step S601. If it has not been determined for all jobs to be judged whether or not they should be executed by the job execution device 3 of the standby system (step S608, NO), the judgment unit 422 performs the following operation. The judgment unit 422 performs the operation of steps S603 to S608 for jobs whose records were extracted in step S601 and for which it has not been determined whether or not they should be executed by the job execution device 3 of the standby system. If it has been determined for all jobs to be judged whether or not they should be executed by the job execution device 3 of the standby system (step S608, YES), the judgment unit 422 of the job management device 4 of the standby system requests the control unit 43 to output control information instructing the job to be executed. In this embodiment, each time the determination unit 422 makes a determination on a job to be determined, the determination unit 422 reflects the determination result in the management information storage table. The determination unit 422 may reflect the determination result in the management information storage table after making a determination on all jobs to be determined.

以上で説明したように、本発明の第二の実施形態では、ジョブ管理装置4は、現用系のジョブ実行装置6を含むシステムに障害が発生した場合に、ジョブを実行する待機系のジョブ実行装置3から、実行情報を取得する。待機系のジョブ実行装置3には、現用系のジョブ実行装置6により実行されたジョブの成果物と、現用系のジョブ実行装置6のジョブの実行の状態を示す実行情報とが、障害が発生する前に複製されている。また、ジョブ管理装置4は、ジョブを待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、待機系のジョブ実行装置3から取得した実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置3に実行させるか否かを判定し、実行させると判定されたジョブを、待機系のジョブ実行装置3に実行させるジョブとして特定する。また、ジョブ管理装置4は、特定されたジョブを待機系のジョブ実行装置3に実行させる。 As described above, in the second embodiment of the present invention, the job management device 4 acquires execution information from the standby job execution device 3 that executes a job when a failure occurs in a system including the active job execution device 6. In the standby job execution device 3, the product of the job executed by the active job execution device 6 and the execution information indicating the execution status of the job in the active job execution device 6 are copied before the failure occurs. In addition, the job management device 4 determines whether or not to cause the standby job execution device 3 to execute each job based on the management information, which is information for determining whether or not to cause the standby job execution device to execute the job, and the execution information acquired from the standby job execution device 3, and identifies the job that is determined to be executed as the job to be executed by the standby job execution device 3. In addition, the job management device 4 causes the standby job execution device 3 to execute the identified job.

このように、ジョブ管理装置4は、障害が発生した場合に、待機系のジョブ実行装置3における各ジョブの実行要否を、管理情報と、障害が発生する前に複製されていた実行情報とに基づいて速やかに判定することができる。そして、ジョブ管理装置4は、障害が発生する前に待機系のジョブ実行装置3に複製されていた、現用系のジョブ実行装置6が実行したジョブの成果物を活用して、更新された管理情報に基づいて、待機系のシステムの運用を開始することが可能になる。このため、迅速にシステムを復旧することが可能になる。 In this way, when a failure occurs, the job management device 4 can quickly determine whether or not each job needs to be executed in the standby job execution device 3 based on the management information and the execution information that was copied before the failure occurred. The job management device 4 can then start operating the standby system based on the updated management information, utilizing the results of the job executed by the active job execution device 6 that was copied to the standby job execution device 3 before the failure occurred. This makes it possible to quickly restore the system.

また、本実施形態のジョブ管理装置4は、管理情報と待機系のジョブ実行装置3から取得した実行情報とに基づいて、ジョブの各々について、待機系のジョブ実行装置3に実行させるか否かを判定する。そのため、管理情報が実行状況情報を含む場合に、実行状況情報と待機系のジョブ実行装置3に複製された実行情報とが整合しないことによる不都合が生じる可能性を低減することができる。 The job management device 4 of this embodiment also determines whether or not to have the standby job execution device 3 execute each job based on the management information and the execution information acquired from the standby job execution device 3. Therefore, when the management information includes execution status information, it is possible to reduce the possibility of inconvenience caused by inconsistency between the execution status information and the execution information copied to the standby job execution device 3.

また、待機系のジョブ管理装置4は、待機系のジョブ実行装置3の実行情報記憶部34の実行情報格納表の実行情報が示すジョブの状態と、待機系のジョブ管理装置4の管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が、ジョブの実行が終了していることを示す情報またはジョブの実行が開始されていないことを示す情報を示すことで一致しているジョブの、管理情報記憶部45に記憶されている管理情報格納表に含まれるジョブの実行状況情報を確定する。さらに、ジョブ管理装置4は、管理情報記憶部45に記憶されている管理情報格納表に含まれる実行状況情報が確定されていないジョブを、待機系のジョブ実行装置3に実行させるか、否かを判定する。これにより、待機系のジョブ管理装置4は、待機系のジョブ実行装置3に実行させる必要がないジョブを、待機系のジョブ実行装置3に実行させないことが可能になる。このため、待機系のジョブ管理システム2を、障害の発生前の現用系のジョブ管理システム5の状態に、迅速に復旧することが可能になる。 The job management device 4 of the standby system also determines the job execution status information included in the management information storage table stored in the management information storage unit 45 of a job in which the job status indicated by the execution information in the execution information storage table of the execution information storage unit 34 of the job execution device 3 of the standby system and the execution status information included in the management information storage table stored in the management information storage unit 45 of the job management device 4 of the standby system match in that they indicate that the job execution has ended or that the job execution has not started. Furthermore, the job management device 4 determines whether or not to have the job execution device 3 of the standby system execute a job for which the execution status information included in the management information storage table stored in the management information storage unit 45 has not been determined. This makes it possible for the job management device 4 of the standby system not to have the job execution device 3 of the standby system execute a job that does not need to be executed by the job execution device 3 of the standby system. This makes it possible to quickly restore the job management system 2 of the standby system to the state of the job management system 5 of the active system before the occurrence of the failure.

また、待機系のジョブ管理装置4は、オペレータを介在することなく、待機系のジョブ管理システム2において実行させる必要があるジョブを待機系のジョブ実行装置3に実行させる。その後、制御部43は、障害発生前に現用系のジョブ管理システム2において実行されていないジョブを待機系のジョブ実行装置3に実行させる。このように、ジョブ管理装置4は、待機系のジョブ管理システム2の運用を開始する。また、稼働中の現用系のジョブ管理システム5に障害が発生した場合に、待機系のジョブ管理システム2がシステムを自動復旧することが可能になり、システムの復旧までの時間の短縮や人為的な操作ミスを防ぐことが可能になる。 The standby job management device 4 also causes the standby job execution device 3 to execute jobs that need to be executed in the standby job management system 2 without operator intervention. The control unit 43 then causes the standby job execution device 3 to execute jobs that were not being executed in the active job management system 2 before the failure occurred. In this way, the job management device 4 starts operation of the standby job management system 2. Furthermore, if a failure occurs in the active job management system 5 that is in operation, the standby job management system 2 can automatically recover the system, making it possible to shorten the time it takes to recover the system and prevent human operation errors.

[ハードウェア構成例]
上述した本発明の各実施形態におけるジョブ管理装置(1、または4、または7)または、ジョブ実行装置(3または6)を、一つの情報処理装置(コンピュータ)を用いて実現するハードウェア資源の構成例について説明する。なお、ジョブ管理装置または、ジョブ実行装置は、物理的または機能的に少なくとも二つの情報処理装置を用いて実現してもよい。また、ジョブ管理装置または、ジョブ実行装置3は、専用の装置として実現してもよい。また、ジョブ管理装置または、ジョブ実行装置の一部の機能のみを情報処理装置を用いて実現してもよい。
[Hardware configuration example]
An example of the configuration of hardware resources for implementing the job management device (1, 4, or 7) or job execution device (3 or 6) in each of the above-mentioned embodiments of the present invention using one information processing device (computer) will be described below. Note that the job management device or job execution device may be implemented physically or functionally using at least two information processing devices. Furthermore, the job management device or job execution device 3 may be implemented as a dedicated device. Furthermore, only some of the functions of the job management device or job execution device may be implemented using an information processing device.

図19は、本発明の各実施形態のジョブ管理装置または、ジョブ実行装置を実現可能な情報処理装置のハードウェア構成例を概略的に示す図である。情報処理装置8は、通信インタフェース81、入出力インタフェース82、演算装置83、記憶装置84、不揮発性記憶装置85およびドライブ装置86を含む。 Figure 19 is a diagram showing an outline of an example of the hardware configuration of an information processing device capable of realizing a job management device or a job execution device according to each embodiment of the present invention. The information processing device 8 includes a communication interface 81, an input/output interface 82, a computing device 83, a storage device 84, a non-volatile storage device 85, and a drive device 86.

たとえば、図1の取得部11と、特定部12と、制御部13は、演算装置83で実現することが可能である。 For example, the acquisition unit 11, the identification unit 12, and the control unit 13 in FIG. 1 can be realized by the calculation device 83.

通信インタフェース81は、各実施形態のジョブ管理装置またはジョブ実行装置が、有線あるいは/および無線で外部装置と通信するための通信手段である。なお、ジョブ管理装置またはジョブ実行装置を、少なくとも二つの情報処理装置を用いて実現する場合は、それらの装置の間を通信インタフェース81経由で相互に通信可能なように接続してもよい。 The communication interface 81 is a communication means for the job management device or job execution device of each embodiment to communicate with an external device via a wired or/and wireless connection. When the job management device or job execution device is realized using at least two information processing devices, the devices may be connected so as to be able to communicate with each other via the communication interface 81.

入出力インタフェース82は、入力デバイスの一例であるキーボードや、出力デバイスとしてのディスプレイ等のマンマシンインタフェースである。 The input/output interface 82 is a man-machine interface including a keyboard as an example of an input device and a display as an output device.

演算装置83は、汎用のCPU(Central Processing Unit)やマイクロプロセッサ等の演算処理装置や複数の電気回路によって実現される。演算装置83は、たとえば、不揮発性記憶装置85に記憶された各種プログラムを記憶装置84に読み出し、読み出したプログラムに従って処理を実行することが可能である。 The arithmetic unit 83 is realized by a general-purpose CPU (Central Processing Unit) or a processing device such as a microprocessor, and a plurality of electric circuits. The arithmetic unit 83 is capable of, for example, reading various programs stored in the non-volatile storage device 85 into the storage device 84 and executing processing according to the read programs.

記憶装置84は、演算装置83から参照可能な、RAM(Random Access Memory)等のメモリ装置であり、プログラムや各種データ等を記憶する。記憶装置84は、揮発性のメモリ装置であってもよい。 The storage device 84 is a memory device such as a RAM (Random Access Memory) that can be referenced by the computing device 83, and stores programs, various data, etc. The storage device 84 may be a volatile memory device.

不揮発性記憶装置85は、たとえば、ROM(Read Only Memory)、フラッシュメモリ、等の、不揮発性の記憶装置であり、各種プログラムやデータ等を記憶することが可能である。 The non-volatile storage device 85 is, for example, a non-volatile storage device such as a ROM (Read Only Memory) or a flash memory, and is capable of storing various programs, data, etc.

ドライブ装置86は、たとえば、後述する記録媒体87に対するデータの読み取りや書き込みを処理する装置である。 The drive device 86 is, for example, a device that processes the reading and writing of data from and to the recording medium 87 described below.

記録媒体87は、たとえば、光ディスク、光磁気ディスク、半導体フラッシュメモリ等、データを記録可能な任意の記録媒体である。 The recording medium 87 is any recording medium capable of recording data, such as an optical disk, a magneto-optical disk, or a semiconductor flash memory.

本発明の各実施形態は、たとえば、図19に例示した情報処理装置8によりジョブ管理装置またはジョブ実行装置を構成し、このジョブ管理装置またはジョブ実行装置に対して、上記各実施形態において説明した機能を実現可能なプログラムを供給することにより実現してもよい。 Each embodiment of the present invention may be realized, for example, by configuring a job management device or a job execution device using the information processing device 8 illustrated in FIG. 19, and supplying a program capable of realizing the functions described in each of the above embodiments to this job management device or job execution device.

この場合、ジョブ管理装置またはジョブ実行装置に対して供給したプログラムを、演算装置83が実行することによって、実施形態を実現することが可能である。また、ジョブ管理装置またはジョブ実行装置のすべてではなく、一部の機能を情報処理装置8で構成することも可能である。 In this case, the embodiment can be realized by having the computing device 83 execute a program supplied to the job management device or the job execution device. It is also possible for some, but not all, of the functions of the job management device or the job execution device to be configured by the information processing device 8.

さらに、上記プログラムを記録媒体87に記録しておき、ジョブ管理装置またはジョブ実行装置の出荷段階、あるいは運用段階等において、適宜上記プログラムが不揮発性記憶装置85に格納されるよう構成してもよい。なお、この場合、上記プログラムの供給方法は、出荷前の製造段階、あるいは運用段階等において、適当な治具を利用してジョブ管理装置またはジョブ実行装置内にインストールする方法を採用してもよい。また、上記プログラムの供給方法は、インターネット等の通信回線を介して外部からダウンロードする方法等の一般的な手順を採用してもよい。 Furthermore, the above program may be recorded on a recording medium 87, and may be configured to be stored in the non-volatile storage device 85 as appropriate at the shipping stage or operation stage of the job management device or job execution device. In this case, the method of supplying the above program may be a method of installing the program in the job management device or job execution device using an appropriate tool at the manufacturing stage before shipping or operation stage. The method of supplying the above program may also be a general procedure such as downloading the program from an external source via a communication line such as the Internet.

なお、上述する各実施の形態は、本発明の好適な実施の形態であり、本発明の要旨を逸脱しない範囲内において種々変更実施が可能である。 The above-described embodiments are preferred embodiments of the present invention, and various modifications can be made without departing from the spirit of the present invention.

上記の実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments may be described as follows, but are not limited to the following:

(付記1)
ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、前記現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、前記現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、前記障害が発生した場合に、前記実行情報を取得する取得部と、
ジョブを前記待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した前記実行情報とに基づいて、ジョブを、前記待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、前記待機系のジョブ実行装置に実行させるジョブとして特定する特定部と、
特定されたジョブを前記待機系のジョブ実行装置に実行させる制御部とを備える、
ジョブ管理装置。
(Appendix 1)
an acquisition unit that acquires, when a failure occurs, a product of a job executed by an active job execution device that executes a job and execution information indicating a state of execution of the job by the active job execution device from a standby job execution device to which the execution information has been copied before the failure occurred in a system including the active job execution device;
a determination unit that determines whether or not to cause the job to be executed by the job execution device of the standby system based on management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the acquired execution information, and that determines that the job to be executed is a job to be executed by the job execution device of the standby system;
a control unit for causing the job execution device of the standby system to execute the specified job,
Job management device.

(付記2)
前記管理情報は、前記障害が発生する前に、前記現用系のジョブ実行装置を含むシステムに含まれる現用系のジョブ管理装置から複製され、前記待機系のジョブ実行装置に実行させるジョブの状態を示す情報である実行状況情報を含み、
前記特定部は、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報と前記実行情報とが整合していないジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする付記1に記載のジョブ管理装置。
(Appendix 2)
the management information includes execution status information, which is information indicating a status of a job to be executed by the job execution device of the standby system, and which is copied from a job management device of an active system included in a system including the job execution device of the active system before the occurrence of the failure,
The job management device described in Appendix 1, characterized in that the identification unit determines whether or not to cause the standby job execution device to execute a job for which the execution status information and the acquired execution information are inconsistent, based on the execution status information and the acquired execution information.

(付記3)
前記特定部は、前記成果物および前記実行情報が前記現用系のジョブ実行装置から複製された時刻および前記管理情報が前記現用系のジョブ管理装置から複製された時刻の中で、最も過去の時刻を示す確定時刻情報と、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報において、前記確定時刻情報が示す時刻までにジョブの実行が終了されていることを示す情報が関連付けられているジョブより後に実行され、かつ、前記実行状況情報および取得した前記実行情報の少なくとも一方に、ジョブが実行済みであることを示す情報が関連付けられているジョブの中で、最後に実行される最終ジョブ以前に実行されるジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする付記2に記載のジョブ管理装置。
(Appendix 3)
The job management device according to claim 2, characterized in that the identification unit determines, based on confirmed time information indicating the oldest time among the times when the deliverable and the execution information were copied from the job execution device of the active system and the time when the management information was copied from the job management device of the active system, the execution status information, and the acquired execution information, whether or not to cause the job execution device of the standby system to execute a job that was executed after a job for which, in the execution status information, information indicating that the job execution was completed by the time indicated by the confirmed time information is associated, and which is associated in at least one of the execution status information and the acquired execution information with information indicating that the job has been executed, before a final job that is executed last.

(付記4)
判定対象のジョブについて、ジョブの正常な前記成果物が前記待機系のジョブ実行装置または所定の記憶装置に存在するか否かを判定し、正常な前記成果物が存在する場合に、正常な前記成果物が存在すると判定された前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させないジョブとして判定する
ことを特徴とする付記1から付記3の何れか1項に記載のジョブ管理装置。
(Appendix 4)
The job management device according to any one of Supplementary Note 1 to Supplementary Note 3, characterized in that for a job to be judged, it is determined whether or not a normal product of the job exists in the job execution device in the standby system or a specified storage device, and if a normal product exists, it is determined that a job that obtains the product for which it is determined that a normal product exists is a job that should not be executed by the job execution device in the standby system.

(付記5)
正常な前記成果物が存在しないと判定された前記成果物が、前記待機系のジョブ実行装置または所定の記憶装置に一時的に存在する中間成果物であるか否かをさらに判定し、前記成果物が前記中間成果物でない場合に、前記中間成果物でない前記成果物を得るジョブを前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする付記4に記載のジョブ管理装置。
(Appendix 5)
The job management device according to claim 4, further determining whether the deliverable determined to not have a normal deliverable is an intermediate deliverable temporarily present in the job execution device of the standby system or a specified storage device, and if the deliverable is not the intermediate deliverable, determining that a job for obtaining the deliverable that is not the intermediate deliverable is a job to be executed by the job execution device of the standby system.

(付記6)
前記中間成果物であると判定された前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられるか否かをさらに判定し、前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられる場合に、前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする付記5に記載のジョブ管理装置。
(Appendix 6)
The job management device described in Appendix 5 is characterized in that it further determines whether the product determined to be the intermediate product will be used in the execution of a job that is executed after the job that obtains the product and that is not yet executed, and if the product is used in the execution of a job that is executed after the job that obtains the product and that is not yet executed, it determines the job to obtain the product as a job to be executed by the job execution device in the standby system.

(付記7)
付記1から付記6のいずれか1項に記載のジョブ管理装置と、
前記待機系のジョブ実行装置と、
を備えるジョブ管理システム。
(Appendix 7)
A job management device according to any one of claims 1 to 6,
the job execution device of the standby system;
A job management system comprising:

(付記8)
ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、前記現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、前記現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、前記障害が発生した場合に、前記実行情報を取得し、
ジョブを前記待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した前記実行情報とに基づいて、ジョブを、前記待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、前記待機系のジョブ実行装置に実行させるジョブとして特定し、
特定されたジョブを前記待機系のジョブ実行装置に実行させる、
ジョブ管理方法。
(Appendix 8)
When a failure occurs in a system including the job execution device of the active system, a product of the job executed by the job execution device of the active system that executes the job and execution information indicating the status of the job execution of the job execution device of the active system are acquired from a job execution device of the standby system to which the execution information has been copied before the failure occurs in the system including the job execution device of the active system;
determining whether or not to cause the job to be executed by the job execution device of the standby system based on management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the acquired execution information, and identifying the job determined to be executed as the job to be executed by the job execution device of the standby system;
causing the job execution device of the standby system to execute the identified job;
Job management methods.

(付記9)
前記管理情報は、前記障害が発生する前に、前記現用系のジョブ実行装置を含むシステムに含まれる現用系のジョブ管理装置から複製され、前記待機系のジョブ実行装置に実行させるジョブの状態を示す情報である実行状況情報を含み、
前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報と前記実行情報とが整合していないジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする付記8に記載のジョブ管理方法。
(Appendix 9)
the management information includes execution status information, which is information indicating a status of a job to be executed by the job execution device of the standby system, and which is copied from a job management device of an active system included in a system including the job execution device of the active system before the occurrence of the failure,
The job management method according to claim 8, further comprising: determining whether or not to cause the job execution device in the standby system to execute a job for which the execution status information and the acquired execution information are inconsistent, based on the execution status information and the acquired execution information.

(付記10)
前記成果物および前記実行情報が前記現用系のジョブ実行装置から複製された時刻および前記管理情報が前記現用系のジョブ管理装置から複製された時刻の中で、最も過去の時刻を示す確定時刻情報と、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報において、前記確定時刻情報が示す時刻までにジョブの実行が終了されていることを示す情報が関連付けられているジョブより後に実行され、かつ、前記実行状況情報および取得した前記実行情報の少なくとも一方に、ジョブが実行済みであることを示す情報が関連付けられているジョブの中で、最後に実行される最終ジョブ以前に実行されるジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする付記9に記載のジョブ管理方法。
(Appendix 10)
and determining whether or not to cause the standby job execution device to execute a job that is executed after a job for which information indicating that the job execution was completed by the time indicated by the determined time information is associated in the execution status information, and which is associated in at least one of the execution status information and the execution information, the determined time information indicating the earliest time among the times when the deliverable and the execution information were copied from the active job execution device and the management information was copied from the active job management device, the execution status information, and the acquired execution information, the job management method according to claim 9, characterized in that it determines whether or not to cause the standby job execution device to execute a job that is executed before a final job that is executed last, the job being executed after a job for which information indicating that the job execution was completed by the time indicated by the determined time information is associated in the execution status information, and which is associated in at least one of the execution status information and the acquired execution information, the job being executed.

(付記11)
判定対象のジョブについて、ジョブの正常な前記成果物が前記待機系のジョブ実行装置または所定の記憶装置に存在するか否かを判定し、正常な前記成果物が存在する場合に、正常な前記成果物が存在すると判定された前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させないジョブとして判定する
ことを特徴とする付記8から付記10の何れか1項に記載のジョブ管理方法。
(Appendix 11)
A job management method as described in any one of Supplementary Note 8 to Supplementary Note 10, characterized in that for a job to be judged, it is judged whether or not a normal product of the job exists in the job execution device of the standby system or a specified storage device, and if the normal product exists, the job that obtains the product for which it is judged that the normal product exists is judged to be a job that should not be executed by the job execution device of the standby system.

(付記12)
正常な前記成果物が存在しないと判定された前記成果物が、前記待機系のジョブ実行装置または所定の記憶装置に一時的に存在する中間成果物であるか否かをさらに判定し、前記成果物が前記中間成果物でない場合に、前記中間成果物でない前記成果物を得るジョブを前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする付記11に記載のジョブ管理方法。
(Appendix 12)
The job management method according to claim 11, further determining whether the deliverable for which it is determined that there is no normal deliverable is an intermediate deliverable temporarily present in the job execution device of the standby system or a specified storage device, and if the deliverable is not the intermediate deliverable, determining that a job for obtaining the deliverable that is not the intermediate deliverable is a job to be executed by the job execution device of the standby system.

(付記13)
前記中間成果物であると判定された前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられるか否かをさらに判定し、前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられる場合に、前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする付記12に記載のジョブ管理方法。
(Appendix 13)
The job management method described in Appendix 12, further determining whether the product determined to be the intermediate product will be used in the execution of a job that is executed after the job that obtains the product and that is not yet executed, and if the product will be used in the execution of a job that is executed after the job that obtains the product and that is not yet executed, determining that the job that obtains the product is a job to be executed by the job execution device in the standby system.

(付記14)
コンピュータに、
ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、前記現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、前記現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、前記障害が発生した場合に、前記実行情報を取得する取得機能と、
ジョブを前記待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した前記実行情報とに基づいて、ジョブを、前記待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、前記待機系のジョブ実行装置に実行させるジョブとして特定する特定機能と、
特定されたジョブを前記待機系のジョブ実行装置に実行させる制御機能と
を実現させるジョブ管理プログラム。
(Appendix 14)
On the computer,
an acquisition function for acquiring execution information indicating a result of a job executed by an active job execution device that executes a job and a status of execution of the job by the active job execution device from a standby job execution device to which the execution information has been copied before a failure occurs in a system including the active job execution device, when the failure occurs;
a determination function for determining whether or not to cause the job to be executed by the job execution device of the standby system based on management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the acquired execution information, and for specifying the job determined to be executed as the job to be executed by the job execution device of the standby system;
a job management program for implementing a control function for causing the job execution device of the standby system to execute the identified job.

(付記15)
前記管理情報は、前記障害が発生する前に、前記現用系のジョブ実行装置を含むシステムに含まれる現用系のジョブ管理装置から複製され、前記待機系のジョブ実行装置に実行させるジョブの状態を示す情報である実行状況情報を含み、
前記特定機能は、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報と前記実行情報とが整合していないジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする付記14に記載のジョブ管理プログラム。
(Appendix 15)
the management information includes execution status information, which is information indicating a status of a job to be executed by the job execution device of the standby system, and which is copied from a job management device of an active system included in a system including the job execution device of the active system before the occurrence of the failure,
The job management program described in Appendix 14, characterized in that the specific function determines whether or not to cause the standby job execution device to execute a job for which the execution status information and the acquired execution information are inconsistent, based on the execution status information and the acquired execution information.

(付記16)
前記特定機能は、前記成果物および前記実行情報が前記現用系のジョブ実行装置から複製された時刻および前記管理情報が前記現用系のジョブ管理装置から複製された時刻の中で、最も過去の時刻を示す確定時刻情報と、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報において、前記確定時刻情報が示す時刻までにジョブの実行が終了されていることを示す情報が関連付けられているジョブより後に実行され、かつ、前記実行状況情報および取得した前記実行情報の少なくとも一方に、ジョブが実行済みであることを示す情報が関連付けられているジョブの中で、最後に実行される最終ジョブ以前に実行されるジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする付記15に記載のジョブ管理プログラム。
(Appendix 16)
The job management program according to claim 15, characterized in that the specific function determines, based on confirmed time information indicating the oldest time among the times when the deliverable and the execution information were copied from the job execution device of the active system and the times when the management information was copied from the job management device of the active system, the execution status information, and the acquired execution information, whether or not to cause the job execution device of the standby system to execute a job that was executed after a job for which, in the execution status information, information indicating that the job execution was completed by the time indicated by the confirmed time information is associated, and which is associated in at least one of the execution status information and the acquired execution information with information indicating that the job has been executed, before a final job that is executed last.

(付記17)
判定対象のジョブについて、ジョブの正常な前記成果物が前記待機系のジョブ実行装置または所定の記憶装置に存在するか否かを判定し、正常な前記成果物が存在する場合に、正常な前記成果物が存在すると判定された前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させないジョブとして判定する
ことを特徴とする付記14から付記16の何れか1項に記載のジョブ管理プログラム。
(Appendix 17)
A job management program as described in any one of Supplementary Note 14 to Supplementary Note 16, characterized in that for a job to be judged, it is determined whether or not a normal product of the job exists in the job execution device of the standby system or a specified storage device, and if a normal product exists, the job that obtains the product for which it is determined that a normal product exists is determined to be a job that should not be executed by the job execution device of the standby system.

(付記18)
正常な前記成果物が存在しないと判定された前記成果物が、前記待機系のジョブ実行装置または所定の記憶装置に一時的に存在する中間成果物であるか否かをさらに判定し、前記成果物が前記中間成果物でない場合に、前記中間成果物でない前記成果物を得るジョブを前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする付記17に記載のジョブ管理プログラム。
(Appendix 18)
The job management program described in Appendix 17, further determining whether the deliverable for which it is determined that there is no normal deliverable is an intermediate deliverable temporarily present in the job execution device of the standby system or a specified storage device, and if the deliverable is not the intermediate deliverable, determining that a job for obtaining the deliverable that is not the intermediate deliverable is a job to be executed by the job execution device of the standby system.

(付記19)
前記中間成果物であると判定された前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられるか否かをさらに判定し、前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられる場合に、前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする付記18に記載のジョブ管理プログラム。
(Appendix 19)
The job management program described in Appendix 18, further determining whether the product determined to be the intermediate product will be used in the execution of a job that is not being executed and that is executed after the job that obtains the product, and if the product will be used in the execution of a job that is not being executed and that is executed after the job that obtains the product, determining that the job that obtains the product is a job to be executed by the job execution device in the standby system.

1、4、7 ジョブ管理装置
11、41 取得部
411 時刻取得部
412 実行情報取得部
12、42 特定部
421 確定部
422 判定部
71 出力部
711 管理情報出力部
712 ジョブネット定義出力部
13、43、72 制御部
44 取得情報記憶部
45、73 管理情報記憶部
46、74 ジョブネット定義記憶部
47 受付部
48 レプリケーション部
2、5 ジョブ管理システム
3、6 ジョブ実行装置
31、61 出力部
311 時刻出力部
611 データ出力部
312、612 実行情報出力部
32、62 実行部
33、63 データ記憶部
34、64 実行情報記憶部
35 レプリケーション部
8 情報処理装置
81 通信インタフェース
82 入出力インタフェース
83 演算装置
84 記憶装置
85 不揮発性記憶装置
86 ドライブ装置
87 記録媒体
1, 4, 7 Job management device 11, 41 Acquisition unit 411 Time acquisition unit 412 Execution information acquisition unit 12, 42 Identification unit 421 Confirmation unit 422 Determination unit 71 Output unit 711 Management information output unit 712 Job net definition output unit 13, 43, 72 Control unit 44 Acquisition information storage unit 45, 73 Management information storage unit 46, 74 Job net definition storage unit 47 Reception unit 48 Replication unit 2, 5 Job management system 3, 6 Job execution device 31, 61 Output unit 311 Time output unit 611 Data output unit 312, 612 Execution information output unit 32, 62 Execution unit 33, 63 Data storage unit 34, 64 Execution information storage unit 35 Replication unit 8 Information processing device 81 Communication interface 82 Input/output interface 83 Arithmetic unit 84 Storage unit 85 Non-volatile storage unit 86 Drive unit 87 Recording medium

Claims (10)

ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、前記現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、前記現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、前記障害が発生した場合に、前記実行情報を取得する取得部と、
ジョブを前記待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した前記実行情報とに基づいて、ジョブを、前記待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、前記待機系のジョブ実行装置に実行させるジョブとして特定する特定部と、
特定されたジョブを前記待機系のジョブ実行装置に実行させる制御部とを備える、
ジョブ管理装置。
an acquisition unit that acquires, when a failure occurs, a product of a job executed by an active job execution device that executes a job and execution information indicating a state of execution of the job by the active job execution device from a standby job execution device to which the execution information has been copied before the failure occurred in a system including the active job execution device;
a determination unit that determines whether or not to cause the job to be executed by the job execution device of the standby system based on management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the acquired execution information, and that determines that the job to be executed is a job to be executed by the job execution device of the standby system;
a control unit for causing the job execution device of the standby system to execute the specified job,
Job management device.
前記管理情報は、前記障害が発生する前に、前記現用系のジョブ実行装置を含むシステムに含まれる現用系のジョブ管理装置から複製され、前記待機系のジョブ実行装置に実行させるジョブの状態を示す情報である実行状況情報を含み、
前記特定部は、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報と前記実行情報とが整合していないジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする請求項1に記載のジョブ管理装置。
the management information includes execution status information, which is information indicating a status of a job to be executed by the job execution device of the standby system, and which is copied from a job management device of an active system included in a system including the job execution device of the active system before the occurrence of the failure,
The job management device according to claim 1, characterized in that the identification unit determines whether or not to cause the standby job execution device to execute a job for which the execution status information and the acquired execution information are inconsistent, based on the execution status information and the acquired execution information.
前記特定部は、前記成果物および前記実行情報が前記現用系のジョブ実行装置から複製された時刻および前記管理情報が前記現用系のジョブ管理装置から複製された時刻の中で、最も過去の時刻を示す確定時刻情報と、前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報において、前記確定時刻情報が示す時刻までにジョブの実行が終了されていることを示す情報が関連付けられているジョブより後に実行され、かつ、前記実行状況情報および取得した前記実行情報の少なくとも一方に、ジョブが実行済みであることを示す情報が関連付けられているジョブの中で、最後に実行される最終ジョブ以前に実行されるジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする請求項2に記載のジョブ管理装置。
3. The job management device according to claim 2, wherein the identification unit determines, based on confirmed time information indicating the oldest time among the times when the deliverable and the execution information were copied from the job execution device of the active system and the times when the management information was copied from the job management device of the active system, the execution status information, and the acquired execution information, whether or not to cause the job execution device of the standby system to execute a job that was executed after a job for which, in the execution status information, information indicating that the job execution was completed by the time indicated by the confirmed time information is associated, and which is associated in at least one of the execution status information and the acquired execution information with information indicating that the job has been executed, before a final job that is executed last.
判定対象のジョブについて、ジョブの正常な前記成果物が前記待機系のジョブ実行装置または所定の記憶装置に存在するか否かを判定し、正常な前記成果物が存在する場合に、正常な前記成果物が存在すると判定された前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させないジョブとして判定する
ことを特徴とする請求項1から請求項3の何れか1項に記載のジョブ管理装置。
The job management device according to any one of claims 1 to 3, characterized in that for a job to be judged, it is determined whether a normal product of the job exists in the standby job execution device or a specified storage device, and if a normal product exists, it is determined that a job that obtains the product for which it is determined that a normal product exists is a job that should not be executed by the standby job execution device.
正常な前記成果物が存在しないと判定された前記成果物が、前記待機系のジョブ実行装置または所定の記憶装置に一時的に存在する中間成果物であるか否かをさらに判定し、前記成果物が前記中間成果物でない場合に、前記中間成果物でない前記成果物を得るジョブを前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする請求項4に記載のジョブ管理装置。
5. The job management device according to claim 4, further determining whether the deliverable for which it is determined that there is no normal deliverable is an intermediate deliverable temporarily present in the job execution device of the standby system or a specified storage device, and if the deliverable is not the intermediate deliverable, determining that a job for obtaining the deliverable that is not the intermediate deliverable is a job to be executed by the job execution device of the standby system.
前記中間成果物であると判定された前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられるか否かをさらに判定し、前記成果物が、前記成果物を得るジョブより後に実行される、実行されていないジョブの実行で用いられる場合に、前記成果物を得るジョブを、前記待機系のジョブ実行装置に実行させるジョブとして判定する
ことを特徴とする請求項5に記載のジョブ管理装置。
6. The job management device according to claim 5, further determining whether the product determined to be the intermediate product will be used in the execution of a job that is executed after the job that obtains the product and that is not yet executed, and if the product will be used in the execution of a job that is executed after the job that obtains the product and that is not yet executed, determining that the job that obtains the product is a job to be executed by the job execution device in the standby system.
請求項1から請求項6のいずれか1項に記載のジョブ管理装置と、
前記待機系のジョブ実行装置と、
を備えるジョブ管理システム。
A job management device according to any one of claims 1 to 6,
the job execution device of the standby system;
A job management system comprising:
ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、前記現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、前記現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、前記障害が発生した場合に、前記実行情報を取得し、
ジョブを前記待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した前記実行情報とに基づいて、ジョブを、前記待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、前記待機系のジョブ実行装置に実行させるジョブとして特定し、
特定されたジョブを前記待機系のジョブ実行装置に実行させる、
ジョブ管理方法。
When a failure occurs in a system including the job execution device of the active system, a product of the job executed by the job execution device of the active system that executes the job and execution information indicating the status of the job execution of the job execution device of the active system are acquired from a job execution device of the standby system to which the execution information has been copied before the failure occurs in the system including the job execution device of the active system;
determining whether or not to cause the job to be executed by the job execution device of the standby system based on management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the acquired execution information, and identifying the job determined to be executed as the job to be executed by the job execution device of the standby system;
causing the job execution device of the standby system to execute the identified job;
Job management methods.
前記管理情報は、前記障害が発生する前に、前記現用系のジョブ実行装置を含むシステムに含まれる現用系のジョブ管理装置から複製され、前記待機系のジョブ実行装置に実行させるジョブの状態を示す情報である実行状況情報を含み、
前記実行状況情報と、取得した前記実行情報とに基づいて、前記実行状況情報と前記実行情報とが整合していないジョブについて、前記待機系のジョブ実行装置に当該ジョブを実行させるか否かを判定する
ことを特徴とする請求項8に記載のジョブ管理方法。
the management information includes execution status information, which is information indicating a status of a job to be executed by the job execution device of the standby system, and which is copied from a job management device of an active system included in a system including the job execution device of the active system before the occurrence of the failure,
9. The job management method according to claim 8, further comprising the step of determining whether or not to cause the job execution device in the standby system to execute a job for which the execution status information and the acquired execution information are inconsistent, based on the execution status information and the acquired execution information.
コンピュータに、
ジョブを実行する現用系のジョブ実行装置により実行されたジョブの成果物と、前記現用系のジョブ実行装置のジョブの実行の状態を示す実行情報とが、前記現用系のジョブ実行装置を含むシステムに障害が発生する前に複製された待機系のジョブ実行装置から、前記障害が発生した場合に、前記実行情報を取得する取得機能と、
ジョブを前記待機系のジョブ実行装置に実行させるか否かを判定するための情報である管理情報と、取得した前記実行情報とに基づいて、ジョブを、前記待機系のジョブ実行装置に実行させるか否かを判定し、実行させると判定されたジョブを、前記待機系のジョブ実行装置に実行させるジョブとして特定する特定機能と、
特定されたジョブを前記待機系のジョブ実行装置に実行させる制御機能と
を実現させるジョブ管理プログラム。
On the computer,
an acquisition function for acquiring execution information indicating a result of a job executed by an active job execution device that executes a job and a status of execution of the job by the active job execution device from a standby job execution device to which the execution information has been copied before a failure occurs in a system including the active job execution device, when the failure occurs;
a determination function for determining whether or not to cause the job to be executed by the job execution device of the standby system based on management information, which is information for determining whether or not to cause the job to be executed by the job execution device of the standby system, and the acquired execution information, and for specifying the job determined to be executed as the job to be executed by the job execution device of the standby system;
a job management program for implementing a control function for causing the job execution device of the standby system to execute the identified job.
JP2020161646A 2020-09-28 JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM Active JP7508974B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020161646A JP7508974B2 (en) 2020-09-28 JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020161646A JP7508974B2 (en) 2020-09-28 JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM

Publications (2)

Publication Number Publication Date
JP2022054543A JP2022054543A (en) 2022-04-07
JP7508974B2 true JP7508974B2 (en) 2024-07-02

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140106A (en) 2008-12-09 2010-06-24 Nec Corp Job execution system, method of taking over job flow used therein, and job flow takeover control program
WO2012023200A1 (en) 2010-08-20 2012-02-23 富士通株式会社 Information processing system, management device, and management method of information processing device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010140106A (en) 2008-12-09 2010-06-24 Nec Corp Job execution system, method of taking over job flow used therein, and job flow takeover control program
WO2012023200A1 (en) 2010-08-20 2012-02-23 富士通株式会社 Information processing system, management device, and management method of information processing device

Similar Documents

Publication Publication Date Title
US7200626B1 (en) System and method for verification of a quiesced database copy
US9940067B2 (en) Performing a data write on a storage device
US20080140963A1 (en) Methods and systems for storage system generation and use of differential block lists using copy-on-write snapshots
JP4472995B2 (en) How to generate a mirror copy that uses incremental mismatch
CN107870829B (en) Distributed data recovery method, server, related equipment and system
US8001344B2 (en) Storage control apparatus, storage control program, and storage control method
JP4363676B2 (en) Computer system
JP2005242729A (en) Method for restoring system
JP2007200182A (en) Device and system for storage
JP2008225616A (en) Storage system, remote copy system and data restoration method
JP2009015476A (en) Journal management method in cdp remote configuration
CN110928728A (en) Virtual machine copying and switching method and system based on snapshot
CN113157303A (en) Upgrading method, embedded system, terminal and computer storage medium
JP2008033527A (en) Storage device, disk device and data restoring method
US20140172802A1 (en) Information processor and backup method
US8131958B2 (en) Storage system, storage device, and data updating method using a journal volume
JP7508974B2 (en) JOB MANAGEMENT DEVICE, JOB MANAGEMENT SYSTEM, JOB MANAGEMENT METHOD, AND JOB MANAGEMENT PROGRAM
US7194675B2 (en) Backup method, backup system, disk controller and backup program
JP2022054543A (en) Job management device, job management system, job management method and job management program
JP6767662B2 (en) Storage device, file replication system, file replication method, and computer program
JP2006040065A (en) Device and method for storing data
JP7007017B2 (en) Storage systems, control methods, and programs
US20240070035A1 (en) Information processing system and backup method
JP7503406B2 (en) Information processing device
JP7095296B2 (en) Distributed configuration management device, distributed configuration management method, and distributed configuration management program