JPH09244907A - Data restoration system - Google Patents

Data restoration system

Info

Publication number
JPH09244907A
JPH09244907A JP8057213A JP5721396A JPH09244907A JP H09244907 A JPH09244907 A JP H09244907A JP 8057213 A JP8057213 A JP 8057213A JP 5721396 A JP5721396 A JP 5721396A JP H09244907 A JPH09244907 A JP H09244907A
Authority
JP
Japan
Prior art keywords
data
file
memory
app
processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8057213A
Other languages
Japanese (ja)
Inventor
Akira Tokuyasu
明 徳安
Kenkichi Kudo
堅吉 工藤
Tadashi Yamamitsu
忠 山光
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 JP8057213A priority Critical patent/JPH09244907A/en
Publication of JPH09244907A publication Critical patent/JPH09244907A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To efficiently perform a data restoration processing in the information processor of a small scale whose storage area is relatively small and processing speed is slow. SOLUTION: When the restoration of a processing by the control of an OS 4 becomes impossible by a fault, data inside a real memory 2 are dumped to an external storage device 3. At the time of reactivation, the management information of a page directory and a page table or the like used for managing the respective data inside the real memory 2 in sequential relation is read from a memory dump file 31, the respective data are sequentially called by relating data units from the memory dump file 31 based on the management information and rearranged and an aligned file 32 is generated. A data group (user data) processed by an APP 5 until the generation of the fault is extracted from the aligned file 32 and delivered to the reactivated APP 5 and the user data are edited to a file form corresponding to the present APP 5 and restored by the APP 5.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理装置の障
害発生時におけるアプリケーションプログラムの実メモ
リ上で編集していたデータ(ユーザデータ)の回復技術
に係り、特に、パーソナルコンピュータやワークステー
ション等の小規模な情報処理装置におけるユーザデータ
の回復を効率良く行なうのに好適なデータ回復システム
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a technique for recovering data (user data) edited on an actual memory of an application program when a failure occurs in an information processing apparatus, and more particularly to a personal computer, a workstation or the like. The present invention relates to a data recovery system suitable for efficiently recovering user data in a small-scale information processing device.

【0002】[0002]

【従来の技術】情報処理装置において、障害によりオペ
レーティングシステムの動作が停止した場合、アプリケ
ーションプログラムは、それまでメモリ上で編集してい
たデータ(ユーザデータ)を外部記憶装置に格納できな
くなる。このような問題に対処し、障害が発生する直前
まで編集していたユーザデータを回復するための従来技
術として、例えば、特開平3−252825号公報に記
載のように、次の3つの技術が利用されている。
2. Description of the Related Art In an information processing apparatus, when the operation of an operating system is stopped due to a failure, an application program cannot store the data (user data) edited on the memory until then in an external storage device. As conventional techniques for dealing with such a problem and recovering user data edited until immediately before the occurrence of a failure, for example, the following three techniques are disclosed as described in Japanese Patent Laid-Open No. 3-252825. It's being used.

【0003】第1の技術:処理中に常時、更新前のデー
タの本体の内容を一時的に退避し、この更新前ログから
情報を取り出し、データ本体を回復する。 第2の技術:処理中に常時、更新後のデータを一時的に
退避し、この更新後ログを用いて、再びデータ本体を回
復する。 第3の技術:第1、第2の技術のように更新前ログ/更
新後ログを、更新対象データとは無関係の領域に退避す
るのではなく、データ域を対構造化し、ポインタで管理
し、更新の中断時には、ポインタの更新だけで、データ
を回復する。
First technique: The contents of the body of the data before the update are temporarily saved during processing, the information is taken out from the log before the update, and the body of the data is restored. Second technique: The updated data is temporarily saved during the processing, and the updated data is used to recover the data body again. Third technology: Instead of saving the pre-update log / post-update log in an area unrelated to the data to be updated as in the first and second technologies, the data area is pair-structured and managed by a pointer. When the update is interrupted, the data is recovered only by updating the pointer.

