JP2007065743A - Personal digital assistance and method for managing storage region of personal digital assistance thereof - Google Patents

Personal digital assistance and method for managing storage region of personal digital assistance thereof Download PDF

Info

Publication number
JP2007065743A
JP2007065743A JP2005247636A JP2005247636A JP2007065743A JP 2007065743 A JP2007065743 A JP 2007065743A JP 2005247636 A JP2005247636 A JP 2005247636A JP 2005247636 A JP2005247636 A JP 2005247636A JP 2007065743 A JP2007065743 A JP 2007065743A
Authority
JP
Japan
Prior art keywords
data
hdd
random access
information terminal
portable information
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
JP2005247636A
Other languages
Japanese (ja)
Inventor
Hidekazu Watanabe
秀和 渡辺
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.)
Sony Corp
Original Assignee
Sony Ericsson Mobile Communications Japan Inc
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 Sony Ericsson Mobile Communications Japan Inc filed Critical Sony Ericsson Mobile Communications Japan Inc
Priority to JP2005247636A priority Critical patent/JP2007065743A/en
Publication of JP2007065743A publication Critical patent/JP2007065743A/en
Withdrawn legal-status Critical Current

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

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve an operation response in relation to a user by reducing power consumption and suppressing decrease of battery residual quantity when mounting an HDD and a buffer memory. <P>SOLUTION: A memory area of a buffer memory which temporarily stores data written in the HDD is managed by clearly dividing into a buffer memory area for sequential data, such as audio data and that for random access data, such as an address book. For the random access data, the number of accesses to the HDD at the time of using the random access data use is reduced by normally storing the data in the buffer memory area for the random access data. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、例えばハードディスクドライブ(HDD)を搭載し、そのハードディスクドライブに対して書き込み,読み出しされるデータを一旦バッファメモリに蓄積して使用するようになされた携帯電話端末などの携帯情報端末と、その携帯情報端末の記憶領域管理方法に関する。   The present invention includes, for example, a portable information terminal such as a cellular phone terminal that is equipped with a hard disk drive (HDD) and data that is written to and read from the hard disk drive is temporarily stored in a buffer memory. The present invention relates to a storage area management method for the portable information terminal.

近年は、ハードディスクドライブ(以下、単にHDDとする。)を搭載し、例えばオーディオデータやビデオデータ等をHDDに記録し、そのHDDに記録されたデータを再生可能な機能を備えた携帯電話端末等の携帯情報端末の商品化が進んできている。なお、HDDは一般に記録容量が大きいため、上記オーディオデータやビデオデータだけでなく、例えば住所録データをHDD上で管理したり、地図データやソフトウェアプログラム等をHDDにストアすることも可能である。   In recent years, a mobile phone terminal or the like equipped with a hard disk drive (hereinafter simply referred to as an HDD) and having a function capable of recording audio data, video data, and the like on the HDD and reproducing the data recorded on the HDD. The mobile information terminal has been commercialized. Since the HDD generally has a large recording capacity, it is possible to manage not only the audio data and video data but also address book data on the HDD, and store map data, software programs, and the like in the HDD.

また、バッテリ駆動されるような携帯情報端末において、HDDに記録されたオーディオデータやビデオデータを再生するような場合には、HDDとは別に大容量の外部バッファメモリを用意しておき、HDDから読み出したデータを当該バッファメモリに一旦コピーし、そのバッファメモリ上のデータを読み出すようにし、その間はHDDを停止させておくことにより、HDDを常時動作させておく場合に比べて消費電力を削減し、バッテリ残量の低下を少なくするようなことが行われている。   Also, in the case of playing back audio data and video data recorded in an HDD in a battery-powered portable information terminal, a large-capacity external buffer memory is prepared separately from the HDD, and The read data is temporarily copied to the buffer memory, and the data on the buffer memory is read. During this time, the HDD is stopped, thereby reducing power consumption compared to the case where the HDD is always operated. In order to reduce the decrease in the remaining amount of the battery, it is performed.

なお、特開2003−330797号の公開特許公報(特許文献1)には、キャッシュメモリにおいて情報を一時記憶する量又は一時記憶する時間を、キャッシュメモリに書き込まれる情報の属性の判別結果により制御するようになされた記憶装置及びそのプログラムが開示されている。この公報記載の技術によれば、AVデータの場合は、その連続性により先読みの有効性が高いため先読み重視とし、これによってディスク等の記憶媒体からの連続的な読み出しに基づくバッファ的なキャッシュ動作に適した状態とし、一方、PCデータを対象とする場合には、キャッシュヒットの確率向上のためにデータ保持重視とすることで、キャッシュヒットの回数の増加による応答性の向上を実現可能となされている。   In Japanese Patent Laid-Open No. 2003-330797 (Patent Document 1), the amount of information temporarily stored in the cache memory or the time for temporarily storing information is controlled by the determination result of the attribute of information written in the cache memory. A storage device configured as described above and a program therefor are disclosed. According to the technique described in this publication, in the case of AV data, prefetching is highly effective due to its continuity, and therefore, prefetching is emphasized, whereby a buffer-like cache operation based on continuous reading from a storage medium such as a disk is performed. On the other hand, when PC data is targeted, it is possible to improve responsiveness by increasing the number of cache hits by focusing on data retention in order to improve the probability of cache hits. ing.

特開2003−330797号公報(第8図、第9図、第10図、第11図)Japanese Unexamined Patent Publication No. 2003-330797 (FIGS. 8, 9, 10, and 11)

ところで、上述したように、HDDから読み出したデータを一旦バッファメモリにコピーすることにより、HDDを常時動作させないようにして消費電力を削減するような手法は、オーディオやビデオのようなシーケンシャルなデータを扱う場合には非常に有効である。以下、それらのデータをシーケンシャルデータと呼ぶことにする。   By the way, as described above, by temporarily copying the data read from the HDD to the buffer memory and reducing the power consumption by keeping the HDD from operating at all times, sequential data such as audio and video is stored. It is very effective when handling. Hereinafter, these data are referred to as sequential data.

一方、例えば住所録データや地図データ,ソフトウェアプログラム等のようなデータは、上記オーディオやビデオデータのようにシーケンシャルに扱われることは殆ど無い。また、それらデータをHDDへ書き込むためのアクセスや、HDDから読み出すためのアクセスは、時間的にランダムに発生することが多い。以下、これらのデータをランダムアクセスデータと呼ぶことにする。   On the other hand, data such as address book data, map data, and software programs are rarely handled sequentially like the audio and video data. Also, access for writing such data to the HDD and access for reading from the HDD often occur randomly in time. Hereinafter, these data are referred to as random access data.

したがって、このように書き込みや読み出しのアクセスが何時発生するかわからないランダムアクセスデータのために、常にHDDを動作させるようなことは消費電力の点から好ましくない。一方、通常はHDDを停止させておき、それらランダムアクセスデータの書き込みや読み出しが必要になった時にのみ、HDDを起動させるようにして消費電力を抑えることも可能であるが、この場合、HDDのモータを起動させ、HDDの内部磁気ディスクの回転が安定してデータの書き込み,読み出しが可能な状態になるまでの待ち時間が必要になり、ユーザからみて操作レスポンスが悪くなってしまう。また、ランダムアクセスデータの書き込みや読み出しが短時間に頻繁に行われるような時には、上述したようにシーケンシャルデータをバッファメモリに一時的に蓄積させてHDDを停止させるようにした場合よりも、消費電力が多くなってしまうこともあり得る。   Therefore, it is not preferable from the viewpoint of power consumption to always operate the HDD for random access data in which it is not known when a write or read access occurs. On the other hand, it is usually possible to stop the HDD and reduce the power consumption by starting the HDD only when it is necessary to write or read the random access data. A waiting time is required until the motor is started and the rotation of the internal magnetic disk of the HDD becomes stable and data can be written and read, resulting in poor operation response from the user's point of view. Also, when random access data is frequently written or read in a short time, the power consumption is higher than when the HDD is stopped by temporarily storing the sequential data in the buffer memory as described above. May increase.

本発明は、このような実情に鑑みて提案されたものであり、HDDを搭載し、そのHDDに対して書き込み,読み出しされるデータを一旦バッファメモリに蓄積して使用するようになされている場合において、例えば、オーディオやビデオのようなシーケンシャルなデータと住所録や地図データ等のようなランダムアクセスデータを、HDDに書き込み,読み出しする際に、消費電力を低減してバッテリ残量低下を少なくすることができ、また、ユーザからみた操作レスポンスの向上を図ることが可能な携帯情報端末とその携帯情報端末の記憶領域管理方法を提供することを目的とする。   The present invention has been proposed in view of such a situation, and an HDD is mounted, and data written to and read from the HDD is temporarily stored in a buffer memory and used. In, for example, when writing sequential data such as audio and video and random access data such as address book and map data to and reading from the HDD, the power consumption is reduced and the battery remaining is reduced. It is another object of the present invention to provide a portable information terminal and a storage area management method for the portable information terminal that can improve the operation response as viewed from the user.

本発明の携帯情報端末は、ディスク状の記録媒体を備えた記録手段にて記録/再生される情報を一時的に記憶する一時記憶部と、一時記憶部の記憶領域をシーケンシャル情報用の第1の記憶領域とランダムアクセス情報用の第2の記憶領域とに分けて管理し、記録手段にて記録/再生されるランダムアクセス情報の少なくとも一部を常に第2の記憶領域に記憶させておく制御を行う制御部とを有することにより、上述した課題を解決する。   The portable information terminal according to the present invention includes a temporary storage unit that temporarily stores information recorded / reproduced by a recording unit including a disk-shaped recording medium, and a storage area of the temporary storage unit as a first for sequential information. Of the storage area and the second storage area for random access information, and control for always storing at least part of the random access information recorded / reproduced by the recording means in the second storage area By having the control unit that performs the above, the above-described problems are solved.

また、本発明の携帯情報端末の記憶領域管理方法は、ディスク状の記録媒体を備えた記録手段にて記録/再生される情報を一時的に記憶するための一時記憶部の記憶領域を、シーケンシャル情報用の第1の記憶領域とランダムアクセス情報用の第2の記憶領域とに分けて管理し、記録手段にて記録/再生される情報のうち、ランダムアクセス情報の少なくとも一部を常に第2の記憶領域に記憶させることにより、上述した課題を解決する。   The storage area management method for a portable information terminal according to the present invention also provides a storage area of a temporary storage unit for temporarily storing information recorded / reproduced by a recording means having a disc-shaped recording medium. The information is managed separately in the first storage area for information and the second storage area for random access information, and at least a part of the random access information among the information recorded / reproduced by the recording means is always the second storage area. The above-described problems are solved by storing them in the storage area.

すなわち、本発明によれば、一時記憶部の記憶領域をシーケンシャル情報用の第1の記憶領域とランダムアクセス情報用の第2の記憶領域とに分けて管理し、ランダムアクセス情報の少なくとも一部を常に第2の記憶領域に記憶させることにより、ランダムアクセス情報が記録媒体にて記録/再生される回数を減らすようにしている。   That is, according to the present invention, the storage area of the temporary storage unit is divided into the first storage area for sequential information and the second storage area for random access information, and at least part of the random access information is managed. By always storing in the second storage area, the number of times random access information is recorded / reproduced on the recording medium is reduced.

本発明によれば、一時記憶部の記憶領域をシーケンシャル情報用の第1の記憶領域とランダムアクセス情報用の第2の記憶領域とに分け、ランダムアクセス情報の少なくとも一部を常に第2の記憶領域に記憶させ、ランダムアクセス情報が記録媒体にて記録/再生される回数を減らすことにより、消費電力を低減してバッテリ残量低下を少なくすることができ、また、ユーザからみた操作レスポンスの向上を図ることが可能となる。   According to the present invention, the storage area of the temporary storage unit is divided into the first storage area for sequential information and the second storage area for random access information, and at least part of the random access information is always stored in the second storage area. By storing in the area and reducing the number of times random access information is recorded / reproduced on the recording medium, it is possible to reduce power consumption and decrease the remaining battery level, and to improve operation response from the user's perspective Can be achieved.

以下、図面を参照しながら、本発明の携帯情報端末とその携帯情報端末の記憶領域管理方法の一実施形態について説明する。   Hereinafter, an embodiment of a portable information terminal and a storage area management method for the portable information terminal of the present invention will be described with reference to the drawings.

なお、本実施形態では、本発明の携帯情報端末の一例として、携帯電話端末を挙げているが、勿論、ここで説明する内容はあくまで一例であり、本発明はこの例に限定されないことは言うまでもない。   In the present embodiment, a mobile phone terminal is cited as an example of the portable information terminal of the present invention. Of course, the content described here is merely an example, and it goes without saying that the present invention is not limited to this example. Yes.

〔第1の実施形態〕
図1には、ハードディスクドライブ(HDD)を搭載した本発明の第1の実施形態の携帯電話端末の概略構成を示す。なお、図1の例は、携帯電話端末が備える構成要素のうち、本発明に関連する主要部の構成のみを抜き出して示しており、例えば、表示部や操作部,通信部,入出力部,記憶部等のような通常の携帯電話端末が備えている他の構成要素についての図示は省略している。
[First Embodiment]
FIG. 1 shows a schematic configuration of a mobile phone terminal according to a first embodiment of the present invention on which a hard disk drive (HDD) is mounted. The example of FIG. 1 shows only the configuration of the main part related to the present invention, extracted from the components included in the mobile phone terminal. For example, the display unit, the operation unit, the communication unit, the input / output unit, Illustration of other components such as a storage unit provided in a normal mobile phone terminal is omitted.

図1において、ホストCPU(Central Processing Unit)1は、当該携帯電話端末の全体の動作制御や各種の演算を行う。このホストCPU1は、システムバスを通じて、HDD3用のバッファメモリ4やHDDインターフェース(I/F)2と接続されている。なお、HDD3は、通常、IDE(Integrated Drive Electronics)と呼ばれているインターフェースを有し、ホストCPU1のCPUバスには接続できないため、HDDインターフェース2を通じてシステムバスに接続されている。   In FIG. 1, a host CPU (Central Processing Unit) 1 performs overall operation control of the mobile phone terminal and various calculations. The host CPU 1 is connected to a buffer memory 4 for the HDD 3 and an HDD interface (I / F) 2 through a system bus. The HDD 3 usually has an interface called IDE (Integrated Drive Electronics) and cannot be connected to the CPU bus of the host CPU 1, so it is connected to the system bus through the HDD interface 2.

バッファメモリ4は、HDD3に対して書き込み,読み出し(記録/再生)されるデータを一旦蓄積して出力することにより、データ転送レートの調整を行うための比較的大容量のメモリである。すなわち、HDD3は、或る程度の質量がある内部磁気ディスクをモータにより回転させる構造となされているため、モータの回転開始から内部磁気ディスクの回転が安定するまでの時間(つまりドライブの起動時間)が必要となり、また、データの書き込み速度や読み出し速度がドライブの状態により大きく変動するものであるため、当該バッファメモリ4では、ホストCPU1等からデータをHDD3に書き込んだり、HDD3からデータを読み込んでホストCPU1等に出力する際に、一時的にそれらのデータをバッファリングすることにより、データ転送レートの調整を行っている。例えば、HDD3からホストCPU1へデータを読み出す場合には、先ず、図1中の矢印R1に示すように、HDD3からHDDインターフェース2を介してバッファメモリ4へデータが転送され、次に、図1中の矢印R2に示すように、そのバッファメモリ4からホストCPU1へデータが転送される。なお、HDD3の電源のON/OFF制御は、図1中の矢印Cに示すように、ホストCPU1からHDDインターフェース2を介して行われる。   The buffer memory 4 is a relatively large-capacity memory for adjusting the data transfer rate by temporarily storing and outputting data to be written to and read (recorded / reproduced) from the HDD 3. That is, since the HDD 3 has a structure in which an internal magnetic disk having a certain mass is rotated by a motor, the time from the start of rotation of the motor until the rotation of the internal magnetic disk is stabilized (that is, the drive startup time). In addition, since the data write speed and the data read speed vary greatly depending on the drive status, the buffer memory 4 writes data from the host CPU 1 or the like to the HDD 3 or reads data from the HDD 3 to When the data is output to the CPU 1 or the like, the data transfer rate is adjusted by temporarily buffering the data. For example, when data is read from the HDD 3 to the host CPU 1, first, the data is transferred from the HDD 3 to the buffer memory 4 via the HDD interface 2 as shown by an arrow R1 in FIG. As shown by the arrow R2, the data is transferred from the buffer memory 4 to the host CPU 1. The power supply ON / OFF control of the HDD 3 is performed from the host CPU 1 via the HDD interface 2 as indicated by an arrow C in FIG.

このようなバッファメモリ4を介したデータ転送を行うメリットを、いわゆるMP3(MPEG-1 Audio Layer3)のようなオーディオ再生を例に挙げて説明する。なお、以下、オーディオデータの転送レートを128Kbpsとし、バッファメモリ4の容量(バッファ容量)を32MByteと仮定して説明を進める。   The merit of performing the data transfer through the buffer memory 4 will be described by taking an audio reproduction such as so-called MP3 (MPEG-1 Audio Layer 3) as an example. In the following description, it is assumed that the transfer rate of audio data is 128 Kbps, and the capacity of the buffer memory 4 (buffer capacity) is 32 MBytes.

ここで、32MByte分のデータをHDD3から読み出すのに必要なHDD動作時間(ON時間)を8秒とすると、上記バッファメモリ4に一時的に蓄積したデータのみでオーディオ再生可能な時間は、式(1)に示す時間となる。   Here, assuming that the HDD operation time (ON time) required for reading 32 Mbytes of data from the HDD 3 is 8 seconds, the audio reproducible time using only the data temporarily stored in the buffer memory 4 can be expressed by the formula ( It becomes the time shown in 1).

32MByte/128Kbit=2000sec (1)
また、HDD3の動作時の消費電流を300mAとすると、HDD3は上記2000秒内に8秒だけ動作しているので、上記32MByte分のオーディオデータを再生するための平均消費電流は、式(2)に示すような値となる。
32 Mbyte / 128 Kbit = 2000 sec (1)
Also, assuming that the current consumption during the operation of the HDD 3 is 300 mA, the HDD 3 operates only for 8 seconds within the 2000 seconds. Therefore, the average current consumption for reproducing the audio data for 32 Mbytes is expressed by the equation (2). It becomes a value as shown in.

8sec/2000sec*300mA=1.2mA (2)
すなわち、HDD3が動作している時の電流値が例え300mAのように高い値であったとしても、上記バッファメモリ4を介したデータ転送を行うことにより、上記HDD3は2000秒に1回しか起動しないことになるため、その結果として、HDD3の平均消費電流は1.2mAとなり、それほど高くないことがわかる。
8sec / 2000sec * 300mA = 1.2mA (2)
That is, even if the current value when the HDD 3 is operating is as high as 300 mA, for example, the HDD 3 is activated only once in 2000 seconds by performing data transfer via the buffer memory 4. As a result, the average current consumption of the HDD 3 is 1.2 mA, which is not so high.

なお、実際のHDDの場合は、HDDの電源をONにしてから内部のモータが回転し始め、それが安定してからデータの読み書きが可能になるまでに1〜2秒程度に時間が必要である。そして、データの読み書きが可能になった後、HDDから実際にデータの読み出しが開始され、そのデータがHDDの内部キャッシュメモリに転送され、最終的にHDDインターフェース2を通して外部のバッファメモリ4に蓄積されることになる。上述の例では、上記モータの回転開始から内部磁気ディスクの回転が安定するまでの1〜2秒と、実際にHDDからデータの読み出しが開始されてバッファメモリ4に蓄積されるまでの時間として仮定した約6秒との合計である約8秒を、上記HDD3のON時間として用いている。   In the case of an actual HDD, it takes about 1 to 2 seconds from the time the HDD is turned on until the internal motor begins to rotate and after it becomes stable, data can be read and written. is there. After the data can be read and written, the data reading from the HDD is actually started, the data is transferred to the internal cache memory of the HDD, and finally stored in the external buffer memory 4 through the HDD interface 2. Will be. In the above example, it is assumed that the time from the start of rotation of the motor to the stabilization of the rotation of the internal magnetic disk is 1 to 2 seconds, and the time from when data is actually read from the HDD to when it is stored in the buffer memory 4 is assumed. About 8 seconds, which is the sum of about 6 seconds, is used as the ON time of the HDD 3.

〔バッファメモリの構成と管理〕
ここで、本実施形態において、携帯電話端末にHDD3を搭載した目的が、例えば、MP3プレーヤやメディアプレーヤのようなオーディオ,ビデオ再生等のみの利用であれば、つまりシーケンシャルなデータをHDD3に読み書きするような用途であれば、上記バッファメモリ4の容量は例えば数十MByte(例えば32MByte)程度あれば良く、そのメモリ容量を利用して、前述したようにHDD3から読み出したデータを一時的に蓄積し、その間のHDD3の動作を停止させてHDD3を常時動作させないようにすることで平均消費電流を下げ、バッテリ残量の低下を少なくすることが可能となる。
[Configuration and management of buffer memory]
Here, in this embodiment, if the purpose of mounting the HDD 3 on the mobile phone terminal is to use only for audio and video playback, such as an MP3 player or a media player, for example, read / write sequential data to / from the HDD 3. For such applications, the buffer memory 4 may have a capacity of, for example, several tens of Mbytes (for example, 32 Mbytes), and temporarily stores data read from the HDD 3 as described above using the memory capacity. In the meantime, by stopping the operation of the HDD 3 so that the HDD 3 is not always operated, it is possible to reduce the average current consumption and reduce the decrease in the remaining battery level.

ところが、本実施形態の携帯電話端末において、オーディオやビデオの再生等に加えて、例えば、住所録データをHDD3上で管理したり、地図データやソフトウェアプログラム等をHDD3に対して読み書きすることを考えた場合、つまり、ランダムアクセスデータをHDD3に読み書きするような利用をも考えた場合には、それらデータへのアクセスを行う度に、HDD3を動作させなければならなくなり、消費電力が多くなってしまう虞がある。   However, in the mobile phone terminal of the present embodiment, in addition to audio and video playback, for example, address book data is managed on the HDD 3, and map data, software programs, etc. are read from and written to the HDD 3. In other words, in other words, when the use of reading / writing random access data to / from the HDD 3 is considered, the HDD 3 must be operated each time the data is accessed, resulting in an increase in power consumption. There is a fear.

すなわち例えば、MP3プレーヤ用のアプリケーションが実行されており、HDD3から読み出されたシーケンシャルデータがバッファメモリ4に一時的に蓄積されていると共に当該HDD3の動作は停止されているような場合において、例えば、ユーザにより住所録を見るためのアプリケーションの起動指示が入力された時には、上記停止状態のHDD3を起動させ、そのHDD3から住所録用のアプリケーションのソフトウェアプログラムを読み出すアクセスが行われ、さらにその住所録用アプリケーションの起動後には上記HDD3から住所録のデータを読み出すようなアクセスが行われることになる。したがって、このようなランダムアクセスデータをHDD3に読み書きするようなアクセスが頻繁に行われた場合には、消費電力が増大してしまい、バッテリ残量が低下してしまうことになる。   That is, for example, when an application for an MP3 player is executed, sequential data read from the HDD 3 is temporarily stored in the buffer memory 4 and the operation of the HDD 3 is stopped, for example, When an instruction for starting an application for viewing the address book is input by the user, the HDD 3 in the stopped state is started, and an access for reading the software program of the address book application from the HDD 3 is performed. After activation of the application, access is made to read address book data from the HDD 3. Therefore, when such access to read / write such random access data from / to the HDD 3 is frequently performed, the power consumption increases and the remaining battery level decreases.

より具体的な例として、HDD3の動作時の消費電流を300mAとし、ランダムアクセスデータを読み書きする際のHDD3の動作時間(モータ起動から1アクセスが完了するまでの時間)を例えば3秒とし、さらに、平均して15分に1回HDD3へのアクセスがなされると仮定した場合、その平均電流は、式(3)に示すような値となる。   As a more specific example, the current consumption during operation of the HDD 3 is 300 mA, the operation time of the HDD 3 when reading / writing random access data (the time from the start of the motor to the completion of one access) is, for example, 3 seconds, Assuming that the HDD 3 is accessed once every 15 minutes on average, the average current is a value as shown in the equation (3).

3sec/(15*60)sec*300mA=1.00mA (3)
そして、このようなランダムアクセスデータのHDD3の読み書きが、例えばオーディオデータ等のシーケンシャルデータの再生中に発生しているとすると、前述の式(1),式(2)で得られた平均消費電流に上記式(3)の平均消費電流が加わることになり、合計で2.2mAの平均電流が消費されることになる。すなわち、シーケンシャルデータの読み書きのみが行われている時(ランダムアクセスデータの読み書きが行われていない時)の平均消費電流が式(2)のように1.2mAであることから比較すると、平均消費電流の増加量は2倍弱にもなり、その結果、バッテリ残量が大きく低下してしまうことになる。
3 sec / (15 * 60) sec * 300 mA = 1.00 mA (3)
Then, assuming that such read / write of the random access data in the HDD 3 occurs during the reproduction of sequential data such as audio data, for example, the average current consumption obtained by the above formulas (1) and (2) Thus, the average current consumption of the above formula (3) is added, and a total average current of 2.2 mA is consumed. That is, since the average current consumption when only reading / writing of sequential data is performed (when reading / writing of random access data is not performed) is 1.2 mA as shown in Equation (2), the average consumption is compared. The amount of increase in current is slightly less than twice, and as a result, the remaining battery level is greatly reduced.

なお、ランダムアクセスデータをバッファメモリ4に一旦蓄積させることで、HDD3の起動回数を少なくすることは可能であるが、その場合、バッファメモリ4内にはオーディオ等のシーケンシャルデータと上記ランダムアクセスデータが混在してしまい、ホストCPU1におけるバッファ管理が複雑になり、制御プログラムも複雑になってしまう虞がある。   It is possible to reduce the number of times the HDD 3 is activated by temporarily storing random access data in the buffer memory 4, but in this case, sequential data such as audio and the random access data are stored in the buffer memory 4. As a result, the buffer management in the host CPU 1 becomes complicated, and the control program may become complicated.

このようなことから、本発明実施形態の携帯電話端末では、図2に示すように、バッファメモリ4内のメモリ領域を、予め、オーディオ,ビデオ等のシーケンシャルデータ用のバッファメモリ領域と、住所録データやソフトウェアプログラム等のランダムアクセスデータ用のバッファメモリ領域とに分けるようにし、ホストCPU1がそれらのバッファメモリ領域へのデータ書き込みと読み出しを制御するようになされている。具体的には、バッファメモリ4のメモリ容量が32MByteの例の場合、例えば30MByteをシーケンシャルデータ用のバッファメモリ領域に割り当て、残りの2MByteをランダムアクセスデータ用のバッファ領域に割り当てる。そして、ホストCPU1は、HDD3で読み書きされるシーケンシャルデータについては上記シーケンシャルデータ用のバッファメモリ領域上で管理し、HDD3で読み書きされるランダムアクセスデータについては上記ランダムアクセスデータ用のバッファメモリ領域上で管理する。なお、上記容量割り当ては一例であり、例えばランダムアクセスデータのサイズに応じて、ランダムアクセスデータ用のバッファメモリ領域に対する割り当て容量を可変にしても良い。   For this reason, in the mobile phone terminal according to the embodiment of the present invention, as shown in FIG. 2, the memory area in the buffer memory 4 is previously divided into a buffer memory area for sequential data such as audio and video, and an address record. Data is divided into buffer memory areas for random access data such as data and software programs, and the host CPU 1 controls writing and reading of data to and from these buffer memory areas. Specifically, when the memory capacity of the buffer memory 4 is 32 Mbytes, for example, 30 MBytes are allocated to the buffer memory area for sequential data, and the remaining 2 MBytes are allocated to the buffer area for random access data. The host CPU 1 manages sequential data read / written by the HDD 3 in the buffer memory area for sequential data, and manages random access data read / written by the HDD 3 in the buffer memory area for random access data. To do. Note that the above-described capacity allocation is an example, and for example, the allocated capacity for the buffer memory area for random access data may be varied according to the size of the random access data.

すなわち、本実施形態において、例えば、シーケンシャルなデータをHDD3に読み書きする場合には、上記シーケンシャルデータ用のバッファメモリ領域のみを用いて、前述したようにHDD3へ読み書きされるデータを一時的に蓄積し、その間のHDD3の動作を停止させてHDD3を常時動作させないようにすることで平均消費電流を下げ、バッテリ残量の低下を少なくする。同様に、ランダムアクセスデータをHDD3に読み書きする場合には、上記ランダムアクセスデータ用のバッファメモリ領域のみを用いて、HDD3へ読み書きされるデータを一時的に蓄積し、その間のHDD3の動作を停止させてHDD3を常時動作させないようにすることで平均消費電流を下げ、バッテリ残量の低下を少なくする。   That is, in the present embodiment, for example, when reading / writing sequential data to / from the HDD 3, as described above, data to be read / written to the HDD 3 is temporarily stored using only the buffer data area for the sequential data. In the meantime, the operation of the HDD 3 is stopped so that the HDD 3 is not always operated, thereby reducing the average current consumption and reducing the decrease in the remaining battery level. Similarly, when reading / writing random access data to / from the HDD 3, the data read / written to / from the HDD 3 is temporarily stored using only the buffer memory area for the random access data, and the operation of the HDD 3 is stopped during that time. By keeping the HDD 3 from operating at all times, the average current consumption is reduced and the decrease in the remaining battery level is reduced.

本実施形態によれば、このように、バッファメモリ4のメモリ容量をシーケンシャルデータ用とランダムアクセスデータ用とに分割して割り当て制御し、シーケンシャルデータとランダムアクセスデータを同時にバッファメモリ4に一時的に蓄積させて、HDD3の動作を停止させることが可能となされているため、平均消費電流を減らし、バッテリ残量を極力延ばすことが可能となる。また、本実施形態によれば、バッファメモリ4のメモリ領域が、予めシーケンシャルデータ用とランダムアクセスデータ用とに明確に分けられているため、バッファメモリ4の同じメモリ領域内にシーケンシャルデータとランダムアクセスデータが混在してしまうことがなく、したがって、ホストCPU1におけるバッファ管理は容易になり、また、制御プログラムも複雑になることはない。   According to the present embodiment, as described above, the memory capacity of the buffer memory 4 is divided and assigned for sequential data and random access data, and the sequential data and random access data are temporarily stored in the buffer memory 4 at the same time. Since it is possible to stop the operation of the HDD 3 by accumulating, it is possible to reduce the average current consumption and extend the remaining battery level as much as possible. Further, according to the present embodiment, since the memory area of the buffer memory 4 is clearly divided in advance for the sequential data and the random access data, the sequential data and the random access are in the same memory area of the buffer memory 4. Data is not mixed, so buffer management in the host CPU 1 is facilitated, and the control program is not complicated.

ここで、上述の例に示したように、32MByteのメモリ領域を30MByteと2MByteに分割した場合の消費電流について説明する。また、前述同様に、MP3のオーディオ再生を例に挙げ、そのオーディオデータの転送レートを128Kbpsとし、30MByte分のデータをHDD3から読み出すのに必要なHDD動作時間(ON時間)を8秒とすると、上記バッファメモリ4に一時的に蓄積したデータのみでオーディオ再生可能な時間は、式(4)に示す時間となる。   Here, as shown in the above example, the current consumption when the 32 MByte memory area is divided into 30 Mbyte and 2 MByte will be described. Similarly, as described above, MP3 audio playback is taken as an example, the transfer rate of the audio data is 128 Kbps, and the HDD operation time (ON time) required for reading 30 MB of data from the HDD 3 is 8 seconds. The time during which the audio can be reproduced with only the data temporarily stored in the buffer memory 4 is the time shown in Expression (4).

30MByte/128Kbit=1875sec (4)
また、HDD3の動作時の消費電流を300mAとすると、HDD3は上記1875秒内に8秒だけ動作しているので、上記30MByte分のオーディオデータを再生するための平均消費電流は、式(5)に示すような値となる。
30MByte / 128Kbit = 1875sec (4)
Also, assuming that the current consumption during operation of the HDD 3 is 300 mA, the HDD 3 operates for 8 seconds within the above 1875 seconds. It becomes a value as shown in.

8sec/1875sec*300mA=1.28mA (5)
すなわち、この式(4),式(5)の場合の平均消費電流は、前述の式(1),式(2)で得られた平均消費電流と比べて80μA増加するだけであり、シーケンシャルデータ用のバッファメモリ領域が30MByteになったことによるバッテリ残量の減少は極めて僅かであると言える。
8sec / 1875sec * 300mA = 1.28mA (5)
That is, the average current consumption in the cases of the equations (4) and (5) only increases by 80 μA compared with the average current consumption obtained by the above equations (1) and (2), and the sequential data It can be said that the decrease in the battery remaining amount due to the buffer memory area for the memory being 30 Mbytes is extremely small.

また、本実施形態の場合、ランダムアクセスデータの読み書きが必要な場合には、そのデータを上記ランダムアクセスデータ用のバッファメモリ領域に一旦蓄積させることで、HDD3への余計なアクセスを行わずに済ませることができるため、消費電力の削減が可能となる。   Further, in the case of this embodiment, when it is necessary to read / write random access data, the data is temporarily stored in the buffer memory area for the random access data, thereby eliminating unnecessary access to the HDD 3. Therefore, power consumption can be reduced.

ここで、ランダムアクセスデータ用のバッファメモリ領域を使用する場合であっても、例えば、最初にHDD3からデータを読み出したり書き込んだりする際には、当該HDD3を起動しなければならなくなるが、本実施形態では、シーケンシャルデータの読み書きに合わせて(例えばシーケンシャルデータの読み書きの直後に)、それらランダムアクセスデータの読み書きを行うようにすることで、余計にHDDを作動させる回数を減らし、ランダムアクセスデータのみをHDDに読み書きする時に比べて、HDD3の消費電力を抑えるようにしている。すなわち例えば、シーケンシャルデータをHDD3へ読み書きする際には、その時点でランダムアクセスデータが必要ない場合であっても、上記シーケンシャルデータの読み書きに合わせて当該ランダムアクセスデータをHDD3から読み出してバッファメモリ4に保存するようにする。また例えば、ランダムアクセスデータの書き込みが必要になった場合には、直ぐにHDD3への書き込みを行わず、その後にシーケンシャルデータのHDD3への読み書きが行われる際に、上記ランダムアクセスデータの書き込みを行うようにする。なお、シーケンシャルデータの読み書きに合わせてランダムアクセスデータの読み書きを行うようにした場合、ランダムアクセスデータの読み書きを行う時点では、既にシーケンシャルデータの読み書きによりHDD3のモータが回転していると共にデータの読み書きが可能な状態になっているため、データ量の少ないランダムアクセスデータの読み書きの時間は1秒未満になると考えられる。したがって、例えばシーケンシャルデータの読み書きに8秒が必要であった場合には、合計9秒程度でHDD3に対するアクセスが完了することになる。また、この場合、HDD3のモータの起動を待たずにデータの読み書きができるので、ユーザから見た操作レスポンスは良く、したがってユーザは軽快に操作を続けられるようになると思われる。   Here, even when the buffer memory area for random access data is used, for example, when data is first read or written from the HDD 3, the HDD 3 must be activated. In the mode, the random access data is read / written in accordance with the sequential data read / write (for example, immediately after the sequential data read / write), so that the number of times of operating the HDD is reduced, and only the random access data is read. The power consumption of the HDD 3 is suppressed compared to when reading and writing to the HDD. That is, for example, when reading / writing sequential data to / from the HDD 3, even if random access data is not required at that time, the random access data is read from the HDD 3 and read into the buffer memory 4 in accordance with the reading / writing of the sequential data. Try to save. Further, for example, when it is necessary to write random access data, the random access data is not written immediately, and the random access data is written when the sequential data is read / written from / to the HDD 3 thereafter. To. When random access data is read / written in accordance with sequential data read / write, when the random access data is read / written, the HDD 3 motor has already been rotated by the sequential data read / write and the data read / write can be performed. Since it is in a possible state, the read / write time of random access data with a small amount of data is considered to be less than 1 second. Therefore, for example, when 8 seconds are required for reading and writing sequential data, the access to the HDD 3 is completed in about 9 seconds in total. Further, in this case, since data can be read and written without waiting for the motor of the HDD 3 to be activated, the operation response seen from the user is good, and therefore the user can continue to operate lightly.

また、本実施形態では、ランダムアクセスデータ用のバッファメモリ領域を2MByteとしており、この2MByteというバッファ容量はランダムアクセスデータにとって充分な容量であると考えて差し支えない。すなわち例えば、住所録の場合、そのデータは主に文字データであり、通常は住所録1件分のデータとしては200Byte(英字で200文字分、日本語等で100文字分)程度の容量があれば充分であり、したがって、2MByteのバッファ容量があれば、2MByte/200Byte=1万件分のデータが入ることになるため、通常の住所録の用途としては充分な容量であると考えられる。また例えば、ナビゲーション用の地図データの場合、現在の携帯電話端末に搭載されているQVGA(Quarter Video Graphics Array)サイズのディスプレイに表示可能な地図のデータ量は、地図の細かさにもよるが通常は50KByte未満であり、したがって、2MByteのバッファ容量があれば、2MByte/50KByte=40枚の地図データが入ることになり、これだけの枚数の地図データがあれば、例えば最寄り駅から目的の住所へ至るようなナビゲーションマップで表示したい範囲は略々カバーできると考えられる。   In this embodiment, the buffer memory area for random access data is 2 Mbytes, and it can be considered that the buffer capacity of 2 Mbytes is sufficient for random access data. That is, for example, in the case of an address book, the data is mainly character data, and usually the data for one address book should have a capacity of about 200 bytes (200 characters for English, 100 characters for Japanese). Therefore, if there is a buffer capacity of 2 Mbytes, 2 MByte / 200 Bytes = 10,000 pieces of data can be entered, so that it is considered that the capacity is sufficient for normal address book applications. In addition, for example, in the case of map data for navigation, the amount of map data that can be displayed on a QVGA (Quarter Video Graphics Array) -sized display mounted on a current mobile phone terminal usually depends on the fineness of the map. Is less than 50 Kbytes. Therefore, if there is a buffer capacity of 2 MByte, 2 MByte / 50 KByte = 40 map data will be included. It is considered that the range desired to be displayed with such a navigation map can be substantially covered.

上述した説明では、ランダムアクセスデータ用のバッファメモリ領域が2MByteで充分なメモリ容量であるとしたが、例えばハードウェアの構成上の理由などにより、2MByteのバッファ容量を割り当てることができなかったり、また、ランダムアクセスデータのサイズが大きく、2MByteではバッファ容量が不充分となる可能性も考えられる。   In the above description, the buffer memory area for random access data is assumed to have a sufficient memory capacity of 2 Mbytes. However, for example, the buffer capacity of 2 MBytes cannot be allocated due to a hardware configuration or the like. The size of the random access data is large, and there is a possibility that the buffer capacity is insufficient with 2 MByte.

このような場合、本実施形態では、例えば、データの項目毎、或いはデータのアクセス頻度に応じて優先度を付け、その優先度が高いデータを優先的にバッファメモリ領域に入れるようにする。すなわち例えば、住所録の場合、多数の人の住所のデータが登録されていたとしても、度々使用する住所データは、例えば家族や親しい友人などそれほど多くはないと考えられるので、予めそれらのデータに所定の印(フラグ等)を付け、それら所定の印が付けられた住所データの優先度を上げておき、それら優先度の高い住所データをバッファメモリ領域に入れるようにする。或いは、各住所データについて、アクセスがなされる毎にそのカウントを行ってアクセス頻度を計測し、それらアクセス頻度順にインデックス化し、アクセス頻度が高いものの優先度を上げておいて、それら優先度の高い住所データをバッファメモリ領域に入れるようにする。このようにすることで、殆どの場合、バッファメモリ4上のランダムアクセスデータのみの使用で足り、HDD3へアクセスがなされる頻度を減らすことが可能となる。   In such a case, in this embodiment, for example, a priority is assigned according to each data item or according to the data access frequency, and data having a high priority is preferentially placed in the buffer memory area. That is, for example, in the case of an address book, even if the address data of a large number of people is registered, the address data that is frequently used is not so much, such as a family or a close friend. Predetermined marks (flags and the like) are attached, the priority of the address data with the predetermined marks is raised, and the address data with high priority is placed in the buffer memory area. Alternatively, for each address data, the access frequency is counted every time access is performed, the access frequency is measured, indexed in order of the access frequency, and the access frequency is high, but the priority is increased, and the addresses having the high priority Put data in the buffer memory area. In this way, in most cases, only the random access data on the buffer memory 4 is used, and the frequency of accessing the HDD 3 can be reduced.

勿論、上述のような優先順位付けは、住所録データ以外の他のランダムアクセスデータについても適用可能である。例えば、地図データにおいて、或る地点の地図データに対する周辺の幾つかの地図データについて優先度を高く設定しておくようにすれば、当該或る地点の地図データをHDD3から取り出す時に、優先的にその地点の周辺の幾つかの地図データがHDD3から読み出されてバッファメモリ領域に記憶されることになる。これにより、或る地点の地図データへのアクセスがなされた時には、後からその近辺の地図データを取り出すために独立してHDD3を起動させて地図データを読み出すようなことをしなくても済むようになる。その他、上述したような優先順位付けは、ランダムアクセスデータ用のバッファメモリ領域が不足していない場合にも行うことができる。   Of course, the prioritization as described above can also be applied to random access data other than address book data. For example, in the map data, if the priority is set high for some map data around the map data at a certain point, when the map data at the certain point is taken out from the HDD 3, the priority is given. Some map data around the point is read from the HDD 3 and stored in the buffer memory area. As a result, when the map data at a certain point is accessed, it is not necessary to start up the HDD 3 and read out the map data independently in order to later retrieve the map data in the vicinity. become. In addition, the prioritization as described above can be performed even when the buffer memory area for random access data is not insufficient.

なお、図1のバッファメモリ4は、RAM等の揮発性メモリであるが、例えばフラッシュROM等の不揮発性メモリを使用することも可能である。バッファメモリ4に不揮発性メモリを使用した場合、電源を切ってもデータが保持されるため、さらに上述の機能を便利に使うことができるようになる。すなわち例えば、オーディオデータの再生中に携帯電話端末の電源がOFFされた場合、携帯電話端末の電源ON後に、上記不揮発性のバッファメモリ4のシーケンシャルデータ用のバッファメモリ領域に保存されているオーディオデータを用いることで、HDD3にアクセスせずに、電源OFF前に再生していたオーディオデータを続けて再生することが可能となる。同様に、電源OFF前に、上記不揮発性のバッファメモリ4のランダムアクセスデータ用のバッファメモリ領域に住所録のデータが保存されていた場合には、携帯電話端末の電源ON後に、HDD3にアクセスせずに、住所録の参照や編集などの操作が可能となる。このようにバッファメモリ4に不揮発性メモリを使用した場合、ランダムアクセスデータについては特に優先度の高いデータを保存することが望ましい。   The buffer memory 4 in FIG. 1 is a volatile memory such as a RAM, but a non-volatile memory such as a flash ROM can also be used. When a non-volatile memory is used as the buffer memory 4, the data can be retained even when the power is turned off, so that the above functions can be used more conveniently. That is, for example, when the power of the mobile phone terminal is turned off during the reproduction of the audio data, the audio data stored in the buffer data area for sequential data of the nonvolatile buffer memory 4 after the power of the mobile phone terminal is turned on. By using, it becomes possible to continuously reproduce the audio data reproduced before the power is turned off without accessing the HDD 3. Similarly, if address book data is stored in the random access data buffer memory area of the non-volatile buffer memory 4 before the power is turned off, the HDD 3 is accessed after the mobile phone terminal is turned on. It is possible to refer to and edit the address book. When a non-volatile memory is used as the buffer memory 4 in this way, it is desirable to store high priority data for the random access data.

〔第2の実施形態〕
上述の第1の実施形態では、HDD3の外部に設けられているバッファメモリ4に対して、図2に示したようなバッファ領域の割り当て制御を行う例を挙げたが、本発明は、以下の第2の実施形態で述べるように、例えばHDD3の内部に備えられているキャッシュメモリに対して図2で説明したようなバッファ領域の割り当て制御を行うことにより、第1の実施形態と同じ機能を実現することも可能である。なお、この第2の実施形態のように、HDD3の内部キャッシュメモリについて前述のバッファ領域割り当て制御を行うようにした場合には、図1のバッファメモリ4についてはバッファ領域割り当て制御を行わないようにしても良い。勿論、HDD3の内部キャッシュメモリと図1のバッファメモリ4の両方についてバッファ領域割り当て制御を行うことも可能である。
[Second Embodiment]
In the first embodiment described above, an example in which the buffer area allocation control as shown in FIG. 2 is performed on the buffer memory 4 provided outside the HDD 3 has been described. As described in the second embodiment, for example, by performing the buffer area allocation control as described with reference to FIG. 2 on the cache memory provided in the HDD 3, the same function as that of the first embodiment is achieved. It can also be realized. When the above-described buffer area allocation control is performed on the internal cache memory of the HDD 3 as in the second embodiment, the buffer area allocation control is not performed on the buffer memory 4 in FIG. May be. Of course, it is also possible to perform buffer area allocation control for both the internal cache memory of the HDD 3 and the buffer memory 4 of FIG.

図3には、本発明の第2の実施形態にかかるHDD3の概略的な内部構成を示す。   FIG. 3 shows a schematic internal configuration of the HDD 3 according to the second embodiment of the present invention.

図3に示す第2の実施形態にかかるHDD3において、磁気ディスク10は、音楽,映像等のようなシーケンシャルデータや、例えば住所録データや地図データ,ソフトウェアプログラム等のようなランダムアクセスデータの書き込み,読み出しが可能な記録媒体である。当該磁気ディスク10は、モータ25により回転される。磁気ヘッド20は、上記モータ25により所定の回転速度で回転している磁気ディスク10に対するデータの書き込みや読み出しを行う。   In the HDD 3 according to the second embodiment shown in FIG. 3, the magnetic disk 10 writes sequential data such as music and video, random access data such as address book data, map data, and software programs. It is a readable recording medium. The magnetic disk 10 is rotated by a motor 25. The magnetic head 20 writes and reads data to and from the magnetic disk 10 rotating at a predetermined rotational speed by the motor 25.

信号処理回路31は、磁気ディスク10からデータの読み出しが行われた場合には、その磁気ディスク10から磁気ヘッド20により読み出された再生信号の増幅及び波形整形、ディジタル/アナログ変換、デインターリーブやエラー訂正などの処理を行い、それら処理により得られた再生データをバッファメモリ32へ出力する。一方、磁気ディスク10へのデータの書き込みが行われる場合には、信号処理回路31は、バッファメモリ32から供給されたデータに対するエラー訂正符号の付加やインターリーブ処理、ディジタル/アナログ変換、増幅等の処理を行い、それら処理により得られた記録信号を磁気ヘッド20へ出力する。   When data is read from the magnetic disk 10, the signal processing circuit 31 amplifies and shapes the reproduction signal read from the magnetic disk 10 by the magnetic head 20, digital / analog conversion, deinterleaving, Processing such as error correction is performed, and reproduction data obtained by such processing is output to the buffer memory 32. On the other hand, when data is written to the magnetic disk 10, the signal processing circuit 31 performs processing such as addition of an error correction code to the data supplied from the buffer memory 32, interleaving processing, digital / analog conversion, amplification, and the like. The recording signal obtained by these processes is output to the magnetic head 20.

磁気ディスク10から再生されて当該キャッシュメモリ32に一時的に蓄えられたデータは、IDEインターフェースであるHDDインターフェース33を介し、さらにHDDインプット/アウトプット(I/O)端子34を介して、図1のHDDインターフェース2へ出力されることになる。一方、図1のHDDインターフェース2から送られてきたデータは、HDDインプット/アウトプット端子34とHDDインターフェース33を経て、キャッシュメモリ32に一時的に蓄積された後、信号処理回路31へ送られることになる。   Data reproduced from the magnetic disk 10 and temporarily stored in the cache memory 32 is transmitted via the HDD interface 33 which is an IDE interface and further via the HDD input / output (I / O) terminal 34 as shown in FIG. Are output to the HDD interface 2. On the other hand, data sent from the HDD interface 2 in FIG. 1 is temporarily stored in the cache memory 32 via the HDD input / output terminal 34 and the HDD interface 33, and then sent to the signal processing circuit 31. become.

HDDコントローラ35は、当該HDD内部の各構成要素を制御するための制御手段であり、データの書き込みや読み出しの際にモータ25や磁気ヘッド20、図示しない磁気ヘッド20のスイングアーム等の機械部分を適切に動作させる制御を行い、また、信号処理回路31やキャッシュメモリ32,HDDインターフェース33等の電気回路部分を適切に調整する制御を行う。   The HDD controller 35 is a control means for controlling each component in the HDD. When writing or reading data, the HDD controller 35 controls mechanical parts such as the motor 25, the magnetic head 20, and a swing arm of the magnetic head 20 (not shown). Control to appropriately operate is performed, and control to appropriately adjust electric circuit portions such as the signal processing circuit 31, the cache memory 32, and the HDD interface 33 is performed.

キャッシュメモリ32は、当該HDD3に内蔵されているバッファメモリであり、HDD外部のデータ転送レートとHDD内部のデータ転送レートが異なる場合に、それら転送レートの差を吸収するために設けられている。上記キャッシュメモリ32の容量は、HDDベンダーやディスクサイズなどにより様々であり、例えばいわゆる1インチディスクの場合、通常は、数十KByteから数MByteとなされているが、本実施形態の場合は、前述の図1のバッファメモリ4と同様に数十MByte(例えば32MByte)の容量を有している。   The cache memory 32 is a buffer memory built in the HDD 3, and is provided to absorb the difference between transfer rates when the data transfer rate outside the HDD is different from the data transfer rate inside the HDD. The capacity of the cache memory 32 varies depending on the HDD vendor, disk size, and the like. For example, in the case of a so-called 1-inch disk, the capacity is usually several tens of kilobytes to several megabytes. 1 has a capacity of several tens of Mbytes (for example, 32 Mbytes).

そして、本実施形態の場合、当該キャッシュメモリ32のメモリ領域は、前述の図2に示したように、予め、シーケンシャルデータ用のバッファメモリ領域と、ランダムアクセスデータ用のバッファメモリ領域とに分けられ、HDDコントローラ35が、それらのメモリ領域へのデータ書き込みと読み出しを制御するようになされている。具体的には、キャッシュメモリ32のメモリ容量が32MByteである場合、例えば30MByteがシーケンシャルデータ用のバッファメモリ領域に割り当てられ、残りの2MByteがランダムアクセスデータ用のバッファ領域に割り当てられ、そして、HDDコントローラ35は、シーケンシャルデータについてはそのシーケンシャルデータ用のバッファメモリ領域上で管理し、ランダムアクセスデータについてはそのランダムアクセスデータ用のバッファメモリ領域上で管理する。すなわち例えば、シーケンシャルなデータについては、磁気ディスク10に読み書きする場合に、上記キャッシュメモリ32のシーケンシャルデータ用のバッファメモリ領域のみを用いて一時的に蓄積される。またその間のモータ25や磁気ヘッド20等の動作は停止され、これにより平均消費電流が下げられる。同様に、ランダムアクセスデータについては、磁気ディスク10に読み書きする場合に、上記キャッシュメモリ32のランダムアクセスデータ用のバッファメモリ領域のみを用いて一時的に蓄積される。またその間のモータ25や磁気ヘッド20等の動作は停止され、これにより平均消費電流が下げられる。なお、この第2の実施形態の場合も第1の実施形態と同様に、上述の容量割り当ては一例であり、ランダムアクセスデータのサイズに応じて、そのランダムアクセスデータ用のバッファメモリ領域に対する割り当て容量を可変にしても良い。   In the present embodiment, the memory area of the cache memory 32 is divided into a buffer memory area for sequential data and a buffer memory area for random access data in advance as shown in FIG. The HDD controller 35 controls writing and reading of data to and from these memory areas. Specifically, when the memory capacity of the cache memory 32 is 32 Mbytes, for example, 30 MBytes are allocated to the buffer memory area for sequential data, the remaining 2 MBytes are allocated to the buffer area for random access data, and the HDD controller 35 manages sequential data on the buffer memory area for the sequential data, and manages random access data on the buffer memory area for the random access data. That is, for example, sequential data is temporarily stored using only the buffer memory area for sequential data in the cache memory 32 when reading / writing from / to the magnetic disk 10. In addition, the operation of the motor 25, the magnetic head 20 and the like during that time is stopped, thereby reducing the average current consumption. Similarly, random access data is temporarily stored using only the buffer memory area for random access data in the cache memory 32 when reading / writing from / to the magnetic disk 10. In addition, the operation of the motor 25, the magnetic head 20 and the like during that time is stopped, thereby reducing the average current consumption. In the case of the second embodiment as well, similarly to the first embodiment, the above-described capacity allocation is an example, and the allocated capacity for the buffer memory area for the random access data according to the size of the random access data. May be variable.

この第2の実施形態によれば、上述したように、キャッシュメモリ32のメモリ容量をシーケンシャルデータ用とランダムアクセスデータ用とに分割して割り当て制御し、シーケンシャルデータとランダムアクセスデータを同時にキャッシュメモリ32に一時的に蓄積させて、モータ25や磁気ヘッド20等の動作を停止させることが可能となされているため、平均消費電流を低減でき、当該HDD3が搭載されている携帯電話端末のバッテリ残量を極力延ばすことが可能となる。また、この第2の実施形態によれば、キャッシュメモリ32のメモリ領域が、予めシーケンシャルデータ用とランダムアクセスデータ用とに明確に分けられているため、キャッシュメモリ32の同じメモリ領域内にシーケンシャルデータとランダムアクセスデータが混在してしまうことがなく、したがって、HDDコントローラ35におけるバッファ管理は容易になり、また、制御プログラムも複雑になることはない。   According to the second embodiment, as described above, the memory capacity of the cache memory 32 is divided and controlled for sequential data and random access data, and the sequential data and random access data are simultaneously transferred to the cache memory 32. Can be temporarily stored and the operation of the motor 25, the magnetic head 20, etc. can be stopped, so that the average current consumption can be reduced and the remaining battery level of the mobile phone terminal in which the HDD 3 is mounted. Can be extended as much as possible. Further, according to the second embodiment, since the memory area of the cache memory 32 is clearly divided in advance for the sequential data and for the random access data, the sequential data is included in the same memory area of the cache memory 32. And random access data are not mixed, so buffer management in the HDD controller 35 is easy, and the control program is not complicated.

〔第3の実施形態〕
上述の第2の実施形態では、キャッシュメモリ32を含む全ての構成要素の制御をHDDコントローラ35が行っているが、本発明の第3の実施形態のように、特にキャッシュメモリ32の管理機能を、別途設けたバッファコントローラ36に担当させるようにすることも可能である。
[Third Embodiment]
In the second embodiment described above, the HDD controller 35 controls all the components including the cache memory 32. However, as in the third embodiment of the present invention, the management function of the cache memory 32 is particularly provided. It is also possible to make the buffer controller 36 provided separately take charge.

図3には、本発明の第3の実施形態にかかるHDD3の概略的な内部構成を示す。なお、この図3において、図2の各構成要素と同じものには、それぞれ同一の指示符号を付して、それらの説明については省略する。   FIG. 3 shows a schematic internal configuration of the HDD 3 according to the third embodiment of the present invention. In FIG. 3, the same components as those in FIG. 2 are denoted by the same reference numerals, and description thereof is omitted.

この図3において、バッファコントローラ36は、キャッシュメモリ32とHDDインターフェース33の動作を制御する。そして例えば、キャッシュメモリ32に保存しているデータのみを使用すればよい場合には、HDDコントローラ35は、キャッシュメモリ32とHDDインターフェース33の制御をバッファコントローラ36に任せ、HDD内部の他の各構成要素の動作を完全に停止させ、それら他の各構成要素への電源供給を停止させる。   In FIG. 3, the buffer controller 36 controls the operations of the cache memory 32 and the HDD interface 33. For example, when only the data stored in the cache memory 32 needs to be used, the HDD controller 35 leaves the control of the cache memory 32 and the HDD interface 33 to the buffer controller 36, and other components in the HDD. The operation of the element is completely stopped, and the power supply to each of these other components is stopped.

これにより、第3の実施形態のHDD3によれば、例えばキャッシュメモリ32に保存しているデータのみを使用すればよい場合、第2の実施形態のHDD3と比較して、消費電力をより少なくすることが可能となる。また、この第3の実施形態の場合、ホストCPU1は、HDD3の電源制御を行う必要が無くなるので、当該ホストCPU1のプログラムも、より簡単になり、したがってプログラムに関連する問題(例えばプログラムバグ)等も出にくくなる。   Thereby, according to the HDD 3 of the third embodiment, for example, when only the data stored in the cache memory 32 is used, the power consumption is reduced as compared with the HDD 3 of the second embodiment. It becomes possible. In the case of the third embodiment, since the host CPU 1 does not need to control the power supply of the HDD 3, the program of the host CPU 1 becomes simpler, and therefore a problem (for example, a program bug) related to the program, etc. It becomes difficult to come out.

〔まとめ〕
以上説明したように、本発明の各実施形態によれば、HDD3上のランダムアクセスデータに直接アクセスする場合に比べて消費電力を低減でき、また、ランダムアクセスデータへのアクセス時のレスポンスを良くすることが可能となり、さらに、バッファメモリの管理用のソフトウェアも複雑化させることなく容易に開発することが可能となる。
[Summary]
As described above, according to each embodiment of the present invention, power consumption can be reduced compared to the case of directly accessing the random access data on the HDD 3, and the response at the time of accessing the random access data can be improved. In addition, the buffer memory management software can be easily developed without complication.

なお、上述した実施形態の説明は、本発明の一例である。このため、本発明は上述した実施形態に限定されることなく、本発明に係る技術的思想を逸脱しない範囲であれば、設計等に応じて種々の変更が可能であることはもちろんである。   The above description of the embodiment is an example of the present invention. For this reason, the present invention is not limited to the above-described embodiment, and it is needless to say that various modifications can be made according to the design or the like as long as the technical idea according to the present invention is not deviated.

例えば、本発明の携帯情報端末は、携帯電話端末に限定されず、HDDを搭載したPDA等の各種の携帯情報端末にも適用可能である。   For example, the portable information terminal of the present invention is not limited to a portable telephone terminal, and can be applied to various portable information terminals such as a PDA equipped with an HDD.

また、上述の実施形態では、バッファメモリの記憶領域を、シーケンシャルデータ用のバッファメモリ領域とランダムアクセスデータ用のバッファメモリ領域の二つに分けた例を挙げたが、例えば、複数のシーケンシャルデータ用のバッファメモリ領域と複数のランダムアクセスデータ用のバッファメモリ領域に分けるようにし、それぞれについてデータの読み書き管理を行うようなことも可能である。   Further, in the above-described embodiment, the example in which the buffer memory storage area is divided into the buffer memory area for sequential data and the buffer memory area for random access data has been described. It is also possible to divide the data into a buffer memory area and a plurality of buffer memory areas for random access data, and perform data read / write management for each.

本発明実施形態の携帯電話端末の主要部の概略的内部構成を示すブロック図である。It is a block diagram which shows the schematic internal structure of the principal part of the mobile telephone terminal of this invention embodiment. 本発明実施形態にかかるバッファメモリのメモリ容量割り当て制御の説明に用いる図である。It is a figure used for description of memory capacity allocation control of the buffer memory concerning this invention embodiment. 本発明の第2の実施形態の携帯電話端末に搭載されるHDDの概略的な内部構成を示すブロック図である。It is a block diagram which shows the schematic internal structure of HDD mounted in the mobile telephone terminal of the 2nd Embodiment of this invention. 本発明の第3の実施形態の携帯電話端末に搭載されるHDDの概略的な内部構成を示すブロック図である。It is a block diagram which shows the schematic internal structure of HDD mounted in the mobile telephone terminal of the 3rd Embodiment of this invention.

符号の説明Explanation of symbols

1 ホストCPU、2 HDD外のHDDインターフェース、3 HDD、4 バッファメモリ、10 磁気ディスク、20 磁気ヘッド、25 モータ、31 信号処理回路、32 キャッシュメモリ、33 HDD内のHDDインターフェース、34 HDDインプット/アウトプット端子、35 HDDコントローラ、36 バッファコントローラ   1 host CPU, 2 HDD interface outside HDD, 3 HDD, 4 buffer memory, 10 magnetic disk, 20 magnetic head, 25 motor, 31 signal processing circuit, 32 cache memory, 33 HDD interface in HDD, 34 HDD input / output Terminal, 35 HDD controller, 36 buffer controller

Claims (10)

ディスク状の記録媒体を備えた記録手段にて記録/再生される情報を一時的に記憶する一時記憶部と、
上記一時記憶部の記憶領域を、シーケンシャル情報用の第1の記憶領域とランダムアクセス情報用の第2の記憶領域とに分けて管理し、上記記録手段にて記録/再生されるランダムアクセス情報の少なくとも一部を、常に上記第2の記憶領域に記憶させておく制御を行う制御部とを有する
ことを特徴とする携帯情報端末。
A temporary storage unit that temporarily stores information recorded / reproduced by a recording unit including a disk-shaped recording medium;
The storage area of the temporary storage unit is divided into a first storage area for sequential information and a second storage area for random access information, and random access information recorded / reproduced by the recording means A portable information terminal comprising: a control unit that performs control to always store at least a part in the second storage area.
請求項1記載の携帯情報端末であって、
上記制御部は、予め付けられた優先度に応じたランダムアクセス情報を上記第2の記憶領域に記憶させることを特徴とする携帯情報端末。
The portable information terminal according to claim 1,
The said control part memorize | stores the random access information according to the priority given beforehand in the said 2nd storage area, The portable information terminal characterized by the above-mentioned.
請求項2記載の携帯情報端末であって、
上記制御部は、上記ランダムアクセス情報のアクセス頻度に基づいて、各ランダムアクセス情報に優先度を付けることを特徴とする携帯情報端末。
The portable information terminal according to claim 2, wherein
The portable information terminal, wherein the control unit assigns a priority to each random access information based on an access frequency of the random access information.
請求項1記載の携帯情報端末であって、
上記制御部は、上記記録手段に対する上記シーケンシャル情報の記録/再生に合わせて、上記記録手段に対する上記ランダムアクセス情報の記録/再生を行うことを特徴とする携帯情報端末。
The portable information terminal according to claim 1,
The portable information terminal, wherein the control unit records / reproduces the random access information to / from the recording unit in accordance with recording / reproduction of the sequential information to / from the recording unit.
請求項1記載の携帯情報端末であって、
上記制御部は、上記記録手段にて情報の記録/再生が行われる時以外は、上記記録手段の動作電源を停止させる電源制御を行うことを特徴とする携帯情報端末。
The portable information terminal according to claim 1,
The portable information terminal according to claim 1, wherein the control unit performs power control for stopping the operation power of the recording unit except when information is recorded / reproduced by the recording unit.
請求項1記載の携帯情報端末であって、
上記制御部は、上記第2の記憶領域のサイズを可変制御することを特徴とする携帯情報端末。
The portable information terminal according to claim 1,
The portable information terminal, wherein the control unit variably controls the size of the second storage area.
請求項1記載の携帯情報端末であって、
上記一時記憶部は、上記記録手段の外部バッファメモリ、若しくは、上記記録手段に内蔵されたキャッシュメモリであることを特徴とする携帯情報端末。
The portable information terminal according to claim 1,
The portable information terminal characterized in that the temporary storage unit is an external buffer memory of the recording unit or a cache memory built in the recording unit.
請求項1記載の携帯情報端末であって、
上記一時記憶手段は、不揮発性メモリであることを特徴とする携帯情報端末。
The portable information terminal according to claim 1,
The portable information terminal is characterized in that the temporary storage means is a nonvolatile memory.
請求項8記載の携帯情報端末であって、
上記制御部は、予め付けられた優先度に応じたランダムアクセス情報を上記不揮発性メモリの上記第2の記憶領域に記憶させることを特徴とする携帯情報端末。
The portable information terminal according to claim 8, wherein
The portable information terminal, wherein the control unit stores random access information according to a priority assigned in advance in the second storage area of the nonvolatile memory.
ディスク状の記録媒体を備えた記録手段にて記録/再生される情報を一時的に記憶するための一時記憶部の記憶領域を、シーケンシャル情報用の第1の記憶領域とランダムアクセス情報用の第2の記憶領域とに分けて管理し、
上記記録手段にて記録/再生される情報のうち、ランダムアクセス情報の少なくとも一部を、常に上記第2の記憶領域に記憶させる
ことを特徴とする携帯情報端末の記憶領域管理方法。
A storage area of a temporary storage unit for temporarily storing information recorded / reproduced by a recording means having a disk-shaped recording medium is divided into a first storage area for sequential information and a first storage area for random access information. Divided into two storage areas,
A storage area management method for a portable information terminal, wherein at least a part of random access information among the information recorded / reproduced by the recording means is always stored in the second storage area.
JP2005247636A 2005-08-29 2005-08-29 Personal digital assistance and method for managing storage region of personal digital assistance thereof Withdrawn JP2007065743A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005247636A JP2007065743A (en) 2005-08-29 2005-08-29 Personal digital assistance and method for managing storage region of personal digital assistance thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005247636A JP2007065743A (en) 2005-08-29 2005-08-29 Personal digital assistance and method for managing storage region of personal digital assistance thereof

Publications (1)

Publication Number Publication Date
JP2007065743A true JP2007065743A (en) 2007-03-15

Family

ID=37927924

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005247636A Withdrawn JP2007065743A (en) 2005-08-29 2005-08-29 Personal digital assistance and method for managing storage region of personal digital assistance thereof

Country Status (1)

Country Link
JP (1) JP2007065743A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008275796A (en) * 2007-04-26 2008-11-13 Kyocera Corp Mobile electronic device
US8868853B2 (en) 2009-08-12 2014-10-21 Nec Corporation Data processing device, data recording method and data recording program
JP2015519654A (en) * 2012-05-08 2015-07-09 クアルコム,インコーポレイテッド A per-thread cache line allocation mechanism in a partitioned shared cache within a multi-thread processor
JP2015130203A (en) * 2015-03-17 2015-07-16 株式会社東芝 Information processing apparatus, network apparatus, and information processing program
JP2019020797A (en) * 2017-07-12 2019-02-07 株式会社バッファロー Hard disk memory system, control method thereof, program for allowing computer to implement hard disk memory system, and medium recording the program thereon

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008275796A (en) * 2007-04-26 2008-11-13 Kyocera Corp Mobile electronic device
US8868853B2 (en) 2009-08-12 2014-10-21 Nec Corporation Data processing device, data recording method and data recording program
JP2015519654A (en) * 2012-05-08 2015-07-09 クアルコム,インコーポレイテッド A per-thread cache line allocation mechanism in a partitioned shared cache within a multi-thread processor
US9824013B2 (en) 2012-05-08 2017-11-21 Qualcomm Incorporated Per thread cacheline allocation mechanism in shared partitioned caches in multi-threaded processors
JP2015130203A (en) * 2015-03-17 2015-07-16 株式会社東芝 Information processing apparatus, network apparatus, and information processing program
JP2019020797A (en) * 2017-07-12 2019-02-07 株式会社バッファロー Hard disk memory system, control method thereof, program for allowing computer to implement hard disk memory system, and medium recording the program thereon
JP7025626B2 (en) 2017-07-12 2022-02-25 株式会社バッファロー The hard disk memory system and its management method, the program that realizes the hard disk memory system in the computer, and the medium on which the program is recorded.

Similar Documents

Publication Publication Date Title
EP1440444B1 (en) Media player with instant play capability
JP4908635B2 (en) Data storage drive with reduced power consumption
US8069324B2 (en) Storage device with manual learning
JP2002287859A (en) Portable computing device equipped with low-power media player
JP2006525598A (en) Controller for portable electronic devices
JP2006114206A (en) Hdd having both dram and flush memory
JP2008027383A (en) Information recorder and control method thereof
TW201103016A (en) Systems and methods for tiered non-volatile storage
US20040017630A1 (en) Magnetic disk apparatus and storage system
JP2007065743A (en) Personal digital assistance and method for managing storage region of personal digital assistance thereof
JP3568110B2 (en) Cache memory control method, computer system, hard disk drive, and hard disk controller
JP2007193865A (en) Information recording device and its control method
JP2007193448A (en) Information recorder, and control method therefor
US20080244188A1 (en) Information recording apparatus and control method thereof
JP2006085892A (en) Unified control and memory for combined dvd/hdd system
US7689807B2 (en) Mass storage device, mass storage controller and methods for use therewith
JP2007193866A (en) Information recording device and its control method
JP4106702B2 (en) Information processing apparatus, data recording / reproducing method, program for data recording / reproducing method, and recording medium recording program for data recording / reproducing method
JP2011222057A (en) Memory system
US20060294315A1 (en) Object-based pre-fetching Mechanism for disc drives
JP2007293987A (en) Information recorder and control method therefor
KR100721292B1 (en) Apparatus for accessing hard disk drive of multimedia player and method thereof
CN110618784B (en) Data storage device and method of operating the same
US20080046604A1 (en) Storage device and control chip for the storage device
US8321641B2 (en) Data access method and data access device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20071009

A300 Application deemed to be withdrawn because no request for examination was validly filed

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20081104