JP4643488B2 - Disc recording / reproducing apparatus and recording / reproducing control method - Google Patents

Disc recording / reproducing apparatus and recording / reproducing control method Download PDF

Info

Publication number
JP4643488B2
JP4643488B2 JP2006117473A JP2006117473A JP4643488B2 JP 4643488 B2 JP4643488 B2 JP 4643488B2 JP 2006117473 A JP2006117473 A JP 2006117473A JP 2006117473 A JP2006117473 A JP 2006117473A JP 4643488 B2 JP4643488 B2 JP 4643488B2
Authority
JP
Japan
Prior art keywords
power consumption
data
mode
time
low power
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
JP2006117473A
Other languages
Japanese (ja)
Other versions
JP2007293937A (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.)
Hitachi Solutions Technology Ltd
Original Assignee
Hitachi ULSI Systems 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 Hitachi ULSI Systems Co Ltd filed Critical Hitachi ULSI Systems Co Ltd
Priority to JP2006117473A priority Critical patent/JP4643488B2/en
Publication of JP2007293937A publication Critical patent/JP2007293937A/en
Application granted granted Critical
Publication of JP4643488B2 publication Critical patent/JP4643488B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Description

本発明は、HDD等のディスク媒体にビデオ信号等を記録再生するディスク記録再生装置および記録再生制御方法に係り、特に消費電力を低減させる技術に関する。   The present invention relates to a disk recording / reproducing apparatus and a recording / reproducing control method for recording / reproducing a video signal on a disk medium such as an HDD, and more particularly to a technique for reducing power consumption.

HDD等のディスク記録再生装置において、ディスク上に連続的に配置されたデータに対する読み出し速度を向上させる為に、先読み方式が使用されている。先読み方式とは、読み出し要求のあったデータブロックだけでなく、それに続く先のデータブロックについても読み出し、キャッシュメモリ等に格納しておく。そして、先のデータブロックに対する読み出し要求を受けた場合に、直ちにキャッシュメモリに格納しておいた先読みデータを転送することにより、ディスクの回転待ち時間や読み出しヘッドのシーク時間の制約を受けず、迅速にデータ転送を行うことができる。   In a disk recording / reproducing apparatus such as an HDD, a pre-reading method is used to improve a reading speed for data continuously arranged on the disk. In the pre-reading method, not only the data block requested to be read but also the subsequent data block is read and stored in a cache memory or the like. When a read request for the previous data block is received, the read-ahead data stored in the cache memory is immediately transferred, so that the disk rotation time and read head seek time are not limited, and the data can be quickly read. Data transfer can be performed.

先読み方式に関する技術として、特許文献1に記載のディスクメモリ装置では、リード命令に基づいてデータの先読み方向を検出する連続性検出手段と、先読みを行うディスクメモリ媒体の上の位置及びサイズを決定する先読み領域決定手段等を備える。これらにより、動画像や音声等のデータの逆再生や高速再生等の特殊再生にも対応できると述べられている。   As a technique related to the prefetching method, the disk memory device described in Patent Document 1 determines continuity detection means for detecting the prefetching direction of data based on a read command, and the position and size on the disk memory medium on which prefetching is performed. Prefetch area determination means and the like are provided. Thus, it is stated that special reproduction such as reverse reproduction and high-speed reproduction of data such as moving images and sounds can be handled.

一方、HDD等のディスク記録再生装置は大容量の記録が可能であることから、携帯用のビデオプレーヤとして利用されつつある。しかし、ディスク回転のためのモータ部やヘッド可動部などの機械的に動作する部分が多く、モバイル用途としてはその消費電力の低減が求められている。   On the other hand, disk recording / playback devices such as HDDs are being used as portable video players because they can record large volumes. However, there are many mechanically operating parts such as a motor part for rotating the disk and a head movable part, and reduction of power consumption is required for mobile applications.

消費電力低減に関する技術として、特許文献2に記載の磁気ディスク装置では、一定時間アクセスがないときは装置のモータを停止させる節電処理を行うこと、また節電処理状態にあれば、ダミーシーク(磁気ヘッドを一定時間毎に移動させて微小な塵を吹き飛ばす処理)の要求があってもこれを無視し、ダミーシーク処理を実行しないようにすることが述べられている。   As a technique related to power consumption reduction, in the magnetic disk device described in Patent Document 2, when there is no access for a certain period of time, power saving processing is performed to stop the motor of the device, and if it is in the power saving processing state, a dummy seek (magnetic head) It is stated that even if there is a request for a process of moving fine particles at regular intervals to blow out fine dust, this is ignored and the dummy seek process is not executed.

特開2001−285805号公報JP 2001-285805 A 特開平7−121306号公報JP-A-7-121306

HDD等のディスク記録再生装置において、上記特許文献1と上記特許文献2に開示される技術を採用し、先読み方式によりリードデータの転送を迅速化し、かつ、節電処理を行い消費電力の低減を図ることが考えられる。すなわち、先読みリード動作を終了後、一定時間次のリード動作が行われないとき、モータを停止して低消費電力モードへ切替えるものである。   In a disk recording / reproducing apparatus such as an HDD, the techniques disclosed in Patent Document 1 and Patent Document 2 described above are adopted, the transfer of read data is speeded up by a pre-read method, and power saving processing is performed to reduce power consumption. It is possible. That is, when the next read operation is not performed for a certain time after the pre-read read operation is finished, the motor is stopped and switched to the low power consumption mode.

この場合、低消費電力モードがある時間継続することが確約されていれば問題ないが、一般には次のリード動作がいつ再開されるかは不定である。また、通常モードから低消費電力モードへの切替え時間(遷移時間)、及び低消費電力モードから通常モードへの切替え時間(復帰時間)はゼロではなく有限の値(オーバーヘッド時間)を持つ。よって、低消費電力モードへの切替えを確実に行うためには、リード動作の休止期間が切替えに要する時間(遷移時間と復帰時間)よりも長いことが必要である。もし、低消費電力モードへの切替え途中で次のリード動作の命令を受けた場合、復帰時間のために次のリード動作が遅れて、再生画像が乱れたり時間的に不連続になる恐れがある。リード動作の休止期間はデータの先読み条件に依存し、低消費電力モードも複数のモードが存在するから、装置動作の円滑化と消費電力の低減のためには、これらの最適な組合せを考慮する必要がある。しかしながら、上記特許文献1と上記特許文献2には、低消費電力モードへの切替えに要する時間や、低消費電力のモード選択については何ら考慮されていない。   In this case, there is no problem if it is ensured that the low power consumption mode continues for a certain period of time, but it is generally uncertain when the next read operation is resumed. The switching time (transition time) from the normal mode to the low power consumption mode and the switching time (return time) from the low power consumption mode to the normal mode are not zero but have finite values (overhead time). Therefore, in order to surely switch to the low power consumption mode, it is necessary that the pause period of the read operation is longer than the time required for switching (transition time and return time). If a command for the next read operation is received in the middle of switching to the low power consumption mode, the next read operation may be delayed due to the return time, and the reproduced image may be disturbed or temporally discontinuous. . The read operation pause period depends on the data read-ahead condition, and there are multiple low-power consumption modes. Therefore, in order to facilitate device operation and reduce power consumption, consider the optimal combination of these. There is a need. However, Patent Document 1 and Patent Document 2 do not take into consideration the time required for switching to the low power consumption mode and the mode selection for low power consumption.

本発明の目的は、データ読み出し又は書込み処理と低消費電力モードへの切替えを確実に行い、良好な再生画像等が得られるディスク記録再生装置および記録再生制御方法を提供することである。   An object of the present invention is to provide a disc recording / reproducing apparatus and a recording / reproducing control method capable of reliably switching to a data reading or writing process and a low power consumption mode and obtaining a good reproduced image or the like.

また本発明の目的は、低消費電力のモード選択を最適に行い、消費電力をより低減させることである。   An object of the present invention is to optimally select a mode with low power consumption and further reduce power consumption.

本発明は、ディスク媒体に対し連続するデータをその再生速度よりもk倍高速で読み出し又は書き込みを行うディスクドライブを有するディスク記録再生装置であって、ディスクドライブにて読み出し又は書き込むデータを格納するバッファメモリと、連続してデータの読み出し又は書き込みを行う時間Trを決定する読み出し書き込み量決定部と、ディスクドライブの読み出し又は書き込み動作を制御する制御部を備える。制御部は、ディスクドライブに対し時間Trだけデータの読み出し又は書き込みを行い、読み出し又は書き込み終了後、時間Trを所定値Trmと比較し、時間Trが所定値Trmより大きい場合、ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替える(ただし、Trm=To/(k−1)、Toは低消費電力モードへの切替え時間)。   The present invention relates to a disk recording / playback apparatus having a disk drive for reading or writing continuous data to / from a disk medium at a speed k times faster than the playback speed, and a buffer for storing data read or written by the disk drive A memory, a read / write amount determination unit that determines a time Tr for continuously reading or writing data, and a control unit that controls a read or write operation of the disk drive are provided. The control unit reads or writes data from / to the disk drive for the time Tr, and after the reading or writing is completed, compares the time Tr with a predetermined value Trm. If the time Tr is greater than the predetermined value Trm, Is switched to the low power consumption mode in which the operation of the unit is stopped (where Trm = To / (k−1), To is the switching time to the low power consumption mode).