【0004】しかし、これらの従来技術では、いずれ
も、更新前ログまたは更新後ログを、別の記憶装置や作
業領域に、または更新対象データと対構造で、予め退避
しておく必要がある。そのため、更新対象データとは別
に、これらのログデータを退避するための余分な領域が
必要となる。また、第1、第2の技術では、更新中断後
の回復処理において、ログデータを読み込んで、再びデ
ータ域を更新しなければならず、更新処理に時間がかか
ると共に、回復処理の時も、データの読み書きが必要に
なるので、多くの時間を費やすことになる。このため、
特にパーソナルコンピュータやワークステーション等の
小規模な情報処理装置に効率的に適用することができな
い。
However, in any of these conventional techniques, it is necessary to save the pre-update log or the post-update log in another storage device or work area or in a pair structure with the update target data in advance. Therefore, an extra area for saving these log data is required in addition to the update target data. Further, in the first and second techniques, in the recovery process after the update is interrupted, the log data has to be read and the data area must be updated again, which requires a long time for the update process and also during the recovery process. It takes a lot of time because it needs to read and write data. For this reason,
In particular, it cannot be efficiently applied to a small-scale information processing device such as a personal computer or a workstation.

【0005】[0005]

【発明が解決しようとする課題】解決しようとする問題
点は、従来の技術では、更新前ログまたは更新後ログを
予め退避させておくための余分な領域が必要となる点
と、更新中断後の回復処理では、ログデータを読み込ん
で再びデータ域を更新しなければならず、更新処理に時
間がかかると共に、回復処理時にもデータの読み書きが
必要になるので、多くの時間を要してしまう点である。
本発明の目的は、これら従来技術の課題を解決し、記憶
領域が比較的小さくかつ処理速度が遅い小規模な情報処
理装置におけるデータ回復処理を効率良く行なうことが
可能なデータ回復システムを提供することである。
The problems to be solved by the prior art are that the conventional technique requires an extra area for saving the pre-update log or the post-update log in advance, and that after the update is interrupted. In the recovery process, the log data must be read and the data area must be updated again, which requires a lot of time because the update process takes time and data must be read and written during the recovery process. It is a point.
An object of the present invention is to solve these problems of the prior art and provide a data recovery system capable of efficiently performing data recovery processing in a small-scale information processing device having a relatively small storage area and a slow processing speed. That is.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するた
め、本発明のデータ回復システムは、情報処理装置の障
害発生時におけるアプリケーションプログラムの実メモ
リ上で編集していたデータの回復システムであって、障
害発生時、実メモリ2内のデータを外部記憶装置3にダ
ンプしてメモリダンプファイル31を生成するメモリダ
ンプ処理部7と、再起動時、メモリダンプファイル31
から、実メモリ2内の各データをシーケンシャルに関連
付けて管理するために用いていた管理情報(ページディ
レクトリ21、ページテーブル22、チェーン情報)を
読み出す管理情報読み取り部8と、この管理情報読み取
り部8が読み出した管理情報に基づき、メモリダンプフ
ァイル31から、関連のあるデータ単位で各データをシ
ーケンシャルに呼出して並べ替え、整列ファイル32を
生成する整列処理部9と、この整列ファイル32から、
障害の発生までアプリケーションプログラム5が編集処
理していたデータ群(ユーザデータ)を抽出し、再起動
したアプリケーションプログラム5に渡す切り出し部1
2とを少なくとも有し、再起動したアプリケーションプ
ログラム5により、データを、自アプリケーションプロ
グラム5に対応したファイル形式に編集して回復させる
ことを特徴とする。
In order to achieve the above object, a data recovery system of the present invention is a data recovery system which is edited on an actual memory of an application program when a failure occurs in an information processing apparatus. The memory dump processing unit 7 that dumps the data in the real memory 2 to the external storage device 3 to generate the memory dump file 31 when a failure occurs, and the memory dump file 31 when restarting.
A management information reading unit 8 for reading the management information (page directory 21, page table 22, chain information) used for sequentially managing the data in the real memory 2 in association with each other, and the management information reading unit 8 On the basis of the management information read by, the memory dump file 31 sequentially calls and rearranges each data in a related data unit and rearranges them to generate an alignment file 32. From the alignment file 32,
A cutout unit 1 that extracts a data group (user data) that has been edited by the application program 5 up to the occurrence of a failure and passes it to the restarted application program 5.
2 is included, and the restarted application program 5 edits the data into a file format corresponding to the own application program 5 and recovers the data.

【0007】[0007]

【発明の実施の形態】小規模な情報処理装置において障
害によりオペレーティングシステムの制御で処理の回復
が不可能となりシステムが停止した場合、システムが停
止するまでアプリケーシヨンプログラムがメモリ上で編
集していた過渡的データを外部記憶装置に格納できなく
なる。本発明においては、図1に示すような構成とする
ことにより、停止したシステムのメモリ領域をメモリダ
ンプ(実メモリ内の記憶内容を出力するルーチン)して
外部記憶装置に取り出し、そのメモリダンプファイルか
ら、アプリケーションプログラムが編集していた過度的
データ(ユーザデータ)を回復する。以下、図1〜図3
を用いて、本発明の詳細な説明を行なう。
BEST MODE FOR CARRYING OUT THE INVENTION In a small-scale information processing apparatus, when a system cannot be recovered due to a failure due to control of an operating system and the system is stopped, an application program is edited on a memory until the system is stopped. The transient data cannot be stored in the external storage device. In the present invention, by adopting the configuration as shown in FIG. 1, the memory area of the stopped system is dumped to the external storage device as a memory dump (a routine for outputting the stored contents in the actual memory), and the memory dump file is stored. To recover the excessive data (user data) edited by the application program. 1 to 3 below
Will be used to provide a detailed description of the present invention.

【0008】図1は、本発明のデータ回復システムの本
発明に係る構成の位置実施例を示すブロック図である。
本図1において、1はCPU(Central Processing Uni
t、中央処理装置)を具備し蓄積プログラム方式による
種々の処理を行なう処理装置、2はRAM(Random Acc
ess Memory)等からなる実メモリ、3はHDD(Hard D
isk Drive)等からなる外部記憶装置である。
FIG. 1 is a block diagram showing a position embodiment of the configuration according to the present invention of the data recovery system of the present invention.
In FIG. 1, 1 is a CPU (Central Processing Uni
t, a central processing unit) for performing various processes according to a storage program method.
A real memory such as an ess memory), 3 is an HDD (Hard D)
is an external storage device such as an isk Drive).

【0009】処理装置1は、システム全体の動作制御を
行なうオペレーティングシステム(以下、OSと記載)
4と、OS4上で特定の処理制御を行なうアプリケーシ
ョンプログラム(以下、APPと記載)5、および、本
発明に係るデータ回復処理を行なうデータ回復処理部6
を具備している。また、このデータ回復処理部6には、
メモリダンプ処理部7、管理情報読み取り部8、整列処
理部9、圧縮部10、圧縮解凍部11、切り出し部12
が設けられており、以下、これらのデータ回復処理部6
の各構成要素の説明に基づき、本発明に係るデータ回復
処理の説明を行なう。
The processing device 1 is an operating system (hereinafter referred to as OS) that controls the operation of the entire system.
4, an application program (hereinafter referred to as APP) 5 that performs specific processing control on the OS 4, and a data recovery processing unit 6 that performs data recovery processing according to the present invention.
Is provided. In addition, the data recovery processing unit 6 includes
Memory dump processing unit 7, management information reading unit 8, alignment processing unit 9, compression unit 10, compression / decompression unit 11, cutout unit 12
The data recovery processing unit 6 is provided below.
The data recovery process according to the present invention will be described based on the description of each of the constituent elements.

【0010】障害によりOS4やAPP5が停止し、O
S4の制御で処理の回復が不可能となり、それまでAP
P5が実メモリ2上で編集していたユーザデータを格納
できなくなった場合、メモリダンプ処理部7は、実メモ
リ2上の全データを外部記憶装置3にダンプして、外部
記憶装置3にメモリダンプファイル31を生成する。本
来、APP5本体を含め、APP5で処理する1つのフ
ァイルを構成する各データは、実メモリ2上では、物理
的にシーケンシャルな状態で並べられて格納されてはい
ないので、メモリダンプファイル31も同様なデータの
格納状態である。
OS4 and APP5 are stopped due to a failure, and
Due to the control of S4, it becomes impossible to recover the processing.
When P5 can no longer store the user data edited in the real memory 2, the memory dump processing unit 7 dumps all the data in the real memory 2 to the external storage device 3 and stores the data in the external storage device 3. The dump file 31 is generated. Originally, the data including one file to be processed by APP5, including the APP5 main body, is not physically stored in the memory 2 in a physically sequential manner, so the memory dump file 31 is also the same. It is a storage state of various data.

【0011】すなわち、各々のAPP5はマルチタスク
で実行されており、限られた容量の実メモリ2内で動作
させる為に、OS4は、図2に示すページディレクトリ
21やページテーブル22等からなる管理情報を用いた
ページング機能により、実メモリ2上で、APP5本体
や処理データ(ユーザデータ)を沢山のページ(a1〜
a4,b1〜b4,c1〜c4,・・・)という単位に
分けている。そして、必要に応じてページ単位のAPP
5を移動してページの空きを作っている。
That is, each APP 5 is executed by multitasking, and in order to operate in the real memory 2 having a limited capacity, the OS 4 manages the page directory 21 and the page table 22 shown in FIG. By the paging function using information, the APP5 main body and processing data (user data) are stored on the real memory 2 in many pages (a1 to a1).
a4, b1 to b4, c1 to c4, ...). And, if necessary, APP in page units
Move 5 to make room for the page.

【0012】もし移動してもページの空きが作れない場
合、OS4は、外部記憶装置3に、例えばページa1を
ページアウトする。ページa1のプログラムあるいはデ
ータが必要な場合、OS4は、外部記憶装置3からペー
ジインして、APP5に渡している。このように、OS
4は、所定の管理情報を生成して、実メモリ2上に分散
して格納されたひとまとまりの関連する各データをシー
ケンシャルに管理し、このようなシーケンシャルでない
ものをあたかもシーケンシャルのように整列処理して、
APP5に渡している。
If the page cannot be freed even if the OS 4 is moved, the OS 4 pages out the page a1, for example, to the external storage device 3. When the program or data of the page a1 is required, the OS 4 pages in from the external storage device 3 and passes it to the APP 5. In this way, the OS
4 sequentially manages a set of related data stored in the real memory 2 in a distributed manner by generating predetermined management information, and sorts such non-sequential data as if it were sequential processing. do it,
Passed to APP5.

【0013】メモリダンプファイル31には、このよう
な実メモリ2内の各データをシーケンシャルに関連付け
て管理するために用いていた管理情報も格納されている
ので、管理情報読み取り部8は、障害が解除された後の
再起動時、メモリダンプファイル31から、このような
実メモリ2内の各データをシーケンシャルに関連付けて
管理するために用いていた管理情報(図2におけるペー
ジディレクトリ21とページテーブル22のチェイン情
報)を読み出す。
Since the memory dump file 31 also stores the management information used to sequentially manage the respective data in the real memory 2 in this manner, the management information reading unit 8 has a failure. At the time of restarting after being released, the management information (page directory 21 and page table 22 in FIG. 2) used to manage each data in the real memory 2 in this order from the memory dump file 31 in a sequential manner is managed. (Chain information of) is read.

【0014】そして整列処理部9は、管理情報読み取り
部8が読み出した管理情報に基づき、メモリダンプファ
イル31から、関連のあるデータ単位で各データをシー
ケンシャルに呼出して並べ替え、整列ファイル32を生
成する。例えば、整列処理部9は、以下のようにして、
図2におけるページテーブル22のチェーン情報に基づ
き、メモリダンプファイル31から、実メモリ2上でペ
ージに分割されたAPP5の動作していたメモリ空間、
すなわち、回復対象のユーザデータのあるAPP領域
を、シーケンシャルに整列し直し、整列ファイル32を
生成する。
Based on the management information read by the management information reading unit 8, the alignment processing unit 9 sequentially calls and rearranges each data from the memory dump file 31 in related data units to generate the alignment file 32. To do. For example, the alignment processing unit 9 performs
Based on the chain information of the page table 22 in FIG. 2, from the memory dump file 31, the memory space in which APP5 is operating, which is divided into pages on the real memory 2,
That is, the APP area having the user data to be recovered is rearranged in a sequential manner, and the alignment file 32 is generated.

【0015】すなわち、整列処理部9は、再起動したA
PP5から、回復対象のユーザデータのAPP名と、図
3に示すメモリ上のデータ形式を受け取り、図2のペー
ジディレクトリ21が示す順に、ページテーブル22の
チェイン情報に基づきメモリダンプファイル31を文字
列検索し、受け取ったAPP名の目的のAPP5のペー
ジディレクトリ23、例えば「b」を見つけ出す。そし
て、見つけ出したページディレクトリ「b」の領域を、
ページテーブル22のチェイン情報「b1、b2、b
3、b4」に基づき、シーケンシャルに整列し直し、整
列ファイル32として外部記憶装置3に格納する。
That is, the alignment processing section 9 restarts A
The PP name of the user data to be recovered and the data format on the memory shown in FIG. 3 are received from PP5, and the memory dump file 31 is a character string based on the chain information of the page table 22 in the order indicated by the page directory 21 of FIG. It searches and finds the page directory 23 of the target APP5 of the received APP name, for example, “b”. Then, the area of the page directory "b" found is
Chain information “b1, b2, b” of the page table 22
3, b4 ”, and rearranged sequentially, and stored in the external storage device 3 as the aligned file 32.

【0016】そして、圧縮部10は、この整列ファイル
32を圧縮して圧縮整列ファイル32aを生成し、圧縮
解凍部11は、圧縮された圧縮整列ファイル32aを伸
長して整列ファイル32を復元する。このような圧縮部
10による圧縮処理および圧縮解凍部11による伸長処
理は、障害の解析等において他装置にファイル転送を行
なう場合等のデータの移動等の効率化やメディア格納効
率化を考慮して、大容量となることを防ぐためのもので
ある。
The compression unit 10 compresses the alignment file 32 to generate a compression alignment file 32a, and the compression / decompression unit 11 decompresses the compressed compression alignment file 32a to restore the alignment file 32. The compression processing by the compression unit 10 and the decompression processing by the compression / decompression unit 11 take into consideration the efficiency of data movement and the efficiency of media storage when transferring a file to another device in failure analysis or the like. , To prevent a large capacity.

【0017】整列ファイル32内には、ユーザデータの
みではなくAPP5本体も含まれており、切り出し部1
2は、整列ファイル32から、障害の発生までAPP5
が処理していたデータ群を抽出し、再起動したAPP5
に渡す。すなわち、切り出し部12は、再起動したAP
P5から、回復対象のユーザデータのAPP名と、図3
に示す実メモリ上のデータ形式を受け取り、このAPP
名と図3に示す実メモリ2上のデータ形式から、外部記
憶装置5にある展開済ファイルを文字列検索し、ユーザ
データ部の先頭を見つけ出し、以降のデータ群をAPP
5に渡す。そして、再起動したAPP5は、受け取った
データ群を、自APP5に対応した、すなわち自APP
5が扱える図3に示すようなデータファイル形式に編集
し、回復データファイル33として外部記憶装置3に格
納する。
The alignment file 32 contains not only the user data but also the APP5 main body, and the cutout unit 1
2 is APP5 from the alignment file 32 to the occurrence of a failure.
APP5 restarted after extracting the data group processed by
Pass to. That is, the cutout unit 12 uses the restarted AP.
From P5, the APP name of the user data to be recovered, and FIG.
The data format on the real memory shown in
From the name and the data format on the real memory 2 shown in FIG. 3, a character string search is performed for the expanded file in the external storage device 5, the beginning of the user data section is found, and the subsequent data group is APP.
Pass to 5. Then, the restarted APP5 makes the received data group correspond to its own APP5, that is, its own APP5.
3 is stored in the external storage device 3 as a recovery data file 33.

【0018】このように、本実施例のデータ回復システ
ムでは、従来のデータ回復技術のようにログデータを常
時退避するのではなく、システム停止時のAPP5によ
る格納ができない場合にのみ、APP5がメモリ上で編
集していたユーザデータを、メモリダンプして外部記憶
装置3に退避する。そして、システムの再起動後、外部
記憶装置3に退避したメモリダンプファイル31から、
編集中であったユーザデータ領域を検索し、システムが
停止した時に実メモリ2上にあったユーザデータ部と等
価のデータを、APP5に渡すことにより、APP5が
扱えるファイル形式で、回復データを外部記憶装置3に
格納する。
As described above, in the data recovery system of this embodiment, the log data is not always saved as in the conventional data recovery technique, but the APP5 is stored in the memory only when the APP5 cannot store the log data when the system is stopped. The user data edited above is dumped in memory and saved in the external storage device 3. Then, after restarting the system, from the memory dump file 31 saved in the external storage device 3,
By retrieving the user data area that was being edited and passing the data equivalent to the user data section that was on the real memory 2 when the system stopped to APP5, the recovery data can be externally stored in a file format that APP5 can handle. It is stored in the storage device 3.

【0019】従来の技術においては、更新前ログ/更新
後ログを、更新対象データとは無関係の領域、またはデ
ータ域と対構造化して常時退避する為、対象データとは
別に退避領域が必要であったが、図1〜図3を用いて説
明したように、本実施例では、障害が発生し、編集中の
ユーザデータが格納できなくなった場合のみ、更新中の
データを実メモリ2から外部記憶装置3に退避する為、
小規模な情報処理装置の限られた資源を、保全の為に使
うのではなくユーザに開放できる。
In the prior art, since the pre-update log / post-update log is always saved in an area irrelevant to the update target data or in a paired structure with the data area, a save area is required separately from the target data. However, as described with reference to FIGS. 1 to 3, in the present embodiment, the data being updated is externally transferred from the real memory 2 only when the user data being edited cannot be stored due to a failure. To save to the storage device 3,
The limited resources of a small-scale information processing device can be released to the user instead of being used for maintenance.

【0020】また、従来の技術では、更新中断後の復元
時には、ログの読み込みと更新対象データの書き直し
や、ポインタの更新といった作業が必要であったが、本
実施例のデータ回復システムでは、編集中のユーザデー
タを過渡的な状態で退避し、システムの再起動後、退避
したデータをAPP5に渡すことにより中断した処理を
続行させ、ユーザデータを回復するので、回復処理が容
易になる。
Further, in the prior art, at the time of restoration after the interruption of updating, it was necessary to read the log, rewrite the data to be updated, and update the pointer. However, in the data recovery system of this embodiment, the editing is performed. The user data is saved in a transient state, and after the system is restarted, the saved data is passed to APP5 to continue the interrupted process and recover the user data, so that the recovery process is facilitated.

【0021】尚、本発明は、図1〜図3を用いて説明し
た実施例に限定されるものではなく、その要旨を逸脱し
ない範囲において種々変更可能である。例えば、データ
の移動等の効率化やメディア格納効率化を考慮した圧縮
部10による圧縮処理および圧縮解凍部11による伸長
処理を用いない構成でも良い。
The present invention is not limited to the embodiments described with reference to FIGS. 1 to 3, and various modifications can be made without departing from the scope of the invention. For example, the configuration may be such that the compression processing by the compression unit 10 and the decompression processing by the compression / decompression unit 11 in consideration of the efficiency of data movement and the efficiency of media storage are not used.

【0022】[0022]

【発明の効果】本発明によれば、例えば障害によりアプ
リケーションプログラムの動作が停止し、編集中のユー
ザデータの更新、格納ができなくなった場合、更新中の
メモリのデータを一時退避し、再起動したアプリケーシ
ョンプログラムに、退避したメモリのデータを渡し、中
断したアプリケーシヨンプログラムを続行することによ
り、ユーザの期待する障害の発生する直前の過渡的状態
を回復すること、すなわち、ユーザデータを回復するこ
とができ、記憶領域が比較的小さくかつ処理速度が遅い
小規模な情報処理装置におけるデータ回復処理を効率良
く行なうことが可能となる。
According to the present invention, when the operation of the application program is stopped due to a failure and the user data being edited cannot be updated or stored, the data in the memory being updated is temporarily saved and restarted. To recover the transient state immediately before the failure expected by the user, that is, to recover the user data, by passing the saved memory data to the saved application program and continuing the interrupted application program. As a result, the data recovery process can be efficiently performed in a small-scale information processing device having a relatively small storage area and a slow processing speed.

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

【図1】本発明のデータ回復システムの本発明に係る構
成の一実施例を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a configuration of a data recovery system of the present invention according to the present invention.

【図2】図1におけるオペレーティングシステムによる
ページング機能の仕組例を示す説明図である。
FIG. 2 is an explanatory diagram showing an example of a mechanism of a paging function by the operating system in FIG.

【図3】図1における実メモリ上の各データ形式例を示
す説明図である。
FIG. 3 is an explanatory diagram showing an example of each data format on a real memory in FIG.

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

1:処理装置、2:実メモリ、3:外部記憶装置、4:
オペレーティングシステム、5:アプリケーションプロ
グラム、6:データ回復処理部、7:メモリダンプ処理
部、8:管理情報読み取り部、9:整列処理部、10:
圧縮部、11:圧縮解凍部、12:切り出し部、21:
ページディレクトリ、22:ページテーブル、22:ペ
ージディレクトリ、31:メモリダンプファイル、3
2:整列ファイル、32a:圧縮整列ファイル、33:
回復データファイル、a1〜a4,b1〜b4,c1〜
c4:ページ。
1: Processing device, 2: Real memory, 3: External storage device, 4:
Operating system, 5: application program, 6: data recovery processing unit, 7: memory dump processing unit, 8: management information reading unit, 9: alignment processing unit, 10:
Compression unit, 11: compression / decompression unit, 12: cutout unit, 21:
Page directory, 22: Page table, 22: Page directory, 31: Memory dump file, 3
2: alignment file, 32a: compression alignment file, 33:
Recovery data file, a1 to a4, b1 to b4, c1
c4: page.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 情報処理装置の障害発生時におけるアプ
リケーションプログラムの実メモリ上で編集していたデ
ータの回復システムであって、上記障害発生時、上記実
メモリ内のデータを外部記憶装置にダンプしてメモリダ
ンプファイルを生成する手段と、再起動時、上記メモリ
ダンプファイルから、上記実メモリ内の各データをシー
ケンシャルに関連付けて管理するために用いていた管理
情報を読み出す手段と、該読み出した管理情報に基づ
き、上記メモリダンプファイルから、上記関連のあるデ
ータ単位で上記各データをシーケンシャルに呼出して並
べ替え、整列ファイルを生成する手段と、上記整列ファ
イルから、上記障害の発生までアプリケーションプログ
ラムで編集していたデータを抽出し、再起動した上記ア
プリケーションプログラムに渡す手段とを少なくとも有
し、上記再起動したアプリケーションプログラムによ
り、上記整列ファイルから抽出したデータ群を、上記再
起動したアプリケーションプログラムに対応したファイ
ル形式に編集して回復させることを特徴とするデータ回
復システム。
1. A system for recovering data edited in an actual memory of an application program when a failure occurs in an information processing apparatus, wherein the data in the actual memory is dumped to an external storage device when the failure occurs. Means for generating a memory dump file, a means for reading management information used for sequentially managing each data in the real memory from the memory dump file at the time of restart, and the read management A means for sequentially calling and rearranging the respective data in the related data units from the memory dump file based on the information and rearranging them, and generating an alignment file, and editing the application file from the alignment file to the occurrence of the failure. Extracted the data that was used and restarted the above application program And a means for transferring the data group extracted from the sorting file to the file format corresponding to the restarted application program and restored by the restarted application program. Data recovery system.
JP8057213A 1996-03-14 1996-03-14 Data restoration system Pending JPH09244907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8057213A JPH09244907A (en) 1996-03-14 1996-03-14 Data restoration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8057213A JPH09244907A (en) 1996-03-14 1996-03-14 Data restoration system

Publications (1)

Publication Number Publication Date
JPH09244907A true JPH09244907A (en) 1997-09-19

Family

ID=13049254

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8057213A Pending JPH09244907A (en) 1996-03-14 1996-03-14 Data restoration system

Country Status (1)

Country Link
JP (1) JPH09244907A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009128975A (en) * 2007-11-20 2009-06-11 Fujitsu Ltd Network logging processing program, information processing system and network logging information automatic save method
US8335901B2 (en) 2010-06-30 2012-12-18 Kabushiki Kaisha Toshiba Information processing apparatus and data restoration method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009128975A (en) * 2007-11-20 2009-06-11 Fujitsu Ltd Network logging processing program, information processing system and network logging information automatic save method
US8335901B2 (en) 2010-06-30 2012-12-18 Kabushiki Kaisha Toshiba Information processing apparatus and data restoration method

Similar Documents

Publication Publication Date Title
US7991749B2 (en) Database recovery method applying update journal and database log
US5742818A (en) Method and system of converting data from a source file system to a target file system
AU700681B2 (en) A method of operating a computer system
CN109542682B (en) Data backup method, device, equipment and storage medium
JPH09244907A (en) Data restoration system
JPH033046A (en) Log record control system
JP2004199264A (en) Data base processing method and device for its implementation and its processing program
KR20020047601A (en) Backup/recovery Apparatus and method for non-log processing of real-time main memory database system
JPH039426A (en) Software development environment storing system
JPS63262737A (en) Data base updating and recording processing method
JPH0675957A (en) Restoration mechanism of fault during editing
JPH11212845A (en) Device and method for backup data management and recording medium
JP2000122970A (en) Processor executing transaction processing on data made into lot and processing method
JPH0962554A (en) Quiescent point save generation system
JPH0418647A (en) Method and mechanism for recovering preserved binary data
CN118012669A (en) File metadata recovery system and method for distributed file system
JPH0259837A (en) Data recovery processing system
JP4161362B2 (en) Computer system having data recovery function and data recovery method
JPH0279129A (en) Check point restarting system
JPH05173864A (en) File recovery system
Smith et al. Restart of an operating system having a permanent file structure
JPS58168165A (en) Recovery system in data base system
JPH04209044A (en) Data base control system
JPS62133535A (en) Program check point processing system
JPH0319046A (en) Data base restoring system