JPH0310331A - Data saving system - Google Patents

Data saving system

Info

Publication number
JPH0310331A
JPH0310331A JP1144813A JP14481389A JPH0310331A JP H0310331 A JPH0310331 A JP H0310331A JP 1144813 A JP1144813 A JP 1144813A JP 14481389 A JP14481389 A JP 14481389A JP H0310331 A JPH0310331 A JP H0310331A
Authority
JP
Japan
Prior art keywords
program
data
storage part
external storage
main
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
JP1144813A
Other languages
Japanese (ja)
Inventor
Shigeki Yanagida
柳田 繁樹
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP1144813A priority Critical patent/JPH0310331A/en
Publication of JPH0310331A publication Critical patent/JPH0310331A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To reduce the storage capacity for data save of an external storage part to save data in a short time by saving only a program part different from an original program in the external storage part out of the program, which is loaded from the external storage part to a main storage part, in the external storage part. CONSTITUTION:When data on a main storage part 2 is saved in an external storage part 3 at the time of the occurrence of operation abnormality of a computer system where a program is loaded from a specific external storage part 1 to the main storage part 2 and is executed, a collating means 4 reads out the program in the specific external storage part 1 to collate it with the corresponding program on the main storage part 2. A storing means 5 stores the program part, which is different as the result of collation, out of the pro gram on the main storage part 2 and its storage address information in the external storage part 3. Consequently, program data on the main storage part 2 different from contents of the specific external storage part 1 and data other than the program are saved. Thus, data on the main memory 2 is saved in a short time and the storage capacity of the external storage device 3 for save is reduced.

Description

【発明の詳細な説明】 〔概要〕 計算機の異常発生時に主メモリのデータを退避する方式
に関し、 主メモリのデータを短時間に退避し、退避用外部記憶装
置の記憶容量を減少することができるデータ退避方式を
提供することを目的とし、特定の外部記憶部からプログ
ラムを主記憶部ヘロードして実行する計算機システムの
動作異常発生時に該主記憶部上のデータを他の外部記憶
部へ退避する方式において、前記異常発生時に該特定の
外部記憶部のプログラムを読め出して対応する該主記憶
部上のプログラムと照合する手段と、該主記憶部上のプ
ログラムの中、該照合手段による照合結果が異なるプロ
グラム部分及びその格納アドレス情報を該他の外部記憶
部へ格納する手段とを設け、該特定の外部記憶部の内容
とは異なる該主記憶部にのプログラムデータとプログラ
ム以外のデータを退避するように構成する。
[Detailed Description of the Invention] [Summary] Regarding a method for saving data in main memory when a computer abnormality occurs, data in main memory can be saved in a short time and the storage capacity of an external storage device for saving can be reduced. The purpose is to provide a data saving method, in which a program is loaded from a specific external storage to the main storage and executed, and when an abnormality occurs in the computer system, the data on the main storage is saved to another external storage. In the method, means for reading out a program in the specific external storage unit and comparing it with a corresponding program in the main storage unit when the abnormality occurs, and a comparison result by the checking unit among the programs in the main storage unit. means for storing different program parts and their storage address information in the other external storage unit, and save program data and data other than the program in the main storage unit that are different from the contents of the specific external storage unit. Configure it to do so.

〔産業上の利用分野〕[Industrial application field]

本発明は、計算機の異常発生時に主メモリのデータを退
避する方式に関する。
The present invention relates to a method for saving data in main memory when a computer abnormality occurs.

近年、計算機システムにおいてハードウェアの故障、設
計誤り、誤動作などシステムダウンを来した動作異常の
原因を調査する目的で、異常発生時の主メモリ上のデー
タをディスク等に退避する方法が行われている。計算機
による処理業務の拡大等に伴って計算機システムのプロ
グラム量は益々、増加し、それに伴ってプログラムを格
納するディスク及び主メモリの容量は益々、増加してお
り、異常発生時の主メモリ上のデータを効率よく退避す
ることができるデータ退避方式が望まれている。
In recent years, in order to investigate the causes of abnormalities in computer systems that cause system failures, such as hardware failures, design errors, and malfunctions, methods have been used to save data in main memory when an abnormality occurs to a disk, etc. There is. With the expansion of computer processing operations, the amount of programs in computer systems is increasing, and the capacity of disks and main memory for storing programs is also increasing. A data saving method that can efficiently save data is desired.

C従来の技術〕 第4図はプログラムのローディング及び退避説明図であ
る。企図を通じて同一符号は同一対象物を示す。
C. Prior Art FIG. 4 is an explanatory diagram of program loading and saving. The same reference numerals refer to the same objects throughout the design.

ディスクのプログラムファイルIaに格納されたすU1
ケータプルなプログラムA及びBば、例えば、主メモリ
2alの図示する領域にロードされて実行される。ロー
ディング管理テーブルはロートされたプログラムについ
てプログラムファイル1aにおりるファイル名、主メモ
リ2a J−の記憶位置を示すローディングアドレス、
プログラムサイズ等が格納される領域である。データ八
及びBはプログラムA及びBの処理用又は処理結果のデ
ータである。
U1 stored in the program file Ia of the disk
The digital programs A and B are, for example, loaded into the illustrated area of the main memory 2al and executed. The loading management table includes the file name in the program file 1a for the loaded program, the loading address indicating the storage location in the main memory 2a J-,
This is an area where program size etc. are stored. Data 8 and B are data for processing or processing results of programs A and B.

計算機の動作異常が発生したとき従来は、ローディング
管理テーブル、プログラムA及びB、データΔ及びBを
含む主メモリ2a−1−の全データをそのままディスク
の退避用領域に退避〔図の(従来方法)参照〕していた
Conventionally, when a computer malfunction occurs, all data in the main memory 2a-1-, including the loading management table, programs A and B, and data Δ and B, is saved as is to the disk save area [conventional method shown in the figure]. ).

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記のように従来方法によると、計算機の動作異常発生
時に主メモリ2a上の全データをそのままデ退避するの
で、ユーザ業務の拡大又は計算機性能の強化に伴って増
加する多量のプログラムを退避する大容量のディスクを
必要とし、がっ、退避に時間が掛かるという問題点があ
った。
As mentioned above, according to the conventional method, all the data in the main memory 2a is saved as is when a computer malfunction occurs, so it is difficult to save a large amount of programs that increase as user business expands or computer performance is strengthened. There was a problem that it required a large capacity disk and it took a long time to save.

本発明は、主メモリのデータを短時間に退避し、かつ、
退避用外部記憶装置の記憶容量を減少することができる
データ退避方式を提供することを目的とする。
The present invention saves data in main memory in a short time, and
An object of the present invention is to provide a data saving method that can reduce the storage capacity of an external saving storage device.

〔課題を解決するだめの手段〕[Failure to solve the problem]

第1図は本発明の原理ブロック図を示す。 FIG. 1 shows a block diagram of the principle of the present invention.

図において、 1は計算機の主記憶部2ヘロードして実行するプログラ
ムが格納された特定の外部記憶部、3ば計算機システム
の動作異常発生時に主記憶部2上のデータを退避する他
の外部記憶部、4は異常発生時に特定の外部記憶部1の
プログラムを読め出して対応する主記憶部2上のプログ
ラムと照合する手段、 5は主記憶部2上のプログラムの中、照合手段4による
照合結果が異なるプログラム部分及びその格納アドレス
情報を他の外部記憶部3へ格納する手段である。
In the figure, 1 is a specific external storage section in which a program to be loaded into the main storage section 2 of the computer and executed is stored, and 3 is another external storage section from which data on the main storage section 2 is saved when an abnormality occurs in the computer system. 4 is a means for reading out a specific program in the external storage section 1 when an abnormality occurs and collating it with the corresponding program on the main memory section 2; 5 is a means for collating among the programs on the main memory section 2 by the collation means 4; This is means for storing program parts with different results and their storage address information in another external storage unit 3.

従って、特定の外部記憶部1の内容とは異なる主記憶部
2上のプログラムデータとプログラム以外のデータを退
避するように構成されている。
Therefore, it is configured to save program data and data other than programs on the main memory section 2 that are different from the contents of the specific external memory section 1.

〔作用〕[Effect]

本発明によれば、特定の外部記憶部1からプログラムを
主記憶部2ヘロードして実行する計算機システムの動作
異常発生時に主記憶部2上のデータを他のイ 記憶部3
へ退避する方式において、照合1段4ば異常発生時に特
定の外部記憶部1のプログラムを読み出して対応する主
記憶部2」−のプログラムと照合し、格納手段5は主記
憶部2上のプログラムの中、照合手段4による照合結果
が異なるプログラム部分及びその格納アドレス情報を他
の外部記憶部3へ格納するので、特定の外部記憶部1の
内容とは異なる主記憶部2上のプログラムデータとプロ
グラム以外のデータを退避することができる。
According to the present invention, when an abnormality occurs in a computer system in which a program is loaded from a specific external storage unit 1 to the main storage unit 2 and executed, data on the main storage unit 2 is transferred to another storage unit 3.
In the method of saving the program to the main memory 2, the first stage of verification 4 reads out the program in the specific external storage 1 when an abnormality occurs and collates it with the corresponding program in the main storage 2. Since the program parts and their storage address information with different matching results by the matching means 4 are stored in other external storage units 3, the program data on the main storage unit 2 that is different from the contents of the specific external storage unit 1 is stored. Data other than programs can be saved.

〔実施例〕〔Example〕

以下、本発明の実施例を第2図を基に第3図及び第4図
を参照して説明する。全図を通じて同一符号は同一対象
物を示す。第2図で第1図に対応するものは一点鎖線で
囲んである。
Hereinafter, embodiments of the present invention will be described based on FIG. 2 and with reference to FIGS. 3 and 4. The same reference numerals indicate the same objects throughout the figures. Components in FIG. 2 that correspond to those in FIG. 1 are surrounded by dashed lines.

第2図において、 異常検出部8aは計算機の動作異常によってシステムダ
ウンが発生したことを検出する。
In FIG. 2, an abnormality detection unit 8a detects that a system down has occurred due to an abnormality in the operation of the computer.

退避制御部9aは、システムダウンが発生したとき主メ
モリ2a上のローディング管理テーブル(第4図参照)
に基づいて主メモリ2alに展開されているデータがプ
ログラムか否かを判定し、判定結果に従って後述する圧
縮処理部5b及び編集処理部5aを制御して主メモリ2
aJ二のデータを退避ゼしめる。即ぢ、プログラムでな
い(データの)ときは圧縮処理部5bに対してデータの
先頭アドレス及びサイズを出力して圧縮処理を指示する
。プログラムのときは照合部4a及び編集処理部5aに
対してファイル名、ローディングアドレス、サイズ等を
出力して編集処理を指示する。
The evacuation control unit 9a saves the loading management table (see FIG. 4) on the main memory 2a when a system down occurs.
It is determined whether the data developed in the main memory 2al is a program based on
Save the data of aJ2. That is, if it is not a program (data), it outputs the start address and size of the data to the compression processing unit 5b to instruct compression processing. In the case of a program, the file name, loading address, size, etc. are output to the collation unit 4a and editing processing unit 5a to instruct editing processing.

圧縮処理部5bば、退避制御部9aによって指示された
主メモリ2aの領域を走査してデータを圧縮処理して退
避する。即ぢ、第3図に示す退避データ形式に従って第
4図(本発明の実施例による方法)に示すよ・うに、所
定パターンのデータが反復するときはモー1”04、反
復回数及びそのデータパターンを指定し、所定パターン
のデータが反復しないときはモード00、データ長(サ
イズ)及びそのデータパターンを指定することによりデ
クを圧縮して退避用ファイル3bに格納する。
The compression processing unit 5b scans the area of the main memory 2a instructed by the save control unit 9a, compresses the data, and saves the data. That is, according to the saved data format shown in FIG. 3, as shown in FIG. 4 (method according to an embodiment of the present invention), when data of a predetermined pattern is repeated, the number of repetitions and the data pattern are is specified, and when the data of a predetermined pattern does not repeat, the mode 00, data length (size), and the data pattern are specified to compress the deck and store it in the save file 3b.

照合部4aば、退避制御部9aの指示に基づいてファイ
ル名を基にプロゲラJ・ファイル1aからプログラムを
読み出し、主メモリ2aのローディングアルレス及び゛
す′イスで指定される領域のプログラムと順次、照合を
行・う。
The collation unit 4a reads the program from the Progera J file 1a based on the file name based on the instruction from the save control unit 9a, and sequentially reads the program from the area specified by the loading area and the chair in the main memory 2a. , perform verification.

編集処理部5aは、照合部4aによる照合結果に従って
、プロクラl、ファイル1aのプログラムの内容と異な
る主メモリ2a上のプログラム部分を編集処理して退避
する。即し、第3図に示す退避データ形式に従って第4
図(本発明の実施例による方法)に示すように、モード
01、当言亥プログラムの先頭アドレス、サイズ及びプ
ログラム名を指定し、以降、不一致データ毎にモート0
2、不一致データのアドレス(当該プログラムの先頭ア
ドレスからのオフセシトアドレス)、サイズ及び不一致
データのパターンを指定し、最後に当該プログラムの退
避終了を示ずモード03を指定する編集を行って退避用
ファイル3bに格納する。
The editing processing section 5a edits and saves the program portion in the main memory 2a that is different from the program contents of the program 1 and the file 1a, according to the verification result by the verification section 4a. Therefore, according to the save data format shown in Figure 3,
As shown in the figure (method according to an embodiment of the present invention), mode 01, the start address, size and program name of the current program are specified, and from then on, the mode 01 is specified for each mismatched data.
2. Specify the address of the mismatched data (offset address from the start address of the program), size, and pattern of the mismatched data, and finally edit to specify mode 03 without indicating the end of saving the program. Store in file 3b.

復元部6aは、退避用ファイル3bへ退避されたデータ
を圧縮処理部5bが圧縮又は編集処理部5aが編集した
と逆の手順で主メモリ2a−トに復元する。
The restoring unit 6a restores the data saved in the saving file 3b to the main memory 2a in the reverse procedure of the compression by the compression processing unit 5b or editing by the editing processing unit 5a.

従って、システムダウンが発生したとき退避制御部9a
は主メモリ2aJ−のデータがプログラムか否かを判定
し、プログラムでない場合は圧縮処理部5bはデータを
圧縮処理し、プログラムの場合は主メモリ2a上のプロ
グラムの中、照合部4aの照合に基づいてプログラムフ
ァイル1aのプログラム内容と不一致のプログラム部分
のみを編集処理して退避用ファイル3bに退避し、シス
テノ・ダウン復旧後に復元部6aによって主メモリ2a
J二に復元した退避データをプリンタ等に出力し、プロ
グラムファイル1aの元のプログラム内容と対比して計
算機の障害原因を調査するように構成されている。
Therefore, when a system down occurs, the evacuation control section 9a
determines whether the data in the main memory 2aJ- is a program, and if it is not a program, the compression processing unit 5b compresses the data, and if it is a program, the data in the main memory 2a is checked by the collation unit 4a. Based on this, only the program parts that do not match the program contents of the program file 1a are edited and saved to the save file 3b, and after the system down recovery, the restoring unit 6a saves them to the main memory 2a.
It is configured to output the saved data restored to J2 to a printer or the like and compare it with the original program contents of the program file 1a to investigate the cause of a computer failure.

〔発明の効果〕〔Effect of the invention〕

以−に説明したように本発明によれば、外部記憶部から
主記憶部ヘロードされたプログラムの中、外部記憶部の
元のプログラムと異なるプログラム部分のみを外部記憶
部へ退避するので、外部記憶部のデータ退避用の記憶容
量を減少し、短時間で退避を行うこきにより、計算機シ
ステムのコストを減少し、かつ、障害調査を迅速に行う
ことができるという効果がある。
As explained above, according to the present invention, of the program loaded from the external storage to the main memory, only the program portion that is different from the original program in the external storage is saved to the external storage. By reducing the storage capacity for saving data in a section and saving data in a short time, the cost of the computer system can be reduced and fault investigation can be carried out quickly.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の原理ブロック図、 第2図は本発明の実施例を示すブロック図、第3圓は退
避データ形式側図、 第4図はローディング及び退避説明図である。 図において、 0 1.3は外部記憶部、 1aはプログラムファイル、 2は主記憶部、 2aは主メモリ、 3a、3bは退避用ファイル、 4は照合手段、 4aは照合部、 5は格納手段、 5aは編集処理部、 5bは圧縮処理部、 6aは復元部、 8aは異常検出部、 9aは退避側?fl1部 を示ず。
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram showing an embodiment of the present invention, the third circle is a side view of the saved data format, and FIG. 4 is a diagram explaining loading and saving. In the figure, 0 1.3 is an external storage section, 1a is a program file, 2 is a main storage section, 2a is a main memory, 3a and 3b are save files, 4 is a collation means, 4a is a collation section, and 5 is a storage means , 5a is the editing processing section, 5b is the compression processing section, 6a is the restoration section, 8a is the abnormality detection section, and 9a is the saving side? 1 part of fl is not shown.

Claims (1)

【特許請求の範囲】 特定の外部記憶部(1)からプログラムを主記憶部(2
)へロードして実行する計算機システムの動作異常発生
時に該主記憶部(2)上のデータを他の外部記憶部(3
)へ退避する方式において、 前記異常発生時に該特定の外部記憶部(1)のプログラ
ムを読み出して対応する該主記憶部(2)上のプログラ
ムと照合する手段(4)と、 該主記憶部(2)上のプログラムの中、該照合手段(4
)による照合結果が異なるプログラム部分及びその格納
アドレス情報を該他の外部記憶部(3)へ格納する手段
(5)とを設け、 該特定の外部記憶部(1)の内容とは異なる該主記憶部
(2)上のプログラムデータとプログラム以外のデータ
を退避することを特徴とするデータ退避方式。
[Claims] Programs are transferred from a specific external storage unit (1) to a main storage unit (2).
) to execute the computer system. When an abnormality occurs in the computer system, the data in the main memory (2) is transferred to another external memory (3).
), when the abnormality occurs, a means (4) for reading a program in the specific external storage section (1) and comparing it with a corresponding program in the main storage section (2); (2) In the above program, the matching means (4
) and means (5) for storing program parts with different matching results and their storage address information in the other external storage part (3), A data saving method characterized by saving program data and data other than programs on a storage unit (2).
JP1144813A 1989-06-07 1989-06-07 Data saving system Pending JPH0310331A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1144813A JPH0310331A (en) 1989-06-07 1989-06-07 Data saving system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1144813A JPH0310331A (en) 1989-06-07 1989-06-07 Data saving system

Publications (1)

Publication Number Publication Date
JPH0310331A true JPH0310331A (en) 1991-01-17

Family

ID=15371058

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1144813A Pending JPH0310331A (en) 1989-06-07 1989-06-07 Data saving system

Country Status (1)

Country Link
JP (1) JPH0310331A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006330827A (en) * 2005-05-23 2006-12-07 Fujitsu Ten Ltd Electronic controller and data storage method for electronic control equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58112106A (en) * 1981-12-25 1983-07-04 Toyoda Mach Works Ltd Method and device for collating sequence program

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58112106A (en) * 1981-12-25 1983-07-04 Toyoda Mach Works Ltd Method and device for collating sequence program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006330827A (en) * 2005-05-23 2006-12-07 Fujitsu Ten Ltd Electronic controller and data storage method for electronic control equipment

Similar Documents

Publication Publication Date Title
US5638508A (en) Method and a system for processing a log record
JPH04139544A (en) Data restoring method
JPH0820978B2 (en) Failure analysis information edit output method
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
JPH0310331A (en) Data saving system
CN115437818A (en) Automatic restoration method, system, storage medium and equipment for VxWorks system start failure
JPH08227372A (en) Data processor
US6229743B1 (en) Method of a reassign block processing time determination test for storage device
KR19980076358A (en) How to recover your hard disk drive
JPH0675957A (en) Restoration mechanism of fault during editing
JP3204362B2 (en) Error log editing system
JP2005149248A (en) Metadata restoration system, method thereof, storage device and program therefor
CN107402849B (en) Backup and recovery method based on K-UX system
JP2005284449A (en) Information recording medium array system and its restoration method
JPS63262737A (en) Data base updating and recording processing method
JP3988500B2 (en) Directory file saving system and program
JPH07160651A (en) Backup mode for system data
CN116401096A (en) Metadata backup method and device, electronic equipment and storage medium
JPH09244907A (en) Data restoration system
JPH04209044A (en) Data base control system
JPH10269111A (en) Information managing method at time of program failure occurrence
JP2005275479A (en) Disk array control system
JPH05151187A (en) Fault logging system for plural processors
JPH0581103A (en) System for restoring duplexing film
JPH04169945A (en) File restoring method