JP3589433B2 - Database guarantee method - Google Patents
Database guarantee method Download PDFInfo
- Publication number
- JP3589433B2 JP3589433B2 JP30699095A JP30699095A JP3589433B2 JP 3589433 B2 JP3589433 B2 JP 3589433B2 JP 30699095 A JP30699095 A JP 30699095A JP 30699095 A JP30699095 A JP 30699095A JP 3589433 B2 JP3589433 B2 JP 3589433B2
- Authority
- JP
- Japan
- Prior art keywords
- database
- memory
- old
- software
- new
- 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
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Stored Programmes (AREA)
Description
【0001】
【発明の属する技術分野】
本発明はデータベース保証方式に関し、更に詳しくは、CPUと、該CPUがシステム運用の際に参照・更新するデータベースを保持する運用メモリと、旧ソフトウェアを記憶する運用プログラムメモリと、新ソフトウェアを記憶するスタンバイプログラムメモリと、前記運用プログラムメモリとスタンバイプログラムメモリとの切替え・切戻しを行うバンクスイッチとを備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替え後、所定時間内に前記新ソフトウェアによる運用が定着されないことにより、旧ソフトウェアによる運用に切戻す通信システムのデータベース保証方式に関する。
【0002】
近年、通信システム(交換装置,伝送装置等)の構成はソフトウェア主導のものとなっており、その機能のエンハンスや修正はソフトウェア(データベースを含む)の入れ換えによって行われる。特に、ネットワークを構成する通信システムでは、全通信システムのソフトウェアを一斉に入れ換える必要があり、その際には、旧ソフトウェアから新ソフトウェアへの切替え処理、及び該切替えが正常に行われなかった場合の新ソフトウェアから旧ソフトウェアの切戻し処理が円滑かつ確実に行われる必要がある。
【0003】
【従来の技術】
例えば伝送装置では、遠隔より機能アップされた新ソフトウェアをスタンバイ側にダウンロードすると共に、バンクスイッチにより現用の旧ソフトウェアとダウンロードした新ソフトウェアの切替えを速やかに行う。
この時、旧ソフトウェアのデータベースと新ソフトウェアのデータベースとが異なっている場合もあるが、一般に、この種のデータベースは上位互換性を持っており、旧データベースの設定値(但し、運用により更新可)はそのまま継承し、これに新データベースの設定値を追加する形で、ソフトウェア及びデータベースが同時に版数アップされる。
【0004】
従来は、この時点で(即ち、新ソフトウェア及び新データベースの定着を待たずに)全バックアップメモリの旧データベースを新データベースで書き換えていた。
ところで、上記新ソフトウェアへの切替えを行っても、ネットワーク上の何れか1の伝送装置で新ソフトウェアへの切替えがうまく行かないと、ネットワークに対する新ソフトウェアの定着は行われず、このため各伝送装置では一斉に旧ソフトウェアへの切戻しを行う必要がある。
【0005】
【発明が解決しようとする課題】
しかし、上記従来のデータベース保証方式によると、バックアップメモリの旧データベースは新ソフトウェアへの切替の時点で全て消去されてしまうため、切戻しが発生した時は、もはや旧運用のデータベースを復元できないと言う問題があった。
【0006】
また、このために、システムの運用を旧ソウトウエアのデフォルトデータベース(初期設定値)で再開しなくてはならないと言う不都合があった。
本発明の目的は、通信システムに新プログラムが定着されず、リスタート切戻しとなった場合でも、旧運用のデータベースを確実に復元させることの可能なデータベース保証方式を提供することにある。
【0007】
【課題を解決するための手段】
上記の課題は図1(A)の構成により解決される。即ち、本発明(1)のデータベース保証方式は、CPUと、該CPUがシステム運用の際に参照・更新するデータベースを保持する運用メモリと、旧ソフトウェアを記憶する運用プログラムメモリと、新ソフトウェアを記憶するスタンバイプログラムメモリと、前記運用プログラムメモリとスタンバイプログラムメモリとの切替え・切戻しを行うバンクスイッチとを備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替え後、所定時間内に前記新ソフトウェアによる運用を定着させるための所定の定着コマンドを受信しないことにより、旧ソフトウェアによる運用に切戻す通信システムのデータベース保証方式において、前記運用メモリのデータベースをバックアップ保持するバックアップメモリ41を備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替えの際に、前記バックアップメモリ41の旧データベース(旧DB)から新運用のための新データベース(新DB)を生成し
て前記運用メモリに記憶し、新ソフトウェアによる運用を行うと共に、前記バックアップメモリ41の旧データベースをそのままに保持し、前記所定時間内における定着コマンドの受信後に、前記バックアップメモリ41の旧データベースを前記運用メモリのデータベースで書き換えるものである。
【0008】
本発明(1)によれば、通信システムに新プログラムが定着されず、リスタート切戻しとなった場合でも、バックアップメモリ41は旧データベースをそのままバックアップ保持しているので、旧運用のデータベースを確実に復元させることが可能である。
また上記の課題は図1(B)の構成により解決される。即ち、本発明(2)のデータベース保証方式は、CPUと、該CPUがシステム運用の際に参照・更新するデータベースを保持する運用メモリと、旧ソフトウェアを記憶する運用プログラムメモリと、新ソフトウェアを記憶するスタンバイプログラムメモリと、前記運用プログラムメモリとスタンバイプログラムメモリとの切替え・切戻しを行うバンクスイッチとを備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替え後、所定時間内に前記新ソフトウェアによる運用が定着されないことにより、旧ソフトウェアによる運用に切戻す通信システムのデータベース保証方式において、前記運用メモリのデータベースをバックアップ保持する揮発性バックアップメモリ41と、前記運用メモリのデータベースをバックアップ保持する第1及び第2の不揮発性バックアップメモリ521,522とを備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替えの際に、前記揮発性バックアップメモリ41の旧データベースから新運用のための新データベースを生成して前記運用メモリに記憶し、新ソフトウェアによる運用を行うと共に、前記第1及び第2の不揮発性バックアップメモリ521,522のうちの何れか一方の旧データベースをそのままに保持し、残りの一方の旧データベースを前記運用メモリのデータベースで書き換えるものである。
【0009】
本発明(2)によれば、通信システムに新プログラムが定着されず、リスタート切戻しとなった場合でも、第1又は第2の不揮発性バックアップメモリ521/522は旧データベースをそのままバックアップ保持しているので、旧運用のデータベースを確実に復元させることが可能である。しかも、第1及び第2の不揮発性バックアップメモリ521,522の記憶内容は通信システムの電源が落ちても失われないので、システムの切替え時及び切戻し時の動作信頼性が高い。
【0010】
好ましくは、本発明(3)においては、旧ソフトウェアによる運用に切戻す際に、旧ソ
フトウェアと揮発性バックアップメモリ41のデータベースとの間の整合性を検査すると共に、整合が得られた場合は該揮発性バックアップメモリ41のデータベースから旧データベースを復元し、また前記整合が得られない場合は第1及び第2の不揮発性バックアップメモリ521,522のデータベースとの間の整合性を検査すると共に、少なくとも何れか一方との間で整合が得られた場合は、該整合が得られた方のデータベースから旧データベースを復元する。
【0011】
本発明(3)によれば、システムには旧及び新の両データベースがバックアップ保持されていると共に、旧ソフトウェアとこれらのデータベースとの間の整合性の検査を経て旧ソフトウェアへの切戻しを行うので、システムは安全に立ち上がる。
また上記の課題は図1(C)の構成により解決される。即ち、本発明(4)のデータベース保証方式は、CPUと、該CPUがシステム運用の際に参照・更新するデータベースを保持する運用メモリと、旧ソフトウェアを記憶する運用プログラムメモリと、新ソフトウェアを記憶するスタンバイプログラムメモリと、前記運用プログラムメモリとスタンバイプログラムメモリとの切替え・切戻しを行うバンクスイッチとを備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替え後、所定時間内に前記新ソフトウェアによる運用が定着されないことにより、旧ソフトウェアによる運用に切戻す通信システムのデータベース保証方式において、前記運用メモリのデータベースをバックアップ保持する第1及び第2のバックアップメモリ41,52を備え、前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替えの際に、前記第1及び第2のバックアップメモリ41,52の内のいずれか一方のメモリの旧データベースから新運用のための新データベースを生成して前記運用メモリに記憶し、新ソフトウェアによる運用を行うと共に、前記第1及び第2のバックアップメモリ41,52のうちの何れか一方のメモリの旧データベースをそのままに保持し、残りの一方の旧データベースを前記運用メモリのデータベースで書き換えるものである。
【0012】
本発明(4)によれば、通信システムに新プログラムが定着されず、リスタート切戻しとなった場合でも、第1及び第2のバックアップメモリ41,52のうちの何れか一方は旧データベースをそのままバックアップ保持しているので、少ないバックアップメモリで旧運用のデータベースを確実に復元させることが可能である。
【0013】
【発明の実施の形態】
以下、添付図面に従って本発明に好適なる実施の形態を説明する。なお、全図を通して同一符号は同一又は相当部分を示すものとする。
図2は第1の実施の形態によるデータベース保証方式の構成を示す図で、図において、100は伝送装置(交換機を含む)A〜C、1は主信号の伝送を行う信号伝送部、2は不図示のCPUにより信号伝送部1の主制御を行う伝送制御部、3は制御部2の共通バス、4は主に装置全体の監視制御を行うSVユニット、41はRAMからなる一次バックアップデータベースメモリ(一次BUDBM)、5は主にデータベース(局データ,加入者データ等)の管理を行うMPユニット、51はRAMからなる運用(現用)データベースメモリ(運用DBM)、52はEEPROMからなる二次バックアップデータベースメモリ(二次BUDBM)、53はデータベースのデフォルトファイルを記憶するデフォルトデータベースメモリ、6は伝送制御部2が実行する制御プログラムの格納及び管理を行うPMユニット、61は新・旧制御プログラムの切替えをハードウエア的に行うバンクスイッチ、62はスタンバイ側のプログラムメモリ(SBPGM)、63は運用側のプログラムメモリ(運用PGM)、64はプログラム展開部、65はRAMからなるバッファメモリ(BFRAM)、7,8はユニット間でコマンドやデータのやり取りを行うための信号線、200は伝送装置A〜C間を接続する伝送路、300は通信ネットワークのエンハンス(機能アップ)に係る切替制御を行う監視制御端末装置である。
【0014】
なお、各ユニット4〜6は夫々に独自のCPU(不図示)を備えており、対応する管理・制御を行う。
伝送装置Aにおいて、該装置の運用中は、バンクSW61は運用PGM63の側に接続しており、伝送制御部2は運用PGM63の運用(旧)プログラムに従って運用DBM51の運用(旧)データベースを参照しつつ、各種の通信サービスを行う。この時、一次,二次の各BUDBM41,52は共に運用DBM51の運用(旧)データベースをバックアップ保持している。伝送装置B,Cについても同様である。
【0015】
伝送装置Aをエンハンスする時は、まず監視制御端末装置300から機能アップされた新プログラム(通常は圧縮されている)をダウンロードする。該新プログラムはSVユニット4を介してBFRAM65にバッファされ、更に展開部64により伸長されて、スタンバイ側のSBPGM62に展開される。
また、上記同一の新プログラムが信号線8,伝送路200等を介して他の伝送装置B,Cにもダウンロードされ、夫々のスタンバイ側に展開・記憶される。
【0016】
図3は第1の実施の形態によるデータベース保証方式の動作を説明する図で、上記プログラムスタンバイ展開後のプログラム切替え処理/切戻し処理を示している。
上記新プログラムのスタンバイ展開後、監視制御端末装置300から伝送装置Aに対してプログラム切替えの予約を行う。
【0017】
即ち、監視制御端末装置300からSVユニット4に所定の切替コマンドを入力すると、SVユニット4はその情報をMPユニット(M),(D)に通知する。ここで、MPユニット(M)はマザー側のボードであり、運用DBM51を含む。またMPユニット(D)はドータ側のボードであり、二次BUDBM52を含む。また、この切替コマンドには、切替実行年月日ACTDAT(例えば95/08/23)、切替予定時刻ACTTM(例えば15:00:00)、及び切替処理のタイムアウト時間VALTM(例えば00:30:00)の各情報が含まれる。そして、MPユニット(M),(D)がSVユニット4に要求の応答を返すと、SVユニット4は監視制御端末装置300にコマンドの応答を返す。
【0018】
上記同様にして、監視制御端末装置300は、伝送装置B,Cに対してプログラム切替えの予約を行う。
やがて、切替予定時刻(15:00:00)になると、全伝送装置A〜Cにおいて、各ユニットは一斉にリスタート切替処理を開始すると共に、MPユニット(M)は、一次BUDBM41の旧データベースを新データベースのフォーマットに従って変換しながら運用DBM51上に新データベースを構築する。
【0019】
ここで、図4に従い、新データベース構築の態様を説明しておく。
本システム運用の最初においては、旧プログラムに従って旧デフォルトファイルの初期設定(1)〜(5)が運用DBM51のアドレス1〜5に展開されていた。この内容は速やかに一次,二次の各BUDBM41,52にバックアップ保持される。
【0020】
その後、伝送装置Aが旧プログラムで運用されると、保守者によるデータベースの変更等が発生し、これに伴い運用DBM51の初期設定(1)〜(5)のうちの必要な部分の内容が更新されて、全体が運用(1)〜(5)と呼ばれるようになる。この内容は速やかに一次,二次の各BUDBM41,52にバックアップ保持される。
【0021】
そして、上記新プログラムのスタンバイ展開後、リスタート切替え処理が開始すると、まず一次BUDBM41の運用(1)〜(5)を運用DBM51のアドレス1〜5にコピーする。次に新デフォルトファイルの初期設定(6),(7)を運用DBM51のアドレス6,7に追加展開し、こうして新データベースの構築が行われる。
【0022】
図3に戻り、上記運用DBM51上に新データベースを構築すると、一次BUDBM41の旧データベースはそのままにして、バンクSW61を切り替え、新プログラムにより伝送装置Aを立ち上げる。併せて、SVユニット4の切替中LEDを点灯する。
その後、監視制御端末装置300からユーザ管理登録要求ACT−USERが入力すると、SVユニット4からMPユニット5にユーザ管理登録要求の旨を通知する。MPユニット5は新プログラム(新データベースを含む)による装置立ち上げが正常であると、ユーザ管理テーブルの登録を行い、登録の応答を返送する。これを受けたSVユニット4は監視制御端末装置300に登録のコマンド応答COMPLDを返送する。
【0023】
これにより、監視制御端末装置300は、伝送装置Aでは新プログラム及び新データベースが定着可能であると判断する。
監視制御端末装置300は、他の伝送装置B,Cに対してもユーザ管理登録要求ACT−USERを行い、こうして全伝送装置A〜Cより登録のコマンド応答COMPLDが得られると、全システムで新プログラム及び新データベースが定着可能であると判断する。
【0024】
これにより、監視制御端末装置300は全伝送装置A〜Cに対して一斉に定着コマンドを送り、各装置に新プログラム及び新データベースを定着させる。
これを受けた伝送装置Aでは運用DBM51の新データベースを一次,二次の各BUDBM41,52にバックアップ展開(コピー)し、切替中LEDを消灯する。他の伝送装置B,Cでも同様である。こうして、ネットワークの機能エンハンスを正常終了する。
【0025】
しかし、ネットワークのうちの何れか1の伝送装置において新プログラムへの切替えが不調に終わり、このために定着コマンドに対する応答COMPLDが返送されないと、監視制御端末装置300は規定の15時30分00秒までに定着コマンドを送信できない。その結果、各伝送装置A〜Cでは一斉にタイムアウトが発生し、旧プログラムへのリスタート切戻し処理がスタートする。
【0026】
この場合でも、本実施の形態によれば一次BUDBM41には旧データベースが存在するので、これを運用DBM51にコピー(復元)する。次いで運用DBM51の旧データベースを二次BUDBM52にバックアップ保持する。そして、旧プログラム及び旧データベースによりシステムを立ち上げる。
図5は第2の実施の形態によるデータベース保証方式の構成を示す図で、2つの二次バックアップデータベースメモリを備える場合を示す。
【0027】
図において、521はEEPROMからなる第1の二次バックアップデータベースメモリ、522はEEPROMからなる第2の二次バックアップデータベースメモリである。
図6,図7は第2の実施の形態によるデータベース保証方式の動作を説明する図(1),(2)である。
【0028】
図6において、新プログラムのスタンバイ展開後、リスタート切替え処理が開始すると、一次BUDBM41の旧データベースに基づき運用DBM51に新データベースを構築する。次いで運用DBM51の新データベースを一次BUDBM41及び第2の二次バックアップデータベースメモリ522にバックアップ保持する。但し、第1の二次バックアップデータベースメモリ521は旧データベースを保持している。なお、一次BUDBM41の旧データベースはそのまま残しても良い。
【0029】
その後、バンクSW61を切り替え、新プログラムにより伝送装置Aを立ち上げる。併せて、SVユニット4の切替中LEDを点灯する。
しかる後、定着コマンドを受信した場合は、運用DBM51の新データベースを第1の二次バックアップデータベースメモリ521にバックアップ保持する。図7において、しかし、時間内に定着コマンドが投入されず、リスタート切戻しとなった場合は、旧プログラムと一次BUDBM41のデータベースとの整合性のチェックを行い、整合が得られた場合は、一次BUDBM41の旧データベースを運用DBM51に展開(コピー)する。そして、運用DBM51の旧データベースを第1,第2の二次バックアップデータベースメモリ521,522にバックアップ保持する。
【0030】
また、上記整合が得られなかった場合は、旧プログラムと第1,第2の二次バックアップデータベースメモリ521,522のデータベースとの整合性のチェックを行い、何れか整合が得られた方(この例では第2の二次バックアップデータベースメモリ522)の旧データベースを運用DBM51に展開(コピー)する。そして、運用DBM51の旧データベースを一次BUDBM41及び第1の二次バックアップデータベースメモリ521にバックアップ保持する。
【0031】
そして、旧プログラムで装置を立ち上げ、切替中LEDを消灯する。
なお、図示しないが、上記第1の二次バックアップデータベースメモリ521を削除すると共に、リスタート切替え時の新データベースを一次BUDBM41又は第2の二次バックアップデータベースメモリ522にバックアップ保持し、かつ旧データベースを第2の二次バックアップデータベースメモリ522又は一次BUDBM41に残すように構成しても良いことは明らかである。
【0032】
また、上記本発明に好適なる複数の実施の形態を述べたが、本発明思想を逸脱しない範囲内で、構成、制御、及びこれらの組合せの様々な変更が行えることは言うまでも無い。
【0033】
【発明の効果】
以上述べた如く本発明によれば、新ファイルの運用に切替えた後、旧ファイルの運用に切戻した場合でも、システムには旧運用のデータベースが残っているので、旧ファイルの運用に確実に切戻せ、この種の通信システムの運用の信頼性が格段に向上する。
【図面の簡単な説明】
【図1】本発明の原理を説明する図である。
【図2】第1の実施の形態によるデータベース保証方式の構成を示す図である。
【図3】第1の実施の形態によるデータベース保証方式の動作を説明する図である。
【図4】第1の実施の形態による新データベース構築の態様を説明する図である。
【図5】第2の実施の形態によるデータベース保証方式の構成を示す図である。
【図6】第2の実施の形態によるデータベース保証方式の動作を説明する図(1)である。
【図7】第2の実施の形態によるデータベース保証方式の動作を説明する図(2)である。
【符号の説明】
1 信号伝送部
2 伝送制御部
41 一次バックアップデータベースメモリ
51 運用データベースメモリ
52 二次バックアップデータベースメモリ
100 伝送装置
200 伝送路
300 監視制御端末装置[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a database assurance method, and more specifically, stores a CPU, an operation memory for holding a database that the CPU refers to and updates during system operation, an operation program memory for storing old software, and storing new software. A standby program memory, and a bank switch for switching / switching back and forth between the operation program memory and the standby program memory. After switching from the old software of the CPU to the operation by the new software , the CPU uses the new software within a predetermined time. The present invention relates to a database assurance method for a communication system in which the operation is not fixed and the operation returns to the operation using old software.
[0002]
2. Description of the Related Art In recent years, the configuration of communication systems (switching devices, transmission devices, and the like) has been led by software, and the enhancement and modification of their functions are performed by replacing software (including databases). In particular, in a communication system constituting a network, it is necessary to simultaneously replace software of all communication systems, and in this case, a process of switching from old software to new software, and a case where the switching is not performed normally. There is a need for smooth and reliable switchback processing of new software to old software.
[0003]
[Prior art]
For example, in a transmission device, new software whose function has been improved from a remote location is downloaded to the standby side, and switching between the current old software and the downloaded new software is quickly performed by a bank switch.
At this time, the database of the old software and the database of the new software may be different, but generally, this kind of database has upward compatibility, and the setting value of the old database (however, it can be updated by operation) The software and the database are upgraded at the same time by inheriting the same as it is, and adding the setting value of the new database to this.
[0004]
Conventionally, at this point (that is, without waiting for the new software and the new database to be established), the old database in all the backup memories is rewritten with the new database.
By the way, even if the switching to the new software is performed, if the switching to the new software is not successfully performed by any one of the transmission devices on the network, the new software is not fixed to the network. It is necessary to switch back to the old software all at once.
[0005]
[Problems to be solved by the invention]
However, according to the conventional database assurance method, the old database in the backup memory is completely erased at the time of switching to the new software. Therefore, when a failback occurs, it is no longer possible to restore the old operation database. There was a problem.
[0006]
In addition, for this reason, there is an inconvenience that the operation of the system must be restarted with the default database (initial setting value) of the old software.
SUMMARY OF THE INVENTION An object of the present invention is to provide a database assurance method capable of reliably restoring a database of an old operation even when a new program is not fixed in a communication system and restart switching back is performed.
[0007]
[Means for Solving the Problems]
The above problem is solved by the structure in FIG. That is, the database assurance method of the present invention (1) includes a CPU, an operation memory for holding a database that the CPU refers to and updates during system operation, an operation program memory for storing old software, and a storage for new software. A standby program memory for switching between the operation program memory and the standby program memory, and a bank switch for switching back and forth between the operation program memory and the standby program memory. by not receiving a predetermined fixing command for fixing operation by, in the database guarantees scheme of the communication system to return switching to the operation by the old software, including a
[0008]
According to the present invention (1), even when the new program is not fixed in the communication system and the restart switching is performed, the
The above problem is solved by the structure in FIG. That is, the database assurance method of the present invention (2) includes a CPU, an operation memory for holding a database which the CPU refers to and updates during system operation, an operation program memory for storing old software, and a storage for new software. and standby program memory, and a bank switch for switching-off the return of the operation program memory and a standby program memory, after the switching from the old software of the CPU to operate under the new software, the new software within a predetermined time backup by operation is not fixed, the database guarantees scheme of the communication system to return switching to the operation by the old software, a
[0009]
According to the present invention (2), even when the new program is not fixed in the communication system and the restart switching is performed, the first or second
[0010]
Preferably, in the present invention (3), when switching back to the operation by the old software, the consistency between the old software and the database of the
[0011]
According to the present invention (3), both the old and new databases are backed up in the system, and the system is switched back to the old software after checking the consistency between the old software and these databases. So the system comes up safely.
The above problem is solved by the structure in FIG. That is, the database assurance method of the present invention (4) includes a CPU, an operation memory for holding a database that the CPU refers to and updates during system operation, an operation program memory for storing old software, and a storage for new software. and standby program memory, and a bank switch for switching-off the return of the operation program memory and a standby program memory, after the switching from the old software of the CPU to operate under the new software, the new software within a predetermined time by operating according to is not fixed, the database guarantees scheme of the communication system to return switching to the operation by the old software, comprising first and
[0012]
According to the present invention (4) is not new program fixing the communication system, even when a restart failback, either one of the first and
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. Note that the same reference numerals indicate the same or corresponding parts throughout the drawings.
FIG. 2 is a diagram showing the configuration of the database assurance system according to the first embodiment. In the figure,
[0014]
Each of the
In the transmission device A, during operation of the device, the bank SW 61 is connected to the
[0015]
When enhancing the transmission apparatus A, first, a new program (normally compressed) whose function has been upgraded is downloaded from the monitoring
The same new program is also downloaded to the other transmission apparatuses B and C via the signal line 8, the transmission path 200, etc., and is developed and stored in each standby side.
[0016]
FIG. 3 is a diagram for explaining the operation of the database assurance method according to the first embodiment, and shows a program switching process / return process after the above-mentioned program standby development.
After the standby development of the new program, the supervisory
[0017]
That is, when a predetermined switching command is input from the monitoring
[0018]
In the same manner as described above, the supervisory
Eventually, at the scheduled switching time (15:00: 00), in all the transmission devices A to C, each unit starts the restart switching process at the same time, and the MP unit (M) replaces the old database of the
[0019]
Here, the manner of constructing a new database will be described with reference to FIG.
At the beginning of the operation of this system, the initial settings (1) to (5) of the old default file are expanded to
[0020]
Thereafter, when the transmission device A is operated by the old program, a database change or the like by the maintenance person occurs, and accordingly, the contents of necessary portions of the initial settings (1) to (5) of the
[0021]
Then, when the restart switching process is started after the new program is placed on standby, first, the operations (1) to (5) of the
[0022]
Returning to FIG. 3, when a new database is constructed on the
Thereafter, when a user management registration request ACT-USER is input from the monitoring
[0023]
Thereby, the monitoring
The supervisory
[0024]
As a result, the monitoring and control
Upon receiving this, the transmission apparatus A backs up (copies) the new database of the
[0025]
However, if the switching to the new program ends abnormally in any one of the transmission devices of the network, and therefore, a response COMPLD to the fixing command is not returned, the monitoring
[0026]
Even in this case, according to the present embodiment, since the old database exists in the
FIG. 5 is a diagram showing the configuration of the database guarantee system according to the second embodiment, showing a case where two secondary backup database memories are provided.
[0027]
In the figure,
6 and 7 are diagrams (1) and (2) for explaining the operation of the database assurance method according to the second embodiment.
[0028]
In FIG. 6, when the restart switching process is started after the standby development of the new program, a new database is constructed in the
[0029]
After that, the bank SW61 is switched, and the transmission device A is started up by the new program. At the same time, the switching LED of the
Thereafter, when the fixing command is received, the new database of the
[0030]
If the above-mentioned consistency is not obtained, the consistency between the old program and the databases of the first and second secondary
[0031]
Then, the apparatus is started by the old program, and the switching LED is turned off.
Although not shown, the first secondary
[0032]
Although the preferred embodiments of the present invention have been described, it goes without saying that various changes in the configuration, control, and combinations thereof can be made without departing from the spirit of the present invention.
[0033]
【The invention's effect】
As described above, according to the present invention, even when switching back to the operation of the old file after switching to the operation of the new file, the database of the old operation remains in the system, so that the operation of the old file is surely performed. The reliability of the operation of this type of communication system is greatly improved.
[Brief description of the drawings]
FIG. 1 is a diagram illustrating the principle of the present invention.
FIG. 2 is a diagram showing a configuration of a database guarantee system according to the first embodiment.
FIG. 3 is a diagram for explaining the operation of the database assurance method according to the first embodiment;
FIG. 4 is a diagram for explaining an aspect of constructing a new database according to the first embodiment.
FIG. 5 is a diagram showing a configuration of a database guarantee system according to a second embodiment.
FIG. 6 is a diagram (1) illustrating the operation of the database guarantee system according to the second embodiment.
FIG. 7 is a diagram (2) illustrating the operation of the database assurance method according to the second embodiment.
[Explanation of symbols]
REFERENCE SIGNS
Claims (4)
前記運用メモリのデータベースをバックアップ保持するバックアップメモリを備え、
前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替えの際に、前記バックアップメモリの旧データベースから新運用のための新データベースを生成して前記運用メモリに記憶し、新ソフトウェアによる運用を行うと共に、前記バックアップメモリの旧データベースをそのままに保持し、前記所定時間内における定着コマンドの受信後に、前記バックアップメモリの旧データベースを前記運用メモリのデータベースで書き換えることを特徴とするデータベース保証方式。A CPU, an operation memory for holding a database that the CPU refers to and update during system operation, an operation program memory for storing old software, a standby program memory for storing new software, the operation program memory and a standby program A bank switch for switching / returning to / from a memory , receiving a predetermined fixing command for fixing the operation by the new software within a predetermined time after switching from the old software of the CPU to the operation by the new software. By not doing so, in the database guarantee method of the communication system that switches back to the operation by the old software,
A backup memory for backing up and holding a database of the operation memory,
When switching from the old software of the CPU to the operation by the new software, a new database for the new operation is generated from the old database of the backup memory and stored in the operation memory, and the operation by the new software is performed. A database assurance method, wherein the old database in the backup memory is kept as it is, and after receiving the fixing command within the predetermined time, the old database in the backup memory is rewritten with the database in the operation memory.
前記運用メモリのデータベースをバックアップ保持する揮発性バックアップメモリと、
前記運用メモリのデータベースをバックアップ保持する第1及び第2の不揮発性バックアップメモリとを備え、
前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替えの際に、前記揮発性バックアップメモリの旧データベースから新運用のための新データベースを生成して前記運用メモリに記憶し、新ソフトウェアによる運用を行うと共に、前記第1及び第2の不揮発性バックアップメモリのうちの何れか一方の旧データベースをそのままに保持し、残りの一方の旧データベースを前記運用メモリのデータベースで書き換えることを特徴とするデータベース保証方式。 A CPU, an operation memory for holding a database that the CPU refers to and update during system operation, an operation program memory for storing old software, a standby program memory for storing new software, the operation program memory and a standby program A bank switch for switching and switching back to and from the memory, and after switching from the old software of the CPU to the operation by the new software, the operation by the new software is not fixed within a predetermined time, so that the operation by the old software can be performed. In the database guarantee method of the communication system to switch back,
A volatile backup memory for backing up a database of the operation memory ,
First and second non-volatile backup memories for backing up the database of the operation memory ,
When switching from the old software of the CPU to the operation by the new software, a new database for the new operation is generated from the old database of the volatile backup memory and stored in the operation memory, and the operation by the new software is performed. A database assurance method, wherein one of the first and second nonvolatile backup memories is retained as it is, and the other one of the old databases is rewritten with the database of the operation memory. .
クアップメモリのデータベースとの間の整合性を検査すると共に、整合が得られた場合は該揮発性バックアップメモリのデータベースから旧データベースを復元し、また前記整合が得られない場合は第1及び第2の不揮発性バックアップメモリのデータベースとの間の整合性を検査すると共に、少なくとも何れか一方との間で整合が得られた場合は、該整合が得られた方のデータベースから旧データベースを復元することを特徴とする請求項2のデータベース保証方式。When returning to the operation by the old software, the consistency between the old software and the database of the volatile backup memory is checked, and when the consistency is obtained, the old database is restored from the database of the volatile backup memory. If the match is not obtained, the consistency between the database of the first and second non-volatile backup memories is checked , and if the match is obtained with at least one of the databases , database assurance system of claim 2, characterized in that to restore the old database from a database of those who have integer if obtained.
前記運用メモリのデータベースをバックアップ保持する第1及び第2のバックアップメモリを備え、
前記CPUの旧ソフトウェアから新ソフトウェアによる運用への切替えの際に、前記第1及び第2のバックアップメモリの内のいずれか一方のメモリの旧データベースから新運用のための新データベースを生成して前記運用メモリに記憶し、新ソフトウェアによる運 用を行うと共に、前記第1及び第2のバックアップメモリのうちの何れか一方のメモリの旧データベースをそのままに保持し、残りの一方の旧データベースを前記運用メモリのデータベースで書き換えることを特徴とするデータベース保証方式。 A CPU, an operation memory for holding a database that the CPU refers to and update during system operation, an operation program memory for storing old software, a standby program memory for storing new software, the operation program memory and a standby program A bank switch for switching and switching back to and from the memory, and after switching from the old software of the CPU to the operation by the new software, the operation by the new software is not fixed within a predetermined time, so that the operation by the old software can be performed. In the database guarantee method of the communication system to switch back,
A first and a second backup memory for backing up the database of the operation memory ,
When switching from the old software of the CPU to operate according to the new software, said generated new database for the new active from any previous database of one memory of the first and second backup memory stored in the operational memory, performs for luck by new software, either holds one of the old database memory intact of the first and second backup memory, the operation of the remaining one of the previous database A database assurance method characterized by rewriting with a memory database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30699095A JP3589433B2 (en) | 1995-11-27 | 1995-11-27 | Database guarantee method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP30699095A JP3589433B2 (en) | 1995-11-27 | 1995-11-27 | Database guarantee method |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH09146814A JPH09146814A (en) | 1997-06-06 |
JP3589433B2 true JP3589433B2 (en) | 2004-11-17 |
Family
ID=17963693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP30699095A Expired - Fee Related JP3589433B2 (en) | 1995-11-27 | 1995-11-27 | Database guarantee method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3589433B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4911959B2 (en) * | 2005-12-02 | 2012-04-04 | 株式会社日立製作所 | Distributed monitoring and control system |
CN104025047B (en) | 2012-01-05 | 2017-06-06 | 三菱电机株式会社 | Information processor, information processing method and computer program |
-
1995
- 1995-11-27 JP JP30699095A patent/JP3589433B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JPH09146814A (en) | 1997-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0687975B1 (en) | Method and system for downloading data to network nodes | |
US6971095B2 (en) | Automatic firmware version upgrade system | |
JP3140906B2 (en) | How to update and restore system files | |
US20050193390A1 (en) | Program downloading method, program switching method and network apparatus | |
US6654880B1 (en) | Method and apparatus for reducing system down time by restarting system using a primary memory before dumping contents of a standby memory to external storage | |
JPH09168015A (en) | Method and device for data backup of data communication terminal equipment | |
JP3589433B2 (en) | Database guarantee method | |
JPH117382A (en) | Version-up method for firmware | |
US20050268188A1 (en) | Backup method, backup system, disk controller and backup program | |
JP2011053780A (en) | Restoration system, restoration method and backup control system | |
JP2003228490A (en) | Terminal equipment connected to network, and network system using the same | |
JP2001154896A (en) | Computer and method for updating file | |
WO2002099641A1 (en) | Method and apparatus for maintaining consistent data | |
US7617175B1 (en) | Method and apparatus for upgrading a database in a redundant environment by release chaining | |
JPH0689181A (en) | System for updating program by down load | |
JP2001067214A (en) | Computer system and program file updating method | |
JPH05158703A (en) | Remote down loading system for software | |
JPH09237182A (en) | Communication equipment | |
JP2972742B1 (en) | Control program update method | |
JPH11298550A (en) | Communication system and communication equipment | |
KR20020041005A (en) | Remote software upgrade method and system in optical network | |
JP2002041298A (en) | Computer, automatic resource application processing program, and record medium of automatic resource application processing program | |
JPH10336191A (en) | Communication network system | |
JPH09190354A (en) | Down line load system | |
JP2005078336A (en) | Image forming apparatus and program rewriting method for image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040601 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040625 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20040810 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20040816 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080827 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090827 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090827 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100827 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110827 Year of fee payment: 7 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120827 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120827 Year of fee payment: 8 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130827 Year of fee payment: 9 |
|
LAPS | Cancellation because of no payment of annual fees |