JP3264985B2 - Disk controller - Google Patents

Disk controller

Info

Publication number
JP3264985B2
JP3264985B2 JP19251992A JP19251992A JP3264985B2 JP 3264985 B2 JP3264985 B2 JP 3264985B2 JP 19251992 A JP19251992 A JP 19251992A JP 19251992 A JP19251992 A JP 19251992A JP 3264985 B2 JP3264985 B2 JP 3264985B2
Authority
JP
Japan
Prior art keywords
stored
areas
area
processing result
processing
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.)
Expired - Fee Related
Application number
JP19251992A
Other languages
Japanese (ja)
Other versions
JPH0635832A (en
Inventor
昌史 山脇
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 JP19251992A priority Critical patent/JP3264985B2/en
Publication of JPH0635832A publication Critical patent/JPH0635832A/en
Application granted granted Critical
Publication of JP3264985B2 publication Critical patent/JP3264985B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は光ディスク等の記録媒
体に対しデータの記録及び記録されたデータの再生を行
うディスク制御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a disk controller for recording data on a recording medium such as an optical disk and reproducing the recorded data.

【0002】光ディスク等の記録媒体を使用したデータ
処理装置では、近年そのデータ処理速度を益々向上させ
ることが要請されている。そのため、コストアップする
ことなくデータ処理動作に要する中央処理装置としての
マイクロプロセッサの負担を軽減することにより、デー
タ処理速度を向上させることが要請されている。
2. Description of the Related Art In recent years, a data processing apparatus using a recording medium such as an optical disk has been required to increase its data processing speed. Therefore, it is required to improve the data processing speed by reducing the load on the microprocessor as the central processing unit required for the data processing operation without increasing the cost.

【0003】[0003]

【従来の技術】ディスク制御装置の構成を図6に従って
説明すると、ディスクコントローラ1にはディスク装置
2が接続され、そのディスク装置2はディスクコントロ
ーラ1の制御信号に基づいて光ディスク等のディスクに
対する記録再生動作を行う。
2. Description of the Related Art The structure of a disk controller will be described with reference to FIG. 6. A disk controller 2 is connected to a disk controller 1, which records and reproduces data on and from a disk such as an optical disk based on a control signal from the disk controller 1. Perform the operation.

【0004】前記ディスクコントローラ1にはバス3を
介して中央処理装置としてのマイクロプロセッサユニッ
ト(以下MPUとする)4及びプログラムROM5が接
続され、MPU4はプログラムROM5に格納されてい
るプログラムに基づいてディスクコントローラ1を制御
し、ディスクコントローラ1は各種インターフェースに
対しアクセス可能となっている。
[0004] A microprocessor unit (hereinafter referred to as MPU) 4 as a central processing unit and a program ROM 5 are connected to the disk controller 1 via a bus 3, and the MPU 4 stores a disk based on a program stored in the program ROM 5. The controller 1 is controlled, and the disk controller 1 can access various interfaces.

【0005】前記ディスクコントローラ1には記憶装置
としてのローカルメモリ6が接続され、ディスク装置2
によるデータ処理結果が一時格納される。このようなデ
ィスク制御装置によるデータ処理動作において、ディス
クコントローラ1の制御に基づいてディスク装置2によ
り例えばディスクからのデータ読出し動作が行われる
と、例えば読み出されたデータが正常か否かというデー
タ処理結果(SW)が前記ローカルメモリ6に格納され
る。
The disk controller 1 is connected to a local memory 6 as a storage device.
Is temporarily stored. In the data processing operation of such a disk control device, when a data read operation from, for example, a disk is performed by the disk device 2 based on the control of the disk controller 1, for example, the data processing to determine whether the read data is normal is performed. The result (SW) is stored in the local memory 6.

【0006】すなわち、図7に示すように前記ローカル
メモリ6は多数のステータスワード領域(以下SW領
域)A1〜Anで構成され、各SW領域A1〜Anに前
記MPU4に報告すべき処理結果が順次格納される。
That is, as shown in FIG. 7, the local memory 6 is composed of a number of status word areas (hereinafter, SW areas) A1 to An, and processing results to be reported to the MPU 4 are sequentially stored in each SW area A1 to An. Is stored.

【0007】前記SW領域A1〜Anをリングバッファ
として使用するために、同SW領域A1〜Anには処理
結果が格納されているか否かを判別する判別信号を格納
するためのフラグ領域F1〜Fnが設けられ、ディスク
コントローラ1により処理結果が格納されたSW領域の
フラグ領域には「1」が格納され、処理結果が格納され
ていないSW領域A1〜Anフラグ領域F1〜Fnは
「0」が格納されている。
In order to use the SW areas A1 to An as ring buffers, flag areas F1 to Fn for storing determination signals for determining whether or not processing results are stored in the SW areas A1 to An. Is provided in the flag area of the SW area in which the processing result is stored by the disk controller 1, and "0" is stored in the SW areas A1 to An flag areas F1 to Fn in which the processing result is not stored. Is stored.

【0008】そして、ディスクコントローラ1はデータ
処理動作に基づく処理結果をフラグ領域が「0」である
空き状態のSW領域に順次格納し、当該SW領域のフラ
グ領域に「1」を格納する。
Then, the disk controller 1 sequentially stores the processing result based on the data processing operation in an empty SW area where the flag area is "0", and stores "1" in the flag area of the SW area.

【0009】従って、ディスクコントローラ1の制御に
よる読出し動作において処理結果が各SW領域A1〜A
nに順次格納され、例えば読出し動作終了後にMPU4
は各SW領域A1〜Anに格納されている処理結果を順
次読み出してデータ処理状況を把握する。
Therefore, in the reading operation under the control of the disk controller 1, the processing result is stored in each of the SW areas A1 to A.
n, for example, after the end of the read operation, the MPU 4
Sequentially reads the processing results stored in each of the SW areas A1 to An to grasp the data processing status.

【0010】[0010]

【発明が解決しようとする課題】ところが、上記のよう
なディスク制御装置ではデータ処理動作の開始時におい
てMPU4はローカルメモリ6の各SW領域A1〜An
のフラグ領域F1〜Fnを「0」にリセットする必要が
ある。
However, in the above-described disk control device, when the data processing operation is started, the MPU 4 operates the respective SW areas A1 to An of the local memory 6.
Must be reset to "0".

【0011】従って、このリセット動作がMPU4の負
担を増大させ、同MPU4による他の処理動作を遅延さ
せるという問題点がある。この発明の目的は、ディスク
制御装置の構成を複雑化してコストを増大させることな
く、同ディスク制御装置を構成する中央処理装置の負担
を軽減してデータ処理動作の高速化を図り得るディスク
制御装置を提供することにある。
Therefore, there is a problem that the reset operation increases the load on the MPU 4 and delays other processing operations by the MPU 4. SUMMARY OF THE INVENTION An object of the present invention is to provide a disk control apparatus capable of reducing the load on a central processing unit constituting the disk control apparatus and increasing the speed of data processing operation without complicating the configuration of the disk control apparatus and increasing the cost. Is to provide.

【0012】[0012]

【課題を解決するための手段】図1は本発明の原理説明
図である。すなわち、データを記録あるいは再生するた
めのディスクに対しデータ処理動作を行うディスクコン
トローラ7と、前記ディスクコントローラ7による処理
結果を一時格納するための記憶装置6と、前記ディスク
コントローラ7の動作を制御する中央処理装置4とが備
えられ、前記記憶装置6は前記処理結果を一時格納して
前記中央処理装置4に報告するための多数の報告領域A
1〜Anが備えられるとともに各報告領域A1〜Anに
は該報告領域に処理結果が格納されているか否かを判別
するための判別信号を格納するための判別領域F1〜F
nが設けられ、前記ディスクコントローラ7は前記記憶
装置6の判別領域F1〜Fn内の格納データに基づいて
前記処理結果が格納されていない報告領域A1〜Anに
該処理結果を格納するとともに、全ての報告領域A1〜
Anに処理結果が格納され、その状態にて新たな処理結
果が発生すると、その処理結果を格納しないまま前記デ
ータ処理動作を終了するように構成されたディスク制御
装置で、前記ディスクコントローラ7には前記報告領域
A1〜Anへの処理結果の格納が一巡したか否かを判別
する判別装置7aが備えられ、前記ディスクコントロー
ラ7は前記判別装置7aの判別結果に基づいて前記記憶
装置6の報告領域A1〜Anへの処理結果の格納が一巡
するまでは前記判別領域F1〜Fnの格納データに関わ
らず前記処理結果を該報告領域A1〜Anに格納するよ
うに動作する。
FIG. 1 is a diagram illustrating the principle of the present invention. That is, a disk controller 7 for performing a data processing operation on a disk for recording or reproducing data, a storage device 6 for temporarily storing a processing result by the disk controller 7, and an operation of the disk controller 7 are controlled. A central processing unit 4 is provided, and the storage device 6 includes a plurality of report areas A for temporarily storing the processing results and reporting the processing results to the central processing unit 4.
1 to An, and discrimination areas F1 to F for storing discrimination signals for discriminating whether or not a processing result is stored in each report area A1 to An.
n, the disk controller 7 stores the processing results in the report areas A1 to An in which the processing results are not stored based on the storage data in the determination areas F1 to Fn of the storage device 6, and Report area A1
A processing result is stored in An, and when a new processing result occurs in that state, the disk controller is configured to terminate the data processing operation without storing the processing result. A discriminating device 7a for discriminating whether or not storage of the processing results in the report areas A1 to An has been completed is provided, and the disk controller 7 determines whether the storage area of the storage device 6 is Until the storage of the processing results in A1 to An is completed, the operation is performed so as to store the processing results in the report areas A1 to An irrespective of the data stored in the determination areas F1 to Fn.

【0013】また、図4に示すように前記記憶装置6に
は前記多数の報告領域A1〜Anに加えて、前記報告領
域A1〜Anのすべてに処理結果が格納された状態で発
生する新たな処理結果を格納してデータ処理動作を終了
するための予備報告領域Asが設けられる。
Further, as shown in FIG. 4, in the storage device 6, in addition to the large number of report areas A1 to An, all the report areas A1 to An store a new processing result in a state where the processing results are stored. A preliminary report area As for storing the processing result and ending the data processing operation is provided.

【0014】[0014]

【作用】データ処理動作が開始されて記憶装置6に格納
すべき処理結果が発生すると、その処理結果は記憶装置
6の報告領域A1〜Anへの処理結果の格納が一巡する
までは各報告領域A1〜Anに設けられた判別領域F1
〜Fn内の格納データに関わらず、同報告領域A1〜A
nに順次格納される。
When a data processing operation is started and a processing result to be stored in the storage device 6 is generated, the processing result is stored in each report area until the storage of the processing result in the report areas A1 to An of the storage device 6 is completed. Discrimination area F1 provided in A1 to An
領域 Fn, regardless of the stored data in Fn.
n.

【0015】また、図4においては前記報告領域A1〜
Anのすべてに処理結果が格納された後に新たな処理結
果が発生し、その状態では判別領域F1〜Fn内の格納
データに基づいて前記報告領域A1〜Anにはそれ以上
の処理結果を格納することができないと判別された場合
に、前記新たな処理結果は予備報告領域Asに格納さ
れ、その後にデータ処理動作が終了する。
In FIG. 4, the report areas A1 to A1
After a processing result is stored in all of An, a new processing result occurs. In that state, further processing results are stored in the report areas A1 to An based on the data stored in the determination areas F1 to Fn. If it is determined that the data cannot be processed, the new processing result is stored in the preliminary report area As, and then the data processing operation ends.

【0016】[0016]

【実施例】以下、この発明を具体化した第一の実施例を
図2、図3及び図7に従って説明する。なお、前記実施
例と同一構成部分は同一符号を付して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to FIGS. Note that the same components as those in the above-described embodiment will be described with the same reference numerals.

【0017】図2に示すディスク制御装置は、ディスク
コントローラ7にディスク装置2が接続され、ディスク
装置2はディスクコントローラ7の制御信号に基づいて
光ディスク等のディスクに対する記録再生動作を行う。
In the disk control device shown in FIG. 2, the disk device 2 is connected to a disk controller 7, and the disk device 2 performs a recording / reproducing operation on a disk such as an optical disk based on a control signal of the disk controller 7.

【0018】また、ディスクコントローラ7にはリング
フラグ領域7aが設けられ、「1」若しくは「0」のフ
ラグが格納される。前記ディスクコントローラ7にはバ
ス3を介してMPU4及びプログラムROM8が接続さ
れ、MPU4はプログラムROM8に格納されているプ
ログラムに基づいてディスクコントローラ7を制御し、
ディスクコントローラ7は前記ディスク装置2、ローカ
ルメモリ6及び各種インターフェースに対しアクセス可
能となっている。
The disk controller 7 is provided with a ring flag area 7a for storing a flag of "1" or "0". The MPU 4 and the program ROM 8 are connected to the disk controller 7 via the bus 3, and the MPU 4 controls the disk controller 7 based on a program stored in the program ROM 8,
The disk controller 7 can access the disk device 2, the local memory 6, and various interfaces.

【0019】前記ディスクコントローラ7にはローカル
メモリ6が接続され、ディスク装置2によるデータ処理
結果が一時格納される。このようなディスク制御装置に
よるデータ処理動作において、ディスクコントローラ7
の制御に基づいてディスク装置2により例えばディスク
からのデータ読出し動作が行われると、例えば読み出さ
れたデータが正常か否かというデータ処理結果が前記ロ
ーカルメモリ6に格納される。
A local memory 6 is connected to the disk controller 7, and the result of data processing by the disk device 2 is temporarily stored therein. In such a data processing operation by the disk controller, the disk controller 7
When a data read operation from, for example, a disk is performed by the disk device 2 based on the above control, for example, a data processing result indicating whether or not the read data is normal is stored in the local memory 6.

【0020】すなわち、図7に示すように前記ローカル
メモリ6は多数のステータスワード領域(以下SW領
域)A1〜Anで構成され、各領域A1〜Anに処理結
果が順次格納される。
That is, as shown in FIG. 7, the local memory 6 is composed of a number of status word areas (hereinafter referred to as SW areas) A1 to An, and processing results are sequentially stored in the respective areas A1 to An.

【0021】前記SW領域A1〜Anをリングバッファ
として使用するために、同SW領域A1〜Anにはフラ
グ領域F1〜Fnが設けられ、ディスクコントローラ7
により処理結果が格納されたSW領域のフラグ領域には
「1」が格納され、処理結果が格納されていないフラグ
領域は「0」が格納されている。
To use the SW areas A1 to An as a ring buffer, the SW areas A1 to An are provided with flag areas F1 to Fn.
As a result, “1” is stored in the flag area of the SW area in which the processing result is stored, and “0” is stored in the flag area in which the processing result is not stored.

【0022】そして、ディスクコントローラ7はデータ
処理動作に基づく処理結果をフラグ領域が「0」である
空き状態のSW領域に順次格納してそのフラグ領域に
「1」を格納する。
Then, the disk controller 7 sequentially stores the processing result based on the data processing operation in an empty SW area where the flag area is "0", and stores "1" in the flag area.

【0023】従って、ディスクコントローラ7の制御に
よる読出し動作において処理結果が各SW領域A1〜A
nに順次格納され、例えば読出し動作終了後にMPU4
は各SW領域A1〜Anに格納されている処理結果を順
次読み出してデータ処理状況を把握し、処理結果を読み
出したSW領域A1〜Anのフラグ領域F1〜Fnの格
納データを「0」にもどす。
Therefore, in the read operation under the control of the disk controller 7, the processing result is stored in each of the SW areas A1 to A.
n, for example, after the end of the read operation, the MPU 4
Sequentially reads out the processing results stored in the respective SW areas A1 to An to grasp the data processing status, and returns the data stored in the flag areas F1 to Fn of the SW areas A1 to An from which the processing results have been read back to “0”. .

【0024】また、ディスクコントローラ7aはデータ
処理動作の開始に先立ってリングフラグ領域7aに
「0」を格納し、前記SW領域A1〜Anへの処理結果
の格納が一巡すると、そのリングフラグ領域7aに
「1」を格納するようになっている。
The disk controller 7a stores "0" in the ring flag area 7a prior to the start of the data processing operation. When the storage of the processing result in the SW areas A1 to An completes, the disk controller 7a sets the ring flag area 7a. To "1".

【0025】そして、ディスクコントローラ7はデータ
処理動作の開始から前記SW領域A1〜Anへの処理結
果の格納が一巡するまでの間、すなわちリングフラグ領
域7aに格納されているフラグが「0」の間はローカル
メモリ6の各SW領域A1〜Anのフラグ領域F1〜F
nの格納内容に関わらず、各SW領域A1〜Anへの処
理結果の格納を行う動作をする。
Then, the disk controller 7 operates from the start of the data processing operation until the storage of the processing result in the SW areas A1 to An completes, that is, when the flag stored in the ring flag area 7a is "0". The flag areas F1 to F of the SW areas A1 to An of the local memory 6
Regardless of the storage content of n, the operation of storing the processing result in each of the SW areas A1 to An is performed.

【0026】さて、上記のように構成されたディスク制
御装置の動作を図3に従って説明すると、ディスクコン
トローラ7はデータ処理動作の開始に先立って、まずリ
ングフラグ領域7aに「0」を格納する(ステップ
1)。
Now, the operation of the disk controller configured as described above will be described with reference to FIG. 3. Before starting the data processing operation, the disk controller 7 first stores "0" in the ring flag area 7a (see FIG. 3). Step 1).

