JP2002093025A - Magnetic disk drive and data access method - Google Patents

Magnetic disk drive and data access method

Info

Publication number
JP2002093025A
JP2002093025A JP2000286225A JP2000286225A JP2002093025A JP 2002093025 A JP2002093025 A JP 2002093025A JP 2000286225 A JP2000286225 A JP 2000286225A JP 2000286225 A JP2000286225 A JP 2000286225A JP 2002093025 A JP2002093025 A JP 2002093025A
Authority
JP
Japan
Prior art keywords
magnetic disk
data
speed
rotation
mode
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.)
Withdrawn
Application number
JP2000286225A
Other languages
Japanese (ja)
Inventor
Yutaka Arakawa
豊 荒川
Riyouichi Sehori
良一 瀬堀
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000286225A priority Critical patent/JP2002093025A/en
Publication of JP2002093025A publication Critical patent/JP2002093025A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten the time delay in data access. SOLUTION: This magnetic disk drive 11 is provided with a low-speed (AV) mode for reading and writing AV data in addition to a high-speed (normal) mode for reading and writing computer data.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、磁気ディスク装置
およびデータアクセス方法に関し、特に、AV(Aud
io/Video)データをハードディスクに記憶する
場合に適用して好適なものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a magnetic disk drive and a data access method, and more particularly to an AV (Aud).
(io / Video) data is suitable for storage in a hard disk.

【0002】[0002]

【従来の技術】近年、AV対応HDD(ハードディスク
ドライブ)が普及してきており、このAV対応HDDで
は、コンピュータ用データに加え、AVデータもハード
ディスク上に記録することができる。
2. Description of the Related Art In recent years, AV-compatible HDDs (hard disk drives) have become widespread. In such AV-compatible HDDs, in addition to computer data, AV data can be recorded on a hard disk.

【0003】ここで、コンピュータ用データは、コンピ
ュータでの処理に使われるため、できる限り高速、かつ
エラーなしで読み書きできることが必要とされる。この
ため、従来のHDDでは、ハードディスクをできる限り
高速回転させることにより、高速読み書きを実現してい
る(通常モード)。
Here, since computer data is used for processing in a computer, it is necessary that the data can be read and written as fast as possible and without errors. For this reason, in the conventional HDD, high-speed reading / writing is realized by rotating the hard disk as fast as possible (normal mode).

【0004】一方、AVデータは、人間が映像や音声と
して見たり聞いたりするため、コンピュータ用データの
読み書きと同様の速度で送出すると、その送出速度が速
すぎて、人間にとっては意味のない映像や音声となる。
[0004] On the other hand, since AV data is viewed and heard by humans as video and audio, if it is transmitted at the same speed as reading and writing of computer data, the transmission speed is too high and the video is meaningless to humans. Or voice.

【0005】このため、従来のAV対応HDDでは、A
Vモードを設けてHDDの挙動を制御し、ホスト側でバ
ッファリングを行って送出速度を調節するとともに、読
み出したデータに多少のエラーがあったとしても、ホス
ト側にダミーデータを送るなどして転送が途切れないよ
うに制御することが行われていた。
For this reason, in a conventional AV-compatible HDD, A
The V mode is provided to control the behavior of the HDD, buffering is performed on the host side to adjust the sending speed, and even if there is some error in the read data, dummy data is sent to the host side. Control was performed so that transfer was not interrupted.

【0006】また、従来のHDDでは、機器が稼働中で
もHDDのモータを停止させる省電力モードが設けるこ
とにより、HDDを内蔵する携帯機器などの消費電力を
減らすことが行われている。
[0006] In the conventional HDD, a power saving mode for stopping the motor of the HDD even while the device is operating is provided, thereby reducing the power consumption of a portable device having a built-in HDD.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、AVデ
ータの読み書きを行う場合にも、ハードディスクを必要
以上に高速回転させるのは、消費電力の浪費になるとと
もに、AVデータにアクセス可能となるまでの時間遅れ
が増大するという問題があった。特に、省電力モードで
は、モータがOFF状態から通常モードの回転速度にな
るには数秒程度かかり、ユーザの使用状況によっては、
このような動作が頻繁に行われるため、上述した問題は
より一層顕著になる。
However, even when reading / writing AV data, rotating the hard disk at a higher speed than necessary wastes power consumption and takes time until the AV data can be accessed. There was a problem that the delay increased. In particular, in the power saving mode, it takes about several seconds for the motor to change from the OFF state to the rotation speed in the normal mode, and depending on the use situation of the user,
Since such an operation is frequently performed, the above-mentioned problem becomes more remarkable.

