Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4026262B2 - Data processing system and method - Google Patents
[go: Go Back, main page]

JP4026262B2 - Data processing system and method - Google Patents

Data processing system and method Download PDF

Info

Publication number
JP4026262B2
JP4026262B2 JP01801299A JP1801299A JP4026262B2 JP 4026262 B2 JP4026262 B2 JP 4026262B2 JP 01801299 A JP01801299 A JP 01801299A JP 1801299 A JP1801299 A JP 1801299A JP 4026262 B2 JP4026262 B2 JP 4026262B2
Authority
JP
Japan
Prior art keywords
input
application
storage device
output
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP01801299A
Other languages
Japanese (ja)
Other versions
JPH11327986A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP01801299A priority Critical patent/JP4026262B2/en
Publication of JPH11327986A publication Critical patent/JPH11327986A/en
Application granted granted Critical
Publication of JP4026262B2 publication Critical patent/JP4026262B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、データ処理システムによってアクセスされる外部記憶装置におけるバックアップ・コピーを可能にする方法およびシステムに関する。更にバックアップ・コピーに限定されず、特定の時点以降他のアプリケーションにより変更されていない静的なデータを用いて実行する必要のある任意のアプリケーションとデータの更新を伴う他のアプリケーションとの同時実行を可能にする方法およびシステムに関する。
【0002】
【従来の技術】
最近のデータ処理システムでは、業務の延長や24時間連続運転への移行などにより従来のようにデータ更新を行うアプリケーションを停止した後、データの更新の行われていない静的な状態でデータを処理する必要のあるアプリケーション、例えばバックアップ・コピーや1日の業務実績の統計処理などを実行するための時間を確保するのが困難になりつつある。このため、データの更新を伴うアプリケーションと前記のデータの更新の行われていない状態で実行する必要のあるアプリケーションを同時に実行する手段が求められていた。
【0003】
前記の要求に対して、特開平5−94265号公報では多重書きファイルシステムにおいて、多重書き構成を解除し、解除した装置の一方をデータ更新を行うアプリケーションで使用し、他方よりデータ更新の行われていない静的な状態でバックアップ・コピーを制御装置が採取するための機構について例示している。
【0004】
特開平6−44010号公報に開示された技術は、更新により影響を受けるデータセット若しくはその一部をサブシステム・メモリーに書き込み、その後前記更新を記憶サブシステムに書き込むことにより更新を完了させ、バックアップ・コピーからの入力要求は未更新部分のデータを元のデータセットより入力し、更新部分のデータをサブシステム・メモリーより入力する方式について教示している。
【0005】
【発明が解決しようとする課題】
特開平5−94265号公報に示す方式では、バックアップ・コピー以外のアプリケーションからデータ更新の行われていない静的なデータを参照する場合について考慮されていないため、当該手段で採取したバックアップを再度別の外部記憶装置に回復後、ジャーナル等よりデータの論理的整合性を回復してから静的なデータを必要とするアプリケーションを実行する必要があった。
【0006】
また、特開平6−44010号公報に示す方式では、任意のアプリケーションに当該技術を適用させることについて考慮されていないため、当該技術の適用を必要とする全てのアプリケーションで入出力対象の領域が未更新領域か更新済み領域かを意識しなければならず、アプリケーションが複雑になるという問題点、およびシステム全体のコスト増を招くという問題点があった。
【0007】
本発明の目的は、データ処理システムのアクセスと関連する外部記憶装置において、データ更新を必要とする他のアプリケーションに影響を及ぼすことなく、特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力機能を任意のアプリケーションに適用するための改善された方法およびシステムの提供にある。
【0008】
【課題を解決するための手段】
特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とする外部記憶装置の複製を作成し、当該外部記憶装置およびその複製に対する入出力要求を制御する静的データ入出力制御部と静的データに対する入出力要求かを識別するための瀬的データ入出力識別情報定義部を中央演算装置内に設ける。当該静的データ入出力制御部は、入出力要求発行元が静的データに対する要求なのかを静的データ入出力識別情報定義部の情報を元に判別し、当該入出力要求が特定の時点以降他のアプリケーションにより変更されていない静的なデータに対する入出力要求の場合には一方の静的なデータの保障されている外部記憶装置に対して入出力を行い、それ以外の入出力要求の場合には他方の外部記憶装置に対して入出力を行う。
【0009】
アプリケーションによっては複数の入出力要求の完了をもってデータの論理的な入出力処理が完了する場合がある。当該アプリケーションによるデータの論理的整合性のとれた状態の静的データの参照を可能とするため、当該アプリケーションと連携し、データの論理的整合性がとれた状態で当該アプリケーションからの外部記憶装置に対するアクセスを一時的に停止させ、静的データ入出力制御部を起動する。その後、当該アプリケーションの再起動を行う。
【0010】
また、アプリケーションによっては複数の外部記憶装置の入出力要求の完了をもってデータの論理的な入出力処理が完了する場合がある。当該アプリケーションによるデータの論理的整合性のとれた状態の静的データの参照を可能とするため、当該複数の外部記憶装置に対する静的データ入出力制御部の起動処理を一括して行うことにより、データの論理的整合性の取れた同一時点における当該複数の外部記憶装置の静的データの参照を可能とする。
【0011】
【発明の実施の形態】
実施例1.以下、この発明の一実施例を図について説明する。図1は、この発明の一実施例におけるシステムの構成図であり、図において、1は各種プログラムを実行する中央演算装置、111および1112は中央演算装置1内で動作するアプリケーション(以下の説明ではアプリケーション111は特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要としないアプリケーション、アプリケーション112は特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とするアプリケーションとする)、12は中央演算装置1内で動作する外部記憶装置(以下の実施例では外部記憶装置5および6)の複写を実現するため複写プログラム、13は中央演算装置1内で動作する入出力制御プログラム、14は中央演算装置1内で動作し入出力要求発行元のアプリケーションを判別し特定の時点以降他のアプリケーションにより変更されていないデータの入出力を支援する静的データ入出力制御部、15は特定の時点以降他のアプリケーションにより変更されていないデータの入出力を必要とするアプリケーションを識別するための識別情報を定義する静的データ入出力アプリケーション識別情報定義部、2は中央演算装置1と制御装置2とを接続するバス、3は外部記憶装置5および6に対する入出力を制御する制御装置、4は制御装置3と外部記憶装置5および6を接続するバス、5および6は制御装置3に接続された外部記憶装置である。
【0012】
次に動作について説明する。以下の説明では外部記憶装置6をデータの複写元の外部記憶装置、外部記憶装置5をデータの複写先の外部記憶装置とする。図2は図1のシステムにおいて、特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力機能を任意のアプリケーションに適用させる方法のフローチャートである。
【0013】
図2において、ステップST21で特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とするアプリケーションを識別するための識別情報を静的データ入出力アプリケーション識別情報定義部15に登録する。当該識別情報として使用するのに適切な情報としては、アプリケーションを特定するアプリケーション登録名、アプリケーションの実行環境を規定するジョブクラス、アプリケーションプログラムの属性を示すロードモジュール属性、あるいは、アプリケーションプログラムの格納されているライブラリ名称などがある。また、複数の中央演算装置で外部記憶装置5および6を共有している場合には、中央演算装置を識別するためのシステム識別子を当該アプリケーション識別情報として用い、特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とするアプリケーションと、静的なデータの参照と必要としないアプリケーションとを異なる中央演算装置で実行させてもよい。あるいは、アプリケーションから静的データ入出力アプリケーション識別情報定義部に対して、自アプリケーションもしくは当該入出力要求が、特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とするかどうかを通知する手段を設けてもよい。
【0014】
ステップST22で、外部記憶装置6の静的データの参照機能を動作させるための事前準備として複写プログラム12を起動して当該装置を外部記憶装置5に複写する。
【0015】
外部記憶装置6の複写完了後、ステップST23で静的データ入出力制御部14を起動する。なおこの際、静的データ入出力制御部の起動に先立ち、データ処理システム内のアプリケーションの実行を一時的に中断する処理を更に含むこともできる。また、静的データ入出力制御部の起動に引き続いて、データ処理システム内のアプリケーションの実行を再開する処理を更に含むこともできる。
【0016】
静的データ入出力制御部14起動後、ステップST24でアプリケーション111またはアプリケーション112より入出力要求が入出力制御プログラム13に対して発行される。この入出力要求は入出力要求発行元のアプリケーションに関係なく、データ複写元の外部記憶装置6に対する入出力要求として行う。
【0017】
ステップST25で、入出力制御プログラム13は外部記憶装置6に対する入出力要求であることを識別すると、当該入出力要求を静的データ入出力制御部14に転送する。
【0018】
ステップST25で、静的データ入出力制御部14は当該入出力要求発行元アプリケーションの持つ識別情報がステップST21で静的データ入出力アプリケーション識別情報定義部15に登録済みの識別情報と一致しているかどうかを判定する。
【0019】
図7は静的データ入出力アプリケーション識別情報定義部15で定義された識別情報を格納するデーブルの一例である。当該テーブルには、静的なデータの入出力を行なうアプリケーションの持つ識別情報を列挙する。アフリケーションの識別情報がテーブルTB71に登録されている場合、当該アプリケーションからの入出力は静的なデータを格納した外部記憶装置5に対して実行する。アプリケーションの識別情報がテーブルTB71に登録されていない場合、他のアプリケーションで更新されたデータを格納した外部記憶装置6に対して入出力を実行する。
【0020】
また、静的データ入出力アプリケーション識別情報定義部15で定義された識別情報を格納するデーブルは、図8の例のように他のアプリケーションで更新されたデータを格納した外部記憶装置6に対して入出力を行なうアプリケーションの持つ識別情報を列挙したテーブルTB81であってもよいし、図9の例のように全ての識別情報TB91と入出力対象の外部記憶装置TB92を対応づける情報を格納したテーブルであってもよい。
【0021】
ステップST26で前記入出力要求発行元識別子と前記登録済み識別子が一致した場合には、ステップST27を実行する。ステップST27では、静的データ入出力制御部14は外部記憶装置6に対する入出力要求を外部記憶装置5に対する入出力要求に変換し、外部記憶装置5に対して入出力要求を発行する。ステップST26で前記入出力要求発行元識別子と前記登録済み識別子が一致しなかった場合には、ステップST28を実行する。ステップST28ではアプリケーションから発行された入出力要求をそのまま外部記憶装置6に対して発行する。
【0022】
ステップST29で、入出力要求を発行した外部記憶装置(5または6)からの完了通知を受信後、静的データ入出力制御部13は入出力要求発行元アプリケーション(111または112)に対して入出力完了通知を報告する。
【0023】
前記ステップST26からST29の処理により、アプリケーション111およびアプリケーション112では静的データを格納した外部記憶装置5を意識することなく入出力を行うことが可能となり、アプリケーション112はステップST23実行時点以降他のアプリケーションにより変更されていない静的なデータの入出力が可能となる。
【0024】
複写プログラム12として従来技術として例示した特開平6−44010号公報に示す方式を用いることにより、実行中のアプリケーションを停止させることなく外部記憶装置6の複写を実行させてもよい。
【0025】
複写プログラム12は制御装置3内で稼動するプログラム、あるいは、中央演算装置1内で稼動するプログラムと制御装置3内で稼動するプログラムとを連動することにより複写を実行するプログラムであってもよい。
【0026】
複写プログラム12の複写単位となる外部記憶装置は、磁気ディスクのような物理的な単位であっても、あるいは、ファイルやデータセットなどの論理的な単位であってもよい。
【0027】
外部記憶装置5および6は、磁気ディスクのような物理的な媒体、中央演算装置1内の主記憶メモリ上に展開されたファイルやテーブルなどの仮想デバイス、あるいは、特許公報第2557172号に示される複写方式を用いた場合に作成されるタイムゼロ・バックアップのような論理的な装置のいずれであってもよい。また、外部記憶装置5と6は異なるタイプの外部記憶装置を用いてもよい。
【0028】
実施例2.中央演算装置1内で稼動する多重書き制御プログラムにより外部記憶装置5と6が多重書き装置となっているため、外部記憶装置6の複製が既に存在する場合に、本発明を適用する方式の一実施例を示す。図3において、16は中央演算装置1内で稼動する外部記憶装置5と6の多重書き制御を実行するプログラムであり、以下の説明では外部記憶装置5は多重書き制御装置の副装置、外部記憶装置6は多重書き制御装置の正装置とする。図4は図3のシステムにおいて、特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力機能を任意のアプリケーションに適用させる方法のフローチャートである。
【0029】
図4において、ステップST41で特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とするアプリケーションを識別するための識別情報を静的データ入出力アプリケーション識別情報定義部15に登録する。
【0030】
ステップST42で静的データ入出力制御部14は多重書き制御プログラム16に対して、副装置である外部記憶装置5の閉塞を要求する。なおこの際、多重書き制御を行っている外部記憶装置の閉塞に先立ち、データ処理システム内のアプリケーションの実行を一時的に中断する処理を更に含むこともできる。また、多重書き制御を行っている外部記憶装置の閉塞に引き続いて、データ処理システム内のアプリケーションの実行を再開する処理を更に含むこともできる。外部記憶装置5の閉塞完了後、ステップST43でアプリケーション111またはアプリケーション112より入出力要求が多重書き制御プログラム16に対して発行される。この入出力要求は静的なデータの入出力を必要とするかどうかに関係なく、従来の多重書き制御装置と同様正装置である外部記憶装置6に対する入出力要求として行う。
【0031】
ステップST44で、多重書き制御プログラム16は外部記憶装置6に対する入出力要求であることを識別すると、当該入出力要求を静的データ入出力制御部14に転送する。
【0032】
ステップST45で、静的データ入出力制御部14は当該入出力要求発行元アプリケーションの持つ識別情報がステップST41で静的データ入出力アプリケーション識別情報定義部15に登録済みの識別情報と一致しているかどうかを判定する。
【0033】
ステップST45で前記入出力要求発行元識別子と前記登録済み識別子が一致した場合には、ステップST46を実行する。ステップST46では、静的データ入出力制御部14は閉塞している外部記憶装置5に対して入出力要求を発行する。ステップST45で前記入出力要求発行元識別子と前記登録済み識別子が一致しなかった場合には、ステップST47を実行する。ステップST47ではアプリケーションから発行された入出力要求を閉塞していない外部記憶装置6に対して発行する。
【0034】
ステップST48で、入出力要求を発行した外部記憶装置(5または6)からの完了通知を受信後、静的データ入出力制御部14は入出力要求発行元アプリケーション(111または112)に対して入出力完了通知を報告する。
【0035】
前記ステップST45からST48の処理により、アプリケーション111およびアプリケーション112では静的データを格納した閉塞状態の外部記憶装置5を意識することなく入出力を行うことが可能となり、アプリケーション112はステップST42実行時点以降他のアプリケーションにより変更されていない静的なデータの入出力が可能となる。
【0036】
また、ステップST42で閉塞させる装置は多重書き制御装置の正装置である外部記憶装置6であってもよく、この場合にはステップST46およびステップST47で入出力要求を発行する外部記憶装置5と6を入れ替えればよい。
【0037】
実施例3.制御装置3内で稼動する多重書き制御プログラムにより外部記憶装置5と6が多重書き装置となっているため、外部記憶装置6の複製が既に存在する場合に、本発明を適用する方式の一実施例を示す。図5において、31は制御装置3内で稼動する外部記憶装置5と6の多重書き制御を実行するプログラムである。図6は図5のシステムにおいて、特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力機能を任意のアプリケーションに適用させる方法のフローチャートである。
【0038】
ステップST61で特定の時点以降他のアプリケーションにより変更されていない静的なデータの入出力を必要とするアプリケーションを識別するための識別情報を静的データ入出力アプリケーション識別情報定義部15に登録する。
【0039】
ステップST62で静的データ入出力制御部14は制御装置3内で動作している多重書き制御プログラム31に対して、外部記憶装置5の閉塞を要求する。なおこの際、制御装置に対する多重書き外部記憶装置の閉塞命令の発行に先立ち、データ処理システム内のアプリケーションの実行を一時的に中断する処理を更に含むこともできる。また、制御装置に対する多重書き外部記憶装置の閉塞命令の完了に引き続いて、データ処理システム内のアプリケーションの実行を再開する処理を更に含むこともできる。外部記憶装置5の閉塞完了後、ステップST63でアプリケーション111またはアプリケーション112より入出力要求が入出力制御プログラムST62に対して発行される。この入出力要求は静的なデータの入出力を必要とするかどうかに関係なく、従来の多重書き制御装置と同様正装置である外部記憶装置6に対する入出力要求として行う。
【0040】
ステップST64で、多重書き制御プログラム16は外部記憶装置6に対する入出力要求であることを識別すると、当該入出力要求を静的データ入出力制御部14に転送する。
【0041】
ステップST65で、静的データ入出力制御部14は当該入出力要求発行元アプリケーションの持つ識別情報がステップST61で静的データ入出力アプリケーション識別情報定義部15に登録済みの識別情報と一致しているかどうかを判定する。
【0042】
ステップST65で前記入出力要求発行元識別子と前記登録済み識別子が一致した場合には、ステップST66を実行する。ステップST66では、静的データ入出力制御部14は閉塞している外部記憶装置5に対する入出力の実行を指示する命令を付加して制御装置3に対して入出力要求を発行する。ステップST65で前記入出力要求発行元識別子と前記登録済み識別子が一致しなかった場合には、ステップST67を実行する。ステップST67では静的データ入出力制御部14は閉塞していない外部記憶装置6に対する入出力の実行を指示する命令を付加して制御装置3に対して入出力要求を発行する。
【0043】
ステップST68で、入出力の完了通知を制御装置3から受信後、静的データ入出力制御部14は入出力要求発行元アプリケーション(111または112)に対して入出力完了通知を報告する。
【0044】
前記ステップST65からST68の処理により、アプリケーション111およびアプリケーション112では静的データを格納した閉塞状態の外部記憶装置5を意識することなく入出力を行うことが可能となり、アプリケーション112はステップST62実行時点以降他のアプリケーションにより変更されていない静的なデータの入出力が可能となる。
【0045】
【発明の効果】
以上のように、静的データ入出力制御部および静的データ入出力アプリケーション識別情報定義部を設けることにより、アプリケーションは特定の時点以降他のアプリケーションにより変更されていない静的なデータの格納された外部記憶装置を意識する必要がなくなりアプリケーションの変更なしに静的なデータの入出力が可能となるため、アプリケーションの複雑化やシステムのコスト増を招くことなく、前記静的データの入出力を必要とするアプリケーションと他のアプリケーションとの同時実行を実施し、業務時間を短縮できる効果がある。
【図面の簡単な説明】
【図1】本発明の実施例1におけるシステムの構成図である。
【図2】図1のシステムにおいて本発明を実現するためのフローチャートである。
【図3】本発明の実施例2におけるシステムの構成図である。
【図4】図3のシステムにおいて本発明を実現するためのフローチャートである。
【図5】本発明の実施例3におけるシステムの構成図である。
【図6】図5のシステムにおいて本発明を実現するためのフローチャートである。
【図7】静的データを格納した外部記憶装置5にアクセスするために静的データ入出力アプリケーション識別情報定義部12に格納された識別情報を示す表の例。
【図8】アプリケーションが最新のデータを格納した外部記憶装置6に入出力を行うために使用する識別情報を示す表の例。
【図9】識別情報とアクセス対象装置の対応を示す表の例。
【符号の説明】
1 …中央演算装置、
3 …制御装置、
5 …外部記憶装置
6 …外部記憶装置
12…複写プログラム、
13…入出力制御プログラム、
14…静的データ入出力制御部、
15…静的データ入出力アプリケーション識別情報定義部、
16…中央演算装置1内で動作する多重書き制御プログラム、
31…制御装置3内で動作する多重書き制御プログラム。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a method and system for enabling backup copy in an external storage device accessed by a data processing system. Furthermore, it is not limited to backup copy, and any application that needs to be executed using static data that has not been changed by another application after a specific point in time can be executed simultaneously with another application that involves data update. It relates to a method and system to enable.
[0002]
[Prior art]
In recent data processing systems, after the application that updates data is stopped due to extension of business or transition to continuous operation for 24 hours, data is processed in a static state where data is not updated. It is becoming difficult to secure a time for executing an application that needs to be performed, for example, backup / copying or statistical processing of the daily business performance. For this reason, there has been a demand for means for simultaneously executing an application accompanied by data update and an application that needs to be executed in a state where the data is not updated.
[0003]
In response to the above request, in Japanese Patent Laid-Open No. 5-94265, in the multiple write file system, the multiple write configuration is canceled, and one of the released devices is used in an application for updating data, and the data is updated by the other. An example of a mechanism for the control device to collect a backup copy in a static state is shown.
[0004]
The technique disclosed in Japanese Patent Application Laid-Open No. 6-44010 discloses a data set affected by an update or a part thereof written in a subsystem memory, and then the update is completed by writing the update in a storage subsystem. -An input request from a copy teaches a method in which unupdated portion data is input from the original data set, and updated portion data is input from the subsystem memory.
[0005]
[Problems to be solved by the invention]
The method disclosed in Japanese Patent Laid-Open No. 5-94265 does not consider the case of referring to static data that has not been updated from an application other than backup / copy. After restoring to the external storage device, it is necessary to execute an application that requires static data after recovering the logical consistency of the data from a journal or the like.
[0006]
In addition, in the method disclosed in Japanese Patent Laid-Open No. 6-44010, since the application of the technology to an arbitrary application is not considered, the input / output target area is not yet available in all applications that require the application of the technology. There is a problem that it is necessary to be aware of whether the area is an updated area or an updated area, and there is a problem that an application becomes complicated and a cost of the entire system is increased.
[0007]
It is an object of the present invention to provide a static storage that has not been changed by another application after a specific point in time in an external storage device associated with access to the data processing system without affecting other applications that require data updating. It is an object of the present invention to provide an improved method and system for applying a data input / output function to an arbitrary application.
[0008]
[Means for Solving the Problems]
Create a replica of an external storage device that requires input / output of static data that has not been changed by another application since a specific point in time, and enter static data input that controls the input / output requests for that external storage device and replica A central data input / output identification information defining unit is provided in the central processing unit for identifying the output control unit and the input / output request for static data. The static data input / output control unit determines whether the input / output request issuer is a request for static data based on the information in the static data input / output identification information definition unit. In the case of an I / O request for static data that has not been changed by another application, an I / O request is made to an external storage device that guarantees one static data, and the other I / O request Input / output to / from the other external storage device.
[0009]
Depending on the application, logical input / output processing of data may be completed upon completion of a plurality of input / output requests. In order to enable reference of static data in a state in which the data is logically consistent by the application, in cooperation with the application, the external storage device from the application is in a state in which the logical consistency of the data is maintained. Access is temporarily stopped and the static data input / output control unit is started. Thereafter, the application is restarted.
[0010]
Depending on the application, logical input / output processing of data may be completed upon completion of input / output requests of a plurality of external storage devices. In order to enable reference of static data in a state where logical consistency of data by the application is possible, by performing batch processing of activation processing of the static data input / output control unit for the plurality of external storage devices, It is possible to refer to the static data of the plurality of external storage devices at the same time when the logical consistency of the data is achieved.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Example 1. An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a system according to an embodiment of the present invention. In FIG. 1, 1 is a central processing unit that executes various programs, and 111 and 1112 are applications that operate in the central processing unit 1 (in the following description). The application 111 does not require input / output of static data that has not been changed by another application since a specific time, and the application 112 inputs / outputs static data that has not been changed by another application since a specific time 12 is a copy program for realizing copying of an external storage device (external storage devices 5 and 6 in the following embodiments) operating in the central processing unit 1, and 13 is the central processing unit 1. I / O control program that operates in the central processing unit 14 operates in the central processing unit 1 The static data input / output control unit 15 that determines the application that issued the input / output request and supports the input / output of data that has not been changed by another application after a specific time, 15 has been changed by another application since the specific time Static data input / output application identification information definition section for defining identification information for identifying an application that requires input / output of no data, 2 is a bus connecting the central processing unit 1 and the control device 2, and 3 is an external A control device for controlling input / output with respect to the storage devices 5 and 6, 4 is a bus connecting the control device 3 and the external storage devices 5 and 6, and 5 and 6 are external storage devices connected to the control device 3.
[0012]
Next, the operation will be described. In the following description, the external storage device 6 is an external storage device that is a data copy source, and the external storage device 5 is an external storage device that is a data copy destination. FIG. 2 is a flowchart of a method of applying a static data input / output function that has not been changed by another application after a specific time point to an arbitrary application in the system of FIG.
[0013]
In FIG. 2, the static data input / output application identification information defining unit 15 indicates identification information for identifying an application that requires static data input / output that has not been changed by another application after a specific time in step ST21. Register with. Appropriate information to be used as the identification information includes the application registration name that identifies the application, the job class that defines the execution environment of the application, the load module attribute that indicates the attribute of the application program, or the storage of the application program. There are library names etc. Further, when the external storage devices 5 and 6 are shared by a plurality of central processing units, a system identifier for identifying the central processing unit is used as the application identification information and changed by other applications after a specific time An application that requires input / output of static data that is not performed and an application that does not require reference of static data may be executed by different central processing units. Alternatively, the application needs to input / output static data that has not been changed by another application since a specific point in time, from the application to the static data input / output application identification information definition unit. Means for notifying whether or not may be provided.
[0014]
In step ST22, the copy program 12 is started as a preliminary preparation for operating the static data reference function of the external storage device 6 to copy the device to the external storage device 5.
[0015]
After copying of the external storage device 6 is completed, the static data input / output control unit 14 is activated in step ST23. In this case, it is possible to further include a process of temporarily interrupting the execution of the application in the data processing system prior to the activation of the static data input / output control unit. Further, following the activation of the static data input / output control unit, it may further include a process of resuming the execution of the application in the data processing system.
[0016]
After the static data input / output control unit 14 is activated, an input / output request is issued from the application 111 or the application 112 to the input / output control program 13 in step ST24. This input / output request is made as an input / output request to the external storage device 6 that is the data copy source, regardless of the application that issued the input / output request.
[0017]
When the input / output control program 13 identifies that the input / output request is for the external storage device 6 in step ST25, the input / output request is transferred to the static data input / output control unit 14.
[0018]
In step ST25, the static data input / output control unit 14 confirms whether the identification information of the input / output request issuer application matches the identification information registered in the static data input / output application identification information defining unit 15 in step ST21. Determine if.
[0019]
FIG. 7 is an example of a table that stores identification information defined by the static data input / output application identification information definition unit 15. This table lists identification information possessed by an application that inputs and outputs static data. When the application identification information is registered in the table TB71, input / output from the application is executed to the external storage device 5 storing static data. When the application identification information is not registered in the table TB71, input / output is executed with respect to the external storage device 6 storing data updated by another application.
[0020]
Further, the table for storing the identification information defined by the static data input / output application identification information definition unit 15 is stored in the external storage device 6 storing the data updated by another application as in the example of FIG. It may be a table TB81 that lists identification information held by an application that performs input / output, or a table that stores information associating all the identification information TB91 with an external storage device TB92 to be input / output as in the example of FIG. It may be.
[0021]
If the input / output request issuer identifier matches the registered identifier in step ST26, step ST27 is executed. In step ST27, the static data input / output control unit 14 converts the input / output request for the external storage device 6 into an input / output request for the external storage device 5, and issues the input / output request to the external storage device 5. If the input / output request issuer identifier does not match the registered identifier in step ST26, step ST28 is executed. In step ST28, the I / O request issued from the application is issued to the external storage device 6 as it is.
[0022]
In step ST29, after receiving the completion notification from the external storage device (5 or 6) that issued the input / output request, the static data input / output control unit 13 enters the input / output request issuer application (111 or 112). Report output completion notification.
[0023]
Through the processing of steps ST26 to ST29, the application 111 and the application 112 can perform input / output without being conscious of the external storage device 5 storing static data, and the application 112 can execute other applications after the execution time of step ST23. It is possible to input / output static data that has not been changed by the.
[0024]
By using the method shown in Japanese Patent Application Laid-Open No. Hei 6-44010 exemplified as the prior art as the copy program 12, copying of the external storage device 6 may be executed without stopping the application being executed.
[0025]
The copy program 12 may be a program that operates in the control device 3 or a program that executes copying by linking a program that operates in the central processing unit 1 and a program that operates in the control device 3.
[0026]
The external storage device that is a copy unit of the copy program 12 may be a physical unit such as a magnetic disk, or a logical unit such as a file or a data set.
[0027]
The external storage devices 5 and 6 are a physical medium such as a magnetic disk, a virtual device such as a file or a table developed on the main storage memory in the central processing unit 1, or disclosed in Japanese Patent No. 2557172. It may be any logical device such as a time zero backup created when the copying method is used. The external storage devices 5 and 6 may use different types of external storage devices.
[0028]
Example 2 One of the methods to which the present invention is applied when a copy of the external storage device 6 already exists because the external storage devices 5 and 6 are multiple write devices by the multiple write control program running in the central processing unit 1. An example is shown. In FIG. 3, 16 is a program for executing multiple write control of the external storage devices 5 and 6 operating in the central processing unit 1. In the following description, the external storage device 5 is a sub-device of the multiple write control device, external storage. The device 6 is assumed to be the primary device of the multiple writing control device. FIG. 4 is a flowchart of a method for applying a static data input / output function that has not been changed by another application after a specific time point to an arbitrary application in the system of FIG.
[0029]
In FIG. 4, identification information for identifying an application that requires input / output of static data that has not been changed by another application after a specific time in step ST <b> 41 is displayed as a static data input / output application identification information definition unit 15. Register with.
[0030]
In step ST42, the static data input / output control unit 14 requests the multiple write control program 16 to close the external storage device 5 that is the secondary device. In this case, it is possible to further include a process of temporarily interrupting the execution of the application in the data processing system prior to closing of the external storage device performing the multiple write control. Further, it may further include a process of resuming the execution of the application in the data processing system following the blockage of the external storage device performing the multiple write control. After the closing of the external storage device 5 is completed, an input / output request is issued from the application 111 or the application 112 to the multiple write control program 16 in step ST43. This input / output request is made as an input / output request to the external storage device 6 which is a primary device as in the conventional multiple write control device, regardless of whether static data input / output is required.
[0031]
If the multiple write control program 16 identifies that it is an input / output request to the external storage device 6 in step ST44, it transfers the input / output request to the static data input / output control unit 14.
[0032]
In step ST45, the static data input / output control unit 14 determines whether the identification information of the input / output request issuer application matches the identification information registered in the static data input / output application identification information defining unit 15 in step ST41. Determine if.
[0033]
If the input / output request issuer identifier matches the registered identifier in step ST45, step ST46 is executed. In step ST46, the static data input / output control unit 14 issues an input / output request to the closed external storage device 5. If the input / output request issuer identifier does not match the registered identifier in step ST45, step ST47 is executed. In step ST47, the I / O request issued from the application is issued to the external storage device 6 that is not blocked.
[0034]
In step ST48, after receiving the completion notification from the external storage device (5 or 6) that issued the input / output request, the static data input / output control unit 14 enters the input / output request issuer application (111 or 112). Report output completion notification.
[0035]
Through the processing of steps ST45 to ST48, the application 111 and the application 112 can perform input / output without being conscious of the blocked external storage device 5 storing static data. It is possible to input and output static data that has not been changed by other applications.
[0036]
Further, the device to be blocked in step ST42 may be the external storage device 6 which is the primary device of the multiple write control device. In this case, the external storage devices 5 and 6 which issue input / output requests in step ST46 and step ST47. Can be replaced.
[0037]
Example 3 Implementation of a method to which the present invention is applied when a copy of the external storage device 6 already exists because the external storage devices 5 and 6 are multiple write devices by the multiple write control program running in the control device 3 An example is shown. In FIG. 5, reference numeral 31 denotes a program that executes multiple write control of the external storage devices 5 and 6 that operate in the control device 3. FIG. 6 is a flowchart of a method of applying a static data input / output function that has not been changed by another application after a specific time point to an arbitrary application in the system of FIG.
[0038]
In step ST61, identification information for identifying an application that requires input / output of static data that has not been changed by another application after a specific time is registered in the static data input / output application identification information definition unit 15.
[0039]
In step ST62, the static data input / output control unit 14 requests the multiple write control program 31 operating in the control device 3 to close the external storage device 5. At this time, it is possible to further include a process of temporarily interrupting the execution of the application in the data processing system prior to issuing the block command of the multiple write external storage device to the control device. Further, it may further include a process of resuming the execution of the application in the data processing system following the completion of the multiple write external storage device blocking instruction for the control device. After the closing of the external storage device 5, the input / output request is issued from the application 111 or the application 112 to the input / output control program ST62 in step ST63. This input / output request is made as an input / output request to the external storage device 6 which is a primary device as in the conventional multiple write control device, regardless of whether static data input / output is required.
[0040]
In step ST64, when the multiple write control program 16 identifies an input / output request to the external storage device 6, the multiple write control program 16 transfers the input / output request to the static data input / output control unit 14.
[0041]
In step ST65, the static data input / output control unit 14 confirms whether the identification information of the input / output request issuer application matches the identification information registered in the static data input / output application identification information defining unit 15 in step ST61. Determine if.
[0042]
If the input / output request issuer identifier matches the registered identifier in step ST65, step ST66 is executed. In step ST66, the static data input / output control unit 14 issues an input / output request to the control device 3 with an instruction for executing input / output to the external storage device 5 being blocked. If the input / output request issuer identifier does not match the registered identifier in step ST65, step ST67 is executed. In step ST67, the static data input / output control unit 14 adds an instruction for instructing execution of input / output to the external storage device 6 that is not closed, and issues an input / output request to the control device 3.
[0043]
In step ST68, after receiving the input / output completion notification from the control device 3, the static data input / output control unit 14 reports the input / output completion notification to the input / output request issuing application (111 or 112).
[0044]
Through the processing of steps ST65 to ST68, the application 111 and the application 112 can perform input / output without being conscious of the blocked external storage device 5 storing static data. It is possible to input and output static data that has not been changed by other applications.
[0045]
【The invention's effect】
As described above, by providing the static data input / output control unit and the static data input / output application identification information definition unit, the application stores static data that has not been changed by another application after a specific time. Static data can be input / output without changing the application without having to be aware of the external storage device, so the static data can be input / output without complicating the application and increasing the system cost. The application can be executed simultaneously with other applications, thereby reducing the work time.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a system according to a first embodiment of the present invention.
FIG. 2 is a flowchart for realizing the present invention in the system of FIG. 1;
FIG. 3 is a configuration diagram of a system according to a second embodiment of the present invention.
4 is a flowchart for realizing the present invention in the system of FIG. 3;
FIG. 5 is a configuration diagram of a system according to a third embodiment of the present invention.
6 is a flowchart for realizing the present invention in the system of FIG. 5;
FIG. 7 is an example of a table showing identification information stored in the static data input / output application identification information definition unit 12 for accessing the external storage device 5 storing static data.
FIG. 8 is an example of a table showing identification information used for input / output to / from the external storage device 6 in which the latest data is stored by the application.
FIG. 9 is an example of a table showing correspondence between identification information and an access target device.
[Explanation of symbols]
1 ... Central processing unit,
3 ... control device,
5 ... External storage device 6 ... External storage device 12 ... Copy program,
13 ... I / O control program,
14: Static data input / output control unit,
15 ... Static data input / output application identification information definition part,
16 ... Multiple writing control program operating in the central processing unit 1
31. Multiple writing control program operating in the control device 3.

Claims (6)

記憶装置に対する入出力処理を行うデータ処理システムであって、
第1の記憶装置および第2の記憶装置に対するデータの多重書き、及び前記第1の記憶装置の閉塞を行う多重書き制御部と、
前記第1の記憶装置が閉塞された以降変更されていないデータに対する入出力を行うアプリケーションの識別子を格納する識別情報格納部と、
アプリケーションからの入出力要求に含まれる前記アプリケーションの識別情報を取得し、前記識別情報が前記識別情報格納部に格納されている場合には閉塞した前記第1の記憶装置に対して前記入出力要求を送信し、前記識別情報が前記識別情報格納部に格納されていない場合には前記第2の記憶装置に対して前記入出力要求を送信するデータ入出力制御部と
を有することを特徴とするデータ処理システム。
A data processing system for performing input / output processing for a storage device,
A multiplex write control unit for performing multiplex writing of data to the first storage device and the second storage device, and closing the first storage device;
An identification information storage unit that stores an identifier of an application that inputs and outputs data that has not been changed since the first storage device was blocked;
The identification information of the application included in the input / output request from the application is acquired, and when the identification information is stored in the identification information storage unit, the input / output request to the first storage device that is blocked And a data input / output control unit that transmits the input / output request to the second storage device when the identification information is not stored in the identification information storage unit. Data processing system.
前記多重書き制御部の前記第1の記憶装置の閉塞に先立ち、前記データ処理システム内のアプリケーションの実行を一時的に中断する処理を更に含む請求項記載のデータ処理システム。Wherein prior to closure of the first storage device of multiple-writing control unit, the data processing system of claim 1, wherein the temporarily further comprising a suspend process execution of the application in the data processing system. 前記多重書き制御部の前記第1の記憶装置の閉塞に引き続いて、前記データ処理システム内のアプリケーションの実行を再開する処理を更に含む請求項記載のデータ処理システム。The data processing system according to claim 2 , further comprising a process of resuming execution of an application in the data processing system following the blockage of the first storage device of the multiple write control unit . 記憶装置に対する入出力処理を行うデータ処理システムにおけるデータ処理方法であって、
前記データ処理システムは、
第1の記憶装置が閉塞された以降変更されていないデータに対する入出力を行うアプリケーションの識別子を格納する識別情報格納部を有し、
前記第1の記憶装置および第2の記憶装置に対するデータの多重書きを行う多重書き制御部が、前記第2の記憶装置を閉塞し、
アプリケーションからの入出力要求に含まれる前記アプリケーションの識別情報を取得し、
前記識別情報が前記識別情報格納部に格納されているかどうか判定し、
前記識別情報が前記識別情報格納部に格納されている場合には閉塞した前記第1の記憶装置に対して前記入出力要求を送信し、
前記識別情報が前記識別情報格納部に格納されていない場合には前記第2の記憶装置に対して前記入出力要求を送信する
ことを特徴とするデータ処理方法。
A data processing method in a data processing system for performing input / output processing for a storage device,
The data processing system includes:
An identification information storage unit that stores an identifier of an application that inputs and outputs data that has not been changed since the first storage device was blocked;
A multiplex write control unit that performs multiplex writing of data to the first storage device and the second storage device closes the second storage device;
Obtaining the identification information of the application included in the input / output request from the application;
Determining whether the identification information is stored in the identification information storage unit;
When the identification information is stored in the identification information storage unit, the input / output request is transmitted to the blocked first storage device,
A data processing method, comprising: transmitting the input / output request to the second storage device when the identification information is not stored in the identification information storage unit.
前記多重書き制御部の前記第1の記憶装置の閉塞に先立ち、前記データ処理システム内のアプリケーションの実行を一時的に中断する処理を更に含む請求項4記載のデータ処理方法。  5. The data processing method according to claim 4, further comprising a process of temporarily interrupting execution of an application in the data processing system prior to closing of the first storage device of the multiple write control unit. 前記多重書き制御部の前記第1の記憶装置の閉塞に引き続いて、前記データ処理システム内のアプリケーションの実行を再開する処理を更に含む請求項5記載のデータ処理方法。  The data processing method according to claim 5, further comprising a process of resuming execution of an application in the data processing system following the blockage of the first storage device of the multiple write control unit.
JP01801299A 1998-01-30 1999-01-27 Data processing system and method Expired - Fee Related JP4026262B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01801299A JP4026262B2 (en) 1998-01-30 1999-01-27 Data processing system and method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP1930698 1998-01-30
JP10-19306 1998-01-30
JP01801299A JP4026262B2 (en) 1998-01-30 1999-01-27 Data processing system and method

Publications (2)

Publication Number Publication Date
JPH11327986A JPH11327986A (en) 1999-11-30
JP4026262B2 true JP4026262B2 (en) 2007-12-26

Family

ID=26354622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01801299A Expired - Fee Related JP4026262B2 (en) 1998-01-30 1999-01-27 Data processing system and method

Country Status (1)

Country Link
JP (1) JP4026262B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6282672B1 (en) * 1998-01-30 2001-08-28 Hitachi, Ltd. System for simultaneously executing any one of plurality of applications that must be executed using static data not modified by another computer program
JP2006309638A (en) 2005-05-02 2006-11-09 Hitachi Ltd Computer system, host computer and storage device used in the computer system, and volume switching method used in the computer system

Also Published As

Publication number Publication date
JPH11327986A (en) 1999-11-30

Similar Documents

Publication Publication Date Title
CN101847148B (en) Method and device for implementing high application availability
US20010001870A1 (en) System and method for on-line, real time, data migration
JPH01188965A (en) Data processing
JP2001134454A (en) Method and system for updating component in computer environment and manufactured product
CN101645003A (en) Software transplanting method and device
US7698319B2 (en) Database system management method, database system, database device, and backup program
JP2724078B2 (en) Maintenance method for redundant memory
JP4026262B2 (en) Data processing system and method
JPH11242566A (en) Multiplexed data storage system
EP0449660B1 (en) A method and apparatus of generating shadow process
US7441091B2 (en) Storage control device and storage control method
JP3266231B2 (en) Online capacity expansion method of external storage device
US6282672B1 (en) System for simultaneously executing any one of plurality of applications that must be executed using static data not modified by another computer program
JP4070389B2 (en) Power system monitoring and control device
JPH11272628A (en) Shared data transfer method and coupling device
JPH08272815A (en) Object-oriented database system and its processing method
JPH0736713A (en) Program execution management device
JPH0563824B2 (en)
JP3570639B2 (en) How to manage system definition information
US5898840A (en) Maintaining a sequential store order (SSO) in a non-SSO machine
JPH09146782A (en) How to deal with abnormalities in passing data between jobs
JP3319146B2 (en) Data Synchronous Transfer Method for Redundant Control System
JP3463696B2 (en) Online garbage collection processing method
JP2850756B2 (en) Failure recovery method for files in distributed processing system
JPH02139630A (en) Online task exchange device

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061213

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070216

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070626

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070802

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070918

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20071001

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101019

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111019

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121019

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131019

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees