JPH05241971A - How to recover data in memory - Google Patents
How to recover data in memoryInfo
- Publication number
- JPH05241971A JPH05241971A JP4045129A JP4512992A JPH05241971A JP H05241971 A JPH05241971 A JP H05241971A JP 4045129 A JP4045129 A JP 4045129A JP 4512992 A JP4512992 A JP 4512992A JP H05241971 A JPH05241971 A JP H05241971A
- Authority
- JP
- Japan
- Prior art keywords
- data
- memory
- time
- output
- storage device
- 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.)
- Withdrawn
Links
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Abstract
(57)【要約】
【目的】メモリ上のデータの復旧に要する外部記憶装置
のエリア効率を向上させる。
【構成】メモリ上のデータのうち、更新が行われたデー
タa,eは更新と同時に外部記憶装置に更新情報を出力
する。システム立上げ時から一定時間t経過する毎にメ
モリ上データの更新状況を調べ、更新が行われなかった
b,c,d,f,………,zの情報を出力する。メモリ
上データの復旧を行う場合は、出力した最後のデータか
らt時間分遡った位置から順次データを読み込みメモリ
上にロードする。このことによりメモリ上データの復旧
が可能となる。
【効果】システムの最初の立上げ時にファイルを読み込
みメモリ上にデータを展開させる。移行は、メモリ上デ
ータの更新でオンラインシステム等の処理が可能とな
る。
(57) [Abstract] [Purpose] To improve the area efficiency of the external storage device required to restore the data on the memory. Constitution: Among the data on the memory, the updated data a and e output the update information to the external storage device at the same time as the update. Every time a fixed time t has elapsed since the system was started up, the update status of the data on the memory is checked and the information of b, c, d, f, ..., Z which has not been updated is output. When restoring the data on the memory, the data is sequentially read from the position which is traced back by t time from the last output data and loaded on the memory. This makes it possible to restore the data on the memory. [Effect] The file is read at the first startup of the system and the data is expanded in the memory. The migration can be processed by an online system or the like by updating the data on the memory.
Description
【0001】[0001]
【産業上の利用分野】本発明はメモリ上のデータの復旧
方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for recovering data on a memory.
【0002】[0002]
【従来の技術】従来メモリ上のデータは復旧は、外部記
憶装置にメモリ上のデータと同一のファイルを作成し、
そのファイルをメモリ上に常駐させて処理を行うか、元
となる複数のファイルをすべて読み込みメモリ上にデー
タを展開させて行っていた。2. Description of the Related Art Conventionally, the data on the memory is restored by creating the same file as the data on the memory in an external storage device.
The file is made resident in the memory for processing, or a plurality of original files are read and the data is expanded in the memory.
【0003】[0003]
【発明が解決しようとする課題】この従来のメモリ上デ
ータの復旧方法のうち、メモリ上のデータと同一ファイ
ルを作成する方法では、メモリのデータと同一ファイル
と元となるファイルの2つのファイルでデータが管理さ
れることとなり、外部記憶装置のエリア効率の低下と、
ファイルに対する更新を行うための処理時間の低下とい
う問題点があった。Among the conventional methods for recovering data on memory, the method of creating the same file as the data on memory uses two files, the same file as the memory data and the original file. Data will be managed, and the area efficiency of the external storage device will decrease.
There is a problem that the processing time for updating the file is reduced.
【0004】また、メモリ上のデータと、同一ファイル
を作成せず、元となる複数のファイルをすべて読み込む
方法では、更新されるデータによりファイルが別になる
ため、ファイル更新の煩わしさとファイル更新による処
理時間の低下という問題点があった。Further, in the method of reading all the original files without creating the same file as the data on the memory, the file is different depending on the data to be updated. There was a problem that time was reduced.
【0005】[0005]
【課題を解決するための手段】本発明のメモリ上データ
の復旧方法では、メモリ上に展開されたデータに対し
て、更新されればその都度、そしてシステム立上げ後一
定時間毎に、その間、更新されなければ前記一定時間経
過時に、それぞれ外部記憶装置に出力しておき、データ
復旧時には外部記憶装置に出力されているデータを上記
の一定時間分前から読み込みメモリ上にロードするよう
にしたことを特徴とする。According to the method of restoring data in memory of the present invention, the data expanded in the memory is updated each time it is updated, and at regular intervals after system startup, during that period. If it is not updated, it is output to the external storage device after the elapse of the predetermined time, and at the time of data recovery, the data output to the external storage device is read from the predetermined time before and loaded into the memory. Is characterized by.
【0006】[0006]
【実施例】次に本発明について図面を参照して説明す
る。The present invention will be described below with reference to the drawings.
【0007】図1において、プログラムによってメモリ
上のデータa,eが更新された場合、更新フラグに更新
済“1”をセットし外部記憶装置上にデータa,eを出
力する。In FIG. 1, when the data a and e on the memory are updated by the program, the updated flag is set to "1", and the data a and e are output to the external storage device.
【0008】次にシステム立上げ時から一定時間t経過
すると、メモリ上データの更新フラグを見て更新が行わ
れていない“0”のデータb,c,d,f,g,h,i
………zを外部記憶装置上に出力する。さらに、一定時
間tが経過する間にデータa,eが更新されなければ、
その更新フラグは“1”から“0”に変わるので、シス
テム立上げ後2t経過すればデータa,et外部記憶装
置出力される。このようにt経過毎にメモリ上のデータ
の更新フラグが“0”のものは外部記憶装置に出力され
る。Next, when a certain time t has elapsed from the time when the system was started up, "0" data b, c, d, f, g, h, i which has not been updated is checked by looking at the update flag of the data on the memory.
...... Outputs z on the external storage device. Furthermore, if the data a and e are not updated during the elapse of the fixed time t,
Since the update flag changes from "1" to "0", the data a, et external storage device is output 2t after the system is started. Thus, the data update flag of "0" on the memory is output to the external storage device every time t has elapsed.
【0009】システム立上げ時、システムダウン後の再
立上げ時等でメモリ上にデータを復旧する必要がある場
合、情報を出力している外部記憶装置の最新出力位置か
らt時間分だけ遡った位置から順次にデータを読み込
み、出力されているデータをメモリ上にロードしてメモ
リ上データの復旧を行う。When it is necessary to restore the data to the memory when the system is started up or when the system is restarted after the system goes down, the time is traced back from the latest output position of the external storage device outputting the information by t hours. The data is sequentially read from the position, and the output data is loaded on the memory to restore the data on the memory.
【0010】[0010]
【発明の効果】以上説明したように、メモリ上のデータ
の復旧は、更新したデータについては、同じ時期に外部
記憶装置へ出力し、更新されていないデータは、システ
ム立上げ時から一定の時間周期で外部記憶装置へ出力し
ておき、データを復旧するときには、外部出力装置に出
力された情報の最新位置から一定時間分遡った位置から
順次データを読み込みメモリ上にロードする事により、
全データを復旧することが可能となる。このことによ
り、システムの最初の立上げ時にファイルを読み込みメ
モリ上にデータを展開させ、以降はメモリ上データの更
新だけでオンラインシステム等の処理を行うことが可能
となる。As described above, the restoration of the data on the memory outputs the updated data to the external storage device at the same time, and the data that has not been updated remains constant for a certain period from the system startup. It is output to the external storage device in a cycle, and when the data is restored, by sequentially reading the data from a position that is a certain time back from the latest position of the information output to the external output device and loading it on the memory,
All data can be restored. As a result, it is possible to read a file when the system is first started up and expand the data in the memory, and thereafter to perform the processing of the online system or the like simply by updating the data in the memory.
【図1】本発明における更新データの出力の様子を示す
図である。FIG. 1 is a diagram showing how update data is output in the present invention.
【図2】本発明において、一定時間更新されなかったデ
ータの出力の様子を示す図である。FIG. 2 is a diagram showing how data that has not been updated for a certain period of time is output in the present invention.
【図3】メモリデータの復旧図である。FIG. 3 is a recovery diagram of memory data.
a,b,c,………,z メモリ上データの分割単位
の識別記号 A,B,C,D データの内容a, b, c, ..., z Identification code of data division unit on memory A, B, C, D Data contents
Claims (1)
更新されればその都度、そしてシステム立上げ後一定時
間毎に、その間、更新されなければ前記一定時間経過時
に、それぞれ外部記憶装置に出力しておき、データ復旧
時には外部記憶装置に出力されているデータを上記の一
定時間分前から読み込みメモリ上にロードするようにし
たことを特徴とするメモリ上データの復旧方法。1. The data expanded on the memory,
It is output to the external storage device each time when it is updated, and at a fixed time after system startup, and during the fixed time when it is not updated during that time, and is output to the external storage device when data is restored. A method for recovering data in a memory, characterized in that the data is read from a certain time before and loaded into the memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4045129A JPH05241971A (en) | 1992-03-03 | 1992-03-03 | How to recover data in memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4045129A JPH05241971A (en) | 1992-03-03 | 1992-03-03 | How to recover data in memory |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH05241971A true JPH05241971A (en) | 1993-09-21 |
Family
ID=12710663
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4045129A Withdrawn JPH05241971A (en) | 1992-03-03 | 1992-03-03 | How to recover data in memory |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH05241971A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6733941B1 (en) | 1999-11-16 | 2004-05-11 | Mitsui Chemicals, Inc. | Resin composition for toner and toner |
-
1992
- 1992-03-03 JP JP4045129A patent/JPH05241971A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6733941B1 (en) | 1999-11-16 | 2004-05-11 | Mitsui Chemicals, Inc. | Resin composition for toner and toner |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS62256055A (en) | Delayed recovery system | |
| CN120973591A (en) | Data processing methods, data processing devices, electronic devices and readable storage media | |
| JPH08212142A (en) | Database data backup system | |
| JP3082344B2 (en) | Disk file control device and update method | |
| US11513919B2 (en) | System and method of generating automatic checkpoints of a distributed file system | |
| JP2972439B2 (en) | Portable terminal backup method | |
| JPH04184641A (en) | Data base restoring system | |
| JP2002351719A (en) | Mail server backup and recovery system and method | |
| JP2008234142A (en) | Batch processing recovery method, system and program | |
| JPH01214947A (en) | Data preserving system | |
| JPH04209044A (en) | Data base control system | |
| JP2818538B2 (en) | Journal file division management method and journal file division management method | |
| JP2000010692A (en) | Application apparatus and method having a function of redo-and-work and automatic saving function | |
| JPH0820992B2 (en) | Control journal output device | |
| JPS63262737A (en) | Data base updating and recording processing method | |
| JPH04369055A (en) | Deletion file restoring system | |
| JPH0239252A (en) | Back-up generating system | |
| JPH06214855A (en) | Pre-update page acquisition method | |
| JPH07262069A (en) | Disaster recovery method | |
| JPH05324439A (en) | Data base control journal output system | |
| JPH0573390A (en) | Deadlock handling process system for data base | |
| JPH0561741A (en) | File writing method | |
| JPH0612307A (en) | History storage method after database update | |
| JPH0264749A (en) | Recording processing system for log data | |
| JPS6257040A (en) | Automatic preservation and recovery method for information processing data |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 19990518 |