【0027】次いで、ディスクコントローラ7はデータ
処理動作が終了でなければ、ディスク装置2を介してデ
ィスクに対しひき続きデータ処理動作を行う(ステップ
2,3)。
Next, if the data processing operation is not completed, the disk controller 7 continues to perform the data processing operation on the disk via the disk device 2 (steps 2 and 3).

【0028】そして、ローカルメモリ6のSW領域に格
納すべき処理結果が発生しなければ、上記のようなデー
タ処理動作が繰り返され、データ処理動作が終了する
(ステップ2〜4)。
If there is no processing result to be stored in the SW area of the local memory 6, the above data processing operation is repeated, and the data processing operation ends (steps 2 to 4).

【0029】前記データ処理動作中にSW領域に格納す
べき処理結果が発生すると、ディスクコントローラ7は
リングフラグ領域7aに格納されているフラグが「0」
か「1」であるかを判別する(ステップ4,5)。
When a processing result to be stored in the SW area occurs during the data processing operation, the disk controller 7 sets the flag stored in the ring flag area 7a to "0".
Or "1" (steps 4 and 5).

【0030】いま、リングフラグ領域7aに格納されて
いるフラグが「0」であるため、ディスクコントローラ
7はローカルメモリ6の各フラグ領域F1〜Fnの格納
内容に関わらず処理結果をSW領域A1〜Anに順次格
納する(ステップ6)。
Since the flag stored in the ring flag area 7a is "0", the disk controller 7 stores the processing result in the SW areas A1 to Fn regardless of the contents stored in the flag areas F1 to Fn of the local memory 6. An is sequentially stored in An (step 6).

【0031】このようにして、SW領域A1〜Anへの
処理結果の格納が一巡すると、ディスクコントローラ7
はリングフラグ領域7aに「1」を格納する(ステップ
7,8)。
In this way, when the storage of the processing results in the SW areas A1 to An completes, the disk controller 7
Stores "1" in the ring flag area 7a (steps 7, 8).

【0032】次いで、データ処理動作が引き続いて行わ
れてSW領域A1〜Anに格納すべき処理結果が発生す
ると(ステップ2〜4)、ディスクコントローラ7はリ
ングフラグ領域7aに「1」が格納されていることを判
別して(ステップ5)、次に格納すべきSW領域A1〜
Anのフラグ領域F1〜Fnの格納内容が「0」である
か「1」であるかを判別する(ステップ9)。
Next, when the data processing operation is continuously performed and processing results to be stored in the SW areas A1 to An occur (steps 2 to 4), the disk controller 7 stores "1" in the ring flag area 7a. Is determined (step 5), and the SW areas A1 to A5 to be stored next are determined.
It is determined whether the stored contents of the flag areas F1 to Fn of An are “0” or “1” (step 9).

【0033】ここで、上記のように処理結果が各SW領
域A1〜Anにそれぞれ格納されている状態では、次に
格納するSW領域A1〜Anのフラグ領域F1〜Fnに
は「1」が格納されているので、ディスクコントローラ
7はこれ以上処理結果をローカルメモリ6に格納できな
いため、データ処理動作を終了する。
Here, when the processing results are stored in the respective SW areas A1 to An as described above, "1" is stored in the flag areas F1 to Fn of the SW areas A1 to An to be stored next. Since the disk controller 7 cannot store the processing result in the local memory 6 any more, the data processing operation ends.

【0034】一方、前記SW領域A1〜Anへの処理結
果の格納が一巡する間に、MPU4によりSW領域A1
〜Anに格納されている処理結果が順次読み出される場
合には、読み出された当該SW領域のフラグ領域の格納
内容は「0」にリセットされている。
On the other hand, while the processing results are stored in the SW areas A1 to An once, the MPU 4 uses the SW area A1.
When the processing results stored in .about.An are sequentially read, the stored contents of the read flag area of the SW area are reset to "0".

【0035】従って、この場合にはディスクコントロー
ラ7は次に格納するSW領域のフラグ領域が「0」であ
ることを検出して(ステップ9)、空いているSW領域
への処理結果の格納動作を行い(ステップ10)、次い
で上記動作を繰り返す。
Therefore, in this case, the disk controller 7 detects that the flag area of the SW area to be stored next is "0" (step 9), and stores the processing result in the vacant SW area. (Step 10), and then the above operation is repeated.

【0036】以上のようにこのディスク制御装置では、
データ処理動作の開始時にMPU4による各SW領域A
1〜Anのフラグ領域F1〜Fnのリセットを行わず、
SW領域A1〜Anへの処理結果の格納が一巡する間は
フラグ領域F1〜Fnの格納内容に関わらずその処理結
果の格納が行われる。
As described above, in this disk control device,
Each SW area A by the MPU 4 at the start of the data processing operation
Without resetting the flag areas F1 to Fn of 1 to An,
While the processing results are stored in the SW areas A1 to An once, the processing results are stored regardless of the storage contents of the flag areas F1 to Fn.

【0037】従って、データ処理動作の開始時にMPU
4によるローカルメモリ6のフラグ領域F1〜Fnのリ
セット動作を省略することができるので、前記SW領域
A1〜Anを拡張するほど同MPU4の負担を軽減する
ことができる。
Therefore, at the start of the data processing operation, the MPU
4, the reset operation of the flag areas F1 to Fn of the local memory 6 can be omitted, so that the load on the MPU 4 can be reduced as the SW areas A1 to An are expanded.

【0038】次に、この発明を具体化した第二の実施例
を図2、図4及び図5に従って説明すると、この実施例
のローカルメモリ6は、図4に示すようにSW領域A1
〜Anに加えて予備SW領域Asが設けられている。
Next, a second embodiment of the present invention will be described with reference to FIGS. 2, 4 and 5. The local memory 6 of this embodiment has a SW area A1 as shown in FIG.
A spare SW area As is provided in addition to .about.An.

【0039】そして、ディスクコントローラ7は常には
予備SW領域Asを使用することなくSW領域A1〜A
nをリングバッファとして使用し、前記SW領域A1〜
Anに空き領域が存在しない場合で、新たに格納すべき
処理結果が発生した場合には、その処理結果を前記予備
SW領域Asに格納するように動作する。
Then, the disk controller 7 does not always use the spare SW area As and uses the SW areas A1 to A
n as a ring buffer, and the SW areas A1 to
If there is no free area in An and there is a processing result to be newly stored, an operation is performed to store the processing result in the spare SW area As.

【0040】また、ディスクコントローラ7、ディスク
装置2及びMPU4は前記第一の実施例と同一である。
このような構成のディスク制御装置の動作を図5に従っ
て説明すると、ステップ1からステップ10については
前記第一の実施例と同様である。
The disk controller 7, disk device 2 and MPU 4 are the same as in the first embodiment.
The operation of the disk control device having such a configuration will be described with reference to FIG. 5. Steps 1 to 10 are the same as in the first embodiment.

【0041】すなわち、データ処理動作においてSW領
域A1〜Anに格納すべき処理結果への格納が一巡し
て、次に格納されるSW領域A1〜Anのフラグ領域F
1〜Fnの格納内容が「1」となっている状態で、SW
領域に格納すべき処理結果が新たに発生すると、ディス
クコントローラ7はその処理結果を前記予備SW領域A
sに格納し(ステップ11)、その後データ処理動作を
終了する。
That is, in the data processing operation, the storage of the processing results to be stored in the SW areas A1 to An completes one cycle, and the flag area F of the next SW area A1 to An is stored.
While the storage contents of 1 to Fn are “1”, the SW
When a processing result to be stored in the area newly occurs, the disk controller 7 stores the processing result in the spare SW area A.
s (step 11), and the data processing operation ends.

【0042】以上のようにこのディスク制御装置では、
ローカルメモリ6の各SW領域A1〜Anをリングバッ
ファとして使用し、そのSW領域A1〜Anの全てに前
記処理結果が格納されている状態で、新たに格納すべき
処理結果が発生した場合にはその処理結果を前記予備S
W領域Asに格納する。
As described above, in this disk control device,
When each of the SW areas A1 to An of the local memory 6 is used as a ring buffer, and the processing results are stored in all of the SW areas A1 to An, a new processing result to be stored occurs. The processing result is stored in the spare S
It is stored in the W area As.

【0043】この結果、前記第一の実施例では格納すべ
き処理結果が発生した状態で処理結果を格納しないまま
データ処理動作を終了していたが、この第二の実施例で
はSW領域A1〜Anの全てに前記処理結果が格納され
てから新たに格納すべき処理結果が発生した場合にも、
その処理結果を予備SW領域Asに格納してデータ処理
動作を終了することができる。
As a result, in the first embodiment, the data processing operation is terminated without storing the processing result in a state where the processing result to be stored is generated. Even when the processing result to be newly stored after the processing result is stored in all of An,
The processing result can be stored in the spare SW area As, and the data processing operation can be completed.

【0044】従って、この実施例は前記第一の実施例の
作用効果に加えて、リトライ時のデータ処理動作時にお
いて予備SW領域Asに格納した最後の処理結果に対し
重複して読出し動作を行う必要がなく、MPU4の負担
を軽減することができる。
Therefore, in this embodiment, in addition to the operation and effect of the first embodiment, in the data processing operation at the time of the retry, the read operation is duplicated with respect to the last processing result stored in the spare SW area As. There is no need, and the burden on the MPU 4 can be reduced.

【0045】また、ローカルメモリ6内に予備SW領域
Asを設けたので、コストを上昇させることもない。な
お、前記予備SW領域Asは前記ディスクコントローラ
7内に設けてもよい。
Since the spare SW area As is provided in the local memory 6, the cost does not increase. The spare SW area As may be provided in the disk controller 7.

【0046】[0046]

【発明の効果】以上詳述したように、この発明はディス
ク制御装置の構成を複雑化してコストを増大させること
なく、同ディスク制御装置を構成するMPUの負担を軽
減してデータ処理動作の高速化を図ることができる優れ
た効果を発揮する。
As described in detail above, the present invention reduces the load on the MPU constituting the disk controller without complicating the configuration of the disk controller and increasing the cost, thereby increasing the speed of the data processing operation. An excellent effect can be achieved.

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

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

【図2】第一及び第二の実施例の構成を示すブロック図
である。
FIG. 2 is a block diagram showing a configuration of the first and second embodiments.

【図3】第一の実施例の動作を示すフローチャート図で
ある。
FIG. 3 is a flowchart illustrating the operation of the first embodiment.

【図4】第二の実施例のローカルメモリを示す説明図で
ある。
FIG. 4 is an explanatory diagram illustrating a local memory according to a second embodiment.

【図5】第二の実施例の動作を示すフローチャート図で
ある。
FIG. 5 is a flowchart showing the operation of the second embodiment.

【図6】従来例のディスク制御装置の構成を示すブロッ
ク図である。
FIG. 6 is a block diagram showing a configuration of a conventional disk control device.

【図7】ローカルメモリ示す説明図である。FIG. 7 is an explanatory diagram showing a local memory.

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

4 中央処理装置 6 記憶装置 7 ディスクコントローラ 7a 判別装置 A1〜An 報告領域 F1〜Fn 判別領域 4 Central Processing Unit 6 Storage Device 7 Disk Controller 7a Discriminating Device A1-An Reporting Area F1-Fn Discriminating Area

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) G06F 13/00 - 13/14 G06F 3/06 - 3/08 G06F 13/38 - 13/42 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) G06F 13/00-13/14 G06F 3/06-3/08 G06F 13/38-13/42

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データを記録あるいは再生するためのデ
ィスクに対しデータ処理動作を行うディスクコントロー
ラ(7)と、 前記ディスクコントローラ(7)による処理結果を一時
格納するための記憶装置(6)と、 前記ディスクコントローラ(7)の動作を制御する中央
処理装置(4)とを備え、 前記記憶装置(6)は前記処理結果を一時格納して前記
中央処理装置(4)に報告するための多数の報告領域
(A1〜An)を備えるとともに各報告領域(A1〜A
n)には該報告領域に処理結果が格納されているか否か
を判別するための判別信号を格納するための判別領域
(F1〜Fn)が設けられ、 前記ディスクコントローラ(7)は前記記憶装置(6)
の判別領域(F1〜Fn)内の格納データに基づいて前
記処理結果が格納されていない報告領域(A1〜An)
に該処理結果を格納するとともに、全ての報告領域(A
1〜An)に処理結果が格納され、その状態にて新たな
処理結果が発生するとその処理結果を格納しないまま前
記データ処理動作を終了するように構成されたディスク
制御装置であって、 前記ディスクコントローラ(7)には前記報告領域(A
1〜An)への処理結果の格納が一巡したか否かを判別
する判別装置(7a)を備え、 前記ディスクコントローラ(7)は前記判別装置(7
a)の判別結果に基づいて前記記憶装置(6)の報告領
域(A1〜An)への処理結果の格納が一巡するまでは
前記判別領域(F1〜Fn)の格納データに関わらず前
記処理結果を該報告領域(A1〜An)に格納すること
を特徴とするディスク制御装置。
A disk controller (7) for performing a data processing operation on a disk for recording or reproducing data; a storage device (6) for temporarily storing a processing result by the disk controller (7); A central processing unit (4) for controlling the operation of the disk controller (7), wherein the storage device (6) temporarily stores the processing results and reports the results to the central processing unit (4). A report area (A1 to An) is provided and each report area (A1 to A
n) is provided with a discrimination area (F1 to Fn) for storing a discrimination signal for discriminating whether a processing result is stored in the report area, and the disk controller (7) is provided in the storage device. (6)
Report areas (A1 to An) in which the processing results are not stored based on the data stored in the determination areas (F1 to Fn)
The processing result is stored in all report areas (A
1 to An), a disk control device configured to terminate the data processing operation without storing the processing result when a new processing result occurs in that state. The controller (7) has the report area (A
1 to An), and a discriminating device (7a) for discriminating whether or not storage of the processing result in one cycle has been completed.
Until storage of the processing result in the report area (A1 to An) of the storage device (6) is completed based on the determination result of a), the processing result is independent of the data stored in the determination area (F1 to Fn). In the report area (A1 to An).
【請求項2】 前記記憶装置(6)には前記多数の報告
領域(A1〜An)に加えて、前記報告領域(A1〜A
n)のすべてに処理結果が格納された状態で発生する新
たな処理結果を格納してデータ処理動作を終了するため
の予備報告領域(As)を設けたことを特徴とする請求
項1記載のディスク制御装置。
2. The storage device (6) includes, in addition to the plurality of report areas (A1 to An), the report areas (A1 to A1).
2. A spare report area (As) for storing a new processing result generated in a state where the processing result is stored in all of n) and terminating the data processing operation is provided. Disk control unit.
JP19251992A 1992-07-20 1992-07-20 Disk controller Expired - Fee Related JP3264985B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19251992A JP3264985B2 (en) 1992-07-20 1992-07-20 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19251992A JP3264985B2 (en) 1992-07-20 1992-07-20 Disk controller

Publications (2)

Publication Number Publication Date
JPH0635832A JPH0635832A (en) 1994-02-10
JP3264985B2 true JP3264985B2 (en) 2002-03-11

Family

ID=16292639

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19251992A Expired - Fee Related JP3264985B2 (en) 1992-07-20 1992-07-20 Disk controller

Country Status (1)

Country Link
JP (1) JP3264985B2 (en)

Also Published As

Publication number Publication date
JPH0635832A (en) 1994-02-10

Similar Documents

Publication Publication Date Title
US4442485A (en) Dynamically buffered data transfer system for large capacity data source
JPH08106733A (en) Information storage-medium utilization system
US6223243B1 (en) Access control method with plural users having I/O commands prioritized in queues corresponding to plural memory units
JP3264985B2 (en) Disk controller
US5911031A (en) IC card memory for recording and reproducing audio and/or video data concurrently or separately and a control method thereof
JP3438503B2 (en) Display control device
JPH0767146A (en) Memory diagnostic circuit for video recording and reproducing device by semiconductor memory
JP2002189572A (en) Disk storage device, information processing equipment provided with the same and processing method when failing in write
JP2001014219A (en) Method and device for controlling cache
JPH06202715A (en) State change detecting and recording circuit
JP2845746B2 (en) Micro program controller
JPS60150128A (en) Buffer memory controller of rotary magnetic memory controller
JPH09114598A (en) Disk cache device
JP3036449B2 (en) Memory diagnostic device
JPH08278938A (en) Dma device
JP3264316B2 (en) Direct memory access controller
EP0358224A2 (en) Semiconductor disk device useful in transaction processing system
JP2574384B2 (en) Data stream generator
JPH0250498B2 (en)
JPH0373012B2 (en)
JP2598935B2 (en) Writing method to text memory
JP2665153B2 (en) Buffer control circuit
JPH04341977A (en) Data reproducing control system
JPH0822430A (en) Host interface device of real time encoder
JPS6158033A (en) Disc controller

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20011218

LAPS Cancellation because of no payment of annual fees