JPH0635832A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPH0635832A
JPH0635832A JP19251992A JP19251992A JPH0635832A JP H0635832 A JPH0635832 A JP H0635832A JP 19251992 A JP19251992 A JP 19251992A JP 19251992 A JP19251992 A JP 19251992A JP H0635832 A JPH0635832 A JP H0635832A
Authority
JP
Japan
Prior art keywords
stored
areas
processing result
area
disk controller
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.)
Granted
Application number
JP19251992A
Other languages
Japanese (ja)
Other versions
JP3264985B2 (en
Inventor
Masashi Yamawaki
昌史 山脇
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 VLSI Ltd
Fujitsu Ltd
Original Assignee
Fujitsu VLSI Ltd
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 VLSI Ltd, Fujitsu Ltd filed Critical Fujitsu VLSI 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

Abstract

PURPOSE:To reduce the burden on a CPU constituting a disk controller and to increase the data processing speed without complicating the constitution nor increasing the cost of the disk controller. CONSTITUTION:A disk controller 7 is provided together with a storage device 6 which includes many report areas A1-An, a CPU 4, and the deciding areas F1-Fn which decide whether the processing result is stored in each report area or not. Then, the controller 7 stores the processing result in the report area where the processing result is not stored yet and then ends the data processing operation when the processing results are stored in all report areas. A discriminating means 7a is included in the controller 7. Thus, the controller 7 stores the processing results in the areas A1-An based on the discriminated result of the device 7a and regardless of the data stored in the areas F1-Fn before the processing results are once stored in the areas A1-An.

Description

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

【0001】[0001]

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

【0002】光ディスク等の記録媒体を使用したデータ
処理装置では、近年そのデータ処理速度を益々向上させ
ることが要請されている。そのため、コストアップする
ことなくデータ処理動作に要する中央処理装置としての
マイクロプロセッサの負担を軽減することにより、デー
タ処理速度を向上させることが要請されている。
In recent years, it has been demanded to further improve the data processing speed of a data processing apparatus using a recording medium such as an optical disk. Therefore, it is required to improve the data processing speed by reducing the burden on the microprocessor as a 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 device 2 is connected to a disk controller 1, and the disk device 2 records / reproduces data on / from a disk such as an optical disk based on a control signal from the disk controller 1. Take action.

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

【0005】前記ディスクコントローラ1には記憶装置
としてのローカルメモリ6が接続され、ディスク装置2
によるデータ処理結果が一時格納される。このようなデ
ィスク制御装置によるデータ処理動作において、ディス
クコントローラ1の制御に基づいてディスク装置2によ
り例えばディスクからのデータ読出し動作が行われる
と、例えば読み出されたデータが正常か否かというデー
タ処理結果(SW)が前記ローカルメモリ6に格納され
る。
A local memory 6 as a storage device is connected to the disk controller 1 and a disk device 2
The data processing result is temporarily stored. In such a data processing operation by the disk control device, when the disk device 2 performs a data read operation from the disk under the control of the disk controller 1, for example, a data process indicating whether the read data is normal or not. 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 large number of status word areas (hereinafter referred to as SW areas) A1 to An, and the processing results to be reported to the MPU 4 are sequentially sent to the SW areas 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 a discrimination signal for discriminating whether or not a processing result is stored in the SW areas A1 to An. Is provided, “1” is stored 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. It 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 the empty SW area in which 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, the processing result in the read operation under the control of the disk controller 1 is one of the SW areas A1 to A.
sequentially stored in n, for example, MPU4 after the read operation is completed.
Reads the processing results stored in each of the SW areas A1 to An sequentially to grasp the data processing status.

【0010】[0010]

【発明が解決しようとする課題】ところが、上記のよう
なディスク制御装置ではデータ処理動作の開始時におい
てMPU4はローカルメモリ6の各SW領域A1〜An
のフラグ領域F1〜Fnを「0」にリセットする必要が
ある。
However, in the disk controller as described above, the MPU 4 has the SW areas A1 to An of the local memory 6 at the start of the data processing operation.
It is necessary to reset the flag areas F1 to Fn of "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. An object of the present invention is to reduce the load on a central processing unit constituting the disk control device and speed up the data processing operation without complicating the structure of the disk control device and increasing the cost. 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 for explaining 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 temporarily stores the processing result and reports the result to the central processing unit 4.
1 to An and determination areas F1 to F for storing determination signals for determining whether or not the processing result is stored in each of the reporting areas A1 to An.
n is provided, the disk controller 7 stores the processing result in the report areas A1 to An in which the processing result is not stored based on the stored data in the determination areas F1 to Fn of the storage device 6, and Reporting area A1
When a processing result is stored in An and a new processing result occurs in that state, the disk controller is configured to end the data processing operation without storing the processing result. A discriminating device 7a for discriminating whether or not the storage of the processing results in the reporting regions A1 to An has been completed is provided, and the disk controller 7 reports the storage region of the storage device 6 based on the discrimination result of the discriminating device 7a. Until the processing results are stored in A1 to An once, the processing results are stored in the reporting areas A1 to An regardless of the stored data in the determination areas F1 to Fn.

【0013】また、図4に示すように前記記憶装置6に
は前記多数の報告領域A1〜Anに加えて、前記報告領
域A1〜Anのすべてに処理結果が格納された状態で発
生する新たな処理結果を格納してデータ処理動作を終了
するための予備報告領域Asが設けられる。
Further, as shown in FIG. 4, in addition to the large number of report areas A1 to An in the storage device 6, a new processing result is stored in all of the report areas A1 to An. 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
~ Report areas A1 to A regardless of the stored data in Fn
Sequentially stored in n.

【0015】また、図4においては前記報告領域A1〜
Anのすべてに処理結果が格納された後に新たな処理結
果が発生し、その状態では判別領域F1〜Fn内の格納
データに基づいて前記報告領域A1〜Anにはそれ以上
の処理結果を格納することができないと判別された場合
に、前記新たな処理結果は予備報告領域Asに格納さ
れ、その後にデータ処理動作が終了する。
Further, in FIG. 4, the report areas A1 to
A new processing result occurs after the processing results are stored in all An, and in that state, further processing results are stored in the report areas A1 to An based on the stored data 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 embodying the present invention will be described below with reference to FIGS. The same components as those in the above embodiment will be described with the same reference numerals.

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

【0018】また、ディスクコントローラ7にはリング
フラグ領域7aが設けられ、「1」若しくは「0」のフ
ラグが格納される。前記ディスクコントローラ7にはバ
ス3を介してMPU4及びプログラムROM8が接続さ
れ、MPU4はプログラムROM8に格納されているプ
ログラムに基づいてディスクコントローラ7を制御し、
ディスクコントローラ7は前記ディスク装置2、ローカ
ルメモリ6及び各種インターフェースに対しアクセス可
能となっている。
Further, the disk controller 7 is provided with a ring flag area 7a in which a flag of "1" or "0" is stored. An MPU 4 and a program ROM 8 are connected to the disk controller 7 via a 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 to temporarily store the data processing result by the disk device 2. In the data processing operation by such a disk controller, the disk controller 7
When a data read operation from the disk is performed by the disk device 2 under the control of, the data processing result, for example, whether the read data is normal or not 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 large number of status word areas (hereinafter referred to as SW areas) A1 to An, and the 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」が格納されている。
In order to use the SW areas A1 to An as a ring buffer, flag areas F1 to Fn are provided in the SW areas A1 to An, and the disk controller 7 is provided.
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 the empty SW area whose 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 one of the SW areas A1 to A.
sequentially stored in n, for example, MPU4 after the read operation is completed.
Sequentially reads the processing results stored in the respective SW areas A1 to An to grasp the data processing status, and returns the stored data in the flag areas F1 to Fn of the SW areas A1 to An from which the processing results are read back to “0”. .

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

【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 to the storage of the processing results in the SW areas A1 to An for one cycle, that is, the flag stored in the ring flag area 7a is "0". Between the flag areas F1 to F of the SW areas A1 to An of the local memory 6
The operation result is stored in each SW area A1 to An regardless of the stored content of n.

【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. The disk controller 7 first stores "0" in the ring flag area 7a before starting the data processing operation ( Step 1).

【0027】次いで、ディスクコントローラ7はデータ
処理動作が終了でなければ、ディスク装置2を介してデ
ィスクに対しひき続きデータ処理動作を行う(ステップ
2,3)。
Next, if the data processing operation is not completed, the disk controller 7 continues the data processing operation for 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-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 displays 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. The data are 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 has completed, the disk controller 7
Stores "1" in the ring flag area 7a (steps 7 and 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 a processing result to be stored in the SW areas A1 to An occurs (steps 2 to 4), the disk controller 7 stores "1" in the ring flag area 7a. Is determined (step 5), and the SW area A1 to be stored next is
It is determined whether the storage 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, in the state where the processing result is stored in each of the 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 SW area A1 is set by the MPU4.
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 empty 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 MPU4 at the start of data processing operation
1 to An flag areas F1 to Fn are not reset,
While the processing results are stored in the SW areas A1 to An for one cycle, 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
Since the reset operation of the flag areas F1 to Fn of the local memory 6 by 4 can be omitted, the load of 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 embodying 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.
In addition to ~ An, a spare SW area As is provided.

【0039】そして、ディスクコントローラ7は常には
予備SW領域Asを使用することなくSW領域A1〜A
nをリングバッファとして使用し、前記SW領域A1〜
Anに空き領域が存在しない場合で、新たに格納すべき
処理結果が発生した場合には、その処理結果を前記予備
SW領域Asに格納するように動作する。
The disk controller 7 does not always use the spare SW area As, but the SW areas A1 to A
n is used as a ring buffer, and the SW areas A1 to
When there is no free area in An and a processing result to be newly stored occurs, the processing result is stored 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 those 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 result to be stored in the SW areas A1 to An is completed, and the flag area F of the SW areas A1 to An to be stored next is completed.
When the stored contents of 1 to Fn are "1", SW
When a new processing result to be stored in the area is generated, the disk controller 7 stores the processing result in the spare SW area A.
s (step 11), and then 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 SW area A1 to An of the local memory 6 is used as a ring buffer and the processing result is stored in all of the SW areas A1 to An, and a processing result to be newly stored occurs, The processing result is referred to as the preliminary S
Store in the W area As.

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

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

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

【0046】[0046]

【発明の効果】以上詳述したように、この発明はディス
ク制御装置の構成を複雑化してコストを増大させること
なく、同ディスク制御装置を構成するMPUの負担を軽
減してデータ処理動作の高速化を図ることができる優れ
た効果を発揮する。
As described in detail above, the present invention does not complicate the structure of the disk control device and increase the cost, but the load of the MPU forming the disk control device is reduced and the data processing speed is increased. Exerts an excellent effect that can be achieved.

【図面の簡単な説明】[Brief description of 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 first and second embodiments.

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

【図4】第二の実施例のローカルメモリを示す説明図で
ある。
FIG. 4 is an explanatory diagram showing 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 to An Reporting Area F1 to Fn Discriminating Area

Claims (2)

【特許請求の範囲】[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)に格納すること
を特徴とするディスク制御装置。
1. A disk controller (7) for performing a data processing operation on a disk for recording or reproducing data, and 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 unit (6) temporarily stores the processing result and reports it to the central processing unit (4). In addition to having reporting areas (A1 to An), each reporting area (A1 to A)
n) is provided with a determination area (F1 to Fn) for storing a determination signal for determining whether or not the processing result is stored in the report area, and the disk controller (7) is the storage device. (6)
Report areas (A1 to An) in which the processing result is not stored based on the stored data in the determination areas (F1 to Fn)
The processing result is stored in and all report areas (A
1-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 reporting area (A
1 to An) is provided with a discriminating device (7a) for discriminating whether or not the storage of the processing result has completed one round, and the disk controller (7) is provided with the discriminating device (7).
The processing result is stored regardless of the data stored in the determination area (F1 to Fn) until the processing area is completely stored in the report area (A1 to An) of the storage device (6) based on the determination result of a). Is stored in the report area (A1 to An).
【請求項2】 前記記憶装置(6)には前記多数の報告
領域(A1〜An)に加えて、前記報告領域(A1〜A
n)のすべてに処理結果が格納された状態で発生する新
たな処理結果を格納してデータ処理動作を終了するため
の予備報告領域(As)を設けたことを特徴とする請求
項1記載のディスク制御装置。
2. The storage device (6) includes the report areas (A1 to A) in addition to the plurality of report areas (A1 to An).
2. A preliminary report area (As) for terminating a data processing operation by storing a new processing result generated in the state where the processing result is stored in all of n) is provided. Disk controller.
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 true JPH0635832A (en) 1994-02-10
JP3264985B2 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
JP3264985B2 (en) 2002-03-11

Similar Documents

Publication Publication Date Title
US5745445A (en) Digital recording and reproducing apparatus and method which prevents or manages a data loss
JPH08106733A (en) Information storage-medium utilization system
JPH08115290A (en) Data transfer device
US6223243B1 (en) Access control method with plural users having I/O commands prioritized in queues corresponding to plural memory units
JP3264985B2 (en) Disk controller
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
JP3498651B2 (en) Disk control device, disk device, disk control system, retry frequency control method, and recording medium
JPH01147618A (en) Analog/digital converter
JP2003099294A (en) Data recording device
JP5277893B2 (en) Debugging support apparatus and debugging support method
JPH08278938A (en) Dma device
JPH01243268A (en) Data recording control system
JP3184149B2 (en) Asynchronous data update method
JPH06202715A (en) State change detecting and recording circuit
JPH10177764A (en) Optical disk recording device
JPH09114598A (en) Disk cache device
JP3011535B2 (en) Information storage device using CD-ROM drive
JPH0628779A (en) Method for recording and controlling data in disk device
JPH09198305A (en) Memory controller
JP2845746B2 (en) Micro program controller
JPH0676077A (en) Method for gathering and retrieving data
JPH04341977A (en) Data reproducing control system
JPH05241852A (en) Interruption generating device for information processing system
JPS63123140A (en) History information storage device

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