JP4137450B2 - Data processing device that can continue processing with backup data - Google Patents

Data processing device that can continue processing with backup data Download PDF

Info

Publication number
JP4137450B2
JP4137450B2 JP2002002799A JP2002002799A JP4137450B2 JP 4137450 B2 JP4137450 B2 JP 4137450B2 JP 2002002799 A JP2002002799 A JP 2002002799A JP 2002002799 A JP2002002799 A JP 2002002799A JP 4137450 B2 JP4137450 B2 JP 4137450B2
Authority
JP
Japan
Prior art keywords
data
flash memory
storage means
failure
written
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
JP2002002799A
Other languages
Japanese (ja)
Other versions
JP2003203017A (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.)
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 JP2002002799A priority Critical patent/JP4137450B2/en
Publication of JP2003203017A publication Critical patent/JP2003203017A/en
Application granted granted Critical
Publication of JP4137450B2 publication Critical patent/JP4137450B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Communication Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は,記憶装置に障害が発生しても処理を停止することなく続行可能なデータ処理装置,データ記憶方法,およびデータ読み出し方法に関する。
【0002】
【従来の技術】
メモリ,たとえばフラッシュメモリに記憶されたプログラムがCPUにより実行される処理装置では,フラッシュメモリの障害に起因するデータ(プログラム命令等)の誤りによって,処理装置がハングアップ(暴走)することがある。このため,このようなハングアップを防止するために,フラッシュメモリの障害が検出されると,CPUを停止させる等の処理が行われている。
【0003】
たとえば,非同期転送モード(ATM:Asynchronous Transfer Mode)により通信を行う加入者ライン端末装置(SLT:Subscriber Line Terminal)は,該装置の監視制御に関する運用情報のバックアップやCPUのアプリケーションプログラム(たとえば遠隔装置からの制御を受けるためのアプリケーションプログラム)をフラッシュメモリに記憶している。
【0004】
このフラッシュメモリに障害が発生した場合に,SLTの処理を実行しているCPUはその処理を停止する。そして,フラッシュメモリの取り替え等を行い,障害が回復した後に,処理が再開されるようになっている。
【0005】
【発明が解決しようとする課題】
しかし,CPU,すなわちSLTが障害回復までの間処理を停止していると,監視機能が停止し,場合によっては,ユーザデータ(主信号)の運用面/非運用面の切り換えが行えず,回線断などの致命的な障害を引き起こすおそれがある。
【0006】
また,遠隔装置からSLTの制御ができなくなり,オペレータからSLTの状態が見えなくなる障害が発生する。
【0007】
本発明は,このような状況に鑑みなされたものであり,その目的は,記憶装置(メモリ)に記憶されたデータに基づいて処理を実行する処理装置において,該記憶装置に障害が発生した場合であっても,その処理を停止することなく継続できる処理装置を提供することにある。
【0008】
【課題を解決するための手段】
前記目的を達成するために,本発明の第1の側面によるデータ処理装置は,通信回線を介して外部のデータ記憶装置と接続され,データに対して所定の処理を行うデータ処理装置であって,データを記憶する記憶手段と,前記記憶手段に前記データを書き込む書き込み手段と,前記書き込み手段による前記記憶手段へのデータの書き込み前または書き込み後に,該データを前記通信回線を介して前記外部のデータ記憶装置に送信する送信手段と,を備えている。
【0009】
また,本発明の第1の側面によるデータ記憶方法は,データを記憶する記憶手段にデータを書き込む前または書き込んだ後に,該データを,通信回線を介して接続された外部のデータ記憶装置に送信し,前記記憶手段に障害が検出されると,前記外部のデータ記憶装置から前記通信回線を介してデータを受信するものである。
【0010】
さらに,本発明の第1の側面によるプログラムは,前記データ記憶方法をコンピュータに実行させるものである。
【0011】
本発明の第1の側面によると,記憶手段へのデータの書き込み前または書き込み後に,該データが前記通信回線を介して前記外部のデータ記憶装置に送信される。この送信されたデータは,外部のデータ記憶装置に記憶される。したがって,記憶手段に障害が発生し,記憶手段に記憶されたデータが正しく読み出せないまたは記憶手段にデータを正しく書き込めない場合であっても,データ処理装置はこのデータを外部の記憶装置からデータを受信し,受信したデータによって処理を実行することができる。これにより,記憶手段に障害が生じても,処理を停止することなく継続することができる。
【0012】
本発明の第2の側面によるデータ処理装置は,バックアップ用のデータがあらかじめ記憶されている外部のデータ記憶装置と通信回線を介して接続され,データに対して所定の処理を行うデータ処理装置であって,データを記憶する記憶手段と,前記記憶手段に記憶されたデータを読み出す際に,前記記憶手段の障害の有無を検査する検査手段と,前記検査手段により障害が検出されると,前記読み出したデータのバックアップ用のデータを前記通信回線を介して前記外部のデータ記憶装置から受信する受信手段と,を備えている。
【0013】
また,本発明の第2の側面によるデータ読み出し方法は,バックアップ用のデータがあらかじめ記憶されている外部のデータ記憶装置と通信回線を介して接続され,データに対して所定の処理を行うデータ処理装置のデータ読み出し方法であって,データを記憶する記憶手段に記憶されたデータを読み出す際に,前記記憶手段の障害の有無を検査し,前記検査により障害を検出すると,前記読み出したデータのバックアップ用のデータを前記通信回線を介して前記外部のデータ記憶装置から受信するものである。
【0014】
本発明の第2の側面によると,記憶手段に記憶されたデータを読み出す際に,記憶手段の障害の有無が検査され,障害が検出されると,読み出したデータのバックアップ用のデータが通信回線を介して外部のデータ記憶装置から受信される。したがって,このデータを受信した装置は,受信したデータにより処理を実行することができる。したがって,記憶手段に障害が生じても,処理を停止することなく継続することができる。
【0015】
【発明の実施の形態】
図1は,本発明の一実施の形態による通信システムの構成を示すブロック図である。この通信システムは,エレメントマネージャ1,加入者ライン端末(SLT:Subscriber Line Terminal)21および22,光ライン端末装置(OLT:Optical Line Termination)31〜34,ならびにユーザ端末41〜48を有する。
【0016】
この通信システムは,ユーザ端末41〜48を使用するエンドユーザのデータ(ユーザの音声,テキストデータ,画像データ等であり,以下「ユーザデータ」という。)をスイッチング(交換)するデータ交換ネットワークである。
【0017】
ここでは,一例として,2つのSLT21および22を示しているが,SLTは1つであってもよいし,3つ以上であってもよい。また,OLTも各SLTに対して2つずつ示しているが,これ以外の個数であってもよい。さらに,ユーザ端末も図示する個数以外のものが設けられてもよい。以下では,SLT21および22を特に区別する必要がある場合を除き「SLT2」と総称する。同様にして,OLT31〜34をOLT3と総称し,ユーザ端末41〜48をユーザ端末4と総称する。
【0018】
エレメントマネージャ1とSLT2との間は,通信ネットワーク(たとえばイーサネット等のLAN)5により接続されている。エレメントマネージャ1およびSLT2は,通信ネットワーク5における識別情報(たとえばIPアドレス)を有し,この識別情報に基づいて相互に通信する。
【0019】
SLT2同士の間,および,SLT2とOLT3との間は,光ファイバケーブルにより接続され,これらの間では,非同期転送モード(ATM:Asynchronous Transfer Mode)によりデータが通信される。OLT3とユーザ端末4との間は,ユーザ端末4に応じて,光ファイバケーブルまたは電気回線により接続され,これらの間では,ユーザ端末に応じてATM,IPパケット等によりデータが通信される。
【0020】
エレメントマネージャ1は,コンピュータ,ワークステーション等により構成される。エレメントマネージャ1は,SLT2に必要なプログラム(たとえばファームウェア)をSLT2に通信ネットワーク5を介して送信するとともに,後述するように,SLT2から通信ネットワーク5を介して送信されるプログラム,監視情報等のデータを記憶装置(ハードディスク,光ディスク,半導体メモリ等)11にバックアップ用として記憶する。そして,SLT2の内部のメモリに障害が発生し,SLT2がメモリに記憶されたデータを使用できなくなった場合等に,エレメントマネージャ1は,バックアップ用として記憶装置11に記憶されたデータをSLT2に送信する。
【0021】
ユーザ端末4は,エンドユーザが使用する端末であり,たとえば電話器,パソコン等である。ユーザ端末4は,ユーザデータをOLT3に送信する。OLT3は,自己に接続されたユーザ端末4またはSLT2からのユーザデータを他のユーザ端末4またはSLT2にスイッチング(交換)する。SLT2は,ユーザ端末4からOLT3を介して送信されたユーザデータを他のOLT3または他のSLT2に交換する。
【0022】
図2は,SLT2の詳細な構成を示すブロック図である。SLT2は,監視装置21,スイッチ22,およびインタフェース装置23〜25を有する。
【0023】
インタフェース装置23は他のSLT2に接続され,インタフェース装置24および25はOLT3に接続される。インタフェース装置23〜25は,電気信号と光信号の相互変換,レイヤ1(および2)の通信プロトコルの処理等を行う。インタフェース装置23〜25は,それぞれ2つ設けられ,一方に障害が発生した場合には,監視装置21によって切り替えられ,他方が使用されるようになっている。
【0024】
スイッチ22は,インタフェース装置24または25を介して入力されるOLT3からのユーザデータおよびインタフェース装置23を介して入力される他のSLT2からのユーザデータのスイッチングを行い,これらのユーザデータを他のインタフェース装置に出力する。
【0025】
監視装置21は,スイッチ22およびインタフェース装置23〜24の状態の監視,インタフェース装置23〜25の切り替え等を行う。図3は,監視装置21の詳細な構成を示すブロック図である。また,図4は,監視装置21のフラッシュメモリユニット36の詳細な構成を示すブロック図である。
【0026】
監視装置21は,LAN(Local Area Network)ポート31,CPU32,ブートROM33,管理情報格納用EEPROM34,ワーク用SDRAM35,およびフラッシュメモリユニット36を有する。フラッシュメモリユニット36は,4つのフラッシュメモリ41a〜41d,4つのパリティチェック回路42a〜42d,ならびにレジスタ43および44を有する。
【0027】
CPU32,LANポート31,ブート用ROM33,管理情報格納用EEPROM34,ワーク用SDRAM35,およびフラッシュメモリユニット36は,バス(アドレスバスおよびデータバスを含む。)により相互に接続されている。
【0028】
LANポート31は,インターネット5を介してエレメントマネージャ1と通信するためのインタフェース装置であり,主としてレイヤ1および2の通信プロトコルの処理を実行する。
【0029】
ブートROM33は,SLT2(監視装置21)の立ち上げ時に起動されるブートプログラムを記憶している。管理情報格納用EEPROM34には,このSLT2の識別情報(IPアドレス,MACアドレス)等の管理情報が記憶される。ワーク用SDRAM35は,CPU32のワーク領域に使用されるメモリであり,フラッシュメモリユニット36に記憶されたプログラム,CPU32の処理により生成されるデータ等が一時的に記憶される。
【0030】
フラッシュメモリユニット36には,SLT2のバックアップ用の運用情報,アプリケーションプログラム(ファームウェア)等が記憶される。アプリケーションプログラムは,複数種類のものが設けられても良い。この場合には,アプリケーションプログラムの種類の個数に応じたフラッシュメモリユニット36が設けられることがある。
【0031】
フラッシュメモリユニット36のフラッシュメモリ41a〜41dは同一の構成を有するフラッシュメモリである。フラッシュメモリ41a〜41dのそれぞれの各メモリセルは一例として9ビットを有する。9ビットのうちの8ビットにはデータ(アプリケーションプログラムの命令,運用情報等)が記憶され,残りの1ビットには8ビットのデータに対するパリティチェックビットが記憶される。
【0032】
フラッシュメモリ41a〜41dへのデータ書き込み時に,CPU32は,データの書き込み先のメモリセルを指定するアドレスおよび書き込むためのデータ(ならびに図示しない信号線により書き込み信号)をフラッシュメモリ41a〜41dに出力する。アドレスはフラッシュメモリ41a〜41dに同時に与えられる。書き込むためのデータは32ビットであり,この32ビットデータは,第1ビットから第32ビットに向けて4つの8ビットデータに分けられ,各8ビットデータは,フラッシュメモリ41a〜41dにそれぞれ与えられ,アドレスが示すメモリセルに記憶される。
【0033】
このデータ書き込み時に,各8ビットデータは,パリティチェック回路42a〜42dにも与えられる。パリティチェック回路42a〜42dは,各8ビットデータのパリティビットを生成し,このパリティビットを,アドレスで示されるフラッシュメモリ41a〜41dの各メモリセルの第9ビットにそれぞれ書き込む。パリティビットは,奇数パリティであってもよいし,偶数パリティであってもよい。
【0034】
一方,フラッシュメモリ41a〜41dからのデータ読み出し時に,CPU32は,データの読み出し先のメモリセルを指定するアドレス(および図示しない信号線により読み出し信号)をフラッシュメモリ41a〜41dに出力する。フラッシュメモリ41a〜41dは,アドレスにより指定されたメモリセルから,それぞれ8ビットデータを出力する。これにより,合計32ビットデータが読み出され,CPU32に与えられる。
【0035】
このデータ読み出し時に,フラッシュメモリ41a〜41dからの各8ビットデータに加えて,各8ビットデータに対応するパリティチェックビットが,フラッシュメモリ41a〜41dからパリティチェック回路42a〜42dにそれぞれ与えられる。
【0036】
パリティチェック回路42a〜42dは,フラッシュメモリ41a〜41dからそれぞれ与えられた8ビットデータおよびパリティチェックビットを照合することによりパリティチェックを行い,チェック結果をレジスタ43に出力する。チェック結果は,たとえばパリティエラーが生じている場合には1ビットデータの“1”であり,正常な場合(パリティエラーが生じていない場合)には1ビットデータの“0”である。
【0037】
レジスタ43は,たとえば4ビットを有する。各ビットはパリティチェック回路42a〜42dにそれぞれ対応し,パリティチェック回路42a〜42dのチェック結果を記憶する。したがって,4ビットのいずれが“1”であるかによって,フラッシュメモリ41a〜41dのいずれがパリティエラーを起こしているかを判断することができる。
【0038】
レジスタ43に記憶されたチェック結果は,CPU32により読み出され,パリティエラーの有無がCPU32により判断される。
【0039】
レジスタ44はたとえば4ビットを有し,各ビットはフラッシュメモリ41a〜41dのそれぞれのビジー信号の出力の有無を記憶する。このビジー信号は,フラッシュメモリ41a〜41dにデータを書き込んだ後,または,フラッシュメモリ41a〜41dに記憶されたデータを消去した後に,所定の時間の間,フラッシュメモリ41a〜41dから出力される信号である。このビジー信号が出力されている間,データの書き込みおよび消去を行うことができず,またデータを読み出す場合も,ビジー信号出力中は,データの値がトグル状態(後述)にあり,一定していないので,正確なデータを読み出すことはできない。
【0040】
ビジー信号が出力される所定の時間は,フラッシュメモリ41a〜41dに使用されるメモリ回路(たとえば半導体チップ)の種類に応じてあらかじめ定まっている。また,データ書き込み後にビジー信号が出力される時間と,データ消去後にビジー信号が出力される時間とは,同じ場合もあるし,異なる場合もある。以下では,データ消去後にビジー信号が出力される時間をT1とし,データ書き込み後にビジー信号が出力される時間をT2とする。
【0041】
なお,フラッシュメモリ41にデータを書き込む場合には,一旦,データを書き込むアドレスのメモリセルのデータが消去された後,データが書き込まれる。
【0042】
このビジー信号が出力されている間,レジスタ44の対応するビットは“1”に設定され,ビジー信号の出力が停止すると,該ビットは“0”に設定される。
【0043】
このレジスタ44に記憶された4ビットデータは,CPU32により読み出される。CPU32は,データ書き込み後,たとえばウォッチドックタイマ等で時間T2を計測し,時間T2経過後もレジスタ44のビットの値が“1”である場合には,そのビットに対応するフラッシュメモリに障害が発生していると判断することができる。
【0044】
同様にして,CPU32は,データ消去後,時間T1を計測し,時間T1経過後もレジスタ44のビットの値が“1”である場合には,そのビットに対応するフラッシュメモリに障害が発生していると判断することができる。
【0045】
なお,ビジー信号の出力端子を有しないフラッシュメモリもある。この場合には,ポーリングにより障害の有無がチェックされる。すなわち,CPU32は,データ書き込み後,所定の時間間隔で書き込んだデータを読み出す。データ書き込み後の時間T2の間は,読み出されたデータの少なくとも1ビットは“0”と“1”とを交互に繰り返すトグル状態にある。一方,時間T2経過後,フラッシュメモリが正常である場合には,トグル状態が解消され,書き込んだデータを正確に読み出すことができるようになっている。フラッシュメモリに障害が発生している場合には,トグル状態が解消されず,書き込んだデータを正確に読み出すことはできない。
【0046】
したがって,CPU32は,時間T2の経過後においても,フラッシュメモリがトグル状態にあるかどうかをポーリングにより判断することによって,フラッシュメモリが正常であるか,障害が発生しているかを判断することができる。
【0047】
データ消去後も,同様にして時間T1経過後におけるトグル状態の有無をポーリングにより検知することによって,フラッシュメモリの障害の有無を判断することができる。
【0048】
このような構成の通信システムにおいて,SLT2のフラッシュメモリ41a〜41d(以下,特に区別する必要がある場合を除き「フラッシュメモリ41」と総称する。)に障害が発生した場合において,CPU32を停止することなく,処理を継続するためのCPU32(SLT2)の処理について以下に説明する。この処理には,いくつかの方法があるので,以下では分けて説明する。
【0049】
(1)第1の方法
第1の方法は,パリティエラーの発生したデータの部分をエレメントマネージャ1から受け取るものである。図5は,第1の方法による処理の流れを示すフローチャートである。
【0050】
ステップS2は,CPU32がたとえばブートROM33に記憶されたブートプログラム,または,フラッシュメモリ41もしくはワーク用SDRAM35に記憶されたアプリケーションプログラムの実行中において,フラッシュメモリ41にデータを書き込む際に実行される処理である。
【0051】
ブートプログラムまたはアプリケーションプログラムの実行中にフラッシュメモリ41へのデータ(たとえば監視情報)の書き込みが行われると(S1),CPU32は,フラッシュメモリ41へのデータの書き込み後,同じデータをパケットにより,LANポート31を介してエレメントマネージャ1に送信する(S2)。
【0052】
図6は,SLT2からエレメントマネージャ1に送信されるパケット(ペイロード部)のデータ構造を示している。このパケットは,たとえばIPパケットであり,図6では,パケットのヘッダ部の図示を省略し,ペイロード部のみを図示している。パケットのペイロード部には,SLT識別情報,フラッシュメモリ識別情報,アドレス,およびデータが含まれる。
【0053】
「SLT識別情報」は,データを送信するSLT2の識別情報(たとえばIPアドレス)である。
【0054】
「フラッシュメモリ識別情報」は,フラッシュメモリをメモリ回路(半導体チップ)単位で識別するための情報である。たとえば,図4に示す構成では,フラッシュメモリ41a〜41dの個々を識別する情報がフラッシュメモリ識別情報となる。また,前述したようにフラッシュメモリユニット36がアプリケーションプログラムの種類に応じて複数個設けられている場合に各フラッシュメモリユニット36の識別情報および該フラッシュメモリユニット36の内部におけるメモリ回路単位の識別情報である。
【0055】
「アドレス」は,データを書き込んだフラッシュメモリ41のアドレスであり,「データ」は,フラッシュメモリ41に書き込まれたデータである。
【0056】
なお,SLT2から送信されるパケットがIPパケットの場合に,送信元のSLT2のIPアドレスはIPパケットのヘッダ部に含まれるので,この場合には「SLT識別情報」は省略可能である。
【0057】
エレメントマネージャ1は,SLT2から送信されたパケットを自己の記憶装置11に記憶する。エレメントマネージャ1の記憶装置11に記憶されるデータ構造も,図6に示すパケットのペイロード部のデータ構造と同じである。
【0058】
このようにして,CPU32がフラッシュメモリ41に書き込んだデータと同一のデータがエレメントマネージャ1にバックアップ用として保存され,エレメントマネージャ1は,フラッシュメモリ41に記憶されたデータと同一内容のデータを有する。なお,ステップS1の前にステップS2が実行されてもよい。
【0059】
一方,ステップS4〜S7は,CPU32がたとえばブートプログラムまたはアプリケーションプログラムの実行中において,フラッシュメモリ41にデータを書き込む際に実行される処理である。
【0060】
ブートプログラムまたはアプリケーションプログラムの実行中にフラッシュメモリ41へのデータの読み出しが行われると(S3),CPU32は,フラッシュメモリ41からデータを読み出した後,レジスタ43の内容を読み出す(S4)。このレジスタ43には,CPU32により読み出されたデータのパリティチェック結果がパリティチェック回路42a〜42dによって格納されている。
【0061】
続いて,CPU32は,レジスタ43の値に基づいてパリティエラーが発生しているかどうかを判断する(S5)。パリティエラーが発生している場合(たとえば4ビットの少なくとも1ビットが“1”である場合)には(S5でYES),CPU32は,パリティエラーの発生しているアドレスのデータ送信要求をパケットによりエレメントマネージャ1に送信する(S6)。
【0062】
このデータ送信要求のパケットは,図6に示すパケットとほぼ同様に,ペイロード部に「SLT識別情報」,「フラッシュメモリ識別情報」,および「アドレス」が含まれ,「データ」の部分には,データ送信要求を表す情報が含まれる。
【0063】
エレメントマネージャ1は,SLT2からデータ送信要求を受信すると,該データ送信要求に含まれるSLT識別情報,フラッシュメモリ識別情報,およびアドレスに対応するデータを記憶装置11から読み出し,読み出したデータを,データ送信要求を送信したSLT2に返信する。これにより,パリティエラーが検出されたデータと同一のデータがエレメントマネージャ1からSLT2に返信される。
【0064】
SLT2のCPU32は,返信されたデータを受信すると,このデータをたとえばワーク用SDRAM35に記憶し,以後,返信されたデータに基づいてプログラムの処理を継続する。
【0065】
一方,ステップS5においてパリティエラーが発生していない場合には(S5でNO),CPU32は読み出したデータに基づいてプログラムの処理を継続する。
【0066】
このように,この第1の方法によると,フラッシュメモリ41に障害が生じ,正確なデータが読み出せない場合であっても,CPU32はエレメントマネージャ1にバックアップ用に保存されたデータを利用することにより,その動作を停止することなく,プログラムの実行を継続することができる。
【0067】
なお,ステップS7でエレメントマネージャ1から受信するデータは,4つのフラッシュメモリ41a〜41dから同時に読み出される32ビットデータであってもよいし,32ビットデータのうち,パリティエラーが検出された8ビットデータ(または16ビット,24ビットデータ)部分であってもよい。
【0068】
また,ステップS2およびS4〜S7の処理は,ブートプログラムまたはアプリケーションプログラム内にプログラム命令として記述されていてもよいし,あるいは,フラッシュメモリ41へのデータの書き込みまたは読み出し実行時にCPU32に割り込みが発生するように構成されている場合には,この割り込み処理のプログラムとして記述されていてもよい。
【0069】
さらに,フラッシュメモリ41に記憶されているデータ(たとえばアプリケーションプログラム)が,エレメントマネージャ1からダウンロードされたものである場合には,エレメントマネージャ1の記憶装置11にデータはあらかじめ記憶されているので,フラッシュメモリ41へのデータの書き込みの際に実行されるステップS2の処理は省略可能である。
【0070】
(2)第2の方法
第2の方法は,第1の方法に警報の送信を付加したものである。
【0071】
第1の方法のステップS5(図5参照)において,パリティエラーが発生した場合に,CPU32は,エレメントマネージャ1に警報を送信するものである。この警報は,ステップS6のデータ送信要求とともに送信することもできるし,データ送信要求とは別に,データ送信要求の前または後で送信することもできる。警報をデータ送信要求とともに送信する場合には,図6に示すデータの後部に警報を示す情報が付加される。
【0072】
警報を受信したエレメントマネージャ1は,警報を,表示装置(CRTディスプレイ,液晶ディスプレイ等)等に表示し,または,記憶装置に記憶する。これにより,フラッシュメモリ41の交換が必要であることをエレメントマネージャ1のオペレータ,管理者等に通知することができる。
【0073】
また,この表示または記憶される警報には,パリティエラーが検出されたフラッシュメモリ識別情報およびそのフラッシュメモリのアドレス(たとえば0x100番地)を含めることができる。これにより,障害が検出されたフラッシュメモリを容易に特定でき,修理やメンテナンス等に要する時間を短縮できる。
【0074】
なお,SLT2がこのような警報を送信することなく,エレメントマネージャ1が,SLT2からデータ送信要求を受信した場合に,このデータ送信要求の受信により自動的に警報を表示/出力/記憶することもできる。
【0075】
(3)第3の方法
第3の方法は,パリティエラーが発生した場合に,SLT2がフラッシュメモリ41のセグメント単位またはメモリ回路(半導体チップ)単位でデータをエレメントマネージャ1から受信し,ワーク用SDRAM35に記憶するものである。
【0076】
セグメントとは,フラッシュメモリ41の1つのメモリ回路(半導体チップ)の連続する複数のメモリセルを1つのまとまりとした単位である。たとえば1Kバイト単位,16Kバイト単位等,種々の単位でセグメントが設定される。
【0077】
この第3の方法は,図5の読み出し処理(S3〜S7)とほぼ同様であるが,ステップS6によりデータ送信要求をエレメントマネージャ1に送信すると,エレメントマネージャ1は,このデータ送信要求に含まれるアドレスを含むセグメントまたはメモリ回路の全データをSLT2に送信する。
【0078】
SLT2のCPU32は,エレメントマネージャ1から送信されたデータを受信すると,このデータをワーク用SDRAM35に記憶し,その後,プログラムの処理を継続する。
【0079】
以降のフラッシュメモリ2に該当するアドレスからのデータの読み出し/書き込みはワーク用SDRAM35のデータの読み出し/書き込みとなる。
【0080】
このようにセグメント単位またはメモリ回路単位でデータをエレメントマネージャ1から受信することにより,同じフラッシュメモリ41の異なるアドレスに障害(パリティエラー)が検出された場合であっても,データ送信要求および該要求に対応するデータのエレメントマネージャ1からの送信が省略される。これにより,パリティエラー検出直後に,通信ネットワーク5のトラフィック量が一時的に増大するものの,SLT2とエレメントマネージャ1との間のデータ送受信回数が減少する。その結果,パリティエラー検出直後を除く通信ネットワーク5の通信品質を向上させることができる。
【0081】
(4)第4の方法
工場出荷時等にフラッシュメモリ41にデータ(アプリケーションプログラム等)があらかじめ記憶され,SLT2の立ち上げ時(電源投入時,リセット時,電源瞬断後の電源回復時等)にこのデータを使用する場合(フラッシュメモリ41に記憶されたデータ(アプリケーションプログラム等)をワーク用SDRAM35に複写(展開)する処理を含む。)において,フラッシュメモリ41に障害が検出されたときは,フラッシュメモリ41に記憶されたデータのすべてをエレメントマネージャ1からSLT2のワーク用SDRAM35にダウンロードして,該ダウンロードされたデータによってSLT2の立ち上げ処理を行うこともできる。
【0082】
この場合に,フラッシュメモリ41に記憶されたデータと同一のデータが,エレメントマネージャ1の記憶装置11にもあらかじめ記憶されている。また,SLT2の立ち上げ時のブートプログラムに,フラッシュメモリ41に記憶された全データをエレメントマネージャ1からダウンロードする処理が組み込まれる。
【0083】
このダウンロード処理では,前述した図5の読み出し処理におけるステップS6の送信要求がフラッシュメモリ41の全データの送信要求となり,ステップS7におけるデータの受信がフラッシュメモリ41の全データの受信となる。
【0084】
これにより,電源投入時,電源瞬断時の回復後,リセット後等にフラッシュメモリ41の障害が発生しても,CPU32を停止することなく,SLT2を立ち上げることができ,また,立ち上げ後の運用も行うことができる。
【0085】
(5)第5の方法
第5の方法は,フラッシュメモリ41にデータを書き込み際の障害の検出および障害が検出された場合の対処方法である。
【0086】
図7は,フラッシュメモリ41へのデータ書き込み時の処理の流れを示すフローチャートである。フラッシュメモリ41にデータを書き込む場合には,書き込み前に書き込み箇所のデータが消去される。したがって,まず,CPU32は,フラッシュメモリ41のデータ(32ビットデータ)を書き込むメモリセル(4つのフラッシュメモリ41a〜41dの各メモリセル)のデータを消去する(S11)。
【0087】
続いて,CPU32は,消去後の所定の時間T1経過後にレジスタ43の値を読み出す(S12)。レジスタ43の4ビットの少なくとも1つの値が“1”である場合に,CPU32は,フラッシュメモリ41に障害が発生したものと判断して(S13でYES),フラッシュメモリ41のデータの書き込みを中止し,該データ(32ビットデータ)をエレメントマネージャ1に送信する(S18)。送信は,図6に示すパケットにより行われる。
【0088】
エレメントマネージャ1は,受信したパケットを記憶装置11に記憶する。以後,CPU32がこのデータを使用する場合には,エレメントマネージャ1からデータを受信し,使用することとなる(S19)。
【0089】
一方,レジスタ43の値が0である場合に(S13でNO),CPU32は,フラッシュメモリ41にデータ(32ビットデータ)を書き込む(S14)。
【0090】
続いて,CPU32は,書き込み後の所定の時間T2経過後にレジスタ43の値を読み出す(S12)。レジスタ43の4ビットのうちの少なくとも1つの値が“1”である場合に,CPU32は,フラッシュメモリ41に障害が発生したと判断して(S13でYES),ステップS14で書き込んだデータと同一のデータを図6に示すパケットによりエレメントマネージャ1に送信する(S18)。以後,前述したステップS19の処理が実行される
一方,ステップS16でレジスタ43の値が0である場合に(S16でNO),CPU32は,フラッシュメモリ41に障害が発生しておらず,したがって,フラッシュメモリ41に書き込まれたデータはフラッシュメモリ41に有効に記憶されていると判断して,その後,書き込んだデータをフラッシュメモリ41から読み出す(S17)。
【0091】
これにより,フラッシュメモリ41へのデータの消去/書き込み時に障害が検出された場合であっても,SLT2の処理を停止することなく,障害に対処することができる。
【0092】
なお,前述した第2の方法と同様にして,消去時および/または書き込み時に障害が検出された場合には,CPU32は,エレメントマネージャ1に,フラッシュメモリ41に障害が検出されたことを示す警報を送信することもできる。
【0093】
(6)他の実施の形態
フラッシュメモリユニット36と同一の構成の予備用のフラッシュメモリユニットを監視装置21に設けることができる。
【0094】
この場合に,前述した第1の方法のステップS2(図5参照)の処理に代えて,または,ステップS2の処理とともに,データを予備用のフラッシュメモリユニットのフラッシュメモリに書き込むこともできる。そして,ステップS6およびS7の処理に代えて,予備用のフラッシュメモリユニットのフラッシュメモリからデータを読み出してもよい。
【0095】
また,第3の方法においても同様に,予備用のフラッシュメモリユニットにデータを記憶しておき,該予備用のフラッシュメモリユニットからデータをセグメント単位またはメモリ回路単位で読み出すこともできる。
【0096】
第4の方法においても,予備用のフラッシュメモリユニットのフラッシュメモリにもアプリケーションプログラム等のデータを記憶しておき,フラッシュメモリ41に障害が検出された場合には,予備用のフラッシュメモリユニットからデータを読み出すこともできる。また,第4の方法において,フラッシュメモリ41の障害検出時に,エレメントマネージャ1からデータをダウンロードする場合も,ダウンロードされたデータを,ワーク用SDRAMではなく,予備用のフラッシュメモリユニットのフラッシュメモリに記憶することもできる。
【0097】
さらに,第5の方法においても,消去後または書き込み後にフラッシュメモリ41に障害が検出されたときは,エレメントマネージャ1ではなく,予備用フラッシュメモリユニットのフラッシュメモリにデータを記憶し,その後,この予備用のフラッシュメモリからデータを読み出し,使用することもできる。
【0098】
フラッシュメモリユニット36がアプリケーションプログラムの種類に応じて複数個設けられた場合に,複数個のフラッシュメモリユニット36のそれぞれに対して予備用のフラッシュメモリユニット(フラッシュメモリの容量も同じ容量)を設けることもできるし,複数個のフラッシュメモリユニット36に対して1つの共用の予備用フラッシュメモリユニットを設けることもできる。そして,複数個のフラッシュメモリユニット36のいずれかに障害が検出された場合に,この予備用フラッシュメモリユニットにデータを記憶することができる。
【0099】
さらに,予備用のフラッシュメモリユニットを複数個設けることにより,1つの予備用フラッシュメモリユニットに障害が検出された場合に,さらに他の予備用フラッシュメモリにデータを記憶することもできる。
【0100】
(付記1) 通信回線を介して外部のデータ記憶装置と接続され,データに対して所定の処理を行うデータ処理装置であって,
データを記憶する記憶手段と,
前記記憶手段に前記データを書き込む書き込み手段と,
前記書き込み手段による前記記憶手段へのデータの書き込み前または書き込み後に,該データを前記通信回線を介して前記外部のデータ記憶装置に送信する送信手段と,
を備えているデータ処理装置。
【0101】
(付記2) 付記1において,
前記書き込み手段により前記記憶手段にデータを書き込んだ後に,前記記憶手段の障害の有無を検査する第1の検査手段をさらに備え,
前記送信手段は,前記第1の検査手段により障害が検出された場合に前記データを前記外部のデータ記憶装置に送信する,
データ処理装置。
【0102】
(付記3) データに対して所定の処理を行うデータ処理装置であって,
データを記憶する記憶手段と,
前記データを記憶する補助記憶手段と,
前記記憶手段に前記データを書き込む書き込み手段と,
前記書き込み手段による前記記憶手段へのデータの書き込み前または書き込み後に,該データを前記補助記憶手段に書き込む補助書き込み手段と,
を備えているデータ処理装置。
【0103】
(付記4) 付記3において,
前記書き込み手段により前記記憶手段にデータを書き込んだ後に,前記記憶手段の障害の有無を検査する第1の検査手段をさらに備え,
前記補助書き込み手段は,前記第1の検査手段により障害が検出された場合に前記データを前記補助記憶手段に書き込む,
データ処理装置。
【0104】
(付記5) 付記2または4において,
前記記憶手段はフラッシュメモリであり,
前記第1の検査手段は,前記データを前記フラッシュメモリに書き込んだ後に,前記フラッシュメモリから所定の時間出力されるビジー信号が前記所定の時間を超えて出力されている場合には,前記フラッシュメモリに障害があると判断する,
データ処理装置。
【0105】
(付記6) 付記2または4において,
前記記憶手段はフラッシュメモリであり,
前記第1の検査手段は,前記データを前記フラッシュメモリに書き込んだ後に,該データを前記フラッシュメモリから所定の時間間隔で読み出し,該読み出したデータが所定の時間を超えて読み出すごとに変化している場合には,前記フラッシュメモリに障害があると判断する,
データ処理装置。
【0106】
(付記7) 付記1または2において,
前記記憶手段にデータを書き込む前に,該記憶手段の少なくとも該データを記憶する記憶場所のデータを消去する消去手段と,
前記消去手段によるデータの消去後に,前記記憶手段の障害の有無を検査する第2の検査手段と,
をさらに備え,
前記送信手段は,前記第2の検査手段により障害が検出された場合に前記データを前記外部のデータ記憶装置に送信する,
データ処理装置。
【0107】
(付記8) 付記3または4において,
前記記憶手段にデータを書き込む前に,該記憶手段の少なくとも該データを記憶する記憶場所のデータを消去する消去手段と,
前記消去手段によるデータの消去後に,前記記憶手段の障害の有無を検査する第2の検査手段と,
をさらに備え,
前記補助書き込み手段は,前記第2の検査手段により障害が検出された場合に前記データを前記補助記憶手段に書き込む,
データ処理装置。
【0108】
(付記9) 付記7または8において,
前記記憶手段はフラッシュメモリであり,
前記第2の検査手段は,前記フラッシュメモリのデータを前記消去手段により消去した後に,前記フラッシュメモリから所定の時間出力されるビジー信号が前記所定の時間を超えて出力されている場合には,前記フラッシュメモリに障害があると判断する,
データ処理装置。
【0109】
(付記10) 付記7または8において,
前記記憶手段はフラッシュメモリであり,
前記第2の検査手段は,前記フラッシュメモリのデータを前記消去手段により消去した後に,該データを前記フラッシュメモリから所定の時間間隔で読み出し,該読み出したデータが所定の時間を超えて読み出すごとに変化している場合には,前記フラッシュメモリに障害があると判断する,
データ処理装置。
【0110】
(付記11) 付記1,2または7において,
前記外部のデータ記憶装置は,前記記憶手段に記憶されたデータと同一のデータをあらかじめ記憶しており,
前記記憶手段からデータを読み出した際に,該記憶手段の障害の有無を検査する第3の検査手段と,
前記第3の検査手段により障害が検出された場合に,前記読み出したデータと同一のデータを前記通信回線を介して前記外部のデータ記憶装置から受信する受信手段と,
をさらに備えているデータ処理装置。
【0111】
(付記12) 付記11において,
前記記憶手段はフラッシュメモリであり,
前記第3の検査手段は,前記フラッシュメモリから読み出したデータのパリティチェックを行い,パリティチェックエラーの場合には,前記フラッシュメモリに障害があると判断する,
データ処理装置。
【0112】
(付記13) 付記11または12において,
前記データ受信手段により受信されたデータを記憶する補助記憶手段をさらに備えているデータ処理装置。
【0113】
(付記14) 付記2,7,11,12または13において,
前記送信手段による前記データの送信の前後または送信とともに,前記記憶手段に障害が検出されたことを前記データ記憶装置に通知する障害通知手段をさらに備えている,データ処理装置。
【0114】
(付記15) バックアップ用のデータがあらかじめ記憶されている外部のデータ記憶装置と通信回線を介して接続され,データに対して所定の処理を行うデータ処理装置であって,
データを記憶する記憶手段と,
前記記憶手段に記憶されたデータを読み出す際に,前記記憶手段の障害の有無を検査する検査手段と,
前記検査手段により障害が検出されると,前記読み出したデータのバックアップ用のデータを前記通信回線を介して前記外部のデータ記憶装置から受信する受信手段と,
を備えているデータ処理装置。
【0115】
(付記16) データを記憶する記憶手段にデータを書き込む前または書き込んだ後に,該データを,通信回線を介して接続された外部のデータ記憶装置に送信し,
前記記憶手段に障害が検出されると,前記外部のデータ記憶装置から前記通信回線を介してデータを受信する,
データ記憶方法。
【0116】
(付記17) コンピュータに,
データを記憶する記憶手段にデータを書き込む前または書き込んだ後に,該データを,通信回線を介して接続された外部のデータ記憶装置に送信する手順と,前記記憶手段に障害が検出されると,前記外部のデータ記憶装置から前記通信回線を介してデータを受信する手順と,
を実行させるためのプログラム。
【0117】
(付記18) バックアップ用のデータがあらかじめ記憶されている外部のデータ記憶装置と通信回線を介して接続され,データに対して所定の処理を行うデータ処理装置のデータ読み出し方法であって,
データを記憶する記憶手段に記憶されたデータを読み出す際に,前記記憶手段の障害の有無を検査し,
前記検査により障害を検出すると,前記読み出したデータのバックアップ用のデータを前記通信回線を介して前記外部のデータ記憶装置から受信する,
データ読み出し方法。
【0118】
(付記19) バックアップ用のデータがあらかじめ記憶されている外部のデータ記憶装置と通信回線を介して接続され,データに対して所定の処理を行うコンピュータに,
データを記憶する記憶手段に記憶されたデータを読み出す際に,前記記憶手段の障害の有無を検査する手順と,
前記検査により障害を検出すると,前記読み出したデータのバックアップ用のデータを前記通信回線を介して前記外部のデータ記憶装置から受信する手順と,
を実行させるためのプログラム。
【0119】
【発明の効果】
本発明によると,記憶手段(たとえばフラッシュメモリ)の障害が生じても,データ処理装置(たとえばSLTの監視装置)は,処理を停止することなくその処理を継続することができる。
【図面の簡単な説明】
【図1】本発明の一実施の形態による通信システムの構成を示すブロック図である。
【図2】SLTの詳細内構成を示すブロック図である。
【図3】監視装置の詳細な構成を示すブロック図である。
【図4】監視装置のフラッシュメモリユニットの詳細な構成を示すブロック図である。
【図5】フラッシュメモリに障害が検出された場合のSLTの第1の方法による処理の流れを示すフローチャートである。
【図6】SLTからエレメントマネージャに送信されるパケットのデータ構造を示す。
【図7】フラッシュメモリへのデータ書き込み時の処理の流れを示すフローチャートである。
【符号の説明】
1 エレメントマネージャ
1,22 加入者ライン端末(SLT)
21 監視装置
32 CPU
36 フラッシュメモリユニット
41a〜41d フラッシュメモリ
42a〜42d パリティチェック回路
43,44 レジスタ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a data processing device, a data storage method, and a data reading method that can continue processing without stopping even if a failure occurs in the storage device.
[0002]
[Prior art]
In a processing device in which a program stored in a memory, for example, a flash memory is executed by the CPU, the processing device may hang up (runaway) due to an error in data (program command or the like) due to a failure in the flash memory. Therefore, in order to prevent such a hang-up, when a failure of the flash memory is detected, processing such as stopping the CPU is performed.
[0003]
For example, a subscriber line terminal (SLT) that communicates in an asynchronous transfer mode (ATM) is used to back up operational information related to monitoring and control of the device, and an application program for a CPU (for example, from a remote device). The application program for receiving the control is stored in the flash memory.
[0004]
When a failure occurs in the flash memory, the CPU executing the SLT process stops the process. Then, after the flash memory is replaced and the failure is recovered, the processing is resumed.
[0005]
[Problems to be solved by the invention]
However, if the CPU, that is, the SLT stops processing until the failure is recovered, the monitoring function stops, and in some cases, the user data (main signal) cannot be switched between operational and non-operational. It may cause a fatal failure such as interruption.
[0006]
Further, the SLT cannot be controlled from the remote device, and a failure occurs that makes the SLT state invisible to the operator.
[0007]
The present invention has been made in view of such a situation, and an object of the present invention is when a failure occurs in the storage device in a processing device that executes processing based on data stored in the storage device (memory). Even so, an object of the present invention is to provide a processing apparatus that can continue the processing without stopping.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, a data processing apparatus according to a first aspect of the present invention is a data processing apparatus that is connected to an external data storage device via a communication line and performs predetermined processing on data. , Storage means for storing data, writing means for writing the data to the storage means, and data writing to the storage means before or after the writing to the storage means by the writing means via the communication line Transmitting means for transmitting to the data storage device.
[0009]
The data storage method according to the first aspect of the present invention transmits the data to an external data storage device connected via a communication line before or after the data is written to the storage means for storing the data. When a failure is detected in the storage means, data is received from the external data storage device via the communication line.
[0010]
Furthermore, a program according to the first aspect of the present invention causes a computer to execute the data storage method.
[0011]
According to the first aspect of the present invention, the data is transmitted to the external data storage device via the communication line before or after the data is written to the storage means. The transmitted data is stored in an external data storage device. Therefore, even if a failure occurs in the storage means and the data stored in the storage means cannot be read correctly or data cannot be correctly written in the storage means, the data processing device receives the data from the external storage device. And processing can be executed according to the received data. Thereby, even if a failure occurs in the storage means, the processing can be continued without stopping.
[0012]
A data processing device according to a second aspect of the present invention is a data processing device that is connected to an external data storage device in which backup data is stored in advance via a communication line and performs predetermined processing on the data. The storage means for storing data, the inspection means for inspecting the presence or absence of a failure in the storage means when reading the data stored in the storage means, and when the failure is detected by the inspection means, Receiving means for receiving data for backup of the read data from the external data storage device via the communication line.
[0013]
In addition, the data reading method according to the second aspect of the present invention is a data processing for connecting to an external data storage device in which backup data is stored in advance via a communication line and performing predetermined processing on the data. A data reading method for an apparatus, wherein when reading data stored in a storage means for storing data, the storage means is inspected for a fault, and if a fault is detected by the inspection, a backup of the read data is performed. Data is received from the external data storage device via the communication line.
[0014]
According to the second aspect of the present invention, when the data stored in the storage means is read out, the storage means is inspected for a failure, and if a failure is detected, the data for backup of the read data is transferred to the communication line. Via an external data storage device. Therefore, a device that has received this data can execute processing using the received data. Therefore, even if a failure occurs in the storage means, the processing can be continued without stopping.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a block diagram showing a configuration of a communication system according to an embodiment of the present invention. This communication system includes an element manager 1, a subscriber line terminal (SLT) 2 1 And 2 2 , Optical Line Termination (OLT) 3 1 ~ 3 Four , And user terminal 4 1 ~ 4 8 Have
[0016]
This communication system includes a user terminal 4 1 ~ 4 8 Is a data exchange network that switches (exchanges) end user data (user voice, text data, image data, etc., hereinafter referred to as “user data”).
[0017]
Here, as an example, two SLT2 1 And 2 2 However, there may be one SLT or three or more SLTs. Further, although two OLTs are shown for each SLT, other numbers may be used. Furthermore, user terminals other than the number shown in the figure may be provided. In the following, SLT2 1 And 2 2 Are collectively referred to as “SLT2” unless it is particularly necessary to distinguish them. Similarly, OLT3 1 ~ 3 Four Are collectively referred to as OLT3 and user terminal 4 1 ~ 4 8 Are collectively referred to as user terminal 4.
[0018]
The element manager 1 and the SLT 2 are connected by a communication network (for example, a LAN such as Ethernet) 5. The element manager 1 and the SLT 2 have identification information (for example, IP address) in the communication network 5 and communicate with each other based on this identification information.
[0019]
Between the SLTs 2 and between the SLT 2 and the OLT 3 are connected by an optical fiber cable, and data is communicated between them by an asynchronous transfer mode (ATM). The OLT 3 and the user terminal 4 are connected by an optical fiber cable or an electric line according to the user terminal 4, and data is communicated between them by ATM, IP packet, or the like according to the user terminal.
[0020]
The element manager 1 includes a computer, a workstation, and the like. The element manager 1 transmits a program (for example, firmware) necessary for the SLT 2 to the SLT 2 via the communication network 5 and, as will be described later, data such as a program and monitoring information transmitted from the SLT 2 via the communication network 5 Is stored in a storage device (hard disk, optical disk, semiconductor memory, etc.) 11 for backup. Then, when a failure occurs in the internal memory of the SLT 2 and the data stored in the memory cannot be used, the element manager 1 transmits the data stored in the storage device 11 for backup to the SLT 2 To do.
[0021]
The user terminal 4 is a terminal used by an end user, such as a telephone or a personal computer. The user terminal 4 transmits user data to the OLT 3. The OLT 3 switches (exchanges) user data from the user terminal 4 or SLT 2 connected to the OLT 3 to another user terminal 4 or SLT 2. The SLT 2 exchanges user data transmitted from the user terminal 4 via the OLT 3 with another OLT 3 or another SLT 2.
[0022]
FIG. 2 is a block diagram showing a detailed configuration of the SLT 2. The SLT 2 includes a monitoring device 21, a switch 22, and interface devices 23 to 25.
[0023]
The interface device 23 is connected to the other SLT 2, and the interface devices 24 and 25 are connected to the OLT 3. The interface devices 23 to 25 perform mutual conversion between an electric signal and an optical signal, processing of a layer 1 (and 2) communication protocol, and the like. Two interface devices 23 to 25 are provided. When a failure occurs in one of the interface devices 23 to 25, the interface device 23 to 25 is switched by the monitoring device 21 and the other is used.
[0024]
The switch 22 performs switching of user data from the OLT 3 input via the interface device 24 or 25 and user data from the other SLT 2 input via the interface device 23, and these user data are transferred to other interfaces. Output to the device.
[0025]
The monitoring device 21 monitors the state of the switch 22 and the interface devices 23 to 24, switches the interface devices 23 to 25, and the like. FIG. 3 is a block diagram illustrating a detailed configuration of the monitoring device 21. FIG. 4 is a block diagram showing a detailed configuration of the flash memory unit 36 of the monitoring device 21.
[0026]
The monitoring device 21 includes a LAN (Local Area Network) port 31, a CPU 32, a boot ROM 33, a management information storage EEPROM 34, a work SDRAM 35, and a flash memory unit 36. The flash memory unit 36 includes four flash memories 41a to 41d, four parity check circuits 42a to 42d, and registers 43 and 44.
[0027]
The CPU 32, the LAN port 31, the boot ROM 33, the management information storage EEPROM 34, the work SDRAM 35, and the flash memory unit 36 are interconnected by a bus (including an address bus and a data bus).
[0028]
The LAN port 31 is an interface device for communicating with the element manager 1 via the Internet 5 and mainly executes processing of communication protocols of layers 1 and 2.
[0029]
The boot ROM 33 stores a boot program that is activated when the SLT 2 (monitoring device 21) is started up. In the management information storing EEPROM 34, management information such as identification information (IP address, MAC address) of the SLT 2 is stored. The work SDRAM 35 is a memory used for a work area of the CPU 32, and temporarily stores a program stored in the flash memory unit 36, data generated by processing of the CPU 32, and the like.
[0030]
The flash memory unit 36 stores operation information for SLT2 backup, application programs (firmware), and the like. A plurality of types of application programs may be provided. In this case, flash memory units 36 corresponding to the number of types of application programs may be provided.
[0031]
The flash memories 41a to 41d of the flash memory unit 36 are flash memories having the same configuration. As an example, each memory cell of the flash memories 41a to 41d has 9 bits. Data (application program instructions, operation information, etc.) is stored in 8 bits out of 9 bits, and a parity check bit for 8 bits of data is stored in the remaining 1 bit.
[0032]
At the time of data writing to the flash memories 41a to 41d, the CPU 32 outputs to the flash memories 41a to 41d an address for designating a memory cell to which data is written and data for writing (and a write signal by a signal line (not shown)). The address is given simultaneously to the flash memories 41a to 41d. The data to be written is 32 bits, and this 32-bit data is divided into four 8-bit data from the first bit to the 32nd bit, and each 8-bit data is given to the flash memories 41a to 41d, respectively. , Stored in the memory cell indicated by the address.
[0033]
At the time of data writing, each 8-bit data is also supplied to the parity check circuits 42a to 42d. The parity check circuits 42a to 42d generate parity bits for each 8-bit data, and write the parity bits to the ninth bits of the memory cells of the flash memories 41a to 41d indicated by the addresses. The parity bit may be odd parity or even parity.
[0034]
On the other hand, when data is read from the flash memories 41a to 41d, the CPU 32 outputs addresses (and read signals by signal lines (not shown)) specifying memory cells to which data is read to the flash memories 41a to 41d. Each of the flash memories 41a to 41d outputs 8-bit data from the memory cell specified by the address. As a result, a total of 32-bit data is read out and applied to the CPU 32.
[0035]
At the time of this data reading, in addition to the 8-bit data from the flash memories 41a to 41d, parity check bits corresponding to the 8-bit data are given from the flash memories 41a to 41d to the parity check circuits 42a to 42d, respectively.
[0036]
The parity check circuits 42 a to 42 d perform a parity check by collating the 8-bit data and the parity check bit given from the flash memories 41 a to 41 d, respectively, and output the check result to the register 43. The check result is, for example, “1” of 1-bit data when a parity error has occurred, and “0” of 1-bit data when normal (when no parity error has occurred).
[0037]
The register 43 has 4 bits, for example. Each bit corresponds to each of the parity check circuits 42a to 42d, and stores the check results of the parity check circuits 42a to 42d. Therefore, it is possible to determine which of the flash memories 41a to 41d has caused a parity error depending on which of the 4 bits is “1”.
[0038]
The check result stored in the register 43 is read by the CPU 32, and the CPU 32 determines whether or not there is a parity error.
[0039]
The register 44 has, for example, 4 bits, and each bit stores the presence / absence of the output of the respective busy signals of the flash memories 41a to 41d. This busy signal is a signal output from the flash memories 41a to 41d for a predetermined time after writing data to the flash memories 41a to 41d or after erasing data stored in the flash memories 41a to 41d. It is. While this busy signal is being output, data cannot be written or erased, and even when data is read, the data value is in a toggle state (described later) and remains constant while the busy signal is being output. Because there is no, accurate data cannot be read.
[0040]
The predetermined time during which the busy signal is output is determined in advance according to the type of memory circuit (for example, a semiconductor chip) used in the flash memories 41a to 41d. Further, the time when the busy signal is output after data writing and the time when the busy signal is output after data erasure may be the same or different. In the following, the time when the busy signal is output after data erasure is T1, and the time when the busy signal is output after data writing is T2.
[0041]
When data is written to the flash memory 41, the data is written after the data in the memory cell at the data write address is once erased.
[0042]
While the busy signal is output, the corresponding bit of the register 44 is set to “1”, and when the output of the busy signal is stopped, the bit is set to “0”.
[0043]
The 4-bit data stored in the register 44 is read by the CPU 32. After writing the data, the CPU 32 measures the time T2 with, for example, a watchdog timer, and if the bit value of the register 44 is “1” even after the time T2 has elapsed, the flash memory corresponding to the bit has failed. It can be determined that it has occurred.
[0044]
Similarly, the CPU 32 measures the time T1 after erasing data, and if the value of the bit of the register 44 is “1” even after the time T1 has elapsed, a failure occurs in the flash memory corresponding to the bit. Can be determined.
[0045]
Some flash memories do not have a busy signal output terminal. In this case, the presence of a failure is checked by polling. That is, the CPU 32 reads the written data at a predetermined time interval after the data is written. During time T2 after data writing, at least one bit of the read data is in a toggle state in which “0” and “1” are alternately repeated. On the other hand, after the time T2, when the flash memory is normal, the toggle state is canceled and the written data can be read accurately. When a failure occurs in the flash memory, the toggle state is not resolved and the written data cannot be read accurately.
[0046]
Therefore, even after the elapse of time T2, the CPU 32 can determine whether the flash memory is normal or has a failure by determining whether the flash memory is in a toggle state by polling. .
[0047]
Similarly, the presence or absence of a failure in the flash memory can be determined by detecting the presence or absence of the toggle state after the time T1 has elapsed by polling after the data is erased.
[0048]
In the communication system having such a configuration, the CPU 32 is stopped when a failure occurs in the flash memories 41a to 41d of the SLT 2 (hereinafter collectively referred to as “flash memory 41” unless otherwise required). The processing of the CPU 32 (SLT2) for continuing the processing without any problem will be described below. There are several methods for this processing, and will be described separately below.
[0049]
(1) First method
The first method is to receive the data portion where the parity error has occurred from the element manager 1. FIG. 5 is a flowchart showing the flow of processing according to the first method.
[0050]
Step S2 is a process executed when the CPU 32 writes data to the flash memory 41 during execution of a boot program stored in the boot ROM 33 or an application program stored in the flash memory 41 or the work SDRAM 35, for example. is there.
[0051]
When data (for example, monitoring information) is written to the flash memory 41 during execution of the boot program or application program (S1), the CPU 32 writes the same data into the LAN by packet after the data is written to the flash memory 41. It transmits to the element manager 1 through the port 31 (S2).
[0052]
FIG. 6 shows a data structure of a packet (payload portion) transmitted from the SLT 2 to the element manager 1. This packet is, for example, an IP packet. In FIG. 6, illustration of the header portion of the packet is omitted, and only the payload portion is illustrated. The payload portion of the packet includes SLT identification information, flash memory identification information, address, and data.
[0053]
“SLT identification information” is identification information (for example, an IP address) of SLT 2 that transmits data.
[0054]
“Flash memory identification information” is information for identifying a flash memory in units of memory circuits (semiconductor chips). For example, in the configuration shown in FIG. 4, the information for identifying each of the flash memories 41a to 41d is the flash memory identification information. As described above, when a plurality of flash memory units 36 are provided according to the type of application program, the identification information of each flash memory unit 36 and the identification information of each memory circuit in the flash memory unit 36 are used. is there.
[0055]
“Address” is the address of the flash memory 41 to which data is written, and “Data” is data written to the flash memory 41.
[0056]
When the packet transmitted from the SLT 2 is an IP packet, the IP address of the source SLT 2 is included in the header portion of the IP packet. In this case, the “SLT identification information” can be omitted.
[0057]
The element manager 1 stores the packet transmitted from the SLT 2 in its own storage device 11. The data structure stored in the storage device 11 of the element manager 1 is also the same as the data structure of the payload portion of the packet shown in FIG.
[0058]
In this way, the same data as the data written to the flash memory 41 by the CPU 32 is stored in the element manager 1 for backup, and the element manager 1 has the same data as the data stored in the flash memory 41. Note that step S2 may be executed before step S1.
[0059]
On the other hand, steps S4 to S7 are processes executed when the CPU 32 writes data into the flash memory 41 during execution of a boot program or an application program, for example.
[0060]
If data is read from the flash memory 41 during execution of the boot program or application program (S3), the CPU 32 reads the data from the flash memory 41 and then reads the contents of the register 43 (S4). In this register 43, the parity check results of the data read by the CPU 32 are stored by the parity check circuits 42a to 42d.
[0061]
Subsequently, the CPU 32 determines whether a parity error has occurred based on the value of the register 43 (S5). When a parity error has occurred (for example, when at least one of the 4 bits is “1”) (YES in S5), the CPU 32 sends a data transmission request of the address where the parity error has occurred by a packet. It transmits to the element manager 1 (S6).
[0062]
The packet of this data transmission request includes “SLT identification information”, “flash memory identification information”, and “address” in the payload portion in substantially the same manner as the packet shown in FIG. Information indicating a data transmission request is included.
[0063]
When the element manager 1 receives the data transmission request from the SLT 2, the element manager 1 reads the data corresponding to the SLT identification information, the flash memory identification information, and the address included in the data transmission request from the storage device 11, and transmits the read data to the data transmission It returns to SLT2 which transmitted the request. As a result, the same data as the data in which the parity error is detected is returned from the element manager 1 to the SLT 2.
[0064]
Upon receiving the returned data, the CPU 32 of the SLT 2 stores this data in, for example, the work SDRAM 35, and thereafter continues the program processing based on the returned data.
[0065]
On the other hand, if no parity error has occurred in step S5 (NO in S5), the CPU 32 continues the processing of the program based on the read data.
[0066]
As described above, according to the first method, even when a failure occurs in the flash memory 41 and accurate data cannot be read, the CPU 32 uses the data stored in the element manager 1 for backup. Thus, program execution can be continued without stopping the operation.
[0067]
Note that the data received from the element manager 1 in step S7 may be 32-bit data that is simultaneously read from the four flash memories 41a to 41d. Of the 32-bit data, 8-bit data in which a parity error is detected. (Or 16-bit, 24-bit data) portion.
[0068]
The processes in steps S2 and S4 to S7 may be described as program instructions in the boot program or application program, or an interrupt is generated in the CPU 32 when data is written to or read from the flash memory 41. In such a configuration, it may be described as a program for this interrupt processing.
[0069]
Further, when the data (for example, application program) stored in the flash memory 41 is downloaded from the element manager 1, the data is stored in advance in the storage device 11 of the element manager 1, so that the flash The process of step S2 executed when data is written to the memory 41 can be omitted.
[0070]
(2) Second method
In the second method, transmission of an alarm is added to the first method.
[0071]
In step S5 (see FIG. 5) of the first method, the CPU 32 transmits an alarm to the element manager 1 when a parity error occurs. This alarm can be transmitted together with the data transmission request in step S6, or can be transmitted before or after the data transmission request separately from the data transmission request. When the alarm is transmitted together with the data transmission request, information indicating the alarm is added to the rear part of the data shown in FIG.
[0072]
The element manager 1 that has received the alarm displays the alarm on a display device (CRT display, liquid crystal display, etc.) or stores it in a storage device. Thereby, it is possible to notify the operator, administrator, etc. of the element manager 1 that the flash memory 41 needs to be replaced.
[0073]
Further, the alarm to be displayed or stored can include the flash memory identification information in which a parity error is detected and the address of the flash memory (for example, address 0x100). As a result, the flash memory where the failure is detected can be easily identified, and the time required for repair and maintenance can be shortened.
[0074]
When the element manager 1 receives a data transmission request from the SLT 2 without the SLT 2 transmitting such an alarm, the alarm may be automatically displayed / output / stored upon reception of the data transmission request. it can.
[0075]
(3) Third method
In the third method, when a parity error occurs, the SLT 2 receives data from the element manager 1 in units of segments of the flash memory 41 or in units of memory circuits (semiconductor chips) and stores them in the work SDRAM 35.
[0076]
A segment is a unit in which a plurality of continuous memory cells of one memory circuit (semiconductor chip) of the flash memory 41 are grouped. For example, segments are set in various units such as 1 Kbyte unit and 16 Kbyte unit.
[0077]
This third method is almost the same as the reading process (S3 to S7) of FIG. 5, but when a data transmission request is transmitted to the element manager 1 in step S6, the element manager 1 is included in this data transmission request. All data of the segment or memory circuit including the address is transmitted to SLT2.
[0078]
When receiving the data transmitted from the element manager 1, the CPU 32 of the SLT 2 stores this data in the work SDRAM 35, and then continues the processing of the program.
[0079]
Data read / write from the address corresponding to the flash memory 2 thereafter is data read / write of the work SDRAM 35.
[0080]
Thus, even if a failure (parity error) is detected at a different address of the same flash memory 41 by receiving data from the element manager 1 in segment units or memory circuit units, the data transmission request and the request The transmission of data corresponding to 1 from the element manager 1 is omitted. Thereby, immediately after the parity error is detected, the traffic amount of the communication network 5 temporarily increases, but the number of data transmission / reception between the SLT 2 and the element manager 1 decreases. As a result, the communication quality of the communication network 5 except immediately after the parity error detection can be improved.
[0081]
(4) Fourth method
When data (application programs, etc.) is stored in advance in the flash memory 41 at the time of factory shipment, etc., and this data is used when SLT2 is started up (when power is turned on, reset, power is restored after a momentary power interruption, etc.) (Including the process of copying (developing) data (application program or the like) stored in the flash memory 41 to the work SDRAM 35), when a failure is detected in the flash memory 41, it is stored in the flash memory 41. It is also possible to download all of the data from the element manager 1 to the work SDRAM 35 of the SLT 2 and to start up the SLT 2 using the downloaded data.
[0082]
In this case, the same data as the data stored in the flash memory 41 is stored in advance in the storage device 11 of the element manager 1. In addition, a process of downloading all data stored in the flash memory 41 from the element manager 1 is incorporated into the boot program at the time of starting up the SLT 2.
[0083]
In this download process, the transmission request in step S6 in the read process of FIG. 5 described above becomes a transmission request for all data in the flash memory 41, and reception of data in step S7 becomes reception of all data in the flash memory 41.
[0084]
As a result, even if a failure occurs in the flash memory 41 after power-on, recovery from an instantaneous power interruption, reset, or the like, the SLT 2 can be started up without stopping the CPU 32. Can also be used.
[0085]
(5) Fifth method
The fifth method is a method of detecting a failure in writing data to the flash memory 41 and a countermeasure when a failure is detected.
[0086]
FIG. 7 is a flowchart showing a flow of processing at the time of data writing to the flash memory 41. When data is written to the flash memory 41, the data at the writing location is erased before writing. Therefore, first, the CPU 32 erases the data of the memory cells (each memory cell of the four flash memories 41a to 41d) to which the data (32-bit data) of the flash memory 41 is written (S11).
[0087]
Subsequently, the CPU 32 reads the value of the register 43 after a predetermined time T1 after erasure (S12). When at least one 4-bit value of the register 43 is “1”, the CPU 32 determines that a failure has occurred in the flash memory 41 (YES in S13) and stops writing data in the flash memory 41. Then, the data (32-bit data) is transmitted to the element manager 1 (S18). Transmission is performed by the packet shown in FIG.
[0088]
The element manager 1 stores the received packet in the storage device 11. Thereafter, when the CPU 32 uses this data, the data is received from the element manager 1 and used (S19).
[0089]
On the other hand, when the value of the register 43 is 0 (NO in S13), the CPU 32 writes data (32-bit data) to the flash memory 41 (S14).
[0090]
Subsequently, the CPU 32 reads the value of the register 43 after a predetermined time T2 after writing (S12). If at least one of the four bits of the register 43 is “1”, the CPU 32 determines that a failure has occurred in the flash memory 41 (YES in S13) and is the same as the data written in step S14. Is transmitted to the element manager 1 by the packet shown in FIG. 6 (S18). Thereafter, the process of step S19 described above is executed.
On the other hand, when the value of the register 43 is 0 in step S16 (NO in S16), the CPU 32 has not failed in the flash memory 41. Therefore, the data written in the flash memory 41 is not stored in the flash memory 41. And then the written data is read out from the flash memory 41 (S17).
[0091]
As a result, even when a failure is detected when erasing / writing data in the flash memory 41, the failure can be dealt with without stopping the processing of the SLT2.
[0092]
As in the second method described above, when a failure is detected during erasure and / or writing, the CPU 32 notifies the element manager 1 that a failure has been detected in the flash memory 41. Can also be sent.
[0093]
(6) Other embodiments
A spare flash memory unit having the same configuration as that of the flash memory unit 36 can be provided in the monitoring device 21.
[0094]
In this case, the data can be written into the flash memory of the spare flash memory unit instead of the process of step S2 (see FIG. 5) of the first method described above or together with the process of step S2. Then, instead of the processing in steps S6 and S7, data may be read from the flash memory of the spare flash memory unit.
[0095]
Similarly, in the third method, data can be stored in a spare flash memory unit, and data can be read from the spare flash memory unit in segments or memory circuits.
[0096]
Also in the fourth method, data such as an application program is stored in the flash memory of the spare flash memory unit, and if a failure is detected in the flash memory 41, the data is transferred from the spare flash memory unit. Can also be read. In the fourth method, when data is downloaded from the element manager 1 when a failure of the flash memory 41 is detected, the downloaded data is stored in the flash memory of the spare flash memory unit, not in the work SDRAM. You can also
[0097]
Further, also in the fifth method, when a failure is detected in the flash memory 41 after erasing or writing, the data is stored not in the element manager 1 but in the flash memory of the spare flash memory unit. Data can be read from the flash memory for use.
[0098]
When a plurality of flash memory units 36 are provided according to the type of application program, a spare flash memory unit (the same capacity of the flash memory) is provided for each of the plurality of flash memory units 36. It is also possible to provide one common spare flash memory unit for the plurality of flash memory units 36. When a failure is detected in any of the plurality of flash memory units 36, data can be stored in the spare flash memory unit.
[0099]
Further, by providing a plurality of spare flash memory units, when a fault is detected in one spare flash memory unit, data can be stored in another spare flash memory.
[0100]
(Supplementary note 1) A data processing device connected to an external data storage device via a communication line and performing predetermined processing on data,
Storage means for storing data;
Writing means for writing the data into the storage means;
Transmitting means for transmitting the data to the external data storage device via the communication line before or after the data is written to the storage means by the writing means;
A data processing apparatus comprising:
[0101]
(Appendix 2) In Appendix 1,
After writing data to the storage means by the writing means, further comprising a first inspection means for inspecting the storage means for failure,
The transmission means transmits the data to the external data storage device when a failure is detected by the first inspection means.
Data processing device.
[0102]
(Supplementary Note 3) A data processing apparatus that performs predetermined processing on data,
Storage means for storing data;
Auxiliary storage means for storing the data;
Writing means for writing the data into the storage means;
Auxiliary writing means for writing the data to the auxiliary storage means before or after writing the data to the storage means by the writing means;
A data processing apparatus comprising:
[0103]
(Appendix 4) In Appendix 3,
After writing data to the storage means by the writing means, further comprising a first inspection means for inspecting the storage means for failure,
The auxiliary writing means writes the data into the auxiliary storage means when a failure is detected by the first checking means;
Data processing device.
[0104]
(Appendix 5) In Appendix 2 or 4,
The storage means is a flash memory;
When the busy signal output from the flash memory for a predetermined time after the data is written to the flash memory is output beyond the predetermined time after the data is written to the flash memory, Judge that there is a problem with
Data processing device.
[0105]
(Appendix 6) In Appendix 2 or 4,
The storage means is a flash memory;
The first checking means reads the data from the flash memory at a predetermined time interval after writing the data to the flash memory, and changes every time the read data is read beyond a predetermined time. If it is determined that the flash memory is faulty,
Data processing device.
[0106]
(Appendix 7) In Appendix 1 or 2,
An erasing unit for erasing at least the data stored in the storage unit for storing the data before writing the data in the storage unit;
A second inspection means for inspecting the storage means for failure after erasing data by the erasure means;
Further comprising
The transmission means transmits the data to the external data storage device when a failure is detected by the second inspection means.
Data processing device.
[0107]
(Appendix 8) In Appendix 3 or 4,
An erasing unit for erasing at least a storage location of the storage unit for storing the data before writing the data to the storage unit;
A second inspection means for inspecting the storage means for failure after erasing the data by the erasure means;
Further comprising
The auxiliary writing means writes the data into the auxiliary storage means when a failure is detected by the second checking means;
Data processing device.
[0108]
(Appendix 9) In Appendix 7 or 8,
The storage means is a flash memory;
When the busy signal output from the flash memory for a predetermined time after the data in the flash memory is erased by the erasing means is output beyond the predetermined time, the second checking means Determining that the flash memory is faulty,
Data processing device.
[0109]
(Appendix 10) In Appendix 7 or 8,
The storage means is a flash memory;
The second checking means reads the data from the flash memory at a predetermined time interval after erasing the data in the flash memory by the erasing means, and reads the read data beyond a predetermined time each time. If it has changed, it is determined that the flash memory has a failure.
Data processing device.
[0110]
(Appendix 11) In Appendix 1, 2, or 7,
The external data storage device stores in advance the same data as the data stored in the storage means,
A third inspection means for inspecting whether or not there is a failure in the storage means when data is read from the storage means;
Receiving means for receiving the same data as the read data from the external data storage device via the communication line when a failure is detected by the third checking means;
A data processing apparatus further comprising:
[0111]
(Appendix 12) In Appendix 11,
The storage means is a flash memory;
The third checking means performs a parity check of the data read from the flash memory, and determines that the flash memory is faulty in the case of a parity check error;
Data processing device.
[0112]
(Supplementary note 13) In Supplementary note 11 or 12,
A data processing apparatus further comprising auxiliary storage means for storing data received by the data receiving means.
[0113]
(Supplementary note 14) In Supplementary note 2, 7, 11, 12, or 13,
A data processing apparatus, further comprising a failure notification means for notifying the data storage device that a failure has been detected in the storage means before or after transmission of the data by the transmission means.
[0114]
(Supplementary note 15) A data processing device connected via a communication line to an external data storage device in which backup data is stored in advance, and performing predetermined processing on the data,
Storage means for storing data;
An inspection means for inspecting whether or not there is a failure in the storage means when reading the data stored in the storage means;
Receiving means for receiving backup data of the read data from the external data storage device via the communication line when a failure is detected by the checking means;
A data processing apparatus comprising:
[0115]
(Supplementary Note 16) Before or after writing data in the storage means for storing data, the data is transmitted to an external data storage device connected via a communication line,
When a failure is detected in the storage means, data is received from the external data storage device via the communication line.
Data storage method.
[0116]
(Supplementary note 17)
A procedure for transmitting the data to an external data storage device connected via a communication line before or after writing the data in the storage means for storing data, and when a failure is detected in the storage means, Receiving data from the external data storage device via the communication line;
A program for running
[0117]
(Supplementary note 18) A data reading method for a data processing apparatus connected to an external data storage device in which backup data is stored in advance via a communication line and performing predetermined processing on the data,
When reading the data stored in the storage means for storing data, the storage means is inspected for failure,
When a failure is detected by the inspection, backup data for the read data is received from the external data storage device via the communication line.
Data reading method.
[0118]
(Supplementary Note 19) A computer connected to an external data storage device in which backup data is stored in advance via a communication line and performing predetermined processing on the data,
A procedure for inspecting whether there is a failure in the storage means when reading data stored in the storage means for storing data;
When a failure is detected by the inspection, a procedure for receiving backup data of the read data from the external data storage device via the communication line;
A program for running
[0119]
【The invention's effect】
According to the present invention, even if a storage means (for example, flash memory) fails, the data processing apparatus (for example, SLT monitoring apparatus) can continue the processing without stopping the processing.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration of a communication system according to an embodiment of the present invention.
FIG. 2 is a block diagram showing a detailed internal configuration of an SLT.
FIG. 3 is a block diagram showing a detailed configuration of a monitoring device.
FIG. 4 is a block diagram showing a detailed configuration of a flash memory unit of the monitoring device.
FIG. 5 is a flowchart showing a flow of processing by the first method of SLT when a failure is detected in the flash memory.
FIG. 6 shows a data structure of a packet transmitted from the SLT to the element manager.
FIG. 7 is a flowchart showing a flow of processing when data is written to the flash memory.
[Explanation of symbols]
1 Element manager
2 1 , 2 2 Subscriber line terminal (SLT)
21 Monitoring device
32 CPU
36 Flash memory unit
41a to 41d flash memory
42a to 42d Parity check circuit
43,44 registers

Claims (3)

通信回線を介して外部のデータ記憶装置と接続され,データに対して所定の処理を行うデータ処理装置であって,
データを記憶する記憶手段と,
前記記憶手段に前記データを書き込む書き込み手段と,
前記書き込み手段による前記記憶手段へのデータの書き込み前または書き込み後に,該データを前記通信回線を介して前記外部のデータ記憶装置に送信する送信手段と,
前記記憶手段に前記データを書き込む前に前記記憶手段から前記データが消去され,前記データが消去された後第1の時間経過後に前記記憶手段の障害の有無を検査するとともに,前記書き込み手段により前記データが前記記憶手段に書き込まれた後第2の時間経過後に前記記憶手段の障害の有無を検査する検査手段とを備え,
前記送信手段は前記検査手段により前記障害が検出されたときに前記データを前記外部のデータ記憶装置に送信することを特徴とするデータ処理装置。
A data processing device that is connected to an external data storage device via a communication line and performs predetermined processing on data,
Storage means for storing data;
Writing means for writing the data into the storage means;
Transmitting means for transmitting the data to the external data storage device via the communication line before or after the data is written to the storage means by the writing means;
Before the data is written to the storage means, the data is erased from the storage means, and after the first time has elapsed after the data is erased, the storage means is checked for failure and the writing means Inspection means for inspecting the storage means for failure after a second time has elapsed after data is written to the storage means;
The data processing apparatus, wherein the transmission means transmits the data to the external data storage device when the failure is detected by the inspection means.
データを記憶する記憶手段にデータを書き込む前または書き込んだ後に,該データを,通信回線を介して接続された外部のデータ記憶装置に送信し,Before or after writing data to the storage means for storing data, the data is transmitted to an external data storage device connected via a communication line;
前記記憶手段に前記データを書き込む前に前記記憶手段から前記データが消去され,前記データが消去された後第1の時間経過後に前記記憶手段の障害の有無を検査し,Before the data is written to the storage means, the data is erased from the storage means, and after the first time after the data is erased, the storage means is checked for failure;
前記データが前記記憶手段に書き込まれた後第2の時間経過後に前記記憶手段の障害の有無を検査し,After the second time elapses after the data is written to the storage means, the storage means is checked for failure,
前記検査により前記記憶手段に障害が検出されると,前記外部のデータ記憶装置から前記通信回線を介してデータを受信する,When a failure is detected in the storage means by the inspection, data is received from the external data storage device via the communication line.
データ記憶方法。Data storage method.
コンピュータに,Computer
データを記憶する記憶手段にデータを書き込む前または書き込んだ後に,該データを,通信回線を介して接続された外部のデータ記憶装置に送信する手順と,A procedure for transmitting the data to or from an external data storage device connected via a communication line before or after the data is written to the storage means for storing the data;
前記記憶手段に前記データを書き込む前に前記記憶手段から前記データが消去され,前記データが消去された後第1の時間経過後に前記記憶手段の障害の有無を検査する手順と,Before the data is written to the storage means, the data is erased from the storage means, and after the first time after the data is erased, the storage means is checked for failure;
前記データが前記記憶手段に書き込まれた後第2の時間経過後に前記記憶手段の障害の有無を検査する手順と,A procedure for inspecting the storage means for failure after a second time has elapsed after the data has been written to the storage means;
前記検査により前記記憶手段に障害が検出されると,前記外部のデータ記憶装置から前記通信回線を介してデータを受信する手順と,A procedure for receiving data from the external data storage device via the communication line when a failure is detected in the storage means by the inspection;
を実行させるためのプログラム。A program for running
JP2002002799A 2002-01-09 2002-01-09 Data processing device that can continue processing with backup data Expired - Fee Related JP4137450B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002002799A JP4137450B2 (en) 2002-01-09 2002-01-09 Data processing device that can continue processing with backup data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002002799A JP4137450B2 (en) 2002-01-09 2002-01-09 Data processing device that can continue processing with backup data

Publications (2)

Publication Number Publication Date
JP2003203017A JP2003203017A (en) 2003-07-18
JP4137450B2 true JP4137450B2 (en) 2008-08-20

Family

ID=27642557

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002002799A Expired - Fee Related JP4137450B2 (en) 2002-01-09 2002-01-09 Data processing device that can continue processing with backup data

Country Status (1)

Country Link
JP (1) JP4137450B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006003164A1 (en) * 2004-06-30 2006-01-12 Siemens Aktiengesellschaft Method and apparatus for obtaining an optical power power level in a pon
JP2008217811A (en) * 2008-04-03 2008-09-18 Hitachi Ltd Disk controller using nonvolatile memory
JP7155532B2 (en) * 2018-02-14 2022-10-19 株式会社デンソー Data recording device and data recording system

Also Published As

Publication number Publication date
JP2003203017A (en) 2003-07-18

Similar Documents

Publication Publication Date Title
CN101373433A (en) Method for updating BIOS and computer and system using the same
JP2006259869A (en) Multiprocessor system
JP5376058B2 (en) System control device, information processing system, and data saving and restoring method for information processing system
JPH0950424A (en) Dump sampling device and dump sampling method
JP4137450B2 (en) Data processing device that can continue processing with backup data
CN116724297A (en) Fault processing method, device and system
US8032791B2 (en) Diagnosis of and response to failure at reset in a data processing system
EP1185932B1 (en) Method and apparatus for automatically reintegrating a module into a computer system
CN115599617A (en) Bus detection method and device, server and electronic equipment
US8151176B2 (en) CPU instruction RAM parity error procedure
CN115022163A (en) Log collection method and device, computer equipment and storage medium
EP3404546B1 (en) Device for supervising and initializing ports
CN110414278A (en) A kind of data access system and method for BMC firmware information
JP3157759B2 (en) Hot-swap detection
JP7367495B2 (en) Information processing equipment and communication cable log information collection method
US20240159812A1 (en) Method for monitoring in a distributed system
KR101273875B1 (en) Data transmission control method and the device
US7937613B2 (en) Central processing apparatus
JP2000047896A (en) Device for setting information characteristic of device
JP3169488B2 (en) Communication control device
JP3132650B2 (en) Virtual path switching device
JPH10133958A (en) Communication device control circuit
JP2000276364A (en) Method for restoring fault, central processing unit and central processing system
CN116302625A (en) Fault reporting method, device and storage medium
CN117687833A (en) Method, device and storage medium for testing data security

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070905

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070911

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080311

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080512

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: 20080603

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080604

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: 20110613

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120613

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130613

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140613

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees