JPS6084632A - Disk controller - Google Patents

Disk controller

Info

Publication number
JPS6084632A
JPS6084632A JP19392983A JP19392983A JPS6084632A JP S6084632 A JPS6084632 A JP S6084632A JP 19392983 A JP19392983 A JP 19392983A JP 19392983 A JP19392983 A JP 19392983A JP S6084632 A JPS6084632 A JP S6084632A
Authority
JP
Japan
Prior art keywords
data
error
sector
buffer memory
detected
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
JP19392983A
Other languages
Japanese (ja)
Inventor
Toshifumi Matsuo
松尾 敏文
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon Electric Co 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP19392983A priority Critical patent/JPS6084632A/en
Publication of JPS6084632A publication Critical patent/JPS6084632A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To perform rewriting processing in a short time without using a common data transfer path by rewriting the data of a buffer memory corresponding to data in a sector where an error is detected in a substitutive sector. CONSTITUTION:Data read out of a main storage device 1 is sent out to an optical disk device 6 through a bus 2, DMA control circuit 3, buffer memory 4, and optical disk control circuit 5. The optical disk controller 5 checks on whether an error occurs to data written right after writing operation. If the error is detected, the sector number of the error detection is held and readout error chekcing operation is carried on. The data corresponding to the error-detected sector is rewritten in a substitutive sector #n+m from a sector #n+1 after a check on a readout error of the written data is made. In this case, the start and end addresses of data of the error-detected sector in the buffer memory are set in counters 8 and 9 and the data between them are sent out.

Description

【発明の詳細な説明】 この発明(tよ主記憶装置、共通データ転送路、ディス
ク装置を含むデータ処理/ステムに用いられ、前記ディ
スク装置を制御するディスク制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a disk control device used in a data processing/system including a main storage device, a common data transfer path, and a disk device, and which controls the disk device.

〈従来技術〉 従来の光ディスク制御装置においては、1込み直後のエ
ラー検出に伴う再噛込み処理は、4jJ書込みに用いる
テークを再び主記憶装置より共通データ転送路を介して
読出し、光デイスク装置へ舊#;込みをするという方法
が用いられてきた。したがって、再P)込みの除1c主
記憶装首より読出すために相込み動作が遅れ、寸だ、共
通データ転送りンを使用するだめに、共通データ転送路
に接続される他の入出力flill Q4j!4・ξ置
のデータ転送を1訂害するという欠点があった。
<Prior art> In a conventional optical disk control device, the re-biting process that occurs when an error is detected immediately after 1 writing is performed by reading out the take used for 4jJ writing again from the main storage device via the common data transfer path and sending it to the optical disk device. A method called 舊#;include has been used. Therefore, the phase-in operation is delayed due to the readout from the main memory, and other input/outputs connected to the common data transfer path cannot use the common data transfer path. flill Q4j! There was a drawback that data transfer at position 4 and ξ was impaired.

〈発明の目的〉 この発明の目的は光ティスフ装置の再岩込み処理におい
て、共通データ転送路を使用することなしに短かい処理
時間で杓書込み動作を男能とするディスク制御装置を提
供することにある。
<Object of the Invention> The object of the present invention is to provide a disk control device that can efficiently perform a write operation in a short processing time without using a common data transfer path in the reloading process of an optical disk device. It is in.

〈発明の概要〉 この発明によれば、主記憶装置、共通データ転送路、デ
ィスク制御装置およびティスフ装置を含むデータ処理/
ステムにおいて、前記主記憶装置および前記ディスク制
御装置行は前記共通データ転送路に接続され、前記ディ
スク制御装置は前記ティスフ装置の最大転送単位よりも
大きな容量のバッファメモリと、直接メモリアクセス回
路とバッファメモリとの間のデータ転送を制御する第1
のアドレスカウンタ回路と、ディスク開側1回路及びバ
ッファメモリ間のデータ転送を:l1ll Qllする
第2のアドレスカラ/り回路と、第1および、、1:5
2のアドレスカウンタ回路を匍j御する回+1′″′6
とを含み、ティスフ装置の許込み動作実行直後に1込ん
だデータのエラーの有無を検出するエラーチェック動作
を実行し、エラーが検出された場合、前記主記憶装置か
ら再びデータ転送することなしに、エラー検出されたセ
クタのデータに相当する前記バッファメモリ内のデータ
を前記ティスフ装置i”iの代替セクタに再省−込みす
る。
<Summary of the Invention> According to the present invention, a data processing/processing system including a main storage device, a common data transfer path, a disk control device, and a tisf device.
In the system, the main storage device and the disk control device row are connected to the common data transfer path, and the disk control device has a buffer memory with a capacity larger than the maximum transfer unit of the disk device, a direct memory access circuit, and a buffer. The first one controls data transfer to and from memory.
an address counter circuit, a second address color/recircuit that performs data transfer between the disk open side circuit and the buffer memory, and the first and...
2 times to control the address counter circuit + 1''''6
Immediately after executing the permission operation of the tisf device, an error check operation is executed to detect the presence or absence of an error in the input data, and if an error is detected, the data is not transferred again from the main storage device. , the data in the buffer memory corresponding to the data in the sector in which the error has been detected is re-introduced into the alternative sector of the tisf device i''i.

〈実施例〉 次にこの発明の実施例について、図面を参照して説明す
る。第1図はこの発明の一実/Ii!i’611に用い
られる光デイスク媒体上に喘込まれるトラックフォーマ
ットを示し、第2図はこの発明の一実施例における光デ
イスク制御装置を示す。第21スにおいて主記憶装置1
と共通データ転送路2(以後バスと略す)を介して直接
アクセスし得る直接メモリアクセス(以後DMA )制
御回路3と、光ティスフ装置6を制御する光デイスク制
御回路5と、光デイスク装置6の最大転送単位よりも大
きな容量をもつバッファメモリ4と、I)I’v’lA
制御回路3及びバッファメモリ4間のデータ転送を制御
するアドレスカウンタ回路7(以後第1のカウンタと略
す)と、光デイスク制御回路5及びバッファメモリ4間
のデータ転送を制御するアトレスカウ/り回路8(以後
第2のカウンタと略す)と、第10カウンタ7及び第2
のカラ/り8を制御するカウンタ制御回路9とが設けら
れる。
<Example> Next, an example of the present invention will be described with reference to the drawings. Figure 1 is a fruit of this invention/Ii! FIG. 2 shows a track format written on an optical disk medium used in i'611, and FIG. 2 shows an optical disk control device in an embodiment of the present invention. In the 21st step, main memory 1
a direct memory access (hereinafter referred to as DMA) control circuit 3 that can be directly accessed via a common data transfer path 2 (hereinafter referred to as bus); an optical disk control circuit 5 that controls the optical disk device 6; A buffer memory 4 having a capacity larger than the transfer unit, and I) I'v'lA.
An address counter circuit 7 (hereinafter referred to as a first counter) that controls data transfer between the control circuit 3 and the buffer memory 4; and an address counter circuit 8 that controls data transfer between the optical disk control circuit 5 and the buffer memory 4. (hereinafter abbreviated as the second counter), the tenth counter 7 and the second counter
A counter control circuit 9 for controlling the colors/returns 8 is provided.

DMA制御1に)路3はバス2を介して主記憶装置1に
接続され、かつバッファメモリ4に接続されている。ま
た、光デイスク制御回路5はバッファメモリ4と光デイ
スク装置6とに接続され、これらの間のデータの送受を
制御する。また、光デイスク制御回路5はDIV[A制
御回路3と信号線10を介して接わ、され、各種の制御
信号を送受するように構成されている。DMA制御回路
3.バッファメモリ4、ディスク制御回路5.第1.第
2のカウンタ7.8及びカウンタ制御回路9は光デイス
ク制御装置11を構成している。
The DMA control path 3 is connected via a bus 2 to the main memory 1 and to a buffer memory 4 . Further, the optical disk control circuit 5 is connected to the buffer memory 4 and the optical disk device 6, and controls the transmission and reception of data between them. Further, the optical disk control circuit 5 is connected to the DIV[A control circuit 3 via a signal line 10, and is configured to transmit and receive various control signals. DMA control circuit 3. Buffer memory 4, disk control circuit 5. 1st. The second counter 7.8 and the counter control circuit 9 constitute an optical disk control device 11.

主記憶装置1より読出されたデータは、バス2゜DMA
 G11ll It回路3.バッファメモリ4.光デイ
スク制御回路5を通って光ティスフ装置6に送出され、
第1図におけるセクタf?1からセクタ+nの原始セク
タに書込まれるが、一旦先入れ先出しくFIFO)メモ
リとしての機能を有するバッファメモリ4に記憶される
。このバッファメモリ4はDMA制嶺1(回路3とバッ
ファメモリ4との間の転送制御を第1のカウンタ7によ
って行われ、寸た光ディスク制御回路5とバッファメモ
リ4との間の転送制御を第2のカウンタ8によって行わ
れる。
The data read from main memory 1 is transferred to bus 2゜DMA.
G11ll It circuit 3. Buffer memory 4. It is sent to the optical disk device 6 through the optical disk control circuit 5,
Sector f in Figure 1? The data is written in the primitive sectors 1 to sector+n, but is once stored in the buffer memory 4 which functions as a first-in, first-out (FIFO) memory. This buffer memory 4 has a DMA control circuit 1 (a first counter 7 controls the transfer between the circuit 3 and the buffer memory 4, and a first counter 7 controls the transfer between the optical disk control circuit 5 and the buffer memory 4). This is done by the counter 8 of 2.

元ディスク制御装置5[徘込み動作終了直後に碧込んだ
データのエラーの有無をチェックする/Cめに光デイス
ク装置6よシ■込んだデータをムグc出し、光テイスク
j!i制御回路5でエラーチェック動作を実行する。こ
こで、エラーを検出した場合エラー検出のセクタ信号を
保持し、Mシ出しエラーチェック動作を継続する。招込
んだデータの読出しエラーチェック動作終了後に、エラ
ーイカ出のセクタに相当するデータをセクタ+11+1
からセクタ≠n 十mの代替セクタの空きセクタに再釈
込みを実行する際に、バッファメモリ4のエラー杉ミ出
セクタのデータの先ν■1VC相当するアドレスを第2
のカウンタ8にセットし、データの最後に相当するアド
レスを第1のカウンタ9にセソトシ、その間のデータを
光ティスフ装置6に送出することにより再■込みを実行
する。
The original disk control device 5 [Checks whether there are any errors in the data that has entered immediately after the end of the prowling operation/C outputs the data that was inserted into the optical disk device 6, and then outputs the data from the optical disk device 6. The i control circuit 5 executes an error check operation. Here, if an error is detected, the sector signal of error detection is held and the M-shape output error check operation is continued. After the read error check operation of the introduced data is completed, the data corresponding to the sector where the error occurred is transferred to sectors +11+1.
sector ≠ n When reinterpretation is executed to a free sector in the 10m alternative sector, the address corresponding to ν■1VC of the data in the error sector of the buffer memory 4 is set to the second address.
The first counter 8 is set to the address corresponding to the end of the data, and the address corresponding to the end of the data is set to the first counter 9, and the data in between is sent to the optical display device 6, thereby executing reloading.

この発明は光ティスフ’、!′、:fFffに対する制
御のみ在らず、一般の磁気ティスフ装置に対する磁気テ
イスク:lj制御装拗にも増用できる。
This invention is light! ′, :fFff, and can also be used to control magnetic tasks :lj for general magnetic tisf devices.

〈効 果〉 以上述べた様に、この発明の光ティスフ制御装置によれ
は、光ティスフ装置の再1込み処理において共通データ
転送路を防用することなしに短かい処理時間で再言込み
動作を実行することがn]能である。
<Effects> As described above, the optical tisf control device of the present invention enables reprogramming operation in a short processing time without blocking the common data transfer path during the reprogramming process of the optical tisf device. It is possible to carry out n].

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

第1図はこの発明の一実施例に用いる光ティスフ媒体」
二のトラックフォーマットを示ず図、第2図はこの発I
JIJの一実施例である光デイスク11ノリ御払置を示
すブロック・1ン1である。 1:主記憶装置、2:共〕4Jテータ転送路(バス)、
3:直接メモリアクセス(DMA )制御回1111゜
4:バッファノモリ、5:光ティスフ制御l111回路
、6:光ティスフk wL 、7 : m 1のアドレ
スカウンタ回路、8:第2のアドレスカウンタ回路、9
:カウンタ制御回113、Jl:光ティスクili制御
装置。 特許出願人 日本電気株式会社 代 理 人 草 野 卓
Figure 1 shows an optical tisf medium used in an embodiment of this invention.
Figure 2 does not show the track format of this release.
This is block 1/1 showing the installation of an optical disk 11, which is an example of JIJ. 1: Main memory, 2: 4J data transfer path (bus),
3: Direct memory access (DMA) control circuit 1111° 4: Buffer memory, 5: Optical Tisp control l111 circuit, 6: Optical Tisp kwL, 7: Address counter circuit for m1, 8: Second address counter circuit , 9
: Counter control circuit 113, Jl: Optical disk ili control device. Patent applicant: Takashi Kusano, representative of NEC Corporation

Claims (1)

【特許請求の範囲】[Claims] (1)共通データ転送路にそれぞれ接ワ」ユされた主記
憶装置およびディスク制御装僧とそのディスク制御装置
によりfii制御されるディスク装置とを含むテーク処
理システムにおいて、前記ディスク制御装置は、前記デ
ィスク装置の最大転送単位よりも大きな容量のバッファ
メモリと、直J汐メモリアクセス回路及び前記バッファ
メモリ間のデータ転送を制御する第1のアドレスカウン
タ回路と、ティスフ制御回路及び前記バッファメモリ間
のデータ転送を制御する第2のアドレスカウンタ回路と
、これら第1および第2のアドレスカウンタ回路を制征
]する回路とを含み、内弓記テイスク装置〜゛の甲1込
み動作実行直後に書込んだテークのエラーの有dlj]
iを検出するエラーチェック動作を実行し、エラーが検
出された場合そのエラー検出されたセクタのテークに相
当する前記バッファメモリ内のテークを前記ディスク装
置の代替セクタに再倒込みすることをqh長とするディ
スク制御装置。
(1) In a take processing system including a main storage device and a disk control device connected to a common data transfer path, and a disk device controlled by the disk control device, the disk control device a buffer memory with a capacity larger than the maximum transfer unit of a disk device, a direct memory access circuit and a first address counter circuit for controlling data transfer between the buffer memory, a transfer control circuit and data between the buffer memory; It includes a second address counter circuit for controlling transfer and a circuit for controlling these first and second address counter circuits. Take error dlj]
i, and if an error is detected, the take in the buffer memory corresponding to the take in the sector in which the error was detected is repopulated to an alternative sector of the disk device for a length of qh. Disk control device.
JP19392983A 1983-10-17 1983-10-17 Disk controller Pending JPS6084632A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19392983A JPS6084632A (en) 1983-10-17 1983-10-17 Disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19392983A JPS6084632A (en) 1983-10-17 1983-10-17 Disk controller

Publications (1)

Publication Number Publication Date
JPS6084632A true JPS6084632A (en) 1985-05-14

Family

ID=16316087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19392983A Pending JPS6084632A (en) 1983-10-17 1983-10-17 Disk controller

Country Status (1)

Country Link
JP (1) JPS6084632A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02504083A (en) * 1987-07-02 1990-11-22 エクサバイト・コーポレーシヨン Method and apparatus for data buffer management
JPH0337710A (en) * 1989-07-05 1991-02-19 Nec Corp Optical disk controller

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02504083A (en) * 1987-07-02 1990-11-22 エクサバイト・コーポレーシヨン Method and apparatus for data buffer management
JPH0337710A (en) * 1989-07-05 1991-02-19 Nec Corp Optical disk controller

Similar Documents

Publication Publication Date Title
US6588010B1 (en) Computer system and method of modifying program in the computer system
JPS6084632A (en) Disk controller
JPS5938930A (en) Optical disk controller
JPS61127026A (en) Optical disk controller
JPH03184135A (en) Data processor
JPS59111533A (en) Digital data arithmetic circuit
JPS58200351A (en) Error correcting circuit
JPH0814807B2 (en) Storage system
JPS61127025A (en) Optical disk controller
JP3114177B2 (en) Error correction circuit
JP2888062B2 (en) Information processing device
JPH01158554A (en) Data processing system providing dma device
JPS6027049A (en) Memory device
JPH0199138A (en) Information history storage
JPH022778A (en) Method for interfacing with cpu
JPS6230662B2 (en)
JPH0357015A (en) Electronic disk subsystem
JPH045222B2 (en)
JPS62219388A (en) Control system for erasure and reproduction of data
JPS58192123A (en) Device for transferring and controlling input and output data
JPS6051940A (en) Buffer controlling system
JPS6047626B2 (en) Data buffer control method
JPS5920135B2 (en) Data transfer method
JPS5915876A (en) Apparatus for storing circuit operation
JPS6023429B2 (en) Storage device