JPH0736638A - High-speed access device control system - Google Patents

High-speed access device control system

Info

Publication number
JPH0736638A
JPH0736638A JP5176328A JP17632893A JPH0736638A JP H0736638 A JPH0736638 A JP H0736638A JP 5176328 A JP5176328 A JP 5176328A JP 17632893 A JP17632893 A JP 17632893A JP H0736638 A JPH0736638 A JP H0736638A
Authority
JP
Japan
Prior art keywords
power
disk device
battery
semiconductor
semiconductor memory
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
JP5176328A
Other languages
Japanese (ja)
Inventor
Masayoshi Takei
正善 武居
Mikio Uehara
幹生 上原
Masafumi Sakida
雅史 崎田
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
PFU Ltd
Original Assignee
Fujitsu Ltd
PFU 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, PFU Ltd filed Critical Fujitsu Ltd
Priority to JP5176328A priority Critical patent/JPH0736638A/en
Publication of JPH0736638A publication Critical patent/JPH0736638A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent data from being lost by power re-interruption during the use of a semiconductor memory after power restoration and to automatically release the degradation mode to realize the high-speed access by giving the battery monitor function to a controller and automatically releasing the degradation mode to set the operation mode at the time when a battery is fully charged by power restoration after power interruption. CONSTITUTION:At the time of power interruption, power from an uninterruptible power supply 8 is supplied to a semiconductor disk device 1 to save data from a semiconductor memory 2 to a backup disk device 3, and the degradation mode is set. At the time of power restoration, the backup disk device 3 is directly accessed correspondingly to the degradation mode set to the semiconductor disk device 1; and when a battery monitor function 7 detects power restoration and full charging of the battery in the uninterruptible power supply 8, the de-degradation mode is automatically released to set the operation mode, and the access is switched to the access of the semiconductor memory 2.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、高速アクセス装置の動
作を制御する高速アクセス装置制御方式に関するもので
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a high speed access device control system for controlling the operation of a high speed access device.

【0002】[0002]

【従来の技術】通常、半導体ディスク装置は、図4に示
すように、動作時に揮発性の半導体メモリ22で動作
し、動作終了時にデータ保存用のバックアップ用ディス
ク装置23にデータを退避する。また、動作終了時以外
にも、停電やハードウェアダウンに至らないシステム異
常時も同様にバックアップを行なう。停電時には通常電
源が切断するが、無停電電源装置をコンピュータ内部に
標準で搭載するものが有り、停電発生後にその容量によ
るが、数分から数十分間安定したAC電源を供給でき
る。
2. Description of the Related Art Generally, a semiconductor disk device operates in a volatile semiconductor memory 22 at the time of operation and saves data to a backup disk device 23 for storing data at the end of the operation, as shown in FIG. In addition to when the operation ends, backup is also performed when there is a system failure that does not result in a power failure or hardware down. Normally, the power supply is cut off at the time of a power failure, but there is one that is equipped with an uninterruptible power supply device inside the computer as a standard, and depending on its capacity after a power failure occurs, stable AC power can be supplied for several minutes to several tens of minutes.

【0003】半導体ディスク装置と無停電電源装置を組
み合わせ、通常動作中に停電した場合、無停電電源装置
のバッテリからの供給電源でシステムを動作させ、その
間に半導体ディスクのデータをバックアック用ディスク
装置に退避する。以下図4の構成を簡単に説明する。
When a semiconductor disk device and an uninterruptible power supply are combined and a power failure occurs during normal operation, the system is operated by the power supply from the battery of the uninterruptible power supply, while the data of the semiconductor disk is backed up by the disk device for back-up. Evacuate to. The configuration of FIG. 4 will be briefly described below.

【0004】図4は、従来技術の説明図を示す。図4に
おいて、半導体ディスク装置21は、高速読み書き可能
なディスク装置であって、半導体メモリ22、およびバ
ックアップ用ディスク装置23から構成されている。
FIG. 4 is an explanatory view of the prior art. In FIG. 4, a semiconductor disk device 21 is a high-speed readable / writable disk device, and includes a semiconductor memory 22 and a backup disk device 23.

【0005】半導体メモリ22は、半導体の高速に読み
書き可能なメモリであって、電源断となるとそのデータ
を消失してしまうメモリである。バックアップ用ディス
ク装置23は、半導体メモリ22のデータを退避して保
存し、電源断となってもデータを消失しない磁気ディス
ク装置などのディスク装置である。
The semiconductor memory 22 is a semiconductor readable and writable memory at high speed and loses its data when the power is cut off. The backup disk device 23 is a disk device such as a magnetic disk device that saves and stores the data in the semiconductor memory 22 and does not lose the data even when the power is cut off.

【0006】次に、動作を簡単に説明する。図4の
(a)は、商用電源からの供給時の状態を示す。この商
用電源から電源を半導体ディスク装置21に供給して、
正常に動作中には、図示のように、半導体メモリ22に
対してデータを書き込んだり、データを読み出して図示
外のホストとの間で相互に転送している。これにより、
高速読み書き可能な半導体メモリ22を使用しているた
め、当該半導体ディスク装置21に対する高速アクセス
を行なうことが可能となる。
Next, the operation will be briefly described. FIG. 4A shows a state at the time of supply from a commercial power source. Power is supplied from this commercial power source to the semiconductor disk device 21,
During normal operation, as shown in the figure, data is written in the semiconductor memory 22, or data is read out and mutually transferred with a host (not shown). This allows
Since the semiconductor memory 22 that can read and write at high speed is used, it is possible to access the semiconductor disk device 21 at high speed.

【0007】図4の(b)は、バッテリからの供給時の
状態を示す。この無停電電源装置のバッテリからの電源
を半導体ディスク装置21に供給を開始した場合、半導
体メモリ22からバックアップ用ディスク装置23にデ
ータを退避する。これにより、停電時に半導体メモリ2
2上のデータを消失することなくバックアップ用ディス
ク装置23に退避して保存できる。
FIG. 4B shows a state when the battery is supplied. When supply of power from the battery of the uninterruptible power supply to the semiconductor disk device 21 is started, data is saved from the semiconductor memory 22 to the backup disk device 23. This allows the semiconductor memory 2 in the event of a power failure.
The data on 2 can be saved and saved in the backup disk device 23 without loss.

【0008】[0008]

【発明が解決しようとする課題】上述した図4の(b)
に示すように、無停電電源装置のバッテリから電源供給
した状態で、半導体メモリ22からバックアップ用ディ
スク装置23にデータを退避するので、停電時にデータ
を消失することなく保存できる。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
As shown in, the data is saved from the semiconductor memory 22 to the backup disk device 23 while the power is supplied from the battery of the uninterruptible power supply, so that the data can be saved without loss at the time of power failure.

【0009】しかし、電源が復旧した後、バッテリ(無
停電電源装置)が十分に充電されないうちに再停電した
場合、電源を供給できず、半導体メモリ22上のデータ
が消失してしまう問題がある。これを解決するため、半
導体ディスク装置21は、モードを2つ持ち、動作時に
半導体メモリ22上にデータを読み書きする動作モード
と、直接にバックアップ用ディスク装置23上のデータ
を読み書きする縮退モードとを準備する。停電して復電
した場合、バッテリの充電状態が不明であるので縮退モ
ードで動作させ、バックアップ用ディスク装置23に直
接に読み書きしてバッテリの容量減によるデータの消失
を防止する。そして、次に電源断して再度投入したとき
にバッテリが十分に充電されているとみなして縮退モー
ドを解除して動作モードにし、半導体メモリ22に対す
る高速アクセスを可能としていた。この解決手法では、
以下の問題があった。
However, after the power is restored, if the battery (uninterruptible power supply) is recharged before it is sufficiently charged, the power cannot be supplied and the data in the semiconductor memory 22 is lost. . In order to solve this, the semiconductor disk device 21 has two modes, an operation mode for reading and writing data on the semiconductor memory 22 during operation, and a degenerate mode for directly reading and writing data on the backup disk device 23. prepare. When a power failure occurs and power is restored, the state of charge of the battery is unknown, so the battery is operated in the degenerate mode, and the backup disk device 23 is directly read / written to prevent the loss of data due to the decrease in the battery capacity. Then, when the power is turned off and then turned on again, it is considered that the battery is sufficiently charged, the degeneration mode is released and the operation mode is set, and high-speed access to the semiconductor memory 22 is enabled. In this solution,
There were the following problems.

【0010】 商用電源が復旧しても、動作開始後、
何らかの原因で再度、電源断した場合、バッテリがほぼ
空であるにもかかわらず、縮退モードが解除されてしま
う。 24時間運転などの電源断としないシステムの場
合、縮退モードが解除されず、解除しようとすると、一
旦電源断しなければならない。
Even after the commercial power is restored,
When the power is turned off again for some reason, the degenerate mode is canceled even though the battery is almost empty. In the case of a system that does not turn off the power such as 24-hour operation, the degeneration mode is not released, and when trying to release it, the power must be turned off once.

【0011】本発明は、これらの問題を解決するため、
制御装置にバッテリ監視機能を持たせ、当該バッテリ監
視機能が停電して復電後、バッテリが満充電されたとき
に自動的に縮退モードを解除して動作モードとし、復電
して半導体メモリの使用中に再停電によるデータ消失を
防止すると共に縮退モードの自動解除を行って高速アク
セスを実現することを目的としている。
The present invention solves these problems.
The control device is provided with a battery monitoring function, and after the battery monitoring function loses power and restores power, when the battery is fully charged, the degeneration mode is automatically canceled and the operation mode is restored. The purpose is to prevent data loss due to re-power failure during use and realize high-speed access by automatically canceling the degenerate mode.

【0012】[0012]

【課題を解決するための手段】図1は、本発明の原理構
成図を示す。図1において、半導体ディスク装置1は、
高速にデータをアクセス可能なディスク装置であって、
半導体メモリ2およびバックアップ用ディスク装置3か
ら構成されるものである。
FIG. 1 is a block diagram showing the principle of the present invention. In FIG. 1, the semiconductor disk device 1 is
A disk device that can access data at high speed,
It comprises a semiconductor memory 2 and a backup disk device 3.

【0013】半導体メモリ2は、高速に読み書き可能で
電源断時にデータを消失する半導体メモリである。バッ
クアップ用ディスク装置3は、読み書き可能で電源断時
でもデータを保持するディスク装置である。
The semiconductor memory 2 is a semiconductor memory that can read and write at high speed and loses data when the power is cut off. The backup disk device 3 is a disk device that is readable and writable and retains data even when the power is turned off.

【0014】バッテリ監視機能7は、無停電電源装置8
が停電時に半導体ディスク装置1に電源を供給した後、
復電して充電開始してバッテリが満充電となったかを監
視するものである。
The battery monitoring function 7 includes an uninterruptible power supply 8
After supplying power to the semiconductor disk device 1 during a power failure,
This is to monitor whether or not the battery is fully charged by recovering power and starting charging.

【0015】無停電電源装置8は、バッテリからの電力
を用いて各種電源を発生するものである。
The uninterruptible power supply device 8 generates various power supplies by using electric power from a battery.

【0016】[0016]

【作用】本発明は、図1に示すように、商用電源を半導
体ディスク装置1に供給した状態で、半導体メモリ2を
アクセスして処理を行い、停電時に無停電電源装置8か
らの電源を半導体ディスク装置1に供給した状態で、半
導体メモリ2のデータをバックアップ用ディスク装置3
に退避すると共に縮退モードにセットしておき、復電時
に縮退モードがセットされていたことに対応して、バッ
クアップ用ディスク装置3を直接にアクセスして処理を
行うと共に、バッテリ監視機能7が無停電電源装置8の
バッテリの満充電を監視して満充電となったときに縮退
モードを解除して通常モードとし、半導体メモリ2のア
クセスに切り替えるようにしている。
According to the present invention, as shown in FIG. 1, the semiconductor memory device 2 is accessed and processed while commercial power is supplied to the semiconductor disk device 1, and the semiconductor power is supplied from the uninterruptible power supply device 8 in the event of a power failure. With the data supplied to the disk device 1, the data in the semiconductor memory 2 is backed up to the disk device 3
When the power is restored, the backup disk device 3 is directly accessed for processing, and the battery monitoring function 7 is not provided. The full charge of the battery of the power failure power supply 8 is monitored, and when the battery is fully charged, the degeneration mode is released to the normal mode, and the access to the semiconductor memory 2 is switched.

【0017】この際、所定時間として、バッテリを満充
電に要する予め求めた時間とし、この時間経過後に縮退
モードを解除するようにしている。従って、制御装置4
にバッテリ監視機能7を持たせ、当該バッテリ監視機能
7が停電して復電後、所定時間以上経過などして満充電
となったときに縮退モードを解除して自動的に動作モー
ドとすることにより、復電して半導体メモリ2の使用中
に再停電によるデータ消失を防止すると共に縮退モード
の自動解除を行って高速アクセスを実現することが可能
となる。
At this time, the predetermined time is a previously determined time required to fully charge the battery, and the degeneration mode is released after the elapse of this time. Therefore, the control device 4
To have a battery monitoring function 7, and when the battery monitoring function 7 has lost power and restored power, and has become fully charged after a lapse of a predetermined time or the like, degenerate the degeneration mode and automatically set the operation mode. As a result, it becomes possible to prevent loss of data due to a power failure again while the power is restored and the semiconductor memory 2 is in use, and to realize high-speed access by automatically canceling the degenerate mode.

【0018】[0018]

【実施例】次に、図1から図3を用いて本発明の実施例
の構成および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the construction and operation of an embodiment of the present invention will be described in detail with reference to FIGS.

【0019】図1は、本発明の原理構成図を示す。図1
において、半導体ディスク装置1は、外部記憶装置とし
て設けて高速にアクセス可能にしたディスク装置であっ
て、半導体メモリ2およびバックアップ用ディスク装置
3などから構成されるものである。
FIG. 1 is a block diagram showing the principle of the present invention. Figure 1
In the above, the semiconductor disk device 1 is a disk device which is provided as an external storage device and can be accessed at high speed, and includes a semiconductor memory 2 and a backup disk device 3.

【0020】半導体メモリ2は、高速に読み書き可能の
半導体メモリであって、電源断時にデータが消失してし
まう揮発性のメモリである。バックアップ用ディスク装
置3は、半導体メモリ2中のデータを退避して保存する
ものであって、電源断時でもデータを保持する不揮発性
の磁気ディスク装置などである。
The semiconductor memory 2 is a readable and writable semiconductor memory at high speed, and is a volatile memory in which data is lost when the power is cut off. The backup disk device 3 saves and stores the data in the semiconductor memory 2, and is a non-volatile magnetic disk device that retains the data even when the power is cut off.

【0021】制御装置4は、半導体ディスク装置1をア
クセスしたり、縮退モードや動作モードに設定したりな
どの制御を行なうもの(CPU)であって、制御プログ
ラム5、電源制御6、および無停電電源装置8などから
構成されるものである。
The control unit 4 is a unit (CPU) which controls the semiconductor disk unit 1 such as accessing the semiconductor disk unit 1 and setting the degenerate mode and the operation mode. The control program 5, the power supply control 6, and the uninterruptible power supply. It is composed of a power supply device 8 and the like.

【0022】制御プログラム5は、バッテリ監視機能7
からの通知に対応して半導体ディスク装置1を動作モー
ド/縮退モードにしたり、半導体ディスク装置1をアク
セス制御したりなどするものである。
The control program 5 has a battery monitoring function 7
The semiconductor disk device 1 is set to the operation mode / degenerate mode, the semiconductor disk device 1 is access-controlled, etc.

【0023】電源制御6は、半導体ディスク装置1に供
給する電源を制御するものであって、ここでは、図示外
の商用電源からの電源を半導体ディスク装置1に供給し
たり、停電時に無停電電源装置8からの電源を半導体デ
ィスク装置1に供給したり、無停電電源装置8のバッテ
リの満充電を監視したりなどするものであって、ここで
は、バッテリ監視機能7などから構成されるものであ
る。
The power source control 6 controls the power source to be supplied to the semiconductor disk device 1. Here, the power source controller 6 supplies power from a commercial power source (not shown) to the semiconductor disk device 1 or an uninterruptible power source at the time of power failure. It supplies power from the device 8 to the semiconductor disk device 1, monitors the full charge of the battery of the uninterruptible power supply device 8, and the like, and is composed of a battery monitoring function 7 or the like here. is there.

【0024】バッテリ監視機能7は、無停電電源装置8
のバッテリの充電状態を監視したりなどするものであっ
て、ここでは、停電時に半導体ディスク装置1に電源を
供給した後、復電後の充電時間が所定時間を経過してバ
ッテリが満充電となったかなどを監視するものである。
The battery monitoring function 7 includes an uninterruptible power supply 8
Is to monitor the charge state of the battery, and here, after the power is supplied to the semiconductor disk device 1 at the time of power failure, the charging time after power recovery has passed a predetermined time and the battery is fully charged. It is to monitor whether it has become.

【0025】無停電電源装置8は、停電時に、内蔵のバ
ッテリから生成した電源を半導体ディスク装置1に供給
するものである。電源復電時に、無停電電源装置8のバ
ッテリを充電し、通常10時間位で満充電となる。
The uninterruptible power supply 8 supplies the semiconductor disk device 1 with power generated from a built-in battery in the event of a power failure. When the power is restored, the battery of the uninterruptible power supply 8 is charged, and normally the battery is fully charged in about 10 hours.

【0026】次に、図1の構成の動作を説明する。 (1) 制御装置4が通常の動作モードを半導体ディス
ク装置1に設定し、半導体ディスク装置1内の半導体メ
モリ2にアクセスして高速にデータを書き込んだり、読
みだしたりする。
Next, the operation of the configuration of FIG. 1 will be described. (1) The control device 4 sets a normal operation mode in the semiconductor disk device 1 and accesses the semiconductor memory 2 in the semiconductor disk device 1 to write or read data at high speed.

【0027】(2) 運用中に停電した場合、制御プロ
グラムが指示して無停電電源装置8から電源を半導体デ
ィスク装置1に供給した状態で、当該半導体ディスク装
置1内の半導体メモリ2中のデータをバックアップ用デ
ィスク装置3に退避した後、縮退モードをセットする。
(2) When a power failure occurs during operation, the data in the semiconductor memory 2 in the semiconductor disk device 1 in the state where the control program instructs to supply power to the semiconductor disk device 1 from the uninterruptible power supply device 8. Is saved in the backup disk device 3, and the degenerate mode is set.

【0028】(3) 復電後、商用電源を半導体ディス
ク装置1に供給した状態で、当該半導体ディスク装置1
内のバックアップ用ディスク装置3に直接にアクセスす
ると共に、無停電電源装置8のバッテリの充電を監視し
て所定時間経過して満充電となったときに縮退モードを
解除する。この縮退モードの解除に対応して、半導体デ
ィスク装置1内の半導体メモリ2にアクセスして高速に
データを書き込んだり、読みだしたりする。従って、復
電後、バッテリが満充電されないうちに、再度停電して
復電しても、縮退モードが解除されることがなく、バッ
テリが満充電される時間を経過しないかぎり、当該縮退
モードを解除して動作モードのもとで半導体メモリ2を
アクセスすることがなく、従来のように半導体メモリ2
中のデータを消失してしまうこと自体を回避できる。以
下順次詳細に説明する。
(3) After the power is restored, the semiconductor disk device 1 is supplied with commercial power to the semiconductor disk device 1.
In addition to directly accessing the backup disk device 3 therein, the charging of the battery of the uninterruptible power supply 8 is monitored, and the degeneration mode is released when the battery is fully charged after a predetermined time elapses. Corresponding to the release of the degenerate mode, the semiconductor memory 2 in the semiconductor disk device 1 is accessed to write or read data at high speed. Therefore, after the power is restored, even if the battery is not fully charged and the power is restored again and the power is restored, the degeneration mode will not be released, and the degeneration mode will not be released unless the time for fully charging the battery elapses. There is no need to release the semiconductor memory 2 under the operating mode to access it, and
You can avoid losing the data inside. The details will be sequentially described below.

【0029】図2は、本発明の1実施例構成図を示す。
ここで、半導体ディスク装置1および無停電電源装置8
は、図1の構成と同一であるので説明を省略する。図2
において、制御プログラム5は、半導体ディスク装置1
を制御するものであって、ここでは下記の制御を行な
う。
FIG. 2 shows a block diagram of an embodiment of the present invention.
Here, the semiconductor disk device 1 and the uninterruptible power supply device 8
1 is the same as the configuration of FIG. Figure 2
In the control program 5, the semiconductor disk device 1
The following control is performed here.

【0030】 定期的にタイマ状況を監視 プログラム制御回路73から割込みを受け付ける。 半導体ディスク装置1に対し、縮退モードを解除 バッテリ監視機能7は、バッテリの状態を監視する機能
であって、図示のように停電検出回路71、タイマ制御
回路72、プログラム制御回路73、およびN時間タイ
マ73などから構成されるものである。
Periodically monitor the timer status Accept an interrupt from the program control circuit 73. The degeneration mode is released for the semiconductor disk device 1. The battery monitoring function 7 is a function for monitoring the state of the battery, and includes a power failure detection circuit 71, a timer control circuit 72, a program control circuit 73, and N hours as shown in the figure. It is composed of a timer 73 and the like.

【0031】停電検出回路71は、半導体ディスク装置
1に供給する電源の停電を検出するものである。タイマ
制御回路72は、N時間タイマ74にN時間を設定した
り、N時間のカウントしたり、N時間タイマ73によっ
てN時間が経過したときに(復電後、無停電電源装置8
のバッテリを満充電するに十分な所定時間Nを経過した
ときに)N時間経過の旨をプログラム制御回路73に通
知したりなどするものである。
The power failure detection circuit 71 detects a power failure of the power supplied to the semiconductor disk device 1. The timer control circuit 72 sets the N time in the N time timer 74, counts the N time, and when the N time has passed by the N time timer 73 (after power recovery, the uninterruptible power supply 8
(When the predetermined time N, which is sufficient to fully charge the battery, has passed), the program control circuit 73 is notified that N hours have passed.

【0032】プログラム制御回路73は、N時間経過し
た旨の通知を受けたときに、制御プログラム5に通知し
たりなどするものである。N時間タイマ73は、設定さ
れたN時間を計測するタイマである。
The program control circuit 73, for example, notifies the control program 5 when it is notified that N hours have passed. The N time timer 73 is a timer that measures the set N time.

【0033】次に、図3のS1からS13の順序で、図
2の構成のもとで停電発生時の動作を詳細に説明する。
図3において、S1は、何らかの原因によって停電が発
生する。
Next, in the order of S1 to S13 of FIG. 3, the operation when a power failure occurs will be described in detail under the configuration of FIG.
In FIG. 3, in S1, a power failure occurs for some reason.

【0034】S2は、無停電電源装置8からの停電発生
の旨の通知を、バッテリ監視機能7が受信する。S3
は、バッテリ監視機能7が停電通知を制御プログラム
(OS)5に行なう。
In step S2, the battery monitoring function 7 receives the notification from the uninterruptible power supply unit 8 that a power failure has occurred. S3
The battery monitoring function 7 notifies the control program (OS) 5 of a power failure.

【0035】S4は、S3で停電通知を受けた制御プロ
グラム5が画面上に停電発生の旨のメッセージを表示
し、管理者に知らせる。S5は、バッテリ監視機能7が
時間監視(to)する。
In step S4, the control program 5, which has received the power failure notification in step S3, displays a message to the effect that a power failure has occurred on the screen to notify the administrator. In S5, the battery monitoring function 7 monitors time (to).

【0036】S6は、監視時間t0を経過したので、時
間監視した旨を通知する。S7は、制御プログラム5が
システムクローズ処理を開始する。これは、停電してか
ら監視時間t0を経過したので、システムクローズ処理
を開始する。
In S6, since the monitoring time t0 has passed, the fact that the time has been monitored is notified. In S7, the control program 5 starts the system close process. Since the monitoring time t0 has passed since the power failure, the system close processing is started.

【0037】S8は、縮退モード指示を行い、半導体デ
ィスク装置1にセットする。S9は、バックアップ用デ
ィスク装置3への退避指示する。S10は、半導体ディ
スク装置1の半導体メモリ2からデータをバックアップ
用ディスク装置3に退避する。
In step S8, the degenerate mode is instructed and set in the semiconductor disk device 1. In S9, an instruction to save to the backup disk device 3 is given. In S10, the data is saved from the semiconductor memory 2 of the semiconductor disk device 1 to the backup disk device 3.

【0038】S11は、システムクローズを終了する。
S12は、制御プログラム5が正常終了通知をバッテリ
監視機能7に通知する。
In step S11, the system close is completed.
In S12, the control program 5 notifies the battery monitoring function 7 of a normal end notification.

【0039】S13は、バッテリ監視機能7が半導体デ
ィスク装置1への無停電電源装置8からの電源を切断す
る。以上によって、半導体ディスク装置1の半導体メモ
リ2にアクセスして処理を行っている状態で、商用電源
が断となり、無停電電源装置8のバッテリから電源の供
給を半導体ディスク装置1に行い、しばらくそのまま運
用を行い、監視時間t0を経過しても停電のときに、制
御プログラム5に指示してシステムクローズ処理を開始
し、この中で半導体ディスク装置1の半導体メモリ2か
らデータをバックアップ用ディスク装置3に退避および
縮退モードをセットし、無停電電源装置8からの電源を
切断する。これにより、停電時に半導体ディスク装置1
の半導体メモリ2中のデータをバックアップ用ディスク
装置3に退避することが可能となると共に、縮退モード
をセットしておく。
In S13, the battery monitoring function 7 disconnects the power from the uninterruptible power supply 8 to the semiconductor disk device 1. As described above, while the semiconductor memory 2 of the semiconductor disk device 1 is being accessed and processed, the commercial power supply is cut off, power is supplied from the battery of the uninterruptible power supply device 8 to the semiconductor disk device 1, and the operation is continued for a while. When the system is operated and the power failure occurs even after the monitoring time t0 has passed, the control program 5 is instructed to start the system close process, in which the data from the semiconductor memory 2 of the semiconductor disk device 1 is backed up to the disk device 3 for backup. The evacuation and degeneration modes are set in and the power from the uninterruptible power supply 8 is cut off. As a result, in the event of a power failure, the semiconductor disk device 1
The data in the semiconductor memory 2 can be saved in the backup disk device 3, and the degeneration mode is set.

【0040】次に、図3のS21からS25の順序で、
図2の構成のもとで復電時の動作を詳細に説明する。図
3において、S21は、復電したので、電源を投入す
る。
Next, in the order of S21 to S25 of FIG.
The operation at power recovery under the configuration of FIG. 2 will be described in detail. In FIG. 3, since power is restored in S21, the power is turned on.

【0041】S22は、バッテリ監視機能7がN時間タ
イマ74にN時間(バッテリが満充電となる充電時間
N)をセットし、カウントダウンを開始する。S23
は、N時間カウンタ74の内容Nが0となったか判別す
る。YESの場合には、その旨を制御プログラム5に通
知し、制御プログラム5が半導体ディスク装置1に縮退
モードの解除を通知してリセットする。以降は通常モ
ードに戻る。一方、S23でNOの場合には、S25に
進む。
In step S22, the battery monitoring function 7 sets the N-hour timer 74 to N hours (charging time N at which the battery is fully charged) and starts counting down. S23
Determines whether the content N of the N time counter 74 has become zero. In the case of YES, the control program 5 is notified to that effect, and the control program 5 notifies the semiconductor disk device 1 of cancellation of the degenerate mode and resets. After that, it returns to the normal mode. On the other hand, if NO in S23, the process proceeds to S25.

【0042】S25は、再停電か判別する。これは、N
時間タイマ73によってバッテリが満充電されるN時間
を経過する前に再停電が発生したか判別する。YESの
場合には、N時間経過前に再停電が発生したので、S1
に戻る。一方、NOの場合には、S23に戻りN時間経
過するのを待つ。
In step S25, it is determined whether or not there is a power failure again. This is N
The time timer 73 discriminates whether or not a power failure has occurred again before the lapse of N hours in which the battery is fully charged. In the case of YES, the power failure has occurred again before N hours have passed, so S1
Return to. On the other hand, in the case of NO, the process returns to S23 and waits for N hours to elapse.

【0043】以上によって、復電時に半導体ディスク装
置1にS8の指示でセットした縮退モードに対応して直
接にバックアップ用ディスク装置3にアクセスして処理
を行い、N時間経過して無停電電源装置8のバッテリが
満充電されたときに、S24で縮退モードを解除して通
常モード、即ち半導体ディスク装置1の半導体メモリ2
をアクセスして高速書込みや高速読み出しを行なう。こ
れらにより、無停電電源装置8のバッテリが満充電され
る時間を経過したときに自動的に縮退モードを解除し、
通常の動作モード、即ち半導体ディスク装置1内の半導
体メモリ2をアクセスすることができ、再停電時の半導
体メモリ2中のデータの消失を防止した上で、可及的に
早急に縮退モードを自動解除して通常の動作モードに戻
って高速アクセスを行なうことが可能となる。
As described above, when the power is restored, the backup disk device 3 is directly accessed and processed in accordance with the degeneration mode set in the semiconductor disk device 1 according to the instruction of S8, and after the lapse of N hours, the uninterruptible power supply device. When the battery of No. 8 is fully charged, the degeneration mode is canceled in S24 to the normal mode, that is, the semiconductor memory 2 of the semiconductor disk device 1.
Access to perform high-speed writing and high-speed reading. With these, when the battery of the uninterruptible power supply 8 is fully charged, the degeneration mode is automatically released,
The normal operation mode, that is, the semiconductor memory 2 in the semiconductor disk device 1 can be accessed, the loss of data in the semiconductor memory 2 at the time of a power failure is prevented, and the degeneration mode is automatically set as soon as possible. It is possible to release it and return to the normal operation mode for high-speed access.

【0044】尚、以上の実施例では、無停電電源装置8
のバッテリの満充電となるのを、バッテリに充電開始し
てから所定時間経過によって検出していたが、この他
に、バッテリの電圧の上昇の具合から満充電を予測して
判断してもよい。これに従えば、バッテリの完全放電状
態からでなく、バッテリの途中の放電状態から充電を始
めたときでも満充電となった状態を検出し、図3のS2
3のN=0となったことにして、縮退モードを解除して
もよい。また、その他の手法でバッテリの満充電を検出
し(例えばバッテリの充電の履歴曲線を保存しておき、
現在の状態から充電を開始したときのバッテリ電圧の上
昇具合や最大値に行き着いて下降し始めたときの電圧を
検出したりして満充電を検出し)、このときに図3のS
23のYESとするようにしてもよい。
In the above embodiment, the uninterruptible power supply 8
It has been detected that the battery is fully charged when a predetermined time has elapsed after the battery was started to be charged, but in addition to this, it may be determined by predicting the full charge from the degree of increase in the battery voltage. . According to this, the state in which the battery is fully charged is detected even when the charging is started not from the completely discharged state of the battery but from the discharged state in the middle of the battery, and S2 of FIG. 3 is detected.
The degeneration mode may be canceled by assuming that N = 0 of 3 is set. In addition, the battery full charge is detected by other methods (for example, the history curve of the battery charge is saved,
Full charge is detected by detecting the rise of the battery voltage when starting charging from the current state or the voltage when reaching the maximum value and starting to fall).
You may make it the YES of 23.

【0045】[0045]

【発明の効果】以上説明したように、本発明によれば、
制御装置4にバッテリ監視機能7を持たせ、当該バッテ
リ監視機能7が停電して復電後、所定時間以上経過した
などのときに縮退モードを解除して自動的に動作モード
とする構成を採用しているため、復電して半導体メモリ
2の使用中に再停電によるデータ消失を防止すると共に
縮退モードの自動解除を行って高速アクセスを実現する
ことができる。これらにより、半導体ディスク装置1の
信頼性と高速性を向上させることが可能となった。
As described above, according to the present invention,
A configuration is adopted in which the control device 4 is provided with a battery monitoring function 7 and the degeneration mode is canceled and the operation mode is automatically set when the battery monitoring function 7 has lost power and has been restored for a predetermined time or more. Therefore, it is possible to realize high-speed access by preventing power loss due to re-power failure during power recovery and use of the semiconductor memory 2, and by automatically canceling the degenerate mode. As a result, it has become possible to improve the reliability and high speed of the semiconductor disk device 1.

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

【図1】本発明の原理構成図である。FIG. 1 is a principle configuration diagram of the present invention.

【図2】本発明の1実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】本発明の動作説明図である。FIG. 3 is an operation explanatory diagram of the present invention.

【図4】従来技術の説明図である。FIG. 4 is an explanatory diagram of a conventional technique.

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

1:半導体ディスク装置 2:半導体メモリ 3:バックアップ用ディスク装置 4:制御装置 5:制御プログラム 6:電源制御 7:バッテリ監視機能 8:無停電電源装置(バッテリ) 1: Semiconductor disk device 2: Semiconductor memory 3: Backup disk device 4: Control device 5: Control program 6: Power supply control 7: Battery monitoring function 8: Uninterruptible power supply device (battery)

───────────────────────────────────────────────────── フロントページの続き (72)発明者 上原 幹生 神奈川県川崎市中原区上小田中1015番地 富士通株式会社内 (72)発明者 崎田 雅史 石川県河北郡宇ノ気町字宇野気ヌ98番地の 2 株式会社ピーエフユー内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Mikio Uehara 1015 Kamiodanaka, Nakahara-ku, Kawasaki City, Kanagawa Prefecture, Fujitsu Limited (72) Inventor Masafumi Sakita 2 shares of 98 Uno-nu, Unoku-cho, Kawakita-gun, Ishikawa Prefecture Company PFU

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】高速アクセス装置の動作を制御する高速ア
クセス装置制御方式において、 高速に読み書き可能で電源断時にデータを消失する半導
体メモリ(2)および読み書き可能で電源断時でもデー
タを保持するバックアップ用ディスク装置(3)からな
る半導体ディスク装置(1)と、 この半導体ディスク装置(1)に電源を供給する、バッ
テリなどからなる無停電電源装置(8)と、 この無停電電源装置(8)が停電時に上記半導体ディス
ク装置(1)に電源を供給した後、復電して充電開始し
てからバッテリが満充電されたかを監視するバッテリ監
視機能(7)とを備え、 停電時に上記無停電電源装置(8)から電源を上記半導
体ディスク装置(1)に供給して半導体メモリ(2)か
らバックアップ用ディスク装置(3)にデータを退避す
ると共に、縮退モードにセットしておき、 復電時に上記半導体ディスク装置(1)をセットされた
縮退モードに対応して、直接にバックアップ用ディスク
装置(3)にアクセスし、上記バッテリ監視機能(7)
が復電してから充電を開始し、無停電電源装置(8)の
バッテリの満充電を検出したときに自動的に縮退モード
を解除して通常モードとし、半導体メモリ(2)のアク
セスに切り替えるように構成したことを特徴とする高速
アクセス装置制御方式。
1. A high-speed access device control method for controlling the operation of a high-speed access device, comprising: a semiconductor memory (2) capable of high-speed reading and writing and erasing data when power is cut off; and a backup capable of reading and writing and retaining data even when power is cut off. Disk device (3), a semiconductor disk device (1), an uninterruptible power supply device (8), such as a battery, for supplying power to the semiconductor disk device (1), and the uninterruptible power supply device (8) Has a battery monitoring function (7) for monitoring whether the battery is fully charged after supplying power to the semiconductor disk device (1) at the time of power failure and then restoring power and starting charging, Power is supplied from the power supply device (8) to the semiconductor disk device (1) to transfer data from the semiconductor memory (2) to the backup disk device (3). When the power is restored, the semiconductor disk device (1) is set to the degeneration mode and the semiconductor disk device (1) is directly accessed to the backup disk device (3) in response to the set degeneration mode to perform the battery monitoring function. (7)
Starts charging after power is restored, and when full battery of the uninterruptible power supply (8) is detected, the degeneration mode is automatically released to normal mode, and the semiconductor memory (2) is accessed. A high-speed access device control method having the above-mentioned configuration.
【請求項2】上記バッテリの満充電の検出として、バッ
テリ充電を開始して所定時間(満充電に要する予め測定
した時間)の経過としたことを特徴とする請求項1記載
の高速アクセス装置制御方式。
2. The high-speed access device control according to claim 1, wherein, as the detection of the full charge of the battery, a predetermined time (a pre-measured time required for the full charge) has elapsed after starting the battery charge. method.
JP5176328A 1993-07-16 1993-07-16 High-speed access device control system Pending JPH0736638A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5176328A JPH0736638A (en) 1993-07-16 1993-07-16 High-speed access device control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5176328A JPH0736638A (en) 1993-07-16 1993-07-16 High-speed access device control system

Publications (1)

Publication Number Publication Date
JPH0736638A true JPH0736638A (en) 1995-02-07

Family

ID=16011673

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5176328A Pending JPH0736638A (en) 1993-07-16 1993-07-16 High-speed access device control system

Country Status (1)

Country Link
JP (1) JPH0736638A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011475A (en) * 2013-06-27 2015-01-19 キヤノン株式会社 Information processing device, control method thereof, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015011475A (en) * 2013-06-27 2015-01-19 キヤノン株式会社 Information processing device, control method thereof, and program

Similar Documents

Publication Publication Date Title
JP3224153B2 (en) Improved data protection system and data protection method
US6601181B1 (en) Uninterruptible power supply apparatus and method
JP3477689B2 (en) Magnetic disk controller
WO2013054374A1 (en) Storage system, and data backup method and system restarting method of storage system
JPH09330277A (en) Service interruption processing system for disk cache system and method therefor
JPH0612153A (en) Programmable controller
JP2002258988A (en) Uninterruptible power system
JPH06231053A (en) Data saving system
JPH0736638A (en) High-speed access device control system
JP3133492B2 (en) Information processing device
JPH064228A (en) Semiconductor disk device
JP2646975B2 (en) Information processing system
JP3487127B2 (en) Information processing device, product registration device, and program storage medium
JPS63217455A (en) Ram back-up system
JP2980704B2 (en) Programmable controller
JP2004078963A (en) Cache memory backup device
JPH06175754A (en) Automatic storing mechanism for main contents of storage
JP2836336B2 (en) Power off control method
JPH04195617A (en) Recording and reproducing device and information processor
JPS5818725A (en) Semiconductor storage device
JP3396417B2 (en) Backup device
JPH07160433A (en) Disk cache control device
JPH10161781A (en) Data disappearance preventing system for information processor
JPH04195411A (en) Backup battery management device
JPH05241674A (en) Portable electronic equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030924