【0008】そこで、本発明の目的は、データアクセス
時における時間遅れを短縮することが可能な磁気ディス
ク装置およびデータアクセス方法を提供することであ
る。
An object of the present invention is to provide a magnetic disk drive and a data access method capable of reducing a time delay at the time of data access.

【0009】[0009]

【課題を解決するための手段】上述した課題を解決する
ために、請求項1記載の発明によれば、コンピュータ用
データのアクセスのために磁気ディスクの回転数を設定
する第1回転数設定手段と、AVデータのアクセスのた
めに磁気ディスクの回転数を設定する第2回転数設定手
段と、前記磁気ディスクが前記第1回転数設定手段で設
定された回転数で回転している時に、コンピュータ用デ
ータのアクセスを行う第1アクセス手段と、前記磁気デ
ィスクが前記第2回転数設定手段で設定された回転数で
回転している時に、AVデータのアクセスを行う第2ア
クセス手段とを備えることを特徴とする。
According to the first aspect of the present invention, there is provided a first rotation speed setting means for setting a rotation speed of a magnetic disk for accessing computer data. Second rotation speed setting means for setting the rotation speed of the magnetic disk for accessing the AV data; and a computer when the magnetic disk is rotating at the rotation speed set by the first rotation speed setting device. First access means for accessing data for use, and second access means for accessing AV data when the magnetic disk is rotating at the rotation speed set by the second rotation speed setting means. It is characterized by.

【0010】これにより、AVデータのアクセスを行う
場合、コンピュータ用データにアクセスする時の磁気デ
ィスクの回転数よりも低く設定することが可能となり、
モータの起動から所定の回転数に達するまでの時間を短
縮してアクセス時間を低減することが可能となるととも
に、消費電力を低減することが可能となる。
Thus, when accessing the AV data, it is possible to set the rotation speed lower than the rotation speed of the magnetic disk when accessing the computer data.
The access time can be reduced by shortening the time from the start of the motor until the rotation reaches a predetermined number of revolutions, and the power consumption can be reduced.

【0011】また、請求項2記載の発明によれば、デー
タの記憶を行うキャッシュメモリと、前記AVデータを
前記磁気ディスクに書き込む場合、前記キャッシュメモ
リの記憶領域を全て書き込み用に割り当てる割当手段を
さらに備えることを特徴とする。
According to the second aspect of the present invention, there is provided a cache memory for storing data, and an allocating means for allocating all storage areas of the cache memory for writing when the AV data is written to the magnetic disk. It is further characterized by being provided.

【0012】これにより、モータが所定の回転数に達す
る前に、AVデータを前倒しで受け付けることが可能と
なり、アクセス時間のより一層の低減が可能となる。
Thus, before the motor reaches the predetermined number of revolutions, the AV data can be received ahead of schedule, and the access time can be further reduced.

【0013】また、請求項3記載の発明によれば、前記
磁気ディスク装置の使用が所定時間行われない場合、前
記第2回転数設定手段で設定された回転数で前記磁気デ
ィスクを回転させる第1省電力手段と、前記第2回転数
設定手段で設定された回転数で前記磁気ディスクを回転
させている時に、前記磁気ディスク装置の使用がさらに
所定時間行われない場合、前記前記磁気ディスクの回転
を停止させる第2省電力手段とをさらに備えることを特
徴とする。
According to the third aspect of the present invention, when the magnetic disk device is not used for a predetermined time, the magnetic disk is rotated at the rotation speed set by the second rotation speed setting means. (1) When the magnetic disk device is not used for a further predetermined time while the magnetic disk is being rotated at the number of revolutions set by the second number-of-rotation setting means, the power of the magnetic disk is And a second power saving means for stopping rotation.

【0014】これにより、AVデータの書き込み/読み
出し要求に即座に対応することを可能としつつ、消費電
力の低減を図ることが可能となる。
As a result, power consumption can be reduced while immediately responding to AV data write / read requests.

【0015】[0015]

【発明の実施の形態】以下、本発明の一実施形態に係わ
る磁気ディスク装置について図面を参照しながら説明す
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a magnetic disk drive according to an embodiment of the present invention will be described with reference to the drawings.

【0016】図1は、本発明の一実施形態に係わる磁気
ディスク装置の概略構成を示すブロック図である。図1
において、磁気ディスク装置11には、磁気ディスク1
2、スピンドルモータ13、モータドライバ14、磁気
ヘッド15、ボイスコイルモータ(VCM)16、ヘッ
ドIC17、バス18、CPU19、RAM20、ハー
ドディスクコントローラ(HDC)22、バッファRA
M23、ゲートアレイ24およびリード/ライトIC2
5が設けられるとともに、ホストシステム26と接続さ
れ、ホストシステム26とデータの送受信を行う。
FIG. 1 is a block diagram showing a schematic configuration of a magnetic disk drive according to an embodiment of the present invention. FIG.
In the magnetic disk device 11, the magnetic disk 1
2, spindle motor 13, motor driver 14, magnetic head 15, voice coil motor (VCM) 16, head IC 17, bus 18, CPU 19, RAM 20, hard disk controller (HDC) 22, buffer RA
M23, gate array 24 and read / write IC2
5 is provided and connected to the host system 26 to transmit and receive data to and from the host system 26.

【0017】ROM21には、コンピュータ用データ
(パソコンのプログラムやデータなど)やAVデータ
(動画像データや音声データなど)の読み出し/書き込
みを行うための制御プログラムの他に、スピンドルモー
タ13の回転数を制御したり、磁気ヘッド15を最適な
位置に移動させたりするための制御データや格納されて
いる。ここで、制御データとして、高速(通常)モード
用と低速(AV)モード用の複数の制御データが格納さ
れ、スピンドルモータ13の回転数に応じて磁気ヘッド
15の位置が最適となるように制御される。
The ROM 21 includes a control program for reading / writing computer data (such as personal computer programs and data) and AV data (such as moving image data and audio data), as well as the rotational speed of the spindle motor 13. , And control data for moving the magnetic head 15 to an optimum position and the like. Here, a plurality of control data for a high-speed (normal) mode and a low-speed (AV) mode are stored as control data, and control is performed such that the position of the magnetic head 15 is optimized according to the rotation speed of the spindle motor 13. Is done.

【0018】ホストシステム26は、磁気ディスク装置
11に対し、コンピュータ用データまたはAVデータの
読み出し/書き込み要求を行う。
The host system 26 requests the magnetic disk device 11 to read / write computer data or AV data.

【0019】磁気ディスク装置11は、コンピュータ用
データの読み出し要求があると、ROM21から高速
(通常)モード用の制御データを読み出す。モータドラ
イバ14は、この制御データに基づいて、スピンドルモ
ータ13の回転速度を制御し、磁気ディスク12を高速
回転させるとともに、VCM16により磁気ヘッド15
の位置を制御させる。そして、磁気ディスク12が所定
の高速回転速度に達すると、磁気ヘッド15により読み
取られたコンピュータ用データをヘッドIC17で増幅
し、リード/ライトIC25でシリアル/パラレル変換
を行った後、HDC22に転送する。HDC22は、リ
ード/ライトIC25から送られたデータをバッファR
AM23にバッファリングし、ホストシステム26が要
求するセクタ単位でデータを送出する。
When there is a request to read computer data, the magnetic disk device 11 reads high-speed (normal) mode control data from the ROM 21. The motor driver 14 controls the rotation speed of the spindle motor 13 based on the control data, rotates the magnetic disk 12 at a high speed, and controls the magnetic head 15 by the VCM 16.
Control the position of. When the magnetic disk 12 reaches a predetermined high-speed rotation speed, the computer data read by the magnetic head 15 is amplified by the head IC 17, subjected to serial / parallel conversion by the read / write IC 25, and then transferred to the HDC 22. . The HDC 22 stores the data sent from the read / write IC 25 in a buffer R.
The data is buffered in the AM 23, and the data is transmitted in sector units requested by the host system 26.

【0020】また、コンピュータ用データの書き込み要
求があると、ROM21から高速(通常)モード用の制
御データを読み出す。モータドライバ14は、この制御
データに基づいて、スピンドルモータ13の回転速度を
制御し、磁気ディスク12を高速回転させるとともに、
VCM16により磁気ヘッド15の位置を制御させる。
そして、HDC22は、ホストシステム26から送出さ
れたコンピュータ用データをバッファRAM23にバッ
ファリングしつつ、ヘッドIC17およびリード/ライ
トIC25を介して磁気ヘッド15に転送することによ
り、コンピュータ用データを磁気ディスク12に書き込
む。
When there is a write request for computer data, the control data for the high-speed (normal) mode is read from the ROM 21. The motor driver 14 controls the rotation speed of the spindle motor 13 based on the control data, rotates the magnetic disk 12 at a high speed,
The position of the magnetic head 15 is controlled by the VCM 16.
The HDC 22 transfers the computer data to the magnetic disk 12 via the head IC 17 and the read / write IC 25 while buffering the computer data transmitted from the host system 26 in the buffer RAM 23. Write to.

【0021】一方、磁気ディスク装置11は、AVデー
タの読み出し要求があると、ROM21から低速(A
V)モード用の制御データを読み出す。モータドライバ
14は、この制御データに基づいて、スピンドルモータ
13の回転速度を制御し、磁気ディスク12を低速回転
させるとともに、VCM16により磁気ヘッド15の位
置を制御させる。そして、磁気ディスク12が所定の低
速回転速度に達すると、磁気ヘッド15により読み取ら
れたAVデータをヘッドIC17で増幅し、リード/ラ
イトIC25でシリアル/パラレル変換を行った後、H
DC22に転送する。HDC22は、リード/ライトI
C25から送られたデータをバッファRAM23にバッ
ファリングし、ホストシステム26が要求するセクタ単
位でデータを送出する。
On the other hand, when there is a read request for AV data, the magnetic disk device 11
V) Read control data for the mode. The motor driver 14 controls the rotation speed of the spindle motor 13 based on the control data, rotates the magnetic disk 12 at low speed, and controls the position of the magnetic head 15 by the VCM 16. When the magnetic disk 12 reaches a predetermined low rotation speed, the AV data read by the magnetic head 15 is amplified by the head IC 17, and the read / write IC 25 performs serial / parallel conversion.
Transfer to DC22. HDC 22 is read / write I
The data sent from C25 is buffered in the buffer RAM 23, and the data is sent out in sector units requested by the host system 26.

【0022】また、AVデータの書き込み要求がある
と、磁気ディスク12に対するデータの読み出し要求は
暫くないものと仮定し、バッファRAM23の全てのキ
ャッシュ領域を書き込み用に割り当てる。そして、ホス
トシステム26から送出されたAVデータを磁気ディス
ク12が所定の回転数に達する前に前倒しでバッファR
AM23にバッファリングする。
Further, when there is a request to write AV data, it is assumed that a request to read data from the magnetic disk 12 is not made for a while, and all cache areas of the buffer RAM 23 are allocated for writing. The AV data sent from the host system 26 is forwarded to the buffer R before the magnetic disk 12 reaches a predetermined rotation speed.
Buffering to AM23.

【0023】さらに、ROM21から低速(AV)モー
ド用の制御データを読み出す。モータドライバ14は、
この制御データに基づいて、スピンドルモータ13の回
転速度を制御し、磁気ディスク12を低速回転させると
ともに、VCM16により磁気ヘッド15の位置を制御
させる。そして、HDC22は、磁気ディスク12が所
定の低速回転数に達すると、バッファRAM23にバッ
ファリングされたAVデータをヘッドIC17およびリ
ード/ライトIC25を介して磁気ヘッド15に転送す
ることにより、AVデータを磁気ディスク12に書き込
む。
Further, control data for the low speed (AV) mode is read from the ROM 21. The motor driver 14
Based on this control data, the rotation speed of the spindle motor 13 is controlled, the magnetic disk 12 is rotated at a low speed, and the position of the magnetic head 15 is controlled by the VCM 16. When the magnetic disk 12 reaches a predetermined low-speed rotation speed, the HDC 22 transfers the AV data buffered in the buffer RAM 23 to the magnetic head 15 via the head IC 17 and the read / write IC 25, thereby transferring the AV data. The data is written on the magnetic disk 12.

【0024】図2は、本発明の一実施形態に係わるスピ
ンドルモータの回転数の変化を示す図である。時刻T1
において、スピンドルモータ13の停止中にホストシス
テム26からのAVデータの書き込み要求があると(例
えば、デジタルビデオカメラで録画を開始した場合)、
スピンドルモータ13を即座に起動し、磁気ディスク1
2を回転させる。
FIG. 2 is a diagram showing a change in the number of revolutions of the spindle motor according to one embodiment of the present invention. Time T1
In, if there is a request to write AV data from the host system 26 while the spindle motor 13 is stopped (for example, when recording is started with a digital video camera),
The spindle motor 13 is started immediately and the magnetic disk 1
Rotate 2.

【0025】また、磁気ディスク装置11は、バッファ
RAM23の全てのキャッシュ領域を書き込み用に割り
当て、ホストシステム26から送出されたAVデータを
前倒しでバッファRAM23にバッファリングする。
The magnetic disk device 11 allocates all the cache areas of the buffer RAM 23 for writing, and buffers the AV data sent from the host system 26 in the buffer RAM 23 ahead of schedule.

【0026】そして、時刻T2において、磁気ディスク
12がAVモード用の所定の回転数に達すると、バッフ
ァRAM23にバッファリングされたAVデータを磁気
ヘッド15に転送し、AVデータを磁気ディスク12に
書き込む(期間C)。
At time T2, when the magnetic disk 12 reaches a predetermined rotation number for the AV mode, the AV data buffered in the buffer RAM 23 is transferred to the magnetic head 15, and the AV data is written to the magnetic disk 12. (Period C).

【0027】次に、時刻T4において、ホストシステム
26からのコンピュータ用データの書き込み要求がある
と(例えば、録画したファイルに名前を付ける場合で、
この場合は、IMEによる仮名漢字変換処理が必要であ
る)、バッファRAM23のキャッシュ領域を通常モー
ド用に戻すとともに、磁気ディスク12の回転速度を低
速回転から高速回転に移行させる。
Next, at time T4, when there is a write request for computer data from the host system 26 (for example, when naming a recorded file,
In this case, the kana-kanji conversion process by the IME is necessary), the cache area of the buffer RAM 23 is returned to the normal mode, and the rotation speed of the magnetic disk 12 is shifted from the low-speed rotation to the high-speed rotation.

【0028】そして、時刻T5において、磁気ディスク
12が通常モード用の所定の回転数に達すると、バッフ
ァRAM23にバッファリングされたコンピュータ用デ
ータを磁気ヘッド15に転送し、コンピュータ用データ
を気ディスク12に書き込む(期間D)。
At time T5, when the magnetic disk 12 reaches a predetermined number of revolutions for the normal mode, the computer data buffered in the buffer RAM 23 is transferred to the magnetic head 15, and the computer data is transferred to the magnetic disk 12. (Period D).

【0029】次に、時刻T6において、モータ強制OF
Fの要求があると、スピンドルモータ13の回転を停止
させる。
Next, at time T6, the motor forcible OF
When there is a request for F, the rotation of the spindle motor 13 is stopped.

【0030】これに対し、従来の高速(通常)モードの
みでAVデータの書き込みを行う場合、スピンドルモー
タ13の停止中にホストシステム26からのAVデータ
の書き込み要求があると(時刻T1)、磁気ディスク1
2が通常モード用の所定の回転数に達してから(時刻T
3)、磁気ディスク12へのAVデータの書き込みが行
われる。
On the other hand, when writing the AV data only in the conventional high-speed (normal) mode, if there is a request for writing the AV data from the host system 26 while the spindle motor 13 is stopped (time T1), the magnetic data is written. Disc 1
2 reaches a predetermined number of rotations for the normal mode (at time T
3) Writing of AV data to the magnetic disk 12 is performed.

【0031】従って、従来の高速(通常)モードだけで
は、時刻T1にAVデータの書き込み要求があっても、
時刻T3までAVデータを磁気ディスク12に書き込む
ことができないが、本実施形態では、低速(AV)モー
ドを設けることにより、磁気ディスク12への書き込み
開始時刻を時間Aだけ短縮することが可能となるととも
に、消費電力も減らすことが可能となる。また、AVデ
ータの書き込み時に、バッファRAM23の全てのキャ
ッシュ領域を書き込み用に割り当てることにより、時間
Bだけ前倒しでデータを受け付けることが可能となる。
Therefore, in the conventional high-speed (normal) mode only, even if there is a request to write AV data at time T1,
Although the AV data cannot be written on the magnetic disk 12 until time T3, in the present embodiment, the provision of the low-speed (AV) mode makes it possible to shorten the write start time on the magnetic disk 12 by the time A. At the same time, power consumption can be reduced. Also, when writing the AV data, by allocating all the cache areas of the buffer RAM 23 for writing, it is possible to receive the data earlier by the time B.

【0032】なお、上述した実施形態では、スピンドル
モータ13の停止中にAVデータの書き込みを行う方法
について説明したが、磁気ディスク12が通常モードで
高速回転中にAVデータの書き込み要求があった場合
は、磁気ディスク12の回転速度を低速回転に移行させ
てから、AVデータの書き込みを行うようにしてもよ
い。これにより、消費電力をより一層低減することがで
きる。
In the above-described embodiment, the method of writing AV data while the spindle motor 13 is stopped has been described. However, when the magnetic disk 12 is requested to write AV data while the magnetic disk 12 is rotating at high speed in the normal mode. Alternatively, writing the AV data may be performed after the rotation speed of the magnetic disk 12 is shifted to low speed rotation. Thus, power consumption can be further reduced.

【0033】図3は、本発明の一実施形態に係わる磁気
ディスク装置のAVモードにおける動作を示すフローチ
ャートである。この実施形態は、HDD AUTO P
OWER OFF機能に加え、低速(AV)モードを設
けるようにしたものである。なお、以下の説明では、磁
気ディスク装置11として、ハードディスクドライブ
(HDD)を例にとって説明する。
FIG. 3 is a flowchart showing the operation in the AV mode of the magnetic disk drive according to one embodiment of the present invention. In this embodiment, the HDD AUTO P
A low-speed (AV) mode is provided in addition to the POWER OFF function. In the following description, a hard disk drive (HDD) will be described as an example of the magnetic disk device 11.

【0034】図3において、システム電源がONになる
と、HDDを通常モードからAVモードに移行させる
(ステップS1)。なお、HDD自体の起動時は通常モ
ードで動作させる。これは、機器の起動時に、HDDか
らOSを読み出す必要があるからである。
In FIG. 3, when the system power is turned on, the HDD is shifted from the normal mode to the AV mode (step S1). When the HDD itself is started, it is operated in the normal mode. This is because it is necessary to read the OS from the HDD when the device is started.

【0035】次に、HDDの読み出し/書き込みが必要
かどうか、例えば、ユーザがAVデータの書き込みを要
求しているかどうかを判断し(ステップS2)、HDD
の読み出し/書き込みが必要ない場合、スリープ開始時
間かどうかを判断する(ステップS3)。そして、スリ
ープ開始時間の場合は、HDDモータを停止してから
(ステップS4)、ステップS2に戻る。
Next, it is determined whether or not the HDD needs to be read / written, for example, whether or not the user has requested the writing of AV data (step S2).
If it is not necessary to read / write, it is determined whether it is the sleep start time (step S3). In the case of the sleep start time, the HDD motor is stopped (step S4), and the process returns to step S2.

【0036】一方、HDDの読み出し/書き込みが必要
な場合、HDDモータが停止しているかどうかを判断し
(ステップS5)、HDDモータが停止していない場
合、HDDの読み出し/書き込み処理を行う(ステップ
S8)。
On the other hand, if the read / write of the HDD is necessary, it is determined whether the HDD motor is stopped (step S5). If the HDD motor is not stopped, the read / write process of the HDD is performed (step S5). S8).

【0037】一方、HDDモータが停止している場合、
HDDモータの回転数を低速モードまで上げる(ステッ
プS6)。そして、AVデータの書き込みの場合、キャ
ッシュの割り付けを全て書き込み用に変更し、できる限
り早くホスト側からの要求を受け付けできるようにする
(ステップS7)。
On the other hand, when the HDD motor is stopped,
The rotation speed of the HDD motor is increased to the low speed mode (step S6). Then, in the case of writing AV data, the cache allocation is all changed to write, so that a request from the host can be accepted as soon as possible (step S7).

【0038】次に、HDDの読み出し/書き込み処理を
行って、ステップS2に戻る。
Next, read / write processing of the HDD is performed, and the process returns to step S2.

【0039】図4は、本発明の一実施形態に係わる磁気
ディスク装置の省電力モードにおける動作を示すフロー
チャートである。この実施形態は、低速(AV)モード
を省電力モードとして使用するようにしたものである。
FIG. 4 is a flowchart showing an operation in a power saving mode of the magnetic disk drive according to one embodiment of the present invention. In this embodiment, a low speed (AV) mode is used as a power saving mode.

【0040】図4において、時間経過を計るための省電
力タイマをリセットする(ステップS11)。
In FIG. 4, the power saving timer for measuring the passage of time is reset (step S11).

【0041】次に、ユーザがHDDを使用したかどうか
を判断し(ステップS12)、ユーザが一定時間HDD
を使用しない場合(ステップS13)、低速回転モード
に移行する(ステップS14)。
Next, it is determined whether or not the user has used the HDD (step S12).
Is not used (step S13), the mode shifts to the low-speed rotation mode (step S14).

【0042】次に、低速回転モードで動作中に、ユーザ
がHDDを使用したかどうかを判断し(ステップS1
5)、ユーザがHDDを使用した場合、通常モードに戻
し(ステップS18)、ユーザがさらに一定時間HDD
を使用しない場合(ステップS16)、モータ電源をO
FFにする(ステップS17)。
Next, while operating in the low-speed rotation mode, it is determined whether the user has used the HDD (step S1).
5) When the user has used the HDD, the mode is returned to the normal mode (step S18), and the user further operates the HDD for a certain period of time.
Is not used (step S16), the motor power is turned off.
FF is set (step S17).

【0043】このように、低速回転モードを省電力モー
ドとして使用することにより、消費電力の低減を実現し
つつ、AVデータの書き込み/読み出し要求に即座に対
応することが可能となる。また、コンピュータ用データ
の書き込み/読み出し要求に対しても、モータ停止状態
から磁気ディスクを通常回転させる場合に比べて、短時
間でアクセス可能とすることができ、データアクセス時
における時間遅れを短縮することが可能となる。
As described above, by using the low-speed rotation mode as the power saving mode, it is possible to immediately respond to AV data write / read requests while reducing power consumption. In addition, it is possible to access the computer data write / read request in a shorter time than when the magnetic disk is normally rotated from the motor stopped state, thereby reducing the time delay in data access. It becomes possible.

【0044】なお、上述した実施形態では、ユーザが一
定期間HDDアクセスをしないことにより、省電力モー
ドに移行する方法について説明したが、省電力モードへ
の移行の指示をユーザが行うことにより、省電力モード
に移行するようにしてもよい。
In the above-described embodiment, the method of shifting to the power saving mode when the user does not access the HDD for a certain period of time has been described. You may make it transfer to a power mode.

【0045】[0045]

【発明の効果】以上説明したように、本発明によれば、
データアクセス時における時間遅れを短縮することが可
能となるとともに、消費電力を減らすことが可能とな
る。
As described above, according to the present invention,
It is possible to reduce a time delay at the time of data access and reduce power consumption.

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

【図1】本発明の一実施形態に係わる磁気ディスク装置
の概略構成を示すブロック図である。
FIG. 1 is a block diagram illustrating a schematic configuration of a magnetic disk drive according to an embodiment of the present invention.

【図2】本発明の一実施形態に係わるスピンドルモータ
の回転数の変化を示す図である。
FIG. 2 is a diagram showing a change in the rotation speed of a spindle motor according to an embodiment of the present invention.

【図3】本発明の一実施形態に係わる磁気ディスク装置
のAVモードにおける動作を示すフローチャートであ
る。
FIG. 3 is a flowchart showing an operation in an AV mode of the magnetic disk device according to the embodiment of the present invention.

【図4】本発明の一実施形態に係わる磁気ディスク装置
の省電力モードにおける動作を示すフローチャートであ
る。
FIG. 4 is a flowchart showing an operation in a power saving mode of the magnetic disk device according to one embodiment of the present invention.

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

11 磁気ディスク装置 12 磁気ディスク 13 スピンドルモータ 14 モータドライバ 15 磁気ヘッド 16 ボイスコイルモータ 17 ヘッドIC 18 バス 19 CPU 20 RAM 21 ROM 22 HDC 23 バッファRAM 24 ゲートアレイ 25 リード/ライトIC DESCRIPTION OF SYMBOLS 11 Magnetic disk drive 12 Magnetic disk 13 Spindle motor 14 Motor driver 15 Magnetic head 16 Voice coil motor 17 Head IC 18 Bus 19 CPU 20 RAM 21 ROM 22 HDC 23 Buffer RAM 24 Gate array 25 Read / write IC

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 5/781 Fターム(参考) 5D044 BC01 CC05 DE02 DE12 DE17 DE23 DE29 DE38 GK10 HL02 5D066 AA02 5D109 KB05 KB24 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI theme coat ゛ (Reference) H04N 5/781 F-term (Reference) 5D044 BC01 CC05 DE02 DE12 DE17 DE23 DE29 DE38 GK10 HL02 5D066 AA02 5D109 KB05 KB24

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 コンピュータ用データのアクセスのため
に磁気ディスクの回転数を設定する第1回転数設定手段
と、 AVデータのアクセスのために磁気ディスクの回転数を
設定する第2回転数設定手段と、 前記磁気ディスクが前記第1回転数設定手段で設定され
た回転数で回転している時に、コンピュータ用データの
アクセスを行う第1アクセス手段と、 前記磁気ディスクが前記第2回転数設定手段で設定され
た回転数で回転している時に、AVデータのアクセスを
行う第2アクセス手段とを備えることを特徴とする磁気
ディスク装置。
1. A first rotation number setting means for setting a rotation number of a magnetic disk for accessing computer data, and a second rotation number setting means for setting a rotation number of a magnetic disk for accessing AV data. First access means for accessing computer data when the magnetic disk is rotating at the rotational speed set by the first rotational speed setting means; and wherein the magnetic disk is the second rotational speed setting means. And a second access unit for accessing the AV data while rotating at the number of revolutions set in (1).
【請求項2】 データの記憶を行うキャッシュメモリ
と、 前記AVデータを前記磁気ディスクに書き込む場合、前
記キャッシュメモリの記憶領域を全て書き込み用に割り
当てる割当手段をさらに備えることを特徴とする請求項
1記載の磁気ディスク装置。
2. The system according to claim 1, further comprising: a cache memory for storing data; and an allocating unit for allocating all storage areas of the cache memory for writing when the AV data is written to the magnetic disk. The magnetic disk device according to the above.
【請求項3】 前記磁気ディスク装置の使用が所定時間
行われない場合、前記第2回転数設定手段で設定された
回転数で前記磁気ディスクを回転させる第1省電力手段
と、 前記第2回転数設定手段で設定された回転数で前記磁気
ディスクを回転させている時に、前記磁気ディスク装置
の使用がさらに所定時間行われない場合、前記磁気ディ
スクの回転を停止させる第2省電力手段とをさらに備え
ることを特徴とする請求項1または2記載の磁気ディス
ク装置。
A first power-saving means for rotating the magnetic disk at a rotation speed set by the second rotation-speed setting means when the magnetic disk device has not been used for a predetermined time; A second power saving unit for stopping the rotation of the magnetic disk when the magnetic disk device is not used for a further predetermined time while the magnetic disk is being rotated at the rotation speed set by the number setting unit; The magnetic disk drive according to claim 1, further comprising:
【請求項4】 コンピュータ用データのアクセスのため
に磁気ディスクの回転数を設定する通常モードと、 AVデータのアクセスのために磁気ディスクの回転数を
設定するAVモードとを備えることを特徴とするデータ
アクセス方法。
4. A normal mode for setting a rotation speed of a magnetic disk for accessing computer data, and an AV mode for setting a rotation speed of a magnetic disk for accessing AV data. Data access method.
JP2000286225A 2000-09-20 2000-09-20 Magnetic disk drive and data access method Withdrawn JP2002093025A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000286225A JP2002093025A (en) 2000-09-20 2000-09-20 Magnetic disk drive and data access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000286225A JP2002093025A (en) 2000-09-20 2000-09-20 Magnetic disk drive and data access method

Publications (1)

Publication Number Publication Date
JP2002093025A true JP2002093025A (en) 2002-03-29

Family

ID=18770176

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000286225A Withdrawn JP2002093025A (en) 2000-09-20 2000-09-20 Magnetic disk drive and data access method

Country Status (1)

Country Link
JP (1) JP2002093025A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005503630A (en) * 2001-01-22 2005-02-03 クゥアルコム・インコーポレイテッド Variable mode multimedia data object storage device
JP2007012136A (en) * 2005-06-29 2007-01-18 Toshiba Corp Video display device, and recording and reproducing control method for its recording medium
JP2008015662A (en) * 2006-07-04 2008-01-24 Nec Corp Disk array control device, method, and program
JP2010198725A (en) * 2010-03-08 2010-09-09 Toshiba Corp Video display and method for controlling recording and reproducing of recording medium thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005503630A (en) * 2001-01-22 2005-02-03 クゥアルコム・インコーポレイテッド Variable mode multimedia data object storage device
JP2007012136A (en) * 2005-06-29 2007-01-18 Toshiba Corp Video display device, and recording and reproducing control method for its recording medium
JP2008015662A (en) * 2006-07-04 2008-01-24 Nec Corp Disk array control device, method, and program
JP2010198725A (en) * 2010-03-08 2010-09-09 Toshiba Corp Video display and method for controlling recording and reproducing of recording medium thereof

Similar Documents

Publication Publication Date Title
US7472219B2 (en) Data-storage apparatus, data-storage method and recording/reproducing system
KR100759427B1 (en) Hard disk drive and information processing system with reduced power consumption and data input and output method thereof
US20080270657A1 (en) Management of Transfer of Commands
JPH1063578A (en) Information recording and reproducing device
JP4768697B2 (en) Storage system and data transfer method
US20040017630A1 (en) Magnetic disk apparatus and storage system
US20070276882A1 (en) Composite Memory Device, Data Wiring Method And Program
JP2001117817A (en) Control method for cache memory, computer system, hard disk drive, and hard disk controller
JP2006085894A5 (en)
JPH08328747A (en) Magnetic disk device and buffer management method in magnetic disk device
US8320066B2 (en) Storage device and read/write processing method therefor
US7069409B2 (en) System for addressing a data storage unit used in a computer
JP2002093025A (en) Magnetic disk drive and data access method
US7370153B1 (en) System and method of pre-fetching using an extended data structure including required data and a pre-fetch flag
US20080046604A1 (en) Storage device and control chip for the storage device
JP2003150445A (en) Computer system having external storage device
US20070143535A1 (en) Memory apparatus
JP3087518B2 (en) Look-ahead data processing device
JPH10171713A (en) Disk storage device and method for controlling cache applied to the same device
JP3541814B2 (en) Optical disk recording and playback device
JPH03290873A (en) Disk type storage device, controller of disk type storage device, and control method for disk type storage device
US7312942B2 (en) Mobile communication terminal and method of reducing power consumption of a hard disk drive of a mobile communication terminal
JPH06309776A (en) Magnetic disk device and data read-out and write-in method
JP2003036145A (en) Data transfer controller for fifo memory
EP1274007A1 (en) Method of performing a system boot

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20071204