JPS63147219A - Semiconductor disk device - Google Patents

Semiconductor disk device

Info

Publication number
JPS63147219A
JPS63147219A JP29550986A JP29550986A JPS63147219A JP S63147219 A JPS63147219 A JP S63147219A JP 29550986 A JP29550986 A JP 29550986A JP 29550986 A JP29550986 A JP 29550986A JP S63147219 A JPS63147219 A JP S63147219A
Authority
JP
Japan
Prior art keywords
access
cylinder
semiconductor disk
systems
control table
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
JP29550986A
Other languages
Japanese (ja)
Inventor
Shoichi Murano
村野 正一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP29550986A priority Critical patent/JPS63147219A/en
Publication of JPS63147219A publication Critical patent/JPS63147219A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To surely secure the access chance to those accessess given from other system including a system of the host device having inferior performance, by inhibiting the accesses given from other system at a time point when an access-free state is detected. CONSTITUTION:The semiconductor disk control devices DIR0-DIRn count the answer frequencies of access request retrials against an access command via a count means 1 and receive information on an access-free state from an access control means 12 when the count value of the means 1 exceeds a prescribed level. Then an interruption control table 12b of the means 12 is read out and an access inhibiting means 2 inhibits the accesses to a relevant access cylinder from other systems at a detecting time point. In this case, the data on the cylinder contained in an access control table 12a is rewritten and a semicondutor memory 11 is locked.

Description

【発明の詳細な説明】 〔概要〕 本発明は、多種類の系がら同一データへアクセス要求が
重なるケースが発生し易い半導体ディスク装置において
、同一アクセス要求を所定数計数してアクセスのフリー
を検出したときにアクセスを許可しない系以外の他系か
らのアクセスを抑止することにより、応答速度の遅い系
もその他の系と同等に確実にアクセスが行える技術を開
示するものである。
[Detailed Description of the Invention] [Summary] The present invention detects free access by counting a predetermined number of identical access requests in a semiconductor disk device in which cases in which access requests to the same data are likely to overlap among many types of systems occur. The present invention discloses a technique that allows systems with slow response speeds to access as reliably as other systems by inhibiting access from systems other than systems that do not permit access.

〔産業上の利用分野〕[Industrial application field]

本発明は、複数の系からアクセス可能な半導体ディスク
装置に関し、特に、性能の劣る上位装置を有する系も他
の系と同等に確実にアクセスが行える半導体ディスク装
置に関する。
The present invention relates to a semiconductor disk device that can be accessed from a plurality of systems, and more particularly to a semiconductor disk device that can be accessed as reliably even by a system having a higher-level device with inferior performance as other systems.

〔従来の技術〕[Conventional technology]

近年、フロッピーディスクとドライブユニット等の機械
式アクセスの記憶方式に代わって、大容量半導体メモリ
ーボードのバンク切り換えをソフトウェアで行う半導体
ディスクシステムが急速に普及しつつある。このシステ
ムは、言わば電子式のディスク方式であって、当然のこ
とながらフロッピーディスクのような従来の機械式のア
クセス操作と比較して、データの読み書き、応答速度が
格段に速く、記録されるデータはアクセス頻度の高いも
のとなる。従って、多数の系から同じデータへアクセス
する可能性も大きい。その際、接続される上位装置の性
能に差があると、性能の劣る方の上位装置のアクセスは
失敗する事態が多(なる。それ故に、性能の劣る方の上
位装置は、半導体ディスクに接続したにもかかわらず、
処理能力のアップが望めなくなる。このため、上位装置
の性能差に関係なくアクセスが同等に行える制御方式が
必要とされる。
In recent years, instead of mechanically accessed storage systems such as floppy disks and drive units, semiconductor disk systems in which banks of large-capacity semiconductor memory boards are switched using software are rapidly becoming popular. This system is, so to speak, an electronic disk system, and as a matter of course, compared to conventional mechanical access operations such as floppy disks, the data read/write and response speeds are much faster, and the recorded data is much faster. are frequently accessed. Therefore, there is a high possibility that the same data will be accessed from multiple systems. At this time, if there is a difference in the performance of the connected higher-level devices, access by the higher-level device with lower performance will often fail. Therefore, the higher-level device with lower performance will Despite that,
It becomes impossible to expect an increase in processing capacity. Therefore, there is a need for a control method that allows access to be performed equally regardless of differences in the performance of higher-level devices.

第4図は、半導体ディスク装置の一般的な構成を示すブ
ロック図である。第4図において、半導体ディスク装置
は、各基の上位装置に接続される半導体ディスク制御装
置DIRO−DIR3と、半導体メモリ41及びそのア
クセス制御手段42と、それらと前記各制御装置DIR
O−DIR3とを接続する入出力ボートI/FO〜T/
F3とから成る。アクセス制御手段42は、第5図(a
)に示す如き半導体メモリ41の各シリンダへのアクセ
ス制御テーブル42aと、第5図(b)に示す如き半導
体メモリ41の各シリンダ毎の割り込み制御テーブル4
2bとを備えている。
FIG. 4 is a block diagram showing the general configuration of a semiconductor disk device. In FIG. 4, the semiconductor disk device includes a semiconductor disk control device DIRO-DIR3 connected to each host device, a semiconductor memory 41 and its access control means 42, and each of the control devices DIR
Input/output boat I/FO~T/ that connects with O-DIR3
It consists of F3. The access control means 42 is configured as shown in FIG.
) and an interrupt control table 4 for each cylinder of the semiconductor memory 41 as shown in FIG. 5(b).
2b.

ここで、例えば第1の半導体ディスク制御装置DIRO
に、上位装置から半導体メモリ41へのアクセスコマン
ドが発行されると、その制御装置DIROはアクセス制
御テーブル42aを検索し、アクセスしようとしている
シリンダへ他系からのアクセスが来ていないかチェック
して、アクセス状態でなければ、そのテーブルを書き替
え、他系からのアクセスを抑止する。これで、その半導
体ディスク制御装置DIROは目指すシリンダへのアク
セスが可能になる。目指すシリンダが使用中であれば、
前記割り込み制御テーブル42bに、制御装置DIRO
を登録し、自己の上位装置にはコマンド再試行のステー
タスを送り返す。
Here, for example, the first semiconductor disk control device DIRO
When an access command to the semiconductor memory 41 is issued from the host device, the control device DIRO searches the access control table 42a and checks whether the cylinder to be accessed has been accessed from another system. , if it is not in the access state, the table is rewritten and access from other systems is inhibited. This allows the semiconductor disk controller DIRO to access the target cylinder. If the target cylinder is in use,
In the interrupt control table 42b, the control device DIRO
and sends back the command retry status to its own higher-level device.

半導体ディスク制御装置DIROは、アクモス終了後、
アクセス制御テーブル42aを書き直して、そのシリン
ダのアクセスをフリーにする。このとき、同時に前記割
り込み制御テーブル42bも読んで、そのシリンダへ他
系からのアクセス登録が行われたかをチェックし、例え
ば第4の半導体ディスク制御装ffDIR3からアクセ
スが来ていたら、シリンダがフリーになった通知情報を
書き込むことにより、その制御装置DIR3へ割り込み
を発行させる。割り込みを受けた当該半導体ディスク制
御装置DIR3は、割り込み制御テーブル42bを読ん
で、シリンダがフリーになった通知情報を検出すると、
自己の上位装置へその情報を伝え、上位装置から再びア
クセスコマンドが発行されるのを待ち、アクセスコマン
ドが発行されると、半導体ディスク装置へアクセスを行
う。
After the completion of Akmos, the semiconductor disk control device DIRO
The access control table 42a is rewritten to free access to that cylinder. At this time, the interrupt control table 42b is also read to check whether access registration has been made to that cylinder from another system. For example, if an access has come from the fourth semiconductor disk control device ffDIR3, the cylinder becomes free. By writing the notification information that has changed, the control device DIR3 is caused to issue an interrupt. When the semiconductor disk control device DIR3 that received the interrupt reads the interrupt control table 42b and detects notification information that the cylinder has become free,
It transmits the information to its host device, waits for the host device to issue an access command again, and when the access command is issued, accesses the semiconductor disk device.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来の技術では、複数の上位装置の系から同一のシリン
ダへアクセスが重なった場合には、アクセスを許可しな
い系の上位装置へアクセスコマンド再試行のステータス
を報告し、アクセスシリンダがフリーになったことを検
出すると、上位装置へ割り込みを上げ、再びアクセスコ
マンドが発行されるのを待つ。このとき、その上位装置
の性能が他系より劣っていると、再びアクセスコマンド
が発行されて半導体ディスク装置をアクセスしたとして
も、他系のアクセスの方が早く、その上位装置へはもう
一度コマント再試行のステータスを返すことになり、性
能が劣る上位装置の処理は少しも進まないことになる。
In conventional technology, when multiple accesses to the same cylinder occur from multiple host systems, the access command retry status is reported to the host system that does not permit access, and the access cylinder becomes free. When it detects this, it issues an interrupt to the host device and waits for the access command to be issued again. At this time, if the performance of the higher-level device is inferior to that of the other system, even if an access command is issued again to access the semiconductor disk device, the other system's access will be faster and the command will have to be re-issued to the higher-level device again. The status of the trial will be returned, and the processing of the higher-level device with inferior performance will not proceed at all.

そして、このことが二重に困るのは、コマンド再試行を
繰り返している間に時間が経過して、単に上位装ZCP
Uの性能差によるものとしてではなく、デバイスエラー
として、プログラムが中断してしまうことである。
And what makes this doubly troublesome is that time passes while the command is being retried, and the upper layer ZCP simply
The problem is that the program is interrupted not as a result of a difference in the performance of U, but as a device error.

本発明は、このような問題点に鑑みて創案されたもので
、性能の劣る上位装置の系を含めた各基からのアクセス
に対して、確実にアクセスの機会を与える半導体ディス
ク装置を提供することを目的とする。
The present invention was devised in view of these problems, and provides a semiconductor disk device that reliably provides an opportunity for access from various systems, including systems of higher-level devices with inferior performance. The purpose is to

〔問題点を解決するための手段〕 第1図は本発明の原理説明用の構成図である。[Means for solving problems] FIG. 1 is a configuration diagram for explaining the principle of the present invention.

本発明において、上記の問題点を解決するために講じら
れた手段は、複数のアクセス系からのアクセス要求が重
なったとき、アクセスを許可しない前記アクセス系に対
しアクセス要求再試行の応答を返すアクセス制御手段2
と、同一アクセス要求に対する前記アクセス要求再試行
の応答回数を計数する計数手段1と、その計数値が所定
値を越えた場合はアクセスのフリーを検出した時点で前
記同一アクセス要求を発した以外のアクセス系からのア
クセスを抑止する抑止手段2とを備えたことを特徴とす
る半導体ディスク装置とするものである。
In the present invention, the means taken to solve the above problem is that when access requests from multiple access systems overlap, the access system returns an access request retry response to the access system that does not permit access. Control means 2
, a counting means 1 for counting the number of times the access request is retried to the same access request, and if the counted value exceeds a predetermined value, a counting means 1 for counting the number of times the access request is retried for the same access request; The present invention is a semiconductor disk device characterized by comprising a deterrent means 2 for inhibiting access from an access system.

〔作用〕[Effect]

計数手段1が同一アクセスコマンドに対するコマンド再
試行の応答回数を計数し、その計数値が所定値を越えた
場合は、そのアクセスコマンドを発した系は性能が劣る
系と判断される。そこで抑止手段2はアクセスのフリー
を検出した時点で他系からの上記アクセスコマンドと重
なるアクセスを抑止し上記のコマンド再試行を発した系
がアクセスできるように図る。
A counting means 1 counts the number of command retry responses to the same access command, and if the counted value exceeds a predetermined value, it is determined that the system that issued the access command is a system with inferior performance. Therefore, when the inhibiting means 2 detects free access, it inhibits an access that overlaps with the above access command from another system so that the system that issued the above command retry can access.

〔実施例〕〔Example〕

以下、図面を参照して、本発明の実施例を詳細に説明す
る。
Embodiments of the present invention will be described in detail below with reference to the drawings.

第1図は、本発明を実施した半導体ディスク装置の1例
をも示す構成図である。第1図において、 ゛半導体デ
ィスク装置は、各基の上位装置に接続される半導体ディ
スク制御装置DIRO=DIRnと、半導体メモリ11
及びそのアクセス制御手段12と、それらと前記各制御
装fDIRo〜DrRnとを接続する入出力ボートI/
FO〜I/Fnとから成る。アクセス制御手段12は、
第5図で説明したのと同様に、アクセス制御テーブル1
2a及び割り込み制御テーブル12bとを備えている。
FIG. 1 is a configuration diagram showing an example of a semiconductor disk device embodying the present invention. In FIG. 1, the semiconductor disk device includes a semiconductor disk control device DIRO=DIRn connected to each host device, and a semiconductor memory 11.
and its access control means 12, and an input/output boat I/O that connects them and each of the control devices fDIRo to DrRn.
It consists of FO to I/Fn. The access control means 12 includes:
As explained in FIG. 5, access control table 1
2a and an interrupt control table 12b.

また、各制御装置DIRO〜DIRnは、同一アクセス
要求即ちアクセスコマンドに対するアクセス要求再試行
(コマンド再試行)の応答回数を計数する計数手段1と
、その計数値が所定値を越えた場合、アクセスのフリー
をアクセス制御手段12により通知され、割り込み制御
テーブル12bを読むことによって検出した時点で当該
アクセスシリンダへの他系からのアクセスを抑止する抑
止手段2とを備えている。
Each of the control devices DIRO to DIRn also includes a counting means 1 for counting the number of access request retries (command retries) responses to the same access request, that is, an access command, and a counting means 1 for counting the number of responses to an access request retry (command retry) for the same access request, that is, an access command, and a counter 1 for counting the number of responses to an access request retry (command retry) for the same access request, that is, an access command, and when the counted value exceeds a predetermined value, an access The access cylinder is notified by the access control means 12 and is provided with a suppression means 2 that suppresses access from other systems to the access cylinder at the time when it is detected by reading the interrupt control table 12b.

第2図は上記装置によるアクセス処理の1例を示すフロ
ーチャートであり、第3図は同じく割り込み処理の1例
を示すフローチャートである。
FIG. 2 is a flowchart showing an example of access processing by the above device, and FIG. 3 is a flowchart showing an example of interrupt processing.

第2図において、半導体ディスク制御装置は、アクセス
しようとするシリンダが他系により使用されている(ビ
ジー)か、アクセス制御テーブル12aを読んで、チェ
ックする。ビジーでない場合は、通常のアクセス処理を
継続する。シリンダが使用されている場合は、通常の処
理に加えて、制御装置内の計数手段1は、第1回のアク
セスではアクセスシリンダの記録を行い、第2回以降は
該シリンダへのアクセスコマンドに対するコマンド再試
行の応答回数をインクリメントする。割り込み制御テー
ブルの変更とステータス応答とは、従来と同様である。
In FIG. 2, the semiconductor disk control device reads the access control table 12a to check whether the cylinder to be accessed is being used by another system (busy). If it is not busy, normal access processing continues. When a cylinder is used, in addition to the normal processing, the counting means 1 in the control device records the access cylinder at the first access, and from the second time onwards, the counting means 1 in the control device records the access cylinder in response to the access command to the cylinder from the second time onwards. Increments the command retry response count. Interrupt control table changes and status responses are the same as before.

上記の処理終了後、半導体ディスク制御装置は、半導体
ディスク装置からのシリンダフリーの割り込みを待つ。
After the above processing is completed, the semiconductor disk control device waits for a cylinder free interrupt from the semiconductor disk device.

第3図において、半導体ディスク制御装置は、割り込み
制御テーブル12bを読んで、チェックし、シリンダフ
リーの割り込みが確認されると、そのシリンダに関する
コマンド再試行の応答回数が所定値を越えているかチェ
ックし、越えている場合は、前記処理手段2がアクセス
制御テーブル12aを読んで、他系からそのシリンダへ
アクセスが来ていないことを確認し、アクセスシリンダ
の指定をアクセス制御テーブル12aへ書き込んで、そ
のシリンダへ他系からのアクセスを抑止するように変更
する。同時に、上位装置へシリンダフリーの割り込みを
上げ、上位装置からのアクセスコマンドを待つ、このと
き、アクセス制御テーブル12a内のそのシリンダに関
するデータは、使用中と同様に書き替えられているので
、半導体メモリ11はロックされた状態になり、上位装
置の性能が劣り、処理時間がかかったとしても、そ、れ
以外の他系からのアクセスが受は付けられることはない
In FIG. 3, the semiconductor disk control device reads and checks the interrupt control table 12b, and when a cylinder-free interrupt is confirmed, checks whether the number of command retry responses for that cylinder exceeds a predetermined value. , if it exceeds the access control table 12a, the processing means 2 reads the access control table 12a, confirms that there is no access to that cylinder from another system, writes the access cylinder designation to the access control table 12a, and Change to prevent access to the cylinder from other systems. At the same time, it raises a cylinder free interrupt to the host device and waits for an access command from the host device. At this time, the data related to that cylinder in the access control table 12a has been rewritten as if it were in use, so 11 is in a locked state, and even if the performance of the host device is poor and processing time is required, access from other systems will not be accepted.

なお本発明は上記実施例に限定するものではなく、本発
明の主旨に沿って種々の応用と実施態様を取り得る。上
位装置の系の数は2台以上に適用できる。
It should be noted that the present invention is not limited to the above-mentioned embodiments, and can be applied in various ways and implemented in accordance with the gist of the present invention. The number of host device systems can be two or more.

〔発明の効果〕〔Effect of the invention〕

以上、説明したとおり、本発明によれば、アクセス要求
の再試行が所定数連続して発せられた系に対しアクセス
を許可できるように、アクセスのフリーを検出した時点
で他系からのアクセスを抑止することにより、性能の劣
る上位装置の系を含めた各基からのアクセスに対して、
確実にアクセス可能な半導体ディスク装置を提供するこ
とができる。
As described above, according to the present invention, access from other systems is blocked when free access is detected so that access can be granted to a system that has issued a predetermined number of consecutive access request retries. By inhibiting access from each unit, including systems of higher-level devices with inferior performance,
A reliably accessible semiconductor disk device can be provided.

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

第1図は本発明の実施例の構成図、 第2図及び第3図はその処理動作のフローチャート、 第4図は半導体ディスク装置の一般的な構成図、第5図
は制御テーブルの説明図である。 図中、 1;計数手段、 2;抑止手段、 11.41;半導体メモリ、 12.422;アクセス制御、 12a、42a;アクセス制御テーブル、12b、42
b、割り込み制御テーブル、DIRO−DIR3;半導
体ディスク制御装置、 である。 本発明のN、Z’l a四周fJび実施令jの構成回第
1図 アクセス処理 第2図
FIG. 1 is a configuration diagram of an embodiment of the present invention, FIGS. 2 and 3 are flowcharts of its processing operation, FIG. 4 is a general configuration diagram of a semiconductor disk device, and FIG. 5 is an explanatory diagram of a control table. It is. In the figure, 1; counting means; 2; inhibiting means; 11.41; semiconductor memory; 12.422; access control; 12a, 42a; access control table; 12b, 42
b. Interrupt control table, DIRO-DIR3; semiconductor disk control device. Structure of N, Z'l a four times fJ and implementation order j of the present invention Fig. 1 Access processing Fig. 2

Claims (1)

【特許請求の範囲】 複数のアクセス系からのアクセス要求が重なったとき、
アクセスを許可しない前記アクセス系に対しアクセス要
求再試行の応答を返すアクセス制御手段(12)と、 同一アクセス要求に対する前記アクセス要求再試行の応
答回数を計数する計数手段(1)と、その計数値が所定
値を越えた場合はアクセスのフリーを検出した時点で前
記同一アクセス要求を発した以外のアクセス系からのア
クセスを抑止する抑止手段(2)とを備えたことを特徴
とする半導体ディスク装置。
[Claims] When access requests from multiple access systems overlap,
an access control means (12) for returning an access request retry response to the access system that does not permit access; a counting means (1) for counting the number of access request retry responses to the same access request; and a counting value thereof. A semiconductor disk device characterized by comprising: (2) inhibiting means (2) for inhibiting access from access systems other than those that issued the same access request at the time when free access is detected when the value exceeds a predetermined value .
JP29550986A 1986-12-10 1986-12-10 Semiconductor disk device Pending JPS63147219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29550986A JPS63147219A (en) 1986-12-10 1986-12-10 Semiconductor disk device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29550986A JPS63147219A (en) 1986-12-10 1986-12-10 Semiconductor disk device

Publications (1)

Publication Number Publication Date
JPS63147219A true JPS63147219A (en) 1988-06-20

Family

ID=17821534

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29550986A Pending JPS63147219A (en) 1986-12-10 1986-12-10 Semiconductor disk device

Country Status (1)

Country Link
JP (1) JPS63147219A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0232420A (en) * 1988-07-22 1990-02-02 Hitachi Ltd Semiconductor filing device and information processor using same
JP2013515979A (en) * 2010-04-12 2013-05-09 株式会社日立製作所 Storage device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0232420A (en) * 1988-07-22 1990-02-02 Hitachi Ltd Semiconductor filing device and information processor using same
JP2013515979A (en) * 2010-04-12 2013-05-09 株式会社日立製作所 Storage device
US8924659B2 (en) 2010-04-12 2014-12-30 Hitachi, Ltd. Performance improvement in flash memory accesses

Similar Documents

Publication Publication Date Title
US5404500A (en) Storage control system with improved system and technique for destaging data from nonvolatile memory
US6604171B1 (en) Managing a cache memory
JPS63147219A (en) Semiconductor disk device
JP2556841B2 (en) File access device and method for accessing the file
JP3196112B2 (en) Method of duplicating card type storage medium
JP2776388B2 (en) Storage control method and storage device
JPS63250753A (en) Memory access checking system
JP3484707B2 (en) Asynchronous data transfer controller
JPH08202503A (en) Disk array device
JPH05274223A (en) Cache memory
JP2640139B2 (en) Memory card
JPH0195320A (en) Automatic recognition control system for type of memory medium
JPS5831020B2 (en) multiprocessor control system
JPH04211852A (en) Disk device
JPS6029853A (en) File access control system
JPH05189346A (en) Disk controller
JPH0122656B2 (en)
JPS63251965A (en) Disk managing system
JPH04341977A (en) Data reproducing control system
JPH04288637A (en) Electronic computer system
JP2001092768A (en) Cruster system, its control method and recording medium readable by computer in which control program is recorded
JPH0277855A (en) Communication system for recording process
JPS6246466A (en) Magnetic disk control device
JPS60122422A (en) File control system
JPH01300357A (en) Electronic disk device