JPS63173273A - Computer system provided with disk device - Google Patents

Computer system provided with disk device

Info

Publication number
JPS63173273A
JPS63173273A JP62003123A JP312387A JPS63173273A JP S63173273 A JPS63173273 A JP S63173273A JP 62003123 A JP62003123 A JP 62003123A JP 312387 A JP312387 A JP 312387A JP S63173273 A JPS63173273 A JP S63173273A
Authority
JP
Japan
Prior art keywords
disk device
power
disk
time
turned
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
JP62003123A
Other languages
Japanese (ja)
Inventor
Satoru Umezaki
梅崎 悟
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP62003123A priority Critical patent/JPS63173273A/en
Publication of JPS63173273A publication Critical patent/JPS63173273A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B19/00Driving, starting, stopping record carriers not specifically of filamentary or web form, or of supports therefor; Control thereof; Control of operating function ; Driving both disc and head
    • G11B19/02Control of operating function, e.g. switching from recording to reproducing
    • G11B19/06Control of operating function, e.g. switching from recording to reproducing by counting or timing of machine operations
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B33/00Constructional parts, details or accessories not provided for in the other groups of this subclass
    • G11B33/10Indicating arrangements; Warning arrangements

Landscapes

  • Debugging And Monitoring (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

PURPOSE:To decide a remaining service life of a disk device by an operator, so that appropriate measures can be taken before a fault occurs, by calculating the cumulative operation time of the disk device and the number of times of ON and OFF of a power source, and bringing them to a display output. CONSTITUTION:When a disk device 1 has suspended a disk access exceeding a prescribed time, its power source is turned off by a power source control unit 5, and on the other hand, the cumulative operation time being the power source ON cumulative time of the disk device 1, and the number of times of ON and OFF of the power source are calculated, and they are displayed or recorded. By turning off the power source when the disk device is not used, a service life of the disk device can be extended, and also, an operator decides the remaining service life of the disk device by the cumulative operation time and the number of times of ON and OFF of the power source, and can take measures.

Description

【発明の詳細な説明】 [発明の名称] (産業上の利用分野) 本発明は、記憶装置としてディスク装置を備えたコンピ
ュータシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION [Title of the Invention] (Field of Industrial Application) The present invention relates to a computer system equipped with a disk device as a storage device.

(従来の技術) 近年、産業プラントの監視や制御のためにコンピュータ
システムが広く利用されている。このようなコンピュー
タシステムでは、そのプラントを構成する各機器の状態
、あるいは系統内の温度。
(Prior Art) In recent years, computer systems have been widely used for monitoring and controlling industrial plants. In such computer systems, the status of each device that makes up the plant or the temperature within the system.

圧力、流量等の状態変数の監視を常時に行なうことによ
って、監視結果に基づいた制御を行なう一方、警報表示
等を行なっている。プラント監視においては、異常事態
発生時に異常事態の発生を早急に通知すると共に、その
異常原因の究明を行なうために、プラン1−状態を示す
データを常時ロギングしておき、異常事態発生前後のロ
ギングデータを解析するようにしている。
By constantly monitoring state variables such as pressure and flow rate, control is performed based on the monitoring results, and alarms are displayed. In plant monitoring, in order to immediately notify the occurrence of an abnormal situation and to investigate the cause of the abnormality, Plan 1 - Constant logging of data indicating the status, and logging before and after the abnormal situation occurs. I am trying to analyze the data.

このようなデータのロギング用媒体として、アクセス時
間が比較的小さく、コンパクトな割に大容量を有するウ
ィンチェスタディスク等の磁気ディスクがよく利用され
ている。
As a medium for logging such data, a magnetic disk such as a Winchester disk, which has a relatively short access time and a large capacity despite its compact size, is often used.

(発明が解決しようとする問題点) 通常、コンピュータシステムでは、システムの電源投入
時にディスク装置の電源もONされ、ディスク装置のモ
ータが回転し始める。以後、その状態が電源断となるま
で継続する。このため、ディスクへのアクセスのあるな
しにかかわらず、ディスクのモータは回転したままにな
る。
(Problems to be Solved by the Invention) Normally, in a computer system, when the power of the system is turned on, the power of the disk device is also turned on, and the motor of the disk device starts rotating. Thereafter, this state continues until the power is turned off. Therefore, the disk motor continues to rotate regardless of whether the disk is accessed or not.

ところで、例えばウィンチェスタディスクの場合1機構
上、ディスクの累積稼動時間の保証時間は約20000
時間、またディスク装置の電源オンオフ切替回数の上限
値は約10000回というような寿命としての制約があ
る。
By the way, for example, in the case of a Winchester disk, the guaranteed cumulative operating time of the disk is approximately 20,000 hours.
There are limitations in terms of time and life, such as an upper limit on the number of times the disk device can be switched on and off.

一方、プラント監視システムとしては1通常10年ない
し20年の寿命が想定されており、上記保証時間に従え
ば、その間にディスク装置の交換が何回か必要になる。
On the other hand, a plant monitoring system is normally expected to have a lifespan of 10 to 20 years, and if the above-mentioned warranty period is followed, the disk device will need to be replaced several times during that period.

また、システムの運転中にディスク装置が上記保証時間
をオーバして障害となると、ロギングデータが破壊され
てシステムの信頼性を損なうという問題も憂慮される。
Furthermore, if the disk device exceeds the guaranteed time and becomes a failure during operation of the system, there is a concern that the logging data will be destroyed and the reliability of the system will be impaired.

本発明は、上記の点に鑑み、ディスク装置の寿命を延長
すると共にシステムの信頼性を向上させ −たコンピュ
ータシステムを提供することを目的とする。
In view of the above points, it is an object of the present invention to provide a computer system that extends the life of a disk device and improves the reliability of the system.

[発明の構成コ (問題点を解決するための手段) このため本発明は、ディスク装置が一定時間以上ディス
クアクセスを休止したとき、その電源をオフする一方、
ディスク装置の電源オン累計時間である累計稼動時間と
電源オンオフ回数とを算出し、それらを表示あるいは記
録するようにしたものである。
[Configuration of the Invention (Means for Solving Problems) Therefore, the present invention provides a method for turning off the power when the disk device stops accessing the disk for a certain period of time or more.
The cumulative operating time, which is the cumulative power-on time of the disk device, and the number of times the power was turned on and off are calculated, and these are displayed or recorded.

(作用) ディスク装置が使用されないときに、電源オフすること
により、ディスク装置の寿命を延長することができると
共に、オペレータは累計稼動時間と電源オンオフ回数と
によりディスク装置の余命を判断して、対策を講じるこ
とができる。
(Function) By turning off the power to the disk device when it is not in use, the life of the disk device can be extended, and the operator can take countermeasures by determining the remaining life of the disk device based on the cumulative operating time and the number of times the power is turned on and off. can be taken.

(実施例) 以下1本発明の実施例を詳細に説明する。(Example) Hereinafter, one embodiment of the present invention will be described in detail.

第1図は本発明の一実施例に係るプラント監視に使用さ
れるコンピュータシステムのシステム構成図を示したも
のである0図において、ディスク装r!11はその制御
を行なうディスクコントローラ2を介してシステムバス
3に接続されている。
FIG. 1 shows a system configuration diagram of a computer system used for plant monitoring according to an embodiment of the present invention. 11 is connected to a system bus 3 via a disk controller 2 that controls it.

システムバス3にはシステム全体をコントロールするC
PU (中央処理袋!り4、ディスク装M1の電源をオ
ンオフする電源制御装置5、データ格納部であるRAM
 (ランダム・アクセス・メモリ)6、このシステムを
操作するためのコンソール7をコントロールする端末コ
ントローラ8、プリンタ9をコントロールするプリンタ
インタフェース10およびプラントの種々データの収集
を司るプラントインタフェース部11がそれぞれ接続さ
れている。
System bus 3 has C which controls the entire system.
PU (central processing unit 4, power supply control device 5 that turns on and off the power to the disk unit M1, RAM that is a data storage unit)
(Random access memory) 6, a terminal controller 8 that controls a console 7 for operating this system, a printer interface 10 that controls a printer 9, and a plant interface unit 11 that controls collection of various plant data are connected to the ing.

第2図はこのシステムのソフトウェア構成を示したもの
である。図において、このシステムのソフトウェアは大
きく分けて、特定のプラントの要求に応じた種々の機能
を果すアプリケーション部20と、特定のプラントには
依存しない基本ソフトウェア部30から成る。
FIG. 2 shows the software configuration of this system. In the figure, the software of this system is roughly divided into an application section 20 that performs various functions according to the requirements of a specific plant, and a basic software section 30 that does not depend on a specific plant.

アプリケーション部20には、データロギング機能、デ
ータ解析機能、解析結果の出力機能等の複数のアプリケ
ーションタスク21〜2Nが収容されている。
The application unit 20 accommodates a plurality of application tasks 21 to 2N, such as a data logging function, a data analysis function, and an analysis result output function.

基本ソフトウェア部30は、オペレーティングシステム
31の上に、ディスクの累積稼動時間の算出およびディ
スク電源のオンオフ切替回数の計数を行なうためのバッ
クグランド的なシステムタスク32を設けて構成してい
る。
The basic software unit 30 is configured by providing a background system task 32 on top of the operating system 31 for calculating the cumulative operating time of the disk and counting the number of times the disk power is switched on and off.

オペレーティングシステム31の中には、主として上記
アプリケーション部2oの種々のタスクを制御したり、
メモリ管理や割込処理等の機能を有するニュークリアス
(Nucleus)部311.ディスクやコンソール等
の入出力機器をコントロールする入出カシステム部31
2、入出力機器を制御するためのインタフェースを司る
デバイスドライバ313が収容されている。ディスク装
置1はデバイスドライバ313によりディスクコントロ
ーラ2を介して制御される。電源制御装置5はシステム
タスク32とデバイスドライバ313の制御のもとで動
作し、ディスク装置1の電源をオンオフするものである
The operating system 31 mainly controls various tasks of the application section 2o,
Nucleus unit 311, which has functions such as memory management and interrupt processing. An input/output system section 31 that controls input/output devices such as disks and consoles.
2. A device driver 313 that controls an interface for controlling input/output devices is housed. The disk device 1 is controlled by a device driver 313 via the disk controller 2. The power supply control device 5 operates under the control of the system task 32 and the device driver 313, and turns on and off the power to the disk device 1.

本実施例のコンピュータシステムは1以上のように構成
されて、オペレータによりコンソール7が操作され、実
行する処理が指示される。コンソール7に入力されたこ
のオペレーションは端末コントローラ8を介してCPU
4へ転送される。cpu4では、アプリケーションタス
ク21〜2Nのうち、そのオペレーションで指示された
ものが実行される。
The computer system of this embodiment is configured in one or more ways, and an operator operates a console 7 to instruct a process to be executed. This operation input to the console 7 is sent to the CPU via the terminal controller 8.
Transferred to 4. The CPU 4 executes one of the application tasks 21 to 2N specified by the operation.

これらのアプリケーションタスク21〜2Nは、プラン
トインターフェース11より入力されるプラントデータ
を収集してディスク装置1に格納する処理、あるいは格
納したデータを解析する処理などである。
These application tasks 21 to 2N include processing for collecting plant data input from the plant interface 11 and storing it in the disk device 1, or processing for analyzing the stored data.

これらのアプリケーションタスク21〜2Nの実行中、
プラントデータをディスク装置1に格納するとき、ある
いはその格納データをディスク装置lより読み出すとき
等において、オペレーティングシステム31の入出カシ
ステム部312が動作し、デバ・(スドライバ313を
起動する。□′第3図はこのデバイスドライバ313の
制御動作を示したものである。図において、デバイスド
ライバ313が起動すると、まずディスクアクセス中で
あることを示すためのアクセスフラグをRAM6の所定
エリアにセットする(処理41)。次に、ディスクコン
トローラ2から出力される信号によりディスクが稼動中
であるか否か、すなわちディスク装置1の電源が入って
いるか否かを判断しく処理42)、稼動中でなければ(
処理42のNo)、電源制御装置5を制御してディスク
装置1の電源をONにする(処理43)。ディスク装置
1の電源をオンにした場合、ディスクコントローラ2よ
り出力される信号によりディスクの回転が一定、即ちレ
ディ状態になったかどうか判定し、レディ状態になれば
(処理44のYes)、実際にディスクコントローラ2
を制御してディスク装置1に対してリードライト等のア
クセスを実行させる。
During the execution of these application tasks 21 to 2N,
When storing plant data in the disk device 1 or reading the stored data from the disk device 1, the input/output system section 312 of the operating system 31 operates and starts the device driver 313. □' FIG. 3 shows the control operation of this device driver 313. In the figure, when the device driver 313 starts up, it first sets an access flag in a predetermined area of the RAM 6 to indicate that the disk is being accessed ( Process 41) Next, it is determined whether the disk is in operation based on the signal output from the disk controller 2, that is, whether the disk device 1 is powered on or not. (
No in process 42), the power control device 5 is controlled to turn on the power to the disk device 1 (process 43). When the power of the disk device 1 is turned on, it is determined based on the signal output from the disk controller 2 whether the rotation of the disk is constant, that is, it is in the ready state. If it is in the ready state (Yes in process 44), it is actually disk controller 2
is controlled to execute access such as read/write to the disk device 1.

これにより、データ読出時であれば、磁気ディスク1か
らの読出データは、ディスクコントローラ2とデバイス
コントローラ313を介して入出カシステム部312に
取り込まれ、さらに実行中のアプリケーションタスクに
転送されて、所定の処理が実行される。また、データ格
納時であれば、アプリケーションタスクより入出カシス
テム部312に格納データが転送され、その格納データ
はさらにデバイスドライバ313とディスクコントロー
ラ2を介してディスク装置1に転送され、そのディスク
装置1に格納される(処理45)。一方、ディスク装置
!!1の電源がオンしているときは(処理42のYes
) 。
As a result, when reading data, the read data from the magnetic disk 1 is taken into the input/output system section 312 via the disk controller 2 and the device controller 313, and further transferred to the application task being executed. processing is executed. In addition, when storing data, the storage data is transferred from the application task to the input/output system section 312, and the stored data is further transferred to the disk device 1 via the device driver 313 and disk controller 2, and the stored data is transferred to the disk device 1 via the device driver 313 and disk controller 2. (processing 45). On the other hand, the disk device! ! 1 is on (Yes in process 42)
).

すぐ上記のようなディスクのアクセスを実行させる。Immediately execute the disk access as described above.

このディスクのアクセスの終了は1通常ディスクコント
ローラからの完了割込みによって通知されるので、ここ
でアクセス結果の判定および必要に応じてエラー処理を
行なった後(処理46)、i初にセットしたアクセスフ
ラグをリセットする(処理47)。このアクセスフラグ
は1次に説明するシステムタスクの中でディスク装置1
の電源をオフにする処理において検知されるものである
The end of this disk access is usually notified by a completion interrupt from the disk controller, so after determining the access result and performing error handling as necessary (process 46), the access flag set at the beginning of i is (processing 47). This access flag is used for the disk device 1 in the system task explained below.
This is detected during the process of turning off the power.

上述のアプリケーションタスク21〜2Nの実行中には
、また、システムタスク32が一定周期で並列して動作
する。
While the above application tasks 21 to 2N are being executed, the system task 32 also operates in parallel at regular intervals.

第4図はこのシステムタスク32の制御動作を示したも
のである。
FIG. 4 shows the control operation of this system task 32.

システムタスク32は一定周期毎に起動するバックグラ
ンドのタスクとして作成されているもので、このシステ
ムタスク32が起動すると、最初にディスクコントロー
ラ2からの出力信号によりディスク装置1が稼動中(電
源オン)であるか否かを判定し、稼動中でなければ何も
せずに終了する(処理51のNo)。
The system task 32 is created as a background task that starts at regular intervals. When this system task 32 starts, the first thing that happens is that the disk device 1 is operating (power on) based on the output signal from the disk controller 2. If it is not in operation, the process ends without doing anything (No in process 51).

ところで、RAM6には、ディスク装置1の累積稼動時
間と、その電源オン中にディスクアクセスを連続して休
止する時間である非アクセス時間と、電源オンオフ回数
とをそれぞれ示すメモリデータを格納するメモリエリア
が設けられている。そして、累積稼動時間を示すメモリ
データはディスク装置1が最初に起動された日時にゼロ
にクリアされたものである。
By the way, the RAM 6 has a memory area that stores memory data indicating the cumulative operating time of the disk device 1, the non-access time which is the time during which disk access is continuously paused while the power is on, and the number of times the power is turned on and off. is provided. The memory data indicating the cumulative operating time is cleared to zero at the date and time when the disk device 1 was first started.

システムタスク32はディスク装置1が稼動中であれば
(処理51のYes) 、累積稼動時間を示すメモリデ
ータに本タスクの起動周期時間を加算する。
If the disk device 1 is in operation (Yes in process 51), the system task 32 adds the activation cycle time of this task to the memory data indicating the cumulative operation time.

これにより、累積稼動時間がその起動周期ごとに更新さ
れることになる(処理52)。
As a result, the cumulative operating time is updated for each activation cycle (process 52).

次に、ディスクがアクセス中であるか否かを第3図で説
明したアクセスフラグによって判断しく処理53)、ア
クセス中であれば(処理53のYes)、非アクセス時
間を示す上記メモリデータをゼロにクリアしく処理54
)、処理を終える。
Next, it is determined whether or not the disk is being accessed using the access flag explained in FIG. Clear processing 54
), the process ends.

′一方、アクセス中でないとき(処理53のNo)、非
アクセス時間を示すメモリデータに上記と同様に起動周
期時間を加算する。これにより、非アクセス時間が更新
されることになる(処理55)。次に、この非アクセス
時間を判定しく処理56)、予め設定された制限値に満
たないときは(処理56のNo) 、処理を終える。ま
た、この非アクセス時間がその制限値をオーバすると(
処理56のYes)、ディスク装置1の電源をオフする
ように電源制御袋@5を制御する(処理57)、この後
、電源オンオフ回数を示す前記メモリデータをカウント
アツプして、処理を終える。これにより、ディスク装置
1の電源オンオフ回数が計数されることになる(処理5
8)。
'On the other hand, when access is not in progress (No in process 53), the activation cycle time is added to the memory data indicating the non-access time in the same manner as above. As a result, the non-access time is updated (process 55). Next, this non-access time is determined (process 56), and if it does not meet the preset limit value (No in process 56), the process ends. Also, if this non-access time exceeds the limit value (
(Yes in process 56), the power control bag @5 is controlled to turn off the power to the disk device 1 (process 57). After this, the memory data indicating the number of times the power is turned on and off is counted up, and the process ends. As a result, the number of times the disk device 1 is powered on and off is counted (processing 5).
8).

このようにシステムタスク32を一定周期ごとに起動さ
せることにより、ディスク装置1が稼動中がどうか判定
し、稼動中の場合には累積稼動時間を更新する一方、非
アクセス時間を判定し、その非アクセス時間が制限値を
越えると、ディスク装置1の電源をオフすると共に、電
源オンオフ回数を+1している。これにより、システム
運転中にはRAM6の前記メモリエリアで累積稼動時間
と電源オンオフ回数とが記憶されるようになる。
By starting the system task 32 at regular intervals in this way, it is determined whether the disk device 1 is in operation, and if it is in operation, the cumulative operating time is updated, while the non-access time is determined and the non-access time is determined. When the access time exceeds the limit value, the power to the disk device 1 is turned off, and the number of times the power is turned on and off is incremented by one. As a result, the cumulative operating time and the number of times the power is turned on and off are stored in the memory area of the RAM 6 while the system is in operation.

ところで、’ RAM6のメモリデータは電源断やシス
テムリセット時にクリアされるため、システムの電源投
入直後およびシステムリセット直後には、第5図に示す
ような初期動作を実行する。なお。
By the way, since the memory data in the RAM 6 is cleared when the power is turned off or the system is reset, the initial operation as shown in FIG. 5 is executed immediately after the system is powered on and immediately after the system is reset. In addition.

この動作は基本ソフトウェア部30内の図示せぬシステ
ムタスクにより実行されるものである0図において1例
えばシステムリセット直後の場合(処理61のNo)、
ディスク装M1が稼動中であるか(電源オンされている
か)どうか判定する(処理62)。
This operation is executed by a system task (not shown) in the basic software section 30.
It is determined whether the disk drive M1 is in operation (power is turned on) (process 62).

そして、稼動中でなければ(処理62のNo)、ディス
ク装@1の電源をオンしく処理63)、レディ状態にな
るまで待つ(処理64)。
If it is not in operation (No in process 62), the power to the disk device @1 is turned on (process 63) and it waits until it becomes ready (process 64).

ディスク装置1がレディ状態になったとき(処理64の
Yes)、あるいは、上記においてディスク稼動中であ
った場合(処理62のYes)、 RAM6の前記メモ
リエリアの累積稼動時間および電源オンオフ回数を示す
メモリデータをディスク装置1の予め設定された所定の
データ領域に格納する(処理65)、この後、ハードウ
ェア系統の初期化を行なう(処理66)。
When the disk device 1 becomes ready (Yes in process 64), or if the disk is in operation in the above (Yes in process 62), the cumulative operating time of the memory area of RAM 6 and the number of times the power is turned on and off are shown. The memory data is stored in a predetermined data area set in advance in the disk device 1 (process 65), and then the hardware system is initialized (process 66).

次に、上記でディスク上に格納した累積稼動時間および
電源オンオフ回数を示すメモリデータを読み出し、RA
M6の所定エリアに格納する(処理67)。
Next, the memory data indicating the cumulative operating time and power on/off times stored on the disk above is read, and the RA
It is stored in a predetermined area of M6 (process 67).

次いで、読み出した上記累積稼動時間および電源オンオ
フ回数をコンソール7に表示またはプリンタ9八出力す
る(処理68)。
Next, the cumulative operating time and the number of times the power is turned on and off are displayed on the console 7 or output to the printer 98 (process 68).

ここで、オペレータは、出力されたディスク装置1の累
積稼動時間と電源オンオフ回数を見て。
Here, the operator looks at the output cumulative operating time and power on/off times of the disk device 1.

ディスク装置に定められている前記したそれらの保証期
間あるいはオンオフ切換回数の上限値とを比較してみる
。もし、累積稼動時間が保証期間に近い場合や電源オン
オフ回数がその上限値に近い場合には1例えば今回の運
転終了後、ディスク装置の点検や部品交換を行なうとい
うように、早目に対策を講じるようにする。
A comparison will be made with the above-mentioned warranty period or the upper limit of the number of on/off switching set for the disk device. If the cumulative operating time is close to the warranty period or the number of times the power is turned on and off is close to the upper limit, take measures as soon as possible, such as inspecting the disk device or replacing parts after the current operation. I will try to take lessons.

その後、システムのブートロード等により所定のシステ
ム起動ルーチンへ移行し、システムを立ち上げる。
Thereafter, the process proceeds to a predetermined system startup routine by boot loading the system, and the system is started.

一方、電源投入直後の場合(処理61のVe+) 、ま
ずハードウェア系統の初期化を行ない(処理69)、デ
ィスク装置1の電源をオンする(処理70)。そして、
ディスクの回転が安定してレディ状態になるまで待つ(
処理71)。
On the other hand, if the power has just been turned on (Ve+ in process 61), the hardware system is first initialized (process 69), and the power to the disk device 1 is turned on (process 70). and,
Wait until the disk rotation stabilizes and becomes ready (
Processing 71).

ここで、ディスク装置lがレディ状態になると(処理7
1のYes)、上記処理67以降を同様に実行する。
Here, when the disk device l becomes ready (processing 7
1), the above process 67 and subsequent steps are executed in the same manner.

なお、図示は省略するが、システムの電源断を行なう直
前には、上記処理65と同様の処理を実行し、累積稼動
時間および電源オンオフ回数をディスク装置に格納して
いる。
Although not shown, immediately before powering off the system, a process similar to the process 65 described above is executed, and the cumulative operating time and the number of times the power is turned on and off are stored in the disk device.

このように、システムが停止あるいはリセットされる場
合には、算出した累積稼動時間と電源オンオフ回数をデ
ィスク装置で記憶しておくようにしている。
In this way, when the system is stopped or reset, the calculated cumulative operating time and the number of times the power is turned on and off are stored in the disk device.

以上のように本実施例では、一定時間以上ディスクアク
セスされない場合にはディスク装置1の電源をオフする
一方、ディスク装置1の累積稼動時間と電源オンオフ回
数とを算出して、その値をシステム初期動作時などに表
示あるいは印字出力するようにしている。これにより、
ディスク装置1が使用されないときは自動的に電源がオ
フされて、その全寿命を延長することができる。また、
ディスク装!t1の累積稼動時間と電源オンオフ回数と
をオペレータ、が知ることにより、ディスク装@1の保
証されている寿命が近づいたことを判断して、装置の点
検や部品交換等を早目に行なうことによって、障害を防
止できるため、システムの信頼性を向上させることがで
きる。
As described above, in this embodiment, when the disk is not accessed for a certain period of time or more, the power to the disk device 1 is turned off, and the cumulative operating time and power on/off frequency of the disk device 1 are calculated, and the values are used at the system initialization. It is displayed or printed out during operation. This results in
When the disk device 1 is not in use, the power is automatically turned off, thereby extending its overall lifespan. Also,
Disc packaging! By knowing the cumulative operating time of t1 and the number of times the power is turned on and off, the operator can judge that the guaranteed life of the disk unit @1 is approaching, and perform equipment inspection, parts replacement, etc. as soon as possible. Since failures can be prevented, the reliability of the system can be improved.

なお1本実施例ではディスク″の累積稼動時間およびf
f1ilJXオンオフ回数の出力は、システム起動時に
自動的に行なうようにしたが、システム稼動中にオペレ
ータの操作によって任意に行なえるようにしてもよい。
Note that in this embodiment, the cumulative operating time of the disk and f
Although the f1ilJX on/off frequency is automatically output when the system is started, it may be outputted arbitrarily by an operator's operation while the system is running.

また、第5図の処理65 、67に示したように、従来
性なわれなかったディスクのリード/ライトが必要とな
るが、ディスクとメモリ間で転送すべきデータ、即ち、
累積稼動時間および電源オンオフ回数の情報は高々10
数バイトの量であり、転送時間はほとんどディスクの平
均アクセス時間、即ち100m5ec程度に納まる。し
かもこの転送はアプリケーションシステムの立ち上げ前
に行なわれるため。
In addition, as shown in processes 65 and 67 in FIG. 5, it is necessary to read/write the disk, which has not been done before, but the data to be transferred between the disk and the memory, i.e.
Information on cumulative operating time and power on/off times is at most 10
The amount is several bytes, and the transfer time is almost within the average disk access time, that is, about 100 m5ec. Moreover, this transfer is performed before the application system is started.

システム動作への影響はないと思われる。また、システ
ム稼動中に累積稼動時間や電源オンオフ回数を表示・印
字する処理はアプリケーションタスクより低優先度のタ
スクによって実現するようにすれば、やはりシステムの
処理速度への影響はほとんど無視できるものと考えられ
る。
There does not appear to be any impact on system operation. Additionally, if the process of displaying and printing the cumulative operating time and power on/off times during system operation is performed by a task with a lower priority than the application task, the effect on system processing speed will be almost negligible. Conceivable.

また、第4図の処理57で示したディスク装置1の電源
をオフする制御は、その稼動時間をなるべく少なくする
ことにより、ディスク装置の使用できる期間つまり寿命
を延長させるために実行している。ところが、一方では
電源オンオフ回数にも寿命としての上限値があるので、
同図処理56で非アクセス時間の制限値は余り短かくし
て電源オンオフ回数をむやみに増加させないように適正
値に設定しておく必要がある。
Further, the control to turn off the power to the disk device 1 shown in process 57 in FIG. 4 is performed in order to extend the usable period of the disk device, that is, the life span, by reducing its operating time as much as possible. However, on the other hand, there is an upper limit to the lifespan of the power on and off, so
In the process 56 of the figure, the limit value of the non-access time must be set to an appropriate value so as not to be too short and unnecessarily increase the number of times the power is turned on and off.

[発明の効果コ 以上のように本発明によれば、ディスク装置が使用され
ないときその電源をオフするので、ディスク装置の寿命
が延長されると共に、ディスク装置の累積稼動時間と電
源オンオフ回数とを算出して表示出力するので、オペレ
ータはディスク装置の余命を判断して、障害になる前に
適切な対策を講じることができるので、システムの信頼
性が向上する。
[Effects of the Invention] As described above, according to the present invention, the power to the disk device is turned off when it is not used, so the life of the disk device is extended, and the cumulative operating time and the number of times the disk device is turned on and off can be reduced. Since it is calculated and displayed, the operator can judge the remaining life of the disk device and take appropriate measures before it becomes a failure, improving the reliability of the system.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例に係るコンピュータシステム
のシステム構成図、第2図はそのシステムのソフトウェ
アの構成図、第3図はデバイスドライバの制御動作を示
すフローチャート、第4図はシステムタスクの制御動作
を示すフローチャート、第5図はシステム初期動作を示
すフローチャートである。 1・・・ディスク装置、2・・・ディスクコントローラ
、3・・・システムパス、4・・・CPU (中央処理
装置)、5・・・電源制御装置、6・・・RAM(ラン
ダム・アクセス・メモリ)7・・・コンソール、8・・
・端末コントローラ、9・・・プリンタ、10・・・プ
リンタインタフェース、11・・・プラントインタフェ
ース。 20・・・アプリケーション部、21〜2N・・・アプ
リケーションタスク、30・・・基本ソフトウェア部、
31・・・オペレーティングシステム、32・・・シス
テムタスク、311・・・ニュークリアス部、312・
・・入出カシステム、313・・・デバイスドライバ。 7・′・・、 代理人 弁理士  紋 1) 誠 □ )ゝ−一′ 第1図 第2図 第3図 第4図
FIG. 1 is a system configuration diagram of a computer system according to an embodiment of the present invention, FIG. 2 is a software configuration diagram of the system, FIG. 3 is a flowchart showing device driver control operations, and FIG. 4 is a system task diagram. FIG. 5 is a flowchart showing the initial operation of the system. DESCRIPTION OF SYMBOLS 1...Disk device, 2...Disk controller, 3...System path, 4...CPU (central processing unit), 5...Power control device, 6...RAM (random access memory) 7...console, 8...
- Terminal controller, 9... Printer, 10... Printer interface, 11... Plant interface. 20...Application section, 21-2N...Application task, 30...Basic software section,
31... Operating system, 32... System task, 311... Nucleus section, 312.
...I/O system, 313...Device driver. 7.'..., Agent Patent Attorney Crest 1) Makoto □ )ゝ-1' Figure 1 Figure 2 Figure 3 Figure 4

Claims (1)

【特許請求の範囲】[Claims] リアルタイムマルチタスクオペレーティングシステムを
基本ソフトウェアとしてアプリケーションプログラムを
実行する中央処理装置と、そのアプリケーションプログ
ラムの実行に伴って必要なデータを入出力するディスク
装置とを有するコンピュータシステムにおいて、前記デ
ィスク装置のディスクアクセス動作実行前にディスク装
置の電源をオンする電源オン手段と、前記ディスクアク
セス動作が一定時間以上休止したことを検知して前記デ
ィスク装置の電源をオフする電源オフ手段と、前記電源
のオン時間の累計を算出する累計稼動時間算出手段と、
前記電源のオンオフ回数を算出する電源オンオフ回数算
出手段と、前記算出したオン時間の累計とオンオフ回数
とを表示する表示出力手段とを前記基本ソフトウェアに
備えていることを特徴とするディスク装置を備えたコン
ピュータシステム。
In a computer system having a central processing unit that executes an application program using a real-time multitasking operating system as basic software, and a disk device that inputs and outputs data necessary for executing the application program, a disk access operation of the disk device is provided. A power-on means for turning on the power of the disk device before execution; a power-off means for turning off the power of the disk device upon detecting that the disk access operation has stopped for a certain period of time; and a cumulative total of the power-on time. a cumulative operating time calculation means for calculating the
A disk device characterized in that the basic software includes a power on/off frequency calculation means for calculating the number of times the power is turned on and off, and a display output means for displaying the calculated total on time and the number of on/off times. computer system.
JP62003123A 1987-01-12 1987-01-12 Computer system provided with disk device Pending JPS63173273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62003123A JPS63173273A (en) 1987-01-12 1987-01-12 Computer system provided with disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62003123A JPS63173273A (en) 1987-01-12 1987-01-12 Computer system provided with disk device

Publications (1)

Publication Number Publication Date
JPS63173273A true JPS63173273A (en) 1988-07-16

Family

ID=11548581

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62003123A Pending JPS63173273A (en) 1987-01-12 1987-01-12 Computer system provided with disk device

Country Status (1)

Country Link
JP (1) JPS63173273A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008052752A (en) * 2007-10-26 2008-03-06 Hitachi Ltd Storage device system
JP2008198141A (en) * 2007-02-15 2008-08-28 Nec Corp Disk array device, and power supply control method and power supply control program for use in disk array device
US7925830B2 (en) 2003-02-17 2011-04-12 Hitachi, Ltd. Storage system for holding a remaining available lifetime of a logical storage region

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925830B2 (en) 2003-02-17 2011-04-12 Hitachi, Ltd. Storage system for holding a remaining available lifetime of a logical storage region
JP2008198141A (en) * 2007-02-15 2008-08-28 Nec Corp Disk array device, and power supply control method and power supply control program for use in disk array device
JP2008052752A (en) * 2007-10-26 2008-03-06 Hitachi Ltd Storage device system

Similar Documents

Publication Publication Date Title
US6467054B1 (en) Self test for storage device
EP0486178A1 (en) Computer device overheating warning system
CN101582046A (en) High-available system state monitoring, forcasting and intelligent management method
JP2003131762A (en) Power source device for information-processing device
JP3720919B2 (en) Method and apparatus for efficiently managing computer system shutdown
CN113377188B (en) Storage server temperature control method, device and equipment
CN113468617A (en) Method, equipment and storage medium for power failure protection of equipment
JPS63173273A (en) Computer system provided with disk device
US5172378A (en) Error detection method and apparatus for processor having main storage
JP2671299B2 (en) Electronic journal control system
JPH06348535A (en) Abnormality generation history storage device
JPH0773076A (en) Trace information collection system
JPH06269066A (en) Fault monitor system for device
CN113778731A (en) Chip, chip exception processing method and device, electronic equipment and storage medium
JPH0962534A (en) Self-diagnostic method for electronic computer
JP6410015B2 (en) Information processing device
JPH0581089A (en) Electronic equipment
JP3060376U (en) Memory device
JPH07272471A (en) Monitoring circuit for operating time of magnetic memory device
JPH0279145A (en) Peripheral controller
JPS62154107A (en) Numerical controller
JPH087063A (en) Memory medium cartridge system
JPH05233474A (en) Storage contents protection system
JPH01205240A (en) Operation starting condition displaying system, computer with operation starting condition displaying function and recording medium
JP3128791B2 (en) FA controller