本発明は、ディスク媒体に対し連続するデータをその再生速度よりもk倍高速な速度Brで読み出し又は書き込みを行うディスクドライブを有するディスク記録再生装置であって、ディスクドライブにて読み出し又は書き込むデータを格納するバッファメモリと、連続してデータの読み出し又は書き込みを行うデータ量Frを決定する読み出し書き込み量決定部と、ディスクドライブの読み出し又は書き込み動作を制御する制御部を備える。制御部は、ディスクドライブに対しデータ量Frだけデータの読み出し又は書き込みを行い、読み出し又は書き込み終了後、データ量Frを所定値Frmと比較し、データ量Frが所定値Frmより大きい場合、ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替える(ただし、Frm=To・Br/(k−1)、Toは低消費電力モードへの切替え時間)。   The present invention is a disk recording / reproducing apparatus having a disk drive that reads or writes continuous data on a disk medium at a speed Br that is k times faster than the reproduction speed. A buffer memory for storing, a read / write amount determining unit for determining a data amount Fr for continuously reading or writing data, and a control unit for controlling a read or write operation of the disk drive are provided. The control unit reads or writes data to or from the disk drive by the data amount Fr. After the reading or writing is completed, the control unit compares the data amount Fr with a predetermined value Frm, and if the data amount Fr is greater than the predetermined value Frm, Is switched to a low power consumption mode where a part of the operation is stopped (where Frm = To · Br / (k−1), To is a switching time to the low power consumption mode).

ここで、ディスクドライブにおける低消費電力モードとして、切替え時間と消費電力がそれぞれ異なる複数のモードが選択可能である場合、制御部は、さらに、時間Tr又はデータ量Frから各モードにおける平均消費電力を計算する消費電力計算部と、計算した平均消費電力が最小となるモードを選択するモード選択部を有する。   Here, when a plurality of modes having different switching times and power consumptions can be selected as the low power consumption mode in the disk drive, the control unit further calculates the average power consumption in each mode from the time Tr or the data amount Fr. It has a power consumption calculation unit to calculate and a mode selection unit to select a mode that minimizes the calculated average power consumption.

また本発明は、ディスク媒体に対し連続するデータをその再生速度よりもk倍高速で読み出し又は書き込みを行うディスクドライブの記録再生制御方法であって、連続してデータの読み出し又は書き込みを行う時間Trを決定し、ディスク媒体に対し時間Trだけデータの読み出し又は書き込みを行う。読み出し又は書き込み終了後、時間Trを所定値Trmと比較し、時間Trが所定値Trmより大きい場合、ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替える。   The present invention also relates to a recording / playback control method for a disk drive that reads or writes continuous data to / from a disk medium at a speed k times faster than the playback speed, and is a time Tr for continuously reading or writing data. The data is read from or written to the disk medium for the time Tr. After reading or writing, the time Tr is compared with a predetermined value Trm, and if the time Tr is larger than the predetermined value Trm, the disk drive is switched to a low power consumption mode in which a part of the operation is stopped.

本発明は、ディスク媒体に対し連続するデータをその再生速度よりもk倍高速な速度Brで読み出し又は書き込みを行うディスクドライブの記録再生制御方法であって、連続してデータの読み出し又は書き込みを行うデータ量Frを決定し、ディスク媒体に対しデータ量Frだけデータの読み出し又は書き込みを行う。読み出し又は書き込み終了後、データ量Frを所定値Frmと比較し、データ量Frが所定値Trmより大きい場合、ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替える。   The present invention is a recording / playback control method for a disk drive that reads or writes continuous data to / from a disk medium at a speed Br that is k times faster than the playback speed, and continuously reads or writes data. A data amount Fr is determined, and data is read from or written to the disk medium by the data amount Fr. After the reading or writing is completed, the data amount Fr is compared with a predetermined value Frm. If the data amount Fr is larger than the predetermined value Trm, the disk drive is switched to a low power consumption mode in which a part of the operation is stopped.

ここで、低消費電力モードとして切替え時間と消費電力がそれぞれ異なる複数のモードを選択可能である場合、時間Tr又はデータ量Frから各モードにおける平均消費電力を計算し、平均消費電力が最小となるモードを選択する。   Here, when a plurality of modes having different switching time and power consumption can be selected as the low power consumption mode, the average power consumption in each mode is calculated from the time Tr or the data amount Fr, and the average power consumption is minimized. Select a mode.

本発明によれば、ディスク記録再生装置においてデータ読み出し又は書込み処理を好適に行い、消費電力を低減させることができる。   According to the present invention, it is possible to suitably perform data reading or writing processing in a disk recording / reproducing apparatus and reduce power consumption.

以下、本発明の実施形態を図面を参照しながら説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明によるディスク記録再生装置の一実施例として、記録媒体としてHDDを用いたモバイル用ビデオプレーヤのブロック構成を示す図である。   FIG. 1 is a diagram showing a block configuration of a mobile video player using an HDD as a recording medium as an embodiment of a disc recording / reproducing apparatus according to the present invention.

HDD(ハードディスクドライブ)1は、動画像や音声等のビデオコンテンツデータを格納し、要求に応じてコンテンツデータを再生速度(表示速度)よりも高速に読み出し(リード)又は書き込み(ライト)することができる。HDDには、媒体であるハードディスク、これを回転するディスクモータ、リード/ライト用ヘッド、サーボ機構などを含み、後述するようにその一部の動作を停止して低消費電力モードに切替えることができる。CPU2は、バス3を介して装置内の各デバイスを制御し、HDD1からコンテンツを再生するためのプログラムを実行する。メモリ4は、CPU2の実行する各種プログラムやデータを格納する。入力装置(キー/リモコン)5は、ユーザの操作を入力しCPU2に伝達する。デコーダ/表示IF6は、再生したコンテンツファイルをデコードし、CPU2の指示によりGUIの表示処理を行う。ディスプレイ7は、デコーダ/表示IF6から出力される動画像や音声等の表示出力とGUIの表示を行う。   The HDD (Hard Disk Drive) 1 stores video content data such as moving images and audio, and can read (read) or write (write) the content data at a higher speed than the reproduction speed (display speed) as required. it can. The HDD includes a hard disk as a medium, a disk motor that rotates the hard disk, a read / write head, a servo mechanism, and the like, and can be switched to a low power consumption mode by stopping some of the operations as will be described later. . The CPU 2 controls each device in the apparatus via the bus 3 and executes a program for reproducing content from the HDD 1. The memory 4 stores various programs and data executed by the CPU 2. The input device (key / remote controller) 5 inputs a user operation and transmits it to the CPU 2. The decoder / display IF 6 decodes the reproduced content file and performs a GUI display process according to an instruction from the CPU 2. The display 7 performs display output such as moving images and sounds output from the decoder / display IF 6 and GUI display.

メモリ4は、以下のプログラムを格納する。アプリケーション(プログラム)8は、ユーザの操作をキー/リモコン5から受け取り、GUIの表示やHDD1に格納されているコンテンツを再生しディスプレイ7に表示する処理を行う。その際、次の各プログラム9〜14を利用する。再生処理部(プログラム)9は、コンテンツの再生処理を行うため、HDD1からのコンテンツデータの読み出しと、読み出したデータをデコーダ/表示IF6に渡す処理を行う。   The memory 4 stores the following programs. The application (program) 8 receives a user operation from the key / remote controller 5, and performs a process of displaying a GUI and reproducing the content stored in the HDD 1 and displaying it on the display 7. At that time, the following programs 9 to 14 are used. The reproduction processing unit (program) 9 performs content reproduction processing to read content data from the HDD 1 and pass the read data to the decoder / display IF 6.

HDDアクセススケジューリング部(プログラム)10は、再生処理部9からのHDDリード要求を受け、HDD1からの読み出し動作と先読み動作、及びHDD1の低消費電力モードへの切替えのタイミングを管理する。そのために、先読み量決定部15は、アプリケーション8から取得した再生条件に合わせて、HDD1から先読みすべき範囲とデータ量を決定する。消費電力計算部16は、低消費電力モードに切替えた場合の平均消費電力を計算する。モード選択部17は、消費電力計算部16の計算結果に基づき、最適な低消費電力モードを選択する。また先読みバッファ11は、再生処理部9により読み出したデータ(リード要求のあった領域と先読みしたデータ)を格納するメモリ領域である。   The HDD access scheduling unit (program) 10 receives the HDD read request from the reproduction processing unit 9 and manages the read operation and pre-read operation from the HDD 1 and the timing of switching the HDD 1 to the low power consumption mode. For this purpose, the prefetching amount determination unit 15 determines the range and data amount to be prefetched from the HDD 1 in accordance with the reproduction conditions acquired from the application 8. The power consumption calculator 16 calculates the average power consumption when switching to the low power consumption mode. The mode selection unit 17 selects an optimum low power consumption mode based on the calculation result of the power consumption calculation unit 16. The prefetch buffer 11 is a memory area for storing the data read by the reproduction processing unit 9 (the area requested to be read and the prefetched data).

デコーダアクセススケジューリング部(プログラム)12は、再生処理部9からのデコード要求を受け、ビデオの表示フレーム単位のデータをデコーダ/表示IF6に渡すタイミングを管理する。   The decoder access scheduling unit (program) 12 receives a decoding request from the reproduction processing unit 9 and manages the timing for transferring data in units of video display frames to the decoder / display IF 6.

HDDドライバ13は、HDDアクセススケジューリング部10からのデータリード要求や低消費電力モードへの切替え要求をHDD1に渡すインタフェースを管理する。デコーダドライバ14は、デコーダアクセススケジューリング部12からデコードデータを受け取り、デコーダ/表示IF6にコンテンツデータのデコードを行わせる。   The HDD driver 13 manages an interface for passing a data read request from the HDD access scheduling unit 10 and a request for switching to the low power consumption mode to the HDD 1. The decoder driver 14 receives the decoded data from the decoder access scheduling unit 12 and causes the decoder / display IF 6 to decode the content data.

ここで、本ビデオプレーヤのビデオ再生動作の順序を説明する。ユーザがキー/リモコン5を介して再生開始等の操作入力すると、アプリケーション8はこれを受け取り、再生処理部9に対してビデオ再生の開始や、再生モードの指示を行う。再生処理部9は、HDDアクセススケジューリング部10に対しリード要求を出す。HDDアクセススケジューリング部10は、HDDドライバ13を介してHDD1の所定領域からデータを読み出し(先読みを含む)、リードデータを受け取る。先読みしたデータは、先読みバッファ11に格納しておく。そして再生処理部9は、受け取ったリードデータをデコーダアクセススケジューリング部12に渡し、デコード・再生させる。デコーダアクセススケジューリング部12は、リードデータをデコーダドライバ14を介してデコーダ6/表示IFに渡す。その際、渡すタイミングを調整して、デコーダ6/表示IFが所定のタイミングでデコードを行えるようにする。デコーダ/表示IF6は受け取ったデータをデコードして、ディスプレイ7に画像を表示する。   Here, the order of the video playback operation of the video player will be described. When the user inputs an operation for starting playback or the like via the key / remote controller 5, the application 8 receives this, and instructs the playback processing unit 9 to start video playback or to specify a playback mode. The reproduction processing unit 9 issues a read request to the HDD access scheduling unit 10. The HDD access scheduling unit 10 reads data from a predetermined area of the HDD 1 via the HDD driver 13 (including prefetching) and receives read data. The prefetched data is stored in the prefetch buffer 11. Then, the reproduction processing unit 9 passes the received read data to the decoder access scheduling unit 12 for decoding and reproduction. The decoder access scheduling unit 12 passes the read data to the decoder 6 / display IF via the decoder driver 14. At this time, the delivery timing is adjusted so that the decoder 6 / display IF can perform decoding at a predetermined timing. The decoder / display IF 6 decodes the received data and displays an image on the display 7.

本ビデオプレーヤにおいて、HDDアクセススケジューリング部10は、先読み量決定部15によりHDD1からの先読み動作を行う際に先読みデータ範囲(データ量)を決定し、HDD1におけるディスク回転を停止するなどして低消費電力モードへの切替える制御を行う。さらには、低消費電力モードとして複数のモードを備える場合には、消費電力計算部16にてトータルの消費電力(平均消費電力)を計算し、モード選択部17にてそれが最小となるモードを選択する。   In this video player, the HDD access scheduling unit 10 determines the prefetch data range (data amount) when the prefetch operation from the HDD 1 is performed by the prefetch amount determination unit 15, and stops the disk rotation in the HDD 1. Control to switch to the power mode. Further, when a plurality of modes are provided as the low power consumption mode, the power consumption calculation unit 16 calculates the total power consumption (average power consumption), and the mode selection unit 17 selects the mode that minimizes the mode. select.

本ビデオプレーヤは、様々な再生モードに対応して、効果的なHDDのデータ先読みと、低消費電力モードへの切替えを行う。ビデオプレーヤの再生動作は、順方向の再生だけでなく逆方向再生の場合もあるので、先読みする方向は再生する方向に応じて切替える。順方向再生時は、リード要求されたデータを含みデータファイルの終端方向に先読みし、逆方向再生時は、リード要求されたデータを含みデータファイルの先頭方向に先読みする。   The video player performs effective HDD data prefetching and switching to a low power consumption mode in accordance with various playback modes. Since the playback operation of the video player is not only forward playback but also backward playback, the prefetch direction is switched according to the playback direction. At the time of forward reproduction, prefetching is performed in the end direction of the data file including the data requested to be read, and at the time of backward reproduction, prefetching is performed in the head direction of the data file including the data requested to be read.

また、高速再生(早送りや早戻し)の場合もある。この場合は、再生に使用するデータは連続的ではなく離散的になる。映像コンテンツがMPEG形式の場合、そのデータは3種類のピクチャ(I、B、P)のデータから構成され、高速再生の場合はIピクチャのデータのみを使用する。よって、先読み範囲はコンテンツデータの中に離散的に格納されているIピクチャのみとする。   There are also cases of high-speed playback (fast forward and fast reverse). In this case, data used for reproduction is not continuous but discrete. When the video content is in the MPEG format, the data is composed of data of three types of pictures (I, B, P), and only I picture data is used for high-speed playback. Therefore, the prefetch range is limited to only I pictures that are discretely stored in the content data.

図1の例ではビデオプレーヤとして必要な再生機能の部分を示しているが、さらにビデオコンテンツデータの記録機能を付加することでビデオレコーダ/プレーヤを実現する。その場合、HDDアクセススケジューリング部は、ライト要求に対して指定された範囲のデータだけでなく時間的に前後するデータを高速に「まとめ書き」あるいは「先書き」することで、データ転送の効率を向上させることができる。そして、ライト動作休止期間にHDDを低消費電力モードへ切替えることにより、消費電力の低減を図ることができる。以下の実施例では再生の場合を述べるが、記録の場合についても同様に適用できる。   Although the example of FIG. 1 shows a portion of a playback function necessary as a video player, a video recorder / player is realized by adding a video content data recording function. In that case, the HDD access scheduling unit not only data in the range specified in response to the write request but also data that changes in time at high speed can be “summarized” or “pre-written” to increase the efficiency of data transfer. Can be improved. Then, the power consumption can be reduced by switching the HDD to the low power consumption mode during the write operation suspension period. In the following embodiments, the case of reproduction will be described, but the same applies to the case of recording.

図2は、本実施例のビデオプレーヤにおける消費電力の時間変化を示す図である。横軸は時間t、縦軸は消費電力Pである。ここでは、データの先読み動作と低消費電力モード切替えにより、HDD部の消費電力がどのように変化するかを示す。   FIG. 2 is a diagram showing a time change of power consumption in the video player of the present embodiment. The horizontal axis represents time t, and the vertical axis represents power consumption P. Here, it is shown how the power consumption of the HDD unit changes due to the data prefetching operation and the low power consumption mode switching.

HDDの動作状態として、通常モードで先読みする期間Tr、通常モードから低消費電力モードに切替える遷移期間Tot、低消費電力モードの期間Tlp、低消費電力モードから通常モードに切替える復帰期間Torが存在する。期間Trに高速で先読みしたデータは、ディスプレイで期間Tをかけて再生する。これらの動作は、周期Tで繰り返す。ここで通常モードとは、HDDのドライブを動作させ、データリードが可能な状態である。低消費電力モードとは、例えばHDDのディスク回転を停止しヘッドを退避させた状態である。そして、先読み期間Trの消費電力をPr、低消費電力モード期間Tlpの消費電力をPlp、モード切替の遷移期間Totと復帰期間Torにおける消費電力をPoとする。このように、モード切替のために有限の期間(オーバーヘッド時間)Tot,Torを要し、そのために電力Poを消費する。切替え期間(Tot+Tor)は数sec、また切替え時電力Poは通常モードの電力の1/2以上に達する場合があり、電力低減のために無視できない量である。   As the operation state of the HDD, there are a period Tr for prefetching in the normal mode, a transition period Tot for switching from the normal mode to the low power consumption mode, a period Tlp for the low power consumption mode, and a return period Tor for switching from the low power consumption mode to the normal mode. . Data prefetched at high speed during the period Tr is reproduced over the period T on the display. These operations are repeated with a period T. Here, the normal mode is a state in which the HDD drive is operated and data can be read. The low power consumption mode is, for example, a state where the disk rotation of the HDD is stopped and the head is retracted. The power consumption in the prefetch period Tr is Pr, the power consumption in the low power consumption mode period Tlp is Plp, and the power consumption in the mode switching transition period Tot and the return period Tor is Po. As described above, a finite period (overhead time) Tot, Tor is required for mode switching, and power Po is consumed for that purpose. The switching period (Tot + Tor) is several seconds, and the switching power Po may reach ½ or more of the power in the normal mode, and cannot be ignored for power reduction.

低消費電力モード期間Tlpの長さは先読み期間Trの長さに依存し、先読み期間Trが短いと低消費電力モード期間Tlpも短くなる。しかし、切替え期間(Tot+Tor)は一定で存在するため、先読み期間Trが短すぎると低消費電力モード期間Tlpが確保できないことになる。よって、低消費電力モードを確保できる先読み期間の長さ(下限値)を求め、下限値以下の場合は低消費電力モードへの切替えを実行しないようにする。このようにすれば、低消費電力モードへの切替え途中で通常モードへ復帰するような事態を避けることができ、安定した再生動作を維持することができる。   The length of the low power consumption mode period Tlp depends on the length of the prefetch period Tr. When the prefetch period Tr is short, the low power consumption mode period Tlp is also short. However, since the switching period (Tot + Tor) is constant, the low power consumption mode period Tlp cannot be secured if the prefetch period Tr is too short. Therefore, the length (lower limit value) of the look-ahead period in which the low power consumption mode can be ensured is obtained. In this way, it is possible to avoid a situation where the normal mode is restored in the middle of switching to the low power consumption mode, and a stable reproduction operation can be maintained.

次に、低消費電力モードへの切替えを安定して行うための、先読み期間Trの下限値Trmを導出する。先読み時の読み出しビットレート(リードスループット)をBr、データ再生時(画像表示)のビットレートをBcとする。ここでBr>Bcであり、この比Br/Bc=kとする。これらの処理するデータ量は等しいから、
Tr・Br=T・Bc
となる。また、低消費電力モード期間Tlpが確保されるためには、
Tlp=T−Tr−Tot−Tor>0
となればよい。これらから、Trの条件を求めると、
Tr>To/(k−1) (ただしTo=Tot+Tor)
よって、先読み期間Trの下限値Trmは、
Trm=To/(k−1) ・・・(1)
となる。
Next, a lower limit value Trm of the prefetch period Tr for stably switching to the low power consumption mode is derived. Assume that the read bit rate (read throughput) at the time of pre-reading is Br, and the bit rate at the time of data reproduction (image display) is Bc. Here, Br> Bc, and this ratio Br / Bc = k. Since the amount of data to process is equal,
Tr · Br = T · Bc
It becomes. In order to secure the low power consumption mode period Tlp,
Tlp = T-Tr-Tot-Tor> 0
If it becomes. From these, when the condition of Tr is obtained,
Tr> To / (k-1) (where To = Tot + Tor)
Therefore, the lower limit value Trm of the prefetch period Tr is
Trm = To / (k−1) (1)
It becomes.

あるいは、低消費電力モード期間Tlpを確保するための条件として、先読みデータ量Frで表現することもできる。その場合(1)式は、先読みデータ量の下限値をFrmとすれば、
Frm=Trm・Br=To・Br/(k−1) ・・・(2)
と表される。よって、先読みデータ量Fr>Frmとすればよい。
Alternatively, as a condition for securing the low power consumption mode period Tlp, it can be expressed by a prefetch data amount Fr. In that case, if the lower limit value of the prefetched data amount is Frm,
Frm = Trm · Br = To · Br / (k−1) (2)
It is expressed. Therefore, the prefetch data amount Fr> Frm may be set.

本実施例でのHDDアクセススケジューリング部10(先読み量決定部15)は、式(1)あるいは(2)の下限値Trm、Frmより大きくなるようにデータの先読みを行い、低消費電力モードへ切替える。もし、これを満足できない場合には、低消費電力モードへの切替えを実行しない。   The HDD access scheduling unit 10 (prefetching amount determination unit 15) in this embodiment prefetches data so as to be larger than the lower limit values Trm and Frm of the formula (1) or (2), and switches to the low power consumption mode. . If this cannot be satisfied, switching to the low power consumption mode is not executed.

具体的には、先読みバッファ11の容量で判定することができる。すなわち、バッファ11の格納可能な容量FbがFb>Frmを満足すれば、低消費電力モードへの切替えを実行する。換言すれば、先読みバッファ11には、式(2)で決まる容量以上の容量を有するバッファメモリを採用するものとする。ただし、バッファ11の中に、消去不可のデータが残存している場合には、メモリ全体の容量ではなく、使用可能な残容量で判断するのは言うまでもない。   Specifically, it can be determined by the capacity of the prefetch buffer 11. That is, when the capacity Fb that can be stored in the buffer 11 satisfies Fb> Frm, switching to the low power consumption mode is executed. In other words, a buffer memory having a capacity equal to or larger than the capacity determined by Expression (2) is adopted as the prefetch buffer 11. However, if data that cannot be erased remains in the buffer 11, it is needless to say that the determination is based on the remaining usable capacity, not the capacity of the entire memory.

上記計算では、先読み動作終了後、直ちに低消費電力モードへの切替えを行う場合を想定している。もし、切替え実行するまでに一定時間To’待機させるような場合には、時間To’を上記Toに加算してやればよい。   In the above calculation, it is assumed that switching to the low power consumption mode is performed immediately after the prefetching operation is completed. If it is desired to wait for a predetermined time To ′ before switching is performed, the time To ′ may be added to the To.

このように本実施例では、HDDの低消費電力モードへの切替え時間(オーバーヘッド時間)を考慮し、コンテンツの再生条件(HDDの読み出し速度、表示ビットレート、再生方向と速度など)に合わせて先読み時間(先読みデータ量)を決定する。これより、HDDを確実に低消費電力モードに推移させ、HDDの消費電力を低減させることができる。   As described above, in this embodiment, in consideration of the switching time (overhead time) of the HDD to the low power consumption mode, the read-ahead is performed in accordance with the content reproduction conditions (HDD read speed, display bit rate, reproduction direction and speed, etc.). Determine the time (the amount of prefetched data). Thus, the HDD can be reliably shifted to the low power consumption mode, and the power consumption of the HDD can be reduced.

図3は、本実施例における再生制御方法の一例を示すフローチャートである。ここでは、HDDアクセススケジューリング部10の行う先読み動作と、低消費電力モードへの切替え動作を中心に説明する。   FIG. 3 is a flowchart showing an example of the reproduction control method in the present embodiment. Here, the pre-reading operation performed by the HDD access scheduling unit 10 and the switching operation to the low power consumption mode will be mainly described.

HDDアクセススケジューリング部10は、アプリケーション8から再生条件を取得する(ステップS301)。再生条件には、再生方向(順方向、逆方向)、再生モード情報(標準再生、高速再生)、再生ビットレートなどが含まれる。そして、再生条件に合わせて、先読みすべきデータ量Frとデータ範囲を決定する(S302)。その際、先読みバッファ11の容量や上記(2)式の下限値Frmの条件を考慮する。   The HDD access scheduling unit 10 acquires playback conditions from the application 8 (step S301). The reproduction conditions include a reproduction direction (forward direction, reverse direction), reproduction mode information (standard reproduction, high-speed reproduction), a reproduction bit rate, and the like. Then, the data amount Fr to be prefetched and the data range are determined according to the reproduction condition (S302). At that time, the capacity of the prefetch buffer 11 and the condition of the lower limit value Frm in the above equation (2) are considered.

再生処理部9からリード要求を受け取ると(S303)、リード要求された範囲のデータが先読みバッファ11に格納されているかどうかを判定する(S304)。先読みバッファ11中に要求されたデータが有る場合は(S304でYes)、要求されているデータを先読みバッファ11から取り出して再生処理部9に返し(S305)、S313へ進む。先読みバッファ11中に要求されているデータが無い場合は(S304でNo)、S306へ進み要求されたデータの先読みを実行する。   When a read request is received from the reproduction processing unit 9 (S303), it is determined whether data in the read requested range is stored in the prefetch buffer 11 (S304). When there is requested data in the prefetch buffer 11 (Yes in S304), the requested data is taken out from the prefetch buffer 11 and returned to the reproduction processing unit 9 (S305), and the process proceeds to S313. If there is no requested data in the prefetch buffer 11 (No in S304), the process proceeds to S306 and prefetching of the requested data is executed.

S306では、HDDをリード動作可能な通常モードに設定する。もし、現時点のモードが低消費電力モードであれば、通常モードへ復帰させる。S301で取得した再生条件の再生方向がいずれの方向であるかを判定する(S307)。再生方向が順方向であれば(S307でYes)、要求されたデータ範囲を含めてデータファイルの終端方向へ先読みを行い、先読みバッファ11に格納する(S308)。先読みするデータ量はS302で決めた量とする。再生方向が逆方向であれば(S307でNo)、要求されたデータ範囲を含めてデータファイルの先頭方向へ先読みを行い、先読みバッファ11に格納する(S309)。   In S306, the HDD is set to a normal mode in which read operation is possible. If the current mode is the low power consumption mode, the normal mode is restored. It is determined which direction the reproduction direction of the reproduction condition acquired in S301 is (S307). If the reproduction direction is the forward direction (Yes in S307), prefetching is performed in the end direction of the data file including the requested data range, and the prefetch buffer 11 is stored (S308). The amount of prefetched data is the amount determined in S302. If the reproduction direction is the reverse direction (No in S307), prefetching is performed in the head direction of the data file including the requested data range and stored in the prefetch buffer 11 (S309).

S310では、先読みしたデータ量Frが、上記(2)式に示す下限値Frmよりも大きいかどうか判定する。Fr>Frmであれば(S310でYes)、HDDを低消費電力モードに遷移させるためのコマンドを発行し、HDDを低消費電力モードに遷移させる(S311)。Fr<Frmであれば(S310でNo)、低消費電力モードへの遷移は実行せず次のS312へ進む。   In S310, it is determined whether the prefetched data amount Fr is larger than the lower limit value Frm shown in the above equation (2). If Fr> Frm (Yes in S310), a command for changing the HDD to the low power consumption mode is issued, and the HDD is changed to the low power consumption mode (S311). If Fr <Frm (No in S310), the process proceeds to the next S312 without executing the transition to the low power consumption mode.

S312では、再生処理部9の要求している範囲のデータを先読みバッファから取り出し再生処理部9に返す。以下、再生動作が終了するまで繰り返す(S313)
このように本実施例のフローチャート(S310)では、先読みしたデータ量Frを下限値Frmと比較判定し、低消費電力モードに遷移させるかどうかを決定しているので、低消費電力モードへの切替え失敗がなく、安定したデータ再生が実現できる。
In step S312, the data in the range requested by the reproduction processing unit 9 is taken out from the prefetch buffer and returned to the reproduction processing unit 9. Thereafter, the process is repeated until the reproduction operation is completed (S313).
As described above, in the flowchart (S310) of this embodiment, the prefetched data amount Fr is compared with the lower limit value Frm, and it is determined whether or not to shift to the low power consumption mode. Therefore, switching to the low power consumption mode is performed. There is no failure and stable data reproduction can be realized.

なお、上記判定(S310)にて、先読みしたデータ量Frではなく先読み期間Trにより判定することもできる。その場合、先読み期間Trが上記(1)式に示す下限値Trmよりも大きいかどうか判定して、低消費電力モードへの遷移を決定する。   Note that, in the determination (S310), it is possible to determine based on the prefetch period Tr instead of the prefetched data amount Fr. In this case, it is determined whether the prefetch period Tr is longer than the lower limit value Trm shown in the above equation (1), and the transition to the low power consumption mode is determined.

本実施例のビデオプレーヤにおけるHDDは、低消費電力モードとして、アクティブアイドル、ローパワーアイドル、スタンバイなどの複数の低消費電力モードを持っている。これらのモードでは、HDD内部の動作状態が異なるため、消費電力の大きさが相違し、また通常モードからこれらのモードへ切替えるときの切替え時間(オーバーヘッド時間)についても相違する。本実施例では、低消費電力モードへ切替えるとき、トータルの消費電力が最も少ないモードを選択するものである。   The HDD in the video player of the present embodiment has a plurality of low power consumption modes such as active idle, low power idle, and standby as low power consumption modes. In these modes, the operation state inside the HDD is different, so the power consumption is different, and the switching time (overhead time) when switching from the normal mode to these modes is also different. In this embodiment, when switching to the low power consumption mode, the mode with the smallest total power consumption is selected.

図4は、HDDのもつ複数の低消費電力モードの例を説明する図である。(a)アクティブアイドルモードは、ヘッドアームサーボ制御のみをOFFさせた状態で、消費電力Paはやや大きいが、通常モード(リード)との切替え時間Toaは短い。(b)ローパワーアイドルモードは、さらにヘッドを退避させた状態で、消費電力Plは減少するが切替え時間Tolは長くなる。(c)スタンバイモードは、さらにドライブ(ディスク回転)を停止させた状態で、消費電力Psは最も小さい。しかし、多くの部分を停止させるため、切替え時間Posは最も長くなる。すなわち、これらのモードにおいて、消費電力Pと切替え時間Toに関し、
Pa>Pl>Ps、およびToa<Tol<Tos
の関係がある。図4には、各モードにおける消費電力と切替え時間の具体的数値を記述した。
FIG. 4 is a diagram for explaining an example of a plurality of low power consumption modes of the HDD. (A) In the active idle mode, only the head arm servo control is turned off, the power consumption Pa is slightly large, but the switching time Toa with the normal mode (read) is short. (B) In the low power idle mode, the power consumption Pl decreases while the head is retracted, but the switching time Tol becomes longer. (C) In the standby mode, the drive (disk rotation) is further stopped, and the power consumption Ps is the smallest. However, since many parts are stopped, the switching time Pos becomes the longest. That is, in these modes, regarding power consumption P and switching time To,
Pa>Pl> Ps and Toa <Tol <Tos
There is a relationship. FIG. 4 shows specific values of power consumption and switching time in each mode.

図5は、図4で示した各低消費電力モードを選択した場合の消費電力の時間変化を示す図である。(a)はアクティブアイドルモード、(b)はローパワーアイドルモード、(c)はスタンバイモードを選択した場合である。各モードを順に比較すると、消費電力は、Pa>Pl>Psと減少するが、切替え時間はToa<Tol<Tosと増加する(図では、切替え時間Toaを遷移時間Toatと復帰時間Toarに分けて表示している、他の切替え時間についても同様)。その結果、各モードにおいて低消費電力状態を保持できる期間をTa,Tl,Tsとすると、
Ta>Tl>Ts
の関係になる。
FIG. 5 is a diagram showing temporal changes in power consumption when each of the low power consumption modes shown in FIG. 4 is selected. (A) is an active idle mode, (b) is a low power idle mode, and (c) is a standby mode. When each mode is compared in order, the power consumption decreases as Pa>Pl> Ps, but the switching time increases as Toa <Tol <Tos (in the figure, the switching time Toa is divided into a transition time Toat and a return time Toar. The same applies to the other switching times displayed). As a result, let Ta, Tl, and Ts be the periods during which the low power consumption state can be maintained in each mode.
Ta>Tl> Ts
It becomes a relationship.

トータルの消費電力を低減するためには、消費電力は小さく、保持時間は長いのが望ましいことは言うまでもないが、モードにより切替え時間が相違する結果、消費電力と保持時間とは相反する傾向にある。よって、HDDの低消費電力モードを選択するに当たって、最も消費電力の低い(c)のスタンバイモードが必ずしも最適モードであるとは限らない。つまり、どのモードが最適であるかは、各モードでのトータル消費電力を算出し、これらを比較して、トータル消費電力が最小となるモードを選択する必要がある。   In order to reduce the total power consumption, it is needless to say that the power consumption is small and the holding time is long, but as a result of the switching time being different depending on the mode, the power consumption and the holding time tend to conflict. . Therefore, in selecting the low power consumption mode of the HDD, the standby mode (c) with the lowest power consumption is not necessarily the optimum mode. That is, to determine which mode is optimal, it is necessary to calculate the total power consumption in each mode and compare them to select the mode that minimizes the total power consumption.

以下、各モードでのトータルの消費電力を計算する。計算では、各モードにおける1周期Tの平均消費電力Pavを求める(これには、先読み期間の消費電力も含む)。
アクティブアイドルモードにおける平均消費電力をPav(A)とすると、
Pav(A)=(Pr・Tr+Po・Toa+Pa・Ta)/T
=(Po−Pa)・Toa/(k・Tr)
+Pa・(1−1/k)+Pr/k ・・・(3)
ローパワーアイドルモードにおける平均消費電力をPav(L)とすると、
Pav(L)=(Pr・Tr+Po・Tol+Pl・Tl)/T
=(Po−Pl)・Tol/(k・Tr)
+Pl・(1−1/k)+Pr/k ・・・(4)
スタンバイモードにおける平均消費電力をPav(S)とすると、
Pav(S)=(Pr・Tr+Po・Tos+Ps・Ts)/T
=(Po−Ps)・Tos/(k・Tr)
+Ps・(1−1/k)+Pr/k ・・・(5)
となる。ここに、kは前述のビットレート比Br/Bcである。
Hereinafter, the total power consumption in each mode is calculated. In the calculation, an average power consumption Pav for one period T in each mode is obtained (this includes power consumption in the look-ahead period).
When the average power consumption in the active idle mode is Pav (A),
Pav (A) = (Pr · Tr + Po · Toa + Pa · Ta) / T
= (Po-Pa) · Toa / (k · Tr)
+ Pa · (1-1 / k) + Pr / k (3)
When the average power consumption in the low power idle mode is Pav (L),
Pav (L) = (Pr · Tr + Po · Tol + Pl · Tl) / T
= (Po-Pl) · Tol / (k · Tr)
+ Pl · (1-1 / k) + Pr / k (4)
When the average power consumption in the standby mode is Pav (S),
Pav (S) = (Pr · Tr + Po · Tos + Ps · Ts) / T
= (Po-Ps) · Tos / (k · Tr)
+ Ps · (1-1 / k) + Pr / k (5)
It becomes. Here, k is the aforementioned bit rate ratio Br / Bc.

図6は、上記(3)(4)(5)式により求めた各モードにおける平均消費電力の計算結果の例を示す図である。横軸は先読み時間Tr、縦軸は平均消費電力Pavであり、曲線AはアクティブアイドルモードPav(A)、曲線LはローパワーアイドルモードPav(L)、曲線SはスタンバイモードPav(S)の場合である。なお計算式の各定数には、図4の消費電力と切替え時間の数値を用いている。先読み時間Trが増加するにつれ平均消費電力Pavは減少するが、その勾配はモードにより異なる。その結果各曲線は交差し、平均消費電力Pavが最小となる曲線(モード)も切り替わる。   FIG. 6 is a diagram illustrating an example of a calculation result of average power consumption in each mode obtained by the equations (3), (4), and (5). The horizontal axis is the look-ahead time Tr, the vertical axis is the average power consumption Pav, the curve A is the active idle mode Pav (A), the curve L is the low power idle mode Pav (L), and the curve S is the standby mode Pav (S). Is the case. In addition, the numerical values of the power consumption and the switching time shown in FIG. 4 are used for each constant in the calculation formula. The average power consumption Pav decreases as the read-ahead time Tr increases, but the gradient varies depending on the mode. As a result, the curves intersect, and the curve (mode) in which the average power consumption Pav is minimized is switched.

最適モードを選択する際、上記(3)(4)(5)式に先読み時間Trを与えてそれぞれの平均消費電力Pav(A)、Pav(L)、Pav(S)を計算する。そして、計算した各平均消費電力Pavを比較し、平均消費電力Pavが最小になるモードを決定する。   When selecting the optimum mode, the pre-reading time Tr is given to the above equations (3), (4), and (5), and the respective average power consumption Pav (A), Pav (L), and Pav (S) are calculated. Then, the calculated average power consumption Pav is compared, and a mode in which the average power consumption Pav is minimized is determined.

あるいは、先読み時間Trを閾値と比較して最適モードを選択することもできる。曲線Aと曲線Lの交点おける先読み時間をTr1、曲線Lと曲線Sの交点における先読み時間をTr2とする(ただしTr1<Tr2)。これらの閾値Tr1、Tr2は装置条件に依存する固定の値であり、上記(3)(4)(5)式の値が等しくなる条件から求めることができる。   Alternatively, the optimum mode can be selected by comparing the look-ahead time Tr with a threshold value. The prefetch time at the intersection of the curve A and the curve L is Tr1, and the prefetch time at the intersection of the curve L and the curve S is Tr2 (where Tr1 <Tr2). These threshold values Tr1 and Tr2 are fixed values depending on the apparatus conditions, and can be obtained from the conditions in which the values of the expressions (3), (4), and (5) are equal.

まず、先読み時間TrがTr1より小さければ(Tr<Tr1)、平均消費電力Pavが最小になるのはアクティブアイドルモード(曲線A)の場合である。先読み時間TrがTr1より大きくTr2より小さければ(Tr1<Tr<Tr2)、平均消費電力Pavが最小になるのはローパワーアイドルモード(曲線L)の場合である。そして、先読み時間TrがTr2より大きければ(Tr>Tr2)、平均消費電力Pavが最小になるのはスタンバイモード(曲線C)の場合である。このように先読み時間Trがどの区間にあるかを判定することで、その都度平均消費電力を計算する必要がなく、最適モードを迅速に決定することができる。   First, if the look-ahead time Tr is shorter than Tr1 (Tr <Tr1), the average power consumption Pav is minimized in the active idle mode (curve A). If the look-ahead time Tr is larger than Tr1 and smaller than Tr2 (Tr1 <Tr <Tr2), the average power consumption Pav is minimized in the low power idle mode (curve L). If the prefetch time Tr is longer than Tr2 (Tr> Tr2), the average power consumption Pav is minimized in the standby mode (curve C). Thus, by determining which section the look-ahead time Tr is in, it is not necessary to calculate the average power consumption each time, and the optimum mode can be determined quickly.

上記説明では、先読み時間Trの大きさに注目して最適モードを選択するようにしたが、先読みデータ量Frに着目して判定することもできる。その場合、上記(3)(4)(5)式は、Tr=Fr/Br=Fr/(k・Bc)とおいて次のようになる。
Pav(A)=(Po−Pa)・Toa・Bc/Fr
+Pa・(1−1/k)+Pr/k ・・・(6)
Pav(L)=(Po−Pl)・Tol・Bc/Fr
+Pl・(1−1/k)+Pr/k ・・・(7)
Pav(S)=(Po−Ps)・Tos・Bc/Fr
+Ps・(1−1/k)+Pr/k ・・・(8)
先読みデータ量Frを(6)(7)(8)式に与えて、各モードでの平均消費電力Pavを比較し、平均消費電力が最小となるモードを選択する。
In the above description, the optimum mode is selected by paying attention to the size of the prefetch time Tr. However, the determination can also be made by paying attention to the prefetch data amount Fr. In this case, the above equations (3), (4), and (5) are as follows when Tr = Fr / Br = Fr / (k · Bc).
Pav (A) = (Po−Pa) · Toa · Bc / Fr
+ Pa · (1-1 / k) + Pr / k (6)
Pav (L) = (Po−Pl) · Tol · Bc / Fr
+ Pl · (1-1 / k) + Pr / k (7)
Pav (S) = (Po−Ps) · Tos · Bc / Fr
+ Ps · (1-1 / k) + Pr / k (8)
The prefetch data amount Fr is given to the equations (6), (7), and (8), the average power consumption Pav in each mode is compared, and the mode that minimizes the average power consumption is selected.

また、先読みデータ量Frを閾値と比較して最適モードを選択することもできる。その場合の閾値は、上記Tr1、Tr2に対応させて、Fr1=Tr1・Br、Fr2=Tr2・Brのように設定しておく。そして、Fr<Fr1の場合はアクティブアイドルモードを、Fr1<Fr<Fr2の場合はローパワーアイドルモードを、Fr>Fr2の場合はスタンバイモードを選択する。   It is also possible to select the optimum mode by comparing the prefetch data amount Fr with a threshold value. In this case, the threshold values are set such that Fr1 = Tr1 · Br and Fr2 = Tr2 · Br corresponding to the Tr1 and Tr2. When Fr <Fr1, the active idle mode is selected. When Fr1 <Fr <Fr2, the low power idle mode is selected. When Fr> Fr2, the standby mode is selected.

上記結果から明らかなように、モード選択の指針は次の通りである。先読み時間Trまたは先読みデータ量Frが少ない場合は、より切替え時間Toが少ないモード(例えばアクティブアイドルモード)を選択し、先読み時間Trまたは先読みデータ量Frが多い場合は、より消費電力Pが小さいモード(例えばスタンバイモード)を選択することである。   As is clear from the above results, the guidelines for mode selection are as follows. When the prefetch time Tr or the prefetch data amount Fr is small, a mode with a shorter switching time To is selected (for example, the active idle mode), and when the prefetch time Tr or the prefetch data amount Fr is large, the power consumption P is smaller. (For example, standby mode) is selected.

このように本実施例によれば低消費電力のモード選択を最適に行い、消費電力をより低減させることができる。よって、省電力が強く要請されるモバイル用途のビデオプレーヤにおいて、消費電力の低減に大きく寄与する。   Thus, according to the present embodiment, mode selection with low power consumption can be performed optimally, and power consumption can be further reduced. Therefore, it greatly contributes to reduction of power consumption in a video player for mobile use that strongly demands power saving.

図7は、本実施例における再生制御方法の一例を示すフローチャートであり、ここでは、複数の低消費電力モードの中から最適なモードを選択して切替える工程を示す。この工程は、前記図3の全体フローチャートにおけるステップS311の中で実行できる。   FIG. 7 is a flowchart showing an example of the regeneration control method in the present embodiment, and here, shows a step of selecting and switching an optimum mode from a plurality of low power consumption modes. This step can be executed in step S311 in the overall flowchart of FIG.

まず、先読み時間Trを取得し(S701)、各低消費電力モードに切替えた場合の平均消費電力Pavを計算する。S702では、(3)式を用いてアクティブアイドルモードの場合の平均消費電力Pav(A)を計算する。S703では、(4)式を用いてローパワーアイドルモードの場合の平均消費電力Pav(L)を計算する。S704では、(5)式を用いてスタンバイモードの場合の平均消費電力Pav(S)を計算する。   First, the prefetch time Tr is acquired (S701), and the average power consumption Pav when switching to each low power consumption mode is calculated. In S702, the average power consumption Pav (A) in the active idle mode is calculated using equation (3). In S703, the average power consumption Pav (L) in the low power idle mode is calculated using equation (4). In S704, the average power consumption Pav (S) in the standby mode is calculated using equation (5).

次に計算した各モードの平均消費電力Pavを比較する。Pav(A)が最小である場合(S705でYes)には、HDDをアクティブアイドルモードへ遷移させる(S706)。Pav(L)が最小である場合(S707でYes)には、HDDをローパワーアイドルモードへ遷移させる(S708)。Pav(S)が最小である場合(S709でYes)には、HDDをスタンバイモードへ遷移させる(S710)。   Next, the calculated average power consumption Pav of each mode is compared. If Pav (A) is minimum (Yes in S705), the HDD is shifted to the active idle mode (S706). If Pav (L) is minimum (Yes in S707), the HDD is shifted to the low power idle mode (S708). If Pav (S) is minimum (Yes in S709), the HDD is shifted to the standby mode (S710).

このようにして、先読み時間Trに応じて、最適な低消費電力モードへ切替えることができる。なお、平均消費電力Pavを計算する際、先読み時間Trではなく、先読みデータ量Frに基づき、上記(6)(7)(8)式を用いて計算することもできる。   In this way, the optimum low power consumption mode can be switched according to the prefetch time Tr. Note that, when calculating the average power consumption Pav, it is also possible to calculate using the above formulas (6), (7), and (8) based on the prefetch data amount Fr instead of the prefetch time Tr.

また、先読み時間の閾値Tr1,Tr2、あるいは先読みデータ量の閾値Fr1,Fr2を予め求めておけば、先読み時間Trあるいは先読みデータ量Frをこれらの閾値と比較することで、最適な低消費電力モードへ切替えることができる。その場合には、平均消費電力Pavを計算する工程(S702〜S704)を省略することができる。   Further, if the prefetch time threshold values Tr1 and Tr2 or the prefetch data amount threshold values Fr1 and Fr2 are obtained in advance, the prefetch time Tr or the prefetch data amount Fr is compared with these threshold values to obtain an optimum low power consumption mode. Can be switched to. In that case, the steps (S702 to S704) of calculating the average power consumption Pav can be omitted.

上記実施例では3種類の具体的な低消費電力モードを説明したが、これらは一例であり、他の種類のモードにも適用できる。またそれらから最適モードを選択する際に使用する計算式や閾値等は、適宜変更して設定すればよい。   In the above-described embodiment, three types of specific low power consumption modes have been described. However, these are merely examples, and can be applied to other types of modes. In addition, the calculation formula, threshold value, and the like used when selecting the optimum mode from them may be appropriately changed and set.

本発明は、HDDを利用したビデオプレーヤのみではなく、HDDを利用したビデオレコーダにおいても適用可能である。その場合はHDDに高速でまとめ書きして、書き込みを行わない期間にHDDを低消費電力モードに切替えるようにすればよい。   The present invention can be applied not only to a video player using an HDD but also to a video recorder using an HDD. In that case, it is only necessary to write the data in the HDD at a high speed so that the HDD is switched to the low power consumption mode during the period when the writing is not performed.

また本発明は、HDDだけでなく、光ディスク等を含めたディスク媒体を用いて高速でデータの読み出し/書き込みを行うディスク装置に適用可能である。その場合、ディスクに格納するデータはビデオデータに限らず、時間的に連続するデータに対し読み出し/書き込みの効率を向上させ、また、ディスク回転等に要する消費電力の低減に寄与する。   Further, the present invention is applicable to a disk device that reads / writes data at high speed using not only an HDD but also a disk medium including an optical disk. In that case, the data stored in the disk is not limited to video data, but improves the efficiency of reading / writing for temporally continuous data, and contributes to the reduction of power consumption required for disk rotation and the like.

本発明によるディスク記録再生装置の一実施例としてビデオプレーヤのブロック構成を示す図。The figure which shows the block structure of a video player as one Example of the disc recording / reproducing apparatus by this invention. ビデオプレーヤにおける消費電力の時間変化を示す図。The figure which shows the time change of the power consumption in a video player. 再生制御方法の一例を示すフローチャート。6 is a flowchart illustrating an example of a reproduction control method. 複数の低消費電力モードの例を説明する図。The figure explaining the example of several low power consumption mode. 各モードを選択した場合の消費電力の時間変化を示す図。The figure which shows the time change of the power consumption at the time of selecting each mode. 各モードにおける平均消費電力の計算結果の例を示す図。The figure which shows the example of the calculation result of the average power consumption in each mode. 最適な低消費電力モードを選択して切替えるフローチャート。The flowchart which selects and switches the optimal low power consumption mode.

符号の説明Explanation of symbols

1…HDD
2…CPU
4…メモリ
5…キー/リモコン
6…デコーダ/表示IF
7…ディスプレイ
8…アプリケーション
9…再生処理部
10…HDDアクセススケジューリング部
11…先読みバッファメモリ
12…デコーダアクセススケジューリング部
13…HDDドライバ
14…デコーダドライバ
15…先読み量決定部
16…消費電力計算部
17…モード選択部
Tr…リード時間(先読み時間)
To,Toa,Tol,Tos…モード切替え時間
Tlp,Ta,Tl,Ts…低消費電力モード時間
T…コンテンツデータのリード周期
Pr…リード時(先読み時)の消費電力
Po…モード切替え時の消費電力
Plp,Pa,Pl,Ps…低消費電力モード時の消費電力
Pav…平均消費電力。
1 ... HDD
2 ... CPU
4 ... Memory 5 ... Key / Remote control 6 ... Decoder / Display IF
DESCRIPTION OF SYMBOLS 7 ... Display 8 ... Application 9 ... Playback processing part 10 ... HDD access scheduling part 11 ... Prefetch buffer memory 12 ... Decoder access scheduling part 13 ... HDD driver 14 ... Decoder driver 15 ... Prefetch amount determination part 16 ... Power consumption calculation part 17 ... Mode selection part Tr ... Lead time (read-ahead time)
To, Toa, Tol, Tos ... Mode switching time Tlp, Ta, Tl, Ts ... Low power consumption mode time T ... Content data read cycle Pr ... Power consumption at reading (pre-reading) Po ... Power consumption at mode switching Plp, Pa, Pl, Ps: power consumption in the low power consumption mode Pav: average power consumption.

Claims (9)

ディスク媒体に対し連続するデータをその再生速度よりもk倍高速で読み出し又は書き込みを行うディスクドライブを有するディスク記録再生装置であって、
上記ディスクドライブにて読み出し又は書き込むデータを格納するバッファメモリと、
連続してデータの読み出し又は書き込みを行う時間Trを決定する読み出し書き込み量決定部と、
上記ディスクドライブの読み出し又は書き込み動作を制御する制御部を備え、
該制御部は、上記ディスクドライブに対し上記時間Trだけデータの読み出し又は書き込みを行い、
該読み出し又は書き込み終了後、該時間Trを所定値Trmと比較し、
該時間Trが該所定値Trmより大きい場合、上記ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替えることを特徴とするディスク記録再生装置。(ただし、Trm=To/(k−1)、Toは低消費電力モードへの切替え時間)
A disk recording / playback apparatus having a disk drive for reading or writing continuous data to / from a disk medium at a speed k times faster than the playback speed,
A buffer memory for storing data read or written by the disk drive;
A read / write amount determination unit for determining a time Tr for continuously reading or writing data;
A control unit for controlling the reading or writing operation of the disk drive;
The controller reads or writes data to the disk drive for the time Tr,
After the reading or writing, the time Tr is compared with a predetermined value Trm,
When the time Tr is larger than the predetermined value Trm, the disk drive is switched to a low power consumption mode in which the disk drive is partially stopped. (However, Trm = To / (k−1), To is the switching time to the low power consumption mode)
ディスク媒体に対し連続するデータをその再生速度よりもk倍高速な速度Brで読み出し又は書き込みを行うディスクドライブを有するディスク記録再生装置であって、
上記ディスクドライブにて読み出し又は書き込むデータを格納するバッファメモリと、
連続してデータの読み出し又は書き込みを行うデータ量Frを決定する読み出し書き込み量決定部と、
上記ディスクドライブの読み出し又は書き込み動作を制御する制御部を備え、
該制御部は、上記ディスクドライブに対し上記データ量Frだけデータの読み出し又は書き込みを行い、
該読み出し又は書き込み終了後、該データ量Frを所定値Frmと比較し、
該データ量Frが該所定値Frmより大きい場合、上記ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替えることを特徴とするディスク記録再生装置。(ただし、Frm=To・Br/(k−1)、Toは低消費電力モードへの切替え時間)
A disk recording / reproducing apparatus having a disk drive for reading or writing continuous data with respect to a disk medium at a speed Br that is k times faster than the reproduction speed thereof,
A buffer memory for storing data read or written by the disk drive;
A read / write amount determination unit for determining a data amount Fr for continuously reading or writing data;
A control unit for controlling the reading or writing operation of the disk drive;
The controller reads or writes data to the disk drive by the data amount Fr,
After the reading or writing, the data amount Fr is compared with a predetermined value Frm,
When the data amount Fr is larger than the predetermined value Frm, the disk drive is switched to a low power consumption mode in which a part of the disk drive is stopped. (However, Frm = To · Br / (k−1), To is the switching time to the low power consumption mode)
請求項1または2に記載のディスク記録再生装置であって、
前記読み出し書き込み量決定部は、前記ディスク媒体からデータの読み出しを行う際、要求された範囲のデータと再生方向に連続する範囲のデータを先読み範囲として決定することを特徴とするディスク記録再生装置。
The disc recording / reproducing apparatus according to claim 1 or 2,
The read / write amount determination unit, when reading data from the disk medium, determines data in a requested range and data in a range continuous in a playback direction as a pre-read range.
請求項1または2に記載のディスク記録再生装置であって、
前記ディスクドライブにおける前記低消費電力モードとして、切替え時間と消費電力がそれぞれ異なる複数のモードが選択可能である場合、
前記制御部は、さらに、前記時間Tr又は前記データ量Frから各モードにおける平均消費電力を計算する消費電力計算部と、
計算した該平均消費電力が最小となるモードを選択するモード選択部を有することを特徴とするディスク記録再生装置。
The disc recording / reproducing apparatus according to claim 1 or 2,
When the plurality of modes having different switching time and power consumption can be selected as the low power consumption mode in the disk drive,
The control unit is further configured to calculate an average power consumption in each mode from the time Tr or the data amount Fr; and
A disc recording / reproducing apparatus comprising: a mode selection unit that selects a mode in which the calculated average power consumption is minimized.
ディスク媒体に対し連続するデータをその再生速度よりもk倍高速で読み出し又は書き込みを行うディスクドライブの記録再生制御方法であって、
連続してデータの読み出し又は書き込みを行う時間Trを決定し、
上記ディスク媒体に対し該時間Trだけデータの読み出し又は書き込みを行い、
該読み出し又は書き込み終了後、該時間Trを所定値Trmと比較し、
該時間Trが該所定値Trmより大きい場合、上記ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替えることを特徴とする記録再生制御方法。(ただし、Trm=To/(k−1)、Toは低消費電力モードへの切替え時間)
A recording / playback control method for a disk drive that reads or writes continuous data to / from a disk medium at a speed k times faster than the playback speed,
A time Tr for continuously reading or writing data is determined,
Read or write data to the disk medium for the time Tr,
After the reading or writing, the time Tr is compared with a predetermined value Trm,
When the time Tr is greater than the predetermined value Trm, the disk drive is switched to a low power consumption mode in which a part of its operation is stopped. (However, Trm = To / (k−1), To is the switching time to the low power consumption mode)
ディスク媒体に対し連続するデータをその再生速度よりもk倍高速な速度Brで読み出し又は書き込みを行うディスクドライブの記録再生制御方法であって、
連続してデータの読み出し又は書き込みを行うデータ量Frを決定し、
上記ディスク媒体に対し該データ量Frだけデータの読み出し又は書き込みを行い、
該読み出し又は書き込み終了後、該データ量Frを所定値Frmと比較し、
該データ量Frが該所定値Trmより大きい場合、上記ディスクドライブをその一部の動作を停止させる低消費電力モードへ切替えることを特徴とする記録再生制御方法。(ただし、Frm=To・Br/(k−1)、Toは低消費電力モードへの切替え時間)
A recording / playback control method for a disk drive that reads or writes continuous data to / from a disk medium at a speed Br that is k times faster than the playback speed,
A data amount Fr for continuously reading or writing data is determined,
Read or write data to the disk medium by the data amount Fr,
After the reading or writing, the data amount Fr is compared with a predetermined value Frm,
When the data amount Fr is larger than the predetermined value Trm, the disk drive is switched to a low power consumption mode in which a part of its operation is stopped. (However, Frm = To · Br / (k−1), To is the switching time to the low power consumption mode)
請求項5または6に記載の記録再生制御方法であって、
前記ディスク媒体からデータの読み出しを行う際、要求された範囲のデータと再生方向に連続する範囲のデータを先読みすることを特徴とする記録再生制御方法。
The recording / reproducing control method according to claim 5 or 6,
A recording / reproduction control method, wherein when reading data from the disk medium, the data in a requested range and data in a range continuous in the reproduction direction are prefetched.
請求項5または6に記載の記録再生制御方法であって、
前記低消費電力モードとして切替え時間と消費電力がそれぞれ異なる複数のモードを選択可能である場合、
前記時間Tr又は前記データ量Frから各モードにおける平均消費電力を計算し、
該平均消費電力が最小となるモードを選択することを特徴とする記録再生制御方法。
The recording / reproducing control method according to claim 5 or 6,
When it is possible to select a plurality of modes with different switching time and power consumption as the low power consumption mode,
The average power consumption in each mode is calculated from the time Tr or the data amount Fr,
A recording / reproducing control method, wherein a mode that minimizes the average power consumption is selected.
請求項5または6に記載の記録再生制御方法であって、
前記低消費電力モードとして切替え時間と消費電力がそれぞれ異なる複数のモードを選択可能である場合、
前記時間Tr又は前記データ量Frを閾値と比較し、
該閾値より小さい場合には、切替え時間の小さいモードを選択し、
該閾値より大きい場合には、消費電力の小さいモードを選択することを特徴とする記録再生制御方法。
The recording / reproducing control method according to claim 5 or 6,
When it is possible to select a plurality of modes with different switching time and power consumption as the low power consumption mode,
The time Tr or the data amount Fr is compared with a threshold value,
If smaller than the threshold, select a mode with a short switching time,
A recording / reproducing control method, wherein a mode with low power consumption is selected when the threshold value is larger than the threshold value.
JP2006117473A 2006-04-21 2006-04-21 Disc recording / reproducing apparatus and recording / reproducing control method Expired - Fee Related JP4643488B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006117473A JP4643488B2 (en) 2006-04-21 2006-04-21 Disc recording / reproducing apparatus and recording / reproducing control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006117473A JP4643488B2 (en) 2006-04-21 2006-04-21 Disc recording / reproducing apparatus and recording / reproducing control method

Publications (2)

Publication Number Publication Date
JP2007293937A JP2007293937A (en) 2007-11-08
JP4643488B2 true JP4643488B2 (en) 2011-03-02

Family

ID=38764422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006117473A Expired - Fee Related JP4643488B2 (en) 2006-04-21 2006-04-21 Disc recording / reproducing apparatus and recording / reproducing control method

Country Status (1)

Country Link
JP (1) JP4643488B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5020774B2 (en) * 2007-10-24 2012-09-05 株式会社日立製作所 Storage power consumption reduction method using prefetching and computer system using the method
JP5253143B2 (en) * 2008-12-26 2013-07-31 キヤノン株式会社 Information processing apparatus, information processing apparatus control method, and program
JP2011159349A (en) 2010-01-29 2011-08-18 Toshiba Corp Magnetic disk device, control method thereof, and information processor

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000195145A (en) * 1998-12-28 2000-07-14 Sanyo Electric Co Ltd Disk player
JP2004087052A (en) * 2002-08-28 2004-03-18 Sony Corp Video and sound recording and reproducing device, and method for controlling the same

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000195145A (en) * 1998-12-28 2000-07-14 Sanyo Electric Co Ltd Disk player
JP2004087052A (en) * 2002-08-28 2004-03-18 Sony Corp Video and sound recording and reproducing device, and method for controlling the same

Also Published As

Publication number Publication date
JP2007293937A (en) 2007-11-08

Similar Documents

Publication Publication Date Title
US6553476B1 (en) Storage management based on predicted I/O execution times
US7664884B2 (en) Media drive that creates a transfer unnecessary period, and power saving method thereof
US7673238B2 (en) Portable media device with video acceleration capabilities
US9282277B2 (en) Storage device and controller to selectively activate a storage media
JP4589335B2 (en) Determining buffer refill time when playing variable bit rate media streams
US20090240839A1 (en) Data storage device
JP2000200152A (en) Magnetic disk drive
JP4643488B2 (en) Disc recording / reproducing apparatus and recording / reproducing control method
JPH11110139A (en) Method and device for reading data
JP2010027105A (en) Disk-drive device and method for error recovery thereof
JP2005341004A (en) Device, method and system for reproducing content and computer program for these devices, method and system
US20090141607A1 (en) Optical disc drive and method for playing a fast rolling music disc
JP2006185162A (en) Data storage device and control method for the same
JP2009110612A (en) Recording/reproducing apparatus
JP4763376B2 (en) Disk unit
JP2008112521A (en) Information processor and program for its power-saving operation
JP2004199767A (en) Data processor, data processing method and program
JP2004213059A (en) Disk recording device and data access method for application to same device
JP2003330623A (en) External storage device and its data buffer control method
JP3541814B2 (en) Optical disk recording and playback device
JP2007026125A (en) Recording and reproducing apparatus
JP2010157917A (en) Imaging apparatus and imaging method
JP2012014789A (en) Hybrid picture recording/reproducing device, control method, program, and recording medium
JP2005085410A (en) Optical disk device and its control method
JP2008176894A (en) Magnetic disk device with nonvolatile memory, and control method of controlling magnetic disk device with nonvolatile memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101105

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20101116

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101202

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131210

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees