JPH0895715A - External storage controller and information processor - Google Patents

External storage controller and information processor

Info

Publication number
JPH0895715A
JPH0895715A JP6226549A JP22654994A JPH0895715A JP H0895715 A JPH0895715 A JP H0895715A JP 6226549 A JP6226549 A JP 6226549A JP 22654994 A JP22654994 A JP 22654994A JP H0895715 A JPH0895715 A JP H0895715A
Authority
JP
Japan
Prior art keywords
external storage
data
busy
main system
control device
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
JP6226549A
Other languages
Japanese (ja)
Inventor
Takahiro Amari
隆宏 甘利
Fumio Koyama
文夫 小山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP6226549A priority Critical patent/JPH0895715A/en
Publication of JPH0895715A publication Critical patent/JPH0895715A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To obtain the external storage controller which has a busy state informing means when data stored in the nonvolatile data buffer of a subsystem contains data that should not be erased as a result of power-off operation or when an external storage device is in operation and to prevent a nonvolatile data buffer from being erased by inhibiting the power source from being turned off on receiving busy state information and displaying that on a display device. CONSTITUTION: A main system 60 and the subsystem 62 having a sub-CPU 42, the nonvolatile buffer memory 44 which stores data that should not be erased as a result of power-off operation, etc., the nonvolatile external storage device 48 having a busy output 52, the external storage controller 56 having the busy state informing means 58, etc., are connected through an interface 40; and the main system is prevented from being powered off with a cache busy signal 58.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、例えば、ディスクキャ
ッシュシステム等の情報処理装置に応用される、外部記
憶制御装置およびこれを有する情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external storage control device applied to an information processing device such as a disk cache system and an information processing device having the same.

【0002】[0002]

【従来の技術】図3は、従来技術の一例としての、ディ
スクキャッシュシステムである。
2. Description of the Related Art FIG. 3 shows a disk cache system as an example of prior art.

【0003】メインシステム160は、メインCPU1
20、主メモリ122、I/O装置124、I/O装置
126、システムバス128、LED132、電源13
6等から構成され、データ処理等を行ない、その一動作
として、バスインターフェイス140を介して接続され
たHDD I/Fサブシステム162との間でコマンド
やデータの送受信を行なう。HDD I/Fサブシステ
ム162は、サブCPU142、バッファメモリ14
4、HDDコントローラ146、HDD148、内部バ
ス150、HDDビジー信号152等から構成され、H
DD148からのデータのバッファメモリ144への蓄
積、即ちキャッシュや、メインシステム160からのデ
ータのバッファメモリ144への蓄積、即ちライトバッ
ファリングを行なう。
The main system 160 is a main CPU 1
20, main memory 122, I / O device 124, I / O device 126, system bus 128, LED 132, power supply 13
6 and the like, performs data processing and the like, and as one operation thereof, transmits and receives commands and data to and from the HDD I / F subsystem 162 connected via the bus interface 140. The HDD I / F subsystem 162 includes a sub CPU 142 and a buffer memory 14.
4, HDD controller 146, HDD 148, internal bus 150, HDD busy signal 152, etc.
Data from the DD 148 is stored in the buffer memory 144, that is, cache, and data from the main system 160 is stored in the buffer memory 144, that is, write buffering is performed.

【0004】HDD I/Fサブシステム162は、H
DD148に対するデータのリード動作又はライト動作
中はHDD148よりHDDビジー信号152が出力さ
れメインシステム160に対して動作中を示す。HDD
ビジー信号152はメインシステム160ではLED等
で視覚的等にHDD148が動作中であることを示す。
The HDD I / F subsystem 162 is an H
During the data read operation or the write operation for the DD 148, the HDD busy signal 152 is output from the HDD 148 to indicate the operation to the main system 160. HDD
The busy signal 152 indicates that the HDD 148 is operating visually or by means of an LED or the like in the main system 160.

【0005】[0005]

【発明が解決しようとする課題】例えば、図3のよう
な、ディスクキャッシュシステムにおいて、HDD14
8へのアクセス中ないしは、HDD148に書き込まれ
なければならないデータがバッファメモリ144に存在
するとき、メインシステム160の電源が電源断される
と、HDD148の内容データは、書き込まれるべきデ
ータが書き込まれないために有効なデータを失う等の内
容データの破壊につながる。
For example, in the disk cache system as shown in FIG. 3, the HDD 14
8 is being accessed, or when the data that should be written to the HDD 148 exists in the buffer memory 144 and the main system 160 is powered off, the content data of the HDD 148 is not the data to be written. This leads to the destruction of content data such as loss of valid data.

【0006】HDD148へのアクセス中は、LED1
32の点灯によりアクセス中であることを認識できる
が、誤ってアクセス中に電源断を行った場合等内容デー
タの破壊につながる。
While accessing the HDD 148, the LED 1
It is possible to recognize that the access is being made by turning on 32, but if the power is accidentally turned off during the access, the content data will be destroyed.

【0007】HDD148へのアクセス中は、LED1
32の点灯によりアクセス中であることを認識できる
が、バッファメモリ44に消去しては成らないデータが
存在する場合の認識方法がない。
While accessing the HDD 148, the LED 1
Although it is possible to recognize that the data is being accessed by turning on 32, there is no recognition method when there is data that should not be erased in the buffer memory 44.

【0008】また、電源断を行うには、HDD148に
書き込まれなければならないデータがバッファメモリ1
44に存在するとき、サブCPU142はメインシステ
ム160からの電源断要求を検出し、バッファメモリ1
44の有効データをすべてHDD148に書き込み、そ
の後HDD I/Fサブシステム162はメインシステ
ム160に電源断許可を行う等の複雑な制御および処理
を行わなければならない。
Further, in order to turn off the power, the data which must be written in the HDD 148 is the buffer memory 1
44, the sub CPU 142 detects a power-off request from the main system 160,
All valid data of 44 must be written in the HDD 148, and then the HDD I / F subsystem 162 must perform complicated control and processing such as allowing the main system 160 to turn off the power.

【0009】本発明は、メインシステムが電源断される
ときを問わず、サブシステムにおいてデータの保護が必
要な場合にメインシステムの電源断を禁止する等、有効
なデータを失う等の内容データの破壊につながる動作を
防止することを目的とする。
The present invention prevents the main system from being powered off when data protection is required in the subsystem regardless of when the main system is powered off. The purpose is to prevent actions that lead to destruction.

【0010】[0010]

【課題を解決するための手段】第一のCPUを持つメイ
ンシステムと、第二のCPUと揮発性バッファメモリと
ビジー出力を持つ不揮発性外部記憶装置と第一のメイン
システムに対してビジー告知手段を持つ外部記憶制御装
置とから構成される、前記メインシステムとインターフ
ェースを介してコマンドやデータ等の送受信が可能なサ
ブシステムからなり、前記揮発性バッファメモリに蓄積
されるデータは、電源断等によって消去してはならない
データを包含し、前記サブシステムのビジー告知手段を
持つ外部記憶制御装置は、前記メインシステムに対して
前記揮発性バッファメモリに消去してはならないデータ
が存在するとき、または前記不揮発性外部記憶装置が動
作中のとき、前記メインシステムに対してビジーを告知
することを特徴とする外部記憶制御装置。
A main system having a first CPU, a non-volatile external storage device having a second CPU, a volatile buffer memory, and a busy output, and a busy notifying means for the first main system. And a subsystem capable of transmitting and receiving commands, data, etc. through an interface with the main system, and the data stored in the volatile buffer memory The external storage control device including the data that should not be erased and having the busy notification means of the subsystem, when there is data that should not be erased in the volatile buffer memory for the main system, or When the non-volatile external storage device is in operation, it notifies busy to the main system. That the external storage controller.

【0011】前記記載の外部記憶制御装置であって、前
記記載の外部記憶制御装置のビジー告知を受け、前記バ
ッファメモリに消去しては成らないデータが存在すると
き、または外部記憶装置が動作中のときに電源に対して
電源断禁止を告知することを特徴とする外部記憶制御装
置。
In the above external storage control device, when there is data that should not be erased in the buffer memory due to the busy notification of the external storage control device described above, or the external storage device is operating. An external storage control device, which notifies the power supply of prohibition of power-off at the time of.

【0012】前記記載の外部記憶制御装置であって、前
記記載の外部記憶制御装置のビジー告知を受け、前記バ
ッファメモリに消去しては成らないデータが存在すると
き、または外部記憶装置が動作中のときに表示装置に表
示し、視覚的等に最新の有効なデータが外部記憶装置に
書き戻されていないことを表示することを特徴とする外
部記憶制御装置。
In the above external storage control device, when there is data that should not be erased in the buffer memory due to the busy notification of the external storage control device described above, or the external storage device is operating. The external storage control device is characterized in that it is displayed on the display device at the time of, and that the latest valid data is visually not written back to the external storage device.

【0013】前記記載の外部記憶制御装置であって、前
記記載の外部記憶装置のビジー告知信号を前記記載の不
揮発性外部記憶制御装置のビジー告知信号に置き換える
ことにより、前記記載のメインシステムと前記記載のサ
ブシステムの間のインターフェース信号を外部記憶装置
のインターフェース信号に置き換えられることが可能
で、従来の外部記憶制御装置を装着しないシステムに外
部記憶制御装置を装着できることを特徴とする外部記憶
制御装置。
In the external storage control device described above, the busy notification signal of the external storage device described above is replaced with the busy notification signal of the nonvolatile external storage control device described above, and the main system and the An external storage controller capable of replacing the interface signal between the described subsystems with an interface signal of an external storage device, and being able to mount the external storage controller on a system not equipped with a conventional external storage controller. .

【0014】前記記載の外部記憶制御装置を持つ情報処
理装置。
An information processing device having the above-mentioned external storage control device.

【0015】[0015]

【実施例】図1は、本発明の一実施例に係る情報処理装
置の構成を示すブロック図である。メインCPU20、
主メモリ22、アドレスやデータ及び各種制御信号を含
むシステムバス28、外部等とデータの授受を行なうI
/O装置24、I/O装置26、HDD I/Fサブシ
ステム62のキャッシュ・ビジー信号58よりLED点
灯信号34と電源断禁止信号38を生成する制御装置3
0、LED点灯信号34よりHDD I/Fサブシステ
ム62のキャッシュ・ビジーを視覚的に示すLED3
2、電源断禁止信号38でHDD I/Fサブシステム
62のバッファメモリ44に消去しては成らないデータ
がある時等を認識し電源断禁止を制御できる電源36等
によって構成されるメインシステム60のI/O装置の
1つとして、メインシステム60にとっての外部記憶か
つデータのキャッシングを行なうサブシステムとしてH
DD I/Fサブシステム62が存在し、メインシステ
ム60と外部記憶装置HDD48の間のデータ転送をサ
ポートする。HDD I/Fサブシステム62は、メイ
ンシステム60と命令やデータの授受をバスインターフ
ェイス40を介して行ない、メインシステム60からの
動作要求に従いHDD48をアクセスしたり、HDD4
8のデータをキャッシング制御するサブCPU42、H
DD48からのキャッシュデータやメインシステム60
からHDD48へ書き込まれるライトデータを一時記憶
するバッファメモリ44、サブCPU42からHDD4
8へのコマンドの受け渡し等を行なうHDDコントロー
ラ46、外部記憶装置HDD48、アドレスやデータ及
び各種制御信号を含む内部バス50、HDD48の動作
中を示すHDDビジー信号52、キャッシュ・ビジー制
御装置56から構成される。その主な働きは、メインシ
ステム60の要求に従いHDD48を制御することの他
に、メインシステム60のリードまたはライト動作の場
合、外部記憶装置HDD48より揮発性バッファメモリ
44から読み込むまたは揮発性バッファ44へ書き込む
ほうが時間的に早いことを利用し、ディスクキャッシュ
システムとして、HDD48からのリードデータのキャ
ッシング、メインシステム60からHDD48へのライ
トデータのバッファリング等の制御を行ない、システム
としてのHDD48に対するリードまたはライトデータ
の高速処理を実現したものである。
1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention. Main CPU 20,
Main memory 22, system bus 28 including address and data and various control signals, and data exchange with the outside I
Controller 3 that generates an LED lighting signal 34 and a power-off prohibition signal 38 from a cache busy signal 58 of the I / O device 24, the I / O device 26, and the HDD I / F subsystem 62.
0, LED3 which visually indicates the cache busy of HDD I / F subsystem 62 from LED lighting signal 34
2. The main system 60 configured by the power supply 36 and the like that can recognize the power-off prohibition signal 38 and the data that cannot be erased in the buffer memory 44 of the HDD I / F subsystem 62 and control the power-off prohibition As one of the I / O devices of the main system 60, as an external storage for the main system 60 and a subsystem for performing data caching.
A DD I / F subsystem 62 exists and supports data transfer between the main system 60 and the external storage device HDD 48. The HDD I / F subsystem 62 exchanges commands and data with the main system 60 via the bus interface 40, accesses the HDD 48 in accordance with an operation request from the main system 60, and the HDD 4
Sub CPU 42, H for controlling the caching of 8 data
Cache data from DD48 and main system 60
Buffer memory 44 for temporarily storing the write data to be written from the HDD 48 to the HDD 48, the sub CPU 42 to the HDD 4
8, an HDD controller 46 for passing commands to the HDD, an external storage device HDD 48, an internal bus 50 including addresses, data and various control signals, an HDD busy signal 52 indicating that the HDD 48 is operating, and a cache / busy controller 56. To be done. Its main function is to control the HDD 48 in accordance with a request from the main system 60, and in the case of a read or write operation of the main system 60, read from the volatile buffer memory 44 from the external storage device HDD 48 or to the volatile buffer 44. By utilizing the fact that writing is faster in time, the disk cache system controls caching of read data from the HDD 48, buffering of write data from the main system 60 to the HDD 48, and reading or writing to the HDD 48 as a system. It realizes high-speed data processing.

【0016】メインシステム60からHDD48への最
新のライトデータは、ライトコマンドによりバッファメ
モリ44にバッファリングされライトコマンドを終了
し、ライトコマンド終了後バスインターフェイス40で
メインシステム60とHDDI/Fサブシステム62を
切り離し、サブCPU42によってバッファメモリ44
よりHDDコントローラ46を介してHDD48にライ
トされる。メインシステム60に電源36があり、HD
D I/Fサブシステム62の電源はメインシステム6
0より供給されている場合、最新のライトデータが揮発
性のバッファメモリ44に存在するとき、メインシステ
ム60の電源36を電源断すると、バッファメモリ44
の最新のデータは外部記憶HDD48に書き戻されるこ
となく消去されてしまう。そのため、サブCPU42は
バッファメモリ44にメインシステム60から最新のラ
イトデータが書き込まれるとキャッシュ・ビジー信号5
8をアサートし制御装置56より発生させ、メインシス
テム60に最新の有効データがバッファメモリ44に存
在することを告知し、メインシステム60からHDD
I/Fサブシステム62へのライトコマンド終了後、バ
ッファメモリ44にライトバッファリングされたデータ
をHDDコントローラ46を介して外部記憶装置HDD
48に書き戻す。最新の有効データがライトバッファに
存在しない、かつHDD48に対するアクセスがビジー
状態でない場合キャッシュ・ビジー信号58はネゲート
する。最新の有効データがバッファメモリ44に存在す
ることをキャッシュ・ビジー信号58で告知されたメイ
ンシステム60の制御装置30は、電源断禁止信号38
をアサートし電源36に電源断を禁止し有効データを失
うなどの内容データの破壊につながる動作を防止し、L
ED点灯信号34をアサートしLED32を点灯し揮発
性データバッファのデータ保護が必要な場合等を視覚的
に示す。
The latest write data from the main system 60 to the HDD 48 is buffered by the write command in the buffer memory 44 to end the write command, and after the write command is completed, the main system 60 and the HDD I / F subsystem 62 by the bus interface 40. And the buffer memory 44 is separated by the sub CPU 42.
It is written to the HDD 48 via the HDD controller 46. Main system 60 has power supply 36, HD
The power supply of the D I / F subsystem 62 is the main system 6
If it is supplied from 0, when the latest write data exists in the volatile buffer memory 44 and the power supply 36 of the main system 60 is turned off, the buffer memory 44
The latest data of is deleted without being written back to the external storage HDD 48. Therefore, when the latest write data is written from the main system 60 to the buffer memory 44, the sub CPU 42 will receive the cache busy signal 5
8 is asserted and generated by the control device 56, the main system 60 is informed that the latest valid data exists in the buffer memory 44, and the main system 60 sends the HDD
After the write command to the I / F subsystem 62 is completed, the data buffered in the buffer memory 44 is transferred to the external storage device HDD via the HDD controller 46.
Write back to 48. If the latest valid data does not exist in the write buffer and the access to the HDD 48 is not busy, the cache busy signal 58 is negated. The controller 30 of the main system 60, which is notified by the cache busy signal 58 that the latest valid data exists in the buffer memory 44, receives the power-off prohibition signal 38.
Is asserted to prevent power-off of the power supply 36 and prevent operations such as loss of valid data leading to destruction of content data.
The case where data protection of the volatile data buffer is required is visually shown by asserting the ED lighting signal 34 and lighting the LED 32.

【0017】図2は、図1の実施例における制御装置3
0及び制御装置56の詳細な構成を示す回路ブロック図
である。メインシステム60からHDD I/Fサブシ
ステム62へのデータライトのとき、キャッシュビジー
制御装置56はサブCPU42がバスインタフェーイス
40を監視していてライトデータコマンドを検出する
と、最新の有効データを揮発性バッファメモリ44に書
き込む時に、アサート時”L”のライト・バッファ・ビ
ジー・フラグ・フリップフロップ70を、ライト・バッ
ファ・ビジー・フラグ・フリップフロップのデータ信号
としてデータ・バス信号72、を”L”にしてライト・
バッファ・ビジー・フラグ・フリップフロップのライト
信号74を”HLH”として、RESET時”H”でア
サート時”L”ネゲート時”H”のライト・バッファ・
ビジー信号76をアサートし、ライト・バッファ・ビジ
ー信号とHDDビジー信号52はアサート時”L”の信
号でAND78を介してアサート時”L”のキャッシュ
・ビジー信号58を発生し最新の有効データが揮発性バ
ッファメモリ44に存在しているとき、またはHDD4
8に対するアクセスがビジーであるときキャッシュ・ビ
ジー信号58をアサート時”L”にてメインシステム6
0の制御装置30に告知する。サブCPU42はライト
・バッファ・ビジー・フラグ・フリップフロップをアサ
ートした後、揮発性バッファメモリ44に対してメイン
システム60よりデータライト動作を行わせ、バスイン
タフェーイス40を監視していてメインシステム60か
らの一連のデータライトコマンド終了後一定時間内にデ
ータライトコマンドが発生しないと、バスインターフェ
イス40をメインシステム60より切り離し、揮発性バ
ッファメモリ44に書き込まれた最新の有効データをH
DDコントローラ46と内部バス54を介して不揮発性
外部記憶装置HDD48に書き込み、揮発性バッファメ
モリ44の最新の有効データは不揮発性外部記憶装置H
DD48にも存在するため、ライト・バッファ・ビジー
・フラグ・フリップフロップ70は、ライト・バッファ
・ビジー・フラグ・フリップフロップのデータ信号とし
てデータ・バス72を”H”にしてライト・バッファ・
ビジー・フラグ・フリップフロップのライト信号74
を”HLH”として、ライト・バッファ・ビジー信号7
6をネゲートする。キャッシュ・ビジー信号58より最
新の有効データがバッファメモリ44に存在していると
き、またはHDD48に対するアクセスがビジーである
ときを告知された制御装置30は電源36に対してアサ
ート時”L”の電源断禁止信号38をアサートして電源
36に対して電源断を禁止し、LED32に対してアサ
ート時”L”のLED点灯信号34をアサートして揮発
性データバッファのデータ保護が必要な場合等を視覚的
に示す。電源36は、電源断禁止信号38がアサートさ
れ電源断禁止を告知されているときは、電源断操作を行
っても電源断動作を行わず、電源断禁止信号38がネゲ
ートされ電源断許可を告知されているときに電源断動作
を行う。
FIG. 2 shows the control device 3 in the embodiment of FIG.
3 is a circuit block diagram showing a detailed configuration of 0 and a control device 56. FIG. When data is written from the main system 60 to the HDD I / F subsystem 62, the cache busy controller 56, when the sub CPU 42 monitors the bus interface 40 and detects a write data command, volatiles the latest valid data. When writing to the buffer memory 44, the write buffer busy flag flip-flop 70 which is "L" at the time of assertion and the data bus signal 72 which is the data signal of the write buffer busy flag flip-flop are "L". Then light
When the write signal 74 of the buffer busy flag flip-flop is set to "HLH", the write buffer is set to "H" at RESET, "L" when asserted, and "H" when negated.
The busy signal 76 is asserted, and the write buffer busy signal and the HDD busy signal 52 are "L" signals when asserted, and the cache busy signal 58 of "L" is generated at the time of assertion via the AND 78, and the latest valid data is generated. When it exists in the volatile buffer memory 44, or the HDD 4
When the access to 8 is busy, the cache busy signal 58 is asserted, and the main system 6 is set to "L".
Notify the control device 30 of 0. After asserting the write buffer busy flag flip-flop, the sub CPU 42 causes the volatile buffer memory 44 to perform a data write operation from the main system 60, and monitors the bus interface 40 from the main system 60. If a data write command does not occur within a fixed time after the completion of the series of data write commands, the bus interface 40 is disconnected from the main system 60, and the latest valid data written in the volatile buffer memory 44 is set to H level.
The latest valid data in the volatile buffer memory 44 is written in the nonvolatile external storage device HDD 48 via the DD controller 46 and the internal bus 54, and the latest valid data is stored in the nonvolatile external storage device H.
Since the write buffer busy flag flip-flop 70 is also present in the DD 48, the write buffer busy flag flip-flop 70 sets the data bus 72 to "H" as the data signal of the write buffer busy flag flip-flop, and the write buffer
Busy flag flip-flop write signal 74
Is set to "HLH" and the write buffer busy signal 7
Negate 6. When the latest valid data from the cache busy signal 58 exists in the buffer memory 44, or when the access to the HDD 48 is busy, the control device 30 is notified to the power supply 36 that the power supply 36 is "L". When the disconnection prohibition signal 38 is asserted to prohibit the power supply from being cut off to the power supply 36, and when the LED 32 is asserted, the "L" LED lighting signal 34 is asserted to protect the volatile data buffer. Show visually. When the power-off prohibition signal 38 is asserted and the power-off prohibition is notified, the power supply 36 does not perform the power-off operation even if the power-off operation is performed, and the power-off prohibition signal 38 is negated to notify the power-off permission. Power off operation is performed when the

【0018】メインシステム60がリード動作を行う場
合は、もしリードするべきデータがバッファメモリ44
に存在するときは、バッファメモリ44に存在するデー
タを読み込み、リードするべきデータがバッファメモリ
44に存在しなければ、外部記憶装置HDD48より内
部バス54とHDDコントローラ46を介してバッファ
メモリ44に書き込むと同時に、バスインターフェイス
40を介してメインシステム60に読み込まれる。この
ときは、最新の有効データはHDD48に存在している
ためライト・バッファ・ビジー・フラグ70はアサート
されず、HDD48が動作中を示すHDDビジー信号5
2がアサートされたときキャッシュ・ビジー信号58は
アサートされる。
When the main system 60 performs the read operation, if the data to be read is the buffer memory 44.
If the data to be read does not exist in the buffer memory 44, the external storage device HDD 48 writes the data in the buffer memory 44 via the internal bus 54 and the HDD controller 46. At the same time, it is read into the main system 60 via the bus interface 40. At this time, since the latest valid data exists in the HDD 48, the write buffer busy flag 70 is not asserted, and the HDD busy signal 5 indicating that the HDD 48 is operating
The cache busy signal 58 is asserted when 2 is asserted.

【0019】また外部記憶制御装置の出力するキャッシ
ュ・ビジー信号58を外部記憶制御装置のHDDビジー
出力信号52に置き換えることによりバスインターフェ
イス40の信号端子は外部記憶装置の内部バス54の信
号端子に置き換えられ、本実施例の外部記憶制御装置が
ない従来のHDDインタフェース、すなわち、従来から
あるHDD制御信号をそのまま使用して、本外部記憶制
御装置を接続できることができる。具体的には、図1に
おいて、HDDビジー出力信号52と同等の信号が内部
バス54、内部バス50を介して、バスインターフェー
ス40からメインシステム60に出力されている。この
HDDビジー信号と同等の信号は図3の従来例のインタ
フェース140にも出力されている。よってバスインタ
ーフェース40上のHDDビジー出力信号に、ライト・
バッファ・ビジー信号76を図2と同様に接続すれば、
従来と互換性のあるHDDインタフェースを使用しなが
ら、バッファメモリ44を制御することができる。
By replacing the cache busy signal 58 output from the external storage controller with the HDD busy output signal 52 from the external storage controller, the signal terminal of the bus interface 40 is replaced with the signal terminal of the internal bus 54 of the external storage device. Therefore, the conventional HDD interface without the external storage controller of this embodiment, that is, the conventional HDD control signal can be used as it is to connect the external storage controller. Specifically, in FIG. 1, a signal equivalent to the HDD busy output signal 52 is output from the bus interface 40 to the main system 60 via the internal bus 54 and the internal bus 50. A signal equivalent to this HDD busy signal is also output to the conventional interface 140 of FIG. Therefore, write to the HDD busy output signal on the bus interface 40
If the buffer busy signal 76 is connected in the same manner as in FIG.
The buffer memory 44 can be controlled while using the HDD interface compatible with the conventional one.

【0020】なお、本実施例においては電源がメインシ
ステムにしかない場合、すなわちサブシステムの電力は
メインシステムより供給されるが、それぞれ独立の電源
をメインシステムとサブシステムに持っていてもよく、
どちらか一方に持っていてもよい。また外部記憶装置と
してHDDにて実施例を示したが、フロッピーディスク
ドライブ、光磁気記憶装置等の外部記憶装置も該当す
る。LEDにて表示手段を示したが、ブザーやモニター
表示装置等の表示装置も該当し、本実施例ではLED等
の表示手段はメインシステムにしかない場合だが、それ
ぞれ独立の表示装置をメインシステムとサブシステムに
持ってもよく、どちらか一方に持っていてもよい。
In this embodiment, if the main system only has a power source, that is, the power of the subsystem is supplied from the main system, the main system and the subsystem may have independent power sources,
You may have one of them. Although the HDD is used as the external storage device in the embodiment, an external storage device such as a floppy disk drive or a magneto-optical storage device is also applicable. Although the display means is shown by the LED, a display device such as a buzzer or a monitor display device is also applicable, and although the display means such as the LED is only provided in the main system in this embodiment, an independent display device is provided for each of the main system and the sub system. You may have it in the system or in either one.

【0021】以上説明したように本実施例によれば、メ
インシステムが電源断されるときを問わず、サブシステ
ムの揮発性データバッファのデータの保護が必要な場合
に、サブシステムよりキャッシュ・ビジーを告知し、ビ
ジー告知を受けた電源は電源断を禁止して、有効なデー
タを失う等の内容データの破壊につながる動作を防止
し、また、揮発性データバッファのデータ保護が必要な
場合を視覚的等に示すことを容易に実現する。
As described above, according to this embodiment, when the data in the volatile data buffer of the subsystem needs to be protected regardless of the power-off of the main system, the cache busy from the subsystem is performed. When a power supply receives a busy notification, it prohibits power-off to prevent operations that lead to the destruction of contents data such as loss of valid data, and when data protection of the volatile data buffer is required. It is possible to easily show things visually.

【0022】[0022]

【発明の効果】本発明は、メインシステムが電源断され
るときを問わず、サブシステムの揮発性データバッファ
のデータの保護が必要な場合等に、サブシステムの外部
記憶制御装置でビジー告知を行うことにより、電源断を
禁止したり、有効なデータを失う等の内容データの破壊
につながる動作を防止し、また、揮発性データバッファ
のデータ保護が必要な場合等を視覚的等に示すことを実
現する。また、外部記憶装置のビジー告知出力を外部記
憶制御装置のビジー告知出力に置き換えることにより、
従来の外部記憶装置インタフェースを持つシステムに容
易に本外部記憶制御装置を装着できる。
As described above, the present invention provides a busy notification by the external storage control device of the subsystem when it is necessary to protect the data in the volatile data buffer of the subsystem regardless of the power-off of the main system. By doing so, prohibit operations that lead to the destruction of the contents data such as prohibiting power-off or loss of valid data, and visually indicating when data protection of the volatile data buffer is required, etc. To realize. Also, by replacing the busy notification output of the external storage device with the busy notification output of the external storage control device,
This external storage control device can be easily installed in a system having a conventional external storage device interface.

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

【図1】本発明の一実施例に係る情報処理装置の構成を
示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an information processing apparatus according to an embodiment of the present invention.

【図2】図1の実施例における制御装置30及び制御装
置56の詳細な構成を示す回路ブロック図。
FIG. 2 is a circuit block diagram showing a detailed configuration of a control device 30 and a control device 56 in the embodiment of FIG.

【図3】本発明の一実施例に関係する従来の情報処理装
置の構成を示すブロック図。
FIG. 3 is a block diagram showing a configuration of a conventional information processing apparatus related to one embodiment of the present invention.

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

20−メインCPU 22−主メモリ 24−I/O装置 26−I/O装置 28−システムバス 30−制御装置 32−LED 34−LED点灯信号 36−電源 38−電源断禁止信号 40−バスインターフェイス 42−サブCPU 44−バッファメモリ 46−HDDコントローラ 48−HDD 50−内部バス 52−HDDビジー信号 54−内部バス 56−制御装置 58−キャッシュ・ビジー信号 60−メインシステム 62−HDD I/Fサブシステム 70−ライト・バッファ・ビジー・フラグ 72−データ・バス信号 74−ライト信号 76−ライト・バッファ・ビジー信号 78−AND 80−バッファ 82−バッファ 120−メインCPU 122−主メモリ 124−I/O装置 126−I/O装置 128−システムバス 132−LED 136−電源 140−バスインターフェイス 142−サブCPU 144−バッファメモリ 146−HDDコントローラ 148−HDD 150−内部バス 152−HDDビジー信号 154−内部バス 160−メインシステム 162−HDD I/Fサブシステム 20-main CPU 22-main memory 24-I / O device 26-I / O device 28-system bus 30-control device 32-LED 34-LED lighting signal 36-power supply 38-power-off prohibition signal 40-bus interface 42 -Sub CPU 44-Buffer memory 46-HDD controller 48-HDD 50-Internal bus 52-HDD busy signal 54-Internal bus 56-Control device 58-Cache busy signal 60-Main system 62-HDD I / F subsystem 70 -Write buffer busy flag 72-Data bus signal 74-Write signal 76-Write buffer busy signal 78-AND 80-Buffer 82-Buffer 120-Main CPU 122-Main memory 124-I / O device 126 -I / O device 128-System bus 1 2-LED 136- power 140- bus interface 142 - sub CPU 144-buffer memory 146-HDD controller 148-HDD 150- internal bus 152-HDD busy signal 154- internal bus 160- main system 162-HDD I / F subsystem

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】第一のCPUを持つメインシステムと、第
二のCPUと揮発性バッファメモリとビジー出力を持つ
不揮発性外部記憶装置と第一のメインシステムに対して
ビジー告知手段を持つ外部記憶制御装置とから構成され
る、前記メインシステムとインターフェースを介してコ
マンドやデータ等の送受信が可能なサブシステムからな
り、 前記揮発性バッファメモリに蓄積されるデータは、電源
断等によって消去してはならないデータを包含し、 前記サブシステムのビジー告知手段を持つ外部記憶制御
装置は、前記揮発性バッファメモリに消去してはならな
いデータが存在するとき、または前記不揮発性外部記憶
装置が動作中のとき、前記メインシステムに対してビジ
ーを告知することを特徴とする外部記憶制御装置。
1. A main system having a first CPU, a non-volatile external storage device having a second CPU, a volatile buffer memory and a busy output, and an external storage having a busy notification means for the first main system. It is composed of a subsystem that is capable of transmitting and receiving commands, data, etc. through an interface with the main system, which is composed of a control device, and the data accumulated in the volatile buffer memory should not be erased by power-off or the like. The external storage control device including the data that cannot be erased and having the busy notification means of the subsystem, when there is data that should not be erased in the volatile buffer memory, or when the nonvolatile external storage device is operating. An external storage control device, which notifies the main system of busy.
【請求項2】請求項1にて記載の外部記憶制御装置であ
って、前記記載の外部記憶制御装置のビジー告知を受
け、前記バッファメモリに消去しては成らないデータが
存在するとき、または外部記憶装置が動作中のときに電
源に対して電源断禁止を告知することを特徴とする外部
記憶制御装置。
2. The external storage control device according to claim 1, wherein when there is busy notification of the external storage control device described above, and there is data that should not be erased in the buffer memory, or An external storage control device, which notifies the power supply to prohibit power-off when the external storage device is in operation.
【請求項3】請求項1にて記載の外部記憶制御装置であ
って、前記記載の外部記憶制御装置のビジー告知を受
け、前記バッファメモリに消去しては成らないデータが
存在するとき、または外部記憶装置が動作中のときに表
示装置に表示し、視覚的等に最新の有効なデータが外部
記憶装置に書き戻されていないことを表示することを特
徴とする外部記憶制御装置。
3. The external storage control device according to claim 1, when a busy notification of the external storage control device described above is received, and there is data that should not be erased in the buffer memory, or An external storage control device, which displays on the display device when the external storage device is in operation, and visually indicates that the latest valid data has not been written back to the external storage device.
【請求項4】請求項1にて記載の外部記憶制御装置であ
って、前記記載の外部記憶装置のビジー告知信号を前記
記載の不揮発性外部記憶制御装置のビジー告知信号に置
き換えて出力をすることを特徴とする外部記憶制御装
置。
4. The external storage control device according to claim 1, wherein the busy notification signal of the external storage device is replaced with the busy notification signal of the nonvolatile external storage control device for output. An external storage control device characterized by the above.
【請求項5】第一のCPUを持つメインシステムと、第
二のCPUと揮発性バッファメモリとビジー出力を持つ
不揮発性外部記憶装置と第一のメインシステムに対して
ビジー告知手段を持つ外部記憶制御装置とから構成され
る、前記メインシステムとインターフェースを介してコ
マンドやデータ等の送受信が可能なサブシステムからな
り、 前記揮発性バッファメモリに蓄積されるデータは、電源
断等によって消去してはならないデータを包含し、 前記サブシステムのビジー告知手段を持つ外部記憶制御
装置は、前記揮発性バッファメモリに消去してはならな
いデータが存在するとき、または前記不揮発性外部記憶
装置が動作中のとき、前記メインシステムに対してビジ
ーを告知することを特徴とする外部記憶制御装置を有し
てなる情報処理装置。
5. A main system having a first CPU, a non-volatile external storage device having a second CPU, a volatile buffer memory and a busy output, and an external storage having a busy notification means for the first main system. It is composed of a subsystem that is capable of transmitting and receiving commands, data, etc. through an interface with the main system, which is composed of a control device, and the data accumulated in the volatile buffer memory should not be erased by power-off or the like. The external storage control device including the data that cannot be erased and having the busy notification means of the subsystem, when there is data that should not be erased in the volatile buffer memory, or when the nonvolatile external storage device is operating. , Information processing comprising an external storage controller characterized by notifying the main system of busy Location.
JP6226549A 1994-09-21 1994-09-21 External storage controller and information processor Pending JPH0895715A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6226549A JPH0895715A (en) 1994-09-21 1994-09-21 External storage controller and information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6226549A JPH0895715A (en) 1994-09-21 1994-09-21 External storage controller and information processor

Publications (1)

Publication Number Publication Date
JPH0895715A true JPH0895715A (en) 1996-04-12

Family

ID=16846902

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6226549A Pending JPH0895715A (en) 1994-09-21 1994-09-21 External storage controller and information processor

Country Status (1)

Country Link
JP (1) JPH0895715A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006049224A1 (en) * 2004-11-08 2006-05-11 Matsushita Electric Industrial Co., Ltd. Secure device and relay terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006049224A1 (en) * 2004-11-08 2006-05-11 Matsushita Electric Industrial Co., Ltd. Secure device and relay terminal
JP2006155589A (en) * 2004-11-08 2006-06-15 Matsushita Electric Ind Co Ltd Secure device and relay terminal
US8184810B2 (en) 2004-11-08 2012-05-22 Panasonic Corporation Secure device and relay terminal

Similar Documents

Publication Publication Date Title
US9235526B2 (en) Non-volatile hard disk drive cache system and method
JP3857661B2 (en) Information processing apparatus, program, and recording medium
JPH09237225A (en) Computer having cache function and method for controlling cache memory
KR920000040A (en) Play data with copy-back data cache
US5408636A (en) System for flushing first and second caches upon detection of a write operation to write protected areas
JP3519954B2 (en) Chip enable signal generation circuit and memory device
JPH0528039A (en) Storage device
KR920004990A (en) Data transmission control method of peripheral data processing subsystem connecting high speed channel to low speed peripheral memory device and apparatus therefor
US20110167203A1 (en) Method and apparatus for cache control in a data storage device
JP2012053572A (en) Information processing unit and cache control method
TW200402619A (en) Method to reduce power in a computer system with bus master devices
JPH0895715A (en) External storage controller and information processor
US20060250741A1 (en) System and method for safe removal of a removable device from a digital appliance
KR20070032573A (en) Computer using flash memory of hard disk drive as main ? video memory
JP2003216506A (en) Storage device with flash memory and computer
CN113253911A (en) Storage system and input/output control method
JP2001318832A (en) Disk cache control system
US6119197A (en) Method for providing and operating upgradeable cache circuitry
JPH09319644A (en) Information processor
JPH06149483A (en) Computer system
JPH0448358A (en) Cache memory control system
JPH10254781A (en) Auxiliary storage device
JP3125634B2 (en) Electronic computer system
JPH0239342A (en) Memory ensuring system for ram disk
KR200193638Y1 (en) Apparatus for data storage in switching system