Apparatus and method of performing in a disk drive commands...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S114000

Reexamination Certificate

active

06523142

ABSTRACT:

BACKGROUND OF THE INVENTION
The present invention relates to a disk drive such as a hard disk drive, and also a method of performing, in a disk drive, commands issued from a host system.
A hard disk drive (HDD) has a head, an encoder and a decoder. The head can write data on a disk-shaped recording medium (hereinafter referred to as “disk”) in accordance with a write command supplied from a host system (e.g., a digital apparatus such as a personal computer). The head can read data from the disk in accordance with a read command supplied from the host system. To enable the head to write data on the disk, the encoder converts the data transferred from the host system, to write data than can be magnetically recorded on the disk. In the data-reading operation, the decoder decodes the data read by the head from the disk, to the original data.
The HDD comprises a disk controller (HDC) and a buffer memory (i.e., a DRAM). The HDC has a host interface for controlling the transfer of the write command, the read command, the write data (i.e., data to be written on the disk), and the read data (i.e., data read from the disk), between the HDD and the host system. The HDC controls the buffer memory, which is also known as “sector buffer.” Controlled by the HDC, the buffer memory temporarily stores the write data transferred from the host system or the read data output from the decoder.
In the data-reading operation, the HDC starts transferring the read data when the sector buffer accumulates a predetermined amount of data (usually, one sector of data). For example, an HDC having an IDE (Intelligent Drive Electronics) interface starts transferring the read data when the sector buffer accumulates at least 512 bytes of data, which is one sector of data. The HDC has a sector counter that detects the amount of data stored in the sector buffer. The count of the sector counter increases by one every time one sector of data (i.e., 512 bytes) is read from the disk and stored into the sector buffer.
Usually, the data-transferring speed at which data is read from the disk and store it into the sector buffer is lower than the speed at which data is read from the sector buffer and transfer it to the host system. Hence, when one sector of data is transferred from the sector buffer to the host system, the next sector of data to be transferred to the host system may not be stored into the sector buffer. If this happens, the host system needs to wait until the next sector of data is stored into the sector buffer in the HDD.
In recent years, HDDs are used not only in computers, but also as digital media for recording digital data such as audio data and video data (including still pictures). Digital data is continuous data, such as a stream of images, and is processed in large units. An HDD must therefore read a prescribed amount of data from the disk and transfer it to the host system within a predetermined time during the data-reproducing operation. The host system processes, for example, video data transferred from the HDD, so that the data may be displayed on the screen of a display. Generally, the speed of processing the data transferred from the HDD is lower than the speed of transferring the data from the HDD to the host system.
Assume that the host system issues a read command to the HDC provided in the HDD, at regular intervals T, or at time IS
0
, time IS
1
, time IS
2
and time IS
3
, as is illustrated in FIG.
22
A. In response to the read command, the HDC transfers the desired read data to the host system for a time DT as shown in
FIG. 22B
, in response to the read command. In most cases, the desired data is stored in the sector buffer, and the HDC reads the transmits the data from the sector buffer and transfers it to the host system. If the desired data is not stored in the sector buffer, the HDC reads the desired data from the disk, stores it into the sector buffer, and transfers it from the sector buffer to the host system. The host system processes the desired data (so as to display images represented by the data). Until the host system receives all desired data, it keeps issuing the read command repeatedly and processing the parts of the desired data, as is illustrated in FIG.
22
C.
During the data-reading operation, a read error may occur while the head (i.e., read head) is reading data from the disk. In this case, the head reads again the data recorded from that sector of the disk, where the read error has taken place. (Namely, read retry is carried out.) The read retry is repeated a predetermined number of times (e.g., at most 30 times). Therefore, it usually takes much time to read the data from the sector where the read error has occurred.
The process of transferring data, in which the read retry must be performed, will be explained with reference to
FIGS. 23A
to
23
C. Assume that the host system issues a read command at time IS
0
as is shown in FIG.
23
A. In response to the read command the HDC starts transferring data at time TS
1
, as is illustrated in FIG.
23
B.
The data which the host system has requested for is not stored in the sector buffer, and the data may therefore be read from the disk. Assume that an error occurs in, for example, the second sector of the disk during the data-reading operation, and that data is read from the disk after the read retry has been repeated 30 times at each sector of the disk. Then, the transfer of data is interrupted for a period
220
as shown in
FIG. 23B
, between the time the first data is transferred in response to the read command issued at time IS
0
and the next data
221
is transferred.
In the HDD, once the first read retry has failed at any sector of the disk, the second read retry cannot be effected until the disk rotates about 360° when that sector moves again to the read head. Assume that the disk is rotating at 4200 rpm, and that the host system issues a read command at intervals T of 50 ms. Hence, about 42 ms is required to perform the read retry 30 times at the sector where the read error has occurred. This period of time is shorter than the command-issuing interval T (50 ms). Should a read error take place at another sector, another 42 ms period is required for the read try.
If read errors take place at two sectors, the first read command issued at time IS
0
is not performed at time IS
1
when the host system must issue the second read command. In other words, the HDD has not transferred the data
221
to the host system in response to the first read command, even at time IS
1
when the host system needs to issue the second read command. Hence, the host system cannot issue the second read command at time IS
1
. At time IS
1
at which the host system should issue the second read command, the host system is processing the data the HDD transferred in response to the first read command, as is illustrated in FIG.
23
C. After the host system finishes processing the data, it will process no data for periods
222
and
223
. This is because it has not issue the second read command to the HDD and, hence, the HDD cannot read data to transfer to the host system. Such interruption of data processing in the host system takes place particularly when the host system processes video data that must be processed continuously.
As described above, when a read error occurs while the HDD is transferring data to the host system in response to the read commands issued by the host system has at regular intervals, the transfer of the data is interrupted. Consequently, the data processing in the host system is interrupted, and the data output from the host system is incomplete if the data processed by the host system is continuous data, such as a stream of images. In short, the conventional HDD requires much more time to perform a command when an error (particularly, a read error) occurs than when no errors occur at all.
To solve this problem, a system has been proposed which limits the time the HDD needs to transfer files from the HDD to the host system, thereby to minimizing the delay in the data processing performed in the host system. In t

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Apparatus and method of performing in a disk drive commands... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Apparatus and method of performing in a disk drive commands..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Apparatus and method of performing in a disk drive commands... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3178195

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.