JP2931665B2 - switch - Google Patents

switch

Info

Publication number
JP2931665B2
JP2931665B2 JP33565090A JP33565090A JP2931665B2 JP 2931665 B2 JP2931665 B2 JP 2931665B2 JP 33565090 A JP33565090 A JP 33565090A JP 33565090 A JP33565090 A JP 33565090A JP 2931665 B2 JP2931665 B2 JP 2931665B2
Authority
JP
Japan
Prior art keywords
data
exchange
processing
backup
exchange 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.)
Expired - Fee Related
Application number
JP33565090A
Other languages
Japanese (ja)
Other versions
JPH04207554A (en
Inventor
健治 大西
淳 長谷川
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)

Description

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

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

しかし、交換機における重障害は、交換機のデータ工
事(データ変更)作業の結果生じることが比較的多いた
め、データ工事と同時にバックアップ・プログラム/デ
ータの変更を行うような場合は、障害時にバックアップ
・プログラム/データによる復旧を行って処理を再開し
たとしても再度同じ障害が発生する可能性が大である。
However, since a serious failure in an exchange occurs relatively frequently as a result of data construction (data change) work of the exchange, if the backup program / data is changed simultaneously with the data construction, the backup program must be replaced when the failure occurs. / Even if the process is resumed after performing recovery by data, there is a high possibility that the same fault will occur again.

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

しかしながら、この方法では、一度バックアップ・プ
ログラム/データの変更を行った後のデータ工事の内容
は不揮発性の記録媒体に保存されないため、障害再開処
理が走る毎に全面的にデータ工事をやり直す必要が生じ
ていた。
However, in this method, since the contents of the data construction once the backup program / data is changed are not stored in the non-volatile recording medium, it is necessary to completely perform the data construction every time the failure restart processing is performed. Had occurred.

(発明が解決しようとする課題) このように、従来からの交換機における障害再開処理
方式では、変更された交換処理用データのバックアップ
データの保存と、この変更された交換処理用データに起
因する障害からの復旧との両立が難しいという問題があ
った。
(Problems to be Solved by the Invention) As described above, in the failure restart processing method in the conventional exchange, the backup data of the changed exchange processing data is stored, and the failure caused by the changed exchange processing data is changed. There is a problem that it is difficult to balance with recovery from a disaster.

本発明はこのような課題を解決するためのもので、変
更された交換処理用データのバックアップデータの保存
と、この変更された交換処理用データに起因する障害か
らの復旧との両立を図って、障害再開処理の安定化、障
害再開後のデータ復旧工事の効率化を図ることのできる
交換機の提供を目的としている。
The present invention has been made in order to solve such a problem, and aims to achieve compatibility between storage of backup data of changed exchange processing data and recovery from a failure caused by the changed exchange processing data. It is an object of the present invention to provide an exchange which can stabilize a failure restart process and improve the efficiency of data recovery work after a failure restart.

[発明の構成] (課題を解決するための手段) 本発明の交換機は上記の目的を達成するために、作業
用データエリア上の交換処理用データを用いて交換処理
を行う交換機において、前記作業用データエリア上の交
換処理用データのバックアップデータを不揮発性のバッ
クアップデータエリアに記録する手段と、前記作業用デ
ータエリア上の交換処理用データと前記バックアップデ
ータエリア上のバックアップデータをそれぞれ部分的に
変更する手段と、変更前の交換処理用データのうちの、
前記変更された部分に当るデータを差分データとして不
揮発性の差分データエリアに記録する手段と、前記バッ
クアップデータエリア上の前記変更されたバックアップ
データ及び前記差分データエリア上の差分データを用い
て、前記変更前の交換処理用データを前記作業用データ
エリア上に復帰する手段とを具備したものである。
[Means for Solving the Problems] To achieve the above object, an exchange according to the present invention is an exchange which performs exchange processing using exchange processing data in a work data area. Means for recording backup data of exchange processing data on the non-volatile backup data area in the non-volatile backup data area, and partially replacing the exchange processing data on the work data area and the backup data on the backup data area. Means for changing, and of the exchange processing data before the change,
Means for recording the data corresponding to the changed portion as differential data in a nonvolatile differential data area, and using the changed backup data on the backup data area and the differential data on the differential data area, Means for returning the exchange processing data before the change to the work data area.

(作 用) 本発明の交換機では、変更された変換処理用データの
バックアップデータの保存と、この変更された交換処理
用データに起因する障害からの復旧の両立化を図ること
ができ、これにより障害再開処理の安定化、障害再開後
のデータ復旧工事の高効率化を図ることができる。
(Operation) With the exchange of the present invention, it is possible to achieve compatibility between storing backup data of the changed conversion processing data and recovering from a failure caused by the changed exchange processing data. It is possible to stabilize the failure restart processing and to improve the efficiency of data recovery work after the failure restart.

(実施例) 以下、本発明の実施例を図面に基づいて説明する。(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

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

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

この交換機において重障害が発生すると、ROM3上の障
害再開処理プログラムが起動されることにより、固定デ
ィスク4に予め記憶しておいた交換処理用のバックアッ
プ・プログラム/データがRAM2上にロードされ、これに
より交換処理が再開される。
When a serious fault occurs in this exchange, the fault resumption processing program on the ROM 3 is started, so that the backup program / data for the replacement process stored in the fixed disk 4 in advance is loaded on the RAM 2. , The exchange process is restarted.

第2図及び第3図はこのバックアップ・プログラム/
データのRAM2上へのロード方式を説明するための図であ
る。
2 and 3 show this backup program /
FIG. 3 is a diagram for explaining a method of loading data onto a RAM2.

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

以上の構成からなる本実施例の交換機では、第3図に
示すように、変更後の交換処理用データに起因する重障
害が発生すると(ステップA)、まずバックアップ・プ
ログラム、バックアップ・データのファイルA、Bの内
容をそれぞれRAM2上の交換処理用プログラム・エリア2A
および交換処理用データ・エリア2Bにロードする(ステ
ップB、C)。続いて差分データのファイルCから復旧
すべき差分データのみをRAM2上の交換処理用データ・エ
リア2Bにロードする(ステップD)。以上により交換処
理が再開されるようになっている(ステップE)。
In the exchange of the present embodiment having the above configuration, as shown in FIG. 3, when a serious failure occurs due to the exchange processing data after the change (step A), first, the backup program, the backup data file The contents of A and B are exchanged program area 2A on RAM2.
Then, the data is loaded into the exchange processing data area 2B (steps B and C). Subsequently, only the differential data to be recovered from the differential data file C is loaded into the exchange processing data area 2B on the RAM 2 (step D). Thus, the exchange process is restarted (step E).

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

同図に示すように、差分データ・ファイルCはヘッダ
部Hとデータ・レコード部Fとで構成される。ヘッダ部
Hにはデータ・レコードの開始アドレスA1と終了アドレ
スA2、および障害再開時にどこまでのデータを復旧させ
るかを指定するため再開処理用更新日時T1が記録されて
いる。
As shown in the figure, the difference data file C is composed of a header part H and a data record part F. The header portion H records a start address A1 and an end address A2 of the data record, and a renewal date and time T1 for resumption processing for designating how much data is to be restored when the failure is resumed.

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

尚、差分データ・ファイルCのヘッダ部Hの再開処理
用更新日時T1は保守用コンソール5からの操作で自由に
変更されるようになっている。
The renewal date and time T1 for resuming the header portion H of the difference data file C can be freely changed by an operation from the maintenance console 5.

次にこの交換機における主な動作を説明する。まずデ
ータ工事に際して保守用コンソール5から変更データが
投入されると、対応するRAM2上の交換処理用データ・エ
リア2Bの内容がその変更データにより更新されると同時
に、その変更データによりバックアップ・データのファ
イルBの内容も更新される。そして差分データ・ファイ
ルCへは、更新前の交換処理用データ・エリア2Bの内容
のうち、当該変更部分に当るデータが差分データとして
登録される。
Next, main operations in the exchange will be described. First, when change data is input from the maintenance console 5 at the time of data construction, the contents of the exchange processing data area 2B on the corresponding RAM 2 are updated with the change data, and at the same time, the backup data is changed by the change data. The contents of file B are also updated. In the difference data file C, data corresponding to the changed portion in the contents of the exchange processing data area 2B before the update is registered as difference data.

またこの差分データをRAM2上にロードする場合は、ま
ず差分データ・ファイルCのヘッダ部Hのデータ・レコ
ード開始アドレスA1とデータ・レコード終了アドレスA2
とを参照してデータ・レコードLの検索を行い、データ
・レコードLの更新日時T2がヘッダ部Hの再開処理用更
新日時T1より新しいもののみを対象に、データ・レコー
ドL上のRAM上アドレスA3とデータ・サイズSとを参照
して、目的のデータDをRAM2上の交換処理用データ・エ
リア2Bにロードする。
When the difference data is loaded onto the RAM 2, first, the data record start address A1 and the data record end address A2 of the header H of the difference data file C are read.
The data record L is searched with reference to the above, and only the update date T2 of the data record L that is newer than the update date T1 for restart processing of the header portion H is targeted for the address on the RAM in the data record L. The target data D is loaded into the exchange processing data area 2B on the RAM 2 with reference to A3 and the data size S.

ここでロードされなかったデータ・レコードLについ
ては、保守用コンソール5からの指示により交換処理デ
ータ・エリア2Bにロードさせることが可能とされてい
る。また任意の部分をデータ・レコードLから削除する
ことも保守用コンソール5からの操作により可能とされ
ている。
The data records L not loaded here can be loaded into the exchange processing data area 2B according to an instruction from the maintenance console 5. Further, an arbitrary part can be deleted from the data record L by an operation from the maintenance console 5.

さらに、データ工事に際して差分データのファイルC
のデータ・レコード部Fに未使用エリアが無くなった場
合には、最も古いデータ・レコードLのデータDから順
に消去して、空いた部分に新しいデータ・レコードLを
登録する。この処理についても保守用コンソール5から
の指示により手動で行うことが可能とされている。
In addition, the file C
When there is no more unused area in the data record portion F, the data D of the oldest data record L is deleted in order, and a new data record L is registered in the empty portion. This processing can also be manually performed according to an instruction from the maintenance console 5.

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

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

また、復旧すべき差分データの指定は、上述したよう
に、再開処理用更新日時等を用いて自動的に行うことも
できるが、これを交換処理再開後に保存用コンソール5
からの指示により手動で行うことも可能とする。
As described above, the designation of the difference data to be restored can be automatically performed using the update date and time for the resumption processing.
It can also be performed manually according to instructions from.

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

また、バックアップ・プログラム/データ、差分デー
タを記録しておく媒体として固定ディスクに限定される
ものではなく、例えばフロッピー・ディスク6、磁気テ
ープ・バブルメモリ等、不揮発性の記録媒体ならば代用
が可能である。
The medium for recording the backup program / data and the difference data is not limited to a fixed disk, but may be replaced with a non-volatile recording medium such as a floppy disk 6, a magnetic tape bubble memory, or the like. It is.

[発明の効果] 以上説明したように本発明の交換機によれば、変更さ
れた交換処理用データのバックアップデータの保存と、
この変更された交換処理用データに起因する障害からの
復旧とが両立可能となり、障害再開処理をより安定化さ
せることができるとともに、障害再開後のデータ復旧工
事が容易になる。
[Effect of the Invention] As described above, according to the exchange of the present invention, storage of backup data of changed exchange processing data,
Recovery from a failure caused by the changed exchange processing data can be compatible, and the failure restart processing can be further stabilized, and data recovery work after the failure restart can be facilitated.

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

第1図は本発明の一実施例の蓄積プログラム型交換機の
構成を示すブロック図、第2図は同実施例における障害
再開処理方式を説明するための図、第3図は同処理動作
の流れを示すフローチャート、第4図は差分データ・フ
ァイルの内容を示す図、第5図は従来からの蓄積プログ
ラム型交換機における障害再開処理方式を説明するため
の図である。 1……CPU、2……RAM、3……ROM、4……固定ディス
ク、5……保守用コンソール、A……交換処理用プログ
ラムのファイル、B……交換処理用データのファイル、
C……差分データのファイル。
FIG. 1 is a block diagram showing a configuration of a storage program type exchange 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 flow 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 exchange. 1 ... CPU, 2 ... RAM, 3 ... ROM, 4 ... fixed disk, 5 ... maintenance console, A ... replacement processing program file, B ... replacement processing data file,
C: Difference data file.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭62−73847(JP,A) 特開 平2−213260(JP,A) 特開 昭64−25644(JP,A) 特開 平4−32343(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04M 3/22 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-62-73847 (JP, A) JP-A-2-213260 (JP, A) JP-A-64-25644 (JP, A) JP-A-4- 32343 (JP, A) (58) Field surveyed (Int. Cl. 6 , DB name) H04M 3/22

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】作業用データエリア上の交換処理用データ
を用いて交換処理を行う交換機において、 前記作業用データエリア上の交換処理用データのバック
アップデータを不揮発性の記録媒体に記録する手段と、 前記作業用データエリア上の交換処理用データと前記記
録媒体上のバックアップデータをそれぞれ部分的に変更
する手段と、 変更前の交換処理用データのうちの、前記変更された部
分に当るデータを差分データとして不揮発性の記録媒体
に記録する手段と、 前記記録媒体上の前記変更後のバックアップデータ及び
差分データを用いて、前記変更前の交換処理用データを
前記作業用データエリア上に復旧する手段と を具備することを特徴とする交換機。
1. An exchange for performing exchange processing using exchange processing data on a work data area, means for recording backup data of the exchange processing data on the work data area on a non-volatile recording medium. Means for partially changing the exchange processing data on the working data area and the backup data on the recording medium, respectively, and the data corresponding to the changed part of the exchange processing data before the change. Means for recording the difference data on a non-volatile recording medium; and using the changed backup data and the difference data on the recording medium, restoring the exchange processing data before the change on the work data area. An exchange comprising:
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 JPH04207554A (en) 1992-07-29
JP2931665B2 true 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
JPH04207554A (en) 1992-07-29

Similar Documents

Publication Publication Date Title
US5706470A (en) Disk updating log recording system
US20050262033A1 (en) Data recording apparatus, data recording method, program for implementing the method, and program recording medium
JP2931665B2 (en) switch
JPH07152627A (en) File recovery system
JPH033046A (en) Log record control system
JPH11353215A (en) Journal-after-update collecting process system
JPS63187347A (en) Data base file recovering system
JPH04184641A (en) Data base restoring system
JPH0385650A (en) Disk volume restoration system
JPH01140353A (en) System for maintaining data in data base
JP3514332B2 (en) Database backup method
JPH02287644A (en) Master file updating system
JPH1040123A (en) System and method for job management
JP3822449B2 (en) Stack saving method, stack saving program, and highly reliable computer system
JPH01214947A (en) Data preserving system
JP3260235B2 (en) How to replace external recording media
JPH0612267A (en) Batch processing system
JPH05173864A (en) File recovery system
KR100799414B1 (en) Method of Restarting Switching System at Dual Down on Standby Loading
JPH0314122A (en) Backup system for working data file against fault of magnetic disk device
JPH04209044A (en) Data base control system
JPH04250539A (en) Journal acquisition system
JPH0319046A (en) Data base restoring system
JPS60215256A (en) Output control system of replaced journal
JPH0439749A (en) Editing data store control method for data processing system

Legal Events

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