JPH0683498A - File protection system - Google Patents

File protection system

Info

Publication number
JPH0683498A
JPH0683498A JP4234440A JP23444092A JPH0683498A JP H0683498 A JPH0683498 A JP H0683498A JP 4234440 A JP4234440 A JP 4234440A JP 23444092 A JP23444092 A JP 23444092A JP H0683498 A JPH0683498 A JP H0683498A
Authority
JP
Japan
Prior art keywords
file
power supply
storage means
power source
file storage
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.)
Pending
Application number
JP4234440A
Other languages
Japanese (ja)
Inventor
Toshihiko Watanabe
俊彦 渡辺
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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP4234440A priority Critical patent/JPH0683498A/en
Publication of JPH0683498A publication Critical patent/JPH0683498A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To protect file contents by guaranteeing normal access to a file storage means stored with a system file even if a telephone exchange is powered OFF or has a drop in power source voltage. CONSTITUTION:A DET 2 once detecting the power source break or power source voltage drop of a POW 1 informs a DKC 3 of the abnormal state. In response to the information, the DKC 3 interrupts access to a DKE 4 at the moment when sector access ends if a DKE 4 is currently accessed. When the DKE 4 is not currently accessed, no processing is performed even if power source abnormality information is received.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はファイル保護方式に関
し、特に電話交換機において磁気ディスク装置に格納さ
れたプログラム,局データ,加入者データ等のファイル
を電源異常時に保護するファイル保護方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a file protection system, and more particularly to a file protection system for protecting files such as programs, station data and subscriber data stored in a magnetic disk unit in a telephone exchange when a power failure occurs.

【0002】[0002]

【従来の技術】従来の電話交換機では、無瞬断電源装置
を外部に接続して電源断が発生しないようにしており、
電圧低下等の電源異常時のファイル保護処置は特に構じ
られていない。
2. Description of the Related Art In a conventional telephone exchange, a non-interruptible power supply unit is connected to the outside to prevent power failure.
There is no specific file protection measure in case of power failure such as voltage drop.

【0003】[0003]

【発明が解決しようとする課題】この従来の電話交換機
では外部に接続した無瞬断電源装置の故障は考慮してお
らず、電圧低下等の異常が発生したときの特別なファイ
ル保護処置を施していないので、磁気ディスクアクセス
中、特にディスクライト中に電源が不安定になると、デ
ィスク内容を破壊することがあり、これによってプログ
ラムや局データ等のシステムファイルが破壊されるため
システムダウンとなるケースも多く、電話交換機自身の
信頼度を大幅に低下させるという大きい問題点があっ
た。
This conventional telephone exchange does not take into consideration the failure of the non-interruptible power supply connected to the outside, and takes special file protection measures when an abnormality such as a voltage drop occurs. If the power supply becomes unstable while the magnetic disk is being accessed, especially while the disk is being written, the contents of the disk may be destroyed. As a result, system files such as programs and station data may be destroyed, resulting in a system down. In many cases, there was a big problem that the reliability of the telephone exchange itself was significantly reduced.

【0004】また、電源異常が回復したときには磁気テ
ープ装置から磁気ディスクへシステムファイルをロード
する等のリカバリー処置が必要となり、長時間に亘りサ
ービスを提供できないため、ユーザに迷惑をかけるとい
う問題点があった。
Further, when the power failure is recovered, a recovery process such as loading a system file from the magnetic tape device to the magnetic disk is required, and the service cannot be provided for a long time, which causes a trouble to the user. there were.

【0005】[0005]

【課題を解決するための手段】本発明のファイル保護方
式は、プログラム,局データ,加入者データを含むファ
イルを格納するファイル格納手段と、このファイル格納
手段をアクセス制御する制御手段と、電源異常を検出す
る検出手段と、前記電源異常時に前記ファイル格納手段
に電源を供給するバックアップ電源とを備え、前記検出
手段が前記電源異常を検出したとき前記制御手段にこれ
を通知し前記制御手段は前記通知を受けたとき前記ファ
イル格納手段をアクセス中であればセクタアクセス終了
時点で処理を中断することを特徴とする。
According to the file protection method of the present invention, a file storage means for storing a file including a program, station data and subscriber data, a control means for controlling access to the file storage means, and a power supply abnormality. And a backup power supply for supplying power to the file storage means when the power supply is abnormal, and when the detection means detects the power supply abnormality, the control means is notified of this and the control means If the file storage means is being accessed when the notification is received, the processing is interrupted at the end of sector access.

【0006】そして、前記ファイル格納手段は磁気ディ
スク装置であり、前記制御手段は磁気ディスクコントロ
ーラであり、前記バックアップ電源はバッテリであるこ
とを特徴とする。
The file storage means is a magnetic disk device, the control means is a magnetic disk controller, and the backup power source is a battery.

【0007】[0007]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明のファイル保護方式の一実施例を示す
ブロック図で、ファイル系のブロックのみを示してい
る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a file protection system of the present invention, showing only file-related blocks.

【0008】本実施例の電話交換機はプログラム,局デ
ータ,加入者データを含むファイルを格納する磁気ディ
スク装置(以下DKE)4と、DKE4をアクセス制御
する磁気ディスクコントローラ(以下DKC)3と、シ
ステムに必要な電圧(+5V等)を供給する電源(以下
POW)1と、POW1の異常を検出する検出部(以下
DET)2と、DKC3,DKE4のバックアップ電源
(以下BAT)5と、DKC3とデータバス(以下D
B)8,アドレスバス(以下AB)9を介して接続され
た中央処理装置(以下CPU)6,主記憶装置(以下M
M)7を含んで構成されている。
The telephone exchange of the present embodiment comprises a magnetic disk unit (hereinafter referred to as DKE) 4 for storing files including programs, office data and subscriber data, a magnetic disk controller (hereinafter referred to as DKC) 3 for controlling access to DKE 4, and a system. Power supply (hereinafter referred to as POW) 1 that supplies the necessary voltage (+ 5V, etc.), a detection unit (hereinafter referred to as DET) 2 that detects POW1 abnormality, a backup power supply (hereinafter referred to as BAT) 5 for DKC3 and DKE4, DKC3 and data Bus (hereinafter D
B) 8, a central processing unit (hereinafter, CPU) 6 connected via an address bus (hereinafter, AB) 6, a main storage device (hereinafter, M)
M) 7 is included.

【0009】続いて本実施例の動作について説明する。
DET2がPOW1からの供給電圧の低下等、電源異常
を検出すると異常状態をDKC3へ通知する。DKC3
はこの通知を受信することにより、現在DKE4をアク
セス中であればセクタアクセスが終了した時点でDKE
4へのアクセスを中断する。またDKE4をアクセス中
でなければ特に処理を行わない。このようにDKC3は
POW1出力の不安定な状態でのDKE4へのアクセス
を中止させてDKE4の内容を保護する。
Next, the operation of this embodiment will be described.
When the DET 2 detects a power supply abnormality such as a decrease in the supply voltage from the POW 1, the DKC 3 is notified of the abnormal state. DKC3
By receiving this notification, if DKE4 is currently being accessed, DKE will be
Suspend access to 4. Further, if DKE4 is not being accessed, no particular processing is performed. In this way, the DKC3 suspends the access to the DKE4 when the POW1 output is unstable, and protects the contents of the DKE4.

【0010】この処理は一般にMM7からプログラムを
読み出して実行される。なお、POW1の入力電源の異
常時にもDKC3,DKE4へはBAT5から電源を供
給し、上記のプログラムが実行される。
This processing is generally executed by reading the program from the MM7. Even when the input power source of POW1 is abnormal, power is supplied from BAT5 to DKC3 and DKE4, and the above program is executed.

【0011】[0011]

【発明の効果】以上説明したように本発明は、電話交換
機に供給する電源異常を検出した時にファイル格納手段
をアクセス中であれば、制御手段は一連の処理動作の終
了時点に以降の処理を中断するようにしたので、電源の
不安定状態でのファイルアクセスを行わず、ファイルの
内容を保護できるという効果を有する。
As described above, according to the present invention, if the file storage means is being accessed at the time of detecting an abnormality in the power supply to the telephone exchange, the control means performs the subsequent processing at the end of the series of processing operations. Since the interruption is performed, there is an effect that the contents of the file can be protected without accessing the file when the power supply is unstable.

【0012】また、ファイルアクセス中断処理は一般に
ソフトウェアで実施するので、経済的な効果を有する。
Further, since the file access interruption process is generally executed by software, it has an economical effect.

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

【図1】本発明のファイル保護方式の一実施例を示すブ
ロック図である。
FIG. 1 is a block diagram showing an embodiment of a file protection system of the present invention.

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

1 電源(POW) 2 検出部(DET) 3 磁気ディスクコントローラ(DKC) 4 磁気ディスク装置(DKE) 5 バックアップ電源(BAT) 6 中央処理装置(CPU) 7 主記憶装置(MM) 8 データバス(DB) 9 アドレスバス(AB) 1 power supply (POW) 2 detection unit (DET) 3 magnetic disk controller (DKC) 4 magnetic disk device (DKE) 5 backup power supply (BAT) 6 central processing unit (CPU) 7 main storage device (MM) 8 data bus (DB) ) 9 Address bus (AB)

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラム,局データ,加入者データを
含むファイルを格納するファイル格納手段と、このファ
イル格納手段をアクセス制御する制御手段と、電源異常
を検出する検出手段と、前記電源異常時に前記ファイル
格納手段に電源を供給するバックアップ電源とを備え、
前記検出手段が前記電源異常を検出したとき前記制御手
段にこれを通知し前記制御手段は前記通知を受けたとき
前記ファイル格納手段をアクセス中であればセクタアク
セス終了時点で処理を中断することを特徴とするファイ
ル保護方式。
1. A file storage means for storing a file containing a program, station data and subscriber data, a control means for controlling access to the file storage means, a detection means for detecting a power supply abnormality, and a means for detecting a power supply abnormality. A backup power supply for supplying power to the file storage means,
When the detection means detects the power supply abnormality, the control means is notified of this, and the control means interrupts the process at the end of sector access if the file storage means is being accessed when receiving the notification. Characteristic file protection method.
【請求項2】 前記ファイル格納手段は磁気ディスク装
置であり、前記制御手段は磁気ディスクコントローラで
あり、前記バックアップ電源はバッテリであることを特
徴とする請求項1記載のファイル保護方式。
2. The file protection system according to claim 1, wherein the file storage means is a magnetic disk device, the control means is a magnetic disk controller, and the backup power source is a battery.
JP4234440A 1992-09-02 1992-09-02 File protection system Pending JPH0683498A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4234440A JPH0683498A (en) 1992-09-02 1992-09-02 File protection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4234440A JPH0683498A (en) 1992-09-02 1992-09-02 File protection system

Publications (1)

Publication Number Publication Date
JPH0683498A true JPH0683498A (en) 1994-03-25

Family

ID=16971046

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4234440A Pending JPH0683498A (en) 1992-09-02 1992-09-02 File protection system

Country Status (1)

Country Link
JP (1) JPH0683498A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02154359A (en) * 1988-12-05 1990-06-13 Mitsubishi Electric Corp Magnetic disk device
JPH03295071A (en) * 1990-04-13 1991-12-26 Seiko Epson Corp Disk driving device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02154359A (en) * 1988-12-05 1990-06-13 Mitsubishi Electric Corp Magnetic disk device
JPH03295071A (en) * 1990-04-13 1991-12-26 Seiko Epson Corp Disk driving device

Similar Documents

Publication Publication Date Title
US6108792A (en) Article for providing continuity of operation in a computer
JPH0291749A (en) Nonvolatile type semiconductor memory device
US5584029A (en) Data protecting system for an echangeable storage medium comprising power supply control means, medium detection means and medium identifying means
JPH0683498A (en) File protection system
JP3133492B2 (en) Information processing device
JPH0728572A (en) Automatic data preserving device at power interruption
JP2000137584A (en) Controller for external storage device, method for substituting defective block and storage medium storing defective block substitution control program
JPH10133926A (en) Mirror disk restoring method and restoring system
JPS6217299B2 (en)
JPS61210453A (en) Data memory device
JPH06332808A (en) Data protective device
JP2713317B2 (en) Write data protection method for momentary power interruption in disk drive
JPH0619808A (en) Information processor
JPH04251317A (en) System for protecting and reproducing status of task
JPS63280357A (en) Data save/restore system
JP3390419B2 (en) Data protection method for exchangeable storage media
JPH05233474A (en) Storage contents protection system
JP2960455B2 (en) External storage control method
JPH02100743A (en) Electronic equipment
JPH0581147A (en) Automatic saving and recovery method for volatile storage device
JPH06266598A (en) Information processor
JPH0415726A (en) Write back-up system for disk controller
JPH01102658A (en) File write back-up system
JPH0413346A (en) Electronic automatic exchange
JPH04256006A (en) File restoring system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20000718