[go: up one dir, main page]

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

Data processing device that can continue processing with backup data

Info

Publication number
JP2003203017A
JP2003203017A JP2002002799A JP2002002799A JP2003203017A JP 2003203017 A JP2003203017 A JP 2003203017A JP 2002002799 A JP2002002799 A JP 2002002799A JP 2002002799 A JP2002002799 A JP 2002002799A JP 2003203017 A JP2003203017 A JP 2003203017A
Authority
JP
Japan
Prior art keywords
data
flash memory
failure
storage device
writing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2002002799A
Other languages
Japanese (ja)
Other versions
JP4137450B2 (en
Inventor
Mitsuya Kawashita
光也 川下
Takeshi Sasaki
健 佐々木
Masao Maeda
正男 前田
Kazuma Fujii
一真 藤井
Hirokazu Ito
広和 伊藤
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

Landscapes

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

Abstract

(57)【要約】 【課題】 記憶装置に障害が発生した場合であっても,
その処理を停止することなく継続できる処理装置を提供
する。 【解決手段】 SLT2は,フラッシュメモリ41へデ
ータの書き込み(S1)後,通信回線5により接続され
たエレメントマネージャ1に該データを送信し,エレメ
ントマネージャ1は記憶装置11にデータを記憶する
(S2)。SLT2は,フラッシュメモリ41からデー
タの読み出し(S3)後,パリティチェックを行う(S
4)。パリティエラーが検出されると(S5でYE
S),SLT2は,エレメントマネージャ1にデータ送
信要求を送信し(S6),エレメントマネージャ1か
ら,パリティエラーの検出されたデータと同一のデータ
を受信する(S7)。その後,SLT2は,受信したデ
ータに基づいて処理を継続する。
(57) [Summary] [PROBLEMS] Even if a failure occurs in a storage device,
Provided is a processing device capable of continuing the processing without stopping the processing. SOLUTION: After writing data to a flash memory 41 (S1), an SLT 2 transmits the data to an element manager 1 connected by a communication line 5, and the element manager 1 stores the data in a storage device 11 (S2). ). After reading data from the flash memory 41 (S3), the SLT 2 performs a parity check (S3).
4). When a parity error is detected (YE in S5)
S), the SLT 2 transmits a data transmission request to the element manager 1 (S6), and receives from the element manager 1 the same data as the data in which the parity error is detected (S7). After that, the SLT 2 continues the processing based on the received data.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は,記憶装置に障害が
発生しても処理を停止することなく続行可能なデータ処
理装置,データ記憶方法,およびデータ読み出し方法に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device, a data storing method, and a data reading method, which can continue processing without stopping even if a failure occurs in a storage device.

【0002】[0002]

【従来の技術】メモリ,たとえばフラッシュメモリに記
憶されたプログラムがCPUにより実行される処理装置
では,フラッシュメモリの障害に起因するデータ(プロ
グラム命令等)の誤りによって,処理装置がハングアッ
プ(暴走)することがある。このため,このようなハン
グアップを防止するために,フラッシュメモリの障害が
検出されると,CPUを停止させる等の処理が行われて
いる。
2. Description of the Related Art In a processing device in which a program stored in a memory, for example, a flash memory is executed by a CPU, the processing device hangs (runaway) due to an error in data (a program instruction or the like) caused by a failure of the flash memory. I have something to do. Therefore, in order to prevent such a hang-up, processing such as stopping the CPU is performed when a failure in the flash memory is detected.

【0003】たとえば,非同期転送モード(ATM:As
ynchronous Transfer Mode)により通信を行う加入者ラ
イン端末装置(SLT:Subscriber Line Terminal)
は,該装置の監視制御に関する運用情報のバックアップ
やCPUのアプリケーションプログラム(たとえば遠隔
装置からの制御を受けるためのアプリケーションプログ
ラム)をフラッシュメモリに記憶している。
For example, an asynchronous transfer mode (ATM: As)
Subscriber Line Terminal (SLT) that performs communication in the Synchronous Transfer Mode
Stores in the flash memory a backup of operation information relating to the monitoring control of the device and an application program of the CPU (for example, an application program for receiving control from a remote device).

【0004】このフラッシュメモリに障害が発生した場
合に,SLTの処理を実行しているCPUはその処理を
停止する。そして,フラッシュメモリの取り替え等を行
い,障害が回復した後に,処理が再開されるようになっ
ている。
When a failure occurs in this 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 restarted.

【0005】[0005]

【発明が解決しようとする課題】しかし,CPU,すな
わちSLTが障害回復までの間処理を停止していると,
監視機能が停止し,場合によっては,ユーザデータ(主
信号)の運用面/非運用面の切り換えが行えず,回線断
などの致命的な障害を引き起こすおそれがある。
However, if the CPU, that is, the SLT, suspends the processing until the failure is recovered,
The monitoring function stops, and in some cases, the operating / non-operating side of user data (main signal) cannot be switched, which may cause a fatal failure such as a line disconnection.

【0006】また,遠隔装置からSLTの制御ができな
くなり,オペレータからSLTの状態が見えなくなる障
害が発生する。
Further, the SLT cannot be controlled from the remote device, which causes a trouble that the operator cannot see the state of the SLT.

【0007】本発明は,このような状況に鑑みなされた
ものであり,その目的は,記憶装置(メモリ)に記憶さ
れたデータに基づいて処理を実行する処理装置におい
て,該記憶装置に障害が発生した場合であっても,その
処理を停止することなく継続できる処理装置を提供する
ことにある。
The present invention has been made in view of such a situation, and an object thereof is to provide a processing device which executes processing based on data stored in a storage device (memory), in which the storage device has a failure. Even if it occurs, it is to provide a processing device that can continue its processing without stopping it.

【0008】[0008]

【課題を解決するための手段】前記目的を達成するため
に,本発明の第1の側面によるデータ処理装置は,通信
回線を介して外部のデータ記憶装置と接続され,データ
に対して所定の処理を行うデータ処理装置であって,デ
ータを記憶する記憶手段と,前記記憶手段に前記データ
を書き込む書き込み手段と,前記書き込み手段による前
記記憶手段へのデータの書き込み前または書き込み後
に,該データを前記通信回線を介して前記外部のデータ
記憶装置に送信する送信手段と,を備えている。
In order to achieve the above object, the data processing device according to the first aspect of the present invention is connected to an external data storage device via a communication line, and a predetermined data is stored. A data processing device for performing processing, comprising: storage means for storing data; writing means for writing the data in the storage means; and writing the data before or after writing the data to the storage means by the writing means. Transmission means for transmitting data to the external data storage device via the communication line.

【0009】また,本発明の第1の側面によるデータ記
憶方法は,データを記憶する記憶手段にデータを書き込
む前または書き込んだ後に,該データを,通信回線を介
して接続された外部のデータ記憶装置に送信し,前記記
憶手段に障害が検出されると,前記外部のデータ記憶装
置から前記通信回線を介してデータを受信するものであ
る。
In the data storage method according to the first aspect of the present invention, before or after writing the data in the storage means for storing the data, the data is stored in an external data storage connected via a communication line. When a failure is detected in the storage means, the data is received from the external data storage device via the communication line.

【0010】さらに,本発明の第1の側面によるプログ
ラムは,前記データ記憶方法をコンピュータに実行させ
るものである。
Further, a program according to the first aspect of the present invention causes a computer to execute the data storage method.

【0011】本発明の第1の側面によると,記憶手段へ
のデータの書き込み前または書き込み後に,該データが
前記通信回線を介して前記外部のデータ記憶装置に送信
される。この送信されたデータは,外部のデータ記憶装
置に記憶される。したがって,記憶手段に障害が発生
し,記憶手段に記憶されたデータが正しく読み出せない
または記憶手段にデータを正しく書き込めない場合であ
っても,データ処理装置はこのデータを外部の記憶装置
からデータを受信し,受信したデータによって処理を実
行することができる。これにより,記憶手段に障害が生
じても,処理を停止することなく継続することができ
る。
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 the external data storage device. Therefore, even when a failure occurs in the storage means and the data stored in the storage means cannot be read out correctly or the data cannot be written correctly in the storage means, the data processing device stores the data from the external storage device. Can be received, and processing can be executed according to the received data. As a result, even if a failure occurs in the storage means, the processing can be continued without stopping.

【0012】本発明の第2の側面によるデータ処理装置
は,バックアップ用のデータがあらかじめ記憶されてい
る外部のデータ記憶装置と通信回線を介して接続され,
データに対して所定の処理を行うデータ処理装置であっ
て,データを記憶する記憶手段と,前記記憶手段に記憶
されたデータを読み出す際に,前記記憶手段の障害の有
無を検査する検査手段と,前記検査手段により障害が検
出されると,前記読み出したデータのバックアップ用の
データを前記通信回線を介して前記外部のデータ記憶装
置から受信する受信手段と,を備えている。
The data processing device according to the second aspect of the present invention is connected via a communication line to an external data storage device in which backup data is stored in advance,
A data processing device for performing a predetermined process on data, comprising storage means for storing the data, and inspection means for inspecting the storage means for a failure 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 inspection means.

【0013】また,本発明の第2の側面によるデータ読
み出し方法は,バックアップ用のデータがあらかじめ記
憶されている外部のデータ記憶装置と通信回線を介して
接続され,データに対して所定の処理を行うデータ処理
装置のデータ読み出し方法であって,データを記憶する
記憶手段に記憶されたデータを読み出す際に,前記記憶
手段の障害の有無を検査し,前記検査により障害を検出
すると,前記読み出したデータのバックアップ用のデー
タを前記通信回線を介して前記外部のデータ記憶装置か
ら受信するものである。
In the data reading method according to the second aspect of the present invention, an external data storage device in which backup data is stored in advance is connected via a communication line, and a predetermined process is performed on the data. A method of performing data reading of a data processing device, comprising: checking the presence or absence of a failure in the storage means when reading the data stored in the storage means for storing the data; Data for data backup is received from the external data storage device via the communication line.

【0014】本発明の第2の側面によると,記憶手段に
記憶されたデータを読み出す際に,記憶手段の障害の有
無が検査され,障害が検出されると,読み出したデータ
のバックアップ用のデータが通信回線を介して外部のデ
ータ記憶装置から受信される。したがって,このデータ
を受信した装置は,受信したデータにより処理を実行す
ることができる。したがって,記憶手段に障害が生じて
も,処理を停止することなく継続することができる。
According to the second aspect of the present invention, when the data stored in the storage means is read, the presence or absence of a failure in the storage means is inspected, and if a failure is detected, backup data for the read data is obtained. Is received from an external data storage device via a communication line. Therefore, the device that receives this data can execute processing according to the received data. Therefore, even if a failure occurs in the storage means, the processing can be continued without stopping.

【0015】[0015]

【発明の実施の形態】図1は,本発明の一実施の形態に
よる通信システムの構成を示すブロック図である。この
通信システムは,エレメントマネージャ1,加入者ライ
ン端末(SLT:Subscriber Line Terminal)21およ
び22,光ライン端末装置(OLT:Optical Line Term
ination)31〜34,ならびにユーザ端末41〜48を有
する。
1 is a block diagram showing the configuration of a communication system according to an embodiment of the present invention. This communication system includes an element manager 1, subscriber line terminals (SLT) 2 1 and 2 2 , and an optical line terminal device (OLT).
ination) 3 1 to 3 4 and user terminals 4 1 to 4 8 .

【0016】この通信システムは,ユーザ端末41〜48
を使用するエンドユーザのデータ(ユーザの音声,テキ
ストデータ,画像データ等であり,以下「ユーザデー
タ」という。)をスイッチング(交換)するデータ交換
ネットワークである。
This communication system includes user terminals 4 1 to 4 8
Is a data exchange network for switching (exchanging) end user data (user's voice, text data, image data, etc., hereinafter referred to as "user data") that uses.

【0017】ここでは,一例として,2つのSLT21
および22を示しているが,SLTは1つであってもよ
いし,3つ以上であってもよい。また,OLTも各SL
Tに対して2つずつ示しているが,これ以外の個数であ
ってもよい。さらに,ユーザ端末も図示する個数以外の
ものが設けられてもよい。以下では,SLT21および
2を特に区別する必要がある場合を除き「SLT2」
と総称する。同様にして,OLT31〜34をOLT3と
総称し,ユーザ端末41〜48をユーザ端末4と総称す
る。
Here, as an example, two SLTs 2 1
Although 2 and 2 are shown, the number of SLTs may be one or three or more. In addition, OLT is also SL
Although two are shown for each T, other numbers may be used. Further, user terminals other than the number shown may be provided. In the following, "SLT2" will be used unless it is necessary to distinguish between SLT2 1 and 2 2.
Collectively. Similarly, the OLTs 3 1 to 3 4 are collectively referred to as the OLT 3, and the user terminals 4 1 to 4 8 are collectively referred to as the user terminal 4.

【0018】エレメントマネージャ1とSLT2との間
は,通信ネットワーク(たとえばイーサネット(登録商
標)等のLAN)5により接続されている。エレメント
マネージャ1およびSLT2は,通信ネットワーク5に
おける識別情報(たとえばIPアドレス)を有し,この
識別情報に基づいて相互に通信する。
The element manager 1 and the SLT 2 are connected by a communication network (eg LAN such as Ethernet (registered trademark)) 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】SLT2同士の間,および,SLT2とO
LT3との間は,光ファイバケーブルにより接続され,
これらの間では,非同期転送モード(ATM:Asynchro
nousTransfer Mode)によりデータが通信される。OL
T3とユーザ端末4との間は,ユーザ端末4に応じて,
光ファイバケーブルまたは電気回線により接続され,こ
れらの間では,ユーザ端末に応じてATM,IPパケッ
ト等によりデータが通信される。
Between SLT2s, and between SLT2 and O
An optical fiber cable is used to connect to LT3,
Between these, asynchronous transfer mode (ATM: Asynchro
data is communicated by nousTransfer Mode). OL
Between T3 and the user terminal 4, depending on the user terminal 4,
It is connected by an optical fiber cable or an electric line, and data is communicated between these by ATM, IP packet or the like according to the user terminal.

【0020】エレメントマネージャ1は,コンピュー
タ,ワークステーション等により構成される。エレメン
トマネージャ1は,SLT2に必要なプログラム(たと
えばファームウェア)をSLT2に通信ネットワーク5
を介して送信するとともに,後述するように,SLT2
から通信ネットワーク5を介して送信されるプログラ
ム,監視情報等のデータを記憶装置(ハードディスク,
光ディスク,半導体メモリ等)11にバックアップ用と
して記憶する。そして,SLT2の内部のメモリに障害
が発生し,SLT2がメモリに記憶されたデータを使用
できなくなった場合等に,エレメントマネージャ1は,
バックアップ用として記憶装置11に記憶されたデータ
をSLT2に送信する。
The element manager 1 is composed of a computer, a workstation and the like. The element manager 1 sends a program (for example, firmware) required for the SLT 2 to the SLT 2 via the communication network 5
Via SLT2 as described below.
Data such as programs and monitoring information transmitted from the computer via the communication network 5 from a storage device (hard disk,
It is stored in the optical disk, semiconductor memory, etc.) 11 for backup. Then, when a failure occurs in the internal memory of the SLT 2 and the SLT 2 cannot use the data stored in the memory, the element manager 1
The data stored in the storage device 11 for backup is transmitted to the SLT 2.

【0021】ユーザ端末4は,エンドユーザが使用する
端末であり,たとえば電話器,パソコン等である。ユー
ザ端末4は,ユーザデータをOLT3に送信する。OL
T3は,自己に接続されたユーザ端末4またはSLT2
からのユーザデータを他のユーザ端末4またはSLT2
にスイッチング(交換)する。SLT2は,ユーザ端末
4からOLT3を介して送信されたユーザデータを他の
OLT3または他のSLT2に交換する。
The user terminal 4 is a terminal used by the end user and is, for example, a telephone, a personal computer or the like. The user terminal 4 transmits the user data to the OLT 3. OL
T3 is the user terminal 4 or SLT2 connected to itself
User data from another user terminal 4 or SLT2
Switch (replace) to. The SLT 2 exchanges the user data transmitted from the user terminal 4 via the OLT 3 with another OLT 3 or another SLT 2.

【0022】図2は,SLT2の詳細な構成を示すブロ
ック図である。SLT2は,監視装置21,スイッチ2
2,およびインタフェース装置23〜25を有する。
FIG. 2 is a block diagram showing the detailed structure of the SLT 2. The SLT 2 includes the monitoring device 21 and the switch 2
2, and interface devices 23 to 25.

【0023】インタフェース装置23は他のSLT2に
接続され,インタフェース装置24および25はOLT
3に接続される。インタフェース装置23〜25は,電
気信号と光信号の相互変換,レイヤ1(および2)の通
信プロトコルの処理等を行う。インタフェース装置23
〜25は,それぞれ2つ設けられ,一方に障害が発生し
た場合には,監視装置21によって切り替えられ,他方
が使用されるようになっている。
The interface device 23 is connected to another SLT 2 and the interface devices 24 and 25 are OLTs.
3 is connected. The interface devices 23 to 25 perform mutual conversion of electric signals and optical signals, processing of layer 1 (and 2) communication protocols, and the like. Interface device 23
Two to 25 are provided respectively, and when a failure occurs in one of them, it is switched by the monitoring device 21 and the other is used.

【0024】スイッチ22は,インタフェース装置24
または25を介して入力されるOLT3からのユーザデ
ータおよびインタフェース装置23を介して入力される
他のSLT2からのユーザデータのスイッチングを行
い,これらのユーザデータを他のインタフェース装置に
出力する。
The switch 22 is an interface device 24.
Alternatively, the user data input from the OLT 3 via 25 and the user data input from the other SLT 2 via the interface device 23 are switched, and these user data are output to the other interface device.

【0025】監視装置21は,スイッチ22およびイン
タフェース装置23〜24の状態の監視,インタフェー
ス装置23〜25の切り替え等を行う。図3は,監視装
置21の詳細な構成を示すブロック図である。また,図
4は,監視装置21のフラッシュメモリユニット36の
詳細な構成を示すブロック図である。
The monitoring device 21 monitors the states of the switch 22 and the interface devices 23-24 and switches the interface devices 23-25. FIG. 3 is a block diagram showing 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】監視装置21は,LAN(Local Area Net
work)ポート31,CPU32,ブートROM33,管
理情報格納用EEPROM34,ワーク用SDRAM3
5,およびフラッシュメモリユニット36を有する。フ
ラッシュメモリユニット36は,4つのフラッシュメモ
リ41a〜41d,4つのパリティチェック回路42a
〜42d,ならびにレジスタ43および44を有する。
The monitoring device 21 is a LAN (Local Area Net).
work) port 31, CPU 32, boot ROM 33, management information storage EEPROM 34, work SDRAM 3
5, and a flash memory unit 36. The flash memory unit 36 includes four flash memories 41a to 41d and four parity check circuits 42a.
˜42d, and registers 43 and 44.

【0027】CPU32,LANポート31,ブート用
ROM33,管理情報格納用EEPROM34,ワーク
用SDRAM35,およびフラッシュメモリユニット3
6は,バス(アドレスバスおよびデータバスを含む。)
により相互に接続されている。
CPU 32, LAN port 31, boot ROM 33, management information storage EEPROM 34, work SDRAM 35, and flash memory unit 3
6 is a bus (including an address bus and a data bus)
Are connected to each other by.

【0028】LANポート31は,インターネット5を
介してエレメントマネージャ1と通信するためのインタ
フェース装置であり,主としてレイヤ1および2の通信
プロトコルの処理を実行する。
The LAN port 31 is an interface device for communicating with the element manager 1 via the Internet 5, and mainly executes the processing of communication protocols of layers 1 and 2.

【0029】ブートROM33は,SLT2(監視装置
21)の立ち上げ時に起動されるブートプログラムを記
憶している。管理情報格納用EEPROM34には,こ
のSLT2の識別情報(IPアドレス,MACアドレ
ス)等の管理情報が記憶される。ワーク用SDRAM3
5は,CPU32のワーク領域に使用されるメモリであ
り,フラッシュメモリユニット36に記憶されたプログ
ラム,CPU32の処理により生成されるデータ等が一
時的に記憶される。
The boot ROM 33 stores a boot program that is started when the SLT 2 (monitoring device 21) is started up. The management information storage EEPROM 34 stores management information such as identification information (IP address, MAC address) of the SLT 2. SDRAM3 for work
Reference numeral 5 denotes a memory used as a work area of the CPU 32, in which a program stored in the flash memory unit 36, data generated by the processing of the CPU 32, and the like are temporarily stored.

【0030】フラッシュメモリユニット36には,SL
T2のバックアップ用の運用情報,アプリケーションプ
ログラム(ファームウェア)等が記憶される。アプリケ
ーションプログラムは,複数種類のものが設けられても
良い。この場合には,アプリケーションプログラムの種
類の個数に応じたフラッシュメモリユニット36が設け
られることがある。
The flash memory unit 36 has an SL
Operational information for backup of T2, application programs (firmware), etc. are stored. A plurality of types of application programs may be provided. In this case, the flash memory unit 36 may be provided according to the number of types of application programs.

【0031】フラッシュメモリユニット36のフラッシ
ュメモリ41a〜41dは同一の構成を有するフラッシ
ュメモリである。フラッシュメモリ41a〜41dのそ
れぞれの各メモリセルは一例として9ビットを有する。
9ビットのうちの8ビットにはデータ(アプリケーショ
ンプログラムの命令,運用情報等)が記憶され,残りの
1ビットには8ビットのデータに対するパリティチェッ
クビットが記憶される。
The flash memories 41a to 41d of the flash memory unit 36 are flash memories having the same structure. Each memory cell of each of the flash memories 41a to 41d has 9 bits as an example.
Data (commands of application programs, 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】フラッシュメモリ41a〜41dへのデー
タ書き込み時に,CPU32は,データの書き込み先の
メモリセルを指定するアドレスおよび書き込むためのデ
ータ(ならびに図示しない信号線により書き込み信号)
をフラッシュメモリ41a〜41dに出力する。アドレ
スはフラッシュメモリ41a〜41dに同時に与えられ
る。書き込むためのデータは32ビットであり,この3
2ビットデータは,第1ビットから第32ビットに向け
て4つの8ビットデータに分けられ,各8ビットデータ
は,フラッシュメモリ41a〜41dにそれぞれ与えら
れ,アドレスが示すメモリセルに記憶される。
When writing data to the flash memories 41a to 41d, the CPU 32 has an address designating a memory cell to which the data is to be written and data to be written (and a write signal by a signal line (not shown)).
Is output to the flash memories 41a to 41d. The address is simultaneously given to the flash memories 41a to 41d. The data to write is 32 bits.
The 2-bit data is divided into four 8-bit data from the 1st bit to the 32nd bit, and each 8-bit data is given to the flash memories 41a to 41d and stored in the memory cell indicated by the address.

【0033】このデータ書き込み時に,各8ビットデー
タは,パリティチェック回路42a〜42dにも与えら
れる。パリティチェック回路42a〜42dは,各8ビ
ットデータのパリティビットを生成し,このパリティビ
ットを,アドレスで示されるフラッシュメモリ41a〜
41dの各メモリセルの第9ビットにそれぞれ書き込
む。パリティビットは,奇数パリティであってもよい
し,偶数パリティであってもよい。
At the time of writing this data, each 8-bit data is also given to the parity check circuits 42a to 42d. The parity check circuits 42a to 42d generate parity bits of each 8-bit data, and the parity bits are used to represent the flash memories 41a to 41d.
The 9th bit of each memory cell 41d is written. The parity bit may be odd parity or even parity.

【0034】一方,フラッシュメモリ41a〜41dか
らのデータ読み出し時に,CPU32は,データの読み
出し先のメモリセルを指定するアドレス(および図示し
ない信号線により読み出し信号)をフラッシュメモリ4
1a〜41dに出力する。フラッシュメモリ41a〜4
1dは,アドレスにより指定されたメモリセルから,そ
れぞれ8ビットデータを出力する。これにより,合計3
2ビットデータが読み出され,CPU32に与えられ
る。
On the other hand, when reading data from the flash memories 41a to 41d, the CPU 32 sends an address (and a read signal by a signal line (not shown)) designating a memory cell to which data is read.
1a to 41d. Flash memory 41a-4
1d outputs 8-bit data from the memory cell specified by the address. This makes a total of 3
2-bit data is read and given to the CPU 32.

【0035】このデータ読み出し時に,フラッシュメモ
リ41a〜41dからの各8ビットデータに加えて,各
8ビットデータに対応するパリティチェックビットが,
フラッシュメモリ41a〜41dからパリティチェック
回路42a〜42dにそれぞれ与えられる。
At the time of reading this data, in addition to each 8-bit data from the flash memories 41a to 41d, a parity check bit corresponding to each 8-bit data is generated.
It is given from the flash memories 41a to 41d to the parity check circuits 42a to 42d, respectively.

【0036】パリティチェック回路42a〜42dは,
フラッシュメモリ41a〜41dからそれぞれ与えられ
た8ビットデータおよびパリティチェックビットを照合
することによりパリティチェックを行い,チェック結果
をレジスタ43に出力する。チェック結果は,たとえば
パリティエラーが生じている場合には1ビットデータの
“1”であり,正常な場合(パリティエラーが生じてい
ない場合)には1ビットデータの“0”である。
The parity check circuits 42a to 42d are
A parity check is performed by collating the 8-bit data and the parity check bit provided from each of the flash memories 41a to 41d, and the check result is output to the register 43. The check result is, for example, 1-bit data "1" when a parity error occurs, and 1-bit data "0" when normal (when no parity error occurs).

【0037】レジスタ43は,たとえば4ビットを有す
る。各ビットはパリティチェック回路42a〜42dに
それぞれ対応し,パリティチェック回路42a〜42d
のチェック結果を記憶する。したがって,4ビットのい
ずれが“1”であるかによって,フラッシュメモリ41
a〜41dのいずれがパリティエラーを起こしているか
を判断することができる。
Register 43 has, for example, 4 bits. Each bit corresponds to the parity check circuits 42a to 42d, and the parity check circuits 42a to 42d, respectively.
Memorize the check result of. Therefore, the flash memory 41 depends on which of the 4 bits is "1".
It is possible to determine which of a-41d is causing the parity error.

【0038】レジスタ43に記憶されたチェック結果
は,CPU32により読み出され,パリティエラーの有
無がCPU32により判断される。
The check result stored in the register 43 is read by the CPU 32, and the presence or absence of a parity error is determined by the CPU 32.

【0039】レジスタ44はたとえば4ビットを有し,
各ビットはフラッシュメモリ41a〜41dのそれぞれ
のビジー信号の出力の有無を記憶する。このビジー信号
は,フラッシュメモリ41a〜41dにデータを書き込
んだ後,または,フラッシュメモリ41a〜41dに記
憶されたデータを消去した後に,所定の時間の間,フラ
ッシュメモリ41a〜41dから出力される信号であ
る。このビジー信号が出力されている間,データの書き
込みおよび消去を行うことができず,またデータを読み
出す場合も,ビジー信号出力中は,データの値がトグル
状態(後述)にあり,一定していないので,正確なデー
タを読み出すことはできない。
The register 44 has, for example, 4 bits,
Each bit stores the presence / absence of output of a busy signal from each 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 the data in the flash memories 41a to 41d or erasing the data stored in the flash memories 41a to 41d. Is. While this busy signal is being output, data cannot be written or erased, and even when reading data, the data value is in a toggle state (described later) and is constant during the busy signal output. Since it does not exist, accurate data cannot be read.

【0040】ビジー信号が出力される所定の時間は,フ
ラッシュメモリ41a〜41dに使用されるメモリ回路
(たとえば半導体チップ)の種類に応じてあらかじめ定
まっている。また,データ書き込み後にビジー信号が出
力される時間と,データ消去後にビジー信号が出力され
る時間とは,同じ場合もあるし,異なる場合もある。以
下では,データ消去後にビジー信号が出力される時間を
T1とし,データ書き込み後にビジー信号が出力される
時間をT2とする。
The predetermined time for outputting the busy signal is predetermined according to the type of memory circuit (for example, semiconductor chip) used for the flash memories 41a to 41d. Further, the time when the busy signal is output after writing the data and the time when the busy signal is output after erasing the data may be the same or different. In the following, the time when the busy signal is output after erasing data is T1, and the time when the busy signal is output after writing data is T2.

【0041】なお,フラッシュメモリ41にデータを書
き込む場合には,一旦,データを書き込むアドレスのメ
モリセルのデータが消去された後,データが書き込まれ
る。
When writing data to the flash memory 41, the data is first written after the data in the memory cell at the address where the data is written is erased.

【0042】このビジー信号が出力されている間,レジ
スタ44の対応するビットは“1”に設定され,ビジー
信号の出力が停止すると,該ビットは“0”に設定され
る。
While the busy signal is being 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】このレジスタ44に記憶された4ビットデ
ータは,CPU32により読み出される。CPU32
は,データ書き込み後,たとえばウォッチドックタイマ
等で時間T2を計測し,時間T2経過後もレジスタ44
のビットの値が“1”である場合には,そのビットに対
応するフラッシュメモリに障害が発生していると判断す
ることができる。
The 4-bit data stored in the register 44 is read by the CPU 32. CPU32
Measures time T2 after writing the data, for example, with a watchdog timer, and registers register 44 even after the time T2 elapses.
When the value of the bit of "1" is "1", it can be determined that a failure has occurred in the flash memory corresponding to the bit.

【0044】同様にして,CPU32は,データ消去
後,時間T1を計測し,時間T1経過後もレジスタ44
のビットの値が“1”である場合には,そのビットに対
応するフラッシュメモリに障害が発生していると判断す
ることができる。
Similarly, the CPU 32 measures the time T1 after erasing the data and registers the register 44 even after the time T1 has elapsed.
When the value of the bit of "1" is "1", it can be determined that a failure has occurred in the flash memory corresponding to the bit.

【0045】なお,ビジー信号の出力端子を有しないフ
ラッシュメモリもある。この場合には,ポーリングによ
り障害の有無がチェックされる。すなわち,CPU32
は,データ書き込み後,所定の時間間隔で書き込んだデ
ータを読み出す。データ書き込み後の時間T2の間は,
読み出されたデータの少なくとも1ビットは“0”と
“1”とを交互に繰り返すトグル状態にある。一方,時
間T2経過後,フラッシュメモリが正常である場合に
は,トグル状態が解消され,書き込んだデータを正確に
読み出すことができるようになっている。フラッシュメ
モリに障害が発生している場合には,トグル状態が解消
されず,書き込んだデータを正確に読み出すことはでき
ない。
Some flash memories do not have a busy signal output terminal. In this case, the presence or absence of a fault is checked by polling. That is, the CPU 32
Reads the written data at a predetermined time interval after writing the data. During time T2 after writing data,
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 lapse of time T2, if the flash memory is normal, the toggle state is canceled and the written data can be read correctly. When a failure occurs in the flash memory, the toggle state is not resolved and the written data cannot be read correctly.

【0046】したがって,CPU32は,時間T2の経
過後においても,フラッシュメモリがトグル状態にある
かどうかをポーリングにより判断することによって,フ
ラッシュメモリが正常であるか,障害が発生しているか
を判断することができる。
Therefore, the CPU 32 determines by polling whether the flash memory is in the toggle state or not even after the elapse of the time T2, thereby determining whether the flash memory is normal or has a failure. be able to.

【0047】データ消去後も,同様にして時間T1経過
後におけるトグル状態の有無をポーリングにより検知す
ることによって,フラッシュメモリの障害の有無を判断
することができる。
Even after erasing the data, the presence or absence of the failure of the flash memory can be determined by similarly detecting the presence or absence of the toggle state after the lapse of time T1 by polling.

【0048】このような構成の通信システムにおいて,
SLT2のフラッシュメモリ41a〜41d(以下,特
に区別する必要がある場合を除き「フラッシュメモリ4
1」と総称する。)に障害が発生した場合において,C
PU32を停止することなく,処理を継続するためのC
PU32(SLT2)の処理について以下に説明する。
この処理には,いくつかの方法があるので,以下では分
けて説明する。
In the communication system having such a configuration,
The flash memories 41a to 41d of the SLT 2 (hereinafter, referred to as "flash memory 4 unless otherwise particularly distinguished.
1 ”. ) In case of failure, C
C for continuing the process without stopping the PU 32
The processing of the PU 32 (SLT2) will be described below.
There are several methods for this processing, so they will be described separately below.

【0049】(1)第1の方法 第1の方法は,パリティエラーの発生したデータの部分
をエレメントマネージャ1から受け取るものである。図
5は,第1の方法による処理の流れを示すフローチャー
トである。
(1) First Method The first method is to receive, from the element manager 1, a portion of data in which a parity error has occurred. FIG. 5 is a flowchart showing the flow of processing according to the first method.

【0050】ステップS2は,CPU32がたとえばブ
ートROM33に記憶されたブートプログラム,また
は,フラッシュメモリ41もしくはワーク用SDRAM
35に記憶されたアプリケーションプログラムの実行中
において,フラッシュメモリ41にデータを書き込む際
に実行される処理である。
In step S2, the CPU 32 uses, for example, the boot program stored in the boot ROM 33, or the flash memory 41 or the work SDRAM.
This is a process executed when writing data to the flash memory 41 during execution of the application program stored in 35.

【0051】ブートプログラムまたはアプリケーション
プログラムの実行中にフラッシュメモリ41へのデータ
(たとえば監視情報)の書き込みが行われると(S
1),CPU32は,フラッシュメモリ41へのデータ
の書き込み後,同じデータをパケットにより,LANポ
ート31を介してエレメントマネージャ1に送信する
(S2)。
When data (for example, monitoring information) is written to the flash memory 41 during execution of the boot program or application program (S
1), the CPU 32, after writing the data to the flash memory 41, transmits the same data to the element manager 1 via the LAN port 31 as a packet (S2).

【0052】図6は,SLT2からエレメントマネージ
ャ1に送信されるパケット(ペイロード部)のデータ構
造を示している。このパケットは,たとえばIPパケッ
トであり,図6では,パケットのヘッダ部の図示を省略
し,ペイロード部のみを図示している。パケットのペイ
ロード部には,SLT識別情報,フラッシュメモリ識別
情報,アドレス,およびデータが含まれる。
FIG. 6 shows the data structure of the packet (payload section) transmitted from the SLT 2 to the element manager 1. This packet is, for example, an IP packet, and in FIG. 6, the header portion of the packet is omitted and only the payload portion is shown. The payload portion of the packet includes SLT identification information, flash memory identification information, address, and data.

【0053】「SLT識別情報」は,データを送信する
SLT2の識別情報(たとえばIPアドレス)である。
The "SLT identification information" is the identification information (for example, IP address) of the SLT 2 that transmits the data.

【0054】「フラッシュメモリ識別情報」は,フラッ
シュメモリをメモリ回路(半導体チップ)単位で識別す
るための情報である。たとえば,図4に示す構成では,
フラッシュメモリ41a〜41dの個々を識別する情報
がフラッシュメモリ識別情報となる。また,前述したよ
うにフラッシュメモリユニット36がアプリケーション
プログラムの種類に応じて複数個設けられている場合に
各フラッシュメモリユニット36の識別情報および該フ
ラッシュメモリユニット36の内部におけるメモリ回路
単位の識別情報である。
The "flash memory identification information" is information for identifying the flash memory in units of memory circuits (semiconductor chips). For example, in the configuration shown in FIG.
Information for identifying each of the flash memories 41a to 41d becomes flash memory identification information. Further, 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 unit inside the flash memory unit 36 are used. is there.

【0055】「アドレス」は,データを書き込んだフラ
ッシュメモリ41のアドレスであり,「データ」は,フ
ラッシュメモリ41に書き込まれたデータである。
The "address" is the address of the flash memory 41 in which the data is written, and the "data" is the data written in the flash memory 41.

【0056】なお,SLT2から送信されるパケットが
IPパケットの場合に,送信元のSLT2のIPアドレ
スはIPパケットのヘッダ部に含まれるので,この場合
には「SLT識別情報」は省略可能である。
When the packet transmitted from SLT2 is an IP packet, the IP address of SLT2 as the transmission source is included in the header part of the IP packet, and in this case, the "SLT identification information" can be omitted. .

【0057】エレメントマネージャ1は,SLT2から
送信されたパケットを自己の記憶装置11に記憶する。
エレメントマネージャ1の記憶装置11に記憶されるデ
ータ構造も,図6に示すパケットのペイロード部のデー
タ構造と同じである。
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 part of the packet shown in FIG.

【0058】このようにして,CPU32がフラッシュ
メモリ41に書き込んだデータと同一のデータがエレメ
ントマネージャ1にバックアップ用として保存され,エ
レメントマネージャ1は,フラッシュメモリ41に記憶
されたデータと同一内容のデータを有する。なお,ステ
ップS1の前にステップS2が実行されてもよい。
In this way, the same data as the data written in the flash memory 41 by the CPU 32 is saved 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. Have. Note that step S2 may be executed before step S1.

【0059】一方,ステップS4〜S7は,CPU32
がたとえばブートプログラムまたはアプリケーションプ
ログラムの実行中において,フラッシュメモリ41にデ
ータを書き込む際に実行される処理である。
On the other hand, in steps S4 to S7, the CPU 32
Is a process executed when writing data to the flash memory 41 during execution of a boot program or an application program.

【0060】ブートプログラムまたはアプリケーション
プログラムの実行中にフラッシュメモリ41へのデータ
の読み出しが行われると(S3),CPU32は,フラ
ッシュメモリ41からデータを読み出した後,レジスタ
43の内容を読み出す(S4)。このレジスタ43に
は,CPU32により読み出されたデータのパリティチ
ェック結果がパリティチェック回路42a〜42dによ
って格納されている。
When data is read to the flash memory 41 during execution of the boot program or the application program (S3), the CPU 32 reads the data from the flash memory 41 and then reads the contents of the register 43 (S4). . The parity check result of the data read by the CPU 32 is stored in the register 43 by the parity check circuits 42a to 42d.

【0061】続いて,CPU32は,レジスタ43の値
に基づいてパリティエラーが発生しているかどうかを判
断する(S5)。パリティエラーが発生している場合
(たとえば4ビットの少なくとも1ビットが“1”であ
る場合)には(S5でYES),CPU32は,パリテ
ィエラーの発生しているアドレスのデータ送信要求をパ
ケットによりエレメントマネージャ1に送信する(S
6)。
Subsequently, the CPU 32 determines whether or not a parity error has occurred based on the value of the register 43 (S5). If a parity error has occurred (for example, if at least one of the 4 bits is "1") (YES in S5), the CPU 32 sends a data transmission request for the address in which the parity error has occurred to the packet. Send to element manager 1 (S
6).

【0062】このデータ送信要求のパケットは,図6に
示すパケットとほぼ同様に,ペイロード部に「SLT識
別情報」,「フラッシュメモリ識別情報」,および「ア
ドレス」が含まれ,「データ」の部分には,データ送信
要求を表す情報が含まれる。
This data transmission request packet includes "SLT identification information", "flash memory identification information", and "address" in the payload portion, as in the packet shown in FIG. 6, and the "data" portion. Contains information indicating a data transmission request.

【0063】エレメントマネージャ1は,SLT2から
データ送信要求を受信すると,該データ送信要求に含ま
れるSLT識別情報,フラッシュメモリ識別情報,およ
びアドレスに対応するデータを記憶装置11から読み出
し,読み出したデータを,データ送信要求を送信したS
LT2に返信する。これにより,パリティエラーが検出
されたデータと同一のデータがエレメントマネージャ1
からSLT2に返信される。
Upon receiving 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 reads the read data. , S that sent the data transmission request
Reply to LT2. As a result, the same data as the data in which the parity error is detected will be the element manager 1
To SLT2.

【0064】SLT2のCPU32は,返信されたデー
タを受信すると,このデータをたとえばワーク用SDR
AM35に記憶し,以後,返信されたデータに基づいて
プログラムの処理を継続する。
When the CPU 32 of the SLT 2 receives the returned data, it sends this data to, for example, the work SDR.
It is stored in the AM 35, and thereafter, the processing of the program is continued based on the returned data.

【0065】一方,ステップS5においてパリティエラ
ーが発生していない場合には(S5でNO),CPU3
2は読み出したデータに基づいてプログラムの処理を継
続する。
On the other hand, if no parity error has occurred in step S5 (NO in S5), the CPU 3
2 continues the processing of the program based on the read data.

【0066】このように,この第1の方法によると,フ
ラッシュメモリ41に障害が生じ,正確なデータが読み
出せない場合であっても,CPU32はエレメントマネ
ージャ1にバックアップ用に保存されたデータを利用す
ることにより,その動作を停止することなく,プログラ
ムの実行を継続することができる。
As described above, according to the first method, the CPU 32 saves the data saved for backup in the element manager 1 even if the flash memory 41 fails and accurate data cannot be read. By using it, it is possible to continue executing the program without stopping its operation.

【0067】なお,ステップS7でエレメントマネージ
ャ1から受信するデータは,4つのフラッシュメモリ4
1a〜41dから同時に読み出される32ビットデータ
であってもよいし,32ビットデータのうち,パリティ
エラーが検出された8ビットデータ(または16ビッ
ト,24ビットデータ)部分であってもよい。
The data received from the element manager 1 in step S7 is the four flash memories 4
It may be 32-bit data read simultaneously from 1a to 41d, or may be 8-bit data (or 16-bit, 24-bit data) portion in which a parity error is detected in the 32-bit data.

【0068】また,ステップS2およびS4〜S7の処
理は,ブートプログラムまたはアプリケーションプログ
ラム内にプログラム命令として記述されていてもよい
し,あるいは,フラッシュメモリ41へのデータの書き
込みまたは読み出し実行時にCPU32に割り込みが発
生するように構成されている場合には,この割り込み処
理のプログラムとして記述されていてもよい。
The processing of steps S2 and S4 to S7 may be described as program instructions in the boot program or application program, or interrupt the CPU 32 when writing or reading data to or from the flash memory 41. When it is configured so that the above occurs, it may be described as a program for this interrupt processing.

【0069】さらに,フラッシュメモリ41に記憶され
ているデータ(たとえばアプリケーションプログラム)
が,エレメントマネージャ1からダウンロードされたも
のである場合には,エレメントマネージャ1の記憶装置
11にデータはあらかじめ記憶されているので,フラッ
シュメモリ41へのデータの書き込みの際に実行される
ステップS2の処理は省略可能である。
Furthermore, the data stored in the flash memory 41 (for example, application program)
However, if the data is downloaded from the element manager 1, the data is stored in the storage device 11 of the element manager 1 in advance, and therefore, in step S2 executed when writing the data to the flash memory 41. The processing can be omitted.

【0070】(2)第2の方法第2の方法は,第1の方
法に警報の送信を付加したものである。
(2) Second Method In the second method, the transmission of an alarm is added to the first method.

【0071】第1の方法のステップS5(図5参照)に
おいて,パリティエラーが発生した場合に,CPU32
は,エレメントマネージャ1に警報を送信するものであ
る。この警報は,ステップS6のデータ送信要求ととも
に送信することもできるし,データ送信要求とは別に,
データ送信要求の前または後で送信することもできる。
警報をデータ送信要求とともに送信する場合には,図6
に示すデータの後部に警報を示す情報が付加される。
In step S5 of the first method (see FIG. 5), if a parity error occurs, the CPU 32
Sends an alarm to the element manager 1. This alarm can be transmitted together with the data transmission request in step S6, or separately from the data transmission request.
It can also be transmitted before or after the data transmission request.
When sending an alarm with a data transmission request,
Information indicating an alarm is added to the rear part of the data shown in FIG.

【0072】警報を受信したエレメントマネージャ1
は,警報を,表示装置(CRTディスプレイ,液晶ディ
スプレイ等)等に表示し,または,記憶装置に記憶す
る。これにより,フラッシュメモリ41の交換が必要で
あることをエレメントマネージャ1のオペレータ,管理
者等に通知することができる。
Element manager 1 receiving the alarm
Displays an alarm on a display device (CRT display, liquid crystal display, etc.) or stores it in a storage device. As a result, it is possible to notify the operator, administrator, etc. of the element manager 1 that the flash memory 41 needs to be replaced.

【0073】また,この表示または記憶される警報に
は,パリティエラーが検出されたフラッシュメモリ識別
情報およびそのフラッシュメモリのアドレス(たとえば
0x100番地)を含めることができる。これにより,
障害が検出されたフラッシュメモリを容易に特定でき,
修理やメンテナンス等に要する時間を短縮できる。
Further, the displayed or stored alarm can include the flash memory identification information in which the parity error is detected and the address (for example, 0x100 address) of the flash memory. By this,
You can easily identify the flash memory where the failure is detected,
The time required for repairs and maintenance can be shortened.

【0074】なお,SLT2がこのような警報を送信す
ることなく,エレメントマネージャ1が,SLT2から
データ送信要求を受信した場合に,このデータ送信要求
の受信により自動的に警報を表示/出力/記憶すること
もできる。
When the element manager 1 receives a data transmission request from the SLT 2 without the SLT 2 transmitting such an alarm, the element manager 1 automatically displays / outputs / stores an alarm upon receipt of the data transmission request. You can also do it.

【0075】(3)第3の方法 第3の方法は,パリティエラーが発生した場合に,SL
T2がフラッシュメモリ41のセグメント単位またはメ
モリ回路(半導体チップ)単位でデータをエレメントマ
ネージャ1から受信し,ワーク用SDRAM35に記憶
するものである。
(3) Third Method The third method is SL when a parity error occurs.
T2 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 the data in the work SDRAM 35.

【0076】セグメントとは,フラッシュメモリ41の
1つのメモリ回路(半導体チップ)の連続する複数のメ
モリセルを1つのまとまりとした単位である。たとえば
1Kバイト単位,16Kバイト単位等,種々の単位でセ
グメントが設定される。
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 united. For example, the segment is set in various units such as 1 Kbyte unit and 16 Kbyte unit.

【0077】この第3の方法は,図5の読み出し処理
(S3〜S7)とほぼ同様であるが,ステップS6によ
りデータ送信要求をエレメントマネージャ1に送信する
と,エレメントマネージャ1は,このデータ送信要求に
含まれるアドレスを含むセグメントまたはメモリ回路の
全データをSLT2に送信する。
The third method is almost the same as the reading process (S3 to S7) in FIG. 5, but when the data transmission request is transmitted to the element manager 1 in step S6, the element manager 1 will request this data transmission request. All data of the segment or memory circuit including the address contained in SLT2 is transmitted to SLT2.

【0078】SLT2のCPU32は,エレメントマネ
ージャ1から送信されたデータを受信すると,このデー
タをワーク用SDRAM35に記憶し,その後,プログ
ラムの処理を継続する。
When the CPU 32 of the SLT 2 receives the data transmitted from the element manager 1, the CPU 32 stores this data in the work SDRAM 35, and thereafter continues the processing of the program.

【0079】以降のフラッシュメモリ2に該当するアド
レスからのデータの読み出し/書き込みはワーク用SD
RAM35のデータの読み出し/書き込みとなる。
Subsequent reading / writing of data from the address corresponding to the flash memory 2 is performed by the work SD.
The reading / writing of data from the RAM 35 is performed.

【0080】このようにセグメント単位またはメモリ回
路単位でデータをエレメントマネージャ1から受信する
ことにより,同じフラッシュメモリ41の異なるアドレ
スに障害(パリティエラー)が検出された場合であって
も,データ送信要求および該要求に対応するデータのエ
レメントマネージャ1からの送信が省略される。これに
より,パリティエラー検出直後に,通信ネットワーク5
のトラフィック量が一時的に増大するものの,SLT2
とエレメントマネージャ1との間のデータ送受信回数が
減少する。その結果,パリティエラー検出直後を除く通
信ネットワーク5の通信品質を向上させることができ
る。
By thus receiving data from the element manager 1 in segment units or memory circuit units, even if a failure (parity error) is detected in different addresses of the same flash memory 41, a data transmission request is issued. And the transmission of the data corresponding to the request from the element manager 1 is omitted. As a result, immediately after the parity error is detected, the communication network 5
Traffic volume temporarily increases, but SLT2
The number of data transmission / reception between the element manager 1 and the element manager 1 decreases. As a result, it is possible to improve the communication quality of the communication network 5 except immediately after the parity error is detected.

【0081】(4)第4の方法 工場出荷時等にフラッシュメモリ41にデータ(アプリ
ケーションプログラム等)があらかじめ記憶され,SL
T2の立ち上げ時(電源投入時,リセット時,電源瞬断
後の電源回復時等)にこのデータを使用する場合(フラ
ッシュメモリ41に記憶されたデータ(アプリケーショ
ンプログラム等)をワーク用SDRAM35に複写(展
開)する処理を含む。)において,フラッシュメモリ4
1に障害が検出されたときは,フラッシュメモリ41に
記憶されたデータのすべてをエレメントマネージャ1か
らSLT2のワーク用SDRAM35にダウンロードし
て,該ダウンロードされたデータによってSLT2の立
ち上げ処理を行うこともできる。
(4) Fourth method Data (application program etc.) is stored in advance in the flash memory 41 at the time of factory shipment, and SL
When this data is used when T2 is started up (when power is turned on, at reset, when power is restored after a momentary power failure, etc.) (the data (such as an application program) stored in the flash memory 41 is copied to the work SDRAM 35). (Including the processing to be expanded), the flash memory 4
When a failure is detected in No. 1, all of the data stored in the flash memory 41 may be downloaded from the element manager 1 to the work SDRAM 35 of the SLT 2 and the SLT 2 startup processing may be performed by the downloaded data. it can.

【0082】この場合に,フラッシュメモリ41に記憶
されたデータと同一のデータが,エレメントマネージャ
1の記憶装置11にもあらかじめ記憶されている。ま
た,SLT2の立ち上げ時のブートプログラムに,フラ
ッシュメモリ41に記憶された全データをエレメントマ
ネージャ1からダウンロードする処理が組み込まれる。
In this case, the same data as the data stored in the flash memory 41 is stored in the storage device 11 of the element manager 1 in advance. In addition, a process of downloading all the data stored in the flash memory 41 from the element manager 1 is incorporated in the boot program when the SLT 2 is started up.

【0083】このダウンロード処理では,前述した図5
の読み出し処理におけるステップS6の送信要求がフラ
ッシュメモリ41の全データの送信要求となり,ステッ
プS7におけるデータの受信がフラッシュメモリ41の
全データの受信となる。
In this download process, the process shown in FIG.
In the read process of step S6, the transmission request in step S6 becomes a transmission request for all data in the flash memory 41, and the data reception in step S7 becomes reception of all data in the flash memory 41.

【0084】これにより,電源投入時,電源瞬断時の回
復後,リセット後等にフラッシュメモリ41の障害が発
生しても,CPU32を停止することなく,SLT2を
立ち上げることができ,また,立ち上げ後の運用も行う
ことができる。
As a result, the SLT 2 can be started up without stopping the CPU 32 even if a failure occurs in the flash memory 41 after the power is turned on, recovery from a momentary power failure, reset, etc. Operations after startup can also be performed.

【0085】(5)第5の方法 第5の方法は,フラッシュメモリ41にデータを書き込
み際の障害の検出および障害が検出された場合の対処方
法である。
(5) Fifth Method The fifth method is a method of detecting a failure in writing data in the flash memory 41 and a coping method when the failure is detected.

【0086】図7は,フラッシュメモリ41へのデータ
書き込み時の処理の流れを示すフローチャートである。
フラッシュメモリ41にデータを書き込む場合には,書
き込み前に書き込み箇所のデータが消去される。したが
って,まず,CPU32は,フラッシュメモリ41のデ
ータ(32ビットデータ)を書き込むメモリセル(4つ
のフラッシュメモリ41a〜41dの各メモリセル)の
データを消去する(S11)。
FIG. 7 is a flowchart showing the flow of processing when writing data to the flash memory 41.
When writing data to the flash memory 41, the data at the write location is erased before writing. Therefore, first, the CPU 32 erases the data in the memory cell (each memory cell of the four flash memories 41a to 41d) into which the data (32-bit data) in the flash memory 41 is written (S11).

【0087】続いて,CPU32は,消去後の所定の時
間T1経過後にレジスタ43の値を読み出す(S1
2)。レジスタ43の4ビットの少なくとも1つの値が
“1”である場合に,CPU32は,フラッシュメモリ
41に障害が発生したものと判断して(S13でYE
S),フラッシュメモリ41のデータの書き込みを中止
し,該データ(32ビットデータ)をエレメントマネー
ジャ1に送信する(S18)。送信は,図6に示すパケ
ットにより行われる。
Subsequently, the CPU 32 reads the value of the register 43 after a lapse of a predetermined time T1 after erasing (S1
2). When at least one value of 4 bits of the register 43 is "1", the CPU 32 determines that a failure has occurred in the flash memory 41 (YE in S13).
S), writing of data in the flash memory 41 is stopped, and the data (32-bit data) is transmitted to the element manager 1 (S18). The transmission is performed by the packet shown in FIG.

【0088】エレメントマネージャ1は,受信したパケ
ットを記憶装置11に記憶する。以後,CPU32がこ
のデータを使用する場合には,エレメントマネージャ1
からデータを受信し,使用することとなる(S19)。
The element manager 1 stores the received packet in the storage device 11. After that, when the CPU 32 uses this data, the element manager 1
Then, the data is received and used (S19).

【0089】一方,レジスタ43の値が0である場合に
(S13でNO),CPU32は,フラッシュメモリ4
1にデータ(32ビットデータ)を書き込む(S1
4)。
On the other hand, when the value of the register 43 is 0 (NO in S13), the CPU 32 causes the flash memory 4
Write data (32-bit data) to 1 (S1
4).

【0090】続いて,CPU32は,書き込み後の所定
の時間T2経過後にレジスタ43の値を読み出す(S1
2)。レジスタ43の4ビットのうちの少なくとも1つ
の値が“1”である場合に,CPU32は,フラッシュ
メモリ41に障害が発生したと判断して(S13でYE
S),ステップS14で書き込んだデータと同一のデー
タを図6に示すパケットによりエレメントマネージャ1
に送信する(S18)。以後,前述したステップS19
の処理が実行される一方,ステップS16でレジスタ4
3の値が0である場合に(S16でNO),CPU32
は,フラッシュメモリ41に障害が発生しておらず,し
たがって,フラッシュメモリ41に書き込まれたデータ
はフラッシュメモリ41に有効に記憶されていると判断
して,その後,書き込んだデータをフラッシュメモリ4
1から読み出す(S17)。
Subsequently, the CPU 32 reads the value of the register 43 after a lapse of a predetermined time T2 after writing (S1
2). When at least one of the 4 bits of the register 43 is "1", the CPU 32 determines that a failure has occurred in the flash memory 41 (YE in S13).
S), the same data as the data written in step S14 is sent to the element manager 1 by the packet shown in FIG.
(S18). Thereafter, the above-mentioned step S19
While the processing of step S16 is executed, the register 4
When the value of 3 is 0 (NO in S16), the CPU 32
Judges that the flash memory 41 has not failed, and therefore the data written in the flash memory 41 is effectively stored in the flash memory 41, and then the written data is stored in the flash memory 4
Read from 1 (S17).

【0091】これにより,フラッシュメモリ41へのデ
ータの消去/書き込み時に障害が検出された場合であっ
ても,SLT2の処理を停止することなく,障害に対処
することができる。
As a result, even if a failure is detected at the time of erasing / writing data in the flash memory 41, the failure can be dealt with without stopping the processing of the SLT 2.

【0092】なお,前述した第2の方法と同様にして,
消去時および/または書き込み時に障害が検出された場
合には,CPU32は,エレメントマネージャ1に,フ
ラッシュメモリ41に障害が検出されたことを示す警報
を送信することもできる。
In the same manner as the second method described above,
When a failure is detected at the time of erasing and / or writing, the CPU 32 can also send to the element manager 1 an alarm indicating that a failure has been detected in the flash memory 41.

【0093】(6)他の実施の形態 フラッシュメモリユニット36と同一の構成の予備用の
フラッシュメモリユニットを監視装置21に設けること
ができる。
(6) Other Embodiments A spare flash memory unit having the same structure as the flash memory unit 36 can be provided in the monitoring device 21.

【0094】この場合に,前述した第1の方法のステッ
プS2(図5参照)の処理に代えて,または,ステップ
S2の処理とともに,データを予備用のフラッシュメモ
リユニットのフラッシュメモリに書き込むこともでき
る。そして,ステップS6およびS7の処理に代えて,
予備用のフラッシュメモリユニットのフラッシュメモリ
からデータを読み出してもよい。
In this case, data may be written in the flash memory of the spare flash memory unit instead of or in addition to the processing of step S2 (see FIG. 5) of the first method described above. it can. Then, instead of the processing of steps S6 and S7,
Data may be read from the flash memory of the spare flash memory unit.

【0095】また,第3の方法においても同様に,予備
用のフラッシュメモリユニットにデータを記憶してお
き,該予備用のフラッシュメモリユニットからデータを
セグメント単位またはメモリ回路単位で読み出すことも
できる。
Similarly, in the third method, it is also possible to store data in the spare flash memory unit and read the data from the spare flash memory unit in segment units or memory circuit units.

【0096】第4の方法においても,予備用のフラッシ
ュメモリユニットのフラッシュメモリにもアプリケーシ
ョンプログラム等のデータを記憶しておき,フラッシュ
メモリ41に障害が検出された場合には,予備用のフラ
ッシュメモリユニットからデータを読み出すこともでき
る。また,第4の方法において,フラッシュメモリ41
の障害検出時に,エレメントマネージャ1からデータを
ダウンロードする場合も,ダウンロードされたデータ
を,ワーク用SDRAMではなく,予備用のフラッシュ
メモリユニットのフラッシュメモリに記憶することもで
きる。
Also in the fourth method, data such as the application program is stored in the flash memory of the spare flash memory unit, and when a failure is detected in the flash memory 41, the spare flash memory is used. Data can also be read from the unit. In the fourth method, the flash memory 41
When the data is downloaded from the element manager 1 when the failure is detected, the downloaded data can be stored in the flash memory of the spare flash memory unit instead of the work SDRAM.

【0097】さらに,第5の方法においても,消去後ま
たは書き込み後にフラッシュメモリ41に障害が検出さ
れたときは,エレメントマネージャ1ではなく,予備用
フラッシュメモリユニットのフラッシュメモリにデータ
を記憶し,その後,この予備用のフラッシュメモリから
データを読み出し,使用することもできる。
Further, also in the fifth method, when a failure is detected in the flash memory 41 after erasing or writing, the data is stored in the flash memory of the spare flash memory unit instead of the element manager 1 and then , Data can also be read from this spare flash memory and used.

【0098】フラッシュメモリユニット36がアプリケ
ーションプログラムの種類に応じて複数個設けられた場
合に,複数個のフラッシュメモリユニット36のそれぞ
れに対して予備用のフラッシュメモリユニット(フラッ
シュメモリの容量も同じ容量)を設けることもできる
し,複数個のフラッシュメモリユニット36に対して1
つの共用の予備用フラッシュメモリユニットを設けるこ
ともできる。そして,複数個のフラッシュメモリユニッ
ト36のいずれかに障害が検出された場合に,この予備
用フラッシュメモリユニットにデータを記憶することが
できる。
When a plurality of flash memory units 36 are provided according to the type of application program, a spare flash memory unit (same capacity as the flash memory) is provided for each of the plurality of flash memory units 36. Can be provided, and one can be provided for a plurality of flash memory units 36.
It is also possible to provide one shared spare flash memory unit. Then, when a failure is detected in any of the plurality of flash memory units 36, data can be stored in this spare flash memory unit.

【0099】さらに,予備用のフラッシュメモリユニッ
トを複数個設けることにより,1つの予備用フラッシュ
メモリユニットに障害が検出された場合に,さらに他の
予備用フラッシュメモリにデータを記憶することもでき
る。
Furthermore, by providing a plurality of spare flash memory units, when a failure is detected in one spare flash memory unit, data can be stored in another spare flash memory.

【0100】(付記1) 通信回線を介して外部のデー
タ記憶装置と接続され,データに対して所定の処理を行
うデータ処理装置であって,データを記憶する記憶手段
と,前記記憶手段に前記データを書き込む書き込み手段
と,前記書き込み手段による前記記憶手段へのデータの
書き込み前または書き込み後に,該データを前記通信回
線を介して前記外部のデータ記憶装置に送信する送信手
段と,を備えているデータ処理装置。
(Supplementary Note 1) A data processing device which is connected to an external data storage device through a communication line and performs a predetermined process on data, and which stores the data in the storage means and the storage means. A writing means for writing data, and a transmitting means for transmitting the data to the external data storage device via the communication line before or after writing the data to the storage means by the writing means. Data processing device.

【0101】(付記2) 付記1において,前記書き込
み手段により前記記憶手段にデータを書き込んだ後に,
前記記憶手段の障害の有無を検査する第1の検査手段を
さらに備え,前記送信手段は,前記第1の検査手段によ
り障害が検出された場合に前記データを前記外部のデー
タ記憶装置に送信する,データ処理装置。
(Supplementary Note 2) In Supplementary Note 1, after writing data in the storage means by the writing means,
It further comprises a first inspection means for inspecting the presence or absence of a failure in the storage means, and the transmission means transmits the data to the external data storage device when a failure is detected by the first inspection means. , Data processing equipment.

【0102】(付記3) データに対して所定の処理を
行うデータ処理装置であって,データを記憶する記憶手
段と,前記データを記憶する補助記憶手段と,前記記憶
手段に前記データを書き込む書き込み手段と,前記書き
込み手段による前記記憶手段へのデータの書き込み前ま
たは書き込み後に,該データを前記補助記憶手段に書き
込む補助書き込み手段と,を備えているデータ処理装
置。
(Supplementary Note 3) A data processing device for performing a predetermined process on data, comprising storage means for storing data, auxiliary storage means for storing the data, and writing for writing the data in the storage means. A data processing device comprising: means and 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.

【0103】(付記4) 付記3において,前記書き込
み手段により前記記憶手段にデータを書き込んだ後に,
前記記憶手段の障害の有無を検査する第1の検査手段を
さらに備え,前記補助書き込み手段は,前記第1の検査
手段により障害が検出された場合に前記データを前記補
助記憶手段に書き込む,データ処理装置。
(Supplementary Note 4) In Supplementary Note 3, after writing data in the storage means by the writing means,
A first inspection means for inspecting the presence or absence of a failure in the storage means, wherein the auxiliary writing means writes the data in the auxiliary storage means when a failure is detected by the first inspection means; Processing equipment.

【0104】(付記5) 付記2または4において,前
記記憶手段はフラッシュメモリであり,前記第1の検査
手段は,前記データを前記フラッシュメモリに書き込ん
だ後に,前記フラッシュメモリから所定の時間出力され
るビジー信号が前記所定の時間を超えて出力されている
場合には,前記フラッシュメモリに障害があると判断す
る,データ処理装置。
(Supplementary Note 5) In Supplementary Note 2 or 4, the storage means is a flash memory, and the first inspection means outputs the data from the flash memory for a predetermined time after writing the data in the flash memory. A data processing device that determines that there is a failure in the flash memory when a busy signal is output for more than the predetermined time.

【0105】(付記6) 付記2または4において,前
記記憶手段はフラッシュメモリであり,前記第1の検査
手段は,前記データを前記フラッシュメモリに書き込ん
だ後に,該データを前記フラッシュメモリから所定の時
間間隔で読み出し,該読み出したデータが所定の時間を
超えて読み出すごとに変化している場合には,前記フラ
ッシュメモリに障害があると判断する,データ処理装
置。
(Supplementary Note 6) In Supplementary Note 2 or 4, the storage means is a flash memory, and the first inspection means writes the data in the flash memory and then writes the data from the flash memory in a predetermined manner. A data processing device that reads at a time interval, and determines that the flash memory has a failure when the read data changes every time the data is read over a predetermined time.

【0106】(付記7) 付記1または2において,前
記記憶手段にデータを書き込む前に,該記憶手段の少な
くとも該データを記憶する記憶場所のデータを消去する
消去手段と,前記消去手段によるデータの消去後に,前
記記憶手段の障害の有無を検査する第2の検査手段と,
をさらに備え,前記送信手段は,前記第2の検査手段に
より障害が検出された場合に前記データを前記外部のデ
ータ記憶装置に送信する,データ処理装置。
(Supplementary Note 7) In Supplementary Note 1 or 2, before the data is written into the storage means, an erasing means for erasing at least the data in the storage location of the storage means for storing the data, and the erasing means Second erasing means for inspecting the presence or absence of a fault in the storage means after erasing,
The data processing device, further comprising: a transmission unit that transmits the data to the external data storage device when a failure is detected by the second inspection unit.

【0107】(付記8) 付記3または4において,前
記記憶手段にデータを書き込む前に,該記憶手段の少な
くとも該データを記憶する記憶場所のデータを消去する
消去手段と,前記消去手段によるデータの消去後に,前
記記憶手段の障害の有無を検査する第2の検査手段と,
をさらに備え,前記補助書き込み手段は,前記第2の検
査手段により障害が検出された場合に前記データを前記
補助記憶手段に書き込む,データ処理装置。
(Supplementary Note 8) In Supplementary Note 3 or 4, before writing data in the storage means, erasing means for erasing data in at least a storage location of the storage means for storing the data, Second erasing means for inspecting the presence or absence of a fault in the storage means after erasing,
The data processing device, further comprising: an auxiliary writing unit that writes the data to the auxiliary storage unit when a failure is detected by the second inspection unit.

【0108】(付記9) 付記7または8において,前
記記憶手段はフラッシュメモリであり,前記第2の検査
手段は,前記フラッシュメモリのデータを前記消去手段
により消去した後に,前記フラッシュメモリから所定の
時間出力されるビジー信号が前記所定の時間を超えて出
力されている場合には,前記フラッシュメモリに障害が
あると判断する,データ処理装置。
(Supplementary Note 9) In Supplementary Note 7 or 8, the storage means is a flash memory, and the second inspection means erases the data in the flash memory by the erasing means, and then deletes a predetermined data from the flash memory. A data processing device, which judges that the flash memory has a failure when a busy signal output for a time is output for longer than the predetermined time.

【0109】(付記10) 付記7または8において,
前記記憶手段はフラッシュメモリであり,前記第2の検
査手段は,前記フラッシュメモリのデータを前記消去手
段により消去した後に,該データを前記フラッシュメモ
リから所定の時間間隔で読み出し,該読み出したデータ
が所定の時間を超えて読み出すごとに変化している場合
には,前記フラッシュメモリに障害があると判断する,
データ処理装置。
(Supplementary Note 10) In Supplementary Note 7 or 8,
The storage means is a flash memory, and the second inspection means erases the data in the flash memory by the erasing means and then reads the data from the flash memory at a predetermined time interval. If the flash memory changes every time it is read out, it is determined that the flash memory has a failure.
Data processing device.

【0110】(付記11) 付記1,2または7におい
て,前記外部のデータ記憶装置は,前記記憶手段に記憶
されたデータと同一のデータをあらかじめ記憶してお
り,前記記憶手段からデータを読み出した際に,該記憶
手段の障害の有無を検査する第3の検査手段と,前記第
3の検査手段により障害が検出された場合に,前記読み
出したデータと同一のデータを前記通信回線を介して前
記外部のデータ記憶装置から受信する受信手段と,をさ
らに備えているデータ処理装置。
(Supplementary Note 11) In Supplementary Notes 1, 2, or 7, the external data storage device previously stores the same data as the data stored in the storage means, and the data is read from the storage means. At this time, a third inspection means for inspecting the presence or absence of a failure in the storage means, and when the failure is detected by the third inspection means, the same data as the read data is transmitted via the communication line. A data processing device, further comprising: a receiving unit for receiving from the external data storage device.

【0111】(付記12) 付記11において,前記記
憶手段はフラッシュメモリであり,前記第3の検査手段
は,前記フラッシュメモリから読み出したデータのパリ
ティチェックを行い,パリティチェックエラーの場合に
は,前記フラッシュメモリに障害があると判断する,デ
ータ処理装置。
(Supplementary Note 12) In Supplementary Note 11, the storage means is a flash memory, and the third checking means performs a parity check on the data read from the flash memory. A data processing device that determines that there is a failure in the flash memory.

【0112】(付記13) 付記11または12におい
て,前記データ受信手段により受信されたデータを記憶
する補助記憶手段をさらに備えているデータ処理装置。
(Supplementary Note 13) The data processing apparatus according to Supplementary Note 11 or 12, further comprising auxiliary storage means for storing the data received by the data receiving means.

【0113】(付記14) 付記2,7,11,12ま
たは13において,前記送信手段による前記データの送
信の前後または送信とともに,前記記憶手段に障害が検
出されたことを前記データ記憶装置に通知する障害通知
手段をさらに備えている,データ処理装置。
(Supplementary Note 14) In Supplementary Notes 2, 7, 11, 12 or 13, the data storage device is notified that a failure has been detected in the storage means before or after the transmission of the data by the transmission means or at the same time. A data processing device, further comprising:

【0114】(付記15) バックアップ用のデータが
あらかじめ記憶されている外部のデータ記憶装置と通信
回線を介して接続され,データに対して所定の処理を行
うデータ処理装置であって,データを記憶する記憶手段
と,前記記憶手段に記憶されたデータを読み出す際に,
前記記憶手段の障害の有無を検査する検査手段と,前記
検査手段により障害が検出されると,前記読み出したデ
ータのバックアップ用のデータを前記通信回線を介して
前記外部のデータ記憶装置から受信する受信手段と,を
備えているデータ処理装置。
(Supplementary Note 15) A data processing device that is connected to an external data storage device in which backup data is stored in advance through a communication line and performs a predetermined process on the data, and stores the data. And a storage means for performing the reading of the data stored in the storage means,
An inspection unit that inspects the storage unit for a failure, and when the inspection unit detects a failure, receives backup data of the read data from the external data storage device via the communication line. A data processing device comprising a receiving means.

【0115】(付記16) データを記憶する記憶手段
にデータを書き込む前または書き込んだ後に,該データ
を,通信回線を介して接続された外部のデータ記憶装置
に送信し,前記記憶手段に障害が検出されると,前記外
部のデータ記憶装置から前記通信回線を介してデータを
受信する,データ記憶方法。
(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, and the storage means is damaged. A data storage method, which, when detected, receives data from the external data storage device via the communication line.

【0116】(付記17) コンピュータに,データを
記憶する記憶手段にデータを書き込む前または書き込ん
だ後に,該データを,通信回線を介して接続された外部
のデータ記憶装置に送信する手順と,前記記憶手段に障
害が検出されると,前記外部のデータ記憶装置から前記
通信回線を介してデータを受信する手順と,を実行させ
るためのプログラム。
(Supplementary Note 17) A procedure for transmitting 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 in the computer, and A program for executing a procedure of receiving data from the external data storage device via the communication line when a failure is detected in the storage means.

【0117】(付記18) バックアップ用のデータが
あらかじめ記憶されている外部のデータ記憶装置と通信
回線を介して接続され,データに対して所定の処理を行
うデータ処理装置のデータ読み出し方法であって,デー
タを記憶する記憶手段に記憶されたデータを読み出す際
に,前記記憶手段の障害の有無を検査し,前記検査によ
り障害を検出すると,前記読み出したデータのバックア
ップ用のデータを前記通信回線を介して前記外部のデー
タ記憶装置から受信する,データ読み出し方法。
(Supplementary Note 18) A data reading method of a data processing device, which is connected via a communication line to an external data storage device in which backup data is stored in advance, and which performs a predetermined process on data. When reading the data stored in the storage means for storing data, the storage means is inspected for the presence or absence of a failure, and if a failure is detected by the inspection, the backup data of the read data is transferred to the communication line. A method for reading data, which is received from the external data storage device via

【0118】(付記19) バックアップ用のデータが
あらかじめ記憶されている外部のデータ記憶装置と通信
回線を介して接続され,データに対して所定の処理を行
うコンピュータに,データを記憶する記憶手段に記憶さ
れたデータを読み出す際に,前記記憶手段の障害の有無
を検査する手順と,前記検査により障害を検出すると,
前記読み出したデータのバックアップ用のデータを前記
通信回線を介して前記外部のデータ記憶装置から受信す
る手順と,を実行させるためのプログラム。
(Supplementary Note 19) A storage device for storing data is connected to an external data storage device in which backup data is stored in advance through a communication line, and performs predetermined processing on the data. When reading stored data, a procedure for inspecting the presence or absence of a fault in the storage means, and a fault detected by the inspection,
A procedure for receiving backup data for the read data from the external data storage device via the communication line.

【0119】[0119]

【発明の効果】本発明によると,記憶手段(たとえばフ
ラッシュメモリ)の障害が生じても,データ処理装置
(たとえばSLTの監視装置)は,処理を停止すること
なくその処理を継続することができる。
According to the present invention, even if a failure occurs in the storage means (for example, flash memory), the data processing device (for example, SLT monitoring device) can continue the processing without stopping the processing. .

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

【図1】本発明の一実施の形態による通信システムの構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a communication system according to an embodiment of the present invention.

【図2】SLTの詳細内構成を示すブロック図である。FIG. 2 is a block diagram showing a detailed internal structure of an SLT.

【図3】監視装置の詳細な構成を示すブロック図であ
る。
FIG. 3 is a block diagram showing a detailed configuration of a monitoring device.

【図4】監視装置のフラッシュメモリユニットの詳細な
構成を示すブロック図である。
FIG. 4 is a block diagram showing a detailed configuration of a flash memory unit of the monitoring device.

【図5】フラッシュメモリに障害が検出された場合のS
LTの第1の方法による処理の流れを示すフローチャー
トである。
FIG. 5: S when a failure is detected in the flash memory
It is a flowchart which shows the flow of a process by the 1st method of LT.

【図6】SLTからエレメントマネージャに送信される
パケットのデータ構造を示す。
FIG. 6 shows a data structure of a packet transmitted from the SLT to the element manager.

【図7】フラッシュメモリへのデータ書き込み時の処理
の流れを示すフローチャートである。
FIG. 7 is a flowchart showing the flow of processing when writing data to the flash memory.

【符号の説明】[Explanation of symbols]

1 エレメントマネージャ 21,22 加入者ライン端末(SLT) 21 監視装置 32 CPU 36 フラッシュメモリユニット 41a〜41d フラッシュメモリ 42a〜42d パリティチェック回路 43,44 レジスタ1 Element Manager 2 1 , 2 2 Subscriber Line Terminal (SLT) 21 Monitoring Device 32 CPU 36 Flash Memory Unit 41a-41d Flash Memory 42a-42d Parity Check Circuit 43, 44 Register

───────────────────────────────────────────────────── フロントページの続き (72)発明者 佐々木 健 神奈川県横浜市港北区新横浜2丁目3番9 号 富士通ディジタル・テクノロジ株式会 社内 (72)発明者 前田 正男 神奈川県横浜市港北区新横浜2丁目3番9 号 富士通ディジタル・テクノロジ株式会 社内 (72)発明者 藤井 一真 神奈川県横浜市港北区新横浜2丁目3番9 号 富士通ディジタル・テクノロジ株式会 社内 (72)発明者 伊藤 広和 神奈川県横浜市港北区新横浜2丁目3番9 号 富士通ディジタル・テクノロジ株式会 社内 Fターム(参考) 5B018 GA01 GA04 HA05 HA12 KA01 KA02 KA22 NA06 QA16 5K034 DD01 EE10 HH01 HH02 HH26 HH42 TT01    ─────────────────────────────────────────────────── ─── Continued front page    (72) Inventor Ken Sasaki             2-3-9 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa             Issue Fujitsu Digital Technology Stock Association             In-house (72) Inventor Masao Maeda             2-3-9 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa             Issue Fujitsu Digital Technology Stock Association             In-house (72) Inventor Kazuma Fujii             2-3-9 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa             Issue Fujitsu Digital Technology Stock Association             In-house (72) Inventor Hirokazu Ito             2-3-9 Shin-Yokohama, Kohoku-ku, Yokohama-shi, Kanagawa             Issue Fujitsu Digital Technology Stock Association             In-house F-term (reference) 5B018 GA01 GA04 HA05 HA12 KA01                       KA02 KA22 NA06 QA16                 5K034 DD01 EE10 HH01 HH02 HH26                       HH42 TT01

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 通信回線を介して外部のデータ記憶装置
と接続され,データに対して所定の処理を行うデータ処
理装置であって,データを記憶する記憶手段と,前記記
憶手段に前記データを書き込む書き込み手段と,前記書
き込み手段による前記記憶手段へのデータの書き込み前
または書き込み後に,該データを前記通信回線を介して
前記外部のデータ記憶装置に送信する送信手段と,を備
えているデータ処理装置。
1. A data processing device that is connected to an external data storage device via a communication line and performs a predetermined process on data, the storage device storing the data, and the storage device storing the data in the storage device. Data processing comprising writing means for writing, and transmitting means for transmitting the data to the external data storage device via the communication line before or after writing data to the storage means by the writing means apparatus.
【請求項2】 バックアップ用のデータがあらかじめ記
憶されている外部のデータ記憶装置と通信回線を介して
接続され,データに対して所定の処理を行うデータ処理
装置であって,データを記憶する記憶手段と,前記記憶
手段に記憶されたデータを読み出す際に,前記記憶手段
の障害の有無を検査する検査手段と,前記検査手段によ
り障害が検出されると,前記読み出したデータのバック
アップ用のデータを前記通信回線を介して前記外部のデ
ータ記憶装置から受信する受信手段と,を備えているデ
ータ処理装置。
2. A data processing device, which is connected via a communication line to an external data storage device in which backup data is stored in advance, and which performs predetermined processing on the data, and which stores the data. Means, an 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 a backup data of the read data when the failure is detected by the inspection means And a receiving unit that receives the data from the external data storage device via the communication line.
【請求項3】 データを記憶する記憶手段にデータを書
き込む前または書き込んだ後に,該データを,通信回線
を介して接続された外部のデータ記憶装置に送信し,前
記記憶手段に障害が検出されると,前記外部のデータ記
憶装置から前記通信回線を介してデータを受信する,デ
ータ記憶方法。
3. Before or after writing the data in the storage means for storing the data, the data is transmitted to an external data storage device connected via a communication line, and a failure is detected in the storage means. Then, a data storage method of receiving data from the external data storage device via the communication line.
【請求項4】 コンピュータに,データを記憶する記憶
手段にデータを書き込む前または書き込んだ後に,該デ
ータを,通信回線を介して接続された外部のデータ記憶
装置に送信する手順と,前記記憶手段に障害が検出され
ると,前記外部のデータ記憶装置から前記通信回線を介
してデータを受信する手順と,を実行させるためのプロ
グラム。
4. A procedure for transmitting the data to an external data storage device connected via a communication line before or after writing the data to the storage means for storing the data in the computer, and the storage means. And a procedure for receiving data from the external data storage device via the communication line when a failure is detected in the program.
【請求項5】 バックアップ用のデータがあらかじめ記
憶されている外部のデータ記憶装置と通信回線を介して
接続され,データに対して所定の処理を行うデータ処理
装置のデータ読み出し方法であって,データを記憶する
記憶手段に記憶されたデータを読み出す際に,前記記憶
手段の障害の有無を検査し,前記検査により障害を検出
すると,前記読み出したデータのバックアップ用のデー
タを前記通信回線を介して前記外部のデータ記憶装置か
ら受信する,データ読み出し方法。
5. A data reading method of a data processing device, which is connected via a communication line to an external data storage device in which backup data is stored in advance, and which performs predetermined processing on the data, comprising: When the data stored in the storage means for storing the data is read, the presence or absence of a failure in the storage means is inspected, and when the failure is detected by the inspection, the backup data of the read data is transferred via the communication line. A data read method for receiving data from the external data storage device.
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 true JP2003203017A (en) 2003-07-18
JP4137450B2 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008504765A (en) * 2004-06-30 2008-02-14 シーメンス アクチエンゲゼルシヤフト Method and apparatus for obtaining optical output level of PON
JP2008217811A (en) * 2008-04-03 2008-09-18 Hitachi Ltd Disk controller using non-volatile memory
JP2019139646A (en) * 2018-02-14 2019-08-22 株式会社デンソー Data recording device and data recording system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008504765A (en) * 2004-06-30 2008-02-14 シーメンス アクチエンゲゼルシヤフト Method and apparatus for obtaining optical output level of PON
JP2008217811A (en) * 2008-04-03 2008-09-18 Hitachi Ltd Disk controller using non-volatile memory
JP2019139646A (en) * 2018-02-14 2019-08-22 株式会社デンソー Data recording device and data recording system
JP7155532B2 (en) 2018-02-14 2022-10-19 株式会社デンソー Data recording device and data recording system

Also Published As

Publication number Publication date
JP4137450B2 (en) 2008-08-20

Similar Documents

Publication Publication Date Title
US6976197B2 (en) Apparatus and method for error logging on a memory module
US7890812B2 (en) Computer system which controls closing of bus
EP0333593B1 (en) A data processing system capable of fault diagnosis
CN102479148A (en) Monitoring system and method for input and output port states of peripheral components
US8032791B2 (en) Diagnosis of and response to failure at reset in a data processing system
JPH0950424A (en) Dump collection device and dump collection method
EP0477385B1 (en) Method of resetting adapter module at failing time and computer system executing said method
CN113259273B (en) Switch control method, switch, computer device, and storage medium
JP2003203017A (en) Data processing device that can continue processing with backup data
US6243823B1 (en) Method and system for boot-time deconfiguration of a memory in a processing system
JP2002543521A (en) Method and apparatus for automatically reintegrating modules into a computer system
US8151176B2 (en) CPU instruction RAM parity error procedure
US20060212749A1 (en) Failure communication method
CN114116289A (en) Mirror image file repairing method and device, AP (access point) equipment and network system
US20160378633A1 (en) Repair of failed firmware through an unmodified dual-role communication port
JP3157759B2 (en) Hot-swap detection
JPH11120154A (en) Access control device and method in computer system
CN118796515B (en) Application and message queue high-availability connection service system, method, device and medium
TWI757923B (en) Pre-boot execution environment determination system and method thereof
WO2004079573A1 (en) Multi-processor system
JP3230743B2 (en) Memory card data mismatch detection method and method
CN112346922B (en) Server device and communication protocol method thereof
JP3132650B2 (en) Virtual path switching device
JP2998439B2 (en) Line controller
JP2000047896A (en) Device for setting device-specific information

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