JPH04207554A - Exchange - Google Patents

Exchange

Info

Publication number
JPH04207554A
JPH04207554A JP33565090A JP33565090A JPH04207554A JP H04207554 A JPH04207554 A JP H04207554A JP 33565090 A JP33565090 A JP 33565090A JP 33565090 A JP33565090 A JP 33565090A JP H04207554 A JPH04207554 A JP H04207554A
Authority
JP
Japan
Prior art keywords
data
exchange
processing
revision
changed
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.)
Granted
Application number
JP33565090A
Other languages
Japanese (ja)
Other versions
JP2931665B2 (en
Inventor
Kenji Onishi
大西 健治
Atsushi Hasegawa
淳 長谷川
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.)
Toshiba Corp
Nippon Telegraph and Telephone Corp
Original Assignee
Toshiba Corp
Nippon Telegraph and Telephone Corp
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 Toshiba Corp, Nippon Telegraph and Telephone Corp filed Critical Toshiba Corp
Priority to JP33565090A priority Critical patent/JP2931665B2/en
Publication of JPH04207554A publication Critical patent/JPH04207554A/en
Application granted granted Critical
Publication of JP2931665B2 publication Critical patent/JP2931665B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Monitoring And Testing Of Exchanges (AREA)

Abstract

PURPOSE:To make fault restart processing stable and to make data recovery after fault restart efficient by providing a revision history recording means and a revision data restoration means to the exchange. CONSTITUTION:A revision history recording means 5 records a data after revision as an exchange processing data on a recording medium 4 and records before revision as a history by revision of an exchange processing. Then a revision data restoration means 5 at fault restart processing reads an optional part among data to be revised from the recording medium 4 and restores the part in a work data area 2. Thus, the save of the revised data and the recovery from the fault caused by the revised data are made compatible. Thus, the fault restart processing is made stable and the data restoration after fault restart is made highly efficient.

Description

【発明の詳細な説明】 [発明の目的] (産業上の利用分野) 本発明は、少なくとも交換処理用データを不揮発性の記
録媒体に記録しておき、障害時にそのデータを作業用デ
ータエリアに復帰させることで再開処理を行う交換機に
関する。
[Detailed Description of the Invention] [Object of the Invention] (Industrial Application Field) The present invention records at least data for exchange processing on a non-volatile recording medium, and stores the data in a working data area in the event of a failure. The present invention relates to an exchange that performs restart processing by returning the device to its original state.

(従来の技術) 従来から、例えば蓄積プログラム型の交換機においては
、第5図に示すように、予め不揮発性の記録媒体(例え
ば固定ディスク等)]1に交換処理用プログラムもしく
はデータ(以下、バックアップ・プログラム/データと
呼ぶ)を記録しておき、障害か発生したとき、その記録
媒体1]上に記録されたバックアップ・プログラム/デ
ータを、作業用データエリア(例えばRAM等)12に
復帰して処理を再開するという障害再開処理方式か採用
されている。
(Prior Art) Conventionally, for example, in a storage program type exchanger, as shown in FIG. 5, an exchange processing program or data (hereinafter referred to as backup・When a failure occurs, the backup program/data recorded on the recording medium 1 is restored to the working data area (for example, RAM, etc.) 12. A failure restart processing method is adopted in which processing is restarted.

しかし、交換機における重障害は、交換機のデータ工事
(データ変更)作業の結果生じることが比較的多いため
、データ工事と同時にバックアップ・プログラム/デー
タの変更を行うような場合は、障害時にバンクアップ・
ブログラノ/データによる復旧を行って処理を再開した
と1でも再度同し障害か発生する可能性か大である。
However, serious failures in switching equipment are relatively often the result of data construction (data modification) work on the switching equipment, so if backup programs/data are changed at the same time as data construction, bank up
Even if you restart the process after performing a recovery using Brograno/Data, there is a high possibility that the same failure will occur again.

この問題を解決するため、最近、バックアップ・プログ
ラム/′データの変更を、データ工事後−定の安定期間
をおいてから行う手法が採用されている。
In order to solve this problem, a method has recently been adopted in which the backup program/data is changed after a certain period of stability has elapsed after data modification.

しかしながら、この方法では、−度ハツクアップ・プロ
グラム/′データの変更を行った後のデータ玉串の内容
は不揮発性の記録媒体に保存されないため、障害再開処
理かiする毎に全面的にデータ玉串をやり直す必要か生
していた。
However, with this method, the contents of the data file after the data has been changed are not saved in a non-volatile recording medium, so the data file is completely updated every time the failure restart process is performed. I was wondering if I needed to start over.

(発明か解決しようとする課題) このように、従来からの交換機における障害再開処理方
式では、変更データの保存と、二の変更データに起因す
る障害からの復旧との両立が難しいという問題かあった
(Problem to be solved by the invention) As described above, with the conventional failure restart processing method in exchanges, there is a problem that it is difficult to simultaneously save changed data and recover from a failure caused by the changed data. Ta.

本発明はこのような課題を解決するためのもので、変更
データの保存と、この変更データに起因する障害からの
復旧との両立を図って、障害再開処理の安定化、障害再
開後のデータ復旧工事の効率化を図ることのできる交換
機の提供を目的としている。
The present invention is intended to solve such problems, and aims to both save changed data and recover from failures caused by this changed data, stabilize failure restart processing, and restore data after failure restart. The aim is to provide a switching system that can improve the efficiency of restoration work.

[発明の構成] (課題を解決するための手段) 本発明の交換機は上記の目的を達成するために、不揮発
性の記録媒体に少なくとも交換処理用データを記録し、
障害時に該交換処理用データを記録媒体から作業用デー
タエリアに復帰し再開処理を行う交換機において、記録
媒体上に、交換処理用データとして変更後のデータを記
録するとともに、該交換処理用データの変更部分の履歴
として変更前のデータを記録する変更履歴記録手段と、
障害再開処理時に、記録媒体上から任意のデータ変更部
分を読出しこれを作業用データエリアに復帰させる変更
データ復帰手段とを具備したものである。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, the exchange of the present invention records at least exchange processing data on a non-volatile recording medium,
In an exchange that restores the data for exchange processing from the recording medium to the working data area and resumes processing in the event of a failure, it records the changed data as data for exchange processing on the recording medium, and also records the data after the change as data for exchange processing on the recording medium. a change history recording means for recording data before the change as a history of the changed part;
The apparatus is equipped with a changed data restoring means for reading out any changed data part from the recording medium and restoring it to the working data area at the time of failure restart processing.

(作 用) 本発明の交換機では、変更履歴記録手段により、記録媒
体上に、交換処理用データとして変更後のデータを記録
するとともに、該交換処理用データの変更部分の履歴と
して変更前のデータを記録し、障害再開処理時に、変更
データ復帰手段により、記録媒体上から変更されたデー
タのうちの任意の部分を読出して、これを作業用データ
エリアに復帰させるようにしたので、従来の交換機にお
いては困難であった変更データの保存と、この変更デー
タに起因する障害からの復旧との両立化を図ることかで
き、これにより障害再開処理の安定化、障害再開後のデ
ータ復旧工事の高効率化を図ることかできる。
(Function) In the exchange of the present invention, the change history recording means records the changed data on the recording medium as data for exchange processing, and records the data before change as the history of the changed part of the data for exchange processing. The modified data restoration means reads any part of the changed data from the recording medium and restores it to the working data area during failure restart processing. It is possible to achieve both the storage of changed data, which was difficult in the previous method, and the recovery from failures caused by this changed data. It is possible to improve efficiency.

(実施例) 以下、本発明の実施例を図面に基づいて説明する。(Example) Embodiments of the present invention will be described below based on the drawings.

第1図は本発明に係る一実施例の蓄積プログラム型交換
機の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a storage program type switch according to an embodiment of the present invention.

この図に示す交換機の通常動作時においては、CPUI
かRA〜12上の交換処理用プログラムと交換処理用デ
ータを用いて交換処理を行うようになっている。
During normal operation of the exchange shown in this figure, the CPU
The exchange process is performed using the exchange process program and exchange process data on the RA~12.

この交換機において重障害か発生すると、ROLi B
上の障害再開処理プログラムが起動されることにより、
固定ディスク4に予め記憶しておいた交換処理用のバッ
クアップ・プログラム/データかRAM2上にロードさ
れ、これにより交換処理か再開される。
If a serious failure occurs in this exchange, ROLi B
By starting the above failure restart processing program,
The backup program/data for the exchange process previously stored in the fixed disk 4 is loaded onto the RAM 2, and the exchange process is thereby restarted.

第2図及び第3図はこのバックアップ・プログラム/デ
ータのRA M 2上へのロート方式を説明するための
図である。
FIGS. 2 and 3 are diagrams for explaining the method of loading this backup program/data onto the RAM 2. FIG.

第2図に示すように、固定ディスク4上には、常に最新
の交換処理用バックアップ・プログラム/データか書込
まれるファイルA、Bと、バックアップ・プログラム/
データの変更の履歴としてその変更部分に当る変更前の
バックアップ・プログラム/データが差分データとして
書込まれるファイルCが用意されている。
As shown in FIG. 2, on the fixed disk 4 are files A and B, in which the latest backup program/data for exchange processing is always written, and
As a data change history, a file C is prepared in which the backup program/data before the change corresponding to the changed part is written as differential data.

以上の構成からなる本実施例の交換機では、第3図に示
すように、重障害が発生すると(ステップA)、まずハ
ックアップ・プログラム、ハックアンプ・データのファ
イルA、Hの内容をそれぞれRAM2上の交換処理用プ
ログラム・エリア2Aおよび交換処理用データ・エリア
2Bにロードする(ステップB、C)。続いて差分デー
タのファイルCから復旧すべき差分データのみをRA 
M2上の交換処理用データ・エリア2Bにロードする(
ステップD)。以上により交換処理か再開されるように
なっている(ステップE)。
In the switch of this embodiment having the above configuration, as shown in FIG. The data is loaded into the exchange processing program area 2A and exchange processing data area 2B (steps B and C). Next, RA only the differential data to be recovered from the differential data file C.
Load into exchange processing data area 2B on M2 (
Step D). As a result of the above, the exchange process is restarted (step E).

次に、第4図を用いて差分データ・ファイルCの内容を
説明する。
Next, the contents of the differential data file C will be explained using FIG.

同図に示すように、差分データ・ファイルCはへノダ部
Hとデータ・レコード部Fとで構成される。ヘッダ部H
にはデータ・レコードの開始アドレスA1と終了アドレ
スA2、および障害再開時にどこまでのデータを復旧さ
せるかを指定するため再開処理用更新日時T1が記録さ
れている。
As shown in the figure, the differential data file C is composed of a henody section H and a data record section F. Header part H
The start address A1 and end address A2 of the data record are recorded, as well as the update date and time T1 for restart processing in order to specify how much data is to be recovered when restarting from a failure.

またデータ・レコード部Fは複数のデータ・レコードし
て構成され、通常のサイクリック・ファイルの構造を持
つ。さらに個々のデータ・レコードLはそれぞれデータ
の更新日時T2とデータのRAM2上でのアドレスA3
、データのサイズSおよび実データDを記録している。
The data record section F is composed of a plurality of data records and has the structure of a normal cyclic file. Furthermore, each data record L has a data update date and time T2 and a data address A3 on RAM2.
, data size S and actual data D are recorded.

尚、差分データ・ファイルCのヘッダ部Hの再開処理用
更新日時Tlは保守用コンソール5からの操作で自由に
変更されるようにな−)でいる。
Note that the update date and time Tl for restart processing in the header section H of the differential data file C can be changed freely by operation from the maintenance console 5.

次にこの交換機における主な動作を説明する。Next, the main operations of this exchange will be explained.

まずデータ工事に際して保守用コンソール5から変更デ
ータか投入されると、対応するR A M 2上の交換
処理用データ・エリア2Bの内容かその変更データによ
り更新されると量的に、その変更データによりハックア
ップ・データのファイルBの内容も更新される。そして
差分データ・ファイルCへは、更新前の交換処理用デー
タ・エリア2Bの内容のうち、当該変更部分に当るデー
タか差分データとして登録される。
First, when changed data is input from the maintenance console 5 during data construction, if the contents of the exchange processing data area 2B on the corresponding RAM 2 are updated with the changed data, the changed data will be updated quantitatively. As a result, the contents of file B of the hackup data are also updated. Then, data corresponding to the changed portion of the contents of the exchange processing data area 2B before update is registered in the difference data file C as difference data.

またこの差分データをRAM2上にロードする場合は、
ます差分データ・ファイルCのヘッダ部Hのデータ・レ
コード開始アドレスA1とデータ・レコード終了アドレ
スA2とを参照してデータ・レコードLの検索を行い、
データ・レコードLの更新日時T2かヘッダ部Hの再開
処理用更新日時T1より新しいもののみを対象に、デー
タ・レコードL上のRA M上アドレスA3とデータ・
サイズSとを参照して、目的のデータDをRAM2上の
交換処理用データ・エリア2Bにロードする。
Also, when loading this differential data onto RAM2,
Search for the data record L by referring to the data record start address A1 and the data record end address A2 of the header part H of the differential data file C,
Address A3 on RAM on data record L and data
With reference to the size S, the target data D is loaded into the exchange processing data area 2B on the RAM 2.

ここでロードされなかったデータ・レコードしについて
は、保守用コンソール5からの指示により交換処理デー
タ・エリア2Bにロードさせることか可能とされている
。また任意の部分をデータ・レコードLから削除するこ
とも保守用コンソール5からの操作により可能とされて
いる。
Data records that are not loaded here can be loaded into the exchange processing data area 2B by instructions from the maintenance console 5. It is also possible to delete any part from the data record L by operating the maintenance console 5.

さらに、データ工事に際して差分データのファイルCの
データ・レコード部Fに未使用エリアか無くなった場合
には、最も古いデータ・レコードLのデータDから順に
消去して、空いた部分に新しいデータ・レコードLを登
録する。この処理についても保守用コンソール5からの
指示により手動で行うことが可能とされている。
Furthermore, if there is no unused area in the data record section F of the differential data file C during data construction, the oldest data record L will be deleted starting from data D, and new data records will be created in the empty space. Register L. This process can also be performed manually by instructions from the maintenance console 5.

かくして、この実施例の交換機によれば、障害再開処理
時に、データ工事により変更された交換処理用プログラ
ム/データの任意の部分を自動的に復旧して交換処理を
再開することか可能となり、変更データの保存とこの変
更データに起因する障害からの復旧の両立か可能となる
Thus, according to the exchange of this embodiment, during failure restart processing, it is possible to automatically restore any part of the exchange processing program/data that has been changed due to data construction and restart the exchange processing. It becomes possible to both save data and recover from failures caused by this changed data.

尚、本実施例では差分データのファイルCのデータ構造
をRAM2上の実データイメージとして説明したか、例
えばデータ・ベース・コールのイメージや保存用コンソ
ール5からの投入コマンド・イメージ等、論理的なデー
タとして記ねしておくことも可能である。
In this embodiment, the data structure of the differential data file C has been explained as an actual data image on the RAM 2, or as a logical image such as an image of a database call or an input command image from the storage console 5. It is also possible to record it as data.

また、復旧すべき差分データの指定は、上述したように
、再開処理用更新日時等を用いて自動的に行うこともで
きるが、これを交換処理再開後に保存用コンソール5か
らの指示により手動で行うことも可能とする。
In addition, as described above, the differential data to be restored can be specified automatically using the update date and time for restart processing, but this can be done manually by instructions from the storage console 5 after restarting the exchange processing. It is also possible to do so.

さらに、本方式は障害再開処理時に交換処理データのみ
ロードする交換機(例えば、交換処理プログラムかRO
M上にある交換機)においても有効であることは言うま
でもない。
Furthermore, this method uses a switch that loads only the exchange processing data during failure restart processing (for example, the exchange processing program or the RO
Needless to say, it is also effective in the exchanges located on M.

また、バックアップ・プログラム/データ、差分データ
を記録しておく媒体としては固定ディスク4に限定され
るものではな(、例えばフロッピー・ディスク6、磁気
テープ、バブルメモリ等、不揮発性の記録媒体ならば代
用か可能である。
Also, the medium for recording backup programs/data and differential data is not limited to the fixed disk 4 (for example, non-volatile recording media such as floppy disk 6, magnetic tape, bubble memory, etc.) Substitution is possible.

[発明の効果] 以上説明したように本発明の交換機によれば、変更デー
タの保存とこの変更データに起因する障害からの復旧と
か両立可能となり、障害再開処理をより安定化させるこ
とができるとともに、障害再開後のデータ復旧工事か容
易になる。
[Effects of the Invention] As explained above, according to the switching device of the present invention, it is possible to both save changed data and recover from a failure caused by this changed data, and it is possible to further stabilize failure restart processing. , data recovery work after failure restart becomes easier.

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

第1図は本発明の一実施例の蓄積プログラム型交換機の
構成を示すブロック図、第2図は同実施例における障害
再開処理方式を説明するための図、第3図は同処理動作
の流れを示すフローチャート、第4図は差分データ・フ
ァイルの内容を示す図、第5図は従来からの蓄積プログ
ラム型交換機における障害再開処理方式を説明するため
の図である。 1・・CPU、2・・RAM、3・・・ROM、4・・
・固定ディスク、5・保守用コンソール、A・・交換処
理用プログラムのファイル、B・・・交換処理用データ
のファイル、C・差分データのファイル。 第3図 第5図
Fig. 1 is a block diagram showing the configuration of a storage program switch according to an embodiment of the present invention, Fig. 2 is a diagram for explaining a failure restart processing method in the embodiment, and Fig. 3 is a flowchart of the processing operation. FIG. 4 is a diagram showing the contents of a differential data file, and FIG. 5 is a diagram for explaining a failure restart processing method in a conventional storage program type switch. 1...CPU, 2...RAM, 3...ROM, 4...
-Fixed disk, 5.Maintenance console, A..Exchange processing program file, B..Exchange processing data file.C.Difference data file. Figure 3 Figure 5

Claims (1)

【特許請求の範囲】 不揮発性の記録媒体に少なくとも交換処理用データを記
録し、障害時に該交換処理用データを前記記録媒体から
作業用データエリアに復帰し再開処理を行う交換機にお
いて、 前記記録媒体上に、前記交換処理用データとして変更後
のデータを記録するとともに、該交換処理用データの変
更部分の履歴として変更前のデータを記録する変更履歴
記録手段と、 障害再開処理時に、前記記録媒体上から任意のデータ変
更部分を読出しこれを前記作業用データエリアに復帰さ
せる変更データ復帰手段とを具備したことを特徴とする
交換機。
[Scope of Claims] In an exchange that records at least data for exchange processing in a non-volatile recording medium, and in the event of a failure, restores the data for exchange processing from the recording medium to a working data area to perform restart processing, the recording medium comprising: a change history recording means for recording the data after the change as the data for the exchange process and the data before the change as the history of the changed part of the data for the exchange process; and at the time of the failure restart process, the recording medium 1. A switching system characterized by comprising changed data restoration means for reading out any changed data portion from above and restoring it to the working data area.
JP33565090A 1990-11-30 1990-11-30 switch Expired - Fee Related JP2931665B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33565090A JP2931665B2 (en) 1990-11-30 1990-11-30 switch

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33565090A JP2931665B2 (en) 1990-11-30 1990-11-30 switch

Publications (2)

Publication Number Publication Date
JPH04207554A true JPH04207554A (en) 1992-07-29
JP2931665B2 JP2931665B2 (en) 1999-08-09

Family

ID=18290976

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33565090A Expired - Fee Related JP2931665B2 (en) 1990-11-30 1990-11-30 switch

Country Status (1)

Country Link
JP (1) JP2931665B2 (en)

Also Published As

Publication number Publication date
JP2931665B2 (en) 1999-08-09

Similar Documents

Publication Publication Date Title
JP5021929B2 (en) Computer system, storage system, management computer, and backup management method
JPH07319747A (en) Data updating system
JPH07152627A (en) File recovery system
JPH0594353A (en) Database management system
JPH08212142A (en) Data backup system for data base
JPH04207554A (en) Exchange
JPS63187347A (en) Data base file recovering system
JPH04184641A (en) Data base restoring system
JPS63132351A (en) Memory data base processor
JPH0594356A (en) On-memory table data fault restoration system
JPH01237716A (en) Volume switching system
JPH0385650A (en) Disk volume restoration system
JPH1040123A (en) System and method for job management
JPH01140353A (en) System for maintaining data in data base
JPS63262737A (en) Data base updating and recording processing method
JPH04250539A (en) Journal acquisition system
JP3822449B2 (en) Stack saving method, stack saving program, and highly reliable computer system
JPH01214947A (en) Data preserving system
JPH04141751A (en) Fault recovery system for mass storage medium
JP2806342B2 (en) Database failure recovery method and device
JPH02287644A (en) Master file updating system
JPH04307643A (en) Highly reliable file system
JPH0319046A (en) Data base restoring system
JP2594761B2 (en) Journal file management device
JPH08161211A (en) Method and device for restoring file by logging

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees