JP3945020B2 - Data processing apparatus and recording medium - Google Patents
Data processing apparatus and recording medium Download PDFInfo
- Publication number
- JP3945020B2 JP3945020B2 JP16890898A JP16890898A JP3945020B2 JP 3945020 B2 JP3945020 B2 JP 3945020B2 JP 16890898 A JP16890898 A JP 16890898A JP 16890898 A JP16890898 A JP 16890898A JP 3945020 B2 JP3945020 B2 JP 3945020B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- backup
- abnormality
- stored
- record
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、プログラムやデータのバックアップ処理を実行する機能を備えたデータ処理装置に関するものである。
【0002】
【従来の技術】
近年、経理業務や管理業務をはじめ、幅広い業務にわたってコンピュータシステムが導入されるようになっている。このコンピュータシステムの導入により、多量のデータの処理が容易になり、これまで手作業で行われてきた様々な処理の効率が著しく向上した。しかしその一方で、コンピュータシステムにおいて取り扱うデータの規模が大きく、また、そのデータの重要性が増すにつれて、データの破損や消失といった事態が大きな損害をもたらすようになっていた。
このため、業務に利用されるコンピュータシステムにおいては、データやプログラムをバックアップする処理が日常的に行われてきた。
【0003】
一般に、業務で取り扱われるデータは、日々更新されることが多く、バックアップ処理は、ほぼ毎日のように行われる。しかし、データの量が多くなるにつれて、バックアップ処理に要する時間も長くなるので、バックアップ処理に要する作業負担は大きくなる一方であった。
このため、予め定められた時刻に、自動的にバックアップ処理を行う機能を備えたコンピュータシステムが利用されるようになっていた。
【0004】
【発明が解決しようとする課題】
ところが、自動的にバックアップ処理を実行する際に、誤って、トラブルにより破損したデータをさらに更新してしまうことがあるという問題があった。
通常、コンピュータシステム全体に影響を及ぼすような重大なトラブルが発生した際には、バックアップ処理は中断される。しかし、特定のアプリケーションプログラムにおける小規模なトラブルによってデータが破損した場合には、コンピュータシステム全体に対する影響が軽微であれば、バックアップ処理が実行され、正常なデータが記録された記録媒体に、破損したデータを最新データとして上書きしてしまうことがあった。
【0005】
このため、大きなトラブルが発生した際に、バックアップしておいたデータを修復作業に利用しようとしても、完全に正常なデータが保存されていないために、修復作業に支障を来し、より多くの手間がかかるという問題があった。
【0006】
この発明は、上記問題点を解決するため、データ処理装置において、プログラムのエラー等によって発生した異常なデータをバックアップせずに、確実に正常なデータのみをバックアップすることが可能なようにすることである。
【0007】
【課題を解決するための手段】
上記課題を解決するため、請求項1記載の発明は、データを格納するデータ格納手段と、日付および時刻を示す計時信号を出力する計時手段と、前記データ格納手段に格納されたデータを複製して格納し、また、前記データ格納手段に格納されたデータを複製して格納する際に、当該データを複製した日時をバックアップ日時として格納するバックアップ手段と、前記データ格納手段内に格納されたデータを読み込み、当該データにおける異常の有無を検知して、異常が検知された場合には異常の発生を示す異常記録を生成して出力する異常検知手段と、前記異常検知手段により出力された異常記録を格納し、また、前記異常検知手段により出力された異常記録に対応づけて、当該異常記録が出力された日時を格納する異常記録格納手段と、前記バックアップ手段によりデータの複製が実行される際に、前記異常記録格納手段に格納された異常記録を参照し、前記異常記録格納手段内に格納された異常記録を発見した際に、当該異常記録が出力された日時が、前記バックアップ手段に格納されたバックアップ日時以降である場合に、異常の発生の報知を実行する報知手段と、この報知手段により異常の発生が報知された場合には、前記バックアップ手段によるデータの複製を中止させるバックアップ制御手段と、を備えることを特徴としている。
【0008】
ここで、データ記録手段に記録されるデータとは、データ処理装置によって処理されるデータのほか、データ処理装置により実行される各種プログラムのプログラムコード等を含むものである。また、報知手段とは、利用者に対して報知を実行することが可能なものであり、報知のための表示を実行する表示画面を備えた表示装置や、警告音を発する警告装置が挙げられる。
【0009】
この請求項1記載の発明によれば、格納されているデータやプログラムにおいて異常が検出された後、データやプログラムをバックアップする際には、異常が検出された旨が報知され、バックアップが中止されるので、プログラム実行時の異常により破損したデータをバックアップしてしまうことを避けることができる。このため、バックアップされたデータやプログラムに異常なデータが含まれることが無いので、データ処理装置に異常が発生した等の場合に備えて、正常なデータやプログラムのみを格納しておくことができる。これによって、データ処理装置において異常が発生した場合の修復作業を、支障無く速やかに行うことができ、効率よく作業を行うことができる。
【0010】
【発明の実施の形態】
以下に、本発明のデータ処理装置に係る実施の形態例を図1から図5に基づいて説明する。先ず、図1は本発明の実施の形態としてのコンピュータシステム1の概略構成を示すブロック図であり、同図に示すように、コンピュータシステム1は、CPU11、RAM12、記憶装置13、記憶装置13が有する記録媒体14、バックアップ記憶装置15、バックアップ記憶装置15が有するバックアップ記録媒体16、入力装置17、印刷装置18、表示装置19およびタイマ20によって構成され、記録媒体14およびバックアップ記録媒体16を除く各部はバス21によって接続されている。
【0011】
CPU(Central Processing Unit )11は、記憶装置13内に格納されているプログラムおよび当該プログラムに係るデータを読み込んで、RAM12内に設けられるメモリエリアに展開し、入力装置17から入力される各種指示に従って、各種業務に係る処理等の各種処理を実行する。そして、入力装置17から入力された各種指示や、処理中のデータなどを表示画面上に表示するための表示情報を生成して表示装置19に対して出力し、また、入力装置17から、実行中の各種処理によって作成された書類や帳票を印刷する旨の指示が入力された場合には、この指示に従って印刷情報を生成して印刷装置18に対して出力する。
【0012】
また、CPU11は、記憶装置13内に格納したアプリケーションプログラムを実行した際に、記憶装置13内の業務ファイル領域13aおよびデータ領域13bに格納された、当該アプリケーションプログラムに関するファイルにおいて、不整合や異常が発見された場合には、ログファイル記録処理を実行し、記憶装置13内のログファイル領域13cに実行結果を示す実行結果ログファイルを格納する。そして、CPU11は、タイマ20から出力される計時信号を随時検出し、現在時刻が予め指定された時刻に達すると、記憶装置13内に格納されたアプリケーションプログラムに従って、記憶装置13の記録媒体14内に格納されたデータやプログラムをバックアップ記憶装置15のバックアップ記録媒体16内に記録するバックアップ処理を実行する。
【0013】
さらに、CPU11は、上述したバックアップ処理を実行する際に、記憶装置13内のログファイル領域13cに格納された実行結果ログファイルを参照し、現在記憶装置13の記録媒体14内に格納されているプログラムやデータの中に、破損したデータが含まれている可能性があると判断した場合には、利用者に対して警告表示を行うための表示情報を生成して表示装置19に出力し、バックアップ処理を実行するか否かの入力を要求する。
【0014】
RAM(Random Access Memory)12は、CPU11により処理される各種プログラムや、その処理に係るデータを一時的に格納するメモリエリアを形成する。
【0015】
記憶装置13は、プログラムやデータ等が記憶される記録媒体14を有し、この記録媒体14は磁気的、光学的記録媒体、若しくは半導体メモリで構成されている。この記録媒体14は記憶装置13に固定的に設けたもの、若しくは着脱自在に装着するものである。
【0016】
また、上記の記録媒体14に記憶されるデータ等は、通信回線等を介して接続された他の機器から受信して記憶する構成にしてもよく、さらに、通信回線等を介して接続された他の機器側に上記記録媒体を備えた記憶装置を設け、この記録媒体に記憶されているプログラムやデータを通信回線を介して使用する構成としても良い。
【0017】
図2は、記憶装置13内の構成を模式的に示す図である。同図に示すように、記憶装置13内には、業務ファイル領域13a、データ領域13bおよびログファイル領域13cが設けられている。
業務ファイル領域13aには、コンピュータシステム1により実行される各種業務のためのアプリケーションプログラムや、コンピュータシステム1の動作に必要なシステムプログラム等が格納されている。また、データ領域13b内には、業務ファイル領域13a内に格納された各種プログラムに係るデータが格納される。
【0018】
そして、ログファイル領域13cには、CPU11によって業務ファイル領域13a内に格納されたアプリケーションプログラムが実行された際に、当該アプリケーションプログラムまたは当該アプリケーションプログラムに係るデータ領域13b内のデータにおける不整合や異常によって、エラーが発生した場合、CPU11によって生成される実行結果ログファイルが格納される。この実行結果ログファイルには、異常が発見された際に実行されていたプログラムの名称や、異常が発見されたデータやプログラムを含むファイルのファイル名、エラーに付されるエラー番号、および、異常を検出した日付および時刻などが記録されている。
【0019】
バックアップ記憶装置15は、記録媒体14内に格納されたプログラムやデータをバックアップするための記録媒体であって、記憶装置13と同様に、プログラムやデータ等が記憶されるバックアップ記録媒体16を有し、このバックアップ記録媒体16は磁気的、光学的記録媒体、若しくは半導体メモリで構成されている。このバックアップ記録媒体16はバックアップ記憶装置15に固定的に設けたもの、若しくは着脱自在に装着するものである。
【0020】
また、上記のバックアップ記録媒体16に記憶されるデータ等は、前述の記録媒体14と同様に、通信回線等を介して接続された他の機器から受信して記憶する構成にしてもよく、さらに、通信回線等を介して接続された他の機器側に上記記録媒体を備えた記憶装置を設け、この記録媒体に記憶されているプログラムやデータを通信回線を介して使用する構成としても良い。
【0021】
図3は、バックアップ記憶装置15内の構成を模式的に示す図である。同図に示すように、バックアップ記憶装置15内には、記憶装置13内に格納されたプログラムやデータがコピーされたバックアップファイルと、当該バックアップファイルが生成された日付、および、時刻が格納される。
【0022】
入力装置17は、文字キー、数字キーや各種機能キーを備えるキーボード、および、マウス等のポインティングを備え、キーボード上のキーが押下された際に当該キーに対御する押下信号をCPU11に対して出力するとともに、ポインティングデバイスにおける操作に応じて、クリック信号などの操作信号と、相対位置座標データとをCPU11に対して出力する。
【0023】
印刷装置18は、レーザプリンタやインクジェット式プリンタ等のプリンタを備え、CPU11から入力される印刷情報に基づいて、コンピュータシステム1において実行される各種業務に関する帳票や書類等の印刷を実行する。
【0024】
表示装置19は、CRT(Cathode Ray Tube)やLCD(Liquid Crystal Display)等により構成される表示画面を備え、CPU11により実行される各種処理に関する表示情報がCPU11から入力されると、この表示情報に基づいて表示画面上に表示を実行する。
【0025】
タイマ20は、内部に水晶発振器等を備えた計時手段を有し、現在の日付および時刻を示す計時信号を、随時、CPU11に対して出力する。
【0026】
図4は、コンピュータシステム1により実行されるログファイル記録処理を示すフローチャートであり、図5は、コンピュータシステム1により実行されるバックアップ処理を示すフローチャートである。以下、これら図4および図5に基づいて、コンピュータシステム1の動作を説明する。
【0027】
入力装置17から入力された指示により、業務開始が指示されると、まず、CPU11は、記憶装置13(図2)の業務ファイル領域13a内に格納された業務用のアプリケーションプログラムや、データ領域13b内に格納された当該アプリケーションプログラムに係るデータを読み込む(ステップS11)。ここで、読み込んだアプリケーションプログラムと、当該アプリケーションプログラムに係るデータにおいて、不整合や異常の有無を確認し(ステップS12)、異常が発見されなければ、そのまま読み込んだアプリケーションプログラムを実行し(ステップS14)、処理を終了する。
【0028】
ステップS12において、読み込んだプログラムやデータに異常が発見された場合には、実行結果を示す実行結果ログファイルに、実行したプログラムの名称、発生したエラーの番号、異常が発見されたファイルのファイル名、異常が発見された日時等の実行結果を記録し、ログファイル領域13c内に格納して(ステップS13)、処理を終了する。
【0029】
そして、現在時刻が、予め設定された時刻に達した場合には、図5に示すバックアップ処理が実行される。まずCPU11は、記憶装置13(図2)のログファイル領域13c内を参照し、実行結果ログファイルを読み込みを行う(ステップS21)。ここで、ログファイル領域13c内に実行結果ログファイルが格納されていないことが判明した場合には(ステップS22)、実行中にエラーが発生したプログラムが全くないと判断してよいので、記憶装置13の記録媒体14内に格納されている内容を、全てバックアップ記憶装置15のバックアップ記録媒体16にコピーして(ステップS27)、バックアップ記憶装置15内に格納される最終バックアップ日付に現在の日時を記録し(ステップS28)、処理を終了する。
【0030】
また、ログファイルの読み込みに成功した場合には、バックアップ記憶装置15内に格納されている最終バックアップ日付を読み込み(ステップS23)、ステップS21で読み込んだ実行結果ログファイルに格納されている日付と、ステップS23で読み込んだ最終バックアップ日付とを比較する(ステップS24)。ここで、エラー発生日時を示す実行結果ログファイルの日付が、最後にバックアップをした時の日時よりも新しい場合には、当該エラーが発生してから一度もバックアップが行われていないことになる。このため、CPU11は、表示装置19に表示情報を出力して、表示画面上において、異常を検出した旨を示す警告表示を実行させる(ステップS25)。
【0031】
さらに、CPU11は、表示画面上において、利用者に対してバックアップを実行するか否かの入力を要求する表示を実行させ、バックアップを行う旨の入力が行われた場合には、ステップS27に移行して、ステップS27およびステップS28に示すバックアップ処理を実行する。また、ステップS26においてバックアップをしない旨の指示が入力された場合には、そのまま処理を終了する。
【0032】
また、ステップS24において、実行結果ログファイルに記録されている日付が、最終バックアップ日付よりも前の日時であれば、エラー発生後に、バックアップ処理が行われていることになる。従って、エラー発生直後のバックアップ処理において、すでに、上述のステップS25〜ステップS26に示す処理が実行されているので、現在バックアップ記憶装置15のバックアップ記録媒体16に格納されているデータは、エラー発生直後のバックアップ処理の際に、利用者の指示に従って処理されたデータである。このため、再度利用者に対して警告を表示する必要がないので、ステップS27に移行して、バックアップ処理を実行し、バックアップ日付を現在時刻に更新して(ステップS28)、処理を終了する。
【0033】
以上のように、本発明の実施の形態としてのコンピュータシステム1によれば、CPU11によって記憶装置13内に格納されたアプリケーションプログラムを実行する際に、当該プログラムおよび当該プログラムに係るデータにおいて不整合などの異常の有無を検知して、異常が発見された際には、エラー発生時の処理として記憶装置13内のログファイル領域13cに実行結果ログファイルを格納する。そして、記憶装置13の記録媒体14内のデータやプログラムをバックアップ記憶装置15のバックアップ記録媒体16にバックアップする際に記憶装置13内のログファイル領域13cに格納された実行結果ログファイルを読み込んで、最終のバックアップ処理以降に発生したエラーがあったことを検知すると、表示画面上においてエラーが発生した旨を示す警告表示を実行させ、入力された指示に従ってバックアップ処理を中断し、あるいは、そのままバックアップ処理を実行する。
【0034】
従って、プログラムやデータの不整合などの異常により、アプリケーションプログラム実行時にエラーが発生した際には、エラー発生後にバックアップ処理を実行する際に、利用者に対して警告が発せられるので、利用者がバックアップ処理の中断を指示することによって、破壊されたデータやプログラムが、バックアップ記憶装置15のバックアップ記録媒体16に記録されてしまうことが無く、バックアップ記憶装置15のバックアップ記録媒体16内に、確実に、正常なデータやプログラムのみを格納しておくことができる。これによって、例えばコンピュータシステム1のシステムに障害が発生した場合にも、確実なデータおよびプログラムのバックアップが行われているので、バックアップ記憶装置15のバックアップ記録媒体16内に格納されたデータやプログラムを利用して、速やかに修復・復旧作業を行うことができる。
【0035】
なお、以上の実施の形態においては、記憶装置13内の業務ファイル領域13aに格納されたアプリケーションプログラムを実行する際に異常が発見された場合に、実行結果ログファイルに異常の内容を記録してログファイル領域13c内に格納する構成としたが、本発明はこれに限定されるものではなく、例えばコンピュータシステム1の起動時に読み込むシステムプログラムにおいて異常が発見された場合に、この異常の内容を実行結果ログファイルに記録してログファイル領域13c内に格納する構成としても良い。また、上記実施の形態においては、タイマ20から出力される計時信号に基づいて、所定の時刻に自動的にバックアップ処理を実行する構成としたが、利用者から入力される指示に基づいて、毎回のバックアップ処理を実行する構成としても良い。
【0036】
さらに、実行結果ログファイルに、異常が発生した日時やエラー番号、プログラム名、ファイル名のほか、発生した異常の程度や内容に応じてレベルを設定して記録しておき、バックアップ処理を実行する際に、実行結果ログファイルに記録された異常のレベルに応じて、そのままバックアップ処理を実行するか、あるいは、利用者に対して警告表示を行うかを判断する構成としても良い。この場合、発生した異常が軽微なものであった場合に、そのまま自動的にバックアップ処理を実行させることができ、作業者の負担をより軽減することができる。さらに、その他の具体的な細部構造等についても、適宜に変更可能であることは勿論である。
【0037】
【発明の効果】
請求項1および2記載の発明によれば、格納されているデータやプログラムにおいて異常が検出された後、データやプログラムをバックアップする際には、異常が検出された旨が報知され、バックアップが中止されるので、プログラム実行時の異常により破損したデータをバックアップしてしまうことを避けることができる。このため、バックアップされたデータやプログラムに異常なデータが含まれることが無いので、データ処理装置に異常が発生した等の場合に備えて、正常なデータやプログラムを格納しておくことができる。これによって、データ処理装置において異常が発生した場合の修復作業を、支障無く速やかに行うことができ、効率よく作業を行うことができる。
【0038】
また、以前に発生し、適切な措置が取られた異常に対して、繰り返し異常を報知することが無く、新たに発生した異常に対してのみ、バックアップを中止させて報知を行うので、バックアップの作業をいたずらに増大させることがないので、より効率よく作業を行うことができる。
【図面の簡単な説明】
【図1】本発明の実施の形態としてのコンピュータシステムの概略構成を示すブロック図である。
【図2】図1の記憶装置内の構成を模式的に示す図である。
【図3】図1のバックアップ記憶装置内の構成を模式的に示す図である。
【図4】図1のコンピュータシステムによって実行されるログファイル記録処理を示すフローチャートである。
【図5】図1のコンピュータシステムによって実行されるバックアップ処理を示すフローチャートである。
【符号の説明】
1 コンピュータシステム
11 CPU
12 RAM
13 記憶装置
14 記録媒体
15 バックアップ記憶装置
16 バックアップ記録媒体
17 入力装置
18 印刷装置
19 表示装置
20 タイマ
21 バス[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing apparatus having a function of executing backup processing of programs and data.
[0002]
[Prior art]
In recent years, computer systems have been introduced over a wide range of tasks, including accounting and management. The introduction of this computer system has facilitated the processing of large amounts of data, and has greatly improved the efficiency of various processes that have been performed manually. However, on the other hand, the scale of data handled in a computer system is large, and as the importance of the data increases, a situation such as data corruption or loss has caused great damage.
For this reason, in a computer system used for business, processing for backing up data and programs has been routinely performed.
[0003]
In general, data handled in business is often updated daily, and backup processing is performed almost every day. However, as the amount of data increases, the time required for the backup process also increases, so that the work load required for the backup process is increasing.
For this reason, a computer system having a function of automatically performing backup processing at a predetermined time has been used.
[0004]
[Problems to be solved by the invention]
However, when the backup process is automatically executed, there is a problem that the data damaged due to the trouble may be further updated.
Usually, when a serious trouble that affects the entire computer system occurs, the backup process is interrupted. However, if the data is damaged due to a small problem in a specific application program, the backup process is executed and the recording medium on which normal data is recorded is damaged if the influence on the entire computer system is slight. Data was sometimes overwritten as the latest data.
[0005]
For this reason, when a big trouble occurs, even if you try to use the backed up data for repair work, because the normal data is not saved completely, the repair work will be hindered and more There was a problem that it took time and effort.
[0006]
In order to solve the above problems, the present invention enables a data processing apparatus to reliably back up only normal data without backing up abnormal data generated due to a program error or the like. It is.
[0007]
[Means for Solving the Problems]
In order to solve the above-mentioned problem, the invention described in
[0008]
Here, the data recorded in the data recording means includes not only data processed by the data processing apparatus but also program codes of various programs executed by the data processing apparatus. In addition, the notification means is capable of performing notification to the user, and includes a display device having a display screen for executing display for notification, and a warning device that emits a warning sound. .
[0009]
According to the first aspect of the present invention, when an abnormality is detected in the stored data or program, when the data or program is backed up, the fact that the abnormality has been detected is notified and the backup is stopped. Therefore, it is possible to avoid backing up data that has been damaged due to an abnormality during program execution. For this reason, since abnormal data is not included in the backed up data or program, only normal data or program can be stored in case of an abnormality in the data processing device. . As a result, the repair work when an abnormality occurs in the data processing apparatus can be quickly performed without any trouble, and the work can be performed efficiently.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments according to the data processing apparatus of the present invention will be described below with reference to FIGS. First, FIG. 1 is a block diagram showing a schematic configuration of a
[0011]
A CPU (Central Processing Unit) 11 reads a program stored in the
[0012]
Further, when the
[0013]
Further,
[0014]
A RAM (Random Access Memory) 12 forms a memory area for temporarily storing various programs processed by the
[0015]
[0016]
Further, data to be stored in the above record medium 14 may be configured to receive and store from another device connected via a communication line or the like, is further connected via a communication line or the like and other equipment-side storage apparatus equipped with the Symbol recording medium provided, may be configured to use the programs and data stored in the record medium through the communication line.
[0017]
FIG. 2 is a diagram schematically showing the configuration in the
The
[0018]
In the log file area 13c, when an application program stored in the
[0019]
[0020]
Further, data to be stored in the backup Symbol recording medium 16 may be configured to the same manner as record medium 14 described above, receives and stores the another device connected via a communication line or the like further, the memory device having the Symbol recording medium provided on another device side connected via the communication line or the like, using programs and data stored in the record medium through the communication line configuration It is also good.
[0021]
FIG. 3 is a diagram schematically showing the configuration in the
[0022]
The
[0023]
The printing device 18 includes a printer such as a laser printer or an ink jet printer, and executes printing of forms, documents, and the like related to various operations executed in the
[0024]
The display device 19 includes a display screen configured by a CRT (Cathode Ray Tube), an LCD (Liquid Crystal Display), or the like. When display information regarding various processes executed by the
[0025]
The timer 20 has time measuring means having a crystal oscillator or the like inside, and outputs a time measuring signal indicating the current date and time to the
[0026]
4 is a flowchart showing log file recording processing executed by the
[0027]
When a job start is instructed by an instruction input from the
[0028]
If an abnormality is found in the read program or data in step S12, the name of the executed program, the number of the error that occurred, and the file name of the file in which the abnormality was found are displayed in the execution result log file indicating the execution result. The execution result such as the date and time when the abnormality is found is recorded, stored in the log file area 13c (step S13), and the process is terminated.
[0029]
When the current time reaches a preset time, the backup process shown in FIG. 5 is executed. First, the
[0030]
If the log file is successfully read, the last backup date stored in the
[0031]
Further, the
[0032]
In step S24, if the date recorded in the execution result log file is a date and time before the last backup date, the backup processing is performed after an error occurs. Accordingly, in the backup process after an error occurs, previously, since the processing shown in Step S25~ step S26 described above are executed, the data stored in the backup Symbol recording medium 16 on
[0033]
As described above, according to the
[0034]
Therefore, when an error occurs during the execution of an application program due to an abnormality such as program or data inconsistency, a warning is issued to the user when the backup process is executed after the error has occurred. by instructing the interruption of the backup process, corrupted data and programs, without being thereby recorded on the backup Symbol recording medium 16 of the
[0035]
In the above embodiment, when an abnormality is found when executing the application program stored in the
[0036]
In addition, in the execution result log file, set the level according to the date and time of error occurrence, error number, program name, file name, and the level and content of the error that occurred, and execute backup processing. At this time, it may be configured to determine whether to execute the backup process as it is or to display a warning to the user according to the level of abnormality recorded in the execution result log file. In this case, when the abnormality that has occurred is minor, the backup process can be automatically executed as it is, and the burden on the operator can be further reduced. Furthermore, it is needless to say that other specific detailed structures can be appropriately changed.
[0037]
【The invention's effect】
According to the first and second aspects of the invention, after the abnormality is detected in the stored data or program, when the data or program is backed up, the fact that the abnormality has been detected is notified and the backup is stopped. Therefore, it is possible to avoid backing up data that has been damaged due to abnormalities during program execution. For this reason, since abnormal data is not included in the backed up data or program, it is possible to store the normal data or program in case an abnormality occurs in the data processing apparatus. As a result, the repair work when an abnormality occurs in the data processing apparatus can be quickly performed without any trouble, and the work can be performed efficiently.
[0038]
In addition , for abnormalities that have occurred before and for which appropriate measures have been taken, there is no repeated notification of abnormalities, and backup is canceled and notifications are issued only for newly generated abnormalities. Since the work is not increased unnecessarily, the work can be performed more efficiently.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a computer system as an embodiment of the present invention.
FIG. 2 is a diagram schematically showing a configuration in the storage device of FIG. 1;
3 is a diagram schematically showing a configuration in the backup storage device of FIG. 1; FIG.
4 is a flowchart showing a log file recording process executed by the computer system of FIG.
FIG. 5 is a flowchart showing backup processing executed by the computer system of FIG. 1;
[Explanation of symbols]
1
12 RAM
13 storage device 14
Claims (2)
日付および時刻を示す計時信号を出力する計時手段と、
前記データ格納手段に格納されたデータを複製して格納し、また、前記データ格納手段に格納されたデータを複製して格納する際に、当該データを複製した日時をバックアップ日時として格納するバックアップ手段と、
前記データ格納手段内に格納されたデータを読み込み、当該データにおける異常の有無を検知して、異常が検知された場合には異常の発生を示す異常記録を生成して出力する異常検知手段と、
前記異常検知手段により出力された異常記録を格納し、また、前記異常検知手段により出力された異常記録に対応づけて、当該異常記録が出力された日時を格納する異常記録格納手段と、
前記バックアップ手段によりデータの複製が実行される際に、前記異常記録格納手段に格納された異常記録を参照し、前記異常記録格納手段内に格納された異常記録を発見した際に、当該異常記録が出力された日時が、前記バックアップ手段に格納されたバックアップ日時以降である場合に、異常の発生の報知を実行する報知手段と、
この報知手段により異常の発生が報知された場合には、前記バックアップ手段によるデータの複製を中止させるバックアップ制御手段と、
を備えることを特徴とするデータ処理装置。Data storage means for storing data;
Clocking means for outputting a clock signal indicating the date and time;
And stores the duplicated data stored in the data storage means and, when storing duplicates the data stored in said data storage means, the backup means for storing the date and time of duplicating the data as backup date When,
An anomaly detecting means for reading the data stored in the data storing means, detecting the presence or absence of an abnormality in the data, and generating and outputting an anomaly record indicating the occurrence of an anomaly if an anomaly is detected;
Stores the output anomaly recorded by the abnormality detecting means, in association with the output anomaly recorded by the abnormality detecting means, the abnormal recording storage means for storing the date and time when the abnormality record is outputted,
When duplication of data is executed by the backup unit, the abnormal record stored in the abnormal record storage unit is found by referring to the abnormal record stored in the abnormal record storage unit. When the date and time when is output is after the backup date and time stored in the backup means, notification means for performing notification of the occurrence of abnormality,
When the occurrence of an abnormality is notified by this notification means, backup control means for stopping data replication by the backup means,
A data processing apparatus comprising:
データを格納するデータ格納手段、
前記データ格納手段に格納されたデータを複製して格納し、また、前記データ格納手段に格納されたデータを複製して格納する際に、当該データを複製した日時をバックアップ日時として格納するバックアップ手段、
前記データ格納手段内に格納されたデータを読み込み、当該データにおける異常の有無を検知して、異常が検知された場合には異常の発生を示す異常記録を生成して出力する異常検知手段、
出力された異常記録を格納し、また、前記異常検知手段により出力された異常記録に対応づけて、当該異常記録が出力された日時を格納する異常記録格納手段、
前記データ格納手段に格納されたデータの複製が実行される際に、前記異常記録格納手段に格納された異常記録を参照し、前記異常記録格納手段内に格納された異常記録を発見した際に、当該異常記録が出力された日時が、前記バックアップ手段に格納されたバックアップ日時以降である場合に、異常の発生の報知を実行する報知手段、
異常の発生が報知された場合には、前記データ格納手段に格納されたデータの複製を中止させるバックアップ制御手段、
として機能させるためのプログラムを記録したコンピュータ読取可能な記録媒体。 The computer,
Data storage means for storing data;
Backup means for replicating and storing data stored in the data storage means, and storing the date and time when the data was replicated as backup date and time when replicating and storing the data stored in the data storage means ,
An anomaly detection means for reading the data stored in the data storage means, detecting the presence or absence of an abnormality in the data, and generating and outputting an anomaly record indicating the occurrence of an anomaly if an anomaly is detected;
An abnormality record storage means for storing the output abnormality record, and storing the date and time when the abnormality record was output in association with the abnormality record output by the abnormality detection means;
When duplication of the data stored in the data storage unit is executed, the abnormal record stored in the abnormal record storage unit is referred to, and the abnormal record stored in the abnormal record storage unit is found. Informing means for notifying the occurrence of an abnormality when the date and time when the abnormality record is output is after the backup date and time stored in the backup means ,
Backup control means for stopping replication of data stored in the data storage means when the occurrence of abnormality is notified;
Recording a computer-readable record medium storing a program for functioning as.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16890898A JP3945020B2 (en) | 1998-06-16 | 1998-06-16 | Data processing apparatus and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16890898A JP3945020B2 (en) | 1998-06-16 | 1998-06-16 | Data processing apparatus and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2000003299A JP2000003299A (en) | 2000-01-07 |
JP3945020B2 true JP3945020B2 (en) | 2007-07-18 |
Family
ID=15876802
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16890898A Expired - Fee Related JP3945020B2 (en) | 1998-06-16 | 1998-06-16 | Data processing apparatus and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3945020B2 (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004213296A (en) * | 2002-12-27 | 2004-07-29 | Toshiba Tec Corp | Data processor |
JP4600447B2 (en) | 2007-08-30 | 2010-12-15 | ブラザー工業株式会社 | Log collection system and computer apparatus |
JP5790415B2 (en) * | 2011-11-02 | 2015-10-07 | 株式会社バッファロー | Information processing apparatus and program |
WO2018037439A1 (en) * | 2016-08-22 | 2018-03-01 | 楽天株式会社 | Management system, management device, management method, program, and non-transitory computer-readable information recording medium |
JP7456300B2 (en) | 2020-06-09 | 2024-03-27 | 富士フイルムビジネスイノベーション株式会社 | Information processing device, information processing system, and information processing program |
-
1998
- 1998-06-16 JP JP16890898A patent/JP3945020B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2000003299A (en) | 2000-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3945020B2 (en) | Data processing apparatus and recording medium | |
US7342675B2 (en) | Systems and methods for improved operation and troubleshooting of a printing device | |
US9298537B2 (en) | Detection, determination, and external error log storage of a fault condition in a user interface | |
JP4561270B2 (en) | Image forming apparatus | |
JPH10312327A (en) | Mirroring monitor system | |
JP2005182588A (en) | Management of backup data in storage device | |
US6868510B1 (en) | Terminal with corrective maintenance in accordance with selected mode | |
JPH0594353A (en) | Database management system | |
JP2690891B2 (en) | How to reuse online DASD journals | |
JP3102349B2 (en) | Fault monitoring and notification device for distributed computer system | |
JPH0764825A (en) | Automatic acquisition system for online fault data | |
JP3812281B2 (en) | Printing device | |
JP2008250390A (en) | Support information presentation device | |
JP2603005B2 (en) | Counter using non-volatile memory | |
JPH09204205A (en) | Program control system | |
JPS63311452A (en) | Recovery system for data file | |
JP3039125B2 (en) | Information processing device | |
JP2021184200A (en) | Information processing device, information processing method, and information processing program | |
JP2004213296A (en) | Data processor | |
JP2006127153A (en) | Method and program for restoring link library at fault of dasd | |
JP3364247B2 (en) | Monitoring and control equipment | |
JPH01222398A (en) | Pos terminal equipment | |
JP2002074519A (en) | System for processing merchandise sales data | |
JPH03244047A (en) | Store mechanism for working state data on data processor | |
Hardy | Event triggered data acquisition in the Rock Mechanics Laboratory upgrades and revisions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20061115 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20061121 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061207 |
|
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: 20070320 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20070402 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110420 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120420 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120420 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130420 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130420 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140420 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |